JP2012165227A - Image reader and image reading control method - Google Patents

Image reader and image reading control method Download PDF

Info

Publication number
JP2012165227A
JP2012165227A JP2011024680A JP2011024680A JP2012165227A JP 2012165227 A JP2012165227 A JP 2012165227A JP 2011024680 A JP2011024680 A JP 2011024680A JP 2011024680 A JP2011024680 A JP 2011024680A JP 2012165227 A JP2012165227 A JP 2012165227A
Authority
JP
Japan
Prior art keywords
shift
color
predetermined
image reading
shift signal
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.)
Withdrawn
Application number
JP2011024680A
Other languages
Japanese (ja)
Inventor
Aya Washizawa
絢 鷲澤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011024680A priority Critical patent/JP2012165227A/en
Publication of JP2012165227A publication Critical patent/JP2012165227A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve reading image quality even when a motor speed is not stable during an acceleration period or deceleration period.SOLUTION: The image reader executes four-shift control that outputs a shift signal that is electrical charge storage start timing corresponding to each color of RGB and a dummy shift signal after an output of the shift signal corresponding to the each color of RGB for each line.

Description

本発明は、画像読取装置、及び画像読取制御方法に関する。   The present invention relates to an image reading apparatus and an image reading control method.

原稿を読み取るコピー装置やスキャナー装置などの画像読取装置は、イメージセンサー
により原稿を走査して画像の読み取りを行う。イメージセンサーは、キャリッジに取り付
けられており、駆動源であるモーターを有する駆動機構によりキャリッジが移動させられ
ることにより、原稿を走査することができる。
An image reading apparatus such as a copying apparatus or a scanner apparatus that reads an original scans the original with an image sensor and reads an image. The image sensor is attached to the carriage, and the original can be scanned by moving the carriage by a driving mechanism having a motor as a driving source.

原稿の読み取り動作では、キャリッジが移動しながら、キャリッジに設けられている光
源からの光を原稿面に照射し、イメージセンサーは、光源からの光が原稿面から反射した
光を所定時間蓄積し、これを電気信号に変換して画像信号として画像処理手段に出力する
。この読み取り動作では、所定時間蓄積した画像信号を所定のタイミングで画像信号とし
て転送することにより、1ラインごとに走査しながら画像読み取りが行われる。
In the document reading operation, while the carriage moves, the light from the light source provided on the carriage is irradiated onto the document surface, and the image sensor accumulates the light reflected from the document surface for a predetermined time, This is converted into an electrical signal and output to the image processing means as an image signal. In this reading operation, the image signal stored for a predetermined time is transferred as an image signal at a predetermined timing, whereby the image is read while scanning line by line.

イメージセンサーは、例えば、画像処理手段から与えられる1ラインごとのRGB各色
の転送タイミング信号(例えば、シフト信号、シフトパルス、トリガー信号などもいう)
に従って、各ラインのRGB各色の画像信号を転送する。画像処理手段は、モーターの回
転量に応じたパルス信号を出力するエンコーダーの信号を基準に、転送タイミング信号を
生成するとともに、タイマーを用いて時間を計測し、エンコーダー信号から所定時間間隔
で転送タイミング信号を生成する。
The image sensor is, for example, a transfer timing signal for each color of RGB for each line given from the image processing means (for example, a shift signal, a shift pulse, a trigger signal, etc.).
The image signal of each color of RGB of each line is transferred according to the above. The image processing means generates a transfer timing signal based on an encoder signal that outputs a pulse signal corresponding to the rotation amount of the motor, measures time using a timer, and transfers the transfer timing at a predetermined time interval from the encoder signal. Generate a signal.

特開2007−028170号公報JP 2007-028170 A

ところで、キャリッジの移動では、移動の開始から終了までに、加速期間(加速領域)
、定速期間(定速(等速)領域)、減速期間(減速領域)を経る。定速期間においては、
モーターの速度が安定しているため、転送タイミング信号は、安定的におよそ等間隔で出
力される。そのため、イメージセンサーには、各ラインの各色の電気信号が理想的な時間
蓄積されることとなる。
By the way, in the movement of the carriage, the acceleration period (acceleration region) is from the start to the end of the movement.
A constant speed period (constant speed (constant speed) region) and a deceleration period (deceleration region) are passed. In the constant speed period,
Since the motor speed is stable, the transfer timing signal is stably output at approximately equal intervals. For this reason, the electrical signals of the respective colors of the respective lines are accumulated in the image sensor for an ideal time.

しかしながら、減速期間では、モーター速度が減速することにより、エンコーダー信号
の間隔が、定速期間における間隔よりも長くなる。そのため、各ラインの各色の電気信号
の蓄積時間も長くなり、画質に影響する。
However, in the deceleration period, the motor speed is reduced, so that the encoder signal interval becomes longer than the interval in the constant speed period. For this reason, the accumulation time of the electrical signals of the respective colors in each line also becomes longer, which affects the image quality.

図6を用いて具体的に説明する。図6は、従来の画像読取制御(減速期間)のタイミン
グチャートである。
This will be specifically described with reference to FIG. FIG. 6 is a timing chart of conventional image reading control (deceleration period).

ポジショントリガーは、モーターの回転に応じて出力されるエンコーダー信号に基づい
て生成される転送タイミング信号である。リピートトリガーは、ポジショントリガーを基
準として、リピートタイマーにより所定時間間隔で生成される転送タイミング信号である
。フリーラントリガーは、モーターが停止したと判定された位置を基準として、フリーラ
ンタイマーにより所定時間間隔で生成される転送タイミング信号である。
The position trigger is a transfer timing signal that is generated based on an encoder signal that is output according to the rotation of the motor. The repeat trigger is a transfer timing signal generated at a predetermined time interval by a repeat timer on the basis of the position trigger. The free run trigger is a transfer timing signal generated at a predetermined time interval by a free run timer with reference to a position where it is determined that the motor has stopped.

本図の例では、RGBの順にLEDが繰り返し点灯される。また、ポジショントリガー
により、Bの電荷が転送され、ポジショントリガー直後のリピートトリガーによりRの電
荷が転送され、その次のリピートトリガーによりGの電荷が転送される。すなわち、1ラ
インごとにRGB各色に対応するシフト信号が3つ出力される。なお、以下では、この制
御方法を、「3シフト制御」ともいう。
In the example of this figure, the LEDs are repeatedly turned on in the order of RGB. Also, the B charge is transferred by the position trigger, the R charge is transferred by the repeat trigger immediately after the position trigger, and the G charge is transferred by the next repeat trigger. That is, three shift signals corresponding to each RGB color are output for each line. Hereinafter, this control method is also referred to as “3-shift control”.

ここで、定速期間では、モーターの回転速度は一定であるため、ポジショントリガーは
、理想の間隔Iで生成される(T10、T20、T30)。リピートトリガーは、ポジシ
ョントリガーから間隔iで生成される(T11、T12、T21、T22、T31、T3
2)。また、Gの電荷を転送するためのリピートトリガー(T12、T22)と、それら
の直後のポジショントリガー(T20、T30)との間隔は、一定の間隔となっている。
従って、各ラインのRGB各色に対応する電荷は、理想の時間蓄積される。
Here, since the rotational speed of the motor is constant during the constant speed period, the position trigger is generated at an ideal interval I (T10, T20, T30). The repeat trigger is generated at an interval i from the position trigger (T11, T12, T21, T22, T31, T3
2). Further, the interval between the repeat trigger (T12, T22) for transferring the charge of G and the position trigger (T20, T30) immediately after them is a constant interval.
Therefore, charges corresponding to RGB colors of each line are accumulated for an ideal time.

一方、減速期間では、モーターの回転が徐々に減速されるため、時間の経過とともに、
ポジショントリガーの間隔は、定速期間における理想の間隔Iよりも長くなっている(I
’、I’’、I’’’)。すなわち、減速期間では、ポジショントリガーの出力が徐々に
遅れるため(T40、T50、T60)、Gの電荷を転送するためのリピートトリガー(
T32、T42、T52)と、その直後のポジショントリガー(T40、T50、T60
)との間隔が、上記の定速期間における一定の間隔よりも長くなっている。そのため、B
色の電荷を蓄積する時間が長くなり、B色のLEDが消灯した後も、不要な電荷が蓄積さ
れる(図中の「ノイズ」)。その結果、画像処理手段に転送されるB色の電荷(T40、
T50、T60で転送開始される画像情報、有効データ)にノイズ成分(「暗部ノイズ」
などともいう)が含まれ、読み取り画質に影響が出る。
On the other hand, during the deceleration period, the rotation of the motor is gradually decelerated.
The position trigger interval is longer than the ideal interval I in the constant speed period (I
', I'',I'''). That is, during the deceleration period, the output of the position trigger is gradually delayed (T40, T50, T60), so that the repeat trigger (G
T32, T42, T52) and the position trigger (T40, T50, T60) just after that
) Is longer than a certain interval in the constant speed period. Therefore, B
Even after the time for accumulating the color charge becomes longer and the B-color LED is turned off, unnecessary charge is accumulated (“noise” in the figure). As a result, the B-color charge (T40, transferred to the image processing means)
The noise information (“dark part noise”) in the image information and valid data that starts to be transferred at T50 and T60
Etc.), which affects the read image quality.

