[go: up one dir, main page]

JP5992360B2 - Image reading apparatus and image forming apparatus having the same - Google Patents

Image reading apparatus and image forming apparatus having the same Download PDF

Info

Publication number
JP5992360B2
JP5992360B2 JP2013085875A JP2013085875A JP5992360B2 JP 5992360 B2 JP5992360 B2 JP 5992360B2 JP 2013085875 A JP2013085875 A JP 2013085875A JP 2013085875 A JP2013085875 A JP 2013085875A JP 5992360 B2 JP5992360 B2 JP 5992360B2
Authority
JP
Japan
Prior art keywords
document
reading
image data
unit
threshold 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.)
Expired - Fee Related
Application number
JP2013085875A
Other languages
Japanese (ja)
Other versions
JP2014209678A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2013085875A priority Critical patent/JP5992360B2/en
Publication of JP2014209678A publication Critical patent/JP2014209678A/en
Application granted granted Critical
Publication of JP5992360B2 publication Critical patent/JP5992360B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Holders For Sensitive Materials And Originals (AREA)
  • Optical Systems Of Projection Type Copiers (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Optics & Photonics (AREA)

Description

本発明は、原稿の読取を行う画像読取装置に関する。又、この画像読取装置を備えた画像形成装置に関する。   The present invention relates to an image reading apparatus that reads a document. The present invention also relates to an image forming apparatus provided with the image reading apparatus.

画像読取装置は、原稿で反射された光をイメージセンサーに導き画像データを得る。画像読取装置は、複合機、複写機、FAX装置のような画像形成装置に設けられることもある。そして、適切なサイズでの画像データの出力や、原稿のうち読み取るべき範囲の認識のため、画像読取装置には、原稿サイズ検知を行うものがある。このような原稿サイズ検知を行う装置の一例が特許文献1に記載されている。   The image reading device obtains image data by guiding light reflected by the document to an image sensor. The image reading apparatus may be provided in an image forming apparatus such as a multifunction machine, a copier, or a FAX apparatus. Some image reading apparatuses perform document size detection in order to output image data at an appropriate size and to recognize a range to be read in a document. An example of an apparatus for performing such document size detection is described in Patent Document 1.

具体的に、特許文献1には、原稿からの光情報を受けて電気信号に変換するラインセンサーと、ラインセンサーの出力をディジタルデータに変換するA/D変換器と、少なくとも画像読み取り処理の制御動作を行う制御部と、プラテンカバーの開閉を検知する検知手段を具備し、検知手段により、プラテンカバーが閉じられかけたことを検知したら第1の走査を行ない、次に、プラテンカバーを閉じた状態で原稿の主走査方向の第2の走査を行ない、制御部は、これら2回の走査で得られたラインセンサー出力を基に原稿サイズを判定する画像読み取り装置が記載されている。この構成により、原稿のサイズを確実に判定しようとする(特許文献1:請求項1、請求項3、段落[0026]等参照)。   Specifically, Patent Document 1 discloses a line sensor that receives optical information from a document and converts it into an electrical signal, an A / D converter that converts the output of the line sensor into digital data, and at least control of image reading processing. A control unit that performs the operation and a detection unit that detects opening and closing of the platen cover are provided. When the detection unit detects that the platen cover is about to be closed, the first scanning is performed, and then the platen cover is closed. In this state, there is described an image reading apparatus that performs a second scan in the main scanning direction of a document, and the control unit determines a document size based on a line sensor output obtained by these two scans. With this configuration, an attempt is made to reliably determine the size of the document (see Patent Document 1: Claim 1, Claim 3, paragraph [0026], etc.).

特開平11−075025号公報Japanese Patent Laid-Open No. 11-075025

例えば、画像読取装置には、本体上面に、読み取りを行う面を下向きにして原稿が載置されるコンタクトガラスが設けられる。そして、コンタクトガラスの下方にランプが設けられ、光が原稿の下方から照射される。又、原稿を押さえるカバーとして、上下方向に開閉される原稿抑え板が取り付けられる。あるいは、原稿抑え板に替えて、原稿を読取位置に搬送する原稿搬送装置を上下方向に開閉可能に設け、原稿搬送装置をカバーとして用いるときもある。   For example, the image reading apparatus is provided with a contact glass on the upper surface of the main body on which a document is placed with a reading surface facing downward. A lamp is provided below the contact glass, and light is irradiated from below the document. Further, a document holding plate that is opened and closed in the vertical direction is attached as a cover for pressing the document. Alternatively, instead of the document holding plate, a document transport device that transports the document to the reading position can be opened and closed in the vertical direction, and the document transport device is sometimes used as a cover.

このような画像読取装置では、読み取りを行って原稿の主走査方向のサイズを検知することがある。ここで、原稿を押さえる部分の下面の色(カバー下面のマットの色)は、最もよく使用される用紙の色である白色に対応し、通常、白色とされる。カバーが完全に閉じられると、原稿の地肌色が白であれば、原稿をスキャンしても、画像データ中の原稿のある部分と無い部分の境界を正確に読み取ることができない。そのため、カバーが閉じられてからの読み取りでは、原稿のサイズを正確に検知し難い。   In such an image reading apparatus, reading may be performed to detect the size of the document in the main scanning direction. Here, the color of the lower surface of the portion that holds the document (the color of the mat on the lower surface of the cover) corresponds to white, which is the most commonly used paper color, and is usually white. When the cover is completely closed, if the background color of the original is white, even if the original is scanned, the boundary between the part of the original and the part of the original in the image data cannot be read accurately. For this reason, it is difficult to accurately detect the size of the document when reading after the cover is closed.

そこで、画像読取装置には、本格的な原稿の読み取りの前に、原稿のサイズを検知のため、カバー等をある程度閉じると読み取りを行うものがある(「プレスキャン」と呼ばれる場合もある)。カバーが完全に閉じられる前、光をコンタクトガラスに向けて照射してスキャンすると、原稿のない部分では光が漏れる。反射されない漏れた光はイメージセンサーに入射されない。その結果、原稿がある部分を読み取った画素の画素値は明るく(白く)、原稿のない部分を読み取った画素の画素値は暗く(黒っぽく)なる。ラインの画像データ中、明るい部分(原稿がある部分)と暗い部分(原稿が無い部分)の境界位置は、原稿のサイズにより変わる。そのため、プレスキャンにより、コンタクトガラス上の原稿の主走査方向での長さを検知することができる。   In view of this, some image reading apparatuses perform reading when a cover or the like is closed to some extent in order to detect the size of the original before reading a full-fledged original (sometimes referred to as “pre-scan”). If the light is directed toward the contact glass and scanned before the cover is completely closed, the light leaks in a portion where there is no document. Leaked light that is not reflected is not incident on the image sensor. As a result, the pixel value of the pixel that has read the portion with the original is bright (white), and the pixel value of the pixel that has read the portion without the original is dark (black). In the line image data, the boundary position between the bright part (the part with the original) and the dark part (the part without the original) varies depending on the size of the original. Therefore, the length of the document on the contact glass in the main scanning direction can be detected by prescanning.

一般に、原稿の主走査方向のサイズを検知するため、読み取りで得られたラインの画像データの各画素の画素値と予め定められた閾値を比較することで、境界位置が定められる。具体的には、画像データの各画素について、画素値が閾値以上に明るいか否かが判断される。そして、閾値以上の明るい画素値を有する画素と、閾値よりも暗い画素値を有する画素の境目が、原稿がある部分と原稿の無い部分の境界と判断される。   In general, in order to detect the size of the document in the main scanning direction, the boundary position is determined by comparing the pixel value of each pixel of the image data of the line obtained by reading with a predetermined threshold value. Specifically, for each pixel of the image data, it is determined whether the pixel value is brighter than a threshold value. Then, a boundary between a pixel having a bright pixel value equal to or greater than the threshold and a pixel having a pixel value darker than the threshold is determined as a boundary between a portion where the document is present and a portion where the document is not present.

このような原稿サイズ検知を行う画像読取装置では、完全にカバーを閉じる前に原稿サイズ検知を行うため、カバーがある程度閉じられたことを検知するためのセンサーが設けられる。言い換えると、カバーがある程度閉じられたことを検知し、原稿サイズ検知のための読取実行開始のトリガー信号を出力するセンサーが設けられる。   In such an image reading apparatus that performs document size detection, a sensor for detecting that the cover is closed to some extent is provided in order to perform document size detection before the cover is completely closed. In other words, a sensor is provided that detects that the cover has been closed to some extent and outputs a trigger signal to start reading for document size detection.

このようなセンサーには、カバーの下面(原稿を抑える面)と接する当接部分(例えば、突起)が設けられる。そして、カバーがある程度閉じられた量に応じて、当接部分の位置が変化する。当接部分の位置が予め定められた位置まで移動すると、センサーの出力が切り替わる。このセンサーの出力変化により、カバーがある程度倒された(閉じられた)ことが検知されて、原稿サイズ検知のための読み取り(プレスキャン)が実行される。   Such a sensor is provided with an abutting portion (for example, a protrusion) that contacts the lower surface of the cover (the surface that holds the document). The position of the contact portion changes according to the amount that the cover is closed to some extent. When the position of the contact portion moves to a predetermined position, the output of the sensor is switched. Due to the change in the output of the sensor, it is detected that the cover has been tilted to some extent (closed), and reading (pre-scanning) for document size detection is executed.

ここで、当接部分は、カバーの開閉の繰り返しにより摩耗する。又、当接部分は、プラスチックのような樹脂製であることが多く、カバーの閉め方にもよるが、摩耗は避けられない。そして、当接部分の摩耗が進むと、摩耗がないときよりもより多くカバーが閉じられてから原稿サイズ検知が行われる。言い換えると、当接部分の摩耗が進むほど、原稿サイズ検知がおこなわれるときのコンタクトガラスとカバーの距離は近くなり、コンタクトガラスに対するカバーの角度は小さくなる。そのため、当接部分の摩耗が進むと、原稿サイズ検知のための読み取りの際に、原稿の無い部分で、光がカバーの下面に反射されやすくなる。   Here, the contact portion is worn by repeated opening and closing of the cover. In addition, the contact portion is often made of a resin such as plastic, and wear depends on how the cover is closed. When the wear of the contact portion proceeds, the document size is detected after the cover is closed more than when there is no wear. In other words, the more the contact portion wears, the closer the distance between the contact glass and the cover when the document size is detected, and the smaller the angle of the cover with respect to the contact glass. For this reason, when the wear of the contact portion progresses, light is easily reflected on the lower surface of the cover at a portion where there is no document when reading for document size detection.

そうすると、原稿サイズ検知のための読み取りで得られた画像データでは、原稿の無い部分を読み取った画素の画素値は、摩耗がないときに比べて、明るい(白い)画素値となる。   Then, in the image data obtained by reading for document size detection, the pixel value of the pixel that has read a portion without a document is a bright (white) pixel value compared to when there is no wear.

しかし、従来の画像読取装置では、画像データ中、原稿のある部分と無い部分の境界を定めるための閾値は、固定された値である。より詳しく言えば、閾値は、画像読取装置の出荷時などに予め設定され、当接部分の摩耗がないときに原稿のサイズが正確に検知されるように設定された固定値である。従って、センサーの当接部分が摩耗するほど、原稿の主走査方向のサイズを正確に検知できない場合が生じ得るという問題がある。   However, in the conventional image reading apparatus, the threshold value for determining the boundary between a certain part of the document and a part without the document in the image data is a fixed value. More specifically, the threshold value is a fixed value that is set in advance at the time of shipment of the image reading apparatus or the like and is set so that the size of the document is accurately detected when there is no wear on the contact portion. Accordingly, there is a problem that the size of the original in the main scanning direction cannot be detected more accurately as the contact portion of the sensor is worn.

ここで、特許文献1には、カバーの下面と接する突起を有する開閉検知部によりプラテンカバーが閉じられかかったとき(どの程度閉じられた時点であるかは不明)を検知することが記載されている(特許文献1:段落[0036]、図1等参照)。しかし、この開閉検知部の突起の摩耗に関する記述はない。従って、通常の原稿(例えば、地肌が白色)を読み取ったとき、センサーの当接部分の摩耗による検知されたサイズの正確性の問題を解決することはできない。   Here, Patent Document 1 describes that when the platen cover is about to be closed by an open / close detection unit having a protrusion in contact with the lower surface of the cover (how much it is closed is unknown). (See Patent Document 1: Paragraph [0036], FIG. 1 and the like). However, there is no description regarding the wear of the protrusions of the open / close detection unit. Therefore, when a normal document (for example, the background is white) is read, the problem of the accuracy of the detected size due to wear of the contact portion of the sensor cannot be solved.

本発明は、上記従来技術の問題点に鑑み、カバーの開閉を繰り返しによるセンサーの部品の摩耗に起因して、摩耗がないときよりもカバーがコンタクトガラスに近づいてから原稿サイズ検知が実行されるようになっても、正確に原稿サイズを検知する。   In the present invention, in view of the above-described problems of the prior art, document size detection is performed after the cover is closer to the contact glass than when there is no wear due to wear of the sensor parts due to repeated opening and closing of the cover. Even if this happens, the document size is accurately detected.

上記目的を達成するために、請求項1に係る画像読取装置は、原稿が載置されるコンタクトガラスと、上下方向に開閉され、前記コンタクトガラスに載置された原稿を押さえるためのカバー部と、前記カバー部が閉じられる途中で接し、前記カバー部が閉じられるほど前記カバー部に押し込まれる当接部を含み、前記当接部の押し込み量に応じて出力が変化する開閉検知部と、原稿の読み取りを行い、原稿に向け光を照射するランプと原稿で反射された反射光に基づきライン単位で読み取るイメージセンサーを含み、前記当接部が予め定められた位置まで押し込められると、主走査方向の原稿サイズ検知のために前記コンタクトガラスを読み取るサイズ検知読取を行う読取機構を備え、イメージセンサーの出力に基づき画像データを生成する画像読取部と、前記サイズ検知読取により得られた前記画像データである検知読取画像データの各画素の画素値と、原稿がある部分と原稿が無い部分の境界位置を検知するための閾値を比較して、原稿がある部分と原稿が無い部分の境界位置を検知し、前記境界位置に基づき前記コンタクトガラスに載置された原稿のサイズを検知する原稿サイズ検知処理を行う検知処理部と、データを記憶するメモリーを含み、使用開始から又は先の前記閾値の補正から予め定められた回数の前記カバー部の開閉が行われた第1の場合、原稿が載置されていない位置の前記検知読取画像データの画素値と前記メモリーに記憶された前記検知読取画像データの基準としての基準画像データ中の対応する位置の画素値に基づく比較を行って求めた前記基準画像データと前記検知読取画像データ間のずれ量が予め定められた許容範囲を超えた第2の場合、又は、使用開始から又は先の前記閾値の補正から前記予め定められた回数の前記カバー部の開閉が行われた後に原稿が載置されていない位置の前記検知読取画像データの画素値と前記基準画像データ中の対応する位置の画素値に基づく比較を行って求めた前記基準画像データと前記検知読取画像データ間のずれ量が予め定められた許容範囲を超えた第3の場合、前記検知処理部は、前記閾値を明るい方向に変化させて前記閾値の補正を行い、補正後の前記閾値に基づき、前記原稿サイズ検知処理を行うことを特徴とする画像読取装置。
In order to achieve the above object, an image reading apparatus according to a first aspect of the present invention includes a contact glass on which a document is placed, and a cover portion that is opened and closed in a vertical direction and presses the document placed on the contact glass. An open / close detection unit that includes a contact part that is in contact with the cover part in the middle of being closed and that is pushed into the cover part as the cover part is closed, and whose output changes according to the amount of pressing of the contact part; And a lamp that irradiates light toward the document and an image sensor that reads in line units based on the reflected light reflected from the document. For detecting the size of the original document, a reading mechanism for reading and detecting the contact glass, and generating image data based on the output of the image sensor The pixel value of each pixel of the image reading unit and the detected read image data, which is the image data obtained by the size detection reading, is compared with the threshold value for detecting the boundary position between the portion where the document is present and the portion where the document is absent and to detects the boundary position of the part and the document is no portion of the document, detection processing unit for performing document size detection process of detecting the size of the document placed on the contact glass on the basis of the boundary position data In the first case where the cover part is opened and closed a predetermined number of times from the start of use or from the previous correction of the threshold value, the detection reading at a position where no document is placed The reference image data obtained by comparing the pixel value of the image data with the pixel value at the corresponding position in the reference image data as the reference of the detected read image data stored in the memory. In the second case where the amount of deviation between the detected data and the detected read image data exceeds a predetermined allowable range, or the predetermined number of times of the cover portion from the start of use or from the correction of the threshold value. The reference image data obtained by performing a comparison based on the pixel value of the detected read image data at the position where the document is not placed after opening / closing and the pixel value at the corresponding position in the reference image data, and the reference image data In the third case where the amount of deviation between the detected read image data exceeds a predetermined allowable range, the detection processing unit changes the threshold value in a bright direction to correct the threshold value, and the corrected threshold value An image reading apparatus that performs the document size detection process based on the above.

本発明によれば、原稿がある部分と原稿が無い部分の境界位置を検知するための閾値を補正することができる。これにより、カバー部の開閉の繰り返しによりセンサーの部品(当接部)が摩耗し、摩耗がないときよりもカバー部がコンタクトガラスに近づいてから原稿サイズ検知が実行されるようになっても、検知される原稿のサイズを正確に検知することができる。センサーの部品が摩耗しても、正確に原稿サイズを検知する画像読取装置を提供することができる。   According to the present invention, it is possible to correct a threshold value for detecting a boundary position between a portion where a document is present and a portion where a document is absent. As a result, the sensor part (contact part) is worn due to repeated opening and closing of the cover part, and even when the cover part comes closer to the contact glass than when there is no wear, the document size detection is executed. The size of the detected document can be accurately detected. It is possible to provide an image reading apparatus that accurately detects a document size even when sensor parts are worn.

複合機の概略構成を示す図である。1 is a diagram illustrating a schematic configuration of a multifunction machine. 画像読取装置を示す図である。It is a figure which shows an image reading apparatus. 原稿搬送部を開けた状態を示す図である。FIG. 6 is a diagram illustrating a state where a document conveying unit is opened. 原稿搬送部を開けた状態を示す図である。FIG. 6 is a diagram illustrating a state where a document conveying unit is opened. 原稿搬送部を閉じている途中の状態を示す図である。FIG. 6 is a diagram illustrating a state in the middle of closing a document conveying unit. 複合機の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a multifunction machine. 画像読取装置の構成を示すブロック図である。It is a block diagram which shows the structure of an image reading apparatus. 画像読取部を上方からみた状態を示す図である。It is a figure which shows the state which looked at the image reading part from upper direction. 当接部の摩耗を説明するための図である。It is a figure for demonstrating abrasion of a contact part. 第1の手法での閾値の補正の流れ示すフローチャートである。It is a flowchart which shows the flow of the correction | amendment of the threshold value by a 1st method. 第2の手法での閾値の補正の流れ示すフローチャートである。It is a flowchart which shows the flow of correction | amendment of the threshold value by a 2nd method. 第3の手法での閾値の補正の流れ示すフローチャートである。It is a flowchart which shows the flow of correction | amendment of the threshold value by a 3rd method.

以下、本発明の実施形態を図1〜図12を用いて説明する。但し、本実施の形態に記載されている構成、配置等の各要素は、発明の範囲を限定するものではなく単なる説明例にすぎない。   Hereinafter, an embodiment of the present invention will be described with reference to FIGS. However, each element such as configuration and arrangement described in this embodiment does not limit the scope of the invention and is merely an illustrative example.

(画像形成装置の概略)
まず、図1を用いて、実施形態に係る画像読取装置100を含む電子写真方式の複合機200(画像形成装置に相当)の概略を説明する。図1は、複合機200の概略構成を示す図である。
(Outline of image forming apparatus)
First, an outline of an electrophotographic multifunction peripheral 200 (corresponding to an image forming apparatus) including the image reading apparatus 100 according to the embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating a schematic configuration of the multifunction device 200.

本実施形態の複合機200の上方には、画像読取部1と原稿搬送部2を含む画像読取装置100が配される。画像読取装置100の詳細は後述する。尚、原稿dを抑えるカバー部として、原稿搬送部2を例に挙げて説明するが、原稿搬送部2に替えて、原稿搬送機能を有しない板状の原稿押さえ板をカバー部として用いてもよい。   An image reading apparatus 100 including an image reading unit 1 and a document conveying unit 2 is disposed above the multifunction device 200 of the present embodiment. Details of the image reading apparatus 100 will be described later. The document transport unit 2 will be described as an example of a cover unit for suppressing the document d. However, instead of the document transport unit 2, a plate-shaped document pressing plate having no document transport function may be used as the cover unit. Good.

又、図1に破線で示すように、画像読取部1の正面側に操作パネル3が設けられる。操作パネル3は、複合機200の設定用のキーや複合機200の状態を表示し、使用者の入力を受け付けるタッチパネル式の表示部30(例えば、液晶表示パネル)を有する。また、操作パネル3は、数字入力用のテンキー部31やジョブ実行の開始指示を受け付けるスタートキー32などのハードキーも含む。   Further, as indicated by a broken line in FIG. 1, an operation panel 3 is provided on the front side of the image reading unit 1. The operation panel 3 includes a touch panel type display unit 30 (for example, a liquid crystal display panel) that displays setting keys of the multifunction device 200 and the state of the multifunction device 200 and receives user inputs. The operation panel 3 also includes hard keys such as a numeric keypad 31 for inputting numbers and a start key 32 for receiving a job execution start instruction.

又、本実施形態の複合機200は、本体内部に、給紙部4a、搬送部4b、画像形成部5a、中間転写部5b、定着部5c等を備える。複合機200本体には、複数の給紙部4aが設けられる。各給紙部4aは、A4やレターサイズのような各サイズの印刷に用いる用紙を複数枚収容する。各給紙部4aは、回転駆動する給紙ローラー41を備える。印刷時、何れかの給紙ローラー41は、回転して1枚ずつ搬送部4bに用紙を送る。   The multifunction device 200 according to the present embodiment includes a sheet feeding unit 4a, a transport unit 4b, an image forming unit 5a, an intermediate transfer unit 5b, a fixing unit 5c, and the like inside the main body. The main body of the multifunction device 200 is provided with a plurality of paper feed units 4a. Each paper feed unit 4a accommodates a plurality of sheets used for printing of each size such as A4 or letter size. Each paper feed unit 4a includes a paper feed roller 41 that is driven to rotate. At the time of printing, one of the paper feed rollers 41 rotates to feed the paper to the transport unit 4b one by one.

搬送部4bは、装置内で用紙を搬送する通路である。そして、搬送部4bは、用紙の案内のためのガイド板や、回転駆動して用紙を搬送する搬送ローラー対42(図1おいて、上方から42a、42b、42cの計3つ)や、形成されたトナー像の転写タイミングに合わせ用紙を2次転写ローラー56に送り出すレジストローラー対43を含む。又、定着完了後の用紙を排出トレイ44に排出する排出ローラー対45も設けられる。   The transport unit 4b is a path for transporting paper within the apparatus. The transport unit 4b includes a guide plate for guiding the paper, a pair of transport rollers 42 that rotate and transport the paper (a total of three from 42a, 42b, and 42c from the top in FIG. 1) And a registration roller pair 43 that feeds the sheet to the secondary transfer roller 56 in accordance with the transfer timing of the toner image. In addition, a pair of discharge rollers 45 for discharging the sheet after completion of fixing to the discharge tray 44 is also provided.

画像形成部5aは、複数の画像形成ユニット50(ブラック用の50Bk、イエロー用の50Y、シアン用の50C、マゼンタ用の50M)と露光装置51を含む。各画像形成ユニット50は、回転駆動可能に支持された感光体ドラムや、感光体ドラムの周囲に配設された帯電装置、現像装置、清掃装置を含む。露光装置51は、画像読取部1で読み取られた画像データ等に基づき、レーザ光を点消灯しつつ出力し、各感光体ドラムを走査露光する。各画像形成ユニット50と露光装置51によって、感光体ドラムの周面上にトナー像が形成される。   The image forming unit 5a includes a plurality of image forming units 50 (50Bk for black, 50Y for yellow, 50C for cyan, 50M for magenta) and an exposure device 51. Each image forming unit 50 includes a photosensitive drum that is rotatably supported, and a charging device, a developing device, and a cleaning device disposed around the photosensitive drum. The exposure device 51 outputs laser light while turning it on and off based on the image data read by the image reading unit 1, and scans and exposes each photosensitive drum. A toner image is formed on the peripheral surface of the photosensitive drum by each image forming unit 50 and the exposure device 51.

中間転写部5bは、各画像形成ユニット50からトナー像の1次転写を受け、用紙に2次転写を行う。中間転写部5bは、各1次転写ローラー52Bk、52Y、52C、52M、無端状の中間転写ベルト53、駆動ローラー54、複数の従動ローラー55、2次転写ローラー56、ベルト清掃装置57を含む。各1次転写ローラー52Bk〜52Mは、対応する感光体ドラムと中間転写ベルト53を挟み込む。各1次転写ローラー52Bk〜52Mには、転写用電圧が印加される。   The intermediate transfer portion 5b receives the primary transfer of the toner image from each image forming unit 50 and performs the secondary transfer on the paper. The intermediate transfer unit 5b includes primary transfer rollers 52Bk, 52Y, 52C, and 52M, an endless intermediate transfer belt 53, a drive roller 54, a plurality of driven rollers 55, a secondary transfer roller 56, and a belt cleaning device 57. Each primary transfer roller 52 </ b> Bk to 52 </ b> M sandwiches the corresponding photosensitive drum and the intermediate transfer belt 53. A transfer voltage is applied to each of the primary transfer rollers 52Bk to 52M.

中間転写ベルト53は、駆動ローラー54等に張架され、駆動ローラー54の回転駆動により周回する。又、駆動ローラー54は、2次転写ローラー56とで中間転写ベルト53を挟み込む。各画像形成ユニット50で形成されたトナー像(ブラック、イエロー、シアン、マゼンタの各色)は、順次、ずれなく重畳して中間転写ベルト53に1次転写された後、所定の電圧を印加された2次転写ローラー56により、用紙に転写される。   The intermediate transfer belt 53 is stretched around the drive roller 54 and the like, and rotates around the drive roller 54. The driving roller 54 sandwiches the intermediate transfer belt 53 with the secondary transfer roller 56. The toner images (black, yellow, cyan, and magenta colors) formed by each image forming unit 50 are sequentially transferred to the intermediate transfer belt 53 in a superimposed manner without deviation, and then applied with a predetermined voltage. The image is transferred onto the paper by the secondary transfer roller 56.

定着部5cは、用紙に転写されたトナー像を定着させる。定着部5cは、発熱体を内蔵する加熱ローラー58や、これに圧接する加圧ローラー59を含む。加熱ローラー58と加圧ローラー59のニップを通過すると、用紙に転写されたトナー像が、溶融・加熱される。その結果、トナー像が用紙に定着する。定着部5cを経た用紙は、排出トレイ44に排出される。   The fixing unit 5c fixes the toner image transferred to the paper. The fixing unit 5c includes a heating roller 58 containing a heating element, and a pressure roller 59 that is in pressure contact with the heating roller 58. After passing through the nip between the heating roller 58 and the pressure roller 59, the toner image transferred to the paper is melted and heated. As a result, the toner image is fixed on the paper. The sheet that has passed through the fixing unit 5 c is discharged to the discharge tray 44.

(画像読取装置100の構成)
次に、図2を用いて、実施形態に係る画像読取装置100の一例を説明する。図2は、画像読取装置100を示す図である。
(Configuration of Image Reading Apparatus 100)
Next, an example of the image reading apparatus 100 according to the embodiment will be described with reference to FIG. FIG. 2 is a diagram illustrating the image reading apparatus 100.

画像読取装置100は、画像データを生成する画像読取部1を含む。又、画像読取装置100は、画像読取部1の上方に設けられた原稿搬送部2(カバー部に相当)を含む。原稿搬送部2は、回転軸2a(図3参照)により画像読取部1の載置読取用コンタクトガラス12に対し、手前側を振るように上下方向に開閉可能である。   The image reading apparatus 100 includes an image reading unit 1 that generates image data. In addition, the image reading apparatus 100 includes a document conveying unit 2 (corresponding to a cover unit) provided above the image reading unit 1. The document conveying unit 2 can be opened and closed in the vertical direction so as to swing the front side with respect to the placement reading contact glass 12 of the image reading unit 1 by the rotation shaft 2a (see FIG. 3).

原稿搬送部2は、読み取りを行う原稿dを1枚ずつ、自動的に連続して読み取り位置(後述の搬送読取用コンタクトガラス11)に搬送する。具体的に、読み取りを行う原稿dは、原稿トレイ21に載置される。読み取り時、原稿供給ローラー22により、原稿dが原稿トレイ21から1枚ずつ送り出される。送り出された原稿dは、複数設けられた搬送用ローラーやガイドに導かれ、画像読取部1上面に設けられた搬送読取用コンタクトガラス11の上面を通過する。この通過の際、画像読取部1が読取を行う(原稿搬送経路を2点鎖線で図示)。   The document conveying unit 2 automatically and continuously conveys the document d to be read one by one to a reading position (a conveyance reading contact glass 11 described later). Specifically, the document d to be read is placed on the document tray 21. During reading, the document supply roller 22 feeds the document d from the document tray 21 one by one. The fed document d is guided to a plurality of transport rollers and guides, and passes through the upper surface of the transport reading contact glass 11 provided on the upper surface of the image reading unit 1. During this passage, the image reading unit 1 performs reading (a document conveyance path is indicated by a two-dot chain line).

次に、本実施形態における画像読取部1を説明する。画像読取部1は、上面に向け光を照射し、反射光に基づきイメージセンサー68により原稿dを読み取り、画像データを生成する。   Next, the image reading unit 1 in the present embodiment will be described. The image reading unit 1 emits light toward the upper surface, reads the document d by the image sensor 68 based on the reflected light, and generates image data.

画像読取部1の上面左側に、図2の紙面に垂直な方向でのび、透明板状の搬送読取用コンタクトガラス11が配される。又、画像読取部1の上面で右側に、紙面に垂直な方向でのび、透明板状の載置読取用コンタクトガラス12が配される。載置読取用コンタクトガラス12は、画像読取部1の上面に設けられる。書籍等の原稿dを1枚ずつ読み取る場合、原稿搬送部2を持ち上げ、読取面を下向きにして、原稿dが載置される。   On the left side of the upper surface of the image reading unit 1, a transparent plate-shaped transport reading contact glass 11 is arranged extending in a direction perpendicular to the paper surface of FIG. Further, a placement reading contact glass 12 having a transparent plate shape is disposed on the right side of the upper surface of the image reading unit 1 in a direction perpendicular to the paper surface. The placement reading contact glass 12 is provided on the upper surface of the image reading unit 1. When reading a document d such as a book one by one, the document transport unit 2 is lifted and the document d is placed with the reading surface facing downward.

又、図2に示すように、画像読取部1の筐体内に、各コンタクトガラスや原稿dを読み取るための読取機構6として、第1移動枠61、第2移動枠62、ワイヤー63、巻取ドラム64、巻取モーター65(図7参照)、レンズ66と、主走査方向で原稿dに光を照射するランプ67(例えば、LEDや冷陰極管など)と、原稿dに照射された光が入射され、1ライン毎に原稿dを読み取り、画像データを生成するためのイメージセンサー68が設けられる。イメージセンサー68は、原稿dの反射光を元に、1ライン毎に原稿dを読み取る。言い換えると、画像読取部1は、読取機構を含む。   Further, as shown in FIG. 2, a reading mechanism 6 for reading each contact glass and document d in the housing of the image reading unit 1 includes a first moving frame 61, a second moving frame 62, a wire 63, a winding. A drum 64, a take-up motor 65 (see FIG. 7), a lens 66, a lamp 67 (for example, an LED or a cold cathode tube) that irradiates light on the original d in the main scanning direction, and light applied to the original d. An image sensor 68 is provided for reading the original d for each line and generating image data. The image sensor 68 reads the document d line by line based on the reflected light of the document d. In other words, the image reading unit 1 includes a reading mechanism.

第1移動枠61は、上方に光を照射するランプ67と第1ミラー611を支持する。第2移動枠62は、第2ミラー622と第3ミラー623を支持する。又、第1移動枠61は第2移動枠62の上方に配される。又、ランプ67と各ミラーは、図2の紙面垂直方向に延びる形状である。   The first moving frame 61 supports a lamp 67 and a first mirror 611 that emit light upward. The second moving frame 62 supports the second mirror 622 and the third mirror 623. Further, the first moving frame 61 is disposed above the second moving frame 62. The lamp 67 and each mirror have a shape extending in the direction perpendicular to the paper surface of FIG.

この第1移動枠61及び第2移動枠62には、複数本のワイヤー63が取り付けられる(図2では、便宜上1本のみ図示)。ワイヤー63の他端は、巻取ドラム64に接続され、巻取モーター65(図8参照)を駆動源として、巻取ドラム64が正逆回転する。これにより、第1移動枠61と第2移動枠62は水平方向に自在に移動する。   A plurality of wires 63 are attached to the first moving frame 61 and the second moving frame 62 (only one is shown in FIG. 2 for convenience). The other end of the wire 63 is connected to a take-up drum 64, and the take-up drum 64 rotates forward and backward using a take-up motor 65 (see FIG. 8) as a drive source. Thereby, the 1st moving frame 61 and the 2nd moving frame 62 move freely in a horizontal direction.

ランプ67から搬送読取用コンタクトガラス11や載置読取用コンタクトガラス12の上方に向けて光が照射される。原稿dや原稿搬送部2の下面2eの反射光を、第1ミラー611、第2ミラー622、第3ミラー623で反射させて、レンズ66に導く。レンズ66は、反射光を集光し、イメージセンサー68に入射する。   Light is emitted from the lamp 67 toward the upper side of the conveyance reading contact glass 11 and the placement reading contact glass 12. The reflected light from the document d and the lower surface 2 e of the document transport unit 2 is reflected by the first mirror 611, the second mirror 622, and the third mirror 623 and guided to the lens 66. The lens 66 collects the reflected light and enters the image sensor 68.

イメージセンサー68は、例えば、複数の受光素子(光電変換素子)をR、G、Bの3つのライン状に並べたCCD(Charge Coupled Device)方式のラインセンサーである。そして、イメージセンサー68は、反射光を画像濃度(反射光の強度)に応じたアナログの電気信号に変換する。   The image sensor 68 is, for example, a CCD (Charge Coupled Device) type line sensor in which a plurality of light receiving elements (photoelectric conversion elements) are arranged in three R, G, and B lines. The image sensor 68 converts the reflected light into an analog electrical signal corresponding to the image density (the intensity of the reflected light).

ここで、具体的な原稿読取動作の一例を説明しておく。まず、原稿搬送部2により搬送される原稿dの読取の場合、巻取モーター65が駆動した後、第1移動枠61は、搬送読取用コンタクトガラス11の下方位置(読み取り位置)に固定される。そして、通過する原稿dに対し、ランプ67は光を照射する。一方、載置読取用コンタクトガラス12上に載置された原稿dを読み取るとき、第1移動枠61及び第2移動枠62を巻取ドラム64やワイヤー63等により、ホームポジションから図2の右方向に水平に移動させる。   Here, an example of a specific document reading operation will be described. First, in the case of reading the document d transported by the document transport unit 2, the first moving frame 61 is fixed to a lower position (reading position) of the transport reading contact glass 11 after the winding motor 65 is driven. . The lamp 67 irradiates the passing document d. On the other hand, when reading the document d placed on the placement reading contact glass 12, the first moving frame 61 and the second moving frame 62 are moved from the home position to the right of FIG. Move horizontally in the direction.

そして、この原稿dの主走査方向(原稿搬送方向と垂直な方向)に対するライン単位で読取が行われ、ライン単位の読取が副走査方向(原稿搬送方向)に連続して繰り返し行われることで、原稿画像が電気信号に変換され、1枚の原稿dが読み取られる。載置読取用コンタクトガラス12に載置された原稿dの読み取りの場合、ライン単位の読取動作(ランプ67の照射位置の移動)を、載置読取用コンタクトガラス12の左側端部から原稿d端部まで、順次連続的に行うことで、1枚の原稿全体が読み取られる。   Then, reading is performed in line units with respect to the main scanning direction (direction perpendicular to the document conveyance direction) of the document d, and reading in line units is continuously performed in the sub-scanning direction (document conveyance direction). The original image is converted into an electric signal, and one original d is read. When reading the document d placed on the placement reading contact glass 12, a line-by-line reading operation (movement of the irradiation position of the lamp 67) is performed from the left end of the placement reading contact glass 12 to the end of the document d. The entire original is read by sequentially performing up to the copy.

(原稿搬送部2の開閉と開閉検知)
次に、図3乃至図5に基づき、カバー部としての原稿搬送部2の開閉とその開閉検知を説明する。図3は、原稿搬送部2を開けた状態を示す図である。尚、図3では画像読取装置100以外の図示は省略している。又、図4は、原稿搬送部2を開けた状態を示す図である。図5は、原稿搬送部2を閉じている途中の状態を示す図である。
(Opening / closing and opening / closing detection of the document conveying unit 2)
Next, the opening and closing of the document conveying unit 2 as the cover unit and the opening and closing detection will be described with reference to FIGS. FIG. 3 is a diagram illustrating a state in which the document conveying unit 2 is opened. In FIG. 3, illustrations other than the image reading apparatus 100 are omitted. FIG. 4 is a diagram showing a state in which the document conveying unit 2 is opened. FIG. 5 is a diagram illustrating a state in the middle of closing the document conveying unit 2.

原稿搬送部2は、画像読取部1の本体背面側の辺に沿って設けられた2箇所の回転軸2aを中心として、支持部材2bに回動自在に取り付けられる。これにより、原稿搬送部2は、画像読取装置100の正面側を自由端として、正面側の上下を振るようにして回転(回動)し、画像読取部1の上面に対して開、閉両様の姿勢をとり得る。   The document conveying unit 2 is rotatably attached to the support member 2b around two rotation shafts 2a provided along the side of the image reading unit 1 on the back side of the main body. Thereby, the document conveying unit 2 rotates (rotates) with the front side of the image reading apparatus 100 as a free end and swings up and down on the front side, and opens and closes with respect to the upper surface of the image reading unit 1. Can take the attitude.

原稿搬送部2を閉じたときに搬送読取用コンタクトガラス11に対向する原稿搬送部2の下面2eには、白色ガイド板2cが設けられる。白色ガイド板2cは、搬送読取用コンタクトガラス11をカバーする位置及び大きさである。原稿搬送部2を閉じた時、白色ガイド板2cと搬送読取用コンタクトガラス11の間には、隙間が形成され、搬送される原稿dが通過する経路となる。   A white guide plate 2 c is provided on the lower surface 2 e of the document conveying unit 2 that faces the conveyance reading contact glass 11 when the document conveying unit 2 is closed. The white guide plate 2 c has a position and a size that cover the conveyance reading contact glass 11. When the document conveying section 2 is closed, a gap is formed between the white guide plate 2c and the conveyance reading contact glass 11, which becomes a path through which the conveyed document d passes.

又、原稿搬送部2を閉じた時、原稿搬送部2の下面2eであって、載置読取用コンタクトガラス12に対向する面の位置には、白色マット2dが設けられる。白色マット2dは、載置読取用コンタクトガラス12をカバーする位置及び大きさである。言い換えると、原稿搬送部2を完全に閉じたとき、白色マット2dは、載置読取用コンタクトガラス12を上方から覆う。そして、原稿搬送部2を閉じた時、白色マット2dは、原稿dや載置読取用コンタクトガラス12を抑え、原稿dを移動しないように保持する。   A white mat 2d is provided at the position of the lower surface 2e of the document conveying unit 2 when the document conveying unit 2 is closed and facing the placement reading contact glass 12. The white mat 2d has a position and size covering the placement reading contact glass 12. In other words, when the document conveying unit 2 is completely closed, the white mat 2d covers the placement reading contact glass 12 from above. When the document conveying unit 2 is closed, the white mat 2d holds the document d so as not to move by suppressing the document d and the placement reading contact glass 12.

又、図3乃至図5に示すように、画像読取部1には、原稿搬送部2の2箇所の回転軸2aの間に、開閉検知部7が設けられる。開閉検知部7は、当接部71、透過型光センサー72、当接部71を上方に付勢するばね73などを含む。   Further, as shown in FIGS. 3 to 5, the image reading unit 1 is provided with an open / close detection unit 7 between the two rotating shafts 2 a of the document conveying unit 2. The open / close detection unit 7 includes a contact portion 71, a transmissive optical sensor 72, a spring 73 that biases the contact portion 71 upward.

本実施形態の当接部71は、樹脂製(プラスチック製)である。そして、図4、図5に示すように、当接部71は、上下方向に延びる棒状の部材である。当接部71は、原稿搬送部2が開けられている度合いに応じて、上下方向にスライドする(移動する)。具体的に、原稿搬送部2が開けられるに従い、ばね73に付勢されることにより、当接部71を上方に移動し、画像読取部1の上面から突出する。一方、原稿搬送部2が閉じられる途中で、当接部71の上端部71uは、原稿搬送部2の下面2eに接触する。そして、原稿搬送部2が倒されるほど、当接部71は下方に押し込まれる。   The contact portion 71 of this embodiment is made of resin (plastic). As shown in FIGS. 4 and 5, the contact portion 71 is a rod-like member extending in the vertical direction. The abutting portion 71 slides (moves) in the vertical direction according to the degree to which the document conveying portion 2 is opened. Specifically, as the document conveyance unit 2 is opened, the contact portion 71 is moved upward and protrudes from the upper surface of the image reading unit 1 by being biased by the spring 73. On the other hand, the upper end portion 71 u of the contact portion 71 contacts the lower surface 2 e of the document conveying portion 2 while the document conveying portion 2 is being closed. The abutting portion 71 is pushed downward as the document conveying portion 2 is tilted.

又、当接部71の下端部に、センサー干渉部71bが設けられる。透過型光センサー72は、当接部71(の下端部のセンサー干渉部71b)が予め定められた位置、及び、予め定められた位置よりも下方に到達したことを検知するために利用される。言い換えると、開閉検知部7の透過型光センサー72は、原稿搬送部2が予め定められた角度よりも閉じられたことを検知する。透過型光センサー72は、下降時の当接部71(センサー干渉部71b)の近傍に備えられる。透過型光センサー72は、当接部71(センサー干渉部71b)を挟むように設けられた発光部と受光部(図示せず)を備える。   A sensor interference part 71 b is provided at the lower end of the contact part 71. The transmissive optical sensor 72 is used to detect that the contact portion 71 (the sensor interference portion 71b at the lower end thereof) has reached a predetermined position and below a predetermined position. . In other words, the transmissive optical sensor 72 of the open / close detection unit 7 detects that the document conveying unit 2 is closed more than a predetermined angle. The transmissive optical sensor 72 is provided in the vicinity of the contact portion 71 (sensor interference portion 71b) when lowered. The transmissive optical sensor 72 includes a light emitting part and a light receiving part (not shown) provided so as to sandwich the contact part 71 (sensor interference part 71b).

尚、ばね73は、当接部71(下端部)の下方に設けられる。ばね73は、例えば、コイルばねである。又、ばね73は、原稿搬送部2の開状態で、当接部71が画像読取部1の上面から完全に飛び出さず、センサー干渉部71bが透過型光センサー72の光路の上方にくる(光路を遮らない)程度に、当接部71を上方に付勢する。   The spring 73 is provided below the contact portion 71 (lower end portion). The spring 73 is, for example, a coil spring. Further, the spring 73 is in the open state of the document conveying section 2, the contact section 71 does not completely protrude from the upper surface of the image reading section 1, and the sensor interference section 71 b comes above the optical path of the transmissive optical sensor 72 ( The contact portion 71 is urged upward so as not to block the optical path.

原稿搬送部2が閉じられる途中で、原稿搬送部2の下面2eと当接部71が接し、当接部71が押し込まれ、当接部71(センサー干渉部71b)が下降し始めると、センサー干渉部71bは、透過型光センサー72の発光部と受光部との間の光路を遮り始める。又、センサー干渉部71b(当接部71)の予め定められた位置は、発光部からの光がセンサー干渉部71bに遮られることにより、受光部の出力値が基準値以下となる位置とされる。当接部71(センサー干渉部71b)の位置が予め定められた位置や予め定められた位置よりも下方となる位置まで原稿搬送部2が倒されている(閉じられている)間、センサー干渉部71bは、透過型光センサー72の発光部と受光部との間の光路を遮り続ける。   While the document conveying unit 2 is being closed, the lower surface 2e of the document conveying unit 2 comes into contact with the contact portion 71, the contact portion 71 is pushed in, and the contact portion 71 (sensor interference unit 71b) starts to descend. The interference unit 71b starts to block the optical path between the light emitting unit and the light receiving unit of the transmissive optical sensor 72. The predetermined position of the sensor interference part 71b (contact part 71) is a position where the output value of the light receiving part is equal to or less than the reference value when light from the light emitting part is blocked by the sensor interference part 71b. The While the document conveying section 2 is tilted (closed) to a position where the position of the contact portion 71 (sensor interference portion 71b) is a predetermined position or a position below the predetermined position, sensor interference The unit 71b continues to block the optical path between the light emitting unit and the light receiving unit of the transmissive optical sensor 72.

又、原稿搬送部2が開けられる動作のときには、原稿搬送部2が開けられるに伴い、当接部71がばね73に付勢されて上方に突出することにより、当接部71(センサー干渉部71b)の位置が予め定められた位置よりも上方に移動するほど原稿搬送部2が持ち上げられたことを検知することができる。   Further, when the document conveying unit 2 is opened, as the document conveying unit 2 is opened, the contact portion 71 is biased by the spring 73 and protrudes upward, so that the contact portion 71 (sensor interference portion). It can be detected that the document conveying section 2 is lifted as the position 71b) moves upward from a predetermined position.

そして、本実施形態の複合機200では、当接部71(センサー干渉部71b)の位置が予め定められた位置まで原稿搬送部2が閉じられた(受光部の出力値が基準値以下となった)旨の開閉検知部7からの出力信号が、トリガーとなって、原稿サイズ検知のためのプレスキャンが行われる。言い換えると、開けられていた原稿搬送部2を閉じる途中で、当接部71の下端部の位置が予め定められた位置に到るまで当接部71が押し込まれたとき(当接部71の押し込み量が所定量を超えたとき)、原稿サイズ検知のための載置読取用コンタクトガラス12の読み取りが実行される。   In the MFP 200 of the present embodiment, the document conveying unit 2 is closed to a position where the position of the abutting unit 71 (sensor interference unit 71b) is determined in advance (the output value of the light receiving unit is equal to or less than the reference value). The output signal from the open / close detection unit 7 to the effect serves as a trigger to perform pre-scan for document size detection. In other words, when the abutting portion 71 is pushed in until the position of the lower end portion of the abutting portion 71 reaches a predetermined position in the middle of closing the opened document conveying portion 2 (of the abutting portion 71). When the pressing amount exceeds a predetermined amount), reading of the placement reading contact glass 12 for document size detection is executed.

(複合機200のハードウェア構成)
次に、図6に基づき実施形態に係る複合機200のハードウェア構成の一例を説明する。図6は、複合機200の構成を示すブロック図である。
(Hardware configuration of MFP 200)
Next, an example of a hardware configuration of the multifunction machine 200 according to the embodiment will be described with reference to FIG. FIG. 6 is a block diagram illustrating a configuration of the multifunction device 200.

複合機200の全体的な制御を行う主制御部8が設けられる。主制御部8には、中央演算処理装置として、CPU81が設けられる。又、RAM(Random Access Memory)やROM(Read Only Memory)やHDD(Hard disk drive)やフラッシュROM等の不揮発性と揮発性のメモリからなる記憶部82が、主制御部8内(主制御部8外でもよい)に設けられる。   A main control unit 8 that performs overall control of the multifunction device 200 is provided. The main control unit 8 is provided with a CPU 81 as a central processing unit. In addition, a storage unit 82 composed of nonvolatile and volatile memories such as a random access memory (RAM), a read only memory (ROM), a hard disk drive (HDD), and a flash ROM is provided in the main control unit 8 (main control unit). 8 may be provided).

記憶部82は、複合機200を制御するためのプログラム、データ等を記憶する。主制御部8は、記憶部82のプログラムやデータを利用して、各部を制御し、印刷を行わせる。尚、主制御部8は、全体制御や通信制御や画像処理を行うメイン制御部や、画像形成や各種回転体を回転させるモーター等のON/OFF等を行い、印刷を制御するエンジン制御部等、機能ごとに分割して複数種設けられてもよい。又、主制御部8には、画像読取装置100内に設けられる第1画像処理部9(詳細は後述)が処理した画像データに基づき、印刷や送信のための画像処理を行う第2画像処理部83が設けられる。   The storage unit 82 stores programs, data, and the like for controlling the multifunction device 200. The main control unit 8 uses the program and data stored in the storage unit 82 to control each unit and perform printing. The main control unit 8 includes a main control unit that performs overall control, communication control, and image processing, an engine control unit that controls printing by performing ON / OFF of a motor that rotates an image forming and various rotating bodies, and the like. A plurality of types may be provided for each function. The main control unit 8 also includes a second image processing for performing image processing for printing and transmission based on image data processed by a first image processing unit 9 (details will be described later) provided in the image reading apparatus 100. A portion 83 is provided.

そして、主制御部8は、給紙部4a、搬送部4b、画像形成部5a、中間転写部5b、定着部5c、操作パネル3等と接続される。主制御部8は、用紙搬送やトナー像形成等、各部の動作制御を行う。又、操作パネル3での使用者の設定入力内容やジョブの実行指示は、主制御部8に伝達される。又、主制御部8は、画像読取装置100とも接続され、画像読取装置100に対して動作指示を与える。そして、主制御部8は、原稿dの画像データを受け取り、画像データに基づき印刷を行わせる(コピー機能)。又、主制御部8は、原稿dの画像データを通信部84から外部のコンピューター300に送信することや、コンピューター300から受信したデータに基づき印刷を行わせることができる(送信機能、プリンター機能)。   The main control unit 8 is connected to the sheet feeding unit 4a, the conveyance unit 4b, the image forming unit 5a, the intermediate transfer unit 5b, the fixing unit 5c, the operation panel 3, and the like. The main control unit 8 controls the operation of each unit such as paper conveyance and toner image formation. In addition, user setting input contents and job execution instructions on the operation panel 3 are transmitted to the main control unit 8. The main control unit 8 is also connected to the image reading apparatus 100 and gives an operation instruction to the image reading apparatus 100. Then, the main control unit 8 receives the image data of the document d, and performs printing based on the image data (copy function). Further, the main control unit 8 can transmit the image data of the document d from the communication unit 84 to the external computer 300, and can perform printing based on the data received from the computer 300 (transmission function, printer function). .

(画像読取装置100のハードウェア構成)
次に、図7に基づき、実施形態に係る画像読取装置100のハードウェア構成の一例を説明する。図7は、画像読取装置100の構成を示すブロック図である。
(Hardware configuration of image reading apparatus 100)
Next, an example of a hardware configuration of the image reading apparatus 100 according to the embodiment will be described with reference to FIG. FIG. 7 is a block diagram illustrating a configuration of the image reading apparatus 100.

本実施形態の画像読取装置100は、原稿搬送部2と画像読取部1を含む。原稿搬送部2には、原稿搬送部2の動作の制御を行う原稿搬送制御部20が設けられる。又、画像読取部1には、画像読取部1の動作の制御を行う読取制御部10(検知処理部に相当)が設けられる。   The image reading apparatus 100 according to the present embodiment includes a document conveying unit 2 and an image reading unit 1. The document transport unit 2 is provided with a document transport control unit 20 that controls the operation of the document transport unit 2. The image reading unit 1 is provided with a reading control unit 10 (corresponding to a detection processing unit) that controls the operation of the image reading unit 1.

まず、原稿搬送制御部20を説明する。原稿搬送制御部20は、主制御部8や読取制御部10と通信可能に接続される。原稿搬送制御部20は、主制御部8や読取制御部10からの指示、信号を受け原稿搬送部2の動作制御を行う。原稿搬送制御部20は、CPUのような演算処理回路や、制御用のプログラムやデータを記憶する記憶装置としてのROMやRAMを含む基板である。   First, the document conveyance control unit 20 will be described. The document conveyance control unit 20 is communicably connected to the main control unit 8 and the reading control unit 10. The document conveyance control unit 20 controls the operation of the document conveyance unit 2 in response to instructions and signals from the main control unit 8 and the reading control unit 10. The document conveyance control unit 20 is a substrate including an arithmetic processing circuit such as a CPU and a ROM or RAM as a storage device for storing control programs and data.

原稿搬送制御部20は、主制御部8や読取制御部10と通信を行い、主制御部8や読取制御部10の指示を受け、原稿搬送部2の動作制御を行う。主制御部8から原稿dの読取指示があった場合、原稿dが原稿トレイ21に載置されていると、原稿搬送モーター23を駆動させ、原稿dを搬送する回転体(例えば、原稿供給ローラー22)を回転させる。尚、原稿トレイ21に原稿dが載置されているか否かを検知するために、原稿トレイセンサー24が原稿トレイ21に設けられる。   The document conveyance control unit 20 communicates with the main control unit 8 and the reading control unit 10, receives instructions from the main control unit 8 and the reading control unit 10, and controls the operation of the document conveyance unit 2. When there is an instruction to read the document d from the main control unit 8, when the document d is placed on the document tray 21, the document transport motor 23 is driven to rotate the document d (for example, a document supply roller). 22) is rotated. A document tray sensor 24 is provided on the document tray 21 in order to detect whether or not the document d is placed on the document tray 21.

原稿トレイセンサー24は、原稿dが原稿トレイ21に載置されているときと載置されていないときで出力が異なるセンサー(例えば、光センサー)である。原稿トレイセンサー24の出力に基づき、原稿搬送制御部20や読取制御部10は、原稿トレイ21に原稿dが載置されているか否か、搬送される原稿dを読み取るか載置読取用コンタクトガラス12上を読み取るかを判断する。   The document tray sensor 24 is a sensor (for example, an optical sensor) that outputs differently when the document d is placed on the document tray 21 and when it is not placed. Based on the output of the document tray sensor 24, the document conveyance control unit 20 and the reading control unit 10 read whether the document d is placed on the document tray 21, read the conveyed document d, or place reading contact glass. 12 is read.

次に、画像読取部1と読取制御部10を説明する。読取制御部10は、主制御部8や原稿搬送制御部20と通信可能に接続される。そして、読取制御部10は、主制御部8からの指示、信号を受け、画像読取部1の動作制御を行う。読取制御部10も、CPUのような演算処理回路を含む制御回路101や、画像読取装置100の制御に必要なプログラム、データを記憶する記憶装置としてのROM、RAMを含むメモリー102が設けられた基板である。   Next, the image reading unit 1 and the reading control unit 10 will be described. The reading control unit 10 is communicably connected to the main control unit 8 and the document conveyance control unit 20. The reading control unit 10 receives instructions and signals from the main control unit 8 and controls the operation of the image reading unit 1. The reading control unit 10 is also provided with a control circuit 101 including an arithmetic processing circuit such as a CPU, a ROM 102 as a storage device for storing programs and data necessary for controlling the image reading apparatus 100, and a memory 102 including a RAM. It is a substrate.

そして、コピーのような原稿読み取りを行うジョブの設定後、操作パネル3のスタートキー32が押されたとき、読取制御部10は、主制御部8から原稿読み取りの実行指示を受け、画像読取装置100の原稿読み取りの動作制御や、読取で得られた画像データの主制御部8への送信制御を行う。   When the start key 32 of the operation panel 3 is pressed after setting a job for reading a document such as a copy, the reading control unit 10 receives an instruction to read the document from the main control unit 8 and receives the image reading device. Operation control of 100 original reading and transmission control of image data obtained by reading to the main control unit 8 are performed.

具体的に、読取制御部10には、巻取モーター65が接続される。読取制御部10は、巻取モーター65の回転を制御する。そして、読取制御部10は、巻取ドラム64を回転させ、各移動枠の移動を制御する。搬送読取用コンタクトガラス11を通過する原稿dの読み取りを行うとき、読取制御部10は、巻取モーター65を回転させ、各移動枠を搬送読取用コンタクトガラス11の下方に移動させる。又、載置読取用コンタクトガラス12上の原稿読取を行うとき、読取制御部10は、巻取モーター65を回転させ、基準点Pから副走査方向(画像読取装置100の右方向)に各移動枠を移動させる。   Specifically, a winding motor 65 is connected to the reading control unit 10. The reading control unit 10 controls the rotation of the winding motor 65. And the reading control part 10 rotates the winding drum 64, and controls the movement of each moving frame. When reading the document d passing through the conveyance reading contact glass 11, the reading control unit 10 rotates the take-up motor 65 to move each moving frame below the conveyance reading contact glass 11. Further, when reading a document on the placement reading contact glass 12, the reading control unit 10 rotates the winding motor 65 to move each of the reference scanning point P in the sub-scanning direction (right direction of the image reading apparatus 100). Move the frame.

又、読取制御部10は、開閉検知部7と接続される。そして、読取制御部10には、開閉検知部7(の受光部)の出力値(出力電圧又は出力電流)が入力される。開閉検知部7の出力に基づき、読取制御部10は、当接部71(センサー干渉部71b)の位置が予め定められた位置に到るほど当接部71が押し込められた(原稿搬送部2が倒された)ことや、当接部71(センサー干渉部71b)が予め定められた位置よりも上方となるほど原稿搬送部2が持ち上げられたこと認識する。   The reading control unit 10 is connected to the open / close detection unit 7. An output value (output voltage or output current) of the open / close detection unit 7 (the light receiving unit) is input to the reading control unit 10. Based on the output of the open / close detection unit 7, the reading control unit 10 pushes the contact unit 71 as the position of the contact unit 71 (sensor interference unit 71b) reaches a predetermined position (document conveying unit 2). It is recognized that the document conveying section 2 has been lifted as the abutting portion 71 (sensor interference portion 71b) moves above a predetermined position.

又、読取制御部10は、各原稿検知センサー14と接続される(図8参照)。そして、読取制御部10は、各原稿検知センサー14の出力に基づき、載置読取用コンタクトガラス12に載置された原稿dの副走査方向での長さを検知する。   The reading control unit 10 is connected to each document detection sensor 14 (see FIG. 8). The reading control unit 10 detects the length in the sub-scanning direction of the document d placed on the placement reading contact glass 12 based on the output of each document detection sensor 14.

又、読取制御部10は、ランプ67やイメージセンサー68や第1画像処理部9などと接続され、原稿dの読み取りを行うべき旨の指示、言い換えると、駆動すべき旨の指示を与える。   The reading control unit 10 is connected to the lamp 67, the image sensor 68, the first image processing unit 9, and the like, and gives an instruction to read the document d, in other words, an instruction to drive.

まず、ランプ67は、redやgreenやblueのLEDを含むLEDランプである。読取制御部10は、読み取りを行うとき(ラインセンサーに読み取りを行わせるとき)ランプ67を点灯させる。又、読取制御部10は、読み取りが終了すると、ランプ67を消灯させる。   First, the lamp 67 is an LED lamp including red, green, and blue LEDs. The reading control unit 10 turns on the lamp 67 when performing reading (when causing the line sensor to perform reading). Further, the reading control unit 10 turns off the lamp 67 when the reading is completed.

イメージセンサー68は、原稿dに照射された光を受け、各画素についてR、G、Bの3種のアナログの電気信号を出力する。電気信号の大きさは、受光量に応じ異なる。読取制御部10は、イメージセンサー68の駆動を制御する。   The image sensor 68 receives light applied to the document d, and outputs three types of analog electrical signals of R, G, and B for each pixel. The magnitude of the electrical signal varies depending on the amount of received light. The reading control unit 10 controls driving of the image sensor 68.

第1画像処理部9は、イメージセンサー68の各画素から出力される電気信号を処理して、画像データを生成する部分である。読取制御部10は、読み取りを行うとき、第1画像処理部9を動作させる。   The first image processing unit 9 is a part that processes image signals output from the pixels of the image sensor 68 to generate image data. The reading control unit 10 operates the first image processing unit 9 when performing reading.

第1画像処理部9は、ワークメモリー91やA/D変換部92や補正処理部93などの回路を含む。ワークメモリー91は、画像データの処理のための作業領域である。A/D変換部92は、イメージセンサー68によって得られた各画素のアナログの電気信号の量子化を行い、ディジタル信号に変換する。例えば、A/D変換部92は、R、G、Bについてそれぞれ8〜10ビット(計24〜30ビット)に量子化を行う。補正処理部93は、画像データに対し、ガンマ補正やシェーディング補正等、ランプ67やイメージセンサー68等の特性に由来する歪みを補正する。   The first image processing unit 9 includes circuits such as a work memory 91, an A / D conversion unit 92, and a correction processing unit 93. The work memory 91 is a work area for processing image data. The A / D converter 92 quantizes the analog electrical signal of each pixel obtained by the image sensor 68 and converts it into a digital signal. For example, the A / D conversion unit 92 quantizes R, G, and B to 8 to 10 bits (24 to 30 bits in total). The correction processing unit 93 corrects distortion derived from characteristics of the lamp 67, the image sensor 68, and the like, such as gamma correction and shading correction, for the image data.

そして、第1画像処理部9によって処理された画像データは、画像メモリー94に蓄えられた後、主制御部8に転送される。更に、第2画像処理部83が画像処理を施した後、例えば、画像データが露光装置51に与えられる。   The image data processed by the first image processing unit 9 is stored in the image memory 94 and then transferred to the main control unit 8. Further, after the second image processing unit 83 performs image processing, for example, image data is given to the exposure device 51.

尚、本実施形態では、第1画像処理部9を画像読取部1に、第2画像処理部83を主制御部8に設ける例を説明するが、例えば、画像処理部を1つだけ設け、1つだけ設けた画像処理部に、本説明での第1画像処理部9の処理と第2画像処理部83の処理を行わせるようにしてもよい。言い換えると、画像処理部を1つだけ設けるようにしてもよい。   In this embodiment, an example in which the first image processing unit 9 is provided in the image reading unit 1 and the second image processing unit 83 is provided in the main control unit 8 will be described. For example, only one image processing unit is provided, Only one image processing unit may be configured to perform the processing of the first image processing unit 9 and the processing of the second image processing unit 83 in this description. In other words, only one image processing unit may be provided.

(原稿サイズ検知の概要)
次に、図7、図8に基づき、実施形態に係る画像読取装置100での原稿サイズ検知の概要を説明する。図8は、画像読取部1を上方からみた状態を示す図である。
(Outline of document size detection)
Next, an outline of document size detection in the image reading apparatus 100 according to the embodiment will be described with reference to FIGS. FIG. 8 is a diagram illustrating a state in which the image reading unit 1 is viewed from above.

使用者は、読み取る面を下向きにし、載置読取用コンタクトガラス12に原稿dを載置する。本実施形態の複合機200では、複合機200を上方からみて、載置読取用コンタクトガラス12の左上隅が基準点Pである。使用者は、この基準点Pに原稿dの左上隅をあわせ原稿dを載置する。   The user places the document d on the placement reading contact glass 12 with the reading surface facing downward. In the multifunction device 200 of the present embodiment, the upper left corner of the placement reading contact glass 12 is the reference point P when the multifunction device 200 is viewed from above. The user places the original d by aligning the upper left corner of the original d with the reference point P.

そして、本実施形態の複合機200では、載置読取用コンタクトガラス12に載置された原稿dの主走査方向の長さは、原稿dの左端の一部を読み取ることで検知される。   In the MFP 200 of the present embodiment, the length in the main scanning direction of the document d placed on the placement reading contact glass 12 is detected by reading a part of the left end of the document d.

具体的に、当接部71(センサー干渉部71b)の位置が予め定められた位置に到るほど原稿搬送部2が閉じられた(受光部の出力値が基準値以下となった)旨の開閉検知部7からの出力信号が読取制御部10に入力されると、読取制御部10は、その信号をトリガーとして、原稿サイズ検知のための読み取りを読取機構6に行わせる。言い換えると、読取制御部10は、原稿搬送部2が完全に閉じられる前に、載置読取用コンタクトガラス12を読み取らせる。   Specifically, as the position of the contact portion 71 (sensor interference portion 71b) reaches a predetermined position, the document conveying portion 2 is closed (the output value of the light receiving portion is equal to or less than the reference value). When an output signal from the open / close detection unit 7 is input to the reading control unit 10, the reading control unit 10 causes the reading mechanism 6 to perform reading for document size detection using the signal as a trigger. In other words, the reading control unit 10 causes the placement reading contact glass 12 to be read before the document conveying unit 2 is completely closed.

ここで、読取制御部10内に、原稿dの主走査方向のサイズ検知のため、境界検知部103が設けられる。境界検知部103は、主走査方向での原稿サイズの検知処理を行うための回路である。尚、境界検知部103は、読取制御部10の制御回路101やプログラムによりソフトウェア的に実現されてもよいし、第1画像処理部9内に設けられてもよい。   Here, a boundary detection unit 103 is provided in the reading control unit 10 to detect the size of the document d in the main scanning direction. The boundary detection unit 103 is a circuit for performing document size detection processing in the main scanning direction. The boundary detection unit 103 may be realized by software by the control circuit 101 of the reading control unit 10 or a program, or may be provided in the first image processing unit 9.

境界検知部103は、原稿サイズ検知のために載置読取用コンタクトガラス12の左端部分を読み取ることで得られた画像データ(以下、「検知読取画像データ」と称する)に含まれる各画素の画素値と、予め定められた閾値t1を比較して、1ラインの検知読取画像データのうち、原稿dがある部分を読み取った画素部分と原稿dの無い部分を読み取った画素部分の境界位置を検知する。尚、現在の閾値t1は、メモリー102などの記憶装置にデータとして不揮発的に記憶されている。   The boundary detection unit 103 is a pixel of each pixel included in image data (hereinafter referred to as “detected read image data”) obtained by reading the left end portion of the placement reading contact glass 12 for document size detection. The threshold value t1 is compared with a predetermined threshold value t1 to detect the boundary position between the pixel portion that reads the portion with the document d and the pixel portion that reads the portion without the document d in one line of the detected read image data To do. Note that the current threshold value t1 is stored in a nonvolatile manner as data in a storage device such as the memory 102.

具体的に、境界検知部103は、検知読取画像データとして得られたR、G、Bの画像データから白黒合成した1ライン分の画像データ(R、G、Bの画像データから作成した輝度情報を示すデータ)に対し境界検知処理を行う。尚、境界検知部103は、R、G、Bのうち何れかの色の1ライン分の画像データに対し境界検知処理を行ってもよい。又、境界検知部103は、白黒合成され、更にエッジ処理を施した1ライン分の画像データに対し境界検知を行ってもよい。そのため、読取制御部10又は第1画像処理部9には、R、G、Bの各色の画像データから白黒の画像データを生成する合成処理部104や、白黒合成された画像データに対し、微分フィルタ処理を施すエッジ処理部105が設けられてもよい。   Specifically, the boundary detecting unit 103 performs image data for one line obtained by black and white synthesis from R, G, and B image data obtained as detected read image data (luminance information created from R, G, and B image data). Boundary detection processing is performed on the data. Note that the boundary detection unit 103 may perform boundary detection processing on image data for one line of any color of R, G, and B. Further, the boundary detection unit 103 may perform boundary detection on image data for one line that has been subjected to black and white synthesis and further subjected to edge processing. For this reason, the reading control unit 10 or the first image processing unit 9 includes a synthesis processing unit 104 that generates black and white image data from R, G, and B color image data, An edge processing unit 105 that performs filter processing may be provided.

そして、境界検知部103は、検知読取データのうち、原稿dがある部分を読み取ったことにより閾値t1よりもよりも明るい画素値の画素の領域(載置された原稿dを読み取った範囲)と、原稿dがない部分を読み取ったことにより閾値t1よりも暗い画素値の画素の領域(原稿dがない部分の載置読取用コンタクトガラス12を読み取った範囲)との境界位置を認識する。これは、原稿搬送部2が閉じきっていない状態での読み取りでは、原稿dが存在しない部分の光は反射されず外部に漏れ出す。これにより、原稿dが存在しない部分の画素は、原稿dが存在する部分の画素よりも暗い画素値となる。   Then, the boundary detection unit 103 reads a pixel area of the detected read data that has a pixel value brighter than the threshold value t1 by reading a portion where the document d is present (a range in which the placed document d is read). The boundary position with the pixel region having a pixel value darker than the threshold value t1 (the range in which the placement reading contact glass 12 in the portion without the document d is read) is recognized by reading the portion without the document d. This is because, in the reading in a state where the document conveying unit 2 is not fully closed, the light of the portion where the document d does not exist is not reflected and leaks to the outside. As a result, the pixels in the portion where the document d does not exist have darker pixel values than the pixels in the portion where the document d exists.

そして、読取制御部10(制御回路101)は、検知した境界位置に基づき、載置読取用コンタクトガラス12に載置された原稿dの主走査方向のサイズ(幅)を求める。具体的に、本実施形態では、読取制御部10は、基準点Pの位置に対応する画素から境界位置までの画素数をカウントする。そして、1画素あたりの主走査方向での読取幅は読取解像度上、決まっている(解像度が600dpiならば、1画素あたり、25.4[mm]÷600≒42.3[μm])。   The reading control unit 10 (control circuit 101) obtains the size (width) in the main scanning direction of the document d placed on the placement reading contact glass 12 based on the detected boundary position. Specifically, in the present embodiment, the reading control unit 10 counts the number of pixels from the pixel corresponding to the position of the reference point P to the boundary position. The reading width in the main scanning direction per pixel is determined in terms of reading resolution (if the resolution is 600 dpi, 25.4 [mm] ÷ 600≈42.3 [μm] per pixel).

そこで、読取制御部10は、基準点Pの位置に対応する画素から境界位置までの画素数に、1画素あたりの主走査方向での読取幅を乗ずることで、原稿dの主走査方向のサイズを求める。あるいは、メモリー102に基準点Pの位置に対応する画素から境界位置までの画素数に対して、原稿dのサイズを定義したデータを格納しておき、読取制御部10は、データを参照して、原稿dの主走査方向のサイズを求めるようにしてもよい。   Accordingly, the reading control unit 10 multiplies the number of pixels from the pixel corresponding to the position of the reference point P to the boundary position by the reading width in the main scanning direction per pixel, thereby obtaining the size of the document d in the main scanning direction. Ask for. Alternatively, data defining the size of the document d is stored in the memory 102 with respect to the number of pixels from the pixel corresponding to the position of the reference point P to the boundary position, and the reading control unit 10 refers to the data. The size of the document d in the main scanning direction may be obtained.

尚、本実施形態では、読取制御部10が載置読取用コンタクトガラス12に載置された原稿dの主走査方向のサイズを検知する例を説明するが、境界検知部103や閾値t1を示すデータを第1画像処理部9に持たせることにより、第1画像処理部9が原稿dの主走査方向のサイズを検知するようにしてもよい。   In the present embodiment, an example in which the reading control unit 10 detects the size of the document d placed on the placement reading contact glass 12 in the main scanning direction will be described, but the boundary detection unit 103 and the threshold value t1 are shown. By providing the first image processing unit 9 with data, the first image processing unit 9 may detect the size of the document d in the main scanning direction.

又、載置読取用コンタクトガラス12に載置された原稿dの副走査方向(主走査方向と垂直な方向)の長さは、載置読取用コンタクトガラス12の背面側の辺に沿って設けられた複数個の原稿検知センサー14を用いて検知される(図8参照)。原稿検知センサー14は、反射型光センサーである。各原稿検知センサー14の出力は、後述の読取制御部10に入力される。そして、読取制御部10は、原稿dの副走査方向の長さが基準点Pから原稿dの存在を検知する原稿検知センサー14までの長さと、基準点Pから原稿dの存在を検知しない原稿検知センサー14までの長さの範囲に収まると判断する。   The length of the document d placed on the placement reading contact glass 12 in the sub-scanning direction (direction perpendicular to the main scanning direction) is provided along the back side of the placement reading contact glass 12. Detection is performed using the plurality of document detection sensors 14 (see FIG. 8). The document detection sensor 14 is a reflection type optical sensor. The output of each document detection sensor 14 is input to a reading control unit 10 described later. Then, the reading control unit 10 determines the length of the original d in the sub-scanning direction from the reference point P to the original detection sensor 14 that detects the presence of the original d, and the original that does not detect the presence of the original d from the reference point P. It is determined that the length is within the range up to the detection sensor 14.

(原稿サイズ検知のための読み取りタイミングの経時変化)
次に、図9を用いて、原稿サイズ検知のための読み取りタイミングの経時変化について説明する。図9は、当接部71の摩耗を説明するための図である。
(Change in reading timing over time for document size detection)
Next, with reference to FIG. 9, the change with time of the reading timing for detecting the document size will be described. FIG. 9 is a view for explaining the wear of the contact portion 71.

尚、図9では、画像読取装置100を簡素化して図示している。具体的に、図9では、原稿搬送部2を板状に図示している。又、画像読取部1に関して、筐体の外枠と、当接部71と、載置読取用コンタクトガラス12のみ図示している。   In FIG. 9, the image reading apparatus 100 is illustrated in a simplified manner. Specifically, in FIG. 9, the document conveying unit 2 is illustrated in a plate shape. Further, regarding the image reading unit 1, only the outer frame of the housing, the contact part 71, and the placement reading contact glass 12 are shown.

当接部71は、原稿搬送部2の下面2eの一部と接する。そのため、原稿搬送部2の開閉を繰り返すと、当接部71の上端部71uが摩耗してゆく。図9では、上方の図で当接部71が摩耗していない状態を図示し、下方の図で当接部71が摩耗している状態を図示している。   The abutting portion 71 is in contact with a part of the lower surface 2 e of the document conveying portion 2. For this reason, when the opening and closing of the document conveying unit 2 is repeated, the upper end portion 71u of the contact portion 71 is worn. In FIG. 9, a state in which the contact portion 71 is not worn is illustrated in the upper view, and a state in which the contact portion 71 is worn is illustrated in the lower view.

当接部71が摩耗すると、当接部71は短くなる。当接部71の摩耗が進むほど、当接部71の下端部が予め定められた位置に到達するまで当接部71を押し込むには、原稿搬送部2を摩耗前よりも倒す必要がある。そのため、当接部71の摩耗が進むと、原稿サイズ検知のための読み取りが行われるときの載置読取用コンタクトガラス12に対する原稿搬送部2の角度は、当接部71の摩耗がないときよりも小さくなる。言い換えると、原稿サイズ検知のための読み取りが行われるときの載置読取用コンタクトガラス12と原稿搬送部2の下面2eとの距離L1が近くなる。   When the contact part 71 is worn, the contact part 71 becomes shorter. As the wear of the contact portion 71 progresses, in order to push the contact portion 71 until the lower end portion of the contact portion 71 reaches a predetermined position, it is necessary to lower the document conveying portion 2 than before the wear. Therefore, when the wear of the contact portion 71 proceeds, the angle of the document conveying portion 2 with respect to the placement reading contact glass 12 when reading for document size detection is performed is more than that when the contact portion 71 is not worn. Becomes smaller. In other words, the distance L1 between the placement reading contact glass 12 and the lower surface 2e of the document conveying unit 2 when reading for document size detection is performed becomes short.

当接部71の摩耗が進むと、原稿サイズ検知のための載置読取用コンタクトガラス12の読み取りのとき、当接部71と載置読取用コンタクトガラス12の距離L1が近くなる。そのため、当接部71の摩耗がないときよりも当接部71の摩耗の進んだときの方が、載置読取用コンタクトガラス12を透過して上方に抜けた光が原稿搬送部2の下面2eの白色マット2dで反射され、イメージセンサー68の画素(受光素子)のうち、原稿dの無い部分を読み取る画素への入射光量が増える。そのため、検知読取画像データでは、原稿dの無い部分を読み取った画素の画素値は、当接部71の摩耗がないときよりも摩耗が進んだときの方が明るくなる(白に近づく、低濃度となる)。   As wear of the contact portion 71 progresses, the distance L1 between the contact portion 71 and the placement reading contact glass 12 becomes closer when reading the placement reading contact glass 12 for document size detection. For this reason, when the wear of the contact portion 71 progresses more than when there is no wear of the contact portion 71, the light that has passed through the placement reading contact glass 12 and has passed through the upper side is lower surface of the document conveying portion 2. The amount of light incident on the pixel that is reflected by the white mat 2d of 2e and reads the portion of the image sensor 68 where the document d is not present increases. Therefore, in the sensed read image data, the pixel value of the pixel that has read the portion without the document d is brighter when the wear is advanced than when the contact portion 71 is not worn (approaching white, low density Become).

ここで、従来、境界位置確定のための閾値t1は固定である。そのため、当接部71の摩耗が進むと、検知読取画像データのうち、原稿dのある領域(載置された原稿dを読み取った範囲)と、原稿dのない領域(原稿dがない部分の載置読取用コンタクトガラス12を読み取った範囲)の境界位置を正確に検知できない場合がある。その結果、載置読取用コンタクトガラス12に載置された原稿dのサイズを正確に検知できない場合が生ずる。   Here, conventionally, the threshold value t1 for determining the boundary position is fixed. Therefore, when the wear of the abutting portion 71 progresses, in the detected read image data, a region where the document d is present (a range where the placed document d is read) and a region where the document d is not present (the portion where the document d is not present) The boundary position of the reading range contact glass 12) may not be accurately detected. As a result, the size of the document d placed on the placement reading contact glass 12 may not be detected accurately.

そこで、本実施形態の画像読取装置100では、原稿サイズ検知での境界位置確定のための閾値t1を補正する。   Therefore, the image reading apparatus 100 according to the present embodiment corrects the threshold value t1 for determining the boundary position in the document size detection.

(閾値t1の補正の流れ)
次に、図10〜図12を用いて、実施形態に係る閾値t1の補正の流れを説明する。図10は、第1の手法での閾値t1の補正の流れ示すフローチャートである。図11は、第2の手法での閾値t1の補正の流れ示すフローチャートである。図12は、第3の手法での閾値t1の補正の流れ示すフローチャートである。
(Flow of correction of threshold value t1)
Next, the flow of correction of the threshold value t1 according to the embodiment will be described with reference to FIGS. FIG. 10 is a flowchart showing a flow of correcting the threshold value t1 in the first method. FIG. 11 is a flowchart showing a flow of correcting the threshold value t1 in the second method. FIG. 12 is a flowchart showing a flow of correcting the threshold value t1 in the third method.

本実施形態の画像読取装置100では、閾値t1の補正の手法が複数用意される。何れの手法を用いるかは操作パネル3で選択することができる。言い換えると、操作パネル3は、閾値t1の補正手法やタイミングの選択を受け付ける入力部として機能する。そして、読取制御部10は、設定された手法で、閾値t1の補正を実行する。   In the image reading apparatus 100 of the present embodiment, a plurality of methods for correcting the threshold value t1 are prepared. Which method is used can be selected on the operation panel 3. In other words, the operation panel 3 functions as an input unit that receives selection of a correction method and timing of the threshold value t1. Then, the reading control unit 10 performs the correction of the threshold value t1 by the set method.

〈第1の手法〉
まず、本実施形態の画像読取装置100では、使用開始から原稿搬送部2が予め定められた回数開閉されたとき、及び、先の閾値t1補正から原稿搬送部2が予め定められた回数開閉されると、閾値t1の補正を行うことができる。この原稿搬送部2の予め定められた回数ごとの閾値t1の補正を第1の手法として、以下説明する。
<First method>
First, in the image reading apparatus 100 of the present embodiment, when the document conveying unit 2 is opened and closed a predetermined number of times from the start of use, and when the document conveying unit 2 is opened and closed a predetermined number of times from the previous threshold t1 correction. Then, the threshold value t1 can be corrected. The correction of the threshold value t1 for each predetermined number of times of the document conveying unit 2 will be described below as a first method.

ここで、「予め定められた回数」は任意に定めることができる。数十回と定めても良いし、数千回と定めても良い。本実施形態の画像読取装置100では、頻繁な閾値t1補正を避けつつ、正確な原稿dの主走査方向のサイズ検知のため、千回を想定している。尚、操作パネル3で予め定められた回数の設定を行えるようにしてもよい。そして、読取制御部10は、設定された回数だけ開閉されるごとに、閾値t1の補正を行う。   Here, the “predetermined number of times” can be arbitrarily determined. It may be set to several tens of times or may be set to several thousand times. The image reading apparatus 100 according to the present embodiment assumes 1000 times for accurate detection of the size of the original d in the main scanning direction while avoiding frequent threshold t1 correction. Note that a predetermined number of times may be set on the operation panel 3. The reading control unit 10 corrects the threshold value t1 every time the reading control unit 10 is opened and closed a set number of times.

まず、図10のスタートは、画像読取装置100や複合機200の主電源が投入された時点である。そして、読取制御部10は、開閉検知部7の出力に基づき、原稿搬送部2が開閉されたか否かを確認する(ステップ♯11)。そして、読取制御部10は、開閉の確認を続ける(ステップ♯11のNo→ステップ♯11)。   First, the start of FIG. 10 is when the main power supply of the image reading apparatus 100 or the multifunction peripheral 200 is turned on. Then, the reading control unit 10 confirms whether or not the document conveying unit 2 is opened / closed based on the output of the opening / closing detection unit 7 (step # 11). Then, the reading control unit 10 continues to confirm opening / closing (No in step # 11 → step # 11).

原稿搬送部2の開閉があったとき(ステップ♯11のYes)、読取制御部10は、原稿搬送部2の開閉回数のカウント値に開閉された回数を加算する(ステップ♯12)。カウント値は、画像読取装置100の使用が開始されてからの原稿搬送部2の開閉回数や、先に閾値t1が補正されてからの原稿搬送部2の開閉回数の累計回数(積算値)である。このカウント値を示す開閉回数データD1は、メモリー102に記憶される(図7参照)。読取制御部10は、原稿搬送部2の開閉が行われるごとに、1を加算するように開閉回数データD1をメモリー102に更新させる(ステップ♯12)。   When the document conveying unit 2 is opened / closed (Yes in Step # 11), the reading control unit 10 adds the number of times of opening / closing to the count value of the number of times of opening / closing the document conveying unit 2 (Step # 12). The count value is the number of times the document conveying unit 2 is opened and closed since the use of the image reading apparatus 100 is started, and the total number of times (the integrated value) of the number of times the document conveying unit 2 is opened and closed after the threshold value t1 is corrected first. is there. The open / close count data D1 indicating the count value is stored in the memory 102 (see FIG. 7). The reading control unit 10 causes the memory 102 to update the open / close count data D1 so as to add 1 each time the document conveying unit 2 is opened / closed (step # 12).

続いて、読取制御部10は、カウント値が予め定められた回数に到達したか否かを確認する(ステップ♯13)。言い換えると、読取制御部10は、開閉回数データD1を確認して、初めて原稿搬送部2を開閉してから、あるいは、先に閾値t1を補正してから、予め定められた回数だけ、原稿搬送部2が開閉されたか否かを確認し、閾値t1を補正する時点か否かを確認する。   Subsequently, the reading control unit 10 checks whether or not the count value has reached a predetermined number of times (step # 13). In other words, the reading control unit 10 confirms the opening / closing frequency data D1 and opens / closes the document conveying unit 2 for the first time, or corrects the threshold value t1 first, and then conveys the document a predetermined number of times. It is confirmed whether or not the unit 2 has been opened and closed, and it is confirmed whether or not it is time to correct the threshold t1.

もし、していれば(ステップ♯13のYes)、読取制御部10は、メモリー102に記憶された閾値補正用データD2を参照し、閾値t1の補正を行い、補正後の閾値t1をメモリー102に記憶させる(ステップ♯14)。又、読取制御部10は、メモリー102に開閉回数データD1の値(カウント値)をゼロにリセットさせる(ステップ♯15)。   If so (Yes in step # 13), the reading control unit 10 refers to the threshold value correction data D2 stored in the memory 102, corrects the threshold value t1, and stores the corrected threshold value t1 in the memory 102. (Step # 14). Further, the reading control unit 10 causes the memory 102 to reset the value (count value) of the open / close count data D1 to zero (step # 15).

具体的に、閾値補正用データD2は、原稿搬送部2の開閉回数に応じた複数の閾値t1が定義されたデータとしてもよい(例えば、ルックアップテーブル)。そして、カウント値が予め定められた回数に到達すると、読取制御部10は、原稿搬送部2の開閉回数に対応する閾値t1を閾値補正用データD2から読み出し、閾値t1を当接部71の摩耗に則した値に補正する。言い換えると、読取制御部10は、閾値補正用データD2の中から、原稿搬送部2の開閉回数に対して予め定められた閾値t1を選択し、今までの用いていた閾値t1を選択した閾値t1に変更することで、閾値t1を当接部71の摩耗に則した値に補正する。あるいは、閾値補正用データD2は、原稿搬送部2の開閉回数に基づき、閾値t1を求めるための関数でもよい。この場合、読取制御部10は、原稿搬送部2の開閉回数を変数とした閾値補正用データD2に定義された関数に基づき、補正後の閾値t1を求める。   Specifically, the threshold correction data D2 may be data in which a plurality of threshold values t1 corresponding to the number of times of opening and closing the document conveying unit 2 are defined (for example, a lookup table). When the count value reaches a predetermined number of times, the reading control unit 10 reads the threshold value t1 corresponding to the number of times of opening and closing the document conveying unit 2 from the threshold value correction data D2, and wears the threshold value t1 on the wear of the contact portion 71. Correct the value according to. In other words, the reading control unit 10 selects a predetermined threshold value t1 for the number of times of opening and closing the document conveying unit 2 from the threshold value correction data D2, and selects the threshold value t1 used so far. By changing to t1, the threshold value t1 is corrected to a value in accordance with the wear of the contact portion 71. Alternatively, the threshold correction data D <b> 2 may be a function for obtaining the threshold t <b> 1 based on the number of times the document conveying unit 2 is opened and closed. In this case, the reading control unit 10 obtains the corrected threshold value t1 based on a function defined in the threshold value correction data D2 with the number of times of opening / closing the document conveying unit 2 as a variable.

尚、読取制御部10は、閾値補正用データD2を確認し、補正前(更新前)の閾値t1が原稿搬送部2を何回開閉したときの閾値t1かを確認し、カウント値を加算することで、現在の原稿搬送部2の開閉回数を認識できる。又、読取制御部10は、開閉回数データD1のリセットを行わず、最初から現在までの累計の原稿搬送部2の開閉回数をメモリー102に記憶させてもよい。   The reading control unit 10 confirms the threshold correction data D2, confirms how many times the threshold t1 before correction (before update) is the threshold t1 when the document conveying unit 2 is opened and closed, and adds the count value. Thus, it is possible to recognize the current number of opening and closing of the document conveying unit 2. Further, the reading control unit 10 may store the cumulative number of opening / closing of the document conveying unit 2 from the beginning to the present in the memory 102 without resetting the opening / closing number data D1.

原稿搬送部2の開閉回数が多くなり当接部71の摩耗が進むほど、原稿dが無い部分を読み取って得られた画素の画素値は、摩耗がないときよりも白い(明るい)画素値となる。そこで、読取制御部10は、開閉回数が多くなるほど、閾値t1を白い(明るい)方向の値に補正する。そして、補正後は、読取制御部10は、以前よりも明るい画素値の画素の位置で、境界位置があると判断することになる。   As the number of times of opening and closing the document conveying unit 2 increases and the wear of the contact portion 71 progresses, the pixel value of the pixel obtained by reading the portion without the document d is a white (brighter) pixel value than when there is no wear. Become. Therefore, the reading control unit 10 corrects the threshold value t1 to a white (bright) direction value as the number of times of opening and closing increases. After the correction, the reading control unit 10 determines that there is a boundary position at a pixel position having a brighter pixel value than before.

そして、カウント値が予め定められた回数に到達していないとき(ステップ♯13のNo)、及び、ステップ♯15の後、原稿搬送部2が閉じられるたびに、読取制御部10は、載置読取用コンタクトガラス12に載置された原稿dの主走査方向のサイズ検知のための読み取りを読取機構6に行わせ、検知読取画像データに基づく原稿サイズ検知処理を行う(ステップ♯16)。閾値t1の補正が行われた場合には、読取制御部10は、補正後の閾値t1に基づき境界位置を検知し、原稿dの主走査方向のサイズを検知する。そして、フローは、ステップ♯11に戻る。   Then, when the count value has not reached the predetermined number of times (No in Step # 13), and after Step # 15, every time the document conveying unit 2 is closed, the reading control unit 10 The reading mechanism 6 performs reading for detecting the size of the document d placed on the reading contact glass 12 in the main scanning direction, and performs document size detection processing based on the detected read image data (step # 16). When the threshold value t1 is corrected, the reading control unit 10 detects the boundary position based on the corrected threshold value t1, and detects the size of the document d in the main scanning direction. Then, the flow returns to step # 11.

〈第2の手法〉
次に、本実施形態の画像読取装置100では、原稿dが載置されていない位置の画素の画素値と基準となるデータを比較し、自動的に閾値t1の補正が行われるようにすることができる。又、基準と比較して閾値t1の補正を行うので、当接部71の実際の摩耗の程度や、摩耗による検知読取データの変化の程度にあわせて閾値t1を補正することができる。この自動的な閾値t1の補正を第2の手法として、図11を用いて、以下説明する。
<Second method>
Next, in the image reading apparatus 100 of the present embodiment, the pixel value of the pixel at the position where the document d is not placed is compared with the reference data, and the threshold value t1 is automatically corrected. Can do. Further, since the threshold value t1 is corrected as compared with the reference, the threshold value t1 can be corrected in accordance with the actual degree of wear of the contact portion 71 and the degree of change in the detected read data due to wear. This automatic threshold t1 correction will be described below as a second method with reference to FIG.

まず、図11のスタートは、画像読取装置100や複合機200の主電源が投入された時点である。そして、読取制御部10は、開閉検知部7の出力に基づき、原稿搬送部2が開閉されたか否かを確認する(ステップ♯21)。読取制御部10は、開閉の確認を続ける(ステップ♯21のNo→ステップ♯21)。   First, the start of FIG. 11 is when the main power supply of the image reading apparatus 100 or the multifunction peripheral 200 is turned on. Then, the reading control unit 10 confirms whether or not the document conveying unit 2 is opened / closed based on the output of the opening / closing detection unit 7 (step # 21). The reading control unit 10 continues to confirm opening / closing (No in step # 21 → step # 21).

原稿搬送部2の開閉があったとき(ステップ♯21のYes)、原稿搬送部2が閉じられるたびに、読取制御部10は、載置読取用コンタクトガラス12に載置された原稿dの主走査方向のサイズ検知のための読み取りを読取機構6に行わせ、読み取りで得られた画像データ(検知読取画像データ)に基づく原稿サイズ検知処理を行う(ステップ♯22)。   When the document conveying unit 2 is opened and closed (Yes in step # 21), the reading control unit 10 reads the main document d placed on the placement reading contact glass 12 every time the document conveying unit 2 is closed. The reading mechanism 6 performs reading for detecting the size in the scanning direction, and performs document size detection processing based on image data (detected read image data) obtained by the reading (step # 22).

そして、読取制御部10は、載置読取用コンタクトガラス12上に原稿dが無いことを確認する(ステップ♯23)。具体的には、読取制御部10は、原稿サイズ検知の読み取りにより得られた検知読取画像データにおいて、主走査方向の1ライン中の全画素の画素値が閾値t1よりも黒い(暗い)画素値であれば、原稿dがないと判断する。尚、原稿dがないとき、白色マット2dで光が反射するところ、主走査方向の位置により、白色マット2dと載置読取用コンタクトガラス12の距離が異なる。そのため、原稿dがないときの検知読取画像データでは、濃淡の傾斜が発生する。閾値t1は、原稿dがないときに最も明るい画素の画素値よりも明るい値に設定される。   Then, the reading control unit 10 confirms that there is no document d on the placement reading contact glass 12 (step # 23). Specifically, the reading control unit 10 in the detected read image data obtained by reading the document size detection, the pixel values of all the pixels in one line in the main scanning direction are black (darker) than the threshold value t1. If so, it is determined that there is no document d. When the document d is not present, the light is reflected by the white mat 2d, and the distance between the white mat 2d and the placement reading contact glass 12 differs depending on the position in the main scanning direction. For this reason, in the detected read image data when there is no document d, shading occurs. The threshold value t1 is set to a value brighter than the pixel value of the brightest pixel when there is no document d.

もし、原稿dがなければ(ステップ♯23のYes)、読取制御部10は、原稿dがないときの検知読取画像データ(原稿dがないときの原稿サイズ検知の読み取りで得られたラインの画像データ)と、検知読取画像データの基準としてのラインの画像データである基準画像データD3を比較する(ステップ♯24)。そして、読取制御部10は、基準画像データD3と検知読取画像データ間のずれ量を求める(ステップ♯25)。   If there is no document d (Yes in step # 23), the reading control unit 10 detects the read image data when there is no document d (the image of the line obtained by reading the document size detection when there is no document d). Data) and the reference image data D3 which is the image data of the line as the reference of the detected read image data (step # 24). Then, the reading control unit 10 obtains a deviation amount between the reference image data D3 and the detected read image data (step # 25).

まず、基準画像データD3は、メモリー102に記憶される。基準画像データD3は、当接部71の摩耗がなく、原稿dが載置されていないときにサイズ検知読取で得られた検知読取画像データである。例えば、基準画像データD3は、製造後の出荷前検査などで原稿dが無い状態で、原稿搬送部2が開閉されたときに載置読取用コンタクトガラス12を読み取ることで得られた検知読取画像データとすることができる。また、基準画像データD3は、原稿dが載置されていないときに初めて原稿搬送部2を開閉したときに原稿サイズ検知のための読み取りで得られたラインの検知読取画像データでもよい。あるいは、基準画像データD3は、実験結果に基づくような予め定められた値のラインの画像データでもよい。言い換えると、当接部71の摩耗がほぼない状態(開閉が所定回数未満)であって、原稿dが載置読取用コンタクトガラス12に載置されていないときの検知読取画像データが基準画像データD3としてメモリー102に記憶される。   First, the reference image data D3 is stored in the memory 102. The reference image data D3 is detected read image data obtained by size detection reading when the contact portion 71 is not worn and the document d is not placed. For example, the reference image data D3 is a detected read image obtained by reading the placement reading contact glass 12 when the document conveying unit 2 is opened and closed in a state where there is no document d in a pre-shipment inspection after manufacture. It can be data. The reference image data D3 may be detected read image data of a line obtained by reading for document size detection when the document transport unit 2 is opened and closed for the first time when the document d is not placed. Alternatively, the reference image data D3 may be image data of a line having a predetermined value based on an experimental result. In other words, the detected read image data when the contact portion 71 is not substantially worn (opening and closing is less than a predetermined number of times) and the document d is not placed on the placement reading contact glass 12 is the reference image data. It is stored in the memory 102 as D3.

ずれ量の求め方は適宜定めることができる。例えば、読取制御部10は、検知読取画像データに含まれる特定位置(例えば、主走査方向での両端や中央)の1つの画素の画素値と、基準画像データD3中での特定位置に対応する位置の画素の画素値との差の絶対値をずれ量として求める。   The method for obtaining the amount of deviation can be determined as appropriate. For example, the reading control unit 10 corresponds to the pixel value of one pixel at a specific position (for example, both ends or the center in the main scanning direction) included in the detected read image data and the specific position in the reference image data D3. The absolute value of the difference from the pixel value of the pixel at the position is obtained as the shift amount.

あるいは、読取制御部10は、検知読取画像データ中の複数画素(例えば、全画素や1画素飛び)の画素値の平均値と、基準画像データD3中の対応する位置の複数画素の画素値の平均値との差の絶対値をずれ量として求める。   Alternatively, the reading control unit 10 calculates the average value of the pixel values of a plurality of pixels (for example, all pixels or one pixel skip) in the detected read image data and the pixel values of the plurality of pixels at the corresponding positions in the reference image data D3. The absolute value of the difference from the average value is obtained as the deviation amount.

尚、ずれ量の求め方は上記の例に限られず、他の方法により求められても良い。   Note that the method of obtaining the deviation amount is not limited to the above example, and may be obtained by other methods.

そして、読取制御部10は、求められたずれ量が、予め定められた許容範囲を超えているか否かを確認する(ステップ♯26)。言い換えると、読取制御部10は、当接部71の摩耗により、原稿サイズ検知の読み取りタイミングが遅れてきていて、閾値t1の補正が必要か否かの確認を行う。   Then, the reading control unit 10 checks whether or not the obtained deviation amount exceeds a predetermined allowable range (step # 26). In other words, the reading control unit 10 confirms whether or not the reading timing of the document size detection is delayed due to wear of the contact portion 71 and the threshold t1 needs to be corrected.

もし、ずれ量が許容範囲を超えていれば(ステップ♯26のYes)、読取制御部10は、閾値t1を補正し、補正後の閾値t1をメモリー102に記憶させる(ステップ♯27)。これにより、以後は、補正後の閾値t1に基づき、境界位置の検知が行われ、原稿dの主走査方向のサイズが検知される。   If the deviation amount exceeds the allowable range (Yes in step # 26), the reading control unit 10 corrects the threshold value t1, and stores the corrected threshold value t1 in the memory 102 (step # 27). Thus, thereafter, the boundary position is detected based on the corrected threshold value t1, and the size of the document d in the main scanning direction is detected.

具体的には、読取制御部10は、ずれ量に応じた閾値t1となるように閾値t1を補正する。例えば、読取制御部10は、ずれ量だけ画素値としての閾値t1を、明るい方向に変化させる。これにより、検知読取画像データ中、読取制御部10は、以前よりも明るい画素値の画素の位置で、境界位置があると判断することになり、当接部71の摩耗による影響を排除して、正確に境界位置と主走査方向の原稿サイズ検知を行うことができる。   Specifically, the reading control unit 10 corrects the threshold value t1 so as to be the threshold value t1 corresponding to the deviation amount. For example, the reading control unit 10 changes the threshold value t1 as the pixel value by the shift amount in the bright direction. As a result, in the detected read image data, the reading control unit 10 determines that there is a boundary position at a pixel value having a brighter pixel value than before, and eliminates the influence due to wear of the contact portion 71. Therefore, it is possible to accurately detect the document size in the boundary position and the main scanning direction.

尚、ずれ量と同じ値だけ閾値t1を変化させる補正ではなく、求めたずれ量と閾値t1の補正量は異なっていても良い。   It should be noted that instead of the correction for changing the threshold value t1 by the same value as the deviation amount, the obtained deviation amount and the correction amount for the threshold value t1 may be different.

そして、ステップ♯27の後、原稿搬送部2が開閉されたときに原稿dがある場合(ステップ♯23のNo)、ずれ量が許容範囲以内のとき(ステップ♯26のNo)、フローはステップ♯21に戻る。   Then, after step # 27, when the document d is present when the document conveying section 2 is opened and closed (No in step # 23), when the deviation amount is within the allowable range (No in step # 26), the flow is step. Return to # 21.

〈第3の手法〉
次に、第3の手法では、本実施形態の画像読取装置100では、第2の手法と同様に、自動的に閾値t1の補正が行われる。しかし、第3の手法では、閾値t1の補正が予め定められた回数の原稿搬送部2の開閉がなされた後に行われるようにする。言い換えると、第1と第2の手法を組み合わせたものである。これにより、閾値t1の補正が行われる頻度を減らし、必要なときにのみ補正が行われる。
<Third method>
Next, in the third method, the image reading apparatus 100 of the present embodiment automatically corrects the threshold value t1 as in the second method. However, in the third method, the threshold t1 is corrected after the document conveying unit 2 is opened and closed a predetermined number of times. In other words, the first and second methods are combined. Thereby, the frequency with which the threshold value t1 is corrected is reduced, and correction is performed only when necessary.

そこで、図12を用いて、この第3の手法での閾値t1の補正の流れを以下説明する。まず、図12のスタートは、画像読取装置100や複合機200の主電源が投入された時点である。そして、読取制御部10は、開閉検知部7の出力に基づき、原稿搬送部2が開閉されたか否かを確認する(ステップ♯31)。読取制御部10は、開閉の確認を続ける(ステップ♯31のNo→ステップ♯31)。   Therefore, the flow of correction of the threshold value t1 in the third method will be described below with reference to FIG. First, the start of FIG. 12 is when the main power of the image reading apparatus 100 or the multifunction device 200 is turned on. Then, the reading control unit 10 confirms whether or not the document conveying unit 2 is opened / closed based on the output of the opening / closing detection unit 7 (step # 31). The reading control unit 10 continues to confirm opening / closing (No in step # 31 → step # 31).

原稿搬送部2の開閉があったとき(ステップ♯31のYes)、読取制御部10は、原稿搬送部2の開閉回数のカウント値に開閉された回数を加算する(ステップ♯32)。カウント値を示す開閉回数データD1は、メモリー102に記憶される点は、第1の手法と同様である(図7参照)。言い換えると、読取制御部10は、原稿搬送部2の開閉が行われるごとに、1を加算して、メモリー102に開閉回数データD1を更新させる(ステップ♯32)。   When the document conveying unit 2 is opened and closed (Yes in Step # 31), the reading control unit 10 adds the number of times of opening and closing to the count value of the number of times of opening and closing the document conveying unit 2 (Step # 32). The open / close count data D1 indicating the count value is the same as in the first method in that it is stored in the memory 102 (see FIG. 7). In other words, the reading control unit 10 adds 1 each time the document conveying unit 2 is opened / closed, and causes the memory 102 to update the opening / closing frequency data D1 (step # 32).

続いて、読取制御部10は、カウント値が予め定められた回数に到達したか否かを確認する(ステップ♯33)。カウント値が予め定められた回数に到達していなければ(ステップ♯33のNo)、サイズ検知のための読み取りを読取機構6に行わせ、読み取りで得られた画像データ(検知読取画像データ)に基づく原稿サイズ検知処理を行う(ステップ♯34)。そして、フローはステップ♯31に戻る。   Subsequently, the reading control unit 10 checks whether or not the count value has reached a predetermined number of times (step # 33). If the count value has not reached the predetermined number of times (No in step # 33), reading for size detection is performed by the reading mechanism 6, and image data (detected read image data) obtained by reading is read. Based on the document size detection process, step # 34 is performed. Then, the flow returns to step # 31.

一方、カウント値が予め定められた回数に到達していれば(ステップ♯33のYes)、読取制御部10は、開閉検知部7の出力に基づき原稿搬送部2が開閉されたか否かを確認する(ステップ♯35)。読取制御部10は、開閉の確認を続ける(ステップ♯35のNo→ステップ♯35)。   On the other hand, if the count value has reached the predetermined number of times (Yes in step # 33), the reading control unit 10 confirms whether or not the document conveying unit 2 has been opened / closed based on the output of the open / close detection unit 7. (Step # 35). The reading control unit 10 continues to confirm opening / closing (No in step # 35 → step # 35).

原稿搬送部2の開閉があったとき(ステップ♯35のYes)、原稿搬送部2が閉じられるたびに、読取制御部10は、載置読取用コンタクトガラス12に載置された原稿dの主走査方向のサイズ検知のための読み取りを読取機構6に行わせ、読み取りで得られた画像データ(検知読取画像データ)に基づく原稿サイズ検知処理を行う(ステップ♯36)。   When the document conveying unit 2 is opened and closed (Yes in step # 35), the reading control unit 10 reads the main document d placed on the placement reading contact glass 12 every time the document conveying unit 2 is closed. Reading for size detection in the scanning direction is performed by the reading mechanism 6, and document size detection processing based on image data (detected read image data) obtained by reading is performed (step # 36).

そして、原稿サイズ検知処理の結果に基づき、読取制御部10は、載置読取用コンタクトガラス12上に原稿dが無いことを確認する(ステップ♯37)。もし、原稿dがなければ(ステップ♯37のYes)、読取制御部10は、原稿dがないときの検知読取画像データと、基準画像データD3を比較する(ステップ♯38)。そして、読取制御部10は、基準画像データD3と検知読取画像データ間のずれ量を求める(ステップ♯39)。そして、読取制御部10は、求められたずれ量が、予め定められた許容範囲を超えているか否かを確認する(ステップ♯310)。もし、ずれ量が許容範囲を超えていれば(ステップ♯310のYes)、読取制御部10は、閾値t1を補正し、補正後の閾値t1をメモリー102に記憶させる(ステップ♯311)。ステップ♯37〜ステップ♯311については、上述の第2の手法と同様であり、説明を準用できる。   Based on the result of the document size detection process, the reading control unit 10 confirms that there is no document d on the placement reading contact glass 12 (step # 37). If there is no document d (Yes in step # 37), the reading control unit 10 compares the detected read image data when there is no document d with the reference image data D3 (step # 38). Then, the reading control unit 10 obtains a deviation amount between the reference image data D3 and the detected read image data (step # 39). Then, the reading control unit 10 checks whether or not the obtained deviation amount exceeds a predetermined allowable range (step # 310). If the deviation amount exceeds the allowable range (Yes in step # 310), the reading control unit 10 corrects the threshold value t1, and stores the corrected threshold value t1 in the memory 102 (step # 311). Steps # 37 to # 311 are the same as in the second method described above, and the description can be applied mutatis mutandis.

尚、原稿搬送部2が開閉されたときに原稿dがある場合(ステップ♯37のNo)、フローは、ステップ♯35に戻る。   If there is a document d when the document transport unit 2 is opened and closed (No in step # 37), the flow returns to step # 35.

ステップ♯311の後、及び、ずれ量が許容範囲以内で閾値t1を補正しないとき(ステップ♯310のNo)、読取制御部10は、メモリー102に開閉回数データD1の値(カウント値)をゼロにリセットさせる(ステップ♯312)。そして、フローはステップ♯31に戻る。   After step # 311, and when the deviation t is within the allowable range and the threshold value t1 is not corrected (No in step # 310), the reading control unit 10 sets the value of the open / close count data D1 (count value) to zero in the memory 102. (Step # 312). Then, the flow returns to step # 31.

尚、閾値t1の補正が予め定められた回数の原稿搬送部2の開閉がなされた後、第2の手法により、完全に自動的に閾値t1の補正を行うのではなく、予め定められた基準サイズの基準原稿を用いて、半自動的に閾値t1の補正を行ってもよい。この場合、カウント値が予め定められた回数に到達すると、読取制御部10は、原稿搬送部2を開けて、基準原稿を操作パネル3の表示部に載置読取用コンタクトガラス12を載置すべき旨を表示させる。   Note that the threshold t1 is not completely corrected automatically by the second method after the document conveying unit 2 is opened and closed a predetermined number of times, but the threshold t1 is not corrected automatically. The threshold value t1 may be corrected semi-automatically using a reference document of a size. In this case, when the count value reaches a predetermined number of times, the reading control unit 10 opens the document conveying unit 2 and places the reference document on the display unit of the operation panel 3 on the reference reading glass 12. Display the power.

そして、原稿搬送部2が閉じられると、読取制御部10は、載置読取用コンタクトガラス12に載置された基準原稿のサイズ検知の読み取りを読取機構6に行わせる。そして、読取制御部10は、基準原稿が載置されたときの検知読取画像データの各画素と、基準画像データD3を比較する。   When the document transport unit 2 is closed, the reading control unit 10 causes the reading mechanism 6 to perform size detection reading of the reference document placed on the placement reading contact glass 12. Then, the reading control unit 10 compares each pixel of the detected read image data when the reference document is placed with the reference image data D3.

この場合、基準画像データD3は、当接部71の摩耗がなく、予め定められた基準サイズの基準原稿を載置読取用コンタクトガラス12に載置した状態のときにサイズ検知読取で得られた検知読取画像データである。基準画像データD3は、製造後の出荷前検査などのとき、基準原稿を載置読取用コンタクトガラス12に載置した状態で、原稿搬送部2が開閉されたときに載置読取用コンタクトガラス12を読み取ることで得られた検知読取画像データとすることができる。また、基準画像データD3は、原稿dが載置されていないときに初めて原稿搬送部2を開閉するときに基準原稿を載置して、原稿サイズ検知のための読み取りで得られたラインの検知読取画像データでもよい。あるいは、基準画像データD3は、実験結果に基づくような予め定められた値のラインの画像データでもよい。言い換えると、当接部71の摩耗がほぼない状態(開閉が所定回数未満)であって、基準原稿を載置読取用コンタクトガラス12に載置した状態での検知読取画像データが基準画像データD3としてメモリー102に記憶される。   In this case, the reference image data D3 was obtained by size detection reading when the reference document having a predetermined reference size was placed on the placement reading contact glass 12 without wear of the contact portion 71. This is detected read image data. The reference image data D3 is stored in the placement reading contact glass 12 when the document conveying section 2 is opened and closed with the reference document placed on the placement reading contact glass 12 in the pre-shipment inspection after the manufacture. Can be detected read image data obtained by reading. Further, the reference image data D3 is detected when the reference document is placed when the document transport unit 2 is opened and closed for the first time when the document d is not placed, and the line obtained by reading for document size detection is detected. It may be read image data. Alternatively, the reference image data D3 may be image data of a line having a predetermined value based on an experimental result. In other words, the detected read image data in a state in which the contact portion 71 is hardly worn (opening and closing is less than a predetermined number of times) and the reference document is placed on the placement reading contact glass 12 is the reference image data D3. Is stored in the memory 102.

そして、読取制御部10は、基準画像データD3と検知読取画像データ間のずれ量を求める。ずれ量の求め方は、適宜定めることができる。例えば、読取制御部10は、検知読取画像データに含まれる特定位置(例えば、主走査方向での両端や中央)の1つの画素の画素値と、基準画像データD3中での特定位置に対応する位置の画素の画素値との差の絶対値をずれ量として求める。あるいは、読取制御部10は、検知読取画像データ中の複数画素(例えば、全画素や1画素飛び)のうち、原稿がないはずの画素値の平均値と、基準画像データD3中の対応する位置の複数画素の画素値の平均値との差の絶対値をずれ量として求める。   Then, the reading control unit 10 obtains a deviation amount between the reference image data D3 and the detected read image data. The method for obtaining the amount of deviation can be determined as appropriate. For example, the reading control unit 10 corresponds to the pixel value of one pixel at a specific position (for example, both ends or the center in the main scanning direction) included in the detected read image data and the specific position in the reference image data D3. The absolute value of the difference from the pixel value of the pixel at the position is obtained as the shift amount. Alternatively, the reading control unit 10 may determine an average value of pixel values that should not have a document among a plurality of pixels (for example, all pixels or one pixel skip) in the detected read image data, and a corresponding position in the reference image data D3. The absolute value of the difference from the average value of the pixel values of the plurality of pixels is obtained as a deviation amount.

読取制御部10は、求められたずれ量が、予め定められた許容範囲を超えているか否かを確認する、ずれ量が許容範囲を超えていれば、読取制御部10は、ずれ量だけ閾値t1を明るい方向に変化させて閾値t1を補正し、補正後の閾値t1をメモリー102に記憶させる)。   The reading control unit 10 confirms whether or not the obtained deviation amount exceeds a predetermined allowable range. If the deviation amount exceeds the allowable range, the reading control unit 10 sets the threshold value by the deviation amount. The threshold value t1 is corrected by changing t1 in the bright direction, and the corrected threshold value t1 is stored in the memory 102).

このようにして、本実施形態の画像読取装置100は、原稿dが載置されるコンタクトガラス(載置読取用コンタクトガラス12)と、上下方向に開閉され、コンタクトガラスに載置された原稿dを押さえるためのカバー部(原稿搬送部2)と、カバー部が閉じられる途中で接し、カバー部が閉じられるほどカバー部に押し込まれる当接部71を含み、当接部71の押し込み量に応じて出力が変化する開閉検知部7と、原稿dの読み取りを行い、原稿dに向け光を照射するランプ67と原稿dで反射された反射光に基づきライン単位で読み取るイメージセンサー68を含み、当接部71が予め定められた位置まで押し込められると、主走査方向の原稿サイズ検知のためにコンタクトガラスを読み取るサイズ検知読取を行う読取機構6(第1移動枠61、第2移動枠62、ワイヤー、巻取ドラム64、巻取モーター65、レンズ66、ランプ67イメージセンサー68)を備え、イメージセンサーの出力に基づき画像データを生成する画像読取部と、サイズ検知読取により得られた画像データである検知読取画像データの各画素の画素値と原稿dがある部分と原稿dが無い部分の境界位置を検知するための閾値t1を比較し、原稿dがある部分と原稿dが無い部分の境界位置を検知し、境界位置に基づきコンタクトガラスに載置された原稿dのサイズを検知する原稿サイズ検知処理を行う検知処理部(読取制御部10)と、を含み、検知処理部は、予め定められた時点で閾値t1の補正を行い、補正後の閾値t1に基づき、原稿サイズ検知処理を行う。   As described above, the image reading apparatus 100 according to the present embodiment includes the contact glass (the placement reading contact glass 12) on which the document d is placed, and the document d that is opened and closed in the vertical direction and placed on the contact glass. A contact portion 71 that is in contact with the cover portion (document feeding portion 2) for pressing the cover portion and is pushed into the cover portion as the cover portion is closed, depending on the pushing amount of the contact portion 71 An open / close detection unit 7 whose output changes, a lamp 67 for reading the document d and irradiating light toward the document d, and an image sensor 68 for reading line by line based on the reflected light reflected by the document d. When the contact portion 71 is pushed down to a predetermined position, a reading mechanism 6 (first transfer) that performs size detection reading for reading the contact glass in order to detect the document size in the main scanning direction. A frame 61, a second moving frame 62, a wire, a winding drum 64, a winding motor 65, a lens 66, and a lamp 67 (image sensor 68), and an image reading unit that generates image data based on the output of the image sensor, and a size The pixel value of each pixel of the detected read image data, which is image data obtained by the detection reading, is compared with the threshold value t1 for detecting the boundary position between the portion where the document d is present and the portion where the document d is not present. A detection processing unit (reading control unit 10) that detects a boundary position between the portion and a portion where the document d is not present, and performs a document size detection process for detecting the size of the document d placed on the contact glass based on the boundary position; In addition, the detection processing unit corrects the threshold value t1 at a predetermined time, and performs document size detection processing based on the corrected threshold value t1.

これにより、境界位置を定め、原稿サイズを検知するための閾値t1は、固定値ではなくなる。そして、一定の時点で閾値t1の補正が行われるので、カバー部(原稿搬送部2)の開閉の繰り返しによる当接部71の摩耗に応じた閾値t1に設定することができる。従って、摩耗がないときよりカバー部(原稿搬送部2)がコンタクトガラス(載置読取用コンタクトガラス12)に近づいてから原稿サイズ検知が実行されるようになっても(摩耗がないときよりも原稿サイズ検知の実行開始が遅れる状態となっても)、補正された閾値t1により、検知読取画像データ中、原稿dがある範囲の画素と原稿dが無い範囲の画素の境界を正確に定めることができる。そして、当接部71の摩耗が進んでも、正確に原稿dの主走査方向のサイズを検知することができる。   As a result, the threshold t1 for determining the boundary position and detecting the document size is not a fixed value. Since the threshold value t1 is corrected at a fixed time, the threshold value t1 can be set according to the wear of the contact portion 71 due to the repeated opening and closing of the cover portion (document conveying portion 2). Therefore, even when the cover size (document conveying section 2) comes closer to the contact glass (the placement reading contact glass 12) than when there is no wear, the document size detection is performed (as compared with when there is no wear). Even if the execution start of the document size detection is delayed), the boundary between the pixels in the range where the document d is present and the pixels in the range where the document d is not present is accurately determined in the detected read image data by the corrected threshold value t1. Can do. Even if the wear of the contact portion 71 advances, the size of the document d in the main scanning direction can be accurately detected.

又、本実施形態の画像読取装置100は、カバー部(原稿搬送部2)が開閉された回数と、カバー部の開閉回数に応じた閾値t1を定めるための閾値補正用データD2を記憶するメモリー102を含み、検知処理部(読取制御部10)は、予め定められた回数のカバー部の開閉が行われたとき、閾値補正用データD2に基づき、閾値t1の補正を行う。これにより、初めて、又は、再度の閾値t1の補正が必要なほど、予め定められた回数カバー部が開閉されると、データ演算だけで閾値t1が補正される。従って、正確に原稿dの主走査方向のサイズが検知されるように、閾値t1を当接部71の摩耗に応じた値(カバー部の開閉回数に応じた値)に設定することができる。   In addition, the image reading apparatus 100 according to the present embodiment stores the number of times the cover unit (document conveying unit 2) is opened and closed and threshold correction data D2 for determining the threshold value t1 according to the number of times the cover unit is opened and closed. 102, the detection processing unit (reading control unit 10) corrects the threshold value t1 based on the threshold value correction data D2 when the cover unit is opened and closed a predetermined number of times. As a result, when the cover unit is opened and closed a predetermined number of times for the first time or enough to correct the threshold value t1 again, the threshold value t1 is corrected only by data calculation. Accordingly, the threshold value t1 can be set to a value corresponding to the wear of the contact portion 71 (a value corresponding to the number of times the cover portion is opened and closed) so that the size of the document d in the main scanning direction can be accurately detected.

尚、「予め定められた回数」は、当接部71の材料や、実際の画像読取装置100での摩耗のしやすさを考慮して、適宜定めることができる。予め定められた回数は、数百回〜数千回の範囲で定めることができ、画像読取装置100の形式、仕様ごとに定めれば良い。   The “predetermined number of times” can be appropriately determined in consideration of the material of the contact portion 71 and the ease of wear in the actual image reading apparatus 100. The predetermined number of times can be determined in the range of several hundred to several thousand times, and may be determined for each type and specification of the image reading apparatus 100.

又、本実施形態の画像読取装置100は、原稿が載置されていないときの検知読取画像データの基準としての基準画像データD3を記憶するメモリー102を含み、検知処理部(読取制御部10)は、原稿dが載置されていない位置の検知読取画像データ内の画素の画素値と基準画像データD3中の対応する位置の画素の画素値を比較して、基準画像データD3と検知読取画像データ間のずれ量を求め、ずれ量に応じた閾値t1となるように閾値t1を補正する。   The image reading apparatus 100 according to the present embodiment includes a memory 102 that stores reference image data D3 as a reference of detected read image data when a document is not placed, and includes a detection processing unit (reading control unit 10). Compares the pixel value of the pixel in the detected read image data at the position where the document d is not placed with the pixel value of the pixel at the corresponding position in the reference image data D3, and compares the reference image data D3 with the detected read image. A deviation amount between data is obtained, and the threshold value t1 is corrected so as to be a threshold value t1 corresponding to the deviation amount.

カバー部(原稿搬送部2)の開閉により当接部71の摩耗は進むものの、摩耗の程度は、実際の画像読取装置100の使用態様により差が出てくる。勢いよくカバー部(原稿搬送部2)の開閉が行われる回数が多いほど、当接部71の摩耗は進行していることが考えられる。一方、比較的静かにカバー部(原稿搬送部2)の開閉が行われている場合、当接部71の摩耗の進行は遅いと考えられる。そこで、この構成によれば、検知処理部(読取制御部10)は、原稿dが載置されていない位置の検知読取画像データ内の画素の画素値と基準画像データD3中の対応する位置の画素の画素値を比較して、基準画像データD3と検知読取画像データ間のずれ量を求め、ずれ量に応じた閾値t1となるように閾値t1を補正し、補正後の閾値t1に基づき、原稿サイズ検知処理を行う。これにより、実際の当接部71の摩耗の程度に応じて(摩耗していない当初と現在との検知読取画像データでの画素値の差に応じて)、閾値t1を補正することができる。従って、当接部71の実際の摩耗の程度にあわせ、正確な原稿サイズの検知が行われるように、閾値t1を補正することができる。   Although the wear of the abutting portion 71 is advanced by opening and closing the cover portion (document conveying portion 2), the degree of wear varies depending on the actual usage of the image reading apparatus 100. It can be considered that the wear of the abutting portion 71 progresses as the number of times that the cover portion (document conveying portion 2) is opened and closed vigorously increases. On the other hand, when the cover part (document conveying part 2) is opened and closed relatively quietly, it is considered that the wear of the contact part 71 progresses slowly. Therefore, according to this configuration, the detection processing unit (reading control unit 10) sets the pixel value of the pixel in the detected read image data at the position where the document d is not placed and the corresponding position in the reference image data D3. The pixel values of the pixels are compared to obtain a deviation amount between the reference image data D3 and the detected read image data, the threshold value t1 is corrected so as to be a threshold value t1 corresponding to the deviation amount, and based on the corrected threshold value t1, Document size detection processing is performed. As a result, the threshold value t1 can be corrected according to the actual degree of wear of the contact portion 71 (in accordance with the difference in pixel values in the detected read image data between the initial and present time when the contact is not worn). Accordingly, the threshold value t1 can be corrected so that accurate document size detection is performed in accordance with the actual degree of wear of the contact portion 71.

又、予め定められた回数のカバー部(原稿搬送部2)の開閉が行われると、検知処理部(読取制御部10)は、原稿dが載置されていない位置の検知読取画像データ内の画素の画素値と基準画像データD3中の対応する位置の画素の画素値を比較して、基準画像データD3と検知読取画像データ間のずれ量を求め、ずれ量に応じた閾値t1となるように閾値t1を補正する。これにより、当接部71の摩耗により、正確な原稿dのサイズ検知を行ううえで閾値t1の補正が必要と考えられる時点になると、自動的に閾値t1の補正が行われるようにすることができる。又、常時、閾値t1の補正を行わず、閾値t1の補正を一定のタイミングだけで行うようにすることで、検知処理部の処理負荷を軽くすることもできる。   When the cover unit (document conveying unit 2) is opened and closed a predetermined number of times, the detection processing unit (reading control unit 10) detects the position in the detected read image data where the document d is not placed. The pixel value of the pixel and the pixel value of the pixel at the corresponding position in the reference image data D3 are compared to obtain a deviation amount between the reference image data D3 and the detected read image data, and the threshold value t1 corresponding to the deviation amount is obtained. The threshold value t1 is corrected. As a result, the threshold value t1 is automatically corrected when it is considered that the threshold value t1 needs to be corrected in order to accurately detect the size of the document d due to wear of the contact portion 71. it can. Further, the processing load of the detection processing unit can be reduced by always correcting the threshold value t1 only at a fixed timing without correcting the threshold value t1.

又、検知処理部(読取制御部10)は、検知読取画像データに含まれる画素の画素値と基準画像データD3中での対応する位置の画素の画素値との差、あるいは、検知読取画像データ中の複数画素の画素値と基準画像データD3中の対応する位置の複数画素の画素値との差の平均をずれ量として求め、ずれ量だけ閾値t1を変化させる。これにより、ある画素の画素値の基準との差、あるいは、複数画素の画素値の平均となるデータでの画素値の平均との差に基づき、閾値t1を補正することができる。従って、当接部71の摩耗によって検知読取画像データの各画素値に実際に現れている基準との差を考慮して閾値t1の補正を行うことができる。   The detection processing unit (reading control unit 10) also detects the difference between the pixel value of the pixel included in the detected read image data and the pixel value of the pixel at the corresponding position in the reference image data D3, or the detected read image data. The average of the differences between the pixel values of the plurality of pixels in the pixel and the pixel values of the plurality of pixels at the corresponding positions in the reference image data D3 is obtained as a shift amount, and the threshold value t1 is changed by the shift amount. As a result, the threshold value t1 can be corrected based on a difference from a pixel value reference of a certain pixel or a difference from an average pixel value in data that is an average of pixel values of a plurality of pixels. Therefore, the threshold t1 can be corrected in consideration of the difference from the reference that actually appears in each pixel value of the detected read image data due to wear of the contact portion 71.

又、画像形成装置(複合機200)は、本実施形態の画像読取装置100を含む。本実施形態の画像形成装置は、カバー部(原稿搬送部2)の開閉が繰り返されても、検知される原稿dのサイズが正確な画像読取装置100を含む。従って、長年使用しても、誤った原稿サイズの検知結果に基づいて、不適切なジョブが行われることがなく、使用者が所望するとおりのジョブ結果が得られる画像形成装置を提供することができる。   The image forming apparatus (multifunction machine 200) includes the image reading apparatus 100 of the present embodiment. The image forming apparatus of the present embodiment includes an image reading apparatus 100 in which the size of the detected document d is accurate even when the cover unit (document transport unit 2) is repeatedly opened and closed. Accordingly, it is possible to provide an image forming apparatus capable of obtaining a job result as desired by a user without using an inappropriate job based on a detection result of an erroneous document size even after being used for many years. it can.

次に、他の実施形態を説明する。載置読取用コンタクトガラス12に載置された原稿dを押さえるカバー部として、原稿搬送部2を例示したが、カバー部は、原稿搬送機能を有さない矩形板状の原稿カバーでもよい。   Next, another embodiment will be described. The document transport unit 2 is exemplified as the cover unit for pressing the document d placed on the placement and reading contact glass 12. However, the cover unit may be a rectangular plate-shaped document cover having no document transport function.

又、上記の実施形態では、画像形成装置として複合機200を例に挙げたが、本発明は画像読取装置100を含む他の画像形成装置に適用できる。例えば、本発明は、複写機や、スキャナ付きのプリンターや、ファクシミリ装置などにも適用できる。   In the above-described embodiment, the MFP 200 is taken as an example of the image forming apparatus. However, the present invention can be applied to other image forming apparatuses including the image reading apparatus 100. For example, the present invention can be applied to a copying machine, a printer with a scanner, a facsimile machine, and the like.

以上、本発明の実施形態を説明したが、本発明の範囲はこれに限定されず、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。   The embodiment of the present invention has been described above, but the scope of the present invention is not limited to this, and various modifications can be made without departing from the spirit of the invention.

本発明は、読み取りにより原稿の主走査方向のサイズ検知を行う画像読取装置やこれを備えた画像形成装置に利用可能である。   The present invention is applicable to an image reading apparatus that detects the size of a document in the main scanning direction by reading, and an image forming apparatus including the image reading apparatus.

100 画像読取装置 1 画像読取部
10 読取制御部(検知処理部) 102 メモリー
12 載置読取用コンタクトガラス(コンタクトガラス)
2 原稿搬送部(カバー部) 6 読取機構
61 第1移動枠(読取機構6) 62 第2移動枠(読取機構6)
63 ワイヤー(読取機構6) 64 巻取ドラム(読取機構6)
65 巻取モーター(読取機構6) 66 レンズ(読取機構6)
67 ランプ(読取機構6) 68 イメージセンサー(読取機構6)
7 開閉検知部 71 当接部
200 複合機(画像形成装置) D1 開閉回数データ
D2 閾値補正用データ D3 基準画像データ
d 原稿 t1 閾値
DESCRIPTION OF SYMBOLS 100 Image reading apparatus 1 Image reading part 10 Reading control part (detection process part) 102 Memory 12 Placement reading contact glass (contact glass)
2 Document transport unit (cover unit) 6 Reading mechanism 61 First moving frame (reading mechanism 6) 62 Second moving frame (reading mechanism 6)
63 Wire (reading mechanism 6) 64 Winding drum (reading mechanism 6)
65 Winding motor (reading mechanism 6) 66 Lens (reading mechanism 6)
67 Lamp (reading mechanism 6) 68 Image sensor (reading mechanism 6)
7 Open / Close Detection Unit 71 Contact Unit 200 Multifunction Device (Image Forming Apparatus) D1 Open / Close Count Data D2 Threshold Correction Data D3 Reference Image Data d Original Document t1 Threshold Value

Claims (4)

原稿が載置されるコンタクトガラスと、
上下方向に開閉され、前記コンタクトガラスに載置された原稿を押さえるためのカバー部と、
前記カバー部が閉じられる途中で接し、前記カバー部が閉じられるほど前記カバー部に押し込まれる当接部を含み、前記当接部の押し込み量に応じて出力が変化する開閉検知部と、
原稿の読み取りを行い、原稿に向け光を照射するランプと原稿で反射された反射光に基づきライン単位で読み取るイメージセンサーを含み、前記当接部が予め定められた位置まで押し込められると、主走査方向の原稿サイズ検知のために前記コンタクトガラスを読み取るサイズ検知読取を行う読取機構を備え、イメージセンサーの出力に基づき画像データを生成する画像読取部と、
前記サイズ検知読取により得られた前記画像データである検知読取画像データの各画素の画素値と、原稿がある部分と原稿が無い部分の境界位置を検知するための閾値を比較して、原稿がある部分と原稿が無い部分の境界位置を検知し、前記境界位置に基づき前記コンタクトガラスに載置された原稿のサイズを検知する原稿サイズ検知処理を行う検知処理部と、
データを記憶するメモリーを含み、
使用開始から又は先の前記閾値の補正から予め定められた回数の前記カバー部の開閉が行われた第1の場合、
原稿が載置されていない位置の前記検知読取画像データの画素値と前記メモリーに記憶された前記検知読取画像データの基準としての基準画像データ中の対応する位置の画素値に基づく比較を行って求めた前記基準画像データと前記検知読取画像データ間のずれ量が予め定められた許容範囲を超えた第2の場合、
又は、使用開始から又は先の前記閾値の補正から前記予め定められた回数の前記カバー部の開閉が行われた後に原稿が載置されていない位置の前記検知読取画像データの画素値と前記基準画像データ中の対応する位置の画素値に基づく比較を行って求めた前記基準画像データと前記検知読取画像データ間のずれ量が予め定められた許容範囲を超えた第3の場合、
前記検知処理部は、前記閾値を明るい方向に変化させて前記閾値の補正を行い、補正後の前記閾値に基づき、前記原稿サイズ検知処理を行うことを特徴とする画像読取装置。
A contact glass on which the document is placed;
A cover part that is opened and closed in a vertical direction and holds down a document placed on the contact glass;
An opening / closing detection unit that includes a contact part that is in contact with the cover part in the middle of being closed and is pushed into the cover part as the cover part is closed; and an output that varies depending on a pressing amount of the contact part;
When the original is read, it includes a lamp that irradiates light toward the original and an image sensor that reads line by line based on the reflected light reflected by the original, and the main scanning is performed when the contact portion is pushed to a predetermined position. An image reading unit that includes a reading mechanism that performs size detection reading for reading the contact glass for detecting a document size in a direction, and generates image data based on an output of an image sensor;
By comparing the pixel value of each pixel of the detected read image data, which is the image data obtained by the size detection reading, with the threshold value for detecting the boundary position between the portion where the document is present and the portion where the document is not present, A detection processing unit for detecting a boundary position between a certain part and a part without a document, and performing a document size detection process for detecting a size of the document placed on the contact glass based on the boundary position;
Including memory to store data,
In the first case where the cover part is opened and closed a predetermined number of times from the start of use or from the previous correction of the threshold value,
A comparison is made based on the pixel value of the detected read image data at a position where no document is placed and the pixel value of the corresponding position in the reference image data as a reference of the detected read image data stored in the memory. In a second case where the amount of deviation between the determined reference image data and the detected read image data exceeds a predetermined allowable range,
Alternatively, the pixel value of the detected read image data and the reference at a position where the document is not placed after the cover portion is opened and closed a predetermined number of times from the start of use or from the correction of the threshold value. In a third case where the amount of deviation between the reference image data and the detected read image data obtained by performing the comparison based on the pixel values at corresponding positions in the image data exceeds a predetermined allowable range,
The image reading apparatus, wherein the detection processing unit corrects the threshold value by changing the threshold value in a bright direction, and performs the document size detection process based on the corrected threshold value.
前記メモリーは、前記カバー部が開閉された回数と、前記カバー部の開閉回数に応じて前記閾値を定めるための閾値補正用データを記憶し、
前記検知処理部は、前記第1の場合、前記閾値補正用データに基づき、前記閾値を明るい方向に変化させて前記閾値の補正を行うことを特徴とする請求項1に記載の画像読取装置。
The memory stores threshold correction data for determining the threshold according to the number of times the cover is opened and closed and the number of times the cover is opened and closed .
The image reading apparatus according to claim 1, wherein the detection processing unit corrects the threshold value by changing the threshold value in a bright direction based on the threshold value correction data in the first case .
前記検知処理部は、前記第2の場合と前記第3の場合、前記検知読取画像データに含まれる画素の画素値と前記基準画像データ中での対応する位置の画素の画素値との差、あるいは、前記検知読取画像データ中の複数画素の画素値と前記基準画像データ中の対応する位置の複数画素の画素値との差の平均を前記ずれ量として求め、前記ずれ量だけ前記閾値が明るくなる方向に前記閾値を変化させることを特徴とする請求項に記載の画像読取装置。 The detection processing unit, in the second case and the third case, a difference between a pixel value of a pixel included in the detected read image data and a pixel value of a pixel at a corresponding position in the reference image data, Alternatively, an average of the difference between the pixel values of a plurality of pixels at corresponding positions of the pixel values in the reference image data of a plurality of pixels of the detection read in the image data as the shift amount, the shift amount by the threshold brightly the image reading apparatus according to claim 1, characterized in that changing the threshold value in a direction in which. 請求項1乃至の何れか1項に記載の画像読取装置と、画像を形成する画像形成部と、を含むことを特徴とする画像形成装置。 An image reading apparatus according to any one of claims 1 to 3, an image forming apparatus which comprises an image forming unit for forming an image.
JP2013085875A 2013-04-16 2013-04-16 Image reading apparatus and image forming apparatus having the same Expired - Fee Related JP5992360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013085875A JP5992360B2 (en) 2013-04-16 2013-04-16 Image reading apparatus and image forming apparatus having the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013085875A JP5992360B2 (en) 2013-04-16 2013-04-16 Image reading apparatus and image forming apparatus having the same

Publications (2)

Publication Number Publication Date
JP2014209678A JP2014209678A (en) 2014-11-06
JP5992360B2 true JP5992360B2 (en) 2016-09-14

Family

ID=51903643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013085875A Expired - Fee Related JP5992360B2 (en) 2013-04-16 2013-04-16 Image reading apparatus and image forming apparatus having the same

Country Status (1)

Country Link
JP (1) JP5992360B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6443076B2 (en) * 2015-01-26 2018-12-26 コニカミノルタ株式会社 Image reading apparatus and image forming apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3517930B2 (en) * 1994-03-10 2004-04-12 ミノルタ株式会社 Document reading device
JP4877776B2 (en) * 2006-10-26 2012-02-15 シャープ株式会社 Document size detection apparatus, document reading apparatus, and image forming apparatus
JP2008263292A (en) * 2007-04-10 2008-10-30 Canon Inc Image reader

Also Published As

Publication number Publication date
JP2014209678A (en) 2014-11-06

Similar Documents

Publication Publication Date Title
US7688477B2 (en) Image reading apparatus, and method for detecting size of document
JP2010278563A (en) Image reading device, and image forming apparatus with the same
JP6047528B2 (en) Image reading apparatus and image forming apparatus
US8822908B2 (en) Image scanner, image forming apparatus and dew-condensation determination method
JP5992360B2 (en) Image reading apparatus and image forming apparatus having the same
JP5622657B2 (en) Image reading apparatus and image forming apparatus having the same
US10209659B2 (en) Image forming apparatus, information processing apparatus, and non-transitory computer readable medium
JP6528727B2 (en) Image reading apparatus, image forming apparatus, adjustment value setting method
JP2019057779A (en) Image forming device
JP2012015750A (en) Image reading device and image forming apparatus having the device
JP2022128248A (en) Image reading device and image forming apparatus
JP5784185B2 (en) Image reading apparatus and image forming apparatus having the same
JP6043826B2 (en) Image reading apparatus and image forming apparatus having the same
JP6747398B2 (en) Image reading apparatus and image forming apparatus
JP5775828B2 (en) Image reading apparatus and image forming apparatus having the same
JP2012034168A (en) Image reader and image formation device with the same
JP2016220076A (en) Document reading device and image formation device
JP5216691B2 (en) Image reading apparatus and image forming apparatus
JP6885076B2 (en) Image reader, image forming device, image processing device, and image processing method
JP5764699B2 (en) Image reading apparatus and image forming apparatus having the same
JP5784184B2 (en) Image reading apparatus and image forming apparatus having the same
JP5764698B2 (en) Image reading apparatus and image forming apparatus having the same
JP6565851B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP6055860B2 (en) Image reading apparatus and image forming apparatus having the same
JP6055859B2 (en) Image reading apparatus and image forming apparatus having the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160325

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160629

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160629

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160817

R150 Certificate of patent or registration of utility model

Ref document number: 5992360

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees