JP6337414B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP6337414B2
JP6337414B2 JP2012173797A JP2012173797A JP6337414B2 JP 6337414 B2 JP6337414 B2 JP 6337414B2 JP 2012173797 A JP2012173797 A JP 2012173797A JP 2012173797 A JP2012173797 A JP 2012173797A JP 6337414 B2 JP6337414 B2 JP 6337414B2
Authority
JP
Japan
Prior art keywords
reading
document
time interval
image data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012173797A
Other languages
Japanese (ja)
Other versions
JP2014033390A (en
Inventor
幸司 原
幸司 原
河端 聖司
聖司 河端
浩平 碓田
浩平 碓田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012173797A priority Critical patent/JP6337414B2/en
Publication of JP2014033390A publication Critical patent/JP2014033390A/en
Application granted granted Critical
Publication of JP6337414B2 publication Critical patent/JP6337414B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、画像読取装置に関する。   The present invention relates to an image reading apparatus.

従来、画像読取装置としては、原稿を搬送する原稿搬送手段と、搬送中の原稿を読み取る読取手段とを備えたものが知られている。例えば、特許文献1には、バッファフルなど原稿搬送の一時停止条件が成立し、原稿搬送手段に対し原稿搬送の停止指令を発してから原稿が停止するまでの間は、読取手段による画像読み取り動作を継続させる画像読取装置が記載されている。これにより、停止指令を発してから原稿が実際に停止するまでの原稿のオーバーランの間も読み取りを行うことができ、つなぎ目のない画像データを得ることができるとしている。   2. Description of the Related Art Conventionally, there has been known an image reading apparatus that includes a document conveying unit that conveys a document and a reading unit that reads a document being conveyed. For example, in Patent Document 1, an image reading operation by the reading unit is performed during a period from when a document conveyance stop command such as a buffer full is satisfied and when a document conveying stop command is issued to the document conveying unit until the document is stopped. An image reading apparatus that continues the process is described. Thus, it is possible to perform reading even during the overrun of the document from when the stop command is issued until the document is actually stopped, and to obtain seamless image data.

特開平6−98102号公報JP-A-6-98102

しかしながら、原稿搬送の停止指令を発してから原稿が停止するまでの間に画像読み取り動作を単に継続させるだけでは、原稿が減速して停止するなどの場合に読み取った画像が間延びしてしまうことがあった。特許文献1に記載の画像読取装置では、このような原稿搬送中とは異なる原稿停止時の原稿の挙動については考慮されていなかった。   However, if the image reading operation is simply continued after the document conveyance stop command is issued until the document is stopped, the read image may be extended when the document is decelerated and stopped. there were. In the image reading apparatus described in Patent Document 1, the behavior of the original when the original is stopped different from that during the original conveyance is not taken into consideration.

本発明は、上述した課題に鑑みなされたものであり、原稿の搬送停止時に精度良く原稿を読み取った画像データを取得することを主目的とする。   The present invention has been made in view of the above-described problems, and a main object of the present invention is to acquire image data obtained by accurately reading a document when the conveyance of the document is stopped.

本発明は、上述の目的を達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve the above-mentioned object.

本発明の画像読取装置は、
原稿を搬送方向に搬送する原稿搬送手段と、
前記原稿搬送手段を駆動する駆動手段と、
前記原稿搬送手段により搬送された原稿を読み取る読取手段と、
前記駆動手段が前記原稿搬送手段を駆動して前記原稿を搬送しているとき、前記読取手段を制御して搬送中の該原稿を読み取らせて画像データを取得し、該原稿の搬送中に前記駆動手段が一時停止するとき、画像データの取得に関する前記読み取りの時間間隔である読取時間間隔が該一時停止前と比べて長くなるよう、前記読取手段を制御して前記原稿を読み取らせて画像データを取得し、その後に画像データの取得を停止する読取制御手段と、
を備えたものである。
The image reading apparatus of the present invention includes:
An original conveying means for conveying an original in the conveying direction;
Driving means for driving the document conveying means;
Reading means for reading the original conveyed by the original conveying means;
When the driving unit drives the document conveying unit to convey the document, the reading unit is controlled to read the document being conveyed to acquire image data. When the driving unit pauses, the original is read by controlling the reading unit so that the reading time interval, which is the reading time interval related to the acquisition of image data, becomes longer than before the pause. Reading control means for obtaining the image data and then stopping the acquisition of the image data;
It is equipped with.

この本発明の画像読取装置では、駆動手段が原稿搬送手段を駆動して原稿を搬送しているとき、読取手段を制御して搬送中の原稿を読み取らせて画像データを取得する。そして、原稿の搬送中に駆動手段が一時停止するとき、画像データの取得に関する前記読み取りの時間間隔である読取時間間隔が該一時停止前と比べて長くなるよう、読取手段を制御して原稿を読み取らせて画像データを取得し、その後に画像データの取得を停止する。こうすることで、駆動手段の一時停止時に原稿搬送手段が直ちに停止せず減速して停止する場合に、読取時間間隔を駆動手段の一時停止前と比べて長くするため、原稿の搬送の挙動に合わせて原稿を読み取った画像データを取得できる。これにより、原稿の搬送停止時に精度良く原稿を読み取った画像データを取得できる。ここで、「読取時間間隔」とは「画像データの取得に関する前記読み取りの時間間隔」である。そのため、例えば読取手段が読み取った画像データを全て取得する場合には、読取手段が実際に原稿を読み取る時間間隔がそのまま「読取時間間隔」に相当する。一方、例えば読取手段が読み取った画像データの少なくとも一部を無視する(原稿を表す画像データとして取得しない)場合には、取得する画像データ(無視しない画像データ)に関する読み取りのみに着目したときの読み取りの時間間隔が「読取時間間隔」に相当する。したがって、「読取時間間隔が該一時停止前と比べて長くなるよう」にするとは、読取手段が実際に原稿を読み取る時間間隔を長くすることで読取時間間隔を長くするものに限られない。例えば、読取手段が実際に原稿を読み取る時間間隔は変えずに、読取手段が読み取った画像データの一部を無視することで読取時間間隔を長くするものも含む。同様に、「画像データの取得を停止する」とは、読取手段に原稿の読み取りを停止させる場合と、読取手段による原稿の読み取りは停止しないが読み取った画像データを無視する場合とを含む。   In the image reading apparatus of the present invention, when the driving unit drives the document conveying unit to convey the document, the reading unit is controlled to read the document being conveyed and acquire image data. Then, when the driving unit pauses while the document is being conveyed, the reading unit is controlled so that the reading time interval, which is the reading time interval related to the acquisition of image data, becomes longer than before the pause. The image data is acquired by reading, and thereafter the acquisition of the image data is stopped. In this way, when the document conveying unit is decelerated and stopped immediately when the driving unit is temporarily stopped, the reading time interval is made longer than that before the driving unit is temporarily stopped. In addition, image data obtained by reading a document can be acquired. As a result, it is possible to acquire image data obtained by accurately reading a document when the conveyance of the document is stopped. Here, the “reading time interval” is “the reading time interval relating to acquisition of image data”. Therefore, for example, when all the image data read by the reading unit is acquired, the time interval at which the reading unit actually reads the document directly corresponds to the “reading time interval”. On the other hand, for example, when ignoring at least a part of the image data read by the reading unit (not acquired as image data representing a document), reading when focusing only on reading about the acquired image data (image data not ignored) Corresponds to the “reading time interval”. Therefore, “to make the reading time interval longer than that before the temporary stop” is not limited to making the reading time interval longer by increasing the time interval at which the reading unit actually reads the document. For example, it includes a method in which the reading time interval is increased by ignoring a part of the image data read by the reading means without changing the time interval at which the reading means actually reads the original. Similarly, “stop acquisition of image data” includes a case where the reading unit stops reading of the original and a case where reading of the original by the reading unit is not stopped but the read image data is ignored.

本発明の画像読取装置において、前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、前記読取時間間隔が該一時停止前と比べて徐々に長くなる傾向になるよう、前記読取手段を制御して前記原稿を読み取らせて画像データを取得するものとしてもよい。こうすることで、駆動手段の一時停止時に原稿搬送手段が直ちに停止せず徐々に減速しながら停止する場合に、読取時間間隔も徐々に長くなる傾向にするため、原稿の搬送の挙動に合わせた読み取りが可能となる。これにより、原稿の搬送停止時に精度良く原稿を読み取った画像データを取得できる。ここで、「画像データの取得に関する前記読取時間間隔が徐々に長くなる傾向」とは、例えば読取時間間隔が一次関数的に長くなるものや、二次関数的に長くなるものや、ステップ関数的に長くなるものを含む。   In the image reading apparatus according to the aspect of the invention, the reading control unit may be configured such that when the driving unit pauses during conveyance of the document, the reading time interval tends to be gradually longer than before the pause. Image data may be acquired by controlling the reading unit to read the document. In this way, when the driving means is temporarily stopped, when the document conveying means does not stop immediately but stops while gradually decelerating, the reading time interval tends to become gradually longer. Reading is possible. As a result, it is possible to acquire image data obtained by accurately reading a document when the conveyance of the document is stopped. Here, “the tendency that the reading time interval relating to the acquisition of image data gradually increases” means that the reading time interval becomes longer as a linear function, a case where the reading time interval becomes longer as a quadratic function, Including those that become longer.

本発明の画像読取装置において、前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該一時停止前の該原稿の搬送速度が速いほど前記画像データの取得を停止するまでの時間が長くなる傾向にするものとしてもよい。原稿の搬送速度が速いほど、駆動手段の一時停止時に原稿が停止するまでの時間は長くなる傾向になる。そこで、駆動手段の一時停止前の原稿の搬送速度が速いほど画像データの取得を停止するまでの時間が長くなる傾向にすることで、駆動手段の一時停止時の原稿の搬送の挙動に応じてより精度良く原稿を読み取った画像データを取得できる。   In the image reading apparatus according to the aspect of the invention, when the driving unit pauses during conveyance of the document, the reading control unit stops acquiring the image data as the conveyance speed of the document before the suspension is higher. It is good also as what tends to become long time to. The faster the document transport speed, the longer the time until the document stops when the driving means is temporarily stopped. Therefore, by increasing the speed of stopping the acquisition of image data as the speed of transporting the original document before the driving unit is paused increases, the time taken to stop the acquisition of the image data is increased. Image data obtained by reading a document with higher accuracy can be acquired.

本発明の画像読取装置において、前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該一時停止前の該原稿の搬送速度に応じて、前記読取時間間隔の傾向を変えるものとしてもよい。原稿の搬送速度が異なる場合には、駆動手段の一時停止時の原稿の挙動も搬送速度に応じて異なるものとなることが多い。このような場合に駆動手段の一時停止前の原稿の搬送速度に応じて読取時間間隔の傾向を変えることで、駆動手段の一時停止時の原稿の搬送の挙動に応じてより精度良く原稿を読み取った画像データを取得できる。この場合において、前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該一時停止前の原稿の搬送速度が遅いほど、該一時停止前の原稿の搬送速度が速い場合と比べて該一時停止後の前記読取時間間隔をより長い傾向にするものとしてもよい。また、前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該一時停止前の原稿の搬送速度が遅いほど、該一時停止前の原稿の搬送速度が速い場合と比べて前記読取時間間隔を徐々に長くする際の該読取時間間隔の変化を急峻にするものとしてもよい。   In the image reading apparatus according to the aspect of the invention, when the driving unit pauses during conveyance of the document, the reading control unit displays the tendency of the reading time interval according to the document conveyance speed before the suspension. It may be changed. When the document transport speed is different, the behavior of the document when the driving unit is temporarily stopped is often different depending on the transport speed. In such a case, by changing the tendency of the reading time interval according to the conveyance speed of the document before the driving unit is temporarily stopped, the document is read with higher accuracy according to the conveyance behavior of the document when the driving unit is temporarily stopped. Acquired image data. In this case, when the driving unit pauses while the document is being conveyed, the reading control unit is configured such that the document conveyance speed before the pause is higher as the document conveyance speed before the pause is slower. The reading time interval after the temporary stop may be set to be longer than that. In addition, when the driving unit pauses while the document is being transported, the reading control unit is slower than the document transport speed before the pause as the document transport speed before the pause is slower. Thus, the change in the reading time interval when the reading time interval is gradually increased may be made steep.

なお、上述した駆動手段の一時停止前の原稿の搬送速度に応じた処理を行う態様の本発明の画像読取装置において、前記読取制御手段は直接的に搬送速度に応じた処理を行ってもよいし、間接的に搬送速度に応じた処理を行ってもよい。例えば前記駆動手段の駆動速度に応じた処理を行うものとしてもよい。また、原稿の読取解像度が高いほど原稿の搬送速度が遅くなる傾向に前記駆動手段を制御する駆動制御手段を備えるものとし、前記読取制御手段は原稿の読取解像度に応じた処理を行うものとしてもよい。こうすれば、原稿の搬送停止時に読取解像度に応じて精度良く原稿を読み取った画像データを取得できる。   In the image reading apparatus of the present invention in which the processing according to the transporting speed of the document before the suspension of the driving unit described above is performed, the reading control unit may directly perform the processing according to the transporting speed. However, processing corresponding to the conveyance speed may be performed indirectly. For example, the processing according to the driving speed of the driving unit may be performed. In addition, it is possible to provide drive control means for controlling the drive means so that the document conveyance speed tends to be slower as the document reading resolution is higher, and the reading control means may perform processing according to the document reading resolution. Good. In this way, it is possible to acquire image data obtained by accurately reading a document according to the reading resolution when the conveyance of the document is stopped.

本発明の画像読取装置において、前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該原稿の種類に応じて前記読取時間間隔の傾向を変えるか、該原稿の種類に応じて前記画像データの取得を停止するまでの時間を変えるか、の少なくともいずれかを行うものとしてもよい。こうすれば、駆動手段の一時停止時の原稿の搬送の挙動が原稿の種類に応じて異なる場合に、精度良く原稿を読み取った画像データを取得できる。   In the image reading apparatus according to the aspect of the invention, the reading control unit may change the tendency of the reading time interval according to the type of the document or the type of the document when the driving unit pauses during conveyance of the document. The time until the acquisition of the image data is stopped may be changed or at least one of them may be performed. In this way, it is possible to obtain image data obtained by accurately reading a document when the behavior of document conveyance when the driving unit is temporarily stopped varies depending on the type of document.

本発明の画像読取装置において、前記原稿搬送手段は、複数の歯車からなる輪列を介して前記駆動手段からの動力を前記原稿に伝達するものとしてもよい。複数の歯車からなる輪列を介して駆動手段からの動力を原稿に伝達する場合には、駆動手段が一時停止したときに原稿が直ちに停止せず減速して停止するものとなりやすいため、本発明を適用する意義が高い。   In the image reading apparatus of the present invention, the document conveying unit may transmit power from the driving unit to the document via a train wheel composed of a plurality of gears. In the case where the power from the driving means is transmitted to the document via a gear train composed of a plurality of gears, when the driving means is temporarily stopped, the document is not immediately stopped but is likely to be decelerated and stopped. The significance of applying is high.

本発明の画像読取装置において、前記駆動手段は、前記原稿搬送手段を駆動する手段と、前記読取手段を移動方向に移動させる手段とを兼ねており、前記読取手段は、原稿載置領域に載置された原稿を読み取るときには、前記駆動手段により前記移動方向に自身が移動しながら該原稿を読み取るものとしてもよい。このように、原稿搬送手段を駆動させる役割と読取手段を移動させる役割とを駆動手段が兼ねるものとすると、原稿搬送手段が例えば複数の歯車からなる長い輪列を有するなど、原稿と駆動手段との位置が離れやすい。そのため、駆動手段が一時停止したときに原稿が直ちに停止せず減速して停止するものとなりやすく、本発明を適用する意義が高い。この場合において、前記搬送方向と前記移動方向とは同じ方向であるものとしてもよいし、異なる方向であるものとしてもよい。   In the image reading apparatus according to the aspect of the invention, the driving unit serves as a unit that drives the document conveying unit and a unit that moves the reading unit in a moving direction, and the reading unit is placed on the document placement region. When reading the placed document, the document may be read while moving in the moving direction by the driving means. As described above, when the driving unit serves to drive the document conveying unit and to move the reading unit, the document conveying unit has a long train wheel composed of a plurality of gears. The position of is easy to leave. For this reason, when the driving means is temporarily stopped, the document is not immediately stopped but is likely to be decelerated and stopped, and the significance of applying the present invention is high. In this case, the conveyance direction and the movement direction may be the same direction or different directions.

本発明の画像読取装置において、前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止したあと該駆動手段が前記原稿搬送手段の駆動を再開するとき、前記読取手段を制御して該原稿を読み取らせて画像データを取得するにあたり、該駆動手段の動作開始から遅れて該画像データの取得を再開するものとしてもよい。こうすれば、駆動手段の一時停止後の原稿搬送の再開時に、駆動手段が動作開始しても直ちに原稿の搬送が開始されないような場合に、精度良く原稿を読み取った画像データを取得できる。   In the image reading apparatus of the present invention, the reading control unit controls the reading unit when the driving unit resumes driving the document conveying unit after the driving unit pauses during conveyance of the document. In acquiring the image data by reading the original, the acquisition of the image data may be resumed after the start of the operation of the driving unit. In this way, when the conveyance of the document after the suspension of the driving unit is resumed, the image data obtained by reading the document can be obtained with high accuracy if the conveyance of the document is not started immediately after the operation of the driving unit is started.

本発明の画像読取装置において、前記原稿の搬送中に一時停止条件が成立したときに前記駆動手段を一時停止する駆動制御手段を備えるものとしてもよい。この場合において、前記取得した画像データを一時的に記憶するバッファを備え、該バッファがバッファフルとなったときに前記一時停止条件が成立するものとしてもよい。画像データを記憶するバッファがバッファフルになったときには原稿搬送中に駆動手段を一時停止して読み取りを停止する必要があるが、そのようなときでも精度良く原稿を読み取った画像データを取得することができる。なお、バッファフルが近いとみなせる閾値より前記バッファの空き容量が少ないときに前記一時停止条件が成立するものとしてもよい。また、前記駆動手段の故障や異常を検出した時に前記一時停止条件が成立するものとしてもよい。   The image reading apparatus according to the present invention may further include a drive control unit that temporarily stops the driving unit when a temporary stop condition is satisfied during conveyance of the document. In this case, a buffer that temporarily stores the acquired image data may be provided, and the temporary stop condition may be satisfied when the buffer becomes full. When the buffer for storing image data becomes full, it is necessary to pause the driving means during document conveyance to stop reading. Even in such a case, it is necessary to acquire image data obtained by accurately reading the document. Can do. Note that the temporary stop condition may be satisfied when the free space of the buffer is less than a threshold that can be regarded as close to the buffer full. The temporary stop condition may be satisfied when a failure or abnormality of the driving unit is detected.

本発明の画像読取方法は、
原稿を搬送方向に搬送する原稿搬送手段と、前記原稿搬送手段を駆動する駆動手段と、前記原稿搬送手段により搬送された原稿を読み取る読取手段と、を備えた画像読取装置の制御方法であって、
(a)前記駆動手段が前記原稿搬送手段を駆動して前記原稿を搬送しているとき、前記読取手段を制御して搬送中の該原稿を読み取らせて画像データを取得するステップと、
(b)前記原稿の搬送中に前記駆動手段が一時停止するとき、画像データの取得に関する前記読み取りの時間間隔である読取時間間隔が該一時停止前と比べて長くなるよう、前記読取手段を制御して前記原稿を読み取らせて画像データを取得し、その後に画像データの取得を停止するステップと、
を含むものである。
The image reading method of the present invention includes:
A method for controlling an image reading apparatus, comprising: a document conveying unit that conveys a document in a conveying direction; a driving unit that drives the document conveying unit; and a reading unit that reads a document conveyed by the document conveying unit. ,
(A) when the driving unit drives the document conveying unit to convey the document, the reading unit is controlled to read the document being conveyed to acquire image data;
(B) When the driving unit pauses during conveyance of the document, the reading unit is controlled so that a reading time interval, which is a reading time interval related to acquisition of image data, becomes longer than before the pause. And acquiring the image data by reading the original, and then stopping the acquisition of the image data;
Is included.

この本発明の画像読取装置の制御方法では、原稿の搬送中に駆動手段が一時停止するとき、読取時間間隔が該一時停止前と比べて長くなるよう、読取手段を制御して原稿を読み取らせて画像データを取得し、その後に画像データの取得を停止する。これにより、上述した本発明の画像読取装置と同様に、原稿の搬送停止時に精度良く原稿を読み取った画像データを取得できる。なお、この画像読取装置の制御方法において、上述した画像読取装置の種々の態様を採用してもよいし、また、上述した画像読取装置の各機能を実現するようなステップを追加してもよい。   In the control method of the image reading apparatus according to the present invention, when the driving unit pauses during conveyance of the original, the reading unit is controlled to read the original so that the reading time interval becomes longer than before the temporary stop. The image data is acquired, and then the acquisition of the image data is stopped. As a result, as with the image reading apparatus of the present invention described above, it is possible to acquire image data obtained by accurately reading a document when the conveyance of the document is stopped. In the control method of the image reading apparatus, various aspects of the above-described image reading apparatus may be adopted, and steps for realizing each function of the above-described image reading apparatus may be added. .

本発明のプログラムは、上述した画像読取装置の制御方法の各ステップを1以上のコンピュータに実現させるものである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述した画像読取装置の制御方法の各ステップが実行されるため、この制御方法と同様の作用効果が得られる。   The program of the present invention causes one or more computers to realize each step of the above-described control method of the image reading apparatus. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by one computer or if each computer is assigned to each step and executed, each step of the above-described image reading apparatus control method is executed. An effect is obtained.

マルチファンクションプリンター20の構成の概略を示す構成図。FIG. 2 is a configuration diagram illustrating an outline of a configuration of a multifunction printer 20. スキャナーユニット40の構成の概略を示す構成図。FIG. 2 is a configuration diagram showing an outline of the configuration of a scanner unit 40. 筐体カバー22及びフラットベッド部31の斜視図。The perspective view of the housing | casing cover 22 and the flat bed part 31. FIG. フラットベッド部31の斜視図。The perspective view of the flat bed part 31. FIG. 図4のA−A断面図。AA sectional drawing of FIG. 図5の拡大部分の上面図。The top view of the enlarged part of FIG. ADFユニット61の内部構造を示す説明図。Explanatory drawing which shows the internal structure of the ADF unit 61. FIG. ADFユニット61の内部構造を示す説明図。Explanatory drawing which shows the internal structure of the ADF unit 61. FIG. 図8のB視図。B view of FIG. 図9の波線枠Cの拡大図。The enlarged view of the wavy line frame C of FIG. 読取時間間隔テーブル54a,54bの説明図。Explanatory drawing of reading time interval table 54a, 54b. ADF画像読取処理ルーチンの一例を示すフローチャート。7 is a flowchart illustrating an example of an ADF image reading processing routine. 通常時処理及び一時停止時処理を行う様子を示す説明図。Explanatory drawing which shows a mode that the process at the time of normal time and the process at the time of a pause are performed. 再開時処理及びその後の通常時処理を行う様子を示す説明図。Explanatory drawing which shows a mode that the process at the time of a restart and subsequent normal time process are performed.

次に、本発明の実施の形態を図面を用いて説明する。図1は、本発明の一実施形態であるマルチファンクションプリンター20の構成の概略を示す構成図である。図2は、スキャナーユニット40の構成の概略を示す構成図である。図3は、筐体カバー22及びフラットベッド部31の斜視図である。図4は、フラットベッド部31の斜視図である。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing an outline of a configuration of a multifunction printer 20 according to an embodiment of the present invention. FIG. 2 is a configuration diagram showing an outline of the configuration of the scanner unit 40. FIG. 3 is a perspective view of the housing cover 22 and the flat bed portion 31. FIG. 4 is a perspective view of the flat bed portion 31.

本実施形態のマルチファンクションプリンター20は、図1に示すように、筐体21と、筐体21の上面を開閉可能な筐体カバー22とにより構成されており、原稿S(図2参照)を光学的に読み取ってイメージデータを生成するスキャナーユニット40と、図示しないカセット内にセットされている用紙を給紙し印刷して排紙トレイ24に排紙するプリンターユニット42と、使用者による各種操作が可能な操作パネル46と、装置全体の制御を司るメインコントローラー80と、を備える。筐体21の上面には、ガラス台32が配設され、そのガラス台32の一部の領域がフラットベッド(FB)読取領域35として用いられる。このFB読取領域35に載置された原稿を筐体カバー22に設けられた原稿押さえ22cにより固定して、スキャナーユニット40で光学的に読み取ることができるようになっている(以下、この動作モードをFB読取モードという)。また、筐体カバー22には、原稿Sを1枚ずつ連続的に自動搬送するオートドキュメントフィーダーユニット61(以下、ADFユニット61)が内蔵されており(図2参照)、ガラス台32のFB読取領域35と異なる領域がADFユニット61で自動搬送される原稿Sを読み取るためのADF読取領域34として用いられる。そして、筐体カバー22が閉じられている状態で、ADFユニット61により自動搬送される原稿Sが筐体カバー22の下面に形成されて透明なフィルムで覆われた開口部22aを通過すると、ADF読取領域34上を通過してスキャナーユニット40で光学的に読み取ることができるようになっている(以下、この動作モードをADF読取動作モードという)。また、開口部22aは、ADF読取領域34よりも原稿Sの搬送方向(図2の左右方向)に大きな開口幅をもって開口している。なお、FB読取領域35の副走査方向(搬送方向と同じ方向)の右端部には、いわゆるシェーディング補正を行なうための白基準板36が設けられている(図2参照)。また、図1におけるFB読取領域35の副走査方向の右端部の最も手前側が、FB読取動作モード時の原稿の読み取りの原点であるFB読取原点35aとなっている。   As shown in FIG. 1, the multi-function printer 20 of the present embodiment includes a housing 21 and a housing cover 22 that can open and close the upper surface of the housing 21, and a document S (see FIG. 2). A scanner unit 40 that optically reads and generates image data, a printer unit 42 that feeds, prints, and discharges paper set in a cassette (not shown) to the paper discharge tray 24, and various operations by the user And an operation panel 46 that can be controlled, and a main controller 80 that controls the entire apparatus. A glass table 32 is disposed on the upper surface of the housing 21, and a partial area of the glass table 32 is used as a flat bed (FB) reading region 35. A document placed in the FB reading area 35 is fixed by a document presser 22c provided on the housing cover 22, and can be optically read by the scanner unit 40 (hereinafter, this operation mode). Is called FB reading mode). The housing cover 22 incorporates an automatic document feeder unit 61 (hereinafter referred to as ADF unit 61) that automatically and automatically conveys the original S one by one (see FIG. 2), and FB reading of the glass table 32 is performed. An area different from the area 35 is used as the ADF reading area 34 for reading the document S automatically conveyed by the ADF unit 61. When the document S automatically conveyed by the ADF unit 61 passes through the opening 22a formed on the lower surface of the housing cover 22 and covered with a transparent film with the housing cover 22 being closed, The scanner unit 40 can pass through the reading area 34 and optically read (hereinafter, this operation mode is referred to as an ADF reading operation mode). Further, the opening 22a is opened with a larger opening width in the conveyance direction of the document S (the left-right direction in FIG. 2) than the ADF reading area 34. A white reference plate 36 for performing so-called shading correction is provided at the right end of the FB reading area 35 in the sub-scanning direction (the same direction as the transport direction) (see FIG. 2). Further, the foremost side of the right end portion in the sub-scanning direction of the FB reading area 35 in FIG. 1 is an FB reading origin 35a that is an original reading origin in the FB reading operation mode.

スキャナーユニット40は、スキャナーASIC50と、スキャナーエンジン60とを備える。スキャナーASIC50は、スキャナーエンジン60を制御する集積回路であり、メインコントローラー80からのスキャン指令を受けると、FB読取モードかADF読取モードかのいずれかのモードで原稿をイメージデータとして読み取るようスキャナーエンジン60を制御する。   The scanner unit 40 includes a scanner ASIC 50 and a scanner engine 60. The scanner ASIC 50 is an integrated circuit that controls the scanner engine 60. Upon receiving a scan command from the main controller 80, the scanner ASIC 50 reads the document as image data in either the FB reading mode or the ADF reading mode. To control.

スキャナーエンジン60は、図2に示すように、ADF給紙トレイ27に載置されADF挿入口26にセットされた原稿SをADF読取領域34に自動搬送するADFユニット61と、ガラス台32あるいはADF読取領域34に光を照射する光源ユニット71と、原稿Sからの反射光を受光して電荷として蓄えることにより原稿Sを読み取るコンタクトイメージセンサー(CIS)74と、光源ユニット71とCIS74とを搭載したCISモジュール76と、を備えている。スキャナーエンジン60は、CISモジュール76の筐体の下側に固定されCISモジュール76と共に移動するステッピングモーターとして構成されたキャリッジモーター78と、キャリッジモーター78により回転駆動されるモーターギア78a,78b,78cと、副走査方向に配設されたガイドギア79と、を備えている。スキャナーエンジン60は、キャリッジモーター78により駆動される本体側ギア機構90と、カバー側ギア機構95と、を備えている。モーターギア78aはモーターギア78bと噛み合い、モーターギア78bはモーターギア78cと噛み合い、モーターギア78cとガイドギア79とが噛み合っている。モーターギア78cは、モーターギア78bと噛み合う大径歯車と、ガイドギア79や後述するギア91aと噛み合う図示しない小径歯車と、が同軸に接続されたものである。また、CISモジュール76の移動方向が副走査方向となるよう、ガイドギア79によりCISモジュール76の移動が規制されている。即ち、CISモジュール76は、キャリッジモーター78の駆動に伴いガイドギア79に沿って副走査方向に往復動するよう構成されている。   As shown in FIG. 2, the scanner engine 60 includes an ADF unit 61 that automatically transports a document S placed on the ADF paper feed tray 27 and set in the ADF insertion slot 26 to the ADF reading area 34, and a glass table 32 or ADF. A light source unit 71 that irradiates the reading area 34 with light, a contact image sensor (CIS) 74 that receives reflected light from the document S and stores it as charges, and a light source unit 71 and a CIS 74 are mounted. And a CIS module 76. The scanner engine 60 includes a carriage motor 78 configured as a stepping motor that is fixed to the lower side of the casing of the CIS module 76 and moves together with the CIS module 76, and motor gears 78 a, 78 b, 78 c that are rotationally driven by the carriage motor 78. A guide gear 79 disposed in the sub-scanning direction. The scanner engine 60 includes a main body side gear mechanism 90 driven by a carriage motor 78 and a cover side gear mechanism 95. The motor gear 78a meshes with the motor gear 78b, the motor gear 78b meshes with the motor gear 78c, and the motor gear 78c meshes with the guide gear 79. The motor gear 78c is formed by coaxially connecting a large-diameter gear that meshes with the motor gear 78b and a small-diameter gear (not shown) that meshes with a guide gear 79 or a gear 91a described later. Further, the movement of the CIS module 76 is regulated by the guide gear 79 so that the moving direction of the CIS module 76 is the sub-scanning direction. That is, the CIS module 76 is configured to reciprocate in the sub-scanning direction along the guide gear 79 as the carriage motor 78 is driven.

光源ユニット71は、図1に示すように、赤色光を点灯する赤LED72Rと、緑色光を点灯する緑LED72Gと、青色光を点灯する青LED72Bの3色の光源を有しており、光源からの光を導光体73を介してガラス台32或いはADF読取領域34に照射する。CIS74は、一ライン分の複数の受光素子(CMOSイメージセンサー)75が副走査方向と直交する主走査方向に配列されたものとして構成されており、各色のLED72R,72G,72Bの点灯を順次切り替えながら反射光を一色ずつ読み取ることによりカラーイメージデータを生成する。   As shown in FIG. 1, the light source unit 71 includes three color light sources: a red LED 72R that turns on red light, a green LED 72G that turns on green light, and a blue LED 72B that turns on blue light. Is irradiated to the glass table 32 or the ADF reading area 34 through the light guide 73. The CIS 74 is configured such that a plurality of light receiving elements (CMOS image sensors) 75 for one line are arranged in the main scanning direction orthogonal to the sub scanning direction, and the lighting of the LEDs 72R, 72G, and 72B of the respective colors is sequentially switched. The color image data is generated by reading the reflected light one color at a time.

ADFユニット61は、ADF挿入口26付近に配置されたピックアップローラー63と、ピックアップローラー63に隣接して配置されたフィードローラー64と、搬送経路62に配置された複数の搬送ローラー65と、ADF排紙トレイ28付近に配置された排紙ローラー66とを備えている。ADFユニット61は、これらの各ローラーにより、ADF給紙トレイ27に載置された原稿Sを搬送方向に搬送する。   The ADF unit 61 includes a pickup roller 63 disposed near the ADF insertion port 26, a feed roller 64 disposed adjacent to the pickup roller 63, a plurality of transport rollers 65 disposed in the transport path 62, and an ADF discharge unit. A paper discharge roller 66 disposed in the vicinity of the paper tray 28 is provided. The ADF unit 61 transports the document S placed on the ADF paper feed tray 27 in the transport direction by these rollers.

搬送経路62(開口部22a内)には、マーク22bがCIS74による読み取りが可能となるようにCIS74側(筐体カバー22の下面側)に向けて配置されている。このマーク22bは、図1の拡大図に示すように、白色の領域上に黒色に塗られた矩形状の領域が並んで、主走査方向に反射率の異なる白黒のパターンとして形成されている。また、マーク22bは、筐体カバー22が閉じられている状態でマーク22bと対向するガラス台32の領域をCIS74で読み取ることにより、マーク22bの白黒のパターンによるCIS74の出力の切り替わりに基づいてマーク22bを検出することができる。   In the conveyance path 62 (inside the opening 22a), the mark 22b is arranged toward the CIS 74 side (the lower surface side of the housing cover 22) so that the mark 22b can be read by the CIS 74. As shown in the enlarged view of FIG. 1, the mark 22b is formed as a black and white pattern in which rectangular regions painted in black are arranged on a white region and have different reflectivities in the main scanning direction. Further, the mark 22b is read based on switching of the output of the CIS 74 by the black and white pattern of the mark 22b by reading the area of the glass base 32 facing the mark 22b with the CIS 74 in a state where the housing cover 22 is closed. 22b can be detected.

本体側ギア機構90は、フラットベッド部31の内部に配置され、モーターギア78aからの駆動力をカバー側ギア機構95に伝達する機構である。図5は、図4のA−A断面図であり、図6は、図5の拡大部分の上面図である。図5,6に示すように、本体側ギア機構90は、モーターギア78cと噛み合うギア91aと、ギア91aに噛み合うギア91bと、ギア91bに噛み合うギア91cと、ギア91cに噛み合うギア91dと、を備えている。また、本体側ギア機構90は、ギア91dから少し離れた位置に配置された固定歯91eと、ギア91cに噛み合う本体側連結用ギア92と、を備えている。ギア91aは、ガイドギア79の副走査方向左端(ガラス台32におけるADF読取領域34側の端部)に位置している。すなわち、ギア91aは、FB読取原点35aとは副走査方向でみて反対側に位置し、ギア91aとFB読取原点35aとは離れている。本体側連結用ギア92は、ギア91cと噛み合う外歯車92aと、本体側ギア機構90と噛み合って本体側ギア機構90に駆動力を伝える内歯車92bと、が同軸に接続されたものである。なお、図4に示すように、本体側連結用ギア92の内歯車92bは、フラットベッド部31のフレーム33の上面に開けられた孔33aから露出している。筐体カバー22が閉じられると、この内歯車92bがカバー側ギア機構95と噛み合って、駆動力をカバー側ギア機構95に伝達可能になる。   The main body side gear mechanism 90 is a mechanism that is disposed inside the flat bed portion 31 and transmits the driving force from the motor gear 78 a to the cover side gear mechanism 95. 5 is a cross-sectional view taken along line AA of FIG. 4, and FIG. 6 is a top view of an enlarged portion of FIG. As shown in FIGS. 5 and 6, the main body side gear mechanism 90 includes a gear 91a meshing with the motor gear 78c, a gear 91b meshing with the gear 91a, a gear 91c meshing with the gear 91b, and a gear 91d meshing with the gear 91c. I have. The main body side gear mechanism 90 includes a fixed tooth 91e disposed at a position slightly away from the gear 91d and a main body side connecting gear 92 that meshes with the gear 91c. The gear 91a is located at the left end of the guide gear 79 in the sub-scanning direction (the end on the ADF reading area 34 side of the glass table 32). That is, the gear 91a is located on the opposite side of the FB reading origin 35a in the sub-scanning direction, and the gear 91a and the FB reading origin 35a are separated from each other. The main body side coupling gear 92 is formed by coaxially connecting an external gear 92 a that meshes with the gear 91 c and an internal gear 92 b that meshes with the main body side gear mechanism 90 and transmits a driving force to the main body side gear mechanism 90. As shown in FIG. 4, the internal gear 92 b of the main body side coupling gear 92 is exposed from a hole 33 a formed in the upper surface of the frame 33 of the flat bed portion 31. When the housing cover 22 is closed, the internal gear 92 b meshes with the cover-side gear mechanism 95 so that the driving force can be transmitted to the cover-side gear mechanism 95.

カバー側ギア機構95は、ADFユニット61の内部に配置され、本体側ギア機構90からの駆動力をピックアップローラー63,フィードローラー64,搬送ローラー65,排紙ローラー66に伝達してこれらを回転させる機構である。図7,8は、ADFユニット61の内部構造を示す説明図である。なお、図7,8は、筐体カバー22のうちADFユニット61の上側カバーを外した状態を示している。図9は、図8のB視図である。図10は、図9の波線枠Cの拡大図である。図7に示すように、カバー側ギア機構95は、第1ギア群96と、第2ギア群99と、を備えている。   The cover side gear mechanism 95 is disposed inside the ADF unit 61 and transmits the driving force from the main body side gear mechanism 90 to the pickup roller 63, the feed roller 64, the transport roller 65, and the paper discharge roller 66 to rotate them. Mechanism. 7 and 8 are explanatory diagrams showing the internal structure of the ADF unit 61. FIG. 7 and 8 show a state in which the upper cover of the ADF unit 61 is removed from the housing cover 22. FIG. 9 is a B view of FIG. FIG. 10 is an enlarged view of the wavy frame C in FIG. As shown in FIG. 7, the cover side gear mechanism 95 includes a first gear group 96 and a second gear group 99.

第1ギア群96は、図8,10に示すように、本体側連結用ギア92の内歯車92bに噛み合うカバー側連結用ギア97と、カバー側連結用ギア97に噛み合うギア96aと、ギア96aに噛み合うギア96bと、ギア96bに噛み合うギア96cと、を備えている。第1ギア群96は、ギア96cに噛み合うギア96dと、ギア96dに噛み合うギア96eと、を備えている。また、第1ギア群96は、ギア96cに噛み合うギア96fと、ギア96fに噛み合うギア96gと、ギア96gに噛み合うギア96hと、ギア96hに噛み合うギア96iと、ギア96iに噛み合うギア96jと、を備えている(図10参照)。カバー側連結用ギア97は、本体側連結用ギア92の内歯車92bと噛み合う外歯車97aと、ギア96aと噛み合うかさ歯車97bと、が同軸に接続されたものである。外歯車97aは、筐体カバー22の下面に露出しており(図1参照)、筐体カバー22が閉じられると、カバー側連結用ギア97の外歯車97aが本体側連結用ギア92の内歯車92b内に挿入され、両者が噛み合うようになっている。ギア96f〜96jは、図示しない連結軸やギアを介して搬送ローラー65や排紙ローラー66と接続されおり、駆動力を伝達してこれらを回転させるものである。ギア96eは連結軸98と同軸に接続されており(図7参照)、連結軸98を介して第2ギア群99に駆動力を伝達する。   As shown in FIGS. 8 and 10, the first gear group 96 includes a cover side coupling gear 97 that meshes with the internal gear 92b of the main body side coupling gear 92, a gear 96a that meshes with the cover side coupling gear 97, and a gear 96a. A gear 96b meshing with the gear 96b, and a gear 96c meshing with the gear 96b. The first gear group 96 includes a gear 96d that meshes with the gear 96c and a gear 96e that meshes with the gear 96d. The first gear group 96 includes a gear 96f that meshes with the gear 96c, a gear 96g that meshes with the gear 96f, a gear 96h that meshes with the gear 96g, a gear 96i that meshes with the gear 96h, and a gear 96j that meshes with the gear 96i. (See FIG. 10). The cover side coupling gear 97 is formed by coaxially connecting an external gear 97a that meshes with the internal gear 92b of the main body side coupling gear 92 and a bevel gear 97b that meshes with the gear 96a. The external gear 97a is exposed on the lower surface of the housing cover 22 (see FIG. 1), and when the housing cover 22 is closed, the external gear 97a of the cover side connecting gear 97 is moved into the inner side of the main body side connecting gear 92. It is inserted into the gear 92b so that the two mesh with each other. The gears 96f to 96j are connected to the transport roller 65 and the paper discharge roller 66 via a coupling shaft and gears (not shown), and transmit the driving force to rotate them. The gear 96e is connected coaxially to the connecting shaft 98 (see FIG. 7), and transmits driving force to the second gear group 99 via the connecting shaft 98.

第2ギア群99は、図7に示すように、連結軸98と同軸に接続されたギア99aと、ギア99aに噛み合うギア99bと、ギア99bに噛み合うギア99cと、ギア99cに噛み合うギア99dと、ギア99dに噛み合うギア99eと、を備えている。また、第2ギア群99は、ギア99eと同軸に連結された99fと、ギア99fに噛み合うギア99gと、ギア99gに噛み合うギア99hと、を備えている。ギア99aは、連結軸98を介してギア96eと同軸に接続されており、ギア96eからの駆動力により回転する。また、ギア99aは、フィードローラー64とも同軸に接続されており、フィードローラー64に駆動力を伝達して回転させる。ギア99hは、ピックアップローラー63と同軸に接続されており、ピックアップローラー63に駆動力を伝達して回転させる。   As shown in FIG. 7, the second gear group 99 includes a gear 99a that is coaxially connected to the coupling shaft 98, a gear 99b that meshes with the gear 99a, a gear 99c that meshes with the gear 99b, and a gear 99d that meshes with the gear 99c. And a gear 99e meshing with the gear 99d. The second gear group 99 includes a gear 99f that is coaxially connected to the gear 99e, a gear 99g that meshes with the gear 99f, and a gear 99h that meshes with the gear 99g. The gear 99a is coaxially connected to the gear 96e via the connecting shaft 98, and rotates by the driving force from the gear 96e. The gear 99a is also coaxially connected to the feed roller 64 and transmits the driving force to the feed roller 64 to rotate. The gear 99h is connected coaxially to the pickup roller 63, and transmits driving force to the pickup roller 63 to rotate.

キャリッジモーター78は、ステッピングモーターとして構成され、CISモジュール76をガイドギア79に沿って副走査方向に移動させる。また、キャリッジモーター78は、本体側ギア機構90,カバー側ギア機構95に駆動力を伝達してピックアップローラー63,フィードローラー64,搬送ローラー65,排紙ローラー66を回転させる。   The carriage motor 78 is configured as a stepping motor, and moves the CIS module 76 along the guide gear 79 in the sub-scanning direction. The carriage motor 78 transmits driving force to the main body side gear mechanism 90 and the cover side gear mechanism 95 to rotate the pickup roller 63, the feed roller 64, the transport roller 65, and the paper discharge roller 66.

このスキャナーエンジン60は、ADF読取動作モードにおいては、まず、キャリッジモーター78によりCISモジュール76をガイドギア79に沿ってADF読取領域34まで移動させる。そして、キャリッジモーター78が本体側ギア機構90,カバー側ギア機構95を駆動して各ローラーを回転駆動させることにより、ADF挿入口26にセットされた原稿Sを一枚ずつ取り込んで搬送経路62上に自動搬送する。そして、ADF読取領域34上を通過する原稿SをCISモジュール76が読み取る。また、FB読取動作モードにおいては、スキャナーエンジン60は、まず、キャリッジモーター78によりCISモジュール76をガイドギア79に沿って図2における副走査方向右端に移動させる。そして、FB読取原点35aを原点として、FB読取領域35に載置された原稿SをCISモジュール76自身が副走査方向左側に移動しながら1ラインずつ読み取る。このように、キャリッジモーター78は、CISモジュール76を副走査方向に移動させる移動用モーターと、原稿Sを搬送方向に搬送させる搬送用モーターと、を兼ねるよう構成されている。   In the ADF reading operation mode, the scanner engine 60 first moves the CIS module 76 along the guide gear 79 to the ADF reading area 34 by the carriage motor 78. Then, the carriage motor 78 drives the main body side gear mechanism 90 and the cover side gear mechanism 95 to rotate each roller, thereby taking in the original S set in the ADF insertion port 26 one by one on the conveyance path 62. Automatically transport to. Then, the CIS module 76 reads the document S passing over the ADF reading area 34. In the FB reading operation mode, the scanner engine 60 first moves the CIS module 76 along the guide gear 79 to the right end in the sub-scanning direction in FIG. Then, using the FB reading origin 35a as the origin, the CIS module 76 itself reads the original S placed in the FB reading area 35 line by line while moving to the left in the sub-scanning direction. As described above, the carriage motor 78 is configured to serve as both a movement motor that moves the CIS module 76 in the sub-scanning direction and a conveyance motor that conveys the document S in the conveyance direction.

スキャナーASIC50は、図2に示すように、読取制御部51と、駆動制御部52と、バッファー53と、読取時間間隔テーブル記憶部54と、LED駆動部55と、A/D変換部56と、を備える。読取制御部51は、CISモジュール76による原稿Sの読み取りを制御して画像データを取得するものであり、LED駆動部55に駆動信号を送信したり、A/D変換部56からのデジタルデータ(画像データ)を入力したり、画像データをバッファー53に記憶したりする。この読取制御部51は、キャリッジモーター78が本体側ギア機構90,カバー側ギア機構95,ADFユニット61を駆動して原稿Sを搬送しているとき、CISモジュール76を制御して搬送中の原稿Sを読み取らせて画像データを取得する機能を有する。読取制御部51は、原稿Sの搬送中にキャリッジモーター78が一時停止するとき、画像データの取得に関する読み取りの時間間隔である読取時間間隔が一時停止前と比べて長くなるよう、CISモジュール76を制御して原稿Sを読み取らせて画像データを取得し、その後に画像データの取得を停止する機能を有する。読取制御部51は、原稿Sの搬送中にキャリッジモーター78が一時停止するとき、読取時間間隔が一時停止前と比べて徐々に長くなる傾向になるよう、CISモジュール76を制御して原稿Sを読み取らせて画像データを取得する機能を有する。読取制御部51は、原稿Sの搬送中にキャリッジモーター78が一時停止するとき、一時停止前の原稿Sの搬送速度が速いほど画像データの取得を停止するまでの時間が長くなる傾向にする機能を有する。読取制御部51は、原稿Sの搬送中にキャリッジモーター78が一時停止したあとキャリッジモーター78が本体側ギア機構90等の駆動を再開するとき、CISモジュール76を制御して原稿Sを読み取らせて画像データを取得するにあたり、キャリッジモーター78の動作開始から待ち時間Tbだけ遅れて画像データの取得を再開する機能を有する。駆動制御部52は、キャリッジモーター78に制御信号を送信してこれを制御するものである。駆動制御部52は、読み取りの解像度に応じたモーター駆動速度でキャリッジモーター78を駆動させる機能を有する。バッファー53は、CISモジュール76が読み取った画像データなどを一時的に記憶するものであり、例えばFIFOなどにより構成されている。LED駆動部55は、読取制御部51から入力した駆動信号に応じてLED72R,72G,72Bを個別にオンオフするものである。A/D変換部56は、CIS74で生じたアナログデータを図示しない増幅器を介して入力してデジタルデータに変換するものである。   As shown in FIG. 2, the scanner ASIC 50 includes a reading control unit 51, a drive control unit 52, a buffer 53, a reading time interval table storage unit 54, an LED driving unit 55, an A / D conversion unit 56, Is provided. The reading control unit 51 controls the reading of the document S by the CIS module 76 to acquire image data. The reading control unit 51 transmits a driving signal to the LED driving unit 55 or digital data (from the A / D conversion unit 56). Image data) or the image data is stored in the buffer 53. When the carriage motor 78 drives the main body side gear mechanism 90, the cover side gear mechanism 95, and the ADF unit 61 to convey the document S, the reading control unit 51 controls the CIS module 76 to convey the document being conveyed. It has a function of acquiring S by reading S. When the carriage motor 78 is temporarily stopped while the document S is being conveyed, the reading control unit 51 controls the CIS module 76 so that the reading time interval, which is a reading time interval related to acquisition of image data, is longer than that before the pause. It has a function of controlling and reading the original S to acquire image data and then stopping the acquisition of the image data. The reading control unit 51 controls the CIS module 76 so that when the carriage motor 78 pauses during conveyance of the document S, the reading time interval tends to become gradually longer than before the pause. It has a function of acquiring image data by reading. The reading control unit 51 has a function that, when the carriage motor 78 is temporarily stopped during the conveyance of the document S, the time until the acquisition of the image data is stopped becomes longer as the conveyance speed of the document S before the suspension is higher. Have The reading control unit 51 controls the CIS module 76 to read the original S when the carriage motor 78 resumes driving of the main body side gear mechanism 90 and the like after the carriage motor 78 is temporarily stopped during the conveyance of the original S. In acquiring the image data, the image data acquisition is resumed with a delay of the waiting time Tb from the start of the operation of the carriage motor 78. The drive control unit 52 transmits a control signal to the carriage motor 78 to control it. The drive control unit 52 has a function of driving the carriage motor 78 at a motor drive speed corresponding to the reading resolution. The buffer 53 temporarily stores image data read by the CIS module 76, and is composed of, for example, a FIFO. The LED driving unit 55 individually turns on and off the LEDs 72R, 72G, and 72B in accordance with the driving signal input from the reading control unit 51. The A / D converter 56 inputs analog data generated by the CIS 74 via an amplifier (not shown) and converts it into digital data.

読取時間間隔テーブル記憶部54は、読取時間間隔テーブル54a,54bを記憶している。図11は、読取時間間隔テーブル54a,54bの説明図である。図示するように、読取時間間隔テーブル記憶部54a,54bは、原稿Sを読み取る際の解像度と、キャリッジモーター78の駆動速度であるモーター駆動速度Vと、搬送中の読取時間間隔Taと、キャリッジモーター78の一次停止時の読取時間間隔Tnと、一時停止後のキャリッジモーター78の動作再開時の待ち時間Tbと、を対応付けたものである。本実施形態では、スキャナーユニット40は、1200dpi,600dpiの2種類の解像度で読み取り可能なものとし、1200dpiには読取時間間隔テーブル54aが対応し、600dpiには読取時間間隔テーブル54bが対応している。本実施形態では、スキャナーユニット40は、搬送中の読取時間間隔Taは解像度に関わらず一定とし、原稿Sの搬送速度すなわちキャリッジモーター78の駆動速度を解像度に応じて変えることで所望の解像度での読み取りを行う。そのため、読取時間間隔テーブル54a,54bには共に読取時間間隔Taとして値Aが対応付けられている。また、モーター駆動速度Vは、読取時間間隔テーブル54aでは値Vaが対応付けられ、読取時間間隔テーブル54bでは解像度が1/2倍であるため2倍の値である値2Vaが対応付けられている。すなわち、モーター駆動速度Vは、解像度に反比例するように設定されている。読取時間間隔Tnは、読取時間間隔テーブル54aにおいては読取時間間隔T1〜T5までの5個の値が対応付けられており、読取時間間隔テーブル54bにおいては読取時間間隔T1〜T10までの10個の値が対応付けられている。この読取時間間隔Tnの値は、読取時間間隔Taに対する比として設定されており、読取時間間隔Taと比べて徐々に長くなる傾向になるように設定されている。具体的には、読取時間間隔テーブル54aでは読取時間間隔T1,T2,T3,T4,T5はそれぞれ値Ta,Ta,Ta,4Ta,8Taとなっている。読取時間間隔テーブル54bでは、読取時間間隔T1〜T5の値は読取時間間隔テーブル54aと同じに設定され、読取時間間隔T6〜T10の値は読取時間間隔T5の値から徐々に長くなる傾向になるように設定されている。待ち時間Tbは、解像度が高いほど、すなわちモーター駆動速度Vが速いほど短い値になるように設定されている。具体的には、読取時間間隔テーブル54aでは待ち時間Tbは値Bに設定され、読取時間間隔テーブル54bではモーター駆動速度Vが2倍であるため待ち時間Tbは1/2の値である値0.5Bに設定されている。すなわち、待ち時間Tbは、モーター駆動速度Vに反比例するように(換言すると解像度に比例するように)設定されている。   The reading time interval table storage unit 54 stores reading time interval tables 54a and 54b. FIG. 11 is an explanatory diagram of the reading time interval tables 54a and 54b. As shown in the figure, the reading time interval table storage units 54a and 54b include a resolution when reading the document S, a motor driving speed V that is a driving speed of the carriage motor 78, a reading time interval Ta during conveyance, and a carriage motor. 78 is associated with a reading time interval Tn at the time of primary stop 78 and a waiting time Tb when the operation of the carriage motor 78 resumes after the temporary stop. In the present embodiment, the scanner unit 40 is capable of reading at two resolutions of 1200 dpi and 600 dpi, and the reading time interval table 54a corresponds to 1200 dpi, and the reading time interval table 54b corresponds to 600 dpi. . In this embodiment, the scanner unit 40 keeps the reading time interval Ta during conveyance constant regardless of the resolution, and changes the conveyance speed of the document S, that is, the driving speed of the carriage motor 78 according to the resolution. Read. Therefore, a value A is associated with the reading time interval tables 54a and 54b as the reading time interval Ta. Further, the motor driving speed V is associated with the value Va in the reading time interval table 54a, and the value 2Va, which is a double value, is associated with the reading time interval table 54b because the resolution is ½. . That is, the motor driving speed V is set to be inversely proportional to the resolution. The reading time interval Tn is associated with five values from reading time intervals T1 to T5 in the reading time interval table 54a, and ten values from reading time intervals T1 to T10 in the reading time interval table 54b. A value is associated. The value of the reading time interval Tn is set as a ratio with respect to the reading time interval Ta, and is set so as to become gradually longer than the reading time interval Ta. Specifically, in the reading time interval table 54a, the reading time intervals T1, T2, T3, T4, and T5 are values Ta, Ta, Ta, 4Ta, and 8Ta, respectively. In the reading time interval table 54b, the values of the reading time intervals T1 to T5 are set to be the same as those of the reading time interval table 54a, and the values of the reading time intervals T6 to T10 tend to gradually increase from the value of the reading time interval T5. Is set to The waiting time Tb is set to be shorter as the resolution is higher, that is, as the motor driving speed V is higher. Specifically, in the reading time interval table 54a, the waiting time Tb is set to a value B, and in the reading time interval table 54b, since the motor driving speed V is double, the waiting time Tb is a value 0 that is a half value. .5B is set. That is, the waiting time Tb is set so as to be inversely proportional to the motor driving speed V (in other words, proportional to the resolution).

プリンターユニット42は、プリンターASIC44とプリンターエンジン45とを備える。プリンターASIC44は、プリンターエンジン45を制御する集積回路であり、メインコントローラー80から印刷指令を受けると、印刷指令の対象となる画像ファイルに基づいて記録紙に画像を印刷するようプリンターエンジン45を制御する。プリンターエンジン45は、印刷ヘッドから用紙へインクを吐出することにより印刷を行なう周知のインクジェット方式のカラープリンター機構として構成されている。なお、プリンターユニット42は、本発明の要旨をなさないから、これ以上の詳細な説明は省略する。   The printer unit 42 includes a printer ASIC 44 and a printer engine 45. The printer ASIC 44 is an integrated circuit that controls the printer engine 45. Upon receiving a print command from the main controller 80, the printer ASIC 44 controls the printer engine 45 to print an image on recording paper based on an image file that is a target of the print command. . The printer engine 45 is configured as a well-known inkjet color printer mechanism that performs printing by ejecting ink from a print head onto paper. Since the printer unit 42 does not form the gist of the present invention, further detailed description is omitted.

操作パネル46は、中央に配置された表示部47と、この表示部47の左隣に配置された電源ボタン48と、を備える。表示部47は、タッチパネル式の液晶ディスプレイとして構成されており、モードを選択するモードボタンや、ディスプレイ上に表示される案内に従ってタッチすることによりメニューや項目を選択する選択/設定ボタン,コピーや印刷を開始するスタートボタンなどを表示してタッチ操作を受け付ける。ここで、モード選択ボタンにより選択可能なモードとしては、ガラス台32に載置された原稿をスキャンしてコピーするコピーモードやメモリーカードスロット49に装着されたメモリーカードMCに記憶された画像を用いて印刷したり原稿をスキャンしてデータ化してメモリーカードMCに保存するメモリーカードモード,写真フィルムをスキャンして印刷したりデータをメモリーカードMCに保存したりするフィルムモードなどがある。   The operation panel 46 includes a display unit 47 disposed in the center and a power button 48 disposed on the left side of the display unit 47. The display unit 47 is configured as a touch panel type liquid crystal display, a mode button for selecting a mode, a selection / setting button for selecting a menu or an item by touching according to a guide displayed on the display, copying or printing Display a start button or the like to start the touch and accept a touch operation. Here, as modes that can be selected by the mode selection button, a copy mode for scanning and copying a document placed on the glass table 32 or an image stored in a memory card MC installed in the memory card slot 49 is used. There are a memory card mode in which a document is scanned and converted into data by scanning a document and stored in the memory card MC, and a film mode in which a photographic film is scanned and printed or data is stored in the memory card MC.

メインコントローラー80は、CPU82を中心とするマイクロプロセッサーとして構成されており、各種処理プログラムや各種データ、各種テーブルなどを記憶したフラッシュメモリー84と、一時的にスキャンデータや印刷データを記憶するRAM86と、操作パネル46との通信を可能とするインターフェイス(I/F)88と、を備える。メインコントローラー80は、プリンターユニット42やスキャナーユニット40からの各種動作信号や各種検出信号を入力したり、操作パネル46のタッチ操作に応じて発生する操作信号を入力したりする。また、メモリーカードMCから画像ファイルを読み出したり、画像データの印刷を実行するようプリンターユニット42に指令を出力したり、操作パネル46からのスキャン指令に基づいてガラス台32に載置された原稿を画像データとして読み取るようスキャナーユニット40に指令を出力したり、操作パネル46に表示部47の制御指令を出力したりする。   The main controller 80 is configured as a microprocessor centered on the CPU 82, and includes a flash memory 84 that stores various processing programs, various data, various tables, and a RAM 86 that temporarily stores scan data and print data. And an interface (I / F) 88 that enables communication with the operation panel 46. The main controller 80 inputs various operation signals and various detection signals from the printer unit 42 and the scanner unit 40, and inputs operation signals generated in response to a touch operation on the operation panel 46. In addition, an image file is read from the memory card MC, a command is output to the printer unit 42 to execute printing of image data, and a document placed on the glass table 32 is read based on a scan command from the operation panel 46. A command is output to the scanner unit 40 to read as image data, or a control command for the display unit 47 is output to the operation panel 46.

次に、こうして構成された本実施形態のスキャナーユニット40の動作、特に、ADF読取モードでスキャンする際の動作について説明する。図12は、スキャナーASIC50により実行されるADF画像読取処理ルーチンの一例を示すフローチャートである。例えば、使用者がADF挿入口26に原稿Sをセットし操作パネル46に表示された図示しないスタートボタンを押下する操作を行うと、メインコントローラー80はADF読み取り動作モードでのスキャンを実行するようスキャナーユニット40に指令を出力する。ADF画像読取処理ルーチンは、スキャナーASIC50がこの指令を受けたときに実行する。なお、スキャナーASIC50は、読取制御部51,駆動制御部52などの機能を利用してADF画像読取処理ルーチンを実行する。   Next, the operation of the scanner unit 40 of the present embodiment configured as described above, particularly the operation when scanning in the ADF reading mode will be described. FIG. 12 is a flowchart illustrating an example of an ADF image reading processing routine executed by the scanner ASIC 50. For example, when the user sets the document S in the ADF insertion slot 26 and performs an operation of pressing a start button (not shown) displayed on the operation panel 46, the main controller 80 scans the scanner so as to perform scanning in the ADF reading operation mode. A command is output to the unit 40. The ADF image reading processing routine is executed when the scanner ASIC 50 receives this command. The scanner ASIC 50 executes an ADF image reading processing routine by using functions such as the reading control unit 51 and the drive control unit 52.

このルーチンを実行すると、スキャナーASIC50は、まず、CISモジュール76をADF読取領域34と対向する位置まで移動させる(ステップS100)。これは、モーターギア78cが図6における左周りに回転するように、キャリッジモーター78から駆動力を出力させ、CISモジュール76を図2の左方向に移動させることで行う。これにより、CISモジュール76がADF読取領域34と対向すると共に、モーターギア78cがガイドギア79の端部から離れ、モーターギア78cがガイドギア79に代えてギア91aと噛み合った状態になる。   When this routine is executed, the scanner ASIC 50 first moves the CIS module 76 to a position facing the ADF reading area 34 (step S100). This is done by outputting a driving force from the carriage motor 78 so that the motor gear 78c rotates counterclockwise in FIG. 6 and moving the CIS module 76 in the left direction in FIG. As a result, the CIS module 76 faces the ADF reading area 34, the motor gear 78 c is separated from the end of the guide gear 79, and the motor gear 78 c is engaged with the gear 91 a instead of the guide gear 79.

続いて、スキャナーASIC50は、読取解像度を取得する(ステップS110)。これは、例えば、使用者が操作パネル46のタッチ操作により今回の読み取りに用いる読取解像度を入力し、入力された読取解像度をメインコントローラー80を介して取得することで行う。なお、例えばマルチファンクションプリンター20に接続されたPC(パソコン)などの外部機器が送信した読取解像度を取得してもよい。そして、スキャナーASIC50は、読取解像度に応じたモーター駆動速度Vを読取時間間隔テーブル記憶部から読み出し、読み出したモーター駆動速度Vでキャリッジモーター78を駆動する(ステップS120)。例えば読取解像度が1200dpiであるときには、読取時間間隔テーブル54aから読み出したモーター駆動速度Vの値Vaでキャリッジモーター78を駆動する。なお、キャリッジモーター78の回転方向は、ステップS100と同じ方向とする。これにより、キャリッジモーター78からの駆動力がモーターギア78a〜78c,ギア91a〜91c,本体側連結用ギア92にこの順で伝達される。そして、本体側連結用ギア92からカバー側ギア機構95に駆動力が伝達されて、ピックアップローラー63,フィードローラー64,搬送ローラー65,排紙ローラー66が回転を開始する。そのため、ADF挿入口26に挿入された原稿Sが各ローラーにより搬送経路62を搬送されていく。なお、このとき、本体側ギア機構90の固定歯91eはギア91dとは噛み合わないため、ギア91a〜91c,本体側連結用ギア92の回転駆動が固定歯91eに妨げられることはない。   Subsequently, the scanner ASIC 50 acquires the reading resolution (step S110). This is performed, for example, by the user inputting the reading resolution used for the current reading by touching the operation panel 46 and acquiring the input reading resolution via the main controller 80. For example, the reading resolution transmitted by an external device such as a PC (personal computer) connected to the multifunction printer 20 may be acquired. Then, the scanner ASIC 50 reads the motor driving speed V corresponding to the reading resolution from the reading time interval table storage unit, and drives the carriage motor 78 at the read motor driving speed V (step S120). For example, when the reading resolution is 1200 dpi, the carriage motor 78 is driven at the value Va of the motor driving speed V read from the reading time interval table 54a. The rotation direction of the carriage motor 78 is the same as that in step S100. Thereby, the driving force from the carriage motor 78 is transmitted to the motor gears 78a to 78c, the gears 91a to 91c, and the main body side connecting gear 92 in this order. Then, the driving force is transmitted from the main body side connecting gear 92 to the cover side gear mechanism 95, and the pickup roller 63, the feed roller 64, the transport roller 65, and the paper discharge roller 66 start to rotate. Therefore, the document S inserted into the ADF insertion port 26 is conveyed along the conveyance path 62 by each roller. At this time, since the fixed teeth 91e of the main body side gear mechanism 90 do not mesh with the gear 91d, the fixed teeth 91e do not hinder the rotational driving of the gears 91a to 91c and the main body side connecting gear 92.

次に、スキャナーASIC50は、原稿Sの先端が検出されたか否かを判定する(ステップS130)。この処理は、例えば以下のように行う。まず、ADF読取領域34の色が原稿Sの搬送開始前と比べて所定の閾値以上に変化したか否か(=ADF読取領域34の色差が所定値以上になったか否か)をCISモジュール76により調べる。そして、変化を検知したときに原稿SがADF読取領域34に到達した、すなわち原稿Sの先端が検出されたと判定する。ステップS130で原稿Sの先端が検出されないときには、検出されるまでステップS130の処理を繰り返す。   Next, the scanner ASIC 50 determines whether or not the leading edge of the document S has been detected (step S130). This process is performed as follows, for example. First, the CIS module 76 determines whether or not the color of the ADF reading area 34 has changed to a predetermined threshold value or more (= whether or not the color difference of the ADF reading area 34 has become a predetermined value or more) compared to before the start of conveyance of the document S. Find out by. When the change is detected, it is determined that the document S has reached the ADF reading area 34, that is, the leading edge of the document S has been detected. If the leading edge of the document S is not detected in step S130, the process of step S130 is repeated until it is detected.

ステップS130で原稿Sの先端が検出されると、原稿Sの読取処理を実行する(ステップS140)。具体的には、LED駆動部55により各色のLED72R,72G,72Bの点灯を順次切り替えながら光源ユニット71を発光させると共にCISモジュール76に原稿Sを読み取らせる。そして、A/D変換部56を介して読み取った画像データを取得して、バッファー53に記憶する。   When the leading edge of the document S is detected in step S130, a reading process for the document S is executed (step S140). Specifically, the LED drive unit 55 causes the light source unit 71 to emit light while sequentially turning on the LEDs 72R, 72G, and 72B of the respective colors, and causes the CIS module 76 to read the document S. Then, the image data read via the A / D converter 56 is acquired and stored in the buffer 53.

続いて、スキャナーASIC50は、バッファー空き容量不足フラグFが値1であるか否かを調べる(S150)。バッファー空き容量不足フラグFは、バッファー53の空き容量が所定の容量閾値未満になったときに値1にセットされ、所定の閾値以上のときに値0にセットされるものとした。なお、所定の容量閾値は、後述するキャリッジモーター78の一時停止時に原稿Sを読み取って取得した画像データを保存するための容量や、それにマージンを加えた容量として定められているものとした。なお、ステップS100で取得した読取解像度に応じて容量閾値を可変としてもよい。   Subsequently, the scanner ASIC 50 checks whether or not the buffer free space shortage flag F is 1 (S150). The buffer free space shortage flag F is set to a value of 1 when the free space of the buffer 53 is less than a predetermined capacity threshold, and is set to a value of 0 when the free space is above a predetermined threshold. The predetermined capacity threshold is determined as a capacity for storing image data acquired by reading the document S when a carriage motor 78, which will be described later, is temporarily stopped, and a capacity with a margin added thereto. Note that the capacity threshold may be variable according to the reading resolution acquired in step S100.

ステップS150でバッファー空き容量不足フラグFが値0であるときには、原稿Sの後端を検出したか否かを判定する(ステップS160)。この処理は、例えば、ステップS130における原稿Sの先端の検出と同様に、ADF読取領域34の色の変化をCISモジュール76により検出することで行う。原稿Sの後端が検出されないときには、直前の原稿Sの読取処理から読取時間間隔Taが経過したか否かを判定する(ステップS170)。なお、読取時間間隔Taの値は、読取解像度に応じた値を読取時間間隔テーブル記憶部54に記憶されたテーブルから読み出して用いる。そして、読取時間間隔Taが経過していないときは、ステップS160に進み、ステップS160で原稿の後端を検出するか又はステップS170で読取時間間隔Taが経過するまでステップS160,S170の処理を繰り返す。   If the buffer free space shortage flag F is 0 in step S150, it is determined whether the trailing edge of the document S has been detected (step S160). This process is performed, for example, by detecting a change in the color of the ADF reading area 34 by the CIS module 76, as in the case of detecting the leading edge of the document S in step S130. If the trailing edge of the document S is not detected, it is determined whether or not the reading time interval Ta has elapsed since the immediately preceding document S reading process (step S170). Note that the value of the reading time interval Ta is used by reading a value corresponding to the reading resolution from the table stored in the reading time interval table storage unit 54. If the reading time interval Ta has not elapsed, the process proceeds to step S160, and the processing of steps S160 and S170 is repeated until the trailing edge of the document is detected in step S160 or until the reading time interval Ta has elapsed in step S170. .

ステップS170で読取時間間隔Taが経過すると、ステップS140以降の処理を行う。これにより、直前の原稿Sの読取処理から読取時間間隔Ta経過時にステップS140で原稿Sの読取処理を行う。また、ステップS150でバッファー空き容量フラグが値0であり且つステップS160で原稿Sの後端が検出されない間は、読取時間間隔Ta毎に原稿Sの読取処理を繰り返し行う。これにより、原稿Sの搬送中に原稿Sを読取時間間隔Ta毎に読み取っていき、読取解像度で原稿Sを読み取った画像データがバッファー53に順次記憶されていく。なお、ステップS140〜S170を通常時処理とも称する。   When the reading time interval Ta elapses in step S170, the processing after step S140 is performed. Thus, the reading process of the document S is performed in step S140 when the reading time interval Ta has elapsed from the reading process of the immediately preceding document S. In addition, while the buffer free space flag is 0 in step S150 and the trailing edge of the document S is not detected in step S160, the reading process of the document S is repeatedly performed at every reading time interval Ta. Thus, the document S is read at every reading time interval Ta while the document S is being conveyed, and the image data obtained by reading the document S at the reading resolution is sequentially stored in the buffer 53. Steps S140 to S170 are also referred to as normal processing.

そして、ステップS160で原稿Sの後端を検出すると、次の原稿SがADF給紙トレイ27にあるかを検出する(ステップS180)。この処理は、例えばADF挿入口26に設けられた図示しない原稿検出センサーによる原稿Sの検出の有無に基づいて行う。そして、次の原稿Sがあるときには、ステップS130以降の処理を行う。また、次の原稿Sがないときには、本ルーチンを終了する。   When the trailing edge of the document S is detected in step S160, it is detected whether the next document S is in the ADF paper feed tray 27 (step S180). This processing is performed based on whether or not the document S is detected by a document detection sensor (not shown) provided at the ADF insertion port 26, for example. Then, when there is a next document S, the processing after step S130 is performed. When there is no next original S, this routine is terminated.

ここで、メインコントローラー80は、ADF画像読取処理ルーチンと平行してバッファー53から画像データを順次読み出してRAM86に記憶していく。そして、1つの原稿Sの画像データが全て揃うと、これらをまとめて1つの画像ファイルとして例えばメモリーカードMCに記憶する処理を順次行う。このため、メインコントローラー80がバッファー53から画像データを読み出す速度が、スキャナーASIC50がバッファー53に画像データを記憶する速度以上であれば、バッファー53の空き容量は十分確保されバッファー空き容量フラグが値0のままとなる。このような場合には、原稿Sの後端が検出されるまで通常時処理が繰り返される。しかし、メインコントローラー80が他の処理を平行して行っているなど、何らかの理由でバッファー53からの画像データを読み出す速度よりも画像データを記憶する速度の方が速い場合には、徐々にバッファー53の空き容量が少なくなっていく。そして、バッファー53の空き容量が容量閾値未満となると、バッファー空き容量フラグが値1となる。以下、このような場合について説明する。   Here, the main controller 80 sequentially reads image data from the buffer 53 and stores it in the RAM 86 in parallel with the ADF image reading processing routine. When all the image data of one document S is prepared, the process of storing them together as one image file, for example, in the memory card MC is sequentially performed. Therefore, if the speed at which the main controller 80 reads the image data from the buffer 53 is higher than the speed at which the scanner ASIC 50 stores the image data in the buffer 53, the buffer 53 has a sufficient free space and the buffer free space flag has a value of 0. Will remain. In such a case, the normal process is repeated until the trailing edge of the document S is detected. However, if the speed at which the image data is stored is higher than the speed at which the image data is read from the buffer 53 for some reason, such as when the main controller 80 performs other processing in parallel, the buffer 53 gradually. The free space of will decrease. When the free capacity of the buffer 53 becomes less than the capacity threshold, the buffer free capacity flag becomes 1. Hereinafter, such a case will be described.

ステップS150でバッファー空き容量フラグが値1であるときには、スキャナーASIC50は、キャリッジモーター78への駆動信号を停止してキャリッジモーター78を一時停止させる(ステップS190)。続いて、スキャナーASIC50は、変数nを初期値1として(ステップS200)、読取解像度に対応する読取時間間隔テーブルに読取時間間隔Tnが存在するか否かを調べる(ステップS210)。例えば、変数nが値1であり、読取解像度が1200dpiであるときには、読取時間間隔テーブル54aに読取時間間隔T1が存在するか否かを調べる。そして、読取時間間隔Tnが存在するときには、直前の原稿Sの読取処理から読取時間間隔Tnだけ時間が経過するまで待ち(ステップS220)、読取時間間隔Tnが経過すると原稿Sの読取処理を実行する(ステップS230)。例えば、変数nが値1であり、読取解像度が1200dpiであるときには、読取時間間隔テーブル54aの読取時間間隔T1は読取時間間隔Taと同じ値に設定されているため、直前の原稿Sの読取処理から読取時間間隔Ta経過時に原稿Sの読取処理を実行する。   When the buffer free space flag is 1 in step S150, the scanner ASIC 50 stops the drive signal to the carriage motor 78 and temporarily stops the carriage motor 78 (step S190). Subsequently, the scanner ASIC 50 sets the variable n as an initial value 1 (step S200), and checks whether or not the reading time interval Tn exists in the reading time interval table corresponding to the reading resolution (step S210). For example, when the variable n is 1 and the reading resolution is 1200 dpi, it is checked whether or not the reading time interval T1 exists in the reading time interval table 54a. When the reading time interval Tn exists, the process waits until the reading time interval Tn has elapsed from the reading processing of the immediately preceding document S (step S220), and when the reading time interval Tn has elapsed, the reading processing of the document S is executed. (Step S230). For example, when the variable n is the value 1 and the reading resolution is 1200 dpi, the reading time interval T1 of the reading time interval table 54a is set to the same value as the reading time interval Ta. The reading process of the document S is executed when the reading time interval Ta elapses.

そして、原稿Sの読取処理を実行すると、変数nを値1インクリメントして(ステップS240)、ステップS210以降の処理を実行する。これにより、ステップS210で読取時間間隔Tnが存在しない状態になるまで、S210〜S240を繰り返し、読取時間間隔テーブルの読取時間間隔Tnが経過する毎に原稿Sの読取処理を行う。例えば、読取解像度が1200dpiであるときには、まず読取時間間隔T1(=Ta)経過時に原稿Sを読み取って画像データを取得し、次に読取時間間隔T2(=Ta)経過時に原稿Sを読み取って画像データを取得し、以降同様に、読取時間間隔T3(=Ta)経過時,読取時間間隔T4(=4Ta)経過時,読取時間間隔T5(=8Ta)経過時にそれぞれ原稿Sを読み取って画像データを取得する。そして、変数nが値6になると、読取時間間隔T6は読取時間間隔テーブル54aに存在しないため、次のステップS210で読取時間間隔Tnが存在しないと判定する。   When the reading process of the document S is executed, the variable n is incremented by 1 (step S240), and the processes after step S210 are executed. Thus, S210 to S240 are repeated until the reading time interval Tn does not exist in step S210, and the reading process of the document S is performed every time the reading time interval Tn of the reading time interval table elapses. For example, when the reading resolution is 1200 dpi, the original S is first read to acquire image data when the reading time interval T1 (= Ta) has elapsed, and then the original S is read to obtain an image when the reading time interval T2 (= Ta) has elapsed. Similarly, after that, when the reading time interval T3 (= Ta) has passed, the reading time interval T4 (= 4Ta) has passed, and the reading time interval T5 (= 8Ta) has passed, the original S is read to obtain image data. get. When the variable n reaches the value 6, since the reading time interval T6 does not exist in the reading time interval table 54a, it is determined in the next step S210 that the reading time interval Tn does not exist.

ステップS210で読取時間間隔Tnが存在しないと判定すると、バッファー空き容量フラグFが値0となるまで待つ(ステップS250)。これにより、バッファー53への画像データの記憶は一時停止されるため、バッファー53の空き容量が不足して画像データを記憶できない状況になるのを回避できる。なお、ステップS210〜S250を一時停止時処理とも称する。そして、メインコントローラー80がバッファー53から画像データを読み出していき、ステップS250でバッファー空き容量フラグFが値0になると、スキャナーASIC50はキャリッジモーター78へ駆動信号を出力開始してキャリッジモーター78の駆動を再開する(ステップS260)。なお、駆動再開時には、ステップS110と同様に読取解像度に応じたモーター駆動速度Vでキャリッジモーター78を駆動する。   If it is determined in step S210 that the reading time interval Tn does not exist, the process waits until the buffer free space flag F becomes 0 (step S250). As a result, the storage of the image data in the buffer 53 is temporarily stopped, so that it is possible to avoid a situation in which the image data cannot be stored due to insufficient free space in the buffer 53. Steps S210 to S250 are also referred to as a temporary stop process. Then, the main controller 80 reads the image data from the buffer 53, and when the buffer free space flag F becomes 0 in step S250, the scanner ASIC 50 starts outputting a drive signal to the carriage motor 78 and drives the carriage motor 78. It resumes (step S260). When the driving is resumed, the carriage motor 78 is driven at the motor driving speed V corresponding to the reading resolution as in step S110.

キャリッジモーター78の駆動を再開すると、スキャナーASIC50は待ち時間Tb経過まで待つ再開時処理を行い(ステップS270)、待ち時間Tbが経過するとステップS140以降の処理すなわち通常時処理を実行する。すなわち、待ち時間Tb経過時にステップS140で原稿Sの読取処理を行い、ステップS150でバッファー空き容量不足フラグFが値0である間は、ステップS160で原稿Sの後端が検出されるまで読取時間間隔Ta毎に原稿Sの読取処理を行う。また、原稿Sの後端が検出されると次の原稿Sについて同様に読取時間間隔Ta毎に原稿Sの読取処理を行い、次の原稿がないときには本ルーチンを終了する。   When the driving of the carriage motor 78 is resumed, the scanner ASIC 50 performs a restart process that waits until the waiting time Tb elapses (step S270). When the waiting time Tb elapses, the process after step S140, that is, the normal time process is executed. That is, when the waiting time Tb elapses, the document S is read in step S140, and while the buffer free space shortage flag F is 0 in step S150, the reading time until the trailing edge of the document S is detected in step S160. The document S is read at each interval Ta. When the trailing edge of the document S is detected, the next document S is similarly read at each reading time interval Ta, and when there is no next document, this routine is terminated.

このように、本実施形態のADF読取処理ルーチンでは、キャリッジモーター78を駆動して原稿Sを搬送しているときには、読取時間間隔テーブル記憶部54に記憶された読取時間間隔Ta毎に原稿Sの読取処理を行う通常時処理を行う。一方、キャリッジモーター78を一時停止するときには、読取時間間隔テーブル記憶部54に記憶された読取時間間隔Tn毎に原稿Sの読取処理を行い、その後に読取処理を停止する一時停止時処理を行う。図13は、通常時処理及び一時停止時処理を行う様子を示す説明図である。スキャナーユニット40は、図示するように、1回の読取処理として、原稿SにおけるR,G,Bの各色の読み取りを1回ずつ行って画像データを取得する処理を行う。例えば図13におけるNo.a〜cが1回の読取処理である。そして、通常時処理においては、読取時間間隔Ta毎に原稿Sの読取処理が行われる。したがって、例えばNo.aのR色の読み取りから読取時間間隔Ta経過時に、次のNo.dのR色の読み取りを行う。このようにしてNo.a〜c、No.d〜f,No.g〜iの3回の読み取り処理を行った後に、バッファー空き容量不足フラグFが値1になり、時刻t1においてステップS190でキャリッジモーター78への駆動信号を停止してキャリッジモーター78を一時停止させたとする。すると、スキャナーASIC50は、時刻t1以降は一時停止時処理を行う。そのため、例えば読取解像度が1200dpiであるときには、上述したようにまず読取時間間隔テーブル54aを調べ、直前の読取処理から読取時間間隔T1(=Ta)経過時に原稿Sを読み取って画像データを取得する。例えばR色については、直前の読取処理(No.g)のR色の読み取りから読取時間間隔T1経過時に次のR色の読み取り(No.0)を行う。G,B色についても同様に、直前の読取処理(No.h)のG色の読み取りから読取時間間隔T1経過時に次のG色の読み取り(No.1)を行い、直前の読取処理(No.i)のB色の読み取りから読取時間間隔T1経過時に次のB色の読み取り(No.2)を行う。以降同様に、読取時間間隔テーブル54aの読取時間間隔Tnに従って読取処理を順次行っていく。読取時間間隔テーブル54aでは、読取時間間隔T1〜T3は値Taに設定されているため、時刻t1以降の3回の読取処理(No.0〜8)は、通常時処理と同じ読取時間間隔Ta毎に行われる。続いて、読取時間間隔T4は値4Taに設定されているため、3回目の読取処理(No.6〜8)から読取時間間隔T4(=4Ta)経過時に4回目の読取処理(No.18〜20)が行われる。すなわち、通常時処理と同じ読取時間間隔Ta毎に読取処理を行う場合と比べて、No.9〜11,12〜14,15〜17の3回分の読取処理を行わないことになる。なお、図13において、「読み取り」の欄に「○」がないものは読取処理を行わないことを意味する。そして、読取時間間隔T5は値8Taに設定されているため、4回目の読取処理(No.18〜20)から読取時間間隔T5(=8Ta)経過時に5回目の読取処理(No.42〜44)が行われる。すなわち、通常時処理と同じ読取時間間隔Ta毎に読取処理を行う場合と比べて、No.21〜23,24〜26,27〜29,30〜32,33〜35,36〜38,39〜41の7回分の読取処理を行わないことになる。そして、読取時間間隔T6は読取時間間隔テーブル54aに存在しないため、5回目の読取処理が完了した時刻t2以降は、一時停止時処理における読取処理は行わない。このように、一時停止時処理では、通常時処理と比べて読取時間間隔が長くなり、しかも徐々に長くなるようにして読取処理を行い、その後読取処理を停止するのである。   As described above, in the ADF reading processing routine of the present embodiment, when the carriage S 78 is driven and the document S is conveyed, the document S is read at every reading time interval Ta stored in the reading time interval table storage unit 54. A normal process for performing a reading process is performed. On the other hand, when the carriage motor 78 is temporarily stopped, the reading process of the document S is performed at every reading time interval Tn stored in the reading time interval table storage unit 54, and then the temporary stop process for stopping the reading process is performed. FIG. 13 is an explanatory diagram showing a state in which normal processing and temporary suspension processing are performed. As shown in the figure, the scanner unit 40 performs a process of acquiring image data by reading each color of R, G, and B in the document S once, as a single reading process. For example, Nos. A to c in FIG. 13 are one reading process. In the normal process, the document S is read at every reading time interval Ta. Therefore, for example, no. When the reading time interval Ta has elapsed from the reading of the R color of a, Read the R color of d. In this way, no. ac, No. df, No. After performing the reading process of g to i three times, the buffer free space shortage flag F becomes 1, and at time t1, the drive signal to the carriage motor 78 is stopped in step S190 to temporarily stop the carriage motor 78. Suppose. Then, the scanner ASIC 50 performs a temporary stop process after time t1. Therefore, for example, when the reading resolution is 1200 dpi, the reading time interval table 54a is first checked as described above, and the document S is read when the reading time interval T1 (= Ta) has elapsed from the immediately preceding reading process to obtain image data. For example, for the R color, the next reading of the R color (No. 0) is performed when the reading time interval T1 has elapsed since the reading of the R color in the immediately preceding reading process (No. g). Similarly, for the G and B colors, the next G color is read (No. 1) when the reading time interval T1 elapses from the reading of the G color in the immediately preceding reading process (No. h), and the immediately preceding reading process (No. .I) When the reading time interval T1 has elapsed from the reading of B color, the next reading of B color (No. 2) is performed. Thereafter, similarly, the reading process is sequentially performed according to the reading time interval Tn of the reading time interval table 54a. In the reading time interval table 54a, since the reading time intervals T1 to T3 are set to the value Ta, the three reading processes (Nos. 0 to 8) after time t1 are the same as the normal time process. Done every time. Subsequently, since the reading time interval T4 is set to the value 4Ta, when the reading time interval T4 (= 4Ta) elapses from the third reading processing (No. 6-8), the fourth reading processing (No. 18- 20) is performed. That is, as compared with the case where the reading process is performed at the same reading time interval Ta as in the normal process, No. The reading processing for three times 9 to 11, 12 to 14, and 15 to 17 is not performed. In FIG. 13, if there is no “◯” in the “read” column, it means that the reading process is not performed. Since the reading time interval T5 is set to the value 8Ta, the fifth reading process (Nos. 42 to 44) is performed when the reading time interval T5 (= 8Ta) elapses from the fourth reading process (Nos. 18 to 20). ) Is performed. That is, as compared with the case where the reading process is performed at the same reading time interval Ta as in the normal process, No. The seven reading processes 21 to 23, 24 to 26, 27 to 29, 30 to 32, 33 to 35, 36 to 38, and 39 to 41 are not performed. Since the reading time interval T6 does not exist in the reading time interval table 54a, the reading process in the temporary stop process is not performed after the time t2 when the fifth reading process is completed. As described above, in the suspension process, the reading process is performed so that the reading time interval becomes longer and gradually longer than that in the normal process, and then the reading process is stopped.

ここで、読取時間間隔Tnを、読取時間間隔が一時停止前と比べて長くなり、しかも徐々に長くなる傾向に設定する理由について以下説明する。搬送ローラー65等の各ローラーは本体側ギア機構90,カバー側ギア機構95,モーターギア78a〜78cを介してキャリッジモーター78からの駆動力を受けているため、キャリッジモーター78が一時停止しても各ローラは直ちには停止せず回転し続け、減速して停止する。そのため、キャリッジモーター78の一時停止後(図13の時刻t1以降)も、原稿Sは減速しながら搬送され、その後停止する。本実施形態のマルチファンクションプリンター20の一時停止時処理では、このようなキャリッジモーター78の一時停止時の原稿Sの挙動に合わせて、読取時間間隔を徐々に長くなる傾向にしながら原稿Sの読取処理を行うのである。そのため、原稿Sの搬送停止時に精度良く原稿Sを読み取った画像データを取得できる。なお、読取時間間隔テーブル54a,54bの読取時間間隔Tnの値は、原稿Sの搬送停止時に原稿Sが減速しながら停止するときでも、キャリッジモーター78による原稿Sの搬送中と同じ解像度で原稿Sの読取処理を行うことができるよう設定されている。換言すると、読取時間間隔Tnの値は、CISモジュール76による読み取りを行うライン間の搬送距離が、キャリッジモーター78による原稿Sの搬送中(通常時処理中)と一時停止時(一時停止時処理中)とで同じになるように設定されている。このような読取時間間隔Tnの値は、例えば実験により定めることができる。   Here, the reason why the reading time interval Tn is set to have a tendency that the reading time interval becomes longer and gradually longer than before the temporary stop will be described. Since each roller such as the transport roller 65 receives a driving force from the carriage motor 78 via the main body side gear mechanism 90, the cover side gear mechanism 95, and the motor gears 78a to 78c, even if the carriage motor 78 is temporarily stopped. Each roller does not stop immediately but continues to rotate, decelerates and stops. Therefore, even after the carriage motor 78 is temporarily stopped (after time t1 in FIG. 13), the document S is conveyed while being decelerated and then stops. In the pause processing of the multi-function printer 20 of the present embodiment, the reading process of the document S is performed while the reading time interval tends to be gradually increased according to the behavior of the document S when the carriage motor 78 is temporarily stopped. Is done. Therefore, it is possible to acquire image data obtained by reading the document S with high accuracy when the conveyance of the document S is stopped. Note that the value of the reading time interval Tn in the reading time interval tables 54a and 54b is the same as that of the original S when the original S is being transported by the carriage motor 78 even when the original S is stopped while decelerating. It is set to be able to perform the reading process. In other words, the value of the reading time interval Tn is such that the conveyance distance between the lines to be read by the CIS module 76 is during the conveyance of the document S by the carriage motor 78 (during normal processing) and during the pause (processing during the pause). ) And are set to be the same. Such a value of the reading time interval Tn can be determined by experiment, for example.

また、読取時間間隔テーブル54aでは、読取時間間隔TnはT1〜T5まで設定されており、この合計時間は値15Ta(=Ta+Ta+Ta+4Ta+8Ta)である。一方、読取時間間隔テーブル54bでは読取時間間隔TnはT1〜T10まで設定されているため、読取時間間隔Tnの合計時間は読取時間間隔テーブル54aよりも長い。ここで、キャリッジモーター78の一時停止前の原稿Sの搬送速度が速いほど、一時停止時に原稿Sが停止するまでの時間は長くなる傾向になる。そのため、このように解像度が低いほど、すなわちキャリッジモーター78の一時停止前(通常時処理中)の原稿Sの搬送速度が速いほど、一時停止時処理における原稿Sの読取処理を停止するまでの時間が長くなる傾向にすることで、一時停止時の原稿Sの挙動に合わせて精度良く原稿Sを読み取った画像データを取得できる。なお、読取時間間隔Tnの合計値も、例えば実験により定めることができる。   In the reading time interval table 54a, the reading time interval Tn is set from T1 to T5, and the total time is a value 15Ta (= Ta + Ta + Ta + 4Ta + 8Ta). On the other hand, since the reading time interval Tn is set from T1 to T10 in the reading time interval table 54b, the total time of the reading time intervals Tn is longer than that of the reading time interval table 54a. Here, the faster the conveyance speed of the document S before the carriage motor 78 is temporarily stopped, the longer the time until the document S stops at the time of the temporary stop. For this reason, the lower the resolution is, that is, the faster the conveyance speed of the document S before the carriage motor 78 is temporarily stopped (during normal processing), the longer the time until the reading process of the document S in the suspension processing is stopped. Therefore, the image data obtained by reading the document S with high accuracy can be acquired in accordance with the behavior of the document S during the pause. Note that the total value of the reading time intervals Tn can also be determined by experiments, for example.

このように、本実施形態のマルチファンクションプリンター20では、キャリッジモーター78の一時停止時に原稿Sの読取処理を行う読取時間間隔Tnを原稿Sの挙動に合わせたものとすることで、精度良く原稿Sを読み取った画像データを取得するのである。すなわち、原稿Sを読み取った画像データに基づく画像が間延びしたり欠けたりすることを抑制するのである。   As described above, in the multi-function printer 20 of the present embodiment, the reading time interval Tn for performing the reading process of the document S when the carriage motor 78 is temporarily stopped matches the behavior of the document S, so that the document S can be accurately obtained. The image data obtained by reading is acquired. That is, it is possible to prevent the image based on the image data obtained by reading the document S from being extended or missing.

また、本実施形態のマルチファンクションプリンター20では、原稿Sの搬送中にキャリッジモーター78が一時停止したあとキャリッジモーター78の駆動を再開するとき、キャリッジモーター78の動作開始から待ち時間Tbだけ遅れて画像データの取得を再開する再開時処理を行う。図14は、再開時処理及びその後の通常時処理を行う様子を示す説明図である。なお、図14では、解像度が1200dpiであり、待ち時間Tb(=値B)が値6Taである場合について示している。図示するように、バッファー空き容量不足フラグFが値0になり、時刻t3においてステップS260でキャリッジモーター78への駆動信号を出力開始してキャリッジモーター78の駆動を再開したとする。すると、スキャナーASIC50は、時刻t3以降に再開時処理を行う。具体的には、再開時処理として、時刻t3から待ち時間Tbだけ経過した時刻t4まで待ち、ステップS140に進んで通常時処理を開始する。すなわち、キャリッジモーター78の駆動再開時に直ちに読取処理を開始する場合と比べて、No.0〜2,3〜5,6〜8,9〜11,12〜14,15〜17の6回分の読取処理を行わず、7回目に相当するNo.18〜20の読取処理を待ち時間Tb(=6Ta)経過時の時刻t4から開始し、以降は通常時処理を行う。このように、キャリッジモーター78の駆動再開時から待ち時間Tbだけ遅れて通常時処理を再開し、読取処理を行うのである。ここで、搬送ローラー65等の各ローラーは本体側ギア機構90,カバー側ギア機構95,モーターギア78a〜78cを介してキャリッジモーター78からの駆動力を受けている。そのため、キャリッジモーター78の駆動再開時には、キャリッジモーター78からの動力が各ローラーから原稿Sに伝達されるまでには時間差が生じる。そこで、待ち時間Tb経過時から原稿Sの読取処理を再開することで、キャリッジモーター78の駆動再開時から原稿Sの搬送開始時までの間に原稿Sの読取処理を行って画像が間延びすることを抑制するのである。なお、待ち時間Tbは、キャリッジモーター78の駆動再開時の原稿Sの搬送開始までの時間差と同じ時間になるように、実験により定めることができる。また、読取解像度が低いほど、すなわち駆動再開時のキャリッジモーター78の駆動速度が速いほど、原稿Sの搬送開始までの時間差は小さくなる傾向にある。そのため、本実施形態では、読取解像度が低いほど待ち時間Tbが小さくなる傾向に待ち時間Tbを定めることで、より精度良く駆動再開時に原稿Sを読み取った画像データを取得できるようにしている。   In the multi-function printer 20 of the present embodiment, when the carriage motor 78 is resumed after the carriage motor 78 is temporarily stopped while the document S is being conveyed, the image is delayed by a waiting time Tb from the start of the operation of the carriage motor 78. Performs restart processing to resume data acquisition. FIG. 14 is an explanatory diagram illustrating a state in which the restart process and the subsequent normal process are performed. FIG. 14 shows a case where the resolution is 1200 dpi and the waiting time Tb (= value B) is the value 6Ta. As shown in the figure, it is assumed that the buffer free space shortage flag F becomes 0, and at time t3, output of a drive signal to the carriage motor 78 is started in step S260 and driving of the carriage motor 78 is resumed. Then, the scanner ASIC 50 performs restart processing after time t3. Specifically, as the restart process, the process waits until time t4 when the waiting time Tb has elapsed from time t3, and proceeds to step S140 to start the normal process. That is, as compared with the case where the reading process is started immediately when the driving of the carriage motor 78 is resumed, No. 6 corresponding to the seventh time is not performed without performing six reading processes of 0 to 2, 3 to 5, 6 to 8, 9 to 11, 12 to 14, and 15 to 17. The reading processes 18 to 20 are started at time t4 when the waiting time Tb (= 6Ta) has elapsed, and the normal process is performed thereafter. In this way, the normal processing is resumed with a delay of the waiting time Tb from the resumption of the driving of the carriage motor 78, and the reading processing is performed. Here, each roller such as the transport roller 65 receives a driving force from the carriage motor 78 via the main body side gear mechanism 90, the cover side gear mechanism 95, and the motor gears 78a to 78c. Therefore, when driving of the carriage motor 78 is resumed, there is a time difference until the power from the carriage motor 78 is transmitted from each roller to the document S. Therefore, by restarting the reading process of the document S after the waiting time Tb elapses, the reading process of the document S is performed between the time when the driving of the carriage motor 78 is restarted and the time when the conveyance of the document S is started, and the image is extended. Is suppressed. Note that the waiting time Tb can be determined by experiment so as to be the same as the time difference until the conveyance of the document S is started when the carriage motor 78 is resumed. In addition, the lower the reading resolution, that is, the higher the driving speed of the carriage motor 78 when driving is resumed, the smaller the time difference until the conveyance of the document S starts. Therefore, in this embodiment, the waiting time Tb is determined so that the waiting time Tb becomes smaller as the reading resolution is lower, so that the image data obtained by reading the document S can be acquired more accurately when driving is resumed.

なお、上述したADF画像読取処理ルーチンの終了後にFB読取動作モードで読取処理を行うときには、スキャナーASIC50は、まず、モーターギア78cが図6における右周りに回転するように、キャリッジモーター78から駆動力を出力させる。これにより、ギア91cが図6における左周りに回転する。すると、ギア91dは図6における左下方向に移動して固定歯91eと噛み合い、ギア91dが固定されて回転しなくなる。これにより、ギア91aも固定されて回転しなくなり、モーターギア78cは自身が右周りに回転しているため図6における右側に移動してギア91aから離れて、代わりにガイドギア79と噛み合う。ガイドギア79に噛み合ったことで、CISモジュール76はキャリッジモーター78により副走査方向に移動可能となる。これにより、ADF読取動作モードからFB読取動作モードに移行することができる。   When the reading process is performed in the FB reading operation mode after the end of the ADF image reading process routine described above, the scanner ASIC 50 first drives the driving force from the carriage motor 78 so that the motor gear 78c rotates clockwise in FIG. Is output. As a result, the gear 91c rotates counterclockwise in FIG. Then, the gear 91d moves in the lower left direction in FIG. 6 and meshes with the fixed tooth 91e, and the gear 91d is fixed and does not rotate. As a result, the gear 91a is also fixed and does not rotate, and since the motor gear 78c is rotating clockwise, it moves to the right in FIG. 6 and moves away from the gear 91a and meshes with the guide gear 79 instead. By engaging with the guide gear 79, the CIS module 76 can be moved in the sub-scanning direction by the carriage motor 78. Thereby, the ADF reading operation mode can be shifted to the FB reading operation mode.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のADFユニット61,本体側ギア機構90,カバー側ギア機構95が本発明の原稿搬送手段に相当し、キャリッジモーター78が駆動手段に相当し、CISモジュール76が読取手段に相当し、読取制御部51,LED駆動部55,A/D変換部56を備えたスキャナーASIC50が読取制御手段に相当する。また、FB読取領域35が原稿載置領域に相当する。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The ADF unit 61, the main body side gear mechanism 90, and the cover side gear mechanism 95 of this embodiment correspond to the document conveying means of the present invention, the carriage motor 78 corresponds to the driving means, the CIS module 76 corresponds to the reading means, A scanner ASIC 50 including a reading control unit 51, an LED driving unit 55, and an A / D conversion unit 56 corresponds to a reading control unit. The FB reading area 35 corresponds to the document placement area.

以上詳述した本実施形態のマルチファンクションプリンター20によれば、キャリッジモーター78が本体側ギア機構90,カバー側ギア機構95,ADFユニット61を駆動して原稿Sを搬送しているとき、CISモジュール76を制御して搬送中の原稿Sを読み取らせて画像データを取得する通常時処理を行う。そして、原稿Sの搬送中にキャリッジモーター78が一時停止するとき、画像データの取得に関する読み取りの時間間隔である読取時間間隔Tnが一時停止前(=通常時処理時)の読取時間間隔Taと比べて長くなるよう、CISモジュール76を制御して原稿Sを読み取らせて画像データを取得し、その後に画像データの取得を停止する一時停止時処理を行う。これにより、キャリッジモーター78の一時停止時に本体側ギア機構90,カバー側ギア機構95,ADFユニット61が直ちに停止せず減速して停止する場合に、精度良く原稿Sを読み取った画像データを取得できる。   According to the multifunction printer 20 of the present embodiment described in detail above, when the carriage motor 78 drives the main body side gear mechanism 90, the cover side gear mechanism 95, and the ADF unit 61 to convey the document S, the CIS module. The normal process of acquiring image data by reading the document S being conveyed by controlling 76 is performed. When the carriage motor 78 is temporarily stopped while the document S is being conveyed, the reading time interval Tn, which is a reading time interval related to acquisition of image data, is compared with the reading time interval Ta before the temporary stop (= normal time processing). Then, the CIS module 76 is controlled so that the original S is read to acquire the image data, and thereafter, a temporary stop process for stopping the acquisition of the image data is performed. Accordingly, when the main body side gear mechanism 90, the cover side gear mechanism 95, and the ADF unit 61 are decelerated and stopped immediately when the carriage motor 78 is temporarily stopped, the image data obtained by reading the document S can be obtained with high accuracy. .

また、原稿Sの搬送中にキャリッジモーター78が一時停止するとき、読取時間間隔Tnが一時停止前の読取時間間隔Taと比べて徐々に長くなる傾向になるよう、CISモジュール76を制御して原稿Sを読み取らせて画像データを取得する。そのため、キャリッジモーター78の一時停止時に本体側ギア機構90,カバー側ギア機構95,ADFユニット61が直ちに停止せず徐々に減速しながら停止する場合に、精度良く原稿Sを読み取った画像データを取得できる。   Further, when the carriage motor 78 is temporarily stopped while the document S is being conveyed, the document is controlled by controlling the CIS module 76 so that the reading time interval Tn tends to be gradually longer than the reading time interval Ta before the suspension. S is read to obtain image data. Therefore, when the carriage motor 78 is temporarily stopped, the main body side gear mechanism 90, the cover side gear mechanism 95, and the ADF unit 61 do not stop immediately but stop while gradually decelerating. it can.

さらに、原稿Sの搬送中にキャリッジモーター78が一時停止するとき、一時停止前の原稿Sの搬送速度が速いほど画像データの取得を停止するまでの時間が長くなる傾向にする。そのため、一時停止時の原稿の搬送の挙動に応じてより精度良く原稿を読み取った画像データを取得できる。   Further, when the carriage motor 78 is temporarily stopped during the conveyance of the document S, the time until the acquisition of the image data is stopped tends to be longer as the conveyance speed of the document S before the suspension is higher. Therefore, it is possible to acquire image data obtained by reading a document with higher accuracy in accordance with the behavior of document transportation during a pause.

さらにまた、本体側ギア機構90,カバー側ギア機構95は、複数の歯車からなる輪列を介してキャリッジモーター78からの動力を原稿Sに伝達するものである。そのため、キャリッジモーター78が一時停止したときに原稿Sが直ちに停止せず減速して停止するものとなりやすく、本発明を適用する意義が高い。   Furthermore, the main body side gear mechanism 90 and the cover side gear mechanism 95 transmit the power from the carriage motor 78 to the document S via a gear train composed of a plurality of gears. For this reason, when the carriage motor 78 is temporarily stopped, the document S is not immediately stopped but is likely to be decelerated and stopped, and the significance of applying the present invention is high.

そしてまた、キャリッジモーター78は、本体側ギア機構90,カバー側ギア機構95,ADFユニット61を駆動する手段と、CISモジュール76を移動方向(副走査方向)に移動させる手段とを兼ねている。そして、CISモジュール76は、FB読取領域35に載置された原稿を読み取るFB読取動作モードのときには、キャリッジモーター78により移動方向にCISモジュール76自身が移動しながら原稿を読み取る。このように、ADF読取動作モード時に原稿Sを搬送させる役割とFB読取動作モード時にCISモジュール76を移動させる役割とをキャリッジモーター78が兼ねるものとすると、本体側ギア機構90,カバー側ギア機構95などの複数の歯車からなる長い輪列を介して原稿Sを搬送することになるなど、原稿Sをキャリッジモーター78との位置が離れやすい。そのため、キャリッジモーター78が一時停止したときに原稿Sが直ちに停止せず減速して停止するものとなりやすく、本発明を適用する意義が高い。   The carriage motor 78 also serves as means for driving the main body side gear mechanism 90, the cover side gear mechanism 95, and the ADF unit 61, and means for moving the CIS module 76 in the movement direction (sub-scanning direction). The CIS module 76 reads the original while the CIS module 76 moves in the moving direction by the carriage motor 78 in the FB reading operation mode in which the original placed on the FB reading area 35 is read. As described above, when the carriage motor 78 serves as the role of transporting the document S in the ADF reading operation mode and the role of moving the CIS module 76 in the FB reading operation mode, the main body side gear mechanism 90 and the cover side gear mechanism 95 are used. The position of the document S is easily separated from the carriage motor 78, for example, the document S is transported through a long wheel train composed of a plurality of gears. For this reason, when the carriage motor 78 is temporarily stopped, the document S is not immediately stopped but is likely to be decelerated and stopped, and the significance of applying the present invention is high.

そしてまた、原稿Sの搬送中にキャリッジモーター78が一時停止したあとキャリッジモーター78が本体側ギア機構90,カバー側ギア機構95,ADFユニット61の駆動を再開するとき、CISモジュール76を制御して原稿Sを読み取らせて画像データを取得するにあたり、キャリッジモーター78の動作開始から待ち時間Tbだけ遅れて画像データの取得を再開する再開時処理を行う。そのため、キャリッジモーター78が動作開始しても直ちに原稿Sの搬送が開始されないような場合に、精度良く原稿Sを読み取った画像データを取得できる。   Further, when the carriage motor 78 resumes driving of the main body side gear mechanism 90, the cover side gear mechanism 95, and the ADF unit 61 after the carriage motor 78 is temporarily stopped during the conveyance of the document S, the CIS module 76 is controlled. When the image data is acquired by reading the document S, a restart process is performed in which the acquisition of the image data is resumed with a delay of the waiting time Tb from the start of the operation of the carriage motor 78. Therefore, even when the carriage motor 78 starts operating, the conveyance of the document S is not started immediately, and the image data obtained by reading the document S can be obtained with high accuracy.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、マルチファンクションプリンター20が1200dpi,600dpiの2つの読取解像度に対応し、読取時間間隔テーブル記憶部54に読取解像度に応じた読取時間間隔テーブル54a,54bの2つのテーブルを記憶しているものとしたが、これに限られない。例えば、3つ以上の読取解像度に対応しており、各解像度に応じて読取時間間隔テーブルを記憶しているものとしてもよい。また、解像度ではなく原稿Sの搬送速度に応じた読取時間間隔テーブルを記憶しているものとしたり、キャリッジモーター78の駆動速度に応じた読取時間間隔テーブルを記憶しているものとしたりしてもよい。すなわち、直接的又は間接的に原稿Sの搬送速度に対応付けられた異なる読取時間間隔テーブルを記憶しているものであればよい。あるいは、解像度や原稿Sの搬送速度等に関わらず同じ読取時間間隔テーブルを用いるものとしてもよい。また、材質,大きさなど原稿Sの種類に応じて、異なる読取時間間隔テーブルを記憶しているものとしてもよい。この場合、原稿Sの種類を検出するセンサーをADF挿入口26に備えるものとしてもよいし、ユーザーから操作パネル46を介して原稿Sの種類を入力するものとしてもよい。   For example, in the above-described embodiment, the multi-function printer 20 supports two reading resolutions of 1200 dpi and 600 dpi, and the reading time interval table storage unit 54 has two tables of reading time interval tables 54a and 54b corresponding to the reading resolution. Although it is assumed that it is remembered, it is not limited to this. For example, three or more reading resolutions may be supported, and a reading time interval table may be stored according to each resolution. Further, a reading time interval table corresponding to the conveyance speed of the document S instead of the resolution may be stored, or a reading time interval table corresponding to the driving speed of the carriage motor 78 may be stored. Good. That is, it is only necessary to store different reading time interval tables that are directly or indirectly associated with the conveyance speed of the document S. Alternatively, the same reading time interval table may be used regardless of the resolution, the conveyance speed of the document S, and the like. Different reading time interval tables may be stored according to the type of document S such as material and size. In this case, a sensor for detecting the type of the document S may be provided in the ADF insertion port 26, or the type of the document S may be input from the user via the operation panel 46.

上述した実施形態では、読取時間間隔テーブル記憶部54aと読取時間間隔テーブル記憶部54bとで、読取時間間隔T1〜T5は共通の値であるものとしたが、これに限らず異なる値としてもよい。例えば、キャリッジモーター78の一時停止前原稿Sの搬送速度や読取解像度に応じて、読取時間間隔Tnの傾向を変えるものとしてもよい。例えば、原稿Sの搬送速度が遅いほど、一時停止前の原稿Sの搬送速度が速い場合と比べて読取時間間隔Tnをより長い傾向にするものとしたり、読取時間間隔Tnを徐々に長くする際の読取時間間隔Tnの変化を急峻にするものとしてもよい。   In the above-described embodiment, the reading time interval T1 to T5 is a common value in the reading time interval table storage unit 54a and the reading time interval table storage unit 54b. . For example, the tendency of the reading time interval Tn may be changed according to the conveyance speed and reading resolution of the document S before being paused by the carriage motor 78. For example, when the conveyance speed of the document S is slower, the reading time interval Tn tends to be longer than when the conveyance speed of the document S before the pause is faster, or when the reading time interval Tn is gradually increased. The change in the reading time interval Tn may be made steep.

上述した実施形態では、ステップS260でキャリッジモーター78の駆動を再開するときには、読取解像度に応じた待ち時間Tb経過後に原稿Sの読取処理を再開するものとしたが、これに限られない。例えば、読取解像度ではなく原稿Sの搬送速度やキャリッジモーター78の駆動速度に応じた待ち時間Tb経過後に原稿Sの読取処理を再開してもよい。また、読取解像度や原稿Sの搬送速度に関わらず同じ待ち時間Tbの値を用いてもよいし、待ち時間Tbの経過を待たずに原稿Sの読取処理を再開するものとしてもよい。あるいは、原稿Sの種類に応じて待ち時間Tbを変えてもよい。   In the above-described embodiment, when the driving of the carriage motor 78 is resumed in step S260, the reading process of the document S is resumed after the waiting time Tb corresponding to the reading resolution has elapsed. For example, the reading process of the document S may be resumed after the waiting time Tb has passed according to the conveyance speed of the document S and the driving speed of the carriage motor 78 instead of the reading resolution. The same waiting time Tb value may be used regardless of the reading resolution and the conveyance speed of the document S, or the reading process of the document S may be resumed without waiting for the waiting time Tb to elapse. Alternatively, the waiting time Tb may be changed according to the type of the document S.

上述した実施形態では、待ち時間Tbは、キャリッジモーター78の駆動再開時の原稿Sの搬送開始までの時間差と同じ時間になるように定めるものとしたが、これに限られない。例えば、一時停止時処理における最後に読取処理を実行したときから再開時処理後の最初の読取処理までの間の原稿Sの搬送距離が、通常時処理における読取処理間の原稿Sの搬送距離と同じになるように(=解像度が同じになるように)待ち時間Tbを定めてもよい。例えば、一時停止時処理における最後の読取処理の後に原稿Sが停止するまでの搬送距離を距離Xとし、通常時処理における読取処理間の原稿Sの搬送距離(読み取りのライン間の距離)を距離Yとする。このとき、キャリッジモーター78の駆動再開時から原稿Sが搬送開始するまでの時間差に、さらに原稿Sが搬送開始してから距離(Y−X)だけ移動するのに要する時間を加えたものを待ち時間Tbとして定めてもよい。なお、距離Xは例えば実験により求めることができる。   In the embodiment described above, the waiting time Tb is determined to be the same time as the time difference until the conveyance of the document S is started when the carriage motor 78 is restarted, but is not limited thereto. For example, the transport distance of the document S from the last reading process in the pause process to the first read process after the restart process is the transport distance of the document S during the normal process. The waiting time Tb may be set so as to be the same (= the resolution is the same). For example, the transport distance until the document S stops after the last reading process in the pause processing is defined as a distance X, and the transport distance (distance between the reading lines) of the document S during the reading processing in the normal processing is a distance. Y. At this time, a waiting time is added to the time difference between the restart of driving of the carriage motor 78 and the start of conveyance of the document S, plus the time required for the document S to move by the distance (Y−X). It may be determined as time Tb. The distance X can be obtained by experiment, for example.

上述した実施形態では、キャリッジモーター78は、CISモジュール76を副走査方向に移動させる移動用モーターと、原稿Sを搬送方向に搬送させる搬送用モーターと、を兼ねているものとしたが、これに限られない。例えば、キャリッジモーター78は搬送用モーターとしてのみ用いるものとし、移動用モーターを別に備えるものとしてもよい。   In the above-described embodiment, the carriage motor 78 serves as both a movement motor that moves the CIS module 76 in the sub-scanning direction and a conveyance motor that conveys the document S in the conveyance direction. Not limited. For example, the carriage motor 78 may be used only as a conveyance motor, and may include a separate movement motor.

上述した実施形態では、搬送方向と副走査方向とは同方向であるものとしたが、これに限らず、異なる方向としてもよい。   In the above-described embodiment, the conveyance direction and the sub-scanning direction are the same direction. However, the present invention is not limited to this and may be different directions.

上述した実施形態では、キャリッジモーター78はステッピングモーターであるものとしたが、これに限られない。例えば、キャリッジモーター78をDCモーターとしてもよい。この場合、エンコーダーによりキャリッジモーター78やCISモジュール76の副走査方向の位置を検出するものとしてもよい。また、キャリッジモーター78は、駆動制御部52からの駆動信号が停止すると一時停止するものとしがた、これに限らず、停止信号を入力すると一時停止するものとしてもよい。   In the embodiment described above, the carriage motor 78 is a stepping motor, but is not limited thereto. For example, the carriage motor 78 may be a DC motor. In this case, the position of the carriage motor 78 and the CIS module 76 in the sub-scanning direction may be detected by an encoder. The carriage motor 78 is temporarily stopped when the drive signal from the drive control unit 52 is stopped. However, the carriage motor 78 is not limited thereto, and may be temporarily stopped when a stop signal is input.

上述した実施形態では、本体側ギア機構90,カバー側ギア機構95は、複数の歯車からなる輪列を有する本体側ギア機構90,カバー側ギア機構95を介してキャリッジモーター78からの動力を原稿Sに伝達するものとしたが、これに限られない。例えば、キャリッジモーター78と搬送ローラー65等の各ローラーとが1つの歯車を介して接続されているものとしてもよい。また、歯車以外の機構によりキャリッジモーター78からの駆動力を原稿Sに伝達するものとしてもよい。   In the above-described embodiment, the main body side gear mechanism 90 and the cover side gear mechanism 95 use the main body side gear mechanism 90 and the cover side gear mechanism 95 having a gear train composed of a plurality of gears to transmit power from the carriage motor 78 to the original. However, the present invention is not limited to this. For example, the carriage motor 78 and each roller such as the transport roller 65 may be connected via a single gear. Further, the driving force from the carriage motor 78 may be transmitted to the document S by a mechanism other than the gear.

上述した実施形態では、読取時間間隔Tnの合計時間すなわちキャリッジモーター78の一時停止時に画像データの取得を停止するまでの時間が、読取解像度が低いほど長くなるものとしたが、これに限られない。原稿Sの搬送速度やキャリッジモーター78の駆動速度が速いほど読取時間間隔Tnの合計時間が長くなるようにしてもよいし、読取解像度や原稿Sの搬送速度等に関わらず読取時間間隔Tnの合計時間は同じとしてもよい。あるいは、原稿Sの種類に応じて読取時間間隔Tnの合計時間を変えてもよい。   In the above-described embodiment, the total time of the reading time interval Tn, that is, the time until the acquisition of image data is stopped when the carriage motor 78 is temporarily stopped is longer as the reading resolution is lower, but is not limited thereto. . The total time of the reading time interval Tn may be increased as the conveyance speed of the document S and the driving speed of the carriage motor 78 are increased, or the total of the reading time intervals Tn regardless of the reading resolution and the conveyance speed of the document S. The time may be the same. Alternatively, the total time of the reading time interval Tn may be changed according to the type of document S.

上述した実施形態では、キャリッジモーター78の一時停止時には、読取時間間隔Tnが存在しなくなるまで原稿Sの読取処理を繰り返すものとしたが、これに限られない。例えば、キャリッジモーター78の一時停止時に原稿Sの読取処理を停止するまでの時間を別に設定しておくものとしてもよい。   In the above-described embodiment, when the carriage motor 78 is temporarily stopped, the reading process of the document S is repeated until the reading time interval Tn does not exist. However, the present invention is not limited to this. For example, the time until the reading process of the document S is stopped when the carriage motor 78 is temporarily stopped may be set separately.

上述した実施形態では、読取時間間隔T1〜T3は読取時間間隔Taと同じ、すなわちキャリッジモーター78の一時停止前と同じ読取時間間隔であるものとしたが、これに限られない。読取時間間隔Tnは、一時停止前の読取時間間隔Taと比べて徐々に長くなる傾向であればよい。例えば、読取時間間隔T1〜T3が読取時間間隔Taより大きい値としてもよいし、読取時間間隔T1〜T3が異なる値であってもよい。読取時間間隔Tnは、一次関数的に長くなってもよいし、二次関数的に長くなってもよいし、ステップ関数的に長くなってもよい。また、読取時間間隔Tnは読取時間間隔Taと比べて徐々に長くなる傾向に限らず、単に読取時間間隔Taより長い値としてもよい。例えば、読取時間間隔テーブル54aにおいて読取時間間隔T1〜T5を全て値2Taなどとしてもよい。また、読取時間間隔Tnが1つしか設定されていないものとしてもよい。その場合、読取時間間隔T1を読取時間間隔Taより長い値にすればよい。   In the above-described embodiment, the reading time intervals T1 to T3 are the same as the reading time interval Ta, that is, the same as the reading time interval before the carriage motor 78 is temporarily stopped. The reading time interval Tn only needs to be gradually longer than the reading time interval Ta before the temporary stop. For example, the reading time intervals T1 to T3 may be larger than the reading time interval Ta, or the reading time intervals T1 to T3 may be different values. The reading time interval Tn may be lengthened in a linear function, may be lengthened in a quadratic function, or may be lengthened in a step function. Further, the reading time interval Tn is not limited to the tendency to become longer gradually than the reading time interval Ta, and may simply be a value longer than the reading time interval Ta. For example, all the reading time intervals T1 to T5 in the reading time interval table 54a may be 2Ta. Further, only one reading time interval Tn may be set. In that case, the reading time interval T1 may be longer than the reading time interval Ta.

上述した実施形態では、読取時間間隔Tnは読取時間間隔Taに対する比として読取時間間隔テーブルに記憶されているものとしたが、これに限られない。例えば、読取時間間隔Tnを絶対値で記憶してもよい。   In the embodiment described above, the reading time interval Tn is stored in the reading time interval table as a ratio to the reading time interval Ta, but is not limited thereto. For example, the reading time interval Tn may be stored as an absolute value.

上述した実施形態では、バッファー53の空き容量が所定の容量閾値未満のときにキャリッジモーター78を一時停止するものとしたが、これに限られない。例えば、バッファー53がバッファフルになったときにキャリッジモーター78を一時停止するものとしてもよい。この場合、キャリッジモーター78の一時停止後の原稿Sの読取処理で取得した画像データは、バッファー53以外の所定の記憶領域に記憶するものとすればよい。また、キャリッジモーター78の故障時や異常時(過熱など)にキャリッジモーター78を一時停止するものとしてもよい。また、バッファー53は、スキャナーASIC50が備えるものとしたが、これに限らず、メインコントローラー80のRAM86内にバッファー53を備えるものなどとしてもよい。   In the embodiment described above, the carriage motor 78 is temporarily stopped when the free capacity of the buffer 53 is less than the predetermined capacity threshold, but the present invention is not limited to this. For example, the carriage motor 78 may be temporarily stopped when the buffer 53 becomes full. In this case, the image data acquired by the reading process of the document S after the carriage motor 78 is temporarily stopped may be stored in a predetermined storage area other than the buffer 53. Further, the carriage motor 78 may be temporarily stopped when the carriage motor 78 fails or is abnormal (overheating or the like). Further, the buffer 53 is provided in the scanner ASIC 50, but is not limited thereto, and the buffer 53 may be provided in the RAM 86 of the main controller 80.

上述した実施形態では、バッファー空き容量フラグFは、バッファー53の空き容量が所定の容量閾値未満であるか否かにより値が定まるものとしたが、これに限られない。例えば、バッファー空き容量フラグFが値0から値1になるときと、値1から値0になるときとで、容量閾値を変えてもよい。すなわち、バッファー空き容量フラグFの値の変化にヒステリシスをもたせてもよい。   In the above-described embodiment, the value of the buffer free capacity flag F is determined depending on whether or not the free capacity of the buffer 53 is less than a predetermined capacity threshold, but is not limited thereto. For example, the capacity threshold value may be changed depending on whether the buffer free capacity flag F changes from the value 0 to the value 1 or from the value 1 to the value 0. That is, the change in the value of the buffer free capacity flag F may be provided with hysteresis.

上述した実施形態では、読取解像度に応じてモーター駆動速度Vを変えるものとし、読取時間間隔Taは読取解像度に関わらず同じとしたが、これに限られない。例えば、読取解像度に応じて読取時間間隔Taを変えるものとし、モーター駆動速度Vは読取解像度に関わらず同じとしてもよい。また、読取解像度に応じてモーター駆動速度Vと読取時間間隔Taの両方を変えるものとしてもよい。   In the above-described embodiment, the motor driving speed V is changed according to the reading resolution, and the reading time interval Ta is the same regardless of the reading resolution, but is not limited thereto. For example, the reading time interval Ta is changed according to the reading resolution, and the motor driving speed V may be the same regardless of the reading resolution. Further, both the motor driving speed V and the reading time interval Ta may be changed according to the reading resolution.

上述した実施形態では、キャリッジモーター78の一時停止時に、読取時間間隔Tn毎にCISモジュール76が原稿Sを読み取るものとしたが、これに限られない。原稿Sの搬送中にキャリッジモーター78が一時停止時するとき、画像データの取得に関する読み取りの時間間隔である読取時間間隔が一時停止前と比べて長くなるものであればよい。例えば、キャリッジモーター78の一時停止時であってもCISモジュール76は読取時間間隔Ta毎に原稿Sを読み取るものとしてもよい。この場合、読み取った画像データのうち一部を読取制御部51が無視する(バッファー53に記憶しない)ことで、結果的に読取時間間隔Tn毎に原稿Sを読み取った画像データを取得するものとすればよい。例えば、読取時間間隔T1が値3Taであったときに、CISモジュール76は読取時間間隔Ta毎に読み取りを行うものとし、読取制御部51はCISモジュール76が読み取った最初の2回の画像データについては無視するものとし、3回目の画像データのみをバッファー53に記憶するものとしてもよい。すなわち、例えば図13における一時停止時処理中であっても、CISモジュール76による読み取りは通常時処理と同じ読取時間間隔Ta毎に行うものとし、読み取りの「○」がないタイミング(No.9〜17,No.21〜41)では読み取った画像データを無視するものとしてもよい。なお、画像データの一部を無視するのはどの段階でもよい。例えば、CISモジュール76からのアナログデータとしての画像データの一部をA/D変換部56に入力しないようにすることで無視してもよい。あるいは、バッファー53にはCISモジュール76からの画像データを全て記憶するものとし、メインコントローラー80側でバッファー53から読み出した画像データの一部を無視してもよい。この場合、スキャナーASIC50とメインコントローラー80とが本発明の画像読取装置の読取制御手段に相当する。同様に、ステップS250でバッファー空き容量不足フラグFが値0になるのを待つ間は、画像データの取得を停止していればよい。例えば、図14における再開時処理(No.0〜17)の間は、CISモジュール76による原稿Sの読み取りは通常時処理と同じ読取時間間隔Ta毎に行うものとし、CISモジュール76からの画像データを全て無視するものとしてもよい。   In the above-described embodiment, the CIS module 76 reads the document S every reading time interval Tn when the carriage motor 78 is temporarily stopped. However, the present invention is not limited to this. When the carriage motor 78 is temporarily stopped while the document S is being transported, it suffices if the reading time interval, which is the reading time interval for acquiring image data, is longer than that before the pause. For example, the CIS module 76 may read the document S at every reading time interval Ta even when the carriage motor 78 is temporarily stopped. In this case, a part of the read image data is ignored by the reading control unit 51 (not stored in the buffer 53), and as a result, image data obtained by reading the document S at every reading time interval Tn is acquired. do it. For example, when the reading time interval T1 is 3Ta, the CIS module 76 performs reading at every reading time interval Ta, and the reading control unit 51 reads the first two image data read by the CIS module 76. May be ignored, and only the third image data may be stored in the buffer 53. That is, for example, even during the pause processing in FIG. 13, the reading by the CIS module 76 is performed at the same reading time interval Ta as in the normal processing, and the timing when there is no reading “◯” (No. 9 to 17, No. 21-41), the read image data may be ignored. Note that it is possible to ignore a part of the image data at any stage. For example, part of the image data as analog data from the CIS module 76 may be ignored by not inputting it to the A / D converter 56. Alternatively, all the image data from the CIS module 76 may be stored in the buffer 53, and a part of the image data read from the buffer 53 on the main controller 80 side may be ignored. In this case, the scanner ASIC 50 and the main controller 80 correspond to the reading control means of the image reading apparatus of the present invention. Similarly, it is only necessary to stop the acquisition of image data while waiting for the buffer free space shortage flag F to become 0 in step S250. For example, during the restart processing (Nos. 0 to 17) in FIG. 14, the reading of the document S by the CIS module 76 is performed at the same reading time interval Ta as the normal processing, and the image data from the CIS module 76 is read. It is good also as what ignores all.

上述した実施形態では、マルチファンクションプリンター20として説明したが、プリンターユニット42を備えないスキャナー装置としてもよいし、FAX機能を備えたFAX装置としてもよい。また、プリンターユニット42は、インクジェット方式のカラープリンター機構としたが、特にこれに限定されず、電子写真方式のカラープリンターとしてもよいし、ドットインパクト方式のカラープリンターとしてもよいし、これらのモノクロプリンターとしてもよい。   In the above-described embodiment, the multifunction printer 20 has been described. However, a scanner device that does not include the printer unit 42 may be used, or a FAX device that includes a FAX function may be used. In addition, the printer unit 42 is an inkjet color printer mechanism, but is not particularly limited thereto, and may be an electrophotographic color printer, a dot impact color printer, or a monochrome printer of these. It is good.

上述した実施形態では、マルチファンクションプリンター20として説明したが、画像読取装置の制御方法としてもよいし、この方法を実行するプログラムとしてもよい。   In the above-described embodiment, the multifunction printer 20 has been described. However, a control method for the image reading apparatus may be used, or a program for executing this method may be used.

20 マルチファンクションプリンター、21 筐体、22 筐体カバー、22a 開口部、22b マーク、22c 原稿押さえ、24 排紙トレイ、26 ADF挿入口、27 ADF給紙トレイ、28 ADF排紙トレイ、29 原稿ガイド、31 フラットベッド部、32 ガラス台、33 フレーム、33a 孔、34 ADF読取領域、35 FB読取領域、35a FB読取原点、36 白基準板、40 スキャナーユニット、42 プリンターユニット、44 プリンターASIC、45 プリンターエンジン、46 操作パネル、47 表示部、48 電源ボタン、49 メモリーカードスロット、50 スキャナーASIC、51 読取制御部、52 駆動制御部、53 バッファー、54 読取時間間隔テーブル記憶部、54a,54b 読取時間間隔テーブル、55 LED駆動部、56 A/D変換部、60 スキャナーエンジン、61 オートドキュメントフィーダー(ADF)ユニット、62 搬送経路、63 ピックアップローラー、64 フィードローラー、65 搬送ローラー、66 排紙ローラー、71 光源ユニット、72R,72G,72B LED、73 導光体、74 CIS、75 受光素子、76 CISモジュール、78 キャリッジモーター、78a,78b,78c モーターギア、79 ガイドギア、80 メインコントローラー、82 CPU、84 フラッシュメモリー、86 RAM、88 インターフェイス(I/F)、90 本体側ギア機構、91a〜91d ギア、91e 固定歯、92 本体側連結用ギア、92a 外歯車、92b 内歯車、95 カバー側ギア機構、96 第1ギア群、96a〜96j ギア、97 カバー側連結用ギア、97a 外歯車、97b かさ歯車、98 連結軸、99 第2ギア群、99a〜99h ギア、MC メモリーカード、S 原稿。   20 Multifunction Printer, 21 Case, 22 Case Cover, 22a Opening, 22b Mark, 22c Document Press, 24 Paper Discharge Tray, 26 ADF Insertion Port, 27 ADF Paper Feed Tray, 28 ADF Paper Output Tray, 29 Document Guide , 31 Flatbed section, 32 Glass stand, 33 frame, 33a hole, 34 ADF scanning area, 35 FB scanning area, 35a FB scanning origin, 36 White reference plate, 40 Scanner unit, 42 Printer unit, 44 Printer ASIC, 45 Printer Engine, 46 Operation panel, 47 Display unit, 48 Power button, 49 Memory card slot, 50 Scanner ASIC, 51 Reading control unit, 52 Drive control unit, 53 Buffer, 54 Reading time interval table storage unit, 54a, 54b Time interval table, 55 LED drive unit, 56 A / D conversion unit, 60 scanner engine, 61 auto document feeder (ADF) unit, 62 transport path, 63 pickup roller, 64 feed roller, 65 transport roller, 66 paper discharge roller, 71 Light source unit, 72R, 72G, 72B LED, 73 light guide, 74 CIS, 75 light receiving element, 76 CIS module, 78 carriage motor, 78a, 78b, 78c motor gear, 79 guide gear, 80 main controller, 82 CPU, 84 Flash memory, 86 RAM, 88 Interface (I / F), 90 Main body side gear mechanism, 91a to 91d gear, 91e Fixed tooth, 92 Main body side connecting gear, 92a External gear, 92b Internal gear, 95 Cover side gear mechanism, 96 first gear group, 96a to 96j gear, 97 cover side connecting gear, 97a external gear, 97b bevel gear, 98 connecting shaft, 99 second gear group, 99a to 99h gear, MC memory card, S Manuscript.

Claims (7)

筐体本体と、
前記筐体本体に対して開閉可能に取り付けられた筐体カバーと、
前記筐体カバーに配設され、原稿をセットするための原稿セット手段と、
前記筐体カバーに配設され、前記原稿セット手段にセットされた原稿を搬送方向に搬送する原稿搬送手段と、
前記筐体本体の上面に配置され、原稿載置領域を有する原稿載置台と、
前記原稿搬送手段により搬送された原稿及び前記原稿載置領域に載置された原稿を読み取る読取手段と、
前記筐体本体に配設され、前記読取手段を移動方向に移動させる駆動手段と、
前記筐体本体に配置された第1連結手段と、前記筐体カバーに配置された第2連結手段と、を有し、前記駆動手段の駆動力を前記原稿搬送手段に伝達する駆動力伝達手段と、
前記駆動手段が前記原稿搬送手段を駆動して前記原稿を搬送しているとき、前記読取手段を制御して搬送中の該原稿を読み取らせて画像データを取得し、該原稿の搬送中に前記駆動手段が一時停止するとき、画像データの取得に関する前記読み取りの時間間隔である読取時間間隔が該一時停止前と比べて徐々に長くなる傾向になるよう、前記読取手段を制御して前記原稿を読み取らせて画像データを取得し、その後に画像データの取得を停止する読取制御手段と、
を備え、
前記読取手段は、前記原稿載置領域に載置された原稿を読み取るときには、前記駆動手段により前記移動方向に自身が移動しながら該原稿を読み取り、
前記原稿載置台は、前記筐体カバーが閉じられたときに該筐体カバーで覆われ、
前記第1連結手段と前記第2連結手段とは、前記筐体カバーが開かれたときに連結が解除され、前記筐体カバーが閉じられたときに互いに連結する、
画像読取装置。
A housing body;
A housing cover attached to the housing body so as to be openable and closable ;
A document setting means disposed on the housing cover for setting a document;
A document conveying means disposed in the casing cover and configured to convey a document set on the document setting means in a conveying direction;
A document placement table disposed on the upper surface of the housing body and having a document placement area;
Reading means for reading the original conveyed by the original conveying means and the original placed on the original placement area ;
A driving unit disposed in the housing body and configured to move the reading unit in a moving direction;
A driving force transmitting means for transmitting a driving force of the driving means to the document conveying means; and a first connecting means disposed on the housing main body and a second connecting means disposed on the housing cover. When,
When the driving unit drives the document conveying unit to convey the document, the reading unit is controlled to read the document being conveyed to acquire image data. When the driving unit pauses, the reading unit is controlled so that the reading time interval, which is the reading time interval related to acquisition of image data, tends to be gradually longer than before the pause. Reading control means for acquiring image data by reading, and then stopping acquisition of the image data;
With
The reading means reads the original while moving in the moving direction by the driving means when reading the original placed on the original placement area;
The document table is covered with the housing cover when the housing cover is closed,
The first connecting means and the second connecting means are disconnected when the housing cover is opened, and are connected to each other when the housing cover is closed.
Image reading device.
前記駆動力伝達手段は、前記駆動手段の駆動力を、前記連結した前記第1連結手段と前記第2連結手段とを介して、前記原稿搬送手段に伝達する、
請求項1に記載の画像読取装置。
The driving force transmitting means transmits the driving force of the driving means to the document conveying means via the connected first connecting means and second connecting means;
The image reading apparatus according to claim 1.
前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該一時停止前の該原稿の搬送速度が速いほど前記画像データの取得を停止するまでの時間が長くなる傾向にする、
請求項1又は2に記載の画像読取装置。
When the driving unit pauses during conveyance of the document, the reading control unit tends to have a longer time until the acquisition of the image data is stopped as the document conveyance speed before the suspension is higher. To
The image reading apparatus according to claim 1.
前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該一時停止前の該原稿の搬送速度に応じて、前記読取時間間隔の傾向を変える、
請求項1〜3のいずれか1項に記載の画像読取装置。
The reading control unit changes a tendency of the reading time interval according to a conveyance speed of the document before the suspension when the driving unit pauses during conveyance of the document.
The image reading apparatus according to claim 1.
前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止するとき、該原稿の種類に応じて前記読取時間間隔の傾向を変えるか、該原稿の種類に応じて前記画像データの取得を停止するまでの時間を変えるか、の少なくともいずれかを行う、
請求項1〜4のいずれか1項に記載の画像読取装置。
The reading control unit may change the tendency of the reading time interval according to the type of the original or acquire the image data according to the type of the original when the driving unit pauses during conveyance of the original. Change the time to stop, or do at least one of
The image reading apparatus according to claim 1.
前記原稿搬送手段は、複数の歯車からなる輪列を介して前記駆動手段からの動力を前記原稿に伝達する、
請求項1〜5のいずれか1項に記載の画像読取装置。
The document conveying means transmits power from the driving means to the document via a gear train composed of a plurality of gears;
The image reading apparatus according to claim 1.
前記読取制御手段は、前記原稿の搬送中に前記駆動手段が一時停止したあと該駆動手段が前記原稿搬送手段の駆動を再開するとき、前記読取手段を制御して該原稿を読み取らせて画像データを取得するにあたり、該駆動手段の動作開始から遅れて該画像データの取得を再開する、
請求項1〜のいずれか1項に記載の画像読取装置。
The reading control means controls the reading means to read the original and control the image data when the driving means resumes driving of the original conveying means after the driving means pauses during the original conveying. , The acquisition of the image data is resumed with a delay from the start of the operation of the driving means.
The image reading apparatus according to any one of claims 1-6.
JP2012173797A 2012-08-06 2012-08-06 Image reading device Active JP6337414B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012173797A JP6337414B2 (en) 2012-08-06 2012-08-06 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012173797A JP6337414B2 (en) 2012-08-06 2012-08-06 Image reading device

Publications (2)

Publication Number Publication Date
JP2014033390A JP2014033390A (en) 2014-02-20
JP6337414B2 true JP6337414B2 (en) 2018-06-06

Family

ID=50282887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012173797A Active JP6337414B2 (en) 2012-08-06 2012-08-06 Image reading device

Country Status (1)

Country Link
JP (1) JP6337414B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017098608A (en) * 2015-11-18 2017-06-01 株式会社沖データ Image reading device
JP6904042B2 (en) * 2017-04-26 2021-07-14 セイコーエプソン株式会社 Image reader
JP7151783B2 (en) * 2018-11-21 2022-10-12 京セラドキュメントソリューションズ株式会社 Image reading device, image forming device
JP7165231B2 (en) * 2020-12-25 2022-11-02 セイコーエプソン株式会社 Image reader

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0698102A (en) * 1991-12-28 1994-04-08 Nisca Corp Method and device for inputting image
JPH05307293A (en) * 1992-04-24 1993-11-19 Sharp Corp Driving method for document reader and document reader
JPH05328059A (en) * 1992-05-27 1993-12-10 Canon Inc Image reader
JPH07162592A (en) * 1993-12-10 1995-06-23 Ricoh Co Ltd Image reader
JP2000184142A (en) * 1998-10-08 2000-06-30 Ricoh Co Ltd Image reader
JP2001127957A (en) * 1999-10-29 2001-05-11 Canon Inc Image reader and method, and storage medium
JP2006086817A (en) * 2004-09-16 2006-03-30 Sharp Corp Image reader
JP2008199143A (en) * 2007-02-09 2008-08-28 Matsushita Electric Ind Co Ltd Image reading apparatus

Also Published As

Publication number Publication date
JP2014033390A (en) 2014-02-20

Similar Documents

Publication Publication Date Title
US7881652B2 (en) Modular printer and scanner ADF duplexer feedpath including second tray
JP4752605B2 (en) Image reading device
JP2007134830A (en) Image reading apparatus
JP2006311289A (en) Image reading device
JP6337414B2 (en) Image reading device
US20090315503A1 (en) Control device of stepping motor, image reading device, control method and control program of stepping motor
JP5929281B2 (en) Image reading apparatus, image reading method and program thereof
US9319561B2 (en) Image reading apparatus, control method thereof, and recording medium
JP2007259129A (en) Image reading apparatus
JP2010056893A (en) Printer and print control method
JP7009155B2 (en) Image readers, image reader control methods, image sensors, and programs
JP5742194B2 (en) Image reading apparatus, image reading method and program thereof
JP5793968B2 (en) Image reading device
JP5703724B2 (en) Image reading apparatus, image reading method and program thereof
JP2014049941A (en) Image reading device and multifunction machine
JP2012070097A (en) Original document reading apparatus
JP2011217050A (en) Image reading device
JP2010226619A (en) Image reader, method of controlling image reading, and image read control program
JP2012090085A (en) Image reading apparatus
JP6323002B2 (en) Image reading device
JP5771960B2 (en) Drive device
JP2007036620A (en) Image reading apparatus and multifunction device
JP2007282047A (en) Image reading apparatus and image reading system
JP5742197B2 (en) Image reading apparatus, image reading method, and program
JP5906746B2 (en) Document reader and document detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170530

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170706

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20171212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180305

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20180314

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180423

R150 Certificate of patent or registration of utility model

Ref document number: 6337414

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150