JP2018107572A - Image reading device, image formation apparatus, control program and control method - Google Patents

Image reading device, image formation apparatus, control program and control method Download PDF

Info

Publication number
JP2018107572A
JP2018107572A JP2016250737A JP2016250737A JP2018107572A JP 2018107572 A JP2018107572 A JP 2018107572A JP 2016250737 A JP2016250737 A JP 2016250737A JP 2016250737 A JP2016250737 A JP 2016250737A JP 2018107572 A JP2018107572 A JP 2018107572A
Authority
JP
Japan
Prior art keywords
document
size
unit
detecting
image reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016250737A
Other languages
Japanese (ja)
Other versions
JP6785150B2 (en
Inventor
福留 正一
Shoichi Fukutome
正一 福留
中西 健二
Kenji Nakanishi
健二 中西
康裕 数藤
Yasuhiro Sudo
康裕 数藤
山中 久志
Hisashi Yamanaka
久志 山中
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2016250737A priority Critical patent/JP6785150B2/en
Publication of JP2018107572A publication Critical patent/JP2018107572A/en
Application granted granted Critical
Publication of JP6785150B2 publication Critical patent/JP6785150B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image reading device, an image formation apparatus, a control program and a control method which can decide the document size without turning a document pressing cover into the closed state.SOLUTION: An image reading device 10 includes a CPU. The CPU detects the light amount for each of a plurality of divided regions set in the main-scanning direction for each prescribed time when a document pressing cover 18 starts to be closed on the basis of the output of an opening/closing sensor 164, calculates the ratio of the minimum value to the maximum value of the light amount in each divided region as the result of the prescribed frequency of sampling, decides the size in the main-scanning direction on the basis of the calculated ratio, decides the size in the sub-scanning direction on the basis of the output of two sub-scanning sensors, and decides the document size on the basis of the size in the main-scanning direction and the size in the sub-scanning direction.SELECTED DRAWING: Figure 1

Description

この発明は画像読取装置、画像形成装置、制御プログラムおよび制御方法に関し、特にたとえば、原稿を読み取る、画像読取装置、画像形成装置、制御プログラムおよび制御方法に関する。   The present invention relates to an image reading apparatus, an image forming apparatus, a control program, and a control method, and more particularly to an image reading apparatus, an image forming apparatus, a control program, and a control method for reading a document.

この種の背景技術の一例が特許文献1に開示される。この特許文献1の画像読み取り装置では、圧板を閉め始めたと同時に原稿照明ランプを点灯し、圧板が「閉」状態になるまで原稿サイズ検出処理を行う。原稿サイズ検出では、一定時間毎に基準白板及び原稿をサンプリングする。原稿幅の検出は、主走査方向の検出ポイントを参照することによって行う。具体的には、サンプリング間隔毎に、各検出ポイントでの読み取り値(光量)が、基準白板の白レベルより算出されたスレッシュレベルを、上回っている場合に、原稿有りと判断し、下回っている場合に、原稿無しと判断する。原稿サイズの確定は、まず各検出ポイントの原稿有り無し判断履歴を検索し、原稿無しから有りに変化した検出ポイントには原稿が無いと判断する。そして、最終的に原稿有りとなった検出ポイントの最大幅を用いて原稿サイズを決定する。ただし、副走査サイズは、フォトセンサで原稿有りを検出しているかどうかで判断される。   An example of this type of background art is disclosed in Patent Document 1. In the image reading apparatus of Patent Document 1, the document illumination lamp is turned on simultaneously with the start of closing the pressure plate, and the document size detection process is performed until the pressure plate is in the “closed” state. In the document size detection, the reference white plate and the document are sampled at regular intervals. The document width is detected by referring to the detection point in the main scanning direction. Specifically, at each sampling interval, if the reading value (light quantity) at each detection point exceeds the threshold level calculated from the white level of the reference white plate, it is determined that there is a document and is lower. In this case, it is determined that there is no document. To determine the document size, first, the document presence / absence determination history of each detection point is searched, and it is determined that there is no document at the detection point that has changed from “no document” to “present”. Then, the document size is determined using the maximum width of the detection point where the document is finally present. However, the sub-scanning size is determined by whether or not the presence of a document is detected by the photo sensor.

特開2008−263292号公報 [H04N 1/04, H04N 1/10, H04N 1/107, H04N 1/00,G06T 1/00]JP 2008-263292 A [H04N 1/04, H04N 1/10, H04N 1/107, H04N 1/00, G06T 1/00]

しかし、特許文献1の画像読み取り装置では、圧板が「閉」状態になったときに、原稿照明ランプを消灯して原稿サイズの確定を行うため、圧板を閉じた状態にする必要がある。したがって、ブック原稿等の厚みがある原稿の原稿サイズについては、自動的に検知することができない。また、基準白板の光量(白レベル)の所定の割合(70%)でスレッシュレベルが決定されるため、黒抜き白文字の原稿の原稿サイズの検出にも課題が残る。   However, in the image reading apparatus of Patent Document 1, when the pressure plate is in the “closed” state, the document illumination lamp is turned off to determine the document size, so that the pressure plate needs to be closed. Therefore, the document size of a thick document such as a book document cannot be automatically detected. Further, since the threshold level is determined by a predetermined ratio (70%) of the amount of light (white level) of the reference white plate, there remains a problem in detecting the document size of a black white original.

それゆえに、この発明の主たる目的は、新規な、画像読取装置、画像形成装置、制御プログラムおよび制御方法を提供することである。   Therefore, a main object of the present invention is to provide a novel image reading apparatus, image forming apparatus, control program, and control method.

この発明の他の目的は、原稿押さえカバーを閉じた状態にしなくても原稿サイズを検出することができる、画像読取装置、画像形成装置、制御プログラムおよび制御方法を提供することである。   Another object of the present invention is to provide an image reading apparatus, an image forming apparatus, a control program, and a control method capable of detecting the document size without closing the document pressing cover.

第1の発明は、透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置であって、第1サイズ検出部と、カバー検出部と、光量検出部と、比率算出部と、第2サイズ検出部と、原稿サイズ決定部を備える。第1サイズ検出部は、読取部の副走査方向における原稿の第1サイズを検出する。カバー検出部は、少なくとも原稿押さえカバーが閉じる方向に動いていることを検出する。光量検出部は、カバー検出部によって原稿押さえカバーが閉じる方向に動いていることが検出されたことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出する。比率算出部は、光量検出部によって検出された分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出する。第2サイズ検出部は、比率算出部の算出結果に基づいて、読取部の主走査方向における原稿の第2サイズを検出する。原稿サイズ決定部は、第1サイズ検出部の検出結果と第2サイズ検出部の検出結果とに基づいて原稿サイズを決定する。   A first invention is an image reading apparatus including a document pressing cover that covers a document placed on a transparent plate, and a reading unit that includes at least an image reading element, the first size detection unit, and a cover detection unit A light amount detection unit, a ratio calculation unit, a second size detection unit, and a document size determination unit. The first size detection unit detects a first size of the document in the sub-scanning direction of the reading unit. The cover detection unit detects that at least the document pressing cover is moving in the closing direction. The light amount detection unit detects the light amount of each of the plurality of divided regions in the main scanning direction at predetermined time intervals in response to the detection of the document pressing cover moving in the closing direction by the cover detection unit. The ratio calculation unit calculates a light amount ratio based on the maximum value and the minimum value of each light amount of the divided areas detected by the light amount detection unit. The second size detection unit detects the second size of the document in the main scanning direction of the reading unit based on the calculation result of the ratio calculation unit. The document size determination unit determines the document size based on the detection result of the first size detection unit and the detection result of the second size detection unit.

第1の発明によれば、原稿押さえカバーが閉じる方向に動いていることを検出すると、主走査方向の走査領域に設定された分割領域毎の光量を所定時間毎に検出し、各分割領域における光量の最大値に対する最小値の比率に基づいて検出した主走査方向のサイズと副走査方向のサイズとに基づいて原稿サイズを決定するので、原稿押さえカバーを閉じた状態にしなくても原稿サイズを検出することができる。   According to the first aspect of the invention, when it is detected that the document pressing cover is moving in the closing direction, the light amount of each divided area set in the scanning area in the main scanning direction is detected every predetermined time. Since the document size is determined based on the size in the main scanning direction and the size in the sub-scanning direction that are detected based on the ratio of the minimum value to the maximum value of the light amount, the document size can be adjusted even if the document pressing cover is not closed. Can be detected.

第2の発明は、第1の発明に従属し、有無判断部をさらに備える。有無判断部は、比率算出部によって算出された比率が所定の閾値を超えるかどうかに基づいて各分割領域における原稿の有無を判断する。たとえば、最大値に対する最小値の比率が算出される場合には、比率が大きいことは、最大値と最小値が近似することを意味するため、当該領域については、原稿が有ることが判断される。一方、比率が小さいことは、最大値と最小値の差が大きいことを意味するため、当該領域については、原稿が無いことが判断される。第2サイズ検出部は、有無判断部によって原稿が有ることを判断された分割領域に基づいて第2サイズを検出する。   The second invention is dependent on the first invention and further includes a presence / absence determining unit. The presence / absence determining unit determines the presence / absence of a document in each divided region based on whether the ratio calculated by the ratio calculating unit exceeds a predetermined threshold. For example, when the ratio of the minimum value to the maximum value is calculated, a large ratio means that the maximum value and the minimum value are approximated, and therefore it is determined that there is a document for the area. . On the other hand, when the ratio is small, it means that the difference between the maximum value and the minimum value is large. Therefore, it is determined that there is no document in the area. The second size detection unit detects the second size based on the divided area determined by the presence / absence determination unit that the document is present.

第2の発明によれば、分割領域毎に原稿の有無を判断して、原稿が有ると判断された分割領域に応じて主走査方向のサイズを決定することができる。   According to the second invention, it is possible to determine the presence or absence of a document for each divided area, and to determine the size in the main scanning direction according to the divided area determined to have a document.

第3の発明は、第2の発明に従属し、再計算部をさらに備える。再計算部は、すべての分割領域における光量比率の最大値と最小値から閾値を再計算する。   A third invention is dependent on the second invention and further includes a recalculation unit. The recalculation unit recalculates the threshold value from the maximum value and the minimum value of the light amount ratio in all the divided areas.

第3の発明によれば、閾値を再計算するので、薄紙などの光量比率が低下される原稿であっても、正しく原稿サイズを決定することができる。   According to the third aspect, since the threshold value is recalculated, it is possible to correctly determine the document size even for a document whose light quantity ratio is reduced, such as thin paper.

第4の発明は、第1ないし第3の発明のいずれかに従属し、領域別有無判断手段は、分割領域についての光量が複数回連続して増大した場合に、当該分割領域に原稿が載置されていないことを判断する。   The fourth invention is dependent on any one of the first to third inventions, and the means for determining presence / absence of each area places a document in the divided area when the light quantity of the divided area continuously increases a plurality of times. It is determined that it is not placed.

第4の発明によれば、光量が複数回連続して増大する場合にも当該領域について原稿が無いことを判断することができる。   According to the fourth aspect of the present invention, it can be determined that there is no document for the area even when the light quantity continuously increases a plurality of times.

第5の発明は、第1ないし第4の発明のいずれかに従属し、非載置判断部をさらに備える。非載置判断部は、比率算出部によって算出された比率が所定の条件を満たすかどうかに応じて原稿が透明板上に載っていないかどうかを判断する。非載置判断部によって原稿が透明板上に載っていないことが判断されない場合に、第2サイズ検出部と、原稿サイズ決定部による処理を実行させる。つまり、原稿が透明板上に載っていないことが判断されると、第2サイズ検出部および原稿サイズ決定部の処理は実行されない。   A fifth invention is dependent on any one of the first to fourth inventions, and further includes a non-placement determining unit. The non-placement determining unit determines whether the document is not placed on the transparent plate according to whether the ratio calculated by the ratio calculating unit satisfies a predetermined condition. When the non-placement determining unit does not determine that the document is not placed on the transparent plate, the second size detecting unit and the document size determining unit are caused to execute processing. That is, when it is determined that the document is not placed on the transparent plate, the processes of the second size detection unit and the document size determination unit are not executed.

第5の発明よれば、原稿が透明板上に載っていない場合には、第2サイズ検出部および原稿サイズ決定部による処理を省略することができる。つまり、無駄な処理を省くことができる。   According to the fifth invention, when the document is not placed on the transparent plate, the processing by the second size detection unit and the document size determination unit can be omitted. That is, useless processing can be omitted.

第6の発明は、第1ないし第5の発明に従属し、分割領域は、AB系サイズに原稿サイズを決定する場合と、インチ系サイズに原稿サイズを決定する場合とで変更される。   The sixth invention is dependent on the first to fifth inventions, and the divided areas are changed between when the document size is determined as the AB size and when the document size is determined as the inch size.

第6の発明によれば、規格の異なるサイズの原稿を読み取る場合には、分割領域を変更するので、原稿サイズを正しく決定することができる。   According to the sixth aspect of the invention, when reading originals of different sizes, the divided area is changed, so that the original size can be determined correctly.

第7の発明は、透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置であって、カバー検出部と、光量検出部と、比率算出部と、載置判断部を備える。カバー検出部は、少なくとも原稿押さえカバーが閉じる方向に動いていることを検出する。光量検出部は、カバー検出部によって原稿押さえカバーが閉じる方向に動いていることが検出されたことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出する。比率算出部は、光量検出部によって検出された分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出する。載置判断部は、比率算出部の算出結果に基づいて、原稿が透明板上に載置されているかどうかを判断する。   A seventh invention is an image reading apparatus including a document pressing cover that covers a document placed on a transparent plate, and a reading unit that includes at least an image reading element, a cover detection unit, a light amount detection unit, A ratio calculation unit and a placement determination unit are provided. The cover detection unit detects that at least the document pressing cover is moving in the closing direction. The light amount detection unit detects the light amount of each of the plurality of divided regions in the main scanning direction at predetermined time intervals in response to the detection of the document pressing cover moving in the closing direction by the cover detection unit. The ratio calculation unit calculates a light amount ratio based on the maximum value and the minimum value of each light amount of the divided areas detected by the light amount detection unit. The placement determination unit determines whether or not the document is placed on the transparent plate based on the calculation result of the ratio calculation unit.

第7の発明によれば、原稿押さえカバーを閉じた状態にしなくても、分割領域の各々についての光量の比率に基づいて原稿が透明板上に載置しているかどうかを判断することができる。   According to the seventh aspect, it is possible to determine whether or not the document is placed on the transparent plate based on the ratio of the light amount for each of the divided areas without closing the document pressing cover. .

第8の発明は、第1ないし第7の発明のいずれかに記載の画像読取装置を備える、画像形成装置である。   An eighth invention is an image forming apparatus including the image reading device according to any one of the first to seventh inventions.

第9の発明は、透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置で実行させる制御プログラムであって、画像読取装置のプロセッサに、読取部の副走査方向における原稿の第1サイズを検出する第1サイズ検出ステップと、少なくとも原稿押さえカバーが閉じる方向に動いていることを検出するカバー検出ステップと、カバー検出ステップにおいて原稿押さえカバーが閉じる方向に動いていることを検出したことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出する光量検出ステップと、光量検出ステップにおいて検出した分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出する比率算出ステップと、比率算出ステップの算出結果に基づいて、読取部の主走査方向における原稿の第2サイズを検出する第2サイズ検出ステップと、第1サイズ検出ステップの検出結果と第2サイズ検出ステップの検出結果とに基づいて原稿サイズを決定する原稿サイズ決定部を実行させる、制御プログラムである。   A ninth invention is a control program to be executed by an image reading apparatus including a document pressing cover that covers a document placed on a transparent plate and a reading unit that includes at least an image reading element, and a processor of the image reading apparatus In addition, a first size detecting step for detecting the first size of the document in the sub-scanning direction of the reading unit, a cover detecting step for detecting that at least the document pressing cover is moving in the closing direction, and a document pressing in the cover detecting step In response to detecting that the cover is moving in the closing direction, a light amount detection step for detecting the light amount of each of the plurality of divided regions in the main scanning direction at predetermined times, and the divided region detected in the light amount detection step The ratio calculation step for calculating the ratio of the light quantity based on the maximum value and the minimum value of each light quantity, and the calculation of the ratio calculation step Based on the result, the second size detection step for detecting the second size of the document in the main scanning direction of the reading unit, the detection result of the first size detection step, and the detection result of the second size detection step, the document size This is a control program for executing a document size determination unit for determining the document size.

第10の発明は、透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置の制御方法であって、(a)読取部の副走査方向における原稿の第1サイズを検出するステップと、(b)少なくとも原稿押さえカバーが閉じる方向に動いていることを検出するステップと、(c)カバー検出部において原稿押さえカバーが閉じる方向に動いていることを検出したことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出するステップと、(d)光量検出ステップにおいて検出した分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出するステップと、(e)比率算出ステップの算出結果に基づいて、読取部の主走査方向における原稿の第2サイズを検出するステップと、(f)第1サイズ検出ステップの検出結果と第2サイズ検出ステップの検出結果とに基づいて原稿サイズを決定するステップを含む、制御方法である。   A tenth aspect of the invention is a method for controlling an image reading apparatus including a document pressing cover that covers a document placed on a transparent plate, and a reading unit including at least an image reading element. Detecting a first size of the document in the scanning direction; (b) detecting at least that the document pressing cover is moving in the closing direction; and (c) moving the document pressing cover in the cover detecting unit in the closing direction. Detecting the light quantity of each of the plurality of divided areas in the main scanning direction at predetermined time intervals, and (d) detecting the maximum light quantity of each of the divided areas detected in the light quantity detecting step. A step of calculating a ratio of light quantity based on the minimum value and (e) a second size of the document in the main scanning direction of the reading unit based on the calculation result of the ratio calculation step. The and detecting, determining the document size based on the detection result of (f) the detection result and the second size detecting step of the first size detecting step, a control method.

第8ないし第10の発明においても、第1の発明と同様に、原稿押さえカバーを閉じた状態にしなくても原稿サイズを検出することができる。   In the eighth to tenth inventions, similarly to the first invention, the document size can be detected without the document pressing cover being closed.

この発明によれば、原稿押さえカバーを閉じた状態にしなくても原稿サイズを検出することができる。   According to the present invention, the document size can be detected without closing the document pressing cover.

この発明の上述の目的、その他の目的、特徴および利点は、図面を参照して行う後述の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features, and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1はこの発明の一実施例の複合機の一部の内部構造を示す概略図である。FIG. 1 is a schematic view showing the internal structure of a part of a multifunction machine according to an embodiment of the present invention. 図2は図1に示す複合機の電気的な構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the electrical configuration of the multifunction machine shown in FIG. 図3は画像読取装置を原稿押さえカバーを外した状態で上方から見た上面図である。FIG. 3 is a top view of the image reading apparatus viewed from above with the document pressing cover removed. 図4(A)は原稿押さえカバーが開状態における開閉センサの一例を示す図解図であり、図4(B)は原稿押さえカバーが閉状態における開閉センサの一例を示す図解図であり、図4(C)は開閉センサを上面視した上面図である。4A is an illustrative view showing an example of an open / close sensor when the document pressing cover is in an open state, and FIG. 4B is an illustrative view showing an example of an opening / closing sensor when the document pressing cover is in a closed state. (C) is a top view of the open / close sensor as viewed from above. 図5は第1実施例の原稿押さえカバーと画像読取装置の内部構造を示す概略図である。FIG. 5 is a schematic diagram showing the internal structure of the document pressing cover and the image reading apparatus of the first embodiment. 図6は第1実施例の原稿押さえカバーと画像読取装置の内部構造を示す概略図である。FIG. 6 is a schematic diagram showing the internal structure of the document pressing cover and the image reading apparatus of the first embodiment. 図7(A)はAB系サイズの原稿サイズを決定する場合の主走査方向における全走査領域に設定された複数の領域を示す図解図であり、図7(B)はAB系サイズの原稿サイズを決定する場合の判断テーブルを示す図解図である。FIG. 7A is an illustrative view showing a plurality of areas set in all scanning areas in the main scanning direction when determining an AB-size original size, and FIG. 7B shows an AB-size original size. It is an illustration figure which shows the judgment table in the case of determining. 図8は普通紙の原稿の原稿サイズを決定する場合の各領域の光量比率を示すグラフである。FIG. 8 is a graph showing the light quantity ratio of each area when determining the document size of a plain paper document. 図9は薄紙の原稿の原稿サイズを決定する場合の各領域の光量比率を示すグラフである。FIG. 9 is a graph showing the light quantity ratio of each region when determining the document size of a thin paper document. 図10は黒ベタ上に白抜き文字の印字された原稿の原稿サイズを決定する場合の各領域の光量比率を示すグラフである。FIG. 10 is a graph showing the light quantity ratio of each region when determining the document size of a document in which white characters are printed on a solid black. 図11は図2に示すRAMのメモリマップの一例を示す図解図である。FIG. 11 is an illustrative view showing one example of a memory map of the RAM shown in FIG. 図12は図2に示すCPUのサイズ決定処理の一部を示すフロー図である。FIG. 12 is a flowchart showing a part of the CPU size determination processing shown in FIG. 図13は図2に示すCPUのサイズ決定処理の他の一部であって、図12に後続するフロー図である。FIG. 13 is another part of the CPU size determination process shown in FIG. 2, and is a flowchart subsequent to FIG. 図14(A)はインチ系サイズの原稿サイズを決定する場合の主走査方向における全走査領域に設定された複数の領域を示す図解図であり、図14(B)はインチ系サイズの原稿サイズを決定する場合の判断テーブルを示す図解図である。FIG. 14A is an illustrative view showing a plurality of areas set in the entire scanning area in the main scanning direction when an inch-size document size is determined, and FIG. 14B is an inch-size document size. It is an illustration figure which shows the judgment table in the case of determining. 図15は第3実施例におけるCPUのサイズ決定処理の他の一部であって、図12に後続するフロー図である。FIG. 15 shows another part of the CPU size determination process in the third embodiment, and is a flowchart subsequent to FIG.

[第1実施例]
図1はこの発明の第1実施例の画像形成装置の外観構成を示す図解図である。この図1を参照して、この発明の理解に必要な範囲で画像形成装置についての概略を説明する。図1は、画像形成装置の一例として、複写機能、プリンタ機能、スキャナ機能およびファクシミリ機能などを有する複合機(MFP:Multifunction Peripheral)100を図示する。ただし、この発明は、画像読取装置10(スキャナ機能)または少なくとも画像読取装置10を備える任意の画像形成装置に適用できることを予め指摘しておく。
[First embodiment]
FIG. 1 is an illustrative view showing an external configuration of an image forming apparatus according to a first embodiment of the present invention. With reference to FIG. 1, an outline of the image forming apparatus will be described to the extent necessary for understanding the present invention. FIG. 1 illustrates a multifunction peripheral (MFP) 100 having a copying function, a printer function, a scanner function, a facsimile function, and the like as an example of an image forming apparatus. However, it should be pointed out in advance that the present invention can be applied to the image reading apparatus 10 (scanner function) or any image forming apparatus including at least the image reading apparatus 10.

図1に示すように、複合機100は、画像読取装置10を含み、この画像読取装置10は複合機本体12の上方に配置される。画像読取装置10は、透明材によって形成される原稿載置台(原稿台ガラス)14aおよびSPFガラス14bを備える。原稿載置台14aおよびSPFガラス14bの上方には、ヒンジ16(図6参照)等を介して原稿押さえカバー18が開閉自在に取り付けられる。ヒンジ16は、図1において、画像読取装置10の奥側の端部において、この画像読取装置10に原稿押さえカバー18を開閉可能に連結する。この原稿押さえカバー18には、原稿載置トレイ20に載置された原稿を画像読取位置22(SPFガラス14bが設けられる位置)に対して1枚ずつ自動的に給紙するADF(自動原稿送り装置)24が設けられる。ただし、ADF24は設けられなくてもよい。   As shown in FIG. 1, the multifunction device 100 includes an image reading device 10, and the image reading device 10 is disposed above the multifunction device main body 12. The image reading apparatus 10 includes an original placing table (original table glass) 14a and an SPF glass 14b formed of a transparent material. A document pressing cover 18 is attached above the document placing table 14a and the SPF glass 14b via a hinge 16 (see FIG. 6) and the like so as to be freely opened and closed. 1, the hinge 16 connects the document pressing cover 18 to the image reading device 10 so that the document pressing cover 18 can be opened and closed at the back end of the image reading device 10. The document pressing cover 18 automatically feeds documents placed on the document placing tray 20 one by one with respect to the image reading position 22 (position where the SPF glass 14b is provided). Device) 24 is provided. However, the ADF 24 may not be provided.