モーター駆動が停止した後は、フリーラントリガーが出力される(T70、T71)。
Gの電荷を転送するためのリピートトリガー(T62)と、その直後のフリーラントリガ
ー(T70)との間隔I’’’’が、上記の定速期間における一定の間隔よりも長くなる
場合、B色の電荷にはノイズ成分が含まれることとなる。
After the motor drive is stopped, a free run trigger is output (T70, T71).
When the interval I ″ ″ between the repeat trigger (T62) for transferring the charge of G and the free-run trigger (T70) immediately after it is longer than the predetermined interval in the constant speed period, B The color charge includes a noise component.

同様に、加速期間においても、モーターの回転が徐々に加速されるため、定速期間から
離れるにつれて、ポジショントリガーの間隔が、定速期間における理想の間隔Iよりも長
くなる。そのため、B色の電荷にノイズ成分が含まれ、画質に影響が出る。
Similarly, since the rotation of the motor is gradually accelerated during the acceleration period, the position trigger interval becomes longer than the ideal interval I during the constant speed period as the distance from the constant speed period increases. For this reason, a noise component is included in the B color charge, which affects the image quality.

そこで、本発明は、加速期間、減速期間などのモーター速度が安定しない場合に、読み
取り画質を向上することを目的とする。
Therefore, an object of the present invention is to improve reading image quality when the motor speed is not stable during an acceleration period, a deceleration period, or the like.

上記の課題を解決するための本発明の一態様は、画像読取装置であって、光電変換素子
に蓄積された電荷をシフト信号によってシフトレジスターへ転送するイメージセンサーと
、前記シフト信号の出力タイミングを制御する制御手段と、前記イメージセンサーを運搬
するキャリッジを移動させるためのモーターと、前記モーターの回転量を検出し出力する
エンコーダーと、を備え、前記制御手段は、1ライン毎に、RGB各色の電荷蓄積開始タ
イミングであるシフト信号を出力する3シフト制御と、1ライン毎に、RGB各色に対応
する電荷蓄積開始タイミングであるシフト信号に加え、前記RGB各色に対応するシフト
信号の出力後に所定のダミーシフト信号を出力する4シフト制御と、のいずれかを選択的
に実行し、前記エンコーダーの出力に基づいてモーター速度を判定し、該モーター速度が
所定速度以下である場合には前記4シフト制御を選択し、該モーター速度が所定速度を超
える場合には前記3シフト制御を選択する、ことを特徴とする。
One embodiment of the present invention for solving the above-described problem is an image reading apparatus, in which an image sensor that transfers charges accumulated in a photoelectric conversion element to a shift register by a shift signal, and an output timing of the shift signal Control means for controlling, a motor for moving a carriage for carrying the image sensor, and an encoder for detecting and outputting the rotation amount of the motor, the control means for each color of RGB for each line. 3 shift control for outputting a shift signal that is a charge accumulation start timing, and for each line, in addition to a shift signal that is a charge accumulation start timing corresponding to each RGB color, a predetermined signal is output after the shift signal corresponding to each RGB color is output 4 shift control that outputs a dummy shift signal is selectively executed, and the encoder Determining the motor speed based on the force, selecting the 4-shift control if the motor speed is below a predetermined speed, and selecting the 3-shift control if the motor speed exceeds a predetermined speed; It is characterized by.

ここで、前記画像読取装置は、前記イメージセンサーからの画像信号を処理する処理手
段を備え、前記処理手段は、前記4シフト制御が選択されている場合、所定の基準色に対
応するシフト信号により前記イメージセンサーから出力された画像信号を、無効なデータ
として処理する、ことを特徴としていてもよい。
Here, the image reading apparatus includes processing means for processing an image signal from the image sensor, and the processing means uses a shift signal corresponding to a predetermined reference color when the 4-shift control is selected. The image signal output from the image sensor may be processed as invalid data.

また、前記画像読取装置は、RGB各色に対応する光源を備え、前記制御手段は、前記
4シフト制御において、前記RGB各色の電荷蓄積開始タイミングであるシフト信号に合
わせて、対応する色の光源を点灯させ、前記所定のダミーシフト信号ではいずれの光源も
点灯させない、ことを特徴としていてもよい。
In addition, the image reading apparatus includes light sources corresponding to RGB colors, and the control unit includes light sources of corresponding colors in accordance with a shift signal that is a charge accumulation start timing of the RGB colors in the 4-shift control. The light source may be turned on, and any light source may not be turned on with the predetermined dummy shift signal.

また、前記制御手段は、前記4シフト制御において、前記エンコーダーの出力結果が所
定状態の場合に、前記所定の基準色に対応する電荷蓄積の開始タイミングであるシフト信
号を出力し、前記所定の基準色に対応する電荷蓄積の開始タイミングを基準として、前記
所定の基準色以外の各色について定められた時間が経過した場合に、前記所定の基準色以
外の各色に対応する電荷蓄積の開始タイミングであるシフト信号を出力し、前記所定の基
準色以外の各色に対応する電荷蓄積の開始タイミングであるシフト信号の出力後、前記所
定の基準色に対応する電荷蓄積の開始タイミングを基準として、定められた時間が経過し
た場合に、前記所定のダミーシフト信号を出力する、ことを特徴としていてもよい。
In the four-shift control, when the output result of the encoder is in a predetermined state, the control means outputs a shift signal that is a charge accumulation start timing corresponding to the predetermined reference color, and the predetermined reference This is the charge accumulation start timing corresponding to each color other than the predetermined reference color when a predetermined time has elapsed for each color other than the predetermined reference color with reference to the charge accumulation start timing corresponding to the color. After the shift signal is output and the shift signal, which is the charge accumulation start timing corresponding to each color other than the predetermined reference color, is output, the charge accumulation start timing corresponding to the predetermined reference color is determined as a reference. The predetermined dummy shift signal may be output when time elapses.

また、前記4シフト制御が実行される期間には、前記モーターの加速期間と減速期間の
少なくとも一部の期間が含まれる、ことを特徴としていてもよい。
The period in which the 4-shift control is executed may include at least a part of an acceleration period and a deceleration period of the motor.

上記の課題を解決するための本発明の他の態様は、画像読取装置における画像読取制御
方法であって、前記画像読取装置は、光電変換素子に蓄積された電荷をシフト信号によっ
てシフトレジスターへ転送するイメージセンサーと、前記イメージセンサーを運搬するキ
ャリッジを移動させるためのモーターと、を備え、1ライン毎に、RGB各色の電荷蓄積
開始タイミングであるシフト信号を出力する3シフト制御と、1ライン毎に、RGB各色
に対応する電荷蓄積開始タイミングであるシフト信号に加え、前記RGB各色に対応する
シフト信号の出力後に所定のダミーシフト信号を出力する4シフト制御と、のいずれかを
選択的に実行し、前記モーターの速度を判定し、該モーター速度が所定速度以下である場
合には前記4シフト制御を選択し、該モーター速度が所定速度を超える場合には前記3シ
フト制御を選択する、ことを特徴とする。
Another aspect of the present invention for solving the above problem is an image reading control method in an image reading apparatus, wherein the image reading apparatus transfers charges accumulated in a photoelectric conversion element to a shift register by a shift signal. 3 shift control that outputs a shift signal that is a charge accumulation start timing of each color of RGB for each line, and an image sensor that moves the carriage that carries the image sensor. In addition, in addition to the shift signal that is the charge accumulation start timing corresponding to each RGB color, one of the four shift controls that outputs a predetermined dummy shift signal after outputting the shift signal corresponding to each RGB color is selectively executed. The speed of the motor is judged, and when the motor speed is equal to or lower than a predetermined speed, the 4-shift control is selected. , It selects the third shift control when the motor speed exceeds a predetermined speed, characterized in that.

本発明の一実施形態の一例に係る画像読取装置の概略構成図である。1 is a schematic configuration diagram of an image reading apparatus according to an example of an embodiment of the present invention. 本発明の一実施形態の一例に係る画像読取制御(加速期間)のタイミングチャートである。It is a timing chart of image reading control (acceleration period) concerning an example of one embodiment of the present invention. 本発明の一実施形態の一例に係る画像読取制御(減速期間)のタイミングチャートである。6 is a timing chart of image reading control (deceleration period) according to an example of an embodiment of the present invention. 本発明の一実施形態の一例に係る画像読取装置が実行する処理(読取制御処理)を説明するフロー図である。FIG. 6 is a flowchart illustrating processing (reading control processing) executed by the image reading apparatus according to an example of an embodiment of the present invention. 本発明の一実施形態の一例に係る画像読取装置が実行する処理(周期割り込み処理)を説明するフロー図である。It is a flowchart explaining the process (periodic interruption process) which the image reading apparatus which concerns on an example of one Embodiment of this invention performs. 従来の画像読取制御(減速期間)のタイミングチャートである。It is a timing chart of conventional image reading control (deceleration period).

