JPH0769956B2 - Image input device - Google Patents

Image input device

Info

Publication number
JPH0769956B2
JPH0769956B2 JP62272361A JP27236187A JPH0769956B2 JP H0769956 B2 JPH0769956 B2 JP H0769956B2 JP 62272361 A JP62272361 A JP 62272361A JP 27236187 A JP27236187 A JP 27236187A JP H0769956 B2 JPH0769956 B2 JP H0769956B2
Authority
JP
Japan
Prior art keywords
clock
data
image sensor
output
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62272361A
Other languages
Japanese (ja)
Other versions
JPH01113875A (en
Inventor
隆生 鐙
俊則 古橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP62272361A priority Critical patent/JPH0769956B2/en
Publication of JPH01113875A publication Critical patent/JPH01113875A/en
Publication of JPH0769956B2 publication Critical patent/JPH0769956B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Description

【発明の詳細な説明】 <技術分野> 本発明は、パーソナルコンピュータやワードプロセッサ
の周辺入力装置として近年普及の一途をたどる画像入力
装置、いわゆる、イメージスキャナに関する。
Description: TECHNICAL FIELD The present invention relates to an image input device, which is becoming more popular in recent years, as a peripheral input device for a personal computer or a word processor, a so-called image scanner.

<従来技術> 近年、撮像管に代わる固体撮像素子、例えば、CCDリニ
アイメージセンサ等を用いた画像入力装置をパーソナル
コンピュータに使用して文書等を入力して電子ファイル
化したり、あるいは、画像を入力してパーソナルコンピ
ュータ上で作成したテキストと混在させたドキュメント
ファイルを作成する事などが容易となってきた。また、
撮像素子自体の高感度化に伴い、読み取り長さのワイド
化や高速化が進んでおり、2000画素以上のチップを1ラ
イン配列した素子が5〜10msec/ラインで駆動可能とな
ってきている。
<Prior Art> In recent years, an image input device using a solid-state image sensor, such as a CCD linear image sensor, which replaces an image pickup tube is used as a personal computer to input a document or the like into an electronic file or input an image. It has become easier to create document files that are mixed with text created on a personal computer. Also,
As the sensitivity of the image pickup device itself has increased, the reading length has become wider and the speed has increased, and devices in which chips of 2000 pixels or more are arranged in one line can be driven at 5 to 10 msec / line.

第5図は、このような従来例の画像入力装置からパーソ
ナルコンピュータ12のI/Oスロットまでの構成を示すブ
ロック図である。
FIG. 5 is a block diagram showing the configuration from such an image input device of the conventional example to the I / O slot of the personal computer 12.

同図において、1はイメージセンサ、2は発振器3から
のクロックに基づいて、各種のドライブ信号を発生する
ドライブ信号発生回路、4は画像入力装置の走査に応じ
てスリット窓の形成された円盤が横切ることによりエン
コーダパルスを出力するホトインタラプタ、11は原稿な
どを読み取る場合に、押し続けて操作されるスイッチ、
6はドライブ信号発生回路2からのクロックに応じてイ
メージセンサ1のシリアル出力をパラレル変換するシリ
アル/パラレル変換器、7は波形整形回路5からのエン
コーダパルスをドライブ信号発生回路2からのスタート
パルスに同期させるためのDフリップフロップ、8はシ
リアル/パレル変換器6の出力が与えられる第1バッフ
ァ、9はDフリップフロップ7の出力、スタートパル
ス、クロックおよびスイッチ11の操作に対応するスイッ
チ信号が与えられる第2バッファ、10はアドレスデコー
ダである。
In the figure, 1 is an image sensor, 2 is a drive signal generation circuit that generates various drive signals based on a clock from an oscillator 3, and 4 is a disk having a slit window formed according to scanning of an image input device. A photointerrupter that outputs an encoder pulse when it crosses, 11 is a switch that is operated by continuously pressing it when reading a document, etc.
6 is a serial / parallel converter for converting the serial output of the image sensor 1 into parallel according to the clock from the drive signal generating circuit 2, and 7 is the encoder pulse from the waveform shaping circuit 5 used as the start pulse from the drive signal generating circuit 2. A D flip-flop for synchronization, 8 is a first buffer to which the output of the serial / parell converter 6 is given, and 9 is an output of the D flip-flop 7, a start pulse, a clock and a switch signal corresponding to the operation of the switch 11. The second buffer 10 is an address decoder.

第4図は、各部の信号の波形図であり、(A)はイメー
ジセンサ1の1ラインの出力データの構成図、(B)は
ドライブ信号発生回路2から出力されるスタートパル
ス、(C)はドライブ信号発生回路2から出力されるク
ロック、(D)はイメージセンサ1の出力データをそれ
ぞれ示している。
FIG. 4 is a waveform diagram of signals of each part, (A) is a configuration diagram of output data of one line of the image sensor 1, (B) is a start pulse output from the drive signal generating circuit 2, and (C). Indicates a clock output from the drive signal generating circuit 2, and (D) indicates output data of the image sensor 1.

一般に、イメージセンサでは、第4図(A)に示される
ように、その1ラインには、前後にダミーデータおよび
無効データが存在し、その間に有効データが存在してい
る。スタートパルスは、第4図(B)に示されるよう
に、1ライン周期のパルスであり、また、クロックは、
画素数に応じた数が1ライン中に含まれており、例え
ば、ダミー分16個、有効分512個、無効分200個とする
と、1ライン中のクロック数は、728個となる。これら
のスタートパルスおよびクロックに同期してイメージセ
ンサ1から被写体の原稿に応じて「1」または「0」の
データが第4図(D)に示されるように出力される。
Generally, in an image sensor, as shown in FIG. 4 (A), dummy data and invalid data exist before and after one line, and valid data exist between them. The start pulse is a pulse of one line cycle as shown in FIG. 4 (B), and the clock is
The number of pixels corresponding to the number of pixels is included in one line. For example, assuming that there are 16 dummy components, 512 effective components, and 200 invalid components, the number of clocks in one line is 728. Data "1" or "0" is output from the image sensor 1 in synchronization with the start pulse and the clock, as shown in FIG.

次に、この従来例の動作を説明する。Next, the operation of this conventional example will be described.

先ず、イメージセンサ1のデータ出力は、スタートパル
スの1周期の期間、シリアル/パラレル変換器6により
パラレルデータに変換され、第1バッファ8に与えら
れ、パーソナルコンピュータ12がリードする際に、アド
レスデコーダ10の出力により第1バッファ8がイネーブ
ル状態とされ、データバスにデータが送出される。この
リードする期間の前の条件として、エンコーダパルス、
スタートパルスおよびクロックの状態と、スイッチ11が
押されているか否かの状態が、第2バッファ9に入力さ
れており、アドレスデコーダ10の出力によりこの第2バ
ッファ9がイネーブル状態とされ、データバスにデータ
が送出される。
First, the data output of the image sensor 1 is converted into parallel data by the serial / parallel converter 6 during the period of one cycle of the start pulse and is given to the first buffer 8. When the personal computer 12 reads the data, the address decoder The output of 10 enables the first buffer 8 to send data to the data bus. As a condition before this lead period, encoder pulse,
The state of the start pulse and the clock, and the state of whether the switch 11 is pressed or not are input to the second buffer 9, and the output of the address decoder 10 enables the second buffer 9 to enable the data bus. Data is sent to.

なお、Dフリップフロップ7で、エンコーダパルスとス
タートパルスとの同期をとるのは、パーソナルコンピュ
ータ12側での誤動作を少なくするためのものであるが、
エンコーダパルスの周期がスタートパルスに対して十分
に長い場合には、このDフリプフロップ7は、不要であ
る。
The synchronization between the encoder pulse and the start pulse in the D flip-flop 7 is to reduce malfunctions on the personal computer 12 side.
When the cycle of the encoder pulse is sufficiently longer than the start pulse, this D flip-flop 7 is unnecessary.

第6図は、上記動作説明のためのフローチャートであ
る。スイッチ11がオンされているか、スタートパルスが
到来したかを検出し、エンコーダパルスが前の状態と変
わったか否か、すなわち、ハイレベルからローレベルあ
るいはローレベルからハイレベルに変化したかを第2バ
ッファ9の出力で判断する。
FIG. 6 is a flowchart for explaining the above operation. It is detected whether the switch 11 is turned on or a start pulse arrives, and whether the encoder pulse has changed from the previous state, that is, whether the encoder pulse has changed from high level to low level or from low level to high level Judgment is made based on the output of the buffer 9.

次に、この条件の成立後、クロック8発分をカウントす
る毎に、データ(1バイト)をリードしていく。つま
り、シリアル/パラレル変換器6によって1バイト分の
データが揃った後である。ここでは、バイト単位でデー
タをリードしているが、16ビットパーソナルコンピュー
タのワード転送を使用するときには、16ビット単位で行
うなど任意である。この例では、1ラインが728個であ
るから728/8=91回繰り返し1ライン分終了して再び元
のルーチンに戻る。1画面の終了は、例えば、表示画面
を形成するメモリが512ラインであれば、512で終了する
し、または、途中でスイッチ11をオフしたことを検出し
て終了してもよい。
Next, after this condition is satisfied, data (1 byte) is read every time 8 clocks are counted. In other words, it is after the serial / parallel converter 6 completes the data for one byte. Here, the data is read in byte units, but when word transfer of a 16-bit personal computer is used, it may be performed in 16-bit units. In this example, since one line is 728, 728/8 = 91 times are repeated, and one line is completed and the original routine is returned again. The termination of one screen may be terminated at 512 if the memory forming the display screen is 512 lines, or may be terminated by detecting that the switch 11 is turned off midway.

このような従来例の画像入力装置では、パーソナルコン
ピュータ12がデータをリードするのに許される期間は、
クロック8発分の期間であり、この期間にリードし終わ
らないと、次のクロックをカウントできず、表示が右側
に間延びしたり、途中できれた表示となってしまう。
In such a conventional image input device, the period allowed for the personal computer 12 to read data is
This is a period for eight clocks, and if the reading is not completed in this period, the next clock cannot be counted, and the display is stretched to the right or the display is partially completed.

例えば、このクロックが3μsecであったとすると、3
×8=24μsecとなり、コンピュータとしては、相当高
速であることが要求される。クロック3μsecという
と、上述の従来例では、1ラインとしては、3×728=2
184≒2.2msecとなり、2msec/ラインクラスの高速性能の
イメージセンサとなるが、現状でも存在しており、パー
ソナルコンピュータの処理能力が問題となってくる。
For example, if this clock is 3 μsec,
× 8 = 24 μsec, which means that the computer is required to have a considerably high speed. A clock of 3 μsec means 3 × 728 = 2 for one line in the above-mentioned conventional example.
184 ≈ 2.2 msec, which is a high-speed image sensor of 2 msec / line class, but it still exists at present, and the processing capacity of the personal computer becomes a problem.

また、パーソナルコンピュータ12は、クロックのカウン
トやスタートパルスの検出等のソフト処理の負担が大き
く、例えば、データのリード時に、キーボードが操作さ
れるなどの割り込み処理があった場合には、誤動作とな
るからほとんどすべての割り込みルーチンを禁止してス
キャナのデータ処理を行なわねばならないという難点が
ある。
Further, the personal computer 12 has a heavy load of software processing such as clock counting and start pulse detection. For example, when there is an interrupt processing such as a keyboard operation at the time of reading data, a malfunction occurs. Therefore, there is a drawback in that almost all interrupt routines must be prohibited to perform scanner data processing.

<発明の目的> 本発明は、上述の点に鑑みて為されたものであって、パ
ーナルコンピュータの性能に拘わらず適用できる画像入
力装置を提供することを目的とする。
<Object of the Invention> The present invention has been made in view of the above points, and an object of the present invention is to provide an image input device that can be applied regardless of the performance of a personal computer.

<発明の構成> 本発明では、上述の目的を達成するために、イメージセ
ンサで読み取ったイメージをコンピュータ等に入力する
画像入力装置において、前記イメージセンサの出力デー
タの1ライン分が、書き込みあるいは読み出される単一
のラインメモリと、前記イメージセンサのクロックを書
き込みクロックとして、また、前記コンピュータ等のク
ロックを読み出しクロックとしてそれぞれ切換出力する
切換回路と、イメージセンサの走査に対応するエンコー
ダパルスおよび1ライン周期のスタートパルスに基づい
て、前記切換回路の切換えを制御する切換制御回路とを
設け、前記イメージセンサからの出力データを前記書き
込みクロックに応じて前記ラインメモリに書き込み、該
ラインメモリのデータを前記読み出しクロックに応じて
読み出して前記コンピュータ等に送出するようにしてい
る。
<Structure of the Invention> In order to achieve the above object, according to the present invention, in an image input device for inputting an image read by an image sensor to a computer or the like, one line of output data of the image sensor is written or read. A single line memory, a switching circuit for switching and outputting the clock of the image sensor as a writing clock and a clock of the computer as a reading clock, an encoder pulse corresponding to the scanning of the image sensor, and one line period. A switching control circuit for controlling the switching of the switching circuit based on the start pulse of, the output data from the image sensor is written to the line memory according to the write clock, and the data of the line memory is read out. Read according to the clock It is designed to be sent out and sent to the computer or the like.

上記構成によれば、イメージセンサの出力データを、イ
メージセンサのクロックでメモリに書き込み、読み出し
時には、コンピュータ等のクロックで随時にリードする
ことができることになり、ソフト処理が軽減され、コン
ピュータのアクセスタイムに、システム全体が依存する
ことなく、処理が可能となる。
According to the above configuration, the output data of the image sensor can be written in the memory at the clock of the image sensor and can be read at any time by the clock of the computer or the like at the time of reading, software processing can be reduced, and the access time of the computer can be reduced. Therefore, the processing can be performed without depending on the entire system.

<実施例> 以下、図面によって本発明の実施例について詳細に説明
する。第1図は、本発明の一実施例のブロック図であ
り、第5図の従来例に対応する部分には、同一の参照付
を付す。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, and the portions corresponding to the conventional example of FIG. 5 are given the same reference numerals.

同図において、1はイメージセンサ、2は発振器3から
のクロックに基づいて、各種のドライブ信号を発生する
ドライブ信号発生回路、4は画像入力装置の走査に応じ
てスリット窓の形成された円盤が横切ることによりエン
コーダパルスを出力するホトインタラプタ、11は原稿な
どを読み取る場合に、押し続けて操作されるスイッチ、
6は後述のラインメモリ13からのシリアルデータをパラ
レルデータに変換するシリアル/パラレル変換器、7は
波形整形回路5からのエンコーダパルスS1をドライブ信
号発生回路2からのスタートパルスS2に同期させるため
のDフリップフロップ、8はシリアル/パラレル変換器
6の出力が与えられる第1バッファ、9はDフリップフ
ロップ7の出力S6およびスイッチ信号S5が与えられる第
2バッファ、10はアドレスデコーダである。
In the figure, 1 is an image sensor, 2 is a drive signal generation circuit that generates various drive signals based on a clock from an oscillator 3, and 4 is a disk having a slit window formed according to scanning of an image input device. A photointerrupter that outputs an encoder pulse when it crosses, 11 is a switch that is operated by continuously pressing it when reading a document, etc.
6 is a serial / parallel converter for converting serial data from a line memory 13 described later into parallel data, and 7 is for synchronizing the encoder pulse S1 from the waveform shaping circuit 5 with the start pulse S2 from the drive signal generating circuit 2. D flip-flop, 8 is a first buffer to which the output of the serial / parallel converter 6 is applied, 9 is a second buffer to which the output S6 of the D flip-flop 7 and the switch signal S5 are applied, and 10 is an address decoder.

かかる構成は、基本的に第5図の従来例と同様であり、
また、第4図に基づいて説明したように、イメージセン
サ1の1ラインの出力には、有効データの前後にダミー
データおよび無効データが存在し、この実施例では、上
述の従来例と同様に、ダミー分16個、有効分512個、無
効分200個の1ライン728個より構成される。
Such a configuration is basically the same as the conventional example shown in FIG.
Further, as described with reference to FIG. 4, the output of one line of the image sensor 1 has dummy data and invalid data before and after the valid data. In this embodiment, the dummy data and the invalid data exist. , 16 dummy parts, 512 effective parts, and 200 ineffective parts.

この実施例の画像入力装置では、イメージセンサ1の出
力データが、1ライン分書き込みあるいは読み出される
ラインメモリ13がイメージセンサ1とシリアル/パラレ
ル変換器6との間に設けられるとともに、Dフリップフ
ロップ7からのエンコーダパルスS6に基づいて、ドライ
ブ信号発生回路2からのイメージセンサ1のクロックS3
を書き込みクロックとして、また、パーソナルコンピュ
ータ12のクロック(CPUクロック)を読み出しクロック
としてそれぞれ切換出力する切換スイッチ14をを設けて
いる。
In the image input device of this embodiment, a line memory 13 for writing or reading the output data of the image sensor 1 for one line is provided between the image sensor 1 and the serial / parallel converter 6, and the D flip-flop 7 is provided. The clock S3 of the image sensor 1 from the drive signal generation circuit 2 based on the encoder pulse S6 from
Is provided as a write clock and a clock (CPU clock) of the personal computer 12 is used as a read clock, and a changeover switch 14 is provided for switching output.

この実施例では、後述のように、Dフリップフロップ7
から出力されるエンコーダパルスS6がハイレベルの期間
に、前記書き込みクロックS3に従ってイメージセンサ1
からの出力データをラインメモリ13に書き込み、エンコ
ーダパルスS6がローレベルの期間に、前記読み出しクロ
ックに従ってラインメモリ13のデータを読み出してシリ
アル/パラレル変換器6に出力し、第1バッファ8を介
してパーソナルコンピュータ12に送出するようにしてい
る。
In this embodiment, as described later, the D flip-flop 7
While the encoder pulse S6 outputted from the image sensor 1 is at a high level, the image sensor 1
Output data from the line memory 13 is written to the line memory 13, and while the encoder pulse S6 is at a low level, the data in the line memory 13 is read according to the read clock and output to the serial / parallel converter 6, The data is sent to the personal computer 12.

パーソナルコンピュータ12からのクロックは、カウンタ
16とアンドゲート17とから成るゲート回路15によってバ
イト単位の読み出しクロックとして出力され、また、こ
の読み出しクロックは、シリアル/パラレル変換器6に
変換用のクロックとして与えられる。このゲート回路15
のカウンタ16は、アドレスデコーダ10の出力によりリセ
ットされるようになっている。
The clock from the personal computer 12 is the counter
It is output as a byte-by-byte read clock by a gate circuit 15 composed of 16 and an AND gate 17, and this read clock is given to the serial / parallel converter 6 as a conversion clock. This gate circuit 15
The counter 16 of is reset by the output of the address decoder 10.

次に、上記構成を有する画像入力装置の動作を第2図の
信号波形図に基づいて説明する。
Next, the operation of the image input device having the above configuration will be described based on the signal waveform diagram of FIG.

第2図(A)は画像入力装置の走査に応じて波形整形回
路5から出力されるエンコーダパルスS1、第2図(B)
はドライブ信号発生回路2から出力されるスタートパル
スS2、第2図(C)はドライブ信号発生回路2から出力
されるイメージセンサのクロックS3、第2図(D)はイ
メージセンサ1のデータ出力S4、第2図(E)はスイッ
チ11の操作に対応するスイッチ信号S5、第2図(F)は
Dフリップフロップ7から出力されるエンコーダパルス
S6、第2図(G)は切換スイッチ14から出力されるライ
ンメモリ13のクロックS7、第2図(H)は第2図(G)
の拡大図である。
2 (A) is an encoder pulse S1 output from the waveform shaping circuit 5 according to the scanning of the image input device, FIG. 2 (B).
Is a start pulse S2 output from the drive signal generating circuit 2, FIG. 2C is a clock S3 of the image sensor output from the drive signal generating circuit 2, and FIG. 2D is a data output S4 of the image sensor 1. 2 (E) is a switch signal S5 corresponding to the operation of the switch 11, and FIG. 2 (F) is an encoder pulse output from the D flip-flop 7.
S6, FIG. 2 (G) is the clock S7 of the line memory 13 output from the changeover switch 14, and FIG. 2 (H) is FIG. 2 (G).
FIG.

この実施例の画像入力装置では、第2図(F)に示され
るように、切換スイッチ14の切換えを制御する切換制御
回路としての機能を有するDフリップフロップ7から出
力されるエンコーダパルスS6のハイレベルの期間に、イ
メージセンサ1の出力データの1ライン分が、切換スイ
ッチ14からの第2図(G),(H)に示されるイメージ
センサの728発のクロックS3が書き込みクロックとして
ラインメモリ13に書き込まれ、また、エンコーダパルス
S6がローレベルの期間に、ラインメモリ13のデータが、
切換スイッチ14からの第2図(G),(H)に示される
8発ずつ計91回のパーソナルコンピュータ12のクロック
を読み出しクロックとして読み出されてシリアル/パラ
レル変換器6に出力される。
In the image input device of this embodiment, as shown in FIG. 2 (F), the high level of the encoder pulse S6 output from the D flip-flop 7 having a function as a switching control circuit for controlling the switching of the switching switch 14 is high. During the level period, one line of the output data of the image sensor 1 is used as the write clock by the 728 clocks S3 of the image sensor shown in FIGS. Written in the encoder pulse
The data in the line memory 13 is
The clock of the personal computer 12 from the change-over switch 14 shown in FIGS. 2 (G) and 2 (H) for 8 times in total, 91 times, is read as a read clock and output to the serial / parallel converter 6.

パーソナルコンピュータ12は、読み出しクロック8発終
了、すなわち、シリアル/パラレル変換器6によって1
バイト分の揃った後に、データ(1バイト)をリードし
ていき、1ラインが728個であるから728/8=91回繰り返
して1ライン分終了する。なお、パーソナルコンピュー
タ12のリードの前提として、エンコーダパルスS6がロー
レベルで、かつ、スイッチ11が押されていることが必要
であり、これは第2バッファ9の出力により判断され
る。
The personal computer 12 finishes the read clock 8 times, that is, the serial / parallel converter 6 outputs 1
Data (1 byte) is read after all the bytes are aligned, and since one line is 728, 728/8 = 91 times are repeated to complete one line. As a precondition for the reading of the personal computer 12, it is necessary that the encoder pulse S6 is at a low level and the switch 11 is pressed, and this is determined by the output of the second buffer 9.

このように、エンコーダパルスS6のハイレベルの期間
に、1ライン分のデータをイメージセンサ1のクロック
S3を書き込みクロックとしてラインメモリ13に一旦書き
込み、エンコーダパルスS6がローレベルの期間に、この
ラインメモリ13のデータを、パーソナルコンピュータ12
のクロックを読み出しクロックとして読み出してパーソ
ナルコンピュータ12の送出するようにしているので、パ
ーソナルコンピュータ12では、エンコーダパルスS6がロ
ーレベルの期間に、任意の周期で1ライン分のデータを
リードすればよく、従来例のように、スタートパルスの
検出やクロック8発のカウント等の処理を必要とせず
に、ラインメモリ13のデータをバイト単位で転送すれば
よく、パーソナルコンピュータ12の処理スピードに限定
されることが少なくなるとともに、従来例のようにイメ
ージセンサ1の出力データを読み取るほとんどすべての
期間に亘ってパーソナルコンピュータ12の割り込みを禁
止する必要がなくなる。
Thus, during the high level period of the encoder pulse S6, the data of one line is supplied to the clock of the image sensor 1.
S3 is once written in the line memory 13 as a write clock, and while the encoder pulse S6 is at a low level, the data in the line memory 13 is transferred to the personal computer 12
Since the clock of is read out as the read clock and is sent out by the personal computer 12, the personal computer 12 may read the data for one line at an arbitrary cycle while the encoder pulse S6 is at the low level. As in the conventional example, the data in the line memory 13 may be transferred in byte units without the need for processing such as detection of a start pulse and counting of eight clocks, and the processing speed of the personal computer 12 is limited. In addition, unlike the conventional example, it is not necessary to prohibit the interruption of the personal computer 12 during almost all the period of reading the output data of the image sensor 1.

さらに、データのリードは、エンコーダパルスS6のロー
レベル期間、すなわち、最低でも1ラインの期間、した
がって、上述の従来例の場合では、2.2msecの期間内に
終えればよいので、十分余裕をもって処理できることに
なり、たいていのコンピュータに適用できることにな
る。
Furthermore, the data read can be completed with a sufficient margin because it can be completed within the low level period of the encoder pulse S6, that is, the period of at least one line, and thus, in the case of the above-mentioned conventional example, within the period of 2.2 msec. It will be possible, and will be applicable to most computers.

第3図は、上述の動作に対応するフローチャートであ
る。
FIG. 3 is a flowchart corresponding to the above operation.

先ず、ステップn1では、パーソナルコンピュータ12の表
示画面をクリアしてステップn2に移り、スイッチ11がオ
ンされているか否かを判断し、オンされていると判断し
たときには、ステップn3に移り、エンコーダパルスS6が
ローレベルであるか否かを判断し、ローレベルであると
きには、ステップn4に移ってデータをリードし、ステッ
プn5に移る。
First, in step n1, the display screen of the personal computer 12 is cleared and the process proceeds to step n2. It is determined whether or not the switch 11 is turned on. When it is determined that the switch 11 is turned on, the process proceeds to step n3 and the encoder pulse It is determined whether or not S6 is at the low level. When it is at the low level, the process proceeds to step n4 to read the data, and then proceeds to step n5.

ステップn5では、1ラインのデータのリードが終了した
か否かを判断し、終了したと判断したときには、ステッ
プn6に移り、スイッチ11がオンされているか否かを判断
し、オンされている判断したときには、ステップn7に移
り、一画面のデータのリードが終了したか否かを判断
し、終了したと判断したときには、終了する。
In step n5, it is judged whether or not the reading of the data of one line is completed. When it is judged that the reading is completed, the process proceeds to step n6, it is judged whether or not the switch 11 is turned on, and it is judged that it is turned on. If so, the process proceeds to step n7, and it is determined whether or not the reading of the data of one screen is completed. If it is determined that the reading is completed, the process is completed.

上述の実施例では、エンコーダパルスS6のハイレベルの
期間にラインメモリ13にデータを書き込み、ローレベル
の期間に読み出すようにしたけれども、本発明の他の実
施例として逆にしてもよいのは勿論である。
In the above embodiment, the data is written in the line memory 13 during the high level period of the encoder pulse S6 and is read out during the low level period, but it is needless to say that it may be reversed as another embodiment of the present invention. Is.

また、本発明は、画像入力装置自体を手操作する、いわ
ゆるハンディタイプに限らず、原稿を据え置いて画像入
力装置をモータで駆動するタイプにも適用できるのは勿
論である。
Further, the present invention is not limited to a so-called handy type in which the image input device itself is manually operated, but it is needless to say that the present invention can be applied to a type in which a document is stationary and the image input device is driven by a motor.

<発明の効果> 以上のように本発明によれば、メモリを設けてイメージ
センサの出力データを、イメージセンサのクロックで該
メモリに一旦書き込み、読み出し時には、コンピュータ
等のクロックでメモリのデータを読み出すように構成し
たので、従来例のようなスタートパルスの検出やクロッ
クのカウントの必要がなくなり、ソフト処理が軽減さ
れ、データをリードする期間の余裕が十分とれることに
なり、たいていのパーソナルコンピュータに適用できる
ことになる。
<Effects of the Invention> As described above, according to the present invention, the memory is provided and the output data of the image sensor is once written in the memory at the clock of the image sensor, and at the time of reading, the data of the memory is read at the clock of the computer or the like. Since it is configured like this, there is no need to detect the start pulse or count the clock as in the conventional example, the software processing is reduced, and the margin for the period of reading the data is sufficient, which is applicable to most personal computers. You can do it.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図の各部の信号波形図、第3図は第1図の動作説明に供
するフローチャート、第4図は各部の信号波形図、第5
図は従来例のブロック図、第6図は従来例の動作説明の
ためのフローチャートである。 1……イメージセンサ、12……パーソナルコンピュー
タ、13……ラインメモリ、14……切換スイッチ(切換回
路)。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG.
FIG. 3 is a signal waveform diagram of each part in the figure, FIG. 3 is a flow chart for explaining the operation of FIG. 1, FIG. 4 is a signal waveform diagram of each part, and FIG.
FIG. 6 is a block diagram of the conventional example, and FIG. 6 is a flowchart for explaining the operation of the conventional example. 1 ... Image sensor, 12 ... Personal computer, 13 ... Line memory, 14 ... Changeover switch (changeover circuit).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】イメージセンサで読取ったイメージをコン
ピュータ等に入力する画像入力装置において、 前記イメージセンサの出力データの1ライン分が、書き
込みあるいは読み出される単一のラインメモリと、 前記イメージセンサのクロックを書き込みクロックとし
て、また、前記コンピュータ等のクロックを読み出しク
ロックとしてそれぞれ切換出力する切換回路と、 イメージセンサの走査に対応するエンコーダパルスおよ
び1ライン周期のスタートパルスに基づいて、前記切換
回路の切換えを制御する切換制御回路とを設け、 前記イメージセンサからの出力データを前記書き込みク
ロックに応じて前記ラインメモリに書き込み、該ライン
メモリのデータを前記読み出しクロックに応じて読み出
して前記コンピュータ等に送出することを特徴とする画
像入力装置。
1. An image input device for inputting an image read by an image sensor to a computer or the like, wherein a single line memory in which one line of output data of the image sensor is written or read, and a clock of the image sensor. As a write clock, and a switching circuit for switching and outputting the clock of the computer or the like as a reading clock, and switching of the switching circuit based on an encoder pulse corresponding to scanning of the image sensor and a start pulse of one line cycle. A switching control circuit for controlling, writing the output data from the image sensor to the line memory in response to the write clock, reading the data in the line memory in response to the read clock, and sending the data to the computer or the like. To Characteristic image input device.
JP62272361A 1987-10-28 1987-10-28 Image input device Expired - Fee Related JPH0769956B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62272361A JPH0769956B2 (en) 1987-10-28 1987-10-28 Image input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62272361A JPH0769956B2 (en) 1987-10-28 1987-10-28 Image input device

Publications (2)

Publication Number Publication Date
JPH01113875A JPH01113875A (en) 1989-05-02
JPH0769956B2 true JPH0769956B2 (en) 1995-07-31

Family

ID=17512809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62272361A Expired - Fee Related JPH0769956B2 (en) 1987-10-28 1987-10-28 Image input device

Country Status (1)

Country Link
JP (1) JPH0769956B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2989649B2 (en) * 1990-09-25 1999-12-13 キヤノン株式会社 Image control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58179064A (en) * 1982-04-15 1983-10-20 Sony Corp Frame memory device

Also Published As

Publication number Publication date
JPH01113875A (en) 1989-05-02

Similar Documents

Publication Publication Date Title
JPH04107070A (en) Encoding and decoding device
JPH0769956B2 (en) Image input device
JPH0758504B2 (en) Image input device
WO2001015436A1 (en) Universal two dimensional timing generator
US5479165A (en) Two-dimensional coding apparatus
KR0153537B1 (en) Signal processing structure preselecting memory address data
JP3563223B2 (en) Register circuit
JPH01191981A (en) Picture processing display system
JPH079280Y2 (en) Stack circuit
SU1290285A1 (en) Device for controlling power consumption of microprocessor system
JP2530280Y2 (en) Contact data input circuit
JP2526042Y2 (en) Memory / register control circuit
JPS63267060A (en) Control method for picture information buffer
JP2626112B2 (en) Microprocessor
JPH04100136A (en) Digital switch circuit
JPS6298473A (en) Image input device
JPS617769A (en) Image memory write control system
JPH01112449A (en) Speed converting memory device
JPH065066A (en) Memory device
JPS62149255A (en) Picture reader
JPH06325196A (en) Bar code reader
JPH01255037A (en) Electronic computer
JPH0568143B2 (en)
JPH0795082A (en) D/a converter
JPH03175527A (en) Fifo control circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees