JP2008252320A - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP2008252320A
JP2008252320A JP2007089045A JP2007089045A JP2008252320A JP 2008252320 A JP2008252320 A JP 2008252320A JP 2007089045 A JP2007089045 A JP 2007089045A JP 2007089045 A JP2007089045 A JP 2007089045A JP 2008252320 A JP2008252320 A JP 2008252320A
Authority
JP
Japan
Prior art keywords
light
value
counter
image reading
light sources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007089045A
Other languages
Japanese (ja)
Other versions
JP2008252320A5 (en
Inventor
Satoshi Tada
悟史 多田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2007089045A priority Critical patent/JP2008252320A/en
Publication of JP2008252320A publication Critical patent/JP2008252320A/en
Publication of JP2008252320A5 publication Critical patent/JP2008252320A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Light Sources And Details Of Projection-Printing Devices (AREA)
  • Facsimile Heads (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make it possible to execute fine light-emitting control of a light source while suppressing processing load of a CPU in an image reading device. <P>SOLUTION: The image reading device makes a plurality of light sources whose emitting colors are different, irradiate the light to an original, and create image data of the original by carrying out photoelectric conversion of a reflection light of the lights by an image sensor. The image reading device is characterized to be provided with an indication means which indicates to discharge, stored charges obtained by the photoelectric conversion to the image sensor, a counter to count a number of times in which the indication is performed by the indication means, a memory which memorizes light emitting information which shows that the plurality of light sources emit light when the counter value reaches how many, and a control circuit which controls light emitting of the plurality of respective light sources. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、原稿からの反射光を光電変換して画像データを生成する画像読取装置に関する。   The present invention relates to an image reading apparatus that photoelectrically converts reflected light from a document to generate image data.

画像読取装置は、一般に光源として複数色のLED等を備える。そして、光源を制御して読み取り対象の原稿に対して光を照射し、複数個の蓄積型のラインイメージセンサによって原稿からの反射光を光電変換することで画像信号としての電荷を蓄積する。蓄積された電荷はA/D変換器へ順次出力されてデジタルデータに変換され、原稿の画像データが生成される。   An image reading apparatus generally includes a plurality of color LEDs as a light source. Then, the light source is controlled to irradiate light on the document to be read, and the reflected light from the document is photoelectrically converted by a plurality of storage type line image sensors, thereby accumulating charges as an image signal. The accumulated charges are sequentially output to the A / D converter and converted into digital data, and image data of the original is generated.

画像読取装置の光源としては、例えば赤(Red)、緑(Green)、青(Blue)の3色のLEDが用いられる。画像読取装置は、これらの発光させるLEDの色を順次切換えて原稿に照射することで、原稿の読み取りを行う。画像読取装置による読み取り動作の詳細を以下に説明する。   As a light source of the image reading device, for example, LEDs of three colors of red (Red), green (Green), and blue (Blue) are used. The image reading apparatus reads the document by sequentially switching the colors of the LEDs to emit light and irradiating the document. Details of the reading operation by the image reading apparatus will be described below.

画像読取装置は、まず、RedのLEDを適切な期間発光させて主走査方向に1ライン分のRedの画像を読み取り、次に、GreenのLEDを発光させて同様に1ライン分のGreenの画像を読み取る。最後に、BlueのLEDを発光させて1ライン分のBlueの画像を読み取る。画像読取装置は、読み取った画像の電気信号をA/D変換し、最終的に主走査方向に1ライン分の画像データを得る。   The image reading device first causes the Red LED to emit light for an appropriate period to read the Red image for one line in the main scanning direction, and then causes the Green LED to emit light to similarly emit the Green image for one line. Read. Finally, the Blue LED is turned on to read one line of Blue image. The image reading apparatus A / D converts the electric signal of the read image, and finally obtains image data for one line in the main scanning direction.

画像読取装置による読み取り動作における、各色のLEDの発光を制御(点灯及び消灯を制御)する方法として、イメージセンサにおける電荷の蓄積時間を規定するためのライン同期信号に基づいて制御する方法が知られている。   As a method for controlling the light emission of each color LED in the reading operation by the image reading device (controlling lighting and extinguishing), a method of controlling based on a line synchronization signal for defining the charge accumulation time in the image sensor is known. ing.

例えば、特許文献1では、電荷の蓄積のためのライン同期信号を、画像読取装置に備えられたメインCPUが受信すると、メインCPUが割り込み処理に入る。その割り込み処理ルーチン内で、メインCPUは、次のライン同期信号から開始する読み取りのためのLED色の選択と、選択されたLEDの発光制御のためのレジスタ設定を行うことで、複数色の光源の発光制御を行う。
特開平11−298673号公報
For example, in Patent Document 1, when the main CPU provided in the image reading apparatus receives a line synchronization signal for accumulating charges, the main CPU enters an interrupt process. Within the interrupt processing routine, the main CPU performs selection of the LED color for reading starting from the next line synchronization signal, and register setting for light emission control of the selected LED, so that the light sources of multiple colors The light emission control is performed.
JP 11-298673 A

一般的に、原稿の画像を良好に再現する画像データを得るためには、各色のLEDそれぞれの光量が一定であり、且つ適切な量(光量)であることが重要である。ここで、一例として、画像読取装置が原稿の画像を高解像度で読み取って大容量の画像データを生成し、画像読取装置に接続されたホストPC(パーソナルコンピュータ)へ画像データを転送する場合を考える。この場合、ホストPCへの画像データの転送時間を確保するために、画像読取装置は、上述した読み取り動作により原稿の主走査方向に1ライン分の画像データを生成した後、一定期間画像の読み取りを中断して待機する必要がある。   In general, in order to obtain image data that satisfactorily reproduces an image of a document, it is important that the amount of light of each color LED is constant and an appropriate amount (light amount). Here, as an example, consider a case where the image reading apparatus reads an image of a document with high resolution to generate a large amount of image data, and transfers the image data to a host PC (personal computer) connected to the image reading apparatus. . In this case, in order to secure the transfer time of the image data to the host PC, the image reading apparatus generates image data for one line in the main scanning direction of the document by the above-described reading operation, and then reads the image for a certain period. It is necessary to interrupt and wait.

図5は、上述した読み取り動作における各色のLEDの点灯期間と、ライン同期信号との関係を示すタイミングチャートである。図5の例では、画像読取装置は、BlueのLEDを用いて画像の読み取りを行う期間(期間503及び507)終了後、次の色(Red)のLEDを点灯させる。そのため、画像読取装置が画像データをホストPCへ転送する期間(期間504及び508)、即ち画像の読み取りを行わない期間でも、特定の色(Red)のLEDが点灯している(制御信号がHighの時にLEDが点灯する)。この場合、RedのLEDは、他のLED(Green及びBlueのLED)よりも長時間点灯するため、読み取り動作を繰り返すと、他のLEDよりも速く劣化が進む可能性がある。その結果、RedのLEDの光量が他のLEDとは異なる特性で変動し、各色のLEDそれぞれの光量が一定ではなくなり、生成される画像データの画質が劣化する可能性がある。   FIG. 5 is a timing chart showing the relationship between the lighting period of each color LED and the line synchronization signal in the above-described reading operation. In the example of FIG. 5, the image reading apparatus turns on the LED of the next color (Red) after the period (periods 503 and 507) for reading an image using a blue LED. For this reason, the LED of a specific color (Red) is lit even during a period in which the image reading apparatus transfers image data to the host PC (periods 504 and 508), that is, a period in which image reading is not performed. LED lights up at the time of). In this case, since the LED of Red lights up for a longer time than other LEDs (Green and Blue LEDs), when the reading operation is repeated, there is a possibility that the deterioration proceeds faster than the other LEDs. As a result, the amount of light of the Red LED varies with characteristics different from those of other LEDs, and the amount of light of each color LED is not constant, and the image quality of the generated image data may deteriorate.

LEDの劣化とそれに伴う画質の劣化を抑制するためには、画像読取装置は、画像を読み取らない期間はLEDを消灯させるなど、きめ細かな発光制御を行う必要がある。ここで、特許文献1では、画像読取装置は、ライン同期信号による割り込みをメインCPUが受け付けることにより、次のライン同期信号から開始する読み取り期間のLEDの発光制御を行っている。   In order to suppress the deterioration of the LED and the accompanying deterioration of the image quality, the image reading apparatus needs to perform fine light emission control such as turning off the LED during a period when the image is not read. Here, in Patent Document 1, the image reading apparatus performs the light emission control of the LED in the reading period starting from the next line synchronization signal when the main CPU accepts the interruption by the line synchronization signal.

しかしながら、メインCPUの割り込み応答時間が長い場合、メインCPUが割り込み信号を受信した後、次の読み取り期間におけるLEDの発光制御のためのレジスタ設定が間に合わない可能性がある。また、割り込み処理によるLEDの発光制御が間に合ったとしても、メインCPUは、ライン同期信号による割り込みの度にLEDの発光制御のためのレジスタ設定を行わなければならず、処理負荷が大きい。従って、処理能力の高いCPUを画像読取装置に搭載する必要が生じ、画像読取装置の価格の上昇、発熱の上昇、或いはサイズの上昇など、様々な問題が発生し得る。   However, if the interrupt response time of the main CPU is long, there is a possibility that the register setting for LED light emission control in the next reading period may not be in time after the main CPU receives the interrupt signal. Even if the LED light emission control by the interrupt process is in time, the main CPU must perform register setting for the LED light emission control every time the interrupt is performed by the line synchronization signal, and the processing load is heavy. Accordingly, it is necessary to mount a CPU with high processing capability in the image reading apparatus, and various problems such as an increase in the price of the image reading apparatus, an increase in heat generation, or an increase in size may occur.

本発明はこのような状況に鑑みてなされたものであり、画像読取装置のCPUの処理負荷を抑制しつつ、光源のきめ細かな発光制御を実行可能にする技術を提供することを目的とする。   The present invention has been made in view of such a situation, and an object of the present invention is to provide a technique capable of executing fine light emission control of a light source while suppressing a processing load of a CPU of an image reading apparatus.

上記課題を解決するために、本発明によれば、発光色の異なる複数の光源を発光させて原稿に光を照射し、前記光の反射光をイメージセンサで光電変換することにより前記原稿の画像データを生成する画像読取装置であって、光電変換により得られた蓄積電荷の掃き出しを前記イメージセンサに指示する指示手段と、前記指示手段により前記指示が行われた回数を計数するカウンタと、前記複数の光源それぞれについて、前記カウンタの値がいくつの場合に発光するかを示す発光情報を記憶するメモリと、前記カウンタの値、及び前記発光情報に基づいて、前記複数の光源それぞれの発光を制御する制御回路と、を備えることを特徴とする画像読取装置が提供される。   In order to solve the above problems, according to the present invention, a plurality of light sources having different emission colors are emitted to irradiate light on a document, and the reflected image of the light is photoelectrically converted by an image sensor, thereby image of the document. An image reading apparatus for generating data, the instruction means for instructing the image sensor to sweep out the accumulated charge obtained by photoelectric conversion, the counter for counting the number of times the instruction is performed by the instruction means, For each of the plurality of light sources, a memory for storing light emission information indicating when the counter value is emitted, and the light emission of each of the plurality of light sources is controlled based on the counter value and the light emission information. And an image reading apparatus including the control circuit.

なお、その他の本発明の特徴は、添付図面及び以下の発明を実施するための最良の形態における記載によって更に明らかになるものである。   Other features of the present invention will become more apparent from the accompanying drawings and the following description of the best mode for carrying out the invention.

以上の構成により、本発明によれば、画像読取装置のCPUの処理負荷を抑制しつつ、光源のきめ細かな発光制御を実行することが可能となる。   With the above configuration, according to the present invention, it is possible to execute fine light emission control of the light source while suppressing the processing load on the CPU of the image reading apparatus.

以下、添付図面を参照して、本発明の実施形態を説明する。以下で説明される個別の実施形態は、本発明の上位概念から下位概念までの種々の概念を理解するために役立つであろう。   Embodiments of the present invention will be described below with reference to the accompanying drawings. The individual embodiments described below will help to understand various concepts from the superordinate concept to the subordinate concept of the present invention.

なお、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって限定されるわけではない。また、実施形態の中で説明されている特徴の組み合わせすべてが、本発明に必須とは限らない。   The technical scope of the present invention is determined by the claims, and is not limited by the following individual embodiments. In addition, all combinations of features described in the embodiments are not necessarily essential to the present invention.

[第1の実施形態]
図1は、本発明を適用した、スキャナなどの画像読取装置101の構成例を示すブロック図である。画像読取装置101は、ROM106、光源電流制御部111、A/D変換部112、モータ113、RAM114、光源115、イメージセンサ116、及びシステム制御部117を備える。
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration example of an image reading apparatus 101 such as a scanner to which the present invention is applied. The image reading apparatus 101 includes a ROM 106, a light source current control unit 111, an A / D conversion unit 112, a motor 113, a RAM 114, a light source 115, an image sensor 116, and a system control unit 117.

システム制御部117は、CPU103、USB I/F104、ROM制御部105、読み取り制御部107、モータ制御部108、画像処理部109、及びRAM制御部110を備える。   The system control unit 117 includes a CPU 103, a USB I / F 104, a ROM control unit 105, a reading control unit 107, a motor control unit 108, an image processing unit 109, and a RAM control unit 110.

CPU103は、ROM制御部105を介してROM106に記憶された制御プログラムを読み出し、実行することにより、画像読取装置101全体を制御する。RAM114は、CPU103のワークエリアとして使用され、また、原稿を読み取ることにより生成された画像データを一時的に格納する領域としても使用される。RAM114に対するデータの読み書きは、RAM制御部110を介して行われる。   The CPU 103 controls the entire image reading apparatus 101 by reading and executing a control program stored in the ROM 106 via the ROM control unit 105. The RAM 114 is used as a work area for the CPU 103, and is also used as an area for temporarily storing image data generated by reading a document. Data is read from and written to the RAM 114 via the RAM control unit 110.

光源115は、発光色の異なる複数のLED、具体的には、Red(赤)、Green(緑)、及びBlue(青)の3種類のLEDを含む(即ち、光源115は、発光色の異なる複数の光源を含む)。光源115は、読み取り対象である原稿(不図示)に光を照射する。イメージセンサ116は、蓄積型(電荷を蓄積するタイプ)のイメージセンサであり、光源115が照射した光の原稿からの反射光を光電変換し、画像信号としての電荷を蓄積する。   The light source 115 includes a plurality of LEDs having different emission colors, specifically, three types of LEDs of red (red), green (green), and blue (blue) (that is, the light source 115 has different emission colors. Including multiple light sources). The light source 115 irradiates light on a document (not shown) to be read. The image sensor 116 is an accumulation type (charge accumulation type) image sensor, and photoelectrically converts light reflected from the original by the light source 115 and accumulates charges as image signals.

モータ制御部108は、画像読取装置101が備えるモータ113を制御する。読み取り制御部107は、原稿からの画像の読み取り動作を制御する。読み取り制御部107は、光源115の発光制御(点灯及び消灯の制御)を行うための制御信号を光源電流制御部111に対して送信する。   A motor control unit 108 controls a motor 113 provided in the image reading apparatus 101. A reading control unit 107 controls an image reading operation from a document. The reading control unit 107 transmits a control signal for performing light emission control (lighting on / off control) of the light source 115 to the light source current control unit 111.

光源電流制御部111は、読み取り制御部107から受信した制御信号に基づき、光源115に含まれる点灯対象のLEDに適切な量の電流を供給し、点灯(発光)させる。   Based on the control signal received from the reading control unit 107, the light source current control unit 111 supplies an appropriate amount of current to the LED to be lit included in the light source 115 to light (emit) the light.

読み取り制御部107はまた、イメージセンサ116に対してライン同期信号を送信し、光電変換により得られた蓄積電荷の掃き出し(出力)をイメージセンサ116に指示する。イメージセンサ116は、ライン同期信号に基づいて、画像信号としての蓄積電荷を順次出力する。   The reading control unit 107 also transmits a line synchronization signal to the image sensor 116 to instruct the image sensor 116 to sweep out (output) the accumulated charge obtained by photoelectric conversion. The image sensor 116 sequentially outputs accumulated charges as an image signal based on the line synchronization signal.

イメージセンサ116より出力されたアナログ値の画像信号は、A/D変換部112よって、画像データとしてのデジタルデータに変換され、読み取り制御部107に順次送信される。読み取り制御部107は、受信した画像データをRAM114に格納する。その後、画像処理部109は画像データをRAM114から読み出し、シェーディング補正などの画像処理を施し、USB I/F104を介して外部装置(ホストPC102)へ転送する。   The analog image signal output from the image sensor 116 is converted into digital data as image data by the A / D converter 112 and sequentially transmitted to the reading controller 107. The read control unit 107 stores the received image data in the RAM 114. Thereafter, the image processing unit 109 reads the image data from the RAM 114, performs image processing such as shading correction, and transfers the image data to the external device (host PC 102) via the USB I / F 104.

図2は、読み取り制御部107の詳細な構成を示すブロック図である。読み取り制御部107は、入力データ処理部201、タイミングジェネレータ202、光源制御部203、ライン同期信号生成部204、及びレジスタ205乃至208を備える。   FIG. 2 is a block diagram illustrating a detailed configuration of the reading control unit 107. The reading control unit 107 includes an input data processing unit 201, a timing generator 202, a light source control unit 203, a line synchronization signal generation unit 204, and registers 205 to 208.

光源制御部203は、レジスタ207に設定された値に基づいて、光源115に含まれる各色のLEDそれぞれについて、点灯又は消灯を指示する指示信号をタイミングジェネレータ202に送信する。光源制御部203及びレジスタ207の詳細は、図3を参照して後述する。   Based on the value set in the register 207, the light source control unit 203 transmits to the timing generator 202 an instruction signal that instructs to turn on or off each LED of each color included in the light source 115. Details of the light source control unit 203 and the register 207 will be described later with reference to FIG.

ライン同期信号生成部204は、レジスタ208に設定された値が示す時間間隔でライン同期信号を生成し、タイミングジェネレータ202及び光源制御部203に供給する。   The line synchronization signal generation unit 204 generates a line synchronization signal at a time interval indicated by the value set in the register 208 and supplies the line synchronization signal to the timing generator 202 and the light source control unit 203.

タイミングジェネレータ202は、イメージセンサ116、及び光源電流制御部111を制御するためのタイミングを生成する。タイミングジェネレータ202は、光源制御部203から受信した指示信号の値と、レジスタ206に設定された値との論理積に基づき、光源115の発光制御を行うための制御信号を光源電流制御部111に送信する。また、ライン同期信号生成部204から供給されたライン同期信号をイメージセンサ116へ出力する。   The timing generator 202 generates timing for controlling the image sensor 116 and the light source current control unit 111. The timing generator 202 sends a control signal for performing light emission control of the light source 115 to the light source current control unit 111 based on the logical product of the value of the instruction signal received from the light source control unit 203 and the value set in the register 206. Send. In addition, the line synchronization signal supplied from the line synchronization signal generation unit 204 is output to the image sensor 116.

イメージセンサ116は、光電変換により得られる画像信号としての電荷を、タイミングジェネレータ202から供給されたライン同期信号に同期して蓄積し、A/D変換部112へ出力する。A/D変換部112は、イメージセンサ116から受信した画像信号を画像データとしてのデジタルデータに変換し、入力データ処理部201に供給する。   The image sensor 116 accumulates charges as an image signal obtained by photoelectric conversion in synchronization with the line synchronization signal supplied from the timing generator 202, and outputs it to the A / D converter 112. The A / D conversion unit 112 converts the image signal received from the image sensor 116 into digital data as image data, and supplies the digital data to the input data processing unit 201.

入力データ処理部201は、レジスタ205に設定された値に基づいて画像データを順次処理し、内部システムバス209を介してRAM114に格納する。ここで、レジスタ205には、例えば、解像度を変換するか否かを入力データ処理部201に指示する値などが設定されている。   The input data processing unit 201 sequentially processes the image data based on the value set in the register 205 and stores it in the RAM 114 via the internal system bus 209. Here, in the register 205, for example, a value for instructing the input data processing unit 201 whether or not to convert the resolution is set.

CPU103は、ROM106内の制御プログラムに従い、内部システムバス209を介してレジスタ205乃至208に適切な値を書き込む。   The CPU 103 writes appropriate values to the registers 205 to 208 via the internal system bus 209 according to the control program in the ROM 106.

次に、図3及び図4を参照して、光源制御部203の動作の詳細を説明する。図3は、光源制御部203及びレジスタ207の詳細な構成を示すブロック図である。図4は、第1の実施形態に係る画像読み取り動作における各色のLEDの点灯期間と、ライン同期信号との関係を示すタイミングチャートである。   Next, details of the operation of the light source control unit 203 will be described with reference to FIGS. 3 and 4. FIG. 3 is a block diagram showing a detailed configuration of the light source control unit 203 and the register 207. FIG. 4 is a timing chart showing the relationship between the lighting period of each color LED and the line synchronization signal in the image reading operation according to the first embodiment.

光源制御部203は、セレクタ301乃至303、及びライン同期信号カウンタ307を含む。レジスタ207は、Red用レジスタ309、Green用レジスタ310、及びBlue用レジスタ311を含む。   The light source control unit 203 includes selectors 301 to 303 and a line synchronization signal counter 307. The register 207 includes a red register 309, a green register 310, and a blue register 311.

ライン同期信号カウンタ307は、ライン同期信号生成部204からライン同期信号が供給された回数を計数する。ライン同期信号カウンタ307の値は、セレクタ301乃至303に供給される。なお、ライン同期信号カウンタ307は、カウンタの値が予め定められた値(例えば、4)に達するとリセット(例えば、0にリセット)されるように構成されてもよい。   The line synchronization signal counter 307 counts the number of times the line synchronization signal is supplied from the line synchronization signal generation unit 204. The value of the line synchronization signal counter 307 is supplied to the selectors 301 to 303. The line synchronization signal counter 307 may be configured to be reset (for example, reset to 0) when the value of the counter reaches a predetermined value (for example, 4).

Red用レジスタ309は、ライン同期信号カウンタ307の値がいくつの場合にRedのLEDが発光するかを示す情報を保持する。同様に、Green用レジスタ310はGreenのLEDについて、Blue用レジスタ311はBlueのLEDについて、ライン同期信号カウンタ307の値がいくつの場合に発光するかを示す情報を保持する。即ち、レジスタ207は、各色のLEDそれぞれについて、ライン同期信号カウンタ307の値がいくつの場合に発光するかを示す発光情報を記憶するメモリである。   The Red register 309 holds information indicating how many values of the line synchronization signal counter 307 the Red LED emits light. Similarly, the Green register 310 holds information indicating when the value of the line synchronization signal counter 307 emits light for the Green LED, and the Blue register 311 holds for the Blue LED. That is, the register 207 is a memory that stores light emission information indicating how many times the value of the line synchronization signal counter 307 emits light for each color LED.

発光情報の形式は任意であるが、一例として、発光情報はビット数が4ビットの情報で表現される。各ビットは、それぞれ、ライン同期信号カウンタ307の異なる値に関連付けられている。例えば、ライン同期信号カウンタ307の値、0,1,2,3に対して、発光情報の最下位ビットから順に1つずつ上位のビットに関連付けられている。この場合、発光情報が「0b0001」(「0b」は続く数字が2進数であることを示す)であれば、ライン同期信号カウンタ307の値が0の場合にLEDが発光することを示す。或いは、「0」が発光することを示し、「1」が発光しないことを示すように発光情報を定義してもよい。   The format of the light emission information is arbitrary, but as an example, the light emission information is represented by information having a bit number of 4 bits. Each bit is associated with a different value of the line synchronization signal counter 307, respectively. For example, the value of the line synchronization signal counter 307, 0, 1, 2, 3 is associated with the upper bits one by one in order from the least significant bit of the light emission information. In this case, if the light emission information is “0b0001” (“0b” indicates that the following number is a binary number), it indicates that the LED emits light when the value of the line synchronization signal counter 307 is 0. Alternatively, the light emission information may be defined so that “0” indicates light emission and “1” indicates no light emission.

なお、ライン同期信号カウンタ307の値がリセットされない場合は、発光情報「0b0001」であれば、ライン同期信号カウンタ307の値を4で割った余りが0の場合にLEDが発光することを示すように発光情報を定義すればよい。   When the value of the line synchronization signal counter 307 is not reset, the light emission information “0b0001” indicates that the LED emits light when the value obtained by dividing the value of the line synchronization signal counter 307 by 4 is zero. Light emission information may be defined in

セレクタ301は、ライン同期信号カウンタ307の値、及びRed用レジスタ309の値に基づいて、RedのLEDの点灯又は消灯を指示する指示信号をタイミングジェネレータ202に送信する。同様に、セレクタ302は、ライン同期信号カウンタ307の値、及びGreen用レジスタ310の値に基づいて、GreenのLEDの点灯又は消灯を指示する指示信号をタイミングジェネレータ202に送信する。また、セレクタ303は、ライン同期信号カウンタ307の値、及びBlue用レジスタ311の値に基づいて、BlueのLEDの点灯又は消灯を指示する指示信号をタイミングジェネレータ202に送信する。即ち、セレクタ301乃至303は、複数の光源それぞれの発光を制御する制御回路として機能する。一実施形態においては、セレクタ301乃至303は、対応する色の光源について、発光情報においてライン同期信号カウンタ307の値に関連付けられたビットを選択する。セレクタ301乃至303は、選択したビットが予め定められた値(例えば、1)である場合に光源を発光させるように指示信号を生成する。   The selector 301 transmits to the timing generator 202 an instruction signal instructing to turn on or turn off the Red LED based on the value of the line synchronization signal counter 307 and the value of the Red register 309. Similarly, the selector 302 transmits an instruction signal for instructing to turn on or off the green LED to the timing generator 202 based on the value of the line synchronization signal counter 307 and the value of the green register 310. Further, the selector 303 transmits an instruction signal for instructing to turn on or off the blue LED to the timing generator 202 based on the value of the line synchronization signal counter 307 and the value of the blue register 311. That is, the selectors 301 to 303 function as a control circuit that controls the light emission of each of the plurality of light sources. In one embodiment, the selectors 301 to 303 select the bit associated with the value of the line synchronization signal counter 307 in the light emission information for the corresponding color light source. The selectors 301 to 303 generate an instruction signal so that the light source emits light when the selected bit is a predetermined value (for example, 1).

ここで、あるライン同期信号から、次のライン同期信号までの区間を、sh(sample hold)区間と呼ぶ(図4参照)。ライン同期信号生成部204は、レジスタ208に設定された値に基づいて、所定数のライン同期信号を生成する度に割り込み信号(「int_shdiv割り込み信号」と呼ぶ)をCPU103に出力する。int_shdiv割り込み信号から、次のint_shdiv割り込み信号までの区間をshdiv区間と呼ぶ(図4参照)。   Here, a section from a certain line synchronization signal to the next line synchronization signal is referred to as a sh (sample hold) section (see FIG. 4). The line synchronization signal generation unit 204 outputs an interrupt signal (referred to as “int_shdiv interrupt signal”) to the CPU 103 every time a predetermined number of line synchronization signals are generated based on the value set in the register 208. A section from the int_shdiv interrupt signal to the next int_shdiv interrupt signal is referred to as a shdiv section (see FIG. 4).

本実施形態では、ライン同期信号カウンタ307の値が「0」のsh区間ではRedの、「1」のsh区間ではGreenの、「2」のsh区間ではBlueのLEDを発光させ、それ以外のsh区間では全てのLEDを消灯するものとする。この場合、CPU103は事前にRed用レジスタ309を「0b0001」に、Green用レジスタ310を「0b0010」に、Blue用レジスタ311を「0b0100」にそれぞれ設定する。また、ライン同期信号カウンタ307の値が「3」のsh区間では、画像読取装置101は画像の読み取りを行う代わりに、画像データをホストPC102に転送する。なお、ライン同期信号カウンタ307の値は、ライン同期信号が4回計数される度にリセットされる。   In the present embodiment, the LED of the line synchronization signal counter 307 emits red LED in the sh section, the green LED in the sh section of “1”, and the blue LED in the sh section of “2”. In the sh section, all LEDs are turned off. In this case, the CPU 103 sets the Red register 309 to “0b0001”, the Green register 310 to “0b0010”, and the Blue register 311 to “0b0100” in advance. In the sh period where the value of the line synchronization signal counter 307 is “3”, the image reading apparatus 101 transfers image data to the host PC 102 instead of reading an image. The value of the line synchronization signal counter 307 is reset every time the line synchronization signal is counted four times.

この構成によれば、図5のタイミングチャートに示すように、レジスタ207に設定された値を変更しない限り、光源制御部203は同じ発光制御を繰り返す。そして、画像データの転送中はいずれのLEDも点灯しないので、特定のLEDの使用頻度が他のLEDの使用頻度と著しく異なることが抑制される。更に、LEDを発光させる区間の設定を変更しない限り、レジスタ207に設定された値を変更する必要がないので、CPU103の処理負荷が軽減される。   According to this configuration, as shown in the timing chart of FIG. 5, the light source control unit 203 repeats the same light emission control unless the value set in the register 207 is changed. In addition, since none of the LEDs is lit during the transfer of the image data, it is possible to suppress the usage frequency of a specific LED from being significantly different from the usage frequency of other LEDs. Furthermore, since it is not necessary to change the value set in the register 207 unless the setting of the section in which the LED emits light is changed, the processing load on the CPU 103 is reduced.

以上説明したように、本実施形態によれば、画像読取装置101の読み取り制御部107は、光源制御部203及びレジスタ207を備える。光源制御部203は、セレクタ301乃至303、及びライン同期信号カウンタ307を備え、レジスタ207は、Red用レジスタ309、Green用レジスタ310、及びBlue用レジスタ311を備える。セレクタ301乃至303は、ライン同期信号カウンタ307の値、及びレジスタ207内の各レジスタの値に基づいて光源115の各色のLEDの発光を制御する。   As described above, according to the present embodiment, the reading control unit 107 of the image reading apparatus 101 includes the light source control unit 203 and the register 207. The light source control unit 203 includes selectors 301 to 303 and a line synchronization signal counter 307, and the register 207 includes a red register 309, a green register 310, and a blue register 311. The selectors 301 to 303 control the light emission of the LEDs of the respective colors of the light source 115 based on the value of the line synchronization signal counter 307 and the value of each register in the register 207.

これにより、画像読取装置のCPUの処理負荷を抑制しつつ、光源のきめ細かな発光制御を実行することが可能となる。更に、画像読取装置が画像の読み取りを行わない期間はいずれのLEDも発光しないようにレジスタ207は設定されていれば、特定のLEDが他のLEDよりも頻繁に発光するという状況の発生が抑制される。   Thereby, it is possible to execute fine light emission control of the light source while suppressing the processing load on the CPU of the image reading apparatus. Furthermore, if the register 207 is set so that none of the LEDs emit light during the period when the image reading apparatus does not read an image, the occurrence of a situation where a specific LED emits light more frequently than other LEDs is suppressed. Is done.

<変形例>
以上の説明では、画像読取装置101は、各shdiv区間において画像データをホストPC102へ転送した。しかし、例えばRAM114の記憶容量が大きい場合、又は原稿から得られた画像データのデータサイズが小さい場合などは、画像読取装置101は、ある程度まとまった量の画像データがRAM114に格納された後にまとめてホストPC102へ転送してもよい。これにより、画像読取装置101による画像の読み取り速度が高速化する。
<Modification>
In the above description, the image reading apparatus 101 transfers image data to the host PC 102 in each shdiv section. However, for example, when the storage capacity of the RAM 114 is large, or when the data size of image data obtained from a document is small, the image reading apparatus 101 collects a certain amount of image data after being stored in the RAM 114. You may transfer to host PC102. Thereby, the reading speed of the image by the image reading apparatus 101 is increased.

この場合、例えば、ライン同期信号生成部204は、ライン同期信号を3回生成する度にint_shdiv割り込み信号を生成する。また、ライン同期信号カウンタ307は、値が3に達した場合に0にリセットする。CPU103はint_shdiv割り込み信号を受信する度に画像転送の必要の有無を判断する。   In this case, for example, the line synchronization signal generation unit 204 generates an int_shdiv interrupt signal every time the line synchronization signal is generated three times. The line synchronization signal counter 307 is reset to 0 when the value reaches 3. The CPU 103 determines whether or not image transfer is necessary every time it receives an int_shdiv interrupt signal.

画像の転送が必要だと判断された場合、CPU103は、次のshdiv区間においては値が4に達した場合に0にリセットするようにライン同期信号カウンタ307に指示する。また、ライン同期信号を4回生成した後にint_shdiv割り込み信号を生成するようにライン同期信号生成部204に指示する。   If it is determined that image transfer is necessary, the CPU 103 instructs the line synchronization signal counter 307 to reset to 0 when the value reaches 4 in the next shdiv section. In addition, the line synchronization signal generation unit 204 is instructed to generate the int_shdiv interrupt signal after generating the line synchronization signal four times.

int_shidiv割り込みは、ライン同期信号が生成される度(毎回)ではなく、複数回生成される度に発生する。したがって、int_shdiv信号を受信する度にCPUが処理の必要の有無を判断したとしても、CPUの割り込み処理負荷の上昇は抑制される。   The int_shidiv interrupt occurs every time a line synchronization signal is generated, not every time it is generated (every time). Therefore, even if the CPU determines whether or not processing is necessary every time the int_shdiv signal is received, an increase in the CPU interrupt processing load is suppressed.

本発明を適用した、スキャナなどの画像読取装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of image reading apparatuses, such as a scanner, to which this invention is applied. 読み取り制御部の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of a reading control part. 光源制御部、及び光源制御部が使用するレジスタの詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the register which a light source control part and a light source control part use. 第1の実施形態に係る画像読み取り動作における各色のLEDの点灯期間と、ライン同期信号との関係を示すタイミングチャートである。4 is a timing chart showing a relationship between a lighting period of each color LED and a line synchronization signal in the image reading operation according to the first embodiment. 従来の画像読み取り動作における各色のLEDの点灯期間と、ライン同期信号との関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the lighting period of LED of each color in the conventional image reading operation | movement, and a line synchronizing signal.

Claims (5)

発光色の異なる複数の光源を発光させて原稿に光を照射し、前記光の反射光をイメージセンサで光電変換することにより前記原稿の画像データを生成する画像読取装置であって、
光電変換により得られた蓄積電荷の掃き出しを前記イメージセンサに指示する指示手段と、
前記指示手段により前記指示が行われた回数を計数するカウンタと、
前記複数の光源それぞれについて、前記カウンタの値がいくつの場合に発光するかを示す発光情報を記憶するメモリと、
前記カウンタの値、及び前記発光情報に基づいて、前記複数の光源それぞれの発光を制御する制御回路と、
を備えることを特徴とする画像読取装置。
An image reading apparatus that emits light from a plurality of light sources having different emission colors to irradiate light on a document and photoelectrically converts reflected light of the light by an image sensor, thereby generating image data of the document.
Instruction means for instructing the image sensor to sweep out the accumulated charge obtained by photoelectric conversion;
A counter that counts the number of times the instruction is performed by the instruction means;
For each of the plurality of light sources, a memory that stores light emission information indicating when the value of the counter emits light,
A control circuit for controlling the light emission of each of the plurality of light sources based on the value of the counter and the light emission information;
An image reading apparatus comprising:
前記カウンタは、前記カウンタの値が予め定められた第1の値に達するとリセットされるように構成され、
前記発光情報は、前記複数の光源それぞれについて、予め定められたビット数の情報であって、各ビットがそれぞれ異なる前記カウンタの値に関連付けられた情報を有し、
前記制御回路は、前記複数の光源それぞれについて、前記発光情報において前記カウンタの値に関連付けられたビットの値に従って光源を発光させる
ことを特徴とする請求項1に記載の画像読取装置。
The counter is configured to be reset when a value of the counter reaches a predetermined first value;
The light emission information is information of a predetermined number of bits for each of the plurality of light sources, and each bit has information associated with a different value of the counter,
The image reading apparatus according to claim 1, wherein the control circuit causes each of the plurality of light sources to emit light according to a value of a bit associated with a value of the counter in the light emission information.
前記複数の光源は、3種類の発光色の光源を含み、
前記カウンタは、前記指示が行われた回数を4回計数する度にリセットされるように構成され、
前記発光情報は、前記複数の光源それぞれについて、少なくとも4ビットの情報であって、各ビットがそれぞれ異なる前記カウンタの値に関連付けられた情報を有し、
前記制御回路は、前記複数の光源それぞれについて、前記発光情報において前記カウンタの値に関連付けられたビットを選択するセレクタを含み、選択したビットの値に従って光源を発光させる
ことを特徴とする請求項1に記載の画像読取装置。
The plurality of light sources includes light sources of three kinds of emission colors,
The counter is configured to be reset every time the instruction is performed four times.
The light emission information is information of at least 4 bits for each of the plurality of light sources, and each bit has information associated with a different value of the counter,
The control circuit includes a selector that selects a bit associated with a value of the counter in the light emission information for each of the plurality of light sources, and causes the light source to emit light according to the value of the selected bit. The image reading apparatus described in 1.
前記3種類の発光色の光源は、赤、緑、及び青の光源であることを特徴とする請求項3に記載の画像読取装置。   The image reading apparatus according to claim 3, wherein the light sources of the three kinds of emission colors are red, green, and blue light sources. 前記蓄積電荷の量を表すアナログ値をA/D変換によりデジタルデータに変換する変換手段と、
前記カウンタの値が予め定められた第2の値である間に、前記デジタルデータを外部装置へ転送する転送手段と、
前記メモリに前記発光情報を設定する設定手段と、
を更に備え、
前記設定手段は、前記カウンタの値が前記予め定められた第2の値である場合は前記複数の光源がいずれも発光しないように前記発光情報を設定する
ことを特徴とする請求項1乃至4のいずれか1項に記載の画像読取装置。
Conversion means for converting an analog value representing the amount of accumulated charge into digital data by A / D conversion;
Transfer means for transferring the digital data to an external device while the value of the counter is a predetermined second value;
Setting means for setting the light emission information in the memory;
Further comprising
The setting means sets the light emission information so that none of the plurality of light sources emits light when the value of the counter is the second predetermined value. The image reading apparatus according to any one of the above.
JP2007089045A 2007-03-29 2007-03-29 Image reading device Pending JP2008252320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007089045A JP2008252320A (en) 2007-03-29 2007-03-29 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007089045A JP2008252320A (en) 2007-03-29 2007-03-29 Image reading device

Publications (2)

Publication Number Publication Date
JP2008252320A true JP2008252320A (en) 2008-10-16
JP2008252320A5 JP2008252320A5 (en) 2010-05-13

Family

ID=39976784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007089045A Pending JP2008252320A (en) 2007-03-29 2007-03-29 Image reading device

Country Status (1)

Country Link
JP (1) JP2008252320A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234324A (en) * 2010-04-30 2011-11-17 Brother Ind Ltd Image reading apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234324A (en) * 2010-04-30 2011-11-17 Brother Ind Ltd Image reading apparatus
US8614841B2 (en) 2010-04-30 2013-12-24 Brother Kogyo Kabushiki Kaisha Image-reader

Similar Documents

Publication Publication Date Title
JP4743246B2 (en) Projection device, projection device control program, and light source control method
JP6430662B2 (en) Control of networked lighting devices
JP2010263328A (en) Image processing apparatus, and image processing method
JP2007228016A (en) Image input device and method
CN1921549A (en) Halftoning device and halftoning method
JP2011044897A (en) Image processing device
US7453485B2 (en) Image writing apparatus for controlling transfer of image data
JP2008252320A (en) Image reading device
JP5097973B2 (en) Data processing device
CN102257803A (en) Image reader device and method for driving same
JP5072611B2 (en) Image processing apparatus, image processing method, and program
US10356264B2 (en) Image reading apparatus and printing apparatus
JP5448786B2 (en) Image reading apparatus and control method thereof
US20230266811A1 (en) Information processing apparatus and information processing method
JP2006252154A (en) Image-processing device and its control method
JP2004220584A (en) Image processing device and image processing method
US20110222121A1 (en) Information processing apparatus, image forming apparatus, and information processing method
JP2003259060A (en) Image processor and method of remotely controlling the same
JP2010028818A (en) Image reading apparatus and method of reading image
JP5585121B2 (en) Image reading device
JP2005303575A (en) Ad converting apparatus and method
JP2000224375A (en) Image processor
JP4478482B2 (en) Select image processing method
JP7354635B2 (en) Image processing device, image processing method, and program
JP2018137533A (en) Image processing device and image processing method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100326

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100326

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101001

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110316

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20110328

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20110902