[go: up one dir, main page]

JPH02291763A - Scanner device - Google Patents

Scanner device

Info

Publication number
JPH02291763A
JPH02291763A JP11266089A JP11266089A JPH02291763A JP H02291763 A JPH02291763 A JP H02291763A JP 11266089 A JP11266089 A JP 11266089A JP 11266089 A JP11266089 A JP 11266089A JP H02291763 A JPH02291763 A JP H02291763A
Authority
JP
Japan
Prior art keywords
speed
image data
sub
scanning
subscanning
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
JP11266089A
Other languages
Japanese (ja)
Inventor
Toshio Seto
瀬戸 敏男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP11266089A priority Critical patent/JPH02291763A/en
Publication of JPH02291763A publication Critical patent/JPH02291763A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Abstract

PURPOSE:To increase the processing speed by providing a subscanning control means which can control the subscanning speed to plural stages and a speed detecting means which detects the image data taking-in average speed of a host device and setting a maximum subscanning speed in such range based on this image data taking-in average speed that a buffer memory does not overflow. CONSTITUTION:A transfer speed detecting circuit 30 outputs a detected transfer speed to a CPU 31, and the CPU 31 sets the subscanning speed based on this transfer speed so that image data taken into a buffer memory 27 and image data read out from the buffer memory 27 are balanced, and the rotating speed of a subscanning motor 32 is controlled based on the set subscanning speed. That is, the CPU 31 properly controls the rotating speed of the subscanning motor 32 in plural stages, and the rotating speed corresponding to the set subscanning speed is selected to control the subscanning speed. At the time of setting the subscanning speed, the CPU 31 sets such highest subscanning speed that the buffer memory 27 does not overflow.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はスキャナ装置に関し、詳細には、副走査の速度
制御を改良したスキャナ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a scanner device, and more particularly to a scanner device with improved sub-scanning speed control.

(従来の技術) スキャナ装置はコンピュータ等のホスト装置に接続され
、主走査および副走査した画像データをホスト装置に転
送する。このホスト装置とのインターフェースとしては
、同期インターフェースと非同期インターフェースがあ
り、一般にホスト側の汎用または準汎用インターフェー
スとして利用されており、かつ、ホスト装置のC P 
U (CentralProcessing Unit
)が画像データを取り込むのに適していることから、非
同期インターフェースが多く用いられている。
(Prior Art) A scanner device is connected to a host device such as a computer, and transfers main-scanned and sub-scanned image data to the host device. There are synchronous interfaces and asynchronous interfaces as interfaces with the host device, and they are generally used as general-purpose or semi-general-purpose interfaces on the host side, and are also used as host device C P
U (Central Processing Unit
) is suitable for importing image data, so asynchronous interfaces are often used.

ところが、インターフェースとして非同期インターフェ
ースを採用すると、ホスト装置の画像データの取り込み
速度がホスト装置の種類やアプリケーションソフトウェ
アの種別により大きく変動するため、スキャナ装置から
ホスト装置に転送する画像データの転送タイミングがホ
スト装置の条件により大きく変化する。
However, when an asynchronous interface is adopted as the interface, the image data acquisition speed of the host device varies greatly depending on the type of host device and the type of application software, so the transfer timing of image data from the scanner device to the host device is It varies greatly depending on the conditions.

そこで、従来のスキャナ装置は、スキャナ装置のコスト
をできるだけ低く抑えつつ、転送タイミングの変化に対
応させるため、所定容量のバッファメモリを設け、バッ
ファメモリの画像データ量に基づいて副走査速度を変化
させている。このような従来のスキャナ装置としては、
例えば、第7図に示すようなものがある。
Therefore, in order to cope with changes in transfer timing while keeping the cost of the scanner device as low as possible, conventional scanner devices are equipped with a buffer memory of a predetermined capacity and change the sub-scanning speed based on the amount of image data in the buffer memory. ing. Such conventional scanner devices include:
For example, there is one shown in FIG.

第7図において、スキャナ装置1はCCD(Charg
e Coupled Device) 2で光電変換し
た画像データをビデオアンプ3で増幅し、シェーディン
グ補正回路4でシェーデンイグ補正した後、A/D変換
回路5でディジタル化する。A/D変換回路5でディジ
タル変換された画像データは多値読出モードのときには
、そのままバッファI/F回路6を介してバッファメモ
リ7に蓄積され、2値読出モードのときには、2値化回
路8で所定のしきい値により2値化された後、ハソファ
I/F回路6を介してバッファメモリ7に苔積される。
In FIG. 7, the scanner device 1 includes a CCD (Charg
The image data photoelectrically converted in (Coupled Device) 2 is amplified in a video amplifier 3, subjected to shading correction in a shading correction circuit 4, and then digitized in an A/D conversion circuit 5. The image data digitally converted by the A/D conversion circuit 5 is stored as it is in the buffer memory 7 via the buffer I/F circuit 6 when in the multilevel readout mode, and is stored in the buffer memory 7 as it is via the buffer I/F circuit 6 when in the binary readout mode. After being binarized using a predetermined threshold value, the data is stored in a buffer memory 7 via a filter I/F circuit 6.

バッファメモリ7は、一般に、数ライン分、多くても数
十ライン分の画像データを蓄積する容量を有しており、
バッファメモリ7に蓄積された画像データはバソファI
/F回路6および非同期r/F回路9を介してホスト装
置10に転送される。このとき、第8図に示すように、
ホスト装置10と非同期■/F回路9との間で、STR
OBB信号、BUSY信号およびDIRECTION信
号の交換を行い、第9図に示すように、非同朋1/F回
路9はホスト装置10側からBUSY信号が表明されて
いないことを確認すると、バッファメモリ7内に有効画
像データがあれば、STROBE信号を立て、1バイト
分画像データをホスト装置10に転送する。
The buffer memory 7 generally has a capacity to store image data for several lines, or at most several tens of lines.
The image data stored in the buffer memory 7 is transferred to the bath sofa I.
The data is transferred to the host device 10 via the /F circuit 6 and the asynchronous r/F circuit 9. At this time, as shown in Figure 8,
Between the host device 10 and the asynchronous ■/F circuit 9, the STR
After exchanging the OBB signal, BUSY signal and DIRECTION signal, as shown in FIG. If there is valid image data, the STROBE signal is raised and 1 byte of image data is transferred to the host device 10.

ホスト装置lOはスキャナ装置1からSTROBE信号
を受けると、画像データを取り込むとともに、次の画像
データの受け入れが可能になるまで、BUSY信号を表
明し続ける。したがって、スキャナ装置1からホスト装
置10への画像データの転送速度は、ホスト装置10の
データの取込速度により変化する。この画像データの転
送はC P U (Central Processi
ng Unit)11の制御下で行われるとともに、C
 P Ullはバッファメモリ7内の画像データの蓄積
量を監視し、バッファメモリ7内の画像データの蓄積量
に基づいて副走査モータ12の制御を行っている。すな
わち、C P Ullはバノファメモリ7内の画像デー
タをオーバーフローさせないために、バッファメモリ7
のデータ蓄積量を監視し、第10図に示すように、バッ
ファメモリ7内の画像データ量が増加するに従って副走
査モータ12の駆動速度、すなわち副走査速度を遅<シ
、バッファメモリ7内の画像データ量が減少するに従っ
て、副走査モータ12の駆動速度、すなわち副走査速度
を速くしている。
When the host device IO receives the STROBE signal from the scanner device 1, it takes in the image data and continues to assert the BUSY signal until it becomes possible to accept the next image data. Therefore, the transfer speed of image data from the scanner device 1 to the host device 10 changes depending on the data capture speed of the host device 10. This image data transfer is performed using CPU (Central Processing).
ng Unit) 11, and C
P Ull monitors the amount of image data stored in the buffer memory 7 and controls the sub-scanning motor 12 based on the amount of image data stored in the buffer memory 7 . That is, in order to prevent the image data in the vanofer memory 7 from overflowing, the C P Ull uses the buffer memory 7
As the amount of image data in the buffer memory 7 increases, as shown in FIG. As the amount of image data decreases, the driving speed of the sub-scanning motor 12, that is, the sub-scanning speed, is increased.

なお、副走査モータl2はスキャナ装置lの機種により
その駆動対象が異なるが、いわゆるブックタイプのスキ
ャナ装置lにあっては、光学系を搭載するキャリソジを
移動させ、いわゆる、カットシート原稿を読み取るタイ
プのスキャナ装置1にあっては、原稿を搬送するローラ
を回転させる。
The drive target of the sub-scanning motor 12 differs depending on the model of the scanner device 1, but in the case of a so-called book type scanner device 1, it is a type that moves a carriage body equipped with an optical system and reads a so-called cut sheet document. In the scanner device 1, a roller for conveying a document is rotated.

また、第8図中D I RECTI ON信号は双方方
向バスの転送方向を示す信号である。
Further, the DI RECTI ON signal in FIG. 8 is a signal indicating the transfer direction of the bidirectional bus.

(発明が解決しようとする課題) しかしながら、このような従来のスキャナ装置にあって
は、バッファメモリ内の画像データの蓄積量に基づいて
副走査モータの速度を制御しているため、ホスト装置の
データ取込速度によって、副走査速度が変化することと
なる。その結果、副走査速度の変動により画像データに
ジソタが発生し、画質が低下するという問題があった。
(Problem to be Solved by the Invention) However, in such conventional scanner devices, the speed of the sub-scanning motor is controlled based on the amount of image data stored in the buffer memory, so the speed of the sub-scanning motor is controlled based on the amount of image data stored in the buffer memory. The sub-scanning speed changes depending on the data acquisition speed. As a result, there is a problem in that jitter occurs in the image data due to variations in the sub-scanning speed, and image quality deteriorates.

この問題を解決する方法としては、画像データを蓄積す
るバッツァメモリの容量を、例えば、原稿1ページ分の
画像データを蓄積できる大きさにすることが考えられる
が、バッファメモリの容量を大きくすると、バッファメ
モリが高価なものとなり、スキャナ装置のコストが高く
なるという新な問題が発生する。
One way to solve this problem is to increase the capacity of the Batza memory that stores image data, for example, to a size that can store image data for one page of a document. A new problem arises in that the memory becomes expensive and the cost of the scanner device increases.

(発明の目的) そこで、本発明は、副走査速度を複数の段階に制御可能
な副走査制御手段と、ホスト装置の画像データ取込平均
速度を検出する速度検出手段と、を設け、該画像データ
取込平均速度に基づいてバッファメモリがオーバーフロ
ーしない範囲の最高の副走査速度を設定することにより
、副走査を相手ホスト装置の画像データ取込速度に対応
した一定速度で、かつ、高速度で行うようにし、画像デ
ータにジソタが発生することを防止しつつ、副走査速度
を向上させ、スキャナ装置の出力画像データの画質を向
上させるとともに、処理速度を向上させることを目的と
している。
(Object of the Invention) Therefore, the present invention provides a sub-scanning control means that can control the sub-scanning speed in a plurality of stages, and a speed detection means that detects the average speed at which image data is taken in by the host device. By setting the highest sub-scanning speed within the range that does not overflow the buffer memory based on the average data acquisition speed, sub-scanning can be performed at a constant speed that corresponds to the image data acquisition speed of the target host device, and at a high speed. The purpose is to improve the sub-scanning speed, improve the image quality of the output image data of the scanner device, and improve the processing speed while preventing the occurrence of irregularities in the image data.

(発明の構成) 上記目的を達成するため、 請求項1記載の発明は、原稿を主走査および副走査して
読み取り、読み取った画像データをバッファメモリに一
旦蓄積した後、非同期インターフェースを介してホスト
装置に転送するスキャナ装置において、副走査速度を段
階的に可変制御する副走査制御手段と、ホスト装置の画
像データ取込速度の平均速度を検出するデータ取込速度
検出手段と、該平均速度に基づいて前記八ソファメモリ
の容量範囲で最高の副走査速度を設定する副走査速度設
定手段と、を設け、ホスト装置の画像データ取込速度に
対応した副走査速度で副走査を連続的に行うことを特徴
とし、 請求項2記載の発明は、前記ホスト装置がバーストモー
ドで画像データを取り込むとき、前記データ取込速度検
出手段手段が、画像データの連続取込時の平均速度を検
出し、前記副走査速度設定手段が該平均取込速度に基づ
いて副走査速度を設定することを特徴とするものである
(Structure of the Invention) To achieve the above object, the invention according to claim 1 reads a document by main scanning and sub-scanning, stores the read image data in a buffer memory, and then sends the read image data to a host via an asynchronous interface. In a scanner device that transfers image data to a device, a sub-scanning control means for controlling the sub-scanning speed in a stepwise manner, a data-intake speed detection means for detecting an average speed of image data acquisition speed of the host device, a sub-scanning speed setting means for setting the highest sub-scanning speed within the capacity range of the eight sofa memory based on the image data capture speed of the host device, and continuously performs sub-scanning at a sub-scanning speed corresponding to the image data acquisition speed of the host device. The invention according to claim 2 is characterized in that, when the host device captures image data in burst mode, the data capture speed detection means detects an average speed during continuous capture of image data; The sub-scanning speed setting means is characterized in that the sub-scanning speed setting means sets the sub-scanning speed based on the average capture speed.

以下、実施例に基づいて具体的に説明する。Hereinafter, a detailed description will be given based on examples.

第1図〜第6図は請求項1および請求項2記載の発明の
一実施例を示す図である。
1 to 6 are diagrams showing an embodiment of the invention according to claims 1 and 2. FIG.

第1図はスキャナ装置21の要部ブロック図であり、ス
キャナ装置21はC C D (Charge Cou
pled Device)22、ビデオアンプ23、シ
ェーディング補正回路24、A/D変換回路25、バソ
ファ(/F回路26、バッファメモリ27、2値化回路
28、非同期I/F回路29、転送速度検出回路30,
 C P U (Central Processin
g Unit)31および副走査モータ32等を備えて
いる。
FIG. 1 is a block diagram of main parts of the scanner device 21, and the scanner device 21 has a CCD (Charge Coupon).
pled Device) 22, video amplifier 23, shading correction circuit 24, A/D conversion circuit 25, bath sofa (/F circuit 26, buffer memory 27, binarization circuit 28, asynchronous I/F circuit 29, transfer speed detection circuit 30) ,
CPU (Central Processin)
g Unit) 31, a sub-scanning motor 32, etc.

CCD22には図外の光学系により原稿に照射された光
の反射光が入射され、CCD22は入射光を複数の画素
に分解して画素毎に光電変換する。CCD22は光電変
換した結果をアナログの画像データとしてビデオアンブ
23に出力し、ビデオアンプ23は入力画像データを増
幅してシヱーディング補正回路24に出力する。シェー
ディング補正回路24は画像データにシエーディング補
正を施してA/D変換回路25に出力し、A/D変換回
路25はアナログの画像データをディジタル変換して多
値の画像データとして出力する。A/D変換回路25か
ら出力された画像データは、多値読出モード時には、バ
ッファI/F回路26を介して直接バッファメモリ27
に蓄積され、2値読出モード時には、2値化回路28で
所定のしきい値で2値化された後、バソフプI/F回路
26に蓄積される。バッフys/F回路26における画
像データの蓄積量はCPυ31により監視されている。
Reflected light irradiated onto a document by an optical system (not shown) is incident on the CCD 22, and the CCD 22 decomposes the incident light into a plurality of pixels and performs photoelectric conversion on each pixel. The CCD 22 outputs the photoelectric conversion result to the video amplifier 23 as analog image data, and the video amplifier 23 amplifies the input image data and outputs it to the shedding correction circuit 24. The shading correction circuit 24 performs shading correction on the image data and outputs it to the A/D conversion circuit 25, and the A/D conversion circuit 25 digitally converts the analog image data and outputs it as multivalued image data. The image data output from the A/D conversion circuit 25 is directly transferred to the buffer memory 27 via the buffer I/F circuit 26 in the multi-value readout mode.
In the binary read mode, the data is binarized by a binarization circuit 28 using a predetermined threshold value, and then stored in the bass interface I/F circuit 26. The amount of image data accumulated in the buffer ys/F circuit 26 is monitored by the CPυ31.

また、バッファメモリ27に蓄積された画像データは非
同3t+1 I / F回路29を介してホスト装置3
3に転送される。非同期1/F回路29からホスト装置
33への画像データの転送は、前述のように、STRO
BE信号、BLISY信号およびDIRECTION信
号を交換して非同期で行われ、画像データの転送速度、
すなわちホスト装置33の画像データ取込速度はホスト
装置33の種類やホスト装置33のアプリケーションソ
フトの種類等によって異なる。この非同朋I/F回路2
9の画像データの転送速度、すなわちホスト装置33の
画像データの取込速度は転送速度検出回路30により検
出されており、転送速度検出回路30はデータ取込速度
検出手段として機能している。転送速度検出回路30は
STROBE信号やBUSY信号のインターバルを測定
し、原則としてこのインターバルを平均化することによ
り転送速度(データ取込速度)を検出している。転送速
度検出回路30は検出した転送速度をCPU31に出力
し、CPU3lは転送速度検出回路30からの転送速度
に基づいてバッファメモリ27へ流入する画像データと
バッファメモリ27から読み出される画像データが平衡
するように、副走査速度を設定し、設定した副走査速度
に基づいて副走査モータ32の回転速度を制御する。す
なわち、C P U31は副走査モータ32の回転速度
を複数の段階に亘って適宜制御することができ、設定し
た副走査速度に対応する回転速度を選択して副走査速度
を制御する。また、CPU31は、副走査速度の設定に
際し、バッファメモリ27の容量範囲内でバッファメモ
リ27がオーバーフローしない最高の副走査速度を設定
する。副走査モータ32はスキャナ装置21の光学系の
搭載されたキャリッジ(図示略)を駆動しており、副走
査はこの光学系のキャリッジを副走査方向に移動させる
ことにより行われる。なお、スキャナ装置21としては
このような光学系を移動させて副走査するものに限るも
のではなく、原稿を搬送して副走査するものであっても
よい。この場合にも、原稿を搬送させるモータの回転速
度を段階的に可変制御することにより対応することがで
きる。
Further, the image data accumulated in the buffer memory 27 is sent to the host device 3 via the non-uniform 3t+1 I/F circuit 29.
Transferred to 3. Image data is transferred from the asynchronous 1/F circuit 29 to the host device 33 using the STRO
This is done asynchronously by exchanging the BE signal, BLISY signal and DIRECTION signal, and the image data transfer rate,
That is, the image data acquisition speed of the host device 33 varies depending on the type of the host device 33, the type of application software on the host device 33, and the like. This non-domestic I/F circuit 2
The transfer rate of the image data No. 9, that is, the image data capture rate of the host device 33 is detected by the transfer rate detection circuit 30, and the transfer rate detection circuit 30 functions as a data capture rate detection means. The transfer rate detection circuit 30 measures the intervals of the STROBE signal and the BUSY signal, and basically averages these intervals to detect the transfer rate (data acquisition rate). The transfer speed detection circuit 30 outputs the detected transfer speed to the CPU 31, and the CPU 3l balances the image data flowing into the buffer memory 27 and the image data read from the buffer memory 27 based on the transfer speed from the transfer speed detection circuit 30. , the sub-scanning speed is set, and the rotational speed of the sub-scanning motor 32 is controlled based on the set sub-scanning speed. That is, the CPU 31 can appropriately control the rotational speed of the sub-scanning motor 32 over a plurality of stages, and controls the sub-scanning speed by selecting the rotational speed corresponding to the set sub-scanning speed. Further, when setting the sub-scanning speed, the CPU 31 sets the highest sub-scanning speed within the capacity range of the buffer memory 27 at which the buffer memory 27 does not overflow. The sub-scanning motor 32 drives a carriage (not shown) on which the optical system of the scanner device 21 is mounted, and sub-scanning is performed by moving the carriage of this optical system in the sub-scanning direction. Note that the scanner device 21 is not limited to one that performs sub-scanning by moving such an optical system, but may also be one that performs sub-scanning by transporting a document. In this case as well, it is possible to deal with this by variablely controlling the rotational speed of the motor that transports the document in stages.

次に、作用を説明する。Next, the effect will be explained.

本願発明のスキャナ装置は、スキャナ装置の接続される
ホスト装置の画像データ取込速度の平均速度を検出し、
該平均速度に基づいて副走査速度を設定するところにそ
の特徴がある。以下、この副走査速度設定処理について
説明する。
The scanner device of the present invention detects the average image data acquisition speed of the host device to which the scanner device is connected,
Its feature is that the sub-scanning speed is set based on the average speed. This sub-scanning speed setting process will be explained below.

スキャナ装置21は原稿を本読取する前にスキャナ装置
21に接続されているホスト装置33の画像データ取込
速度の平均速度を検出する。
The scanner device 21 detects the average image data acquisition speed of the host device 33 connected to the scanner device 21 before actually reading the document.

すなわち、第2図に示すように、スキャナ装置2lは、
まず、原稿の1ページを読み取り (ステソブPI)、
読み取った画像データを前述のように、一旦バッファメ
モリ27に蓄積した後、非同期I/F回路29を介して
ホスト装置33に転送する。このとき、ホスト装置33
との間で、STROBE信号やBUSY信号の交換が行
われ、これらの信号に基づいて画像データの転送が行わ
れる。そこで、スキャナ装置21はこのSTROBE信
号やBUSY信号の間隔を転送速度検出回路30で測定
し、原則として1ページ分の画像データの転送時間を平
均化して転送速度(データ取込速度)としてcpU31
に出力する(ステップp2)。
That is, as shown in FIG. 2, the scanner device 2l:
First, read one page of the manuscript (Stesob PI),
As described above, the read image data is once stored in the buffer memory 27 and then transferred to the host device 33 via the asynchronous I/F circuit 29. At this time, the host device 33
STROBE signals and BUSY signals are exchanged between the two, and image data is transferred based on these signals. Therefore, the scanner device 21 measures the interval between the STROBE signal and the BUSY signal using the transfer speed detection circuit 30, and basically averages the transfer time of one page of image data to determine the transfer speed (data acquisition speed) between the CPU 31 and the CPU 30.
(step p2).

すなわち、スキャナ装置2lからホスト装置33への画
像データの転送は、第3図(c)に示すように、所定量
の画像データが転送されると、転送が一旦停止し、次に
、所定量の画像データの転送が行われる。そこで、転送
速度検出回路30は、転送に要した全ての時間(すなわ
ち、転送時間と停止時間の合計時間)とデータ転送時の
転送速度に基づいて平均転送速度を算出し、C P U
31に出力する。C P U31のはこの平均転送速度
に基づいてバッファメモリ27容量を考慮して可能な限
り速い副走査モータ32の回転速度、すなわち副走査速
度(副走査上限速度)を算出する(ステップP,)。
That is, as shown in FIG. 3(c), the transfer of image data from the scanner device 2l to the host device 33 stops once a predetermined amount of image data has been transferred, and then image data is transferred. Therefore, the transfer speed detection circuit 30 calculates the average transfer speed based on the total time required for transfer (that is, the total time of transfer time and stop time) and the transfer speed during data transfer, and
Output to 31. Based on this average transfer speed, the CPU 31 calculates the rotational speed of the sub-scanning motor 32 that is as fast as possible in consideration of the capacity of the buffer memory 27, that is, the sub-scanning speed (sub-scanning upper limit speed) (step P). .

副走査速度が設定されると、原稿の本読取を行う。この
場合、C P U31は副走査モータ32を設定した回
転速度で回転制御し、設定した副走査速度で副走査が行
なわれる。CCD22で読み取った画像データはバッフ
ァメモリ27に一旦蓄積し、バッファメモリ27の画像
データ量を監視しながらホスト装置33に転送する。し
たがって、第3図(C)に示すように、スキャナ装置2
1からホスト装置33に画像データが転送されると、バ
ッファメモリ27内の画像データの蓄積量は第3図(a
)に示すように、画像データの転送に伴って減少、増加
を行うが、副走査速度は第3図(b)に示すように一定
である。したがって、副走査においてジソタが発生する
ことを防止することができるとともに、速い速度で副走
査することができ、スキャナ装置21の画質を向上させ
ることができるとともに、原稿の読取速度を向上させる
ことができる。
Once the sub-scanning speed is set, the main reading of the original is performed. In this case, the CPU 31 controls the rotation of the sub-scanning motor 32 at a set rotational speed, and sub-scanning is performed at the set sub-scanning speed. Image data read by the CCD 22 is temporarily stored in a buffer memory 27, and transferred to the host device 33 while monitoring the amount of image data in the buffer memory 27. Therefore, as shown in FIG. 3(C), the scanner device 2
1 to the host device 33, the amount of image data accumulated in the buffer memory 27 is as shown in FIG.
), the sub-scanning speed decreases and increases as the image data is transferred, but the sub-scanning speed remains constant as shown in FIG. 3(b). Therefore, it is possible to prevent jitter from occurring in sub-scanning, and to perform sub-scanning at a high speed, thereby improving the image quality of the scanner device 21 and improving the document reading speed. can.

なお、上記実施例においては、副走査速度を設定するの
に、本読取の前に副走査速度設定用の予備走査を行って
いるが、これに限るものではなく、例えば、複数ページ
の原稿では、1ページ目の原稿の読み取りを行うととも
に、副走査速度の設定を行い、2ページ目以降について
設定した副走査速度で副走査するようにしてもよい。こ
の場合、1ページ目の原稿は、従来と同様にバッファメ
モリ27のデータ蓄積量に基づいて副走査速度を可変制
御することが考えられる。
In the above embodiment, a preliminary scan for setting the sub-scanning speed is performed before the main reading to set the sub-scanning speed, but this is not limited to this. For example, in the case of a document with multiple pages, , the first page of the document may be read, the sub-scanning speed may be set, and the second and subsequent pages may be sub-scanned at the set sub-scanning speed. In this case, it is conceivable that for the first page of the document, the sub-scanning speed may be variably controlled based on the amount of data stored in the buffer memory 27, as in the prior art.

また、ホスト装置33の画像データの取込速度が大きく
変化する場合等においては、第4図に示すように、原稿
の1ページを複数のブロソクに分割し、分割した1つの
ブロック分の読み取りを行うと(ステップS,)、平均
転送速度を設定する(ステップsg)。この設定した平
均転送速度に基づいて次のブロソクの副走査速度を設定
し(ステソプS3)、その設定した副走査速度で次ブロ
ソクを副走査しつつ原稿を読み取り、そのときの平均転
送速度を演算する。この平均転送速度に基づいて、さら
に次のブロソクの副走査速度の設定を行う。この動作を
原稿の1ページに亘って行い、全ブロソクの読み取りが
完了すると(ステソプS,)、本フローは終了する。し
たがって、ホスト装置33のデータ取込速度が大きく変
動する場合にも対応することができる。
In addition, in cases where the image data capture speed of the host device 33 changes significantly, one page of the document is divided into multiple blocks, as shown in FIG. 4, and each divided block is read. When this is done (step S,), the average transfer rate is set (step sg). Set the sub-scanning speed of the next block based on this set average transfer speed (step S3), scan the document while sub-scanning the next block at the set sub-scanning speed, and calculate the average transfer speed at that time. do. Based on this average transfer speed, the sub-scanning speed of the next block is further set. This operation is performed over one page of the document, and when all the blocks have been read (step S,), this flow ends. Therefore, it is possible to cope with cases where the data acquisition speed of the host device 33 varies greatly.

さらに、上記各実施例では、実際の原稿を読み取ったと
きの転送速度に基づいて副走査速度を設定しているが、
これに限るものではなく、第5図に示すように、テスト
パターン(例えば、シマパターン等)を非同期1/F回
路29を介してホスト装置33に転送し(ステソプQ1
)、このときの転送速度に基づいて平均転送速度を算出
する(ステップqz)eテストパターン送出により算出
した平均転送速度に基づいて副走査速度を設定しくステ
ップQ3)、設定した副走査速度で原稿を読み取る。こ
の場合のテストパターンをC P U31内のROMあ
るいはRAM内にあらかじめ設定しておき、副走査速度
設定に際してCPU31より非同朋1/F回路29を介
して出力するようにすると、副走査速度の設定を完全に
自動化することができる。
Furthermore, in each of the above embodiments, the sub-scanning speed is set based on the transfer speed when the actual document is read.
However, as shown in FIG.
), calculate the average transfer speed based on the transfer speed at this time (step qz) e Set the sub-scanning speed based on the average transfer speed calculated by sending out the test pattern.Step Q3), scan the original at the set sub-scanning speed Read. If a test pattern in this case is set in advance in the ROM or RAM in the CPU 31 and outputted from the CPU 31 via the non-uniform 1/F circuit 29 when setting the sub-scanning speed, the setting of the sub-scanning speed can be performed. can be fully automated.

また、ホスト装置33が、第6図(a)に示すように、
その内部メモリの容量に対応した1ブロソク分の画像デ
ータをスキャナ装置21から取り込んでその内部メモリ
に蓄積し、スキャナ装置21からの画像データの取り込
みを停止して内部メモリの画像データを付属の磁気ディ
スク装置等に転送するといったいわゆるバーストモード
で画像データを取り込むことがある。このような場合、
スキャナ装置2lにとっては画像データの転送から転送
までの間隔が長いため、副走査が間欠的な動きとなる。
Further, as shown in FIG. 6(a), the host device 33
One block worth of image data corresponding to the capacity of the internal memory is captured from the scanner device 21 and stored in the internal memory, and the capture of image data from the scanner device 21 is stopped and the image data in the internal memory is transferred to the attached magnetic Image data may be captured in a so-called burst mode, such as by transferring it to a disk device or the like. In such a case,
For the scanner device 2l, since the interval between image data transfers is long, sub-scanning is an intermittent movement.

この場合にも、転送時と停止時を合計した転送時間に基
づいて平均転送時間を演算すると、第6図(b)に示す
ように、副走査速度が遅くなってしまう。そこで、スキ
ャナ装置21においては、転送時から転送時までの間隔
(停止時間)が所定時間以上になると、この停止時間を
転送時間から除外し、実際にデータを転送している時間
のみに基づいて平均転送時間を演算する。したがって、
副走査速度は、第6図(C)に示すように、速い速度が
設定されるとともに、バースト転送中の副走査速度は一
定の値となる。その結果、画質を向上させることができ
るとともに、原稿の読取速度を向上させることができる
In this case as well, if the average transfer time is calculated based on the total transfer time during transfer and stop, the sub-scanning speed will become slow as shown in FIG. 6(b). Therefore, in the scanner device 21, when the interval (stop time) from the time of transfer to the time of transfer becomes a predetermined time or more, this stop time is excluded from the transfer time, and the data is calculated based only on the time during which data is actually transferred. Calculate the average transfer time. therefore,
As shown in FIG. 6(C), the sub-scanning speed is set to a high speed, and the sub-scanning speed remains constant during burst transfer. As a result, it is possible to improve image quality and to improve document reading speed.

さらに、上記各実施例において、CPU31はバッファ
メモリ27内のに画像データを常時監視し、バッファメ
モリ27内の画像が所定量以上になると、従来と同様に
副走査速度を制御して、バッファメモリ27のオーバー
フローやアンダーフローを防止している。
Further, in each of the embodiments described above, the CPU 31 constantly monitors the image data in the buffer memory 27, and when the amount of images in the buffer memory 27 exceeds a predetermined amount, controls the sub-scanning speed as in the conventional case to store the image data in the buffer memory 27. 27 overflow and underflow are prevented.

(効果) 本発明によれば、副走査を相手ホスト装置の画像データ
取込速度に対応した一定速度で、かつ、高速度で行うこ
とができ、画像データにジッタが発生することを防止し
つつ、副走査速度を向上させることができる。その結果
、スキャナ装置の出力画像データの画質を向上させるこ
とができるとともに、処理速度を向上させることができ
る。
(Effects) According to the present invention, sub-scanning can be performed at a constant speed corresponding to the image data acquisition speed of the partner host device and at a high speed, while preventing jitter from occurring in the image data. , it is possible to improve the sub-scanning speed. As a result, it is possible to improve the image quality of the output image data of the scanner device, and also to improve the processing speed.

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

第1図〜第6図は本発明のスキャナ装置の一実施例を示
す図であり、第1図はそのスキャナ装置のブロック図、
第2図はその副走査速度設定処理のフローチャート、第
3図(a)〜(C)はその副走査速度設定処理の作用説
明図、第4図はその副走査速度設定処理をブロック毎に
分割して行う場合のフローチャート、第5図はその副走
査速度設定処理をテストパターンにより行う場合のフロ
ーチャート、第6図(a)〜(C)はバーストモードで
転送する場合の副走査速度設定処理の作用説明図である
。 第7図〜第10図は従来のスキャナ装置の例を示す図で
あり、第7図はそのスキャナ装置のブロソク図、第8図
はそのスキャナ装置とホスト装置との非同期転送の信号
を示す図、第9図はその制御信号と画像データの転送の
関係を示すタイミングチャート、第10図はそのハソフ
ァメモリのデータ蓄積量と副走査速度との関係を示す図
である。 21・・・・・・スキャナ装置、 22・・・・・・CCD, 27・・・・・・バッファメモリ、 29・・・・・・非同期1/F回路、 30・・・・・・転送速度検出回路(データ取込速度検
出手段)、 31・・・・・・CPU (副走査制御手段、副走査速
度設定手段)、 32・・・・・・副走査モータ、 33・・・・・・ホスト装置。 第 図 バ 第 図 第 図 第 図 第 図 第 図
1 to 6 are diagrams showing an embodiment of the scanner device of the present invention, and FIG. 1 is a block diagram of the scanner device,
Fig. 2 is a flowchart of the sub-scanning speed setting process, Figs. 3(a) to (C) are action explanatory diagrams of the sub-scanning speed setting process, and Fig. 4 is the sub-scanning speed setting process divided into blocks. Figure 5 is a flowchart when the sub-scanning speed setting process is performed using a test pattern, and Figures 6 (a) to (C) are flowcharts of the sub-scanning speed setting process when transferring in burst mode. It is an action explanatory diagram. 7 to 10 are diagrams showing examples of conventional scanner devices, FIG. 7 is a block diagram of the scanner device, and FIG. 8 is a diagram showing asynchronous transfer signals between the scanner device and the host device. , FIG. 9 is a timing chart showing the relationship between the control signal and the transfer of image data, and FIG. 10 is a diagram showing the relationship between the amount of data stored in the sofa memory and the sub-scanning speed. 21... Scanner device, 22... CCD, 27... Buffer memory, 29... Asynchronous 1/F circuit, 30... Transfer Speed detection circuit (data acquisition speed detection means), 31... CPU (sub-scanning control means, sub-scanning speed setting means), 32... sub-scanning motor, 33... -Host device. Fig.B.Fig.Fig.Fig.Fig.Fig.Fig.Fig.Fig.

Claims (2)

【特許請求の範囲】[Claims] (1)原稿を主走査および副走査して読み取り、読み取
った画像データをバッファメモリに一旦蓄積した後、非
同期インターフェースを介してホスト装置に転送するス
キャナ装置において、副走査速度を段階的に可変制御す
る副走査制御手段と、ホスト装置の画像データ取込速度
の平均速度を検出するデータ取込速度検出手段と、該平
均速度に基づいて前記バッファメモリの容量範囲で最高
の副走査速度を設定する副走査速度設定手段と、を設け
、ホスト装置の画像データ取込速度に対応した副走査速
度で副走査を連続的に行うことを特徴とするスキャナ装
置。
(1) In a scanner device that scans a document in main scanning and sub-scanning, stores the scanned image data in a buffer memory, and then transfers it to the host device via an asynchronous interface, the sub-scanning speed is controlled in stages. a data acquisition speed detection means for detecting an average speed of image data acquisition speed of the host device; and a data acquisition speed detection means for detecting an average speed of image data acquisition speed of the host device; What is claimed is: 1. A scanner device comprising: sub-scanning speed setting means, and continuously performing sub-scanning at a sub-scanning speed corresponding to the image data capture speed of a host device.
(2)前記ホスト装置がバーストモードで画像データを
取り込むとき、前記データ取込速度検出手段手段が、画
像データの連続取込時の平均速度を検出し、前記副走査
速度設定手段が該平均取込速度に基づいて副走査速度を
設定することを特徴とする請求項1記載のスキャナ装置
(2) When the host device captures image data in burst mode, the data capture speed detection means detects the average speed during continuous capture of image data, and the sub-scanning speed setting means detects the average speed during continuous capture of image data. 2. The scanner device according to claim 1, wherein the sub-scanning speed is set based on the scanning speed.
JP11266089A 1989-05-01 1989-05-01 Scanner device Pending JPH02291763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11266089A JPH02291763A (en) 1989-05-01 1989-05-01 Scanner device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11266089A JPH02291763A (en) 1989-05-01 1989-05-01 Scanner device

Publications (1)

Publication Number Publication Date
JPH02291763A true JPH02291763A (en) 1990-12-03

Family

ID=14592289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11266089A Pending JPH02291763A (en) 1989-05-01 1989-05-01 Scanner device

Country Status (1)

Country Link
JP (1) JPH02291763A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0614159A (en) * 1992-06-24 1994-01-21 Fujitsu Ltd Image scanner reading method
US6962288B2 (en) 2000-09-05 2005-11-08 Canon Kabushiki Kaisha Image reading apparatus and method
JP2008271035A (en) * 2007-04-18 2008-11-06 Canon Inc Document reader and its data transfer method
US7742201B2 (en) 1998-11-11 2010-06-22 Canon Kabushiki Kaisha Control method for document scanning device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0614159A (en) * 1992-06-24 1994-01-21 Fujitsu Ltd Image scanner reading method
US7742201B2 (en) 1998-11-11 2010-06-22 Canon Kabushiki Kaisha Control method for document scanning device
US6962288B2 (en) 2000-09-05 2005-11-08 Canon Kabushiki Kaisha Image reading apparatus and method
JP2008271035A (en) * 2007-04-18 2008-11-06 Canon Inc Document reader and its data transfer method
US8064106B2 (en) 2007-04-18 2011-11-22 Canon Kabushiki Kaisha Document reading apparatus and related data transfer method

Similar Documents

Publication Publication Date Title
US6606172B1 (en) Image information processing apparatus, image information processing method and image forming apparatus
JPH02291763A (en) Scanner device
JP3954258B2 (en) Image reading apparatus and copying machine
US7421143B2 (en) Systems and methods for optimal dynamic range adjustment of scanned images
US5019917A (en) Coordinate input apparatus
US20110310443A1 (en) Device and method for scanning large-format documents
JP3569059B2 (en) Image reading device
JP2001036744A (en) Image reading method, image reading device, and image processing device
JP3907033B2 (en) Image reading device
JP3512257B2 (en) Image reading device
JP2003198777A (en) Image processor
JP3754173B2 (en) Image reading device
JP2002185721A (en) Device and method for reading image
CN1187705C (en) Method and device for transmitting image data
US6993210B1 (en) Imaging system having adaptive clocking in response to processing state
JPH04287565A (en) Picture processor
JP2001036742A (en) Image reader
JP3701094B2 (en) Image reading device
JPH114324A (en) Digital copying machine with facsimile function
KR101862181B1 (en) Apparatus and method for processing image
JPH04287566A (en) Picture processor
JPH04287564A (en) Picture processor
JPH1013672A (en) Method and device for inputting image
JP2002262086A (en) Image processor
JPH0275268A (en) Picture reduction method