Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5853375B2 - Image reading apparatus, image reading method, and program - Google Patents
[go: Go Back, main page]

JP5853375B2 - Image reading apparatus, image reading method, and program - Google Patents

Image reading apparatus, image reading method, and program Download PDF

Info

Publication number
JP5853375B2
JP5853375B2 JP2011024277A JP2011024277A JP5853375B2 JP 5853375 B2 JP5853375 B2 JP 5853375B2 JP 2011024277 A JP2011024277 A JP 2011024277A JP 2011024277 A JP2011024277 A JP 2011024277A JP 5853375 B2 JP5853375 B2 JP 5853375B2
Authority
JP
Japan
Prior art keywords
shift pulse
output
image reading
shift
output timing
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.)
Active
Application number
JP2011024277A
Other languages
Japanese (ja)
Other versions
JP2012165194A (en
Inventor
禎仁 大津
禎仁 大津
敦史 佐々木
敦史 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2011024277A priority Critical patent/JP5853375B2/en
Publication of JP2012165194A publication Critical patent/JP2012165194A/en
Application granted granted Critical
Publication of JP5853375B2 publication Critical patent/JP5853375B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Heads (AREA)

Description

本発明は、画像読取装置、画像読取方法、および、プログラムに関する。   The present invention relates to an image reading apparatus, an image reading method, and a program.

一般的なイメージスキャナー(画像読取装置)では、受光部に蓄積された電荷をシフトパルスによりシフトレジスターへシフトさせ、次のシフトパルスまでにシフトレジスターの電荷をコントローラーへ転送する(例えば、特許文献1)。   In a general image scanner (image reading apparatus), the electric charge accumulated in the light receiving unit is shifted to a shift register by a shift pulse, and the electric charge in the shift register is transferred to the controller by the next shift pulse (for example, Patent Document 1). ).

そして、近年のイメージスキャナーでは、高速に画像の読み取りを行うために、シフトパルスの出力間隔について従来よりも短く設定(例えば、「設定値A」とする)される場合がある。   In recent image scanners, in order to read an image at high speed, the output interval of shift pulses may be set shorter than before (for example, “set value A”).

特開2009−246636号JP 2009-246636

しかし、シフトパルスを出力すべきタイミングになったとしても、他のソフトウェア処理が優先的に実行されていると、そのタイミングでシフトパルスを出力できない場合がある。かかる場合には、その優先的なソフトウェア処理が終了するまでシフトパルスの出力は延期される。   However, even when it is time to output the shift pulse, if other software processing is preferentially executed, the shift pulse may not be output at that timing. In such a case, the output of the shift pulse is postponed until the preferential software processing is completed.

こうして、シフトパルスの出力が予定より遅れると、次にシフトパルスを出力するまでの間隔が短縮されてしまう場合がある(設定値Aよりも短くなる)。このとき、画像データの転送に必要な時間を十分に確保できなくなる。   Thus, if the output of the shift pulse is delayed from the schedule, the interval until the next shift pulse is output may be shortened (becomes shorter than the set value A). At this time, the time required for transferring the image data cannot be secured sufficiently.

本発明は、シフトパルスの出力が予定より遅れた場合でも、画像データの転送に必要な時間をなるべく確保する技術を提供することを目的とする。   It is an object of the present invention to provide a technique for ensuring as much time as possible for transferring image data even when the output of a shift pulse is delayed from the schedule.

上記の課題を解決するための本発明の一態様は、画像読取装置であって、光電変換素子に蓄積された電荷をシフトパルスによってシフトレジスターに転送し、該シフトレジスターに格納された電荷を、読み出しクロックによって、該シフトレジスターの末端の出力部に移動させ、該出力部で、電荷を電気信号に変換して、A/D変換部に送る画像読取部と、前記シフトパルスの出力タイミングを制御するシフトパルス制御部と、を備え、前記シフトパルス制御部は、前記シフトパルスの出力タイミングを、入力された周期割り込み信号の回数に基づいて決定し、前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合には、今回のシフトパルスの出力を、決定された今回の出力タイミングより、前記周期割り込み信号の周期単位で遅らせる、ことを特徴とする。
上記の画像読取装置であって、前記シフトパルス制御部は、前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合に遅延フラグを有効にし、今回のシフトパルスの出力が、決定された今回の出力タイミングにおいて当該遅延フラグが有効である場合には、当該遅延フラグを無効にし、今回のシフトパルスの出力を、決定された今回の出力タイミングより遅らせる、ことを特徴としてもよい。
上記の課題を解決するための本発明の他の態様は、画像読取方法であって、光電変換素子に蓄積された電荷をシフトパルスによってシフトレジスターに転送し、該シフトレジスターに格納された電荷を、読み出しクロックによって、該シフトレジスターの末端の出力部に移動させ、該出力部で、電荷を電気信号に変換して、A/D変換部に送る画像読取ステップと、前記シフトパルスの出力タイミングを制御するシフトパルス制御ステップと、を行い、前記シフトパルス制御ステップでは、前記シフトパルスの出力タイミングを、入力された周期割り込み信号の回数に基づいて決定し、前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合には、今回のシフトパルスの出力を、決定された今回の出力タイミングより、前記周期割り込み信号の周期単位で遅らせる、ことを特徴とする。
上記の課題を解決するための本発明のさらに他の態様は、コンピューターを、画像読取装置として機能させるプログラムであって、光電変換素子に蓄積された電荷をシフトパルスによってシフトレジスターに転送し、該シフトレジスターに格納された電荷を、読み出しクロックによって、該シフトレジスターの末端の出力部に移動させ、該出力部で、電荷を電気信号に変換して、A/D変換部に送る画像読取ステップと、前記シフトパルスの出力タイミングを制御するシフトパルス制御ステップと、を前記コンピューターに実行させ、前記シフトパルス制御ステップでは、前記シフトパルスの出力タイミングを、入力された周期割り込み信号の回数に基づいて決定し、前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合には、今回のシフトパルスの出力を、決定された今回の出力タイミングより、前記周期割り込み信号の周期単位で遅らせる、ことを特徴とする。
One embodiment of the present invention for solving the above problem is an image reading device, in which charges accumulated in a photoelectric conversion element are transferred to a shift register by a shift pulse, and the charges stored in the shift register are The output clock is moved to the output unit at the end of the shift register by the readout clock, and the output unit converts the electric charge into an electric signal and sends it to the A / D conversion unit, and the output timing of the shift pulse is controlled. A shift pulse control unit that determines the output timing of the shift pulse based on the number of input periodic interrupt signals, and the output of the previous shift pulse is determined. If it is later than the previous output timing, the current shift pulse is output from the determined current output timing. Delaying in a cycle unit, characterized in that.
In the image reading apparatus, the shift pulse control unit enables the delay flag when the output of the previous shift pulse is delayed from the determined previous output timing, and the output of the current shift pulse is If the delay flag is valid at the determined current output timing, the delay flag is invalidated, and the output of the current shift pulse is delayed from the determined current output timing. Good.
Another aspect of the present invention for solving the above problem is an image reading method, wherein charges accumulated in a photoelectric conversion element are transferred to a shift register by a shift pulse, and the charges stored in the shift register are transferred. The read clock is used to move to the output section at the end of the shift register, where the output section converts the electric charge into an electrical signal and sends it to the A / D conversion section, and the output timing of the shift pulse. A shift pulse control step for controlling, and in the shift pulse control step, the output timing of the shift pulse is determined based on the number of input periodic interrupt signals, and the output of the previous shift pulse is determined. If it is later than the previous output timing, the output of the current shift pulse is compared with the determined current output timing. , Delayed in cycle unit of the periodic interrupt signal, characterized in that.
Still another embodiment of the present invention for solving the above-described problem is a program for causing a computer to function as an image reading device , transferring charges accumulated in a photoelectric conversion element to a shift register by a shift pulse, and An image reading step in which the charge stored in the shift register is moved to the output unit at the end of the shift register by the read clock, and the charge is converted into an electrical signal by the output unit and sent to the A / D conversion unit ; And a shift pulse control step for controlling the output timing of the shift pulse, wherein the shift pulse control step determines the output timing of the shift pulse based on the number of input periodic interrupt signals. The output of the previous shift pulse is later than the determined previous output timing. If the the output of this shift pulse, the output timing of this determined, delayed in cycle unit of the periodic interrupt signal, it is characterized.

本実施形態の画像読取装置50の概略構成の一例を示すブロック図である。2 is a block diagram illustrating an example of a schematic configuration of an image reading apparatus 50 according to the present embodiment. FIG. 本願の画像読取制御の概要について説明するためのタイミングチャートである。It is a timing chart for demonstrating the outline | summary of the image reading control of this application. 本願のシフトパルスの出力処理について説明するためのフローチャートである。It is a flowchart for demonstrating the output process of the shift pulse of this application. 従来の画像読取制御の概要について説明するためのタイミングチャートである。It is a timing chart for demonstrating the outline | summary of the conventional image reading control.

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

図1は、本発明の一実施形態が適用された画像読取装置50の概略構成の一例を示すブロック図である。   FIG. 1 is a block diagram illustrating an example of a schematic configuration of an image reading apparatus 50 to which an embodiment of the present invention is applied.

画像読取装置50は、筐体の上面に原稿台(不図示)を備えた、いわゆるフラットベッド型画像読取装置である。画像読取装置50は、イメージセンサー220を走査して、透明板の原稿台に載置された原稿の画像を読み取る。画像読取装置50は、スキャナーに限られず、スキャン機能を有するファクシミリ、コピー機、複合機等であってもよい。   The image reading device 50 is a so-called flat bed type image reading device having a document table (not shown) on the upper surface of a housing. The image reading device 50 scans the image sensor 220 and reads an image of a document placed on a document platen of a transparent plate. The image reading apparatus 50 is not limited to a scanner, and may be a facsimile, a copier, a multifunction machine, or the like having a scanning function.

画像読取装置50は、被読取媒体である原稿を載せるための上向きの原稿台(不図示)と、この原稿台の原稿載置面(盤面)およびイメージ読取窓を上からカバーする蓋(不図示)と、を備える。蓋は、原稿台にヒンジ機構を介して結合しており、開閉可能である。   The image reading device 50 has an upward document table (not shown) for placing a document as a read medium, and a cover (not shown) that covers the document placement surface (board surface) and the image reading window of the document table from above. And). The lid is coupled to the document table via a hinge mechanism and can be opened and closed.

また、蓋と一体となって、イメージ読取窓の上側に、ADF(給紙装置)300が設けられている。ADF300は、DCモーター310、給紙トレイ(不図示)、搬送ローラー(不図示)、排紙トレイ(不図示)、等を備える。ここで、搬送ローラーの回転は、DCモーター310によって制御される。ADF300は、給紙トレイ上に載置された原稿を、イメージ読取窓の上面へ送り込んで通過させることができる。なお、DCモーター300には、搬送ローラーの回転量(すなわち、原稿の搬送量)に応じてパルスを出力するエンコーダーが備えられている。   Also, an ADF (paper feeder) 300 is provided on the upper side of the image reading window integrally with the lid. The ADF 300 includes a DC motor 310, a paper feed tray (not shown), a transport roller (not shown), a paper discharge tray (not shown), and the like. Here, the rotation of the transport roller is controlled by the DC motor 310. The ADF 300 can pass the document placed on the paper feed tray by feeding it to the upper surface of the image reading window. Note that the DC motor 300 is provided with an encoder that outputs a pulse in accordance with the rotation amount of the transport roller (that is, the transport amount of the document).

また、画像読取装置50は、図示するように、LED光源210及びイメージセンサー(例えば、CCDカラーイメージセンサー)220を搭載したキャリッジ200を原稿台の下に備える。さらに、画像読取装置50は、キャリッジ200の往復移動を制御するキャリッジ駆動機構(不図示)と、画像読取装置50の全体を制御し、画像を読み取るための種々の処理を行うコントローラー100と、を備えている。   Further, as shown in the figure, the image reading apparatus 50 includes a carriage 200 on which an LED light source 210 and an image sensor (for example, a CCD color image sensor) 220 are mounted under a document table. Further, the image reading device 50 includes a carriage driving mechanism (not shown) that controls the reciprocation of the carriage 200, and a controller 100 that controls the entire image reading device 50 and performs various processes for reading an image. I have.

キャリッジ200は、イメージセンサー220を副走査方向に運搬する。キャリッジ200は、原稿台の盤面およびイメージ読取窓に対し平行なガイド用のシャフト等にスライド自在に取り付けられており、キャリッジ駆動機構のモーターにより回転するベルトにより牽引され、往復移動する。キャリッジ200の移動量は、キャリッジ駆動機構のモーターの回転量に応じてパルスを出力するエンコーダーの出力値により制御される。   The carriage 200 carries the image sensor 220 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 the image reading window, and is pulled and reciprocated by a belt rotated by a motor of a carriage driving mechanism. The amount of movement of the carriage 200 is controlled by the output value of an encoder that outputs pulses according to the amount of rotation of the motor of the carriage drive mechanism.

すなわち、キャリッジ駆動機構は、キャリッジに取り付けられたベルトを回転させるためのモーターと、モーターの回転量に応じてパルスを出力するエンコーダーと、を備えている。   That is, the carriage drive mechanism includes a motor for rotating a belt attached to the carriage and an encoder that outputs a pulse in accordance with the rotation amount of the motor.

なお、ADF300により原稿を搬送させながら読み取りを行う場合、キャリッジ200は、イメージ読取窓の下の所定位置に固定される。   When reading is performed while the original is being conveyed by the ADF 300, the carriage 200 is fixed at a predetermined position below the image reading window.

LED光源210は、赤色(R)LED、緑色(G)LED、青色(B)LEDからなり、RGBの3色の光を所定の順序で発生する。本実施形態では、LED光源210は、通常の原稿の1ライン分の読み取りを行う場合には、赤色LED、緑色LED、青色LEDの順に光を発生する。そして、原稿の画像データの生成に必要なライン数分の読み取りを行うために、同様の発光動作を繰り返す。各色のLEDの発光時間は、色ごとに予め定められており、点灯してからその定められた時間が経過したときに、消灯する。なお、各色のLED光源210の点灯は、所定電流(後述するメイン制御部110からの電流)が供給されて行われる。   The LED light source 210 includes a red (R) LED, a green (G) LED, and a blue (B) LED, and generates light of three colors of RGB in a predetermined order. In the present embodiment, the LED light source 210 emits light in the order of a red LED, a green LED, and a blue LED when reading one line of a normal document. A similar light emitting operation is repeated in order to read the number of lines necessary for generating image data of the document. The light emission time of each color LED is predetermined for each color, and is extinguished when the predetermined time elapses after lighting. In addition, lighting of the LED light source 210 of each color is performed by supplying a predetermined current (current from a main control unit 110 described later).

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

イメージセンサー220は、主走査方向に並んだ複数のセンサーチップからなる。各センサーチップは、通常のCIS(Contact Image Sensor)やCCD(Charge Coupled Device)イメージセンサーと同様の構成を備えている。すなわち、各センサーチップは、光電変換素子(フォトダイオード)と、シフトゲートと、シフトレジスターと、を備える。そして、光電変換素子に蓄積された電荷を、シフトゲートを開通させてシフトレジスターへ転送し、シフトレジスターにより電荷を順次移動させながら出力する。   The image sensor 220 includes a plurality of sensor chips arranged in the main scanning direction. Each sensor chip has the same configuration as a normal CIS (Contact Image Sensor) or CCD (Charge Coupled Device) image sensor. That is, each sensor chip includes a photoelectric conversion element (photodiode), 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.

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

シフトレジスターに格納された電荷の出力は、所定の読み出しクロック(後述するメイン制御部110からの信号)に応答して行われる。例えば、1クロック毎に1画素の電荷がアナログデータとして出力される。   The output of the charge stored in the shift register is performed in response to a predetermined read clock (a signal from the main control unit 110 described later). For example, the charge of one pixel is output as analog data every clock.

コントローラー100は、イメージセンサー220から出力されたアナログデータをデジタルデータに変換するA/D変換部120と、A/D変換部120から出力されたデジタルデータに対して各種補正を行うデータ処理部130と、データ処理部130による各種補正に用いられる補正用データ(白基準データや黒基準データ)や、補正対象の読取データ(画像データ)を記憶する記憶部140と、データ処理部130からのデータをパーソナルコンピューターなどのホストに送るための出力部150と、コントローラー100内の各機能部を全体的に制御するとともに、キャリッジ200内のLED光源210やイメージセンサー220、及び、キャリッジ駆動機構を制御するメイン制御部110と、を備えている。   The controller 100 includes an A / D conversion unit 120 that converts analog data output from the image sensor 220 into digital data, and a data processing unit 130 that performs various corrections on the digital data output from the A / D conversion unit 120. And a storage unit 140 for storing correction data (white reference data and black reference data) used for various corrections by the data processing unit 130, read data (image data) to be corrected, and data from the data processing unit 130 Output unit 150 for sending the image data to a host such as a personal computer and each function unit in the controller 100 as well as controlling the LED light source 210 and the image sensor 220 in the carriage 200 and the carriage driving mechanism. A main control unit 110.

A/D変換部120は、例えば、AFE(Analog Front End)によって実現され、イメージセンサー220から出力されたアナログデータをデジタルデータに変換する。   The A / D conversion unit 120 is realized by, for example, AFE (Analog Front End), and converts analog data output from the image sensor 220 into digital data.

データ処理部130は、A/D変換部110から出力されたデジタルデータにシェーディング補正などの各種補正を施して、出力部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.

なお、データ処理部130は、主制御装置であるCPUと、プログラム等が記憶されたROMと、メインメモリーとしてデータ等を一時的に格納するRAMと、を備えたコンピューターで構成することができる。もちろん、データ処理部130は、各種補正処理を専用に行うように設計されたASIC(Application Specific Integrated Circuit)で構成されていてもよい。   The data processing unit 130 can be configured by a computer including a CPU that is a main control device, a ROM that stores programs and the like, and a RAM that temporarily stores data and the like as a main memory. Of course, the data processing unit 130 may be configured by an ASIC (Application Specific Integrated Circuit) designed to perform various correction processes exclusively.

記憶部140は、例えば、バッファによって実現される。記憶部140は、先入れ先出しのFIFO形式で、A/D変換部120から出力されたデジタルデータを一時的に記憶し、先に記憶したデータから順に出力部150に送る。   The storage unit 140 is realized by a buffer, for example. The storage unit 140 temporarily stores the digital data output from the A / D conversion unit 120 in a first-in first-out FIFO format, and sends the data to the output unit 150 in order from the previously stored data.

出力部150は、ネットワーク接続やUSB接続を行うためのインターフェイスにより実現される。出力部150は、ホストの処理能力に応じた転送速度で、記憶部140のデータを、ホストコンピューター(スキャナー制御装置)に送信する。   The output unit 150 is realized by an interface for performing network connection or USB connection. The output unit 150 transmits the data in the storage unit 140 to the host computer (scanner control device) at a transfer rate according to the processing capability of the host.

メイン制御部110は、ADF300と、キャリッジ200と、キャリッジ駆動機構(不図示)と、を制御して、画像の読み取りを行う(「画像読取制御」を行う)。具体的には、メイン制御部110は、図示するように、割り込み部111と、ソフトウェア処理部112と、モーター制御部113と、読取制御部114と、を有する。   The main control unit 110 controls the ADF 300, the carriage 200, and a carriage driving mechanism (not shown) to read an image (perform “image reading control”). Specifically, the main control unit 110 includes an interrupt unit 111, a software processing unit 112, a motor control unit 113, and a reading control unit 114, as illustrated.

なお、図2は、画像読取制御の概要について説明するためのタイミングチャートである。   FIG. 2 is a timing chart for explaining the outline of the image reading control.

割り込み部111は、後述するモーター制御部113によるDCモーター(駆動モーター)310のPID制御において、図2に示すように所定の周期Tで割り込みを行う。なお、図2に示す数字は、割り込み部111による割り込み回数Nを表す。割り込み回数Nは、シフトパルスが出力されると初期化される(N=0)。   In the PID control of the DC motor (drive motor) 310 by the motor control unit 113 described later, the interrupt unit 111 performs an interrupt at a predetermined cycle T as shown in FIG. The numbers shown in FIG. 2 represent the number of interruptions N by the interruption unit 111. The interrupt count N is initialized when a shift pulse is output (N = 0).

ソフトウェア処理部112は、割り込み部111による割り込みをトリガーとして、所定のソフトウェア処理を起動(開始)する。ここで、ソフトウェア処理部112が起動する所定のソフトウェア処理には、シフトパルスを出力する処理(以下では「シフトパルスの出力処理」ともよぶ)等が含まれる。   The software processing unit 112 activates (starts) predetermined software processing with an interrupt from the interrupt unit 111 as a trigger. Here, the predetermined software processing activated by the software processing unit 112 includes processing for outputting a shift pulse (hereinafter also referred to as “shift pulse output processing”) and the like.

シフトパルスの出力処理では、ソフトウェア処理部112は、割り込み部111による割り込み回数Nに基づいて、イメージセンサー220に対してシフトパルスを出力する。これにより、光電変換素子に蓄積された電荷のシフトレジスターへの転送タイミング(次の電荷蓄積の開始タイミング)を制御する。   In the shift pulse output process, the software processing unit 112 outputs a shift pulse to the image sensor 220 based on the interrupt count N by the interrupt unit 111. Thereby, the transfer timing of the charge accumulated in the photoelectric conversion element to the shift register (next charge accumulation start timing) is controlled.

また、シフトパルスを出力する間隔は予め設定されており、例えば、割り込み部111による割り込み回数Nに応じて定まる所定時間(例えば、割り込み回数Nが「6回」となるまでにかかる時間「6×T」)に設定されている(図2に示す設定値A)。   The interval for outputting the shift pulse is set in advance. For example, a predetermined time determined according to the number of interrupts N by the interrupt unit 111 (for example, the time “6 × T ”) (set value A shown in FIG. 2).

ただし、ソフトウェア処理部112は、図2に示すように、シフトパルスを出力すべきタイミングαであっても、シフトパルスの出力処理よりも優先的に実行している他の処理(以下では「優先処理」とよぶ)がある場合には、シフトパルスの出力処理を起動(開始)できない。そのため、ソフトウェア処理部112は、他の優先処理が終了したタイミングβでシフトパルスを出力する。すなわち、ソフトウェア処理部112は、シフトパルスを予定よりも遅れて出力する(αからβへ遅延する)。   However, as shown in FIG. 2, the software processing unit 112 performs other processing (hereinafter referred to as “priority”) that is preferentially executed over the shift pulse output processing even at the timing α at which the shift pulse should be output. In the case of “processing”, the shift pulse output processing cannot be started (started). For this reason, the software processing unit 112 outputs a shift pulse at the timing β when the other priority processing ends. That is, the software processing unit 112 outputs the shift pulse later than scheduled (delayed from α to β).

また、ソフトウェア処理部112は、他の優先処理によって、シフトパルスの出力に遅延が発生した場合には、図2に示すように、遅延フラグを有効にする。なお、この遅延フラグを参照すれば、前回のシフトパルスの出力に遅延が発生したか否か判定することができる。また、遅延フラグは、例えば、有効、無効に切り替え可能なフラグ信号によって保持される。   In addition, when a delay occurs in the output of the shift pulse due to another priority process, the software processing unit 112 enables the delay flag as illustrated in FIG. By referring to this delay flag, it can be determined whether or not a delay has occurred in the output of the previous shift pulse. The delay flag is held by a flag signal that can be switched between valid and invalid, for example.

また、ソフトウェア処理部112は、シフトパルスの出力に遅延が発生した場合には、図2に示すように、次回のシフトパルスの出力を予定よりも遅らせる(γからδに遅らせる)。具体的には、ソフトウェア処理部112は、割り込み部111による割り込み回数Nをカウントし、割り込み回数Nが所定回数(例えば、「6回」)に到達するタイミングγであっても、遅延フラグが有効である場合には、シフトパルスを出力しない。その代わりに、ソフトウェア処理部112は、遅延フラグを無効にして、次に割り込み部111による割り込みが発生するタイミングδでシフトパルスを出力する。   Further, when a delay occurs in the output of the shift pulse, the software processing unit 112 delays the output of the next shift pulse from the schedule (delays from γ to δ) as shown in FIG. Specifically, the software processing unit 112 counts the number of interruptions N by the interruption unit 111, and the delay flag is valid even at the timing γ when the number of interruptions N reaches a predetermined number (for example, “6 times”). If it is, no shift pulse is output. Instead, the software processing unit 112 invalidates the delay flag and outputs a shift pulse at the timing δ when the interrupt by the interrupt unit 111 occurs next.

なお、シフトパルスの出力に遅延が発生したか否かの判断は、前回にシフトパルスを出力した時刻Toldから、現在時刻Tnewまでの経過時間(図2に示すシフトパルスの出力間隔ΔT)を求めて行われる。   Whether or not a delay has occurred in the output of the shift pulse is determined by determining the elapsed time (the shift pulse output interval ΔT shown in FIG. 2) from the time Told at which the previous shift pulse was output to the current time Tnew. Done.

モーター制御部113は、ADF300のDCモーター(駆動モーター)310を制御(PID制御)して、給紙トレイの原稿を搬送し、イメージ読取窓に通過させる。例えば、モーター制御部113は、DCモーター310を定速で駆動することができる。   The motor control unit 113 controls the DC motor (drive motor) 310 of the ADF 300 (PID control), conveys the document on the paper feed tray, and passes it through the image reading window. For example, the motor control unit 113 can drive the DC motor 310 at a constant speed.

読取制御部114は、イメージセンサー220による、画像読み取りを制御する。具体的には、読取制御部114は、シフトパルスの出力タイミングでイメージセンサー220に対して読み出しクロックの供給を行い、シフトレジスターに格納されている電荷のコントローラー100(A/D変換部120)への出力を制御する。   The reading control unit 114 controls image reading by the image sensor 220. Specifically, the reading control unit 114 supplies a reading clock to the image sensor 220 at the output timing of the shift pulse, and supplies the charge to the controller 100 (A / D conversion unit 120) stored in the shift register. Control the output of.

