[go: up one dir, main page]

JP7565712B2 - MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM - Google Patents

MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM Download PDF

Info

Publication number
JP7565712B2
JP7565712B2 JP2020105552A JP2020105552A JP7565712B2 JP 7565712 B2 JP7565712 B2 JP 7565712B2 JP 2020105552 A JP2020105552 A JP 2020105552A JP 2020105552 A JP2020105552 A JP 2020105552A JP 7565712 B2 JP7565712 B2 JP 7565712B2
Authority
JP
Japan
Prior art keywords
medium
image
correction
unit
transport
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
JP2020105552A
Other languages
Japanese (ja)
Other versions
JP2021197715A (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.)
PFU Ltd
Original Assignee
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PFU Ltd filed Critical PFU Ltd
Priority to JP2020105552A priority Critical patent/JP7565712B2/en
Publication of JP2021197715A publication Critical patent/JP2021197715A/en
Application granted granted Critical
Publication of JP7565712B2 publication Critical patent/JP7565712B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controlling Sheets Or Webs (AREA)
  • Registering Or Overturning Sheets (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、媒体搬送装置、制御方法及び制御プログラムに関し、特に、媒体を搬送して撮像する媒体搬送装置、制御方法及び制御プログラムに関する。 The present invention relates to a media transport device, a control method, and a control program, and in particular to a media transport device that transports and images a medium, a control method, and a control program.

媒体を搬送して撮像するスキャナ等の媒体搬送装置では、媒体が傾いて搬送されるスキュー(斜行)が発生し、媒体全体が撮像されなかったり、媒体が搬送路の側壁に衝突して破損したりする場合がある。媒体搬送装置では、媒体が適切に撮像され、且つ、媒体の破損が発生しないように媒体の搬送が制御されることが望まれている。 In media transport devices such as scanners that transport and image media, skew (oblique movement) can occur, causing the media to be transported at an angle, resulting in the media not being imaged in its entirety or colliding with the side wall of the transport path and being damaged. In media transport devices, it is desirable to control the transport of the media so that the media is properly imaged and damage to the media does not occur.

原稿幅方向における所定箇所の原稿の通過を検知する複数の原稿検知部を有する画像読取装置が開示されている(特許文献1を参照)。この画像読取装置は、複数の原稿検知部の検知結果に応じて、原稿の斜行を補正することが可能か否かを判定し、原稿の斜行を補正することが可能と判定された場合、複数の搬送ローラ対の搬送速度を互いに異ならせることによって原稿の斜行を補正する。 An image reading device is disclosed that has multiple document detection units that detect the passage of a document at a predetermined location in the document width direction (see Patent Document 1). This image reading device determines whether or not the skew of the document can be corrected based on the detection results of the multiple document detection units, and if it is determined that the skew of the document can be corrected, corrects the skew of the document by making the conveying speeds of multiple conveying roller pairs different from each other.

特開2017-197318号公報JP 2017-197318 A

媒体搬送装置では、媒体が傾いて搬送された場合に、媒体の搬送をより適切に制御することが望まれている。 In a media transport device, it is desirable to more appropriately control the transport of the media when the media is transported at an angle.

本発明の目的は、媒体が傾いて搬送された場合に、媒体の搬送をより適切に制御することが可能な媒体搬送装置、制御方法及び制御プログラムを提供することにある。 The object of the present invention is to provide a media transport device, a control method, and a control program that can more appropriately control the transport of media when the media is transported at an angle.

本発明の一側面に係る媒体搬送装置は、媒体搬送方向と直交する方向に間隔を空けて配置され、それぞれ独立に回転して媒体を給送する複数の給送ローラと、給送される媒体を撮像して入力画像を生成する撮像部と、給送される媒体の傾き量を検出する検出部と、複数の給送ローラの周速度を相互に異ならせることにより媒体の傾きを補正する給送補正部と、入力画像又は入力画像に基づく画像に対する画像処理により媒体の傾きを補正する画像補正部と、検出部により検出された傾き量に基づいて、給送補正部による補正と、画像補正部による補正の内の何れを実行するかを選択する選択部と、を有する。 A media transport device according to one aspect of the present invention includes a plurality of feed rollers arranged at intervals in a direction perpendicular to the media transport direction and each of which rotates independently to feed a medium, an imaging unit which images the medium being fed to generate an input image, a detection unit which detects the amount of inclination of the medium being fed, a feed correction unit which corrects the inclination of the medium by varying the peripheral speeds of the plurality of feed rollers, an image correction unit which corrects the inclination of the medium by image processing of the input image or an image based on the input image, and a selection unit which selects whether to perform correction by the feed correction unit or correction by the image correction unit based on the amount of inclination detected by the detection unit.

また、本発明の一側面に係る制御方法は、媒体搬送方向と直交する方向に間隔を空けて配置され、それぞれ独立に回転して媒体を給送する複数の給送ローラと、給送される媒体を撮像して入力画像を生成する撮像部と、を有する媒体搬送装置の制御方法であって、給送される媒体の傾き量を検出し、検出された傾き量に基づいて、複数の給送ローラの周速度を相互に異ならせることによる媒体の傾きの補正と、入力画像又は入力画像に基づく画像に対する画像処理による媒体の傾きの補正の内の何れを実行するかを選択する。 A control method according to one aspect of the present invention is a control method for a media transport device having a plurality of feed rollers arranged at intervals in a direction perpendicular to the media transport direction and each of which rotates independently to feed the media, and an imaging unit which captures an image of the fed media to generate an input image, the control method detects the amount of tilt of the fed media, and selects, based on the detected amount of tilt, whether to correct the media tilt by varying the circumferential speeds of the plurality of feed rollers, or to correct the media tilt by image processing of the input image or an image based on the input image.

また、本発明の一側面に係る制御プログラムは、媒体搬送方向と直交する方向に間隔を空けて配置され、それぞれ独立に回転して媒体を給送する複数の給送ローラと、給送される媒体を撮像して入力画像を生成する撮像部と、を有する媒体搬送装置の制御プログラムであって、給送される媒体の傾き量を検出し、検出された傾き量に基づいて、複数の給送ローラの周速度を相互に異ならせることによる媒体の傾きの補正と、入力画像又は入力画像に基づく画像に対する画像処理による媒体の傾きの補正の内の何れを実行するかを選択することを媒体搬送装置に実行させる。 A control program according to one aspect of the present invention is a control program for a media transport device having a plurality of feed rollers arranged at intervals in a direction perpendicular to the media transport direction and each of which rotates independently to feed the media, and an imaging unit which images the fed media to generate an input image, and causes the media transport device to detect the amount of tilt of the fed media, and select, based on the detected amount of tilt, whether to correct the media tilt by varying the circumferential speeds of the plurality of feed rollers, or to correct the media tilt by image processing of the input image or an image based on the input image.

本発明によれば、媒体搬送装置、制御方法及び制御プログラムは、媒体が傾いて搬送された場合に、媒体の搬送をより適切に制御することが可能となる。 According to the present invention, the medium transport device, control method, and control program are capable of more appropriately controlling the transport of the medium when the medium is transported at an angle.

実施形態に係る媒体搬送装置100を示す斜視図である。1 is a perspective view showing a medium conveying device 100 according to an embodiment. 媒体搬送装置100内部の搬送経路を説明するための図である。2 is a diagram for explaining a transport path inside the medium transport device 100. FIG. 光学センサ114等の配置位置について説明するための模式図である。FIG. 2 is a schematic diagram for explaining the arrangement positions of an optical sensor 114 and the like. 媒体搬送装置100の概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a medium conveying device 100. FIG. 記憶装置160及び処理回路170の概略構成を示す図である。FIG. 1 is a diagram showing a schematic configuration of a storage device 160 and a processing circuit 170. 媒体読取処理の動作の例を示すフローチャートである。10 is a flowchart illustrating an example of the operation of a medium reading process. 媒体読取処理の動作の例を示すフローチャートである。10 is a flowchart illustrating an example of the operation of a medium reading process. 媒体のサイズ及び傾き量について説明するための模式図である。1A and 1B are schematic diagrams for explaining the size and tilt amount of a medium. 媒体のサイズ及び傾き量について説明するための模式図である。1A and 1B are schematic diagrams for explaining the size and tilt amount of a medium. 他の処理回路270の概略構成を示す図である。FIG. 13 is a diagram showing a schematic configuration of another processing circuit 270.

以下、本発明の一側面に係る媒体搬送装置について図を参照しつつ説明する。但し、本発明の技術的範囲はそれらの実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 Below, a medium conveying device according to one aspect of the present invention will be described with reference to the drawings. However, please note that the technical scope of the present invention is not limited to these embodiments, but extends to the inventions described in the claims and their equivalents.

図1は、イメージスキャナとして構成された媒体搬送装置100を示す斜視図である。媒体搬送装置100は、原稿である媒体を搬送し、撮像する。媒体は、用紙、厚紙、カード、冊子又はパスポート等である。媒体搬送装置100は、ファクシミリ、複写機、プリンタ複合機(MFP、Multifunction Peripheral)等でもよい。 FIG. 1 is a perspective view showing a medium conveying device 100 configured as an image scanner. The medium conveying device 100 conveys a medium, which is an original document, and captures an image. The medium is paper, cardboard, a card, a booklet, a passport, or the like. The medium conveying device 100 may be a facsimile, a copier, a multifunction printer (MFP, Multifunction Peripheral), or the like.

媒体搬送装置100は、下側筐体101、上側筐体102、載置台103、排出台104、操作装置105及び表示装置106等を備える。 The medium transport device 100 includes a lower housing 101, an upper housing 102, a loading platform 103, an ejection platform 104, an operation device 105, and a display device 106.

上側筐体102は、媒体搬送装置100の上面を覆う位置に配置され、媒体つまり時、媒体搬送装置100内部の清掃時等に開閉可能なようにヒンジにより下側筐体101に係合している。 The upper housing 102 is positioned to cover the top surface of the media transport device 100, and engages with the lower housing 101 by a hinge so that it can be opened and closed when media becomes jammed or when cleaning the inside of the media transport device 100, etc.

載置台103は、搬送される媒体を載置可能に下側筐体101に係合している。排出台104は、排出された媒体を保持可能に下側筐体101に係合している。 The loading platform 103 engages with the lower housing 101 so that the transported media can be loaded onto it. The ejection platform 104 engages with the lower housing 101 so that the ejected media can be held.

操作装置105は、ボタン等の入力デバイス及び入力デバイスから信号を取得するインタフェース回路を有し、利用者による入力操作を受け付け、利用者の入力操作に応じた操作信号を出力する。表示装置106は、液晶、有機EL(Electro-Luminescence)等を含むディスプレイ及びディスプレイに画像データを出力するインタフェース回路を有し、画像データをディスプレイに表示する。 The operation device 105 has an input device such as a button and an interface circuit that acquires signals from the input device, accepts input operations by a user, and outputs an operation signal corresponding to the user's input operation. The display device 106 has a display including a liquid crystal, an organic EL (Electro-Luminescence), or the like, and an interface circuit that outputs image data to the display, and displays the image data on the display.

図2は、媒体搬送装置100内部の搬送経路を説明するための図である。 Figure 2 is a diagram illustrating the transport path inside the media transport device 100.

媒体搬送装置100内部の搬送経路は、第1センサ111、複数の給送ローラ112a、b、複数のブレーキローラ113a、b、光学センサ114、複数の第2センサ115a~d、複数の第1搬送ローラ116a、b、複数の第2搬送ローラ117a、b、第1撮像装置118a、第2撮像装置118b、複数の第3搬送ローラ119a、b及び複数の第4搬送ローラ120a、b等を有している。 The transport path inside the media transport device 100 includes a first sensor 111, multiple feed rollers 112a, b, multiple brake rollers 113a, b, an optical sensor 114, multiple second sensors 115a-d, multiple first transport rollers 116a, b, multiple second transport rollers 117a, b, a first imaging device 118a, a second imaging device 118b, multiple third transport rollers 119a, b, and multiple fourth transport rollers 120a, b, etc.

以下では、給送ローラ112a、bを総じて給送ローラ112と称する場合がある。また、ブレーキローラ113a、bを総じてブレーキローラ113と称する場合がある。また、第2センサ115a~dを総じて第2センサ115と称する場合がある。また、第1搬送ローラ116a、bを総じて第1搬送ローラ116と称する場合がある。また、第2搬送ローラ117a、bを総じて第2搬送ローラ117と称する場合がある。また、第1撮像装置118a及び第2撮像装置118bを総じて撮像装置118と称する場合がある。また、第3搬送ローラ119a、bを総じて第3搬送ローラ119と称する場合がある。また、第4搬送ローラ120a、bを総じて第4搬送ローラ120と称する場合がある。なお、各ローラの数は二つに限定されず、各ローラの数はそれぞれ一つ又は三つ以上でもよい。 In the following, the feed rollers 112a, b may be collectively referred to as feed rollers 112. The brake rollers 113a, b may be collectively referred to as brake rollers 113. The second sensors 115a-d may be collectively referred to as second sensor 115. The first conveyor rollers 116a, b may be collectively referred to as first conveyor rollers 116. The second conveyor rollers 117a, b may be collectively referred to as second conveyor rollers 117. The first imaging device 118a and the second imaging device 118b may be collectively referred to as imaging device 118. The third conveyor rollers 119a, b may be collectively referred to as third conveyor rollers 119. The fourth conveyor rollers 120a, b may be collectively referred to as fourth conveyor rollers 120. The number of rollers is not limited to two, and each roller may have one or three or more rollers.

下側筐体101の上面は、媒体の搬送路の下側ガイド107aを形成し、上側筐体102の下面は、媒体の搬送路の上側ガイド107bを形成する。図2において矢印A1は媒体搬送方向を示す。以下では、上流とは媒体搬送方向A1の上流のことをいい、下流とは媒体搬送方向A1の下流のことをいう。 The top surface of the lower housing 101 forms a lower guide 107a of the medium transport path, and the bottom surface of the upper housing 102 forms an upper guide 107b of the medium transport path. In FIG. 2, arrow A1 indicates the medium transport direction. In the following, upstream refers to the upstream side of the medium transport direction A1, and downstream refers to the downstream side of the medium transport direction A1.

第1センサ111は、給送ローラ112及びブレーキローラ113の上流側に配置される。第1センサ111は、接触検出センサを有し、載置台103に媒体が載置されているか否かを検出する。第1センサ111は、載置台103に媒体が載置されている状態と載置されていない状態とで信号値が変化する第1媒体信号を生成して出力する。 The first sensor 111 is disposed upstream of the feed roller 112 and the brake roller 113. The first sensor 111 has a contact detection sensor and detects whether or not a medium is placed on the placement table 103. The first sensor 111 generates and outputs a first medium signal whose signal value changes depending on whether or not a medium is placed on the placement table 103.

給送ローラ112は、下側筐体101に設けられ、載置台103に載置された媒体を下側から順に給送する。ブレーキローラ113は、上側筐体102に設けられ、給送ローラ112に対向して配置される。 The feed roller 112 is provided in the lower housing 101 and feeds the media placed on the mounting table 103 from the bottom up. The brake roller 113 is provided in the upper housing 102 and is positioned opposite the feed roller 112.

第1搬送ローラ116及び第2搬送ローラ117は、搬送ローラの一例であり、媒体搬送方向A1において給送ローラ112の下流側に、相互に対向して配置される。第1搬送ローラ116及び第2搬送ローラ117は、給送ローラ112及びブレーキローラ113によって給送された媒体を撮像装置118に搬送する。 The first transport roller 116 and the second transport roller 117 are examples of transport rollers, and are arranged facing each other downstream of the feed roller 112 in the media transport direction A1. The first transport roller 116 and the second transport roller 117 transport the medium fed by the feed roller 112 and the brake roller 113 to the imaging device 118.

第1撮像装置118aは、主走査方向に直線状に配列されたCMOS(Complementary Metal Oxide Semiconductor)による撮像素子を有する等倍光学系タイプのCIS(Contact Image Sensor)によるラインセンサを有する。また、第1撮像装置118aは、撮像素子上に像を結ぶレンズと、撮像素子から出力された電気信号を増幅し、アナログ/デジタル(A/D)変換するA/D変換器とを有する。第1撮像装置118aは、後述する処理回路からの制御に従って、給送される媒体の表面を撮像して入力画像を生成し、出力する。 The first imaging device 118a has a line sensor using a CIS (Contact Image Sensor) of a 1:1 optical system type having imaging elements using CMOS (Complementary Metal Oxide Semiconductor) arranged in a line in the main scanning direction. The first imaging device 118a also has a lens that forms an image on the imaging element, and an A/D converter that amplifies the electrical signal output from the imaging element and performs analog/digital (A/D) conversion. The first imaging device 118a images the surface of the medium being fed, generates an input image, and outputs it according to control from a processing circuit described below.

同様に、第2撮像装置118bは、主走査方向に直線状に配列されたCMOSによる撮像素子を有する等倍光学系タイプのCISによるラインセンサを有する。また、第2撮像装置118bは、撮像素子上に像を結ぶレンズと、撮像素子から出力された電気信号を増幅し、アナログ/デジタル(A/D)変換するA/D変換器とを有する。第2撮像装置118bは、後述する処理回路からの制御に従って、給送される媒体の裏面を撮像して入力画像を生成し、出力する。 Similarly, the second imaging device 118b has a line sensor using a CIS of a life-size optical system type having CMOS imaging elements arranged in a line in the main scanning direction. The second imaging device 118b also has a lens that forms an image on the imaging element, and an A/D converter that amplifies the electrical signal output from the imaging element and performs analog-to-digital (A/D) conversion. The second imaging device 118b images the back side of the medium being fed, generates an input image, and outputs it according to control from a processing circuit described below.

第1撮像装置118a及び第2撮像装置118bは、撮像部の一例である。なお、媒体搬送装置100は、第1撮像装置118a及び第2撮像装置118bを一方だけ配置し、媒体の片面だけを読み取ってもよい。また、CMOSによる撮像素子を備える等倍光学系タイプのCISによるラインセンサの代わりに、CCD(Charge Coupled Device)による撮像素子を備える等倍光学系タイプのCISによるラインセンサが利用されてもよい。また、CMOS又はCCDによる撮像素子を備える縮小光学系タイプのラインセンサが利用されてもよい。 The first imaging device 118a and the second imaging device 118b are examples of an imaging section. Note that the medium conveying device 100 may have only one of the first imaging device 118a and the second imaging device 118b arranged, and may read only one side of the medium. Also, instead of a line sensor based on a CIS of an equal magnification optical system type having a CMOS imaging element, a line sensor based on a CIS of an equal magnification optical system type having a CCD (Charge Coupled Device) imaging element may be used. Also, a line sensor based on a reduced optical system type having a CMOS or CCD imaging element may be used.

載置台103に載置された媒体は、給送ローラ112が図2の矢印A2の方向、即ち媒体給送方向に回転することによって、下側ガイド107aと上側ガイド107bの間を媒体搬送方向A1に向かって搬送される。ブレーキローラ113は、媒体搬送時、矢印A3の方向、即ち媒体給送方向の反対方向に回転する。給送ローラ112及びブレーキローラ113の働きにより、載置台103に複数の媒体が載置されている場合、載置台103に載置されている媒体のうち給送ローラ112と接触している媒体のみが分離される。これにより、分離された媒体以外の媒体の搬送が制限されるように動作する(重送の防止)。 The media placed on the mounting table 103 is transported between the lower guide 107a and the upper guide 107b in the media transport direction A1 by the rotation of the feed roller 112 in the direction of the arrow A2 in FIG. 2, i.e., the media feed direction. When transporting the media, the brake roller 113 rotates in the direction of the arrow A3, i.e., the opposite direction to the media feed direction. When multiple media are placed on the mounting table 103, the feed roller 112 and the brake roller 113 function to separate only the media placed on the mounting table 103 that is in contact with the feed roller 112. This operates to restrict the transport of media other than the separated media (preventing double feeding).

媒体は、下側ガイド107aと上側ガイド107bによりガイドされながら、第1搬送ローラ116と第2搬送ローラ117の間に送り込まれる。媒体は、第1搬送ローラ116及び第2搬送ローラ117がそれぞれ矢印A4及び矢印A5の方向に回転することによって、第1撮像装置118aと第2撮像装置118bの間に送り込まれる。撮像装置118により読み取られた媒体は、第3搬送ローラ119及び第4搬送ローラ120がそれぞれ矢印A6及び矢印A7の方向に回転することによって排出台104上に排出される。 The medium is fed between the first transport roller 116 and the second transport roller 117 while being guided by the lower guide 107a and the upper guide 107b. The medium is fed between the first imaging device 118a and the second imaging device 118b as the first transport roller 116 and the second transport roller 117 rotate in the directions of the arrows A4 and A5, respectively. The medium read by the imaging device 118 is discharged onto the discharge tray 104 as the third transport roller 119 and the fourth transport roller 120 rotate in the directions of the arrows A6 and A7, respectively.

図3は、給送ローラ112、光学センサ114及び第2センサ115の配置位置について説明するための模式図である。図3は、上側筐体102を取り外した状態で下側筐体101を上方から見た模式図である。 Figure 3 is a schematic diagram for explaining the positions of the feed roller 112, the optical sensor 114, and the second sensor 115. Figure 3 is a schematic diagram of the lower housing 101 viewed from above with the upper housing 102 removed.

図3に示すように、給送ローラ112a、bは、媒体搬送方向と直交する幅方向A8に間隔を空けて並べて配置される。各給送ローラ112a、bは、別個のモータにより、それぞれ独立に回転して媒体を給送するように設けられている。なお、各給送ローラ112a、bは、共通のモータにより回転するように設けられてもよい。 As shown in FIG. 3, the feed rollers 112a, b are arranged at intervals in the width direction A8 perpendicular to the medium transport direction. Each feed roller 112a, b is arranged to rotate independently by a separate motor to feed the medium. Note that each feed roller 112a, b may be arranged to rotate by a common motor.

光学センサ114は、媒体搬送方向A1において、給送ローラ112の下流側且つ第1搬送ローラ116及び第2搬送ローラ117の上流側に、即ち給送ローラ112と撮像装置118の間に配置される。また、光学センサ114は、媒体搬送方向と直交する幅方向A8において略中央部に配置される。光学センサ114は、媒体の搬送路に対して同じ側に設けられた発光器及び受光器を有し、媒体搬送方向A1及び媒体搬送方向と直交する幅方向A8における媒体の移動を検出する。発光器は、LED(light emitting diode)等であり、搬送路に向けて光を放射する。受光器は、一定期間毎に受光した光に応じた画像を撮像し、最新の画像と直前の画像とから共通部分を検出する。受光器は、検出した共通部分の画像内の位置の変化に基づいて、搬送された媒体の移動方向及び移動速度を算出し、算出した移動方向及び移動速度を示す移動信号を生成して出力する。一定期間は、例えば、後述するモータの100動作パルス分に相当する期間である。 The optical sensor 114 is disposed downstream of the feed roller 112 and upstream of the first conveying roller 116 and the second conveying roller 117 in the media conveying direction A1, that is, between the feed roller 112 and the imaging device 118. The optical sensor 114 is also disposed approximately in the center in the width direction A8 perpendicular to the media conveying direction. The optical sensor 114 has a light emitter and a light receiver provided on the same side of the media conveying path, and detects the movement of the medium in the media conveying direction A1 and the width direction A8 perpendicular to the media conveying direction. The light emitter is an LED (light emitting diode) or the like, and emits light toward the conveying path. The light receiver captures an image according to the light received at regular intervals, and detects a common part between the latest image and the previous image. The light receiver calculates the movement direction and movement speed of the conveyed medium based on the change in position of the detected common part in the image, and generates and outputs a movement signal indicating the calculated movement direction and movement speed. The certain period of time is, for example, a period equivalent to 100 operating pulses of the motor described below.

例えば、移動方向は、媒体搬送方向A1の上流側から下流側に向かう方向を正方向とした移動成分と、幅方向A8の給送ローラ112b側から給送ローラ112a側に向かう方向を正方向とした移動成分とを示す。受光器は、例えば400dpi(Dots Per inch)の分解能を有し、1秒間に最大304.8mmの移動を検出可能に設けられる。光学センサ114として、公知の光学センサを用いることができる。 For example, the movement direction indicates a movement component in which the positive direction is from the upstream side to the downstream side in the medium transport direction A1, and a movement component in which the positive direction is from the feed roller 112b side to the feed roller 112a side in the width direction A8. The light receiver has a resolution of, for example, 400 dpi (dots per inch) and is configured to be able to detect a movement of up to 304.8 mm per second. A known optical sensor can be used as the optical sensor 114.

媒体搬送装置100は、光学センサ114を用いて媒体の搬送路上の二次元の移動を検出することによって、給送される媒体を損傷させることなく、媒体の傾き量を高精度に検出することができる。 The media conveying device 100 uses the optical sensor 114 to detect the two-dimensional movement of the media on the conveying path, allowing it to detect the amount of media tilt with high precision without damaging the media being fed.

なお、光学センサ114は、幅方向A8において間隔を空けて並べて配置された複数の光学式のエンコーダを有して、媒体搬送方向A1及び幅方向A8における媒体の移動を検出してもよい。各エンコーダは、多数のスリット(光の透過穴)が形成され且つ給送される媒体に従って回転するように設けられた円板と、その円板を挟んで対向するように設けられた発光器及び受光器とを有する。受光器は、一定期間毎に、発光器と受光器の間にスリットが存在する状態と、スリットが存在せずに円板により遮られている状態の、その期間における変化回数に基づいて、搬送された媒体の移動速度を算出する。光学センサ114は、各円板の間の距離と、各受光器が算出した移動速度の差又は比に基づいて、媒体の移動方向を算出し、算出した移動方向及び移動速度を示す移動信号を生成して出力する。 The optical sensor 114 may have a plurality of optical encoders arranged at intervals in the width direction A8 to detect the movement of the medium in the medium transport direction A1 and the width direction A8. Each encoder has a disk formed with a number of slits (light transmission holes) and arranged to rotate according to the medium being fed, and a light emitter and a light receiver arranged to face each other across the disk. The light receiver calculates the movement speed of the transported medium based on the number of changes during a certain period between a state in which there is a slit between the light emitter and the light receiver and a state in which there is no slit and the light receiver is blocked by the disk. The optical sensor 114 calculates the movement direction of the medium based on the distance between each disk and the difference or ratio of the movement speeds calculated by each light receiver, and generates and outputs a movement signal indicating the calculated movement direction and movement speed.

第2センサ115は、媒体搬送方向A1において、給送ローラ112の下流側且つ第1搬送ローラ116及び第2搬送ローラ117の上流側に、即ち給送ローラ112と撮像装置118の間に配置される。第2センサ115は、媒体搬送方向A1において、光学センサ114と同じ位置に配置されてもよい。また、各第2センサ115a~dは、媒体搬送方向と直交する幅方向A8において、光学センサ114より外側(媒体搬送路の側壁W側)に、間隔を空けて並べて配置される。第2センサ115は、媒体搬送路に対して一方の側に設けられた発光器及び受光器と、媒体搬送路を挟んで発光器及び受光器と対向する位置に設けられたミラー等の反射部材とを有する。発光器は、媒体搬送路に向けて光を照射する。一方、受光器は、発光器により照射され、反射部材により反射された光を受光し、受光した光の強度に応じた電気信号である第2媒体信号を生成して出力する。 The second sensor 115 is disposed downstream of the feed roller 112 and upstream of the first transport roller 116 and the second transport roller 117 in the media transport direction A1, i.e., between the feed roller 112 and the imaging device 118. The second sensor 115 may be disposed in the same position as the optical sensor 114 in the media transport direction A1. In addition, each of the second sensors 115a-d is disposed in a line with a space between them, outside the optical sensor 114 (toward the side wall W of the media transport path) in the width direction A8 perpendicular to the media transport direction. The second sensor 115 has a light emitter and a light receiver provided on one side of the media transport path, and a reflective member such as a mirror provided in a position facing the light emitter and the light receiver across the media transport path. The light emitter irradiates light toward the media transport path. On the other hand, the light receiver receives the light that is irradiated by the light emitter and reflected by the reflecting member, and generates and outputs a second medium signal, which is an electrical signal corresponding to the intensity of the received light.

第2センサ115の位置に媒体が存在する場合、発光器により照射された光はその媒体により遮光される。そのため、第2センサ115の位置に媒体が存在する状態と存在しない状態とで第2媒体信号の信号値は変化する。これにより、第2センサ115は、その位置に媒体が存在するか否かを検出して、給送された媒体を検出する。なお、第2センサ115の発光器及び受光器は、搬送路を挟んで相互に対向する位置に設けられ、反射部材は省略されてもよい。 When a medium is present at the position of the second sensor 115, the light emitted by the light emitter is blocked by the medium. Therefore, the signal value of the second medium signal changes depending on whether a medium is present at the position of the second sensor 115 or not. In this way, the second sensor 115 detects whether a medium is present at that position and detects the fed medium. The light emitter and light receiver of the second sensor 115 are provided in positions facing each other across the transport path, and the reflective member may be omitted.

第2センサ115a~dは、媒体センサの一例であり、各第2センサ115の位置を媒体が通過するか否かに基づいて媒体のサイズを検出するために使用される。例えば、媒体搬送装置100がサポートする最大媒体サイズがA4である場合、撮像装置118の幅方向A8(主走査方向)のサイズは、A4横サイズ(短手方向のサイズ)にマージンを加算したサイズに設定される。その場合、外側に配置される第2センサ115a、dは、媒体がA4サイズ以上であるか否かを判別可能なように、幅方向A8において媒体搬送路の中央位置から同一距離だけ離れ、且つ、センサ間の距離がA4横サイズからマージンを減算したサイズに設定される。内側に配置される第2センサ115b、cは、媒体がA5サイズ以上であるか否かを判別可能なように、幅方向A8において媒体搬送路の中央位置から同一距離だけ離れ、且つ、センサ間の距離がA5横サイズからマージンを減算したサイズに設定される。 The second sensors 115a-d are an example of a media sensor, and are used to detect the size of the media based on whether the media passes the position of each second sensor 115. For example, if the maximum media size supported by the media conveying device 100 is A4, the size of the imaging device 118 in the width direction A8 (main scanning direction) is set to the size obtained by adding a margin to the A4 horizontal size (size in the short direction). In this case, the second sensors 115a and 115d arranged on the outside are set to be the same distance away from the center position of the media conveying path in the width direction A8, and the distance between the sensors is set to be the A4 horizontal size minus the margin, so that it is possible to determine whether the media is A4 size or larger. The second sensors 115b and 115c arranged on the inside are set to be the same distance away from the center position of the media conveying path in the width direction A8, and the distance between the sensors is set to be the A5 horizontal size minus the margin, so that it is possible to determine whether the media is A5 size or larger.

媒体搬送装置100は、複数の第2センサ115を用いることによって、給送される媒体のサイズを簡易に検出することができ、装置コストを低減させることができる。 By using multiple second sensors 115, the media conveying device 100 can easily detect the size of the media being fed, thereby reducing device costs.

なお、第2センサ115a、dの組合せ又は第2センサ115b、cの組合せの内の何れか一方は、省略されてもよい。また、第2センサ115として、5つ以上のセンサが使用されてもよい。 Note that either the combination of second sensors 115a and 115d or the combination of second sensors 115b and 115c may be omitted. Also, five or more sensors may be used as second sensors 115.

図4は、媒体搬送装置100の概略構成を示すブロック図である。 Figure 4 is a block diagram showing the general configuration of the medium conveying device 100.

媒体搬送装置100は、前述した構成に加えて、モータ151、インタフェース装置152、記憶装置160及び処理回路170等をさらに有する。 In addition to the above-mentioned configuration, the medium conveying device 100 further includes a motor 151, an interface device 152, a memory device 160, and a processing circuit 170.

モータ151は、一又は複数のモータを有し、処理回路170からの制御信号によって、給送ローラ112、ブレーキローラ113及び第1~第4搬送ローラ116、117、119、120を回転させて媒体を給送及び搬送させる。特に、モータ151は、給送ローラ112a、bをそれぞれ独立に回転させる別個のモータを有する。なお、モータ151は、給送ローラ112a、bを共通のモータで回転させてもよい。その場合、モータ151と給送ローラ112a、bの間のギア等の駆動力伝達機構(不図示)は、処理回路170からの制御信号によって、各給送ローラ112a、bの回転速度をそれぞれ独立に変更できるように、切り替え可能に設けられる。 The motor 151 has one or more motors, and rotates the feed roller 112, the brake roller 113, and the first to fourth transport rollers 116, 117, 119, and 120 in response to a control signal from the processing circuit 170 to feed and transport the medium. In particular, the motor 151 has separate motors that rotate the feed rollers 112a and 112b independently. Note that the motor 151 may rotate the feed rollers 112a and 112b using a common motor. In this case, a driving force transmission mechanism (not shown), such as a gear between the motor 151 and the feed rollers 112a and 112b, is provided so that the rotation speed of each of the feed rollers 112a and 112b can be changed independently in response to a control signal from the processing circuit 170.

インタフェース装置152は、例えばUSB等のシリアルバスに準じるインタフェース回路を有し、不図示の情報処理装置(例えば、パーソナルコンピュータ、携帯情報端末等)と電気的に接続して入力画像及び各種の情報を送受信する。また、インタフェース装置152の代わりに、無線信号を送受信するアンテナと、所定の通信プロトコルに従って、無線通信回線を通じて信号の送受信を行うための無線通信インタフェース装置とを有する通信部が用いられてもよい。所定の通信プロトコルは、例えば無線LAN(Local Area Network)である。通信部は、有線LAN等の通信プロトコルに従って、有線通信回線を通じて信号の送受信を行うための有線通信インタフェース装置を有してもよい。 The interface device 152 has an interface circuit conforming to a serial bus such as USB, and is electrically connected to an information processing device (not shown, for example, a personal computer, a portable information terminal, etc.) to transmit and receive input images and various information. Also, instead of the interface device 152, a communication unit having an antenna for transmitting and receiving wireless signals and a wireless communication interface device for transmitting and receiving signals through a wireless communication line according to a predetermined communication protocol may be used. The predetermined communication protocol is, for example, a wireless LAN (Local Area Network). The communication unit may have a wired communication interface device for transmitting and receiving signals through a wired communication line according to a communication protocol such as a wired LAN.

記憶装置160は、RAM(Random Access Memory)、ROM(Read Only Memory)等のメモリ装置、ハードディスク等の固定ディスク装置、又はフレキシブルディスク、光ディスク等の可搬用の記憶装置等を有する。また、記憶装置160には、媒体搬送装置100の各種処理に用いられるコンピュータプログラム、データベース、テーブル等が格納される。コンピュータプログラムは、コンピュータ読み取り可能な可搬型記録媒体から、公知のセットアッププログラム等を用いて記憶装置160にインストールされてもよい。可搬型記録媒体は、例えばCD-ROM(compact disc read only memory)、DVD-ROM(digital versatile disc read only memory)等である。 The storage device 160 includes a memory device such as a RAM (Random Access Memory) or a ROM (Read Only Memory), a fixed disk device such as a hard disk, or a portable storage device such as a flexible disk or an optical disk. The storage device 160 also stores computer programs, databases, tables, and the like used for various processes of the medium conveying device 100. Computer programs may be installed into the storage device 160 from a computer-readable portable recording medium using a known setup program or the like. Portable recording media include, for example, a CD-ROM (compact disc read only memory) or a DVD-ROM (digital versatile disc read only memory).

処理回路170は、予め記憶装置160に記憶されているプログラムに基づいて動作する。処理回路は、例えばCPU(Central Processing Unit)である。処理回路170として、DSP(digital signal processor)、LSI(large scale integration)、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)等が用いられてもよい。 The processing circuit 170 operates based on a program previously stored in the storage device 160. The processing circuit is, for example, a CPU (Central Processing Unit). The processing circuit 170 may be a DSP (digital signal processor), an LSI (large scale integration), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or the like.

処理回路170は、操作装置105、表示装置106、第1センサ111、光学センサ114、第2センサ115、撮像装置118、モータ151、インタフェース装置152及び記憶装置160等と接続され、これらの各部を制御する。処理回路170は、モータ151の駆動制御、撮像装置118の撮像制御等を行い、入力画像を生成し、インタフェース装置152を介して情報処理装置に送信する。また、処理回路170は、光学センサ114により生成される移動信号に基づいて給送される媒体の傾き量を検出し、検出した傾き量に基づいて媒体の傾きの補正方法を選択し、選択した方法で媒体の傾きを補正する。 The processing circuit 170 is connected to the operation device 105, the display device 106, the first sensor 111, the optical sensor 114, the second sensor 115, the imaging device 118, the motor 151, the interface device 152, the storage device 160, and the like, and controls each of these components. The processing circuit 170 performs drive control of the motor 151, image capture control of the imaging device 118, and the like, generates an input image, and transmits it to the information processing device via the interface device 152. The processing circuit 170 also detects the amount of tilt of the medium being fed based on the movement signal generated by the optical sensor 114, selects a method of correcting the tilt of the medium based on the detected amount of tilt, and corrects the tilt of the medium using the selected method.

図5は、記憶装置160及び処理回路170の概略構成を示す図である。 Figure 5 shows the schematic configuration of the memory device 160 and the processing circuit 170.

図5に示すように、記憶装置160には、制御プログラム161、検出プログラム162、選択プログラム163、給送補正プログラム164、画像取得プログラム165及び画像補正プログラム166等が記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。処理回路170は、記憶装置160に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作する。これにより、処理回路170は、制御部171、検出部172、選択部173、給送補正部174、画像取得部175及び画像補正部176として機能する。 As shown in FIG. 5, the storage device 160 stores a control program 161, a detection program 162, a selection program 163, a feed correction program 164, an image acquisition program 165, and an image correction program 166. Each of these programs is a functional module implemented by software running on a processor. The processing circuit 170 reads each program stored in the storage device 160 and operates according to the read program. As a result, the processing circuit 170 functions as a control unit 171, a detection unit 172, a selection unit 173, a feed correction unit 174, an image acquisition unit 175, and an image correction unit 176.

図6は、媒体搬送装置100の媒体読取処理の動作の例を示すフローチャートである。 Figure 6 is a flowchart showing an example of the operation of the media reading process of the media conveying device 100.

以下、図6及び図7に示したフローチャートを参照しつつ、媒体搬送装置100の媒体読取処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め記憶装置160に記憶されているプログラムに基づき主に処理回路170により媒体搬送装置100の各要素と協働して実行される。図6及び図7に示す動作のフローは、定期的に実行される。 Below, an example of the operation of the media reading process of the media conveying device 100 will be described with reference to the flowcharts shown in Figures 6 and 7. Note that the flow of the operation described below is executed mainly by the processing circuit 170 in cooperation with each element of the media conveying device 100 based on a program previously stored in the storage device 160. The flow of the operation shown in Figures 6 and 7 is executed periodically.

最初に、制御部171は、利用者により操作装置105を用いて媒体の読み取りの指示が入力されて、媒体の読み取りを指示する操作信号を操作装置105から受信するまで待機する(ステップS101)。 First, the control unit 171 waits until the user inputs an instruction to read a medium using the operation device 105 and receives an operation signal from the operation device 105 instructing the user to read a medium (step S101).

次に、制御部171は、第1センサ111から第1媒体信号を取得し、取得した第1媒体信号に基づいて、載置台103に媒体が載置されているか否かを判定する(ステップS102)。 Next, the control unit 171 acquires a first medium signal from the first sensor 111, and determines whether or not a medium is placed on the placement table 103 based on the acquired first medium signal (step S102).

載置台103に媒体が載置されていない場合、制御部171は、ステップS101へ処理を戻し、操作装置105から新たに操作信号を受信するまで待機する。 If no medium is placed on the placement table 103, the control unit 171 returns to step S101 and waits until a new operation signal is received from the operation device 105.

一方、載置台103に媒体が載置されている場合、制御部171は、モータ151を駆動し、給送ローラ112、ブレーキローラ113、第1~第4搬送ローラ116、117、119及び120を回転させて、媒体を給送及び搬送させる(ステップS103)。このとき、制御部171は、複数の給送ローラ112a、bのそれぞれの周速度が同一の基準速度となるように、給送ローラ112を回転させる。 On the other hand, if a medium is placed on the placement table 103, the control unit 171 drives the motor 151 to rotate the feed roller 112, the brake roller 113, and the first to fourth transport rollers 116, 117, 119, and 120 to feed and transport the medium (step S103). At this time, the control unit 171 rotates the feed roller 112 so that the peripheral speeds of the multiple feed rollers 112a, b are the same reference speed.

次に、制御部171は、媒体の先端が測定位置を通過したか否かを判定する(ステップS104)。制御部171は、光学センサ114から定期的に移動信号を取得し、取得した移動信号に基づいて、媒体の先端が光学センサ114の位置を通過したか否かを判定する。制御部171は、移動信号に示される移動速度が0から非0の値に変化したときに、媒体の先端が光学センサ114の位置を通過したと判定する。制御部171は、媒体の先端が光学センサ114の位置を通過してから所定時間が経過した時に媒体の先端が測定位置を通過したと判定する。制御部171は、媒体の先端が測定位置を通過するまで待機する。 Next, the control unit 171 determines whether the leading edge of the medium has passed the measurement position (step S104). The control unit 171 periodically acquires a movement signal from the optical sensor 114, and determines whether the leading edge of the medium has passed the position of the optical sensor 114 based on the acquired movement signal. The control unit 171 determines that the leading edge of the medium has passed the position of the optical sensor 114 when the movement speed indicated in the movement signal changes from 0 to a non-zero value. The control unit 171 determines that the leading edge of the medium has passed the measurement position when a predetermined time has elapsed since the leading edge of the medium passed the position of the optical sensor 114. The control unit 171 waits until the leading edge of the medium has passed the measurement position.

媒体の先端が測定位置を通過した場合、検出部172は、給送される媒体のサイズを検出する(ステップS105)。検出部172は、複数の第2センサ115による検出結果に基づいて、給送される媒体のサイズを検出する。検出部172は、複数の第2センサ115から第2媒体信号を取得し、取得した第2媒体信号に基づいて、媒体が各第2センサ115の位置に存在するか否かを判定する。 When the leading edge of the medium passes the measurement position, the detection unit 172 detects the size of the medium being fed (step S105). The detection unit 172 detects the size of the medium being fed based on the detection results of the multiple second sensors 115. The detection unit 172 acquires second medium signals from the multiple second sensors 115, and determines whether or not a medium is present at the position of each second sensor 115 based on the acquired second medium signals.

図8及び図9は、媒体のサイズ及び傾き量について説明するための模式図である。図8及び図9は、図3と同様に、上側筐体102を取り外した状態で下側筐体101を上方から見た模式図である。図8は大きい媒体M1が搬送されたときの様子を示し、図9は小さい媒体M2が搬送されたときの様子を示す。 Figures 8 and 9 are schematic diagrams for explaining the size and tilt of the medium. Similar to Figure 3, Figures 8 and 9 are schematic diagrams of the lower housing 101 viewed from above with the upper housing 102 removed. Figure 8 shows the state when a large medium M1 is transported, and Figure 9 shows the state when a small medium M2 is transported.

図8に示すように、媒体が全ての第2センサ115の位置に存在する場合、検出部172は、給送される媒体のサイズとして、媒体の幅方向A8のサイズ(媒体幅)が第2幅値WS2以上であることを検出する。第2幅値WS2は、四つの第2センサ115の内の、外側に配置された第2センサ115a、dの間の幅方向A8の距離である。図9に示すように、媒体が第2センサ115a又はdの位置に存在せず且つ第2センサ115b及びcの両方の位置に存在する場合、検出部172は、給送される媒体のサイズとして、媒体幅が第1幅値WS1以上であり且つ第2幅値WS2未満であることを検出する。第1幅値WS1は、四つの第2センサ115の内の、内側に配置された第2センサ115b、cの間の幅方向A8の距離である。それ以外の場合、特に媒体が第2センサ115b又はcの位置に存在しない場合、検出部172は、給送される媒体のサイズとして、媒体幅が第1幅値WS1未満であることを検出する。 As shown in Fig. 8, when the medium is present at the positions of all the second sensors 115, the detection unit 172 detects that the size of the medium in the width direction A8 (medium width) is equal to or greater than the second width value W S2 as the size of the medium to be fed. The second width value W S2 is the distance in the width direction A8 between the second sensors 115a and d that are located on the outer side among the four second sensors 115. As shown in Fig. 9, when the medium is not present at the positions of the second sensors 115a and d but is present at the positions of both the second sensors 115b and c, the detection unit 172 detects that the medium width is equal to or greater than the first width value W S1 and less than the second width value W S2 as the size of the medium to be fed. The first width value W S1 is the distance in the width direction A8 between the second sensors 115b and c that are located on the inner side among the four second sensors 115. In other cases, particularly when the medium is not present at the position of the second sensor 115b or 115c, the detection unit 172 detects that the medium width is less than the first width value W S1 as the size of the medium being fed.

次に、検出部172は、給送される媒体の傾き量を検出する(ステップS106)。検出部172は、光学センサ114による検出結果に基づいて、給送される媒体の傾き量を検出する。検出部172は、光学センサ114から移動信号を取得し、取得した移動信号に示される媒体の移動方向に基づいて、媒体の傾き量を検出する。図8及び図9に示すように、検出部172は、媒体の幅方向A8の移動成分を媒体搬送方向A1の移動成分で除算した除算値の逆正接を、媒体搬送方向A1に対する媒体の進行方向の傾きθとして算出し、傾きθの大きさを傾き量として検出する。 Next, the detection unit 172 detects the amount of tilt of the medium being fed (step S106). The detection unit 172 detects the amount of tilt of the medium being fed based on the detection result by the optical sensor 114. The detection unit 172 acquires a movement signal from the optical sensor 114, and detects the amount of tilt of the medium based on the movement direction of the medium indicated in the acquired movement signal. As shown in Figures 8 and 9, the detection unit 172 calculates the arctangent of the divided value obtained by dividing the movement component in the width direction A8 of the medium by the movement component in the medium transport direction A1 as the tilt θ of the medium's travel direction relative to the medium transport direction A1, and detects the magnitude of the tilt θ as the amount of tilt.

次に、選択部173は、検出部172により検出された媒体幅が第2幅値WS2以上であるか否かを判定する(ステップS107)。 Next, the selection unit 173 determines whether the medium width detected by the detection unit 172 is equal to or greater than the second width value W S2 (Step S107).

媒体幅が第2幅値WS2以上である場合、選択部173は、検出部172により検出された傾き量が基準閾値以上であるか否かを判定する(ステップS108)。基準閾値は、媒体のスキューが発生していないとみなすことができる媒体の傾き量(例えば0.1°)に設定される。 If the medium width is equal to or greater than the second width value W S2 , the selection unit 173 determines whether the amount of tilt detected by the detection unit 172 is equal to or greater than a reference threshold (step S108). The reference threshold is set to an amount of medium tilt (e.g., 0.1°) at which it can be assumed that no medium skew has occurred.

傾き量が基準閾値未満である場合、選択部173は、媒体の傾きを補正する補正処理を実行しないことを選択し(ステップS109)、処理をステップS115へ移行する。 If the amount of tilt is less than the reference threshold, the selection unit 173 selects not to perform a correction process to correct the tilt of the medium (step S109) and transitions to step S115.

一方、傾き量が基準閾値以上である場合、選択部173は、複数の給送ローラ112の周速度を相互に異ならせることにより媒体の傾きを補正する給送補正処理を実行することを選択する(ステップS110)。 On the other hand, if the amount of tilt is equal to or greater than the reference threshold, the selection unit 173 selects to execute a feed correction process that corrects the tilt of the medium by varying the circumferential speeds of the multiple feed rollers 112 (step S110).

次に、給送補正部174は、給送補正処理を実行し(ステップS111)、処理をステップS115へ移行する。給送補正部174は、給送補正処理において、複数の給送ローラ112a、bのそれぞれの周速度を相互に異ならせることにより給送される媒体の傾き(スキュー)を補正する。 Next, the feed correction unit 174 executes a feed correction process (step S111) and proceeds to step S115. In the feed correction process, the feed correction unit 174 corrects the inclination (skew) of the medium being fed by varying the circumferential speeds of the multiple feed rollers 112a, b.

給送補正部174は、媒体が向かっている側に位置する給送ローラ112の周速度が、他方の側に位置する給送ローラ112の周速度より大きくなるように、各周速度を設定する。即ち、図8に示す例では、給送ローラ112aの周速度が給送ローラ112bの周速度より大きくなるように、各周速度を設定する。例えば、給送補正部174は、媒体が向かっている側に位置する給送ローラ112の周速度を基準速度より大きい(速い)速度に設定し、他方の側に位置する給送ローラ112の周速度を基準速度に設定する。なお、給送補正部174は、媒体が向かっている側に位置する給送ローラ112の周速度を基準速度に設定し、他方の側に位置する給送ローラ112の周速度を基準速度より小さい(遅い)速度に設定してもよい。また、給送補正部174は、媒体が向かっている側に位置する給送ローラ112の周速度を基準速度より大きい(速い)速度に設定し、他方の側に位置する給送ローラ112の周速度を基準速度より小さい(遅い)速度に設定してもよい。 The feed correction unit 174 sets each circumferential speed so that the circumferential speed of the feed roller 112 located on the side where the medium is moving is greater than the circumferential speed of the feed roller 112 located on the other side. That is, in the example shown in FIG. 8, each circumferential speed is set so that the circumferential speed of the feed roller 112a is greater than the circumferential speed of the feed roller 112b. For example, the feed correction unit 174 sets the circumferential speed of the feed roller 112 located on the side where the medium is moving to a speed greater (faster) than the reference speed, and sets the circumferential speed of the feed roller 112 located on the other side to the reference speed. Note that the feed correction unit 174 may set the circumferential speed of the feed roller 112 located on the side where the medium is moving to the reference speed, and set the circumferential speed of the feed roller 112 located on the other side to a speed less (slower) than the reference speed. The feed correction unit 174 may also set the circumferential speed of the feed roller 112 located on the side toward which the medium is moving to a speed greater (faster) than the reference speed, and set the circumferential speed of the feed roller 112 located on the other side to a speed less (slower) than the reference speed.

これにより、媒体は、媒体が向かっていない側に位置する給送ローラ112と、媒体が向かっていない側の端部との間の所定位置を中心に回転するため、媒体のスキューが解消する。 As a result, the medium rotates around a predetermined position between the feed roller 112, located on the side the medium is not facing, and the end of the side the medium is not facing, eliminating skew in the medium.

また、給送補正部174は、給送される媒体の先端が第1搬送ローラ116及び第2搬送ローラ117の位置に到達する前に、各給送ローラ112の周速度を基準速度に戻す。即ち、給送補正部174は、給送される媒体の先端が第1搬送ローラ116及び第2搬送ローラ117の位置に到達する前に、媒体の傾きを補正するように、媒体の給送を制御する。給送される媒体の先端が第1搬送ローラ116及び第2搬送ローラ117の位置に到達した後は、媒体は、第1搬送ローラ116及び第2搬送ローラ117により搬送される。その際に、給送ローラ112によって媒体の傾きを補正させようとすると、各ローラが媒体に異なる方向へ負荷をかけてしまい、媒体が損傷する可能性がある。給送補正部174は、給送される媒体の先端が第1搬送ローラ116及び第2搬送ローラ117の位置に到達する前に、媒体の傾きを補正することにより、媒体の損傷が発生することを抑制できる。 The feed correction unit 174 also returns the circumferential speed of each feed roller 112 to the reference speed before the leading edge of the medium being fed reaches the positions of the first conveyor roller 116 and the second conveyor roller 117. That is, the feed correction unit 174 controls the feeding of the medium so as to correct the inclination of the medium before the leading edge of the medium being fed reaches the positions of the first conveyor roller 116 and the second conveyor roller 117. After the leading edge of the medium being fed reaches the positions of the first conveyor roller 116 and the second conveyor roller 117, the medium is conveyed by the first conveyor roller 116 and the second conveyor roller 117. At that time, if the inclination of the medium is corrected by the feed roller 112, each roller may apply a load to the medium in a different direction, which may damage the medium. The feed correction unit 174 corrects the inclination of the medium before the leading edge of the medium being fed reaches the positions of the first conveyor roller 116 and the second conveyor roller 117, thereby suppressing damage to the medium.

なお、媒体搬送装置100は、媒体の移動方向と、その移動方向を媒体搬送方向A1に補正するための各給送ローラ112の周速度及びその周速度で各給送ローラ112を回転させる補正時間とを関係付けて予め記憶装置160に設定しておいてもよい。その場合、給送補正部174は、光学センサ114から取得した移動信号に示される媒体の移動方向に関連付けられた周速度で、その移動方向に関連付けられた補正時間だけ各給送ローラ112を回転させる。 The medium conveying device 100 may previously set in the storage device 160 a relationship between the medium movement direction, the circumferential speed of each feed roller 112 for correcting the movement direction to the medium conveying direction A1, and the correction time for rotating each feed roller 112 at that circumferential speed. In this case, the feed correction unit 174 rotates each feed roller 112 at a circumferential speed associated with the medium movement direction indicated by the movement signal acquired from the optical sensor 114, for a correction time associated with that movement direction.

一方、ステップS107において媒体幅が第2幅値WS2未満であった場合、選択部173は、変動閾値を算出する(ステップS112)。変動閾値は、給送される媒体のサイズと、媒体搬送路における第2センサ115、搬送路の側壁W及び撮像装置118の配置位置とに応じて設定される。 On the other hand, if the medium width is less than the second width value W in step S107, the selection unit 173 calculates a fluctuation threshold (step S112). The fluctuation threshold is set according to the size of the medium being fed and the arrangement positions of the second sensor 115, the side wall W of the transport path, and the imaging device 118 on the medium transport path.

選択部173は、媒体幅が第1幅値WS1以上である場合、以下の式(1)に従って第1変動閾値θCを算出し、以下の式(2)に従って第2変動閾値θWを算出する。

Figure 0007565712000001
Figure 0007565712000002
ここで、Wcは撮像装置118の幅方向A8の撮像範囲であり、WWは両端に配置された搬送路の側壁Wの間の距離であり、WS2は外側に配置された第2センサ115a、dの間の幅方向A8の距離である。また、Dcは第2センサ115から撮像装置118の撮像位置までの媒体搬送方向A1の距離であり、DWは第2センサ115から搬送路の側壁Wの下流側の端部までの媒体搬送方向A1の距離である(図8を参照)。これらのパラメータは、予め記憶装置160に記憶される。なお、式(1)で算出される第1変動閾値θC及び式(2)で算出される第2変動閾値θWが、予め記憶装置160に記憶されていてもよい。 When the medium width is equal to or greater than the first width value W S1 , the selection unit 173 calculates the first variable threshold θ C according to the following formula (1), and calculates the second variable threshold θ W according to the following formula (2).
Figure 0007565712000001
Figure 0007565712000002
Here, Wc is the imaging range of the imaging device 118 in the width direction A8, Ww is the distance between the side walls W of the transport path arranged at both ends, and Ws2 is the distance in the width direction A8 between the second sensors 115a and d arranged on the outside. Also, Dc is the distance in the medium transport direction A1 from the second sensor 115 to the imaging position of the imaging device 118, and Dw is the distance in the medium transport direction A1 from the second sensor 115 to the downstream end of the side wall W of the transport path (see FIG. 8). These parameters are stored in the storage device 160 in advance. The first fluctuation threshold θc calculated by the formula (1) and the second fluctuation threshold θw calculated by the formula (2) may be stored in the storage device 160 in advance.

第1変動閾値θCは、媒体搬送方向A1に延伸する直線と、外側に配置された第2センサ115a、dの配置位置から撮像装置118の撮像範囲の端部へ延伸する直線とがなす角度である。即ち、端部が第2センサ115a、dの外側を通過した媒体M1が第1変動閾値θCの角度で進行した場合、媒体M1の一部は撮像装置118により撮像されない可能性がある。一方、第2変動閾値θWは、媒体搬送方向A1に延伸する直線と、外側に配置された第2センサ115a、dの配置位置から搬送路の側壁Wの下流側の端部へ延伸する直線とがなす角度である。即ち、端部が第2センサ115a、dの外側を通過した媒体M1が第2変動閾値θWの角度で進行した場合、媒体M1は搬送路の側壁Wに衝突する可能性がある。 The first fluctuation threshold θ C is an angle formed by a straight line extending in the medium transport direction A1 and a straight line extending from the arrangement position of the second sensors 115 a, d arranged on the outside to the end of the imaging range of the imaging device 118. In other words, if the medium M1 whose end has passed outside the second sensors 115 a, d proceeds at an angle of the first fluctuation threshold θ C , there is a possibility that a part of the medium M1 will not be imaged by the imaging device 118. On the other hand, the second fluctuation threshold θ W is an angle formed by a straight line extending in the medium transport direction A1 and a straight line extending from the arrangement position of the second sensors 115 a, d arranged on the outside to the end downstream of the side wall W of the transport path. In other words, if the medium M1 whose end has passed outside the second sensors 115 a, d proceeds at an angle of the second fluctuation threshold θ W , there is a possibility that the medium M1 will collide with the side wall W of the transport path.

一方、選択部173は、媒体幅が第1幅値WS1未満である場合、以下の式(3)に従って第1変動閾値θCを算出し、以下の式(3)に従って第2変動閾値θWを算出する。

Figure 0007565712000003
Figure 0007565712000004
ここで、WS1は内側に配置された第2センサ115b、cの間の幅方向A8の距離である(図9を参照)。このパラメータは、予め記憶装置160に記憶される。なお、式(3)で算出される第1変動閾値θC及び式(4)で算出される第2変動閾値θWが、予め記憶装置160に記憶されていてもよい。 On the other hand, when the medium width is less than the first width value W S1 , the selection unit 173 calculates the first variable threshold θ C according to the following formula (3), and calculates the second variable threshold θ W according to the following formula (3).
Figure 0007565712000003
Figure 0007565712000004
Here, W S1 is the distance in the width direction A8 between the second sensors 115b and 115c arranged on the inner side (see FIG. 9 ). This parameter is stored in advance in the storage device 160. Note that the first variation threshold value θ C calculated by the formula (3) and the second variation threshold value θ W calculated by the formula (4) may be stored in advance in the storage device 160.

第1変動閾値θCは、媒体搬送方向A1に延伸する直線と、内側に配置された第2センサ115b、cの配置位置から撮像装置118の撮像範囲の端部へ延伸する直線とがなす角度である。即ち、端部が第2センサ115b、cの外側を通過した媒体M2が第1変動閾値θCの角度で進行した場合、媒体M2の一部は撮像装置118により撮像されない可能性がある。一方、第2変動閾値θWは、媒体搬送方向A1に延伸する直線と、内側に配置された第2センサ115b、cの配置位置から搬送路の側壁Wの下流側の端部へ延伸する直線とがなす角度である。即ち、端部が第2センサ115b、cの外側を通過した媒体M2が第2変動閾値θWの角度で進行した場合、媒体M2は搬送路の側壁Wに衝突する可能性がある。 The first fluctuation threshold θ C is an angle formed by a straight line extending in the medium transport direction A1 and a straight line extending from the arrangement position of the second sensors 115 b, c arranged on the inside to the end of the imaging range of the imaging device 118. In other words, if the medium M2 whose end has passed outside the second sensors 115 b, c proceeds at an angle of the first fluctuation threshold θ C , a part of the medium M2 may not be imaged by the imaging device 118. On the other hand, the second fluctuation threshold θ W is an angle formed by a straight line extending in the medium transport direction A1 and a straight line extending from the arrangement position of the second sensors 115 b, c arranged on the inside to the end downstream of the side wall W of the transport path. In other words, if the medium M2 whose end has passed outside the second sensors 115 b, c proceeds at an angle of the second fluctuation threshold θ W , the medium M2 may collide with the side wall W of the transport path.

選択部173は、算出した第1変動閾値θC及び第2変動閾値θWの内、小さい方の閾値を変動閾値として設定する。即ち、変動閾値は、入力画像における媒体の一部の画像欠け又は媒体の衝突の少なくとも一方が発生する角度の閾値に設定される。 The selection unit 173 sets the smaller of the calculated first fluctuation threshold value θ C and second fluctuation threshold value θ W as the fluctuation threshold value. That is, the fluctuation threshold value is set to the threshold value of the angle at which at least one of an image loss of a part of the medium in the input image and a collision of the medium occurs.

次に、選択部173は、検出部172により検出された傾き量が、設定した変動閾値以上であるか否かを判定する(ステップS113)。傾き量が変動閾値以上である場合、選択部173は、撮像装置118が給送される媒体全体を撮像可能でない、又は、給送される媒体が搬送路の側壁Wに接すると判定し、処理をステップS110へ移行する。即ち、この場合、選択部173は、給送補正処理を実行することを選択し(ステップS110)、給送補正部174は、給送補正処理を実行する(ステップS111)。 Next, the selection unit 173 determines whether the amount of tilt detected by the detection unit 172 is equal to or greater than the set fluctuation threshold (step S113). If the amount of tilt is equal to or greater than the fluctuation threshold, the selection unit 173 determines that the imaging device 118 is unable to capture an image of the entire medium being fed, or that the medium being fed is in contact with the side wall W of the transport path, and transitions to step S110. That is, in this case, the selection unit 173 selects to execute a feed correction process (step S110), and the feed correction unit 174 executes the feed correction process (step S111).

一方、傾き量が変動閾値未満である場合、選択部173は、撮像装置118が給送される媒体全体を撮像可能であり、且つ、給送される媒体が搬送路の側壁Wに接しないと判定する。選択部173は、入力画像又は入力画像に基づく画像に対する画像処理により媒体の傾きを補正する画像補正処理を実行することを選択し(ステップS114)、処理をステップS115へ移行する。画像補正処理は、画像取得部175により入力画像が生成された後に、画像補正部176により実行される。 On the other hand, if the amount of tilt is less than the variation threshold, the selection unit 173 determines that the imaging device 118 can capture the entire medium being fed and that the medium being fed does not come into contact with the side wall W of the transport path. The selection unit 173 selects to execute an image correction process that corrects the tilt of the medium by image processing of the input image or an image based on the input image (step S114), and transitions to step S115. The image correction process is executed by the image correction unit 176 after the input image is generated by the image acquisition unit 175.

このように、選択部173は、検出部172により検出された、給送される媒体の傾き量及びサイズに基づいて、給送補正部174による補正と、画像補正部176による補正の内の何れを実行するかを選択する。即ち、選択部173は、媒体の傾き量及びサイズに基づいて、複数の給送ローラ112の周速度を相互に異ならせることによる媒体の傾きの補正と、入力画像又は入力画像に基づく画像に対する画像処理による媒体の傾きの補正の内の何れを実行するかを選択する。 In this way, the selection unit 173 selects whether to perform correction by the feeding correction unit 174 or correction by the image correction unit 176 based on the amount of tilt and size of the medium being fed detected by the detection unit 172. That is, the selection unit 173 selects whether to perform correction of the medium tilt by making the circumferential speeds of the multiple feeding rollers 112 different from each other, or correction of the medium tilt by image processing of the input image or an image based on the input image, based on the amount of tilt and size of the medium.

特に、選択部173は、媒体の傾き量及びサイズに基づいて、撮像装置118が給送される媒体全体を撮像可能であるか否かと、給送される媒体が搬送路の側壁Wに接するか否かと、を判定する。 In particular, the selection unit 173 determines whether the imaging device 118 is capable of capturing an image of the entire medium being fed, and whether the medium being fed comes into contact with the side wall W of the transport path, based on the amount of tilt and size of the medium.

選択部173は、撮像装置118が給送される媒体全体を撮像可能であり、且つ、給送される媒体が搬送路の側壁Wに接しないと判定した場合、画像補正部176による補正を実行することを選択する。媒体搬送装置100は、画像上で傾きを補正可能であり、且つ、媒体が搬送路の側壁Wに衝突しない場合には、媒体の物理的な給送制御を変更しないので、薄紙のようなコシの弱い媒体が搬送された場合等に、媒体に負荷をかけて破損させる危険性を低減できる。また、この場合、媒体搬送装置100は、媒体の物理的な給送制御を変更しないので、媒体搬送時間を低減させることが可能となる。 When the selection unit 173 determines that the imaging device 118 can capture an image of the entire medium being fed and that the medium being fed will not come into contact with the side wall W of the transport path, the selection unit 173 selects to perform correction by the image correction unit 176. The medium transport device 100 can correct the tilt on the image and does not change the physical feed control of the medium if the medium does not collide with the side wall W of the transport path, so that it is possible to reduce the risk of putting stress on the medium and causing damage when a weak medium such as thin paper is transported. Also, in this case, since the medium transport device 100 does not change the physical feed control of the medium, it is possible to reduce the medium transport time.

一方、選択部173は、撮像装置118が給送される媒体全体を撮像可能でないと判定した場合、又は、給送される媒体が搬送路の側壁Wに接すると判定した場合、給送補正部174による補正を実行することを選択する。媒体搬送装置100は、画像処理では補正できない場合、又は、媒体が搬送路の側壁Wに衝突する場合には、物理的に媒体の傾きを補正して媒体の進行方向を変更することにより、媒体全体を撮像しつつ、媒体の損傷の発生を抑制することが可能となる。 On the other hand, if the selection unit 173 determines that the imaging device 118 cannot capture the entire medium being fed, or if it determines that the medium being fed will come into contact with the side wall W of the transport path, it selects to perform correction by the feed correction unit 174. If correction cannot be made by image processing, or if the medium collides with the side wall W of the transport path, the medium transport device 100 physically corrects the inclination of the medium and changes the direction of travel of the medium, making it possible to capture the entire medium while suppressing damage to the medium.

また、選択部173は、第2センサ115及び搬送路の側壁Wの配置位置、並びに、撮像装置118の撮像範囲に基づいて、撮像装置118が給送される媒体全体を撮像可能であるか否かと、給送される媒体が搬送路の側壁Wに接するか否かと、を判定する。したがって、選択部173は、様々な種類の媒体搬送装置のそれぞれに対して、撮像装置118が給送される媒体全体を撮像可能であるか否かと、給送される媒体が搬送路の側壁Wに接するか否か、とを適切に判定することができる。 The selection unit 173 also determines whether the imaging device 118 can capture an image of the entire medium being fed and whether the fed medium contacts the side wall W of the transport path based on the arrangement positions of the second sensor 115 and the side wall W of the transport path, and the imaging range of the imaging device 118. Therefore, for each of the various types of media transport devices, the selection unit 173 can appropriately determine whether the imaging device 118 can capture an image of the entire medium being fed and whether the fed medium contacts the side wall W of the transport path.

次に、画像取得部175は、媒体全体が撮像装置118により撮像されたか否かを判定する(ステップS115)。画像取得部175は、第2センサ115から定期的に第2媒体信号を取得し、取得した第2媒体信号に基づいて、第2センサ115の位置に媒体が存在するか否かを判定する。画像取得部175は、第2媒体信号の信号値が、媒体が存在することを示す値から媒体が存在しないことを示す値に変化したときに、媒体の後端が第2センサ115の位置を通過したと判定する。画像取得部175は、媒体の後端が第2センサ115の位置を通過したと判定してから所定時間が経過したときに、媒体全体が撮像されたと判定する。画像取得部175は、媒体全体が撮像されるまで待機する。 Next, the image acquisition unit 175 determines whether the entire medium has been imaged by the imaging device 118 (step S115). The image acquisition unit 175 periodically acquires a second medium signal from the second sensor 115, and determines whether a medium is present at the position of the second sensor 115 based on the acquired second medium signal. The image acquisition unit 175 determines that the rear end of the medium has passed the position of the second sensor 115 when the signal value of the second medium signal changes from a value indicating the presence of a medium to a value indicating the absence of a medium. The image acquisition unit 175 determines that the entire medium has been imaged when a predetermined time has elapsed since it was determined that the rear end of the medium has passed the position of the second sensor 115. The image acquisition unit 175 waits until the entire medium has been imaged.

一方、媒体全体が撮像された場合、画像取得部175は、撮像装置118から入力画像を取得し、記憶装置160に記憶する(ステップS116)。なお、画像取得部175は、撮像装置118が1以上の所定ライン数分の部分画像を生成するたびに撮像装置118から部分画像を取得して記憶装置160に記憶し、媒体全体が撮像されたときに全ての部分画像を統合して入力画像を生成してもよい。 On the other hand, when the entire medium has been imaged, the image acquisition unit 175 acquires an input image from the imaging device 118 and stores it in the storage device 160 (step S116). Note that the image acquisition unit 175 may acquire a partial image from the imaging device 118 and store it in the storage device 160 each time the imaging device 118 generates a partial image of one or more predetermined lines, and may integrate all the partial images to generate an input image when the entire medium has been imaged.

次に、画像補正部176は、ステップS114の処理において、選択部173が画像補正処理を実行することを選択したか否かを判定する(ステップS117)。選択部173が画像補正処理を実行することを選択していない場合、画像補正部176は、処理をステップS119へ移行する。 Next, the image correction unit 176 determines whether or not the selection unit 173 has selected to execute the image correction process in the process of step S114 (step S117). If the selection unit 173 has not selected to execute the image correction process, the image correction unit 176 transitions to the process of step S119.

一方、選択部173が画像補正処理を実行することを選択していた場合、画像補正部176は、画像補正処理を実行する(ステップS118)。画像補正部176は、画像補正処理において、入力画像又は入力画像に基づく画像に対する画像処理により媒体の傾きを補正する。 On the other hand, if the selection unit 173 has selected to execute the image correction process, the image correction unit 176 executes the image correction process (step S118). In the image correction process, the image correction unit 176 corrects the inclination of the medium by performing image processing on the input image or an image based on the input image.

画像補正部176は、水平方向、垂直方向のそれぞれについて、入力画像内の各画素の両隣の画素の階調値の差の絶対値(以下、隣接差分値と称する)を算出し、隣接差分値が階調閾値を越える場合、その画素をエッジ画素として抽出する。階調値は、輝度値又は色値(R値、G値又はB値)である。階調閾値は、例えば、人が画像上の輝度の違いを目視により判別可能な階調値の差(例えば20)に設定することができる。なお、画像補正部176は、入力画像内の各画素から所定距離だけ離れた二つの画素の階調値の差の絶対値を隣接差分値として算出してもよい。また、画像補正部176は、入力画像内の各画素の階調値を閾値と比較することによりエッジ画素を抽出してもよい。例えば、画像補正部176は、特定の画素の階調値が閾値未満であり、その特定の画素に隣接する画素又はその特定の画素から所定距離だけ離れた画素の階調値が閾値以上である場合、その特定の画素をエッジ画素とする。画像補正部176は、水平方向、垂直方向のそれぞれについてエッジ画素からなるエッジ画像を生成する。 The image correction unit 176 calculates the absolute value of the difference in gradation values between the pixels adjacent to each pixel in the input image for each of the horizontal and vertical directions (hereinafter referred to as the adjacent difference value), and extracts the pixel as an edge pixel if the adjacent difference value exceeds the gradation threshold. The gradation value is a luminance value or a color value (R value, G value, or B value). The gradation threshold can be set to a gradation value difference (e.g., 20) that allows a person to visually distinguish the difference in luminance on the image. The image correction unit 176 may calculate the absolute value of the difference in gradation values between two pixels that are a predetermined distance away from each pixel in the input image as the adjacent difference value. The image correction unit 176 may also extract edge pixels by comparing the gradation value of each pixel in the input image with a threshold. For example, if the gradation value of a specific pixel is less than the threshold and the gradation value of a pixel adjacent to the specific pixel or a pixel that is a predetermined distance away from the specific pixel is equal to or greater than the threshold, the image correction unit 176 regards the specific pixel as an edge pixel. The image correction unit 176 generates an edge image consisting of edge pixels in both the horizontal and vertical directions.

次に、画像補正部176は、水平方向、垂直方向のそれぞれについて生成した各エッジ画像から複数の直線を抽出する。画像補正部176は、ハフ変換を用いて直線を検出する。なお、画像補正部176は、最小二乗法を用いて直線を検出してもよい。また、画像補正部176は、各エッジ画像内で相互に隣接するエッジ画素をラベリングにより一つのグループとしてまとめ、各グループの水平方向又は垂直方向における両端に位置する二つのエッジ画素を結んだ近似直線を直線として検出してもよい。 Next, the image correction unit 176 extracts multiple straight lines from each edge image generated for each of the horizontal and vertical directions. The image correction unit 176 detects the straight lines using a Hough transform. The image correction unit 176 may also detect the straight lines using the least squares method. The image correction unit 176 may also group adjacent edge pixels in each edge image by labeling, and detect an approximate straight line connecting two edge pixels located at both ends of each group in the horizontal or vertical direction as a straight line.

次に、画像補正部176は、検出した複数の直線から矩形を検出する。画像補正部176は、検出した複数の直線のうち二本ずつが略直交する四本の直線から構成される複数の矩形候補を抽出する。画像補正部176は、まず水平方向の直線(以下、第1の水平線と称する)を一つ選択し、選択した直線と略平行(例えば±3°以内)かつ第1距離以上離れた水平方向の直線(以下、第2の水平線と称する)を抽出する。次に、画像補正部176は、第1の水平線と略直交する(例えば90°に対して±3°以内)垂直方向の直線(以下、第1の垂直線と称する)を抽出する。次に、画像補正部176は、第1の水平線と略直交し、かつ第1の垂直線と第2距離以上離れた垂直方向の直線(以下、第2の垂直線と称する)を抽出する。なお、第1距離及び第2距離は、媒体搬送装置100の読取りの対象となる媒体のサイズに応じて予め定められ、同じ値としてもよい。 Next, the image correction unit 176 detects a rectangle from the detected straight lines. The image correction unit 176 extracts a plurality of rectangle candidates consisting of four straight lines, two of which are approximately perpendicular to each other, from the detected straight lines. The image correction unit 176 first selects one horizontal straight line (hereinafter referred to as the first horizontal line), and extracts a horizontal straight line (hereinafter referred to as the second horizontal line) that is approximately parallel to the selected straight line (for example, within ±3°) and is a first distance or more away from the selected straight line. Next, the image correction unit 176 extracts a vertical straight line (hereinafter referred to as the first vertical line) that is approximately perpendicular to the first horizontal line (for example, within ±3° of 90°). Next, the image correction unit 176 extracts a vertical straight line (hereinafter referred to as the second vertical line) that is approximately perpendicular to the first horizontal line and is a second distance or more away from the first vertical line. The first distance and the second distance are determined in advance according to the size of the medium to be read by the medium conveying device 100, and may be the same value.

画像補正部176は、抽出した全ての直線について上記の条件を満たす第1の水平線、第2の水平線、第1の垂直線及び第2の垂直線の全ての組合せを抽出し、抽出した各組合せから構成される矩形候補の中で最も面積が大きい矩形候補を媒体領域として検出する。画像補正部176は、入力画像から媒体領域を切り出した切り出し画像を生成する。即ち、切り出し画像は、入力画像内の各画素の内、媒体が撮像されていない画素が無効画素(例えば白色を示す画素)に置換された画像である。切り出し画像は、入力画像に基づく画像の一例である。 The image correction unit 176 extracts all combinations of the first horizontal line, second horizontal line, first vertical line, and second vertical line that satisfy the above conditions for all extracted straight lines, and detects the rectangular candidate with the largest area among the rectangular candidates formed from each extracted combination as the medium area. The image correction unit 176 generates a cut-out image by cutting out the medium area from the input image. That is, the cut-out image is an image in which, among the pixels in the input image, pixels in which the medium is not captured are replaced with invalid pixels (e.g., pixels that show white). The cut-out image is an example of an image based on the input image.

画像補正部176は、垂直方向に延伸する直線と、媒体領域を構成する第1の垂直線、第2の垂直線、第1の水平線と直交する直線及び第2の水平線と直交する直線のそれぞれとがなす角度の平均値を媒体領域の傾きとして算出する。画像補正部176は、公知の画像処理技術を利用して、切り出し画像を、媒体領域が傾いている方向と逆方向に、算出した傾きの分だけ回転(各画素の座標を変換)させるように補正する。なお、画像補正部176は、切り出し画像でなく、入力画像を、媒体領域が傾いている方向と逆方向に、算出した傾きの分だけ回転させるように補正してもよい。また、画像補正部176は、入力画像内の媒体領域に含まれる各画素を、切り出し画像内の回転後の媒体領域の対応する座標位置に直接配置することにより、入力画像から切り出し画像を生成してもよい。 The image correction unit 176 calculates the average value of the angles between a straight line extending in the vertical direction and each of the first vertical line, the second vertical line, the straight line perpendicular to the first horizontal line, and the straight line perpendicular to the second horizontal line that constitute the medium area as the inclination of the medium area. The image correction unit 176 uses a known image processing technique to correct the cut-out image so as to rotate (convert the coordinates of each pixel) the calculated inclination in the direction opposite to the direction in which the medium area is tilted. Note that the image correction unit 176 may correct the input image, instead of the cut-out image, so as to rotate the input image in the direction opposite to the direction in which the medium area is tilted in the calculated inclination. The image correction unit 176 may also generate a cut-out image from the input image by directly arranging each pixel included in the medium area in the input image at the corresponding coordinate position of the rotated medium area in the cut-out image.

次に、画像取得部175は、入力画像又は切り出し画像を、インタフェース装置152を介して情報処理装置へ送信する(ステップS119)。ステップS118で入力画像又は切り出し画像が補正されている場合、画像取得部175は、補正された入力画像又は切り出し画像を情報処理装置へ送信する。情報処理装置は、利用者からの要求に従って、受信した入力画像又は切り出し画像を表示する。 Next, the image acquisition unit 175 transmits the input image or the cut-out image to the information processing device via the interface device 152 (step S119). If the input image or the cut-out image has been corrected in step S118, the image acquisition unit 175 transmits the corrected input image or the cut-out image to the information processing device. The information processing device displays the received input image or the cut-out image in accordance with a request from the user.

次に、制御部171は、第1センサ111から取得する媒体検出信号に基づいて載置台103に媒体が残っているか否かを判定する(ステップS120)。載置台103に媒体が残っている場合、制御部171は、ステップS104へ処理を戻し、ステップS104~S120の処理を繰り返す。 Next, the control unit 171 determines whether or not a medium remains on the placement table 103 based on the medium detection signal obtained from the first sensor 111 (step S120). If a medium remains on the placement table 103, the control unit 171 returns the process to step S104 and repeats the processes of steps S104 to S120.

一方、載置台103に媒体が残っていない場合、制御部171は、モータ151を停止し(ステップS121)、一連のステップを終了する。 On the other hand, if there is no media remaining on the mounting table 103, the control unit 171 stops the motor 151 (step S121) and ends the series of steps.

なお、選択部173は、媒体のサイズを使用せずに、媒体の傾き量のみに基づいて、給送補正部174による補正と、画像補正部176による補正の内の何れを実行するかを選択してもよい。その場合、ステップS105及びS107の処理が省略され、選択部173は、媒体のサイズに関わらず、ステップS112~S113の処理を実行する。また、ステップS112において、選択部173は、媒体幅に関わらず、式(1)に従って第1変動閾値θCを算出し、式(2)に応じて第2変動閾値θWを算出する。なお、選択部173は、媒体幅に関わらず、式(3)に応じて第1変動閾値θCを算出し、式(4)に応じて第2変動閾値θWを算出してもよい。 The selection unit 173 may select whether to perform correction by the feed correction unit 174 or correction by the image correction unit 176 based only on the amount of tilt of the medium without using the size of the medium. In this case, the processes of steps S105 and S107 are omitted, and the selection unit 173 performs the processes of steps S112 to S113 regardless of the size of the medium. In addition, in step S112, the selection unit 173 calculates the first variation threshold θ C according to formula (1) regardless of the medium width, and calculates the second variation threshold θ W according to formula (2). The selection unit 173 may calculate the first variation threshold θ C according to formula (3) and calculate the second variation threshold θ W according to formula (4) regardless of the medium width.

選択部173は、媒体のサイズを使用しない場合も、媒体を適切に撮像するとともに、媒体の破損が発生しないように媒体の給送を制御することができる。但し、選択部173は、媒体のサイズを使用することにより、媒体をより適切に撮像するとともに、媒体の給送をより適切に制御することが可能となる。 Even if the selection unit 173 does not use the size of the medium, it can properly image the medium and control the feeding of the medium so as not to cause damage to the medium. However, by using the size of the medium, the selection unit 173 can more properly image the medium and more properly control the feeding of the medium.

また、ステップS112において、選択部173は、第2変動閾値θWを算出することなく、第1変動閾値θCを変動閾値として算出してもよい。その場合、選択部173は、ステップS113において、検出部172により検出された傾き量に基づいて、撮像装置118が給送される媒体全体を撮像可能であるか否かを判定する。撮像装置118が給送される媒体全体を撮像可能であると判定した場合、選択部173は、ステップS114において、画像補正部176による補正を実行することを選択する。一方、撮像装置118が給送される媒体全体を撮像できないと判定した場合、選択部173は、ステップS110において、給送補正部174による補正を実行することを選択する。これにより、選択部173は、媒体を適切に撮像することができる。 Also, in step S112, the selection unit 173 may calculate the first variation threshold θ C as the variation threshold without calculating the second variation threshold θ W. In this case, in step S113, the selection unit 173 determines whether or not the imaging device 118 can capture the entire fed medium based on the tilt amount detected by the detection unit 172. If it is determined that the imaging device 118 can capture the entire fed medium, the selection unit 173 selects to execute correction by the image correction unit 176 in step S114. On the other hand, if it is determined that the imaging device 118 cannot capture the entire fed medium, the selection unit 173 selects to execute correction by the feed correction unit 174 in step S110. This allows the selection unit 173 to properly capture the medium.

また、ステップS112において、選択部173は、第1変動閾値θCを算出することなく、第2変動閾値θWを変動閾値として算出してもよい。その場合、選択部173は、ステップS113において、検出部172により検出された傾き量に基づいて、給送される媒体が搬送路の側壁Wに接するか否かを判定する。給送される媒体が搬送路の側壁Wに接しないと判定した場合、選択部173は、ステップS114において、画像補正部176による補正を実行することを選択する。一方、給送される媒体が搬送路の側壁Wに接すると判定した場合、選択部173は、ステップS110において、給送補正部174による補正を実行することを選択する。これにより、選択部173は、媒体の破損が発生しないように媒体の給送を制御することができる。 Also, in step S112, the selection unit 173 may calculate the second variation threshold θ W as the variation threshold without calculating the first variation threshold θ C. In this case, in step S113, the selection unit 173 determines whether or not the fed medium contacts the side wall W of the transport path based on the amount of tilt detected by the detection unit 172. If it is determined that the fed medium does not contact the side wall W of the transport path, the selection unit 173 selects to execute correction by the image correction unit 176 in step S114. On the other hand, if it is determined that the fed medium contacts the side wall W of the transport path, the selection unit 173 selects to execute correction by the feed correction unit 174 in step S110. This allows the selection unit 173 to control the feeding of the medium so that damage to the medium does not occur.

また、第2センサ115として、光学センサ114と同様の光学センサが使用されてもよい。その場合、ステップS105において、検出部172は、複数の第2センサ115から移動信号を取得し、取得した移動信号に基づいて、媒体が各第2センサ115の位置に存在するか否かを判定する。検出部172は、移動信号に示される移動速度が非0の値である場合、第2センサ115の位置に媒体が存在すると判定し、媒体搬送中(モータ駆動中)であり且つ移動速度が0である場合、第2センサ115の位置に媒体が存在しないと判定する。 Also, an optical sensor similar to optical sensor 114 may be used as second sensor 115. In this case, in step S105, detection unit 172 acquires movement signals from multiple second sensors 115 and determines whether or not a medium is present at the position of each second sensor 115 based on the acquired movement signals. If the movement speed indicated in the movement signal is a non-zero value, detection unit 172 determines that a medium is present at the position of second sensor 115, and if the medium is being transported (motor is being driven) and the movement speed is 0, it determines that a medium is not present at the position of second sensor 115.

以上詳述したように、媒体搬送装置100は、給送される媒体の傾き量に基づいて、給送ローラ112による物理的な媒体の傾きの補正と、画像処理による媒体の傾きの補正の内の何れを実行するかを選択する。媒体搬送装置100は、給送される媒体の傾き量を用いることにより、媒体の傾きを物理的に補正すべきか、画像処理により補正すべきかを適切に判定できる。したがって、媒体搬送装置100は、媒体が傾いて搬送された場合に、媒体の搬送をより適切に制御することが可能となった。 As described above in detail, the medium conveying device 100 selects whether to perform physical correction of the medium tilt using the feed roller 112 or correction of the medium tilt using image processing based on the amount of tilt of the medium being fed. By using the amount of tilt of the medium being fed, the medium conveying device 100 can appropriately determine whether the tilt of the medium should be corrected physically or by image processing. Therefore, the medium conveying device 100 is able to more appropriately control the conveyance of the medium when the medium is conveyed tilted.

特に、媒体搬送装置100は、媒体の物理的な給送制御を変更する必要がない場合は画像処理により媒体の傾きを補正し、媒体の物理的な給送制御を変更する必要がある場合に限り、物理的に媒体の傾きを補正する。したがって、媒体搬送装置100は、薄紙のようなコシの弱い媒体が搬送された場合等に、媒体に負荷をかけて破損させる危険性を低減させることが可能となった。 In particular, the medium conveying device 100 corrects the inclination of the medium through image processing when there is no need to change the physical feeding control of the medium, and physically corrects the inclination of the medium only when there is a need to change the physical feeding control of the medium. Therefore, the medium conveying device 100 can reduce the risk of damaging the medium by putting stress on it when a weak medium such as thin paper is being conveyed.

図10は、他の実施形態に係る媒体搬送装置における処理回路270の概略構成を示す図である。処理回路270は、媒体搬送装置100の処理回路170の代わりに使用され、処理回路170の代わりに、媒体読取処理等を実行する。処理回路270は、制御回路271、検出回路272、選択回路273、給送補正回路274、画像取得回路275及び画像補正回路276等を有する。なお、これらの各部は、それぞれ独立した集積回路、マイクロプロセッサ、ファームウェア等で構成されてもよい。 Figure 10 is a diagram showing a schematic configuration of a processing circuit 270 in a medium conveying device according to another embodiment. The processing circuit 270 is used in place of the processing circuit 170 of the medium conveying device 100, and executes media reading processing and the like in place of the processing circuit 170. The processing circuit 270 has a control circuit 271, a detection circuit 272, a selection circuit 273, a feed correction circuit 274, an image acquisition circuit 275, an image correction circuit 276, and the like. Each of these components may be composed of an independent integrated circuit, microprocessor, firmware, and the like.

制御回路271は、制御部の一例であり、制御部171と同様の機能を有する。制御回路271は、操作装置105から操作信号を、第1センサ111から第1媒体信号を受信し、受信した各信号に応じてモータ151を駆動し、媒体の給送及び搬送を制御する。 The control circuit 271 is an example of a control unit, and has the same functions as the control unit 171. The control circuit 271 receives an operation signal from the operation device 105 and a first medium signal from the first sensor 111, and drives the motor 151 in response to each received signal to control the feeding and transport of the medium.

検出回路272は、検出部の一例であり、検出部172と同様の機能を有する。検出回路272は、光学センサ114から移動信号を、第2センサ115から第2媒体信号を受信し、受信した各信号に基づいて媒体の傾き量及びサイズを検出し、検出結果を記憶装置160に記憶する。 The detection circuit 272 is an example of a detection unit, and has the same function as the detection unit 172. The detection circuit 272 receives a movement signal from the optical sensor 114 and a second medium signal from the second sensor 115, detects the amount of tilt and size of the medium based on the received signals, and stores the detection results in the storage device 160.

選択回路273は、選択部の一例であり、選択部173と同様の機能を有する。選択回路273は、記憶装置160から媒体の傾き量及びサイズの検出結果を読み出し、読み出した検出結果に基づいて給送補正回路274による補正と、画像補正回路276による補正の内の何れを実行するかを選択し、選択結果を記憶装置160に記憶する。 The selection circuit 273 is an example of a selection unit, and has the same function as the selection unit 173. The selection circuit 273 reads the detection results of the amount of tilt and size of the medium from the storage device 160, selects whether to perform correction by the feed correction circuit 274 or correction by the image correction circuit 276 based on the detection results that have been read, and stores the selection result in the storage device 160.

給送補正回路274は、給送補正部の一例であり、給送補正部174と同様の機能を有する。給送補正回路274は、記憶装置160から選択結果を読み出し、給送補正回路274による補正が選択されている場合に、複数の給送ローラ112の周速度を相互に異ならせるようにモータ151を制御することにより媒体の傾きを補正する。 The feed correction circuit 274 is an example of a feed correction unit, and has the same function as the feed correction unit 174. The feed correction circuit 274 reads the selection result from the storage device 160, and when correction by the feed correction circuit 274 is selected, corrects the inclination of the medium by controlling the motor 151 so that the peripheral speeds of the multiple feed rollers 112 are different from each other.

画像取得回路275は、画像取得部の一例であり、画像取得部175と同様の機能を有する。画像取得回路275は、撮像装置118から入力画像を受信し、記憶装置160に記憶する。また、画像取得回路275は、記憶装置160から入力画像又は切り出し画像を読み出し、インタフェース装置152を介して情報処理装置へ送信する。 The image acquisition circuit 275 is an example of an image acquisition unit, and has the same functions as the image acquisition unit 175. The image acquisition circuit 275 receives an input image from the imaging device 118 and stores it in the storage device 160. The image acquisition circuit 275 also reads out the input image or the cut-out image from the storage device 160 and transmits it to the information processing device via the interface device 152.

画像補正回路276は、補正部の一例であり、画像補正部176と同様の機能を有する。画像補正回路276は、記憶装置160から選択結果を読み出し、画像補正回路276による補正が選択されている場合に、記憶装置160から入力画像を読み出す。画像補正回路276は、入力画像又は切り出し画像に対する画像処理により媒体の傾きを補正し、補正した画像を記憶装置160に記憶する。 The image correction circuit 276 is an example of a correction unit, and has the same function as the image correction unit 176. The image correction circuit 276 reads the selection result from the storage device 160, and if correction by the image correction circuit 276 is selected, it reads the input image from the storage device 160. The image correction circuit 276 corrects the tilt of the medium by image processing of the input image or the cut-out image, and stores the corrected image in the storage device 160.

以上詳述したように、媒体搬送装置は、処理回路270を用いる場合においても、媒体が傾いて搬送された場合に、媒体の搬送をより適切に制御することが可能となった。 As described above in detail, the media conveying device is now able to more appropriately control the conveyance of the media when the media is conveyed at an angle, even when using the processing circuit 270.

100 媒体搬送装置
112 給送ローラ
114 光学センサ
115 第2センサ
116 第1搬送ローラ
117 第2搬送ローラ
118 撮像装置
172 検出部
173 選択部
174 給送補正部
176 画像補正部
REFERENCE SIGNS LIST 100 Medium conveying device 112 Feeding roller 114 Optical sensor 115 Second sensor 116 First conveying roller 117 Second conveying roller 118 Imaging device 172 Detection section 173 Selection section 174 Feeding correction section 176 Image correction section

Claims (8)

媒体搬送方向と直交する方向に間隔を空けて配置され、それぞれ独立に回転して媒体を給送する複数の給送ローラと、
給送される媒体を撮像して入力画像を生成する撮像部と、
給送される媒体の傾き量及び幅方向のサイズを検出する検出部と、
前記複数の給送ローラの周速度を相互に異ならせることにより媒体の傾きを補正する給送補正部と、
前記入力画像又は前記入力画像に基づく画像に対する画像処理により媒体の傾きを補正する画像補正部と、
前記検出部により検出された傾き量を閾値と比較することにより、前記給送補正部による補正と、前記画像補正部による補正の内の何れを実行するかを選択する選択部と、を有し、
前記選択部は、前記検出部により検出された幅方向のサイズに応じて、前記閾値を変更する、
ことを特徴とする媒体搬送装置。
A plurality of feed rollers arranged at intervals in a direction perpendicular to the medium transport direction and each of which rotates independently to feed the medium;
an imaging unit that captures an image of the medium being fed and generates an input image;
a detection unit that detects the amount of inclination and the width size of the medium being fed;
a feeding correction unit that corrects a skew of the medium by making the peripheral speeds of the plurality of feeding rollers different from one another;
an image correction unit that corrects a tilt of a medium by image processing on the input image or an image based on the input image;
a selection unit that selects whether the correction by the feed correction unit or the correction by the image correction unit is to be performed by comparing the amount of tilt detected by the detection unit with a threshold value,
The selection unit changes the threshold value in accordance with the width direction size detected by the detection unit.
A medium transport device comprising:
前記選択部は、
前記検出部により検出された傾き量を前記閾値と比較することにより、前記撮像部が給送される媒体全体を撮像可能であるか否かを判定し、
前記撮像部が給送される媒体全体を撮像可能であると判定した場合、前記画像補正部による補正を実行することを選択し、
前記撮像部が給送される媒体全体を撮像できないと判定した場合、前記給送補正部による補正を実行することを選択する、請求項1に記載の媒体搬送装置。
The selection unit is
determining whether or not the imaging unit is capable of imaging the entire medium being fed by comparing the amount of tilt detected by the detection unit with the threshold value;
When it is determined that the imaging unit can image the entire medium being fed, a selection is made to execute correction by the image correction unit;
The medium conveying device according to claim 1 , wherein, when it is determined that the imaging section cannot capture an image of the entire medium being fed, a selection is made to execute correction by the feeding correction section.
前記選択部は、
前記検出部により検出された傾き量を前記閾値と比較することにより、給送される媒体が搬送路の側壁に接するか否かを判定し、
給送される媒体が搬送路の側壁に接しないと判定した場合、前記画像補正部による補正を実行することを選択し、
給送される媒体が搬送路の側壁に接すると判定した場合、前記給送補正部による補正を実行することを選択する、請求項1に記載の媒体搬送装置。
The selection unit is
determining whether the medium being fed comes into contact with a side wall of the transport path by comparing the amount of tilt detected by the detection unit with the threshold value;
When it is determined that the medium being fed does not contact a side wall of the transport path, a correction is selected to be performed by the image correction unit;
The medium transport device according to claim 1 , further comprising a step of selecting execution of correction by the transport correction unit when it is determined that the medium being transported will come into contact with a side wall of the transport path.
媒体搬送方向において前記給送ローラと前記撮像部の間に配置され、且つ、媒体搬送方向及び媒体搬送方向と直交する方向における媒体の移動を検出する光学センサをさらに有し、
前記検出部は、前記光学センサによる検出結果に基づいて、給送される媒体の傾き量を検出する、請求項1~3の何れか一項に記載の媒体搬送装置。
an optical sensor disposed between the feed roller and the imaging unit in a medium transport direction and configured to detect movement of the medium in the medium transport direction and in a direction perpendicular to the medium transport direction;
4. The medium transport device according to claim 1, wherein the detection unit detects an amount of tilt of the medium being fed based on a detection result by the optical sensor.
媒体搬送方向において前記給送ローラの下流側に配置され、前記給送ローラによって給送された媒体を前記撮像部に搬送する搬送ローラをさらに有し、
前記給送補正部は、給送される媒体の先端が前記搬送ローラの位置に到達する前に、媒体の傾きを補正する、請求項1~4の何れか一項に記載の媒体搬送装置。
a conveying roller disposed downstream of the feeding roller in a medium conveying direction and configured to convey the medium fed by the feeding roller to the imaging unit;
5. The medium transport device according to claim 1, wherein the transport correction unit corrects a skew of the medium before a leading edge of the medium being transported reaches a position of the transport roller.
媒体搬送方向と直交する方向において間隔を空けて配置された複数の媒体センサをさらに有し、
前記検出部は、前記複数の媒体センサによる検出結果に基づいて、給送される媒体の幅方向のサイズを検出する、請求項1~5の何れか一項に記載の媒体搬送装置。
a plurality of media sensors arranged at intervals in a direction perpendicular to the media transport direction;
6. The medium transport device according to claim 1, wherein the detection unit detects a width direction size of the medium being fed based on detection results from the plurality of medium sensors.
媒体搬送方向と直交する方向に間隔を空けて配置され、それぞれ独立に回転して媒体を給送する複数の給送ローラと、給送される媒体を撮像して入力画像を生成する撮像部と、を有する媒体搬送装置の制御方法であって、
給送される媒体の傾き量及び幅方向のサイズを検出し、
前記検出された傾き量を閾値と比較することにより、前記複数の給送ローラの周速度を相互に異ならせることによる媒体の傾きの補正と、前記入力画像又は前記入力画像に基づく画像に対する画像処理による媒体の傾きの補正の内の何れを実行するかを選択する、ことを含み、
前記選択において、前記検出された幅方向のサイズに応じて、前記閾値を変更する、
ことを特徴とする制御方法。
A method for controlling a medium transport device having a plurality of feed rollers arranged at intervals in a direction perpendicular to a medium transport direction and each of which rotates independently to transport a medium, and an imaging unit which captures an image of the medium being transported to generate an input image, comprising the steps of:
Detecting the amount of inclination and the width size of the medium being fed,
and selecting whether to perform correction of the skew of the medium by making the peripheral speeds of the plurality of feed rollers different from each other or correction of the skew of the medium by image processing of the input image or an image based on the input image by comparing the detected amount of skew with a threshold value;
In the selection, the threshold value is changed according to the detected width direction size.
A control method comprising:
媒体搬送方向と直交する方向に間隔を空けて配置され、それぞれ独立に回転して媒体を給送する複数の給送ローラと、給送される媒体を撮像して入力画像を生成する撮像部と、を有する媒体搬送装置の制御プログラムであって、
給送される媒体の傾き量及び幅方向のサイズを検出し、
前記検出された傾き量を閾値と比較することにより、前記複数の給送ローラの周速度を相互に異ならせることによる媒体の傾きの補正と、前記入力画像又は前記入力画像に基づく画像に対する画像処理による媒体の傾きの補正の内の何れを実行するかを選択する、ことを前記媒体搬送装置に実行させ、
前記選択において、前記検出された幅方向のサイズに応じて、前記閾値を変更する、
ことを特徴とする制御プログラム。
A control program for a medium transport device having a plurality of feed rollers arranged at intervals in a direction perpendicular to a medium transport direction and each of which rotates independently to transport a medium, and an imaging unit which captures an image of the medium being transported to generate an input image, the control program comprising:
Detecting the amount of inclination and the width size of the medium being fed,
causing the medium transport device to select whether to perform a correction of the medium tilt by making the peripheral speeds of the plurality of feed rollers different from each other or a correction of the medium tilt by image processing of the input image or an image based on the input image by comparing the detected amount of tilt with a threshold value;
In the selection, the threshold value is changed according to the detected width direction size.
A control program comprising:
JP2020105552A 2020-06-18 2020-06-18 MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM Active JP7565712B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020105552A JP7565712B2 (en) 2020-06-18 2020-06-18 MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020105552A JP7565712B2 (en) 2020-06-18 2020-06-18 MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM

Publications (2)

Publication Number Publication Date
JP2021197715A JP2021197715A (en) 2021-12-27
JP7565712B2 true JP7565712B2 (en) 2024-10-11

Family

ID=79196070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020105552A Active JP7565712B2 (en) 2020-06-18 2020-06-18 MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM

Country Status (1)

Country Link
JP (1) JP7565712B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2023131991A1 (en) * 2022-01-04 2023-07-13

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004131190A (en) 2002-10-08 2004-04-30 Ricoh Co Ltd Skew correction apparatus and image forming apparatus
JP2011071763A (en) 2009-09-25 2011-04-07 Canon Inc Image processing apparatus, method of controlling the same, and program
JP2013146034A (en) 2012-01-16 2013-07-25 Fuji Xerox Co Ltd Image reading device and image forming device
JP2015162724A (en) 2014-02-26 2015-09-07 富士ゼロックス株式会社 Image reading apparatus and copy machine
JP2016001795A (en) 2014-06-11 2016-01-07 キヤノン株式会社 Control device, control method, and program
JP2017075053A (en) 2015-10-13 2017-04-20 キヤノン株式会社 Image forming system
JP2017197320A (en) 2016-04-26 2017-11-02 パナソニックIpマネジメント株式会社 Image reading apparatus, skew correction control method and skew correction control program
JP2020005069A (en) 2018-06-26 2020-01-09 キヤノン株式会社 Image reading device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004131190A (en) 2002-10-08 2004-04-30 Ricoh Co Ltd Skew correction apparatus and image forming apparatus
JP2011071763A (en) 2009-09-25 2011-04-07 Canon Inc Image processing apparatus, method of controlling the same, and program
JP2013146034A (en) 2012-01-16 2013-07-25 Fuji Xerox Co Ltd Image reading device and image forming device
JP2015162724A (en) 2014-02-26 2015-09-07 富士ゼロックス株式会社 Image reading apparatus and copy machine
JP2016001795A (en) 2014-06-11 2016-01-07 キヤノン株式会社 Control device, control method, and program
JP2017075053A (en) 2015-10-13 2017-04-20 キヤノン株式会社 Image forming system
JP2017197320A (en) 2016-04-26 2017-11-02 パナソニックIpマネジメント株式会社 Image reading apparatus, skew correction control method and skew correction control program
JP2020005069A (en) 2018-06-26 2020-01-09 キヤノン株式会社 Image reading device

Also Published As

Publication number Publication date
JP2021197715A (en) 2021-12-27

Similar Documents

Publication Publication Date Title
JP7633366B2 (en) DOUBLE FEED DETECTION DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
US12024395B2 (en) Medium transport device, control method, and control program
US20210253387A1 (en) Medium conveying apparatus for determining conveyance abnormality based on determination result of floating and skew of medium
JP7333733B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD AND CONTROL PROGRAM
JP7565712B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
JP2024177422A (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
JP7258700B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD AND CONTROL PROGRAM
JP7467694B2 (en) Image reading device, control method and control program
JP7349585B2 (en) Media transport device, control method and control program
US12234119B2 (en) Medium conveying apparatus to correct skew of medium using second roller while moving first roller to be spaced apart from medium
US11050890B1 (en) Medium conveying apparatus for determining conveyance abnormality based on images acquired by changing backing member
JP7653797B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
JP7653792B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
JP7478627B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
JP6684736B2 (en) Paper transport device, control method, and control program
JP7453423B2 (en) Media transport device, control method and control program
US20240343522A1 (en) Media ejecting apparatus, control method, and non-transitory computer-executable medium
JP7337727B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD AND CONTROL PROGRAM
JP7583648B2 (en) MEDIUM CONVEYING DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
US11891266B2 (en) Medium conveying apparatus to determine whether multi-feed has occurred based on whether outer shape of object area in input image is rectangular
JP7527923B2 (en) Image reader
US20240132314A1 (en) Medium conveyance apparatus to determine whether tilt angle of medium has changed based on time from when any sensor detects medium to when another sensor detects medium
JP2022165199A (en) Medium discharge device, control method and control program
JP2024159138A (en) MEDIUM CONVEYING DEVICE, IMAGE PROCESSING SYSTEM, MEDIUM CONVEYING METHOD, AND CONTROL PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240718

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241001

R150 Certificate of patent or registration of utility model

Ref document number: 7565712

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150