JPH0591260A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH0591260A
JPH0591260A JP4076722A JP7672292A JPH0591260A JP H0591260 A JPH0591260 A JP H0591260A JP 4076722 A JP4076722 A JP 4076722A JP 7672292 A JP7672292 A JP 7672292A JP H0591260 A JPH0591260 A JP H0591260A
Authority
JP
Japan
Prior art keywords
signal
image
output
clock
scanning
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
JP4076722A
Other languages
Japanese (ja)
Inventor
Akio Nakajima
昭夫 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP4076722A priority Critical patent/JPH0591260A/en
Publication of JPH0591260A publication Critical patent/JPH0591260A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the response in the unit of a scanning line in response to an external output request or an interruption request by moving a picture read means and an original picture relatively in the subscanning direction for one scanning line each synchronously with a clock signal. CONSTITUTION:A scanner printer 1, a controller 2 and a data processing unit 3 as an external device form a picture read system. The controller 2 generates a horizontal synchronizing signal synchronously with a clock signal of a prescribed frequency and a clock. A scanner 1a of the printer 1 scans an original picture in the main scanning direction for each scanning line synchronously with the clock and converts the picture into a read picture signal. Moreover, the scanner 1a moves the picture read means and the original picture relatively in the subscanning direction for each scanning line synchronously with the clock. The controller 2 outputs a horizontal synchronizing signal and a picture signal to the external device 3 and controls the output of the picture signal or the stop of the output in the unit of scanning lines in response to the stop request from the device 3.

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 for reading an image, converting it into an image signal and outputting the image signal.

【0002】[0002]

【従来の技術】近年、用紙等に記載されたり印刷された
りしている文字や画像等の画像情報をスキャナで読み取
って、ディジタル画像信号に変換してプリンタに出力し
てそのハードコピーを出力し、もしくは変換されたディ
ジタル画像信号を、画像ファイリングシステム、ホスト
コンピュータ、又はマイクロコンピュータ等の外部のデ
ータ処理装置に出力して当該データ処理装置に接続され
たディスプレイに表示するための画像読取装置が提案さ
れている。この種の画像読取装置として、プリンタ等の
画像出力装置と連動して動作させる際や、画像ファイリ
ングシステムの入力装置として動作させる際に、ディジ
タル画像信号の水平同期信号又は垂直同期信号を、外部
装置から受信するか、もしくは当該装置内部で発生する
かを切り替えることができるようにした画像読取装置
(以下、第1の従来例という。)が提案されている(例
えば、特開昭60−21671号公報参照。)。
2. Description of the Related Art Recently, image information such as characters and images printed or printed on paper is read by a scanner, converted into a digital image signal and output to a printer to output a hard copy thereof. , Or an image reading device for outputting the converted digital image signal to an external data processing device such as an image filing system, a host computer, or a microcomputer to display it on a display connected to the data processing device. Has been done. As an image reading device of this type, when operating in conjunction with an image output device such as a printer or when operating as an input device of an image filing system, a horizontal synchronizing signal or a vertical synchronizing signal of a digital image signal is transmitted to an external device. There has been proposed an image reading apparatus (hereinafter referred to as a first conventional example) capable of switching between receiving from the device or occurring inside the device (for example, JP-A-60-21671). See the bulletin.).

【0003】上記第1の従来例の画像情報読取装置にお
いては、一定の周波数を有する水平同期信号が内部で発
生され、当該水平同期信号は、ディジタル画像信号をシ
ステムのホストコンピュータに転送する時の同期信号と
して用いたり、画像情報をイメージセンサを用いて主走
査方向で走査して読み取るときの水平同期信号として用
いられる。
In the image information reading apparatus of the first conventional example, a horizontal synchronizing signal having a constant frequency is internally generated, and the horizontal synchronizing signal is used when the digital image signal is transferred to the host computer of the system. It is used as a synchronization signal or as a horizontal synchronization signal when image information is scanned and read in the main scanning direction using an image sensor.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記第
1の従来例の画像読取装置においては、上述したよう
に、一定の周波数を有する水平同期信号が内部で発生さ
れ、当該水平同期信号は、ディジタル画像信号をシステ
ムのホストコンピュータに転送する時の同期信号として
用いたり、画像情報をイメージセンサを用いて主走査方
向で走査して読み取るときの水平同期信号として用いら
れるので、データ処理装置からの画像出力要求や画像出
力の中断要求に対して、画像信号の水平走査線の単位で
応答することができないという問題点があった。
However, in the image reading apparatus of the first conventional example, as described above, the horizontal synchronizing signal having a constant frequency is internally generated, and the horizontal synchronizing signal is digital. Since it is used as a synchronizing signal when transferring the image signal to the host computer of the system, or as a horizontal synchronizing signal when the image information is scanned and read in the main scanning direction using the image sensor, the image from the data processing device is used. There is a problem that it is not possible to respond to an output request or an image output interruption request in units of horizontal scanning lines of an image signal.

【0005】また、上記第1の従来例の画像読取装置に
おいては、水平同期信号が一定周波数で発生されている
ので、スキャナからの画像信号の出力速度が所定値に予
め設定されている。このため、上記第1の従来例の画像
読取装置では、スキャナからの画像信号の出力速度によ
って使用可能なデータ処理装置が限定されてしまうとい
う問題点もあった。
In the image reading apparatus of the first conventional example, since the horizontal synchronizing signal is generated at a constant frequency, the output speed of the image signal from the scanner is preset to a predetermined value. Therefore, in the image reading apparatus of the first conventional example, there is also a problem that the usable data processing apparatus is limited depending on the output speed of the image signal from the scanner.

【0006】さらに、上記第1の従来例の画像読取装置
において、スキャナによって読み取った画像データのう
ちの1本の水平走査線を数本の走査線に増加させる高解
像度変換処理を行ったり、あるいは数本の走査線を1本
の走査線に減少させる低解像度変換処理を行なう、とい
った解像度変換処理を行なうと、水平同期信号の周波数
は解像度変換処理に応じて所定の周波数から変化してし
まい、画像信号を外部装置に送出できなくなる。このた
め、上記第1の従来例の画像読取装置では、スキャナに
よって読み取った画像データに対して解像度変換処理を
行なうことができないという問題点があった。
Further, in the image reading apparatus of the first conventional example, high resolution conversion processing for increasing one horizontal scanning line of the image data read by the scanner to several scanning lines is performed, or When the resolution conversion processing such as the low resolution conversion processing for reducing several scanning lines to one scanning line is performed, the frequency of the horizontal synchronizing signal changes from a predetermined frequency according to the resolution conversion processing. The image signal cannot be sent to the external device. Therefore, the image reading apparatus of the first conventional example has a problem in that the resolution conversion process cannot be performed on the image data read by the scanner.

【0007】上述のように、スキャナによって読み取っ
た画像データに対して解像度変換処理を行う装置ではな
いが、ラインイメージセンサに供給される基準信号と原
稿読取用の光学系を駆動するパルスモータの駆動タイミ
ングとを同期させるとともに、パルスモータに印加する
パルスを制御することにより、ラインイメージセンサの
素子配列方向である主走査方向に対して垂直な副走査方
向の変倍あるいは画像の密度変換処理を行う画像読取装
置(以下、第2の従来例という。)が周知である(例え
ば、特開昭62−92670号公報参照。)。この第2
の従来例の画像読取装置においては、パルスモータは、
縮小時には低速で駆動され、拡大時は高速で駆動され
る。
As described above, although it is not a device that performs resolution conversion processing on image data read by a scanner, it drives a pulse signal that drives a reference signal supplied to a line image sensor and an optical system for reading an original. By synchronizing the timing and controlling the pulse applied to the pulse motor, the scaling in the sub-scanning direction perpendicular to the main scanning direction, which is the element array direction of the line image sensor, or the image density conversion processing is performed. An image reading apparatus (hereinafter referred to as a second conventional example) is well known (see, for example, Japanese Patent Laid-Open No. 62-92670). This second
In the conventional image reading apparatus of, the pulse motor is
It is driven at low speed during reduction, and at high speed during enlargement.

【0008】しかしながら、上記第2の従来例の画像読
取装置は、解像度変換処理を行うことができないという
第1の従来例と同様の問題点を有しているほか、高い変
倍倍率を達成するためには、パルスモータの高速制御が
必要になり、その最高速度時でのトルクおよびその余裕
度を考慮してパルスモータの設計を行う必要があるた
め、比較的高い性能を有しコストの高いパルスモータを
採用しなければならず、その結果、当該パルスモータを
備える画像読取装置のコストが高くなるという問題があ
った。
However, the image reading apparatus of the second conventional example has the same problem as the first conventional example that the resolution conversion process cannot be performed, and achieves a high zoom ratio. In order to achieve this, high-speed control of the pulse motor is required, and it is necessary to design the pulse motor in consideration of the torque at its maximum speed and its margin, which results in relatively high performance and high cost. A pulse motor has to be adopted, and as a result, there has been a problem that the cost of the image reading apparatus including the pulse motor increases.

【0009】ところで、一般の従来の画像読取装置にお
いては、内部で発生される垂直同期信号のみに同期し
て、所定の副走査方向の領域の画像信号が、プリンタや
コンピュータなどのデータ処理装置に送出され、当該デ
ータ処理装置は、装置として必要な所定の副走査方向の
領域の画像信号のみを取り込み、画像信号の処理を行っ
ている。従って、従来の画像読取装置においては、予め
決められた外部装置に対応する画像サイズ及び解像度が
予め設定され、内部で垂直同期信号を発生するように構
成されている。
By the way, in a general conventional image reading apparatus, an image signal in a predetermined area in the sub-scanning direction is sent to a data processing apparatus such as a printer or a computer in synchronization with only a vertical synchronizing signal generated internally. The data processing device, which has been sent out, takes in only the image signal of a predetermined area in the sub-scanning direction necessary for the device, and processes the image signal. Therefore, in the conventional image reading device, the image size and the resolution corresponding to the predetermined external device are preset, and the vertical synchronizing signal is internally generated.

【0010】近年、種々の能力を有する画像処理のため
の種々の外部装置が開発されて、画像読取装置に接続さ
れるようになってきた。しかしながら、従来の画像読取
装置は上述のような構成を有しているので、対応する所
定の能力を有する特定のデータ処理装置のみと接続可能
である。従って、例えば、データ処理装置の仕様が既知
であっても、画像信号のインターフェイスの仕様が一致
せず、すでに購入していた画像読取装置と接続できない
場合や、データ処理装置の仕様がわからず、画像読取装
置に接続可能であるか否かを判断することができない場
合がある。
In recent years, various external devices for image processing having various capabilities have been developed and connected to image reading devices. However, since the conventional image reading apparatus has the above-described configuration, it can be connected only to a specific data processing apparatus having a corresponding predetermined capability. Therefore, for example, even if the specifications of the data processing device are known, if the specifications of the image signal interface do not match and it is not possible to connect to the image reading device that has already been purchased, or the specifications of the data processing device are unknown, It may not be possible to determine whether or not the image reading device can be connected.

【0011】このような場合、データ処理装置が処理す
る画像信号の副走査方向の期間(画面の垂直方向の出力
サイズ)が画像読取装置からそれに入力される画像信号
のそれに比較して長い場合や、画像読取装置から出力さ
れる画像信号の副走査方向の期間がデータ処理装置が処
理する画像信号のそれに一致する場合であってもデータ
処理装置の処理すべき画像信号の解像度が大きい場合に
トラブルが発生する。すなわち、画像読取装置から出力
される画像信号は終了しているのにもかかわらず、デー
タ処理装置は画像信号を受信できないため、画像信号の
取り込み状態のまま受信処理が停止してしまうという問
題点があった。
In such a case, the period of the image signal processed by the data processing device in the sub-scanning direction (the output size in the vertical direction of the screen) is longer than that of the image signal input from the image reading device. Even if the period of the image signal output from the image reading device in the sub-scanning direction matches that of the image signal processed by the data processing device, a problem occurs if the resolution of the image signal to be processed by the data processing device is large. Occurs. That is, even though the image signal output from the image reading apparatus has ended, the data processing apparatus cannot receive the image signal, and thus the reception processing stops in the state of capturing the image signal. was there.

【0012】本発明の第1の目的は、外部のデータ処理
装置からの画像出力要求又は中断要求に走査線単位で応
答することができ、構成が簡単であって安価な画像読取
装置を提供することにある。
A first object of the present invention is to provide an image reading apparatus which can respond to an image output request or an interruption request from an external data processing device in units of scanning lines, has a simple structure and is inexpensive. Especially.

【0013】また、本発明の第2の目的は、種々のデー
タ処理装置の画像データの処理能力に応じてスキャナか
らの画像信号の出力速度を変化することができる画像読
取装置を提供することにある。
A second object of the present invention is to provide an image reading apparatus capable of changing the output speed of the image signal from the scanner according to the image data processing capability of various data processing apparatuses. is there.

【0014】さらに、本発明の第3の目的は、外部のデ
ータ処理装置の解像度変換処理に適した画像信号を出力
することができる画像読取装置を提供することである。
Further, a third object of the present invention is to provide an image reading apparatus capable of outputting an image signal suitable for resolution conversion processing of an external data processing apparatus.

【0015】またさらに、本発明の第4の目的は、外部
のデータ処理装置が処理する画像信号の副走査方向の期
間の長短にかかわらず、当該データ処理装置がトラブル
なく受信することができる画像信号を出力することがで
きる画像読取装置を提供することにある。
Still further, a fourth object of the present invention is to provide an image which can be received by the data processing device without trouble regardless of the length of the period in the sub-scanning direction of the image signal processed by the external data processing device. An object is to provide an image reading device that can output a signal.

【0016】[0016]

【課題を解決するための手段】本発明に係る請求項1記
載の画像読取装置は、所定の周波数を有するクロック信
号を発生するとともに、上記クロック信号に同期した水
平同期信号を発生する信号発生手段と、上記クロック信
号に同期して原稿画像を走査線毎に主走査方向で走査し
て読み取って画像信号に変換する画像読取手段と、上記
クロック信号に同期して上記画像読取手段と原稿画像と
を互いに1走査線ずつ相対的に副走査方向で移動させる
移動手段と、上記水平同期信号と上記画像信号とを外部
装置に出力する信号出力手段と、上記外部装置から入力
される停止要求信号を受信する受信手段と、上記受信手
段によって受信された上記停止要求信号に応答して上記
移動手段と上記信号出力手段の動作を停止させる制御手
段とを備えたことを特徴とする。
An image reading apparatus according to a first aspect of the present invention is a signal generating means for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal. An image reading unit that scans and reads an original image for each scanning line in the main scanning direction in synchronization with the clock signal, and converts the image into an image signal; and the image reading unit and the original image in synchronization with the clock signal. And a signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and a stop request signal input from the external device. And a control unit for stopping the operations of the moving unit and the signal output unit in response to the stop request signal received by the receiving unit. And it features.

【0017】また、請求項2記載の画像読取装置は、請
求項1記載の画像読取装置において、さらに、上記外部
装置から入力され、出力すべき画像信号の解像度を示す
解像度信号を受信する別の受信手段を備え、上記信号出
力手段は、上記水平同期信号を、上記解像度信号に対応
した割合で間引いて出力することを特徴とする。
An image reading apparatus according to a second aspect of the present invention is the image reading apparatus according to the first aspect, further comprising a resolution signal indicating the resolution of the image signal to be output from the external device. It is characterized by including a receiving means, and the signal output means thins out the horizontal synchronizing signal at a rate corresponding to the resolution signal and outputs the thinned-out horizontal synchronizing signal.

【0018】さらに、本発明に係る請求項3記載の画像
読取装置は、それぞれ互いに異なる周波数を有する複数
のクロック信号を発生する信号発生手段と、外部装置か
ら入力され、上記複数のクロック信号のうちの1つを選
択することを示す選択信号を受信する受信手段と、上記
受信手段によって受信された選択信号に応答して、上記
信号発生手段によって発生された複数のクロック信号の
うちの1つを選択して出力する信号選択手段と、上記信
号選択手段から出力される上記クロック信号に同期して
原稿画像を走査線毎に主走査方向で走査して読み取って
画像信号に変換する画像読取手段と、上記信号選択手段
から出力される上記クロック信号に同期して水平同期信
号を発生する別の信号発生手段と、上記水平同期信号と
上記画像信号とを外部装置に出力する信号出力手段とを
備えたことを特徴とする。
Further, in the image reading apparatus according to claim 3 of the present invention, there is provided a signal generating means for generating a plurality of clock signals each having a different frequency, and an external device inputting the plurality of clock signals. Of the plurality of clock signals generated by the signal generating means in response to the selection signal received by the receiving means. A signal selecting means for selecting and outputting, and an image reading means for scanning and reading an original image for each scanning line in the main scanning direction in synchronism with the clock signal output from the signal selecting means and converting it into an image signal. , Another signal generating means for generating a horizontal synchronizing signal in synchronization with the clock signal output from the signal selecting means, the horizontal synchronizing signal and the image signal. Characterized by comprising a signal output means for outputting the part device.