原稿載置台14aの前面側(図1では手前側)には、ユーザによる入力操作を受け付けるタッチパネルおよび操作ボタン等の操作部162(図1では省略)が設けられる。原稿載置台14aよりも背面寄りであり、画像読取装置10を正面から見た場合に、左側のヒンジ16の左側には、原稿押さえカバー18の開閉を検出するための開閉センサ164が設けられる(図5および図6も参照)。   An operation unit 162 (not shown in FIG. 1) such as a touch panel and operation buttons for receiving an input operation by the user is provided on the front side (the front side in FIG. 1) of the document placing table 14a. An opening / closing sensor 164 for detecting the opening / closing of the document pressing cover 18 is provided on the left side of the left hinge 16 when the image reading apparatus 10 is viewed from the front side. (See also FIGS. 5 and 6).

また、画像読取装置10には、画像読取部26が設けられ、この画像読取部26は、光源260、複数のミラー262、リフレクタ264、結像レンズ266およびラインセンサ268等を備える。ただし、光源260、複数のミラー262およびリフレクタ264によって走査ユニット270が構成される。   Further, the image reading device 10 is provided with an image reading unit 26. The image reading unit 26 includes a light source 260, a plurality of mirrors 262, a reflector 264, an imaging lens 266, a line sensor 268, and the like. However, the light source 260, the plurality of mirrors 262, and the reflector 264 constitute a scanning unit 270.

光源260は、LEDまたはハロゲンランプ或いはキセノンランプなどであり、ラインセンサ268の配列方向(主走査方向)に長い棒状に形成され、原稿を照明する。   The light source 260 is an LED, a halogen lamp, a xenon lamp, or the like, and is formed in a bar shape long in the arrangement direction (main scanning direction) of the line sensors 268, and illuminates the document.

複数のミラー262は、それぞれ、光源260によって照明される原稿からの反射光像を所定の方向に反射させる。また、リフレクタ264は、光源260から出力(露光)される光を原稿に集光する。   Each of the plurality of mirrors 262 reflects the reflected light image from the original illuminated by the light source 260 in a predetermined direction. The reflector 264 collects light output (exposed) from the light source 260 on the document.

原稿載置台14aに置かれた原稿を読み取る場合には、走査ユニット270は、スキャンモータによって所定の速度で副走査方向に移動される。また、ADF24によって原稿載置トレイ20に載置された原稿を読み取る場合には、走査ユニット270は、SPFガラス14bの下方で停止される。   When reading a document placed on the document table 14a, the scanning unit 270 is moved in the sub-scanning direction at a predetermined speed by a scan motor. Further, when reading the original placed on the original placement tray 20 by the ADF 24, the scanning unit 270 is stopped below the SPF glass 14b.

画像読取部26は、原稿表面を光源260によって露光し、原稿表面から反射した反射光を複数のミラー262によって結像レンズ266に導く。そして、結像レンズ266によって反射光をラインセンサ268の受光素子に結像させる。ラインセンサ268では、受光素子に結像した反射光の輝度や色度が検出され、原稿表面の画像に基づく画像データが生成される。ラインセンサ268としては、CCD(Charge Coupled Device)やCIS(Contact Image Sensor)等の撮像装置が用いられる。ただし、ラインセンサ268は、R用ラインセンサ、G用ラインセンサおよびB用ラインセンサを含む。   The image reading unit 26 exposes the document surface with a light source 260 and guides reflected light reflected from the document surface to the imaging lens 266 by a plurality of mirrors 262. The reflected light is imaged on the light receiving element of the line sensor 268 by the imaging lens 266. The line sensor 268 detects the brightness and chromaticity of the reflected light imaged on the light receiving element, and generates image data based on the image on the document surface. As the line sensor 268, an imaging device such as a charge coupled device (CCD) or a contact image sensor (CIS) is used. However, the line sensor 268 includes an R line sensor, a G line sensor, and a B line sensor.

複合機本体12の内部には、制御部28および画像形成部30が設けられる。制御部28は、CPU150およびメモリ(154、156、158)等を備え(図2参照)、タッチパネル等の操作部162への入力操作などに応じて、複合機100の各部に制御信号を送信し、複合機100に種々の動作を実行させる。   A control unit 28 and an image forming unit 30 are provided inside the multifunction machine main body 12. The control unit 28 includes a CPU 150, memories (154, 156, 158) and the like (see FIG. 2), and transmits a control signal to each unit of the multifunction device 100 in response to an input operation to the operation unit 162 such as a touch panel. Then, the MFP 100 is caused to execute various operations.

画像形成部30は、露光ユニット32、現像ローラ34、感光体ドラム36、クリーナユニット38、帯電器40、中間転写ベルトユニット42、転写ローラ(2次転写ローラ)44および定着ユニット46等を備え、給紙カセット48または手差し給紙カセット50から搬送される用紙(記録紙)上に画像を形成し、画像形成済みの用紙を排紙トレイ52に排出する。用紙上に画像を形成するための画像データとしては、画像読取部26で読み取った画像データや外部コンピュータから送信された画像データ等が利用される。   The image forming unit 30 includes an exposure unit 32, a developing roller 34, a photosensitive drum 36, a cleaner unit 38, a charger 40, an intermediate transfer belt unit 42, a transfer roller (secondary transfer roller) 44, a fixing unit 46, and the like. An image is formed on a sheet (recording sheet) conveyed from the sheet feeding cassette 48 or the manual sheet feeding cassette 50, and the sheet on which the image has been formed is discharged to a sheet discharge tray 52. As image data for forming an image on a sheet, image data read by the image reading unit 26, image data transmitted from an external computer, or the like is used.

なお、複合機100において扱われる画像データは、ブラック(K)、シアン(C)、マゼンタ(M)およびイエロー(Y)の4色のカラー画像に応じたものである。このため、現像ローラ34、感光体ドラム36、クリーナユニット38および帯電器40のそれぞれは、各色に応じた4種類の潜像を形成するように4個ずつ設けられ、これらによって4つの画像ステーションが構成される。また、感光体ドラム36、クリーナユニット38および帯電器40は、ユニット化されており、これらによってプロセスユニットが構成される。つまり、画像形成部30には、各々が感光体ドラム36、クリーナユニット38および帯電器40等を備える4つのプロセスユニット35が設けられている。プロセスユニット35のそれぞれは、複合機100の前面側から個別に着脱できる。   Note that the image data handled in the multifunction peripheral 100 corresponds to four color images of black (K), cyan (C), magenta (M), and yellow (Y). For this reason, each of the developing roller 34, the photosensitive drum 36, the cleaner unit 38, and the charger 40 is provided so as to form four types of latent images corresponding to the respective colors, thereby providing four image stations. Composed. Further, the photosensitive drum 36, the cleaner unit 38, and the charger 40 are unitized, and a process unit is configured by these units. That is, the image forming unit 30 is provided with four process units 35 each including a photosensitive drum 36, a cleaner unit 38, a charger 40, and the like. Each of the process units 35 can be individually attached and detached from the front side of the multifunction machine 100.

感光体ドラム36は、導電性を有する円筒状の基体の表面に感光層が形成された像担持体であり、帯電器40は、この感光体ドラム36の表面を所定の電位(たとえば、−600V)に帯電させる部材である。たとえば、ローラ型の帯電器(帯電ローラ)40が用いられる。また、露光ユニット32は、レーザ出射部および反射ミラー等を備えたレーザスキャニングユニット(LSU)として構成され、帯電された感光体ドラム36の表面を露光することによって、画像データに応じた静電潜像を感光体ドラム36の表面に形成する。現像ローラ34は、感光体ドラム36の表面に形成された静電潜像を4色(YMCK)のトナーによって顕像化するものである。また、クリーナユニット38は、現像および画像転写後における感光体ドラム36の表面に残留したトナーをクリーニングブレードで除去し、除去したトナーを廃トナーボックスに搬送する。   The photosensitive drum 36 is an image carrier in which a photosensitive layer is formed on the surface of a cylindrical substrate having conductivity. The charger 40 applies a predetermined potential (for example, −600 V) to the surface of the photosensitive drum 36. ). For example, a roller-type charger (charging roller) 40 is used. Further, the exposure unit 32 is configured as a laser scanning unit (LSU) including a laser emitting portion and a reflection mirror, and exposes the surface of the charged photosensitive drum 36 so that an electrostatic latent image corresponding to image data is obtained. An image is formed on the surface of the photosensitive drum 36. The developing roller 34 visualizes the electrostatic latent image formed on the surface of the photosensitive drum 36 with toner of four colors (YMCK). The cleaner unit 38 removes toner remaining on the surface of the photosensitive drum 36 after development and image transfer with a cleaning blade, and conveys the removed toner to a waste toner box.

帯電器40は、感光体ドラム36と同程度の軸方向長さを有し、帯電器40と感光体ドラム36とは、その外周面同士が接触するように互いの軸が平行に配置されて、同じ周速度で回転する。また、クリーニングローラ72は、感光体ドラム36と反対側の位置において、帯電器40の外周面と接触するように配置される。クリーニングローラ72は、円柱状の金属シャフトとその外周面上を覆う弾性発泡体(スポンジ層)とを備え、帯電器40の外周面に付着したトナー等の異物を除去する。   The charger 40 has the same axial length as the photoconductor drum 36, and the charger 40 and the photoconductor drum 36 are arranged in parallel so that their outer peripheral surfaces are in contact with each other. Rotate at the same peripheral speed. The cleaning roller 72 is disposed so as to contact the outer peripheral surface of the charger 40 at a position opposite to the photosensitive drum 36. The cleaning roller 72 includes a cylindrical metal shaft and an elastic foam (sponge layer) covering the outer peripheral surface thereof, and removes foreign matters such as toner adhering to the outer peripheral surface of the charger 40.

中間転写ベルトユニット42は、中間転写ベルト54、駆動ローラ56、従動ローラ58および4つの中間転写ローラ60等を備え、感光体ドラム36の上方に配置される。中間転写ベルト54は、各感光体ドラム36に接触するように設けられており、中間転写ローラ60を用いて、各感光体ドラム36に形成された各色のトナー像を中間転写ベルト54に順次重ねて転写することによって、中間転写ベルト54上に多色のトナー像が形成される。また、駆動ローラ56の近傍には、転写ローラ44が配置されており、中間転写ベルト54と転写ローラ44との間のニップ域を用紙が通過することによって、中間転写ベルト54に形成されたトナー像が用紙に転写される。   The intermediate transfer belt unit 42 includes an intermediate transfer belt 54, a drive roller 56, a driven roller 58, four intermediate transfer rollers 60, and the like, and is disposed above the photosensitive drum 36. The intermediate transfer belt 54 is provided so as to be in contact with each photosensitive drum 36, and the toner images of the respective colors formed on the respective photosensitive drums 36 are sequentially superimposed on the intermediate transfer belt 54 using the intermediate transfer roller 60. As a result, a multicolor toner image is formed on the intermediate transfer belt 54. Further, a transfer roller 44 is disposed in the vicinity of the driving roller 56, and the toner formed on the intermediate transfer belt 54 by passing the sheet through the nip area between the intermediate transfer belt 54 and the transfer roller 44. The image is transferred to the paper.

定着ユニット46は、ヒートローラ62および加圧ローラ64を備え、転写ローラ44の上方に配置される。ヒートローラ62は、所定の定着温度となるように設定されており、ヒートローラ62と加圧ローラ64との間のニップ域を用紙が通過することによって、用紙に転写されたトナー像が溶融および圧接されて、用紙に対してトナー像が熱定着される。   The fixing unit 46 includes a heat roller 62 and a pressure roller 64 and is disposed above the transfer roller 44. The heat roller 62 is set to have a predetermined fixing temperature. When the sheet passes through the nip area between the heat roller 62 and the pressure roller 64, the toner image transferred to the sheet is melted and melted. The toner image is heat-fixed on the sheet by pressure contact.

このような複合機本体12内には、給紙カセット48または手差し給紙カセット50に載置された用紙をレジストローラ68、転写ローラ44および定着ユニット46を経由させて排紙トレイ52に送るための第1用紙搬送路R1が形成される。また、用紙に対して両面印刷を行う際に、片面印刷が終了して定着ユニット46を通過した後の用紙を、転写ローラ44の用紙搬送方向の上流側において第1用紙搬送路R1に戻すための第2用紙搬送路R2が形成される。この第1用紙搬送路R1および第2用紙搬送路R2には、用紙を搬送する複数の搬送ローラ66が適宜設けられる。   In the multifunction machine main body 12, the paper placed in the paper feed cassette 48 or the manual paper feed cassette 50 is sent to the paper discharge tray 52 via the registration roller 68, the transfer roller 44 and the fixing unit 46. The first paper transport path R1 is formed. In addition, when performing duplex printing on a sheet, the sheet after completion of single-sided printing and passing through the fixing unit 46 is returned to the first sheet conveyance path R1 on the upstream side of the transfer roller 44 in the sheet conveyance direction. The second paper transport path R2 is formed. A plurality of transport rollers 66 for transporting paper are appropriately provided in the first paper transport path R1 and the second paper transport path R2.

複合機本体12において片面印刷を行う際には、給紙カセット48または手差し給紙カセット50に載置された用紙がピックアップローラ70によって1枚ずつ第1用紙搬送路R1に導かれ、搬送ローラ66によってレジストローラ68まで搬送される。そして、レジストローラ68によって、用紙の先端と中間転写ベルト54上の画像情報の先端とが整合するタイミングで転写ローラ44に搬送され、用紙上にトナー像が転写される。その後、定着ユニット46を通過することによって用紙上の未定着トナーが熱で溶融して固着され、搬送ローラ(排紙ローラ)66を経て排紙トレイ52上に用紙が排出される。   When single-sided printing is performed in the multifunction machine main body 12, the sheets placed on the sheet feeding cassette 48 or the manual sheet feeding cassette 50 are guided to the first sheet conveyance path R1 one by one by the pickup roller 70, and the conveyance roller 66. Is conveyed to the registration roller 68. Then, the registration roller 68 conveys the sheet to the transfer roller 44 at a timing when the leading edge of the sheet and the leading edge of the image information on the intermediate transfer belt 54 are aligned, and the toner image is transferred onto the sheet. Thereafter, when the toner passes through the fixing unit 46, the unfixed toner on the paper is melted and fixed by heat, and the paper is discharged onto the paper discharge tray 52 through a conveyance roller (paper discharge roller) 66.

一方、両面印刷を行う際には、片面印刷が終了して定着ユニット46を通過した用紙の後端部が排紙トレイ52近傍の排紙ローラ66まで到達したとき、この排紙ローラ66を逆回転させることによって、用紙が逆走して第2用紙搬送路R2に導かれる。第2用紙搬送路R2に導かれた用紙は、搬送ローラ66によって第2用紙搬送路R2を搬送されて、レジストローラ68の用紙搬送方向の上流側において第1用紙搬送路R1に導かれる。この時点で用紙の表裏は反転されるので、その後、転写ローラ44および定着ユニット46を用紙が通過することによって、用紙の裏面に印刷が行われる。   On the other hand, when performing double-sided printing, when the trailing edge of the paper that has passed through the fixing unit 46 after single-sided printing has reached the paper discharge roller 66 near the paper discharge tray 52, the paper discharge roller 66 is reversed. By rotating, the sheet runs backward and is guided to the second sheet conveyance path R2. The paper guided to the second paper transport path R2 is transported through the second paper transport path R2 by the transport roller 66, and is guided to the first paper transport path R1 on the upstream side of the registration roller 68 in the paper transport direction. At this time, the front and back sides of the sheet are reversed, and thereafter, the sheet passes through the transfer roller 44 and the fixing unit 46, whereby printing is performed on the back side of the sheet.

図2は、図1に示した複合機100の電気的な構成の一例を示すブロック図である。図2に示すように、複合機100は、CPU150を含み、CPU150は、内部バス152を介して、ROM154、RAM156、HDD158および画像信号処理回路160に接続される。また、制御部28の内部バス152には、画像読取装置10、画像形成部30および操作部162が接続される。   FIG. 2 is a block diagram illustrating an example of an electrical configuration of the multifunction peripheral 100 illustrated in FIG. As illustrated in FIG. 2, the multifunction peripheral 100 includes a CPU 150, and the CPU 150 is connected to a ROM 154, a RAM 156, an HDD 158, and an image signal processing circuit 160 via an internal bus 152. Further, the image reading device 10, the image forming unit 30, and the operation unit 162 are connected to the internal bus 152 of the control unit 28.

CPU150は、複合機100の全体的な制御を司る。ROM154は、複合機100の起動プログラムや各種情報についてのデフォルト値を記憶する。RAM156は、CPU150のワーキング領域およびバッファ領域として用いられる。HDD158は、複合機100の主記憶装置であり、画像読取部26で読み取った画像データおよび外部コンピュータから送信された画像データ等を保存する。ただし、画像読取部26で読み取られた画像データ(ラインセンサ268の出力に基づく画像データ)は、画像信号処理回路160において所定の処理が施される。   The CPU 150 governs overall control of the multifunction peripheral 100. The ROM 154 stores default values for the activation program of the multifunction peripheral 100 and various information. The RAM 156 is used as a working area and a buffer area for the CPU 150. The HDD 158 is a main storage device of the multifunction peripheral 100, and stores image data read by the image reading unit 26, image data transmitted from an external computer, and the like. However, the image data read by the image reading unit 26 (image data based on the output of the line sensor 268) is subjected to predetermined processing in the image signal processing circuit 160.

画像信号処理回路160は、ラインセンサ268から出力されるRGBの各色の画像信号を増幅してからA/D(アナログ/デジタル)変換し、アナログ信号からデジタル信号に変換した画像データに対してシェーディング補正を行う。つまり、黒補正用データを用いた黒シェーディング補正が実行されるとともに、白補正用データを用いた白シェーディング補正が実行される。   The image signal processing circuit 160 amplifies the RGB color image signals output from the line sensor 268, performs A / D (analog / digital) conversion, and performs shading on the image data converted from analog signals to digital signals. Make corrections. That is, black shading correction using black correction data is executed, and white shading correction using white correction data is executed.

さらに、画像信号処理回路160は、シェーディング補正した画像データを、RGBからYMCKのデータに色変換し、色諧調を調整するなどの処理(後処理)を施して、CPU150に出力する。CPU150は、画像信号処理回路160から出力された画像データを、HDD158に記憶したり、画像形成部30を制御して、対応する画像を記録紙(用紙)などに印刷したりする。   Further, the image signal processing circuit 160 performs processing (post-processing) such as color conversion of the image data subjected to the shading correction from RGB to YMCK data and adjusting the color tone, and outputs the processed data to the CPU 150. The CPU 150 stores the image data output from the image signal processing circuit 160 in the HDD 158 or controls the image forming unit 30 to print a corresponding image on recording paper (paper).

画像読取装置10は、開閉センサ164、モータ駆動回路204、点灯制御回路208、第1副走査センサ230、第2副走査センサ232およびラインセンサ268を含む。モータ駆動回路204、点灯制御回路208、第1副走査センサ230、第2副走査センサ232およびラインセンサ268は、内部バス152を介してCPU150に接続される。また、画像読取装置10は、スキャナモータ206および光源260を含み、スキャナモータ206はモータ駆動回路204に接続され、光源260は点灯制御回路208に接続される。   The image reading apparatus 10 includes an open / close sensor 164, a motor drive circuit 204, a lighting control circuit 208, a first sub-scan sensor 230, a second sub-scan sensor 232, and a line sensor 268. The motor drive circuit 204, the lighting control circuit 208, the first sub-scanning sensor 230, the second sub-scanning sensor 232, and the line sensor 268 are connected to the CPU 150 via the internal bus 152. Further, the image reading apparatus 10 includes a scanner motor 206 and a light source 260, the scanner motor 206 is connected to the motor drive circuit 204, and the light source 260 is connected to the lighting control circuit 208.

ただし、上記のCPU150は、RAM156をバッファ領域およびワーク領域として使用して、複合機100の全体を制御するため、制御部28のうち、少なくともCPU150およびRAM156は画像読取装置10にも含まれる。   However, since the CPU 150 uses the RAM 156 as a buffer area and a work area to control the entire multifunction peripheral 100, at least the CPU 150 and the RAM 156 of the control unit 28 are also included in the image reading apparatus 10.

モータ駆動回路204は、CPU150の指示の下、画像読取部26に含まれる走査ユニット270を副走査方向(図1における左右の方向)に移動させるためのスキャナモータ206を駆動する。点灯制御回路208は、CPU150の指示の下、光源260の点灯および消灯を制御する。   The motor driving circuit 204 drives a scanner motor 206 for moving the scanning unit 270 included in the image reading unit 26 in the sub-scanning direction (left and right direction in FIG. 1) under the instruction of the CPU 150. The lighting control circuit 208 controls lighting and extinguishing of the light source 260 under the instruction of the CPU 150.

第1副走査センサ230は、副走査方向における原稿サイズを検出するためのセンサであり、発光部と受光部とからなる反射型のフォトセンサである。第2副走査センサ232もまた、副走査方向における原稿サイズを検出するためのセンサであり、発光部と受光部とからなる反射型のフォトセンサである。この第1実施例では、第1副走査センサ230および第2副走査センサ232は、AB系サイズおよびインチ系サイズの原稿サイズを検出する場合に使用される。   The first sub-scanning sensor 230 is a sensor for detecting the document size in the sub-scanning direction, and is a reflection type photosensor including a light emitting unit and a light receiving unit. The second sub-scanning sensor 232 is also a sensor for detecting the document size in the sub-scanning direction, and is a reflection type photosensor including a light emitting unit and a light receiving unit. In the first embodiment, the first sub-scanning sensor 230 and the second sub-scanning sensor 232 are used when detecting the document sizes of AB and inch sizes.

図3は画像読取装置10を真上方向から見た概略上面図である。画像読取装置10は、原稿載置台14aに載置された原稿の主走査方向(図3:用紙搬送方向に直交する方向)のサイズをラインセンサ268から出力された画像データによって検出し、原稿の副走査方向(図3:用紙搬送方向に平行な方向)のサイズを第1副走査センサ230または第2副走査センサ232の出力に基づいて検出する。   FIG. 3 is a schematic top view of the image reading apparatus 10 as viewed from directly above. The image reading apparatus 10 detects the size of the document placed on the document placement table 14a in the main scanning direction (FIG. 3: a direction orthogonal to the sheet conveyance direction) based on the image data output from the line sensor 268, and The size in the sub-scanning direction (FIG. 3: a direction parallel to the paper conveyance direction) is detected based on the output of the first sub-scanning sensor 230 or the second sub-scanning sensor 232.

図3に示すように、第1副走査センサ230および第2副走査センサ232は、画像読取装置10の画像読取部26を内包する筐体10aの内部底面(原稿載置台14aと対向する面)に設けられる。   As shown in FIG. 3, the first sub-scanning sensor 230 and the second sub-scanning sensor 232 are the inner bottom surface of the housing 10 a that encloses the image reading unit 26 of the image reading device 10 (the surface facing the document placing table 14 a). Is provided.

なお、原稿サイズを検出する方法については、後で詳細に説明することにする。   The method for detecting the document size will be described in detail later.

ラインセンサ268は、CPU150の指示の下、受光素子に結像された反射光の輝度や色度を検出し、原稿表面の画像に基づく画像データを生成して、画像信号処理回路160に出力する。   The line sensor 268 detects the brightness and chromaticity of the reflected light imaged on the light receiving element under the instruction of the CPU 150, generates image data based on the image on the document surface, and outputs the image data to the image signal processing circuit 160. .

画像形成部30は、CPU150からの指示に従って、上記のように、画像データに対応する画像を記録紙(用紙)などに印刷する。操作部162は、タッチパネルおよび操作ボタン等で構成され、ユーザの操作に従う操作信号(操作データ)をCPU150に与える。   In accordance with an instruction from the CPU 150, the image forming unit 30 prints an image corresponding to the image data on recording paper (paper) or the like as described above. The operation unit 162 includes a touch panel, operation buttons, and the like, and gives an operation signal (operation data) according to a user operation to the CPU 150.

開閉センサ164は、上述したように、原稿押さえカバー18の開閉状態を検出するためのセンサであり、アクチュエータ164aと光学センサ164bによって構成される。ただし、この第1実施例では、開閉センサ164の出力に基づいて、原稿押さえカバー18の閉じ始め(閉じる方向への移動)も検出される。   As described above, the open / close sensor 164 is a sensor for detecting the open / closed state of the document pressing cover 18 and includes the actuator 164a and the optical sensor 164b. However, in the first embodiment, the beginning of closing of the document pressing cover 18 (movement in the closing direction) is also detected based on the output of the open / close sensor 164.

図4(A)、図4(B)および図4(C)は開閉センサ164の構成を示す概略図である。図4(A)および図4(B)に示すように、アクチュエータ164aは、原稿押さえカバー18の開閉に応じて、上下に移動される。また、図4(C)に示すように、光学センサ164bは、上面視で(アクチュエータ164aの移動方向の上方から見て)Uの字を時計回りに90度回転させた形状に形成され、対向する二つの辺のうち、一方の辺側に発光部1640が設けられ、他方の辺側に受光部1642が設けられる。   4A, 4B, and 4C are schematic diagrams illustrating the configuration of the open / close sensor 164. FIG. As shown in FIGS. 4A and 4B, the actuator 164 a is moved up and down in accordance with the opening and closing of the document pressing cover 18. Further, as shown in FIG. 4C, the optical sensor 164b is formed in a shape in which the U-shape is rotated 90 degrees clockwise when viewed from above (viewed from above in the moving direction of the actuator 164a). Among the two sides, the light emitting unit 1640 is provided on one side, and the light receiving unit 1642 is provided on the other side.

原稿押さえカバー18が開かれた状態(開状態)では、図4(A)に示すように、アクチュエータ164aは上方に移動され、したがって、光学センサ164bの発光部1640から出力される光は受光部1642で受光される。この第1実施例では、原稿押さえカバー18が閉じ始めたかどうかを判断するため、開状態における受光部1642の受光量が予め測定されている。   When the document pressing cover 18 is opened (opened state), as shown in FIG. 4A, the actuator 164a is moved upward, so that the light output from the light emitting unit 1640 of the optical sensor 164b is received by the light receiving unit. 1642 is received. In the first embodiment, in order to determine whether or not the document pressing cover 18 has started to close, the amount of light received by the light receiving unit 1642 in the open state is measured in advance.

一方、原稿押さえカバー18が閉じられた状態(閉状態)では、図4(B)に示すように、アクチュエータ164aが当該原稿押さえカバー18によって下方に押下げられ、したがって、光学センサ164bの発光部1640から出力される光はアクチュエータ164aで遮られ、受光部1642で受光されない、または、受光量が低減する。   On the other hand, when the document pressing cover 18 is closed (closed state), as shown in FIG. 4B, the actuator 164a is pressed downward by the document pressing cover 18, so that the light emitting portion of the optical sensor 164b. The light output from 1640 is blocked by the actuator 164a and is not received by the light receiving unit 1642, or the amount of received light is reduced.

ただし、アクチュエータ164aが移動されることにより、発光部1640から出力される光が受光部1642で受光される受光量が変化する。このため、原稿押さえカバー18が開状態にされた後に、受光量が減少し始めると、原稿押さえカバー18が閉じ始められたことを検出することができる。そして、受光量が所定量以下になると、原稿押さえカバー18が閉状態にされたことが検出される。   However, when the actuator 164a is moved, the amount of light received by the light receiving unit 1642 of the light output from the light emitting unit 1640 changes. For this reason, when the amount of received light begins to decrease after the document pressing cover 18 is opened, it can be detected that the document pressing cover 18 has started to close. When the amount of received light is equal to or less than the predetermined amount, it is detected that the document pressing cover 18 is closed.

図5は原稿押さえカバー18が閉状態における画像読取装置10の概略構成を示す図解図であり。図6は原稿押さえカバー18が開状態における画像読取装置10の概略構成を示す図解図である。   FIG. 5 is an illustrative view showing a schematic configuration of the image reading apparatus 10 in a state where the document pressing cover 18 is closed. FIG. 6 is an illustrative view showing a schematic configuration of the image reading apparatus 10 in a state where the document pressing cover 18 is opened.

このような複合機100では、たとえば、ユーザは、閉状態から原稿押さえカバー18を開いて、原稿載置台14aに原稿を載置し、開状態から原稿押さえカバー18を閉じて、印刷指示を行う。複合機100では、原稿押さえカバー18が閉じられると、ラインセンサ268の出力値と、第1副走査センサ230および第2副走査センサ232の出力値とに基づいて、原稿サイズが自動的に検出される。   In such a multifunction machine 100, for example, the user opens the document pressing cover 18 from the closed state, places the document on the document placing table 14a, closes the document pressing cover 18 from the opened state, and issues a print instruction. . In the multifunction device 100, when the document pressing cover 18 is closed, the document size is automatically detected based on the output value of the line sensor 268 and the output values of the first sub-scanning sensor 230 and the second sub-scanning sensor 232. Is done.

ただし、ラインセンサ268の出力値は、R用ラインセンサ、G用ラインセンサおよびB用ラインセンサの各々から出力されるR信号、G信号およびB信号である。   However, the output value of the line sensor 268 is an R signal, a G signal, and a B signal output from each of the R line sensor, the G line sensor, and the B line sensor.

たとえば、従来の方法では、原稿押さえカバー18が閉じ始めると、光源260をオンし、閉じ始めてから閉状態になるまでのラインセンサ268の出力に基づいて原稿サイズを決定するが、原稿押さえカバー18が閉状態にならなければ、原稿サイズを決定することができない。したがって、書籍などの厚みのある原稿が原稿載置台14aに載置された場合には、原稿押さえカバー18が閉状態にならないため、エラーになってしまう。   For example, in the conventional method, when the document pressing cover 18 starts to close, the light source 260 is turned on, and the document size is determined based on the output of the line sensor 268 from the start of closing until the document pressing cover 18 is closed. If is not closed, the document size cannot be determined. Therefore, when a thick document such as a book is placed on the document placing table 14a, an error occurs because the document pressing cover 18 is not closed.

したがって、この第1実施例では、原稿押さえカバー18の閉じ始めであっても、原稿サイズを決定できるようにしてある。   Therefore, in the first embodiment, the document size can be determined even when the document pressing cover 18 starts to close.

簡単に説明すると、原稿押さえカバー18が開くと、まず、第1副走査センサ230および第2副走査センサ232の出力に基づいて概略の原稿サイズを検出する。次に、原稿押さえカバー18を閉じ始めたことを検出すると、光源260をオンし、光源260の主走査方向の全走査領域において設定された複数の領域(部分領域ないし分割領域)のそれぞれの光量の変化および光量比率から原稿の有無(原稿領域内外)を判定する。そして、主走査による判定結果と、第1副走査センサ230および第2副走査センサ232の検出結果に基づいて、原稿サイズが決定(検出)される。   Briefly, when the document pressing cover 18 is opened, an approximate document size is first detected based on the outputs of the first sub-scanning sensor 230 and the second sub-scanning sensor 232. Next, when it is detected that the document pressing cover 18 has started to be closed, the light source 260 is turned on, and the respective light amounts of a plurality of regions (partial regions or divided regions) set in the entire scanning region of the light source 260 in the main scanning direction. The presence / absence of the document (inside / outside of the document area) is determined from the change in the light intensity and the light quantity ratio. Then, the document size is determined (detected) based on the determination result of the main scanning and the detection results of the first sub-scanning sensor 230 and the second sub-scanning sensor 232.

ただし、領域の光量は、領域に含まれるすべての画素の各々についての光量の合計値または平均値(または、最大値などの代表値)を意味する。   However, the light amount of the area means a total value or an average value (or a representative value such as a maximum value) of the light quantities of all the pixels included in the area.

図7(A)は、AB系サイズの原稿サイズを検出する場合に、光源260の主走査方向の全走査領域において設定される複数の領域を示す図解図である。図7(A)に示すように、AB系サイズの原稿サイズを検出する場合には、6個の領域(領域1、領域2、領域3、領域4、領域5および領域6)が設定される。図7(A)に示すように、領域1〜領域6は、画像読取装置10(複合機100)の奥側から順に設定される。   FIG. 7A is an illustrative view showing a plurality of areas set in all scanning areas in the main scanning direction of the light source 260 when detecting an AB-size original size. As shown in FIG. 7A, when an AB-size document size is detected, six areas (area 1, area 2, area 3, area 4, area 5, and area 6) are set. . As shown in FIG. 7A, the areas 1 to 6 are set in order from the back side of the image reading apparatus 10 (multifunction apparatus 100).

ただし、図3に示したように、原稿載置台14aを上方から見た場合において、原稿載置台14aの左上の頂点を基準位置として、当該基準位置に原稿の角を合わせるように、原稿が載置されることを前提として、領域1〜領域6は設定される。   However, as shown in FIG. 3, when the document placing table 14a is viewed from above, the document is placed so that the upper left vertex of the document placing table 14a is the reference position and the corner of the document is aligned with the reference position. The areas 1 to 6 are set on the assumption that they are placed.

領域1は、A5R、B5RおよびA4の原稿サイズを検出するために設定される。領域2は、A5、A5RおよびA4Rの原稿サイズを検出するために設定される。領域3は、B5およびB4の原稿サイズを検出するために設けられる。領域4および領域5は、A4およびA3の原稿サイズを検出するために設けられる。領域6は、AB系サイズの範囲外の原稿サイズ(光量の変化)を検出するために設けられる。   Area 1 is set to detect the document sizes of A5R, B5R, and A4. Area 2 is set to detect the document sizes of A5, A5R, and A4R. Area 3 is provided for detecting the document sizes of B5 and B4. Regions 4 and 5 are provided for detecting the document sizes of A4 and A3. The area 6 is provided for detecting a document size (a change in light amount) outside the range of the AB system size.

なお、図7(A)に示す例では、第1領域は、主走査方向におけるA5Rの幅よりも短く設定されているが、主走査方向におけるA5Rの幅またはB5Rの幅に設定されてもよい。   In the example shown in FIG. 7A, the first region is set to be shorter than the width of A5R in the main scanning direction, but may be set to the width of A5R or B5R in the main scanning direction. .

また、図7(A)において括弧書きの数値は、各サイズにおける原稿の長さ(単位:mm)を示してある。   In FIG. 7A, the numerical values in parentheses indicate the length (unit: mm) of the document in each size.

さらに、詳細な説明は省略するが、この実施例の画像読取装置10では、8K、16K(中国で採用される用紙サイズ)の用紙についても用紙サイズを判断することができるため、領域4および領域5を設けているが、AB系サイズを判断する場合には、領域4または領域5を省略してもよいし、領域4よび領域5を合わせた1つの領域にしてもよい。   Further, although detailed description is omitted, the image reading apparatus 10 of this embodiment can determine the paper size for 8K and 16K (paper sizes used in China), and therefore, the region 4 and the region 4 However, when determining the AB size, the area 4 or the area 5 may be omitted, or the area 4 and the area 5 may be combined into one area.

図7(B)はAB系サイズを決定(判断)するための判断テーブルである。判断テーブルにおいて、各サイズに対応して主走査および副走査の欄に記載された数値は、それぞれの方向における用紙の長さ(mm)である。また、判断テーブルにおいて、記号の○は対応する領域に原稿が有ることを判断されたことを示し、記号の×は対応する領域に原稿が無いことを判断されたことを示す。さらに、判断テーブルにおいて、副走査1は第1副走査センサ230の出力(オンまたはオフ)を示し、副走査2は第2副走査センサ232の出力を示す。領域1〜領域6の各々の原稿の有無と、第1副走査センサ230および第2副走査センサ232の出力に基づいて、原稿サイズが決定される。つまり、領域1〜領域6の各々の原稿の有無に基づいて、主走査方向のサイズ(主走査方向サイズ)が決定され、第1副走査センサ230および第2副走査センサ232の出力に応じて副走査方向のサイズ(副走査方向サイズ)が決定され、主走査方向サイズと副走査サイズサイズが一致するサイズが原稿サイズに決定される。   FIG. 7B is a determination table for determining (determining) the AB system size. In the determination table, the numerical values described in the main scanning and sub-scanning columns corresponding to each size are the length (mm) of the paper in each direction. In the determination table, the symbol “◯” indicates that it is determined that there is a document in the corresponding region, and the symbol “X” indicates that it is determined that there is no document in the corresponding region. Further, in the determination table, sub-scan 1 indicates the output (on or off) of the first sub-scan sensor 230, and sub-scan 2 indicates the output of the second sub-scan sensor 232. The document size is determined based on the presence / absence of each document in region 1 to region 6 and the outputs of first sub-scanning sensor 230 and second sub-scanning sensor 232. That is, the size in the main scanning direction (size in the main scanning direction) is determined based on the presence or absence of each document in the regions 1 to 6, and according to the outputs of the first sub-scanning sensor 230 and the second sub-scanning sensor 232. A size in the sub-scanning direction (sub-scanning direction size) is determined, and a size that matches the main scanning direction size and the sub-scanning size size is determined as the document size.

たとえば、図7(B)に示す判断テーブルに従えば、領域1〜領域3に原稿が有り、領域4〜領域6に原稿が無く、第1副走査センサ230および第2副走査センサ232の出力が共にオンである場合には、原稿サイズがB4に決定される。   For example, according to the determination table shown in FIG. 7B, there are originals in areas 1 to 3, no originals in areas 4 to 6, and the outputs of first sub-scanning sensor 230 and second sub-scanning sensor 232 If both are on, the document size is determined to be B4.

開閉センサ164の出力に基づいて原稿押さえカバー18を閉じ始めたことが検出されると、光源260を点灯し、所定時間毎に、ラインセンサ268から出力される領域1〜領域6のそれぞれの画像データを検出し、領域1〜領域6のそれぞれにおける色(RGB)毎の光量(輝度の平均値)を算出する。   When it is detected that the document pressing cover 18 starts to close based on the output of the open / close sensor 164, the light source 260 is turned on, and the images of the regions 1 to 6 output from the line sensor 268 every predetermined time. Data is detected, and the amount of light (average value of luminance) for each color (RGB) in each of the regions 1 to 6 is calculated.

たとえば、100ms毎に、5回、画像データが検出(サンプリング)される。したがって、領域1〜領域6の各々について、5回分の色毎の光量が取得される。   For example, image data is detected (sampled) five times every 100 ms. Therefore, for each of the regions 1 to 6, the light quantity for each color for five times is acquired.

領域1〜領域6のそれぞれにおいて、色毎に5回分の光量から最大値と最小値を抽出する。そして、光量の最大値に対する最小値の比率(光量比率)を算出する。この第1実施例では、光量比率は色毎に数式1に従って算出される。   In each of the regions 1 to 6, the maximum value and the minimum value are extracted from the amount of light for five times for each color. Then, the ratio of the minimum value to the maximum value of light quantity (light quantity ratio) is calculated. In the first embodiment, the light quantity ratio is calculated according to Equation 1 for each color.

[数式1]
光量比率(%)=(最小値)/(最大値)×100
したがって、光量比率が100%に近い程、最大値と最小値の差が小さいこと、すなわち、光量の変化が少ないことを示す。一方、光量比率が0%に近い程、最大値と最大値の差が大きいこと、すなわち、光量の変化が大きいことを示す。なお、光量の変化(変動)率は、100−光量比率で表現することができる。
[Formula 1]
Light intensity ratio (%) = (minimum value) / (maximum value) × 100
Therefore, the closer the light amount ratio is to 100%, the smaller the difference between the maximum value and the minimum value, that is, the smaller the change in the light amount. On the other hand, the closer the light amount ratio is to 0%, the larger the difference between the maximum value and the maximum value, that is, the greater the change in the light amount. In addition, the change (fluctuation) rate of the light quantity can be expressed by a ratio of 100-light quantity.

基本的には、原稿が有る領域(載置されている部分)であれば、光源260からの光が原稿で反射されるため、原稿押さえカバー18が開状態である場合と閉状態である場合とで、光量は変化しないまたはほとんど変化しない。一方、原稿が無い領域(載置されていない部分)であれば、原稿押さえカバー18が開状態から閉状態になるにつれて、光量が増加する方向に変化する。   Basically, in the area where the document is present (the part where it is placed), the light from the light source 260 is reflected by the document, so the document pressing cover 18 is in the open state and in the closed state. The light quantity does not change or hardly changes. On the other hand, in a region where there is no document (portion where the document is not placed), the amount of light changes in the direction in which the document pressing cover 18 is increased from the open state to the closed state.

このため、第1実施例では、このような経験則に基づいて、各領域1〜領域6について原稿が有るかどうかを判断するようにしてある。   For this reason, in the first embodiment, it is determined whether or not there is a document for each of the areas 1 to 6 based on such an empirical rule.

上記のように、5回検出した場合に、光量が連続して3回以上増加している場合であり、かつ、光量比率が所定の閾値(たとえば、90%)未満である場合には、光量の変動が大きいため、当該領域には、原稿が無いと判断される。ただし、この実施例では、この判断は、各領域1〜領域6において、色毎に実行され、すべての色について条件を満たす場合に、該当する領域に原稿が無いことが判断される。   As described above, in the case where the light amount is continuously increased three times or more when detected five times, and the light amount ratio is less than a predetermined threshold (for example, 90%), the light amount Therefore, it is determined that there is no document in the area. However, in this embodiment, this determination is performed for each color in each of the areas 1 to 6, and when the conditions are satisfied for all colors, it is determined that there is no document in the corresponding area.

なお、光量比率が所定の閾値未満であることは、光量の変動率が所定の閾値(10%)以上であることに相当する。   In addition, that the light quantity ratio is less than the predetermined threshold value corresponds to the fluctuation rate of the light quantity being equal to or greater than the predetermined threshold value (10%).

また、この第1実施例では、光量が連続して3回以上増加していることも条件に含めてあるが、これは確実に原稿が無いことを判断するためであり、この条件は省略されてもよい。   Further, in the first embodiment, the condition that the amount of light continuously increases three times or more is included in the condition, but this is for the purpose of reliably determining that there is no document, and this condition is omitted. May be.

さらに、上記のように、すべての色について条件を満たすようにしているのは、検出した光量にばらつきがあるためである。したがって、すべての色について条件を満たす場合のみならず、いずれか2つ以上の色が条件を満たす場合にも、該当する領域に原稿が無いことが判断されてもよい。つまり、多数決で判断されてもよい。   Further, the reason for satisfying the conditions for all colors as described above is that the detected light quantity varies. Therefore, not only when the conditions are satisfied for all colors, but also when any two or more colors satisfy the conditions, it may be determined that there is no document in the corresponding area. That is, it may be determined by majority vote.

領域1〜領域6の各々について原稿の有無が判断され、第1副走査センサ230および第2副走査センサ232の出力(オンまたはオフ)が検出されると、図7(B)に示した判断テーブルに従って原稿サイズが決定(検出)される。   When the presence or absence of a document is determined for each of the areas 1 to 6, and the outputs (on or off) of the first sub-scanning sensor 230 and the second sub-scanning sensor 232 are detected, the determination shown in FIG. The document size is determined (detected) according to the table.

図8は普通紙の原稿の原稿サイズを検出する場合の領域1〜領域6のそれぞれの光量の比率を示すグラフである。図9は或る薄紙の原稿の原稿サイズを検出する場合の領域1〜領域6のそれぞれの光量比率を示すグラフである。図10は黒ベタ(黒く塗りつぶした)上に白抜き文字が印刷された原稿の原稿サイズを検出する場合の領域1〜領域6のそれぞれの光量比率を示すグラフである。   FIG. 8 is a graph showing the ratio of the amount of light in each of regions 1 to 6 when detecting the document size of a plain paper document. FIG. 9 is a graph showing the light quantity ratio of each of the regions 1 to 6 when detecting the document size of a certain thin paper document. FIG. 10 is a graph showing the light quantity ratio of each of the regions 1 to 6 when detecting the document size of a document in which white characters are printed on black solid (filled in black).

上述したように、基本的には、原稿が載置されている領域においては、光源260からの光が原稿で反射される。たとえば、普通紙に通常の文字または/および図形(写真)などが印刷されている原稿の場合には、図8に示すように、原稿が有る領域1〜領域3においては、光量比率は90%を超えている。したがって、上記のように、所定の第1閾値(初期値)が90%に設定される。   As described above, basically, the light from the light source 260 is reflected by the document in the area where the document is placed. For example, in the case of a document on which normal characters or / and figures (photos) are printed on plain paper, as shown in FIG. 8, the light quantity ratio is 90% in the areas 1 to 3 where the document is present. Is over. Therefore, as described above, the predetermined first threshold (initial value) is set to 90%.

ただし、図9に示すように、薄紙の場合には、原稿が有る領域1であっても、光源260からの光の一部が透過してしまい、光量が連続して増加するとともに、光量の変動が大きくなってしまう。また、図10に示す場合にも、白抜きの部分において、光源260からの光の一部が反射してしまい、光量の増減がばらつくとともに、光量の変動が大きくなってしまう。つまり、図10に示すように、原稿が有る領域2では、光量比率が90%以下になってしまう。   However, as shown in FIG. 9, in the case of thin paper, even in the region 1 where the document is present, a part of the light from the light source 260 is transmitted, and the amount of light continuously increases. Fluctuation will increase. Also in the case shown in FIG. 10, a part of the light from the light source 260 is reflected in the white portion, and the increase and decrease in the amount of light varies and the variation in the amount of light becomes large. That is, as shown in FIG. 10, in the area 2 where the document is present, the light amount ratio is 90% or less.

したがって、この第1実施例では、すべての領域1〜領域6の光量比率が初期値の第1閾値以下である場合には、たとえば、薄紙の原稿または黒ベタ上に白抜き文字が印刷された原稿のように、普通紙以外の用紙の種類の原稿または印字の仕方が特殊である原稿の原稿サイズを決定するために、第1閾値を変更するようにしてある。   Therefore, in this first embodiment, when the light quantity ratio of all the regions 1 to 6 is equal to or less than the first threshold value of the initial value, for example, white characters are printed on a thin paper document or a black solid. The first threshold value is changed in order to determine the document size of a document of a paper type other than plain paper or a document having a special printing method, such as a document.

具体的には、色毎に光量比率の最大値と最小値を抽出し、抽出した光量比率の最大値と最小値とから数式2に従って色毎の第1閾値を算出し、変更した第1閾値を用いて、各領域1〜領域6に原稿が有るかどうかを判断する。   Specifically, the maximum value and the minimum value of the light quantity ratio are extracted for each color, the first threshold value for each color is calculated from the extracted maximum value and minimum value of the light quantity ratio according to Equation 2, and the changed first threshold value is obtained. Is used to determine whether or not there is a document in each of the areas 1 to 6.

したがって、領域1〜領域6の各々について原稿の有無を正しく判断することができる。ただし、数式2において、[clr]は色を示し、[blk1]〜[blk6]は領域1〜領域6を示す。   Accordingly, it is possible to correctly determine the presence or absence of a document for each of the areas 1 to 6. However, in Formula 2, [clr] indicates a color, and [blk1] to [blk6] indicate regions 1 to 6.

[数式2]
第1閾値[clr]=Max(光量比率[blk1][clr],光量比率[blk2][clr],光量比率[blk3][clr],光量比率[blk4][clr] ,光量比率[blk5][clr],光量比率[blk6][clr])×0.7+Min(光量比率[blk1][clr],光量比率[blk2][clr],光量比率[blk3][clr],光量比率[blk4][clr],光量比率[blk5][clr] ,光量比率[blk6][clr])×0.3
なお、係数の0.7および0.3は一例であり、たとえば、使用する光源260に応じて変更されることがある。
[Formula 2]
First threshold value [clr] = Max (light quantity ratio [blk1] [clr], light quantity ratio [blk2] [clr], light quantity ratio [blk3] [clr], light quantity ratio [blk4] [clr], light quantity ratio [blk5] [clr], light intensity ratio [blk6] [clr]) x 0.7 + Min (light intensity ratio [blk1] [clr], light intensity ratio [blk2] [clr], light intensity ratio [blk3] [clr], light intensity ratio [blk4] [clr], light intensity ratio [blk5] [clr], light intensity ratio [blk6] [clr]) × 0.3
The coefficients 0.7 and 0.3 are examples, and may be changed depending on the light source 260 to be used, for example.

ただし、すべての領域1〜領域6の光量比率が第1閾値よりも小さい第2閾値(たとえば、20(%))以下である場合には、原稿は載置されていないため、原稿を載置すべきことを報知するようにしてある。つまり、原稿の有無を判断して、原稿が無い場合には、原稿サイズは決定されない。   However, when the light quantity ratio of all the regions 1 to 6 is equal to or less than the second threshold value (for example, 20 (%)) smaller than the first threshold value, the document is not placed, and thus the document is placed. It tells you what to do. That is, the presence / absence of a document is determined. If there is no document, the document size is not determined.

図11は図2に示したRAM156のメモリマップ300の一例を示す図解図である。図11に示すように、RAM156は、プログラム記憶領域302およびデータ記憶領域304を含む。プログラム記憶領域302には、複合機100を制御するための制御プログラムが記憶され、制御プログラムは、操作検出プログラム302a、画像読取プログラム302b、画像形成プログラム302c、開閉検出プログラム302d、サイズ検出プログラム302eおよび閾値算出プログラム302fなどを含む。   FIG. 11 is an illustrative view showing one example of a memory map 300 of the RAM 156 shown in FIG. As shown in FIG. 11, the RAM 156 includes a program storage area 302 and a data storage area 304. The program storage area 302 stores a control program for controlling the multifunction peripheral 100. The control program includes an operation detection program 302a, an image reading program 302b, an image formation program 302c, an open / close detection program 302d, a size detection program 302e, and the like. A threshold calculation program 302f and the like are included.

操作検出プログラム302aは、ユーザによって操作された操作部162からの操作入力を検出するためのプログラムである。たとえば、操作入力は、コピーボタンなどの各種の操作ボタン(ハードウェアのボタン)を操作したことに応じて入力される操作データおよびタッチパネルを操作(タッチ)したことに応じて入力されるタッチ座標データである。   The operation detection program 302a is a program for detecting an operation input from the operation unit 162 operated by the user. For example, the operation input includes operation data input in response to operation of various operation buttons (hardware buttons) such as a copy button and touch coordinate data input in response to operation (touch) of the touch panel. It is.

画像読取プログラム302bは、画像読取部26を制御して、原稿台に載置された原稿またはADF24から給紙された原稿を読み取り、読み取った画像データにシェーディング補正などの様々な画像処理を施して、原稿表面の画像に基づく画像データを生成するためのプログラムである。画像形成プログラム302cは、画像形成部30の動作を制御して、画像データに対応する画像を記録紙(用紙)などに印刷するためのプログラムである。   The image reading program 302b controls the image reading unit 26 to read a document placed on a document table or a document fed from the ADF 24, and performs various image processing such as shading correction on the read image data. A program for generating image data based on an image on the surface of a document. The image forming program 302c is a program for controlling the operation of the image forming unit 30 and printing an image corresponding to the image data on recording paper (paper).

開閉検出プログラム302dは、原稿押さえカバー18の開閉状態を検出するためのプログラムである。具体的には、上述したように、開閉センサ164の出力を検出し、原稿押さえカバー18が開状態であるか、閉じ始めたか、または、閉状態であるかどうかを判断(検出)する。   The open / close detection program 302 d is a program for detecting the open / closed state of the document pressing cover 18. Specifically, as described above, the output of the open / close sensor 164 is detected, and it is determined (detected) whether the document pressing cover 18 is in an open state, starts to close, or is in a closed state.

サイズ検出プログラム302eは、原稿載置台14aに載置された原稿の原稿サイズを検出するためのプログラム。閾値算出プログラム302fは、色毎に光量比率の最大値および最小値を抽出し、各色についての第1閾値を算出するためのプログラムである。   The size detection program 302e is a program for detecting the document size of the document placed on the document placement table 14a. The threshold calculation program 302f is a program for extracting the maximum value and the minimum value of the light amount ratio for each color and calculating the first threshold value for each color.

図示は省略するが、プログラム記憶領域302には、複合機100の機能を実行するための他のプログラムも記憶される。   Although illustration is omitted, the program storage area 302 also stores other programs for executing the functions of the multifunction peripheral 100.

データ記憶領域304には、操作データバッファ304aおよび画像データバッファ304bが設けられる。また、データ記憶領域304には、第1閾値データ304c、第2閾値データ304d、副走査データ304e、光量データ304f、光量比率データ304gおよびサイズデータ304hが記憶される。   In the data storage area 304, an operation data buffer 304a and an image data buffer 304b are provided. The data storage area 304 stores first threshold data 304c, second threshold data 304d, sub-scan data 304e, light quantity data 304f, light quantity ratio data 304g, and size data 304h.

操作データバッファ304aは、操作部162からの操作入力を一時記憶するためのバッファである。画像データバッファ304bは、画像読取部26で読み取った画像データおよび外部コンピュータから送信された画像データ等を一時記憶するためのバッファである。   The operation data buffer 304a is a buffer for temporarily storing an operation input from the operation unit 162. The image data buffer 304b is a buffer for temporarily storing image data read by the image reading unit 26, image data transmitted from an external computer, and the like.

第1閾値データ304cは、領域1〜領域6に原稿が有るかどうかを判断するための第1閾値についての数値データである。ただし、第1閾値は色毎に設けられ、複合機100の主電源がオンされると、初期値(たとえば、各色とも90%)の第1閾値が設定され、その後、閾値算出プログラム302fに従って再計算された場合に更新される。   The first threshold value data 304c is numerical data regarding the first threshold value for determining whether or not there is a document in the areas 1 to 6. However, the first threshold value is provided for each color, and when the main power supply of the multi-function peripheral 100 is turned on, the first threshold value is set to an initial value (for example, 90% for each color), and is then regenerated according to the threshold value calculation program 302f. Updated when calculated.

第2閾値データ304dは、領域1〜領域6に原稿が無いことを判断するための第2閾値についての数値データである。ただし、第2閾値は、すべての色について同じであり、また、固定値である。   The second threshold value data 304d is numerical data on the second threshold value for determining that there are no documents in the areas 1 to 6. However, the second threshold value is the same for all colors and is a fixed value.

副走査データ304eは、第1副走査センサ230および第2副走査センサ232のそれぞれの出力を検出した検出結果(オンまたはオフ)を示すデータである。   The sub-scan data 304e is data indicating detection results (on or off) in which the outputs of the first sub-scan sensor 230 and the second sub-scan sensor 232 are detected.

光量データ304fは、スキャンを実行した回数と領域1〜領域6について検出された色毎の光量についての数値データである。光量比率データ304gは、領域1〜領域6について色毎に算出された光量比率についての数値データである。サイズデータ304hは、検出(決定)された原稿サイズの情報を示すデータである。   The light amount data 304f is numerical data regarding the number of times of scanning and the light amount of each color detected for the regions 1 to 6. The light amount ratio data 304g is numerical data regarding the light amount ratio calculated for each color for the regions 1 to 6. The size data 304h is data indicating information on the detected (determined) document size.

図示は省略するが、データ記憶領域304には、制御プログラムの実行に必要な他のデータが記憶されたり、制御プログラムの実行に必要なタイマ(カウンタ)およびフラグが設けられたりする。   Although not shown, the data storage area 304 stores other data necessary for execution of the control program, and is provided with a timer (counter) and a flag required for execution of the control program.

図12および図13は図2に示すCPU150のサイズ決定処理の一例を示すフロー図である。複合機100の主電源がオンされたり、スタンバイ状態(省電力モード)から復帰されたりすると、図12に示すように、CPU150は、サイズ決定処理を開始し、ステップS1で、原稿押さえカバー18は開状態であるかどうかを判断する。ここでは、CPU150は、開閉センサ164の出力を検出し、光学センサ164bの発光部1640から出力される光がアクチュエータ164aで遮られずに受光部1642で受光されているかどうかを判断する。   12 and 13 are flowcharts showing an example of the size determination process of the CPU 150 shown in FIG. When the main power supply of the multifunction peripheral 100 is turned on or returned from the standby state (power saving mode), as shown in FIG. 12, the CPU 150 starts the size determination process, and in step S1, the document pressing cover 18 is moved. Determine if it is open. Here, the CPU 150 detects the output of the open / close sensor 164 and determines whether the light output from the light emitting unit 1640 of the optical sensor 164b is received by the light receiving unit 1642 without being blocked by the actuator 164a.

ステップS1で“NO”であれば、つまり原稿押さえカバー18が閉状態である場合には、ステップS1に戻る。一方、ステップS1で“YES”であれば、つまり原稿押さえカバー18が開状態である場合には、ステップS3で、原稿サイズ検出用の領域および閾値を設定する。この第1実施例では、領域1〜領域6が設定されるとともに、閾値データに対応する閾値が設定される。   If “NO” in the step S1, that is, if the document pressing cover 18 is in a closed state, the process returns to the step S1. On the other hand, if “YES” in the step S1, that is, if the document pressing cover 18 is in an open state, a document size detection region and a threshold value are set in a step S3. In the first embodiment, areas 1 to 6 are set, and a threshold corresponding to the threshold data is set.

次のステップS5では、原稿押さえカバー18の閉じ始めであるかどうかを判断する。ここでは、CPU150は、開閉センサ164の出力を検出し、開状態における受光量から低減し始めているかどうかを判断する。   In the next step S5, it is determined whether or not the document pressing cover 18 has begun to close. Here, the CPU 150 detects the output of the open / close sensor 164 and determines whether or not the light reception amount in the open state starts to decrease.

ステップS5で“NO”であれば、つまり、原稿押さえカバー18が開状態であれば、同じステップS5に戻る。一方、ステップS5で“YES”であれば、つまり、原稿押さえカバー18の閉じ始めであれば、ステップS7で、第1副走査センサ230および第2副走査センサ232の検出結果(オンまたはオフ)を取得する。ここでは、CPU150は、検出結果を示す副走査データ304eをRAM156のデータ記憶領域304に記憶する。   If “NO” in the step S5, that is, if the document pressing cover 18 is opened, the process returns to the same step S5. On the other hand, if “YES” in the step S5, that is, if the document pressing cover 18 starts to be closed, the detection results (on or off) of the first sub-scanning sensor 230 and the second sub-scanning sensor 232 in a step S7. To get. Here, the CPU 150 stores the sub-scan data 304e indicating the detection result in the data storage area 304 of the RAM 156.

次のステップS9では、光源260をオンし、ステップS11で、変数Mに初期値を設定する(M=1)。変数Mはスキャンを実行する回数をカウントするために設けられる。   In the next step S9, the light source 260 is turned on, and in step S11, an initial value is set in the variable M (M = 1). The variable M is provided for counting the number of times the scan is executed.

続いて、ステップS13で、ラインセンサ268の出力を検出し、ステップS15で、M回目の各領域(第1実施例では、領域1〜領域6)の光量を色毎に記憶する。つまり、M回目についての光量データ304fがRAM156に記憶(追加)される。   Subsequently, in step S13, the output of the line sensor 268 is detected, and in step S15, the amount of light in each M-th region (region 1 to region 6 in the first embodiment) is stored for each color. That is, the light quantity data 304 f for the Mth time is stored (added) in the RAM 156.

次のステップS17では、変数Mが1加算される(M=M+1)。そして、ステップS19で、変数Mが所定回数(第1実施例では、5回)を超えたかどうかを判断する。ステップS19で“NO”であれば、つまり、変数Mが所定回数以下であれば、ステップS13に戻る。一方、ステップS19で“YES”であれば、つまり、変数Mが所定回数を超えていれば、図13に示すステップS21に進む。   In the next step S17, the variable M is incremented by 1 (M = M + 1). In step S19, it is determined whether the variable M has exceeded a predetermined number of times (5 times in the first embodiment). If “NO” in the step S19, that is, if the variable M is equal to or less than the predetermined number, the process returns to the step S13. On the other hand, if “YES” in the step S19, that is, if the variable M exceeds the predetermined number, the process proceeds to a step S21 shown in FIG.

なお、この第1実施例では、ステップS13〜S19のスキャンタイムが所定時間(500msec)に設定されている。   In the first embodiment, the scan time in steps S13 to S19 is set to a predetermined time (500 msec).

図13に示すように、ステップS21では、領域1〜領域6の各々において、色毎に光量比率を数式1に従って算出する。ここでは、各領域について算出した色毎の光量比率に対応する光量比率データ304gがRAM156のデータ記憶領域304に記憶される。   As shown in FIG. 13, in step S <b> 21, the light amount ratio is calculated for each color according to Equation 1 in each of the regions 1 to 6. Here, light amount ratio data 304 g corresponding to the light amount ratio for each color calculated for each region is stored in the data storage region 304 of the RAM 156.

次のステップS23では、すべての領域1〜領域6の光量比率が第1閾値以下であるかどうかを判断する。ステップS23で“NO”であれば、つまり、領域1〜領域6のいずれか1つの領域でも光量比率が第1閾値データ304cに対応する第1閾値を超えている場合には、ステップS33に進む。   In the next step S23, it is determined whether or not the light quantity ratios of all the regions 1 to 6 are equal to or less than the first threshold value. If “NO” in the step S23, that is, if the light amount ratio exceeds the first threshold corresponding to the first threshold data 304c in any one of the areas 1 to 6, the process proceeds to the step S33. .

一方、ステップS23で“YES”であれば、つまり、すべての領域1〜領域6の光量比率が第1閾値以下であれば、ステップS25で、すべての領域1〜領域6の光量比率が第2閾値データ304dに対応する第2閾値以下であるかどうかを判断する。   On the other hand, if “YES” in the step S23, that is, if the light amount ratios of all the regions 1 to 6 are not more than the first threshold value, the light amount ratios of all the regions 1 to 6 are set to the second light amount in the step S25. It is determined whether or not it is equal to or smaller than a second threshold corresponding to the threshold data 304d.

ステップS25で“YES”であれば、つまり、すべての領域1〜領域6の光量比率が第2閾値以下であれば、原稿が原稿載置台14aに載置されていないと判断し、ステップS27で、原稿を載置するべきことを報知して、サイズ決定処理を終了する。たとえば、ステップS27では、原稿を載置するべきことのメッセージを表示したり、そのことを示す音を出力したり、その両方を実行したりする。   If “YES” in the step S25, that is, if the light quantity ratios of all the regions 1 to 6 are equal to or less than the second threshold value, it is determined that the document is not placed on the document placing table 14a, and in a step S27. Then, the fact that the document should be placed is notified, and the size determination process is terminated. For example, in step S27, a message indicating that the document should be placed is displayed, a sound indicating that is output, or both are executed.

一方、ステップS25で“NO”であれば、つまり、領域1〜領域6のいずれか1つの領域でも光量比率が第2閾値を超えている場合には、ステップS29で、すべての領域1〜領域6において、色毎に光量比率の最大値と最小値を抽出する。そして、ステップS31で、数式2に従って、色毎に第1閾値を算出し、算出した第1閾値に対応する第1閾値データ304cをRAM156のデータ記憶領域304に記憶(変更)する。   On the other hand, if “NO” in the step S25, that is, if the light amount ratio exceeds the second threshold value in any one of the regions 1 to 6, all the regions 1 to 1 are determined in a step S29. In step 6, the maximum value and the minimum value of the light amount ratio are extracted for each color. In step S31, the first threshold value is calculated for each color in accordance with Equation 2, and the first threshold value data 304c corresponding to the calculated first threshold value is stored (changed) in the data storage area 304 of the RAM 156.

続いて、ステップS33では、領域1〜領域6の各々について原稿の有無を判断する。上述したように、各色について、光量が3回以上連続して増加しているかどうかを判断するとともに、各色について、光量比率が第1閾値以下であるかどうかを判断する。これらの条件を満たす領域については、原稿が無いことが判断される。一方、これらの条件を満たさない領域については、原稿が有ることが判断される。   Subsequently, in step S33, it is determined whether or not there is a document for each of the areas 1 to 6. As described above, for each color, it is determined whether the amount of light has increased continuously three times or more, and for each color, it is determined whether the light amount ratio is equal to or less than the first threshold value. It is determined that there is no document for an area that satisfies these conditions. On the other hand, it is determined that there is a document for an area that does not satisfy these conditions.

次のステップS35では、原稿サイズを決定して、サイズ決定処理を終了する。このステップS35では、副走査データ304eが示す第1副走査センサ230および第2副走査センサ232の出力と、領域1〜領域6のそれぞれにおける原稿の有無から、図7(B)に示した判断テーブルに従って該当する原稿サイズが決定される。原稿サイズが決定されると、決定された原稿サイズの情報についてのサイズデータ304hがデータ記憶領域304に記憶され、その後の印刷処理等で使用される。   In the next step S35, the document size is determined and the size determination process is terminated. In step S35, the determination shown in FIG. 7B is performed based on the outputs of the first sub-scanning sensor 230 and the second sub-scanning sensor 232 indicated by the sub-scanning data 304e and the presence / absence of documents in each of the areas 1 to 6. The corresponding document size is determined according to the table. When the document size is determined, the size data 304h regarding the determined document size information is stored in the data storage area 304 and used in the subsequent printing process or the like.

第1実施例によれば、原稿押さえカバー18が閉じ始められると、光源260を点灯して、主走査方向において設定した各領域1〜領域6における光量の変化と、所定のサンプリング数における光量の最大値に対する最小値の比で表される光量比率とに基づいて各領域1〜領域6における原稿の有無を検出した結果と、2つの副走査センサ230、232の出力を検出した結果とに基づいて原稿サイズを検出するので、原稿押さえカバー18を閉状態にしなくても、原稿サイズを検出することができる。したがって、書籍などの比較的厚みのある原稿についても原稿サイズを検出することができる。   According to the first embodiment, when the document pressing cover 18 starts to close, the light source 260 is turned on to change the light amount in each of the regions 1 to 6 set in the main scanning direction and the light amount at a predetermined sampling number. Based on the result of detecting the presence / absence of a document in each of the regions 1 to 6 based on the light amount ratio represented by the ratio of the minimum value to the maximum value, and the result of detecting the outputs of the two sub-scanning sensors 230 and 232 Therefore, the document size can be detected without closing the document pressing cover 18. Therefore, the document size can be detected even for a relatively thick document such as a book.

また、この第1実施例によれば、領域1〜領域6の光量(画像データ)のサンプリング数は少なく、サンプリングする時間間隔も短いので、ユーザが原稿押さえカバー18を速く閉じる場合であっても、原稿サイズを検出することができる。   Further, according to the first embodiment, since the number of light amounts (image data) in the areas 1 to 6 is small and the sampling time interval is short, even when the user closes the document pressing cover 18 quickly. The document size can be detected.

[第2実施例]
第2実施例の画像読取装置10は、インチ系サイズの原稿サイズを決定する以外は、第1実施例と同じであるため、重複した説明は省略する、または、簡単に説明する。
[Second Embodiment]
The image reading apparatus 10 of the second embodiment is the same as that of the first embodiment except for determining an inch-size document size, and therefore, a duplicate description is omitted or briefly described.

図14(A)はインチ系サイズの原稿サイズを決定する場合に、主走査方向の全読取領域に対して設定される分割された領域を示す図解図である。図14(B)に示すように、インチ系サイズの原稿サイズを決定する場合には、主走査方向において、4つの領域1、領域2、領域3および領域4が設定される。AB系サイズの原稿サイズを決定する場合と同様に、インチ系サイズの原稿サイズを決定するための複数の領域(分割領域)が主走査方向の全走査領域に設定される。   FIG. 14A is an illustrative view showing divided areas set for all reading areas in the main scanning direction when an inch-size document size is determined. As shown in FIG. 14B, when determining an inch-based document size, four regions 1, 2, 3, and 4 are set in the main scanning direction. Similar to the case of determining the AB-size original size, a plurality of areas (divided areas) for determining the inch-size original size are set as all the scan areas in the main scanning direction.

なお、図14(A)において括弧書きの数値は、各サイズにおける原稿の長さ(単位:mm)を示してある。   In FIG. 14A, the numerical values in parentheses indicate the length (unit: mm) of the document at each size.

図14(B)はインチ系サイズの原稿サイズを判断(決定)するための判断テーブルの一例を示す図解図である。この判断テーブルにおいても、第1実施例と同様に、記号の○は対応する領域に原稿が有ることを判断されたことを示し、記号の×は対応する領域に原稿が無いことを判断されたことを示す。また、判断テーブルにおいて、副走査1は第1副走査センサ230の出力(オンまたはオフ)を示し、副走査2は第2副走査センサ232の出力を示す。   FIG. 14B is an illustrative view showing one example of a determination table for determining (determining) an inch-based document size. Also in this determination table, as in the first embodiment, the symbol ◯ indicates that it is determined that there is a document in the corresponding region, and the symbol X indicates that there is no document in the corresponding region. It shows that. In the determination table, sub-scan 1 indicates the output (on or off) of the first sub-scan sensor 230, and sub-scan 2 indicates the output of the second sub-scan sensor 232.

第2実施例においても、主走査方向における全走査領域に設定される分割領域および判断テーブルが異なる以外は、図12および図13に示したフロー図に従って原稿サイズの決定処理が実行される。   Also in the second embodiment, the document size determination process is executed according to the flowcharts shown in FIGS. 12 and 13 except that the divided areas set in all the scanning areas in the main scanning direction and the determination table are different.

第2実施例によれば、第1実施例と同様に、原稿押さえカバー18を閉状態にしなくても、原稿サイズを検出することができる。また、ユーザが原稿押さえカバー18を速く閉じる場合であっても、原稿サイズを検出することができる。   According to the second embodiment, as in the first embodiment, the document size can be detected without closing the document pressing cover 18. Even when the user closes the document pressing cover 18 quickly, the document size can be detected.

[第3実施例]
第3実施例の画像読取装置10は、原稿無しの検出処理を実行し、原稿無しが検出されなかった場合にのみ、閾値の算出処理および原稿サイズの決定処理等を実行するようにした以外は、第1実施例と同じであるため、重複した説明は省略する。
[Third embodiment]
The image reading apparatus 10 according to the third embodiment executes a detection process without a document, and only executes a threshold calculation process and a document size determination process when no document is detected. Since it is the same as that of the first embodiment, a duplicate description is omitted.

第3実施例では、第1実施例で説明したように、原稿押さえカバー18が閉じ始められると、画像データのスキャン(サンプリング)が開始される。所定回数スキャンが実行されると、まず、一部の色(第3実施例では、色G)についての領域1〜領域6のそれぞれについての光量比率および光量変動率が算出される。そして、この一部の色Gについての光量比率および光量変動率を用いて原稿が原稿載置台14aに載置されていないことを判断する。   In the third embodiment, as described in the first embodiment, when the document pressing cover 18 starts to be closed, scanning (sampling) of image data is started. When scanning is performed a predetermined number of times, first, the light amount ratio and the light amount fluctuation rate for each of the regions 1 to 6 for some colors (color G in the third embodiment) are calculated. Then, it is determined that the document is not placed on the document placing table 14a using the light quantity ratio and the light quantity fluctuation rate for the partial color G.

原稿が原稿載置台14aに載置されていないことが判断されない場合には、他の色(色Rおよび色B)について、領域1〜領域6のそれぞれについて光量比率が数式1に従って算出され、第1実施例と同様に、原稿サイズが決定される。   If it is not determined that the document is not placed on the document placement table 14a, the light quantity ratio is calculated for each of the regions 1 to 6 for the other colors (color R and color B) according to Equation 1, As in the first embodiment, the document size is determined.

一方、原稿が原稿載置台14aに載置されていないことが判断された場合には、他の色についての光量比率の算出(S21b)、第1閾値の算出(S29、S31)および原稿サイズの決定(S33、S35)は行われない。この場合、原稿が原稿載置台14aに載置されていないことが報知される。   On the other hand, if it is determined that the document is not placed on the document placement table 14a, the light amount ratio calculation for other colors (S21b), the first threshold value calculation (S29, S31), and the document size The determination (S33, S35) is not performed. In this case, it is notified that the document is not placed on the document placing table 14a.

ここで、この第3実施例において、原稿が原稿載置台14aに載置されていないことを判断する方法について説明する。   Here, in the third embodiment, a method for determining that a document is not placed on the document placing table 14a will be described.

原稿載置台14aでは、上述したように、原稿載置台14aを上方から見た場合の左上の頂点を基準位置として、当該基準位置に原稿の角を合わせるように、原稿が載置される。このため、原稿が原稿載置台14aに載置された状態では、通常、領域1および領域2においては、光量比率は大きい。これに対して、領域6においては、光量比率は小さい。また、原稿押さえカバー18は、原稿載置台14aの奥側においてヒンジ等で連結され、開状態であっても、原稿載置台14aに対して60度程度しか開いていないため、原稿載置台14aの奥側については原稿押さえカバー18によって覆われている。したがって、原稿が原稿載置台14aに載置されていない場合には、領域1および領域2の光量比率は領域6の光量比率よりも小さいことがある。   As described above, in the document placing table 14a, the document is placed so that the upper left vertex when the document placing table 14a is viewed from above is the reference position, and the corner of the document is aligned with the reference position. For this reason, in the state where the document is placed on the document placing table 14a, the light quantity ratio is usually large in the region 1 and the region 2. On the other hand, in the region 6, the light quantity ratio is small. Further, the document pressing cover 18 is connected by a hinge or the like on the back side of the document placing table 14a, and is opened only about 60 degrees with respect to the document placing table 14a even in the open state. The back side is covered with a document pressing cover 18. Therefore, when the document is not placed on the document placing table 14a, the light amount ratio of the region 1 and the region 2 may be smaller than the light amount ratio of the region 6.

したがって、原稿が原稿載置台14aに載置されていないことを判断する1つの条件として、領域1および領域2における光量比率が領域6の光量比率よりも小さいことが挙げられる。   Therefore, one condition for determining that the document is not placed on the document placement table 14 a is that the light amount ratio in the region 1 and the region 2 is smaller than the light amount ratio in the region 6.

また、原稿が原稿載置台14aに載置されていない場合には、光量比率が小さくなるため、別の条件として、領域1および領域2の光量比率が第3閾値以下であることが挙げられる。たとえば、実験等を行うことにより、第3閾値は20%に設定される。   Further, when the document is not placed on the document placing table 14a, the light amount ratio becomes small, and another condition is that the light amount ratios of the region 1 and the region 2 are equal to or less than the third threshold value. For example, the third threshold value is set to 20% by performing an experiment or the like.

条件1または条件2を満たす場合に、原稿が原稿載置台14aに載置されていないことが判断される。第1条件および第2条件を満たさない場合には、原稿が原稿載置台14aに載置されていることが判断され、第1実施例で説明した手法で、原稿サイズが決定される。   When the condition 1 or the condition 2 is satisfied, it is determined that the document is not placed on the document placing table 14a. When the first condition and the second condition are not satisfied, it is determined that the document is placed on the document placing table 14a, and the document size is determined by the method described in the first embodiment.

したがって、第3実施例では、第3閾値に対応する数値データがデータ記憶領域304にさらに記憶される。   Therefore, in the third embodiment, numerical data corresponding to the third threshold value is further stored in the data storage area 304.

以下、第3実施例におけるCPU150の原稿サイズの決定処理について説明するが、図12および図13に示した決定処理の一部が異なるだけであるため、異なる内容について説明する。   Hereinafter, the document size determination process of the CPU 150 in the third embodiment will be described. However, since only part of the determination process shown in FIGS. 12 and 13 is different, different contents will be described.

図12および図13に示した決定処理のうち、ステップS1〜S19およびS29〜S35は同じである。したがって、ステップS19で“YES”であれば、図15に示すように、ステップS21aで、領域1〜領域6のそれぞれについて、色Gの光量比率を数式1に従って算出する。   Of the determination processes shown in FIGS. 12 and 13, steps S1 to S19 and S29 to S35 are the same. Therefore, if “YES” in the step S19, as shown in FIG. 15, the light quantity ratio of the color G is calculated according to the equation 1 in each of the regions 1 to 6 in a step S21a.

次のステップS51では、領域1および領域2の光量比率が領域6の光量比率よりも小さいかどうかを判断する。ステップS51で“YES”であれば、つまり、領域1および領域2の光量比率が領域6の光量比率よりも小さい場合には、原稿が原稿載置台14aに載置されていないと判断して、ステップS27に進む。   In the next step S51, it is determined whether or not the light amount ratio of the region 1 and the region 2 is smaller than the light amount ratio of the region 6. If “YES” in the step S51, that is, if the light amount ratio of the region 1 and the region 2 is smaller than the light amount ratio of the region 6, it is determined that the document is not placed on the document placing table 14a. Proceed to step S27.

一方、ステップS51で“NO”であれば、つまり、領域1および領域2の光量比率が領域6の光量比率以上であれば、ステップS53で、領域1および領域2の光量比率が第3閾値以下であるかどうかを判断する。   On the other hand, if “NO” in the step S51, that is, if the light amount ratio of the region 1 and the region 2 is equal to or larger than the light amount ratio of the region 6, the light amount ratio of the region 1 and the region 2 is equal to or less than the third threshold value in a step S53. It is determined whether or not.

ステップS53で“YES”であれば、つまり、領域1および領域2の光量比率が第3閾値以下である場合には、原稿が原稿載置台14aに載置されていないと判断して、ステップS27に進む。   If “YES” in the step S53, that is, if the light quantity ratio of the region 1 and the region 2 is equal to or smaller than the third threshold value, it is determined that the document is not placed on the document placing table 14a, and the step S27. Proceed to

一方、ステップS53で“NO”であれば、つまり、領域1および領域2の光量比率が第3閾値を超えている場合には、原稿が原稿載置台14aに載置されていると判断して、ステップS21bで、領域1〜領域6のそれぞれについて、他の色(色Rと色B)の光量比率を数式1に従って算出して、ステップS23に進む。   On the other hand, if “NO” in the step S53, that is, if the light quantity ratio of the region 1 and the region 2 exceeds the third threshold value, it is determined that the document is placed on the document placing table 14a. In step S21b, the light quantity ratio of the other colors (color R and color B) is calculated for each of the regions 1 to 6 according to Equation 1, and the process proceeds to step S23.

ステップS23では、各色について、すべての領域1〜領域6の各々の光量比率が第1閾値以下であるかどうかを判断する。ステップS23で“YES”であれば、ステップS29に進む。一方、ステップS23で“NO”であれば、ステップS33に進む。   In step S23, for each color, it is determined whether or not the light amount ratio of each of the regions 1 to 6 is equal to or less than the first threshold value. If “YES” in the step S23, the process proceeds to a step S29. On the other hand, if “NO” in the step S23, the process proceeds to a step S33.

第3実施例によれば、閾値の算出および原稿サイズの決定等を行う前に、原稿が原稿載置台14aに載置されていないかどうかを判断するため、原稿が載置されていない場合には、閾値の算出および原稿サイズの決定を行う必要がない。つまり、無駄な処理を減らすことができる。   According to the third embodiment, before the threshold value is calculated and the document size is determined, it is determined whether or not the document is placed on the document placement table 14a. Therefore, it is not necessary to calculate the threshold and determine the document size. That is, useless processing can be reduced.

なお、第3実施例の変形は第2実施例にも採用することができる。   The modification of the third embodiment can also be adopted in the second embodiment.

また、第3実施例では、条件1または条件2を満たすかどうかを判断する場合には、色Gの光量比率(光量変動率)のみを用いるようにしたが、色Rまたは/および色Bの光量比率も用いるようにしてもよい。   In the third embodiment, when it is determined whether or not the condition 1 or 2 is satisfied, only the light amount ratio (light amount variation rate) of the color G is used, but the color R and / or the color B is used. A light quantity ratio may also be used.

さらに、上述の各実施例で挙げた画面および具体的な数値等は一例であり、実際の製品に応じて適宜変更することが可能である。また、同じ効果が得られる場合には、フロー図に示した各ステップの順番は適宜変更されてもよい。さらに、閾値を用いた比較処理においては、閾値を含まいで、大小関係を判断するようにしてもよい。   Furthermore, the screens and specific numerical values given in the above-described embodiments are examples, and can be appropriately changed according to the actual product. Moreover, when the same effect is acquired, the order of each step shown to the flowchart may be changed suitably. Further, in the comparison process using the threshold value, the magnitude relationship may be determined without including the threshold value.

10 …画像読取装置
12 …複合機本体
14a …原稿台ガラス
14b …SPFガラス
18 …原稿押さえカバー
28 …制御部
30 …画像形成部
32 …露光ユニット
34 …現像ローラ
36 …感光体ドラム
38 …クリーナユニット
40 …帯電器
42 …中間転写ユニット
44 …転写ローラ
46 …定着ローラ
100 …複合機
150 …CPU
154 …ROM
156 …RAM
158 …HDD
160 …画像信号処理回路
164 …開閉センサ
206 …スキャナモータ
230 …サイズ検出センサ
260 …光源
268 …ラインセンサ
270 …走査ユニット
DESCRIPTION OF SYMBOLS 10 ... Image reading device 12 ... MFP main body 14a ... Original plate glass 14b ... SPF glass 18 ... Original press cover 28 ... Control part 30 ... Image forming part 32 ... Exposure unit 34 ... Developing roller 36 ... Photoconductor drum 38 ... Cleaner unit DESCRIPTION OF SYMBOLS 40 ... Charging device 42 ... Intermediate transfer unit 44 ... Transfer roller 46 ... Fixing roller 100 ... Multifunction machine 150 ... CPU
154 ROM
156 ... RAM
158 ... HDD
DESCRIPTION OF SYMBOLS 160 ... Image signal processing circuit 164 ... Opening / closing sensor 206 ... Scanner motor 230 ... Size detection sensor 260 ... Light source 268 ... Line sensor 270 ... Scanning unit

Claims (10)

透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置であって、
前記読取部の副走査方向における前記原稿の第1サイズを検出する第1サイズ検出部と、
少なくとも前記原稿押さえカバーが閉じる方向に動いていることを検出するカバー検出部と、
前記カバー検出部によって前記原稿押さえカバーが閉じる方向に動いていることが検出されたことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出する光量検出部と、
前記光量検出部によって検出された前記分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出する比率算出部と、
前記比率算出部の算出結果に基づいて、前記読取部の主走査方向における前記原稿の第2サイズを検出する第2サイズ検出部と、
前記第1サイズ検出部の検出結果と第2サイズ検出部の検出結果とに基づいて原稿サイズを決定する原稿サイズ決定部を備える、画像読取装置。
An image reading apparatus including a document pressing cover that covers a document placed on a transparent plate, and a reading unit including at least an image reading element,
A first size detection unit for detecting a first size of the document in the sub-scanning direction of the reading unit;
A cover detection unit for detecting that at least the document pressing cover is moving in the closing direction;
A light amount detection unit for detecting the light amount of each of the plurality of divided regions in the main scanning direction at predetermined time intervals in response to the detection of the document pressing cover moving in the closing direction by the cover detection unit;
A ratio calculating unit that calculates a ratio of the amount of light based on the maximum value and the minimum value of each of the divided regions detected by the light amount detection unit;
A second size detecting unit that detects a second size of the document in the main scanning direction of the reading unit based on a calculation result of the ratio calculating unit;
An image reading apparatus comprising: a document size determination unit that determines a document size based on a detection result of the first size detection unit and a detection result of the second size detection unit.
前記比率算出部によって算出された比率が所定の閾値を超えるかどうかに基づいて各分割領域における原稿の有無を判断する有無判断部をさらに備え、
前記第2サイズ検出部は、前記有無判断部によって原稿が有ることを判断された前記分割領域に基づいて前記第2サイズを検出する、請求項1記載の画像読取装置。
A presence / absence determining unit that determines presence / absence of a document in each divided region based on whether the ratio calculated by the ratio calculating unit exceeds a predetermined threshold;
2. The image reading apparatus according to claim 1, wherein the second size detection unit detects the second size based on the divided area determined by the presence / absence determination unit that a document is present.
すべての前記分割領域における光量比率の最大値と最小値から前記閾値を再計算する再計算部をさらに備える、請求項2記載の画像読取装置。   The image reading apparatus according to claim 2, further comprising a recalculation unit that recalculates the threshold value from a maximum value and a minimum value of a light amount ratio in all the divided regions. 前記分割領域についての前記光量が複数回連続して増大した場合に、当該分割領域に前記原稿が載置されていないことを判断する領域別有無判断手段をさらに備える、請求項1ないし3のいずれかに記載の画像読取装置。   4. The apparatus according to claim 1, further comprising: a region presence / absence determining unit configured to determine that the document is not placed in the divided region when the light amount of the divided region continuously increases a plurality of times. An image reading apparatus according to claim 1. 前記比率算出部によって算出された比率が所定の条件を満たすかどうかに応じて前記原稿が前記透明板上に載っていないかどうかを判断する非載置判断部をさらに備え、
前記非載置判断部によって前記原稿が前記透明板上に載っていないことが判断されない場合に、前記第2サイズ検出部と、前記原稿サイズ決定部による処理を実行させる、請求項1ないし4のいずれかに記載の画像読取装置。
A non-placement determining unit that determines whether the document is not placed on the transparent plate according to whether the ratio calculated by the ratio calculating unit satisfies a predetermined condition;
5. The processing according to claim 1, wherein when the non-placement determination unit does not determine that the document is not placed on the transparent plate, the second size detection unit and the document size determination unit execute processing. The image reading apparatus according to any one of the above.
前記分割領域は、AB系サイズに原稿サイズを決定する場合と、インチ系サイズに原稿サイズを決定する場合とで変更される、請求項1ないし5のいずれかに記載の画像読取装置。   6. The image reading apparatus according to claim 1, wherein the divided area is changed between when the document size is determined as an AB size and when the document size is determined as an inch size. 透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置であって、
少なくとも前記原稿押さえカバーが閉じる方向に動いていることを検出するカバー検出部と、
前記カバー検出部によって前記原稿押さえカバーが閉じる方向に動いていることが検出されたことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出する光量検出部と、
前記光量検出部によって検出された前記分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出する比率算出部と、
前記比率算出部の算出結果に基づいて、前記原稿が前記透明板上に載置されているかどうかを判断する載置判断部を備える、画像読取装置。
An image reading apparatus including a document pressing cover that covers a document placed on a transparent plate, and a reading unit including at least an image reading element,
A cover detection unit for detecting that at least the document pressing cover is moving in the closing direction;
A light amount detection unit for detecting the light amount of each of the plurality of divided regions in the main scanning direction at predetermined time intervals in response to the detection of the document pressing cover moving in the closing direction by the cover detection unit;
A ratio calculating unit that calculates a ratio of the amount of light based on the maximum value and the minimum value of each of the divided regions detected by the light amount detection unit;
An image reading apparatus comprising: a placement determination unit that determines whether the document is placed on the transparent plate based on a calculation result of the ratio calculation unit.
請求項1ないし7のいずれかに記載の画像読取装置を備える、画像形成装置。   An image forming apparatus comprising the image reading apparatus according to claim 1. 透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置で実行させる制御プログラムであって、
前記画像読取装置のプロセッサに、
前記読取部の副走査方向における前記原稿の第1サイズを検出する第1サイズ検出ステップと、
少なくとも前記原稿押さえカバーが閉じる方向に動いていることを検出するカバー検出ステップと、
前記カバー検出ステップにおいて前記原稿押さえカバーが閉じる方向に動いていることを検出したことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出する光量検出ステップと、
前記光量検出ステップにおいて検出した前記分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出する比率算出ステップと、
前記比率算出ステップの算出結果に基づいて、前記読取部の主走査方向における前記原稿の第2サイズを検出する第2サイズ検出ステップと、
前記第1サイズ検出ステップの検出結果と第2サイズ検出ステップの検出結果とに基づいて原稿サイズを決定する原稿サイズ決定部を実行させる、制御プログラム。
A control program that is executed by an image reading apparatus that includes a document pressing cover that covers a document placed on a transparent plate, and a reading unit that includes at least an image reading element,
In the processor of the image reading device,
A first size detecting step of detecting a first size of the document in the sub-scanning direction of the reading unit;
A cover detecting step for detecting that at least the document pressing cover is moving in the closing direction;
A light amount detecting step for detecting the light amount of each of the plurality of divided regions in the main scanning direction at predetermined time intervals in response to detecting that the document pressing cover is moving in the closing direction in the cover detecting step;
A ratio calculating step for calculating a ratio of the light quantity based on the maximum value and the minimum value of each light quantity of the divided areas detected in the light quantity detection step;
A second size detecting step of detecting a second size of the document in the main scanning direction of the reading unit based on a calculation result of the ratio calculating step;
A control program that causes a document size determination unit to determine a document size based on the detection result of the first size detection step and the detection result of the second size detection step.
透明板上に載置された原稿を覆う原稿押さえカバーと、少なくとも画像読取素子を備える読取部とを備える画像読取装置の制御方法であって、
(a)前記読取部の副走査方向における前記原稿の第1サイズを検出するステップと、
(b)少なくとも前記原稿押さえカバーが閉じる方向に動いていることを検出するステップと、
(c)前記カバー検出部において前記原稿押さえカバーが閉じる方向に動いていることを検出したことに応じて、主走査方向における複数の分割領域の各々の光量を所定時間毎に検出するステップと、
(d)前記光量検出ステップにおいて検出した前記分割領域の各々の光量の最大値と最小値に基づく光量の比率を算出するステップと、
(e)前記比率算出ステップの算出結果に基づいて、前記読取部の主走査方向における前記原稿の第2サイズを検出するステップと、
(f)前記第1サイズ検出ステップの検出結果と第2サイズ検出ステップの検出結果とに基づいて原稿サイズを決定するステップを含む、制御方法。
A method for controlling an image reading apparatus, comprising: a document pressing cover that covers a document placed on a transparent plate; and a reading unit including at least an image reading element,
(A) detecting a first size of the document in the sub-scanning direction of the reading unit;
(B) detecting that at least the document pressing cover is moving in the closing direction;
(C) detecting the light amount of each of the plurality of divided areas in the main scanning direction at predetermined time intervals in response to detecting that the document pressing cover is moving in the closing direction in the cover detection unit;
(D) calculating a light amount ratio based on a maximum value and a minimum value of each light amount of the divided areas detected in the light amount detection step;
(E) detecting a second size of the document in the main scanning direction of the reading unit based on a calculation result of the ratio calculating step;
(F) A control method including a step of determining a document size based on a detection result of the first size detection step and a detection result of the second size detection step.
JP2016250737A 2016-12-26 2016-12-26 Image reader, image forming device, control program and control method Active JP6785150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016250737A JP6785150B2 (en) 2016-12-26 2016-12-26 Image reader, image forming device, control program and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016250737A JP6785150B2 (en) 2016-12-26 2016-12-26 Image reader, image forming device, control program and control method

Publications (2)

Publication Number Publication Date
JP2018107572A true JP2018107572A (en) 2018-07-05
JP6785150B2 JP6785150B2 (en) 2020-11-18

Family

ID=62787513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016250737A Active JP6785150B2 (en) 2016-12-26 2016-12-26 Image reader, image forming device, control program and control method

Country Status (1)

Country Link
JP (1) JP6785150B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11405517B2 (en) 2020-08-18 2022-08-02 Sharp Kabushiki Kaisha Image reading device and image forming apparatus including the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11405517B2 (en) 2020-08-18 2022-08-02 Sharp Kabushiki Kaisha Image reading device and image forming apparatus including the same

Also Published As

Publication number Publication date
JP6785150B2 (en) 2020-11-18

Similar Documents

Publication Publication Date Title
US9197775B2 (en) Image reading device, copier, and image forming apparatus
JP5114114B2 (en) Image forming apparatus
US9575450B2 (en) Sheet type detection device that ensures reduced trouble for unexecuted sheet type setting, sheet type detection method, image forming apparatus, and recording medium
JP2017046291A (en) Image forming apparatus
JP2009086665A (en) Image forming apparatus, and image quality control method
JP4541294B2 (en) Image processing apparatus and image forming apparatus
JP5544340B2 (en) Image reading device
JP7397941B2 (en) Image reading device and method of controlling the image reading device
JP6785150B2 (en) Image reader, image forming device, control program and control method
JP4591556B2 (en) Automatic document feeder and image forming apparatus
JP5477086B2 (en) Image forming apparatus
US9170538B2 (en) Electronic device
JP2010151862A (en) Image forming apparatus
JP5447877B2 (en) Image forming apparatus
JP6507031B2 (en) Image reading apparatus, image forming apparatus, control program and control method
JP4310129B2 (en) Document feeding apparatus, image forming apparatus, method for controlling document feeding apparatus, and method for controlling image forming apparatus
US11405517B2 (en) Image reading device and image forming apparatus including the same
JP6614911B2 (en) Image reading apparatus, image forming apparatus, document size detection program, and document size detection method
US20210067647A1 (en) Image forming apparatus and program
US10666815B2 (en) Image reading device, image forming apparatus therewith, and image reading method
JP4549194B2 (en) Sheet-through document reader and image forming apparatus
JP6882925B2 (en) Image forming device, control program and control method
JP2006191229A (en) Image scanner and image forming apparatus
JP6384396B2 (en) Image reading apparatus and image forming apparatus
JP2015080170A (en) Document reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200721

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200918

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201026

R150 Certificate of patent or registration of utility model

Ref document number: 6785150

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150