このとき、イメージセンサー220から出力されたデータ(アナログデータ)は、A/D変換部120でデジタルデータに変換され、データ処理部130によって各種補正が施される。   At this time, data (analog data) output from the image sensor 220 is converted into digital data by the A / D conversion unit 120, and various corrections are performed by the data processing unit 130.

それから、読取制御部114は、データ処理部130に指示信号を通知して、各種補正が施されたデータを記憶部140に格納(バッファリング)する。   Then, the reading control unit 114 notifies the data processing unit 130 of an instruction signal, and stores (buffers) the data subjected to various corrections in the storage unit 140.

以上のように、シフトパルスの出力に遅延が発生した場合には、次回のシフトパルスの出力を予定よりも遅らせるため、1ライン分の画像の転送に必要な時間(「転送最短周期」ともいう)を確保できる。そして、光電変換素子に蓄積された電荷をコントローラー100へ確実に転送することができる。   As described above, when a delay occurs in the output of the shift pulse, the time required to transfer the image for one line (also referred to as “the shortest transfer period”) is delayed in order to delay the output of the next shift pulse. ) Can be secured. And the electric charge accumulate | stored in the photoelectric conversion element can be reliably transferred to the controller 100. FIG.

なお、読取制御部114は、ADF300を用いた原稿の読み取り時には、キャリッジ200をイメージ読取窓の下に停止させた状態にしておく。もちろん、ADF300を用いずに原稿台に載置された原稿を読み取る場合には、読取制御部114は、キャリッジ駆動機構のモーターの回転を制御することにより、キャリッジ200の移動を制御することもできる。   The reading control unit 114 keeps the carriage 200 stopped under the image reading window when reading an original using the ADF 300. Of course, when reading a document placed on the document table without using the ADF 300, the reading control unit 114 can also control the movement of the carriage 200 by controlling the rotation of the motor of the carriage drive mechanism. .

かかるメイン制御部110は、主制御装置であるCPUと、プログラム等が記憶されたROMと、メインメモリーとしてデータ等を一時的に格納するRAMと、を備えたコンピューターで構成される。ただし、ソフトウェア処理部112以外の各部(111、113、114)については、各処理を専用に行うように設計されたハードウェア(例えば、ASIC)で構成することもできる。   The main control unit 110 includes a computer that includes a CPU that is a main control device, a ROM that stores programs and the like, and a RAM that temporarily stores data and the like as a main memory. However, each unit (111, 113, 114) other than the software processing unit 112 may be configured by hardware (for example, ASIC) designed to perform each processing exclusively.

本実施形態が適用された画像読取装置50は、以上のような構成からなる。ただし、この構成は、本願発明の特徴を説明するにあたって主要構成を説明したのであって、上記の構成に限られない。また、一般的な画像読取装置が備える他の構成を排除するものではない。また、A/D変換部120は、キャリッジ200内の基板に搭載されていてもよい。   The image reading apparatus 50 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 A / D conversion unit 120 may be mounted on a substrate in the carriage 200.

また、上記した各構成要素は、画像読取装置50の構成を理解容易にするために、主な処理内容に応じて分類したものである。構成要素の分類の仕方や名称によって、本願発明が制限されることはない。画像読取装置50の構成は、処理内容に応じて、さらに多くの構成要素に分類することもできる。また、1つの構成要素がさらに多くの処理を実行するように分類することもできる。また、各構成要素の処理は、1つのハードウェアで実行されてもよいし、複数のハードウェアで実行されてもよい。   Each of the above-described constituent elements is classified according to the main processing contents in order to facilitate understanding of the configuration of the image reading apparatus 50. The present invention is not limited by the way of classification and names of the constituent elements. The configuration of the image reading device 50 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.

次に、上記のように構成される画像読取装置50の特徴的な動作について説明する。   Next, a characteristic operation of the image reading apparatus 50 configured as described above will be described.

<シフトパルスの出力処理>
画像読取装置50は、所定のタイミングで図3に示すフローを開始する。例えば、画像読取装置50は、ADF300を用いた画像読取時(モーター制御部113によるDCモーター310のPID制御)において、割り込み部111による割り込みが発生したタイミングで本フローを開始する。
<Shift pulse output processing>
The image reading device 50 starts the flow shown in FIG. 3 at a predetermined timing. For example, the image reading device 50 starts this flow at the timing when the interruption by the interruption unit 111 occurs during image reading using the ADF 300 (PID control of the DC motor 310 by the motor control unit 113).

本フローを開始すると、ソフトウェア処理部112は、所定のソフトウェア処理(例えば、シフトパルスの出力処理)を起動(開始)する。   When this flow is started, the software processing unit 112 starts (starts) predetermined software processing (for example, shift pulse output processing).

そして、ソフトウェア処理部112は、割り込み回数Nをインクリメントする(ステップS101)。なお、割り込み回数Nは、例えば、所定のカウンターを用いてカウントされる。そして、ステップS101では、ソフトウェア処理部112は、割り込み部111による割り込みが発生する毎に、所定のカウンターのカウント値(割り込み回数Nに相当する値)がインクリメントされる。   Then, the software processing unit 112 increments the interrupt count N (step S101). Note that the interrupt count N is counted using, for example, a predetermined counter. In step S101, the software processing unit 112 increments a predetermined counter count value (a value corresponding to the interrupt count N) each time an interrupt is generated by the interrupt unit 111.

それから、ソフトウェア処理部112は、割り込み部111による割り込み回数Nが、所定回数(図2に示す例では、「6回」)以上であるか否か判別する(ステップS102)。   Then, the software processing unit 112 determines whether or not the number of interrupts N by the interrupt unit 111 is equal to or greater than a predetermined number (“6 times” in the example illustrated in FIG. 2) (step S102).

具体的には、ソフトウェア処理部112は、割り込み回数Nのカウントに用いられるカウンターのカウント値を取得して、取得したカウント値が所定回数以上である場合には、割り込み回数Nが所定回数以上であると判定する。一方、ソフトウェア処理部112は、カウンターから取得したカウント値が所定回数未満である場合には、割り込み回数Nが所定回数以上ではないと判定する。   Specifically, the software processing unit 112 acquires the count value of the counter used for counting the interrupt count N, and when the acquired count value is equal to or greater than the predetermined count, the interrupt count N is equal to or greater than the predetermined count. Judge that there is. On the other hand, when the count value acquired from the counter is less than the predetermined number, the software processing unit 112 determines that the interrupt count N is not greater than or equal to the predetermined number.

ここで、ソフトウェア処理部112は、割り込み回数Nが所定回数以上ではないと判定された場合には(ステップS102;No)、本フローの処理を終了して、割り込み部111による次の割り込みが発生するまで待機する。   Here, when it is determined that the interrupt count N is not equal to or greater than the predetermined count (step S102; No), the software processing unit 112 ends the processing of this flow, and the interrupt unit 111 generates the next interrupt. Wait until

また、ソフトウェア処理部112は、割り込み回数Nが所定回数以上であると判定された場合には(ステップS102;Yes)、シフトパルスを出力すべきタイミングとみなし、処理をステップS103に移行する。   In addition, when it is determined that the interrupt count N is equal to or greater than the predetermined count (step S102; Yes), the software processing unit 112 regards it as a timing at which a shift pulse should be output, and shifts the processing to step S103.

処理がステップS103に移行すると、ソフトウェア処理部112は、シフトパルスの出力に先立って、遅延フラグが有効であるか否か判別する(ステップS103)。   When the process proceeds to step S103, the software processing unit 112 determines whether or not the delay flag is valid prior to the output of the shift pulse (step S103).

そして、ソフトウェア処理部112は、遅延フラグが有効である場合には(ステップS103;Yes)、1ライン分の画像の転送に必要な時間を確保するために、シフトパルスを出力せず、遅延フラグを無効にする(ステップS111)。なお、ステップS111の処理は、図2に示す例では、タイミングγで行われる。   Then, when the delay flag is valid (step S103; Yes), the software processing unit 112 does not output a shift pulse and secures a delay flag in order to secure a time necessary for transferring an image for one line. Is disabled (step S111). In addition, the process of step S111 is performed at timing (gamma) in the example shown in FIG.

その後、ソフトウェア処理部112は、本フローを終了する。   Thereafter, the software processing unit 112 ends this flow.

一方、ソフトウェア処理部112は、遅延フラグが無効である場合には(ステップS103;No)、シフトパルスを出力する(ステップS104)。なお、ステップS104の処理は、図2に示す例では、タイミングδで行われる。   On the other hand, when the delay flag is invalid (step S103; No), the software processing unit 112 outputs a shift pulse (step S104). In addition, the process of step S104 is performed at timing (delta) in the example shown in FIG.

シフトパルスを出力後、ソフトウェア処理部112は、割り込み回数Nを初期化する(ステップS105)。   After outputting the shift pulse, the software processing unit 112 initializes the interrupt count N (step S105).

そして、ソフトウェア処理部112は、現在時刻Tnewと、前回にシフトパルスを出力した時刻Toldと、を取得する(ステップS106)。具体的には、ソフトウェア処理部112は、現在時刻Tnewを、所定のタイマーから取得するとともに、前回にシフトパルスを出力した時刻Toldを、所定の記憶装置から読み出して取得する。   Then, the software processing unit 112 acquires the current time Tnew and the time Told at which the previous shift pulse was output (step S106). Specifically, the software processing unit 112 acquires the current time Tnew from a predetermined timer, and reads and acquires the time Told when the shift pulse was output last time from a predetermined storage device.

それから、ソフトウェア処理部112は、前回にシフトパルスを出力してから現在時刻までに経過した時間(シフトパルスの出力間隔ΔT)を算出する(ステップS107)。具体的には、ソフトウェア処理部112は、ステップS106で取得したTnewから、ステップS106で取得したToldを、減算することによって、シフトパルスの出力間隔ΔTを算出する(ΔT=Tnew−Told)。   Then, the software processing unit 112 calculates the time (shift pulse output interval ΔT) that has elapsed since the last output of the shift pulse until the current time (step S107). Specifically, the software processing unit 112 calculates the shift pulse output interval ΔT by subtracting the Told acquired in step S106 from the Tnew acquired in step S106 (ΔT = Tnew−Told).

そして、ソフトウェア処理部112は、前回にシフトパルスを出力してから現在時刻までに経過した時間(シフトパルスの出力間隔ΔT)が、基準値R以上であるか否か判別する(ステップS108)。具体的には、ソフトウェア処理部112は、基準値Rを所定の記憶装置から読み出して、ステップS107で算出されたシフトパルスの出力間隔ΔTが、基準値R以上であるか否か判別する。なお、基準値Rは、例えば、データとして所定の記憶装置に予め格納されているものとし、シフトパルスの出力に遅延が発生したとみなすことができる値(例えば、割り込み周期T×6.5)とする。   Then, the software processing unit 112 determines whether or not the time (shift pulse output interval ΔT) elapsed from the previous output of the shift pulse to the current time is equal to or greater than the reference value R (step S108). Specifically, the software processing unit 112 reads the reference value R from a predetermined storage device, and determines whether or not the shift pulse output interval ΔT calculated in step S107 is greater than or equal to the reference value R. Note that the reference value R is assumed to be stored in advance in a predetermined storage device as data, for example, and can be regarded as a delay in the output of the shift pulse (for example, interrupt cycle T × 6.5). And

ここで、ソフトウェア処理部112は、シフトパルスの出力間隔ΔTが基準値R以上である場合には(ステップS108;Yes)、シフトパルスの出力に遅延が発生したものとみなし、遅延フラグを有効にする(ステップS109)。それから、ソフトウェア処理部112は、処理をステップS110に移行する。なお、ステップS109の処理は、図2に示す例では、タイミングβで行われる。   Here, when the output interval ΔT of the shift pulse is greater than or equal to the reference value R (step S108; Yes), the software processing unit 112 considers that a delay has occurred in the output of the shift pulse and validates the delay flag. (Step S109). Then, the software processing unit 112 moves the process to step S110. Note that the process of step S109 is performed at timing β in the example illustrated in FIG.

一方、ソフトウェア処理部112は、ステップS108で、シフトパルスの出力間隔ΔTが基準値R未満である場合には(ステップS108;No)、シフトパルスの出力に遅延は発生していないものとみなし、遅延フラグを有効にせずに、処理をステップS110に移行する。   On the other hand, when the output interval ΔT of the shift pulse is less than the reference value R in step S108 (step S108; No), the software processing unit 112 regards that the delay is not generated in the output of the shift pulse, The processing moves to step S110 without enabling the delay flag.

処理がステップS110に移行すると、ソフトウェア処理部112は、現在時刻Tnewを、前回にシフトパルスを出力した時刻Toldとして記憶する(ステップS110)。   When the process proceeds to step S110, the software processing unit 112 stores the current time Tnew as the time Told when the shift pulse was output last time (step S110).

その後、ソフトウェア処理部112は、本フローを終了する。   Thereafter, the software processing unit 112 ends this flow.

以上のようなシフトパルスの出力処理を行うことにより、本実施形態の画像読取装置50では、シフトパルスの出力に遅延が発生した場合に、次回のシフトパルスの出力を予定よりも遅らせることができる。そのため、1ライン分の画像の転送に必要な時間(「転送最短周期」)を確実に確保できる。   By performing the shift pulse output process as described above, in the image reading apparatus 50 of the present embodiment, when a delay occurs in the output of the shift pulse, the output of the next shift pulse can be delayed from the schedule. . For this reason, it is possible to reliably secure the time required for transferring the image for one line (“transfer shortest cycle”).

なお、上記実施形態におけるフローの各処理単位は、画像読取装置50を理解容易にするために、主な処理内容に応じて分割したものである。処理ステップの分類の仕方やその名称によって、本願発明が制限されることはない。画像読取装置50が行う処理は、さらに多くの処理ステップに分割することもできる。また、1つの処理ステップが、さらに多くの処理を実行してもよい。また、処理ステップの順序についても、これに制限されるものではなく、可能な限り変更することができる。   Note that each processing unit of the flow in the above embodiment is divided according to main processing contents in order to make the image reading device 50 easy to understand. The invention of the present application is not limited by the method of classification of the processing steps and the names thereof. The processing performed by the image reading device 50 can be divided into more processing steps. One processing step may execute more processes. Further, the order of the processing steps is not limited to this, and can be changed as much as possible.

また、上記の実施形態は、本発明の要旨を例示することを意図し、本発明を限定するものではない。多くの代替物、修正、変形例は当業者にとって明らかである。   Moreover, said embodiment intends to illustrate the summary of this invention, and does not limit this invention. Many alternatives, modifications, and variations will be apparent to those skilled in the art.

例えば、上記実施形態では、前回にシフトパルスを出力してから現在時刻までの経過時間が基準値Rを超えた場合に、シフトパルスの出力に遅延が発生したとみなされる。しかし、本発明は、これに限定されない、例えば、割り込み部111による割り込み毎に、その割り込みからの経過時間を計測しておき、その経過時間がシフトパルスの出力タイミングで所定の基準値を超えている場合に、シフトパルスの出力に遅延が発生したとみなすようにしてもよい。   For example, in the above embodiment, when the elapsed time from the last output of the shift pulse to the current time exceeds the reference value R, it is considered that a delay has occurred in the output of the shift pulse. However, the present invention is not limited to this. For example, for each interrupt by the interrupt unit 111, the elapsed time from the interrupt is measured, and the elapsed time exceeds a predetermined reference value at the output timing of the shift pulse. If there is a delay, it may be considered that a delay has occurred in the output of the shift pulse.

なお、以下では、参考までに、従来の画像読取制御について説明する。図4は、従来の画像読取制御の概要について説明するためのタイミングチャートである。   In the following, conventional image reading control will be described for reference. FIG. 4 is a timing chart for explaining an outline of conventional image reading control.

図示するように、従来の画像読取制御では、本願の上記実施形態の画像読取制御と同様に、他の優先処理によって、予定通りのタイミングαでシフトパルスを出力できない場合がある。この場合には、その優先処理が終了したタイミングβでシフトパルスが出力される。   As shown in the figure, in the conventional image reading control, as in the image reading control of the above-described embodiment of the present application, there are cases where the shift pulse cannot be output at the scheduled timing α by other priority processing. In this case, a shift pulse is output at the timing β when the priority processing is completed.

このようにシフトパルスの出力に遅延(αからβへの遅延)が発生した場合であっても、従来の画像読取制御では、次回のシフトパルスは、予定通りのタイミングγで出力される。   Thus, even when a delay (a delay from α to β) occurs in the output of the shift pulse, in the conventional image reading control, the next shift pulse is output at the scheduled timing γ.

そのため、従来の画像読取制御では、光電変換素子に蓄積された電荷を転送している途中で次のシフトパルスが出力されてしまう場合がある。これでは、1ライン分の画像の転送に必要な時間(「転送最短周期」)を確保できない。   For this reason, in the conventional image reading control, the next shift pulse may be output during the transfer of the charge accumulated in the photoelectric conversion element. This makes it impossible to secure the time required for transferring an image for one line (“transfer shortest cycle”).

これに対し、本願の上記実施形態の画像読取制御では、シフトパルスの出力に遅延が発生した場合には、次回のシフトパルスの出力を予定よりも遅らせるため、1ライン分の画像の転送に必要な時間を十分に確保できる。   On the other hand, in the image reading control according to the above-described embodiment of the present application, if a delay occurs in the output of the shift pulse, the output of the next shift pulse is delayed from the schedule. Sufficient time can be secured.

50・・・画像読取装置、100・・・コントローラー、110・・・メイン制御部、111・・・割り込み部、112・・・ソフトウェア処理部、113・・・モーター制御部、114・・・読取制御部、120・・・A/D変換部、130・・・データ処理部、140・・・記憶部、150・・・出力部、200・・・キャリッジ、210・・・LED光源、220・・・イメージセンサー、300・・・ADF、310・・・DCモーター DESCRIPTION OF SYMBOLS 50 ... Image reading apparatus, 100 ... Controller, 110 ... Main control part, 111 ... Interrupting part, 112 ... Software processing part, 113 ... Motor control part, 114 ... Reading Control unit, 120 ... A / D conversion unit, 130 ... data processing unit, 140 ... storage unit, 150 ... output unit, 200 ... carriage, 210 ... LED light source, 220. ..Image sensor, 300 ... ADF, 310 ... DC motor

Claims (4)

画像読取装置であって、
光電変換素子に蓄積された電荷をシフトパルスによってシフトレジスターに転送し、該シフトレジスターに格納された電荷を、読み出しクロックによって、該シフトレジスターの末端の出力部に移動させ、該出力部で、電荷を電気信号に変換して、A/D変換部に送る画像読取部と、
前記シフトパルスの出力タイミングを制御するシフトパルス制御部と、を備え、
前記シフトパルス制御部は、
前記シフトパルスの出力タイミングを、入力された周期割り込み信号の回数に基づいて決定し、
前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合には、今回のシフトパルスの出力を、決定された今回の出力タイミングより、前記周期割り込み信号の周期単位で遅らせる、
ことを特徴とする画像読取装置。
An image reading device,
The charge accumulated in the photoelectric conversion element is transferred to the shift register by a shift pulse, and the charge stored in the shift register is moved to the output part at the end of the shift register by the read clock, An image reading unit that converts the signal into an electrical signal and sends the signal to an A / D conversion unit ;
A shift pulse control unit for controlling the output timing of the shift pulse,
The shift pulse controller is
The output timing of the shift pulse is determined based on the number of input periodic interrupt signals,
When the output of the previous shift pulse is delayed from the determined previous output timing, the output of the current shift pulse is delayed by the period unit of the periodic interrupt signal from the determined current output timing.
An image reading apparatus.
請求項1に記載の画像読取装置であって、
前記シフトパルス制御部は、
前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合に遅延フラグを有効にし、今回のシフトパルスの出力が、決定された今回の出力タイミングにおいて当該遅延フラグが有効である場合には、当該遅延フラグを無効にし、今回のシフトパルスの出力を、決定された今回の出力タイミングより遅らせる、
ことを特徴とする画像読取装置。
The image reading apparatus according to claim 1,
The shift pulse controller is
The delay flag is enabled when the output of the previous shift pulse is later than the determined previous output timing, and the delay flag is effective at the determined current output timing of the current shift pulse. In this case, the delay flag is invalidated, and the output of the current shift pulse is delayed from the determined current output timing.
An image reading apparatus.
画像読取方法であって、
光電変換素子に蓄積された電荷をシフトパルスによってシフトレジスターに転送し、該シフトレジスターに格納された電荷を、読み出しクロックによって、該シフトレジスターの末端の出力部に移動させ、該出力部で、電荷を電気信号に変換して、A/D変換部に送る画像読取ステップと、
前記シフトパルスの出力タイミングを制御するシフトパルス制御ステップと、を行い、
前記シフトパルス制御ステップでは、
前記シフトパルスの出力タイミングを、入力された周期割り込み信号の回数に基づいて決定し、
前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合には、今回のシフトパルスの出力を、決定された今回の出力タイミングより、前記周期割り込み信号の周期単位で遅らせる、
ことを特徴とする画像読取方法。
An image reading method comprising:
The charge accumulated in the photoelectric conversion element is transferred to the shift register by a shift pulse, and the charge stored in the shift register is moved to the output part at the end of the shift register by the read clock, An image reading step of converting the signal into an electrical signal and sending it to an A / D converter ;
A shift pulse control step for controlling the output timing of the shift pulse, and
In the shift pulse control step,
The output timing of the shift pulse is determined based on the number of input periodic interrupt signals,
When the output of the previous shift pulse is delayed from the determined previous output timing, the output of the current shift pulse is delayed by the period unit of the periodic interrupt signal from the determined current output timing.
An image reading method.
コンピューターを、画像読取装置として機能させるプログラムであって、
光電変換素子に蓄積された電荷をシフトパルスによってシフトレジスターに転送し、該シフトレジスターに格納された電荷を、読み出しクロックによって、該シフトレジスターの末端の出力部に移動させ、該出力部で、電荷を電気信号に変換して、A/D変換部に送る画像読取ステップと、
前記シフトパルスの出力タイミングを制御するシフトパルス制御ステップと、を前記コンピューターに実行させ、
前記シフトパルス制御ステップでは、
前記シフトパルスの出力タイミングを、入力された周期割り込み信号の回数に基づいて決定し、
前回のシフトパルスの出力が、決定された前回の出力タイミングよりも遅れた場合には、今回のシフトパルスの出力を、決定された今回の出力タイミングより、前記周期割り込み信号の周期単位で遅らせる、
ことを特徴とするプログラム。
A program for causing a computer to function as an image reading device,
The charge accumulated in the photoelectric conversion element is transferred to the shift register by a shift pulse, and the charge stored in the shift register is moved to the output part at the end of the shift register by the read clock, An image reading step of converting the signal into an electrical signal and sending it to an A / D converter ;
A shift pulse control step for controlling the output timing of the shift pulse;
In the shift pulse control step,
The output timing of the shift pulse is determined based on the number of input periodic interrupt signals,
When the output of the previous shift pulse is delayed from the determined previous output timing, the output of the current shift pulse is delayed by the period unit of the periodic interrupt signal from the determined current output timing.
A program characterized by that.
JP2011024277A 2011-02-07 2011-02-07 Image reading apparatus, image reading method, and program Active JP5853375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011024277A JP5853375B2 (en) 2011-02-07 2011-02-07 Image reading apparatus, image reading method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011024277A JP5853375B2 (en) 2011-02-07 2011-02-07 Image reading apparatus, image reading method, and program

Publications (2)

Publication Number Publication Date
JP2012165194A JP2012165194A (en) 2012-08-30
JP5853375B2 true JP5853375B2 (en) 2016-02-09

Family

ID=46844160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011024277A Active JP5853375B2 (en) 2011-02-07 2011-02-07 Image reading apparatus, image reading method, and program

Country Status (1)

Country Link
JP (1) JP5853375B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0738673B2 (en) * 1985-07-05 1995-04-26 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Image scanner control method
JPH0662199A (en) * 1992-08-04 1994-03-04 Fujitsu Ltd Reading device

Also Published As

Publication number Publication date
JP2012165194A (en) 2012-08-30

Similar Documents

Publication Publication Date Title
EP2760191B1 (en) Image reading apparatus, image forming apparatus, and image reading method
JP4858407B2 (en) Image reading device
JP4752605B2 (en) Image reading device
US8547585B2 (en) Apparatus, program, and method for high speed image reading using a sheet feeding device
US9578204B2 (en) Image reading device
JP2009065650A (en) Image reading apparatus, method for controlling the apparatus, and control program
JP5793829B2 (en) Image reading device
JP2011044783A (en) Image reading apparatus, and image reading method
JP5853375B2 (en) Image reading apparatus, image reading method, and program
JP7009155B2 (en) Image readers, image reader control methods, image sensors, and programs
CN102905046A (en) Image reading device and image reading method
JP2009272891A (en) Image reader, image forming apparatus, image reading method, and image formation method
JP2012165227A (en) Image reader and image reading control method
JP7353899B2 (en) Image reading device and method of controlling the image reading device
JP2006013833A (en) Image reader, image processing apparatus, and image processing method
JP2023181508A (en) Media transport device, control method and control program
US8514466B2 (en) Image reader and image reading method
JP2012169963A (en) Image reading device, image reading method, and program
JP5585121B2 (en) Image reading device
JP2009200556A (en) Image reader and image reading method
JP2010199945A (en) Device for reading image, and method of controlling the same
JP2006080941A (en) Image reading apparatus
JP5789990B2 (en) Image reading apparatus and image reading control method
JP5742197B2 (en) Image reading apparatus, image reading method, and program
JP4320568B2 (en) Image reading apparatus and image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150901

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151020

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20151110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151123

R150 Certificate of patent or registration of utility model

Ref document number: 5853375

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350