JP2014236260A - Image reader - Google Patents

Image reader Download PDF

Info

Publication number
JP2014236260A
JP2014236260A JP2013114913A JP2013114913A JP2014236260A JP 2014236260 A JP2014236260 A JP 2014236260A JP 2013114913 A JP2013114913 A JP 2013114913A JP 2013114913 A JP2013114913 A JP 2013114913A JP 2014236260 A JP2014236260 A JP 2014236260A
Authority
JP
Japan
Prior art keywords
image reading
unit
image data
reading apparatus
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013114913A
Other languages
Japanese (ja)
Other versions
JP6163883B2 (en
Inventor
藤原 真吾
Shingo Fujiwara
真吾 藤原
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2013114913A priority Critical patent/JP6163883B2/en
Publication of JP2014236260A publication Critical patent/JP2014236260A/en
Application granted granted Critical
Publication of JP6163883B2 publication Critical patent/JP6163883B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To determine the arrival of the leading or trailing edge of a document sheet at the reading position, by using the image data read at the reading position.SOLUTION: In an image reader 1, in order to determine whether dust, or the like, is adhering to the opposing surface of a document pressing member, the number of edge pixels of the image data obtained by reading the opposing member, when the document sheet is not conveyed to the reading position, is calculated (S4, S16), and then compared with the reference number of edge pixels (S6, S18). If the number of edge pixels thus calculated does not match the reference number of edge pixels within a specified number (S6:YES, S18:YES), a transition is made to a cleaning mode for cleaning the opposing surface of a document pressing member (S8).

Description

原稿シートを搬送し、画像読取部の読取領域を通過させつつ当該原稿シート上の画像を読み取る技術に関し、特に、読取領域に原稿シートの端が到達したか否かを判断する技術に関する。   The present invention relates to a technique for conveying an original sheet and reading an image on the original sheet while passing through a reading area of an image reading unit, and more particularly, to a technique for determining whether or not the end of the original sheet has reached the reading area.

原稿シートを搬送し、画像読取部の読取領域を通過させつつ当該原稿シート上の画像を読み取るタイプの画像読取装置がある。このタイプの画像読取装置には、搬送方向における原稿シートの先端や後端が読取領域に到達したか否かを判断し、その判断結果を、例えば画像読取部の読取タイミングの決定や、読取画像内における原稿の画像サイズの決定等に利用するものがある。   There is a type of image reading apparatus that conveys an original sheet and reads an image on the original sheet while passing through a reading area of an image reading unit. In this type of image reading apparatus, it is determined whether or not the leading edge or the trailing edge of the document sheet in the transport direction has reached the reading area, and the determination result is used to determine, for example, the reading timing of the image reading unit or the read image. Some of them are used to determine the image size of the original document.

その一例である画像読取装置は、画像読取部に対向配置された原稿押さえ板を備え、この原稿押さえ板に、主走査方向に沿って色が切り替わるパターン、バーコード、特定の絵柄などの識別画像が描かれている。そして、当該画像読取装置は、画像読取部により所定の読取領域で読み取った画像データが、上記識別画像データであるか否かを判断することにより、原稿シートの先端や後端が読取領域に到達したか否かを判断する(特許文献1)。   An image reading apparatus as an example includes a document pressing plate disposed opposite to an image reading unit, and an identification image such as a pattern whose color is switched along the main scanning direction, a barcode, or a specific pattern on the document pressing plate. Is drawn. Then, the image reading apparatus determines whether or not the image data read in the predetermined reading area by the image reading section is the identification image data, so that the leading edge or the trailing edge of the document sheet reaches the reading area. It is determined whether or not (Patent Document 1).

特開2004−120425号公報JP 2004-120425 A

ところで、上記従来の画像読取装置では、例えば原稿押さえ板などの対向部材にゴミ等が付着した場合、画像読取部により読み取った画像データが、識別画像データであるか否かを誤判定してしまい、原稿シートの先端や後端が搬送経路上の読取範囲の位置である読取位置に到達したか否かを正確に判断することができない問題が生じる。   By the way, in the conventional image reading apparatus, when dust or the like adheres to a facing member such as a document pressing plate, for example, it is erroneously determined whether or not the image data read by the image reading unit is identification image data. Therefore, there arises a problem that it is impossible to accurately determine whether or not the leading edge or the trailing edge of the original sheet has reached the reading position that is the position of the reading range on the conveyance path.

本明細書では、対向部材に付着したゴミ等の影響を抑制して、読取位置で読み取った画像データを用いて原稿シートの先端や後端が読取位置に到達したことを判断する技術を開示する。   The present specification discloses a technique for determining that the leading edge or the trailing edge of the document sheet has reached the reading position using image data read at the reading position while suppressing the influence of dust or the like adhering to the facing member. .

本明細書によって開示される画像読取装置は、原稿シートを搬送する搬送部と、搬送経路上の読取位置で画像を読み取る画像読取部と、前記画像読取部に対して前記搬送経路を挟んで対向配置された対向部材と、記憶部と、制御部と、を備え、前記記憶部は、前記対向部材を前記画像読取部が読み取った際の読取画像データの基準となる基準値が記憶され、前記制御部は、前記搬送部に搬送を指示し、前記搬送部が前記原稿シートを前記読取位置に到達させる前から前記画像読取部に画像の読み取りを開始させ、順次、読取画像データを取得する読取処理と、前記読取処理によって取得された前記読取画像データの値が所定値以上変化した前記読取画像データの位置を前記原稿シートの端と判断するシート端判断処理と、前記画像読取部に前記対向部材を読み取らせ、前記読取画像データの値と前記基準値とを比較し、前記読取画像データの値と前記基準値との差異が規定値以上か否かを判断する判断処理と、前記判断処理によって差異が規定値以上と判断された場合、前記対向部材を清掃するためのクリーニングモードに移行する移行処理と、を実行する。   An image reading apparatus disclosed in this specification is configured to face a conveyance unit that conveys a document sheet, an image reading unit that reads an image at a reading position on a conveyance path, and the image reading unit across the conveyance path. A counter unit disposed, a storage unit, and a control unit, wherein the storage unit stores a reference value serving as a reference of read image data when the image reading unit reads the counter member; The control unit instructs the conveyance unit to convey, and causes the image reading unit to start reading an image before the conveyance unit causes the original sheet to reach the reading position, and sequentially reads the read image data. Processing, sheet edge determination processing for determining the position of the read image data where the value of the read image data acquired by the reading process has changed by a predetermined value or more as the edge of the original sheet, and the image reading unit A determination process for reading a counter member, comparing the value of the read image data with the reference value, and determining whether a difference between the value of the read image data and the reference value is a predetermined value or more; and the determination When the process determines that the difference is equal to or greater than a specified value, a transition process is executed to shift to a cleaning mode for cleaning the facing member.

この画像読取装置では、対向部材にゴミ等が付着しているかを判断するために、原稿シートが読取位置に搬送されていない場合に対向部材を読み取った読取画像データの値を基準値と比較する。そして、当該読取画像データの値と基準値との差異が規定値以上である場合、クリーニングモードに移行させる。クリーニングモードに移行することで、対向部材からゴミ等を除去することができれば、対向部材を読み取った読取画像データの値と基準値とを規定値内で等しくすることができ、対向部材を読み取った読取画像データを用いて原稿シートの先端や後端が読取位置に到達したことを判断することができる。   In this image reading apparatus, in order to determine whether dust or the like is attached to the facing member, the value of the read image data read from the facing member is compared with a reference value when the document sheet is not conveyed to the reading position. . If the difference between the value of the read image data and the reference value is equal to or greater than a specified value, the mode is shifted to the cleaning mode. If dust or the like can be removed from the facing member by shifting to the cleaning mode, the value of the read image data read from the facing member can be made equal to the reference value within the specified value, and the facing member is read. Using the read image data, it can be determined that the leading edge or the trailing edge of the document sheet has reached the reading position.

上記の画像読取装置では、更に、受信部、を備え、前記制御部は、前記受信部が読取開始命令を受信後、前記読取処理を実行する前に、前記判断処理を実行する構成としても良い。   The image reading apparatus may further include a receiving unit, and the control unit may execute the determination process after the receiving unit receives the reading start command and before executing the reading process. .

この画像読取装置では、画像読取部が原稿シートを読み取る直前に、画像読取部に対向部材を読み取らせ、読取画像データの値と基準値との差異が規定値以上か否かを判断する。これにより、読取画像データの値と基準値との差異が規定値以上である状態、つまり、対向部材にゴミ等が付着している状態で原稿シートが読み取られることを抑制することができる。   In this image reading apparatus, immediately before the image reading unit reads the document sheet, the image reading unit reads the opposing member, and determines whether or not the difference between the value of the read image data and the reference value is equal to or greater than a specified value. Thereby, it is possible to suppress reading of the document sheet in a state where the difference between the value of the read image data and the reference value is equal to or greater than a predetermined value, that is, in a state where dust or the like is attached to the facing member.

上記の画像読取装置では、前記制御部は、前記画像読取装置の起動時に、前記判断処理を実行する構成としても良い。   In the image reading apparatus, the control unit may execute the determination process when the image reading apparatus is activated.

この画像読取装置では、画像読取装置の電源オン時に、画像読取部に対向部材を読み取らせ読取画像データの値と基準値との差異が規定値以上か否かを判断する。これにより、読取画像データの値と基準値との差異が規定値以上であり、対向部材にゴミ等が付着している場合には、電源オンから、使用者から読取開始命令が入力されるまでの期間を利用して、対向部材からゴミ等を除去することができる。   In this image reading apparatus, when the power of the image reading apparatus is turned on, the image reading unit reads the facing member and determines whether or not the difference between the value of the read image data and the reference value is equal to or greater than a specified value. As a result, when the difference between the value of the read image data and the reference value is equal to or greater than the specified value and dust or the like is attached to the facing member, the power is turned on until a reading start command is input from the user. Using this period, dust and the like can be removed from the opposing member.

上記の画像読取装置では、前記制御部は、前記読取処理終了による前記搬送部の搬送停止後に、前記判断処理を実行する構成としても良い。   In the above-described image reading apparatus, the control unit may execute the determination process after the conveyance unit stops when the reading process ends.

原稿シートが読取位置を通過すると、原稿シートに付着していたトナーや紙粉等が対向部材に付着することがある。この画像読取装置では、原稿シートが読取位置を通過した後の対向部材を読み取り、読み取った読取画像データの値を基準値と比較する。これにより、当該読取画像データの値と基準値との差異が規定値以上である場合、クリーニングモードに移行させ、原稿シートが読取位置を通過する際に対向部材に付着したゴミ等を除去することができる。   When the document sheet passes through the reading position, toner, paper dust, or the like that has adhered to the document sheet may adhere to the opposing member. In this image reading apparatus, the opposing member after the original sheet has passed the reading position is read, and the value of the read image data read is compared with a reference value. Thus, when the difference between the value of the read image data and the reference value is equal to or greater than the specified value, the mode is shifted to the cleaning mode, and dust or the like attached to the facing member is removed when the document sheet passes the reading position. Can do.

上記の画像読取装置では、更に、表示部と、受信部と、を備え、前記制御部は、前記クリーニングモードにおいて、更に、前記表示部に前記対向部材の清掃を促す指示、又は、警告を表示させる清掃表示処理と、前記受信部が清掃完了命令を受信後に、前記画像読取部に前記対向部材を再度読み取らせ、前記読取画像データの値と前記基準値とを比較し、前記読取画像データの値と前記基準値との差異が規定値以上か否かを判断する再判断処理と、を実行する構成としても良い。   The image reading apparatus further includes a display unit and a receiving unit, and the control unit further displays an instruction or warning for prompting the display unit to clean the counter member in the cleaning mode. Cleaning display processing to be performed, and after the receiving unit receives a cleaning completion command, the image reading unit reads the counter member again, compares the value of the read image data with the reference value, A re-determination process for determining whether or not the difference between the value and the reference value is equal to or greater than a specified value may be performed.

この画像読取装置では、クリーニングモードにおいて、表示部に清掃指示又は警告を表示し、対向部材の清掃を促す。そして、これに応じて使用者の清掃が行われ、受信部を介して使用者から清掃完了命令が受信されると、再度、対向部材を読み取り、再取得された読取画像データの値と基準値との差異が規定値以上か否かを判断する。これにより、対向部材からゴミ等を除去されたか否かを判断することができる。   In this image reading apparatus, in the cleaning mode, a cleaning instruction or a warning is displayed on the display unit to urge the opposing member to be cleaned. Then, when the user is cleaned in accordance with this, and a cleaning completion command is received from the user via the receiving unit, the opposite member is read again, and the read image data value and the reference value obtained again It is determined whether or not the difference is greater than the specified value. This makes it possible to determine whether dust or the like has been removed from the opposing member.

上記の画像読取装置では、前記制御部は、更に、前記再判断処理によって差異が規定値以上と判断された場合、前記表示部に対して前記対向部材の交換指示を表示させる交換表示処理、を実行する構成としても良い。   In the above-described image reading apparatus, the control unit further includes an exchange display process for displaying an instruction to replace the facing member on the display unit when the difference is determined to be greater than or equal to a predetermined value by the redetermination process. It may be configured to execute.

この画像読取装置では、クリーニングモードに移行してもなお、読取画像データの値と基準値との差異が規定値以上であり、対向部材からゴミ等が除去されていないと判断される場合には、表示部に交換指示を表示し、対向部材の交換を促す。そして、これに応じて使用者により対向部材が交換されれば、交換後の対向部材を読み取った読取画像データを用いて原稿シートの先端や後端が読取位置に到達したことを判断することができる。   In this image reading apparatus, when it is determined that the difference between the value of the read image data and the reference value is equal to or greater than the specified value even when the mode is changed to the cleaning mode and dust or the like is not removed from the opposing member. Then, a replacement instruction is displayed on the display unit to prompt replacement of the opposing member. If the facing member is replaced by the user in accordance with this, it is possible to determine that the leading edge or the trailing edge of the document sheet has reached the reading position using the read image data obtained by reading the replaced facing member. it can.

上記の画像読取装置では、前記制御部は、更に、前記再判断処理によって差異が規定値より小さいと判断された場合、前記表示部に対して前記対向部材の清掃完了を表示させる完了表示処理、を実行する構成としても良い。   In the image reading apparatus, the control unit further displays a completion display process for displaying the cleaning completion of the facing member on the display unit when it is determined that the difference is smaller than a predetermined value by the re-determination process. It is good also as composition which performs.

この画像読取装置では、クリーニングモードに移行した結果、読取画像データの値が基準値と規定値内で等しくなり、対向部材にゴミ等が付着していないと判断される場合には、表示部に清掃完了を表示する。これにより、使用者は、この画像読取装置を用いて、再度、原稿シートを読み取ることができることを認識することができる。   In this image reading apparatus, as a result of shifting to the cleaning mode, when the value of the read image data becomes equal to the reference value within the specified value, and it is determined that no dust or the like is attached to the opposing member, the display unit displays Displays cleaning completion. Thus, the user can recognize that the original sheet can be read again using the image reading apparatus.

上記の画像読取装置では、前記制御部は、前記制御部は、前記再判断処理によって差異が規定値以上と判断された場合、前記清掃表示処理及び前記再判断処理を再度実行し、前記再判断処理によって差異が規定値より小さいと判断されるまで、前記清掃表示処理と、前記再判断処理とを繰り返す構成としても良い。   In the image reading apparatus, the control unit performs the cleaning display process and the redetermination process again when the difference is determined to be greater than or equal to a predetermined value by the redetermination process, and the redetermination is performed. The cleaning display process and the re-determination process may be repeated until it is determined that the difference is smaller than a specified value.

この画像読取装置では、クリーニングモードに移行してもなお、読取画像データの値と基準値との差異が規定値以上であり、対向部材からゴミ等が除去されていないと判断される場合には、清掃表示処理と再判定処理とを繰り返し、読取画像データの値と基準値とを規定値内で等しくさせる。これにより、対向部材を読み取った読取画像データを用いて原稿シートの先端や後端が読取位置に到達したことを判断することができる。   In this image reading apparatus, when it is determined that the difference between the value of the read image data and the reference value is equal to or greater than the specified value even when the mode is changed to the cleaning mode and dust or the like is not removed from the opposing member. Then, the cleaning display process and the redetermination process are repeated to make the value of the read image data equal to the reference value within the specified value. Thus, it can be determined that the leading edge or the trailing edge of the document sheet has reached the reading position using the read image data obtained by reading the facing member.

本明細書によって開示される画像読取装置では、対向部材に付着したゴミ等の影響を抑制して、読取位置で読み取った画像データを用いて原稿シートの先端や後端が読取位置に到達したことを判断することができる。   In the image reading apparatus disclosed in the present specification, the leading edge and the trailing edge of the original sheet have reached the reading position using the image data read at the reading position while suppressing the influence of dust or the like adhering to the facing member. Can be judged.

画像読取装置の概略的な断面図Schematic sectional view of an image reading device 画像読取装置の電気的構成を概略的に示すブロック図Block diagram schematically showing the electrical configuration of the image reading apparatus 画像読取処理を示すフローチャートFlow chart showing image reading process 実施形態1のクリーニングモードにおける処理を示すフローチャート7 is a flowchart showing processing in the cleaning mode of the first embodiment. 読取処理を示すフローチャートFlow chart showing the reading process 後端検出処理を示すフローチャートFlow chart showing rear end detection processing 読取画像データのエッジ画素数を示すグラフGraph showing the number of edge pixels in scanned image data 実施形態2のクリーニングモードにおける処理を示すフローチャート10 is a flowchart showing processing in the cleaning mode of the second embodiment.

<実施形態1>
実施形態1を、図1から図7を用いて説明する。
<Embodiment 1>
The first embodiment will be described with reference to FIGS.

1.画像読取装置の機械的構成
図1に示すように、画像読取装置1は、使用者により給紙トレイ2に載置された複数の原稿シートGを排紙トレイ4に搬送するとともに、搬送中の原稿シートGを本体部3に含まれる画像読取部30を用いて読み取るシートフィードスキャナである。
1. As shown in FIG. 1, the image reading apparatus 1 transports a plurality of document sheets G placed on a paper feed tray 2 to a paper discharge tray 4 by a user, This is a sheet feed scanner that reads an original sheet G using an image reading unit 30 included in the main body unit 3.

画像読取装置1の本体部3には、給紙トレイ2と排紙トレイ4を接続する搬送経路48が設けられており、この搬送経路48の周辺に、給紙ローラ40と、分離パッド42と、搬送ローラ44と、原稿押さえ部材46と、画像読取部30と、排紙ローラ50と、フロントセンサ(以下、Fセンサ)13を備える。   The main body 3 of the image reading apparatus 1 is provided with a conveyance path 48 that connects the paper feed tray 2 and the paper discharge tray 4. A paper feed roller 40, a separation pad 42, and the periphery of the conveyance path 48 are provided. , A conveyance roller 44, a document pressing member 46, an image reading unit 30, a paper discharge roller 50, and a front sensor (hereinafter referred to as F sensor) 13.

給紙ローラ40は、駆動モータM(図2参照)によって回転駆動される。給紙ローラ40は、給紙トレイ2に載置された原稿シートGに当接し、摩擦力により、給紙トレイ2に載置された原稿シートGを本体部3の内部へと引き込む。この際、原稿シートGは、分離パッド42の摩擦力により各原稿シートG毎に分離され、搬送経路48へと送り出される。   The paper feed roller 40 is rotationally driven by a drive motor M (see FIG. 2). The paper feed roller 40 abuts on the original sheet G placed on the paper feed tray 2 and draws the original sheet G placed on the paper feed tray 2 into the main body 3 by a frictional force. At this time, the document sheet G is separated for each document sheet G by the frictional force of the separation pad 42 and sent out to the conveyance path 48.

搬送ローラ44は、駆動モータMにより回転駆動され、給紙ローラ40により本体部3の内部へと引き込まれた複数の原稿シートGを搬送経路48に沿って連続して搬送する。給紙ローラ40及び搬送ローラ44では、搬送速度が給紙ローラ40よりも搬送ローラ44のほうが速く設定されている。給紙ローラ40及び搬送ローラ44では、当該搬送速度の差を利用して、いわゆるワンウェイクラッチ機構が構成されている。すなわち、後述する中央処理装置(以下、CPU)20が原稿シートGの原稿サイズを認識していなくても、原稿シートGの原稿サイズに応じて連続して搬送される原稿シートGの原稿間距離が設定される機構が構成されている。   The conveyance roller 44 is driven to rotate by the drive motor M, and continuously conveys the plurality of document sheets G drawn into the main body 3 by the paper feed roller 40 along the conveyance path 48. In the paper feed roller 40 and the transport roller 44, the transport speed of the transport roller 44 is set faster than that of the paper feed roller 40. In the paper feed roller 40 and the transport roller 44, a so-called one-way clutch mechanism is configured using the difference in the transport speed. That is, even if a central processing unit (hereinafter referred to as CPU) 20 to be described later does not recognize the original size of the original sheet G, the distance between originals of the original sheet G that is continuously conveyed according to the original size of the original sheet G. Is configured.

画像読取部30は、搬送経路48上の読取位置P1に配置され、搬送経路48に沿った搬送方向D2に搬送される原稿シートGの一方の面を読取位置P1で読み取る。また、読取位置P1の搬送経路48を挟んで画像読取部30に対向する位置には、搬送経路48上の原稿シートGを画像読取部30側に押しつける原稿押さえ部材46が配置されている。原稿押さえ部材46は、画像読取部30に対向する対向面46Aが、例えば、白色であり、その反射率は白色の原稿シートGの反射率よりも高い。画像読取部30は、また、原稿押さえ部材46の対向面46Aを読取位置P1で読み取る。原稿押さえ部材46は、対向部材の一例である。   The image reading unit 30 is arranged at the reading position P1 on the conveyance path 48 and reads one surface of the original sheet G conveyed in the conveyance direction D2 along the conveyance path 48 at the reading position P1. A document pressing member 46 that presses the document sheet G on the conveyance path 48 toward the image reading unit 30 is disposed at a position facing the image reading unit 30 across the conveyance path 48 at the reading position P1. The document pressing member 46 has a facing surface 46 </ b> A facing the image reading unit 30 that is, for example, white, and its reflectance is higher than the reflectance of the white document sheet G. The image reading unit 30 also reads the facing surface 46A of the document pressing member 46 at the reading position P1. The document pressing member 46 is an example of a facing member.

図1に示すように、画像読取部30は、光源32、受光部34を含む。光源32は、搬送方向D2と直交する主走査方向D1に配列され複数の発光ダイオード32(以下、LED)を含む。光源32には、青色の光を発光する青色LED32B、緑色の光を発光する緑色LED32G、赤色の光を発光する赤色LED32Rが、搬送方向D2の上流側から互いにずれた位置に配置されている。光源32は、各LED32から発光される光を、搬送経路48の上流側から下流側に斜めに出射する。   As shown in FIG. 1, the image reading unit 30 includes a light source 32 and a light receiving unit 34. The light source 32 includes a plurality of light emitting diodes 32 (hereinafter referred to as LEDs) arranged in the main scanning direction D1 orthogonal to the transport direction D2. In the light source 32, a blue LED 32B that emits blue light, a green LED 32G that emits green light, and a red LED 32R that emits red light are arranged at positions shifted from each other from the upstream side in the transport direction D2. The light source 32 emits light emitted from each LED 32 obliquely from the upstream side to the downstream side of the transport path 48.

受光部34は、主走査方向D1に直線状に配列された複数の受光素子を含む。受光部34は、各LED32から照射され、読取位置P1を通過する原稿シートGの一方の面で反射された光を各受光素子を用いて受光する。また、画像読取部30は、各LED32から照射され、原稿押さえ部材46の対向面46Aで反射された光を各受光素子を用いて受光する。   The light receiving unit 34 includes a plurality of light receiving elements arranged linearly in the main scanning direction D1. The light receiving unit 34 receives the light emitted from each LED 32 and reflected by one surface of the document sheet G passing through the reading position P1 using each light receiving element. Further, the image reading unit 30 receives the light emitted from each LED 32 and reflected by the facing surface 46 </ b> A of the document pressing member 46 using each light receiving element.

排紙ローラ50は、搬送経路48において読取位置P1よりも下流側に配置される。排紙ローラ50は、給紙ローラ40及び搬送ローラ44と同様に駆動モータMにより回転駆動され、搬送経路48上に搬送された原稿シートGを排紙トレイ4に送り出す。つまり、給紙ローラ40と搬送ローラ44と排紙ローラ50と駆動モータMとによって、給紙トレイ2に載置された複数の原稿シートGを搬送経路48に沿って搬送する搬送部15(図2参照)が形成されている。   The paper discharge roller 50 is disposed on the downstream side of the reading position P1 in the transport path 48. The paper discharge roller 50 is rotationally driven by the drive motor M in the same manner as the paper supply roller 40 and the conveyance roller 44, and sends the document sheet G conveyed on the conveyance path 48 to the paper discharge tray 4. In other words, the conveyance unit 15 conveys a plurality of document sheets G placed on the sheet feed tray 2 along the conveyance path 48 by the sheet feed roller 40, the conveyance roller 44, the sheet discharge roller 50, and the drive motor M (see FIG. 2) is formed.

排紙トレイ4の搬送経路48側には、上側に突出した突出部52が設けられており、排紙トレイ4に送り出された原稿シートGは、その搬送経路48側が突出部52に従って上側に反り上がる。そのため、搬送経路48に沿って後から搬送された原稿シートGは、排紙トレイ4に送り出される際に、先に搬送された原稿シートGと突出部52の間、つまり先に搬送された原稿シートGの下側に潜り込むように送り出される。この結果、給紙トレイ2において一方の面が下を向いた状態で下側から順番に載置されていた複数の原稿シートGが、排紙トレイ4において一方の面が上を向いた状態で上側から順番に載置される、いわゆる潜り込み排紙機構が構成されている。   A protruding portion 52 that protrudes upward is provided on the conveyance path 48 side of the paper discharge tray 4, and the document sheet G sent to the paper discharge tray 4 warps upward on the conveyance path 48 side according to the protrusion 52. Go up. Therefore, when the document sheet G transported later along the transport path 48 is sent out to the paper discharge tray 4, the document sheet G transported first and the projecting portion 52, that is, the document transported first. It is sent out so as to sink into the lower side of the sheet G. As a result, a plurality of original sheets G placed in order from the bottom side with one side facing down in the paper feed tray 2 are in a state where one side faces up in the paper discharge tray 4. A so-called submerged paper discharge mechanism that is placed in order from the upper side is configured.

Fセンサ13は、給紙トレイ2上に配置され、給紙トレイ2に原稿シートGが載置された場合にオンし、給紙トレイ2に原稿シートGが載置されていない場合にオフする。また、画像読取装置1には、電源スイッチ16や各種設定ボタンからなり、使用者からの各種命令を受け付ける操作部11や、LEDや液晶ディスプレイからなり画像読取装置1の状況を表示する表示部12が設けられている。操作部11と表示部12は、図1に示すように、別々の構成であってもよければ、タッチパネル等のように、1つの構成であってもよい。操作部11は、受信部の一例である。   The F sensor 13 is arranged on the paper feed tray 2 and is turned on when the document sheet G is placed on the paper feed tray 2, and is turned off when the document sheet G is not placed on the paper feed tray 2. . The image reading apparatus 1 includes a power switch 16 and various setting buttons, and includes an operation unit 11 that receives various commands from a user, and a display unit 12 that includes an LED and a liquid crystal display and displays the status of the image reading apparatus 1. Is provided. As shown in FIG. 1, the operation unit 11 and the display unit 12 may have different configurations, or may have a single configuration such as a touch panel. The operation unit 11 is an example of a receiving unit.

2.画像読取装置の電気的構成
図2に示すように、画像読取装置1は、ASIC(Application Specific Integrated Circuit)29と、ROM26と、RAM27と、NVRAM28と、低圧電源部24と、電源供給部25と、を備え、これらに画像読取部30、操作部11等が接続されている。図2に一点鎖線17で示すように、ASIC29と、ROM26と、RAM27と、NVRAM28と、電源供給部25とは、同一の基板上に設けられている。また、図2に実線21で示すように、ASIC29と、ROM26と、RAM27と、NVRAM28とを含めたものが、制御部の一例である。そのうち、ROM26と、RAM27と、NVRAM28とを含めたものが、記憶部の一例である。
2. As shown in FIG. 2, the image reading apparatus 1 includes an ASIC (Application Specific Integrated Circuit) 29, a ROM 26, a RAM 27, an NVRAM 28, a low-voltage power supply unit 24, a power supply unit 25, and the like. The image reading unit 30, the operation unit 11 and the like are connected to these. As indicated by a one-dot chain line 17 in FIG. 2, the ASIC 29, the ROM 26, the RAM 27, the NVRAM 28, and the power supply unit 25 are provided on the same substrate. 2 includes an ASIC 29, a ROM 26, a RAM 27, and an NVRAM 28 as an example of a control unit. Of these, the ROM 26, the RAM 27, and the NVRAM 28 are examples of the storage unit.

ASIC29は、CPU20を含む他、電源スイッチ検出回路22、画像処理回路23等の専用のハード回路を含む。ROM26には、画像読取装置1の動作を制御するための各種のプログラムが記憶されており、CPU20は、ROM26から読み出したプログラムに従って各部の制御を行うとともに、必要に応じてハード回路を用いて後述する画像読取処理等の処理を実行する。不揮発メモリであるNVRAM28には、基準エッジ画素数、基準最大画素数、基準ピーク輝度等の基準値が記憶されている。これらの基準値は、画像読取処理に用いられる基準値であり、その詳細は後述して説明する。   The ASIC 29 includes a CPU 20 and dedicated hardware circuits such as a power switch detection circuit 22 and an image processing circuit 23. Various programs for controlling the operation of the image reading apparatus 1 are stored in the ROM 26, and the CPU 20 controls each part in accordance with the program read from the ROM 26 and uses a hardware circuit as necessary later. A process such as an image reading process is executed. The NVRAM 28, which is a nonvolatile memory, stores reference values such as a reference edge pixel number, a reference maximum pixel number, and a reference peak luminance. These reference values are reference values used for image reading processing, and details thereof will be described later.

低圧電源部24は、使用者によってAC100V電源に接続され、電源スイッチ検出回路22からの命令に基づいて、当該電源からAC100Vで供給される電力を例えばDC6Vに変換し、電源供給部25等に出力する。電源供給部25は、低圧電源部24から供給されるDC6Vの電力を例えばDC3.3Vの電力に変換し、ASIC29や画像読取部30等に出力する。   The low-voltage power supply unit 24 is connected to the AC100V power supply by the user, converts the power supplied from the power supply by the AC100V to the DC100V, for example, based on an instruction from the power switch detection circuit 22, and outputs it to the power supply unit 25 and the like. To do. The power supply unit 25 converts DC6V power supplied from the low-voltage power supply unit 24 into, for example, DC3.3V power, and outputs the power to the ASIC 29, the image reading unit 30, and the like.

電源スイッチ検出回路22は、操作部11の電源スイッチ16に接続されており、電源スイッチ16を介して、使用者から画像読取装置1の電源をオンする起動命令、或は、画像読取装置1の電源をオフする停止命令が入力されたか否かを検出する。電源スイッチ検出回路22は、また、低圧電源部24に接続されており、使用者から起動命令が入力されると、低圧電源部24に電源供給部25への電力の供給を許可する信号を出力する。また、使用者から停止命令が入力されると、低圧電源部24に電源供給部25への電力の供給を停止させる信号を低圧電源部24に出力する。   The power switch detection circuit 22 is connected to the power switch 16 of the operation unit 11, and a start command for turning on the power of the image reading device 1 from the user via the power switch 16 or the power switch detection circuit 22 of the image reading device 1. It is detected whether or not a stop command for turning off the power is input. The power switch detection circuit 22 is also connected to the low-voltage power supply unit 24, and outputs a signal permitting the power supply to the power supply unit 25 to the low-voltage power supply unit 24 when a start command is input from the user. To do. When a stop command is input from the user, the low-voltage power supply unit 24 outputs a signal that causes the low-voltage power supply unit 24 to stop supplying power to the power supply unit 25.

画像読取部30は、CPU20からの命令に基づいて、各色のLED32を各々点灯し、原稿押さえ部材46の対向面46A、及び、原稿シートGを読み取る。画像読取部30は、1回の読み取りで主走査方向D1に1ライン読み取り、主走査方向D1に配列された各受光素子により取得された画素データの集まりである読取画像データを取得する。画像読取部30が取得した読取画像データは、デジタル信号の読取画像データに変換されてRAM27に記憶される。   Based on a command from the CPU 20, the image reading unit 30 turns on the LEDs 32 of the respective colors, and reads the facing surface 46 </ b> A of the document pressing member 46 and the document sheet G. The image reading unit 30 reads one line in the main scanning direction D1 by one reading, and acquires read image data that is a collection of pixel data acquired by each light receiving element arranged in the main scanning direction D1. The read image data acquired by the image reading unit 30 is converted into read image data of a digital signal and stored in the RAM 27.

画像処理回路23は、RAM27に記憶された読取画像データに対して、2値化処理やエンハンス処理等のエッジ抽出処理を行い、エッジ画素の数を抽出する。また、画像処理回路23は、RAM27に記憶された読取画像データに含まれる各画素データの輝度分布であるヒストグラムを生成する分布生成処理を行い、ヒストグラムの最大画素数、及び、当該最大画素数におけるピーク輝度を抽出する。   The image processing circuit 23 performs edge extraction processing such as binarization processing and enhancement processing on the read image data stored in the RAM 27 to extract the number of edge pixels. Further, the image processing circuit 23 performs a distribution generation process for generating a histogram which is a luminance distribution of each pixel data included in the read image data stored in the RAM 27, and the maximum pixel number of the histogram and the maximum pixel number Extract peak luminance.

3.画像読取処理
次に、図3から図7を参照して、原稿シートGの読取処理について説明する。CPU20は、電源スイッチ検出回路22を用いて使用者から起動命令が入力されたことを検出すると、低圧電源部24に電源供給部25への電力の供給を許可する信号を出力して画像読取装置1の電源をオンするとともに、画像読取処理を開始する。
3. Image Reading Process Next, the reading process of the original sheet G will be described with reference to FIGS. When the CPU 20 detects that the activation command is input from the user using the power switch detection circuit 22, the CPU 20 outputs a signal permitting the power supply to the power supply unit 25 to the low-voltage power supply unit 24 and the image reading apparatus. 1 is turned on and the image reading process is started.

図3に示すように、CPU20は、画像読取処理を開始すると、まず、原稿押さえ部材46の対向面46Aにゴミ等の付着があるか否かを判断する判断処理(S2〜S6)を実行する。判断処理において、CPU20は、画像読取部30に対して緑色LED32Gの点灯を指示するとともに、1ラインの読み取りを指示する(S2)。これにより、画像読取部30は、原稿押さえ部材46の対向面46Aを1回読み取り、読取画像データがRAM27に記憶される。   As shown in FIG. 3, when the image reading process is started, the CPU 20 first executes a determination process (S2 to S6) for determining whether dust or the like is attached to the facing surface 46A of the document pressing member 46. . In the determination process, the CPU 20 instructs the image reading unit 30 to turn on the green LED 32G and instructs one line to be read (S2). As a result, the image reading unit 30 reads the facing surface 46 </ b> A of the document pressing member 46 once, and the read image data is stored in the RAM 27.

次に、CPU20は、S2においてRAM27に記憶された読取画像データに対して、画像処理回路23を用いてエッジ抽出処理を行い、当該読取画像データにおける読取画像のエッジ画素数を算出する(S4)。CPU20は、算出されたエッジ画素数をNVRAM28に記憶された基準エッジ画素数と比較する(S6)。S4で算出されるエッジ画素数は、読取画像データの値の一例である。   Next, the CPU 20 performs edge extraction processing on the read image data stored in the RAM 27 in S2 by using the image processing circuit 23, and calculates the number of edge pixels of the read image in the read image data (S4). . The CPU 20 compares the calculated number of edge pixels with the reference number of edge pixels stored in the NVRAM 28 (S6). The number of edge pixels calculated in S4 is an example of the value of the read image data.

ここで、基準エッジ画素数とは、画像読取装置1の出荷時や、使用開始時等において原稿押さえ部材46の対向面46Aを読み取って取得された読取画像データにおけるエッジ画素数である。つまり、基準エッジ画素数は、画像読取装置1の使用初期段階であって、原稿押さえ部材46の対向面46Aにゴミ等の付着が少ない状態で取得されたエッジ画素数である。そのため、基準エッジ画素数は、原稿押さえ部材46の対向面46Aにゴミ等の付着が有るか否かを判断する基準として用いることができる。基準エッジ画素数は、基準値の一例である。   Here, the reference edge pixel number is the number of edge pixels in the read image data obtained by reading the facing surface 46A of the document pressing member 46 at the time of shipment of the image reading apparatus 1 or at the start of use. That is, the reference edge pixel number is the number of edge pixels acquired in the initial stage of use of the image reading apparatus 1 and with little dust or the like adhering to the facing surface 46A of the document pressing member 46. Therefore, the reference edge pixel number can be used as a reference for determining whether dust or the like is attached to the facing surface 46A of the document pressing member 46. The reference edge pixel number is an example of a reference value.

CPU20は、算出されたエッジ画素数がNVRAM28に記憶された基準エッジ画素数よりも規定数以上大きいかを確認する。規定数(図7下図参照)は、規定値の一例であり、原稿押さえ部材46の対向面46Aに付着したゴミ等の許容範囲を意味する。規定数は、例えば、原稿押さえ部材46の対向面46Aの反射率と、白色の原稿シートGの反射率との差に基づいて決定されている。CPU20は、算出されたエッジ画素数と基準エッジ画素数との差が規定数以上である場合(S6:YES)、原稿押さえ部材46の対向面46Aに許容範囲を超える量のゴミ等が付着していることから、原稿押さえ部材46の対向面46Aを清掃するためのクリーニングモードに移行する(S8)。   The CPU 20 confirms whether or not the calculated number of edge pixels is greater than a specified number than the reference edge pixel number stored in the NVRAM 28. The specified number (see the lower diagram in FIG. 7) is an example of a specified value, and means an allowable range of dust or the like adhering to the facing surface 46A of the document pressing member 46. The prescribed number is determined based on, for example, the difference between the reflectance of the facing surface 46A of the document pressing member 46 and the reflectance of the white document sheet G. When the difference between the calculated number of edge pixels and the reference edge pixel number is equal to or greater than the specified number (S6: YES), the CPU 20 attaches an excessive amount of dust or the like to the facing surface 46A of the document pressing member 46. Therefore, the process proceeds to the cleaning mode for cleaning the facing surface 46A of the document pressing member 46 (S8).

(クリーニングモード)
図4に示すように、クリーニングモードにおいて、CPU20は、まず、表示部12に「原稿押さえ部材が汚れているので清掃してください」との旨の表示を指示し、使用者に原稿押さえ部材46の対向面46Aの清掃を促す(S32)。CPU20は、上記表示の後、使用者が原稿押さえ部材46の対向面46Aを清掃し、操作部11を介して使用者から清掃完了の報告が入力されるのを待機する(S34)。清掃完了の報告は、清掃完了命令の一例である。
(Cleaning mode)
As shown in FIG. 4, in the cleaning mode, the CPU 20 first instructs the display unit 12 to display “Please clean the document pressing member because it is dirty”, and the user presses the document pressing member 46. The cleaning of the facing surface 46A is urged (S32). After the display, the CPU 20 waits for the user to clean the facing surface 46A of the document pressing member 46 and to input a cleaning completion report from the user via the operation unit 11 (S34). The cleaning completion report is an example of a cleaning completion instruction.

CPU20は、使用者から清掃完了の報告が入力されるまで、上記の表示を継続する(S34:NO)。そして、使用者から清掃完了の報告が入力されると(S34:YES)、CPU20は、再判断処理(S36〜S40)を実行する。再判断処理(S36〜S40)は、前述した判断処理(S2〜S6)と略同一の処理である。再判断処理(S36〜S40)において、CPU20は、原稿押さえ部材46の対向面46Aを再度読み取らせ(S36)、エッジ画素数を再度算出し(S38)、再度算出されたエッジ画素数を基準エッジ画素数と比較する(S40)。   CPU20 continues said display until the report of cleaning completion is input from the user (S34: NO). When a cleaning completion report is input from the user (S34: YES), the CPU 20 executes redetermination processing (S36 to S40). The re-determination process (S36 to S40) is substantially the same process as the above-described determination process (S2 to S6). In the re-determination process (S36 to S40), the CPU 20 reads the facing surface 46A of the document pressing member 46 again (S36), recalculates the number of edge pixels (S38), and uses the recalculated number of edge pixels as the reference edge. The number of pixels is compared (S40).

再算出されたエッジ画素数と基準エッジ画素数との差が規定数以上である場合(S40:YES)、清掃によってもエッジ画素数が減少しなかったことが解る。つまり、清掃によっても原稿押さえ部材46の対向面46Aからゴミ等が除去されなかったことが解る。この場合、CPU20は、表示部12に「原稿押さえ部材を交換してください」との旨の表示を指示して使用者に原稿押さえ部材46の交換を促し(S42)、クリーニングモード及び画像読取処理を終了する。   If the difference between the recalculated number of edge pixels and the reference edge pixel number is greater than or equal to the specified number (S40: YES), it can be seen that the number of edge pixels has not decreased even after cleaning. That is, it can be seen that dust or the like was not removed from the facing surface 46A of the document pressing member 46 even by cleaning. In this case, the CPU 20 instructs the display unit 12 to display “Please replace the document pressing member”, and prompts the user to replace the document pressing member 46 (S42). Exit.

また、再算出されたエッジ画素数と基準エッジ画素数との差が規定数より小さい場合(S40:NO)、清掃によってエッジ画素数が減少したことが解る。つまり、清掃によって原稿押さえ部材46の対向面46Aからゴミ等が除去されたことが解る。この場合、CPU20は、表示部12に「清掃完了」の表示を指示して使用者に原稿押さえ部材46の清掃が完了したことを報知し(S44)、クリーニングモードを終了する。   In addition, when the difference between the recalculated number of edge pixels and the reference edge pixel number is smaller than the specified number (S40: NO), it can be seen that the number of edge pixels has decreased due to cleaning. That is, it can be seen that dust or the like has been removed from the facing surface 46A of the document pressing member 46 by cleaning. In this case, the CPU 20 instructs the display unit 12 to display “cleaning completed” to notify the user that the cleaning of the document pressing member 46 has been completed (S44), and ends the cleaning mode.

一方、図3に示す画像読取処理において、CPU20は、S4で算出されたエッジ画素数と基準エッジ画素数との差が規定数より小さい場合(S6:NO)、又は、クリーニングモードにおいて原稿押さえ部材46の対向面46Aからゴミ等が除去された場合、操作部11を介して使用者から原稿シートGの読取開始命令が入力されるのを待機する(S10:NO)。そして、Fセンサ13を用いて給紙トレイ2に原稿シートGが載置されたことが確認され、操作部11を介して使用者から原稿シートGの画像読取命令が入力されると、CPU20は、読取処理を実行する(S12)。   On the other hand, in the image reading process shown in FIG. 3, the CPU 20 determines that the difference between the number of edge pixels calculated in S4 and the reference edge pixel number is smaller than the specified number (S6: NO), or the document pressing member in the cleaning mode. When dust or the like is removed from the facing surface 46A of 46, it waits for an input of a reading start instruction for the original sheet G from the user via the operation unit 11 (S10: NO). When it is confirmed that the original sheet G is placed on the paper feed tray 2 using the F sensor 13 and an image reading command for the original sheet G is input from the user via the operation unit 11, the CPU 20 Then, the reading process is executed (S12).

(読取処理)
図5に示すように、読取処理において、CPU20は、まず、判断処理(S52〜S56)を実行する。判断処理(S52〜S56)は、前述した判断処理(S2〜S6)と略同一の処理である。CPU20は、判断処理(S52〜S56)を、搬送部15に原稿シートGを搬送させ、画像読取部30に原稿シートGを読み取らせる搬送読取処理(S62〜S82)を実行する前に実行する。搬送読取処理は、読取処理の一例である。
(Reading process)
As shown in FIG. 5, in the reading process, the CPU 20 first executes a determination process (S52 to S56). The determination processing (S52 to S56) is substantially the same processing as the above-described determination processing (S2 to S6). The CPU 20 executes the determination process (S52 to S56) before executing the conveyance reading process (S62 to S82) in which the document sheet G is conveyed to the conveyance unit 15 and the image reading unit 30 reads the document sheet G. The conveyance reading process is an example of a reading process.

判断処理(S52〜S56)において、CPU20は、原稿押さえ部材46の対向面46Aを改めて読み取らせ(S52)、エッジ画素数を改めて算出し(S54)、算出されたエッジ画素数を基準エッジ画素数と比較する(S56)。CPU20は、算出されたエッジ画素数と基準エッジ画素数との差が規定数以上である場合(S56:YES)、クリーニングモードに移行する(S58)。一方、該差が規定数より小さい場合(S56:NO)、又は、クリーニングモードにおいて原稿押さえ部材46の対向面46Aからゴミ等が除去された場合、CPU20は、直前に算出されたエッジ画素数を参照エッジ画素数としてRAM27に記憶する(S60)。   In the determination process (S52 to S56), the CPU 20 causes the facing surface 46A of the document pressing member 46 to be read again (S52), calculates the number of edge pixels again (S54), and calculates the calculated number of edge pixels as the reference edge pixel number. (S56). When the difference between the calculated edge pixel number and the reference edge pixel number is equal to or larger than the specified number (S56: YES), the CPU 20 shifts to the cleaning mode (S58). On the other hand, when the difference is smaller than the specified number (S56: NO), or when dust or the like is removed from the facing surface 46A of the document pressing member 46 in the cleaning mode, the CPU 20 calculates the number of edge pixels calculated immediately before. The number of reference edge pixels is stored in the RAM 27 (S60).

つまり、CPU20は、算出されたエッジ画素数と基準エッジ画素数との差が規定数より小さい場合(S56:NO)、S54で算出されたエッジ画素数をRAM27に記憶する(S60)。また、CPU20は、クリーニングモードにおいて原稿押さえ部材46の対向面46Aからゴミ等が除去できた場合、クリーニングモードのS38で算出されたエッジ画素数をRAM27に記憶する。CPU20は、参照エッジ画素数をRAM27に記憶すると、搬送読取処理(S62〜S82)を実行する。   That is, when the difference between the calculated edge pixel number and the reference edge pixel number is smaller than the specified number (S56: NO), the CPU 20 stores the edge pixel number calculated in S54 in the RAM 27 (S60). Further, when dust or the like can be removed from the facing surface 46A of the document pressing member 46 in the cleaning mode, the CPU 20 stores the number of edge pixels calculated in S38 of the cleaning mode in the RAM 27. When the CPU 20 stores the reference edge pixel number in the RAM 27, the CPU 20 executes a conveyance reading process (S62 to S82).

搬送読取処理(S62〜S82)において、CPU20は、搬送部15に対して原稿シートGの搬送を指示し、原稿シートGの搬送を開始させる(S62)。次に、CPU20は、画像読取部30が取得する読取画像データから、原稿シートGの有無を検出する原稿有無検出処理(S64〜S68)を実行する。原稿有無検出処理は、画像読取部30が取得する読取画像データを用いて、搬送される原稿シートGの搬送方向D2における先端を検出することで、原稿シートGの有無を検出することから、先端検出処理ということができる。原稿有無検出処理は、シート端判断処理の一例である。   In the conveyance reading process (S62 to S82), the CPU 20 instructs the conveyance unit 15 to convey the original sheet G, and starts conveying the original sheet G (S62). Next, the CPU 20 executes document presence / absence detection processing (S64 to S68) for detecting the presence / absence of the document sheet G from the read image data acquired by the image reading unit 30. In the document presence / absence detection process, the presence or absence of the document sheet G is detected by detecting the leading edge of the conveyed document sheet G in the transport direction D2 using the read image data acquired by the image reading unit 30. It can be called detection processing. The document presence / absence detection process is an example of a sheet edge determination process.

原稿有無検出処理において、CPU20は、画像読取部30に対して緑色LED32Gの点灯を指示するとともに、1ラインの読み取りを指示する(S64)。これにより、画像読取部30は、原稿シートGの搬送方向D2における先端が読取位置P1に到達する前から、読み取りを開始し、原稿押さえ部材46の対向面46Aの読取画像データを取得する。   In the document presence / absence detection process, the CPU 20 instructs the image reading unit 30 to turn on the green LED 32G and instructs one line to be read (S64). As a result, the image reading unit 30 starts reading before the leading edge of the document sheet G in the transport direction D2 reaches the reading position P1, and acquires the read image data of the facing surface 46A of the document pressing member 46.

次に、CPU20は、直前のS64においてRAM27に記憶された読取画像データに対して、画像処理回路23を用いてエッジ抽出処理を行い、当該読取画像データにおける読取画像のエッジ画素数を算出する(S66)。以下、RAM27に記憶された読取画像データを説明する場合、その読取画像データは、指定された処理において最も新しくRAM27に記憶された読取画像データを意味するものとする。   Next, the CPU 20 performs edge extraction processing on the read image data stored in the RAM 27 in the immediately preceding S64 using the image processing circuit 23, and calculates the number of edge pixels of the read image in the read image data ( S66). Hereinafter, when the read image data stored in the RAM 27 is described, the read image data means the read image data most recently stored in the RAM 27 in the designated process.

CPU20は、算出されたエッジ画素数をRAM27に記憶された参照エッジ画素数と比較し(S68)、算出されたエッジ画素数がRAM27に記憶された参照エッジ画素数よりも閾値以上大きいかを確認する。閾値(図7参照)は、所定値の一例であり、規定数と別に設定される。CPU20は、算出されたエッジ画素数と参照エッジ画素数との差が閾値よりも小さい場合(S68:NO)、S64においてRAM27に記憶された読取画像データは、原稿押さえ部材46の対向面46Aを読み取って取得された読取画像データであると判断する。つまり、CPU20は、原稿シートGの先端が読取位置P1に到達しておらず、原稿シートGの先端を検出していないと判断し、S64からの処理を繰り返す。   The CPU 20 compares the calculated number of edge pixels with the reference edge pixel number stored in the RAM 27 (S68), and checks whether the calculated edge pixel number is greater than the reference edge pixel number stored in the RAM 27 by a threshold value or more. To do. The threshold (see FIG. 7) is an example of a predetermined value, and is set separately from the specified number. When the difference between the calculated edge pixel number and the reference edge pixel number is smaller than the threshold value (S68: NO), the CPU 20 reads the read image data stored in the RAM 27 in S64 on the facing surface 46A of the document pressing member 46. It is determined that the read image data is obtained by reading. That is, the CPU 20 determines that the leading edge of the document sheet G has not reached the reading position P1 and has not detected the leading edge of the document sheet G, and repeats the processing from S64.

一方、CPU20は、算出されたエッジ画素数と参照エッジ画素数との差が閾値以上大きい場合(S68:YES)、S64においてRAM27に記憶された読取画像データは、原稿押さえ部材46の対向面46Aを読み取った読取画像データから、原稿シートGを読み取った読取画像データに切り換わったと判断する。この場合、CPU20は、当該読取画像データが読み取られたタイミングにおいて、原稿シートGの先端が読取位置P1に到達し、原稿シートGの先端を検出したと判断し、画像読取部30に対して原稿シートGの読取開始を指示する(S70)。   On the other hand, when the difference between the calculated number of edge pixels and the number of reference edge pixels is larger than the threshold value (S68: YES), the CPU 20 reads the read image data stored in the RAM 27 in S64 as the facing surface 46A of the document pressing member 46. It is determined that the read image data obtained by reading the original sheet G is switched to the read image data obtained by reading the original sheet G. In this case, the CPU 20 determines that the leading edge of the document sheet G has reached the reading position P1 and has detected the leading edge of the document sheet G at the timing when the read image data is read, and the document is read from the image reading unit 30. The start of reading of the sheet G is instructed (S70).

CPU20は、原稿シートGの読み取りを開始させると、所定時間毎に1ラインの読み取りを指示する(S72)。これにより、画像読取部30は、1回の1ラインの読み取りにおいて、各色のLED32を個別に点灯させ、各LED32の点灯期間において1回づつ読み取り、各色に対応する読取画像データをRAM27に記憶する。次に、CPU20は、後端検出処理を実行する(S74)。後端検出処理は、シート端判断処理の別例である。   When the CPU 20 starts reading the original sheet G, it instructs to read one line every predetermined time (S72). Thus, the image reading unit 30 individually turns on the LEDs 32 of each color in one reading of one line, reads each time during the lighting period of each LED 32, and stores the read image data corresponding to each color in the RAM 27. . Next, the CPU 20 executes rear end detection processing (S74). The trailing edge detection process is another example of the sheet edge determination process.

(後端検出処理)
図6に示すように、後端検出処理において、CPU20は、まず、S72においてRAM27に記憶された各色の読取画像データに対して、画像処理回路23を用いてエッジ抽出処理を行い、各色の読取画像データにおける読取画像のエッジ画素数を算出する(S92)。
(Rear edge detection process)
As shown in FIG. 6, in the trailing edge detection process, the CPU 20 first performs edge extraction processing on the read image data of each color stored in the RAM 27 in S72 using the image processing circuit 23, and reads each color. The number of edge pixels of the read image in the image data is calculated (S92).

次に、CPU20は、算出された各色のエッジ画素数をRAM27に記憶された参照エッジ画素数と比較し(S94)、算出された各色のエッジ画素数が参照エッジ画素数よりも閾値以上大きいかを確認する。CPU20は、算出された全色のエッジ画素数と参照エッジ画素数との差が閾値以上である場合(S94:YES)、S72においてRAM27に記憶された読取画像データは、原稿シートGを読み取った読取画像データであると判断する。つまり、CPU20は、原稿シートGの後端が読取位置P1に到達しておらず、原稿シートGの後端を検出していないと判断し(S96)、後端検出処理を終了する。   Next, the CPU 20 compares the calculated number of edge pixels of each color with the number of reference edge pixels stored in the RAM 27 (S94), and whether the calculated number of edge pixels of each color is greater than the reference edge pixel number by a threshold value or more. Confirm. When the difference between the calculated number of edge pixels of all colors and the number of reference edge pixels is equal to or larger than the threshold value (S94: YES), the CPU 20 reads the original sheet G as the read image data stored in the RAM 27 in S72. It is determined that the image data is read image data. That is, the CPU 20 determines that the trailing edge of the document sheet G has not reached the reading position P1 and has not detected the trailing edge of the document sheet G (S96), and ends the trailing edge detection process.

一方、CPU20は、算出された少なくとも一色のエッジ画素数と参照エッジ画素数との差が閾値より小さい場合(S94:NO)、S72においてRAM27に記憶された読取画像データが、原稿シートGを読み取った読取画像データから、原稿押さえ部材46の対向面46Aを読み取った読取画像データに切り換わったと判断する。この場合、CPU20は、当該読取画像データが読み取られたタイミングにおいて、原稿シートGの後端が読取位置P1に到達し、原稿シートGの後端を検出したと判断し(S98)、後端検出処理を終了する。   On the other hand, if the difference between the calculated number of edge pixels of at least one color and the number of reference edge pixels is smaller than the threshold value (S94: NO), the read image data stored in the RAM 27 in S72 reads the original sheet G. It is determined that the read image data is switched to read image data obtained by reading the facing surface 46A of the document pressing member 46. In this case, at the timing when the read image data is read, the CPU 20 determines that the trailing edge of the document sheet G has reached the reading position P1 and has detected the trailing edge of the document sheet G (S98), and detects the trailing edge. The process ends.

後端検出処理終了後、CPU20は、図4に示す読取処理において、後端検出処理において後端が検出されたか否かを確認する(S76)。CPU20は、後端が検出されていない場合(S76:NO)、S72からの処理を繰り返す。   After completion of the trailing edge detection process, the CPU 20 checks whether or not the trailing edge has been detected in the trailing edge detection process in the reading process shown in FIG. 4 (S76). CPU20 repeats the process from S72, when a rear end is not detected (S76: NO).

一方、後端が検出されている場合(S76:YES)、CPU20は、画像読取部30に対して原稿シートGの読取停止を指示する(S78)。次に、CPU20は、Fセンサ13の状態を確認し(S80)、Fセンサ13がオンしている場合(S80:YES)、つまり、給紙トレイ2に原稿シートGが残っている場合には、S64からの処理を繰り返す。一方、Fセンサ13がオフしている場合(S80:NO)、搬送部15に対して原稿シートGの搬送停止を指示して(S82)、読取処理を終了する。   On the other hand, when the trailing edge is detected (S76: YES), the CPU 20 instructs the image reading unit 30 to stop reading the document sheet G (S78). Next, the CPU 20 checks the state of the F sensor 13 (S80), and if the F sensor 13 is on (S80: YES), that is, if the original sheet G remains in the paper feed tray 2. , The process from S64 is repeated. On the other hand, when the F sensor 13 is off (S80: NO), the conveyance unit 15 is instructed to stop conveyance of the original sheet G (S82), and the reading process is terminated.

読取処理終了後、CPU20は、図3に示す画像読取処理において、判断処理(S14〜S18)を実行する。判断処理(S14〜S18)は、前述した判断処理(S2〜S6)と略同一の処理である。判断処理(S14〜S18)において、CPU20は、原稿シートGが搬送された後の原稿押さえ部材46の対向面46Aを読み取らせ(S14)、エッジ画素数を算出し(S16)、算出されたエッジ画素数を基準エッジ画素数と比較する(S18)。CPU20は、算出されたエッジ画素数と基準エッジ画素数との差が規定数以上である場合(S18:YES)、クリーニングモードに移行する(S8)。   After completion of the reading process, the CPU 20 executes a determination process (S14 to S18) in the image reading process shown in FIG. The determination processing (S14 to S18) is substantially the same processing as the above-described determination processing (S2 to S6). In the determination process (S14 to S18), the CPU 20 reads the facing surface 46A of the document pressing member 46 after the document sheet G is conveyed (S14), calculates the number of edge pixels (S16), and calculates the calculated edge. The number of pixels is compared with the number of reference edge pixels (S18). When the difference between the calculated edge pixel number and the reference edge pixel number is equal to or larger than the specified number (S18: YES), the CPU 20 shifts to the cleaning mode (S8).

一方、算出されたエッジ画素数と基準エッジ画素数との差が規定数より小さい場合(S18:YES)、CPU20は、電源スイッチ検出回路22を用いて使用者から停止命令が入力されたか否かを確認する(S20)。CPU20は、停止命令が入力されていない場合(S20:NO)、S10からの処理を繰り返す。   On the other hand, when the difference between the calculated edge pixel number and the reference edge pixel number is smaller than the prescribed number (S18: YES), the CPU 20 determines whether or not a stop command is input from the user using the power switch detection circuit 22. Is confirmed (S20). CPU20 repeats the process from S10, when the stop command is not input (S20: NO).

一方、停止命令が入力された場合(S20:YES)、CPU20は、低圧電源部24に電源供給部25への電力の供給を停止する信号を出力して画像読取装置1の電源をオフするとともに、画像読取処理を終了する。   On the other hand, when a stop command is input (S20: YES), the CPU 20 outputs a signal for stopping the supply of power to the power supply unit 25 to the low-voltage power supply unit 24 to turn off the power of the image reading apparatus 1. Then, the image reading process ends.

4.本実施形態の効果
(1)本実施形態の画像読取装置1では、原稿押さえ部材46の対向面46Aを清掃する必要があるか否かを判断するために、原稿シートGが読取位置に搬送されていない場合に原稿押さえ部材46の対向面46Aを読み取る。そして、取得された読取画像データから算出されるエッジ画素数を、NVRAM28に記憶された基準エッジ画素数と比較する。
4). Advantages of the present embodiment (1) In the image reading apparatus 1 of the present embodiment, the original sheet G is conveyed to the reading position in order to determine whether or not the facing surface 46A of the original pressing member 46 needs to be cleaned. If not, the facing surface 46A of the document pressing member 46 is read. Then, the number of edge pixels calculated from the acquired read image data is compared with the reference number of edge pixels stored in the NVRAM 28.

図7の上図に示すように、画像読取装置1の使用初期段階では、原稿押さえ部材46の対向面46Aに付着しているゴミ等が比較的少ないことから、算出されるエッジ画素数と基準エッジ画素数とがほぼ一致する。そのため、原稿シートGの読み取り直前に算出されたエッジ画素数を参照エッジ画素数として設定し、当該参照エッジ画素数より閾値だけ大きい上限値を設定したとしても、原稿シートGを読み取った読取画像データから算出されるエッジ画素数と上限値との間には、十分な差異が存在している。   As shown in the upper diagram of FIG. 7, in the initial stage of use of the image reading apparatus 1, the amount of dust and the like adhering to the facing surface 46 </ b> A of the document pressing member 46 is relatively small. The number of edge pixels is almost the same. Therefore, even if the number of edge pixels calculated immediately before reading the document sheet G is set as the reference edge pixel number and an upper limit value larger than the reference edge pixel number by a threshold is set, the read image data read from the document sheet G There is a sufficient difference between the number of edge pixels calculated from the above and the upper limit value.

従って、図7に印54に示すように、原稿シートGに記載されたパターンによって、原稿シートGを読み取った読取画像データから算出されるエッジ画素数が変化した場合でも、その値が上限値を超えて下回ることが生じなかった。また、原稿押さえ部材46の対向面46Aに付着しているゴミ等が比較的少ないことから、原稿押さえ部材46の対向面46Aを読み取った読取画像データから算出されるエッジ画素数が上限値を超えて上回ることがなかった。   Therefore, as shown by a mark 54 in FIG. 7, even when the number of edge pixels calculated from the read image data obtained by reading the original sheet G is changed by the pattern described on the original sheet G, the value has an upper limit value. It did not happen to fall below. Further, since the amount of dust or the like adhering to the facing surface 46A of the document pressing member 46 is relatively small, the number of edge pixels calculated from the read image data obtained by reading the facing surface 46A of the document pressing member 46 exceeds the upper limit value. Never exceeded.

しかし、矢印62で示すように、画像読取装置1の使用期間が長くなると、原稿押さえ部材46の対向面46Aに付着しているゴミ等が増大し、図7の下図に示すように、算出されるエッジ画素数と基準エッジ画素数(図7二点鎖線参照)とが規定数内で一致しなくなる。その結果、当該エッジ画素数に基づいて参照エッジ画素数及び上限値を設定した場合、原稿シートGを読み取った読取画像データから算出されるエッジ画素数と上限値との間の差異が小さくなる。   However, as shown by the arrow 62, as the usage period of the image reading apparatus 1 becomes longer, dust or the like adhering to the facing surface 46A of the document pressing member 46 increases and is calculated as shown in the lower diagram of FIG. The number of edge pixels and the number of reference edge pixels (see the two-dot chain line in FIG. 7) do not match within the specified number. As a result, when the reference edge pixel number and the upper limit value are set based on the edge pixel number, the difference between the edge pixel number calculated from the read image data obtained by reading the document sheet G and the upper limit value becomes small.

そのため、図7に印56に示すように、原稿シートGに記載されたパターンによっては、原稿シートGを読み取った読取画像データから算出されるエッジ画素数が上限値を超えて下回り、当該エッジ画素数が算出された読取画像データが取得されたタイミングにおいて、原稿シートGの後端が読取位置P1に到達したと誤判断される問題が生じていた。また、図7に印58に示すように、原稿押さえ部材46の対向面46Aに付着しているゴミ等による乱反射により、原稿押さえ部材46の対向面46Aを読み取った読取画像データから算出されるエッジ画素数が上限値を超えて上回り、当該エッジ画素数が算出された読取画像データが取得されたタイミングにおいて、原稿シートGの先端が読取位置P1に到達したと誤判断される問題が生じていた。   Therefore, as indicated by a mark 56 in FIG. 7, depending on the pattern described on the original sheet G, the number of edge pixels calculated from the read image data obtained by reading the original sheet G falls below the upper limit, and the edge pixel At the timing when the read image data whose number is calculated is acquired, there is a problem in that it is erroneously determined that the trailing edge of the original sheet G has reached the reading position P1. Further, as indicated by a mark 58 in FIG. 7, an edge calculated from read image data obtained by reading the facing surface 46 </ b> A of the document pressing member 46 due to irregular reflection due to dust or the like adhering to the facing surface 46 </ b> A of the document pressing member 46. There has been a problem in that it is erroneously determined that the leading edge of the original sheet G has reached the reading position P1 at the timing when the number of pixels exceeds the upper limit and the read image data for which the number of edge pixels is calculated is acquired. .

本実施形態の画像読取装置1では、算出されるエッジ画素数と基準エッジ画素数とが規定数内で一致しない場合に、原稿押さえ部材46の対向面46Aを清掃するためのクリーニングモードに移行する。クリーニングモードに移行することで、原稿押さえ部材46の対向面46Aからゴミ等を除去することができれば、図7の上図に示すように、算出されるエッジ画素数と基準エッジ画素数とを規定数内で等しくすることができる。つまり、原稿シートGを読み取った読取画像データから算出されるエッジ画素数と上限値との間に、十分な差異を確保することができ、読取画像データを用いて原稿シートGの先端や後端が読取位置に到達したことを判断することができる。   In the image reading apparatus 1 of the present embodiment, when the calculated number of edge pixels and the number of reference edge pixels do not match within a specified number, the mode shifts to a cleaning mode for cleaning the facing surface 46A of the document pressing member 46. . If dust or the like can be removed from the facing surface 46A of the document pressing member 46 by shifting to the cleaning mode, the calculated edge pixel number and reference edge pixel number are defined as shown in the upper diagram of FIG. Can be equal in number. That is, a sufficient difference can be ensured between the number of edge pixels calculated from the read image data obtained by reading the document sheet G and the upper limit value, and the leading edge and the trailing edge of the document sheet G are read using the read image data. Can be determined to have reached the reading position.

(2)原稿押さえ部材46の対向面46Aを清掃する必要があるか否かの判断は、原稿シートGの読み取り前に実行されてもよければ、原稿シートGの読み取り後に実行されてもよい。当該判断が原稿シートGの読み取り前に実行されることで、清掃する必要がないと判断された、つまり、ゴミ等があまり付着していないと判断された原稿押さえ部材46の対向面46Aを用いて原稿シートGを読み取ることができ、読取画像データを用いて原稿シートGの先端や後端が読取位置に到達したことを判断することができる。   (2) The determination as to whether or not the facing surface 46A of the document pressing member 46 needs to be cleaned may be performed before the document sheet G is read or may be performed after the document sheet G is read. The determination is performed before reading the original sheet G, so that it is determined that there is no need for cleaning, that is, the opposed surface 46A of the original pressing member 46 that is determined not to have much dust or the like attached thereto. The original sheet G can be read, and it can be determined by using the read image data that the leading edge or the trailing edge of the original sheet G has reached the reading position.

特に、原稿押さえ部材46の対向面46Aを清掃する必要があるか否かの判断が原稿シートGの読み取り直前に実行されることで、当該判断からの経過時間が長い場合に比べて、原稿押さえ部材46の対向面46Aにゴミ等が付着している状態で原稿シートGが読み取られることを確実に抑制することができる。また、当該判断が画像読取装置1の起動時に実行されることで、原稿押さえ部材46の対向面46Aにゴミ等が付着している場合には、画像読取装置1の起動から、使用者から読取開始命令が入力されるまでの期間を利用して、原稿押さえ部材46の対向面46Aからゴミ等を除去することができる。   In particular, since the determination as to whether or not the facing surface 46A of the document pressing member 46 needs to be cleaned is executed immediately before reading the document sheet G, the document pressing unit 46 can be compared with a case where the elapsed time from the determination is long. It is possible to reliably suppress reading of the document sheet G in a state where dust or the like is attached to the facing surface 46A of the member 46. In addition, since the determination is performed when the image reading apparatus 1 is started, if dust or the like is attached to the facing surface 46A of the document pressing member 46, the image reading apparatus 1 starts the reading from the user. Using the period until the start command is input, dust and the like can be removed from the facing surface 46A of the document pressing member 46.

(3)また、原稿押さえ部材46の対向面46Aを清掃する必要があるか否かの判断が原稿シートGの読み取り後に実行されてもよい。原稿シートGの読み取りでは、原稿シートGが読取位置P1を通過して搬送されることから、原稿シートGに付着していたトナーや紙粉等が原稿押さえ部材46の対向面46Aにゴミ等として付着することがある。原稿押さえ部材46の対向面46Aに付着したゴミ等は、付着からの経過時間が短いほど、除去しやすい場合がある。本実施形態の画像読取装置1では、上記判断が原稿シートGの読み取り後にも実行されることで、原稿押さえ部材46の対向面46Aにゴミ等が付着した場合には、当該ゴミ等を早期に除去することができる。 (3) The determination as to whether or not the facing surface 46A of the document pressing member 46 needs to be cleaned may be performed after reading the document sheet G. In reading the original sheet G, the original sheet G is conveyed after passing through the reading position P1, so that the toner, paper dust, etc. adhering to the original sheet G become dust or the like on the opposing surface 46A of the original pressing member 46. May adhere. In some cases, dust or the like attached to the facing surface 46A of the document pressing member 46 is easier to remove as the elapsed time from the attachment is shorter. In the image reading apparatus 1 of the present embodiment, the above determination is performed even after reading the document sheet G, so that when dust or the like adheres to the facing surface 46A of the document pressing member 46, the dust or the like is quickly removed. Can be removed.

(4)本実施形態の画像読取装置1では、クリーニングモードにおいて、表示部12に原稿押さえ部材46の対向面46Aの清掃を促す表示をし、使用者に原稿押さえ部材46の対向面46Aを清掃させる。しかし、使用者によって原稿押さえ部材46の対向面46Aが清掃されたとしても、原稿押さえ部材46の対向面46Aからゴミ等が確実に除去されるとは限らず、また、原稿押さえ部材46の対向面46Aに傷が生じている場合には、清掃により除去することができない。 (4) In the image reading apparatus 1 of the present embodiment, in the cleaning mode, the display unit 12 is displayed to prompt the cleaning of the facing surface 46A of the document pressing member 46, and the user cleans the facing surface 46A of the document pressing member 46. Let However, even if the facing surface 46A of the document pressing member 46 is cleaned by the user, dust or the like is not necessarily removed from the facing surface 46A of the document pressing member 46, and the facing of the document pressing member 46 is not performed. If the surface 46A is scratched, it cannot be removed by cleaning.

この画像読取装置1では、使用者から清掃完了の報告が入力されると、再度、原稿押さえ部材46の対向面46Aを読み取り、再取得された読取画像データから算出されるエッジ画素数を基準エッジ画素数と比較する。つまり、再度、原稿押さえ部材46の対向面46Aを清掃する必要があるか否かを判断する。これにより、原稿押さえ部材46の対向面46Aからゴミ等が除去されたか否かを判断することができる。   In this image reading apparatus 1, when a cleaning completion report is input from the user, the opposite surface 46 A of the document pressing member 46 is read again, and the number of edge pixels calculated from the read image data acquired again is used as the reference edge. Compare with the number of pixels. That is, it is determined again whether or not the facing surface 46A of the document pressing member 46 needs to be cleaned. Thereby, it is possible to determine whether dust or the like has been removed from the facing surface 46 </ b> A of the document pressing member 46.

(5)そして、原稿押さえ部材46の対向面46Aからゴミ等が除去されたと判断された場合、表示部12に原稿押さえ部材46の対向面46Aの清掃完了を表示する。これにより、使用者は、この画像読取装置1を用いて、再度、原稿シートGを読み取ることができることを認識することができる。 (5) When it is determined that dust or the like has been removed from the facing surface 46A of the document pressing member 46, the completion of cleaning of the facing surface 46A of the document pressing member 46 is displayed on the display unit 12. Accordingly, the user can recognize that the original sheet G can be read again by using the image reading apparatus 1.

(6)一方、例えば、原稿押さえ部材46の対向面46Aに傷が生じており、再取得された読取画像データから算出されるエッジ画素数が減少せず、原稿押さえ部材46の対向面46Aからゴミ等が除去されていないと判断された場合、表示部12に原稿押さえ部材46の交換を促す表示をし、使用者に原稿押さえ部材46を交換させる。そして、これに応じて使用者により原稿押さえ部材46が交換されれば、読取画像データを用いて原稿シートの先端や後端が読取位置に到達したことを判断することができる。 (6) On the other hand, for example, the facing surface 46A of the document pressing member 46 is scratched, and the number of edge pixels calculated from the read image data acquired again is not reduced. When it is determined that dust or the like has not been removed, the display unit 12 is displayed to prompt the user to replace the document pressing member 46, and the user is allowed to replace the document pressing member 46. If the document pressing member 46 is replaced by the user accordingly, it can be determined that the leading edge or the trailing edge of the document sheet has reached the reading position using the read image data.

<実施形態2>
実施形態2を、図8を用いて説明する。本実施形態では、クリーニングモードにおける処理が、実施形態1と異なる。以下の説明では、実施形態1と同一の内容については重複した記載を省略する。
<Embodiment 2>
A second embodiment will be described with reference to FIG. In the present embodiment, the processing in the cleaning mode is different from that in the first embodiment. In the following description, the same description as that of the first embodiment will not be repeated.

1.画像読取処理
(クリーニングモード)
CPU20は、クリーニングモードにおいて、表示部12に対する「原稿押さえ部材が汚れているので清掃してください」との旨の表示を指示する表示処理(S32)、及び、再判断処理(S36〜S40)等を実行する。そして、再判断処理(S36〜S40)において再算出されたエッジ画素数と基準エッジ画素数との差が規定数以上である場合(S40:YES)、S32からの処理を繰り返し、上記表示処理(S32)、及び、再判断処理(S36〜S40)を繰り返す。
1. Image reading process (cleaning mode)
In the cleaning mode, the CPU 20 performs a display process (S32) for instructing the display unit 12 to display “Please clean the document pressing member because it is dirty”, a re-determination process (S36 to S40), and the like. Execute. If the difference between the number of edge pixels recalculated in the re-determination process (S36 to S40) and the reference edge pixel number is greater than or equal to the specified number (S40: YES), the process from S32 is repeated, and the display process ( S32) and the re-determination process (S36 to S40) are repeated.

CPU20は、再算出されたエッジ画素数と基準エッジ画素数との差が規定数より小さくなるまで、表示処理(S32)、及び、再判断処理(S36〜S40)等を繰り返し、使用者に原稿押さえ部材46の対向面46Aの清掃を繰り返させる。そして、再算出されたエッジ画素数と基準エッジ画素数との差が規定数より小さくなると(S40:NO)、表示部12に「清掃完了」の表示を指示し、クリーニングモードを終了する。   The CPU 20 repeats the display process (S32), the re-determination process (S36 to S40), etc. until the difference between the recalculated number of edge pixels and the reference edge pixel number is smaller than the specified number, The cleaning of the facing surface 46A of the pressing member 46 is repeated. When the difference between the recalculated number of edge pixels and the number of reference edge pixels is smaller than the specified number (S40: NO), the display unit 12 is instructed to display “cleaning complete”, and the cleaning mode ends.

2.本実施形態の効果
本実施形態の画像読取装置1では、クリーニングモードにおいて、使用者による清掃の後に、原稿押さえ部材46の対向面46Aからゴミ等が除去されていないと判断された場合、表示処理、及び、再判断処理を繰り返し、使用者に再度清掃させる。原稿押さえ部材46の対向面46Aに付着したゴミ等には、1回や2回の清掃では除去しきれない一方、清掃を繰り返すことで除去できるものも存在する。
2. Effects of the Present Embodiment In the image reading apparatus 1 of the present embodiment, in the cleaning mode, when it is determined that dust or the like has not been removed from the facing surface 46A of the document pressing member 46 after cleaning by the user, display processing is performed. And the re-determination process is repeated, and the user is made to clean again. Some dust or the like adhering to the facing surface 46A of the document pressing member 46 cannot be removed by one or two cleanings, but can be removed by repeated cleaning.

この画像読取装置1では、原稿押さえ部材46の対向面46Aからゴミ等が除去されていないと判断された場合、使用者に清掃を繰り返させる。これにより、原稿押さえ部材46の対向面46Aから確実にゴミ等を除去することができ、読取画像データを用いて原稿シートGの先端や後端が読取位置に到達したことを判断することができる。   In this image reading apparatus 1, when it is determined that dust or the like has not been removed from the facing surface 46A of the document pressing member 46, the user is caused to repeat cleaning. Accordingly, dust or the like can be reliably removed from the facing surface 46A of the document pressing member 46, and it can be determined that the leading edge or the trailing edge of the document sheet G has reached the reading position using the read image data. .

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような種々の態様も本発明の技術的範囲に含まれる。
(1)上記実施形態では、スキャナ機能を備えた画像読取装置1を用いて説明を行ったが、本発明はこれに限られず、プリンタ機能、コピー機能、ファクシミリ機能などを備えた複合機であっても良い。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and the drawings, and for example, the following various aspects are also included in the technical scope of the present invention.
(1) In the above embodiment, the image reading apparatus 1 having the scanner function has been described. However, the present invention is not limited to this, and the present invention is a multifunction device having a printer function, a copy function, a facsimile function, and the like. May be.

(2)上記実施形態では、画像読取装置1がCPU20を有する及びASIC29を有し、このCPU20が必要に応じてASIC29内のハード回路を用いて画像読取処理等の各種処理を実行する制御部が構成される例を用いて説明を行ったが、本発明はこれに限られない。例えば、CPUがASICとは別体として存在し、このCPUにより制御部が実行する処理が実行されてもよければ、ASIC内にCPUが存在せず、ASICに設けられたハード回路により制御部が実行する処理が実行されてもよい。さらには、単数又は複数のCPU及びASICによって、制御部が実行する処理を実行していてもよい。 (2) In the above embodiment, the image reading apparatus 1 has the CPU 20 and the ASIC 29, and the CPU 20 executes various processes such as an image reading process using a hardware circuit in the ASIC 29 as necessary. Although the description has been given by using the example configured, the present invention is not limited to this. For example, if the CPU exists separately from the ASIC and the processing executed by the control unit may be executed by the CPU, the CPU does not exist in the ASIC, and the control unit is installed by a hardware circuit provided in the ASIC. Processing to be executed may be executed. Furthermore, the process which a control part performs may be performed by one or several CPU and ASIC.

(3)また、CPU20が実行するプログラムは必ずしもROM26に記憶されている必要はなく、ASIC29内に記憶されていてもよければ、他の記憶装置に記憶されていても良い。 (3) The program executed by the CPU 20 is not necessarily stored in the ROM 26, and may be stored in the ASIC 29 or in another storage device.

(4)上記実施形態では、クリーニングモードにおいて、表示部12に「原稿押さえ部材が汚れているので清掃してください」との旨の表示、つまり、使用者への指示を表示する例を用いて説明を行ったが、本発明はこれに限られない。例えば、「原稿押さえ部材が汚れているので原稿シートを読み取ることができません」との旨の表示、つまり、使用者への警告を表示するようにしてもよい。 (4) In the above embodiment, in the cleaning mode, an example of displaying on the display unit 12 a message “Please clean the document pressing member because it is dirty”, that is, an instruction to the user is used. Although described, the present invention is not limited to this. For example, an indication that “the original sheet cannot be read because the original pressing member is dirty”, that is, a warning to the user may be displayed.

(5)上記実施形態では、クリーニングモードにおいて、使用者に清掃させる例を用いて説明を行ったが、本発明はこれに限られない。例えば、画像読取装置1に原稿押さえ部材46の対向面46Aを清掃する機構が備えられている場合には、当該機構に清掃させてもよい。 (5) Although the above embodiment has been described using an example in which the user cleans in the cleaning mode, the present invention is not limited to this. For example, when the image reading apparatus 1 is provided with a mechanism for cleaning the facing surface 46A of the document pressing member 46, the mechanism may be used for cleaning.

(6)上記実施形態では、判断処理が、画像読取装置1の起動時、使用者からの読取命令の入力時、読取処理の終了後、の3つの場合に実行される例を用いて説明を行ったが、本発明はこれに限られない。判断処理は、上記3つの場合の少なくとも1つの場合に実行されればよい。つまり、原稿シートGの読み取り前のみに実行されてもよければ、原稿シートGの読み取り後のみに実行されてもよい。 (6) In the above embodiment, the description will be given using an example in which the determination process is executed in three cases: when the image reading apparatus 1 is activated, when a reading command is input from the user, and after the reading process is completed. Although done, the present invention is not limited to this. The determination process may be executed in at least one of the above three cases. That is, it may be executed only before reading the original sheet G or may be executed only after reading the original sheet G.

(7)上記実施形態では、原稿押さえ部材46の対向面46Aを清掃する必要があるか否かを判断のに、読取画像データからエッジ画素数を算出し、NVRAM28に記憶された基準エッジ画素数と比較する例を用いて説明を行ったが、本発明はこれに限られない。例えば、画像処理回路23を用いて読取画像データからヒストグラムの最大画素数や最大画素数におけるピーク輝度を算出し、NVRAM28に記憶された基準最大画素数や基準ピーク輝度と比較してもよい。 (7) In the above embodiment, the number of edge pixels is calculated from the read image data and the reference edge pixel number stored in the NVRAM 28 to determine whether or not the facing surface 46A of the document pressing member 46 needs to be cleaned. However, the present invention is not limited to this. For example, the maximum number of pixels in the histogram and the peak luminance at the maximum number of pixels may be calculated from the read image data using the image processing circuit 23 and compared with the reference maximum number of pixels and the reference peak luminance stored in the NVRAM 28.

ここで、基準最大画素数、基準ピーク輝度とは、画像読取装置1の出荷時や、使用開始時等において原稿押さえ部材46の対向面46Aを読み取って取得された読取画像データにおける最大画素数、ピーク輝度である。つまり、基準最大画素数、基準ピーク輝度は、画像読取装置1の使用初期段階であって、原稿押さえ部材46の対向面46Aにゴミ等の付着が少ない状態で取得された最大画素数、ピーク輝度である。基準最大画素数及び基準ピーク輝度は、基準値の別例である。   Here, the reference maximum number of pixels and the reference peak luminance are the maximum number of pixels in the read image data acquired by reading the facing surface 46A of the document pressing member 46 at the time of shipment of the image reading apparatus 1 or at the start of use. Peak brightness. That is, the reference maximum number of pixels and the reference peak luminance are the maximum number of pixels and the peak luminance that are acquired in the initial stage of use of the image reading apparatus 1 and in a state where dust or the like is not attached to the facing surface 46A of the document pressing member 46. It is. The reference maximum pixel number and the reference peak luminance are other examples of the reference value.

1:画像読取装置、11:操作部、12:表示部、13:Fセンサ、15:搬送部、16:電源スイッチ、22:搬送経路、22:電源スイッチ検出回路、23:画像処理回路、24:低圧電源部、25:電源供給部、30:画像読取部、40:給紙ローラ、44:搬送ローラ、46:原稿押さえ部材、46A:対向面、48:搬送経路、50:排紙ローラ、52:突出部、D1:主走査方向、D2:搬送方向 DESCRIPTION OF SYMBOLS 1: Image reading apparatus, 11: Operation part, 12: Display part, 13: F sensor, 15: Conveyance part, 16: Power switch, 22: Conveyance path, 22: Power switch detection circuit, 23: Image processing circuit, 24 : Low voltage power supply unit, 25: Power supply unit, 30: Image reading unit, 40: Paper feed roller, 44: Transport roller, 46: Document pressing member, 46A: Opposing surface, 48: Transport path, 50: Paper discharge roller, 52: Projection, D1: Main scanning direction, D2: Conveying direction

Claims (8)

原稿シートを搬送する搬送部と、
搬送経路上の読取位置で画像を読み取る画像読取部と、
前記画像読取部に対して前記搬送経路を挟んで対向配置された対向部材と、
記憶部と、
制御部と、
を備え、
前記記憶部は、前記対向部材を前記画像読取部が読み取った際の読取画像データの基準となる基準値が記憶され、
前記制御部は、
前記搬送部に搬送を指示し、前記搬送部が前記原稿シートを前記読取位置に到達させる前から前記画像読取部に画像の読み取りを開始させ、順次、読取画像データを取得する読取処理と、
前記読取処理によって取得された前記読取画像データの値が所定値以上変化した前記読取画像データの位置を前記原稿シートの端と判断するシート端判断処理と、
前記画像読取部に前記対向部材を読み取らせ、前記読取画像データの値と前記基準値とを比較し、前記読取画像データの値と前記基準値との差異が規定値以上か否かを判断する判断処理と、
前記判断処理によって差異が規定値以上と判断された場合、前記対向部材を清掃するためのクリーニングモードに移行する移行処理と、
を実行する画像読取装置。
A transport unit for transporting a document sheet;
An image reading unit that reads an image at a reading position on the conveyance path;
An opposing member disposed opposite to the image reading unit across the transport path;
A storage unit;
A control unit;
With
The storage unit stores a reference value serving as a reference of read image data when the image reading unit reads the facing member.
The controller is
A reading process for instructing conveyance to the conveyance unit, causing the image reading unit to start reading an image before the conveyance unit reaches the reading position of the document sheet, and sequentially acquiring read image data;
Sheet edge determination processing for determining the position of the read image data at which the value of the read image data acquired by the reading process has changed by a predetermined value or more as the edge of the document sheet;
The image reading unit is caused to read the facing member, and the value of the read image data is compared with the reference value to determine whether the difference between the value of the read image data and the reference value is equal to or greater than a specified value. Judgment processing,
When the determination process determines that the difference is equal to or greater than a specified value, a transition process for shifting to a cleaning mode for cleaning the opposing member;
An image reading apparatus that executes
請求項1に記載の画像読取装置であって、
更に、
受信部、
を備え、
前記制御部は、前記受信部が読取開始命令を受信後、前記読取処理を実行する前に、前記判断処理を実行する、画像読取装置。
The image reading apparatus according to claim 1,
Furthermore,
Receiver,
With
The control unit is an image reading apparatus that executes the determination process after the receiving unit receives a reading start command and before executing the reading process.
請求項1または請求項2に記載の画像読取装置であって、
前記制御部は、前記画像読取装置の起動時に、前記判断処理を実行する、画像読取装置。
The image reading apparatus according to claim 1, wherein:
The control unit is an image reading device that executes the determination process when the image reading device is activated.
請求項1から請求項3のいずれか一項に記載の画像読取装置であって、
前記制御部は、前記読取処理終了による前記搬送部の搬送停止後に、前記判断処理を実行する、画像読取装置。
An image reading apparatus according to any one of claims 1 to 3,
The image reading apparatus, wherein the control unit executes the determination process after the conveyance of the conveyance unit is stopped due to the end of the reading process.
請求項1から請求項4のいずれか一項に記載の画像読取装置であって、
更に、
表示部と、
受信部と、
を備え、
前記制御部は、前記クリーニングモードにおいて、
更に、
前記表示部に前記対向部材の清掃を促す指示、又は、警告を表示させる清掃表示処理と、
前記受信部が清掃完了命令を受信後に、前記画像読取部に前記対向部材を再度読み取らせ、前記読取画像データの値と前記基準値とを比較し、前記読取画像データの値と前記基準値との差異が規定値以上か否かを判断する再判断処理と、
を実行する、画像読取装置。
An image reading apparatus according to any one of claims 1 to 4,
Furthermore,
A display unit;
A receiver,
With
In the cleaning mode, the control unit
Furthermore,
An instruction for prompting cleaning of the facing member on the display unit, or a cleaning display process for displaying a warning,
After the receiving unit receives a cleaning completion command, the image reading unit reads the counter member again, compares the value of the read image data with the reference value, and compares the value of the read image data with the reference value. A re-judgment process to determine whether the difference is greater than or equal to a specified value;
An image reading apparatus that executes
請求項5記載の画像読取装置であって、
前記制御部は、
更に、
前記再判断処理によって差異が規定値以上と判断された場合、前記表示部に対して前記対向部材の交換指示を表示させる交換表示処理、
を実行する、画像読取装置。
The image reading apparatus according to claim 5,
The controller is
Furthermore,
If the re-determination process determines that the difference is greater than or equal to a specified value, an exchange display process for displaying an instruction to replace the opposing member on the display unit;
An image reading apparatus that executes
請求項5記載の画像読取装置であって、
前記制御部は、
更に、
前記再判断処理によって差異が規定値より小さいと判断された場合、前記表示部に対して前記対向部材の清掃完了を表示させる完了表示処理、
を実行する、画像読取装置。
The image reading apparatus according to claim 5,
The controller is
Furthermore,
When it is determined by the redetermination process that the difference is smaller than a specified value, a completion display process for displaying the completion of cleaning of the facing member on the display unit;
An image reading apparatus that executes
請求項5記載の画像読取装置であって、
前記制御部は、
前記再判断処理によって差異が規定値以上と判断された場合、前記清掃表示処理及び前記再判断処理を再度実行し、前記再判断処理によって差異が規定値より小さいと判断されるまで、前記清掃表示処理と、前記再判断処理とを繰り返す、画像読取装置。
The image reading apparatus according to claim 5,
The controller is
If the redetermination process determines that the difference is equal to or greater than a specified value, the cleaning display process and the redetermination process are executed again, and the cleaning display is performed until the redetermination process determines that the difference is smaller than the specified value. An image reading apparatus that repeats the process and the re-determination process.
JP2013114913A 2013-05-31 2013-05-31 Image reading device Active JP6163883B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013114913A JP6163883B2 (en) 2013-05-31 2013-05-31 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013114913A JP6163883B2 (en) 2013-05-31 2013-05-31 Image reading device

Publications (2)

Publication Number Publication Date
JP2014236260A true JP2014236260A (en) 2014-12-15
JP6163883B2 JP6163883B2 (en) 2017-07-19

Family

ID=52138696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013114913A Active JP6163883B2 (en) 2013-05-31 2013-05-31 Image reading device

Country Status (1)

Country Link
JP (1) JP6163883B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3629568A1 (en) 2018-09-26 2020-04-01 Ricoh Company, Ltd. Reading device and image forming apparatus
US11347980B2 (en) 2019-10-01 2022-05-31 Ricoh Company, Ltd. Positional-deviation correcting device and image forming apparatus including positional-deviation correcting device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001083748A (en) * 1999-09-08 2001-03-30 Kyocera Mita Corp Original image reader
JP2003101735A (en) * 2001-09-25 2003-04-04 Ricoh Co Ltd Image-reading apparatus and image-forming apparatus
JP2004159240A (en) * 2002-11-08 2004-06-03 Konica Minolta Holdings Inc Image recorder provided with automatic document feeder
JP2005045423A (en) * 2003-07-25 2005-02-17 Ricoh Co Ltd Image processor
JP2011199535A (en) * 2010-03-18 2011-10-06 Konica Minolta Business Technologies Inc Image reader

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001083748A (en) * 1999-09-08 2001-03-30 Kyocera Mita Corp Original image reader
JP2003101735A (en) * 2001-09-25 2003-04-04 Ricoh Co Ltd Image-reading apparatus and image-forming apparatus
JP2004159240A (en) * 2002-11-08 2004-06-03 Konica Minolta Holdings Inc Image recorder provided with automatic document feeder
JP2005045423A (en) * 2003-07-25 2005-02-17 Ricoh Co Ltd Image processor
JP2011199535A (en) * 2010-03-18 2011-10-06 Konica Minolta Business Technologies Inc Image reader

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3629568A1 (en) 2018-09-26 2020-04-01 Ricoh Company, Ltd. Reading device and image forming apparatus
US10848631B2 (en) 2018-09-26 2020-11-24 Ricoh Company, Ltd. Reading device and image forming apparatus
US11347980B2 (en) 2019-10-01 2022-05-31 Ricoh Company, Ltd. Positional-deviation correcting device and image forming apparatus including positional-deviation correcting device

Also Published As

Publication number Publication date
JP6163883B2 (en) 2017-07-19

Similar Documents

Publication Publication Date Title
US20180160008A1 (en) Image reading apparatus, control method for image reading apparatus, and storage medium
US20210385347A1 (en) Image reading apparatus having sensor for detecting shape of fed documents, control method for controlling image reading apparatus, and storage medium having stored therein control method
US10106353B2 (en) Edge detection device, image forming apparatus, and edge detection method
US10477044B2 (en) Image forming apparatus and control method able to detect a bound document during feeding
JP6163883B2 (en) Image reading device
US11095785B2 (en) Image reading apparatus, control method of image reading apparatus, and storage medium
JP5882762B2 (en) Reading apparatus and recording apparatus
US9948815B2 (en) Image reading apparatus configured to make adjustments when set to read two sides of a document
US20140160515A1 (en) Image reading apparatus, method for controlling image reading apparatus, and storage medium
JP4794979B2 (en) Image forming apparatus
US9203998B2 (en) Image reading device for detecting end of sheet
US8687250B2 (en) Image reading apparatus and image control method of image reading apparatus, and storage medium
JP6111897B2 (en) Image reading device
JP2014216988A (en) Image reading apparatus
JP6044443B2 (en) Image reading device
JP6150765B2 (en) Paper feeder
JP6015470B2 (en) Image reading device
JP2018085650A (en) Reading device and control method
JP2018002459A (en) Medium detection device, medium conveyance device and image formation apparatus
JP2017024847A (en) Image reading apparatus and image forming apparatus
JP2014131198A (en) Image reading device
US9746809B2 (en) Edge detection apparatus, image forming apparatus, and edge detecting method for dividing and sending out edge detection data
JP2014236275A (en) Image reader and document sheet transport program
JP2016072750A (en) Image reading apparatus and dust detection method
JP2022106617A (en) Sheet stacking device and image reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170224

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: 20170523

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170605

R150 Certificate of patent or registration of utility model

Ref document number: 6163883

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150