以下、本発明の一実施形態の一例について、図面を参照して説明する。   Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態の一例に係る画像読取装置の概略構成図である。   FIG. 1 is a schematic configuration diagram of an image reading apparatus according to an example of an embodiment of the present invention.

画像読取装置10は、筐体の上面に原稿台(不図示)を備えた、いわゆるフラットベッ
ド型画像読取装置である。画像読取装置10は、イメージセンサー220により透明板の
原稿台に載置された原稿の画像を読み取る。
The image reading apparatus 10 is a so-called flat bed type image reading apparatus having a document table (not shown) on the upper surface of a housing. The image reading device 10 reads an image of a document placed on a document table of a transparent plate by the image sensor 220.

画像読取装置10は、光源210及びイメージセンサー220を搭載したキャリッジ2
00と、キャリッジ200の移動を制御する駆動機構300と、画像読取装置10の全体
を制御し、画像を読み取るための種々の処理を行う制御部100と、を備えている。
The image reading apparatus 10 includes a carriage 2 on which a light source 210 and an image sensor 220 are mounted.
00, a drive mechanism 300 that controls the movement of the carriage 200, and a control unit 100 that controls the entire image reading apparatus 10 and performs various processes for reading an image.

キャリッジ200は、イメージセンサー220を、光源210とともに副走査方向に運
搬する。キャリッジ200は、原稿台の盤面に対し平行なガイド用のシャフト等にスライ
ド自在に取り付けられており、駆動機構300のモーター(例えば、DCモーター)31
0により回転するベルトにより牽引される。キャリッジの200の移動量は、駆動機構3
00のモーター310の所定の回転量に応じてエンコーダー信号を出力するエンコーダー
320の出力信号に基づいて制御される。
The carriage 200 carries the image sensor 220 together with the light source 210 in the sub-scanning direction. The carriage 200 is slidably attached to a guide shaft or the like parallel to the platen surface of the document table, and a motor (for example, a DC motor) 31 of the drive mechanism 300.
It is pulled by a belt that rotates by zero. The amount of movement of the carriage 200 depends on the driving mechanism 3.
Control is performed based on an output signal of an encoder 320 that outputs an encoder signal in accordance with a predetermined rotation amount of the 00 motor 310.

光源210は、例えば、赤色LED、緑色LED、青色LEDからなり、RGBの3色
の光を所定の順序で発生する。本実施形態では、光源210は、1ライン分の画像読み取
りを行う場合には、赤色LED、緑色LED、青色LEDの順に光を発生する。そして、
複数ライン分の画像読み取りを行うため、同様の発光動作を繰り返す。各色のLEDの発
光時間は、色ごとに予め定められており、点灯してからその定められた時間が経過したと
きに、消灯する。
The light source 210 includes, for example, a red LED, a green LED, and a blue LED, and generates light of three colors of RGB in a predetermined order. In the present embodiment, the light source 210 emits light in the order of a red LED, a green LED, and a blue LED when performing image reading for one line. And
In order to read an image for a plurality of lines, the same light emitting operation is repeated. The light emission time of each color LED is predetermined for each color, and is extinguished when the predetermined time elapses after lighting.

以下では、RGBの3色のうち、1ライン分の発光動作において最初に発光する色を「
基準色」とよぶ。なお、発光順序は、RGBの順序に限られない。
In the following, among the three colors of RGB, the first light emission color in the light emission operation for one line is “
It is called “reference color”. Note that the light emission order is not limited to the RGB order.

イメージセンサー220は、原稿に反射した光を受光し、受光量に応じた電荷を蓄積し
、画像読取データ(電気信号)として、制御部100に送る。
The image sensor 220 receives the light reflected by the document, accumulates electric charges corresponding to the amount of received light, and sends the charges to the control unit 100 as image reading data (electrical signals).

イメージセンサー220は、主走査方向に並んだ複数のセンサーチップからなる。各セ
ンサーチップは、例えば、通常のCCD(Charge Coupled Device)イメージセンサーと
同様の構成を備えている。すなわち、各センサーチップは、光電変換素子(フォトダイオ
ードPD)と、シフトゲートと、シフトレジスターと、を備える。そして、光電変換素子
に蓄積された電荷を、シフトゲートを開通させてシフトレジスターへ転送し、シフトレジ
スターにより電荷を順次移動させながら出力する。
The image sensor 220 includes a plurality of sensor chips arranged in the main scanning direction. Each sensor chip has the same configuration as, for example, a normal CCD (Charge Coupled Device) image sensor. That is, each sensor chip includes a photoelectric conversion element (photodiode PD), a shift gate, and a shift register. Then, the charge accumulated in the photoelectric conversion element is transferred to the shift register by opening the shift gate, and output while sequentially moving the charge by the shift register.

シフトゲートの開通(電荷の転送)は、転送タイミング信号であるトリガー信号(後述
する読取制御部120からの信号)の印加に応答して行われる。ここで、光電変換素子は
、常時、光の受光量に応じて電荷を蓄積しているため、電荷のシフトレジスターへの転送
タイミングが、次の発光色の光についての電荷を蓄積する開始タイミングとなる。そして
、シフトレジスターに転送された電荷は、シフトレジスターの末端の出力部により、電気
信号(アナログデータ)に変換されて、A/D変換部110に送られる。
The opening of the shift gate (charge transfer) is performed in response to application of a trigger signal (a signal from a read control unit 120 described later) that is a transfer timing signal. Here, since the photoelectric conversion element always accumulates charges according to the amount of received light, the transfer timing of the charges to the shift register is the start timing of accumulating charges for the light of the next emission color. Become. Then, the charge transferred to the shift register is converted into an electric signal (analog data) by the output unit at the end of the shift register, and is sent to the A / D conversion unit 110.

制御部100は、イメージセンサー220から出力されたアナログデータをデジタルデ
ータに変換するA/D変換部110と、A/D変換部110から出力されたデジタルデー
タに対して各種補正を行うデータ処理部130と、データ処理部130が各種補正を行う
ためのデジタルデータを記憶する記憶部140と、データ処理部130からのデータをパ
ーソナルコンピューターなどのホストに送るための出力部150と、制御部100内の各
機能部を全体的に制御するとともに、キャリッジ200内の光源210やイメージセンサ
ー220、及び、駆動機構300を制御する読取制御部120と、を備えている。
The control unit 100 includes an A / D conversion unit 110 that converts analog data output from the image sensor 220 into digital data, and a data processing unit that performs various corrections on the digital data output from the A / D conversion unit 110. 130, a storage unit 140 that stores digital data for the data processing unit 130 to perform various corrections, an output unit 150 for sending data from the data processing unit 130 to a host such as a personal computer, and the like in the control unit 100 And a reading control unit 120 that controls the light source 210 and the image sensor 220 in the carriage 200 and the driving mechanism 300.

なお、A/D変換部110は、キャリッジ200内の基板に搭載されていてもよい。   Note that the A / D converter 110 may be mounted on a substrate in the carriage 200.

読取制御部120は、駆動機構300のモーター310の回転を制御することにより、
キャリッジ200の移動を制御する。
The reading control unit 120 controls the rotation of the motor 310 of the driving mechanism 300, thereby
The movement of the carriage 200 is controlled.

また、読取制御部120は、イメージセンサー220の画像読み取り、白基準データの
読み取り、黒基準データの読み取り、を制御する。具体的には、イメージセンサー220
に対してトリガー信号の供給を行い、光電変換素子に蓄積された電荷のシフトレジスター
への転送タイミング(次の電荷蓄積の開始タイミング)を制御する。この制御を行うため
、読取制御部120は、タイマー部121を備える。また、読取制御部120は、イメー
ジセンサー220が読み取ったデータのA/D変換部110への転送を制御する。
Further, the reading control unit 120 controls image reading of the image sensor 220, reading of white reference data, and reading of black reference data. Specifically, the image sensor 220.
Is supplied with a trigger signal to control the transfer timing of charge accumulated in the photoelectric conversion element to the shift register (next charge accumulation start timing). In order to perform this control, the reading control unit 120 includes a timer unit 121. The reading control unit 120 controls transfer of data read by the image sensor 220 to the A / D conversion unit 110.

また、読取制御部120は、また、イメージセンサー220の読み取り動作に合わせて
、光源210の点灯、消灯を制御する。
In addition, the reading control unit 120 controls turning on and off of the light source 210 in accordance with the reading operation of the image sensor 220.

データ処理部130は、A/D変換部110から出力されたデジタルデータにシェーデ
ィング補正などの各種補正を施して、出力部150に出力する。例えば、シェーディング
補正を行う場合、データ処理部130は、A/D変換部110から出力された画像データ
、白基準データ、黒基準データを、それぞれ、後述する記憶部140に記憶し、対応する
画素ごとに、所定の補正式に従ったシェーディング補正を行う。補正後、データ処理部1
30は、補正済みの画像データを、出力部150に出力する。
The data processing unit 130 performs various corrections such as shading correction on the digital data output from the A / D conversion unit 110 and outputs the digital data to the output unit 150. For example, when performing shading correction, the data processing unit 130 stores the image data, white reference data, and black reference data output from the A / D conversion unit 110 in the storage unit 140 described later, and corresponding pixels. Each time, shading correction is performed according to a predetermined correction formula. After correction, data processing unit 1
30 outputs the corrected image data to the output unit 150.

