JPH10210237A - Image reader - Google Patents

Image reader

Info

Publication number
JPH10210237A
JPH10210237A JP9066443A JP6644397A JPH10210237A JP H10210237 A JPH10210237 A JP H10210237A JP 9066443 A JP9066443 A JP 9066443A JP 6644397 A JP6644397 A JP 6644397A JP H10210237 A JPH10210237 A JP H10210237A
Authority
JP
Japan
Prior art keywords
gate
enable signal
signal
image reading
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.)
Granted
Application number
JP9066443A
Other languages
Japanese (ja)
Other versions
JP3656869B2 (en
Inventor
Yuji Takahashi
祐二 高橋
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 JP06644397A priority Critical patent/JP3656869B2/en
Publication of JPH10210237A publication Critical patent/JPH10210237A/en
Application granted granted Critical
Publication of JP3656869B2 publication Critical patent/JP3656869B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the cost as a whole by reducing a memory capacity and the hardware to the utmost without losing a function of sure switching of image read density to an object density under the condition that a speed of a stepping motor is kept constant. SOLUTION: The reader is provided with a gate enable signal generating means 11 that generates a gate enable signal EN for each step pulse SP and with an enable control means 14 that decides directly whether or not an input gate signal (line gate signal) received for each line is set to be an output gate signal (valid line gate signal) based on the priority of the gate enable signal EN generated from the gate enable signal generating means 11 so as to eliminate the need for the hardware such as a pulse counter, a comparator and a timing generator which have been required conventionally.

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 such as an image scanner, a facsimile, and a scanner of a digital copying machine.

【0002】[0002]

【従来の技術】従来より原稿の画像情報を光学的に読み
取って電気的な信号に変換するデジタル式の画像読取装
置が知られており、大別すると、原稿を所定速度で搬送
させながら位置固定の密着型ラインセンサで読み取る所
謂シートスキャナと、コンタクトガラス上にセットされ
た原稿を光学系のスキャニングにより読み取る所謂ブッ
クスキャナとがある。シートスキャナにあっては原稿を
搬送させる駆動源としてステッピングモータが用いら
れ、ブックスキャナにあっては光学系をスキャニングさ
せる駆動源としてステッピングモータが用いられてい
る。
2. Description of the Related Art Conventionally, there has been known a digital image reading apparatus which optically reads image information of a document and converts the image information into an electric signal. And a so-called book scanner that reads an original set on a contact glass by scanning an optical system. In a sheet scanner, a stepping motor is used as a driving source for transporting a document, and in a book scanner, a stepping motor is used as a driving source for scanning an optical system.

【0003】何れの方式のスキャナにあっても、通常
は、画像読取密度が切換え可能とされており、主走査方
向に関してはラインセンサに関する電気的な処理により
対処している。副走査方向の画像読取密度に関しては、
原稿又は光学系を移動させるためのステッピングモータ
による移動速度を変更すればよいが、モータの最高速値
及び最低速値には自ずと限界がある。そこで、通常は、
ステッピングモータの速度は最高の画像読取密度に合わ
せて一定とし、この速度により決まる基準画像読取密度
と目的とする画像読取密度との比率に応じてラインゲー
ト信号の間引きを行って画像読取りを行わせる有効ライ
ンゲート信号を決定することにより副走査方向の画像読
取密度を見掛け上、目的とする画像読取密度に合わせる
ようにしている。この種の手法は、例えば、特開平3−
74961号公報等により知られている。
[0003] Regardless of the type of scanner, the image reading density can normally be switched, and the main scanning direction is dealt with by electrical processing related to a line sensor. Regarding the image reading density in the sub-scanning direction,
It is sufficient to change the moving speed of the stepping motor for moving the document or the optical system, but the maximum and minimum speeds of the motor are naturally limited. So, usually,
The speed of the stepping motor is made constant in accordance with the highest image reading density, and the image is read by thinning out the line gate signal according to the ratio between the reference image reading density and the target image reading density determined by this speed. By determining the effective line gate signal, the image reading density in the sub-scanning direction is apparently adjusted to the target image reading density. This type of method is disclosed in, for example,
It is known from Japanese Patent No. 74961.

【0004】例えば、ステッピングモータの持つ1ステ
ップパルス分の分解能が基準画像読取密度対応の120
0dpiであるとすると、200dpiの画像読取密度
の読取りを行ないたい場合であれば、6ステップパルス
で1回、1ライン分の画像データを読み取るようにすれ
ばよい。240dpiの画像読取密度の読取りを行ない
たい場合であれば、5ステップパルスで1回、1ライン
分の画像データを読み取るようにすればよい。220d
pi等のように端数を生じてしまう画像読取密度の場合
には、後述する例のように余りを考慮して平均化すれば
よい。
[0004] For example, the resolution of one step pulse of the stepping motor is set to 120 corresponding to the reference image reading density.
Assuming that the resolution is 0 dpi, if it is desired to read at an image reading density of 200 dpi, one line of image data may be read once with a 6-step pulse. If it is desired to read at an image reading density of 240 dpi, one line of image data may be read once with a 5-step pulse. 220d
In the case of an image reading density at which a fraction occurs, such as pi, it is sufficient to average the values taking into account the remainder as in an example described later.

【0005】ところが、ステッピングモータが一定速度
で動作中に、ライン割込みが発生する度に次に間引くた
めのステップパルス数を1ライン毎に計算する手法で
は、割込み処理内の動作時間が長くなり、CPUの負荷
が大きくなってしまう。
However, when the stepping motor is operating at a constant speed, the method of calculating the number of step pulses for thinning out the next time each time a line interrupt occurs for each line requires a long operating time in the interrupt processing. The load on the CPU increases.

【0006】この点、特開平7−226831号公報に
よれば、CPUの負担を軽減し得る手法が示されてい
る。これは、画像データの読取動作を開始する前にステ
ッピングモータのモータステップ数を予め計算してテー
ブル内に格納しておき、実際の読取動作時には、テーブ
ルに記憶されたライン毎のモータステップ数と駆動中の
ステッピングモータのステップパルス数から得られるカ
ウント値とを比較し、一致したら次のラインデータを有
効ラインデータとして取り込むようにしたものである。
In this regard, Japanese Patent Application Laid-Open No. 7-226831 discloses a technique capable of reducing the load on the CPU. This is because the number of motor steps of the stepping motor is calculated in advance before the image data reading operation is started and stored in the table, and at the time of the actual reading operation, the number of motor steps for each line stored in the table is used. The count value obtained from the number of step pulses of the stepping motor being driven is compared with each other, and if they match, the next line data is taken in as effective line data.

【0007】図19は同公報中に示される構成例を示
す。まず、ステッピングモータの速度を一定とした状態
で画像読取密度(dpi)を変更するためのモータステ
ップ数MSは画像データの読取動作開始前に予めライン
毎に算出されており、算出されたモータステップ数の余
りが0になるまでのデータ周期DFを記憶するテーブル
カウンタ1が設けられ、かつ、このデータ周期毎のモー
タステップ数MSをアドレス情報を伴って逐次記憶する
テーブル2が設けられている。一方、ステッピングモー
タを駆動する制御装置(モータドライバ)から送出され
るステップパルスSPを計数するパルスカウンタ3が設
けられ、このパルスカウンタ3で計数された計数値TP
とテーブル2の所定のアドレスから出力されているモー
タステップ数MSとを比較するコンパレータ4が設けら
れている。このコンパレータ4による比較の結果、計数
値TPとモータステップ数MSとが一致した場合、タイ
ミング発生器5を経て所定タイミングで次ラインが有効
ラインであることを指示する読取タイミング信号EN
(イネーブル可信号)が出力される。なお、実際に読取
りが可能になるのは、画像データの1ライン分を示すラ
インゲート信号に依存するため、イネーブル制御部6に
よる判断を経てから最終的に有効となる出力ゲート信号
として出力される。また、このタイミングでパルスカウ
ンタ3がゼロクリアされるとともに、テーブルカウンタ
1もテーブルアドレスを+1更新することで、テーブル
2中から読み出すテーブル値、即ち、モータステップ数
MSとして次のアドレスのものを更新セットする。
FIG. 19 shows a configuration example disclosed in the publication. First, the motor step number MS for changing the image reading density (dpi) in a state where the speed of the stepping motor is kept constant is calculated for each line before the start of the image data reading operation. A table counter 1 for storing a data cycle DF until the remainder of the number becomes 0 is provided, and a table 2 for sequentially storing the number of motor steps MS for each data cycle together with address information is provided. On the other hand, a pulse counter 3 for counting a step pulse SP sent from a control device (motor driver) for driving the stepping motor is provided, and a count value TP counted by the pulse counter 3 is provided.
And a comparator 4 for comparing the motor step number MS output from a predetermined address of the table 2 with the motor step number MS. As a result of the comparison by the comparator 4, when the count value TP matches the motor step number MS, the read timing signal EN indicating that the next line is an effective line at a predetermined timing via the timing generator 5.
(Enable enable signal) is output. Note that what can be actually read depends on a line gate signal indicating one line of image data, and is output as an output gate signal that becomes finally effective after being determined by the enable control unit 6. . At this timing, the pulse counter 3 is cleared to zero, and the table counter 1 also updates the table address by +1 so that the table value read from the table 2, that is, the next step as the motor step number MS is updated and set. I do.

【0008】[0008]

【発明が解決しようとする課題】図19に示す従来方式
に関して、一定速度で回転駆動されるステッピングモー
タの1ステップ分が1200dpiの分解能を有するも
のとし、この条件で、200dpiの画像読取密度に変
更して画像読取りを行うものとすれば、6ステップで1
回入力されたラインデータを読めばよいといえる。この
場合、まず、読込動作開始前にテーブルカウンタ1によ
りテーブルアドレスを更新しながらテーブル2にテーブ
ル値として(TA+1)分(アドレスAまで)、モータ
ステップ数“6”が書込まれる。一方、実際の読取動作
時にはパルスカウンタ3によって“6”までステップパ
ルスSPが計数された時、コンパレータ4からタイミン
グ発生器5に対してイネーブル信号ENを発生し有効ラ
インであることを指示する。
With respect to the conventional system shown in FIG. 19, it is assumed that one step of a stepping motor driven to rotate at a constant speed has a resolution of 1200 dpi, and under this condition, the image reading density is changed to 200 dpi. If image reading is to be performed by
It can be said that the line data input once may be read. In this case, first, the motor step number “6” is written into the table 2 as (TA + 1) (up to the address A) as the table value while updating the table address by the table counter 1 before the reading operation starts. On the other hand, in the actual reading operation, when the pulse counter 3 counts the step pulse SP up to “6”, the comparator 4 generates an enable signal EN to the timing generator 5 to indicate that the line is an effective line.

【0009】また、目標とする画像読取密度が220d
piの場合であれば、 1ライン目 (1200+ 0)÷220=5 余り 100 2ライン目 (1200+100)÷220=5 余り 200 3ライン目 (1200+200)÷220=6 余り 80 4ライン目 (1200+ 80)÷220=5 余り 180 … のように余りを考慮してステップパルス数(MS)が、
5,5,6,5,…となるように算出されて、テーブル
2中に格納される。
Further, the target image reading density is 220d.
In the case of pi, the first line (1200 + 0) ÷ 220 = 5 remainder 100 second line (1200 + 100) ÷ 220 = 5 remainder 200 third line (1200 + 200) ÷ 220 = 6 remainder 80 fourth line (1200 + 80) ) ÷ 220 = 5 Remainder 180 The number of step pulses (MS) is taken into consideration by taking the remainder into account as follows.
Are calculated to be 5, 5, 6, 5,... And stored in the table 2.

【0010】従って、従来例において、そのハードウエ
ア構成を考えると、基準画像読取密度1200dpiに
対して目標画像読取密度が220dpiの場合であれ
ば、テーブル2にはアドレス順に、テーブル値が5,
5,6,5,…のように書き込まれ、目標画像読取密度
が200dpiの場合にはテーブル2にはアドレス順に
全て同じテーブル値6,6,6,6,…が書き込まれ
る。即ち、テーブル値等に関係なくテーブル2用のメモ
リとしてはそのアドレス分(TA+1)が必ず必要であ
り、かつ、各テーブル値のメモリ容量やパルスカウンタ
3のビット数として最低限3ビット必要とする(例え
ば、“6”=“110”であり、3ビット必要)構成と
なっている。即ち、動作制御上は特に支障ない構成では
あるが、メモリないしはハードウエアの利用面で必ずし
も有効に活用しているとはいえず、未だ、有効利用して
メモリ容量を節約し得る面、或るいは、削減し得る面を
有するもであり、不十分な構成である。
Therefore, in the conventional example, considering the hardware configuration, if the target image reading density is 220 dpi with respect to the reference image reading density of 1200 dpi, the table 2 has the table values of 5 and 5 in the address order.
., And when the target image reading density is 200 dpi, the same table values 6, 6, 6, 6,. That is, the address for the table 2 (TA + 1) is always required as the memory for the table 2 irrespective of the table value and the like, and at least 3 bits are required as the memory capacity of each table value and the bit number of the pulse counter 3. (For example, “6” = “110”, and 3 bits are required). That is, although the configuration is not particularly hindered in the operation control, it cannot be said that the memory or hardware is always used effectively, and the memory capacity can be saved by using the memory effectively. Has an aspect that can be reduced, and is an insufficient configuration.

【0011】そこで、本発明は、ステッピングモータの
速度を一定とする条件下で目標画像読取密度への切換え
を確実に行う機能を損なうことなく、極力メモリ容量や
ハードウェアを削減して、全体として低コスト化を図れ
る画像読取装置を提供することを目的とする。
Therefore, the present invention reduces the memory capacity and hardware as much as possible without impairing the function of reliably switching to the target image reading density under the condition that the speed of the stepping motor is kept constant. It is an object of the present invention to provide an image reading device capable of reducing costs.

【0012】[0012]

【課題を解決するための手段】請求項1記載の発明は、
ステッピングモータの速度を一定速度に制御するために
制御装置から送出されるステップパルスと、画像データ
の1ライン分を示す信号として画像処理部から送出され
るラインゲート信号とを入力として、前記ステッピング
モータの速度により決まる基準画像読取密度と目的とす
る画像読取密度との比率に応じて前記ラインゲート信号
の間引きを行って画像読取りを行わせる有効ラインゲー
ト信号を決定することにより副走査方向の画像読取密度
を制御する画像読取装置において、1ライン毎に入力さ
れるラインゲート信号を有効ラインゲート信号とするか
否かを前記ステップパルス毎に発生するゲートイネーブ
ル信号の可否によって決定するようにした。請求項2記
載の発明は、ステップパルス毎にゲートイネーブル信号
を発生させるゲートイネーブル信号発生手段と、1ライ
ン毎に入力されるラインゲート信号を有効ラインゲート
信号とするか否かをゲートイネーブル信号発生手段によ
り発生したゲートイネーブル信号の可否によって決定す
るイネーブル制御手段とを備えた構成とした。
According to the first aspect of the present invention,
The stepping motor receives as input a step pulse sent from a control device for controlling the speed of the stepping motor at a constant speed and a line gate signal sent from an image processing unit as a signal indicating one line of image data. The image reading in the sub-scanning direction is performed by determining the effective line gate signal for performing the image reading by thinning out the line gate signal according to the ratio between the reference image reading density determined by the speed of the image and the target image reading density. In an image reading apparatus for controlling the density, whether or not a line gate signal input for each line is used as an effective line gate signal is determined based on the availability of a gate enable signal generated for each step pulse. According to a second aspect of the present invention, there is provided a gate enable signal generating means for generating a gate enable signal for each step pulse, and generating a gate enable signal for determining whether or not a line gate signal input for each line is an effective line gate signal. And an enable control means for determining whether or not the gate enable signal is generated by the means.

【0013】従って、1ライン毎に入力されるラインゲ
ート信号を有効ラインゲート信号とするか否かを、ステ
ップパルス毎に発生させるようにしたゲートイネーブル
信号の可否によって直接的に決定するので、従来におけ
るパルスカウンタ、コンパレータ、タイミング発生器等
のハードウェアを不要にすることができる。また、ゲー
トイネーブル信号発生手段中に含まれてゲートイネーブ
ル信号の可否情報を記憶するメモリに関しても、可否を
示す1ビットで済み、メモリを節約できる。
Therefore, whether or not a line gate signal input for each line is used as an effective line gate signal is directly determined by the availability of a gate enable signal generated for each step pulse. Hardware such as a pulse counter, a comparator, and a timing generator can be eliminated. Further, the memory for storing the enable / disable information of the gate enable signal, which is included in the gate enable signal generating means, only needs to be one bit indicating the enable / disable, and the memory can be saved.

【0014】請求項3記載の発明は、ゲートイネーブル
信号発生手段を、基準画像読取密度と目的とする画像読
取密度との比率に応じて予めゲートイネーブル信号の可
否情報をアドレスとともに記憶したメモリと、ステップ
パルスに同期して前記メモリからゲートイネーブル信号
を順に読み出させるアドレス情報を出力するアドレス制
御手段とを有する構成とした。従って、メモリは1ライ
ン=1アドレス毎にゲートイネーブル信号の可否を示す
1ビットずつで済み、メモリを節約できる上に、ステッ
プパルスに同期させてメモリから読み出させているの
で、ステッピングモータの実情に対応した制御となり、
比較的精度よく画像読取密度を変更できる。
According to a third aspect of the present invention, there is provided a memory for storing a gate enable signal generating means together with an address in advance with information on availability of a gate enable signal in accordance with a ratio between a reference image reading density and a target image reading density. Address control means for outputting address information for sequentially reading the gate enable signal from the memory in synchronization with the step pulse. Therefore, the memory requires only one bit to indicate whether or not the gate enable signal is available for each line = 1 address. The memory can be saved, and the memory is read from the memory in synchronization with the step pulse. Control corresponding to
The image reading density can be changed relatively accurately.

【0015】請求項4記載の発明は、アドレス制御手段
を、メモリからのゲートイネーブル信号の読み出しに関
する開始アドレスと終了アドレスとを設定する設定手段
を有するものとした。従って、メモリに予め複数の目標
画像読取密度に対応するゲートイネーブル信号の可否情
報を書き込んでおいても後でアドレス指定により必要な
分のみを読み出させることができ、メモリへの設定が一
度で済み、使い勝手がよくなる。また、メモリから読み
出すゲートイネーブル信号の繰返しを指定アドレスに従
い自由に行えるので、ゲートイネーブル信号の可否情報
の持つ周期性を活かすように自由度の高いメモリデータ
作成が可能となる。
According to a fourth aspect of the present invention, the address control means includes setting means for setting a start address and an end address for reading the gate enable signal from the memory. Therefore, even if the enable / disable information of the gate enable signal corresponding to a plurality of target image reading densities is previously written in the memory, only the necessary amount can be read out by specifying the address later. Already, the usability is improved. In addition, since the repetition of the gate enable signal read from the memory can be freely performed in accordance with the designated address, it is possible to create memory data with a high degree of freedom so as to make use of the periodicity of the availability information of the gate enable signal.

【0016】請求項5記載の発明は、アドレス制御手段
を、メモリからのゲートイネーブル信号の読み出しに関
して設定された終了アドレスまで読み出した後、先頭ア
ドレスに戻す循環読出制御手段を有する構成とした。従
って、終了アドレスと先頭アドレスとの間でゲートイネ
ーブル信号の読み出しが繰り返されるので、ゲートイネ
ーブル信号の可否情報の持つ周期性を活かせるととも
に、先頭アドレスに自動復帰するのでハードウェアを一
層節約できる。
According to a fifth aspect of the present invention, the address control means includes a circular read control means for reading out the gate enable signal from the memory up to the set end address and then returning to the head address. Therefore, the reading of the gate enable signal is repeated between the end address and the head address, so that the periodicity of the availability information of the gate enable signal can be utilized, and the head address is automatically restored, so that the hardware can be further saved.

【0017】請求項6記載の発明は、ゲートイネーブル
信号発生手段を、ステップパルスの立ち上がりエッジの
タイミング及び立ち下がりエッジのタイミングで各々ゲ
ートイネーブル信号を発生させる構成とした。従って、
ステップパルスの周波数を上げることなく高速動作させ
ることができるので、電波障害に対する対策や制御の容
易化を図れる。
According to a sixth aspect of the present invention, the gate enable signal generating means is configured to generate the gate enable signal at the timing of the rising edge and the timing of the falling edge of the step pulse. Therefore,
Since high-speed operation can be performed without increasing the frequency of the step pulse, measures against radio interference and simplification of control can be achieved.

【0018】請求項7記載の発明は、ゲートイネーブル
信号を発生させるステップパルスの有効エッジとして、
ステップパルスの立ち上がりエッジのみ、立ち下がりエ
ッジのみ、立ち上がりエッジ及び立ち下がりエッジの両
エッジの何れか一つを選択する有効エッジ選択設定手段
を備える構成とした。ステッピングモータを駆動させる
モータドライバにはそのステップパルスの立ち上がりエ
ッジのみで動作するもの、立ち下がりエッジのみで動作
するもの、立ち上がりエッジ及び立ち下がりエッジの両
エッジで動作するものがあるが、用いるモータドライバ
に応じて有効エッジ選択設定手段により何れのエッジを
有効にするかが選択設定されるので、モータドライバの
仕様に柔軟に対処できる。
According to a seventh aspect of the present invention, as the valid edge of the step pulse for generating the gate enable signal,
An effective edge selection setting means for selecting only the rising edge of the step pulse, only the falling edge, or any one of the rising edge and the falling edge is adopted. The motor driver that drives the stepping motor includes one that operates only at the rising edge of the step pulse, one that operates only at the falling edge, and one that operates at both the rising edge and the falling edge. Which edge is to be activated is selected and set by the valid edge selection and setting means according to the above, so that the specification of the motor driver can be flexibly dealt with.

【0019】請求項8記載の発明は、ゲートイネーブル
信号発生手段は、ゲートイネーブル信号がアクティブレ
ベルになった後で対応するラインゲート信号が入力され
たか否かを示す信号が所定レベルにあるときにそのゲー
トイネーブル信号をインアクティブレベルにオフさせる
オフ条件規制手段を有している。従って、1ライン毎に
入力されるラインゲート信号とステップパルスとの変化
の位相関係が非同期の場合であっても一旦発生したゲー
トイネーブル信号をインアクティブレベルにオフさせる
条件をオフ条件規制手段によってゲートイネーブル信号
がアクティブレベルになった後で対応するラインゲート
信号が入力されたか否かを示す信号が所定レベルにある
ときのみに規制しているので、実質的にゲートイネーブ
ル信号をラインゲート信号待機状態に維持させることが
でき、ラインゲート信号に対応させて実際に有効ライン
ゲート信号を出力させ得る確率が高まる。
According to an eighth aspect of the present invention, the gate enable signal generating means is provided when the signal indicating whether or not the corresponding line gate signal is inputted after the gate enable signal has become active level is at a predetermined level. There is an off condition regulating means for turning off the gate enable signal to an inactive level. Therefore, even if the phase relationship between the change in the line gate signal and the step pulse input for each line is asynchronous, the condition for turning off the once generated gate enable signal to the inactive level is controlled by the off condition regulating means. Since a signal indicating whether or not a corresponding line gate signal has been input after the enable signal has become active level is restricted only when the signal is at a predetermined level, the gate enable signal is substantially set to the line gate signal standby state. , And the probability that an effective line gate signal can be actually output corresponding to the line gate signal is increased.

【0020】請求項9記載の発明は、ゲートイネーブル
信号を強制的にアクティブレベルに固定するアクティブ
レベル優先手段をゲートイネーブル信号発生手段に対し
て有するので、特に、間引き処理を必要としない場合に
読取精度を向上させることができる。
According to the ninth aspect of the present invention, since the gate enable signal generating means has active level priority means for forcibly fixing the gate enable signal to the active level, the read operation is particularly performed when thinning processing is not required. Accuracy can be improved.

【0021】[0021]

【発明の実施の形態】本発明の第一の実施の形態を図1
及び図2に基づいて説明する。本実施の形態は、前述し
た特開平7−226831号公報に示されるような画像
読取密度の切換え方式を前提としており、ステッピング
モータ(本実施の形態では図示せず)の速度を一定速度
に制御するために制御装置(図示せず;例えば、後述す
るCPU)から送出されるステップパルスSPと、画像
データの1ライン分を示す信号として画像処理部(図示
せず)から送出される入力ゲート信号(ラインゲート信
号)とを入力として、ステッピングモータの速度により
決まる基準画像読取密度と目的とする画像読取密度との
比率に応じ入力ゲート信号の間引きを行って実際に画像
読取りを行わせる有効ラインゲート信号なる出力ゲート
信号として決定することにより副走査方向の画像読取密
度を制御する画像処理装置を備えた画像読取装置に適用
される。このような前提的な構成において、本実施の形
態では、1ライン毎に入力される入力ゲート信号を有効
ラインゲート信号なる出力ゲート信号とするか否かをス
テップパルスSP毎に発生するゲートイネーブル信号E
Nの可否によって決定するように構成することを基本と
する。
FIG. 1 shows a first embodiment of the present invention.
A description will be given based on FIG. This embodiment presupposes a system for switching the image reading density as shown in the above-mentioned Japanese Patent Application Laid-Open No. 7-226831, and controls the speed of a stepping motor (not shown in this embodiment) to a constant speed. A step pulse SP sent from a control device (not shown; for example, a CPU to be described later) and an input gate signal sent from an image processing unit (not shown) as a signal indicating one line of image data. (Line gate signal), an effective line gate that actually performs image reading by thinning out an input gate signal in accordance with a ratio between a target image reading density and a reference image reading density determined by the speed of the stepping motor. Image reading apparatus provided with an image processing apparatus for controlling the image reading density in the sub-scanning direction by determining the signal as an output gate signal It is applied. In such a presupposed configuration, in the present embodiment, a gate enable signal generated for each step pulse SP determines whether or not an input gate signal input for each line is an output gate signal that is an effective line gate signal. E
It is basically configured to be determined according to N.

【0022】このため、本実施の形態の画像処理装置1
0では、まず、ステップパルスSP毎にゲートイネーブ
ル信号ENを発生させるゲートイネーブル信号発生手段
11が設けられている。このゲートイネーブル信号発生
手段11は、予め1ライン毎のゲートイネーブル信号の
可否情報(“1”“0”情報)をアドレスとともに記憶
してメモリとなるRAMテーブル12と、ステップパル
スSPに同期してこのRAMテーブル12からゲートイ
ネーブル信号ENを順に読み出すためのアドレス情報を
更新出力するアドレス制御手段となるテーブルカウンタ
13とにより構成されている。
For this reason, the image processing apparatus 1 of the present embodiment
In the case of 0, first, a gate enable signal generating means 11 for generating a gate enable signal EN for each step pulse SP is provided. The gate enable signal generating means 11 stores in advance the enable / disable information ("1""0" information) of the gate enable signal for each line together with the address and a RAM table 12 as a memory, and in synchronization with the step pulse SP. It comprises a table counter 13 serving as an address control means for updating and outputting address information for sequentially reading the gate enable signal EN from the RAM table 12.

【0023】ここに、前記RAMテーブル12に対する
データ作成アルゴリズムは前述した公報例と同様である
が、テーブル値のフォーマットが異なる。例えば、前述
した具体例の一つである基本画像読取密度1200dp
iを目標画像読取密度220dpiに変える場合を想定
すると、従来はモータステップ数MSをテーブル値とし
ているため、アドレス順に、5,5,6,5,…のよう
なテーブル値とされているが、本実施の形態では、 アドレス0 テーブル値0 = 0 アドレス1 テーブル値1 = 0 アドレス2 テーブル値2 = 0 アドレス3 テーブル値3 = 0 アドレス4 テーブル値4 = 1 アドレス5 テーブル値5 = 0 アドレス6 テーブル値6 = 0 アドレス7 テーブル値7 = 0 アドレス8 テーブル値8 = 0 アドレス9 テーブル値9 = 1 アドレス10 テーブル値10= 0 アドレス11 テーブル値11= 0 アドレス12 テーブル値12= 0 アドレス13 テーブル値13= 0 アドレス14 テーブル値14= 0 アドレス15 テーブル値15= 1 (以下、同様) のように1アドレス1ビットでゲートイネーブル信号の
可否情報(“1”が可、“0”が否を示す)が実際に読
取りを行わせるべきライン位置に対応させて書き込まれ
ている。なお、上例ではアドレス0〜4が1ライン目
用、アドレス5〜9が2ライン目用、アドレス10〜1
5が3ライン目用、〜とされている。
Here, the data creation algorithm for the RAM table 12 is the same as that of the above-mentioned publication, but the format of the table value is different. For example, the basic image reading density of 1200 dp, which is one of the specific examples described above.
Assuming that i is changed to the target image reading density of 220 dpi, conventionally, the motor step number MS is set as the table value, and therefore, the table values are 5, 5, 6, 5,... In the present embodiment, address 0 table value 0 = 0 address 1 table value 1 = 0 address 2 table value 2 = 0 address 3 table value 3 = 0 address 4 table value 4 = 1 address 5 table value 5 = 0 address 6 Table value 6 = 0 Address 7 Table value 7 = 0 Address 8 Table value 8 = 0 Address 9 Table value 9 = 1 Address 10 Table value 10 = 0 Address 11 Table value 11 = 0 Address 12 Table value 12 = 0 Address 13 Table Value 13 = 0 Address 14 Table value 14 = 0 Address 15 Table value 5 = 1 (the same applies to the following), the enable / disable information of the gate enable signal (“1” indicates enable, “0” indicates no) in one address and one bit corresponds to the line position to be actually read. Has been written. In the above example, addresses 0 to 4 are for the first line, addresses 5 to 9 are for the second line, addresses 10 to 1
5 is for the third line, and.

【0024】一方、入力ゲート信号と前記メモリ12か
ら読み出されたゲートイネーブル信号ENとの入力を1
ライン毎に受け、その入力ゲート信号を有効ラインゲー
ト信号とするか否かをゲートイネーブル信号ENの可否
によって決定するイネーブル制御手段となるイネーブル
制御回路14が設けられている。
On the other hand, the input of the input gate signal and the gate enable signal EN read from the memory 12 are set to 1
An enable control circuit 14 is provided which is an enable control means that receives an input gate signal for each line and determines whether or not the input gate signal is used as an effective line gate signal depending on the availability of a gate enable signal EN.

【0025】このような構成において、実際の画像読取
動作時には、ステップパルスSPが1パルス出力される
毎にテーブルカウンタ13がカウントアップすることに
より、RAMテーブル12の読み出すベきアドレスが+
1ずつ更新され(TA+1)、アドレス1(0h)から
順にゲートイネーブル信号ENとしてイネーブル制御回
路14に出力される。この時、イネーブル制御回路14
には入力ゲート信号も適宜入力されており、“1”であ
るゲートイネーブル信号ENが入力された時に入力ゲー
ト信号が入力されていればその入力ゲート信号に基づき
イネーブル制御回路14の内部処理により内部ゲートイ
ネーブル信号が作成され、有効であることを示す出力ゲ
ート信号として出力される。
In such a configuration, during the actual image reading operation, the table counter 13 counts up each time one step pulse SP is output, so that the address to be read from the RAM table 12 is +.
It is updated one by one (TA + 1), and output to the enable control circuit 14 as a gate enable signal EN in order from address 1 (0h). At this time, the enable control circuit 14
An input gate signal is also appropriately input to the input terminal. If the input gate signal is input when the gate enable signal EN of “1” is input, the internal processing of the enable control circuit 14 is performed based on the input gate signal. A gate enable signal is created and output as an output gate signal indicating that it is valid.

【0026】図2に示すタイムチャートを参照して説明
すれば、基本的に、入力ゲート信号のうち、目標画像読
取密度に対応して実際に読取動作を行わせたい位置(ラ
イン)の入力ゲート信号のみを出力ゲート信号として通
過させるものである。まず、ステップパルスSPの立ち
上がりエッジでRAMテーブル12のアドレスをテーブ
ルカウンタ13で更新する。この結果、RAMテーブル
12中のテーブル値であるゲートイネーブル信号ENの
可否情報がステップパルスSP毎に読み出され、イネー
ブル制御回路14に与えられる。一方、“1”(可)な
る情報を持つゲートイネーブル信号ENがイネーブル制
御回路14に与えられると、所定のタイミングでイネー
ブル制御回路14内で内部ゲートイネーブル信号が作成
される。この内部ゲートイネーブル信号が“1”の間に
入力ゲート信号が与えられると、そのまま通過可能であ
り、出力ゲート信号(Lレベル)として出力され、読取
ラインであることが指示される。この時、入力ゲート信
号が“0”から“1”に変化すると、内部ゲートイネー
ブル信号も“1”から”0”に戻され、次の“1”
(可)なる情報を持つゲートイネーブル信号ENを待
つ。
Referring to the time chart shown in FIG. 2, basically, of the input gate signals, the input gate at the position (line) where the reading operation is to be actually performed in accordance with the target image reading density. Only the signal is passed as the output gate signal. First, the address of the RAM table 12 is updated by the table counter 13 at the rising edge of the step pulse SP. As a result, the enable / disable information of the gate enable signal EN, which is a table value in the RAM table 12, is read for each step pulse SP, and is provided to the enable control circuit 14. On the other hand, when a gate enable signal EN having information “1” (permitted) is given to the enable control circuit 14, an internal gate enable signal is generated in the enable control circuit 14 at a predetermined timing. When an input gate signal is supplied while the internal gate enable signal is "1", the signal can pass through as it is, is output as an output gate signal (L level), and indicates that the line is a read line. At this time, when the input gate signal changes from "0" to "1", the internal gate enable signal also returns from "1" to "0", and the next "1"
Wait for a gate enable signal EN having the following information.

【0027】本実施の形態によれば、RAMテーブル1
2の構成が1アドレス1ビットで済む上に、ゲートイネ
ーブル信号の可否情報を格納しておりライン毎に直接的
な判断に供されるので、従来のようなパルスカウンタ
3、コンパレータ4、タイミング発生器5等のハードウ
ェアを極力削減することができる。また、図2に示すタ
イムチャートからも分かるように、ステップパルスSP
に同期してゲートイネーブル信号ENを読み出してイネ
ーブル制御回路14の制御に供しているので、比較的精
度のよい密度変換処理を行える。即ち、ステップパルス
SPが目標とする密度位置分移動した所で、コンパレー
タなどの回路処理を経ずに比較的すぐにゲートイネーブ
ル信号ENを出力させることができるためである。
According to the present embodiment, the RAM table 1
2 requires only one bit for one address and stores the enable / disable information of the gate enable signal, which is directly used for each line. Therefore, the conventional pulse counter 3, comparator 4, timing generation Hardware such as the device 5 can be reduced as much as possible. Also, as can be seen from the time chart shown in FIG.
Since the gate enable signal EN is read in synchronization with the control of the enable control circuit 14, the density conversion process can be performed with relatively high accuracy. That is, when the step pulse SP moves by the target density position, the gate enable signal EN can be output relatively quickly without going through circuit processing such as a comparator.

【0028】つづいて、本発明の第二の実施の形態を図
3に基づいて説明する。図1及び図2で示した部分と同
一部分は同一符号を用いて示し、説明も省略する(以下
の実施の形態でも同様とする)。本実施の形態の画像処
理装置10では、テーブルカウンタ13に対して所定カ
ウント値でリセットをかけるリセット信号を出力するコ
ンパレータ15が付加されている。即ち、このコンパレ
ータ15はテーブルカウンタ13のカウント値がコンパ
レータ15に設定されている指定値に達したらこれを終
了アドレスと見做し、再び先頭アドレスからの読み出し
に戻すようにリセットをかけるもので循環読出制御手段
を構成している。
Next, a second embodiment of the present invention will be described with reference to FIG. 1 and 2 are denoted by the same reference numerals, and description thereof is omitted (the same applies to the following embodiments). In the image processing apparatus 10 of the present embodiment, a comparator 15 that outputs a reset signal for resetting the table counter 13 at a predetermined count value is added. That is, when the count value of the table counter 13 reaches the designated value set in the comparator 15, the comparator 15 regards this as an end address and resets the operation so as to return to reading from the head address again. It constitutes read control means.

【0029】このような構成によれば、例えば、前述し
た220dpiなる具体例においてはRAMテーブル1
2におけるデータの周期性を考慮すると、5,5,6で
1周期と見做せるので、コンパレータ15における指定
値を16(=5+5+6なるデータ数対応)に設定して
おけば、アドレス16分のデータを繰返し用いるだけで
所望の制御を行うことができ、RAMテーブル12にお
けるメモリ使用量を節約できる。
According to such a configuration, for example, in the above-described specific example of 220 dpi, the RAM table 1
Considering the periodicity of the data in 2, the 5, 5, and 6 can be regarded as one cycle, so if the designated value in the comparator 15 is set to 16 (corresponding to the number of data of 5 + 5 + 6), the address 16 Desired control can be performed only by repeatedly using data, and the amount of memory used in the RAM table 12 can be saved.

【0030】ちなみに、CPU制御によってRAMテー
ブルのアドレスを初期化することでも同様に動作させる
ことは可能であるが、CPUの負荷が増える上に、ステ
ップパルスが速くなるとCPUでの操作では限界があ
る。この点、本実施の形態ではコンパレータ15なるハ
ードウェアによるため、このような不都合がない上に、
特に、アドレス指定も不要であるのでハードウェア構成
にしても簡単となる。
Incidentally, the same operation can be performed by initializing the address of the RAM table under the control of the CPU. However, if the load on the CPU increases and the step pulse becomes faster, there is a limit in the operation by the CPU. . In this regard, in this embodiment, since the hardware is the comparator 15, there is no such inconvenience.
In particular, since it is not necessary to specify an address, the hardware configuration is simplified.

【0031】また、本発明の第三の実施の形態を図4に
基づいて説明する。本実施の形態の画像処理装置10で
は、テーブルカウンタ13に対してRAMテーブル12
からのゲートイネーブル信号ENの読み出しを行う上で
その開始アドレスを設定するアドレス設定器16と、終
了アドレスを設定するアドレス設定器17とが設定手段
として付加されている。ここに、アドレス設定器16は
設定されたアドレスからの読み出しの開始を指示するも
ので、テーブルカウンタ13に対してはカウンタセット
アドレスを出力する。アドレス設定器17は設定された
アドレスで読み出しの終了を指示するもので、テーブル
カウンタ13に対してはカウンタリセットアドレスを出
力する。
A third embodiment of the present invention will be described with reference to FIG. In the image processing apparatus 10 of the present embodiment, the RAM counter 12
An address setting device 16 for setting a start address and an address setting device 17 for setting an end address in reading the gate enable signal EN from the device are added as setting means. Here, the address setting unit 16 instructs the start of reading from the set address, and outputs a counter set address to the table counter 13. The address setting unit 17 instructs the end of reading at the set address, and outputs a counter reset address to the table counter 13.

【0032】このような構成によれば、テーブルカウン
タ13に設定された開始アドレスと終了アドレスとの間
でRAMテーブル12からの読み出しを繰り返すことが
できるので、RAMテーブル12を少ないメモリ容量で
極めて有効に利用できる。例えば、基準画像読取密度1
200dpiなる条件下に、RAMテーブル12のアド
レス0,1,2,3,4,5に対して0,0,0,0,
0,1の如く、ゲートイネーブル信号の可否情報を格納
しておき、開始アドレスを0、終了アドレスを5とすれ
ば、200dpi対応の仕様となり、同じRAMテーブ
ル12内容でも開始アドレスを3、終了アドレスを5と
すれば400dpi対応の仕様となる。さらに、RAM
テーブル12において続きのアドレス6からアドレス2
2までの16アドレス分に前述した220dpi用の1
周期分のゲートイネーブル信号の可否情報を格納してお
き、開始アドレスと終了アドレスとの指定により読み出
し可能にしておけば、各種の目標画像読取密度に対応す
るためのRAMテーブル12を作成するための計算等が
一度で済むことになり、かつ、メモリ作成の自由度の高
いものとなり使い勝手もよくなる。
According to such a configuration, the reading from the RAM table 12 can be repeated between the start address and the end address set in the table counter 13, so that the RAM table 12 is extremely effective with a small memory capacity. Available to For example, reference image reading density 1
Under the condition of 200 dpi, 0, 0, 0, 0, 0,
If the enable / disable information of the gate enable signal is stored, such as 0 or 1, and the start address is 0 and the end address is 5, the specification conforms to 200 dpi. Even in the same RAM table 12, the start address is 3 and the end address is 3. If 5 is set to 5, the specification is compatible with 400 dpi. Furthermore, RAM
In table 12, the address from address 6 to address 2
1 for 220 dpi described above for 16 addresses up to 2
If the availability information of the gate enable signal for the cycle is stored and can be read out by designating the start address and the end address, the RAM table 12 corresponding to various target image reading densities can be created. Calculations and the like can be performed only once, and the degree of freedom in memory creation is high, so that usability is improved.

【0033】本発明の第四の実施の形態を図5及び図6
に基づいて説明する。本実施の形態の画像処理装置18
では、ステップパルスSPの立ち上がりエッジのタイミ
ングと立ち下がりエッジのタイミングとでともにメモリ
アドレスを更新してゲートイネーブル信号ENを発生さ
せるように機能するゲートイネーブル信号発生手段11
が用いられている。図5のタイムチャートはこの様子を
示しており、ステップパルスSPの立ち上がりエッジ、
立ち下がりエッジのタイミングで何れもテーブルカウン
タ13がカウントアップしてRAMテーブル12のメモ
リアドレスを更新し、このRAMテーブル12に格納さ
れているRAMデータによるイネーブル信号がイネーブ
ル制御回路14に出力される。
FIGS. 5 and 6 show a fourth embodiment of the present invention.
It will be described based on. Image processing device 18 of the present embodiment
The gate enable signal generating means 11 functions to update the memory address at both the rising edge timing and the falling edge timing of the step pulse SP to generate the gate enable signal EN.
Is used. The time chart of FIG. 5 shows this state, in which the rising edge of the step pulse SP,
At the timing of the falling edge, the table counter 13 counts up to update the memory address of the RAM table 12, and an enable signal based on the RAM data stored in the RAM table 12 is output to the enable control circuit 14.

【0034】ちなみに、図2に示した実施の第一の形態
では、ステップパルスSPの立ち上がりエッジのタイミ
ングでのみメモリアドレスを更新しており、ステップパ
ルスSP1つでアドレス更新が1つである。この点、本
実施の形態では、ステップパルスSPの両エッジのタイ
ミングでメモリアドレスを更新しており、ステップパル
スSP1つでアドレス更新が2つなされるので、実質的
にステップパルスSPの周波数を1/2に下げることが
できる。この結果、電波障害に対する対策や制御が、よ
り容易となる。
By the way, in the first embodiment shown in FIG. 2, the memory address is updated only at the timing of the rising edge of the step pulse SP, and one address is updated by one step pulse SP. In this regard, in the present embodiment, the memory address is updated at the timing of both edges of the step pulse SP, and two addresses are updated with one step pulse SP, so that the frequency of the step pulse SP is substantially 1 / 2. As a result, countermeasures and control for radio wave interference become easier.

【0035】ところで、本実施の形態にあっては、画像
処理装置18とステッピングモータ19を駆動するモー
タドライバ20とに対するステップパルスSPは図6に
示すように制御装置であるCPU21により作成されて
直接供給される。ここに、モータドライバ20として
は、ステップパルスSPの立ち上がりエッジのみで動作
するもの、立ち下がりエッジのみで動作するもの、立ち
上がりエッジ及び立ち下がりエッジの両エッジで動作す
るものがあるが、特に支障はない。
In the present embodiment, the step pulses SP for the image processing device 18 and the motor driver 20 for driving the stepping motor 19 are generated by the CPU 21 as a control device as shown in FIG. Supplied. Here, the motor driver 20 includes one that operates only at the rising edge of the step pulse SP, one that operates only at the falling edge, and one that operates at both the rising edge and the falling edge. Absent.

【0036】ちなみに、モータドライバ20がステップ
パルスSPの立ち上がりエッジ及び立ち下がりエッジの
両エッジで動作するものである場合において、図1等に
示した立ち上がりエッジで動作する画像処理装置10を
用いる場合には、参考例として図7に示すように、エッ
ジ検出回路22が必要となり、その分、コスト高とな
る。即ち、CPU21から供給されるステップパルスS
Pの立ち上がりエッジ及び立ち下がりエッジを何れもパ
ルス立ち上がりエッジに変換するためのエッジ検出回路
22が必要となる(図8参照)。このエッジ検出回路2
2は、例えば、図9に示すように、ステップパルスSP
が入力される遅延回路23と、この遅延回路23を経た
ステップパルスSPと遅延回路23を経ないステップパ
ルスSPとが入力される排他的ORゲート24とにより
構成される。この点、本実施の形態によれば、画像処理
装置18自身においてステップパルスSPの立ち上がり
エッジと立ち下がりエッジとで動作するように機能する
ので、CPU21を直接的に接続できるため、エッジ検
出回路22を必要とせずに実現できる。
By the way, when the motor driver 20 operates at both the rising edge and the falling edge of the step pulse SP, and when the image processing apparatus 10 operating at the rising edge shown in FIG. 1 and the like is used. 7, the edge detection circuit 22 is required as shown in FIG. 7 as a reference example, and the cost increases accordingly. That is, the step pulse S supplied from the CPU 21
An edge detection circuit 22 for converting both the rising edge and the falling edge of P into a pulse rising edge is required (see FIG. 8). This edge detection circuit 2
2 is, for example, as shown in FIG.
, And an exclusive OR gate 24 to which a step pulse SP passing through the delay circuit 23 and a step pulse SP not passing through the delay circuit 23 are input. In this regard, according to the present embodiment, since the image processing apparatus 18 itself functions so as to operate at the rising edge and the falling edge of the step pulse SP, the CPU 21 can be directly connected. Can be realized without the need.

【0037】本発明の第五の実施の形態を図10に基づ
いて説明する。本実施の形態では、図1等に示した構成
の画像処理装置10に対するステップパルスSPの入力
部に有効エッジ選択設定回路(有効エッジ選択設定手
段)25が付加されて処理装置26が構成されている。
この有効エッジ選択設定回路25は、エッジ検出回路2
7と、反転回路28と、CPU21から供給されるステ
ップパルスSP中で前記エッジ検出回路27を経たパル
スと前記反転回路28を経たパルスと無処理のパルスと
が入力されるセレクタ29とにより構成されている。前
記エッジ検出回路27は前記エッジ検出回路22と同じ
であり、ステップパルスSP中の立ち上がりエッジ部分
と立ち下がりエッジ部分とでともに立上るパルスに変換
する機能を有し、ステップパルスSPの立ち上がりエッ
ジ及び立ち下がりエッジ用に用いられる。前記反転回路
28はステップパルスSPのHレベルとLレベルとを反
転させるもので、ステップパルスSPの立ち下がりエッ
ジを立ち上がりエッジに変換する機能を果たす。前記セ
レクタ29はこれらの3系統のステップパルスSPのう
ちの何れか1系統のみをCPU21からの選択信号に応
じて画像処理装置10中に入力させる。前記CPU2は
用いるモータドライバ20の仕様に応じた選択信号を出
力する。
A fifth embodiment of the present invention will be described with reference to FIG. In this embodiment, a processing device 26 is configured by adding an effective edge selection setting circuit (effective edge selection setting means) 25 to the input section of the step pulse SP for the image processing device 10 having the configuration shown in FIG. I have.
The valid edge selection setting circuit 25 is provided with the edge detection circuit 2
7, an inverting circuit 28, and a selector 29 to which a pulse that has passed through the edge detecting circuit 27, a pulse that has passed through the inverting circuit 28, and an unprocessed pulse among the step pulses SP supplied from the CPU 21 are input. ing. The edge detection circuit 27 is the same as the edge detection circuit 22 and has a function of converting a pulse rising at both a rising edge portion and a falling edge portion in the step pulse SP. Used for falling edge. The inverting circuit 28 inverts the H level and the L level of the step pulse SP, and has a function of converting a falling edge of the step pulse SP into a rising edge. The selector 29 inputs only one of the three step pulses SP into the image processing apparatus 10 in accordance with a selection signal from the CPU 21. The CPU 2 outputs a selection signal according to the specification of the motor driver 20 to be used.

【0038】このような構成において、使用するモータ
ドライバ20がステップパルスSPの立ち上がりエッジ
でのみ動作する仕様の場合、CPU21からの選択信号
によってセレクタ29は無処理のステップパルスSPを
選択し、画像処理装置10中のテーブルカウンタ13に
出力する。即ち、機能的には、図1に示した構成と同じ
となり、ステップパルスSPの立ち上がりエッジのタイ
ミングでRAMテーブル12のメモリアドレスが更新さ
れる。また、使用するモータドライバ20がステップパ
ルスSPの立ち下がりエッジでのみ動作する仕様の場
合、CPU21からの選択信号によってセレクタ29は
反転回路28により反転されたステップパルスSPを選
択し、画像処理装置10中のテーブルカウンタ13に出
力する。従って、テーブルカウンタ13は実質的にステ
ップパルスSPの立ち下がりエッジのタイミングでRA
Mテーブル12のメモリアドレスを更新する。さらに、
使用するモータドライバ20がステップパルスSPの立
ち上がりエッジ及び立ち下がりエッジの両方タイミング
で動作する仕様の場合、CPU21からの選択信号によ
ってセレクタ29はエッジ検出回路27を経たパルスを
選択し、画像処理装置10中のテーブルカウンタ13に
出力する。従って、テーブルカウンタ13は実質的にス
テップパルスSPの立ち上がりエッジ及び立ち下がりエ
ッジのタイミングでRAMテーブル12のメモリアドレ
スを更新する。このようにして、用いるモータドライバ
20の仕様が何れであってもCPU21に対するソフト
ウェアの変更のみで柔軟に対処でき、処理装置26に関
してハードウェア構成の変更を要しない。特に、本実施
の形態のような画像処理装置10はIC化されることが
多いため、一定のゲート数を超えない範囲であればコス
ト的に殆ど増加がない。特に図10中に示す有効エッジ
選択設定回路25程度の回路の追加ではコスト的な影響
は殆どない。
In such a configuration, when the motor driver 20 to be used operates only at the rising edge of the step pulse SP, the selector 29 selects the unprocessed step pulse SP in response to the selection signal from the CPU 21 and performs image processing. Output to the table counter 13 in the device 10. That is, functionally, the configuration is the same as that shown in FIG. 1, and the memory address of the RAM table 12 is updated at the timing of the rising edge of the step pulse SP. When the motor driver 20 to be used operates only at the falling edge of the step pulse SP, the selector 29 selects the step pulse SP inverted by the inverting circuit 28 in response to a selection signal from the CPU 21, and the image processing apparatus 10 Output to the inside table counter 13. Accordingly, the table counter 13 sets the signal RA at substantially the timing of the falling edge of the step pulse SP.
The memory address of the M table 12 is updated. further,
When the motor driver 20 to be used operates at both the rising edge and the falling edge of the step pulse SP, the selector 29 selects a pulse that has passed through the edge detection circuit 27 according to a selection signal from the CPU 21, and the image processing apparatus 10 Output to the inside table counter 13. Therefore, the table counter 13 updates the memory address of the RAM table 12 substantially at the timing of the rising edge and the falling edge of the step pulse SP. In this manner, any specification of the motor driver 20 to be used can be flexibly dealt with only by changing the software of the CPU 21 and the hardware configuration of the processing device 26 does not need to be changed. In particular, since the image processing apparatus 10 according to the present embodiment is often implemented as an IC, there is almost no increase in cost as long as the number does not exceed a certain number of gates. In particular, the addition of a circuit such as the effective edge selection setting circuit 25 shown in FIG.

【0039】本発明の第六の実施の形態を図11ないし
図17に基づいて説明する。本実施の形態は、入力ゲー
ト信号(ラインゲート信号)とステップパルスSPとの
変化が非同期の場合に起こり得る読取精度の劣化を少な
くすることを考慮したものである。
A sixth embodiment of the present invention will be described with reference to FIGS. The present embodiment is designed to reduce the deterioration of the reading accuracy that can occur when the change between the input gate signal (line gate signal) and the step pulse SP is asynchronous.

【0040】その前提として、例えば、前述した第四の
実施の形態中の図5方式を再検討する。即ち、ステップ
パルスSPの立ち上がりエッジのタイミングと立ち下が
りエッジのタイミングとでともにRAMテーブル12の
メモリアドレスを更新してゲートイネーブル信号ENを
発生させる方式である。入力ゲート信号とステップパル
スとの位相関係が図5に示すような同期関係にある場合
には、RAMデータが“1”になったタイミングでゲー
トイネーブル信号がアクティブになり入力ゲート信号を
イネーブルにした後、この入力ゲート信号の立ち上がり
エッジにてイネーブル信号をインアクティブにするの
で、図示の如く、所望の出力ゲート信号が得られる。
As a prerequisite, for example, the method of FIG. 5 in the above-described fourth embodiment will be reviewed. In other words, the memory address of the RAM table 12 is updated at both the rising edge timing and the falling edge timing of the step pulse SP to generate the gate enable signal EN. When the phase relationship between the input gate signal and the step pulse has a synchronous relationship as shown in FIG. 5, the gate enable signal becomes active at the timing when the RAM data becomes "1", and the input gate signal is enabled. Thereafter, the enable signal is made inactive at the rising edge of the input gate signal, so that a desired output gate signal is obtained as shown in the figure.

【0041】ところが、入力ゲート信号とステップパル
スSPとの変化の位相関係が図17に示すように非同期
な関係にある場合には、画像の読取ラインに大きなずれ
を生じて画像劣化を起こすことがある。即ち、図17に
示すような非同期な場合、RAMテーブル12からデー
タ(イネーブル信号)読出したタイミングでは入力ゲー
ト信号が既にアクティブになっているため、次の入力ゲ
ート信号が入力れるまで出力ゲート信号が出力されない
ことがあるからである(t8,t11,t12)。
However, when the phase relationship between the change of the input gate signal and the change of the step pulse SP is asynchronous as shown in FIG. 17, the image reading line may be greatly shifted to cause image deterioration. is there. That is, in the case of the asynchronous state as shown in FIG. 17, the input gate signal is already active at the timing when data (enable signal) is read from the RAM table 12, so that the output gate signal is not applied until the next input gate signal is input. This is because the data may not be output (t8, t11, t12).

【0042】この点を具体例を用いて詳細に説明する。
いま、ステップパルスSPが1パルス発生するときに読
取部が進む距離が1100dpiの1ライン分(即ち、
1/1100≒9.1×10~4インチ)であるとし、目
的とする画像読取密度を400dpiとして読み取る場
合を想定する。この場合、間引きパターンは、 1ライン目 (1100+ 0)÷400=2 余り 300 2ライン目 (1100+300)÷400=3 余り 200 3ライン目 (1100+200)÷400=3 余り 100 4ライン目 (1100+100)÷400=3 余り 0 … となる。よって、RAMテーブル12中に書き込まれる
データパターンは、図17中のRAMデータとして図示
する如く、…01 001 001 001…の繰返し
となる。また、第四の実施の形態中で説明したように、
ステップパルスSPの立ち上がりエッジ及び立ち下がり
エッジで回転する仕様のステッピングモータが用いられ
ているものとする。
This point will be described in detail using a specific example.
Now, when one pulse of the step pulse SP is generated, the distance traveled by the reading unit corresponds to one line of 1100 dpi (that is, one line).
1/1100 (9.1 × 10 to 4 inches), and assume that the target image reading density is 400 dpi. In this case, the thinning pattern is as follows: 1st line (1100 + 0) = 400 = 2 remainder 300 2nd line (1100 + 300) ÷ 400 = 3 remainder 200 3rd line (1100 + 200) ÷ 400 = 3 remainder 100 4th line (1100 + 100) ÷ 400 = 3 The remainder is 0. Therefore, the data pattern written in the RAM table 12 is a repetition of 01 001 001 001... As shown in the RAM data in FIG. Also, as described in the fourth embodiment,
It is assumed that a stepping motor having a specification of rotating at the rising edge and the falling edge of the step pulse SP is used.

【0043】このような前提においては、RAMデータ
からもわかるように、ステップパルスSPが11パルス
出る間に入力ゲート信号を出力ゲート信号として4つ通
過させれば400dpiの画像読取密度となる等速時の
動作タイミングが図17に示されている。まず、ステッ
プパルスSPが2パルス進むと(t1)、メモリアドレ
スは0,1と進み、RAMテーブル12からデータ
“1”を読出すことで(t2)、ゲートイネーブル信号
が“1”となる(t3)。丁度この時(実際には、その
直後以降)に入力ゲート信号が入力されると(t4)、
出力ゲート信号も出力される(t5)。つづいて、ステ
ップパルスSPの5パルス目にRAMテーブル12のデ
ータが“1”となり(t6)、ゲートイネーブル信号が
出力される(t7)。ところが、この時点では入力ゲー
ト信号は既にアクティブになっているため、出力ゲート
信号は出力されない(t8)。他のデータ“1”なるタ
イミング(t9,t10)でも同様であり、出力ゲート
信号は出力されない(t11,t12)。このままで
は、3ライン分について画像読出し位置がずれてしま
い、読取画像の劣化の激しいものとなる。
Under such a premise, as can be seen from the RAM data, if four input gate signals are passed as output gate signals while eleven step pulses SP are output, an image reading density of 400 dpi is obtained. The operation timing at this time is shown in FIG. First, when the step pulse SP advances by two pulses (t1), the memory address advances to 0 and 1, and by reading data "1" from the RAM table 12 (t2), the gate enable signal becomes "1" (t2). t3). At this time (actually, immediately after), when an input gate signal is input (t4),
An output gate signal is also output (t5). Subsequently, at the fifth pulse of the step pulse SP, the data in the RAM table 12 becomes "1" (t6), and a gate enable signal is output (t7). However, at this time, since the input gate signal has already been activated, no output gate signal is output (t8). The same applies to other data “1” timings (t9, t10), and no output gate signal is output (t11, t12). In this state, the image reading position is shifted for three lines, and the read image is greatly deteriorated.

【0044】このようなことから、本実施の形態では、
図11に示すようにゲートイネーブル信号生成回路30
が付加されて構成されている。このゲートイネーブル信
号生成回路30は前述したゲートイネーブル信号生成手
段11の主要部を構成するもので、概略的には、RAM
テーブル12中のRAMデータ、特に、“1”なるデー
タと入力ゲート信号とに基づきゲートイネーブル信号E
Nを生成する機能を持つ。このゲートイネーブル信号生
成回路30は図12に示すように入力ゲート信号とRA
Mテーブル12のRAMデータとを入力としてオフ条件
規制手段として機能するゲートイネーブル信号リセット
信号生成回路31と、入力ゲート信号の立ち下がりエッ
ジを検出する立ち下がりエッジ検出回路32と、これら
のゲートイネーブル信号リセット信号生成回路31と立
ち下がりエッジ検出回路32との出力信号同士の論理積
をとるANDゲート33と、RAMテーブル12中のR
AMデータにおける“1”なるデータの立ち上がりエッ
ジを検出する立ち上がりエッジ検出回路34と、前記立
ち上がりエッジ検出回路34の出力によりセットされて
ゲートイネーブル信号ENを出力し前記ANDゲート3
3の出力によりリセットされるフリップフロップ構成の
1ビット記憶素子35とにより構成されている。
From the above, in the present embodiment,
As shown in FIG. 11, the gate enable signal generation circuit 30
Is added. The gate enable signal generation circuit 30 constitutes a main part of the gate enable signal generation means 11 described above.
The gate enable signal E based on the RAM data in the table 12, particularly, the data "1" and the input gate signal.
It has a function of generating N. The gate enable signal generation circuit 30 receives the input gate signal and RA as shown in FIG.
A gate enable signal reset signal generating circuit 31 functioning as an off condition restricting means using the RAM data of the M table 12 as an input; a falling edge detecting circuit 32 for detecting a falling edge of the input gate signal; An AND gate 33 for calculating the logical product of the output signals of the reset signal generation circuit 31 and the falling edge detection circuit 32;
A rising edge detection circuit 34 for detecting a rising edge of "1" data in the AM data; and a gate enable signal EN which is set by the output of the rising edge detection circuit 34 to output the AND gate 3
3 and a 1-bit storage element 35 having a flip-flop configuration that is reset by the output of C.3.

【0045】ここに、前記ゲートイネーブル信号リセッ
ト信号生成回路31は図13に示すように、入力ゲート
信号の立ち下がりエッジを検出する立ち下がりエッジ検
出回路36と、RAMテーブル12中のRAMデータに
おける“1”なるデータの立ち上がりエッジを検出する
立ち上がりエッジ検出回路37と、立ち下がりエッジ検
出回路36の出力によりリセットされ立ち上がりエッジ
検出回路37の出力によりリセットされるフリップフロ
ップ構成の1ビット記憶素子38とにより構成されてい
る。前記立ち下がりエッジ検出回路36は例えば図14
に示すように入力ゲート信号を遅延回路39で遅延させ
た信号と入力ゲー信号の反転信号とを入力とするAND
ゲート40により構成されている。前記立ち上がりエッ
ジ検出回路37は例えば図15に示すようにRAMデー
タにおける“1”なるデータを遅延回路39で遅延させ
てさらに反転させた信号とRAMデータにおける“1”
なるデータとを入力とするANDゲート40により構成
されている。これにより、ゲートイネーブル信号リセッ
ト信号生成回路31は、ゲートイネーブル信号が一旦ア
クティブレベル(“1”レベル)になった後で対応する
入力ゲート信号が入力されたか否かを示すゲートイネー
ブル信号リセット信号が所定レベル(Hレベル)にある
ときにそのゲートイネーブル信号をインアクティブレベ
ル(“0”レベル)にオフさせるように機能する。
Here, as shown in FIG. 13, the gate enable signal reset signal generation circuit 31 includes a falling edge detection circuit 36 for detecting a falling edge of the input gate signal, and " A rising edge detection circuit 37 for detecting a rising edge of data "1" and a 1-bit storage element 38 of a flip-flop configuration which is reset by the output of the falling edge detection circuit 36 and reset by the output of the rising edge detection circuit 37. It is configured. The falling edge detection circuit 36 is, for example, as shown in FIG.
As shown in (1), an AND which receives a signal obtained by delaying the input gate signal by the delay circuit 39 and an inverted signal of the input gate signal as inputs
It is constituted by a gate 40. For example, as shown in FIG. 15, the rising edge detection circuit 37 delays the data "1" in the RAM data by the delay circuit 39 and further inverts the signal to "1" in the RAM data.
And an AND gate 40 to which the following data is input. As a result, the gate enable signal reset signal generation circuit 31 outputs the gate enable signal reset signal indicating whether or not the corresponding input gate signal has been input after the gate enable signal once becomes the active level (“1” level). When the gate enable signal is at a predetermined level (H level), it functions to turn off the gate enable signal to an inactive level (“0” level).

【0046】このような構成において、図17の場合と
同様な前提の下に、本実施の形態における動作制御例を
図18に示すタイムチャートを参照して説明する。即
ち、RAMデータからもわかるように、ステップパルス
SPが11パルス出る間に入力ゲート信号を出力ゲート
信号として4つ通過させれば400dpiの画像読取密
度となる等速時の動作タイミングが図18に示されてい
る。まず、ステップパルスSPが2パルス進むと(T
1)、メモリアドレスは0,1と進み、RAMテーブル
12からデータ“1”を読出すことで(T2)、ゲート
イネーブル信号が“1”となる(T3)。この点は、図
17の場合と同様である。この時、ゲートイネーブル信
号リセット信号生成回路31から出力されるゲートイネ
ーブル信号リセット信号は、ゲートイネーブル信号が一
旦立ち上がったのでLレベルになるが(T4)、入力ゲ
ート信号がすぐに入力されるので(T5)、ゲートイネ
ーブル信号リセット信号はすぐにHレベルに戻る(T
6)。このため、出力ゲート信号が出力された直後(T
7)、入力ゲート信号の立ち上がりエッジでゲートイネ
ーブル信号はインアティブレベルに戻る(T8)。即
ち、ゲートイネーブル信号リセット信号がHレベルにあ
る条件下でゲートイネーブル信号がリセットされる。つ
づいて、ステップパルスSPの5パルス目にRAMテー
ブル12のデータが“1”となり(T9)、ゲートイネ
ーブル信号が出力されても(T10)、この時点では入
力ゲート信号は既にアクティブになっているため、出力
ゲート信号は出力されない(T11)点は図17の場合
と同様である。これにより、このケースでは1ライン抜
けを生ずる。
In such a configuration, an example of operation control in the present embodiment will be described with reference to a time chart shown in FIG. 18 on the same premise as in FIG. That is, as can be seen from the RAM data, if four input gate signals are passed as output gate signals while eleven step pulses SP are output, the operation timing at the constant speed at which the image reading density becomes 400 dpi is shown in FIG. It is shown. First, when the step pulse SP advances by two pulses (T
1), the memory address advances to 0 and 1, and by reading data "1" from the RAM table 12 (T2), the gate enable signal becomes "1" (T3). This is the same as in the case of FIG. At this time, the gate enable signal reset signal output from the gate enable signal reset signal generation circuit 31 becomes L level because the gate enable signal once rises (T4), but the input gate signal is input immediately (T4). T5), the gate enable signal reset signal immediately returns to the H level (T5).
6). Therefore, immediately after the output gate signal is output (T
7) At the rising edge of the input gate signal, the gate enable signal returns to the inactive level (T8). That is, the gate enable signal is reset under the condition that the gate enable signal reset signal is at the H level. Subsequently, the data of the RAM table 12 becomes "1" at the fifth pulse of the step pulse SP (T9), and even if the gate enable signal is output (T10), the input gate signal is already active at this point. Therefore, the point that the output gate signal is not output (T11) is the same as in the case of FIG. Thus, in this case, one line is missing.

【0047】ところが、この時点では、ゲートイネーブ
ル信号リセット信号はゲートイネーブル信号の立ち上が
りでLレベルになったままであるので(T12)、ゲー
トイネーブル信号はインアクティブレベルにリセットさ
れない(T13)。即ち、ゲートイネーブル信号は次の
入力ゲート信号の入力を待つ待機状態にあり、入力ゲー
ト信号が入力された時点で(T14)、出力ゲート信号
が出力される(T15)。次の入力ゲート信号が入力さ
れた時点(T16)でも同様であり、出力ゲート信号が
出力される(T17)。
However, at this time, since the gate enable signal reset signal remains at the L level at the rise of the gate enable signal (T12), the gate enable signal is not reset to the inactive level (T13). That is, the gate enable signal is in a standby state waiting for the input of the next input gate signal, and when the input gate signal is input (T14), the output gate signal is output (T15). The same applies at the time (T16) when the next input gate signal is input, and the output gate signal is output (T17).

【0048】よって、本実施の形態によれば、図17と
の対比からもわかるように、入力ゲート信号とステップ
パルスSPとの変化の位相関係が非同期であっても、3
ライン分の読取誤差が例えば1ライン分の誤差に減少
し、読取画質の劣化の程度が改善される。
Therefore, according to the present embodiment, as can be seen from the comparison with FIG. 17, even if the phase relationship of the change between the input gate signal and the step pulse SP is asynchronous,
The reading error for the line is reduced to, for example, an error for one line, and the degree of deterioration of the read image quality is improved.

【0049】本発明の第七の実施の形態を図18に基づ
いて説明する。本実施の形態では、ゲートイネーブル信
号リセット信号生成回路31のイネーブル制御回路14
に対する出力側にORゲート43が介在されている。こ
のORゲート43はゲートイネーブル信号リセット信号
生成回路31の出力と外部からの選択的な強制イネーブ
ル信号とを入力とするもので、アクティブレベル優先手
段として機能する。
A seventh embodiment of the present invention will be described with reference to FIG. In the present embodiment, the enable control circuit 14 of the gate enable signal reset signal generation circuit 31
An OR gate 43 is interposed on the output side with respect to. The OR gate 43 receives the output of the gate enable signal reset signal generation circuit 31 and an external selective forced enable signal, and functions as active level priority means.

【0050】本実施の形態によれば、特に間引き処理を
必要としない場合には、外部から強制イネーブル信号を
与えることにより、ゲートイネーブル信号リセット信号
生成回路31側からのゲートイネーブル信号の状態に関
係なく、強制的にゲートイネーブル信号をアクティブレ
ベルに固定することができる。よって、後は入力ゲート
信号に従って出力ゲート信号を出力させ、間引きのない
画像読取動作を行わせることができる。よって、画質劣
化を生じない読取りが随時可能となる。
According to the present embodiment, when the thinning process is not particularly required, a forced enable signal is supplied from the outside so that the state of the gate enable signal from the gate enable signal reset signal generating circuit 31 can be reduced. Therefore, the gate enable signal can be forcibly fixed to the active level. Therefore, it is possible to output an output gate signal in accordance with the input gate signal, thereby performing an image reading operation without thinning. Therefore, reading without deteriorating the image quality can be performed at any time.

【0051】[0051]

【発明の効果】請求項1及び2記載の発明よれば、1ラ
イン毎に入力されるラインゲート信号を有効ラインゲー
ト信号とするか否かをステップパルス毎に発生するゲー
トイネーブル信号の可否によって直接的に決定するよう
にし、このために、ステップパルス毎にゲートイネーブ
ル信号を発生させるゲートイネーブル信号発生手段と、
1ライン毎に入力されるラインゲート信号を有効ライン
ゲート信号とするか否かをゲートイネーブル信号発生手
段により発生したゲートイネーブル信号の可否によって
決定するイネーブル制御手段とを備えるようにしたの
で、従来におけるパルスカウンタ、コンパレータ、タイ
ミング発生器等のハードウェアを不要にすることがで
き、また、ゲートイネーブル信号発生手段中に含まれて
ゲートイネーブル信号の可否情報を記憶するメモリに関
しても、可否を示す1ビットで済ませ、メモリを節約す
ることができる。
According to the first and second aspects of the present invention, whether a line gate signal input for each line is set as an effective line gate signal is directly determined by the availability of a gate enable signal generated for each step pulse. A gate enable signal generating means for generating a gate enable signal for each step pulse;
And an enable control means for determining whether or not a line gate signal input for each line is an effective line gate signal according to whether or not the gate enable signal generated by the gate enable signal generation means is provided. Hardware such as a pulse counter, a comparator, and a timing generator can be made unnecessary. In addition, a memory for storing the enable / disable information of the gate enable signal, which is included in the gate enable signal generating means, also has a 1 bit indicating whether or not it is available And save memory.

【0052】請求項3記載の発明によれば、ゲートイネ
ーブル信号発生手段を、基準画像読取密度と目的とする
画像読取密度との比率に応じて予めゲートイネーブル信
号の可否情報をアドレスとともに記憶したメモリと、ス
テップパルスに同期して前記メモリからゲートイネーブ
ル信号を順に読み出させるアドレス情報を出力するアド
レス制御手段とを有する構成としたので、メモリは1ラ
イン=1アドレス毎にゲートイネーブル信号の可否を示
す1ビットずつで済み、メモリを節約できる上に、ステ
ップパルスに同期させてメモリから読み出すようにして
いるので、ステッピングモータの実情に対応した直接的
な制御となり、比較的精度よく画像読取密度を変更する
ことができる。
According to the third aspect of the present invention, the memory in which the gate enable signal generating means stores in advance the availability information of the gate enable signal together with the address in accordance with the ratio between the reference image reading density and the target image reading density. And address control means for outputting address information for sequentially reading the gate enable signal from the memory in synchronization with the step pulse, so that the memory determines whether or not the gate enable signal is available for each line = 1 address. Since only one bit is required, the memory can be saved, and the data is read from the memory in synchronization with the step pulse. Therefore, direct control corresponding to the actual situation of the stepping motor is achieved, and the image reading density can be relatively accurately adjusted. Can be changed.

【0053】請求項4記載の発明よれば、アドレス制御
手段を、メモリからのゲートイネーブル信号の読み出し
に関する開始アドレスと終了アドレスとを設定する設定
手段を有するものとしたので、メモリに予め複数の目標
画像読取密度に対応するゲートイネーブル信号の可否情
報を書き込んでおいても後でアドレス指定により必要な
分のみを読み出させることができ、メモリへの設定が一
度で済み、使い勝手を向上させることができ、さらに
は、メモリから読み出すゲートイネーブル信号の繰返し
を指定アドレスに従い自由に行えるので、ゲートイネー
ブル信号の可否情報の持つ周期性を活かすように自由度
の高いメモリデータ作成が可能となる。
According to the fourth aspect of the present invention, the address control means has the setting means for setting the start address and the end address for reading the gate enable signal from the memory. Even if the enable / disable information of the gate enable signal corresponding to the image reading density is written, only the necessary portion can be read later by specifying the address, and the setting to the memory can be performed only once, thereby improving the usability. In addition, the repetition of the gate enable signal read from the memory can be freely performed according to the designated address, so that the memory data with a high degree of freedom can be created so as to make use of the periodicity of the availability information of the gate enable signal.

【0054】請求項5記載の発明によれば、アドレス制
御手段を、メモリからのゲートイネーブル信号の読み出
しに関して設定された終了アドレスまで読み出した後、
先頭アドレスに戻す循環読出制御手段を有する構成とし
たので、ゲートイネーブル信号の可否情報の持つ周期性
を活かせるとともに、先頭のアドレスに自動復帰するの
でハードウェアを一層節約することができる。
According to the fifth aspect of the present invention, after reading the address control means up to the end address set for reading the gate enable signal from the memory,
With the configuration including the cyclic read control means for returning to the head address, the periodicity of the availability information of the gate enable signal can be utilized, and the hardware can be further saved by automatically returning to the head address.

【0055】請求項6記載の発明によれば、ゲートイネ
ーブル信号発生手段を、ステップパルスの立ち上がりエ
ッジのタイミング及び立ち下がりエッジのタイミングで
各々ゲートイネーブル信号を発生させる構成としたの
で、ステップパルスの周波数を上げることなく高速動作
させることができ、よって、電波障害に対する対策や制
御を、より容易なものとすることができる。
According to the sixth aspect of the present invention, the gate enable signal generating means is configured to generate the gate enable signal at the timing of the rising edge and the timing of the falling edge of the step pulse. Therefore, high-speed operation can be performed without increasing power consumption, and thus countermeasures and control for radio wave interference can be made easier.

【0056】請求項7記載の発明によれば、ゲートイネ
ーブル信号を発生させるステップパルスの有効エッジと
して、ステップパルスの立ち上がりエッジのみ、立ち下
がりエッジのみ、立ち上がりエッジ及び立ち下がりエッ
ジの両エッジの何れか一つを選択する有効エッジ選択設
定手段を備える構成としたので、ステッピングモータを
駆動させるモータドライバにはそのステップパルスの立
ち上がりエッジのみで動作するもの、立ち下がりエッジ
のみで動作するもの、立ち上がりエッジ及び立ち下がり
エッジの両エッジで動作するものがあるが、用いるモー
タドライバの仕様に応じて有効エッジ選択設定手段によ
り何れのエッジを有効にするかが選択設定されるので、
ハードウェアに変更を要せずモータドライバの仕様に応
じて柔軟に対処することができる。
According to the seventh aspect of the present invention, as the effective edge of the step pulse for generating the gate enable signal, only the rising edge of the step pulse, only the falling edge, or both of the rising edge and the falling edge Since the configuration is provided with an effective edge selection setting means for selecting one, a motor driver that drives the stepping motor operates only at the rising edge of the step pulse, operates only at the falling edge, and operates at the rising edge. Some of them operate on both falling edges. However, depending on the specifications of the motor driver to be used, which edge is to be made valid is selected and set by the valid edge selection setting means.
It is possible to flexibly cope with the specifications of the motor driver without changing the hardware.

【0057】請求項8記載の発明によれば、ゲートイネ
ーブル信号発生手段は、ゲートイネーブル信号がアクテ
ィブレベルになった後で対応するラインゲート信号が入
力されたか否かを示す信号が所定レベルにあるときにそ
のゲートイネーブル信号をインアクティブレベルにオフ
させるオフ条件規制手段を有しているので、1ライン毎
に入力されるラインゲート信号とステップパルスとの変
化の位相関係が非同期の場合であっても一旦発生したゲ
ートイネーブル信号をインアクティブレベルにオフさせ
る条件をオフ条件規制手段によってゲートイネーブル信
号がアクティブレベルになった後で対応するラインゲー
ト信号が入力されたか否かを示す信号が所定レベルにあ
るときのみに規制することで、実質的にゲートイネーブ
ル信号をラインゲート信号待機状態に維持させることが
でき、よって、ラインゲート信号に対応させて実際に有
効ラインゲート信号を出力させ得る確率が高まり、読取
画質の劣化を抑制できる。
According to the eighth aspect of the present invention, the gate enable signal generating means has a signal indicating whether or not a corresponding line gate signal has been input after the gate enable signal has become active level at a predetermined level. Sometimes, there is an off condition regulating means for turning off the gate enable signal to the inactive level, so that the phase relationship between the change of the line gate signal input for each line and the step pulse is asynchronous. Also, the condition for turning off the once generated gate enable signal to the inactive level is changed to a predetermined level by a signal indicating whether or not the corresponding line gate signal has been input after the gate enable signal has become active level by the off condition regulating means. By restricting only at certain times, the gate enable signal is effectively line-gated. Can be maintained in preparative signal standby state, thus increasing the probability that can be actually output valid line gate signal to correspond to the line gate signal, it is possible to suppress the deterioration of the read image quality.

【0058】請求項9記載の発明によれば、ゲートイネ
ーブル信号を強制的にアクティブレベルに固定するアク
ティブレベル優先手段をゲートイネーブル信号発生手段
に対して有しているので、特に、間引き処理を必要とし
ない場合には簡単に読取精度を向上させることができ
る。
According to the ninth aspect of the present invention, since the gate enable signal generating means has active level priority means for forcibly fixing the gate enable signal to the active level, thinning processing is particularly necessary. If not, the reading accuracy can be easily improved.

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

【図1】本発明の第一の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】動作を示すタイムチャートである。FIG. 2 is a time chart showing an operation.

【図3】本発明の第二の実施の形態を示すブロック図で
ある。
FIG. 3 is a block diagram showing a second embodiment of the present invention.

【図4】本発明の第三の実施の形態を示すブロック図で
ある。
FIG. 4 is a block diagram showing a third embodiment of the present invention.

【図5】本発明の第四の実施の形態を示すタイムチャー
トである。
FIG. 5 is a time chart showing a fourth embodiment of the present invention.

【図6】その構成を示すブロック図である。FIG. 6 is a block diagram showing the configuration.

【図7】参考例を示すブロック図である。FIG. 7 is a block diagram showing a reference example.

【図8】参考例の動作を示すタイムチャートである。FIG. 8 is a time chart showing the operation of the reference example.

【図9】参考例中のエッジ検出回路の構成を示すブロッ
ク図である。
FIG. 9 is a block diagram illustrating a configuration of an edge detection circuit in the reference example.

【図10】本発明の第五の実施の形態を示すブロック図
である。
FIG. 10 is a block diagram showing a fifth embodiment of the present invention.

【図11】本発明の第六の実施の形態を示すブロック図
である。
FIG. 11 is a block diagram showing a sixth embodiment of the present invention.

【図12】そのゲートイネーブル信号生成回路の構成を
示すブロック図である。
FIG. 12 is a block diagram showing a configuration of the gate enable signal generation circuit.

【図13】そのゲートイネーブル信号リセット信号生成
回路の構成を示すブロック図である。
FIG. 13 is a block diagram showing a configuration of the gate enable signal reset signal generation circuit.

【図14】その立ち下がり検出回路の構成を示すブロッ
ク図である。
FIG. 14 is a block diagram showing a configuration of the falling detection circuit.

【図15】その立ち上がり検出回路の構成を示すブロッ
ク図である。
FIG. 15 is a block diagram showing a configuration of the rise detection circuit.

【図16】動作制御例を示すタイムチャートである。FIG. 16 is a time chart illustrating an operation control example.

【図17】参考例を示すタイムチャートである。FIG. 17 is a time chart showing a reference example.

【図18】本発明の第七の実施の形態を示すブロック図
である。
FIG. 18 is a block diagram showing a seventh embodiment of the present invention.

【図19】従来例を示すブロック図である。FIG. 19 is a block diagram showing a conventional example.

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

11 ゲートイネーブル信号発生手段 12 メモリ 13 アドレス制御手段 14 イネーブル制御手段 15 循環読出制御手段 16,17 設定手段 19 ステッピングモータ 21 制御装置 25 有効エッジ選択設定手段 31 オフ条件規制手段 43 アクティブレベル優先手段 DESCRIPTION OF SYMBOLS 11 Gate enable signal generation means 12 Memory 13 Address control means 14 Enable control means 15 Circulation read control means 16, 17 Setting means 19 Stepping motor 21 Control device 25 Effective edge selection setting means 31 Off condition restriction means 43 Active level priority means

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 ステッピングモータの速度を一定速度に
制御するために制御装置から送出されるステップパルス
と、画像データの1ライン分を示す信号として画像処理
部から送出されるラインゲート信号とを入力として、前
記ステッピングモータの速度により決まる基準画像読取
密度と目的とする画像読取密度との比率に応じて前記ラ
インゲート信号の間引きを行って画像読取りを行わせる
有効ラインゲート信号を決定することにより副走査方向
の画像読取密度を制御する画像読取装置において、1ラ
イン毎に入力されるラインゲート信号を有効ラインゲー
ト信号とするか否かを前記ステップパルス毎に発生する
ゲートイネーブル信号の可否によって決定するようにし
たことを特徴とする画像読取装置。
1. A step pulse sent from a control device for controlling the speed of a stepping motor to a constant speed, and a line gate signal sent from an image processing unit as a signal indicating one line of image data are input. By decimating the line gate signal according to the ratio between the reference image reading density determined by the speed of the stepping motor and the target image reading density to determine an effective line gate signal for performing image reading, In an image reading apparatus that controls the image reading density in the scanning direction, whether or not a line gate signal input for each line is set as an effective line gate signal is determined based on the availability of a gate enable signal generated for each step pulse. An image reading apparatus characterized in that:
【請求項2】 ステッピングモータの速度を一定速度に
制御するために制御装置から送出されるステップパルス
と、画像データの1ライン分を示す信号として画像処理
部から送出されるラインゲート信号とを入力として、前
記ステッピングモータの速度により決まる基準画像読取
密度と目的とする画像読取密度との比率に応じて前記ラ
インゲート信号の間引きを行って画像読取りを行わせる
有効ラインゲート信号を決定することにより副走査方向
の画像読取密度を制御する画像読取装置において、前記
ステップパルス毎にゲートイネーブル信号を発生させる
ゲートイネーブル信号発生手段と、1ライン毎に入力さ
れるラインゲート信号を有効ラインゲート信号とするか
否かを前記ゲートイネーブル信号発生手段により発生し
たゲートイネーブル信号の可否によって決定するイネー
ブル制御手段とを備えたことを特徴とする画像読取装
置。
2. A step pulse sent from a control device for controlling the speed of a stepping motor to a constant speed, and a line gate signal sent from an image processing unit as a signal indicating one line of image data are input. By decimating the line gate signal according to the ratio between the reference image reading density determined by the speed of the stepping motor and the target image reading density to determine an effective line gate signal for performing image reading, In an image reading apparatus for controlling an image reading density in a scanning direction, a gate enable signal generating means for generating a gate enable signal for each step pulse, and determining whether a line gate signal input for each line is an effective line gate signal. Whether the gate enable signal is generated by the gate enable signal generating means. An image reading apparatus comprising: an enable control unit that determines whether or not a signal is available.
【請求項3】 ゲートイネーブル信号発生手段は、基準
画像読取密度と目的とする画像読取密度との比率に応じ
て予め1ライン毎のゲートイネーブル信号の可否情報を
アドレスとともに記憶したメモリと、ステップパルスに
同期して前記メモリからゲートイネーブル信号を順に読
み出させるアドレス情報を出力するアドレス制御手段と
を有することを特徴とする請求項2記載の画像読取装
置。
3. A gate enable signal generating means, comprising: a memory in which information on the availability of a gate enable signal for each line is stored in advance along with an address in accordance with a ratio between a reference image reading density and a target image reading density; 3. An image reading apparatus according to claim 2, further comprising address control means for outputting address information for sequentially reading a gate enable signal from said memory in synchronization with said image data.
【請求項4】 アドレス制御手段は、メモリからのゲー
トイネーブル信号の読み出しに関する開始アドレスと終
了アドレスとを設定する設定手段を有することを特徴と
する請求項3記載の画像読取装置。
4. The image reading apparatus according to claim 3, wherein the address control means has a setting means for setting a start address and an end address for reading the gate enable signal from the memory.
【請求項5】 アドレス制御手段は、メモリからのゲー
トイネーブル信号の読み出しに関して設定された終了ア
ドレスまで読み出した後、先頭アドレスに戻す循環読出
制御手段を有することを特徴とする請求項3又は4記載
の画像読取装置。
5. The cyclic read control unit according to claim 3, wherein the address control unit includes a cyclic read control unit that reads the gate enable signal from the memory up to the end address set and then returns to the start address. Image reading device.
【請求項6】 ゲートイネーブル信号発生手段は、ステ
ップパルスの立ち上がりエッジのタイミング及び立ち下
がりエッジのタイミングで各々ゲートイネーブル信号を
発生させることを特徴とする請求項2又は3記載の画像
読取装置。
6. The image reading apparatus according to claim 2, wherein said gate enable signal generating means generates a gate enable signal at each of a rising edge timing and a falling edge timing of the step pulse.
【請求項7】 ゲートイネーブル信号を発生させるステ
ップパルスの有効エッジとして、ステップパルスの立ち
上がりエッジのみ、立ち下がりエッジのみ、立ち上がり
エッジ及び立ち下がりエッジの両エッジの何れか一つを
選択する有効エッジ選択設定手段を備えることを特徴と
する請求項2又は3記載の画像読取装置。
7. An effective edge selection for selecting only a rising edge of a step pulse, only a falling edge, or any one of both a rising edge and a falling edge as an effective edge of a step pulse for generating a gate enable signal. The image reading apparatus according to claim 2, further comprising a setting unit.
【請求項8】 ゲートイネーブル信号発生手段は、ゲー
トイネーブル信号がアクティブレベルになった後で対応
するラインゲート信号が入力されたか否かを示す信号が
所定レベルにあるときにそのゲートイネーブル信号をイ
ンアクティブレベルにオフさせるオフ条件規制手段を有
することを特徴とする請求項2,3,6又は7記載の画
像読取装置。
8. A gate enable signal generating means for inputting a gate enable signal when a signal indicating whether or not a corresponding line gate signal has been input is at a predetermined level after the gate enable signal goes to an active level. 8. The image reading apparatus according to claim 2, further comprising an off condition restricting means for turning off the active level.
【請求項9】 ゲートイネーブル信号を強制的にアクテ
ィブレベルに固定するアクティブレベル優先手段をゲー
トイネーブル信号発生手段に対して有することを特徴と
する請求項8記載の画像読取装置。
9. The image reading apparatus according to claim 8, further comprising: active level priority means for forcibly fixing the gate enable signal to the active level for the gate enable signal generating means.
JP06644397A 1996-09-11 1997-03-19 Image reading device Expired - Fee Related JP3656869B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06644397A JP3656869B2 (en) 1996-09-11 1997-03-19 Image reading device

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP24009096 1996-09-11
JP8-240090 1996-11-22
JP31180796 1996-11-22
JP8-311807 1996-11-22
JP06644397A JP3656869B2 (en) 1996-09-11 1997-03-19 Image reading device

Publications (2)

Publication Number Publication Date
JPH10210237A true JPH10210237A (en) 1998-08-07
JP3656869B2 JP3656869B2 (en) 2005-06-08

Family

ID=27299130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06644397A Expired - Fee Related JP3656869B2 (en) 1996-09-11 1997-03-19 Image reading device

Country Status (1)

Country Link
JP (1) JP3656869B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505022A (en) * 2002-03-18 2006-02-09 フリースケール セミコンダクター インコーポレイテッド Integrated circuit security and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505022A (en) * 2002-03-18 2006-02-09 フリースケール セミコンダクター インコーポレイテッド Integrated circuit security and method

Also Published As

Publication number Publication date
JP3656869B2 (en) 2005-06-08

Similar Documents

Publication Publication Date Title
EP0540338B1 (en) Image processing apparatus
JP3656869B2 (en) Image reading device
US5586229A (en) Band printing method for preventing band overrun error in page printer
JP3585155B2 (en) Image reading device
JP2000270162A (en) Image reader
JP2563724B2 (en) Sub-scanning control device
JPH099021A (en) Picture data controller
KR100438161B1 (en) scanning apparatus
JPH05128060A (en) Information processor
JPH07212568A (en) Image-forming device
JP3502885B2 (en) Image enlargement / reduction method and clock generation circuit used therefor
JP3624060B2 (en) Pulse motor drive device
JP3174693B2 (en) Image scanner control device
JP3063259B2 (en) Image processing device
JP2001077980A (en) Image reader
JP3788566B2 (en) Density converter
JP3982776B2 (en) Digital copier with facsimile function
JP2002027239A (en) Image processor
JP3292447B2 (en) Multi-function parallel processing type information processing device
JPH07143292A (en) Facsimile controller
JPH07123185A (en) Picture processing unit
JPH0758912A (en) Facsimile controller
JPH0774894A (en) Facsimile control unit
KR20010002850A (en) DMA Double Buffering Apparatus and Method in Laser Printer
JPH09331445A (en) Image processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040927

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050303

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050303

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090318

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100318

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110318

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees