[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2018205239A - Transfer amount detector and recording medium - Google Patents

Transfer amount detector and recording medium Download PDF

Info

Publication number
JP2018205239A
JP2018205239A JP2017113563A JP2017113563A JP2018205239A JP 2018205239 A JP2018205239 A JP 2018205239A JP 2017113563 A JP2017113563 A JP 2017113563A JP 2017113563 A JP2017113563 A JP 2017113563A JP 2018205239 A JP2018205239 A JP 2018205239A
Authority
JP
Japan
Prior art keywords
light
image
distance
recording medium
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017113563A
Other languages
Japanese (ja)
Inventor
面 眞一
Shinichi Men
眞一 面
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017113563A priority Critical patent/JP2018205239A/en
Publication of JP2018205239A publication Critical patent/JP2018205239A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

To provide a transfer amount detector that can accurately detect the transfer amount of a recording target medium while suppressing increase in the size and cost.SOLUTION: Light sources 1 and 2 and a collimator lens emit a first light and a second light to a recording target medium being carried. An imaging sensor 5 takes an image of the recording target medium and obtains the image, using light from the recording target medium according to the first light and the second light. The pattern matching unit 17 detects the transfer amount of the recording target medium, using a first partial image according to the first light contained in the taken image. A distance detection unit 60 detects a medium distance between the imaging means and the recording target medium, using a second image according to the second light contained in the taken image. A correction unit 21 corrects the transfer amount based on the medium distance.SELECTED DRAWING: Figure 6

Description

本発明は、被記録媒体の搬送量を検出する搬送量検出装置および記録装置に関する。   The present invention relates to a conveyance amount detection apparatus and a recording apparatus that detect a conveyance amount of a recording medium.

被記録媒体に記録を行う記録装置には、所定の記録幅(例えば、1インチ幅)分の画像を記録可能な記録ヘッドを備え、記録ヘッドが記録動作を行う度に、被記録媒体を記録幅分搬送するシリアル記録方式のものがある。シリアル記録方式の記録装置では、被記録媒体を搬送する搬送ローラ上での被記録媒体のスリップや、被記録媒体の材質や厚みなどの条件の違いなどのために、実際に搬送された搬送量が指定値からずれてしまうことがある。この場合、各記録動作で記録される画像の境界部分にスジが形成され、画像の画質が低下してしまう。例えば、実際の搬送量が指定値よりも短い場合、各記録動作で記録される画像の境界部分で各画像が重なり合い、濃いスジが形成される。また、実際の搬送量が指定値よりも長い場合、各記録動作で記録される画像の境界部分に隙間が生じ、薄いスジが形成される。
このため、記録装置には、所望の画質に応じて、記録幅分の画像を1回の記録動作で記録する1パスモードと、記録幅分の画像を複数回の記録動作に分割して記録するマルチパスモードとを切り替えるものが知られている。マルチパスモードでは、記録幅よりも短い搬送量で被記録媒体を複数回搬送させることで、1回当たりの搬送量のずれを低減することが可能であるため、画像の境界部分に生じるスジを軽減することができる。
しかしながら、マルチパスモードでは記録時間が長くなるため、被記録媒体の搬送量を調整して、記録動作の回数を減らすことが求められている。このためには、搬送量を検出することが必要となる。
特許文献1には、搬送量を検出することが可能な記録装置が開示されている。この記録装置は、被記録媒体を搬送するたびに被記録媒体を撮像し、その撮像画像に映る特徴部分を搬送前後で比較することで搬送量を検出する。また、この記録装置では、被記録媒体の浮きや歪みなどのために、撮像を行う撮像部と被記録媒体との間の媒体距離が変動することがある。この場合、撮像部に光を結像させる結像光学系による結像倍率が変化し、その結果、搬送量の検出誤差が大きくなってしまう。このため、この記録装置では、複数の結像光学系を用いて被記録媒体上の同一の領域を撮像し、各結像光学系に対応する複数の撮像画像を比較することで、媒体距離の変動によって生じる検出誤差を低減させている。
A recording apparatus for recording on a recording medium includes a recording head capable of recording an image for a predetermined recording width (for example, 1 inch width), and records the recording medium every time the recording head performs a recording operation. There is a serial recording system that conveys the width. In a serial recording type recording apparatus, the actual transport amount transported due to slipping of the recording medium on the transport roller that transports the recording medium, or due to differences in conditions such as the material and thickness of the recording medium May deviate from the specified value. In this case, streaks are formed at the boundary portion of the image recorded in each recording operation, and the image quality of the image is degraded. For example, when the actual transport amount is shorter than a specified value, the images overlap at the boundary portion of the image recorded by each recording operation, and a dark streak is formed. When the actual transport amount is longer than the specified value, a gap is generated at the boundary portion of the image recorded by each recording operation, and a thin stripe is formed.
For this reason, the recording apparatus divides the image for the recording width into one recording operation and records the recording width for a plurality of recording operations in accordance with the desired image quality. What switches the multipath mode to perform is known. In the multi-pass mode, it is possible to reduce the deviation of the conveyance amount per time by conveying the recording medium a plurality of times with a conveyance amount shorter than the recording width. Can be reduced.
However, since the recording time becomes long in the multi-pass mode, it is required to adjust the transport amount of the recording medium to reduce the number of recording operations. For this purpose, it is necessary to detect the transport amount.
Patent Document 1 discloses a recording apparatus capable of detecting a conveyance amount. The recording apparatus captures a recording medium every time the recording medium is transported, and detects a transport amount by comparing a characteristic portion shown in the captured image before and after the transport. Further, in this recording apparatus, the medium distance between the imaging unit that performs imaging and the recording medium may vary due to floating or distortion of the recording medium. In this case, the imaging magnification by the imaging optical system that forms an image on the imaging unit changes, and as a result, the detection error of the carry amount becomes large. For this reason, in this recording apparatus, the same area on the recording medium is imaged using a plurality of imaging optical systems, and a plurality of captured images corresponding to each imaging optical system are compared, so that Detection errors caused by fluctuations are reduced.

特許5171486号公報Japanese Patent No. 5171486

しかしながら、特許文献1に記載の記録装置では、複数の結像光学系が必要となるため、大型化とコストの増加を招くという問題がある。また、結像光学系の代わりに、結像倍率の変化を抑制できるテレセントリック光学系を用いることも考えられる。しかしながら、テレセントリック光学系は高価であり、比較的長い鏡筒が必要となるため、この場合でも、大型化とコストの増加を招くという問題がある。   However, the recording apparatus described in Patent Document 1 requires a plurality of imaging optical systems, and thus has a problem of increasing the size and cost. It is also conceivable to use a telecentric optical system that can suppress a change in the imaging magnification instead of the imaging optical system. However, the telecentric optical system is expensive and requires a relatively long lens barrel. Even in this case, there is a problem in that the size and cost increase.

本発明は、上記の問題を鑑みてなされたものであり、大型化とコストの増加を抑制しつつ、被記録媒体の搬送量を精度良く検出することが可能な搬送量検出装置および記録を提供することを目的とする。   The present invention has been made in view of the above problems, and provides a conveyance amount detection apparatus and recording capable of accurately detecting the conveyance amount of a recording medium while suppressing an increase in size and cost. The purpose is to do.

本発明による搬送量検出装置は、搬送されている被記録媒体に対して第1および第2の光を照射する照射手段と、前記照射手段が照射した第1および第2の光に応じた前記被記録媒体からの光を用いて、前記被記録媒体を撮像して撮像画像を取得する撮像手段と、前記撮像画像に含まれる前記第1の光に応じた第1の画像を用いて、前記被記録媒体の搬送量を検出する検出手段と、前記撮像画像に含まれる前記第2の光に応じた第2の画像を用いて、前記撮像手段と前記被記録媒体との間の距離を検出する距離検出手段と、前記搬送量を前記距離に基づいて補正する補正手段と、を備えることを特徴とする。
また、本発明による記録装置は、前記搬送量検出装置と、前記被記録媒体を搬送する搬送手段と、前記搬送量検出装置にて補正された搬送量に基づいて、前記搬送手段による前記被記録媒体の搬送量を調整する記録制御手段と、を備えることを特徴とする。
また、本発明による別の記録装置は、前記搬送量検出装置と、前記被記録媒体を搬送する搬送手段と、記録データに基づいて前記被記録媒体に記録を行う記録手段と、前記搬送量検出装置にて補正された搬送量に基づいて、前記記録データを補正する記録制御手段と、を備えることを特徴とする。
The conveyance amount detection device according to the present invention includes an irradiation unit that irradiates the recording medium being conveyed with first and second light, and the first and second light that is irradiated by the irradiation unit. An imaging unit that captures an image of the recording medium by using light from the recording medium to obtain a captured image, and a first image corresponding to the first light included in the captured image, A distance between the imaging unit and the recording medium is detected by using a detection unit that detects a conveyance amount of the recording medium and a second image corresponding to the second light included in the captured image. And a correction unit that corrects the transport amount based on the distance.
Further, the recording apparatus according to the present invention includes the transport amount detection device, a transport unit that transports the recording medium, and the recording target by the transport unit based on the transport amount corrected by the transport amount detection device. And a recording control means for adjusting the transport amount of the medium.
Another recording apparatus according to the present invention includes the conveyance amount detection device, a conveyance unit that conveys the recording medium, a recording unit that records on the recording medium based on recording data, and the conveyance amount detection. Recording control means for correcting the recording data based on the transport amount corrected by the apparatus.

本発明によれば、第1の光に応じた第1の画像を用いて検出された搬送量が、第2の光に応じた第2の画像を用いて検出された、撮像手段と被記録媒体との間の距離に基づいて補正される。したがって、複数の結像光学系を用いなくても、被記録媒体の搬送量を撮像手段と被記録媒体との間の距離に基づいて補正することが可能になるため、大型化とコストの増加を抑制しつつ、被記録媒体の搬送量を精度良く検出することが可能になる。   According to the present invention, the image pickup means and the recorded image in which the carry amount detected using the first image corresponding to the first light is detected using the second image corresponding to the second light Correction is performed based on the distance to the medium. Therefore, it is possible to correct the transport amount of the recording medium based on the distance between the image pickup means and the recording medium without using a plurality of imaging optical systems, thereby increasing the size and cost. It is possible to detect the transport amount of the recording medium with high accuracy while suppressing the above.

本発明の第1の実施形態の記録装置の外観を示す斜視図である。1 is a perspective view illustrating an appearance of a recording apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態の記録装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a recording apparatus according to a first embodiment of the present invention. 搬送量センサの構成を示す図である。It is a figure which shows the structure of a conveyance amount sensor. 搬送量センサによる移動量検出動作を説明するための図である。It is a figure for demonstrating the movement amount detection operation | movement by a conveyance amount sensor. 搬送量センサによる距離検出動作を説明するための図である。It is a figure for demonstrating the distance detection operation | movement by a conveyance amount sensor. 本発明の第1の実施形態の搬送量検出装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conveyance amount detection apparatus of the 1st Embodiment of this invention. 補正係数テーブルの一例を示す図である。It is a figure which shows an example of a correction coefficient table. 本発明の第1の実施形態の搬送量検出装置の動作の一例を説明するための図である。It is a figure for demonstrating an example of operation | movement of the conveyance amount detection apparatus of the 1st Embodiment of this invention. 本発明の第1の実施形態の搬送量検出装置の動作の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of operation | movement of the conveyance amount detection apparatus of the 1st Embodiment of this invention. 本発明の第2の実施形態の搬送量検出装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conveyance amount detection apparatus of the 2nd Embodiment of this invention. 本発明の第2の実施形態の搬送量検出装置の動作の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of operation | movement of the conveyance amount detection apparatus of the 2nd Embodiment of this invention.

以下、本発明の実施形態について図面を参照して説明する。なお、各図面において同じ機能を有するものには同じ符号を付け、その説明を省略する場合がある。
(第1の実施形態)
図1は、本発明の第1の実施形態の記録装置の外観を示す斜視図である。図1に示す記録装置100は、インクなどの液体を吐出する記録ヘッド101と、記録ヘッド101を備えたキャリッジ102と、記録ヘッド101に供給する液体を貯留するタンク103と、被記録媒体Pが給紙される給紙機構104とを備える。
記録ヘッド101は、液体を吐出するエネルギーを発生させるエネルギー発生素子として、熱エネルギーを発生させるヒータ(図示せず)を備え、ホスト装置(図1では、図示せず)から入力される論理信号に従ってヒータを駆動して液体を吐出する。また、記録ヘッド101は、1回の記録動作で所定の記録幅(例えば、1インチ幅)の画像を記録可能である。論理信号は、例えば、記録する画像を示す記録データなどを含む。
キャリッジ102は、図中の矢印で示した走査方向Aに往復移動可能である。キャリッジ102が往復移動する走査方向Aと、被記録媒体Pが搬送される方向とは、互いに交差(望ましくは直交)する。液体を吐出して画像を記録する記録動作では、記録装置100は、キャリッジ102を走査方向Aに往復移動させながら、記録ヘッド101から液体を吐出させる。そして記録装置100は、液体の吐出に合わせて、被記録媒体Pを搬送させることで、被記録媒体Pに画像を記録する。
タンク103は、キャリッジ102に対して着脱可能である。本実施形態では、カラー画像を記録するために、タンク103は、液体として複数の色のインクを貯留する。具体的には、タンク103には、マゼンタ(M)、シアン(C)、イエロ(Y)およびブラック(K)のそれぞれのインクを収容する4つのタンクがあり、各タンクが独立して着脱可能である。
また、記録装置100は、被記録媒体Pの搬送量を検出するための搬送量センサ105を備える。図の例では、搬送量センサ105は、被記録媒体Pの記録面側とは反対側に設けているが、被記録媒体Pの記録面側に設けられてもよい。
Embodiments of the present invention will be described below with reference to the drawings. In addition, in each drawing, the same code | symbol is attached | subjected to what has the same function, and the description may be abbreviate | omitted.
(First embodiment)
FIG. 1 is a perspective view showing the appearance of the recording apparatus according to the first embodiment of the present invention. A recording apparatus 100 shown in FIG. 1 includes a recording head 101 that ejects liquid such as ink, a carriage 102 that includes the recording head 101, a tank 103 that stores liquid to be supplied to the recording head 101, and a recording medium P. A paper feeding mechanism 104 for feeding paper.
The recording head 101 includes a heater (not shown) that generates thermal energy as an energy generating element that generates energy for ejecting liquid, and according to a logic signal input from a host device (not shown in FIG. 1). The heater is driven to discharge the liquid. Further, the recording head 101 can record an image having a predetermined recording width (for example, 1 inch width) by one recording operation. The logic signal includes, for example, recording data indicating an image to be recorded.
The carriage 102 can reciprocate in the scanning direction A indicated by the arrow in the drawing. The scanning direction A in which the carriage 102 reciprocates and the direction in which the recording medium P is conveyed intersect each other (preferably orthogonally). In a recording operation in which an image is recorded by ejecting liquid, the recording apparatus 100 ejects liquid from the recording head 101 while reciprocating the carriage 102 in the scanning direction A. The recording apparatus 100 records the image on the recording medium P by transporting the recording medium P in accordance with the ejection of the liquid.
The tank 103 can be attached to and detached from the carriage 102. In this embodiment, in order to record a color image, the tank 103 stores a plurality of colors of ink as liquids. Specifically, the tank 103 has four tanks for storing magenta (M), cyan (C), yellow (Y), and black (K) inks, and each tank can be attached and detached independently. It is.
Further, the recording apparatus 100 includes a conveyance amount sensor 105 for detecting the conveyance amount of the recording medium P. In the illustrated example, the transport amount sensor 105 is provided on the side opposite to the recording surface side of the recording medium P, but may be provided on the recording surface side of the recording medium P.

図2は、記録装置100の制御系の構成を示すブロック図である。図2に示すように記録装置100は、記録ヘッド101と、被記録媒体Pを搬送する搬送手段である搬送モータ201と、搬送モータ201を制御する搬送モータドライバ202とを備える。また、記録装置100は、キャリッジ102を駆動するキャリッジモータ203と、キャリッジモータ203を制御するキャリッジモータドライバ204と、ホスト装置200と通信可能に接続するインタフェース部205とを備える。インタフェース部205は、例えば、ホスト装置200から論理信号を受信する。
さらに、記録装置100は、スイッチ群210と、センサ群220と、コントローラ230とを備える。スイッチ群210は、ユーザからの指示を受け付けてスイッチ信号として出力する複数のスイッチを含む。スイッチ群210は、図の例では、スイッチとして、記録装置100に電力の投入するための電源スイッチ211と、記録動作の開始を指示するためのプリントスイッチ212と、回復処理の実行を指示するための回復スイッチ213を含む。回復処理は、記録ヘッド101の吐出性能を良好な状態に維持するための処理である。
センサ群220は、記録装置100の状態を検出して検出信号を出力する複数のセンサを含む。センサ群220は、図の例では、搬送量センサ105と、記録装置100の温度を検出する温度センサ221とを含む。また、センサ群220は、図1に示したタンク103内の液体の残量を検出するフォトセンサ(図示せず)などを含んでもよい。
FIG. 2 is a block diagram showing the configuration of the control system of the recording apparatus 100. As shown in FIG. 2, the recording apparatus 100 includes a recording head 101, a transport motor 201 that is a transport unit that transports the recording medium P, and a transport motor driver 202 that controls the transport motor 201. The recording apparatus 100 also includes a carriage motor 203 that drives the carriage 102, a carriage motor driver 204 that controls the carriage motor 203, and an interface unit 205 that is communicably connected to the host apparatus 200. The interface unit 205 receives a logic signal from the host device 200, for example.
Furthermore, the recording apparatus 100 includes a switch group 210, a sensor group 220, and a controller 230. The switch group 210 includes a plurality of switches that receive instructions from the user and output as switch signals. In the illustrated example, the switch group 210 is a power switch 211 for turning on power to the recording apparatus 100, a print switch 212 for instructing the start of a recording operation, and an instruction for executing a recovery process. The recovery switch 213 is included. The recovery process is a process for maintaining the ejection performance of the recording head 101 in a good state.
The sensor group 220 includes a plurality of sensors that detect the state of the recording apparatus 100 and output detection signals. The sensor group 220 includes a conveyance amount sensor 105 and a temperature sensor 221 that detects the temperature of the recording apparatus 100 in the example of the figure. The sensor group 220 may include a photo sensor (not shown) that detects the remaining amount of liquid in the tank 103 shown in FIG.

コントローラ230は、記録装置100全体を制御する。コントローラ230は、ROM(Read Only Memory)231と、RAM(Random Access Memory)232と、A/D変換器233と、I/O部234と、システムバス235とを含む。また、コントローラ230は、ASIC(Application Specific Integrated Circuit:特定用途向け集積回路)236と、MPU(Micro-Processing Unit)237とを含む。
ROM231は、ASIC236およびMPU237にて読み取り可能なプログラムを記録する記録部である。ROM231は、プログラムの他に、種々のテーブルや固定データのような記録装置100を制御する制御データなどを記録する。RAM232は、インタフェース部205に入力された論理信号の展開領域や、ROM231に記録されたプログラムの作業領域などとして用いられる。
A/D変換器233は、センサ群220からのアナログ信号の検出信号をデジタル信号に変換してMPU237に送信する。
I/O部234は、スイッチ群210からのスイッチ信号やセンサ群220からのデジタル信号の検出信号を受信する。システムバス235は、ROM231、RAM232、I/O部234、ASIC236およびMPU237を相互に通信可能に接続させる。
ASIC236は、搬送モータドライバ202およびキャリッジモータドライバ204を用いて搬送モータ201およびキャリッジモータ203を制御する。また、ASIC236は、インタフェース部205が受信した論理信号に基づいて、記録ヘッド101を制御する。
MPU237は、後述する搬送量検出装置の検出結果である搬送量データに基づいて、ASIC236を介して記録動作を制御する記録制御処理を行う記録制御手段である。
The controller 230 controls the entire recording apparatus 100. The controller 230 includes a ROM (Read Only Memory) 231, a RAM (Random Access Memory) 232, an A / D converter 233, an I / O unit 234, and a system bus 235. Further, the controller 230 includes an ASIC (Application Specific Integrated Circuit) 236 and an MPU (Micro-Processing Unit) 237.
The ROM 231 is a recording unit that records a program that can be read by the ASIC 236 and the MPU 237. The ROM 231 records control data for controlling the recording apparatus 100 such as various tables and fixed data, in addition to programs. The RAM 232 is used as a development area for logical signals input to the interface unit 205 and a work area for programs recorded in the ROM 231.
The A / D converter 233 converts the detection signal of the analog signal from the sensor group 220 into a digital signal and transmits it to the MPU 237.
The I / O unit 234 receives a switch signal from the switch group 210 and a digital signal detection signal from the sensor group 220. The system bus 235 connects the ROM 231, RAM 232, I / O unit 234, ASIC 236, and MPU 237 so that they can communicate with each other.
The ASIC 236 controls the carry motor 201 and the carriage motor 203 using the carry motor driver 202 and the carriage motor driver 204. The ASIC 236 controls the recording head 101 based on the logic signal received by the interface unit 205.
The MPU 237 is a recording control unit that performs a recording control process for controlling a recording operation via the ASIC 236 based on conveyance amount data that is a detection result of a conveyance amount detection device described later.

図3は、搬送量センサ105の詳細な構成を示す図である。図3に示すように搬送量センサ105は、光源1および2と、コリメートレンズ3と、結像レンズ4と、撮像センサ5とを有する。
光源1および2とコリメートレンズ3とは、搬送されている被記録媒体Pに対して第1の光および第2の光を照射する照射手段を構成する。具体的には、光源1およびコリメートレンズ3は、被記録媒体Pに対して第1の光を照射する第1の照射手段であり、光源2は、被記録媒体Pに対して第2の光を照射する第2の照射手段である。光源1および2は、光量および照射時間(点灯時間)が調整可能であることが望ましい。
光源1は、例えば、LED(Light Emitting Diode)である。コリメートレンズ3は、光源1からの光を平行光に変換して第1の光として被記録媒体Pに照射する。光源2は、第2の光を被記録媒体Pに照射する。
被記録媒体P上における第2の光の照射面積は、被記録媒体P上における第1の光の照射面積よりも小さい。第2の光は、本実施形態では、スポット光(スポット状の光)であり、スポットの大きさ(スポット光の照射面積)は、撮像センサ5の数画素分程度である。このため、第2の光を照射する光源2は、半導体レーザーであることが望ましい。なお、第2の照射手段は、光源2をLEDとし、光源2からの光を集光してスポット光に変換する集光光学系(図示せず)を設けた構成などでもよい。
第1の光は、被記録媒体Pの搬送量(移動量)を検出するために用いられ、第2の光は、被記録媒体Pと撮像センサ5との間の距離である媒体距離を検出するために用いられる。図3では、被記録媒体Pとして媒体距離が異なる2つの被記録媒体P1およびP2が示されている。被記録媒体P1は、媒体距離が標準値である通常状態の被記録媒体Pであり、被記録媒体P2は被記録媒体P1よりも媒体距離が短い近接状態の被記録媒体Pである。
FIG. 3 is a diagram illustrating a detailed configuration of the carry amount sensor 105. As shown in FIG. 3, the carry amount sensor 105 includes light sources 1 and 2, a collimating lens 3, an imaging lens 4, and an imaging sensor 5.
The light sources 1 and 2 and the collimating lens 3 constitute irradiation means for irradiating the recording medium P being conveyed with the first light and the second light. Specifically, the light source 1 and the collimating lens 3 are first irradiation means for irradiating the recording medium P with the first light, and the light source 2 is the second light for the recording medium P. It is the 2nd irradiation means to irradiate. It is desirable that the light sources 1 and 2 can adjust the light amount and the irradiation time (lighting time).
The light source 1 is, for example, an LED (Light Emitting Diode). The collimating lens 3 converts the light from the light source 1 into parallel light and irradiates the recording medium P as first light. The light source 2 irradiates the recording medium P with the second light.
The irradiation area of the second light on the recording medium P is smaller than the irradiation area of the first light on the recording medium P. In this embodiment, the second light is spot light (spot-shaped light), and the size of the spot (spot light irradiation area) is about several pixels of the image sensor 5. For this reason, the light source 2 for irradiating the second light is preferably a semiconductor laser. The second irradiating means may have a configuration in which the light source 2 is an LED, and a condensing optical system (not shown) that condenses light from the light source 2 and converts it into spot light.
The first light is used to detect the transport amount (movement amount) of the recording medium P, and the second light detects the medium distance that is the distance between the recording medium P and the image sensor 5. Used to do. In FIG. 3, two recording media P1 and P2 having different media distances are shown as the recording media P. The recording medium P1 is a recording medium P in a normal state in which the medium distance is a standard value, and the recording medium P2 is a recording medium P in a proximity state in which the medium distance is shorter than the recording medium P1.

第1の光および第2の光に応じた被記録媒体Pからの光は、結像レンズ4を介して撮像センサ5に入射される。被記録媒体Pからの光は、本実施形態では、第1の光および第2の光の被記録媒体Pによる反射光であるが、第1の光および第2の光の被記録媒体Pによる透過光でもよい。結像レンズ4は、光を撮像に結像させる結像光学系であり、第1の光の被記録媒体Pによる反射光と、
第2の光の被記録媒体Pによる反射光で共用されている。なお、結像光学系が複数の光学部品で構成されている場合、少なくとも結像光学系内の結像レンズが共用されていればよい。また、結像レンズ4の倍率は特に限定されないが、ここでは、1倍である。
撮像センサ5は、入射された被記録媒体Pからの光を用いて被記録媒体Pの表面を撮像して、撮像画像を取得する撮像手段である。撮像センサ5は、例えば、CCD(Charge-Coupled Device)イメージセンサまたはCMOS(Complementary Metal-Oxide-Semiconductor field-effect transistor)イメージセンサなどである。
撮像センサ5は、複数の画素が2次元状に配置された画素領域6を有する。画素領域6は、被記録媒体Pの搬送量を検出するための第1の画素領域6aと、媒体距離を検出するための第2の画素領域6bとを含む。搬送量センサ105の各構成は、第1の光の被記録媒体Pによる反射光が第1の画素領域6aに入射し、第2の光の被記録媒体Pによる反射光が第2の画素領域6bに入射するように配置される。第1の画素領域6aは第2の画素領域6bよりも大きいことが望ましい。本実施形態では、画素領域6が320画素×160画素、第1の画素領域6aが320画素×120画素、第2の画素領域6bが320画素×40画素である。また、画素領域6の画素ピッチは、本実施形態では、10μmである。
Light from the recording medium P corresponding to the first light and the second light is incident on the image sensor 5 through the imaging lens 4. In this embodiment, the light from the recording medium P is the reflected light of the first light and the second light by the recording medium P, but the first light and the second light are recorded by the recording medium P. It may be transmitted light. The imaging lens 4 is an imaging optical system that forms an image of light for imaging, and reflected light of the first light by the recording medium P;
The second light is shared by the reflected light from the recording medium P. When the imaging optical system is composed of a plurality of optical components, it is sufficient that at least the imaging lens in the imaging optical system is shared. Further, the magnification of the imaging lens 4 is not particularly limited, but is 1 × here.
The imaging sensor 5 is an imaging unit that captures an image of the surface of the recording medium P using the incident light from the recording medium P and acquires a captured image. The imaging sensor 5 is, for example, a charge-coupled device (CCD) image sensor or a complementary metal-oxide-semiconductor field-effect transistor (CMOS) image sensor.
The imaging sensor 5 has a pixel region 6 in which a plurality of pixels are arranged two-dimensionally. The pixel area 6 includes a first pixel area 6a for detecting the conveyance amount of the recording medium P and a second pixel area 6b for detecting the medium distance. In each configuration of the carry amount sensor 105, reflected light of the first light from the recording medium P is incident on the first pixel area 6a, and reflected light of the second light from the recording medium P is the second pixel area. It arrange | positions so that it may inject into 6b. The first pixel region 6a is preferably larger than the second pixel region 6b. In the present embodiment, the pixel area 6 is 320 pixels × 160 pixels, the first pixel area 6a is 320 pixels × 120 pixels, and the second pixel area 6b is 320 pixels × 40 pixels. Further, the pixel pitch of the pixel region 6 is 10 μm in this embodiment.

以下、搬送量センサ105による搬送量を検出する搬送検出動作と媒体距離を検出する距離検出動作について説明する。搬送検出動作および距離検出動作は、本実施形態では、同時に行われるが、以下では、分かりやすくするために別々に説明する。
図4は、搬送検出動作を説明するための図である。図4に示すように光源1から出射された光1aは、コリメートレンズ3にて第1の光である平行光1bに変換されて被記録媒体Pの表面に照射される。平行光1bは被記録媒体Pで反射し、その反射光1cは結像レンズ4を介して撮像センサ5の第1の画素領域6aに入射する。第1の画素領域6aに入射する光は平行光1bによる反射光1cであるため、被記録媒体Pの比較的広い領域を結像させ、その像には、被記録媒体Pの表面上の特徴部7が映し出される。図4には、複数の特徴部7が示されている。この特徴部7に基づいて搬送量を検出することができる。
図5は、距離検出動作を説明するための図である。図5に示すように光源2から出射された第2の光であるスポット光2aは、被記録媒体Pの表面に入射する。スポット光2aは被記録媒体Pで反射され、その反射光2bは、結像レンズ4を介して撮像センサ5の第2の画素領域6bに入射する。スポット光2aの反射光2bであるため、第2の画素領域6bに入射する光は、スポット光であり、被記録媒体Pの狭い領域を結像させる。その結像された像である画像8の画素位置、つまり、入射したスポット光(反射光2b)の画素位置は、媒体距離に応じて異なる。
例えば、媒体距離が異なる2の被記録媒体P1およびP2による反射光2bをそれぞれ反射光2b1および2b2、反射光2b1および2b2のそれぞれに応じた画像8を画像8aおよび8bとすると、画像8aおよび8bの画素位置は互いに異なる。このように媒体距離に応じて画像8の画素位置が異なるため、画像8の画素位置が媒体距離を示すことになる。
スポット光2aを被記録媒体Pに対して45°の角度で照射した場合、媒体距離の変動量と画像8の画素位置の変化量とを同じ値にすることができる。本実施形態では、搬送量センサ105の各構成は、媒体距離の変動量と画像8の画素位置の変化量とが同じ値になるように配置されている。この場合、例えば、媒体距離が0.2mm変動した場合、画像8は約0.2mm移動する。また、本実施形態では、搬送量センサ105の各構成は、媒体距離が標準値である被記録媒体P1による反射光2b1が第2の画素領域6bの長手方向の中央値(160画素目)に入射されるように設定されている。
なお、画像8は、図では黒く示しているが、スポット光による結像画像であるため、通常、明るい画像となる。
Hereinafter, the conveyance detection operation for detecting the conveyance amount by the conveyance amount sensor 105 and the distance detection operation for detecting the medium distance will be described. In the present embodiment, the conveyance detection operation and the distance detection operation are performed at the same time.
FIG. 4 is a diagram for explaining the conveyance detection operation. As shown in FIG. 4, the light 1 a emitted from the light source 1 is converted into parallel light 1 b which is the first light by the collimator lens 3 and is irradiated onto the surface of the recording medium P. The parallel light 1 b is reflected by the recording medium P, and the reflected light 1 c enters the first pixel region 6 a of the image sensor 5 through the imaging lens 4. Since the light incident on the first pixel region 6a is the reflected light 1c of the parallel light 1b, a relatively wide region of the recording medium P is imaged, and the image has features on the surface of the recording medium P. Part 7 is projected. In FIG. 4, a plurality of features 7 are shown. The carry amount can be detected based on the feature portion 7.
FIG. 5 is a diagram for explaining the distance detection operation. As shown in FIG. 5, the spot light 2 a that is the second light emitted from the light source 2 is incident on the surface of the recording medium P. The spot light 2 a is reflected by the recording medium P, and the reflected light 2 b enters the second pixel region 6 b of the image sensor 5 through the imaging lens 4. Since it is the reflected light 2b of the spot light 2a, the light incident on the second pixel area 6b is spot light and forms an image in a narrow area of the recording medium P. The pixel position of the image 8 that is the image formed, that is, the pixel position of the incident spot light (reflected light 2b) varies depending on the medium distance.
For example, if the reflected light 2b from two recording media P1 and P2 with different medium distances is the reflected light 2b1 and 2b2, and the image 8 corresponding to the reflected light 2b1 and 2b2 is the images 8a and 8b, the images 8a and 8b The pixel positions are different from each other. As described above, since the pixel position of the image 8 varies depending on the medium distance, the pixel position of the image 8 indicates the medium distance.
When the spot light 2a is irradiated to the recording medium P at an angle of 45 °, the amount of change in the medium distance and the amount of change in the pixel position of the image 8 can be made the same value. In the present embodiment, the components of the transport amount sensor 105 are arranged so that the amount of change in the medium distance and the amount of change in the pixel position of the image 8 have the same value. In this case, for example, when the medium distance fluctuates by 0.2 mm, the image 8 moves about 0.2 mm. In the present embodiment, in each configuration of the transport amount sensor 105, the reflected light 2b1 from the recording medium P1 whose medium distance is a standard value has a median value (160th pixel) in the longitudinal direction of the second pixel region 6b. It is set to be incident.
Although the image 8 is shown in black in the figure, it is a bright image because it is an image formed by spot light.

図6は、搬送量を検出して媒体距離で補正する搬送量検出装置の構成を示すブロック図である。なお、図6に示した構成は機能的な構成であり、各部の構成は、ROMやRAMのような記憶装置、MPUのようなプロセッサなどにて実現されればよい。また、記憶装置の一部または全てとして、図2に示した記録装置100のROM231やRAM232が使用されてもよいし、プロセッサの一部または全てとして、図2に示した記録装置100のMPU237が使用されてもよい。
図6に示す搬送量検出装置10は、記録装置100に内蔵される。搬送量検出装置10は、搬送量センサ105と、制御部11と、メモリ管理部12と、画像メモリ13と、搬送量検出メモリ14と、距離検出メモリ15と、テンプレートメモリ16とを備える。また、搬送量検出装置10は、パターンマッチング部17と、重心位置検出部18と、距離変換部19と、テーブル記憶部20と、補正部21と、出力部22とを備える。
図6では、搬送量センサ105の各構成のうち、光源1および2と撮像センサ5とが示されている。テンプレートメモリ16、パターンマッチング部17、補正部21および出力部22は、搬送量を検出して補正する搬送検出部50を構成し、重心位置検出部18、距離変換部19およびテーブル記憶部20は、媒体距離を検出する距離検出部60を構成する。
制御部11は、予め定められた基準周期(例えば、1msec)ごとに起動するタイマ(図示せず)を有し、タイマが起動される度に撮像センサ5を駆動して、撮像センサ5に撮像画像を取得させる。これにより、撮像センサ5は異なる複数のタイミングで撮像画像を複数取得することになる。このとき、制御部11は、適切な明るさの撮像画像が取得されるように、光源1および2の光量および点灯時間を制御してもよい。例えば、制御部11は、被記録媒体Pの種類に応じて光量および点灯時間を制御してもよいし、前回のタイミングで取得された撮像画像に応じて光量および点灯時間を制御してもよい。
メモリ管理部12は、撮像センサ5にて取得された撮像画像を示す画像データを画像メモリ13に一時的に記憶させる。メモリ管理部12は、画像メモリ13に記憶された画像データのうち第1の画素領域6aに対応する部分を第1の部分画像データとして搬送量検出メモリ14に記憶させる。また、メモリ管理部12は、画像メモリ13に記憶された画像データのうち第2の画素領域6bに対応する部分を第2の部分画像データとして距離検出メモリ15に記憶させる。したがって、第1の部分画像データは、撮像画像に含まれる第1の光に応じた画像である第1の画像を示し、第2の部分画像データは、撮像画像に含まれる第2の光に応じた画像である第2の画像を示す。
テンプレートメモリ16は、搬送量を検出するための基準画像であるテンプレートを示す基準画像データを記憶する。
FIG. 6 is a block diagram illustrating a configuration of a transport amount detection device that detects the transport amount and corrects it by the medium distance. The configuration shown in FIG. 6 is a functional configuration, and the configuration of each unit may be realized by a storage device such as a ROM or a RAM, a processor such as an MPU, or the like. 2 may be used as a part or all of the storage device, or the MPU 237 of the recording apparatus 100 shown in FIG. 2 may be used as a part or all of the processor. May be used.
A conveyance amount detection apparatus 10 illustrated in FIG. 6 is built in the recording apparatus 100. The carry amount detection apparatus 10 includes a carry amount sensor 105, a control unit 11, a memory management unit 12, an image memory 13, a carry amount detection memory 14, a distance detection memory 15, and a template memory 16. Further, the carry amount detection apparatus 10 includes a pattern matching unit 17, a gravity center position detection unit 18, a distance conversion unit 19, a table storage unit 20, a correction unit 21, and an output unit 22.
FIG. 6 shows the light sources 1 and 2 and the imaging sensor 5 among the components of the carry amount sensor 105. The template memory 16, the pattern matching unit 17, the correction unit 21, and the output unit 22 constitute a conveyance detection unit 50 that detects and corrects the conveyance amount, and the gravity center position detection unit 18, the distance conversion unit 19, and the table storage unit 20 include The distance detector 60 for detecting the medium distance is configured.
The control unit 11 has a timer (not shown) that starts every predetermined reference period (for example, 1 msec), drives the image sensor 5 every time the timer is started, and images the image sensor 5. Get an image. Thereby, the imaging sensor 5 acquires a plurality of captured images at a plurality of different timings. At this time, the control part 11 may control the light quantity and lighting time of the light sources 1 and 2 so that the captured image of appropriate brightness may be acquired. For example, the control unit 11 may control the light amount and the lighting time according to the type of the recording medium P, or may control the light amount and the lighting time according to the captured image acquired at the previous timing. .
The memory management unit 12 temporarily stores image data indicating the captured image acquired by the imaging sensor 5 in the image memory 13. The memory management unit 12 stores the portion corresponding to the first pixel area 6 a in the image data stored in the image memory 13 in the transport amount detection memory 14 as the first partial image data. In addition, the memory management unit 12 causes the distance detection memory 15 to store a portion corresponding to the second pixel region 6b in the image data stored in the image memory 13 as second partial image data. Therefore, the first partial image data indicates a first image that is an image corresponding to the first light included in the captured image, and the second partial image data is included in the second light included in the captured image. The 2nd image which is a response image is shown.
The template memory 16 stores reference image data indicating a template that is a reference image for detecting the carry amount.

パターンマッチング部17は、搬送量検出メモリ14に記憶された第1の部分画像データを用いて、被記録媒体Pの搬送量を検出する検出手段である。具体的には、パターンマッチング部17は、第1の部分画像データとテンプレートメモリ16に記憶された基準画像データとによるパターンマッチングを行うことで、搬送量を検出する。パターンマッチング方法は、特に限定されず、例えば、SSD(Sum of Squared Difference)、SAD(Sum of Abusolute Difference)およびZNCC(Zero-means Normalized Cross-Correlation)などである。
重心位置検出部18、距離変換部19およびテーブル記憶部20を含む距離検出部60は、距離検出メモリ15に記憶された第2の部分画像データを用いて、媒体距離を検出する算距離検出手段である。
重心位置検出部18は、距離検出メモリ15に記憶された第2の部分画像データに映されているスポット光の画素位置(図5で示した画像8の画素位置)を検出する。このとき、通常、スポット光が複数の画素位置に跨って映っているため、重心位置検出部18は、スポット光の重心の画素位置をスポット光の画素位置として算出する。以下では、スポット光の画素位置を重心位置と呼ぶ。
距離変換部19は、重心位置検出部18にて算出された重心位置に基づいて、パターンマッチング部17にて検出された搬送量を補正するための補正係数を求める。
具体的には、先ず、距離変換部19は、重心位置と基準位置との間の距離に応じて媒体距離を算出する。基準位置は、本実施形態では、媒体距離が標準値である通常状態の被記録媒体P1からのスポット光の重心位置であり、距離変換部19に予め設定されている。本実施形態では、媒体距離の変動量と重心位置の変化量とが同じ値であるため、距離変換部19は、例えば、標準値に重心位置と基準位置との間の距離を加算することで媒体距離を算出することができる。また、距離変換部19は、重心位置と媒体距離との対応関係を示すテーブルを予め保持し、そのテーブルを用いて媒体距離を算出してもよい。
続いて、距離変換部19は、テーブル記憶部20に記憶された補正係数テーブルを用いて、媒体距離から補正係数を決定する。補正係数テーブルは、媒体距離と補正係数との対応関係を示すテーブルであり、例えば、工場における記録装置100の製造時や出荷時、または市場における記録装置100の保守時などにおいて専用の治具を用いて作成される。
The pattern matching unit 17 is a detection unit that detects the transport amount of the recording medium P using the first partial image data stored in the transport amount detection memory 14. Specifically, the pattern matching unit 17 detects the carry amount by performing pattern matching between the first partial image data and the reference image data stored in the template memory 16. The pattern matching method is not particularly limited, and examples thereof include SSD (Sum of Squared Difference), SAD (Sum of Abusolute Difference), and ZNCC (Zero-means Normalized Cross-Correlation).
The distance detection unit 60 including the center-of-gravity position detection unit 18, the distance conversion unit 19, and the table storage unit 20 uses the second partial image data stored in the distance detection memory 15 to detect the medium distance. It is.
The center-of-gravity position detection unit 18 detects the pixel position of the spot light (the pixel position of the image 8 shown in FIG. 5) reflected in the second partial image data stored in the distance detection memory 15. At this time, since the spot light is usually reflected over a plurality of pixel positions, the barycentric position detection unit 18 calculates the pixel position of the barycenter of the spot light as the pixel position of the spot light. Hereinafter, the pixel position of the spot light is referred to as a center of gravity position.
The distance conversion unit 19 obtains a correction coefficient for correcting the transport amount detected by the pattern matching unit 17 based on the barycentric position calculated by the barycentric position detecting unit 18.
Specifically, first, the distance conversion unit 19 calculates the medium distance according to the distance between the gravity center position and the reference position. In this embodiment, the reference position is the barycentric position of the spot light from the recording medium P1 in the normal state where the medium distance is a standard value, and is set in the distance conversion unit 19 in advance. In the present embodiment, since the variation amount of the medium distance and the variation amount of the centroid position are the same value, the distance conversion unit 19 adds, for example, the distance between the centroid position and the reference position to the standard value. The medium distance can be calculated. Further, the distance conversion unit 19 may hold a table indicating the correspondence relationship between the gravity center position and the medium distance in advance, and calculate the medium distance using the table.
Subsequently, the distance conversion unit 19 uses the correction coefficient table stored in the table storage unit 20 to determine a correction coefficient from the medium distance. The correction coefficient table is a table showing the correspondence between the medium distance and the correction coefficient. For example, a dedicated jig is used at the time of manufacturing or shipping the recording apparatus 100 in the factory, or at the time of maintenance of the recording apparatus 100 in the market. Created using.

補正係数テーブルは、例えば、以下のように作成される。
(手順1)媒体距離が標準値になるように被記録媒体Pを配置し、専用の治具などを用いて被記録媒体Pを搬送方向に所定距離X(ここでは、20mm)移動させる。そして、搬送量検出装置10を用いて搬送量xと媒体距離dを検出する。
(手順2)手順1で検出した搬送量xから、関係式k=X/x(=20/x)を用いて補正係数kを算出する。
(手順3)手順1で検出した媒体距離dと手順2で算出した補正係数kとを対応づけたレコードを作成する。
(手順4)媒体距離を変化させながら(例えば、媒体距離を標準値の−0.5mmから+0.5mmまで0.1mmずつ変化させながら)、手順1〜3と同様な処理を繰り返す。そして各処理の手順3で作成した複数のレコードを補正係数テーブルとして作成する
(手順5)手順4で作成した補正係数テーブルに対して線型補間法などを用いて、補正係数テーブルの分解能を向上させる。なお、手順5は行われなくてもよい。
上記の作成手順では、手順1において媒体距離としてスポット光の重心位置を検出し、補正係数テーブルとして、重心位置と補正係数との対応関係を示す情報を作成してもよい。この場合、距離変換部19は、補正係数テーブルを用いて、重心位置検出部18にて算出された重心位置から補正係数を直接算出することができる。
図7は、補正係数テーブルの一例を示す図である。図7には、所定距離Xを25.4mm(1インチ)とし、工場にて専用の治具を用いて作成された補正係数テーブル700が示されている。
補正係数テーブル700は、実際の媒体距離である実媒体距離701と、検出された媒体距離である検出距離702と、検出された搬送量703と、補正係数704とが示されている。実媒体距離701は、媒体距離の基準値を0としている。検出距離702は、スポット光の重心位置を媒体距離として示し、基準位置に対応した重心位置を中央値(160画素目)に設定している。また、検出距離702は、媒体距離が基準値よりも長くなると、中央値よりも小さくなり、媒体距離が基準値よりも短く長くなると、中央値よりも大きくなる。
検出距離702は、画素ピッチが10μmであるため、媒体距離が+0.2mmの場合、検出距離702は、160−(+0.2/0.01)≒140となる。また、検出距離702は、媒体距離が−0.2mmの場合、検出距離702は、160−(−0.2/0.01)≒160となる。また、補正係数704をk、搬送量703をLで表すと、補正係数704は、k=X/L=25.4/Lとして算出される。
The correction coefficient table is created as follows, for example.
(Procedure 1) The recording medium P is arranged so that the medium distance becomes a standard value, and the recording medium P is moved in the transport direction by a predetermined distance X (here, 20 mm) using a dedicated jig or the like. Then, the carry amount detection device 10 is used to detect the carry amount x and the medium distance d.
(Procedure 2) From the transport amount x detected in Procedure 1, a correction coefficient k is calculated using the relational expression k = X / x (= 20 / x).
(Procedure 3) A record in which the medium distance d detected in the procedure 1 is associated with the correction coefficient k calculated in the procedure 2 is created.
(Procedure 4) While changing the medium distance (for example, changing the medium distance from the standard value of −0.5 mm to +0.5 mm by 0.1 mm in steps), the same processing as in Procedures 1 to 3 is repeated. Then, a plurality of records created in step 3 of each process are created as a correction coefficient table (step 5). The resolution of the correction coefficient table is improved by using a linear interpolation method or the like for the correction coefficient table created in step 4. . Note that step 5 may not be performed.
In the above creation procedure, the center of gravity position of the spot light may be detected as the medium distance in step 1, and information indicating the correspondence between the center of gravity position and the correction coefficient may be created as the correction coefficient table. In this case, the distance conversion unit 19 can directly calculate the correction coefficient from the barycentric position calculated by the barycentric position detecting unit 18 using the correction coefficient table.
FIG. 7 is a diagram illustrating an example of the correction coefficient table. FIG. 7 shows a correction coefficient table 700 created at a factory using a dedicated jig with a predetermined distance X of 25.4 mm (1 inch).
The correction coefficient table 700 shows an actual medium distance 701 that is an actual medium distance, a detected distance 702 that is a detected medium distance, a detected transport amount 703, and a correction coefficient 704. In the actual medium distance 701, the reference value of the medium distance is set to zero. The detection distance 702 indicates the centroid position of the spot light as the medium distance, and the centroid position corresponding to the reference position is set to the median value (160th pixel). The detection distance 702 becomes smaller than the median value when the medium distance becomes longer than the reference value, and becomes larger than the median value when the medium distance becomes shorter and longer than the reference value.
Since the detection distance 702 has a pixel pitch of 10 μm, when the medium distance is +0.2 mm, the detection distance 702 is 160 − (+ 0.2 / 0.01) ≈140. The detection distance 702 is 160 − (− 0.2 / 0.01) ≈160 when the medium distance is −0.2 mm. When the correction coefficient 704 is represented by k and the carry amount 703 is represented by L, the correction coefficient 704 is calculated as k = X / L = 25.4 / L.

図6の説明に戻る。補正部21は、パターンマッチング部17で検出された搬送量を、距離変換部19で算出された補正係数で補正する。具体的には、補正部21は、搬送量に補正係数を乗算することで補正量を補正する。したがって、補正係数は媒体距離に応じて変化するため、補正部21は、搬送量を媒体距離に基づいて補正する補正手段として機能する。
出力部22は、搬送量検出装置10による検出結果として、補正部21にて補正された搬送量を示す搬送量データを、図2に示したコントローラ230のMPU237に送信する。
MPU237は、搬送量データを受信すると、その搬送量データに応じた記録制御処理を行う。
記録制御処理では、MPU237は、搬送量データが示す搬送量である補正値に基づいて、搬送モータ201による被記録媒体Pの搬送量を調整する。具体的には、MPU237は、補正値に基づいて、搬送モータ201による被記録媒体Pの搬送量が規定値になるように調整する。例えば、MPU237は、補正値が規定値よりも大きい場合、搬送モータ201による被記録媒体Pの搬送量を、補正値と規定値との差であるずれ量に応じて小さくする。また、MPU237は、補正値が規定値よりも小さい場合、搬送モータ201による被記録媒体Pの搬送量をずれ量に応じて大きくする。
また、MPU237は、記録制御処理として、搬送量データに基づいて、インタフェース部205が受信した論理信号に含まれる記録データを補正する処理を行ってもよい。例えば、MPU237は、搬送量データにて示される補正値が規定値よりも大きい場合、各記録動作で記録される画像の境界部分が濃くなるように記録データを補正する。また、MPU327は、補正値が規定値よりも小さい場合、各記録動作で記録される画像の境界部分が薄くなるように記録データを補正する。
Returning to the description of FIG. The correction unit 21 corrects the carry amount detected by the pattern matching unit 17 with the correction coefficient calculated by the distance conversion unit 19. Specifically, the correction unit 21 corrects the correction amount by multiplying the carry amount by a correction coefficient. Accordingly, since the correction coefficient changes according to the medium distance, the correction unit 21 functions as a correction unit that corrects the transport amount based on the medium distance.
The output unit 22 transmits conveyance amount data indicating the conveyance amount corrected by the correction unit 21 to the MPU 237 of the controller 230 illustrated in FIG. 2 as a detection result by the conveyance amount detection device 10.
When the MPU 237 receives the carry amount data, the MPU 237 performs a recording control process according to the carry amount data.
In the recording control process, the MPU 237 adjusts the transport amount of the recording medium P by the transport motor 201 based on the correction value that is the transport amount indicated by the transport amount data. Specifically, the MPU 237 adjusts based on the correction value so that the conveyance amount of the recording medium P by the conveyance motor 201 becomes a specified value. For example, when the correction value is larger than the specified value, the MPU 237 reduces the transport amount of the recording medium P by the transport motor 201 in accordance with the deviation amount that is the difference between the correction value and the specified value. Further, when the correction value is smaller than the specified value, the MPU 237 increases the transport amount of the recording medium P by the transport motor 201 according to the shift amount.
Further, the MPU 237 may perform a process of correcting the recording data included in the logical signal received by the interface unit 205 based on the carry amount data as the recording control process. For example, when the correction value indicated by the carry amount data is larger than a specified value, the MPU 237 corrects the recording data so that the boundary portion of the image recorded in each recording operation is dark. Further, when the correction value is smaller than the specified value, the MPU 327 corrects the recording data so that the boundary portion of the image recorded in each recording operation becomes thin.

次に搬送量検出装置10の動作について説明する。
図8は、搬送量検出装置10の動作の一例を説明するための図である。図8の例では、撮像センサ5は周期的に被記録媒体Pの表面を撮像し、画像a0、画像a1、画像a2、画像a3…の順に撮像画像を取得する。これらの撮像画像のうち第1の画素領域6aに対応する部分が第1の部分画像として搬送量検出メモリ14に順番に記憶され、第2の画素領域6bに対応する部分が第2の部分画像として距離検出メモリ15に順番に記憶される。なお、図の例では、被記録媒体Pの搬送に従って、撮像画像に映された被記録媒体Pは図中の左側から右側に移動する。
搬送量を検出して補正する処理は以下のように行われる。
(手順1)パターンマッチング部17は、最初の画像a0の第1の部分画像における搬送方向の上流側に対応する左端付近から、所定の大きさの画素領域の画像をテンプレートb0として作成する。パターンマッチング部17は、作成したテンプレートb0と、画像a0におけるテンプレートb0の画素位置である基準位置とをテンプレートメモリ16に記憶させる。テンプレートb0は、本実施形態では、4×4の画素領域である。テンプレートb0としては、被記録媒体P上の繊維、しわまたは傷などによる特徴部が選択される。
(手順2)パターンマッチング部17は、次の画像a1の第1の部分画像とテンプレートb0とのパターンマッチングを行い、第1の部分画像におけるテンプレートb0と一致度が最も高い領域の画素位置を搬送後の画素位置として特定する。パターンマッチング部17は、搬送後の画素位置と基準位置との間の距離に応じて搬送量を検出する。さらにパターンマッチング部17は、画像a1の第1の部分画像における左端付近から、所定の大きさの画素領域の画像をテンプレートb1として作成する。そして、パターンマッチング部17は、作成したテンプレートb1と、画像a1におけるテンプレートb1の画素位置である基準位置とをテンプレートメモリ16に記憶させることで、テンプレートと基準位置を更新する。
(手順3)手順2と同時に、重心位置検出部18が画像a1の第2の部分画像からスポット光の重心位置を検出し、距離変換部19がその重心位置から補正係数を算出する。
(手順4)補正部21は、手順2で検出された搬送量を手順3で算出された補正係数で補正し、出力部22は、補正部21が補正した搬送量を示す搬送量データを出力する。
(手順5)撮像画像が取得される度に、手順1〜4と同様な手順を周期的に繰り返す。
以上の手順により、パターンマッチング部17は、異なるタイミングで取得された複数の撮像画像のそれぞれに含まれる第1の部分画像を用いて、搬送量を検出することになる。そして、距離検出部60は、パターンマッチング部17が用いた第1の部分画像を含む複数の撮像画像のいずれかに含まれる第2の部分画像を用いて、媒体距離を検出する。より具体的には、距離検出部60は、パターンマッチング部17が用いた第1の画像を含む複数の撮像画像のうち最新の撮像画像に含まれる第2の画像を用いて、媒体距離を検出する。
なお、説明を簡単にするために、図8の例では、各撮像画像が白黒の2値で表現されているが、各撮像画像が多値画像(256階調(8bit)等のグレースケール画像)の場合でも同様な手順で搬送量データを得ることができる。
Next, the operation of the carry amount detection device 10 will be described.
FIG. 8 is a diagram for explaining an example of the operation of the carry amount detection apparatus 10. In the example of FIG. 8, the imaging sensor 5 periodically images the surface of the recording medium P, and acquires captured images in the order of image a0, image a1, image a2, image a3,. Of these captured images, a portion corresponding to the first pixel region 6a is sequentially stored in the transport amount detection memory 14 as a first partial image, and a portion corresponding to the second pixel region 6b is a second partial image. Are stored in the distance detection memory 15 in order. In the example shown in the figure, the recording medium P shown in the captured image moves from the left side to the right side in the figure as the recording medium P is conveyed.
Processing for detecting and correcting the carry amount is performed as follows.
(Procedure 1) The pattern matching unit 17 creates an image of a pixel area of a predetermined size as a template b0 from the vicinity of the left end corresponding to the upstream side in the transport direction in the first partial image of the first image a0. The pattern matching unit 17 causes the template memory 16 to store the created template b0 and the reference position that is the pixel position of the template b0 in the image a0. The template b0 is a 4 × 4 pixel region in the present embodiment. As the template b0, a characteristic portion due to fibers, wrinkles or scratches on the recording medium P is selected.
(Procedure 2) The pattern matching unit 17 performs pattern matching between the first partial image of the next image a1 and the template b0, and conveys the pixel position of the region having the highest degree of coincidence with the template b0 in the first partial image. The pixel position is specified later. The pattern matching unit 17 detects the carry amount according to the distance between the pixel position after the carry and the reference position. Further, the pattern matching unit 17 creates an image of a pixel area having a predetermined size as a template b1 from the vicinity of the left end of the first partial image of the image a1. Then, the pattern matching unit 17 updates the template and the reference position by storing the created template b1 and the reference position that is the pixel position of the template b1 in the image a1 in the template memory 16.
(Procedure 3) At the same time as the procedure 2, the centroid position detector 18 detects the centroid position of the spot light from the second partial image of the image a1, and the distance converter 19 calculates a correction coefficient from the centroid position.
(Procedure 4) The correction unit 21 corrects the carry amount detected in the procedure 2 with the correction coefficient calculated in the procedure 3, and the output unit 22 outputs carry amount data indicating the carry amount corrected by the correction unit 21. To do.
(Procedure 5) Every time a captured image is acquired, the same procedure as the procedures 1 to 4 is periodically repeated.
With the above procedure, the pattern matching unit 17 detects the carry amount using the first partial images included in each of the plurality of captured images acquired at different timings. Then, the distance detection unit 60 detects the medium distance using the second partial image included in any of the plurality of captured images including the first partial image used by the pattern matching unit 17. More specifically, the distance detection unit 60 detects the medium distance using the second image included in the latest captured image among the plurality of captured images including the first image used by the pattern matching unit 17. To do.
In order to simplify the description, in the example of FIG. 8, each captured image is represented by binary values of black and white, but each captured image is a multi-value image (a grayscale image such as 256 gradations (8 bits)). ), It is possible to obtain transport amount data in the same procedure.

図9は、本実施形態の搬送量検出装置10の動作を説明するためのフローチャートである。
先ず、制御部11は、自身に設定したタイマを用いて基準周期ごとに割り込み処理により、光源1および2を点灯させる(ステップS0)。なお、基準周期は、撮像と各種処理をパイプライン処理する場合には撮像センサ5の露光時間より長く決定しても良い。しかしながら、本例の説明を簡略にするため、基準周期は、光源1および2を点灯させてから出力部22が搬送量データを出力するまでにかかる時間よりも長くなるように決定されている。
その後、制御部11は、撮像センサ5を駆動する。撮像センサ5は、予め定められた露光時間撮像を行い、撮像画像を取得し、その撮像画像を示す画像データをメモリ管理部12に出力する(ステップS1)。なお、制御部11は、撮像画像が適切な露光量で取得されるように、光源1および2の光量および点灯時間を調整してもよい。
メモリ管理部12は、撮像センサ5から出力された画像データを画像メモリ13に一時的に記憶させる。メモリ管理部12は、画像メモリ13に記憶された画像データから第1の部分画像データを抽出して搬送量検出メモリ14に記憶させ(ステップS2)、その画像データから第2の部分画像データを抽出して距離検出メモリ15に記憶させる(ステップS3)。
なお、画像データから第1の部分画像データを抽出する処理は、画像データから第1の画素領域6aに対応する部分を切り出す処理、または、画像データ内の第2の画素領域6bに対応する部分にマスクをかける処理である。画像データから第2の部分画像データを抽出する処理は、画像データから第2の画素領域6bに対応する部分を切り出す処理、または、画像データ内の第1の画素領域6aに対応する部分にマスクをかける処理である。
距離検出メモリ15に第2の部分画像データが記憶されると、重心位置検出部18は、その第2の部分画像データに映されているスポット光の重心位置を検出する(ステップS4)。このとき、重心位置検出部18は、サブピクセル単位で重心位置を検出することで、分解能を上げてもよい。
FIG. 9 is a flowchart for explaining the operation of the carry amount detection apparatus 10 of the present embodiment.
First, the control unit 11 turns on the light sources 1 and 2 by interrupt processing for each reference period using a timer set in itself (step S0). Note that the reference period may be determined longer than the exposure time of the image sensor 5 when pipeline processing is performed for imaging and various processes. However, in order to simplify the description of this example, the reference period is determined to be longer than the time taken from when the light sources 1 and 2 are turned on until the output unit 22 outputs the carry amount data.
Thereafter, the control unit 11 drives the imaging sensor 5. The imaging sensor 5 captures a predetermined exposure time, acquires a captured image, and outputs image data indicating the captured image to the memory management unit 12 (step S1). Note that the control unit 11 may adjust the light amounts and lighting times of the light sources 1 and 2 so that the captured image is acquired with an appropriate exposure amount.
The memory management unit 12 temporarily stores the image data output from the imaging sensor 5 in the image memory 13. The memory management unit 12 extracts the first partial image data from the image data stored in the image memory 13 and stores the first partial image data in the carry amount detection memory 14 (step S2). The second partial image data is extracted from the image data. Extracted and stored in the distance detection memory 15 (step S3).
The process of extracting the first partial image data from the image data is a process of cutting out a part corresponding to the first pixel area 6a from the image data or a part corresponding to the second pixel area 6b in the image data. Is a process of applying a mask to The process of extracting the second partial image data from the image data is a process of cutting out a part corresponding to the second pixel area 6b from the image data, or masking a part corresponding to the first pixel area 6a in the image data. It is a process to apply.
When the second partial image data is stored in the distance detection memory 15, the barycentric position detector 18 detects the barycentric position of the spot light reflected in the second partial image data (step S4). At this time, the barycentric position detector 18 may increase the resolution by detecting the barycentric position in units of subpixels.

距離変換部19は、重心位置検出部18が検出した重心位置から媒体距離を算出する(ステップS5)。距離変換部19は、ステップS5で算出した媒体距離と前回算出した媒体距離との差を媒体距離の変化量として求め、その変化量が予め定められた閾値以上か否かを判断する(ステップS6)。なお、起動開始直後(最初の周期)の場合、つまり、前回算出した媒体距離が存在しない場合、距離変換部19は、変化量は閾値未満と判断してもよいし、前回の媒体距離を基準値として変化量を算出してもよい。
変化量が閾値未満の場合、距離変換部19は、テーブル記憶部20に記憶された補正係数テーブルを用いて、媒体距離から補正係数を算出する(ステップS7)。
一方、変化量が閾値以上の場合、距離変換部19は、媒体距離が異常値であると判断して、エラー処理を行う(ステップS8)。エラー処理は、本実施形態では、媒体距離を、過去に検出された媒体距離(例えば、前回検出された媒体距離)または予め定められた媒体距離として算出し、その媒体距離に応じた補正係数を算出する処理である。エラー処理は、本動作を中断する処理などでもよい。
また、ステップS2において搬送量検出メモリ14に第1の部分画像が記憶されると、パターンマッチング部17は、起動開始直後か否かを判断する(ステップS9)。
起動開始直後の場合、パターンマッチング部17は、被記録媒体Pが搬送されていないので、搬送量を0と算出する(ステップS10)。そして、パターンマッチング部17は、搬送量検出メモリ14に記憶された第1の部分画像データからテンプレートを抽出する。パターンマッチング部17は、そのテンプレートを示す基準画像データとそのテンプレートの画素位置である基準位置とをテンプレートメモリ16に記憶させる(ステップS11)
起動開始直後でない場合、パターンマッチング部17は、搬送量検出メモリ14に記憶された第1の部分画像データとテンプレートメモリ16に記憶された基準画像データとのパターンマッチングを行う。パターンマッチング部17は、そのパターンマッチングにより、第1の部分画像内のテンプレートの画素位置を搬送後の画素位置として特定する(ステップS12)。パターンマッチング部17は、搬送後の画素位置とテンプレートメモリ16に記憶された基準位置との差に基づいて搬送量を算出する(ステップS13)。このとき、パターンマッチング部17は、搬送量をサブピクセル単位で算出することで、分解能を上げてもよい。
The distance conversion unit 19 calculates the medium distance from the centroid position detected by the centroid position detection unit 18 (step S5). The distance conversion unit 19 obtains the difference between the medium distance calculated in step S5 and the previously calculated medium distance as a change amount of the medium distance, and determines whether the change amount is equal to or greater than a predetermined threshold (step S6). ). Note that in the case of immediately after the start of startup (first cycle), that is, when the previously calculated medium distance does not exist, the distance conversion unit 19 may determine that the amount of change is less than the threshold, and the previous medium distance is used as a reference. The amount of change may be calculated as a value.
When the amount of change is less than the threshold, the distance conversion unit 19 calculates a correction coefficient from the medium distance using the correction coefficient table stored in the table storage unit 20 (step S7).
On the other hand, when the amount of change is equal to or greater than the threshold, the distance conversion unit 19 determines that the medium distance is an abnormal value and performs error processing (step S8). In this embodiment, the error processing calculates the media distance as a media distance detected in the past (for example, the media distance detected last time) or a predetermined media distance, and a correction coefficient corresponding to the media distance is calculated. This is a calculation process. The error processing may be processing that interrupts this operation.
When the first partial image is stored in the carry amount detection memory 14 in step S2, the pattern matching unit 17 determines whether or not it is immediately after starting (step S9).
Immediately after the start of activation, the pattern matching unit 17 calculates the transport amount as 0 because the recording medium P is not transported (step S10). Then, the pattern matching unit 17 extracts a template from the first partial image data stored in the carry amount detection memory 14. The pattern matching unit 17 stores the reference image data indicating the template and the reference position that is the pixel position of the template in the template memory 16 (step S11).
If not immediately after the start of activation, the pattern matching unit 17 performs pattern matching between the first partial image data stored in the carry amount detection memory 14 and the reference image data stored in the template memory 16. The pattern matching unit 17 specifies the pixel position of the template in the first partial image as the pixel position after conveyance by the pattern matching (step S12). The pattern matching unit 17 calculates the carry amount based on the difference between the post-carry pixel position and the reference position stored in the template memory 16 (step S13). At this time, the pattern matching unit 17 may increase the resolution by calculating the transport amount in units of subpixels.

パターンマッチング部17は、搬送量検出メモリ14に記憶された第1の部分画像に基づいてテンプレートおよび基準位置を更新する。具体的には、パターンマッチング部17は、搬送量検出メモリ14に記憶された第1の部分画像データからテンプレートを抽出する。パターンマッチング部17は、そのテンプレートを示す基準画像データとそのテンプレートの画素位置である基準位置とをテンプレートメモリ16に記憶させる(ステップS14)。
補正部21は、ステップS10またはS13にてパターンマッチング部17で算出された搬送量に、ステップS7またS8にて距離変換部19にて算出された補正係数を乗算することで、搬送量を補正する(ステップS15)。なお、ステップS10にて搬送量が0と算出された場合、搬送量に補正係数を乗算しても搬送量の値は変化しないため、ステップS15の処理はスキップされてもよい。
その後、出力部22は、補正部21にて補正された搬送量を示す搬送量データを図2に示したコントローラ230のMPU237に送信して(ステップS16)、処理を終了する。なお、MPU237は、搬送量データを受信すると、その搬送量データに応じた記録制御処理を行う。
図9を用いて説明した動作は単なる一例であって、搬送量検出装置10の動作は図9の例に限定されない。例えば、図9の例では、撮像センサ5による撮像処理と、それ以降の演算出力処理とが順番に行われるシリーズ処理が用いられていたが、撮像処理と演算出力処理とを平行して行うパイプライン処理が用いられてもよい。
The pattern matching unit 17 updates the template and the reference position based on the first partial image stored in the carry amount detection memory 14. Specifically, the pattern matching unit 17 extracts a template from the first partial image data stored in the carry amount detection memory 14. The pattern matching unit 17 stores the reference image data indicating the template and the reference position which is the pixel position of the template in the template memory 16 (step S14).
The correction unit 21 corrects the conveyance amount by multiplying the conveyance amount calculated by the pattern matching unit 17 in step S10 or S13 by the correction coefficient calculated by the distance conversion unit 19 in step S7 or S8. (Step S15). If the carry amount is calculated to be 0 in step S10, the carry amount value does not change even if the carry amount is multiplied by the correction coefficient, and therefore the process of step S15 may be skipped.
Thereafter, the output unit 22 transmits conveyance amount data indicating the conveyance amount corrected by the correction unit 21 to the MPU 237 of the controller 230 illustrated in FIG. 2 (step S16), and ends the processing. When the MPU 237 receives the carry amount data, the MPU 237 performs a recording control process according to the carry amount data.
The operation described with reference to FIG. 9 is merely an example, and the operation of the carry amount detection apparatus 10 is not limited to the example of FIG. For example, in the example of FIG. 9, series processing in which imaging processing by the imaging sensor 5 and subsequent calculation output processing are sequentially performed is used. However, a pipe that performs imaging processing and calculation output processing in parallel is used. Line processing may be used.

以上説明したように本実施形態によれば、光源1および2とコリメートレンズ3によって、搬送されている被記録媒体Pに対して第1および第2の光を照射する。撮像センサ5は、第1および第2の光に応じた被記録媒体Pからの光を用いて、被記録媒体Pを撮像して撮像画像を取得する。パターンマッチング部17は、撮像画像に含まれる第1の光に応じた第1の部分画像を用いて、被記録媒体Pの搬送量を検出する。距離検出部60は、撮像画像に含まれる第2の光に応じた第2の画像を用いて、撮像手段と被記録媒体との間の媒体距離を検出する。補正部21は、搬送量を媒体距離に基づいて補正する。
したがって、第1の光に応じた第1の部分画像を用いて検出された搬送量が、第2の光に応じた第2の部分画像を用いて検出された媒体距離に基づいて補正される。したがって、複数の結像光学系を用いなくても、被記録媒体Pの搬送量を媒体距離に基づいて補正することが可能になるため、大型化とコストの増加を抑制しつつ、被記録媒体Pの搬送量を精度良く検出することが可能になる。
また、本実施形態では、撮像センサ5は、第1の光に応じた被記録媒体Pからの光が入射する第1の画素領域6aと、第2の光に応じた被記録媒体Pからの光が入射する第2の画素領域6bとを有する。第1の部分画像は、撮像画像のうち第1の画素領域に対応する画像であり、第2の部分画像は、撮像画像のうち第2の画素領域に対応する画像である。このため、第1の部分画像と第2の部分画像とを精度良く分離することが可能になり、被記録媒体Pの搬送量を精度良く検出することが可能になる。
また、本実施形態では、パターンマッチング部17は、異なるタイミングで取得された複数の撮像画像のそれぞれに含まれる第1の部分画像を用いて、搬送量を検出する。そして、距離検出部60は、パターンマッチング部17が用いた第1の部分画像を含む複数の撮像画像のいずれかに含まれる第2の部分画像を用いて、媒体距離を検出する。したがって、搬送量を検出するために用いられた撮像画像を用いて、その搬送量を補正するための媒体距離を検出することが可能になるため、被記録媒体Pの搬送量を精度良く検出することが可能になる。
また、本実施形態では、制御部11は、第1および第2の光の光量および照射時間を個別に制御する。このため、適切な明るさの撮像画像を得ることが可能になるため、被記録媒体Pの搬送量を精度良く検出することが可能になる。
また、本実施形態では、メモリ管理部12aは、撮像画像から第1の部分画像および第2の部分画像を抽出する。パターンマッチング部17は、メモリ管理部12が抽出した第1の部分画像を用い、距離検出部60は、メモリ管理部12が抽出した第2の部分画像を用いる。このため、第1の部分画像と第2の部分画像とを精度良く分離することが可能になり、被記録媒体Pの搬送量を精度良く検出することが可能になる。
また、本実施形態では、距離検出部60は、媒体距離の変化量を求め、その変化量が閾値以上の場合、異常が発生したと判断してエラー処理を行う。このため、媒体距離の検出に異常が発生しても、適切なエラー処理を行うことが可能になる。
また、本実施形態のエラー処理には、媒体距離を、過去に検出された媒体距離または予め定められた媒体距離とする処理が含まれる。この場合、異常が発生しても搬送量を補正することが可能になるため、被記録媒体Pの搬送量を精度良く検出することが可能になる。
また、本実施形態では、結像レンズ4が第1の光に応じた被記録媒体からの光と、第2の光に応じた被記録媒体からの光で共用されている。このため、結像レンズ4を複数設ける必要がなくなるため、大型化とコストの増加を抑制することが可能になる。
As described above, according to the present embodiment, the light sources 1 and 2 and the collimating lens 3 irradiate the recording medium P being conveyed with the first and second lights. The imaging sensor 5 captures the recording medium P using the light from the recording medium P corresponding to the first and second lights and acquires a captured image. The pattern matching unit 17 detects the transport amount of the recording medium P using the first partial image corresponding to the first light included in the captured image. The distance detection unit 60 detects the medium distance between the imaging unit and the recording medium using the second image corresponding to the second light included in the captured image. The correction unit 21 corrects the carry amount based on the medium distance.
Therefore, the conveyance amount detected using the first partial image corresponding to the first light is corrected based on the medium distance detected using the second partial image corresponding to the second light. . Accordingly, the transport amount of the recording medium P can be corrected based on the medium distance without using a plurality of imaging optical systems, and thus the recording medium can be suppressed while suppressing an increase in size and cost. It becomes possible to accurately detect the transport amount of P.
In the present embodiment, the imaging sensor 5 includes the first pixel region 6a on which light from the recording medium P corresponding to the first light is incident, and the recording medium P corresponding to the second light. And a second pixel region 6b on which light is incident. The first partial image is an image corresponding to the first pixel area in the captured image, and the second partial image is an image corresponding to the second pixel area in the captured image. Therefore, the first partial image and the second partial image can be separated with high accuracy, and the transport amount of the recording medium P can be detected with high accuracy.
In the present embodiment, the pattern matching unit 17 detects the carry amount using the first partial images included in each of the plurality of captured images acquired at different timings. Then, the distance detection unit 60 detects the medium distance using the second partial image included in any of the plurality of captured images including the first partial image used by the pattern matching unit 17. Therefore, since it is possible to detect the medium distance for correcting the carry amount using the captured image used to detect the carry amount, the carry amount of the recording medium P is accurately detected. It becomes possible.
Moreover, in this embodiment, the control part 11 controls the light quantity and irradiation time of 1st and 2nd light separately. For this reason, since it becomes possible to obtain a captured image with appropriate brightness, it is possible to accurately detect the transport amount of the recording medium P.
In the present embodiment, the memory management unit 12a extracts the first partial image and the second partial image from the captured image. The pattern matching unit 17 uses the first partial image extracted by the memory management unit 12, and the distance detection unit 60 uses the second partial image extracted by the memory management unit 12. Therefore, the first partial image and the second partial image can be separated with high accuracy, and the transport amount of the recording medium P can be detected with high accuracy.
In the present embodiment, the distance detection unit 60 obtains a change amount of the medium distance, and when the change amount is equal to or greater than a threshold value, determines that an abnormality has occurred and performs error processing. For this reason, even if an abnormality occurs in the detection of the medium distance, it is possible to perform appropriate error processing.
Further, the error processing of the present embodiment includes processing for setting the medium distance to a medium distance detected in the past or a predetermined medium distance. In this case, since the carry amount can be corrected even if an abnormality occurs, the carry amount of the recording medium P can be accurately detected.
In the present embodiment, the imaging lens 4 is shared by the light from the recording medium corresponding to the first light and the light from the recording medium corresponding to the second light. For this reason, since it is not necessary to provide a plurality of imaging lenses 4, it is possible to suppress an increase in size and cost.

(第2の実施形態)
第1の実施形態では、搬送量を検出する搬送検出処理と媒体距離を検出する距離検出処理とが同時に行われていた。本実施形態では、搬送検出処理と距離検出処理とが時分割で交互に実行される例を説明する
図10は、本実施形態の搬送量検出装置の構成を示すブロック図である。図10に示す搬送量検出装置10aは、搬送量センサ105と、制御部11aと、メモリ管理部12aと、画像メモリ13と、切り出しメモリ14aとを備える。また、搬送量検出装置10は、パターンマッチング部17と、重心位置検出部18と、距離変換部19と、テーブル記憶部20と、補正部21と、出力部22とを備える。さらに、搬送量検出装置10は、NOT回路31と、ラッチ部32とを備える。
テンプレートメモリ16、パターンマッチング部17、補正部21および出力部22は、搬送量を検出する搬送検出部50aを構成する。重心位置検出部18、距離変換部19、テーブル記憶部20およびラッチ部32は、媒体距離を検出する距離検出部60aを構成する。
制御部11aは、図6に示した制御部11の機能に加え、タイマが起動される度に、タイマが起動した回数、つまり周期(フレーム)の番号をカウントするフレームカウンタを有する。なお、フレームカウンタのカウンタ値は、0から始まる。
制御部11aは、フレームカウンタのカウンタ値が偶数の場合、距離検出処理を距離検出部60aに実行させ、カウンタ値が奇数の場合、搬送検出処理を搬送検出部50aに実行させる。本実施形態では、カウンタ値の偶奇を示す信号をイネーブル信号として搬送検出部50aに入力し、そのイネーブル信号をNOT回路31で反転させた反転イネーブル信号を距離検出部60aに入力する。さらに制御部11aは、カウンタ値が奇数の場合、イネーブル信号をオンにし、カウンタ値が偶数の場合、イネーブル信号をオフにする。これにより、カウンタ値が偶数の場合、距離検出部60aが距離検出処理を実行し、カウンタ値が奇数の場合、搬送検出部50aが搬送検出処理を実行する。
メモリ管理部12aは、撮像センサ5にて取得された撮像画像を示す画像データを画像メモリ13に一時的に記憶させる。メモリ管理部12は、制御部11aのフレームカウンタのカウンタ値が偶数の場合、画像メモリ13に記憶された画像データから第2の部分画像データを抽出して切り出しメモリ14aに記憶させる。また、メモリ管理部12は、カウンタ値が奇数の場合、画像メモリ13に記憶された画像データから第1の部分画像データを抽出して切り出しメモリ14aに記憶させる。
ラッチ部32は、距離変換部19で算出された補正係数を示す係数情報をラッチ(保存)する。
補正部21は、パターンマッチング部17で検出された搬送量を、ラッチ部32にラッチされた補正係数で補正する。
以上の構成により本実施形態では、距離検出部60aは、パターンマッチング部17が用いた第1の部分画像を含む撮像画像とは異なるタイミングで取得された撮像画像に含まれる第2の部分画像を用いて媒体距離を算出することになる。特に本実施形態では、搬送検出処理と距離検出処理とが交互に実行される。このため、距離検出部60aは、パターンマッチング部17が用いた第1の部分画像を含む撮像画像と最も近接するタイミングで取得された撮像画像に含まれる第2の部分画像を用いて媒体距離を算出することになる。
(Second Embodiment)
In the first embodiment, the conveyance detection process for detecting the conveyance amount and the distance detection process for detecting the medium distance are performed simultaneously. In the present embodiment, an example in which the conveyance detection process and the distance detection process are alternately performed in a time division manner will be described. FIG. 10 is a block diagram illustrating the configuration of the conveyance amount detection apparatus according to the present embodiment. The carry amount detection device 10a illustrated in FIG. 10 includes a carry amount sensor 105, a control unit 11a, a memory management unit 12a, an image memory 13, and a cutout memory 14a. Further, the carry amount detection apparatus 10 includes a pattern matching unit 17, a gravity center position detection unit 18, a distance conversion unit 19, a table storage unit 20, a correction unit 21, and an output unit 22. Further, the carry amount detection device 10 includes a NOT circuit 31 and a latch unit 32.
The template memory 16, the pattern matching unit 17, the correction unit 21, and the output unit 22 constitute a conveyance detection unit 50a that detects the conveyance amount. The center-of-gravity position detection unit 18, the distance conversion unit 19, the table storage unit 20, and the latch unit 32 constitute a distance detection unit 60a that detects the medium distance.
In addition to the function of the control unit 11 illustrated in FIG. 6, the control unit 11 a includes a frame counter that counts the number of times the timer is started, that is, a cycle (frame) number each time the timer is started. The counter value of the frame counter starts from 0.
The control unit 11a causes the distance detection unit 60a to execute distance detection processing when the counter value of the frame counter is an even number, and causes the conveyance detection unit 50a to execute conveyance detection processing when the counter value is an odd number. In the present embodiment, a signal indicating even / odd counter value is input to the transport detection unit 50a as an enable signal, and an inverted enable signal obtained by inverting the enable signal by the NOT circuit 31 is input to the distance detection unit 60a. Further, the control unit 11a turns on the enable signal when the counter value is odd, and turns off the enable signal when the counter value is even. Thereby, when the counter value is an even number, the distance detection unit 60a executes the distance detection process, and when the counter value is an odd number, the conveyance detection unit 50a executes the conveyance detection process.
The memory management unit 12 a temporarily stores image data indicating the captured image acquired by the imaging sensor 5 in the image memory 13. When the counter value of the frame counter of the control unit 11a is an even number, the memory management unit 12 extracts the second partial image data from the image data stored in the image memory 13 and stores it in the cut-out memory 14a. In addition, when the counter value is an odd number, the memory management unit 12 extracts the first partial image data from the image data stored in the image memory 13 and stores the first partial image data in the cut-out memory 14a.
The latch unit 32 latches (saves) the coefficient information indicating the correction coefficient calculated by the distance conversion unit 19.
The correction unit 21 corrects the carry amount detected by the pattern matching unit 17 with the correction coefficient latched by the latch unit 32.
With the above configuration, in the present embodiment, the distance detection unit 60a extracts the second partial image included in the captured image acquired at a timing different from the captured image including the first partial image used by the pattern matching unit 17. The medium distance is calculated using this. In particular, in the present embodiment, the conveyance detection process and the distance detection process are executed alternately. For this reason, the distance detection unit 60a calculates the medium distance by using the second partial image included in the captured image acquired at the timing closest to the captured image including the first partial image used by the pattern matching unit 17. Will be calculated.

図11は、本実施形態の搬送量検出装置10aの動作を説明するためのフローチャートである。
先ず、制御部11aは、自身に設定したタイマが起動すると、フレームカウンタのカウンタ値を確認して、カウンタ値が偶数か否かを判断する(ステップS20)。なお、カウンタ値の初期値は0に設定されている。
カウンタ値が偶数の場合、制御部11aは、オフを示すイネーブル信号を出力し、さらに光源1を消灯し、光源2を点灯させる。出力されたイネーブル信号はNOT回路31で反転されてオンを示す反転イネーブル信号として距離検出部60aに入力される。これにより、距離検出部60aが駆動する(ステップS21)。
そして、制御部11aは、撮像センサ5を駆動する。撮像センサ5は、予め定められた露光時間撮像を行い、撮像画像を取得し、その撮像画像を示す画像データをメモリ管理部12aに出力する(ステップS1a)。
メモリ管理部12aは、撮像センサ5から出力された画像データを画像メモリ13に一時的に記憶させる。メモリ管理部12aは、画像メモリ13に記憶された画像データから第2の部分画像データを抽出して切り出しメモリ14aに記憶させる(ステップS3a)。
その後、図9のステップS4〜S8と同等な処理が実行される。このとき、ステップS4〜S8において距離検出メモリ15は切り出しメモリ14aに読み替える。
ステップS8の処理が終了すると、ラッチ部32は、ステップS7またS8にて距離変換部19にて算出された補正係数を示す係数情報をラッチする(ステップS22)。
FIG. 11 is a flowchart for explaining the operation of the carry amount detection apparatus 10a of this embodiment.
First, when the timer set in itself is started, the control unit 11a checks the counter value of the frame counter and determines whether or not the counter value is an even number (step S20). Note that the initial value of the counter value is set to zero.
When the counter value is an even number, the control unit 11a outputs an enable signal indicating OFF, further turns off the light source 1, and turns on the light source 2. The output enable signal is inverted by the NOT circuit 31 and input to the distance detection unit 60a as an inverted enable signal indicating ON. Thereby, the distance detection part 60a drives (step S21).
Then, the control unit 11a drives the imaging sensor 5. The imaging sensor 5 captures a predetermined exposure time, acquires a captured image, and outputs image data indicating the captured image to the memory management unit 12a (step S1a).
The memory management unit 12 a temporarily stores the image data output from the imaging sensor 5 in the image memory 13. The memory management unit 12a extracts the second partial image data from the image data stored in the image memory 13 and stores it in the cutout memory 14a (step S3a).
Thereafter, processing equivalent to steps S4 to S8 in FIG. 9 is executed. At this time, the distance detection memory 15 is replaced with the cutout memory 14a in steps S4 to S8.
When the process of step S8 ends, the latch unit 32 latches coefficient information indicating the correction coefficient calculated by the distance conversion unit 19 in step S7 or S8 (step S22).

カウンタ値が奇数の場合、制御部11aは、オンを示すイネーブル信号を出力し、さらに光源1を点灯し、光源2を消灯させる。出力されたイネーブル信号は搬送検出部50aに入力される。これにより、搬送検出部50aが駆動する(ステップS23)。
そして、制御部11aは、撮像センサ5を駆動する。撮像センサ5は、予め定められた露光時間撮像を行い、撮像画像を取得し、その撮像画像を示す画像データをメモリ管理部12aに出力する(ステップS1b)。
メモリ管理部12aは、撮像センサ5から出力された画像データを画像メモリ13に一時的に記憶させる。メモリ管理部12aは、画像メモリ13に記憶された画像データから第1の部分画像データを抽出して切り出しメモリ14aに記憶させる(ステップS3b)。
その後、図9のステップS9〜S14までと同等な処理が実行される。このとき、ステップS4〜S8において距離検出メモリ15は切り出しメモリ14aに読み替える。
ステップS14の処理が終了すると、補正部21は、ステップS10またはS13にてパターンマッチング部17で算出された搬送量を補正する。具体的には、補正部21は、その搬送量を、ステップS22にてラッチ部32にラッチされた係数情報が示す補正係数を乗算することで、搬送量を補正する(ステップS15a)。
その後、出力部22は、補正部21にて補正された搬送量を示す搬送量データを、図2に示したコントローラ230のMPU237に送信する(ステップS16)。そして、制御部11aは、フレームカウンタのカウンタ値を更新(インクリメント)して(ステップS23)、処理を終了する。
When the counter value is an odd number, the control unit 11a outputs an enable signal indicating ON, further turns on the light source 1, and turns off the light source 2. The output enable signal is input to the conveyance detection unit 50a. Thereby, the conveyance detection unit 50a is driven (step S23).
Then, the control unit 11a drives the imaging sensor 5. The imaging sensor 5 performs imaging for a predetermined exposure time, acquires a captured image, and outputs image data indicating the captured image to the memory management unit 12a (step S1b).
The memory management unit 12 a temporarily stores the image data output from the imaging sensor 5 in the image memory 13. The memory management unit 12a extracts the first partial image data from the image data stored in the image memory 13 and stores it in the cutout memory 14a (step S3b).
Thereafter, processing equivalent to steps S9 to S14 in FIG. 9 is executed. At this time, the distance detection memory 15 is replaced with the cutout memory 14a in steps S4 to S8.
When the process of step S14 ends, the correction unit 21 corrects the carry amount calculated by the pattern matching unit 17 in step S10 or S13. Specifically, the correction unit 21 corrects the carry amount by multiplying the carry amount by a correction coefficient indicated by the coefficient information latched by the latch unit 32 in Step S22 (Step S15a).
Thereafter, the output unit 22 transmits transport amount data indicating the transport amount corrected by the correction unit 21 to the MPU 237 of the controller 230 illustrated in FIG. 2 (step S16). Then, the control unit 11a updates (increments) the counter value of the frame counter (step S23) and ends the process.

図11を用いて説明した動作は単なる一例であって、搬送量検出装置10aの動作は図11の例に限定されない。例えば、制御部11aが備えるフレームカウンタは、ソフトウェアで実現されてもよい。また、上記の例では、距離検出処理および搬送検出処理が行われる頻度は、カウンタ値が偶数か奇数かに応じて距離検出処理または搬送検出処理が実行されていたため、互いに等しい。しかしながら、距離検出処理および搬送検出処理が行われる頻度は、異なっていてもよい。例えば、制御部11aは、カウンタ値が3の倍数の場合、距離検出処理を距離検出部60aに実行させ、カウンタ値が3の倍数でない場合、搬送検出処理を搬送検出部50aに実行させてもよい。
また、上記の例では、制御部11のタイマにて測定される基準周期は、距離検出処理および搬送検出処理のうち長時間かかる方の処理時間よりも長くなるように決定される。しかしながら、基準周期は、現在実行中の処理が距離検出処理か搬送検出処理かに応じて異なっていてもよい。具体的には、距離検出処理は、搬送検出処理よりも短時間で終わるため、現在実行中の処理が距離検出処理の場合、基準周期を短くし、現在実行中の処理が搬送検出処理の場合、基準周期を長くしてもよい。
なお、本実施形態では、距離検出処理と搬送検出処理とにおいて別のタイミングで撮像が行われるため、撮像センサ5内の画素領域6aと画素領域6bを分離しなくても良い。
The operation described with reference to FIG. 11 is merely an example, and the operation of the carry amount detection device 10a is not limited to the example of FIG. For example, the frame counter included in the control unit 11a may be realized by software. In the above example, the distance detection process and the conveyance detection process are performed at the same frequency because the distance detection process or the conveyance detection process is performed according to whether the counter value is an even number or an odd number. However, the frequency with which the distance detection process and the conveyance detection process are performed may be different. For example, the control unit 11a may cause the distance detection process to be executed by the distance detection unit 60a when the counter value is a multiple of 3, and may cause the conveyance detection unit 50a to execute the conveyance detection process when the counter value is not a multiple of 3. Good.
In the above example, the reference period measured by the timer of the control unit 11 is determined to be longer than the longer processing time of the distance detection process and the conveyance detection process. However, the reference period may be different depending on whether the currently executed process is a distance detection process or a conveyance detection process. Specifically, since the distance detection process ends in a shorter time than the conveyance detection process, if the currently executing process is a distance detection process, the reference period is shortened, and the currently executing process is a conveyance detection process. The reference period may be lengthened.
In the present embodiment, since the imaging is performed at different timings in the distance detection process and the conveyance detection process, the pixel area 6a and the pixel area 6b in the imaging sensor 5 may not be separated.

以上説明したように本実施形態でも、第1の光に応じた第1の部分画像を用いて検出された搬送量が、第2の光に応じた第2の部分画像を用いて検出された媒体距離に基づいて補正される。このため、大型化とコストの増加を抑制しつつ、被記録媒体Pの搬送量を精度良く検出することが可能になる。
また、本実施形態では、距離検出部60aは、パターンマッチング部17が用いた第1の部分画像を含む撮像画像とは異なるタイミングで取得された撮像画像に含まれる第2の部分画像を用いて媒体距離を算出する。このため、搬送量を検出する処理と、媒体距離を検出する処理とを同時に行わなくても良くなる。したがって、搬送検出部50aと距離検出部60aとを実現するための記憶装置やプロセッサなどの少なくとも一部を共有化することが可能になるため、大型化とコストの増加を抑制することが可能になる。
As described above, also in the present embodiment, the carry amount detected using the first partial image corresponding to the first light is detected using the second partial image corresponding to the second light. Correction is made based on the medium distance. For this reason, it is possible to accurately detect the transport amount of the recording medium P while suppressing an increase in size and cost.
In the present embodiment, the distance detection unit 60a uses the second partial image included in the captured image acquired at a timing different from the captured image including the first partial image used by the pattern matching unit 17. Calculate the media distance. For this reason, it is not necessary to perform the process for detecting the carry amount and the process for detecting the medium distance at the same time. Accordingly, it is possible to share at least a part of a storage device, a processor, and the like for realizing the conveyance detection unit 50a and the distance detection unit 60a, thereby suppressing an increase in size and cost. Become.

以上説明した各実施形態において、図示した構成は単なる一例であって、本発明はその構成に限定されるものではない。
例えば、記録装置100は、図2に示した構成に加えて、ユーザインタフェースとしてLCD(Liquid Crystal Display)やLED(Light Emitting Diode)などで構成される表示部を備えてもよい。
また、1つの撮像センサ5の画素領域6を第1の画素領域6aと第2の画素領域6bとに分割していたが、第1の画素領域6aおよび第2の画素領域6bのそれぞれを有する2つの撮像センサ5が用いられてもよい。この場合、1つの撮像センサ5で構成される場合に比べて、2つの撮像センサ5の画素領域を小さくすることで安価に作成することができる。
In each embodiment described above, the illustrated configuration is merely an example, and the present invention is not limited to the configuration.
For example, in addition to the configuration illustrated in FIG. 2, the recording apparatus 100 may include a display unit that includes a liquid crystal display (LCD) or a light emitting diode (LED) as a user interface.
Further, although the pixel region 6 of one image sensor 5 is divided into the first pixel region 6a and the second pixel region 6b, the pixel region 6 includes the first pixel region 6a and the second pixel region 6b. Two imaging sensors 5 may be used. In this case, compared with the case where the image sensor 5 is configured, the pixel area of the two image sensors 5 can be made inexpensively.

1、2 光源(照射手段)
3 コリメートレンズ(照射手段)
4 結像レンズ(結像光学系)
5 撮像センサ(撮像手段)
10、10a 搬送量検出装置
17 パターンマッチング部(検出手段)
21 補正部(補正手段)
60、60a 距離検出部(距離検出手段)
100 記録装置
1, 2 Light source (irradiation means)
3 Collimating lens (irradiation means)
4 Imaging lens (imaging optical system)
5 Imaging sensor (imaging means)
10, 10a Conveyance amount detection device 17 Pattern matching unit (detection means)
21 Correction part (correction means)
60, 60a Distance detection unit (distance detection means)
100 recording device

Claims (16)

搬送されている被記録媒体に対して第1および第2の光を照射する照射手段と、
前記照射手段が照射した第1および第2の光に応じた前記被記録媒体からの光を用いて、前記被記録媒体を撮像して撮像画像を取得する撮像手段と、
前記撮像画像に含まれる前記第1の光に応じた第1の画像を用いて、前記被記録媒体の搬送量を検出する検出手段と、
前記撮像画像に含まれる前記第2の光に応じた第2の画像を用いて、前記撮像手段と前記被記録媒体との間の距離を検出する距離検出手段と、
前記搬送量を前記距離に基づいて補正する補正手段と、を備えることを特徴とする搬送量検出装置。
Irradiating means for irradiating the recording medium being conveyed with the first and second lights;
An imaging unit that captures an image of the recording medium by using light from the recording medium corresponding to the first and second light irradiated by the irradiation unit;
Detecting means for detecting a conveyance amount of the recording medium using a first image corresponding to the first light included in the captured image;
A distance detection unit that detects a distance between the imaging unit and the recording medium using a second image corresponding to the second light included in the captured image;
And a correction unit that corrects the conveyance amount based on the distance.
前記撮像手段は、前記第1の光に応じた前記被記録媒体からの光が入射する第1の画素領域と、前記第2の光に応じた前記被記録媒体からの光が入射する第2の画素領域とを有し、
前記第1の画像は、前記撮像画像のうち前記第1の画素領域に対応する部分画像であり、前記第2の画像は、前記撮像画像のうち前記第2の画素領域に対応する部分画像であることを特徴とする請求項1に記載の搬送量検出装置。
The imaging means includes a first pixel region where light from the recording medium corresponding to the first light is incident, and a second pixel where light from the recording medium corresponding to the second light is incident. And a pixel area of
The first image is a partial image corresponding to the first pixel region in the captured image, and the second image is a partial image corresponding to the second pixel region in the captured image. The conveyance amount detection device according to claim 1, wherein the conveyance amount detection device is a device.
前記被記録媒体における前記第2の光の照射面積は、前記被記録媒体における前記第1の光の照射面積よりも小さいことを特徴とする請求項1または2に記載の搬送量検出装置。   The transport amount detection device according to claim 1, wherein an irradiation area of the second light on the recording medium is smaller than an irradiation area of the first light on the recording medium. 前記撮像手段は、異なるタイミングで前記撮像画像を複数取得し、
前記検出手段は、複数の前記撮像画像のそれぞれに含まれる第1の画像を用いて、前記搬送量を検出し、
前記距離検出手段は、前記検出手段が用いた第1の画像を含む複数の撮像画像のいずれかに含まれる第2の画像を用いて、前記距離を検出することを特徴とする請求項1ないし3のいずれか1項に記載の搬送量検出装置。
The imaging means acquires a plurality of the captured images at different timings,
The detection means detects the transport amount using a first image included in each of the plurality of captured images,
The distance detecting unit detects the distance by using a second image included in any of a plurality of captured images including the first image used by the detecting unit. The conveyance amount detection device according to any one of 3.
前記距離検出手段は、前記検出手段が用いた第1の画像を含む複数の撮像画像のうち最新の撮像画像に含まれる第2の画像を用いることを特徴とする請求項4に記載の搬送量検出装置。   5. The transport amount according to claim 4, wherein the distance detection unit uses a second image included in a latest captured image among a plurality of captured images including the first image used by the detection unit. Detection device. 前記撮像手段は、異なるタイミングで前記撮像画像を複数取得し、
前記検出手段は、複数の前記撮像画像のそれぞれに含まれる第1の画像を用いて、前記搬送量を検出し、
前記距離検出手段は、前記検出手段が用いた第1の画像を含む複数の撮像画像とは異なるタイミングで取得された撮像画像に含まれる第2の画像を用いて、前記距離を算出することを特徴とする請求項1ないし3のいずれか1項に記載の搬送量検出装置。
The imaging means acquires a plurality of the captured images at different timings,
The detection means detects the transport amount using a first image included in each of the plurality of captured images,
The distance detection unit calculates the distance using a second image included in a captured image acquired at a timing different from a plurality of captured images including the first image used by the detection unit. The conveyance amount detection device according to claim 1, wherein the conveyance amount detection device is a feature.
前記距離検出手段は、前記検出手段が用いた第1の画像を含む複数の撮像画像のうち最新の撮像画像と最も近接するタイミングで取得された撮像画像に含まれる第2の画像を用いることを特徴とする請求項6に記載の搬送量検出装置。   The distance detection unit uses a second image included in a captured image acquired at a timing closest to the latest captured image among a plurality of captured images including the first image used by the detection unit. The conveyance amount detection device according to claim 6, wherein 前記第1および前記第2の光の光量および照射時間を個別に制御する制御手段をさらに備えることを特徴とする請求項1ないし7のいずれか1項に記載の搬送量検出装置。   The transport amount detection device according to claim 1, further comprising a control unit that individually controls a light amount and an irradiation time of the first light and the second light. 前記撮像画像から前記第1の画像および前記第2の画像を抽出する抽出手段をさらに有し、
前記検出手段は、前記抽出手段が抽出した前記第1の画像を用い、
前記距離検出手段は、前記抽出手段が抽出した前記第2の画像を用いる、請求項1ないし8のいずれか1項に記載の搬送量検出装置
An extraction means for extracting the first image and the second image from the captured image;
The detection means uses the first image extracted by the extraction means,
The transport amount detection device according to claim 1, wherein the distance detection unit uses the second image extracted by the extraction unit.
前記距離検出手段は、前記距離の変化量を求め、当該変化量が閾値以上の場合、異常が発生したと判断してエラー処理を行うことを特徴とする請求項1ないし9のいずれか1項に記載の搬送量検出装置。   10. The distance detection unit according to claim 1, wherein the distance detection unit obtains a change amount of the distance, and performs error processing by determining that an abnormality has occurred when the change amount is equal to or greater than a threshold value. The conveyance amount detection apparatus described in 1. 前記エラー処理は、前記距離を、過去に検出された距離または予め定められた距離とする処理を含むことを特徴とする請求項10に記載の搬送量検出装置。   The transport amount detection apparatus according to claim 10, wherein the error process includes a process of setting the distance to a distance detected in the past or a predetermined distance. 前記被記録媒体からの光を前記撮像手段に結像させる結像光学系をさらに備え、
前記結像光学系は、前記第1の光に応じた前記被記録媒体からの光と、前記第2の光に応じた前記被記録媒体からの光で共用されていることを特徴とする請求項1ないし11のいずれか1項に記載の搬送量検出装置。
An imaging optical system for imaging light from the recording medium on the imaging means;
The imaging optical system is shared by the light from the recording medium corresponding to the first light and the light from the recording medium corresponding to the second light. Item 12. The conveyance amount detection device according to any one of Items 1 to 11.
前記照射手段は、前記第1の光を照射する第1の照射手段と、前記第2の光を照射する第2の照射手段とを含むことを特徴とする請求項1ないし12のいずれか1項に記載の搬送量検出装置。   The said irradiation means contains the 1st irradiation means which irradiates said 1st light, and the 2nd irradiation means which irradiates said 2nd light, The any one of Claim 1 thru | or 12 characterized by the above-mentioned. The conveyance amount detection device according to item. 前記第1および第2の光に応じた前記被記録媒体からの光は、前記第1および第2の光の前記被記録媒体による反射光である、請求項1ないし13のいずれか1項に記載の搬送量検出装置。   14. The light according to claim 1, wherein light from the recording medium corresponding to the first and second lights is reflected light of the first and second lights from the recording medium. The conveyance amount detection device described. 請求項1ないし14のいずれか1項に記載の搬送量検出装置と、
前記被記録媒体を搬送する搬送手段と、
前記搬送量検出装置にて補正された搬送量に基づいて、前記搬送手段による前記被記録媒体の搬送量を調整する記録制御手段と、を備えることを特徴とする記録装置。
The conveyance amount detection device according to any one of claims 1 to 14,
Conveying means for conveying the recording medium;
And a recording control unit configured to adjust a conveyance amount of the recording medium by the conveyance unit based on the conveyance amount corrected by the conveyance amount detection device.
請求項1ないし14のいずれか1項に記載の搬送量検出装置と、
前記被記録媒体を搬送する搬送手段と、
記録データに基づいて前記被記録媒体に記録を行う記録手段と、
前記搬送量検出装置にて補正された搬送量に基づいて、前記記録データを補正する記録制御手段と、を備えることを特徴とする記録装置。
The conveyance amount detection device according to any one of claims 1 to 14,
Conveying means for conveying the recording medium;
Recording means for recording on the recording medium based on recording data;
A recording apparatus comprising: a recording control unit that corrects the recording data based on the conveyance amount corrected by the conveyance amount detection device.
JP2017113563A 2017-06-08 2017-06-08 Transfer amount detector and recording medium Pending JP2018205239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017113563A JP2018205239A (en) 2017-06-08 2017-06-08 Transfer amount detector and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017113563A JP2018205239A (en) 2017-06-08 2017-06-08 Transfer amount detector and recording medium

Publications (1)

Publication Number Publication Date
JP2018205239A true JP2018205239A (en) 2018-12-27

Family

ID=64956982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017113563A Pending JP2018205239A (en) 2017-06-08 2017-06-08 Transfer amount detector and recording medium

Country Status (1)

Country Link
JP (1) JP2018205239A (en)

Similar Documents

Publication Publication Date Title
JP5586918B2 (en) Movement detection apparatus and recording apparatus
US8593650B2 (en) Printer and method for detecting movement of object
JP6848663B2 (en) Printing device and control method
JP5495716B2 (en) Movement detection apparatus and recording apparatus
US20180297359A1 (en) Printer and control method
JP5441618B2 (en) Movement detection apparatus, movement detection method, and recording apparatus
US10406820B2 (en) Inkjet recording apparatus
US8123327B2 (en) Method and apparatus to adjust distance calculations
US10362189B2 (en) Image reading apparatus having an abnormality detecting unit for a calibration plate
JP2018205239A (en) Transfer amount detector and recording medium
US10148835B2 (en) Image processing device, printing apparatus, and control method
JP6768451B2 (en) Equipment, methods and programs
US10011129B2 (en) Conveyance detection apparatus, conveying apparatus, and recording apparatus
JP6711129B2 (en) Liquid ejection device and liquid ejection method
JP2014189385A (en) Sheet conveyance device, printer, sheet conveyance method and program
JP2021024127A (en) Recording device and recording method
JP2020104434A (en) Image formation apparatus and image data processing method
US20170355544A1 (en) Conveyance detection apparatus, conveying apparatus, and recording apparatus
JP6444129B2 (en) Recording apparatus and recording method
JP7193416B2 (en) Printing system and printing method
JP2024121964A (en) Image forming device, image reading device
JP2022011924A (en) Recording device and detection method
JP2020059222A (en) Printer and printer control method
JP2020146845A (en) Image recording apparatus, reading apparatus, image recording method, and recording medium conveyance method
JP2020025188A (en) Reading device and reading method