JP2021053867A - Recording apparatus and recording medium determination method - Google Patents

Recording apparatus and recording medium determination method Download PDF

Info

Publication number
JP2021053867A
JP2021053867A JP2019178033A JP2019178033A JP2021053867A JP 2021053867 A JP2021053867 A JP 2021053867A JP 2019178033 A JP2019178033 A JP 2019178033A JP 2019178033 A JP2019178033 A JP 2019178033A JP 2021053867 A JP2021053867 A JP 2021053867A
Authority
JP
Japan
Prior art keywords
recording medium
recording
measurement
value
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019178033A
Other languages
Japanese (ja)
Other versions
JP7418108B2 (en
Inventor
由季子 小原
Yukiko Obara
由季子 小原
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 JP2019178033A priority Critical patent/JP7418108B2/en
Publication of JP2021053867A publication Critical patent/JP2021053867A/en
Application granted granted Critical
Publication of JP7418108B2 publication Critical patent/JP7418108B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

To provide a recording apparatus capable of highly accurately determining a kind even for a recording medium whose homogeneity is low.SOLUTION: A carriage includes an optical sensor 201 and a recording head provided with a discharge port surface including a discharge port that permits discharge of ink. The optical sensor 201 measures characteristics of a recording medium a plurality of times at different measuring positions. The kind of the recording medium is determined on the basis of a value indicating a tendency of dispersion of measurement results, the measurement results and a previously stored characteristic value of a recording medium which serves as a reference.SELECTED DRAWING: Figure 9

Description

本発明は、記録装置及び記録媒体決定方法に関する。 The present invention relates to a recording device and a method for determining a recording medium.

記録装置において記録を行う際に、記録媒体の種類に応じた制御パラメータを使用して記録を行うことが知られている。特許文献1には、適切な制御パラメータを使用して記録を行うために、記録対象の記録媒体の複数の特性値を測定し、基準となる値と比較することで記録媒体の種類を判別することが開示されている。また、複数の位置で記録媒体の特性である紙厚を測定することも開示されている。 It is known that when recording is performed in a recording device, recording is performed using control parameters according to the type of recording medium. In Patent Document 1, in order to perform recording using appropriate control parameters, a plurality of characteristic values of a recording medium to be recorded are measured and compared with a reference value to determine the type of the recording medium. Is disclosed. It is also disclosed that the paper thickness, which is a characteristic of the recording medium, is measured at a plurality of positions.

特開2016−215591号公報Japanese Unexamined Patent Publication No. 2016-215591

しかしながら、記録媒体によっては、表面の凹凸が多く面内の均一性の低いものもある。均一性の低い記録媒体の特性値は測定位置による測定値のばらつきが大きく、複数の位置で記録媒体の特性値を測定したとしても十分な精度で記録媒体の種類を判別することができない虞がある。 However, some recording media have many surface irregularities and low in-plane uniformity. The characteristic values of recording media with low uniformity vary widely depending on the measurement position, and even if the characteristic values of the recording medium are measured at multiple positions, there is a risk that the type of recording medium cannot be determined with sufficient accuracy. is there.

本発明は上記課題に鑑みてなされたものであり、均一性の低い記録媒体であっても精度よく判別できるようにすることを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to enable accurate discrimination even with a recording medium having low uniformity.

本発明は、記録装置で使用される記録媒体の特性を測定手段によって測定した測定結果を取得する取得手段と、前記取得手段で取得した前記測定結果と、予め記憶された基準となる記録媒体の特性値と、に基づいて前記記録装置で使用される記録媒体の種類を決定する決定手段と、を備える記録装置であって、前記取得手段は、前記測定手段によって複数回、それぞれ異なる測定位置で測定した複数の測定結果を取得し、前記決定手段は、前記取得手段が取得した前記複数の測定結果の分散の傾向を示す値と、前記複数の測定結果に基づいた測定値に基づいて記録媒体の種類を決定することを特徴とする。 The present invention relates to an acquisition means for acquiring a measurement result obtained by measuring the characteristics of a recording medium used in a recording apparatus by a measuring means, the measurement result acquired by the acquisition means, and a recording medium as a reference stored in advance. A recording device including a characteristic value and a determination means for determining the type of recording medium used in the recording device based on the characteristic value, and the acquisition means is used a plurality of times depending on the measurement means at different measurement positions. A plurality of measured measurement results are acquired, and the determination means is a recording medium based on a value indicating a tendency of dispersion of the plurality of measurement results acquired by the acquisition means and a measurement value based on the plurality of measurement results. It is characterized by determining the type of.

本発明によれば、測定値の分散の傾向に基づいて記録媒体の種類を判定することによって、記録媒体が均一性の低い記録媒体であっても精度よく判別することができる。 According to the present invention, by determining the type of recording medium based on the tendency of dispersion of measured values, even if the recording medium is a recording medium having low uniformity, it can be accurately determined.

実施形態に係る記録装置の構成を示す斜視図である。It is a perspective view which shows the structure of the recording apparatus which concerns on embodiment. 実施形態に係る記録装置の断面模式図である。It is sectional drawing of the cross section of the recording apparatus which concerns on embodiment. 実施形態に係るキャリッジの構成を示す図である。It is a figure which shows the structure of the carriage which concerns on embodiment. 実施形態に係る光学センサの構成を示す図である。It is a figure which shows the structure of the optical sensor which concerns on embodiment. 実施形態における記録装置の制御系のブロック構成を示す図である。It is a figure which shows the block structure of the control system of the recording apparatus in embodiment. 実施形態における記録媒体とプラテンと光学センサの位置関係を示す図である。It is a figure which shows the positional relationship of a recording medium, a platen, and an optical sensor in an embodiment. 実施形態における測定したときの正反射値と乱反射値を示す図である。It is a figure which shows the specular reflection value and diffuse reflection value at the time of measurement in an embodiment. 実施形態における均一性の低い記録媒体の測定値の収束を説明するための図である。It is a figure for demonstrating the convergence of the measured value of the recording medium with low uniformity in an embodiment. 実施形態における記録媒体検出処理を示すフローチャートである。It is a flowchart which shows the recording medium detection processing in embodiment. 実施形態のEEPROMあるいはRAMに記憶するデータを示す図である。It is a figure which shows the data to be stored in the EEPROM or RAM of the Embodiment. 実施形態における登録処理を示すフローチャートである。It is a flowchart which shows the registration process in Embodiment. 実施形態における記録媒体決定処理を示すフローチャートである。It is a flowchart which shows the recording medium determination process in Embodiment.

以下、本発明を実施するための形態について図面を用いて説明する。なお、この実施の形態で用いる装置の各構成要素の相対配置、装置形状等は、あくまで例示であり、これらのみに限定するものではない。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. The relative arrangement of each component of the device used in this embodiment, the shape of the device, and the like are merely examples, and the present invention is not limited to these.

図1は、記録装置100の構成を示す斜視図であり、キャスターおよび排紙のためのバスケットが取り付けられている。図1(a)は全体の外観を示し、図1(b)は上部カバーを開けて内部構造が見える状態を示す。本実施形態における記録装置100は、インクジェット記録方式により、記録媒体上に記録材としてインク滴を付与することにより記録を行う。記録媒体はY方向を搬送方向として搬送される。そして、記録ヘッド102を搭載したキャリッジ101はY方向と交差するX方向に往復移動して記録を行う、いわゆるシリアル型記録ヘッドを備えるインクジェット記録装置について説明する。しかしながら、ノズル列が記録媒体の搬送方向に対する記録幅に亘って構成された、いわゆるライン型記録ヘッドを備えるインクジェット記録装置が用いられても良い。また、記録機能だけでなく、スキャン機能やFAX機能、送信機能等が一体化された多機能型周辺装置(MFP)でもよい。また、記録材として粉末トナーを用いる電子写真方式の記録装置でもよい。本実施形態では、後述する使用する記録媒体の決定処理を行うための情報処理装置の機能は記録装置100に搭載されている。 FIG. 1 is a perspective view showing the configuration of the recording device 100, in which casters and a basket for discharging paper are attached. FIG. 1A shows the overall appearance, and FIG. 1B shows a state in which the upper cover is opened so that the internal structure can be seen. The recording device 100 in the present embodiment records by applying ink droplets as a recording material on a recording medium by an inkjet recording method. The recording medium is conveyed with the Y direction as the conveying direction. An inkjet recording device including a so-called serial type recording head, in which the carriage 101 equipped with the recording head 102 reciprocates in the X direction intersecting the Y direction to perform recording, will be described. However, an inkjet recording apparatus including a so-called line-type recording head in which the nozzle rows are formed over the recording width with respect to the transport direction of the recording medium may be used. Further, a multifunction peripheral device (MFP) in which not only a recording function but also a scanning function, a fax function, a transmitting function and the like are integrated may be used. Further, an electrophotographic recording device using powder toner as a recording material may be used. In the present embodiment, the recording device 100 is equipped with a function of an information processing device for performing a determination process of a recording medium to be used, which will be described later.

記録装置100の上部に入出力部406を備える。入出力部406は操作パネルであり、ディスプレイにインク残量や記録媒体の種類の候補を表示し、ユーザはキーを操作することにより記録媒体の種類を選択したり記録の設定を行ったりすることができる。 An input / output unit 406 is provided above the recording device 100. The input / output unit 406 is an operation panel, which displays ink level and recording medium type candidates on the display, and allows the user to select the recording medium type and set recording by operating the keys. Can be done.

キャリッジ101は、光学センサ201(図3)と、インクを吐出する吐出口が設けられた吐出口面が形成された記録ヘッド102とを有する。キャリッジ101は、キャリッジモータ415(図5)の駆動により、キャリッジベルト103を介してシャフト104に沿ってX方向(キャリッジの移動方向)に往復移動可能に構成されている。本実施形態において、記録装置100は、光学センサ201により、記録媒体105の表面上の乱反射特性値や正反射特性値を取得したり、キャリッジ101と記録媒体105との間の距離を測定したりすることが可能である。 The carriage 101 includes an optical sensor 201 (FIG. 3) and a recording head 102 having a discharge port surface provided with a discharge port for ejecting ink. The carriage 101 is configured to be reciprocally movable in the X direction (moving direction of the carriage) along the shaft 104 via the carriage belt 103 by driving the carriage motor 415 (FIG. 5). In the present embodiment, the recording device 100 acquires the diffuse reflection characteristic value and the specular reflection characteristic value on the surface of the recording medium 105 by the optical sensor 201, and measures the distance between the carriage 101 and the recording medium 105. It is possible to do.

図2は記録装置100の断面模式図である。本実施形態では記録媒体105はロール紙であり、上段ロール紙管107と下段ロール紙管108の2段にセットすることができる。ロール紙管にセットされた記録媒体105はLFモータ413により駆動される搬送ローラ153によりニップローラ206を通り、プラテン106上に搬送される。プラテン106上に搬送された記録媒体105はニップローラ206とプラテン106の−Z方向に吸着ファン205とによってプラテン106上に固定される。また、プラテン106の−Z方向にはヒータ207が設置され、記録中にヒータ207を駆動することでインクを乾燥させる。プラテン106上に搬送された記録媒体105上をキャリッジ101がX方向に移動しながら、記録ヘッド102からインク滴を吐出することで記録動作が行われる。キャリッジ101が記録媒体105上の記録領域の端まで移動すると、搬送ローラは記録媒体105を一定量搬送し、次の記録走査を行う領域を記録ヘッド102が記録可能な位置に移動させる。以上の動作の繰り返しにより画像の記録が行われる。記録ヘッド102のY方向下流にはカッタユニット418が設置されている。カッタユニット418は、記録媒体105を所定の長さにカットするもので、カット位置にカット屑軽減ラインを引く設定をRAM403に記憶させておく。また、カットライン軽減とは独立して、用紙種毎にカッタユニット418の動作設定をRAM403に記憶させておくことができる。カッタユニット418を使って切断ができない用紙種の場合には、ユーザがハサミで切るためにカッタユニット418を動かさない設定(ユーザカット)をROM402に記憶させておく。坪量が大きく、ユーザが紙を押さえながら切らないとカットしようとする直線が曲がってしまうような用紙種の場合には、ユーザに紙を押さえる時間を与えてからカッタユニット418が動く設定(イジェクトカット)をROM402に記憶させておく。ユーザカット、イジェクトカットの設定を行わない用紙種の場合は、カッタユニット418でカットする設定(オートカット)がROM402に記憶される。 FIG. 2 is a schematic cross-sectional view of the recording device 100. In the present embodiment, the recording medium 105 is roll paper, and can be set in two stages, an upper roll paper tube 107 and a lower roll paper tube 108. The recording medium 105 set in the roll paper tube is conveyed onto the platen 106 through the nip roller 206 by the transfer roller 153 driven by the LF motor 413. The recording medium 105 conveyed on the platen 106 is fixed on the platen 106 by the nip roller 206 and the suction fan 205 in the −Z direction of the platen 106. Further, a heater 207 is installed in the −Z direction of the platen 106, and the ink is dried by driving the heater 207 during recording. The recording operation is performed by ejecting ink droplets from the recording head 102 while the carriage 101 moves in the X direction on the recording medium 105 conveyed on the platen 106. When the carriage 101 moves to the end of the recording area on the recording medium 105, the transfer roller conveys the recording medium 105 by a certain amount, and moves the area for the next recording scan to a position where the recording head 102 can record. An image is recorded by repeating the above operation. A cutter unit 418 is installed downstream of the recording head 102 in the Y direction. The cutter unit 418 cuts the recording medium 105 to a predetermined length, and stores in the RAM 403 a setting for drawing a cut waste reduction line at the cut position. Further, independently of the cut line reduction, the operation setting of the cutter unit 418 can be stored in the RAM 403 for each paper type. In the case of a paper type that cannot be cut using the cutter unit 418, the setting (user cut) that the user does not move the cutter unit 418 to cut with scissors is stored in the ROM 402. If the paper type has a large basis weight and the straight line to be cut bends unless the user holds the paper while cutting it, the cutter unit 418 is set to move after giving the user time to hold the paper (eject). The cut) is stored in the ROM 402. In the case of a paper type for which the user cut and the eject cut are not set, the setting (auto cut) for cutting by the cutter unit 418 is stored in the ROM 402.

<キャリッジ構成>
図3は、キャリッジ101の構成を示す図である。キャリッジ101は、トランスレータ202とヘッドホルダ203とを備えて構成されている。ヘッドホルダ203は、記録ヘッド102と反射型センサである光学センサ201を含む。図2に示すように、光学センサ201は、底面が記録ヘッド102の底面と同位置若しくはそれよりも高くなるように、構成されている。
<Carriage configuration>
FIG. 3 is a diagram showing the configuration of the carriage 101. The carriage 101 includes a translator 202 and a head holder 203. The head holder 203 includes a recording head 102 and an optical sensor 201 which is a reflective sensor. As shown in FIG. 2, the optical sensor 201 is configured so that the bottom surface is at the same position as or higher than the bottom surface of the recording head 102.

<光学センサ構成>
図4は、光学センサ201の構成を示す断面模式図である。光学センサ201は、光学素子として第1のLED301、第2のLED302、第3のLED303、第1のフォトダイオード304、第2のフォトダイオード305、第3のフォトダイオード306を含む。第1のLED301は、記録媒体105の表面(測定面)に対して法線(90°)の照射角を有する光源である。第1のフォトダイオード304は、第1のLED301から照射され記録媒体105からの反射光をZ方向45°の角度で受光する。つまり、記録媒体105からの反射光のいわゆる乱反射成分を検出する光学系を形成する。
<Optical sensor configuration>
FIG. 4 is a schematic cross-sectional view showing the configuration of the optical sensor 201. The optical sensor 201 includes a first LED 301, a second LED 302, a third LED 303, a first photodiode 304, a second photodiode 305, and a third photodiode 306 as optical elements. The first LED 301 is a light source having an irradiation angle normal (90 °) with respect to the surface (measurement surface) of the recording medium 105. The first photodiode 304 is irradiated from the first LED 301 and receives the reflected light from the recording medium 105 at an angle of 45 ° in the Z direction. That is, an optical system for detecting a so-called diffusely reflected component of the reflected light from the recording medium 105 is formed.

第2のLED302は、記録媒体105の表面(測定面)に対してZ方向60°の照射角を有する光源である。第1のフォトダイオード304は、第2のLED302から照射され記録媒体105からの反射光をZ方向60°の角度で受光する。つまり、発光と受光の角度が等しくなり、記録媒体105からの反射光のいわゆる正反射成分を検出する光学系を形成する。 The second LED 302 is a light source having an irradiation angle of 60 ° in the Z direction with respect to the surface (measurement surface) of the recording medium 105. The first photodiode 304 is irradiated from the second LED 302 and receives the reflected light from the recording medium 105 at an angle of 60 ° in the Z direction. That is, the angles of light emission and light reception become equal, and an optical system for detecting a so-called specular reflection component of the reflected light from the recording medium 105 is formed.

第3のLED303は、記録媒体105の表面(測定面)に対して法線(90°)の照射角を有する光源である。第2のフォトダイオード305と第3のフォトダイオード306は、第3のLED303から照射され記録媒体105からの反射光を受光する。第2のフォトダイオード305と第3のフォトダイオード306は、それぞれの受光量が光学センサ201と記録媒体105との距離に応じて変化することで、光学センサ201と記録媒体105との距離を測定する。 The third LED 303 is a light source having an irradiation angle normal (90 °) with respect to the surface (measurement surface) of the recording medium 105. The second photodiode 305 and the third photodiode 306 are irradiated from the third LED 303 and receive the reflected light from the recording medium 105. The second photodiode 305 and the third photodiode 306 measure the distance between the optical sensor 201 and the recording medium 105 by changing the amount of light received from each of them according to the distance between the optical sensor 201 and the recording medium 105. To do.

本実施形態では光学センサはキャリッジに設置されているが、他の形態でもよい。例えば、記録装置に固定して設置されていてもよいし、あるいは記録装置とは別体の記録媒体の乱反射や正反射等の特性値を測定するための測定機器であって、測定機器によって測定した特性値を記録装置に送信する形態でもよい。 In this embodiment, the optical sensor is installed on the carriage, but other embodiments may be used. For example, it may be fixedly installed in a recording device, or it is a measuring device for measuring characteristic values such as diffuse reflection and specular reflection of a recording medium separate from the recording device, and is measured by the measuring device. The characteristic value may be transmitted to the recording device.

<ブロック図>
図5は、記録装置100の制御系のブロック構成を示す図である。ROM402は、不揮発性メモリであり、例えば、記録装置100を制御するための制御プログラムや、本実施形態の動作を実現させるためのプログラムが記憶されている。本実施形態の動作は、例えば、CPU401がROM402に記憶されたプログラムをRAM403に読み出して実行することにより実現される。RAM403は、CPU401のワーキングメモリとしても用いられる。EEPROM404は、記録装置100の電源がオフとされても保持しておくべきデータを記憶する。少なくとも、CPU401とROM402が、後述する記録媒体決定処理をするための情報処理装置の機能を実現する。本実施形態において、EEPROM404はこれまで給紙された記録媒体の種類の使用履歴を記憶する。記憶した情報は履歴情報として扱う。また、EEPROM404は、予め定められた基準として利用する各記録媒体の特性値を記憶する。図10(a)のデータ1001に予め定められて記憶されている特性値Q1〜Q3を示す。ここではプレミアム普通紙、スタンダード普通紙、スタンダード光沢紙が予め記憶されている。各特性値は、用紙の名称の情報と、均一性フラグと共に登録番号と紐づけられてデータ1001として記憶されている。均一性フラグはその記録媒体が均一な記録媒体と不均一な記録媒体のどちらに分類されているのかを示す情報である。詳細は後述する。記録媒体は紙媒体ではない媒体も含むが、本実施形態においてはユーザに対して「用紙」という文言を用いて通知を行う。履歴情報や各記録媒体の特性値は記録装置内の記憶媒体ではなく、ホストコンピュータのROMやサーバーなどの外部メモリに記憶してもよい。
<Block diagram>
FIG. 5 is a diagram showing a block configuration of a control system of the recording device 100. The ROM 402 is a non-volatile memory, and for example, a control program for controlling the recording device 100 and a program for realizing the operation of the present embodiment are stored. The operation of this embodiment is realized, for example, by the CPU 401 reading the program stored in the ROM 402 into the RAM 403 and executing it. The RAM 403 is also used as a working memory of the CPU 401. The EEPROM 404 stores data to be retained even when the power of the recording device 100 is turned off. At least, the CPU 401 and the ROM 402 realize the function of the information processing device for performing the recording medium determination process described later. In this embodiment, the EEPROM 404 stores the usage history of the types of recording media that have been fed so far. The stored information is treated as history information. In addition, the EEPROM 404 stores the characteristic values of each recording medium used as a predetermined reference. The characteristic values Q1 to Q3 predetermined and stored in the data 1001 of FIG. 10A are shown. Here, premium plain paper, standard plain paper, and standard glossy paper are stored in advance. Each characteristic value is stored as data 1001 in association with the registration number together with the information on the name of the paper and the uniformity flag. The uniformity flag is information indicating whether the recording medium is classified as a uniform recording medium or a non-uniform recording medium. Details will be described later. The recording medium includes a medium other than a paper medium, but in the present embodiment, the user is notified by using the word “paper”. The history information and the characteristic values of each recording medium may be stored in an external memory such as a ROM of the host computer or a server instead of the storage medium in the recording device.

インタフェース(I/F)回路410は、記録装置100と外部のLAN等のネットワークとを接続する。記録装置100は、I/F回路410により、外部のホストコンピュータ等の装置との間で各種ジョブやデータ等の送受信を行う。 The interface (I / F) circuit 410 connects the recording device 100 to an external network such as a LAN. The recording device 100 transmits and receives various jobs, data, and the like to and from a device such as an external host computer by means of the I / F circuit 410.

入出力部406は、入力部と出力部を含む。入力部はユーザからの電源投入の指示や、記録実行の指示、各種機能の設定の指示を受け付ける。出力部は省電力モード等の各種装置情報や、記録装置100が実行可能な各種機能の設定画面を表示する。本実施形態では入出力部406は記録装置100に備えられた操作パネルであり、入出力部406は、入出力制御回路405を介してシステムバス416とデータの送受信が可能なように接続されている。本実施形態ではCPU401が出力部の情報の通知制御を行う。 The input / output unit 406 includes an input unit and an output unit. The input unit receives power-on instructions, recording execution instructions, and various function setting instructions from the user. The output unit displays various device information such as the power saving mode and setting screens of various functions that can be executed by the recording device 100. In the present embodiment, the input / output unit 406 is an operation panel provided in the recording device 100, and the input / output unit 406 is connected to the system bus 416 via the input / output control circuit 405 so as to be able to transmit / receive data. There is. In the present embodiment, the CPU 401 controls the notification of the information of the output unit.

他にも、入力部は外部のホストコンピュータのキーボードでもよく、外部のホストコンピュータからユーザの指示を受付可能としてもよい。出力部は、LEDディスプレイやLCDディスプレイ、ホスト装置と接続されているディスプレイでもよい。また、入出力部がタッチパネルである場合には、ソフトウェアキーによりユーザからの指示を受付可能である。また、入出力部406はスピーカーとマイクであって、ユーザからの入力を音声入力、ユーザへの通知を音声出力としてもよい。 In addition, the input unit may be the keyboard of an external host computer, and may be able to receive user instructions from the external host computer. The output unit may be an LED display, an LCD display, or a display connected to a host device. Further, when the input / output unit is a touch panel, instructions from the user can be received by the software key. Further, the input / output unit 406 may be a speaker and a microphone, and the input from the user may be a voice input and the notification to the user may be a voice output.

CPU401とROM402と同様の機能を持つCPUとROMを備え、記録装置100と外部接続される情報処理装置が、後述する記録媒体決定処理を行い、記録装置100で使用する記録媒体を決定してもよい。 Even if an information processing device having a CPU and a ROM having the same functions as the CPU 401 and the ROM 402 and externally connected to the recording device 100 performs a recording medium determination process described later to determine the recording medium to be used in the recording device 100. Good.

光学センサ201による測定を実施する場合には、CPU401によりLED制御回路407が駆動され、光学センサ201内の所定のLEDが点灯するように制御される。光学センサ201の各フォトダイオードは受光した光に応じた信号を出力し、A/D変換回路408によりデジタル信号に変換され、RAM403に一旦保存される。記録装置100の電源オフ時にも保存されるべきデータは、EEPROM404に記憶される。 When the measurement by the optical sensor 201 is performed, the LED control circuit 407 is driven by the CPU 401, and the predetermined LED in the optical sensor 201 is controlled to light up. Each photodiode of the optical sensor 201 outputs a signal corresponding to the received light, is converted into a digital signal by the A / D conversion circuit 408, and is temporarily stored in the RAM 403. The data to be saved even when the power of the recording device 100 is turned off is stored in the EEPROM 404.

記録ヘッド制御回路411は、記録ヘッド102に搭載されセレクタやスイッチを含むノズル駆動回路に対して、記録データに応じた駆動信号を供給し、ノズルの駆動順序等、記録ヘッド102の記録動作の制御を行う。例えば、外部からI/F回路410に記録対象データが送信されてきた場合、記録対象データは、RAM403に一旦保存される。そして、記録ヘッド制御回路411は、記録対象データから、記録のための記録データに変換された記録データに基づいて、記録ヘッド102を駆動する。その際、LF(ラインフィード)モータ駆動回路412は、記録データのバンド幅等に基づいてLFモータ413を駆動し、LFモータ413と接続されている搬送ローラが回転することにより記録媒体を搬送する。CR(キャリッジ)モータ駆動回路414は、CR(キャリッジ)モータ415を駆動することによりキャリッジベルト103を介してキャリッジ101を走査させる。記録が完了すると、カッタユニット418がカッタユニット駆動回路417によって駆動することにより記録媒体105を切断する。 The recording head control circuit 411 supplies a drive signal according to the recording data to the nozzle drive circuit including the selector and the switch mounted on the recording head 102, and controls the recording operation of the recording head 102 such as the driving order of the nozzles. I do. For example, when the recording target data is transmitted from the outside to the I / F circuit 410, the recording target data is temporarily stored in the RAM 403. Then, the recording head control circuit 411 drives the recording head 102 based on the recording data converted from the recording target data into the recording data for recording. At that time, the LF (line feed) motor drive circuit 412 drives the LF motor 413 based on the bandwidth of the recorded data and the like, and the transfer roller connected to the LF motor 413 rotates to convey the recording medium. .. The CR (carriage) motor drive circuit 414 scans the carriage 101 via the carriage belt 103 by driving the CR (carriage) motor 415. When the recording is completed, the cutter unit 418 is driven by the cutter unit drive circuit 417 to cut the recording medium 105.

I/F回路410から送られてくるデータには、記録対象データのみでなく、プリンタドライバで設定された内容のデータも含まれる。また、記録対象データは、例えば、I/F回路410を介して外部から受信して記憶部に格納されたり、ハードディスク等の記憶部に予め格納されたりしている場合もある。CPU401は、画像データを記憶部から読み出して画像処理回路409を制御して、記録ヘッド102を用いるための記録データへの変換(二値化処理)を実行する。画像処理回路409は、二値化処理の他、色空間変換、HV変換、ガンマ補正、画像の回転等、種々の画像処理を実行する。画像処理によって得られた画像データは、RAM403に格納される。 The data sent from the I / F circuit 410 includes not only the data to be recorded but also the data of the contents set by the printer driver. Further, the data to be recorded may be received from the outside via the I / F circuit 410 and stored in the storage unit, or may be stored in the storage unit such as a hard disk in advance. The CPU 401 reads the image data from the storage unit, controls the image processing circuit 409, and executes conversion (binarization processing) into the recorded data for using the recording head 102. In addition to the binarization process, the image processing circuit 409 executes various image processes such as color space conversion, HV conversion, gamma correction, and image rotation. The image data obtained by the image processing is stored in the RAM 403.

<内部構成>
図6は、光学センサ201を用いて記録媒体105の特性値を測定する際の、記録媒体105とプラテン106と光学センサ201の位置関係を示す概略模式図である。
<Internal configuration>
FIG. 6 is a schematic schematic diagram showing the positional relationship between the recording medium 105, the platen 106, and the optical sensor 201 when measuring the characteristic values of the recording medium 105 using the optical sensor 201.

光学センサ201はプラテン106上に搬送された記録媒体105の検出領域Pの特性値を測定する。後述する図9の記録媒体検出処理では特性値を複数測るが、これは検出領域Pの中で毎回位置を変えて特性値を測定する。検出領域Pは図6に示す位置に限らず、プラテン106の凸部上の領域である305で示す領域を検出領域Pとして特性値を測定してもよい。凸部の方が、記録媒体がたわみにくいため好ましいが、たわみが少ない領域であれば凸部に限らない。検出領域Pとする候補の領域は予め設定されてEEPROM404に記憶されている。 The optical sensor 201 measures the characteristic value of the detection region P of the recording medium 105 conveyed on the platen 106. In the recording medium detection process of FIG. 9, which will be described later, a plurality of characteristic values are measured, and the characteristic values are measured by changing the position each time in the detection area P. The detection region P is not limited to the position shown in FIG. 6, and the characteristic value may be measured by using the region shown by 305, which is a region on the convex portion of the platen 106, as the detection region P. The convex portion is preferable because the recording medium is less likely to bend, but the convex portion is not limited to the convex portion as long as the region has less deflection. The candidate area to be the detection area P is preset and stored in the EEPROM 404.

<測定値の分散傾向>
図7(a)は、均一な記録媒体の特性値を光学センサ201によって測定したときの、正反射値と乱反射値を示す図である。図7(b)は不均一な記録媒体の特性値を光学センサ201によって測定したときの、正反射値と乱反射値を示す図である。ここで、本実施形態における不均一な記録媒体とは、光学センサ201によって特性値を読み取った結果が読み取り位置によって変化しやすい記録媒体を指す。均一性の低い記録媒体とも称する。例えば、和紙などの厚さが均一ではないものや、画用紙などの表面の凹凸が大きなもの、また何らかのデザインパターンが入っているものが不均一な記録媒体に該当する。以下の説明では、不均一な記録媒体として画用紙などの表面の凹凸が大きなものを例として説明する。また、本実施形態では、不均一な記録媒体でない記録媒体を均一な記録媒体と称する。均一な記録媒体は、例えば普通紙や光沢紙などである。
<Dispersion tendency of measured values>
FIG. 7A is a diagram showing a specular reflection value and a diffuse reflection value when the characteristic value of a uniform recording medium is measured by the optical sensor 201. FIG. 7B is a diagram showing a specular reflection value and a diffuse reflection value when the characteristic value of the non-uniform recording medium is measured by the optical sensor 201. Here, the non-uniform recording medium in the present embodiment refers to a recording medium in which the result of reading the characteristic value by the optical sensor 201 is likely to change depending on the reading position. It is also called a recording medium having low uniformity. For example, a medium having a non-uniform thickness such as Japanese paper, a medium having a large surface unevenness such as drawing paper, or a medium having some design pattern is a non-uniform recording medium. In the following description, as a non-uniform recording medium, a medium having large surface irregularities such as drawing paper will be described as an example. Further, in the present embodiment, a recording medium that is not a non-uniform recording medium is referred to as a uniform recording medium. The uniform recording medium is, for example, plain paper or glossy paper.

図7(a)は均一な記録媒体Aの特性値を4回それぞれ別の位置で測定した測定結果を白い丸491として示している。492は測定した記録媒体Aの正反射値と乱反射値を円で囲った範囲である。矢印493は範囲492の半径であり、分散誤差εの大きさを示している。測定結果が範囲492に入った場合に、記録媒体Aであると判定する。 FIG. 7A shows the measurement results obtained by measuring the characteristic values of the uniform recording medium A four times at different positions as white circles 491. 492 is a range in which the measured specular reflection value and diffuse reflection value of the recording medium A are circled. The arrow 493 is the radius of the range 492 and indicates the magnitude of the variance error ε. When the measurement result falls within the range 492, it is determined to be the recording medium A.

図7(b)は均一な記録媒体Aの測定値491と、均一性の低い記録媒体Bの測定結果を示す。黒い丸は均一性の低い記録媒体の特性値を8回それぞれ別の位置で測定した測定結果を示し、501、502は測定結果が分布する範囲を示す。図7(b)に示すように、均一性の低い記録媒体Bでは表面の凹凸により、光学センサ201と記録媒体105との距離(ギャップ)が測定位置によって大きく変化し、正反射値、乱反射値が、501、502のように分散する。均一性の低い記録媒体Bの測定結果が範囲492に入ると、誤って記録媒体Aであると判別してしまう虞がある。本実施形態では、予め均一性の低い記録媒体を測定した際のギャップ差による正反射値と乱反射値の分散傾向を登録する事で、均一性の低い記録媒体を正しく判別できるようにし、記録媒体の種類の判別精度を向上させる。 FIG. 7B shows the measured value 491 of the uniform recording medium A and the measurement result of the recording medium B having low uniformity. The black circles indicate the measurement results obtained by measuring the characteristic values of the recording medium having low uniformity eight times at different positions, and 501 and 502 indicate the range in which the measurement results are distributed. As shown in FIG. 7B, in the recording medium B having low uniformity, the distance (gap) between the optical sensor 201 and the recording medium 105 changes greatly depending on the measurement position due to the unevenness of the surface, and the specular reflection value and the diffuse reflection value are changed. Is dispersed as 501 and 502. If the measurement result of the recording medium B having low uniformity falls within the range 492, it may be erroneously determined to be the recording medium A. In the present embodiment, by registering the dispersion tendency of the specular reflection value and the diffuse reflection value due to the gap difference when the recording medium having low uniformity is measured in advance, the recording medium having low uniformity can be correctly discriminated and the recording medium is recorded. Improve the discrimination accuracy of the type.

図8は、均一性の低い記録媒体の測定値501、502の収束を説明するための図である。図8(a)(e)はそれぞれ正反射値、乱反射値を30回測定した時の測定値を横軸=計測回数(x回目)に対してプロットしたグラフである。図8(b)(f)は正反射値の平均値、乱反射値の平均値である。図8(b)(f)に示すように、均一性の低い記録媒体であっても複数の測定値を平均すると、その平均はある一定の範囲603、604に安定する。範囲603、604を求めるために、正反射値、乱反射値の各測定時の平均値の分散の平均値を求める。 FIG. 8 is a diagram for explaining the convergence of the measured values 501 and 502 of the recording medium having low uniformity. 8 (a) and 8 (e) are graphs in which the measured values when the specular reflection value and the diffuse reflection value are measured 30 times are plotted with respect to the horizontal axis = the number of measurements (xth time), respectively. 8 (b) and 8 (f) are the average value of the specular reflection value and the average value of the diffuse reflection value. As shown in FIGS. 8 (b) and 8 (f), when a plurality of measured values are averaged even on a recording medium having low uniformity, the average is stable within a certain range of 603 and 604. In order to obtain the ranges 603 and 604, the average value of the variance of the average values at the time of each measurement of the specular reflection value and the diffuse reflection value is obtained.

正反射値、乱反射値の平均値の分散の平均値を求めるために、まず、正反射値、乱反射値の平均値の分散を求めたものが図8(c)(g)である。測定回数が多いと測定値の平均値は一定の値に近づいてゆくため、平均値の分散のばらつきが小さくなる。 In order to obtain the average value of the variance of the average value of the specular reflection value and the diffuse reflection value, first, the dispersion of the average value of the specular reflection value and the diffuse reflection value is obtained in FIGS. 8 (c) and 8 (g). As the number of measurements increases, the average value of the measured values approaches a constant value, so that the variation in the variance of the average value becomes small.

図8(d)(h)に正反射値、乱反射値の平均値の分散の平均値の図を示す。図8(d)の601は測定値501、502の各測定時の正反射値の平均値の分散の平均値を示したグラフの収束範囲を示している。図8(h)602は測定値501、502の各測定時の乱反射値の平均値の分散の平均値を示したグラフの収束範囲を示している。測定値の平均値の分散の平均値が第1の回数連続で所定の範囲に入った回数の範囲を収束範囲601、602とし収束したとする。ここでは第1の回数は8回である。収束範囲601、602で測定した測定値603、604の平均を均一性の低い記録媒体の正乱反射値とする。正反射値と乱反射値の収束傾向が異なる場合は、両方の値が収束するまで測定を繰り返す。収束範囲に入った回数が第1の回数未満の場合には新たな測定を行って測定値を取得する。なお、測定領域Pにおいて第2の回数測定を行っても測定値の平均値が収束しない場合は、測定領域を変えて測定を行う。 8 (d) and 8 (h) show a diagram of the average value of the variance of the average value of the specular reflection value and the diffuse reflection value. 601 in FIG. 8D shows the convergence range of the graph showing the average value of the variance of the average value of the specular reflection values at the time of each measurement of the measured values 501 and 502. FIG. 8H 602 shows the convergence range of the graph showing the average value of the variance of the average value of the diffused reflection values at the time of each measurement of the measured values 501 and 502. It is assumed that the range of the number of times that the average value of the variance of the average value of the measured values has entered the predetermined range in the first consecutive number of times is set as the convergence ranges 601 and 602 and converged. Here, the first number is eight. The average of the measured values 603 and 604 measured in the convergence ranges 601 and 602 is taken as the normal diffused reflection value of the recording medium having low uniformity. If the specular reflection value and the diffuse reflection value have different convergence tendencies, the measurement is repeated until both values converge. When the number of times of entering the convergence range is less than the first number of times, a new measurement is performed and the measured value is acquired. If the average value of the measured values does not converge even after performing the second measurement in the measurement area P, the measurement is performed by changing the measurement area.

測定値が収束した場合には収束してから所定回数前までの測定値の平均値を、測定を行った記録媒体の測定値とする。本実施形態において所定回数は第1の回数であるとする。 When the measured values have converged, the average value of the measured values from the convergence to a predetermined number of times before is taken as the measured value of the recording medium on which the measurement is performed. In the present embodiment, the predetermined number of times is assumed to be the first number of times.

本実施形態において、均一性の低い記録媒体は、EEPROM404に予め定められて記憶されている記録媒体の種類ではなく、ユーザによって登録する記録媒体の種類である。そのため、記録装置100が工場から出荷される初期状態のときには均一性の低い記録媒体の特性値はEEPROM404に記憶されていない状態である。これは、ユーザによって使用する均一性の低い記録媒体の種類が大きく異なるためである。もちろん、幾つかの均一性の低い記録媒体についての特性値を初期状態からEEPROM404に記憶するようにしてもよい。 In the present embodiment, the recording medium having low uniformity is not the type of the recording medium predetermined and stored in the EEPROM 404, but the type of the recording medium registered by the user. Therefore, when the recording device 100 is shipped from the factory in the initial state, the characteristic value of the recording medium having low uniformity is not stored in the EEPROM 404. This is because the types of recording media with low uniformity used differ greatly depending on the user. Of course, the characteristic values for some low-uniformity recording media may be stored in the EEPROM 404 from the initial state.

<全体フロー>
図9は、均一性の低い記録媒体の記録媒体の種類を決定するために使用する正反射値、乱反射値を求めるための記録媒体検出処理を示すフローチャートである。この処理では、まず対象の記録媒体105が均一な記録媒体か不均一な記録媒体か、またはセンサの故障等によって正しい値が検出できない状態なのかを分散の傾向から判定する。分散の傾向を示す値として本実施形態では測定値の平均値の分散の平均値を使用する。検出できる状態の場合には、記録媒体の種類を決定するために使用する正反射値、乱反射値を測定値から求める。求めた正反射値、乱反射値から該当する記録媒体があるか否かを判断し、判断した結果はRAM403に一時記憶される。図9のS901〜S921までの各ステップの処理は、例えば、図5で示すCPU401がROM402に記憶されたプログラムをRAM403に読み出して実行することで実現される。また、ホスト装置のソフトウェアによって実行されてもよい。記録媒体検知手段で使用する各種値は、図10(a)のデータ1003に示すように予め設定されてEEPROM404に記憶されている。
<Overall flow>
FIG. 9 is a flowchart showing a recording medium detection process for obtaining a specular reflection value and a diffuse reflection value used for determining the type of recording medium of a recording medium having low uniformity. In this process, first, it is determined from the tendency of dispersion whether the target recording medium 105 is a uniform recording medium or a non-uniform recording medium, or whether a correct value cannot be detected due to a sensor failure or the like. In this embodiment, the average value of the variance of the average value of the measured values is used as the value indicating the tendency of the dispersion. If it is in a detectable state, the specular reflection value and diffuse reflection value used to determine the type of recording medium are obtained from the measured values. It is determined from the obtained specular reflection value and diffuse reflection value whether or not there is a corresponding recording medium, and the result of the determination is temporarily stored in the RAM 403. The processing of each step from S901 to S921 in FIG. 9 is realized, for example, by the CPU 401 shown in FIG. 5 reading the program stored in the ROM 402 into the RAM 403 and executing the program. It may also be executed by the software of the host device. Various values used by the recording medium detecting means are preset and stored in the EEPROM 404 as shown in the data 1003 of FIG. 10 (a).

搬送ローラ153によって記録媒体105をプラテン106上に搬送した後、ステップS901では、予め設定した記録媒体上の検出領域Pに光学センサ201を移動する。光学センサ201の移動は記録ヘッド102をCRモータ415を用いてX方向に走査することでなされる。 After the recording medium 105 is conveyed onto the platen 106 by the transfer roller 153, in step S901, the optical sensor 201 is moved to the detection area P on the preset recording medium. The movement of the optical sensor 201 is performed by scanning the recording head 102 in the X direction using the CR motor 415.

ステップS902では、測定カウンタnを1に設定する。次にステップS903では、光学センサ201によって記録媒体105の正反射値と乱反射値を測定する。n回目に測定した測定値をVnとする。測定した測定値はRAM403に一時記憶する。図10(b)に記録媒体検出処理においてRAM403に記憶するデータ1004を示す。ステップS903においてn回目の測定を行った場合には測定した正反射値、乱反射値を測定値Vnとして記憶する。例えば、均一性の低い用紙でn回計測した測定値は図7(b)の501、502のようになり、グラフにすると図8(a)(e)のようになる。以下、測定値501、502を例にとり説明する。 In step S902, the measurement counter n is set to 1. Next, in step S903, the specular reflection value and the diffuse reflection value of the recording medium 105 are measured by the optical sensor 201. Let Vn be the measured value measured at the nth time. The measured measured value is temporarily stored in the RAM 403. FIG. 10B shows data 1004 stored in the RAM 403 in the recording medium detection process. When the nth measurement is performed in step S903, the measured specular reflection value and diffuse reflection value are stored as the measured value Vn. For example, the measured values measured n times on a paper having low uniformity are as shown in FIGS. 501 and 502, and are shown in a graph as shown in FIGS. 8 (a) and 8 (e). Hereinafter, the measured values 501 and 502 will be described as an example.

ステップS904では、S903で計測した測定値Vnの各1〜n時点での測定値501、502の各測定時の平均値を以下の式(1)によって算出し、RAM403に記憶する。均一性の低い記録媒体で1〜n回計測した測定値501、502の各1〜n時点での正反射値と乱反射値の平均値は図8(b)(f)のようになる。 In step S904, the average values of the measured values Vn measured in S903 at each of the measured values 501 and 502 at the time points 1 to n are calculated by the following equation (1) and stored in the RAM 403. The average values of the specular reflection value and the diffuse reflection value at each of the measurement values 501 and 502 measured 1 to n times with a recording medium having low uniformity are as shown in FIGS. 8 (b) and 8 (f).

Figure 2021053867
Figure 2021053867

ステップS905では、ステップS904で算出した、測定値501、502の各測定時の平均値の分散Snを以下に示す式(2)によって求め、RAM403に記憶する。式(2)のxには正反射値或いは乱反射値を代入する。均一性の低い記録媒体で1〜n回計測した測定値501、502の各1〜n時点での正反射値と乱反射値の平均値の分散は図8(c)(g)のようになる。 In step S905, the variance Sn 2 of the average values of the measured values 501 and 502 calculated in step S904 at the time of each measurement is obtained by the following equation (2) and stored in the RAM 403. A specular reflection value or a diffuse reflection value is substituted for x in the equation (2). The variance of the average value of the specular reflection value and the diffuse reflection value at each of the measurement values 501 and 502 measured 1 to n times on a recording medium having low uniformity is as shown in FIGS. 8 (c) and 8 (g). ..

Figure 2021053867
Figure 2021053867

ステップS906では、ステップS905で算出した、測定値501、502の各測定時の平均値の分散の平均値Anを以下の式(3)によって算出し、RAM403に記憶する。
An=(S1+S2・・・+Sn)/n ・・・(3)
ステップS907では、値が収束したか否かを判定するために、ステップS906で求めた平均値の分散の平均値が、予め設定した収束継続回数C回以上連続で所定の範囲内に入っているか否かを判定する。所定の範囲は、ステップS906で算出した平均値の分散の平均値Anから分散誤差εの範囲のAn±εである。An−c〜Anまでの値がAn±εに入っていればよい。均一性の低い記録媒体で1〜n回計測した測定値501、502の各1〜n時点での正反射値と乱反射値の平均値の分散の平均値はそれぞれ図8(d)(h)のようになる。正反射値及び乱反射光値が収束し、収束範囲601、601内の値は所定の範囲に収まる値になる。収束範囲601、602が収束継続回数Cであり、図8では8回である。継続した場合は(ステップS907:Yes)、平均値の分散の平均値Anが収束したとしてステップS908に進む。継続していない場合は(ステップS907:No)、収束していないとしてステップS909に進む。
In step S906, the average value An of the dispersion of the average values at the time of each measurement of the measured values 501 and 502 calculated in step S905 is calculated by the following formula (3) and stored in the RAM 403.
An = (S1 + S2 ... + Sn) / n ... (3)
In step S907, in order to determine whether or not the values have converged, whether the average value of the variance of the average value obtained in step S906 is within a predetermined range for C or more consecutive convergence continuation times set in advance. Judge whether or not. The predetermined range is An ± ε in the range of the variance error ε from the average value An of the variance of the mean value calculated in step S906. It is sufficient that the values from An−c to An are within An ± ε. The average values of the variances of the average values of the specular reflection value and the diffuse reflection value at each of the measurement values 501 and 502 measured 1 to n times on a recording medium having low uniformity are shown in FIGS. 8 (d) and 8 (h), respectively. become that way. The specular reflection value and the diffusely reflected light value converge, and the values within the convergence ranges 601 and 601 become values within a predetermined range. The convergence ranges 601 and 602 are the number of times of continuation of convergence C, which is 8 in FIG. If it continues (step S907: Yes), the process proceeds to step S908 assuming that the average value An of the variance of the average value has converged. If it does not continue (step S907: No), it is assumed that the convergence has not occurred, and the process proceeds to step S909.

ステップS909に進んだ場合には、測定カウンタnが検出終了回数Eを超えたか否かを判定する。超えた場合は(ステップS909:Yes)、ステップS910に進む。超えていない場合は(ステップS909:No)、ステップS911に進む。 When the process proceeds to step S909, it is determined whether or not the measurement counter n has exceeded the number of detection end times E. If it exceeds (step S909: Yes), the process proceeds to step S910. If it does not exceed (step S909: No), the process proceeds to step S911.

ステップS910では、測定値を検出終了回数E回検出しても平均値の分散の平均値Anが収束しなかったため、収束非検出であることをRAM403に記憶し、処理を終了する。 In step S910, even if the measured value is detected E times as the number of detection ends, the average value An of the variance of the average value does not converge. Therefore, the RAM 403 stores that the measured value is not detected and ends the process.

ステップS911では、予め設定した検出領域Pでの測定値の検出回数が変更回数Mを超えたか否かを判定する。超えていない場合は(ステップS911:No)、ステップS903に戻る。超えた場合は(ステップS911:Yes)、ステップS912に進む。ステップS912では、光学センサ201をX方向に移動し、別の予め定め設定した検出領域に移動する。このとき移動する距離は、光学センサ201のスポット径よりも長い距離であり、前の検出領域とは記録媒体の凹凸の状態が異なる位置が好ましい。このように検出領域を変えることで、記録媒体の汚れや照明の影響など外的要因により、ステップS906で算出する平均値の分散の平均値Anが収束しない場合を回避できる。尚、本実施形態では光学センサ201をX方向に移動することで検出領域Pを変えたが、記録媒体105をY方向に搬送することで検出領域Pを変更するようにしてもよく、またその両方を組み合わせてもよい。 In step S911, it is determined whether or not the number of detections of the measured value in the preset detection area P exceeds the number of changes M. If it does not exceed (step S9111: No), the process returns to step S903. If it exceeds (step S9111: Yes), the process proceeds to step S912. In step S912, the optical sensor 201 is moved in the X direction and moved to another preset detection area. At this time, the moving distance is longer than the spot diameter of the optical sensor 201, and it is preferable that the moving distance is a position where the uneven state of the recording medium is different from that of the previous detection region. By changing the detection region in this way, it is possible to avoid a case where the average value An of the dispersion of the average value calculated in step S906 does not converge due to external factors such as dirt on the recording medium and the influence of illumination. In the present embodiment, the detection area P is changed by moving the optical sensor 201 in the X direction, but the detection area P may be changed by transporting the recording medium 105 in the Y direction. Both may be combined.

その後、ステップS913に進む。ステップS913では、測定カウンタnにn+1を代入し、ステップS903に戻る。 Then, the process proceeds to step S913. In step S913, n + 1 is assigned to the measurement counter n, and the process returns to step S903.

一方、ステップS907で予め設定した収束継続回数C回以上一定の値が継続した場合(ステップS907:Yes)にはその時の測定カウントnを収束回数KとしてRAM403に収束回数情報を記憶し、ステップS908を実行する。収束回数情報は何回測定を行ったときに収束したかを示す情報である。ステップS908では、収束測定値を最終測定からC回分の測定値の平均を式(4)によって算出する。算出した値は特性値TとしてRAM403に記憶する。
T=(Vn−C+ …+ Vn)/C ・・・(4)
例えば測定値が図7(b)の501、502の場合は図8(b)(f)の603、604の範囲の平均を算出する。
On the other hand, when a constant value continues for C or more times of convergence continuation times preset in step S907 (step S907: Yes), the measurement count n at that time is set as the convergence number K and the convergence number information is stored in the RAM 403, and the convergence number information is stored in step S908. To execute. The convergence number information is information indicating how many times the measurement was performed to converge. In step S908, the convergence measurement value is calculated by the equation (4) as the average of the measurement values for C times from the final measurement. The calculated value is stored in the RAM 403 as a characteristic value T.
T = (Vn-C + ... + Vn) / C ... (4)
For example, when the measured values are 501 and 502 of FIG. 7 (b), the average of the ranges of 603 and 604 of FIGS. 8 (b) and 8 (f) is calculated.

ステップS914では、記録媒体105が均一な記録媒体か不均一な記録媒体かを判定するために、収束回数Kが予め設定した所定回数で収束したか否かを判定する。ここでは所定回数を収束継続回数であるC回とし、測定開始からC回で平均値の分散の平均値が収束する記録媒体を均一な記録媒体とする。均一な記録媒体とする記録媒体の種類の設定や、光学センサ201の精度に応じて、所定回数はC回より多い回数を設定してもよい。収束回数Kが所定回数以下であった場合には(ステップS914:Yes)、ステップS915に進む。収束回数Kが所定回数以下でなかった場合には(ステップS914:No)、ステップS916に進む。 In step S914, in order to determine whether the recording medium 105 is a uniform recording medium or a non-uniform recording medium, it is determined whether or not the convergence number K has converged at a predetermined number of times set in advance. Here, the predetermined number of times is set to C times, which is the number of times of continuation of convergence, and the recording medium in which the average value of the dispersion of the average value converges in C times from the start of measurement is used as a uniform recording medium. Depending on the setting of the type of recording medium to be a uniform recording medium and the accuracy of the optical sensor 201, the predetermined number of times may be set to be more than C times. If the number of convergences K is equal to or less than a predetermined number (step S914: Yes), the process proceeds to step S915. If the number of convergences K is not less than or equal to the predetermined number (step S914: No), the process proceeds to step S916.

ステップS915では、測定した記録媒体が均一な記録媒体であることを示す均一性フラグ情報FをRAM403に記憶する。ステップS916では、測定した記録媒体が不均一な記録媒体であることを示す均一性フラグ情報をRAM403に記憶する。 In step S915, the uniformity flag information F indicating that the measured recording medium is a uniform recording medium is stored in the RAM 403. In step S916, the RAM 403 stores the uniformity flag information indicating that the measured recording medium is a non-uniform recording medium.

ステップS915、ステップS916の後、ステップS917に進む。ステップS917では、ステップS908で取得した収束測定値と、ステップS915又はステップS916で取得した記録媒体105の均一性フラグと、収束回数Kの値に基づいてEEPROM404に記憶されている記録媒体の種類であるか否かを判定する。測定値がEEPROM404に予め記憶されている特性値から所定範囲内に入る記録媒体であって、収束回数KもEEPROM404に記憶されている収束回数情報が示す収束回数から所定回数以内である記録媒体を該当する記録媒体とする。複数該当する記録媒体がある場合には最も特性値が近い種類を該当する記録媒体とする。該当する記録媒体の種類がある場合は(ステップS917:Yes)、ステップS918に進む。該当する記録媒体の種類がない場合には(ステップS917:No)、ステップS919に進む。ステップS919では、RAM403に測定した記録媒体105が未登録であることを記憶する。 After step S915 and step S916, the process proceeds to step S917. In step S917, the convergence measurement value acquired in step S908, the uniformity flag of the recording medium 105 acquired in step S915 or step S916, and the type of recording medium stored in the EEPROM 404 based on the value of the number of convergences K are used. Determine if it exists. A recording medium in which the measured value falls within a predetermined range from the characteristic value stored in the EEPROM 404 in advance, and the number of convergences K is also within a predetermined number of times from the number of convergences indicated by the convergence number information stored in the EEPROM 404. Use the applicable recording medium. If there are multiple applicable recording media, the type with the closest characteristic value shall be the applicable recording medium. If there is a corresponding recording medium type (step S917: Yes), the process proceeds to step S918. If there is no corresponding recording medium type (step S917: No), the process proceeds to step S919. In step S919, it is stored in the RAM 403 that the measured recording medium 105 is not registered.

ステップS918では、測定した記録媒体105がステップS917で該当した記録媒体の種類であることをRAM403に記憶する。その後、S920に進み、RAM403に測定した記録媒体105が登録済であることを記憶する。 In step S918, the RAM 403 stores that the measured recording medium 105 is the type of the recording medium corresponding to that in step S917. After that, the process proceeds to S920, and it is stored in the RAM 403 that the measured recording medium 105 has been registered.

ステップS919、ステップS920の後、ステップS921に進む。ステップS921では、平均値の分散の平均値Anが収束したため、収束検出であることをRAM403に記憶し、処理を終了する。 After step S919 and step S920, the process proceeds to step S921. In step S921, since the average value An of the variance of the average value has converged, the RAM 403 stores that the convergence detection has occurred, and the process ends.

尚、収束の判定は多様な記録媒体の傾向に対応するために他の統計手段、計算手法を用いてもよい。 In addition, other statistical means and calculation methods may be used for the determination of convergence in order to correspond to the tendency of various recording media.

以下では、均一性の低い記録媒体を登録するための処理について説明する。 The process for registering a recording medium having low uniformity will be described below.

図11は、光学センサ201によって測定した記録媒体105の測定値を新たな記録媒体として登録する登録処理を示すフローチャートである。上述したように、本実施形態では初期状態では均一性の低い記録媒体の特性値を予めEEPROM404に記憶していない。そのため、図11の処理では均一性の低い記録媒体を判別できるようにするために特性値を登録する。ユーザ登録によって記憶された記録媒体の種類に関するデータを図10(a)のデータ1002を示す。図11のS701〜S710での各ステップの処理は、例えば、図5で示すCPU401がROM402に記憶されたプログラムをRAM403に読み出して実行することで実現される。また、ホスト装置のソフトウェアによって実行されてもよい。 FIG. 11 is a flowchart showing a registration process for registering the measured value of the recording medium 105 measured by the optical sensor 201 as a new recording medium. As described above, in the present embodiment, the characteristic values of the recording medium having low uniformity in the initial state are not stored in the EEPROM 404 in advance. Therefore, in the process of FIG. 11, characteristic values are registered so that a recording medium having low uniformity can be discriminated. Data 1002 of FIG. 10A shows data relating to the type of recording medium stored by user registration. The processing of each step in S701 to S710 of FIG. 11 is realized, for example, by the CPU 401 shown in FIG. 5 reading the program stored in the ROM 402 into the RAM 403 and executing the program. It may also be executed by the software of the host device.

本実施形態では、入出力部406はタッチパネルであるとする。また、入出力部406はホスト装置に接続されたディスプレイとホスト装置であってもよい。また、入出力部406が音声の入出力が可能なマイク機能のあるスピーカーである場合には記録媒体の種類の通知はスピーカーによって行われ、記録媒体の選択はマイクにユーザが記録媒体の名称、或いは対応する符号を音声入力することによって行われる。 In the present embodiment, the input / output unit 406 is a touch panel. Further, the input / output unit 406 may be a display and a host device connected to the host device. When the input / output unit 406 is a speaker having a microphone function capable of inputting / outputting audio, the speaker notifies the type of the recording medium, and the user selects the recording medium by the user using the name of the recording medium. Alternatively, it is performed by inputting the corresponding code by voice.

ユーザが新しい記録媒体の特性値を記録するために、入出力部406から「用紙新規登録」の項目をタッチすると、搬送ローラ153によって記録媒体105がプラテン106上に搬送される。搬送されると、ステップS701では図9の記録媒体検出処理を行う。 When the user touches the "new paper registration" item from the input / output unit 406 in order to record the characteristic value of the new recording medium, the transfer roller 153 transfers the recording medium 105 onto the platen 106. After being transported, the recording medium detection process of FIG. 9 is performed in step S701.

次に、ステップS702では、ステップS701で収束を検出したか否かを判定する。収束を検出したか否かはRAM403に記憶されている情報が「収束検出」を示す情報か「収束非検出」を示す情報かによって判定する。収束を検出した場合は(ステップS702:Yes)、ステップS703に進む。収束を検出していない場合は(ステップS702:No)、ステップS704に進む。 Next, in step S702, it is determined whether or not convergence is detected in step S701. Whether or not convergence is detected is determined by whether the information stored in the RAM 403 indicates "convergence detection" or "convergence non-detection". If convergence is detected (step S702: Yes), the process proceeds to step S703. If convergence is not detected (step S702: No), the process proceeds to step S704.

ステップS704では、ステップS701の記録媒体検出処理において記録媒体105の測定値が検出できなかったため、登録不可を示す情報を検出結果としてRAM403に記憶する。そしてステップS710に進み、ステップS704で記憶した検出結果に基づいて入出力部406に「登録できません」等の表示を行う。 In step S704, since the measured value of the recording medium 105 could not be detected in the recording medium detection process of step S701, information indicating that registration is not possible is stored in the RAM 403 as a detection result. Then, the process proceeds to step S710, and the input / output unit 406 displays "Cannot register" or the like based on the detection result stored in step S704.

ステップS703に進んだ場合は、ステップS701で測定した記録媒体105について登録済みであることを示す情報がRAM403に記憶されているか否かを判定する。登録済みであることを示す情報がRAM403に記憶されている場合には(ステップS703:Yes)、ステップS705に進む。未登録であることを示す情報が記憶されていた場合には(ステップS703:No)、ステップS706に進む。ステップS705では、登録済みを示す情報を検出結果としてRAM403に記憶する。そしてステップS710に進み、ステップS705で記憶した検出結果に基づいて入出力部406に「登録済みの用紙です」等の表示を行う。さらに、該当する記録媒体の種類を示す情報を入出力部406によって表示してもよい。尚、登録済みの記録媒体であると判定した場合であっても、登録済みの記録媒体とは別の記録媒体として追加登録するようにしてもよい。 When the process proceeds to step S703, it is determined whether or not the information indicating that the recording medium 105 measured in step S701 has been registered is stored in the RAM 403. If the information indicating that the registration has been completed is stored in the RAM 403 (step S703: Yes), the process proceeds to step S705. If the information indicating that the information has not been registered is stored (step S703: No), the process proceeds to step S706. In step S705, information indicating registration is stored in the RAM 403 as a detection result. Then, the process proceeds to step S710, and the input / output unit 406 displays "registered paper" or the like based on the detection result stored in step S705. Further, the input / output unit 406 may display information indicating the type of the corresponding recording medium. Even if it is determined that the recording medium is a registered recording medium, the recording medium may be additionally registered as a recording medium different from the registered recording medium.

ステップS706では、空いているユーザ登録情報の番号を取得する。EEPROM404に、ユーザによって登録された記録媒体の情報を記憶する際、図10(a)のデータ1002に示すように番号uと紐づけて特性値等を記憶する。この番号のうち、登録済みの記録媒体の種類と紐づけられていない番号uを取得する。 In step S706, a vacant user registration information number is acquired. When the information of the recording medium registered by the user is stored in the EEPROM 404, the characteristic value or the like is stored in association with the number u as shown in the data 1002 of FIG. 10 (a). Of these numbers, the number u that is not associated with the registered recording medium type is acquired.

ステップS707では、ステップS706で取得した番号と紐づけて、ステップS701で取得した収束測定値をR2uの格納領域に、均一性フラグをR3uの格納領域に、収束回数をR4uの格納領域に登録する。 In step S707, the convergence measurement value acquired in step S701 is registered in the storage area of R2u, the uniformity flag is registered in the storage area of R3u, and the number of convergences is registered in the storage area of R4u in association with the number acquired in step S706. ..

ステップS708では、ステップS706で取得した番号と紐づけて記録媒体の名称R1uを登録する。まず、入出力部406に「用紙の名称を入力してください」等の表示を行い、ユーザは入出力部406に登録したい記録媒体105の名称を入力する。そして、ユーザの入力した名称を示す情報を記録媒体の名称V4uとして登録する。 In step S708, the name R1u of the recording medium is registered in association with the number acquired in step S706. First, a display such as "Enter the name of the paper" is displayed on the input / output unit 406, and the user inputs the name of the recording medium 105 to be registered in the input / output unit 406. Then, the information indicating the name input by the user is registered as the name V4u of the recording medium.

ステップS709では、新規登録したことを検出結果としてRAM403に記憶する。そして、ステップS710ではステップS709で記憶した検出結果に基づいて「登録しました」等の表示を入出力部406に行わせ、処理を終了する。 In step S709, the new registration is stored in the RAM 403 as a detection result. Then, in step S710, the input / output unit 406 is made to display "registered" or the like based on the detection result stored in step S709, and the process is terminated.

図12は、記録を行う際に、記録対象の記録媒体105の特性を測定した測定結果を取得し、測定結果と基準となる特性値に基づいて入出力部406に記録媒体の候補を通知して記録対象の記録媒体の種類を決定する記録媒体決定処理を示すフローチャートである。以下の記録媒体決定処理においては、測定結果の特性値の分散の傾向を算出することによって記録対象の記録媒体105が均一な記録媒体か不均一な記録媒体かを判定し、その判定に応じて記録媒体の種類を決定する。記録媒体を決定することによって、インクの最大使用量、記録ヘッドの高さ、記録媒体のプラテンへの吸着力、記録媒体の搬送量補正の程度などのパラメータが設定される。記録媒体の特性に影響するような制御パラメータであれば、他のパラメータが用いられていてもよい。図12のS801〜S812までの各ステップの処理は、例えば、図5で示すCPU401がROM402に記憶されたプログラムをRAM403に読み出して実行することで実現される。また、記録媒体決定処理はホスト装置のソフトウェアによって実行されてもよい。本実施形態において入出力部406は記録装置に備えられた操作パネルであるので記録媒体の種類の通知は操作パネルに記録媒体の名称を表示することによって行われる。 In FIG. 12, when recording is performed, the measurement result obtained by measuring the characteristics of the recording medium 105 to be recorded is acquired, and the input / output unit 406 is notified of the candidate recording medium based on the measurement result and the reference characteristic value. It is a flowchart which shows the recording medium determination process which determines the type of the recording medium to record. In the following recording medium determination process, it is determined whether the recording medium 105 to be recorded is a uniform recording medium or a non-uniform recording medium by calculating the tendency of dispersion of the characteristic values of the measurement results, and according to the determination. Determine the type of recording medium. By determining the recording medium, parameters such as the maximum amount of ink used, the height of the recording head, the force of adhering the recording medium to the platen, and the degree of correction of the amount of the recording medium conveyed are set. Other parameters may be used as long as they are control parameters that affect the characteristics of the recording medium. The processing of each step from S801 to S812 in FIG. 12 is realized, for example, by the CPU 401 shown in FIG. 5 reading the program stored in the ROM 402 into the RAM 403 and executing the program. Further, the recording medium determination process may be executed by the software of the host device. In the present embodiment, since the input / output unit 406 is an operation panel provided in the recording device, the notification of the type of the recording medium is performed by displaying the name of the recording medium on the operation panel.

CPU401は、入出力部406である操作パネルからユーザによる給紙開始の指示を受け付けると記録媒体105の給紙処理を実施する。「はい」の項目をユーザがタッチすると給紙が開始される。 When the CPU 401 receives a user's instruction to start paper feeding from the operation panel of the input / output unit 406, the CPU 401 executes the paper feeding process of the recording medium 105. When the user touches the "Yes" item, paper feeding starts.

「はい」の項目が選択され、給紙が開始されると、記録媒体105は搬送ローラ153によりプラテン106上の光学センサ201が検知可能な位置まで搬送される。記録媒体105が搬送されると、記録媒体105上をキャリッジ101がX方向に移動し、光学センサ201によって記録媒体105の3点の乱反射値、正反射値を取得する(ステップS801)。本実施形態では、記録媒体105の幅方向に両端部と中央部の3点を測定する。測定位置は記録媒体の均一性が測定できる点であればよく、乱反射値は記録媒体の白色度と対応し、正反射値は記録媒体の光沢度と対応する。記録媒体の特性として、記録媒体の厚さや、記録媒体のX方向の幅をさらに使用して記録媒体決定処理を行ってもよい。本実施形態では3箇所の特性を測定したが、2点以上であればよい。ただし、測定値のばらつきがどの程度かを測定するため、3箇所以上の特性を測定した方が好ましい。また、特性の測定は光学センサ201が停止した状態で行ってもよいし、移動しながら行ってもよい。測定値は一旦RAM403などのメモリに記憶される。 When the "Yes" item is selected and paper feeding is started, the recording medium 105 is conveyed by the transfer roller 153 to a position where the optical sensor 201 on the platen 106 can be detected. When the recording medium 105 is conveyed, the carriage 101 moves on the recording medium 105 in the X direction, and the optical sensor 201 acquires the diffused reflection value and the specular reflection value of the three points of the recording medium 105 (step S801). In the present embodiment, three points, both ends and the center, are measured in the width direction of the recording medium 105. The measurement position may be any point as long as the uniformity of the recording medium can be measured, the diffuse reflection value corresponds to the whiteness of the recording medium, and the specular reflection value corresponds to the glossiness of the recording medium. As a characteristic of the recording medium, the recording medium determination process may be performed by further using the thickness of the recording medium and the width of the recording medium in the X direction. In this embodiment, the characteristics at three points are measured, but any number of points may be two or more. However, in order to measure the degree of variation in the measured values, it is preferable to measure the characteristics at three or more points. Further, the characteristic measurement may be performed with the optical sensor 201 stopped, or may be performed while moving. The measured value is temporarily stored in a memory such as RAM 403.

次に、ステップS802にてCPU401は取得した測定値をメモリから読み出し、正反射値、乱反射値それぞれの分散を算出する。分散Sは上述した式(2)によって求める。 Next, in step S802, the CPU 401 reads the acquired measured value from the memory and calculates the variance of each of the specular reflection value and the diffuse reflection value. The variance S 2 is obtained by the above equation (2).

ステップS803ではステップS801で測定した測定結果が、予め設定した分散誤差ε以内かどうか判定する。分散が分散誤差ε以内である場合には測定値が図7のように分散誤差ε以内となっている状態であり、記録対象の記録媒体105が均一な記録媒体であると判断する。このような場合には(ステップS803:Yes)ステップS804に進む。一方、分散が分散誤差ε以内でない場合には(ステップS803:No)記録対象の記録媒体105が均一性の低い記録媒体であると判断し、ステップS807に進む。尚、正反射値及び乱反射値を比較する際には機構や光学センサ201等の経年劣化、環境誤差を軽減するために、装置の状態に合わせて誤差εを可変にしてもよい。さらに、より精密に調整するために、入出力部406からユーザが設定してもよい。 In step S803, it is determined whether or not the measurement result measured in step S801 is within the preset dispersion error ε. When the variance is within the variance error ε, the measured value is within the variance error ε as shown in FIG. 7, and it is determined that the recording medium 105 to be recorded is a uniform recording medium. In such a case (step S803: Yes), the process proceeds to step S804. On the other hand, if the variance is not within the dispersion error ε (step S803: No), it is determined that the recording medium 105 to be recorded is a recording medium having low uniformity, and the process proceeds to step S807. When comparing the specular reflection value and the diffuse reflection value, the error ε may be made variable according to the state of the device in order to reduce the aged deterioration of the mechanism, the optical sensor 201, etc., and the environmental error. Further, for more precise adjustment, the user may set from the input / output unit 406.

ステップS804では、CPU401は測定値を、予め定められてEEPROM404に記憶されている各種記録媒体の特性値と比較する。これにより、測定値が示す特性に該当する記録媒体の種類を抽出する。測定値が、EEPROM404に予め定められている記録媒体の特性値から所定範囲内に入った記録媒体の種類を該当する記録媒体の種類として抽出する。複数抽出した場合には特性値がより測定値に近い記録媒体を該当する記録媒体の種類とする。該当する記録媒体の種類がある場合には(ステップS804:Yes)、ステップS805に進む。該当する記録媒体の種類がない場合には(ステップS804:No)、ステップS806に進む。 In step S804, the CPU 401 compares the measured values with the characteristic values of various recording media that are predetermined and stored in the EEPROM 404. As a result, the type of recording medium corresponding to the characteristics indicated by the measured values is extracted. The type of recording medium whose measured value falls within a predetermined range from the characteristic value of the recording medium predetermined in EEPROM 404 is extracted as the type of the corresponding recording medium. When a plurality of samples are extracted, the recording medium whose characteristic value is closer to the measured value is used as the corresponding recording medium type. If there is a corresponding recording medium type (step S804: Yes), the process proceeds to step S805. If there is no corresponding recording medium type (step S804: No), the process proceeds to step S806.

ステップS805では、ステップS804で抽出した該当する記録媒体の種類を取得する。ステップS806では、使用される可能性の高い記録媒体の種類をガイドとして表示するため、EEPROM404の履歴情報から、最後に使用された記録媒体の種類を取得する。ステップ705、ステップS806が終了するとステップS812に進む。 In step S805, the type of the corresponding recording medium extracted in step S804 is acquired. In step S806, in order to display the type of recording medium that is likely to be used as a guide, the type of recording medium that was last used is acquired from the history information of EEPROM 404. When step 705 and step S806 are completed, the process proceeds to step S812.

一方、ステップS807に進んだ場合には、EEPROM404に記憶されているユーザ記録媒体情報に不均一な記録媒体が登録されているか否かを判定する。登録されている場合は(ステップS807:Yes)、ステップS808に進む。登録されていない場合は(ステップS807:No)、ステップS808以降の処理を行って不均一な記録媒体の測定値を取得したとしてもそれに該当する不均一な記録媒体の特性値の情報をEEPROM404に記憶していない。そのため、ステップS806に進み、履歴情報に基づいて候補の記録媒体の種類を取得する。 On the other hand, when the process proceeds to step S807, it is determined whether or not a non-uniform recording medium is registered in the user recording medium information stored in the EEPROM 404. If it is registered (step S807: Yes), the process proceeds to step S808. If it is not registered (step S807: No), even if the processing after step S808 is performed to obtain the measured value of the non-uniform recording medium, the information of the characteristic value of the non-uniform recording medium corresponding to the measured value is transmitted to EEPROM 404. I don't remember. Therefore, the process proceeds to step S806, and the type of the candidate recording medium is acquired based on the history information.

ステップS808では、図9の記録媒体検出処理を行う。 In step S808, the recording medium detection process of FIG. 9 is performed.

ステップS808の処理が終了するとステップS809にて、ステップS808の処理において収束を検出したか否かを判定する。収束を検出したか否かはRAM403に記憶されている情報が「収束検出」を示す情報か「収束非検出」を示す情報かによって判定する。収束を検出したと判定した場合には(ステップS809:Yes)ステップS810に進む。収束が検出できなかった場合には(ステップS809:No)、ステップS806に進む。 When the process of step S808 is completed, it is determined in step S809 whether or not convergence is detected in the process of step S808. Whether or not convergence is detected is determined by whether the information stored in the RAM 403 indicates "convergence detection" or "convergence non-detection". If it is determined that convergence has been detected (step S809: Yes), the process proceeds to step S810. If convergence cannot be detected (step S809: No), the process proceeds to step S806.

ステップS810では、ステップS808でRAM403に記憶した測定した記録媒体105についての均一性フラグを取得し、不均一な記録媒体であることを示すフラグか否かを判定する。不均一な記録媒体であることを示すフラグである場合には(ステップS810:Yes)、ステップS811に進む。均一な記録媒体であることを示すフラグである場合には(ステップS810:No)、ステップS804に進む。 In step S810, the uniformity flag of the measured recording medium 105 stored in the RAM 403 in step S808 is acquired, and it is determined whether or not the flag indicates that the recording medium is non-uniform. If the flag indicates that the recording medium is non-uniform (step S810: Yes), the process proceeds to step S811. If the flag indicates that the recording medium is uniform (step S810: No), the process proceeds to step S804.

ステップS811に進むと、ステップS808で測定した記録媒体105について登録済みであることを示す情報がRAM403に記憶されているか否かを判定する。登録済みであることを示す情報が記憶されている場合には(ステップS811:Yes)、記録媒体105に該当する記録媒体の種類として記憶されている記録媒体の種類を取得し、ステップS812に進む。未登録であることを示す情報が記憶されていた場合には(ステップS811:No)ステップS806に進む。 Proceeding to step S811, it is determined whether or not the information indicating that the recording medium 105 measured in step S808 has been registered is stored in the RAM 403. When the information indicating that the registration has been completed is stored (step S811: Yes), the type of the recording medium stored as the type of the recording medium corresponding to the recording medium 105 is acquired, and the process proceeds to step S812. .. If the information indicating that the information has not been registered is stored, the process proceeds to step S806 (step S811: No).

ステップS812では、取得した記録媒体の種類を示す情報を入出力部406によってユーザに通知する。ここでは記録媒体の種類の名称を通知する。他にも、記録媒体の種類と対応する番号や記号などを通知してもよい。 In step S812, the input / output unit 406 notifies the user of the information indicating the type of the acquired recording medium. Here, the name of the type of recording medium is notified. In addition, a number or symbol corresponding to the type of recording medium may be notified.

以上のように、複数回測定した結果に基づいて均一な記録媒体と不均一な記録媒体を判定し、取得した測定値に該当する記録媒体の種類を判定することで、不均一な記録媒体についての誤検知を低減することができる。 As described above, the non-uniform recording medium is determined by determining a uniform recording medium and a non-uniform recording medium based on the results of multiple measurements and determining the type of recording medium corresponding to the acquired measured value. False positives can be reduced.

(その他実施形態)
上述した実施形態において、例えばステップS917では該当する記録媒体の種類を1種類に決定したが、複数種類の記録媒体が該当した場合には候補として複数種類の記録媒体をユーザに通知してユーザが記録媒体の種類を決定するようにしてもよい。また、ステップS812で該当する記録媒体がない場合には履歴情報に基づいて最後に使用された記録媒体の種類を取得したが、ここでも最後から複数回のうちに使用された記録媒体を抽出し、ユーザに通知するようにしてもよい。
(Other embodiments)
In the above-described embodiment, for example, in step S917, the type of the corresponding recording medium is determined to be one type, but when a plurality of types of recording media are applicable, the user is notified of the plurality of types of recording media as candidates. The type of recording medium may be determined. Further, when there is no corresponding recording medium in step S812, the type of the last used recording medium is acquired based on the history information, but here as well, the recording medium used a plurality of times from the last is extracted. , The user may be notified.

上述した実施形態の記録装置は記録材としてインクを吐出するインクジェット記録装置であった、しかし記録材として粉末トナーを用いる電子写真方式の記録装置でもよい。 The recording device of the above-described embodiment was an inkjet recording device that ejects ink as a recording material, but an electrophotographic recording device that uses powder toner as a recording material may also be used.

101 記録装置
105 記録媒体
201 光学センサ
401 CPU
404a EEPROM
404b EEPROM
406 入出力部
101 Recording device 105 Recording medium 201 Optical sensor 401 CPU
404a EEPROM
404b EEPROM
406 Input / output section

Claims (11)

記録装置で使用される記録媒体の特性を測定手段によって測定した測定結果を取得する取得手段と、
前記取得手段で取得した前記測定結果と、予め記憶された基準となる記録媒体の特性値と、に基づいて前記記録装置で使用される記録媒体の種類を決定する決定手段と、
を備える記録装置であって、
前記取得手段は、前記測定手段によって複数回、それぞれ異なる測定位置で測定した複数の測定結果を取得し、
前記決定手段は、前記取得手段が取得した前記複数の測定結果の分散の傾向を示す値と、前記複数の測定結果に基づいた測定値に基づいて記録媒体の種類を決定することを特徴とする記録装置。
An acquisition means for acquiring the measurement result obtained by measuring the characteristics of the recording medium used in the recording device by the measuring means, and
A determination means for determining the type of recording medium used in the recording apparatus based on the measurement result acquired by the acquisition means and the characteristic value of the recording medium as a reference stored in advance.
It is a recording device equipped with
The acquisition means acquires a plurality of measurement results measured at different measurement positions a plurality of times by the measurement means.
The determination means is characterized in that the type of the recording medium is determined based on the value indicating the tendency of dispersion of the plurality of measurement results acquired by the acquisition means and the measurement value based on the plurality of measurement results. Recording device.
前記決定手段は、前記測定結果の分散が収束した場合に、所定の回数以下で収束したか否かと、前記複数の測定結果に基づいた測定値に基づいて記録媒体の種類を決定することを特徴とする請求項1に記載の記録装置。 The determination means is characterized in that, when the dispersion of the measurement results converges, whether or not the dispersion has converged within a predetermined number of times and the type of the recording medium are determined based on the measured values based on the plurality of measurement results. The recording device according to claim 1. 前記予め記憶された基準となる記録媒体の特性値を示す情報と、前記分散が前記測定手段が前記記録媒体の特性を何回測定したときの測定結果で収束したかを示す収束回数情報を記憶する記憶手段を有し、
前記決定手段は、前記測定値が前記記憶手段が記憶している前記特性値から所定の範囲内であり、前記分散が収束した回数が前記記憶手段が記憶している前記収束回数情報が示す回数から所定回数以内の回数である記録媒体の種類を、前記記録装置で使用される記録媒体の種類に決定することを特徴とする請求項1または2に記載の記録装置。
Information indicating the characteristic value of the reference recording medium stored in advance and information on the number of times of convergence indicating how many times the measurement means converged on the measurement result when the measuring means measured the characteristic of the recording medium are stored. Have a storage means to
In the determination means, the measured value is within a predetermined range from the characteristic value stored in the storage means, and the number of times the dispersion has converged is the number of times indicated by the convergence number information stored in the storage means. The recording apparatus according to claim 1 or 2, wherein the type of the recording medium having a number of times within a predetermined number of times is determined by the type of the recording medium used in the recording apparatus.
前記決定手段は、前記取得手段が取得した前記複数の測定結果の平均値の分散の平均値が収束したときの最後に測定してから所定回数前までの前記測定結果の平均値を前記測定値として記録媒体の種類の決定を行うことを特徴とする請求項1乃至3のいずれか1項に記載の記録装置。 The determination means measures the average value of the measurement results from the last measurement when the average value of the dispersion of the average values of the plurality of measurement results acquired by the acquisition means converges to a predetermined number of times before. The recording apparatus according to any one of claims 1 to 3, wherein the type of recording medium is determined. 算出手段を更に有し、
前記取得手段は、前記測定手段が記録媒体の特性を測定する毎に測定結果を取得し、
前記算出手段は、前記取得手段が前記測定結果を取得すると、取得した複数の測定結果に基づいて前記測定結果の平均値の分散の平均値を算出し、
算出した前記平均値の分散の平均値が、第1の回数連続で所定の範囲内に入っている場合には前記決定手段によって記録媒体の種類を決定し、前記所定の範囲内に入っている回数が前記第1の回数未満の場合には前記取得手段は前記測定手段による新たな測定結果を取得することを特徴とする請求項4に記載の記録装置。
It also has a calculation means
The acquisition means acquires the measurement result each time the measuring means measures the characteristics of the recording medium.
When the acquisition means acquires the measurement result, the calculation means calculates the average value of the variance of the average value of the measurement results based on the acquired plurality of measurement results.
When the calculated average value of the dispersion of the average value is within the predetermined range for the first consecutive number of times, the type of the recording medium is determined by the determination means, and the average value is within the predetermined range. The recording device according to claim 4, wherein when the number of times is less than the first number of times, the acquisition means acquires a new measurement result by the measuring means.
前記算出手段が算出した前記平均値の分散の平均値が、前記算出手段が、前記測定手段が第2の回数測定した前記測定結果に基づいて前記平均値の分散の平均値を算出するまでに、前記第1の回数連続で前記所定の範囲内に入っていない場合には、前記測定手段が記録媒体の特性を測定する前記記録媒体上の位置を変更することを特徴とする請求項5に記載の記録装置。 The average value of the variance of the average value calculated by the calculation means is until the calculation means calculates the average value of the variance of the average value based on the measurement result measured a second time by the measurement means. The fifth aspect of the present invention is the case where the measuring means changes the position on the recording medium for measuring the characteristics of the recording medium when the measurement means does not fall within the predetermined range in the first consecutive times. The recording device described. 前記取得手段は、前記算出手段が算出した前記平均値の分散の平均値が、前記測定手段が前記第2の回数よりも多い第3の回数測定した前記測定結果に基づいて前記平均値の分散の平均値を算出するまでに、前記第1の回数連続で前記所定の範囲内に入っていない場合には、前記記録装置で使用された記録媒体の種類を示す履歴情報を取得し、
前記決定手段は前記履歴情報に基づいて使用されたことのある記録媒体の種類に決定することを特徴とする請求項6に記載の記録装置。
The acquisition means disperses the average value based on the measurement result in which the average value of the variance of the average value calculated by the calculation means is measured a third number of times by the measuring means more than the second number of times. If the average value of the above is not within the predetermined range for the first consecutive number of times, history information indicating the type of the recording medium used in the recording device is acquired.
The recording device according to claim 6, wherein the determination means determines the type of recording medium that has been used based on the history information.
情報を通知する通知手段を制御する通知制御手段を有し、
前記決定手段は、前記測定結果と、予め記憶された基準となる記録媒体の特性値と、に基づいて測定された記録媒体の種類の候補を決定し、
前記通知制御手段は前記通知手段に前記候補の記録媒体の情報を示す情報を通知させることを特徴とする請求項1乃至7のいずれか1項に記載の記録装置。
It has a notification control means that controls the notification means for notifying information.
The determination means determines a candidate for the type of recording medium measured based on the measurement result and the characteristic value of the reference recording medium stored in advance.
The recording device according to any one of claims 1 to 7, wherein the notification control means causes the notification means to notify information indicating information of the candidate recording medium.
記録装置で使用される記録媒体の特性を測定手段によって測定した測定結果を取得する取得工程と、
取得した前記測定結果と、予め記憶された基準となる記録媒体の特性値と、に基づいて前記記録装置で使用される記録媒体の種類を決定する決定工程と、
を有する記録媒体決定方法であって、
前記取得工程において、前記測定手段によって複数回、それぞれ異なる測定位置で測定した複数の測定結果を取得し、
前記決定工程において、前記取得工程において取得した前記複数の測定結果の分散の傾向を示す値と、前記複数の測定結果に基づいた測定値に基づいて記録媒体の種類を決定することを特徴とする記録媒体決定方法。
An acquisition process for acquiring measurement results obtained by measuring the characteristics of a recording medium used in a recording device by a measuring means, and
A determination step of determining the type of recording medium used in the recording apparatus based on the acquired measurement result and the characteristic value of the recording medium as a reference stored in advance.
It is a recording medium determination method having
In the acquisition step, a plurality of measurement results measured at different measurement positions are acquired a plurality of times by the measuring means.
The determination step is characterized in that the type of recording medium is determined based on a value indicating a tendency of dispersion of the plurality of measurement results acquired in the acquisition step and a measurement value based on the plurality of measurement results. Recording medium determination method.
前記決定工程において、前記測定結果の分散が収束した場合に、所定の回数以下で収束したか否かと、前記複数の測定結果に基づいた測定値に基づいて記録媒体の種類を決定することを特徴とする請求項9に記載の記録媒体決定方法。 In the determination step, when the dispersion of the measurement results converges, the type of recording medium is determined based on whether or not the dispersion has converged within a predetermined number of times and the measured values based on the plurality of measurement results. The recording medium determination method according to claim 9. 前記決定工程において、前記予め記憶された基準となる記録媒体の特性値を示す情報と、前記分散が前記測定手段が前記記録媒体の特性を何回測定したときの測定結果で収束したかを示す収束回数情報を記憶する記憶手段から情報を取得し、前記測定値が前記記憶手段が記憶している前記特性値から所定の範囲内に入る記録媒体であって、前記分散が収束した回数が前記記憶手段が記憶している前記収束回数情報が示す回数から所定回数以内の回数である当該記録媒体の種類を、前記記録装置で使用される記録媒体の種類であると決定することを特徴とする請求項9または10に記載の記録媒体決定方法。 In the determination step, the information indicating the characteristic value of the reference recording medium stored in advance and the measurement result when the measuring means measures the characteristic of the recording medium are shown. A recording medium in which information is acquired from a storage means that stores information on the number of times of convergence, and the measured value falls within a predetermined range from the characteristic value stored in the storage means, and the number of times the dispersion has converged is the number of times. It is characterized in that the type of the recording medium, which is within a predetermined number of times from the number of times indicated by the convergence number information stored in the storage means, is determined to be the type of the recording medium used in the recording device. The recording medium determination method according to claim 9 or 10.
JP2019178033A 2019-09-27 2019-09-27 Recording device and recording medium determination method Active JP7418108B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019178033A JP7418108B2 (en) 2019-09-27 2019-09-27 Recording device and recording medium determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019178033A JP7418108B2 (en) 2019-09-27 2019-09-27 Recording device and recording medium determination method

Publications (2)

Publication Number Publication Date
JP2021053867A true JP2021053867A (en) 2021-04-08
JP7418108B2 JP7418108B2 (en) 2024-01-19

Family

ID=75272224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019178033A Active JP7418108B2 (en) 2019-09-27 2019-09-27 Recording device and recording medium determination method

Country Status (1)

Country Link
JP (1) JP7418108B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725207B2 (en) 2001-04-23 2004-04-20 Hewlett-Packard Development Company, L.P. Media selection using a neural network
JP4290131B2 (en) 2004-03-31 2009-07-01 キヤノン株式会社 Recording medium identification device and recording device
JP2006027211A (en) 2004-07-21 2006-02-02 Oki Electric Ind Co Ltd Printer and printing system
JP2008155482A (en) 2006-12-22 2008-07-10 Canon Inc Image printer and control method

Also Published As

Publication number Publication date
JP7418108B2 (en) 2024-01-19

Similar Documents

Publication Publication Date Title
KR102632196B1 (en) Information processing apparatus, printing apparatus, information processing method, and storage medium
JP2016215591A (en) Recording device and control method
CN111497463B (en) Information processing apparatus, printing apparatus, and method of determining type of printing medium
JP2023099579A (en) Information processing device, recording device, information processing method and program
JP7282549B2 (en) Information processing device, recording device, and information processing method
JP2021053867A (en) Recording apparatus and recording medium determination method
JP7374810B2 (en) Information processing device, recording device, measurement correction method, and program
US11639068B2 (en) Information processing apparatus, recording apparatus, information processing method, and storage medium
JP7313858B2 (en) Information processing device, recording device, information processing method and program
JP7313864B2 (en) Information processing device, recording device, information processing method, and program
US20220131982A1 (en) Color chart, information processing apparatus, and information processing system
JP2023106884A (en) Information processing device and method for determining type of recording medium
JP7282585B2 (en) Information processing device, recording device, method for determining recording medium, and program
US10668758B2 (en) Electronic device using test pattern, method of analyzing test pattern, and non-transitory recording medium storing instructions to analyze test pattern
JP2022024876A (en) Information processing device, recording device, and information processing method
JP2021006364A (en) Recording apparatus and recording method
US20240001692A1 (en) System, information processing apparatus, method for determining type of recording medium, and storage medium
JP2021094830A (en) Information processing device, recording device, information processing method, and program
JP6503846B2 (en) Ink jet printer and position information management method
JP2021074958A (en) Recording device and method for measuring

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220926

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231102

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231205

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231228

R151 Written notification of patent or utility model registration

Ref document number: 7418108

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151