【0019】またさらに、本発明に係る請求項4記載の
画像読取装置は、所定の周波数を有するクロック信号を
発生するとともに、上記クロック信号に同期した水平同
期信号を発生する信号発生手段と、上記クロック信号に
同期して原稿画像を走査線毎に主走査方向で走査して読
み取って画像信号に変換する画像読取手段と、上記クロ
ック信号に同期して上記画像読取手段と原稿画像とを互
いに1走査線ずつ相対的に所定の移動速度でかつ副走査
方向で移動させる移動手段と、上記水平同期信号と上記
画像信号とを外部装置に出力する信号出力手段と、上記
外部装置から入力される、出力すべき画像信号が所定の
高い解像度であることを示す高解像度信号又は出力すべ
き画像信号が所定の低い解像度であることを示す低解像
度信号を受信する受信手段と、上記受信手段によって受
信された上記高解像度信号に応答して、上記画像信号が
所定の高い解像度を有するように、上記移動手段の移動
速度を制御する第1の制御手段と、上記受信手段によっ
て受信された上記低解像度信号に応答して、上記画像信
号が所定の低い解像度を有し、上記水平同期信号が上記
低解像度信号に対応した割合で間引いて出力するように
上記信号出力手段を制御する第2の制御手段とを備えた
ことを特徴とする。
An image reading apparatus according to a fourth aspect of the present invention further includes a signal generating means for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal, and An image reading unit that scans and reads an original image for each scanning line in the main scanning direction in synchronization with a clock signal and converts it into an image signal; and the image reading unit and the original image that are synchronized with the clock signal Moving means for moving the scanning lines relatively at a predetermined moving speed in the sub-scanning direction, signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and input from the external device, A high resolution signal indicating that the image signal to be output has a predetermined high resolution or a low resolution signal indicating that the image signal to be output has a predetermined low resolution is received. Receiving means, first control means for controlling the moving speed of the moving means in response to the high resolution signal received by the receiving means so that the image signal has a predetermined high resolution; In response to the low resolution signal received by the receiving means, the image signal has a predetermined low resolution, and the horizontal sync signal is thinned out at a rate corresponding to the low resolution signal and output. A second control means for controlling the means.

【0020】また、本発明に係る請求項5記載の画像読
取装置は、所定の周波数を有するクロック信号を発生す
るとともに、上記クロック信号に同期した水平同期信号
を発生する第1の信号発生手段と、上記クロック信号に
同期して原稿画像を走査線毎に主走査方向で走査して読
み取って画像信号に変換する画像読取手段と、上記クロ
ック信号に同期して上記画像読取手段と原稿画像とを互
いに1走査線ずつ相対的に所定の移動速度でかつ副走査
方向で移動させる移動手段と、上記水平同期信号と上記
画像信号とを外部装置に出力する信号出力手段と、上記
クロック信号に同期して、上記画像信号の副走査方向の
有効領域を示す内部副走査有効信号を発生する第2の信
号発生手段と、上記外部装置から入力され、上記外部装
置において処理可能な画像信号の副走査方向の有効領域
を示す外部副走査有効信号を受信する受信手段と、上記
内部副走査有効信号が上記第2の信号発生手段によって
発生され、かつ上記外部副走査有効信号が上記受信手段
によって受信されているとき、上記画像信号が出力され
るように上記信号出力手段を制御する第1の制御手段
と、上記内部副走査有効信号が上記第2の信号発生手段
によって発生されず、かつ上記外部副走査有効信号が上
記受信手段によって受信されているとき、所定の画像信
号が出力されるように上記信号出力手段を制御する第2
の制御手段とを備えたことを特徴とする。
According to a fifth aspect of the present invention, the image reading apparatus includes a first signal generating means for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal. An image reading unit that scans and reads an original image for each scanning line in the main scanning direction in synchronization with the clock signal and converts the image into an image signal; and the image reading unit and the original image in synchronization with the clock signal. Moving means for moving one scanning line relative to each other in the sub-scanning direction at a predetermined moving speed, signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and synchronizing with the clock signal. Second signal generating means for generating an internal sub-scanning effective signal indicating an effective area of the image signal in the sub-scanning direction, and input from the external device, and processable by the external device. Receiving means for receiving an external sub-scanning valid signal indicating an effective area of the image signal in the sub-scanning direction, the internal sub-scanning valid signal is generated by the second signal generating means, and the external sub-scanning valid signal is When being received by the receiving means, first control means for controlling the signal output means so as to output the image signal, and the internal sub-scanning valid signal are generated by the second signal generating means. The second sub-scanning effective signal is controlled by the receiving means so that a predetermined image signal is output when the external sub-scanning valid signal is received by the receiving means.
And a control means of.

【0021】さらに、請求項6記載の画像読取装置は、
請求項5記載の画像読取装置において、上記所定の画像
信号は、白又は黒の画素を示す画像信号であることを特
徴とする。
Further, the image reading apparatus according to the sixth aspect is
The image reading apparatus according to claim 5, wherein the predetermined image signal is an image signal indicating a white or black pixel.

【0022】[0022]

【作用】請求項1記載の画像読取装置においては、上記
信号発生手段は、所定の周波数を有するクロック信号を
発生するとともに、上記クロック信号に同期した水平同
期信号を発生し、上記画像読取手段は、上記クロック信
号に同期して原稿画像を走査線毎に主走査方向で走査し
て読み取って画像信号に変換する。また、上記移動手段
は、上記クロック信号に同期して上記画像読取手段と原
稿画像とを互いに1走査線ずつ相対的に副走査方向で移
動させ、上記信号出力手段は、上記水平同期信号と上記
画像信号とを外部装置に出力する。次いで、上記受信手
段は、上記外部装置から入力される停止要求信号を受信
し、上記制御手段は、上記受信手段によって受信された
上記停止要求信号に応答して上記移動手段と上記信号出
力手段の動作を停止させる。
In the image reading apparatus according to the present invention, the signal generating means generates a clock signal having a predetermined frequency and a horizontal synchronizing signal in synchronization with the clock signal, and the image reading means The original image is scanned and read in the main scanning direction for each scanning line in synchronization with the clock signal and converted into an image signal. Further, the moving means moves the image reading means and the original image relative to each other in the sub-scanning direction by one scanning line in synchronization with the clock signal, and the signal output means moves the horizontal synchronizing signal and the horizontal synchronizing signal. The image signal is output to an external device. Next, the receiving means receives a stop request signal input from the external device, and the control means responds to the stop request signal received by the receiving means by the moving means and the signal output means. Stop the operation.

【0023】従って、例えば、画像読取装置と外部装置
との能力の違いにより、画像信号を受信する外部装置の
処理速度が遅くその処理が画像信号に追従できなくなっ
た場合でも、走査線の単位で画像信号の出力又は出力の
停止を制御することができるので、どのような外部装置
であっても、すべての画像信号を、画像信号の欠落が生
じることなく、正常に画像信号を受信することが可能と
なる。
Therefore, for example, even when the processing speed of the external device for receiving the image signal is slow and the processing cannot follow the image signal due to the difference in the capabilities of the image reading device and the external device, the scanning line unit is used. Since the output or stop of the output of the image signal can be controlled, any external device can receive the image signal normally without any loss of the image signal. It will be possible.

【0024】請求項2記載の画像読取装置においては、
上記別の受信手段は、上記外部装置から入力され、出力
すべき画像信号の解像度を示す解像度信号を受信し、上
記信号出力手段は、上記水平同期信号を、上記解像度信
号に対応した割合で間引いて出力する。従って、当該画
像読取装置は、出力すべき画像信号の解像度を、上記解
像度信号に対応した画像信号の画像の解像度に変換した
後、画像信号を出力するので、上記外部装置が処理する
画像信号の解像度に依存することなく外部装置に正常に
画像信号を出力することができる。
In the image reading device according to the second aspect,
The another receiving means receives a resolution signal indicating the resolution of an image signal to be output, which is input from the external device, and the signal output means thins out the horizontal synchronizing signal at a rate corresponding to the resolution signal. Output. Therefore, the image reading apparatus outputs the image signal after converting the resolution of the image signal to be output to the resolution of the image of the image signal corresponding to the resolution signal. An image signal can be normally output to an external device without depending on the resolution.

【0025】請求項3記載の画像読取装置においては、
上記信号発生手段は、それぞれ互いに異なる周波数を有
する複数のクロック信号を発生し、上記受信手段は、外
部装置から入力され、上記複数のクロック信号のうちの
1つを選択することを示す選択信号を受信する。また、
上記信号選択手段は、上記受信手段によって受信された
選択信号に応答して、上記信号発生手段によって発生さ
れた複数のクロック信号のうちの1つを選択して出力
し、上記画像読取手段は、上記信号選択手段から出力さ
れる上記クロック信号に同期して原稿画像を走査線毎に
主走査方向で走査して読み取って画像信号に変換する。
さらに、上記別の信号発生手段は、上記信号選択手段か
ら出力される上記クロック信号に同期して水平同期信号
を発生し、上記信号出力手段は、上記水平同期信号と上
記画像信号とを外部装置に出力する。
In the image reading apparatus according to claim 3,
The signal generating means generates a plurality of clock signals each having a frequency different from each other, and the receiving means receives a selection signal input from an external device and indicating selecting one of the plurality of clock signals. To receive. Also,
The signal selecting means selects and outputs one of the plurality of clock signals generated by the signal generating means in response to the selection signal received by the receiving means, and the image reading means, In synchronization with the clock signal output from the signal selecting means, the original image is scanned for each scanning line in the main scanning direction, read, and converted into an image signal.
Further, the another signal generating means generates a horizontal synchronizing signal in synchronization with the clock signal output from the signal selecting means, and the signal outputting means outputs the horizontal synchronizing signal and the image signal to an external device. Output to.

【0026】従って、上記外部装置が処理する画像信号
のクロック信号の周波数に依存することなく外部装置に
正常に画像信号を出力することができる。
Therefore, the image signal can be normally output to the external device without depending on the frequency of the clock signal of the image signal processed by the external device.

【0027】請求項4記載の画像読取装置においては、
上記信号発生手段は、所定の周波数を有するクロック信
号を発生するとともに、上記クロック信号に同期した水
平同期信号を発生し、上記画像読取手段は、上記クロッ
ク信号に同期して原稿画像を走査線毎に主走査方向で走
査して読み取って画像信号に変換する。また、上記移動
手段は、上記クロック信号に同期して上記画像読取手段
と原稿画像とを互いに1走査線ずつ相対的に所定の移動
速度でかつ副走査方向で移動させ、上記信号出力手段
は、上記水平同期信号と上記画像信号とを外部装置に出
力する。さらに、上記受信手段は、上記外部装置から入
力される、出力すべき画像信号が所定の高い解像度であ
ることを示す高解像度信号又は出力すべき画像信号が所
定の低い解像度であることを示す低解像度信号を受信
し、上記第1の制御手段は、上記受信手段によって受信
された上記高解像度信号に応答して、上記画像信号が所
定の高い解像度を有するように、上記移動手段の移動速
度を制御し、上記第2の制御手段は、上記受信手段によ
って受信された上記低解像度信号に応答して、上記画像
信号が所定の低い解像度を有し、上記水平同期信号が上
記低解像度信号に対応した割合で間引いて出力するよう
に上記信号出力手段を制御する。
In the image reading apparatus according to the fourth aspect,
The signal generating means generates a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal, and the image reading means synchronizes the original image with each scanning line in synchronization with the clock signal. Then, it is scanned in the main scanning direction, read, and converted into an image signal. Further, the moving means moves the image reading means and the original image relative to each other one scanning line at a predetermined moving speed and in the sub-scanning direction in synchronization with the clock signal, and the signal outputting means, The horizontal synchronizing signal and the image signal are output to an external device. Further, the receiving means is a high-resolution signal indicating that the image signal to be output has a predetermined high resolution and is input from the external device, or a low signal indicating that the image signal to be output has a predetermined low resolution. Receiving a resolution signal, the first control means responds to the high resolution signal received by the receiving means to control the moving speed of the moving means so that the image signal has a predetermined high resolution. And the second control means is responsive to the low resolution signal received by the receiving means, wherein the image signal has a predetermined low resolution and the horizontal sync signal corresponds to the low resolution signal. The signal output means is controlled so that the signal is thinned out and output at the ratio.

【0028】従って、当該画像読取装置は、出力すべき
画像信号の解像度を、上記解像度信号に対応した画像信
号の画像の解像度に変換した後、画像信号を出力するの
で、上記外部装置が処理する画像信号の解像度に依存す
ることなく外部装置に正常に画像信号を出力することが
できる。
Therefore, the image reading apparatus outputs the image signal after converting the resolution of the image signal to be output to the resolution of the image of the image signal corresponding to the resolution signal, so that the external apparatus processes it. The image signal can be normally output to the external device without depending on the resolution of the image signal.

【0029】請求項5記載の画像読取装置においては、
上記第1の信号発生手段は、所定の周波数を有するクロ
ック信号を発生するとともに、上記クロック信号に同期
した水平同期信号を発生し、上記画像読取手段は、上記
クロック信号に同期して原稿画像を走査線毎に主走査方
向で走査して読み取って画像信号に変換する。また、上
記移動手段は、上記クロック信号に同期して上記画像読
取手段と原稿画像とを互いに1走査線ずつ相対的に所定
の移動速度でかつ副走査方向で移動させ、上記信号出力
手段は、上記水平同期信号と上記画像信号とを外部装置
に出力する。さらに、上記第2の信号発生手段は、上記
クロック信号に同期して、上記画像信号の副走査方向の
有効領域を示す内部副走査有効信号を発生し、上記受信
手段は、上記外部装置から入力され、上記外部装置にお
いて処理可能な画像信号の副走査方向の有効領域を示す
外部副走査有効信号を受信する。次いで、上記第1の制
御手段は、上記内部副走査有効信号が上記第2の信号発
生手段によって発生され、かつ上記外部副走査有効信号
が上記受信手段によって受信されているとき、上記画像
信号が出力されるように上記信号出力手段を制御し、上
記第2の制御手段は、上記内部副走査有効信号が上記第
2の信号発生手段によって発生されず、かつ上記外部副
走査有効信号が上記受信手段によって受信されていると
き、所定の画像信号が出力されるように上記信号出力手
段を制御する。
In the image reading apparatus according to the fifth aspect,
The first signal generating means generates a clock signal having a predetermined frequency and a horizontal synchronizing signal in synchronization with the clock signal, and the image reading means synchronizes the original image with the clock signal. Each scanning line is scanned and read in the main scanning direction and converted into an image signal. Further, the moving means moves the image reading means and the original image relative to each other one scanning line at a predetermined moving speed and in the sub-scanning direction in synchronization with the clock signal, and the signal outputting means, The horizontal synchronizing signal and the image signal are output to an external device. Further, the second signal generating means generates an internal sub-scanning effective signal indicating an effective area of the image signal in the sub-scanning direction in synchronization with the clock signal, and the receiving means inputs from the external device. The external sub-scanning valid signal indicating the effective area in the sub-scanning direction of the image signal that can be processed by the external device is received. Next, the first control means outputs the image signal when the internal sub-scanning valid signal is generated by the second signal generating means and the external sub-scanning valid signal is received by the receiving means. The second control means controls the signal output means such that the internal sub-scanning valid signal is not generated by the second signal generating means and the external sub-scanning valid signal is received by the second control means. The signal output means is controlled so that a predetermined image signal is output when being received by the means.

【0030】従って、上記外部装置が画像信号の受信中
であるときに、上記画像読取装置から出力すべき画像信
号が無い場合であっても、上記外部副走査有効信号に応
答して所定の画像信号を上記外部装置に出力するので、
どのような外部装置であっても、すべての画像信号を、
画像信号の欠落が生じることなく、正常に画像信号を受
信することが可能となる。
Therefore, when the external device is receiving an image signal, even if there is no image signal to be output from the image reading device, a predetermined image is generated in response to the external sub-scanning valid signal. Since the signal is output to the above external device,
All image signals, no matter what the external device,
It is possible to receive the image signal normally without the loss of the image signal.

【0031】請求項6記載の画像読取装置においては、
請求項5記載の画像読取装置において、上記所定の画像
信号は、ポジティブの画像信号の場合、好ましくは白の
画素を示す画像信号であり、ネガティブの画像信号の場
合、好ましくは黒の画素を示す画像信号である。
In the image reading apparatus according to the sixth aspect,
The image reading apparatus according to claim 5, wherein the predetermined image signal is an image signal that preferably represents a white pixel in the case of a positive image signal, and preferably a black pixel in the case of a negative image signal. It is an image signal.

【0032】[0032]

【実施例】以下、添付の図面を参照して、本発明に係る
一実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment according to the present invention will be described below with reference to the accompanying drawings.

【0033】本発明に係る一実施例である画像読取シス
テムの基本構成を図1に示す。図1に示すように、本実
施例の画像読取システムは、スキャナプリンタ1と、コ
ントローラ2と、外部装置として設けられるデータ処理
装置3とから構成される。上記スキャナプリンタ1は、
用紙等に記載されたり印刷されている文字や原稿画像等
の画像情報を読み取り、ディジタル画像データに変換し
て出力するスキャナ部1aと、レーザプリンタ部1bと
を備える。データ処理装置3は、例えばワードプロセッ
サやパーソナルコンピュータ、その他のホストコンピュ
ータ等の装置であり、ビデオインターフェース回路を備
えるコントローラ2を介して、スキャナプリンタ1に接
続される。
FIG. 1 shows the basic arrangement of an image reading system according to an embodiment of the present invention. As shown in FIG. 1, the image reading system of the present embodiment includes a scanner printer 1, a controller 2, and a data processing device 3 provided as an external device. The scanner printer 1 is
A scanner unit 1a that reads image information such as characters or an original image printed or printed on a sheet of paper, converts the image information into digital image data, and outputs the digital image data, and a laser printer unit 1b. The data processing device 3 is, for example, a device such as a word processor, a personal computer, or another host computer, and is connected to the scanner printer 1 via the controller 2 having a video interface circuit.

【0034】上記スキャナプリンタ1は、次の3つの基
本的な動作モードを有する。 (a)スキャナモード:スキャナプリンタ1のスキャナ
部1aによって原稿画像を読み取って画像データに変換
した後、コントローラ2のビデオインターフェイス回路
を介してデータ処理装置3に送信する。そして、データ
処理装置は、例えば、受信した画像データの画像をCR
Tディスプレイ3a上に表示する。 (b)プリンタモード:データ処理装置3からコントロ
ーラ2のビデオインターフェイス回路を介して受信した
画像データの画像を、スキャナプリンタ1のレーザ方式
のレーザプリンタ部1bでプリントアウトする。 (c)コピーモード:スキャナ部1aによって読みとっ
た原稿画像を読み取って画像データに変換した後、変換
された画像データに基づいて、スキャナプリンタ1のレ
ーザプリンタ部1bが当該画像データの画像を直接に、
プリントアウトする。
The scanner printer 1 has the following three basic operation modes. (A) Scanner mode: An original image is read by the scanner unit 1a of the scanner printer 1 and converted into image data, and then transmitted to the data processing device 3 via the video interface circuit of the controller 2. Then, the data processing device, for example, CRs the image of the received image data.
It is displayed on the T display 3a. (B) Printer mode: The image of the image data received from the data processing device 3 via the video interface circuit of the controller 2 is printed out by the laser type laser printer unit 1b of the scanner printer 1. (C) Copy mode: After the original image read by the scanner unit 1a is read and converted into image data, the laser printer unit 1b of the scanner printer 1 directly outputs the image of the image data based on the converted image data. ,
Print out.

【0035】なお、スキャナプリンタ1の動作モード
は、後述する操作パネル4上の動作モード設定キー(図
示せず。)によって切り替えることができるとともに、
データ処理装置3からのコマンド信号に基づいて上記3
つの動作モードのうちの1つに設定することができる。
すなわち、スキャナプリンタ1を、(a)スキャナとし
て使用する、(b)プリンタとして使用する、又は、
(c)コピー機として使用する、のいずれか1つに設定
することができる。このため、コピーモードで動作させ
るときのための使い勝手等を考慮し、スキャナプリンタ
1には、図2に示すような簡易的な操作パネル4を設け
てある。
The operation mode of the scanner printer 1 can be switched by an operation mode setting key (not shown) on the operation panel 4 which will be described later.
Based on the command signal from the data processing device 3, the above 3
It can be set to one of two operating modes.
That is, the scanner printer 1 is used as (a) a scanner, (b) as a printer, or
(C) Used as a copier, it can be set to any one. Therefore, in consideration of usability for operating in the copy mode, the scanner printer 1 is provided with a simple operation panel 4 as shown in FIG.

【0036】図2において、露光レベルキー5は、露光
レベルを3段階で切り替えるためのキーであり、文字/
写真キー6は、読み取るべき原稿画像が文字のみである
ときの文字読取モードと、読み取るべき原稿画像が写真
を含んだものであるときの写真読取モードとを切り換え
るためのキーであり、文字読取モードのときに画像デー
タに対して単純2値処理を行い、写真読取モードのとき
には画像データに対して誤差分散処理を行う。また、枚
数キー7は、コピー枚数を設定するためのキーであっ
て、アップキー7aとダウンキー7bとからなり、コピ
ー設定枚数は、発光ダイオード表示部7cに表示され
る。さらに、スタートキー8は、コピー動作をスタート
させるためのキーで、コピー動作中に、発光ダイオード
(以下、LEDという。)8aが点灯する。LED9a
乃至9cは、上記露光レベルキー5によって設定された
濃度を表示し、LED9d,9eは文字/写真キー6に
よって設定された読取モード(文字読取モード又は写真
読取モード)を表示する。さらに、操作パネル4は、上
記3つの動作モードを切り替えるための動作モード設定
キー(図示せず。)を備える。
In FIG. 2, an exposure level key 5 is a key for changing over the exposure level in three steps, and the character / character
The photo key 6 is a key for switching between a character reading mode when the original image to be read is only characters and a photo reading mode when the original image to be read includes a photo. In the case of, the simple binary processing is performed on the image data, and in the photo reading mode, the error dispersion processing is performed on the image data. The number-of-copies key 7 is a key for setting the number of copies, and includes an up key 7a and a down key 7b, and the set number of copies is displayed on the light emitting diode display portion 7c. Further, the start key 8 is a key for starting the copy operation, and the light emitting diode (hereinafter referred to as LED) 8a is turned on during the copy operation. LED 9a
9 to 9c display the density set by the exposure level key 5, and the LEDs 9d, 9e display the reading mode (character reading mode or photo reading mode) set by the character / photo key 6. Further, the operation panel 4 includes an operation mode setting key (not shown) for switching the above three operation modes.

【0037】スキャナプリンタ1のスキャナ部1aの構
成を図3に示す。図3に示すように、スキャナ部1a
は、スキャナプリンタ1のレーザプリンタ部1bの上に
載置されて固定される。スキャナ部1aは、原稿給紙の
ための原稿トレイ11と、原稿画像を原稿の給紙方向と
垂直な方向である主走査方向に走査することによって読
み取ってディジタル画像データに変換する密着型のライ
ン型CCDイメージセンサ12と、当該原稿をCCDイ
メージセンサ12の所定の位置に搬送するための搬送ロ
ーラ13と、主走査方向と垂直な方向である副走査方向
の原稿に対する読取り位置の位置決めを行うレジストロ
ーラ14と、原稿画像の読み取り後の原稿を排出するた
めの排出ローラ15、原稿搬送路16および排出ローラ
17とを備える。
The structure of the scanner section 1a of the scanner printer 1 is shown in FIG. As shown in FIG. 3, the scanner unit 1a
Is mounted and fixed on the laser printer unit 1b of the scanner printer 1. The scanner unit 1a includes a document tray 11 for feeding a document and a contact-type line that scans a document image in a main scanning direction which is a direction perpendicular to a document feeding direction to read and convert the document image into digital image data. Type CCD image sensor 12, a conveyance roller 13 for conveying the document to a predetermined position of the CCD image sensor 12, and a resist for positioning the reading position of the document in the sub-scanning direction which is a direction perpendicular to the main scanning direction. A roller 14, a discharge roller 15 for discharging the document after reading the document image, a document conveyance path 16, and a discharge roller 17 are provided.

【0038】一方、レーザプリンタ部1bは、図3に示
すように、スキャナ部1aの下部に、以下のような構成
を有する。図3において、帯電チャージャ22は、レー
ザビームによる原稿画像の静電潜像の形成のために、当
該レーザビームの照射の前に、感光体ドラム21に一様
な電荷を与える。次いで、レーザビームの照射によって
感光体ドラム21に原稿画像の静電潜像が形成され、現
像器23はレーザビームにより形成された静電潜像を現
像してトナー像を感光体ドラム21上に形成させる。さ
らに、転写チャージャ24は、現像器23により現像さ
れたトナー像を用紙に転写させた後、分離ベルト25
は、トナー像が転写された上記用紙を感光体ドラム21
から分離させる。上記転写後に余ったトナーは、クリー
ナーブレード26により回収される。なお、イレーサ2
7は余電荷を取り除き、帯電チャージャ22での帯電を
均一にするために設けられる。そして、用紙に転写され
たトナー像の濃度は、濃度読み取り器28により読み取
られ、図2の露光レベルキー5により設定された露光レ
ベルに自動的に制御される。
On the other hand, as shown in FIG. 3, the laser printer section 1b has the following structure below the scanner section 1a. In FIG. 3, the charging charger 22 applies a uniform charge to the photosensitive drum 21 before the irradiation of the laser beam in order to form an electrostatic latent image of a document image by the laser beam. Next, the electrostatic latent image of the original image is formed on the photosensitive drum 21 by the irradiation of the laser beam, and the developing device 23 develops the electrostatic latent image formed by the laser beam to form the toner image on the photosensitive drum 21. Let it form. Further, the transfer charger 24 transfers the toner image developed by the developing device 23 onto the sheet, and then separates the separation belt 25.
Means that the above-mentioned paper on which the toner image is transferred is set to the photosensitive drum
Separate from. The toner remaining after the transfer is collected by the cleaner blade 26. Eraser 2
7 is provided in order to remove the residual charge and make the charging by the charging charger 22 uniform. Then, the density of the toner image transferred onto the paper is read by the density reader 28 and automatically controlled to the exposure level set by the exposure level key 5 in FIG.

【0039】レーザプリンタ部1bはまた、用紙を収納
するペーパーカセット29と、用紙を搬送路へ導くため
の半月型給紙ローラ31と、搬送ローラ32と、用紙の
手差し用の給紙ローラを兼用した搬送ローラ33と、用
紙に対する副走査方向(以下、用紙に対してレーザビー
ムが走査する方向を主走査方向、それに対し直角な方向
を副走査方向とする。)の記録位置を位置決めするレジ
ストローラ34と、転写チャージャー24により転写さ
れたトナー像を用紙に定着させる定着ローラ35と、本
体排出ローラ36と、用紙の裏面が上面となるように当
該用紙を排出するための反転ユニット37と、排出ロー
ラ38とを備える。レーザプリンタ部1bはさらに、ペ
ーパーカセット29内のペーパーサイズを識別するため
のマグネット群39を備え、3ビットの収容枠にマグネ
ットがあるか否かをセンサ41により検出してペーパー
サイズの識別を行う。ペーパーカセット29内の用紙の
存在は、ペーパーエンプティーセンサ42により検出さ
れる。なお、PS1,PS2はそれぞれ用紙の存在を検
出するためのペーパーセンサである。
The laser printer unit 1b also serves as a paper cassette 29 for accommodating sheets, a half-moon type sheet feeding roller 31 for guiding the sheet to the conveying path, a conveying roller 32, and a sheet feeding roller for manually feeding the sheet. The transport roller 33 and the registration roller for positioning the recording position in the sub-scanning direction with respect to the sheet (hereinafter, the direction in which the laser beam scans the sheet is referred to as the main scanning direction, and the direction perpendicular thereto is the sub-scanning direction). 34, a fixing roller 35 for fixing the toner image transferred by the transfer charger 24 onto the paper, a main body discharge roller 36, a reversing unit 37 for discharging the paper so that the back surface of the paper is the top surface, and a discharge And a roller 38. The laser printer unit 1b further includes a magnet group 39 for identifying the paper size in the paper cassette 29, and the sensor 41 detects whether or not there is a magnet in the 3-bit storage frame to identify the paper size. .. The presence of the paper in the paper cassette 29 is detected by the paper empty sensor 42. Note that PS1 and PS2 are paper sensors for detecting the presence of paper, respectively.

【0040】レーザプリンタ部1bの光学系を図4に示
す。図4において、45はレーザダイオード(以下、L
Dという。)であり、後述するLD駆動部66(図5参
照)により変調駆動される。46,47はそれぞれ、レ
ーザビーム50の広がり補正のためのいわゆるコリメー
タレンズとシリンドリカルレンズである。48はポリゴ
ンミラーであり、回転することによりレーザビーム50
が感光体ドラム21上を走査してスキャン光49を得る
ように構成されている。51はレーザビームが感光体ド
ラム21上を均一な速度でスキャンするためのfθレン
ズ、52,53はレーザビームを感光体ドラム21へ導
くための折返しミラー、54は主走査方向の印字位置を
決定するためのビーム検出器であり、スキャン光49は
ビーム検出器54を通った後に、感光体ドラム21を走
査するように構成される。
The optical system of the laser printer section 1b is shown in FIG. In FIG. 4, reference numeral 45 denotes a laser diode (hereinafter, L
Called D. ), And is modulated and driven by an LD drive unit 66 (see FIG. 5) described later. Reference numerals 46 and 47 are so-called collimator lenses and cylindrical lenses for correcting the spread of the laser beam 50, respectively. Reference numeral 48 denotes a polygon mirror, which rotates to generate a laser beam 50.
Is configured to scan the photoconductor drum 21 to obtain scan light 49. Reference numeral 51 is an fθ lens for scanning the photosensitive drum 21 with a laser beam at a uniform speed, 52 and 53 are folding mirrors for guiding the laser beam to the photosensitive drum 21, and 54 is a printing position in the main scanning direction. The scanning light 49 is configured to scan the photosensitive drum 21 after passing through the beam detector 54.

【0041】スキャナプリンタ1は、図5に示すよう
に、イメージセンサ12と、画像処理部62と、制御部
63と、スキャナ機構部64と、プリンタ機構部65
と、レーザ駆動部66と、インターフェイス部(I/F
部)67と、水平同期信号切換部68とを備える。各ブ
ロックは以下の機能を有する。
As shown in FIG. 5, the scanner printer 1 includes an image sensor 12, an image processing section 62, a control section 63, a scanner mechanism section 64, and a printer mechanism section 65.
Laser drive unit 66, interface unit (I / F
Section) 67 and a horizontal synchronizing signal switching section 68. Each block has the following functions.

【0042】イメージセンサ12は、原稿用紙上に記載
され又は印刷されている原稿画像の情報を読み取ってデ
ィジタル画像データに変換し、画像処理部62は、イメ
ージセンサ12によって変換されて出力されるディジタ
ル画像データを、図1のレーザプリンタ部1b、データ
処理装置3のディスプレイ3aなどの出力装置に出力す
る。制御部63は、画像処理部62、スキャナ機構部6
4、プリンタ機構部65、レーザ駆動部66およびイン
ターフェイス部67等の各動作を制御する。スキャナ機
構部64は、図1のスキャナ部1aの駆動を行ない、プ
リンタ機構部65は、プリンタ部1bの駆動を行なう。
レーザ駆動部66は、入力されるディジタル画像データ
に基づいてレーザダイオードを変調駆動する。インター
フェイス部67はコントローラ2からのコマンド信号や
画像データなどの信号変換を行う。水平同期信号切換部
68は、インターフェイス部67を介して制御部63に
入力されるコントローラ2からのコマンド信号に基づい
て、コントローラ2に出力する画像データのための複数
の水平同期信号を選択的に切り換える。
The image sensor 12 reads the information of the document image written or printed on the document sheet and converts it into digital image data, and the image processing section 62 converts the digital image data output by the image sensor 12. The image data is output to an output device such as the laser printer unit 1b of FIG. 1 and the display 3a of the data processing device 3. The control unit 63 includes the image processing unit 62 and the scanner mechanism unit 6.
4, controlling each operation of the printer mechanism unit 65, the laser drive unit 66, the interface unit 67, and the like. The scanner mechanism unit 64 drives the scanner unit 1a in FIG. 1, and the printer mechanism unit 65 drives the printer unit 1b.
The laser drive unit 66 modulates and drives the laser diode based on the input digital image data. The interface section 67 performs signal conversion of command signals and image data from the controller 2. The horizontal synchronization signal switching unit 68 selectively selects a plurality of horizontal synchronization signals for image data to be output to the controller 2 based on a command signal from the controller 2 input to the control unit 63 via the interface unit 67. Switch.

【0043】上記制御部63の構成を図6に示す。制御
部63は、図6に示すように、CPU71と、ROM7
2と、RAM73とを備える。CPU71は、スキャナ
プリンタ1全体をシーケンシャルに制御するためのプロ
セッサであり、ROM72には、CPU71が実行する
ための制御プログラムや当該制御プログラムを実行する
ためのデータ等が格納されている。また、RAM73
は、CPU71が制御プログラムを実行する際に必要と
するデータの一時格納用のワークエリアとして用いられ
る。CPU71は、スキャナ機構部64に搭載されてい
る原稿照射用のLED(図示せず。)を点灯するための
LED駆動信号、及び原稿搬送用のステッピングモータ
(パルスモータ)M64を駆動するためのモータ駆動信
号をスキャナ機構部64に出力する。一方、スキャナ機
構部64は、原稿の搬送位置を検出するために設けられ
た複数のセンサ(図示せず。)から出力されるセンサ出
力信号をCPU71に出力する。
The structure of the control unit 63 is shown in FIG. As shown in FIG. 6, the control unit 63 includes a CPU 71 and a ROM 7
2 and a RAM 73. The CPU 71 is a processor for sequentially controlling the entire scanner printer 1, and the ROM 72 stores a control program to be executed by the CPU 71, data for executing the control program, and the like. Also, the RAM 73
Is used as a work area for temporarily storing the data required when the CPU 71 executes the control program. The CPU 71 has an LED drive signal for lighting an LED (not shown) for irradiating an original mounted on the scanner mechanism section 64, and a motor for driving a stepping motor (pulse motor) M64 for conveying the original. The drive signal is output to the scanner mechanism unit 64. On the other hand, the scanner mechanism unit 64 outputs to the CPU 71 a sensor output signal output from a plurality of sensors (not shown) provided to detect the document transport position.

【0044】CPU71には、外部のデータ処理装置3
からスキャナ機構部64に対してスキャン要求するとき
にアクティブとなるスキャン要求信号が入力されるとと
もに、スキャン中にスキャナ機構部64の動作を停止さ
せたいときに入力され、画像出力の停止および原稿搬送
用のモータの停止のための画像出力停止要求信号が外部
のデータ処理装置3からコントローラ2を介してCPU
71に入力される。さらに、データ処理装置3は、以下
のコマンド信号をCPU71に出力する。このコマンド
信号には、出力すべき画像データの解像度(設定dp
i)を指定する情報や、データ処理装置3の各同期信号
の周波数、データ処理速度などの能力を示す情報が含ま
れる。一方、CPU71は、それぞれ詳細後述され、外
部のデータ処理装置3に対して送出される画像データ、
画像クロック、水平同期信号HSYNC−(以下、HS
YNC信号という。)及び主走査有効信号HD−(以
下、HD信号という。)などの各信号の出力を制御する
ための外部装置出力制御信号を画像処理部62のインタ
ーフェイスゲート回路77に出力する。CPU71はま
た、画像処理部62に必要なデータの入出力を行う制御
信号を供給する。なお、本願の明細書及び図面におい
て、信号の記号の後ろに「−」が付いている信号はロー
アクティブ信号である。
The CPU 71 includes an external data processing device 3
A scan request signal that becomes active when a scan request is issued from the scanner mechanism unit 64 is input from the scanner mechanism unit 64 when it is desired to stop the operation of the scanner mechanism unit 64 during scanning. An image output stop request signal for stopping the motor for the CPU is sent from the external data processing device 3 to the CPU via the controller 2.
71 is input. Further, the data processing device 3 outputs the following command signal to the CPU 71. This command signal contains the resolution of the image data to be output (setting dp
The information specifying i), the frequency of each synchronization signal of the data processing device 3, the information indicating the data processing speed, and the like are included. On the other hand, the CPU 71, which will be described later in detail, sends image data to the external data processing device 3,
Image clock, horizontal sync signal HSYNC- (hereinafter, HS
It is called a YNC signal. ) And a main scanning valid signal HD- (hereinafter referred to as HD signal) and the like, and outputs an external device output control signal for controlling the output of each signal to the interface gate circuit 77 of the image processing unit 62. The CPU 71 also supplies a control signal for inputting and outputting necessary data to the image processing unit 62. In addition, in the specification and drawings of the present application, a signal having "-" after the symbol of the signal is a low active signal.

【0045】画像処理部62は、図6に示すように、ク
ロック発生部74と、解像度変換部75と、2値化部7
6と、入出力部(I/O部)78と、インターフェイス
ゲート回路77とを備える。以下にこれらブロックの基
本機能について説明する。
As shown in FIG. 6, the image processor 62 includes a clock generator 74, a resolution converter 75, and a binarizer 7.
6, an input / output unit (I / O unit) 78, and an interface gate circuit 77. The basic functions of these blocks will be described below.

【0046】クロック発生部74は、画像処理部62の
各処理部及びイメージセンサ12において必要な画素ク
ロックを発生して出力する。また、解像度変換部75
は、入力される画像データに対して3×3のエッジ強調
の処理を行ない、エッジ処理、解像度変換に必要なライ
ンデータの作成を行なうとともに、出力される画像デー
タの解像度を外部装置からの解像度指定コマンド信号に
従って所定の解像度に変換して、変換された解像度を有
する画像データを出力する。さらに、2値化部76は、
多値の画像データを2値化して2値の画像データを出力
し、入出力部78は、画像処理部62の各処理部の入出
力設定を行なう一方、インターフェイス部ゲート回路7
7は、入力される処理すべき画像データや各信号に対し
て外部のデータ処理装置に適合する形式となるように所
定の信号変換を行ってデータ処理装置に出力する。
The clock generating section 74 generates and outputs a pixel clock required for each processing section of the image processing section 62 and the image sensor 12. Also, the resolution conversion unit 75
Performs edge enhancement processing of 3 × 3 on the input image data, creates line data required for edge processing and resolution conversion, and sets the resolution of the output image data to the resolution from an external device. The image data having a predetermined resolution is converted according to the designated command signal, and the image data having the converted resolution is output. Further, the binarization unit 76
The multi-valued image data is binarized to output binary image data, and the input / output unit 78 sets the input / output of each processing unit of the image processing unit 62 while the interface unit gate circuit 7 is set.
Reference numeral 7 performs a predetermined signal conversion on the input image data to be processed and each signal so as to have a format suitable for an external data processing device, and outputs the data to the data processing device.

【0047】クロック発生部74の構成を図7に示す。
クロック発生部74は、図7に示すように、信号発生器
81と、カウンタ82と、セレクタ83と、SH発生部
84と、HD発生部85とを備える。信号発振器81は
所定の周波数を有するクロック信号を発生してカウンタ
82に出力する。カウンタ82は入力されるクロック信
号を計数し、所定の第1の計数値毎に、第1の周波数を
有する第1のクロック信号を発生してセレクタ83の第
1の入力端子に出力するとともに、クロック1として解
像度変換部75に出力する一方、所定の第2の計数値毎
に、第1の周波数よりも低い第2の周波数を有する第2
のクロック信号を発生してセレクタ83の第2の入力端
子に出力する。CPU71は、外部のデータ処理装置3
からのコマンド信号に含まれる解像度などの装置3の装
置能力に基づいて、上記第1のクロック信号と第2のク
ロック信号のうちのいずれのクロック信号を選択するか
を判断し、判断結果の情報を含むクロックセレクト信号
をセレクタ83の制御信号端子に出力する。セレクタ8
3は、入力されるクロックセレクト信号に基づいて、第
1のクロック信号と第2のクロック信号のうちの1つを
選択して、クロック2として出力する。
The structure of the clock generator 74 is shown in FIG.
As shown in FIG. 7, the clock generating section 74 includes a signal generator 81, a counter 82, a selector 83, an SH generating section 84, and an HD generating section 85. The signal oscillator 81 generates a clock signal having a predetermined frequency and outputs it to the counter 82. The counter 82 counts the input clock signal, generates a first clock signal having a first frequency for each predetermined first count value, and outputs the first clock signal to the first input terminal of the selector 83. While outputting as the clock 1 to the resolution conversion unit 75, a second frequency having a second frequency lower than the first frequency is output for each predetermined second count value.
And outputs it to the second input terminal of the selector 83. The CPU 71 is an external data processing device 3
From the first clock signal and the second clock signal based on the device capability of the device 3 such as the resolution included in the command signal from And outputs the clock select signal including the signal to the control signal terminal of the selector 83. Selector 8
3 selects one of the first clock signal and the second clock signal based on the input clock select signal and outputs it as clock 2.

【0048】また、SH発生部84は、2個のカウンタ
を備え、CCDイメージセンサ12が必要とするシフト
信号SH−(以下、SH信号という。)を、それぞれC
PU71から入力されるSH信号のローレベルの期間T
shlを示すデータと、SH信号の周期Pshを示すデ
ータとがSH発生部84内の各カウンタに各カウンタ値
として設定された後、クロック1を計数することによっ
て、図8に示すように、発生して出力する。
Further, the SH generator 84 has two counters, and the shift signal SH- (hereinafter referred to as SH signal) required by the CCD image sensor 12 is C respectively.
Low-level period T of the SH signal input from the PU 71
After the data indicating shl and the data indicating the period Psh of the SH signal are set as the respective counter values in the respective counters in the SH generating section 84, the clock 1 is counted to generate the data as shown in FIG. And output.

【0049】HD発生部85は、2個のカウンタを備
え、原稿の水平方向(主走査方向)の有効幅を示すHD
信号を発生する。HD発生部85もSH発生部84と同
様に、SH信号の立ち上がりエッジからHD信号の立下
がりエッジまでの期間Ttrを示すデータと、SH信号
の立ち上がりエッジからHD信号の立上がりエッジまで
の期間Tleを示すデータとがHD発生部85内の各カ
ウンタに各カウンタ値として設定された後、クロック2
を計数することによって、HD信号が図8に示すように
発生されて出力される。HD発生部85に含まれるカウ
ンタは、HD信号がハイレベルのときSH信号のローレ
ベルによりクリアされ、HD信号の出力期間中はクリア
されない。
The HD generation section 85 has two counters and indicates the effective width of the document in the horizontal direction (main scanning direction).
Generate a signal. Similar to the SH generation unit 84, the HD generation unit 85 also sets data indicating the period Ttr from the rising edge of the SH signal to the falling edge of the HD signal and the period Tle from the rising edge of the SH signal to the rising edge of the HD signal. After the data shown is set in each counter in the HD generation unit 85 as each counter value, the clock 2
, The HD signal is generated and output as shown in FIG. The counter included in the HD generation unit 85 is cleared by the low level of the SH signal when the HD signal is at the high level, and is not cleared during the output period of the HD signal.

【0050】次に、解像度変換部75について説明す
る。解像度変換部75は、図9に示すように、3つのF
IFOメモリ91乃至93を含む3ラインバッファメモ
リを備える。FIFOメモリ91乃至93は、通常のス
タティックRAMと比べて次の特徴を有する。
Next, the resolution converter 75 will be described. The resolution converter 75, as shown in FIG.
A 3-line buffer memory including IFO memories 91 to 93 is provided. The FIFO memories 91 to 93 have the following features as compared with a normal static RAM.

【0051】(1)ライトサイクルおよびリードサイク
ルにおいてアドレスの入力を必要とせず、それぞれライ
トクロックWCK、リードクロックRCKの各立ち上が
りエッジにおいてメモリへのアクセスを行なう。 (2)ライト動作およびリード動作は完全非同期であ
り、データの入出力DIN(0−7),DOUT(0−
7)はデュアルポートであるため、独立して、ライトサ
イクル及びリードサイクルの動作を行なえる。 (3)アドレスを指定できないため、必ず入出力はファ
ーストインファーストアウトの動作しか行なえない。 (4)内部のアドレスポインタはライトリセット端子
(バーWRES),リードリセット端子(バーRRE
S)をアクティブにすることによってライトアドレスお
よびリードアドレスをそれぞれゼロにリセットできる。
(1) No input of an address is required in the write cycle and the read cycle, and the memory is accessed at each rising edge of the write clock WCK and the read clock RCK. (2) The write operation and the read operation are completely asynchronous, and data input / output DIN (0-7) and DOUT (0-
Since 7) is a dual port, it is possible to perform write cycle and read cycle operations independently. (3) Since the address cannot be specified, input / output can always perform only the first-in first-out operation. (4) The internal address pointer has a write reset terminal (bar WRES) and a read reset terminal (bar RRE).
The write address and the read address can be reset to zero by activating S).

【0052】次に、図9と図10の各ブロック図と図1
1の動作タイミングチャートを用いて、解像度変換部7
5の動作を説明する。
Next, the block diagrams of FIGS. 9 and 10 and FIG.
Using the operation timing chart of No. 1, the resolution conversion unit 7
The operation of No. 5 will be described.

【0053】まず、図9の3個のFIFOメモリ91,
92,93を備える3ラインバッファメモリは、入力さ
れた画像データを、3つの水平走査線の各ラインデータ
に変換する。次いで、変換された3つのラインデータを
図10のラッチ101,102,103により、FIF
Oメモリ91乃至93の読出しクロックRCKを1/4
分周したクロック(1/4RCK)でラッチして、1個
の同一の画素の画像データを時間軸方向で4分割して出
力する。次いで、4分割された3つのラインデータのそ
れぞれの画像データに対して、平滑化処理とエッジ強調
処理の効果を有する重みづけ係数が記録されているRO
M104から読み出された重みづけ係数データを、乗算
回路111乃至119で乗算してそれらの乗算結果のデ
ータを、加算回路105ですべて加算し、加重加算デー
タを得る。最後に、出力解像度に応じてクロック発生部
74によって発生されたクロックMAGCKに基づい
て、上記演算された加重加算データがラッチ106によ
ってラッチされ、これによって、出力解像度に対応した
解像度を有する画像データを得る。
First, the three FIFO memories 91,
The 3-line buffer memory including 92 and 93 converts the input image data into each line data of three horizontal scanning lines. Then, the converted three line data are transferred to the FIFO by the latches 101, 102 and 103 in FIG.
The read clock RCK of the O memories 91 to 93 is set to 1/4.
The divided clock (1/4 RCK) is latched, and the image data of one identical pixel is divided into four in the time axis direction and output. Next, a weighting coefficient having the effect of the smoothing process and the edge enhancement process is recorded for each image data of the three line data divided into four.
The weighting coefficient data read from M104 is multiplied by the multiplication circuits 111 to 119, and the data of the multiplication results are all added by the addition circuit 105 to obtain weighted addition data. Finally, based on the clock MAGCK generated by the clock generator 74 according to the output resolution, the weighted addition data calculated as above is latched by the latch 106, whereby image data having a resolution corresponding to the output resolution is obtained. obtain.

【0054】2値化部76の構成を図12に示す。2値
化部76は、入力されるすべての画像データに対して2
値化処理を行う全面2値化部96と、入力されるすべて
の画像データに対して所定の擬似中間調の2値化処理を
行う全面中間頂部97と、入力される画像データに対し
て誤差分散法による2値化処理を行う誤差分散2値化部
98と、入出力部(I/O部)78から入力される選択
信号に基づいて各2値化部96,97,98から出力さ
れる各2値化された画像データのうち1つを選択して出
力するセレクタ99とを備える。
The structure of the binarization unit 76 is shown in FIG. The binarization unit 76 binarizes all input image data.
An entire surface binarization unit 96 that performs binarization processing, an entire surface middle top portion 97 that performs predetermined pseudo halftone binarization processing on all input image data, and an error with respect to input image data. An error distribution binarization unit 98 that performs binarization processing by the dispersion method, and output from each binarization unit 96, 97, 98 based on a selection signal input from the input / output unit (I / O unit) 78. A selector 99 which selects and outputs one of the binarized image data.

【0055】インターフェイスゲート回路77の構成を
図13に示す。インターフェイスゲート回路77は、4
つのナンドゲートG2,G3,G4,G5を備える。図
6のCPU71から出力される制御信号はナンドゲート
G2の第1の入力端子、ナンドゲートG3の第2の入力
端子、ナンドゲートG4の第2の入力端子及びナンドゲ
ートG5の第1の入力端子に入力される。また、CPU
71から出力され詳細後述される有効信号がナンドゲー
トG2の第2の入力端子に入力され、画像データがナン
ドゲートG2の第3の反転入力端子に入力される。さら
に、クロック発生部74によって発生されたクロック2
がナンドゲートG3の第1の反転入力端子に入力され
る。またさらに、SH発生部84によって発生されたS
H信号がナンドゲートG4の第1の反転入力端子に入力
され、HD発生部85によって発生されるHD信号がナ
ンドゲートG4の第3の入力端子及びナンドゲートG5
の第2の反転入力端子に入力される。このとき、ナンド
ゲートG2,G3,G4,G5はそれぞれ、画像デー
タ、画像クロック、HSYNC信号及び主走査有効信号
HDD−(以下、HDD信号という。)を出力する。こ
こで、HDD信号は、当該スキャナプリンタ1から出力
される画像データにおける1走査線内の画像データの有
効期間を示す信号である。
The structure of the interface gate circuit 77 is shown in FIG. The interface gate circuit 77 has four
Two NAND gates G2, G3, G4 and G5 are provided. The control signal output from the CPU 71 of FIG. 6 is input to the first input terminal of the NAND gate G2, the second input terminal of the NAND gate G3, the second input terminal of the NAND gate G4, and the first input terminal of the NAND gate G5. .. Also, CPU
The valid signal output from the output terminal 71 and described later in detail is input to the second input terminal of the NAND gate G2, and the image data is input to the third inverting input terminal of the NAND gate G2. Further, the clock 2 generated by the clock generator 74
Is input to the first inverting input terminal of the NAND gate G3. Furthermore, the S generated by the SH generation unit 84
The H signal is input to the first inverting input terminal of the NAND gate G4, and the HD signal generated by the HD generator 85 is input to the third input terminal of the NAND gate G4 and the NAND gate G5.
Is input to the second inverting input terminal of the. At this time, the NAND gates G2, G3, G4 and G5 respectively output the image data, the image clock, the HSYNC signal and the main scanning enable signal HDD- (hereinafter referred to as the HDD signal). Here, the HDD signal is a signal indicating the valid period of the image data in one scanning line in the image data output from the scanner printer 1.

【0056】次に、以上の説明において現れた画像デー
タ、画像クロック、HD信号、HSYNC信号などの各
信号について、より具体的に説明する。
Next, each of the signals such as the image data, the image clock, the HD signal, the HSYNC signal and the like appearing in the above description will be described more specifically.

【0057】<クロック1,クロック2>クロック2
は、クロック1と同じ周波数を有する第1のクロック信
号と、クロック1よりも低い周波数を有する第2のクロ
ック信号とのうちから選択された1つのクロック信号で
ある。このようにクロックの周波数を選択可能にしたの
は、データ処理装置3による画像データの読込みがクロ
ック1に従ってできない場合を考慮したからである。
<Clock 1, Clock 2> Clock 2
Is one clock signal selected from a first clock signal having the same frequency as clock 1 and a second clock signal having a frequency lower than clock 1. The reason why the frequency of the clock is made selectable in this way is because it is considered that the image data cannot be read by the data processing device 3 according to the clock 1.

【0058】<HD信号>HD信号は原稿の水平方向、
すなわち主走査方向の有効領域を示す信号であり、CP
U71により設定される上記期間Ttr,Tleの各デ
ータによって発生され、当該HD信号の発生期間は、画
像データの主走査方向の出力サイズ(主走査方向の出力
期間)や、出力解像度などによって変更される。
<HD signal> The HD signal is the horizontal direction of the original,
That is, it is a signal indicating the effective area in the main scanning direction, and CP
The generation period of the HD signal generated by each data of the periods Ttr and Tle set by U71 is changed depending on the output size of the image data in the main scanning direction (output period in the main scanning direction), output resolution, and the like. It

【0059】<CPU71に入力されるCPU水平同期
信号CPUHSYNC−>ナンドゲートG1によって発
生されてCPU71に入力されるCPU水平同期信号C
PUHSYNC−(以下、CPUHSYNC信号とい
う。)について以下に説明する。図6に示すように、ク
ロック発生部74によって発生されるSH信号はナンド
ゲートG1の第1の反転入力端子に入力され、クロック
発生部74によって発生されるHD信号はナンドゲート
G1の第2の入力端子に入力され、これによって、CP
UHSYNC信号がナンドゲートG1からCPU71に
入力される。
<CPU horizontal sync signal CPUHSYNC- input to CPU 71> CPU horizontal sync signal C generated by NAND gate G1 and input to CPU 71
PUHSYNC- (hereinafter, referred to as CPUHSYNC signal) will be described below. As shown in FIG. 6, the SH signal generated by the clock generator 74 is input to the first inverting input terminal of the NAND gate G1, and the HD signal generated by the clock generator 74 is the second input terminal of the NAND gate G1. Entered in the CP
The UHSYNC signal is input to the CPU 71 from the NAND gate G1.

【0060】図14(a)はクロック1の周波数がクロ
ック2の周波数に一致する場合における、クロック1、
クロック2、SH信号、HD信号、及びHSYNC信号
の関係を示すタイミングチャートであり、図14(b)
はクロック1の周波数がクロック2の周波数に一致しな
い場合における、クロック1、クロック2、SH信号、
HD信号、及びHSYNC信号の関係を示すタイミング
チャートである。
FIG. 14A shows clock 1 when the frequency of clock 1 matches the frequency of clock 2.
14B is a timing chart showing the relationship between the clock 2, the SH signal, the HD signal, and the HSYNC signal, and FIG.
Is the clock 1, clock 2, SH signal when the frequency of clock 1 does not match the frequency of clock 2,
6 is a timing chart showing the relationship between the HD signal and the HSYNC signal.

【0061】外部のデータ処理装置3がクロック1の周
波数と同一の周波数の画像クロックで動作可能であると
きは、図14(a)に示すように、SH信号がそのまま
HSYNC信号としてデータ処理装置3に出力される。
一方、外部のデータ処理装置3がクロック1の周波数と
同一の周波数の画像クロックで動作できないときは、図
14(b)に示すように、SH信号が図13のナンドゲ
ートG4によって間引かれて、HSYNC信号としてデ
ータ処理装置3に出力される。すなわち、図14(b)
の点線のパルスで示すように、HD信号がローレベルで
あるときはローレベルのSH信号が出力されない。
When the external data processing device 3 is operable with the image clock having the same frequency as the frequency of the clock 1, as shown in FIG. 14A, the SH signal is directly used as the HSYNC signal. Is output to.
On the other hand, when the external data processing device 3 cannot operate with the image clock having the same frequency as the frequency of the clock 1, the SH signal is thinned out by the NAND gate G4 of FIG. 13 as shown in FIG. It is output to the data processing device 3 as an HSYNC signal. That is, FIG. 14B
As indicated by the dotted line pulse, the low level SH signal is not output when the HD signal is low level.

【0062】また、CPU71は詳細後述するように、
当該CPUHSYNC信号に同期してステッピングモー
タM64を駆動する。そのため、クロック1の周波数と
違う周波数を有するクロック2を選択したとき、ステッ
ピングモータM64の駆動速度を遅くでき、画像データ
を受信するときの受信処理の遅い外部のデータ処理装置
3にも対応できる。
The CPU 71, as will be described later in detail,
The stepping motor M64 is driven in synchronization with the CPUHSYNC signal. Therefore, when the clock 2 having a frequency different from the frequency of the clock 1 is selected, the driving speed of the stepping motor M64 can be slowed down, and the external data processing device 3 which is slow in the receiving process when receiving the image data can be dealt with.

【0063】<画像データ、画像クロック、HSYNC
信号、HDD信号>後述する制御部63のメインルーチ
ンによって制御されて発生されるハイレベルの制御信号
が、図13に示すように、ナンドゲートG2乃至G5に
入力されるとき、各ナンドゲートG2乃至G5から外部
のデータ処理装置3に出力される画像データ、画像クロ
ック、HSYNC信号及びHDD信号の各出力がそれぞ
れ禁止される。なお、ナンドゲートG2に入力される有
効信号は、イメージセンサ12から外部のデータ処理装
置3に画像データをそのままスルーで出力するか、もし
くは「白」の画素の画像データに固定して出力するかを
制御するために用いられる。
<Image data, image clock, HSYNC
Signal, HDD signal> When a high-level control signal generated by being controlled by the main routine of the control unit 63 described later is input to the NAND gates G2 to G5, as shown in FIG. The output of image data, image clock, HSYNC signal, and HDD signal output to the external data processing device 3 is prohibited. The valid signal input to the NAND gate G2 indicates whether the image data is directly output from the image sensor 12 to the external data processing device 3 or fixed to the image data of the "white" pixel. Used to control.

【0064】<外部のデータ処理装置3に出力されるH
SYNC信号>このHSYNC信号は、図13に示され
るように、クロック発生部74によって発生される上記
SH信号とHD信号と、CPU71から出力される制御
信号とに基づいて、ナンドゲートG4によって発生され
る水平同期信号である。上述のように、図14(b)の
場合において、HSYNC信号は間引いて出力される。
<H output to the external data processing device 3
SYNC signal> This HSYNC signal is generated by the NAND gate G4 based on the SH signal and the HD signal generated by the clock generator 74 and the control signal output from the CPU 71, as shown in FIG. It is a horizontal synchronization signal. As described above, in the case of FIG. 14B, the HSYNC signal is thinned out and output.

【0065】次に、以上で構成を説明したスキャナプリ
ンタ1のスキャナモード、プリンタモード、及びコピー
モードの3つの動作モードについてそれぞれ説明する。
Next, each of the three operation modes of the scanner printer 1 having the above-described configuration, that is, the scanner mode, the printer mode, and the copy mode will be described.

【0066】<スキャナモード>本実施例のスキャナプ
リンタ1の制御部63内のCPU71によって実行され
るスキャナモードのメインルーチンを図15に示す。ス
テップS1にて、外部のデータ処理装置3から送られて
くるコマンド信号に含まれる、出力サイズ,出力解像
度,外部装置能力,露光レベル等のスキャナ動作に必要
な情報に基づいて初期設定を行なう。そして、この初期
設定において、受付け可能なものについてはステータス
アンサ「正常受信」、受付け不可能なものについてはス
テータスアンサ「異常」をデータ処理装置3に返信す
る。
<Scanner Mode> FIG. 15 shows the main routine of the scanner mode executed by the CPU 71 in the control unit 63 of the scanner printer 1 of this embodiment. In step S1, initial setting is performed based on information necessary for the scanner operation such as output size, output resolution, external device capability, exposure level, etc. included in the command signal sent from the external data processing device 3. Then, in this initial setting, a status answer “normal reception” is sent to those that can be accepted, and a status answer “abnormal” is sent to those that cannot be accepted to the data processing device 3.

【0067】初期設定が終了すると、ステップS2に
て、データ処理装置3からの次のコマンド信号の有無が
判定され、コマンド信号があるときには(ステップS2
でYES)ステップS3においてそのコマンド信号に対
する解析処理がなされ、その解析結果に基づいてスキャ
ナ動作に必要な情報を取り込んで必要な処理を実行した
後、ステップS4にて外部のデータ処理装置3からのス
キャン要求信号に基づいてスキャン要求か否かを判定す
る。そして、上記ステップS2にてコマンド信号なしと
判定されると(ステップS2でNO)、ステップS3を
実行することなく上記ステップS4の実行に進み、スキ
ャン要求か否かを判定する。
When the initial setting is completed, the presence or absence of the next command signal from the data processing device 3 is determined in step S2, and when there is a command signal (step S2).
(YES in step S3), the command signal is analyzed in step S3, information necessary for the scanner operation is fetched based on the analysis result, and the necessary processing is executed. It is determined based on the scan request signal whether or not a scan request is made. If it is determined that there is no command signal in step S2 (NO in step S2), the process proceeds to step S4 without executing step S3, and it is determined whether or not a scan request is made.

【0068】上記ステップS4にてスキャン要求と判定
されると(ステップS4でYES)、ステップS5にて
スキャン処理が実行されたのち、ステップS2の実行に
戻る。また、上記ステップS4にてスキャン処理が要求
されないと判断したときには(ステップS4でNO)、
ステップS2の実行に戻る。
If it is determined in step S4 that the scan is requested (YES in step S4), the scan process is executed in step S5, and then the process returns to step S2. When it is determined in step S4 that the scan process is not required (NO in step S4),
Returning to the execution of step S2.

【0069】図16は上記のステップS5のスキャン処
理の詳細を示すフローチャートである。図16に示すよ
うに、ステップS11において、外部のデータ処理装置
3からのコマンド信号により受け取った外部装置能力に
基づいて、図7に示す構成を有するクロック発生部74
によって発生されるクロック2の周波数を決定する。本
実施例においては、クロック1の周波数を10MHzと
し、クロック2の周波数は10MHzと2.5MHzと
のいずれかを選択可能としており、CPU71は上記コ
マンド信号によりいずれかを選択し、選択されたクロッ
ク2の周波数を示すクロックセレクト信号をクロック発
生部74のセレクタ83に出力する。これにより、10
MHzの画像クロックでは受信できない外部のデータ処
理装置3に対して2.5MHzのクロックに基づいて画
像データを出力する。なお、本実施例では、それぞれ互
いに異なる周波数を有する2種類のクロックのうちの1
種類のクロックの選択のみを開示しているが、それぞれ
互いに異なる周波数を有する3種類以上のクロックのう
ちの1種類のクロックを選択するようにしてもよい。次
いで、ステップS12において、画像の出力サイズすな
わち画像の主走査方向の有効期間に応じてHD信号のパ
ルス幅、すなわちHD発生部85のカウンタの設定値T
tr,Tleを設定しこれらのデータをHD発生部85
に出力した後、ステップS13において、原稿照射用L
EDを点灯する。
FIG. 16 is a flow chart showing details of the scan processing in step S5. As shown in FIG. 16, in step S11, based on the external device capability received by the command signal from the external data processing device 3, the clock generation unit 74 having the configuration shown in FIG.
Determines the frequency of clock 2 generated by. In this embodiment, the frequency of the clock 1 is set to 10 MHz, and the frequency of the clock 2 can be selected from 10 MHz and 2.5 MHz, and the CPU 71 selects either one by the command signal and the selected clock. The clock select signal indicating the frequency of 2 is output to the selector 83 of the clock generator 74. This gives 10
The image data is output based on the 2.5 MHz clock to the external data processing device 3 that cannot be received by the image clock of MHz. It should be noted that in the present embodiment, one of the two types of clocks having different frequencies is used.
Although only the selection of the type of clock is disclosed, one type of clock may be selected from three or more types of clocks each having a different frequency. Next, in step S12, the pulse width of the HD signal, that is, the set value T of the counter of the HD generation unit 85, according to the output size of the image, that is, the effective period of the image in the main scanning direction.
tr and Tle are set, and these data are stored in the HD generation unit 85.
After outputting to the
Turn on the ED.

【0070】そして、この状態で、ステップS14Aに
おいて、ステッピングモータM64を駆動させて、原稿
トレイ11上に載置された原稿をCCDセンサ12に搬
送することを開始し、ステップS14Bにおいて、原稿
がイメージセンサ12まで搬送されたか否かが判定され
る。上記ステップS14にて、原稿の先端部がイメージ
センサ12まで搬送されたと判定すると(ステップS1
4BにおいてYES)、ステップS15にて、原稿の先
端部がイメージセンサ12まで搬送されて画像の読取出
力が可能になったこと、並びに画像データの有効範囲、
すなわち副走査方向の有効期間であることを示す信号V
SREQをデータ処理装置3に出力した後、ステップS
16に進む。一方、原稿の先端部がイメージセンサ12
まで搬送されない場合(ステップS14BにおいてN
O)、ステップS14Aに戻って原稿の搬送が続けられ
る。
Then, in this state, in step S14A, the stepping motor M64 is driven to start conveying the original placed on the original tray 11 to the CCD sensor 12, and in step S14B, the original is imaged. It is determined whether or not it has been conveyed to the sensor 12. When it is determined in step S14 that the leading edge of the document has been conveyed to the image sensor 12 (step S1).
4B, YES), in step S15, the front end of the document is conveyed to the image sensor 12 and the image can be read out and output, and the effective range of the image data,
That is, the signal V indicating the effective period in the sub-scanning direction
After outputting SREQ to the data processing device 3, step S
Proceed to 16. On the other hand, the leading edge of the document is the image sensor 12
If not conveyed (N in step S14B)
O), the process returns to step S14A, and the document conveyance is continued.

【0071】図17のステップS16では、画像出力要
求及び外部のデータ処理装置3の画像の取込中又は受信
中であることを示すVSYNC信号の入力待ちとなる。
そして、上記ステップS16にて、VSYNC信号が入
力したと判定されると(ステップS16においてYE
S)、ステップS17が実行される。次いで、ステップ
S17では、CPUHSYNC信号の入力待ちとなる。
CPU71にCPUHSYNC信号が入力されると、図
20に示したHSYNC割込み処理が実行され、ステッ
プS41にて割り込みフラグINTFが1にセットされ
る。そして、再び図17のスキャン処理のルーチンに戻
り、ステップS17で上記割り込みフラグINTFによ
り、CPUHSYNC信号の入力があったと判定される
と(ステップS17においてYES)、ステップS18
でこの割り込みフラグINTFが0にクリアされ、ステ
ップS20でデータ処理装置3から画像出力停止要求信
号を受信したか否かチェックする。
In step S16 of FIG. 17, the process waits for an image output request and a VSYNC signal indicating that the external data processing device 3 is capturing or receiving an image.
When it is determined in step S16 that the VSYNC signal is input (YES in step S16).
S), step S17 is executed. Next, in step S17, the input of the CPUHSYNC signal is awaited.
When the CPUHSYNC signal is input to the CPU 71, the HSYNC interrupt process shown in FIG. 20 is executed, and the interrupt flag INTF is set to 1 in step S41. Then, the process returns to the scan processing routine of FIG. 17 again, and if it is determined in step S17 that the CPUHSYNC signal is input by the interrupt flag INTF (YES in step S17), step S18.
Then, the interrupt flag INTF is cleared to 0, and it is checked in step S20 whether the image output stop request signal is received from the data processing device 3.

【0072】上記ステップS20にて、外部のデータ装
置3から画像出力停止要求信号が受信されたならば(ス
テップS20においてYES)、ステップS19にて画
像データの出力を停止し、モータ駆動信号がオフとされ
てステッピングモータM64の回転が停止した後、ステ
ップS17に戻る。ここで、画像出力停止要求信号と
は、外部のデータ処理装置3が画像データを受け取るこ
とができなくなったため、スキャナプリンタ1に対して
その動作の停止を要求することを示すものである。上記
ステップS20で画像出力停止要求信号が受信されない
とき(ステップS20においてNO)、ステップS21
で出力すべき画像データの出力解像度に基づいて、読み
取った1水平走査線分の画像データを出力すべきか否か
がチェックされる。すなわち、副走査方向の解像度が4
00dpiより低いときには、水平走査線のラインの間
引きを行なうことによって、副走査方向の解像度を低く
する。このステップS21の判断処理については詳細後
述する。
If the image output stop request signal is received from the external data device 3 in step S20 (YES in step S20), the output of the image data is stopped in step S19 and the motor drive signal is turned off. After the rotation of the stepping motor M64 is stopped, the process returns to step S17. Here, the image output stop request signal indicates that the external data processing device 3 cannot receive the image data, and thus requests the scanner printer 1 to stop its operation. When the image output stop request signal is not received in step S20 (NO in step S20), step S21
Based on the output resolution of the image data to be output, it is checked whether the read image data for one horizontal scanning line should be output. That is, the resolution in the sub-scanning direction is 4
When it is lower than 00 dpi, the resolution in the sub-scanning direction is lowered by thinning out the horizontal scanning lines. The determination process of step S21 will be described in detail later.

【0073】なお、解像度変換処理のうち、より高い解
像度(本実施例では例えば800dpi)を有する画像
データに変換する高解像度処理と、より低い解像度(本
実施例では例えば200dpi)を有する画像データに
変換する低解像度処理では、次のような処理が行なわれ
る。 (1)高解像度処理:原稿上の連続する3ラインの画像
データを図9の3つのFIFOメモリ91,92,93
へ書き込んで、同時に3つのラインの画像データを生成
した後、その生成された各1ランの各画像データをさら
に、図23に示すように、4つのラインに分割してかつ
分割された各ラインの画像データはライン信号に応じた
処理をして出力する。そのため、このときは分割された
各ラインの画像データ処理が終了するまでは、ステッピ
ングモータM64の動作は停止される。 (2)低解像度処理:このときは、原稿上の連続する3
ラインの画像データをFIFOメモリ91,92,93
に書き込みを行うが、基本的にはライン単位でのHSY
NC信号と画像データの間引きによって当該処理を行う
ために、ステッピングモータM64の駆動を行うが、間
引きされて除去されるラインの画像データの出力が禁止
される。
In the resolution conversion processing, high resolution processing for converting into image data having a higher resolution (for example, 800 dpi in this embodiment) and image data having a lower resolution (for example, 200 dpi in this embodiment) are performed. In the low resolution processing for conversion, the following processing is performed. (1) High resolution processing: The image data of three consecutive lines on the original document are converted into the three FIFO memories 91, 92, 93 of FIG.
23, the image data of three lines are generated at the same time, and the generated image data of each one run is further divided into four lines as shown in FIG. The image data of is processed and output according to the line signal. Therefore, at this time, the operation of the stepping motor M64 is stopped until the image data processing of each divided line is completed. (2) Low resolution processing: At this time, three consecutive documents on the original
The image data of the line is transferred to the FIFO memories 91, 92, 93.
Is written to, but basically HSY in line units
The stepping motor M64 is driven in order to perform the processing by thinning out the NC signal and the image data, but the output of the image data of the lines to be thinned out and removed is prohibited.

【0074】上述のように、ステップS21において読
み取られたラインの画像データを出力すべきでない場合
は(ステップS21においてNO)、ステップS22に
て制御信号をローレベルにして画像データの出力を停止
する一方、そのラインの画像データを出力すべきときに
は(ステップ21においてYES)、ステップS23に
て制御信号をハイレベルとして、画像データの出力を許
可した後、図18のステップS24に進む。
As described above, when the image data of the line read in step S21 should not be output (NO in step S21), the control signal is set to low level in step S22 to stop the output of image data. On the other hand, when the image data of the line should be output (YES in step 21), the control signal is set to the high level in step S23 to permit the output of the image data, and then the process proceeds to step S24 in FIG.

【0075】図18のステップS24では、出力すべき
画像データの出力解像度に基づいてステッピングモータ
M64を駆動するかどうかを判断する。すなわち、外部
のデータ処理装置3から指定された解像度(以下、設定
解像度又は設定dpiという。)が400dpiより高
いときには、ステッピングモータM64を停止したまま
同じのラインの画像データを複数回出力することによ
り、画像データ量を増大させる。なお、このステップS
24については詳細後述する。ステップS24において
ステッピングモータM64の駆動をしないと判断された
ときには(ステップS25においてNO)、ステップS
25にてモータ駆動信号をオフとすることにより、ステ
ッピングモータM64を停止させる一方、ステッピング
モータM64を駆動すると判断されたときは(ステップ
S24においてYES)、ステップS26にてモータ駆
動信号をオンとして出力することにより、ステッピング
モータM64を1ステップだけ回転させて原稿を1ライ
ン分だけ副走査方向に進める。
In step S24 of FIG. 18, it is determined whether to drive the stepping motor M64 based on the output resolution of the image data to be output. That is, when the resolution specified by the external data processing device 3 (hereinafter referred to as the set resolution or the set dpi) is higher than 400 dpi, the image data of the same line is output a plurality of times with the stepping motor M64 stopped. , Increase the amount of image data. This step S
Details of 24 will be described later. When it is determined in step S24 that the stepping motor M64 is not driven (NO in step S25), step S24
When it is determined that the stepping motor M64 is driven while the motor driving signal is turned off in 25, the stepping motor M64 is driven (YES in step S24), the motor driving signal is turned on and output in step S26. By doing so, the stepping motor M64 is rotated by one step to advance the document by one line in the sub-scanning direction.

【0076】上記ステップS25又はステップS26の
実行後、ステップS27にて、原稿がその後端まで搬送
されたか否かがチェックされる。もし搬送されていなけ
れば(ステップS27においてNO)図17のステップ
S17に戻る。
After the execution of step S25 or step S26, it is checked in step S27 whether the document has been conveyed to the trailing edge. If not conveyed (NO in step S27), the process returns to step S17 in FIG.

【0077】一方、上記ステップS27にて原稿がその
後端まで搬送されたと判定されると(ステップS27で
YES)、ステップS28にてVSREQ信号の出力を
停止し、図19のステップS29にて「白」の画素の画
像データを出力した後、ステップS32に進む。これ
は、外部のデータ処理装置3が画像データの取込中かど
うかチェックし、もし取込中であれば「白」の画素の画
像データを送出できるようにしている。これは、スキャ
ナプリンタ1が出力する画像データのデータ量と、外部
のデータ処理装置3が要求する画像データのデータ量と
が異なって当該画像読取システムがダウンする、すなわ
ち外部のデータ処理装置3が永久にデータを待ち続ける
等の現象を回避し、もしくは外部のデータ処理装置3が
要求する画像データ量に対応する画像データを装置3自
身で発生して不足部分の画像データを追加する等の処理
をしなくてすむようにするためである。なお、本実施例
においては、出力すべき画像がポジティブ画像であるの
で、上記ステップS29において、「白」の画素の画像
データを出力しているが、本発明はこれに限らず、出力
すべき画像がネガティブ画像であるとき、好ましくは、
上記ステップS29において、「黒」の画素の画像デー
タを出力してもよい。
On the other hand, if it is determined in step S27 that the document has been conveyed to the trailing edge (YES in step S27), the output of the VSREQ signal is stopped in step S28, and "white" is output in step S29 in FIG. After outputting the image data of the pixel "," the process proceeds to step S32. This allows the external data processing device 3 to check whether or not the image data is being captured, and if it is, the image data of the "white" pixel can be transmitted. This is because the data amount of the image data output by the scanner printer 1 and the data amount of the image data requested by the external data processing device 3 are different and the image reading system goes down. A process of avoiding a phenomenon such as waiting for data forever, or generating image data corresponding to the amount of image data requested by an external data processing device 3 in the device 3 itself and adding image data of a lacking part This is to avoid doing this. In this embodiment, since the image to be output is a positive image, the image data of the "white" pixel is output in step S29, but the present invention is not limited to this and should be output. When the image is a negative image, preferably
In step S29, the image data of the "black" pixel may be output.

【0078】上記ステップS29の実行後、VSYNC
信号の入力が終了したかどうかを判断し、終了が確認さ
れると(ステップS32においてYES)、画像データ
の出力を停止した後、ステップS30に進む。VSYN
C信号の入力が終了していないときは(ステップS32
においてNO)、ステップS29の処理を続ける。図1
9のステップS30では、画像データの出力を停止した
後、ステップS30において原稿が排出されたか否かが
チェックされ、原稿が排出されると(ステップS30に
おいてYES)、ステップS31において原稿照射用L
EDが消灯され、以上でスキャナモードの処理が終了す
る。
After the execution of step S29, VSYNC
It is determined whether or not the signal input is completed, and if the completion is confirmed (YES in step S32), the output of the image data is stopped, and then the process proceeds to step S30. VSYN
When the input of the C signal is not completed (step S32
In NO), the process of step S29 is continued. Figure 1
In step S30 of 9, after the output of the image data is stopped, it is checked in step S30 whether or not the original document is ejected. If the original document is ejected (YES in step S30), the document irradiation L is performed in step S31.
The ED is turned off, and the processing in the scanner mode is completed.

【0079】次に、上記スキャナモードの処理において
説明した解像度変換処理について、以下に、さらに詳し
く説明する。
Next, the resolution conversion processing described in the above-mentioned scanner mode processing will be described in more detail below.

【0080】図17のステップS20にて外部のデータ
処理装置3から画像出力停止要求信号を受信せす、ステ
ップS21へと進むと、まず現在読みとっている1ライ
ンの画像データを何ライン目として処理するかを決定す
る。このライン数により画像処理の方法を変更する。図
23に示すように、実際に読みとっている3ラインの画
像データのうち例えば読み取った第Nラインの画像デー
タに対する処理において、外部のデータ処理装置3に出
力する1ラインの画像データをフィードバックする方法
を変化させることによって、例えば読み取った第Nライ
ンの第0ライン目乃至第3ライン目の各画像データに対
する画像処理方法を変更する。つまり、第0ライン目の
画像データに加算すべき(N−1)ライン、Nラインに
対する重み付け係数を(N+1)ラインに対する重み付
け係数よりも大きな値に設定し、第3ライン目の画像デ
ータに加算すべき(N+1)ライン、Nラインに対する
重み付け係数を(N−1)ラインに対する重み付け係数
よりも大きな値に設定する。
In step S20 of FIG. 17, the image output stop request signal is received from the external data processing device 3. When the process proceeds to step S21, the first read image data of one line is processed as what line. Decide what to do. The image processing method is changed according to the number of lines. As shown in FIG. 23, a method of feeding back the image data of one line to be output to the external data processing device 3 in the process for the image data of the read Nth line out of the image data of the actually read three lines, for example. Is changed to change the image processing method for the image data of the 0th line to the 3rd line of the read Nth line, for example. That is, the weighting coefficient for the (N−1) th line and the Nth line to be added to the image data of the 0th line is set to a value larger than the weighting coefficient for the (N + 1) th line and added to the image data of the 3rd line. The weighting coefficient for the (N + 1) line and the N line to be set is set to a value larger than the weighting coefficient for the (N-1) line.

【0081】さらに、当該解像度変換処理の具体的な手
法を図21を参照して説明する。ここで、処理を行って
出力すべきライン番号の変数として出力ラインoutp
utlineを用い、また、出力すべきかどうか判断す
るための解像度パラメータとしてdpinumを用い
る。本実施例のスキャナプリンタ1のスキャナ1aの読
取解像度は400dpiであり、読取解像度である40
0dpiの4倍の解像度である1600dpiの最大出
力解像度を有する。従って、当該スキャナプリンタ1
は、読み取りの1ラインの画像データに対して4回繰り
返して画像データを出力することができるように構成さ
れ、また、解像度を1dpiの単位で変化させることが
できるようにするため、解像度パラメータdpinum
を以下のように用いている。
Further, a specific method of the resolution conversion processing will be described with reference to FIG. Here, the output line outp is used as a variable of the line number to be processed and output.
utline is used, and dpinum is used as a resolution parameter for determining whether to output. The reading resolution of the scanner 1a of the scanner printer 1 of the present embodiment is 400 dpi, which is the reading resolution of 40.
It has a maximum output resolution of 1600 dpi, which is four times the resolution of 0 dpi. Therefore, the scanner printer 1
Is configured so that the image data of one line of read image data can be repeatedly output four times, and the resolution parameter dpinum can be changed in units of 1 dpi.
Is used as follows.

【0082】図21のステップS211にて処理パラメ
ータaを0にリセットするとともに、出力ラインout
putlineの初期値を0に設定した後、ステップS
212において解像度パラメータdpinumに、外部
のデータ処理装置3からのコマンド信号により指定され
た設定dpiを読取1ライン毎に加算し、この処理を最
大4回まで行う(ステップS215,S216)。ここ
で、上記ステップS214にて解像度パラメータdpi
numが1600以上になったときに(ステップS21
4においてYES)画像の出力を許可し、ステップS2
17で解像度パラメータdpinumから1600を減
算して、減算結果の差の値を解像度パラメータdpin
umとして設定した後ステップS23に進み、当該読取
ラインの画像データに関する処理は終了する。上記ステ
ップS212からステップS214までの処理を4回行
った場合は、ステップS22に進む。なお、ステップS
212において用いられる解像度パラメータdpinu
mは図15のステップS1において0に初期化される。
In step S211 of FIG. 21, the processing parameter a is reset to 0 and the output line out
After setting the initial value of putline to 0, step S
In step 212, the setting parameter dpi specified by the command signal from the external data processing device 3 is added to the resolution parameter dpinum for each read line, and this process is performed up to four times (steps S215 and S216). Here, in step S214, the resolution parameter dpi
When num becomes 1600 or more (step S21
YES in step 4), permitting image output, and step S2
In step 17, 1600 is subtracted from the resolution parameter dpinum, and the difference value of the subtraction result is used as the resolution parameter dpinum.
After setting as um, the process proceeds to step S23, and the process related to the image data of the reading line ends. When the processing from step S212 to step S214 is performed four times, the process proceeds to step S22. Note that step S
Resolution parameter dpinu used in 212
m is initialized to 0 in step S1 of FIG.

【0083】また、ステッピングモータM64の停止に
ついては次のように決定する。ステップ211におい
て、出力ラインoutputlineの初期値が0にリ
セットされ、ステップS213にて出力ラインoutp
utlineに1を、上記ステップS212の実行毎に
加算する。
The stop of the stepping motor M64 is determined as follows. In step 211, the initial value of the output line outputline is reset to 0, and in step S213, the output line outputp
utline is incremented by 1 each time step S212 is executed.

【0084】また、図18のステップS24は、図22
に示すように、ステップS241にて出力ラインout
putline≧4と判定すると、ステップS242に
て現在の出力ラインoutputlineから4を減算
して、減算結果の差の値を出力ラインoutputli
neとして設定した後、図18のステップS26におい
て、ステッピングモータM64を駆動して回転させる。
また、上記ステップS241にて出力ラインoutpu
tline<4と判定したときは、図18のステップS
25においてステッピングモータN64を停止させる。
なお、上記ステップS21,S28の判断はCPU71
に入力されるCPUHSYNC信号と同期して行われ
る。次に具体的な例をあげる。
Further, the step S24 of FIG.
, The output line out in step S241.
If it is determined that putline ≧ 4, 4 is subtracted from the current output line outputline in step S242, and the difference value of the subtraction result is output line outputline.
After setting as ne, in step S26 of FIG. 18, the stepping motor M64 is driven and rotated.
In step S241, the output line outputpu is output.
If it is determined that tline <4, step S in FIG.
At 25, the stepping motor N64 is stopped.
The CPU 71 determines whether or not the steps S21 and S28 are performed.
Is performed in synchronization with the CPUHSYNC signal input to the. Next, a concrete example will be given.

【0085】(1)設定解像度が400dpiのとき
(標準の読取解像度)、読み取りの1ラインの画像デー
タの処理においては、出力ラインoutputline
が0→1→2→3→4(=0)と変化すると、解像度パ
ラメータdpinumが0→400→800→1200
→1600(=0)と変化し、解像度パラメータdpi
numが1600以上となって、画像データの出力が許
可される。一方、出力ラインoutputlineが4
以上となると、ステッピングモータM64を回転させ
る。これにより、外部のデータ処理装置3からの画像出
力停止要求信号がオフのときは、常にステッピングモー
タM64の駆動がオンで、画像データも出力される。
(1) When the set resolution is 400 dpi (standard reading resolution), the output line outputline is used in processing the image data of one line of reading.
Changes from 0 → 1 → 2 → 3 → 4 (= 0), the resolution parameter dpinum becomes 0 → 400 → 800 → 1200.
→ 1600 (= 0) and the resolution parameter dpi
When num is 1600 or more, output of image data is permitted. On the other hand, the output line outputline is 4
When the above is reached, the stepping motor M64 is rotated. Thus, when the image output stop request signal from the external data processing device 3 is off, the driving of the stepping motor M64 is always on and the image data is also output.

【0086】(2)設定解像度が200dpiのとき、
読み取りの1ライン目(出力の1ライン目)の画像デー
タの処理においては、出力ラインoutputline
が0→1→2→3→4(=0)と変化すると、解像度パ
ラメータdpinumが0→200→400→600→
800と変化し、読み取り1ライン目の画像データの処
理では出力ラインoutputlineが4以上となっ
たのでステッピングモータM64を回転させるが、解像
度パラメータdpinumは1600以上にならないた
め画像データを出力しない。次いで、読み取りの2ライ
ン目(出力の2ライン目)の画像データの処理において
は、出力ラインoutputlineが0→1→2→3
→4と変化すると、解像度パラメータdpinumが8
00→1000→1200→1400→1600(=
0)と変化する。ここで、出力ラインoutputli
neが4以上となるので、ステッピングモータM64を
回転させ、解像度パラメータdpinumが1600以
上になるので画像データを出力する。以下同様にして上
記の処理が繰り返され、ステッピングモータM64は常
にオンされる一方、画像データの出力は読み取りのライ
ン毎に、オフ、オン、……と変化して繰り返される。
(2) When the set resolution is 200 dpi,
In the processing of the image data of the first read line (first output line), the output line outputline
Changes from 0 → 1 → 2 → 3 → 4 (= 0), the resolution parameter dpinum becomes 0 → 200 → 400 → 600 →
Since the output line outputline becomes 4 or more in the processing of the image data of the first line to be read, the stepping motor M64 is rotated, but the resolution parameter dpinum does not become 1600 or more and the image data is not output. Next, in the processing of the image data of the second read line (the second output line), the output line outputline is 0 → 1 → 2 → 3.
→ When it changes to 4, the resolution parameter dpinum becomes 8
00 → 1000 → 1200 → 1400 → 1600 (=
It changes to 0). Where the output line outputli
Since ne is 4 or more, the stepping motor M64 is rotated, and the resolution parameter dpinum is 1600 or more, so that image data is output. The above process is repeated in the same manner, and the stepping motor M64 is always turned on, while the image data output is turned off, turned on, ...

【0087】(3)設定解像度が800dpiのとき、
読み取り1ライン目(出力の1ライン目)の画像データ
の処理においては、出力ラインoutputlineが
0→1→2と変化し、解像度パラメータdpinumが
0→800→1600(=0)と変化し、解像度パラメ
ータdpinumが1600以上になるため、現在の読
み取りラインの画像データを出力するが、出力ラインo
utputlineは4以上とならないのでステッピン
グモータM64の駆動は停止される。次いで、読み取り
の2ライン目(出力の2ライン目)の画像データの処理
においては、出力ラインoutputlineが2→3
→4(=0)と変化し、解像度パラメータdpinum
が0→800→1600(=0)と変化し、解像度パラ
メータdpinumが1600以上になるため、画像デ
ータが出力される。また、出力ラインoutputli
neが4以上となるのでステッピングモータM64は駆
動される。以下同様にして上記の処理が繰り返され、ス
テッピングモータモータM64の駆動はオフ、オン、…
と変化して繰り返えされ、画像データは常に出力され
る。
(3) When the set resolution is 800 dpi,
In the processing of the image data of the first read line (first output line), the output line outputline changes from 0 → 1 → 2, and the resolution parameter dpinum changes from 0 → 800 → 1600 (= 0), Since the parameter dpinum is 1600 or more, the image data of the current reading line is output, but the output line o
Since the output line does not exceed 4, the driving of the stepping motor M64 is stopped. Next, in the processing of the image data of the second read line (the second output line), the output line outputline is changed from 2 → 3.
→ Changes to 4 (= 0), resolution parameter dpinum
Changes from 0 → 800 → 1600 (= 0) and the resolution parameter dpinum becomes 1600 or more, so that image data is output. Also, the output line outputli
Since ne becomes 4 or more, the stepping motor M64 is driven. The above process is repeated in the same manner, and the driving of the stepping motor M64 is turned off, on, ...
The image data is always output.

【0088】次に、上記で説明したステッピングモータ
M64の回転/停止の動作について説明する。本実施例
の画像読取装置では、原稿搬送制御用に上述のようにパ
ルスモータを用いている。本実施例においては、ステッ
ピングモータM64を、図24及び図25に示すよう
に、2相励磁の励磁方法によって制御する。CPU71
からの駆動信号に応答して、時間t0毎に各相の駆動信
号をオン、オフと変更することにより、速度1/t0
(pps)でステッピングモータM64が回転し、原稿
が1ライン分だけ副走査方向に進められる。ここで、上
記時間t0は、CPU71に入力されるCPUHSYN
C信号の周期と一致する。
Next, the operation of rotating / stopping the stepping motor M64 described above will be described. The image reading apparatus of the present embodiment uses the pulse motor as described above for controlling the document conveyance. In this embodiment, the stepping motor M64 is controlled by a two-phase excitation method as shown in FIGS. CPU71
In response to the drive signal from, the drive signal of each phase is turned on and off at every time t0, so that the speed 1 / t0
At (pps), the stepping motor M64 rotates, and the document is advanced by one line in the sub-scanning direction. Here, the time t0 is the CPUHSYN input to the CPU 71.
It matches the cycle of the C signal.

【0089】さらに、ステッピングモータM64の駆動
停止について以下に説明する。CPU71は、上述した
ように、CPUHSYNC信号に同期してステッピング
モータM64の回転/停止の動作を制御する。すなわ
ち、CPU71から出力されるモータ駆動信号がオフ状
態であるとき、図26に示すように、スキャナ機構部6
4はステッピングモータM64に、現在の相の駆動信号
を保持するが、次の相の駆動信号を出力しない。また、
CPU71が外部のデータ処理装置3から画像出力停止
要求信号を受信したときも同様に、新たな相の駆動信号
を出力しないことにより、ステッピングモータM64の
回転を停止させる。このとき、例えば50msecなど
のある一定時間連続して、画像出力停止要求信号がオン
であるときは、すべての相の駆動信号をオフにする。
Further, the driving stop of the stepping motor M64 will be described below. As described above, the CPU 71 controls the rotation / stop operation of the stepping motor M64 in synchronization with the CPUHSYNC signal. That is, when the motor drive signal output from the CPU 71 is in the off state, as shown in FIG.
Reference numeral 4 holds the current phase drive signal but does not output the next phase drive signal to the stepping motor M64. Also,
Similarly, when the CPU 71 receives an image output stop request signal from the external data processing device 3, the rotation of the stepping motor M64 is stopped by not outputting the drive signal of the new phase. At this time, if the image output stop request signal is ON for a certain fixed time such as 50 msec, the drive signals of all the phases are turned OFF.

【0090】なお、本実施例では、直接、CPU71か
らのモータ駆動信号に基づいてステッピングモータM6
4の回転/停止の動作を制御している。しかしながら、
本発明はこれに限らず、CPU71から解像度変換部7
5にライン信号等の制御信号を出力し、解像度変換部7
5からの応答信号に基づいてステッピングモータM64
の駆動のオン/オフを制御するようにしてもよい。
In this embodiment, the stepping motor M6 is directly based on the motor drive signal from the CPU 71.
4 rotation / stop operation is controlled. However,
The present invention is not limited to this, and the CPU 71 to the resolution conversion unit 7 is used.
5 outputs a control signal such as a line signal to the resolution conversion unit 7
Stepping motor M64 based on the response signal from
The on / off of the drive of may be controlled.

【0091】上述のスキャナモードにおける各ケースに
おける各信号のタイムチャートを、図28乃至図32に
示す。図28は、データ処理装置3における画像データ
の処理速度が遅く、1ラインおきに、データ処理装置3
から画像出力停止要求信号がCPU71に入力された場
合である。また、図29は、セレクタ83がカウンタ8
2から出力される第1と第2のクロック信号のうち、ク
ロック1の周波数よりも低い周波数を有する第2のクロ
ック信号をクロック2として選択した場合であって、出
力解像度が400dpiの場合である。さらに、図30
及び31は、クロック2として、クロック1と同じもの
を用いた場合であって、出力解像度がそれぞれ200d
pi,800dpiのときの場合である。またさらに、
図32は、出力解像度が200dpiのときであって、
外部のデータ処理装置3から、画像出力停止要求信号が
入力された場合である。
28 to 32 are time charts of each signal in each case in the above-mentioned scanner mode. In FIG. 28, the processing speed of the image data in the data processing device 3 is slow, and every other line, the data processing device 3 is processed.
This is a case where the image output stop request signal is input to the CPU 71 from. Further, in FIG. 29, the selector 83 has a counter 8
This is a case where the second clock signal having a frequency lower than the frequency of the clock 1 is selected as the clock 2 from the first and the second clock signals output from the second clock, and the output resolution is 400 dpi. . Furthermore, FIG.
And 31 are cases where the same clock 2 as the clock 1 is used and the output resolution is 200d respectively.
This is the case for pi and 800 dpi. Furthermore,
FIG. 32 shows the case where the output resolution is 200 dpi,
This is the case where an image output stop request signal is input from the external data processing device 3.

【0092】<プリンタモード>スキャナモードと同様
にデータ処理装置3においてプリント要求信号が発生す
ると、レーザプリンタ部1bでのプリント動作の仕様を
決定するコマンド信号および実際の印字内容を決定する
印字データPVIDEOがコントローラ2と制御部63
のインターフェイス部67とを介して、CPU71に送
信される。これに応答して、CPU71は、レーザプリ
ンタ部1bを起動するととともに、水平同期信号切換部
68に対してレーザプリンタ部1bからの同期信号HS
YNCK2を選択してインターフェイス部67とコント
ローラ2とを介してデータ処理装置3に出力するように
制御し、これによって、図27に示すように、当該同期
信号HSYNC2に同期して、印字データPVIDEO
がデータ処理装置3からコントローラ2とインターフェ
イス部67とを介してレーザ駆動部66に送られ、当該
画像データPVIDEOの画像がプリントアウトされ
る。
<Printer Mode> When a print request signal is generated in the data processing device 3 as in the scanner mode, a command signal for determining the specifications of the print operation in the laser printer section 1b and print data PVIDEO for determining the actual print content. Is the controller 2 and the control unit 63
It is transmitted to the CPU 71 via the interface unit 67 of. In response to this, the CPU 71 activates the laser printer unit 1b, and sends the synchronization signal HS from the laser printer unit 1b to the horizontal synchronization signal switching unit 68.
The YNCK2 is selected and controlled to be output to the data processing device 3 via the interface section 67 and the controller 2, whereby the print data PVIDEO is synchronized with the synchronization signal HSYNC2 as shown in FIG.
Is sent from the data processing device 3 to the laser drive unit 66 via the controller 2 and the interface unit 67, and the image of the image data PVVIDEO is printed out.

【0093】<コピーモード>データ処理装置3におい
て、上述したように、操作パネル4を用いて露光レベル
の設定、並びに文字読取モード又は写真読取モードのう
ちの1つを設定する読取モードの設定などの各種のコピ
ーモードにおける設定を行った後、スキャナ部1aとレ
ーザプリンタ部1bとが起動され、レーザプリンタ部1
bからの水平同期信号HSYNCK2を同期してスキャ
ナ部1aで読取られた画像データがレーザプリンタ部1
bに出力されて印字され、これによって、コピー処理が
行われる。
<Copy Mode> In the data processing device 3, as described above, the operation panel 4 is used to set the exposure level and the reading mode for setting one of the character reading mode or the photo reading mode. After making settings in various copy modes of the scanner unit 1a and the laser printer unit 1b, the laser printer unit 1 is activated.
image data read by the scanner unit 1a in synchronization with the horizontal synchronizing signal HSYNCK2 from the laser printer unit 1b.
It is output to b and printed, and the copy process is performed.

【0094】[0094]

【発明の効果】以上詳述したように、本発明に係る請求
項1記載の画像読取装置によれば、所定の周波数を有す
るクロック信号を発生するとともに、上記クロック信号
に同期した水平同期信号を発生する信号発生手段と、上
記クロック信号に同期して原稿画像を走査線毎に主走査
方向で走査して読み取って画像信号に変換する画像読取
手段と、上記クロック信号に同期して上記画像読取手段
と原稿画像とを互いに1走査線ずつ相対的に副走査方向
で移動させる移動手段と、上記水平同期信号と上記画像
信号とを外部装置に出力する信号出力手段と、上記外部
装置から入力される停止要求信号を受信する受信手段
と、上記受信手段によって受信された上記停止要求信号
に応答して上記移動手段と上記信号出力手段の動作を停
止させる制御手段とを備える。従って、例えば、画像読
取装置と外部装置との能力の違いにより、画像信号を受
信する外部装置の処理速度が遅くその処理が画像信号に
追従できなくなった場合でも、走査線の単位で画像信号
の出力又は出力の停止を制御することができるので、ど
のような外部装置であっても、すべての画像信号を、画
像信号の欠落が生じることなく、正常に画像信号を受信
することが可能となる。
As described in detail above, according to the image reading apparatus of the first aspect of the present invention, a clock signal having a predetermined frequency is generated and a horizontal synchronizing signal synchronized with the clock signal is generated. A signal generating means for generating, an image reading means for scanning an original image for each scanning line in the main scanning direction in synchronization with the clock signal to read the image and converting the image signal into an image signal, and the image reading in synchronization with the clock signal. Moving means for moving the scanning means and the original image relative to each other in the sub-scanning direction one scanning line at a time, signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and input from the external device. Receiving means for receiving a stop request signal, and control means for stopping the operation of the moving means and the signal output means in response to the stop request signal received by the receiving means. Provided. Therefore, for example, even when the processing speed of the external device that receives the image signal is slow and the processing cannot follow the image signal due to the difference in the capabilities of the image reading device and the external device, the image signal of the scanning line is changed. Since the output or the stop of the output can be controlled, it becomes possible to receive all the image signals normally without any loss of the image signals by any external device. .

【0095】また、本発明に係る請求項3記載の画像読
取装置によれば、それぞれ互いに異なる周波数を有する
複数のクロック信号を発生する信号発生手段と、外部装
置から入力され、上記複数のクロック信号のうちの1つ
を選択することを示す選択信号を受信する受信手段と、
上記受信手段によって受信された選択信号に応答して、
上記信号発生手段によって発生された複数のクロック信
号のうちの1つを選択して出力する信号選択手段と、上
記信号選択手段から出力される上記クロック信号に同期
して原稿画像を走査線毎に主走査方向で走査して読み取
って画像信号に変換する画像読取手段と、上記信号選択
手段から出力される上記クロック信号に同期して水平同
期信号を発生する別の信号発生手段と、上記水平同期信
号と上記画像信号とを外部装置に出力する信号出力手段
とを備える。従って、上記外部装置が処理する画像信号
のクロック信号の周波数に依存することなく外部装置に
正常に画像信号を出力することができる。
According to the third aspect of the present invention, there are provided the signal generating means for generating a plurality of clock signals each having a different frequency, and the plurality of clock signals input from an external device. Receiving means for receiving a selection signal indicative of selecting one of the:
In response to the selection signal received by the receiving means,
A signal selecting means for selecting and outputting one of a plurality of clock signals generated by the signal generating means, and an original image for each scanning line in synchronization with the clock signal output from the signal selecting means. Image reading means for scanning and reading in the main scanning direction to convert into an image signal, another signal generating means for generating a horizontal synchronizing signal in synchronization with the clock signal output from the signal selecting means, and the horizontal synchronizing And a signal output unit for outputting the signal and the image signal to an external device. Therefore, the image signal can be normally output to the external device without depending on the frequency of the clock signal of the image signal processed by the external device.

【0096】さらに、本発明に係る請求項4記載の画像
読取装置によれば、所定の周波数を有するクロック信号
を発生するとともに、上記クロック信号に同期した水平
同期信号を発生する信号発生手段と、上記クロック信号
に同期して原稿画像を走査線毎に主走査方向で走査して
読み取って画像信号に変換する画像読取手段と、上記ク
ロック信号に同期して上記画像読取手段と原稿画像とを
互いに1走査線ずつ相対的に所定の移動速度でかつ副走
査方向で移動させる移動手段と、上記水平同期信号と上
記画像信号とを外部装置に出力する信号出力手段と、上
記外部装置から入力される、出力すべき画像信号が所定
の高い解像度であることを示す高解像度信号又は出力す
べき画像信号が所定の低い解像度であることを示す低解
像度信号を受信する受信手段と、上記受信手段によって
受信された上記高解像度信号に応答して、上記画像信号
が所定の高い解像度を有するように、上記移動手段の移
動速度を制御する第1の制御手段と、上記受信手段によ
って受信された上記低解像度信号に応答して、上記画像
信号が所定の低い解像度を有し、上記水平同期信号が上
記低解像度信号に対応した割合で間引いて出力するよう
に上記信号出力手段を制御する第2の制御手段とを備え
る。従って、当該画像読取装置は、出力すべき画像信号
の解像度を、上記解像度信号に対応した画像信号の画像
の解像度に変換した後、画像信号を出力するので、上記
外部装置が処理する画像信号の解像度に依存することな
く外部装置に正常に画像信号を出力することができる。
Further, according to the image reading apparatus of the fourth aspect of the present invention, signal generating means for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal, An image reading unit that scans and reads an original image in the main scanning direction for each scanning line in synchronization with the clock signal and converts the image into an image signal; and the image reading unit and the original image that are synchronized with each other in synchronization with the clock signal. A moving means for moving one scanning line at a predetermined moving speed relatively in the sub-scanning direction, a signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and an input from the external device. Receiving a high resolution signal indicating that the image signal to be output has a predetermined high resolution or a low resolution signal indicating that the image signal to be output has a predetermined low resolution Receiving means, first control means for controlling the moving speed of the moving means in response to the high resolution signal received by the receiving means so that the image signal has a predetermined high resolution; In response to the low resolution signal received by the receiving means, the image signal has a predetermined low resolution, and the horizontal sync signal is thinned out at a rate corresponding to the low resolution signal and output. Second control means for controlling the means. Therefore, the image reading apparatus outputs the image signal after converting the resolution of the image signal to be output to the resolution of the image of the image signal corresponding to the resolution signal. An image signal can be normally output to an external device without depending on the resolution.

【0097】またさらに、本発明に係る請求項5記載の
画像読取装置によれば、所定の周波数を有するクロック
信号を発生するとともに、上記クロック信号に同期した
水平同期信号を発生する第1の信号発生手段と、上記ク
ロック信号に同期して原稿画像を走査線毎に主走査方向
で走査して読み取って画像信号に変換する画像読取手段
と、上記クロック信号に同期して上記画像読取手段と原
稿画像とを互いに1走査線ずつ相対的に所定の移動速度
でかつ副走査方向で移動させる移動手段と、上記水平同
期信号と上記画像信号とを外部装置に出力する信号出力
手段と、上記クロック信号に同期して、上記画像信号の
副走査方向の有効領域を示す内部副走査有効信号を発生
する第2の信号発生手段と、上記外部装置から入力さ
れ、上記外部装置において処理可能な画像信号の副走査
方向の有効領域を示す外部副走査有効信号を受信する受
信手段と、上記内部副走査有効信号が上記第2の信号発
生手段によって発生され、かつ上記外部副走査有効信号
が上記受信手段によって受信されているとき、上記画像
信号が出力されるように上記信号出力手段を制御する第
1の制御手段と、上記内部副走査有効信号が上記第2の
信号発生手段によって発生されず、かつ上記外部副走査
有効信号が上記受信手段によって受信されているとき、
所定の画像信号が出力されるように上記信号出力手段を
制御する第2の制御手段とを備える。従って、上記外部
装置が画像信号の受信中であるときに、上記画像読取装
置から出力すべき画像信号が無い場合であっても、上記
外部副走査有効信号に応答して所定の画像信号を上記外
部装置に出力するので、どのような外部装置であって
も、すべての画像信号を、画像信号の欠落が生じること
なく、正常に画像信号を受信することが可能となる。
Further, according to the image reading apparatus of the fifth aspect of the present invention, the first signal for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal. Generating means, image reading means for scanning an original image in the main scanning direction for each scanning line in synchronization with the clock signal, reading the converted image into an image signal, and the image reading means and the original in synchronization with the clock signal. Moving means for moving the image relative to each other one scanning line at a predetermined moving speed and in the sub-scanning direction, signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and the clock signal. In synchronization with the second signal generating means for generating an internal sub-scanning effective signal indicating an effective area of the image signal in the sub-scanning direction, and input from the external device to the external device. Receiving means for receiving an external sub-scanning valid signal indicating an effective area in the sub-scanning direction of a processable image signal, the internal sub-scanning valid signal being generated by the second signal generating means, and the external sub-scanning. First control means for controlling the signal output means so that the image signal is output when the valid signal is received by the receiving means; and the internal sub-scanning valid signal for the second signal generating means. Is not generated by the external sub-scanning valid signal and is being received by the receiving means,
Second control means for controlling the signal output means so that a predetermined image signal is output. Therefore, when the external device is receiving an image signal, even if there is no image signal to be output from the image reading device, a predetermined image signal is transmitted in response to the external sub-scanning valid signal. Since the image signal is output to the external device, it is possible to receive the image signal normally in any external device without loss of the image signal.

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

【図1】 本発明に係る一実施例である、スキャナプリ
ンタと、コントローラと、データ処理装置とから構成さ
れる画像読取システムのブロック図である。
FIG. 1 is a block diagram of an image reading system including a scanner printer, a controller, and a data processing device, which is an embodiment according to the invention.

【図2】 図1のスキャナプリンタの操作パネルの平面
図である。
FIG. 2 is a plan view of an operation panel of the scanner printer of FIG.

【図3】 図1のスキャナプリンタの構造を示す縦断面
図である。
FIG. 3 is a vertical sectional view showing the structure of the scanner printer of FIG.

【図4】 図1のスキャナプリンタの光学系の構造を示
す斜視図である。
FIG. 4 is a perspective view showing a structure of an optical system of the scanner printer of FIG.

【図5】 図1の画像読取システムの構成を示すブロッ
ク図である。
5 is a block diagram showing a configuration of the image reading system in FIG. 1. FIG.

【図6】 図1のスキャナプリンタの電気回路の構成を
示すブロック図である。
6 is a block diagram showing a configuration of an electric circuit of the scanner printer of FIG.

【図7】 図6のクロック発生部のブロック図である。7 is a block diagram of the clock generator of FIG.

【図8】 図7のクロック発生部で発生されるSH信号
とHD信号との関係を示すタイミングチャートである。
8 is a timing chart showing the relationship between the SH signal and the HD signal generated by the clock generator of FIG.

【図9】 図6の解像度変換部の一部である3ラインバ
ッファメモリのブロック図である。
9 is a block diagram of a 3-line buffer memory which is a part of the resolution conversion unit of FIG.

【図10】 図6の解像度変換部の一部である解像度変
換処理部のブロック図である。
10 is a block diagram of a resolution conversion processing unit that is a part of the resolution conversion unit in FIG.

【図11】 図10の解像度変換処理部の動作を示すタ
イミングチャートである。
11 is a timing chart showing the operation of the resolution conversion processing unit of FIG.

【図12】 図6の2値化部の構成を示すブロック図で
ある。
12 is a block diagram showing a configuration of a binarizing unit in FIG.

【図13】 図6のインターフェイスゲート回路のブロ
ック図である。
13 is a block diagram of the interface gate circuit of FIG.

【図14】 (a)はクロック1の周波数がクロック2
の周波数に一致する場合における、クロック1、クロッ
ク2、SH信号、HD信号、及びHSYNC信号の関係
を示すタイミングチャートであり、(b)はクロック1
の周波数がクロック2の周波数に一致しない場合におけ
る、クロック1、クロック2、SH信号、HD信号、及
びHSYNC信号の関係を示すタイミングチャートであ
る。
FIG. 14 (a) shows that the frequency of clock 1 is clock 2
6B is a timing chart showing the relationship among the clock 1, the clock 2, the SH signal, the HD signal, and the HSYNC signal when they match the frequency of FIG.
6 is a timing chart showing the relationship among the clock 1, the clock 2, the SH signal, the HD signal, and the HSYNC signal when the frequency of 1 does not match the frequency of the clock 2.

【図15】 図6の制御部63によって実行されるスキ
ャナモードのメインルーチンを示すフローチャートであ
る。
15 is a flowchart showing a scanner mode main routine executed by the control unit 63 of FIG.

【図16】 図15のスキャン処理のサブルーチンのフ
ローチャートの第1の部分である。
16 is the first part of the flowchart of the scan processing subroutine in FIG. 15. FIG.

【図17】 図15のスキャン処理のサブルーチンのフ
ローチャートの第2の部分である。
FIG. 17 is the second part of the flowchart of the scan processing subroutine shown in FIG. 15;

【図18】 図15のスキャン処理のサブルーチンのフ
ローチャートの第3の部分である。
FIG. 18 is a third part of the flowchart of the scan processing subroutine shown in FIG. 15;

【図19】 図15のスキャン処理のサブルーチンのフ
ローチャートの第4の部分である。
FIG. 19 is a fourth part of the flowchart of the scan processing subroutine in FIG. 15;

【図20】 図6の制御部63によって実行されるHS
YNC割り込み処理のフローチャートである。
20 is an HS executed by the control unit 63 of FIG. 6;
9 is a flowchart of YNC interrupt processing.

【図21】 図17のステップS21の処理の詳細を示
すフローチャートである。
FIG. 21 is a flowchart showing details of the process of step S21 of FIG.

【図22】 図18のステップS24の処理の詳細を示
すフローチャートである。
FIG. 22 is a flowchart showing details of the process of step S24 of FIG.

【図23】 図6の解像度変換部における解像度変換処
理を示す、各読取走査線と、変換後の走査線上の各画素
を示す平面図である。
23 is a plan view showing each reading scanning line and each pixel on the scanning line after conversion, which shows a resolution converting process in the resolution converting unit of FIG. 6. FIG.

【図24】 図6のステッピングモータの駆動回路を示
す回路図である。
FIG. 24 is a circuit diagram showing a drive circuit of the stepping motor of FIG.

【図25】 図24のステッピングモータの2相励磁を
行うときの各制御信号を示すタイミングチャートであ
る。
FIG. 25 is a timing chart showing each control signal when performing two-phase excitation of the stepping motor of FIG. 24.

【図26】 画像出力停止要求信号に応答してステッピ
ングモータの回転を停止させるときの各制御信号を示す
タイミングチャートである。
FIG. 26 is a timing chart showing each control signal when the rotation of the stepping motor is stopped in response to the image output stop request signal.

【図27】 プリンタモードにおけるHSYNCK2信
号と画像データとの関係を示すタイミングチャートであ
る。
FIG. 27 is a timing chart showing the relationship between the HSYNCK2 signal and image data in the printer mode.

【図28】 スキャナモードにおける、ランダムストッ
プ時の各信号の関係を示すタイミングチャートである。
FIG. 28 is a timing chart showing the relationship between signals at random stop in the scanner mode.

【図29】 スキャナモードにおける、低い周波数を有
するクロックのときの各信号の関係を示すタイミングチ
ャートである。
FIG. 29 is a timing chart showing the relationship between signals in the scanner mode when the clock has a low frequency.

【図30】 スキャナモードにおける、低い解像度に変
換するときの各信号の関係を示すタイミングチャートで
ある。
FIG. 30 is a timing chart showing the relationship of each signal when converting to a low resolution in the scanner mode.

【図31】 スキャナモードにおける、高い解像度に変
換するときの各信号の関係を示すタイミングチャートで
ある。
FIG. 31 is a timing chart showing the relationship of each signal when converting to high resolution in the scanner mode.

【図32】 スキャナモードにおける、低い解像度に変
換するときであって、画像出力停止要求信号が入力され
たときの各信号の関係を示すタイミングチャートであ
る。
FIG. 32 is a timing chart showing a relationship between signals when a low resolution is converted in the scanner mode and an image output stop request signal is input.

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

1…スキャナプリンタ、 1a…スキャナ部、 1b…レーザプリンタ部、 2…コントローラ、 3…データ処理装置、 3a…ディスプレイ、 4…操作パネル、 12…ライン型CCDイメージセンサ、 62…画像処理部、 63…制御部、 64…スキャナ機構部、 65…プリンタ機構部、 66…レーザ駆動部、 67…インターフェイス部、 71…CPU、 72…ROM、 73…RAM、 74…クロック発生部、 75…解像度変換部、 76…2値化部、 77…インターフェイスゲート回路、 78…入出力部、 81…信号発生器、 82…カウンタ、 83…セレクタ、 84…SH発生部、 85…HD発生部、 G1乃至G5…ナンドゲート、 M64…ステッピングモータ。 DESCRIPTION OF SYMBOLS 1 ... Scanner printer, 1a ... Scanner part, 1b ... Laser printer part, 2 ... Controller, 3 ... Data processing device, 3a ... Display, 4 ... Operation panel, 12 ... Line type CCD image sensor, 62 ... Image processing part, 63 ... control unit, 64 ... scanner mechanism unit, 65 ... printer mechanism unit, 66 ... laser drive unit, 67 ... interface unit, 71 ... CPU, 72 ... ROM, 73 ... RAM, 74 ... clock generation unit, 75 ... resolution conversion unit , 76 ... Binarizing unit, 77 ... Interface gate circuit, 78 ... Input / output unit, 81 ... Signal generator, 82 ... Counter, 83 ... Selector, 84 ... SH generating unit, 85 ... HD generating unit, G1 to G5 ... Nand gate, M64 ... Stepping motor.

フロントページの続き (31)優先権主張番号 特願平3−77622 (32)優先日 平3(1991)4月10日 (33)優先権主張国 日本(JP)Continuation of the front page (31) Priority claim number Japanese Patent Application No. 3-77622 (32) Priority date 3 (1991) April 10 (33) Priority claim country Japan (JP)

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 所定の周波数を有するクロック信号を発
生するとともに、上記クロック信号に同期した水平同期
信号を発生する信号発生手段と、 上記クロック信号に同期して原稿画像を走査線毎に主走
査方向で走査して読み取って画像信号に変換する画像読
取手段と、 上記クロック信号に同期して上記画像読取手段と原稿画
像とを互いに1走査線ずつ相対的に副走査方向で移動さ
せる移動手段と、 上記水平同期信号と上記画像信号とを外部装置に出力す
る信号出力手段と、 上記外部装置から入力される停止要求信号を受信する受
信手段と、 上記受信手段によって受信された上記停止要求信号に応
答して上記移動手段と上記信号出力手段の動作を停止さ
せる制御手段とを備えたことを特徴とする画像読取装
置。
1. A signal generating means for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal, and a main scanning of an original image for each scanning line in synchronization with the clock signal. Image reading means for scanning and reading in a direction and converting into an image signal, and moving means for moving the image reading means and the original image relative to each other in the sub-scanning direction by one scanning line in synchronization with the clock signal. Signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, receiving means for receiving a stop request signal input from the external device, and the stop request signal received by the receiving means. An image reading apparatus comprising: a control unit that responds to stop the operations of the moving unit and the signal output unit.
【請求項2】 上記画像読取装置はさらに、 上記外部装置から入力され、出力すべき画像信号の解像
度を示す解像度信号を受信する別の受信手段を備え、 上記信号出力手段は、上記水平同期信号を、上記解像度
信号に対応した割合で間引いて出力することを特徴とす
る請求項1記載の画像読取装置。
2. The image reading device further comprises another receiving means for receiving a resolution signal input from the external device and indicating a resolution of an image signal to be output, wherein the signal output means is the horizontal synchronizing signal. The image reading apparatus according to claim 1, wherein the image is read out by thinning out at a rate corresponding to the resolution signal.
【請求項3】 それぞれ互いに異なる周波数を有する複
数のクロック信号を発生する信号発生手段と、 外部装置から入力され、上記複数のクロック信号のうち
の1つを選択することを示す選択信号を受信する受信手
段と、 上記受信手段によって受信された選択信号に応答して、
上記信号発生手段によって発生された複数のクロック信
号のうちの1つを選択して出力する信号選択手段と、 上記信号選択手段から出力される上記クロック信号に同
期して原稿画像を走査線毎に主走査方向で走査して読み
取って画像信号に変換する画像読取手段と、 上記信号選択手段から出力される上記クロック信号に同
期して水平同期信号を発生する別の信号発生手段と、 上記水平同期信号と上記画像信号とを外部装置に出力す
る信号出力手段とを備えたことを特徴とする画像読取装
置。
3. A signal generating means for generating a plurality of clock signals each having a frequency different from each other, and a selection signal inputted from an external device and indicative of selecting one of the plurality of clock signals. Receiving means, and in response to the selection signal received by the receiving means,
A signal selecting means for selecting and outputting one of a plurality of clock signals generated by the signal generating means, and an original image for each scanning line in synchronization with the clock signal output from the signal selecting means. An image reading means for scanning and reading in the main scanning direction to convert into an image signal, another signal generating means for generating a horizontal synchronizing signal in synchronization with the clock signal output from the signal selecting means, and the horizontal synchronizing An image reading apparatus comprising: a signal and a signal output unit that outputs the image signal to an external device.
【請求項4】 所定の周波数を有するクロック信号を発
生するとともに、上記クロック信号に同期した水平同期
信号を発生する信号発生手段と、 上記クロック信号に同期して原稿画像を走査線毎に主走
査方向で走査して読み取って画像信号に変換する画像読
取手段と、 上記クロック信号に同期して上記画像読取手段と原稿画
像とを互いに1走査線ずつ相対的に所定の移動速度でか
つ副走査方向で移動させる移動手段と、 上記水平同期信号と上記画像信号とを外部装置に出力す
る信号出力手段と、 上記外部装置から入力される、出力すべき画像信号が所
定の高い解像度であることを示す高解像度信号又は出力
すべき画像信号が所定の低い解像度であることを示す低
解像度信号を受信する受信手段と、 上記受信手段によって受信された上記高解像度信号に応
答して、上記画像信号が所定の高い解像度を有するよう
に、上記移動手段の移動速度を制御する第1の制御手段
と、 上記受信手段によって受信された上記低解像度信号に応
答して、上記画像信号が所定の低い解像度を有し、上記
水平同期信号が上記低解像度信号に対応した割合で間引
いて出力するように上記信号出力手段を制御する第2の
制御手段とを備えたことを特徴とする画像読取装置。
4. A signal generating means for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal in synchronism with the clock signal, and an original image in main scanning for each scanning line in synchronism with the clock signal. Image scanning means for scanning and reading in the direction to convert the image signal into an image signal, and the image scanning means and the document image in synchronization with the clock signal, one scanning line at a predetermined moving speed and in the sub-scanning direction. And a signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and showing that the image signal to be output inputted from the external device has a predetermined high resolution. Receiving means for receiving a high resolution signal or a low resolution signal indicating that the image signal to be output has a predetermined low resolution, and the high resolution received by the receiving means. In response to the degree signal, the first control means for controlling the moving speed of the moving means so that the image signal has a predetermined high resolution, and the low resolution signal received by the receiving means. And a second control means for controlling the signal output means so that the image signal has a predetermined low resolution and the horizontal synchronizing signal is thinned out and output at a rate corresponding to the low resolution signal. An image reading device characterized by the above.
【請求項5】 所定の周波数を有するクロック信号を発
生するとともに、上記クロック信号に同期した水平同期
信号を発生する第1の信号発生手段と、 上記クロック信号に同期して原稿画像を走査線毎に主走
査方向で走査して読み取って画像信号に変換する画像読
取手段と、 上記クロック信号に同期して上記画像読取手段と原稿画
像とを互いに1走査線ずつ相対的に所定の移動速度でか
つ副走査方向で移動させる移動手段と、 上記水平同期信号と上記画像信号とを外部装置に出力す
る信号出力手段と、 上記クロック信号に同期して、上記画像信号の副走査方
向の有効領域を示す内部副走査有効信号を発生する第2
の信号発生手段と、 上記外部装置から入力され、上記外部装置において処理
可能な画像信号の副走査方向の有効領域を示す外部副走
査有効信号を受信する受信手段と、 上記内部副走査有効信号が上記第2の信号発生手段によ
って発生され、かつ上記外部副走査有効信号が上記受信
手段によって受信されているとき、上記画像信号が出力
されるように上記信号出力手段を制御する第1の制御手
段と、 上記内部副走査有効信号が上記第2の信号発生手段によ
って発生されず、かつ上記外部副走査有効信号が上記受
信手段によって受信されているとき、所定の画像信号が
出力されるように上記信号出力手段を制御する第2の制
御手段とを備えたことを特徴とする画像読取装置。
5. A first signal generating means for generating a clock signal having a predetermined frequency and a horizontal synchronizing signal synchronized with the clock signal, and an original image for each scanning line in synchronization with the clock signal. An image reading means for scanning and reading in the main scanning direction and converting it into an image signal; and the image reading means and the original image in synchronization with the clock signal at a predetermined moving speed relative to each other one scanning line at a time. Moving means for moving in the sub-scanning direction, signal output means for outputting the horizontal synchronizing signal and the image signal to an external device, and an effective area in the sub-scanning direction of the image signal in synchronization with the clock signal are shown. Second for generating internal sub-scanning valid signal
Signal receiving means for receiving an external sub-scanning valid signal indicating an effective area in the sub-scanning direction of an image signal which is input from the external device and can be processed by the external device, and the internal sub-scanning valid signal. First control means for controlling the signal output means so as to output the image signal when the external sub-scanning valid signal generated by the second signal generating means and the external sub-scanning valid signal is received by the receiving means. A predetermined image signal is output when the internal sub-scanning valid signal is not generated by the second signal generating means and the external sub-scanning valid signal is received by the receiving means. An image reading apparatus comprising: a second control unit that controls a signal output unit.
【請求項6】 上記所定の画像信号は、白又は黒の画素
を示す画像信号であることを特徴とする請求項5記載の
画像読取装置。
6. The image reading apparatus according to claim 5, wherein the predetermined image signal is an image signal indicating a white or black pixel.
JP4076722A 1991-04-10 1992-03-31 Picture reader Pending JPH0591260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4076722A JPH0591260A (en) 1991-04-10 1992-03-31 Picture reader

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP3-77622 1991-04-10
JP3-77619 1991-04-10
JP3-77621 1991-04-10
JP3-77620 1991-04-10
JP7761991 1991-04-10
JP7762191 1991-04-10
JP7762091 1991-04-10
JP7762291 1991-04-10
JP4076722A JPH0591260A (en) 1991-04-10 1992-03-31 Picture reader

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2001364139A Division JP3623189B2 (en) 1991-04-10 2001-11-29 Image reading device

Publications (1)

Publication Number Publication Date
JPH0591260A true JPH0591260A (en) 1993-04-09

Family

ID=27524635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4076722A Pending JPH0591260A (en) 1991-04-10 1992-03-31 Picture reader

Country Status (1)

Country Link
JP (1) JPH0591260A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6630651B2 (en) 1999-12-24 2003-10-07 Ricoh Company, Ltd. Induction heating device with a switching power source and image processing apparatus using the same
EP4243395A1 (en) * 2022-03-08 2023-09-13 Toshiba TEC Kabushiki Kaisha Image processing apparatus and image forming apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6630651B2 (en) 1999-12-24 2003-10-07 Ricoh Company, Ltd. Induction heating device with a switching power source and image processing apparatus using the same
US6806448B2 (en) 1999-12-24 2004-10-19 Ricoh Company, Ltd. Induction heating device with a switching power source and image processing apparatus using the same
US6977362B2 (en) 1999-12-24 2005-12-20 Ricoh Company, Ltd. Induction heating device with a switching power source and image processing apparatus using the same
EP4243395A1 (en) * 2022-03-08 2023-09-13 Toshiba TEC Kabushiki Kaisha Image processing apparatus and image forming apparatus
US11882257B2 (en) 2022-03-08 2024-01-23 Toshiba Tec Kabushiki Kaisha Image forming apparatus and method of controlling image forming apparatus comprising a scanner and processor to generate a first combined image that includes an image of a document and a reading direction image that indicates a reading direction of the scanner and has a shape indicating the reading mode

Similar Documents

Publication Publication Date Title
JP4559675B2 (en) Image forming apparatus and image forming method
US5283662A (en) Image reading apparatus controllable by external apparatus
US6326993B1 (en) Pulse width modulation system and image forming apparatus having the pulse width modulation system
US6449064B1 (en) Method and apparatus for image formation that can handle simultaneously input data without causing a delay
JP4248633B2 (en) Image reading apparatus and digital copying machine
US6937364B2 (en) Image processing apparatus
JP2003244365A (en) Image copying device and its control method
JP3623189B2 (en) Image reading device
JPH0591260A (en) Picture reader
US5959743A (en) Image processing apparatus with image overlaying function
US7006240B1 (en) Image forming apparatus for printing two original documents on both sides of a paper
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JP3354681B2 (en) Image forming device
US5790164A (en) Image scanning and writing apparatus which uses different synchronizing signals for scanning and writing
JPH11289436A (en) Image forming device
JP3652097B2 (en) Image processing device
JP3355220B2 (en) Multiple document batch copying machine
JP3896205B2 (en) Image forming apparatus
JPH0983696A (en) Digital copying machine
JP3052618B2 (en) Digital copier
JPH10322531A (en) Image forming device
JP2001013822A (en) Image forming device, additional information output method, and storage medium
JPH11231730A (en) Image forming device
JPH0723211A (en) Plural original batch copying machine
JP3193429B2 (en) Image forming device