記憶部140は、データ処理部130が各種補正処理を行うためのデータを記憶する。
例えば、記憶部140は、白基準データや黒基準データを記憶する。また、記憶部140
は、補正前の画像データを記憶するようにしてもよい。
The storage unit 140 stores data for the data processing unit 130 to perform various correction processes.
For example, the storage unit 140 stores white reference data and black reference data. In addition, the storage unit 140
The image data before correction may be stored.

出力部150は、ネットワーク接続やUSB接続を行うためのインターフェイスを備え
、データ処理部130から出力されたデジタルデータを、ホストコンピューターに送信す
る。
The output unit 150 includes an interface for performing network connection or USB connection, and transmits the digital data output from the data processing unit 130 to the host computer.

上記の制御部100の主な構成要素は、主制御装置であるCPUと、プログラム等が記
録されたROMと、メインメモリーとしてデータ等を一時的に格納するRAMと、ホスト
等との入出力を制御するインターフェイスと、各構成要素間の通信経路となるシステムバ
スとを備えた一般的なコンピューターにより達成することができる。各処理を専用に行う
ように設計されたASIC(Application Specific Integrated Circuit)で構成されて
いてもよい。A/D変換部110は、アナログフロントエンドIC(Integrated Circuit
)で構成することができる。
The main components of the control unit 100 described above are input / output with a CPU as a main control device, a ROM in which a program and the like are recorded, a RAM that temporarily stores data and the like as a main memory, and a host and the like. This can be achieved by a general computer provided with an interface to be controlled and a system bus serving as a communication path between each component. You may comprise with ASIC (Application Specific Integrated Circuit) designed so that each process may be performed exclusively. The A / D converter 110 is an analog front end IC (Integrated Circuit).
).

本実施形態が適用された画像読取装置10は、以上のような構成からなる。ただし、こ
の構成は、本願発明の特徴を説明するにあたって主要構成を説明したのであって、上記の
構成に限られない。また、一般的な画像読取装置が備える他の構成を排除するものではな
い。また、画像読取装置10は、さらにプリント機能や、ファクシミリ機能を有する複合
機であってもよい。
The image reading apparatus 10 to which this embodiment is applied has the above-described configuration. However, this configuration is not limited to the above configuration because the main configuration has been described in describing the features of the present invention. Further, other configurations included in a general image reading apparatus are not excluded. Further, the image reading apparatus 10 may be a multifunction machine having a print function and a facsimile function.

また、上記した各構成要素は、画像読取装置10の構成を理解容易にするために、主な
処理内容に応じて分類したものである。構成要素の分類の仕方や名称によって、本願発明
が制限されることはない。画像読取装置10の構成は、処理内容に応じて、さらに多くの
構成要素に分類することもできる。また、1つの構成要素がさらに多くの処理を実行する
ように分類することもできる。また、各構成要素の処理は、1つのハードウェアで実行さ
れてもよいし、複数のハードウェアで実行されてもよい。
In addition, the above-described constituent elements are classified according to main processing contents in order to facilitate understanding of the configuration of the image reading apparatus 10. The present invention is not limited by the way of classification and names of the constituent elements. The configuration of the image reading apparatus 10 can be classified into more components depending on the processing content. Moreover, it can also classify | categorize so that one component may perform more processes. Further, the processing of each component may be executed by one hardware or may be executed by a plurality of hardware.

次に、読取制御部120において行われる画像読取制御について説明する。   Next, image reading control performed in the reading control unit 120 will be described.

図2は、本発明の一実施形態の一例に係る画像読取制御(加速期間)のタイミングチャ
ートである。また、図3は、本発明の一実施形態の一例に係る画像読取制御(減速期間)
のタイミングチャートである。なお、各種トリガー信号、エンコーダー信号の出力タイミ
ングは、図示する間隔に限定されるものではない。
FIG. 2 is a timing chart of image reading control (acceleration period) according to an example of an embodiment of the present invention. FIG. 3 shows image reading control (deceleration period) according to an example of an embodiment of the present invention.
It is a timing chart. Note that the output timings of various trigger signals and encoder signals are not limited to the intervals shown.

読取制御部120は、加速期間、減速期間などのモーター速度が安定しない場合におけ
る画質の低下を防ぐため、ポジショントリガー、及びリピートトリガーに加え、ダミート
リガーを生成する。すなわち、1ラインごとにRGB各色に対応すするシフト信号3つと
、ダミー信号1つとを出力する。以下では、この制御方法を、「4シフト制御」ともいう
The reading control unit 120 generates a dummy trigger in addition to the position trigger and the repeat trigger in order to prevent deterioration in image quality when the motor speed is not stable such as the acceleration period and the deceleration period. That is, three shift signals corresponding to RGB colors and one dummy signal are output for each line. Hereinafter, this control method is also referred to as “4-shift control”.

ポジショントリガーは、モーターの回転に応じて出力されるエンコーダー信号に基づい
て生成される転送タイミング信号である。リピートトリガーは、ポジショントリガーを基
準として、リピートタイマー(タイマー部121)により所定時間間隔で生成される転送
タイミング信号である。フリーラントリガーは、モーターが停止したと判定された位置を
基準として、フリーランタイマー(タイマー部121)により所定時間間隔で生成される
転送タイミング信号である。ダミートリガーは、ポジショントリガーを基準として、ダミ
ータイマー(タイマー部121)により所定時間経過後に生成される転送タイミング信号
である。
The position trigger is a transfer timing signal that is generated based on an encoder signal that is output according to the rotation of the motor. The repeat trigger is a transfer timing signal generated at a predetermined time interval by a repeat timer (timer unit 121) based on the position trigger. The free run trigger is a transfer timing signal generated at a predetermined time interval by a free run timer (timer unit 121) with reference to a position where it is determined that the motor has stopped. The dummy trigger is a transfer timing signal generated after a predetermined time has elapsed by a dummy timer (timer unit 121) on the basis of the position trigger.

具体的には、読取制御部120は、タイマー部121を用いて定期的にエンコーダー信
号の信号状態を監視し、モーターの所定の回転量(図示する例では、2周期ごと)ごとに
発生する所定の信号状態(図示する例では、エンコーダー信号の上の相がH(ハイ)状態
)を検出した場合に、ポジショントリガーを出力する。ポジショントリガーは、基準色(
図示する例では、R)に対応する電荷蓄積の開始タイミングであるとともに、ポジション
トリガーの直前のダミートリガー又はリピートトリガーのタイミングから蓄積された電荷
の転送タイミングでもある。
Specifically, the reading control unit 120 periodically monitors the signal state of the encoder signal using the timer unit 121, and generates a predetermined amount that occurs every predetermined amount of rotation of the motor (every two cycles in the illustrated example). When a signal state (in the example shown in the drawing, the upper phase of the encoder signal is H (high) state) is detected, a position trigger is output. The position trigger is a standard color (
In the example shown, it is the charge accumulation start timing corresponding to R) and the transfer timing of the accumulated charge from the timing of the dummy trigger or repeat trigger immediately before the position trigger.

従って、図2に示すように、モーター駆動開始後、T10、T20、T30、T40、
及びT50において、ポジショントリガーが出力される。なお、読み取り開始位置は、モ
ーター駆動開始以降であればT10に限られない。また、図3に示すように、T10、T
20、T30、T40、T50、T60において、ポジショントリガーが出力される。
Therefore, as shown in FIG. 2, after starting the motor, T10, T20, T30, T40,
At T50, the position trigger is output. The reading start position is not limited to T10 as long as it is after the start of motor driving. Further, as shown in FIG. 3, T10, T
At 20, T30, T40, T50, T60, a position trigger is output.

また、読取制御部120は、基準色以外の色(図示する例では、G、B)に対応する電
荷の蓄積の開始タイミングであるとともに、前の色に対応する電荷の転送タイミングであ
るリピートトリガーを、リピートタイマー(タイマー部121)を用いて出力する。すな
わち、読取制御部120は、ポジショントリガーの出力タイミングから、所定間隔iが経
過した場合にGに対応するリピートトリガーを出力し、さらに所定間隔iが経過した場合
にBに対応するリピートトリガーを出力する。
In addition, the reading control unit 120 is a repeat trigger that is a charge accumulation start timing corresponding to a color other than the reference color (G and B in the illustrated example) and a charge transfer timing corresponding to the previous color. Is output using a repeat timer (timer unit 121). That is, the reading control unit 120 outputs a repeat trigger corresponding to G when the predetermined interval i has elapsed from the output timing of the position trigger, and further outputs a repeat trigger corresponding to B when the predetermined interval i has elapsed. To do.

従って、図2に示すように、T11、T12、T21、T22、T31、T32、T4
1、T42、及びT51において、リピートトリガーが出力される。また、図3に示すよ
うに、T11、T12、T21、T22、T31、T32、T41、T42、T51、T
52、T61、及びT62において、リピートトリガーが出力される。
Therefore, as shown in FIG. 2, T11, T12, T21, T22, T31, T32, T4
At 1, T42, and T51, a repeat trigger is output. As shown in FIG. 3, T11, T12, T21, T22, T31, T32, T41, T42, T51, T
At 52, T61, and T62, a repeat trigger is output.

また、読取制御部120は、RGB各色のうち最後の色(図示する例では、B)に対応
するリピートトリガーを出力後、後述する所定の条件の場合に、最後の色に対応する電荷
の転送タイミングであるダミートリガーを出力する。ダミートリガーは、当該ダミートリ
ガーからその直後のポジショントリガーまでの間の電荷(暗部ノイズ)の蓄積の開始タイ
ミングでもある。
Further, after outputting a repeat trigger corresponding to the last color (B in the illustrated example) among the RGB colors, the reading control unit 120 transfers the charge corresponding to the last color under a predetermined condition described later. A dummy trigger that is timing is output. The dummy trigger is also a start timing of accumulation of electric charges (dark part noise) from the dummy trigger to the position trigger immediately after the dummy trigger.

具体的には、読取制御部120は、ポジショントリガーから所定期間Diが経過したか
否かを判定するとともに、ダミートリガーの有効/無効を示す設定値が有効であるか否か
を判定する。そして、所定期間Diが経過し、かつ、前記設定値が有効である場合に、ダ
ミートリガーを出力する。所定期間Diは、2iに、定速期間におけるGの電荷を転送す
るためのリピートトリガーとその直後のポジショントリガーとの間隔を加えた期間、例え
ば、3iとすることができる。
Specifically, the reading control unit 120 determines whether or not a predetermined period Di has elapsed from the position trigger, and determines whether or not the setting value indicating the validity / invalidity of the dummy trigger is valid. A dummy trigger is output when the predetermined period Di has elapsed and the set value is valid. The predetermined period Di can be set to a period obtained by adding an interval between a repeat trigger for transferring G charges in a constant speed period and a position trigger immediately after the predetermined period Di, for example, 3i.

読取制御部120は、原稿の読み取り指示を受け付けた場合など、モーターの駆動開始
のタイミングで、前記設定値を有効に設定する。モーター駆動開始後の加速期間において
は、読取制御部120は、周期割り込みごとにモーターの駆動周期を測定し、所定の閾値
と比較を行い、モーターの駆動周期が該所定の閾値以下となった場合に、前記設定値を無
効に設定する。
The reading control unit 120 sets the set value to be valid at the timing of starting driving the motor, such as when receiving an instruction to read a document. In the acceleration period after the start of motor driving, the reading control unit 120 measures the motor driving cycle for each cycle interrupt, compares it with a predetermined threshold value, and the motor driving cycle falls below the predetermined threshold value. In addition, the set value is set to be invalid.

定速期間から減速期間にかけては、読取制御部120は、モーターの駆動周期と前記所
定の閾値と比較を行い、モーターの駆動周期が前記所定の閾値を超えた場合に、前記設定
値を有効に設定する。モーターの駆動が停止したタイミングでは、前記設定値を無効に設
定する。
From the constant speed period to the deceleration period, the reading control unit 120 compares the motor driving cycle with the predetermined threshold value, and validates the set value when the motor driving cycle exceeds the predetermined threshold value. Set. At the timing when the driving of the motor is stopped, the set value is set to invalid.

前記所定の閾値は、ポジショントリガーの間隔(周期)が、RGB全色の電荷蓄積時間
と最後の色に対応する画像情報転送時間の合計値を超えるか否か又はその合計値以下であ
るか否か、を判定するための値である。該合計値は、例えば、所定期間Diにiを加えた
4iとすることができる。
The predetermined threshold is whether or not the position trigger interval (cycle) exceeds or is less than the total value of the charge accumulation time of all RGB colors and the image information transfer time corresponding to the last color. It is a value for determining whether or not. The total value can be set to 4i obtained by adding i to the predetermined period Di, for example.

例えば図2及び図3では、所定の閾値は、2iを設定することができる。すなわち、図
2では、C1のタイミングで測定したモーターの駆動周期と所定の閾値2iとを比較する
ことにより、ポジショントリガー間の間隔I’が前記合計値4i以下となると予測できる
。また、図3では、所定のC2のタイミングで測定したモーターの駆動周期と所定の閾値
2iとを比較することにより、ポジショントリガー間の間隔I’’が前記合計値4iを超
えると予測できる。
For example, in FIG. 2 and FIG. 3, 2i can be set as the predetermined threshold. That is, in FIG. 2, it can be predicted that the interval I ′ between the position triggers will be less than or equal to the total value 4i by comparing the motor driving cycle measured at the timing of C1 with the predetermined threshold 2i. Further, in FIG. 3, it can be predicted that the interval I ″ between the position triggers exceeds the total value 4i by comparing the motor driving cycle measured at a predetermined C2 timing with a predetermined threshold 2i.

もちろん、上記の所定の閾値や合計値は一例であり、適宜調整することが可能である。
なお、仮に、ポジショントリガーの間隔が前記合計値以下である場合にまで、ダミートリ
ガーが出力されると、最後の色の画像情報の転送時間が足りなくなるという問題がある。
そこで、モーターの駆動周期が前記所定の閾値を超えた場合に、ポジショントリガーの間
隔が前記合計値を超えると判断できるように、前記所定の閾値の値が設定される。
Of course, the predetermined threshold and the total value are examples, and can be adjusted as appropriate.
If the dummy trigger is output until the position trigger interval is equal to or less than the total value, there is a problem that the transfer time of the last color image information is insufficient.
Therefore, the value of the predetermined threshold is set so that it can be determined that the position trigger interval exceeds the total value when the motor driving cycle exceeds the predetermined threshold.

従って、図2に示すように、T13、及びT23において、ダミートリガーが出力され
る。また、図3に示すように、T43、T53、及びT63において、ダミートリガーが
出力される。すなわち、ダミートリガーにより、Bについて蓄積された電荷の転送が行わ
れる。また、ダミートリガーの次のポジショントリガー(又はフリーラントリガー)によ
り、当該ダミートリガーから当該次のポジショントリガー(又はフリーラントリガー)ま
での間に蓄積された電荷(暗部ノイズ)の転送が行われる。
Therefore, as shown in FIG. 2, dummy triggers are output at T13 and T23. Further, as shown in FIG. 3, dummy triggers are output at T43, T53, and T63. That is, the charge accumulated for B is transferred by the dummy trigger. Further, the charge (dark noise) accumulated between the dummy trigger and the next position trigger (or free-run trigger) is transferred by the position trigger (or free-run trigger) next to the dummy trigger.

ここで、ダミートリガーの次のポジショントリガー(又はフリーラントリガー)により
転送される画像情報は、RGBのいずれにも対応しない無効なデータであるため、データ
処理部130は、このデータを読み捨て(廃棄し)、読み取りデータとして扱わない。も
ちろん、他の機能部で、読み捨てるようにしてもよい。なお、読取制御部120は、ダミ
ートリガーを出力した場合、次のトリガーで転送されるデータは無効であることを、デー
タ処理部130に通知する。
Here, since the image information transferred by the position trigger (or free-run trigger) next to the dummy trigger is invalid data that does not correspond to any of RGB, the data processing unit 130 discards (discards) this data. Do not treat it as read data. Of course, other functional units may be discarded. When the reading control unit 120 outputs a dummy trigger, the reading control unit 120 notifies the data processing unit 130 that data transferred by the next trigger is invalid.

また、読取制御部120は、モーター駆動停止後、フリーランタイマー(タイマー部1
21)を用いてフリーラントリガーを出力する。すなわち、読取制御部120は、モータ
ーの駆動が停止したか否かを監視し、モーターの駆動が停止した場合、そのタイミングか
ら、所定間隔iごとに、フリートリガーを出力する。本実施形態では、フリーラントリガ
ーは、暗部ノイズに対応する電荷の転送タイミングとなる。
In addition, the reading control unit 120 is configured such that after the motor driving is stopped, a free-run timer (timer unit 1
21) is used to output a free-run trigger. That is, the reading control unit 120 monitors whether or not the driving of the motor is stopped. When the driving of the motor is stopped, the reading control unit 120 outputs a free trigger at every predetermined interval i from that timing. In the present embodiment, the free-run trigger is a charge transfer timing corresponding to dark part noise.

従って、図3に示すように、T70、及びT71において、フリーラントリガーが出力
される。
Therefore, as shown in FIG. 3, a free-run trigger is output at T70 and T71.

また、読取制御部120は、シフト信号の出力タイミングに合わせて、光源210の点
灯、消灯を切り替える。ただし、ダミートリガーのタイミングでは、読取制御部120は
、光源210の点灯を行わない。
Further, the reading control unit 120 switches on / off the light source 210 in accordance with the output timing of the shift signal. However, the reading control unit 120 does not turn on the light source 210 at the timing of the dummy trigger.

すなわち、読取制御部120は、ポジショントリガーのタイミングで、赤色LEDを点
灯させ、所定時間点灯を継続後、消灯する。また、ポジショントリガーの次のリピートト
リガーのタイミングで、緑色LEDを点灯させ、所定時間点灯を継続後、消灯する。また
、さらに次のリピートトリガーのタイミングで、緑色LEDを点灯させ、所定時間点灯を
継続後、消灯する。一方、ダミートリガーのタイミングでは、読取制御部120は、光源
210の点灯を行わない。また、フリーラントリガーのタイミングでも、光源210の点
灯を行わない。
That is, the reading control unit 120 turns on the red LED at the position trigger timing, continues lighting for a predetermined time, and then turns off. In addition, the green LED is lit at the timing of the repeat trigger next to the position trigger, and is lit for a predetermined time and then turned off. Further, at the timing of the next repeat trigger, the green LED is turned on, and after the lighting is continued for a predetermined time, it is turned off. On the other hand, at the timing of the dummy trigger, the reading control unit 120 does not turn on the light source 210. Further, the light source 210 is not turned on even at the timing of the free run trigger.

従って、図2に示すように、例えば、R(T10)、G(T11)、B(T12)の順
にLEDが点灯された後、ダミートリガー(T13)では、LEDは点灯されない。また
、図3に示すように、例えば、フリーラントリガー(T70)では、LEDは点灯されな
い。
Therefore, as shown in FIG. 2, for example, after the LEDs are lit in the order of R (T10), G (T11), and B (T12), the LEDs are not lit in the dummy trigger (T13). Moreover, as shown in FIG. 3, for example, in the free-run trigger (T70), the LED is not lit.

なお、実際には、各色LEDの点灯継続時間は、色によって異なる。光源3色の輝度並
びにセンサの感度には色による違い及びばらつきがあるので、点灯継続時間を同じにする
と、各色の光電変換された出力電荷量が等しくならないからである。従って、光源3色の
輝度並びにセンサの感度に応じて、点灯継続時間が異なるように予め設定されている。
Actually, the lighting duration of each color LED varies depending on the color. This is because the luminance of the three light sources and the sensitivity of the sensor have differences and variations depending on the colors, and if the lighting duration time is the same, the photoelectrically converted output charge amounts of the respective colors are not equal. Therefore, the lighting duration time is set in advance according to the luminance of the three light sources and the sensitivity of the sensor.

以上のように、画像読取装置10は、加速期間、減速期間などのモーター速度が安定し
ない場合には、4シフト制御を行い、定速期間などのモーター速度が安定している場合に
は、3シフト制御を行う。
As described above, the image reading apparatus 10 performs the 4-shift control when the motor speed is not stable during the acceleration period, the deceleration period, and the like, and is 3 when the motor speed is stable during the constant speed period. Shift control is performed.

次に、上記の画像読取装置10の特徴的な動作の流れについて説明する。   Next, a characteristic operation flow of the image reading apparatus 10 will be described.

図4は、本発明の一実施形態の一例に係る画像読取装置が実行する処理(読取制御処理
)を説明するフロー図である。なお、本フローは、各トリガーで実行される処理に注目し
て説明するものである。
FIG. 4 is a flowchart illustrating processing (reading control processing) executed by the image reading apparatus according to an example of the embodiment of the present invention. This flow will be described by paying attention to processing executed by each trigger.

本フローは、エンコーダー信号を監視するタイマー(以下、ポジションタイマーという
)、リピートタイマー、ダミータイマー、又はフリーランタイマーにより、それぞれのタ
イマーに対応する所定時間が経過した場合に(タイマー割り込みにより)、開始される。
This flow starts when a predetermined time corresponding to each timer has passed (due to a timer interrupt) by a timer (hereinafter referred to as a position timer) for monitoring the encoder signal, a repeat timer, a dummy timer, or a free-run timer. Is done.

S10では、読取制御部120は、ポジショントリガーの発生タイミングであるか否か
を判定する。具体的には、読取制御部120は、ポジションタイマーによる割り込みが発
生したか否かを判定する。ポジションタイマー割り込みが発生した場合(S10:YES
)、処理をS20に進める。ポジションタイマー割り込みが発生していない場合(S10
:NO)、処理をS50に進める。
In S <b> 10, the reading control unit 120 determines whether it is the generation timing of the position trigger. Specifically, the reading control unit 120 determines whether or not an interruption by the position timer has occurred. When a position timer interrupt occurs (S10: YES)
), The process proceeds to S20. When no position timer interrupt has occurred (S10
: NO), the process proceeds to S50.

なお、S10:YESの場合、ポジションタイマー割り込みが発生した場合(S10:
YES)、読取制御部120は、検出したエンコーダー信号が所定の信号状態であるか否
かを判定する。すなわち、モーターが所定量回転したか否かを判定する。エンコーダー信
号が所定の信号状態である場合、処理をS20に進める。エンコーダー信号が所定の信号
状態でない場合は、本フローを終了する。
In the case of S10: YES, when a position timer interruption occurs (S10:
YES), the reading control unit 120 determines whether or not the detected encoder signal is in a predetermined signal state. That is, it is determined whether the motor has rotated a predetermined amount. If the encoder signal is in a predetermined signal state, the process proceeds to S20. If the encoder signal is not in a predetermined signal state, this flow ends.

S20では、読取制御部120は、シフト信号(ポジショントリガー)を生成し、イメ
ージセンサー220に出力する。そして、処理をS30に進める。
In S <b> 20, the reading control unit 120 generates a shift signal (position trigger) and outputs it to the image sensor 220. Then, the process proceeds to S30.

S30では、読取制御部120は、LED点灯制御を行う。具体的には、読取制御部1
20は、光源210のうち点灯色として設定されたLEDを、所定時間点灯させる。なお
、本処理では、基準色の赤色LEDが点灯される。そして、読取制御部120は、処理を
S40に進める。
In S30, the reading control unit 120 performs LED lighting control. Specifically, the reading control unit 1
20 turns on the LED set as the lighting color of the light source 210 for a predetermined time. In this process, the reference red LED is turned on. Then, the reading control unit 120 advances the process to S40.

S40では、読取制御部120は、次回の点灯色を設定する。具体的には、読取制御部
120は、S30で点灯した色の次の点灯色を設定する。なお、本処理では、基準色の次
の色である緑色LEDが設定される。そして、読取制御部120は、本フローを終了する
In S40, the reading control unit 120 sets the next lighting color. Specifically, the reading control unit 120 sets the next lighting color after the color that was lit in S30. In this process, a green LED that is the next color of the reference color is set. Then, the reading control unit 120 ends this flow.

S50では、読取制御部120は、リピートトリガーの発生タイミングであるか否かを
判定する。具体的には、読取制御部120は、リピートトタイマーによる割り込みが発生
したか否かを判定する。リピートタイマー割り込みが発生した場合(S50:YES)、
処理をS60に進める。リピートタイマー割り込みが発生していない場合(S50:NO
)、処理をS90に進める。
In S50, the reading control unit 120 determines whether or not it is a repeat trigger generation timing. Specifically, the reading control unit 120 determines whether or not an interruption by a repeat timer has occurred. When a repeat timer interrupt occurs (S50: YES),
The process proceeds to S60. When no repeat timer interrupt has occurred (S50: NO)
), The process proceeds to S90.

S60では、読取制御部120は、シフト信号(リピートトリガー)を生成し、イメー
ジセンサー220に出力する。そして、処理をS70に進める。
In S <b> 60, the reading control unit 120 generates a shift signal (repeat trigger) and outputs it to the image sensor 220. Then, the process proceeds to S70.

S70では、読取制御部120は、LED点灯制御を行う。具体的には、読取制御部1
20は、光源210のうち点灯色として設定されたLEDを、所定時間点灯させる。なお
、本処理では、基準色の次の緑色LED、又は緑色LEDの次の青色LEDが点灯される
。そして、読取制御部120は、処理をS80に進める。
In S70, the reading control unit 120 performs LED lighting control. Specifically, the reading control unit 1
20 turns on the LED set as the lighting color of the light source 210 for a predetermined time. In this process, the green LED next to the reference color or the blue LED next to the green LED is turned on. Then, the reading control unit 120 advances the process to S80.

S80では、読取制御部120は、次回の点灯色を設定する。具体的には、読取制御部
120は、S70で点灯した色の次の点灯色を設定する。なお、本処理では、緑色LED
の次の青色LED、又は青色LEDの次の赤色LED(基準色)が設定される。そして、
読取制御部120は、本フローを終了する。
In S80, the reading control unit 120 sets the next lighting color. Specifically, the reading control unit 120 sets the next lighting color after the color that was lit in S70. In this process, the green LED
The next blue LED or the red LED (reference color) next to the blue LED is set. And
The reading control unit 120 ends this flow.

S90では、読取制御部120は、ダミートリガーの発生タイミングであるか否かを判
定する。具体的には、読取制御部120は、ダミータイマーによる割り込みが発生したか
否かを判定する。ダミータイマー割り込みが発生した場合(S90:YES)、処理をS
100に進める。ダミータイマー割り込みが発生していない場合(S90:NO)、処理
をS140に進める。
In S90, the reading control unit 120 determines whether it is the generation timing of the dummy trigger. Specifically, the reading control unit 120 determines whether or not an interruption by a dummy timer has occurred. If a dummy timer interrupt has occurred (S90: YES), the process goes to S
Go to 100. If the dummy timer interrupt has not occurred (S90: NO), the process proceeds to S140.

S100では、読取制御部120は、ダミートリガーの有効/無効を示す設定値が有効
であるか否かを判定する。該設定値が有効である場合(S100:YES)、処理をS1
10に進める。該設定値が有効でない場合(S100:NO)、本フローを終了する。
In S100, the reading control unit 120 determines whether or not the setting value indicating whether the dummy trigger is valid or invalid is valid. If the set value is valid (S100: YES), the process is S1.
Proceed to 10. If the set value is not valid (S100: NO), this flow ends.

S110では、読取制御部120は、シフト信号(ダミートリガー)を生成し、イメー
ジセンサー220に出力する。そして、処理をS120に進める。
In S <b> 110, the reading control unit 120 generates a shift signal (dummy trigger) and outputs it to the image sensor 220. Then, the process proceeds to S120.

S120では、読取制御部120は、転送無効通知を行う。具体的には、読取制御部1
20は、次回のトリガーで転送されるデータが無効であることをデータ処理部130に通
知する。そして、処理をS130に進める。
In S120, the reading control unit 120 issues a transfer invalidity notification. Specifically, the reading control unit 1
20 notifies the data processing unit 130 that the data transferred by the next trigger is invalid. Then, the process proceeds to S130.

S130では、読取制御部120は、次回の点灯色を設定する。具体的には、読取制御
部120は、次回の点灯色として基準色を設定する。なお、本処理では、赤色LEDが設
定される。そして、読取制御部120は、本フローを終了する。
In S130, the reading control unit 120 sets the next lighting color. Specifically, the reading control unit 120 sets a reference color as the next lighting color. In this process, a red LED is set. Then, the reading control unit 120 ends this flow.

S140では、読取制御部120は、フリーラントリガーの発生タイミングであるか否
かを判定する。具体的には、読取制御部120は、フリーランタイマーによる割り込みが
発生したか否かを判定する。フリーランタイマー割り込みが発生した場合(S140:Y
ES)、処理をS150に進める。フリーランタイマー割り込みが発生していない場合(
S140:NO)、本フローを終了する。
In S140, the reading control unit 120 determines whether it is the generation timing of the free run trigger. Specifically, the reading control unit 120 determines whether or not an interruption by a free run timer has occurred. When a free-run timer interrupt occurs (S140: Y
ES), and the process proceeds to S150. If a free-run timer interrupt has not occurred (
S140: NO), this flow ends.

S150では、読取制御部120は、シフト信号(フリーラントリガー)を生成し、イ
メージセンサー220に出力する。そして、処理をS160に進める。
In S <b> 150, the reading control unit 120 generates a shift signal (free run trigger) and outputs it to the image sensor 220. Then, the process proceeds to S160.

S160では、読取制御部120は、転送無効通知を行う。具体的には、読取制御部1
20は、次回のトリガーで転送されるデータが無効であることをデータ処理部130に通
知する。そして、本フローを終了する。
In S160, the reading control unit 120 issues a transfer invalidity notification. Specifically, the reading control unit 1
20 notifies the data processing unit 130 that the data transferred by the next trigger is invalid. Then, this flow ends.

図5は、本発明の一実施形態の一例に係る画像読取装置が実行する処理(周期割り込み
処理)を説明するフロー図である。なお、本フローは、ダミートリガーの有効/無効の設
定処理に注目して説明するものである。
FIG. 5 is a flowchart for explaining processing (periodic interrupt processing) executed by the image reading apparatus according to an example of the embodiment of the present invention. This flow will be described by paying attention to the dummy trigger valid / invalid setting process.

本フローは、例えば、周期割り込みにより、開始される。   This flow is started by, for example, a periodic interrupt.

S210では、読取制御部120は、モーター駆動の開始指示があったか否かを判定す
る。指示がある場合(S210:YES)、処理をS220に進める。指示がない場合(
S210:NO)、処理をS230に進める。
In S210, the reading control unit 120 determines whether or not there has been an instruction to start motor driving. If there is an instruction (S210: YES), the process proceeds to S220. If there are no instructions (
(S210: NO), the process proceeds to S230.

S220では、読取制御部120は、ダミートリガーの有効/無効を示す設定値を有効
に設定する。そして、本フローを終了する。
In S220, the reading control unit 120 sets the setting value indicating whether the dummy trigger is enabled / disabled to be valid. Then, this flow ends.

S230では、読取制御部120は、モーター駆動が停止したか否かを判定する。モー
ター駆動が停止した場合(S230:YES)、処理をS240に進める。モーター駆動
が停止していない場合(S230:NO)、処理をSS260に進める。
In S230, the reading control unit 120 determines whether the motor driving is stopped. When the motor drive is stopped (S230: YES), the process proceeds to S240. If the motor drive is not stopped (S230: NO), the process proceeds to SS260.

S240では、読取制御部120は、ダミートリガーの有効/無効を示す設定値を無効
に設定する。そして、処理をS250に進める。
In S240, the reading control unit 120 sets the setting value indicating whether the dummy trigger is valid / invalid. Then, the process proceeds to S250.

S250では、読取制御部120は、フリーランタイマーを開始する。そして、本フロ
ーを終了する。
In S250, the reading control unit 120 starts a free-run timer. Then, this flow ends.

S260では、読取制御部120は、モーターの駆動周期を測定し、所定の閾値と比較
する。モーターの駆動周期が該所定の閾値を超える場合(S260:YES)、処理をS
270に進める。モーターの駆動周期が該所定の閾値以下である場合(S260:NO)
、処理をS280に進める。
In S260, the reading control unit 120 measures the driving period of the motor and compares it with a predetermined threshold value. If the motor driving cycle exceeds the predetermined threshold (S260: YES), the process is S
Proceed to 270. When the driving cycle of the motor is not more than the predetermined threshold (S260: NO)
, The process proceeds to S280.

S270では、読取制御部120は、ダミートリガーの有効/無効を示す設定値を有効
に設定する。そして、本フローを終了する。
In S <b> 270, the reading control unit 120 sets a setting value indicating whether the dummy trigger is valid / invalid. Then, this flow ends.

S280では、読取制御部120は、ダミートリガーの有効/無効を示す設定値を無効
に設定する。そして、本フローを終了する。
In S280, the reading control unit 120 sets the setting value indicating the validity / invalidity of the dummy trigger to invalid. Then, this flow ends.

上述の図4、5の各フローの各処理単位は、読取制御部120の処理を理解容易にする
ために、主な処理内容に応じて分割したものである。処理単位の分割の仕方や名称によっ
て、本願発明が制限されることはない。読取制御部120の処理は、処理内容に応じて、
さらに多くの処理単位に分割することもできる。また、1つの処理単位がさらに多くの処
理を含むように分割することもできる。
Each processing unit of each flow in FIGS. 4 and 5 described above is divided according to main processing contents in order to facilitate understanding of the processing of the reading control unit 120. The present invention is not limited by the way of dividing the processing unit or the name. The processing of the reading control unit 120 is performed according to the processing content.
Further, it can be divided into many processing units. Moreover, it can also divide | segment so that one process unit may contain many processes.

以上、本発明の一実施形態について説明した。本実施形態によれば、加速期間、減速期
間などのモーター速度が安定しない場合に、読み取り画質を向上することができる。
The embodiment of the present invention has been described above. According to the present embodiment, it is possible to improve the read image quality when the motor speed is not stable such as the acceleration period and the deceleration period.

すなわち、本実施形態よれば、画像読取装置10は、加速期間、減速期間などのモータ
ー速度が安定しない場合に、4シフト制御により原稿が読み取られる。このような構成に
より、暗部ノイズをより低減し、画質を高めることができる。
That is, according to the present embodiment, the image reading apparatus 10 reads a document by 4-shift control when the motor speed is not stable during an acceleration period, a deceleration period, or the like. With such a configuration, it is possible to further reduce dark part noise and improve image quality.

なお、上記の本発明の一実施形態は、本発明の要旨と範囲を例示することを意図し、限
定するものではない。多くの代替物、修正および変形例が当業者にとって明らかである。
The above-described embodiment of the present invention is intended to illustrate the gist and scope of the present invention and is not intended to be limiting. Many alternatives, modifications, and variations will be apparent to those skilled in the art.

10:画像読取装置、100:制御部、110:A/D変換部、120:読取制御部、1
21:タイマー部、130:データ処理部、140:記憶部、150:出力部、200:
キャリッジ、210:光源、220:イメージセンサー、300:駆動機構、310:モ
ーター、320:エンコーダー
10: image reading device, 100: control unit, 110: A / D conversion unit, 120: reading control unit, 1
21: Timer unit, 130: Data processing unit, 140: Storage unit, 150: Output unit, 200:
Carriage 210: Light source 220: Image sensor 300: Drive mechanism 310: Motor 320: Encoder

Claims (6)

画像読取装置であって、
光電変換素子に蓄積された電荷をシフト信号によってシフトレジスターへ転送するイメ
ージセンサーと、前記シフト信号の出力タイミングを制御する制御手段と、前記イメージ
センサーを運搬するキャリッジを移動させるためのモーターと、前記モーターの回転量を
検出し出力するエンコーダーと、を備え、
前記制御手段は、
1ライン毎に、RGB各色の電荷蓄積開始タイミングであるシフト信号を出力する3シ
フト制御と、1ライン毎に、RGB各色に対応する電荷蓄積開始タイミングであるシフト
信号に加え、前記RGB各色に対応するシフト信号の出力後に所定のダミーシフト信号を
出力する4シフト制御と、のいずれかを選択的に実行し、
前記エンコーダーの出力に基づいてモーター速度を判定し、該モーター速度が所定速度
以下である場合には前記4シフト制御を選択し、該モーター速度が所定速度を超える場合
には前記3シフト制御を選択する、
ことを特徴とする画像読取装置。
An image reading device,
An image sensor for transferring the charge accumulated in the photoelectric conversion element to a shift register by a shift signal; a control means for controlling an output timing of the shift signal; a motor for moving a carriage for carrying the image sensor; An encoder that detects and outputs the amount of rotation of the motor,
The control means includes
3 shift control that outputs a shift signal that is the charge accumulation start timing of each RGB color for each line, and a shift signal that is the charge accumulation start timing corresponding to each RGB color for each line, in addition to each RGB color. One of four shift controls for outputting a predetermined dummy shift signal after the output of the shift signal to be performed,
The motor speed is determined based on the output of the encoder, and when the motor speed is equal to or lower than the predetermined speed, the 4-shift control is selected, and when the motor speed exceeds the predetermined speed, the 3-shift control is selected. To
An image reading apparatus.
請求項1に記載の画像読取装置であって、
前記イメージセンサーからの画像信号を処理する処理手段を備え、
前記処理手段は、前記4シフト制御が選択されている場合、所定の基準色に対応するシ
フト信号により前記イメージセンサーから出力された画像信号を、無効なデータとして処
理する、
ことを特徴とする画像読取装置。
The image reading apparatus according to claim 1,
Processing means for processing an image signal from the image sensor;
The processing means, when the 4-shift control is selected, processes the image signal output from the image sensor by a shift signal corresponding to a predetermined reference color as invalid data.
An image reading apparatus.
請求項1又は2に記載の画像読取装置であって、
RGB各色に対応する光源を備え、
前記制御手段は、前記4シフト制御において、
前記RGB各色の電荷蓄積開始タイミングであるシフト信号に合わせて、対応する色の
光源を点灯させ、前記所定のダミーシフト信号ではいずれの光源も点灯させない、
ことを特徴とする画像読取装置。
The image reading apparatus according to claim 1, wherein
It has a light source corresponding to each color of RGB,
In the 4-shift control, the control means
In accordance with the shift signal that is the charge accumulation start timing of each RGB color, the corresponding color light source is turned on, and none of the light sources is turned on with the predetermined dummy shift signal.
An image reading apparatus.
請求項1〜3いずれか一項に記載の画像読取装置であって、
前記制御手段は、前記4シフト制御において、
前記エンコーダーの出力結果が所定状態の場合に、前記所定の基準色に対応する電荷蓄
積の開始タイミングであるシフト信号を出力し、
前記所定の基準色に対応する電荷蓄積の開始タイミングを基準として、前記所定の基準
色以外の各色について定められた時間が経過した場合に、前記所定の基準色以外の各色に
対応する電荷蓄積の開始タイミングであるシフト信号を出力し、
前記所定の基準色以外の各色に対応する電荷蓄積の開始タイミングであるシフト信号の
出力後、前記所定の基準色に対応する電荷蓄積の開始タイミングを基準として、定められ
た時間が経過した場合に、前記所定のダミーシフト信号を出力する、
ことを特徴とする画像読取装置。
The image reading apparatus according to any one of claims 1 to 3,
In the 4-shift control, the control means
When the output result of the encoder is in a predetermined state, a shift signal that is a charge accumulation start timing corresponding to the predetermined reference color is output,
With reference to the charge accumulation start timing corresponding to the predetermined reference color, when a predetermined time has elapsed for each color other than the predetermined reference color, charge accumulation corresponding to each color other than the predetermined reference color is performed. The shift signal that is the start timing is output,
When a predetermined time has elapsed after the output of the shift signal, which is the charge accumulation start timing corresponding to each color other than the predetermined reference color, with reference to the charge accumulation start timing corresponding to the predetermined reference color Outputting the predetermined dummy shift signal;
An image reading apparatus.
請求項1〜4いずれか一項に記載の画像読取装置であって、
前記4シフト制御が実行される期間には、前記モーターの加速期間と減速期間の少なく
とも一部の期間が含まれる、
ことを特徴とする画像読取装置。
The image reading apparatus according to any one of claims 1 to 4,
The period during which the 4-shift control is executed includes at least a part of the acceleration period and the deceleration period of the motor.
An image reading apparatus.
画像読取装置における画像読取制御方法であって、
前記画像読取装置は、
光電変換素子に蓄積された電荷をシフト信号によってシフトレジスターへ転送するイメ
ージセンサーと、前記イメージセンサーを運搬するキャリッジを移動させるためのモータ
ーと、を備え、
1ライン毎に、RGB各色の電荷蓄積開始タイミングであるシフト信号を出力する3シ
フト制御と、1ライン毎に、RGB各色に対応する電荷蓄積開始タイミングであるシフト
信号に加え、前記RGB各色に対応するシフト信号の出力後に所定のダミーシフト信号を
出力する4シフト制御と、のいずれかを選択的に実行し、
前記モーターの速度を判定し、該モーター速度が所定速度以下である場合には前記4シ
フト制御を選択し、該モーター速度が所定速度を超える場合には前記3シフト制御を選択
する、
ことを特徴とする画像読取制御方法。
An image reading control method in an image reading apparatus,
The image reading device includes:
An image sensor that transfers the charge accumulated in the photoelectric conversion element to a shift register by a shift signal, and a motor that moves a carriage that carries the image sensor,
3 shift control that outputs a shift signal that is the charge accumulation start timing of each RGB color for each line, and a shift signal that is the charge accumulation start timing corresponding to each RGB color for each line, in addition to each RGB color. One of four shift controls for outputting a predetermined dummy shift signal after the output of the shift signal to be performed,
Determining the speed of the motor, selecting the 4-shift control if the motor speed is below a predetermined speed, and selecting the 3-shift control if the motor speed exceeds a predetermined speed;
An image reading control method.
JP2011024680A 2011-02-08 2011-02-08 Image reader and image reading control method Withdrawn JP2012165227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011024680A JP2012165227A (en) 2011-02-08 2011-02-08 Image reader and image reading control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011024680A JP2012165227A (en) 2011-02-08 2011-02-08 Image reader and image reading control method

Publications (1)

Publication Number Publication Date
JP2012165227A true JP2012165227A (en) 2012-08-30

Family

ID=46844185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011024680A Withdrawn JP2012165227A (en) 2011-02-08 2011-02-08 Image reader and image reading control method

Country Status (1)

Country Link
JP (1) JP2012165227A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9077836B1 (en) 2014-01-10 2015-07-07 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US9131101B2 (en) 2014-01-10 2015-09-08 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US9369611B2 (en) 2014-02-13 2016-06-14 Brother Kogyo Kabushiki Kaisha Image reading apparatus with adjustable read timing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9077836B1 (en) 2014-01-10 2015-07-07 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US9131101B2 (en) 2014-01-10 2015-09-08 Brother Kogyo Kabushiki Kaisha Image reading apparatus
US9369611B2 (en) 2014-02-13 2016-06-14 Brother Kogyo Kabushiki Kaisha Image reading apparatus with adjustable read timing

Similar Documents

Publication Publication Date Title
EP2760191B1 (en) Image reading apparatus, image forming apparatus, and image reading method
JP6226508B2 (en) Image reading apparatus, image forming apparatus, and image reading method
US8917423B2 (en) Image scanner, auto document feeder, and image forming apparatus
JP2011193368A (en) Image reader, and image forming apparatus
JP2012165227A (en) Image reader and image reading control method
US11431875B2 (en) Image reading apparatus and image forming apparatus
JP2011244057A (en) Image reading device and image forming device
US10721372B2 (en) Image reading apparatus and image sensor
JP2011044783A (en) Image reading apparatus, and image reading method
EP3301899B1 (en) Reading apparatus, control method and program
JP2009200556A (en) Image reader and image reading method
JP5585121B2 (en) Image reading device
JP2019016828A (en) Image reading apparatus, image reading method, and program
JP2010199945A (en) Device for reading image, and method of controlling the same
US8514466B2 (en) Image reader and image reading method
JP5853375B2 (en) Image reading apparatus, image reading method, and program
JP2014135676A (en) Imaging apparatus, image reading apparatus and image forming apparatus
JP2018137521A (en) Image reading device
JP2009200555A (en) Image reader, and image read method
JP2013098619A (en) Image reading apparatus and image reading method
JP4876983B2 (en) Image reading apparatus, control method thereof, and program thereof
JP2011229052A (en) Image reading apparatus
JP2009212754A (en) Image reader and image reading method
JP6142810B2 (en) Reader
JP2012169963A (en) Image reading device, image reading method, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513