JP6284805B2 - Printer and sensor level adjustment method - Google Patents
Printer and sensor level adjustment method Download PDFInfo
- Publication number
- JP6284805B2 JP6284805B2 JP2014071348A JP2014071348A JP6284805B2 JP 6284805 B2 JP6284805 B2 JP 6284805B2 JP 2014071348 A JP2014071348 A JP 2014071348A JP 2014071348 A JP2014071348 A JP 2014071348A JP 6284805 B2 JP6284805 B2 JP 6284805B2
- Authority
- JP
- Japan
- Prior art keywords
- sensor
- light receiving
- light
- light emitting
- emitting element
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 33
- 238000001514 detection method Methods 0.000 claims description 69
- 238000007639 printing Methods 0.000 claims description 60
- 230000003287 optical effect Effects 0.000 claims description 56
- 230000005540 biological transmission Effects 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 18
- 238000012937 correction Methods 0.000 claims description 5
- 238000002834 transmittance Methods 0.000 claims description 5
- 238000002360 preparation method Methods 0.000 claims description 3
- 230000035945 sensitivity Effects 0.000 description 26
- 238000004891 communication Methods 0.000 description 11
- 239000000758 substrate Substances 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 210000000078 claw Anatomy 0.000 description 6
- 238000011144 upstream manufacturing Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 239000012790 adhesive layer Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000000452 restraining effect Effects 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 235000003805 Musa ABB Group Nutrition 0.000 description 1
- 240000008790 Musa x paradisiaca Species 0.000 description 1
- 235000015266 Plantago major Nutrition 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 239000010410 layer Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 229920003002 synthetic resin Polymers 0.000 description 1
- 239000000057 synthetic resin Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Handling Of Sheets (AREA)
- Controlling Sheets Or Webs (AREA)
Description
本発明はプリンター及びセンサーレベル調整方法にかかるもので、特に、プリンターに装備されている印字用紙の相対的位置を検出する光学センサーのセンサーレベルの調整に関する技術である。 The present invention relates to a printer and a sensor level adjustment method, and more particularly to a technique relating to adjustment of a sensor level of an optical sensor that detects a relative position of a printing paper provided in the printer.
従来から、ラベル連続体その他の印字用紙を各種のプリンターに装填して移送および印字するにあたって、印字部に対する印字用紙の相対的位置を検出するために、反射型や透過型の光学センサーが用いられている。 Conventionally, a reflective or transmissive optical sensor has been used to detect the relative position of the printing paper with respect to the printing unit when loading and transferring a label continuum or other printing paper to various printers. ing.
しかして光学センサーは、発光素子および受光素子を有し、同一種類のものであっても、製造上その特性に多少のバラツキがあるために、あらかじめ設定された電圧ないしは電流を当該光学センサーの発光素子および受光素子にそれぞれ印加しても、精密な同一の出力レベル(感度)を得ることができないという問題がある。 Thus, an optical sensor has a light emitting element and a light receiving element, and even if they are of the same type, there are some variations in their characteristics in manufacturing, so that a preset voltage or current is emitted from the optical sensor. There is a problem in that it is impossible to obtain the exact same output level (sensitivity) even if applied to each of the element and the light receiving element.
また、印字用紙の種類や紙質、さらには、印字用紙にあらかじめ印刷されている検出用マークの色などが異なる場合には、同一種類の光学センサーであっても、その出力レベルが異なるという問題がある。 In addition, when the type and quality of the printing paper, and the color of the detection mark pre-printed on the printing paper are different, there is a problem that the output level differs even with the same type of optical sensor. is there.
したがって、従来は、光学センサーに印加する電流量を調整可能な回路(可変抵抗など)をプリンター本体に設けておき、工場出荷時あるいはメンテナンス時に、これを手動で調整することにより、光学センサーからの出力レベルのバラツキを補正することが行われている。 Therefore, conventionally, a circuit (such as a variable resistor) that can adjust the amount of current applied to the optical sensor is provided in the printer body, and this is adjusted manually at the time of shipment from the factory or at the time of maintenance. Correction of output level variation is performed.
しかしながら、このような手動による調整作業は、熟練と経験を有するとともに、時間および手間がかかるという問題がある。 However, such manual adjustment work has a problem that it requires skill and experience and takes time and labor.
工場出荷後にプリンターに使用される印字用紙の種類が異なる場合、あるいは使用環境が極端に異なる場合には、その使用者において光学センサーを再度調整することが必要になるという問題がある。 If the type of printing paper used in the printer after shipment from the factory is different or the usage environment is extremely different, there is a problem that the user needs to adjust the optical sensor again.
さらに、反射型および透過型の光学センサーをともに備えているプリンターにおいては、それぞれの光学センサーをそれぞれ調整する必要があり、調整作業にさらに時間がかかるという問題がある。 Furthermore, in a printer provided with both reflection type and transmission type optical sensors, it is necessary to adjust each optical sensor, and there is a problem that adjustment work takes more time.
本発明は以上のような諸問題にかんがみなされたもので、特性にバラツキがある光学センサーの出力レベルを短時間で簡単に調整することができるプリンターおよびセンサーレベル調整方法を提供することを課題とする。 The present invention has been considered in view of the above problems, and it is an object of the present invention to provide a printer and a sensor level adjustment method that can easily adjust the output level of an optical sensor having variations in characteristics in a short time. To do.
また本発明は、印字用紙の種類や紙質、検出用マークの色などに応じてセンサーレベルを、手動によらず、簡単に調整可能なプリンターおよびセンサーレベル調整方法を提供することを課題とする。 It is another object of the present invention to provide a printer and a sensor level adjustment method that can easily adjust the sensor level according to the type and quality of the printing paper, the color of the detection mark, and the like, without manual operation.
また本発明は、使用する印字用紙や使用環境に応じて光学センサーの出力レベルを自動的に調整可能なプリンターおよびセンサーレベル調整方法を提供することを課題とする。 Another object of the present invention is to provide a printer and a sensor level adjustment method capable of automatically adjusting the output level of an optical sensor according to the printing paper to be used and the use environment.
また本発明は、光学センサーとして反射型および透過型のものなど複数個の光学センサーを用いているプリンターであっても、短時間で調整可能なプリンターおよびセンサーレベル調整方法を提供することを課題とする。 It is another object of the present invention to provide a printer and a sensor level adjustment method that can be adjusted in a short time even if the printer uses a plurality of optical sensors such as a reflection type and a transmission type as optical sensors. To do.
本発明は、印字用紙を検出するための発光素子および受光素子で構成される光学センサーと、前記印字用紙に印字を行う印字部と、前記光学センサーのレベルを調整するセンサーレベル調整部と、を有するプリンターであって、前記センサーレベル調整部は、前記受光素子に対して予め設定された負荷抵抗を設定する手段と、前記発光素子に対して最も小さい発光量を設定する手段と、前記発光素子の前記発光量に対する前記受光素子の出力電圧と発光素子用設定電圧値とを比較し、前記出力電圧が前記発光素子用設定電圧値より小さくなるよう前記発光素子の発光量を漸次増加させる手段と、前記出力電圧が前記発光素子用設定電圧値より小さくなった際の発光量を、前記発光素子の最適発光量と決定し、前記予め設定された負荷抵抗を、最も小さい負荷抵抗に設定する手段と、前記発光素子の前記最適発光量に対する前記受光素子の出力電圧と受光素子用設定電圧値とを比較し、前記出力電圧が前記受光素子用設定電圧値より小さくなるよう前記受光素子の負荷抵抗を漸次増加させる手段と、前記出力電圧が前記受光素子用設定電圧値より小さくなった際の負荷抵抗を、前記受光素子の最適負荷抵抗と決定する手段とを備える。 The present invention includes an optical sensor including a light emitting element and a light receiving element for detecting printing paper, a printing unit that performs printing on the printing paper, and a sensor level adjustment unit that adjusts the level of the optical sensor. The sensor level adjustment unit includes: a unit configured to set a load resistance set in advance for the light receiving element; a unit configured to set a minimum light emission amount for the light emitting element; and the light emitting element. A means for comparing the output voltage of the light receiving element with respect to the light emission amount and a set voltage value for the light emitting element, and gradually increasing the light emission amount of the light emitting element so that the output voltage becomes smaller than the set voltage value for the light emitting element; The light emission amount when the output voltage becomes smaller than the set voltage value for the light emitting element is determined as the optimum light emission amount of the light emitting element, and the preset load resistance is And comparing the output voltage of the light receiving element and the set voltage value for the light receiving element with respect to the optimum light emission amount of the light emitting element, and the output voltage is smaller than the set voltage value for the light receiving element. Means for gradually increasing the load resistance of the light receiving element, and means for determining the load resistance when the output voltage becomes smaller than the set voltage value for the light receiving element as the optimum load resistance of the light receiving element. .
前記センサーレベル調整部は、前記最適負荷抵抗を変更する負荷抵抗補正手段を備えることが好ましい。 It is preferable that the sensor level adjustment unit includes a load resistance correction unit that changes the optimum load resistance.
前記予め設定された負荷抵抗は、可変抵抗部の抵抗値設定範囲の中央値より大きな抵抗値を有することが好ましい。 It is preferable that the preset load resistance has a resistance value larger than a median value of a resistance value setting range of the variable resistance portion.
前記光学センサーが、透過型センサーおよび反射型センサーの少なくも一つを備えることが好ましい。 The optical sensor preferably includes at least one of a transmissive sensor and a reflective sensor.
前記光学センサーが、透過型センサーおよび反射型センサーの両方を備え、前記透過型センサー及び前記反射型センサーが前記印字用紙の幅方向の同一線上に配置されていることが好まし。 Preferably, the optical sensor includes both a transmissive sensor and a reflective sensor, and the transmissive sensor and the reflective sensor are arranged on the same line in the width direction of the printing paper.
前記受光素子用設定電圧値が前記発光素子用設定電圧値よりも大きいことが好ましい。 The light receiving element set voltage value is preferably larger than the light emitting element set voltage value.
前記透過型センサーおよび前記反射型センサーが、前記センサーレベル調整部により同時に前記最適発光量と前記最適負荷抵抗とが設定されることが好ましい。 In the transmissive sensor and the reflective sensor, it is preferable that the optimum light emission amount and the optimum load resistance are simultaneously set by the sensor level adjusting unit.
別の発明は、発光素子および受光素子を有する光学センサーを備え、この光学センサーにより印字用紙の位置を検出して印字を行うプリンターのセンサーレベル調整方法であって、前記受光素子に対して予め設定された負荷抵抗を設定する工程と、前記発光素子に対して最も小さい発光量を設定する工程と、前記発光素子の前記発光量に対する前記受光素子の出力電圧と発光素子用設定電圧値とを比較し、前記出力電圧が前記発光素子用設定電圧値より小さくなるよう前記発光素子の発光量を漸次増加させる工程と、前記出力電圧が前記発光素子用設定電圧値より小さくなった際の発光量を、前記発光素子の最適発光量と決定し、前記予め設定された負荷抵抗を、最も小さい負荷抵抗に設定する工程と、前記発光素子の前記最適発光量に対する前記受光素子の出力電圧と受光素子用設定電圧値とを比較し、前記出力電圧が前記受光素子用設定電圧値より小さくなるよう前記受光素子の負荷抵抗を漸次増加させる工程と、前記出力電圧が前記受光素子用設定電圧値より小さくなった際の負荷抵抗を、前記受光素子の最適負荷抵抗と決定する工程と、を有する手段とを備える。 Another invention is a sensor level adjustment method for a printer that includes an optical sensor having a light emitting element and a light receiving element, and detects the position of the printing paper by the optical sensor to perform printing, and is preset for the light receiving element. Comparing the output voltage of the light receiving element with respect to the light emission amount of the light emitting element and the set voltage value for the light emitting element, the step of setting the measured load resistance, the step of setting the smallest light emission amount for the light emitting element And gradually increasing the light emission amount of the light emitting element so that the output voltage becomes smaller than the set voltage value for the light emitting element, and the light emission amount when the output voltage becomes smaller than the set voltage value for the light emitting element. Determining the optimum light emission amount of the light emitting element, and setting the preset load resistance to the smallest load resistance, and for the optimum light emission amount of the light emitting element A step of comparing the output voltage of the light receiving element with a set voltage value for the light receiving element, and gradually increasing a load resistance of the light receiving element so that the output voltage becomes smaller than the set voltage value for the light receiving element; Determining a load resistance when the voltage becomes smaller than the set voltage value for the light receiving element as an optimum load resistance of the light receiving element.
本発明によれば、発光素子の発光量および受光素子の受光感度(負荷抵抗)を、短い時間で、かつ光学センサーに流れる電流をできる限り少なくできる。 According to the present invention, the amount of light emitted from the light emitting element and the light receiving sensitivity (load resistance) of the light receiving element can be reduced in a short time and the current flowing through the optical sensor as much as possible.
手動による可変抵抗などの調整作業も不要として、自動的なレベル調整操作を実現可能である。 Automatic level adjustment operation can be realized without the need for manual adjustment work such as variable resistance.
以下、本発明の一例としての実施の形態について、図面に基づいて詳細に説明する。なお、実施の形態を説明するための図面において、同一の構成要素には原則として同一の符号を付し、その繰り返しの説明は省略する。 Hereinafter, an embodiment as an example of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.
また、実施の形態において、連続紙(印字媒体)を印字のために搬送する方向、具体的には、連続紙をプリンターの用紙供給部からサーマルヘッド部に送る方向を印字方向といい、特に説明がない場合、搬送方向上流とは印字方向において上流側のことをいい、搬送方向下流とは印字方向において下流側のことをいう。 In the embodiment, the direction in which continuous paper (print medium) is conveyed for printing, specifically, the direction in which continuous paper is fed from the paper supply unit of the printer to the thermal head unit is referred to as the print direction. If there is no, the upstream in the transport direction means the upstream side in the printing direction, and the downstream in the transport direction means the downstream side in the printing direction.
図1は、本実施の形態に係るプリンターの外観を示す全体斜視図である。本実施の形態のプリンター1は、例えば、連続紙(印字媒体)の台紙に仮着されたラベルに、文字、記号、図形またはバーコード等のような情報を印字するラベル印字機能を備えている。
FIG. 1 is an overall perspective view showing the appearance of the printer according to the present embodiment. The
プリンター1の正面のフロントカバー2には、操作パネル3と、電源スイッチ4と、発行口(媒体排出口)5とが設けられている。操作パネル3には、印字操作に必要なメッセージ等を表示するLCD(Liquid Crystal Display)と、プリンター1の動作を操作する複数のキー(ラインキー、フィードキー、ファンクションキー、方向指示キーおよびキャンセルキー等)と、プリンター1の操作状態を示す複数のLED(Light Emitting Diode)とが配置されている。また、プリンター1の一方の側面には、オープンカバー6が2箇所のヒンジ7により上下方向に開閉自在に装着されている。さらに、プリンター1の背面は、バックカバー8で覆われている。
A
次に、プリンター1の内部構造に概略について、図2を参照して説明する。図2はプリンター1の内部を示す斜視図である。なお、以下の説明ではプリンター1の正面側(フロントカバー側)を前方(搬送方向下流側)といい、背面側(バックカバー側)を後方(搬送方向上流側)という。
Next, an outline of the internal structure of the
プリンター1の内部の後方には、用紙供給部(媒体供給部)10が配置されており、その前方には、印字部11が配置されている。また、印字部11の上方には、インクリボン部12が配置されている。
A paper supply unit (medium supply unit) 10 is disposed behind the inside of the
プリンター1の内部の後方に配置された用紙供給部10は、連続紙Pを前方の印字部11に供給する構成部であり、支持軸10aと、その一端に配置されたロールガイド10bとを備えている。支持軸10aは、ロール状に巻き取られた連続紙Pを回転自在支持する構成部である。また、ロールガイド10bは、ロール状の連続紙Pを固定する構成部であり、連続紙Pの幅に応じて位置を変えられるように、支持軸10aの軸方向に沿って移動自在に設置されている。
The
用紙供給部10の前方に配置された印字部11は、連続紙Pのラベル等に印字を行う構成部であり、印字ヘッド部13と、その下方に配置された支持部14と、支持部14の後方に配置されたダンパ部15とを備えている。
The
印字ヘッド部13は、支持部14に対して開閉自在の状態でプリンター1の内部に設置されている。そして、印字ヘッド部13が支持部14に対して閉止状態にある時、印字ヘッド部13と支持部14との間に通紙ルート(媒体搬送路)が形成される。この通紙ルートは、プリンター1の正面のフロントカバー2に設けられた発行口(図1参照)に連通している。
The
印字ヘッド部13の下方に配置された支持部14には、印字ヘッド部13の閉止状態を維持するヘッドロックレバー16が設置されている。このヘッドロックレバー16を手動で後方に倒すと、印字ヘッド部13の閉止状態が解除される。印字ヘッド部13の前方部分が持ち上がるため、印字ヘッド部13が開放状態となる。すなわち、印字ヘッド部13が支持部14に対して離間する方向へ移動する。
A
支持部14の後方に配置されたダンパ部15は、連続紙Pにテンションを付与して正確なラベル印字を行う構成部であり、アウターダンパ部15aとインナーダンパ部15bとを備えている。アウターダンパ部15aおよびインナーダンパ部15bは、印字ヘッド部13が閉止状態にある時、それぞれ連続紙Pにテンションを付与可能なように、搖動自在に設置されている。
The
印字部11の上方に配置されたインクリボン部12は、印字用インクが塗布されたインクリボンRBの供給および巻き取を行う構成部であり、リボン供給部12aと、その斜め前方に配置されたリボン巻き取り部12bとを備えている。リボン供給部12aは、ロール状に巻き取られたインクリボンRBを回転自在に支持する構成部であり、リボン巻き取り部12bは、印字済みのインクリボンRBを巻き取り回収する構成部である。
The
インクリボンRBをインクリボン部12に装着する際は、印字ヘッド部13を支持部14に対して開放状態にした後、リボン供給部12aから引き出したインクリボンRBを印字ヘッド部13とラベル押さえ(図示せず)との間に通し、インクリボンRBの先端部分をボン巻き取り部12bで巻き取る。
When the ink ribbon RB is mounted on the
印字工程時には、リボン供給部12aから繰り出されたインクリボンRBと、用紙供給部10から繰り出された連続紙Pとが印字ヘッド部13と支持部14との間に搬送される。そして、連続紙Pのラベル等に印字処理がなされた後、連続紙Pは、フロントカバー2の発行口5から外部に排出され、印字済みのインクリボンRBは、リボン巻き取り部12bに回収される。
During the printing process, the ink ribbon RB fed from the
次に、上記した印字部11の構成について図3および図4を参照して説明する。図3および図4に示すように、印字部11の印字ヘッド部13は、その前方部分が後方の回転軸S1を支点として上下方向に回動(すなわち、開閉)自在の状態でヘッド支持板17に指示されている。
Next, the configuration of the
図3(B)に示すように、印字ヘッド部13の下面(通紙ルートに対向する面)には、サーマルヘッド部18がその印字面を通紙ルートに向けた状態で設置されている。サーマルヘッド部18は、その印字面に配置された印字ライン18Lにより連続紙Pのラベル等に印字を行う手段である。図示は省略するが、サーマルヘッド部18の印字ライン18Lには、通電により発熱する複数の発熱抵抗体(発熱素子)が連続紙Pの幅方向(連続紙Pの搬送方向に対して直交する方向)に沿って配置されている。
As shown in FIG. 3B, the
印字ヘッド部13の前方側の下面には、サーマルヘッド部18を挟むように一対の凹状爪部19が設けられており、凹状爪部19のそれぞれの後方には、印字ヘッド部13の両側面から外方に突出するピン20が設けられている。印字ヘッド部13は、回転軸S1に装着されたトーションバネ21(図4)により開放方向に付勢されている。一方、印字ヘッド部13の下部のピン20に支持部14のロック爪部22が係止されることにより閉止状態が維持される。ロック爪部22は、ヘッドロックレバー16を後方に倒した時、それに連動して移動し、ピン20から外れるようになっている。そして、ロック爪部22がピン20から外れると、トーションバネ21の付勢力により印字ヘッド部13が開放状態となる(図3(B)参照)。
A pair of
図3(A)に示すように、印字ヘッド部13の閉止状態時には、印字ヘッド部13の凹状爪部19が、支持部14に設けられたプラテンローラー部23のプラテン軸S2に嵌合され、印字ヘッド部13に設けられた押圧装置(図示せず)によりサーマルヘッド部18の印字面がその下方のプラテンローラー部23に押し付けられる。また、図4に示すように、プラテン軸S2の一方の端部には、ギアG1が接続されている。このギアG1は、連結ギアG2、G3を介してギアG4に接続されていると共に、例えば、タイミングベルト(図示せず)等を介してステッピングモーターのような駆動体の回転軸に係合されている。
As shown in FIG. 3A, when the
図4に示すように、ダンパ部15に設けられたアウターダンパ部15aは、前方側から後方側に向かって斜め下方に延びている。前方側の回転軸S3(図3参照)を中心にして、後方部が上下方向に搖動自在の状態でダンパ支持部材25に支持されている。図4に示すダンパ部15のコイルバネ26は、アウターダンパ部15aが上方側(後方側)に行き過ぎないように抑制する共に、アウターダンパ部15aを搖動自在の状態で支持する部材である。
As shown in FIG. 4, the
一方、ダンパ部15に設けられたインナーダンパ部15bは、後方側から前方側に向かって斜め下方向に延びており、後方側の回転軸S4(図3参照)を中心にして、前方部が上下方向に搖動自在の状態でアウターダンパ部15aの後方部に支持されている。
On the other hand, the
アウターダンパ部15aの下部には、一対の幅調整ガイド27が回転軸S3、S4の軸方向に沿って移動自在の状態で設置されている。これらの幅調整ガイド27は、用紙供給部10から搬送された連続紙Pの幅方向の両端に当接し、連続紙Pの搬送をガイドする構成部である。幅調整ガイド27のそれぞれは、アウターダンパ部15aの背面側のガイド操作部28に接続されている。ガイド操作部28は、連続紙Pの幅に合わせて幅調整ガイド27を移動すると共に、幅調整ガイド27の位置を固定するための摘みである。
A pair of width adjustment guides 27 are installed below the
アウターダンパ部15aを支持するダンパ支持部材25は、前方側の回転軸S5(図4参照)を中心にして後方部分が上下方向に搖動自在の状態でプリンター1内に支持されている。ダンパ支持部材25は、その後方部分が回転軸S5に装着されたトーションバネ30により回転軸S5を中心にして上方に開く方向(ダンパ部15全体が持ち上がる方向)付勢されている。ヘッド支持板17の抑止部17aがアウターダンパ部15a側に位置している間は抑止部17aに抑えられ、閉止状態が維持されている。
The damper support member 25 that supports the
このダンパ支持部材25の上部には、ダンパ支持部材25の長手方向に沿って延びる長溝部25aが形成されている。この長溝部25aには、上記ヘッド支持板17のピン17bが長溝部25aに沿って移動自在の状態で嵌められている。これにより、印字ヘッド部13を支持するヘッド支持板17は、ダンパ支持部材25と係合されている。
A long groove portion 25 a extending along the longitudinal direction of the damper support member 25 is formed on the upper portion of the damper support member 25. The pin 17b of the
支持部14のプラテンローラー部23は、用紙供給手段10から供給された連続紙Pを通紙ルートに沿って発行口(図1参照)へ搬送する手段であり、正逆両方向に回転可能な状態で支持部14の軸支されている。
The
プラテンローラー部23の本体は、例えば、細長い円筒状のゴム等のような弾性部材により形成されている。また、プラテン軸S2は、例えば、細長い円柱状の金属により形成されており、その長手方向両端部がプラテンローラー部23の本体の両端部から突出された状態で本体の円筒内に挿入され、固定されている。
The main body of the
支持部14の上面においてプラテンローラー部23よりも搬送方向の上流側には、センサーユニット41が配置されている。センサーユニット41は、搬送されてきた連続紙Pの位置を検出するセンサーを収容する容器である。
A
図5は、印字用紙の一例である連続紙Pの平面図、図6は、図5のIII−III線断面図であり、連続紙Pは、帯状の台紙70と、台紙70上に仮着した複数枚のラベル片71(用紙片)と、を有する。
FIG. 5 is a plan view of a continuous paper P that is an example of printing paper, FIG. 6 is a cross-sectional view taken along the line III-III of FIG. 5, and the continuous paper P is temporarily attached to the belt-
台紙70のラベル片71の仮着された面と反対面側(裏側)に、位置検出用マーク72をあらかじめ印刷するとともに、互いに隣り合うラベル片71の間にギャップ73を設け、ギャップ73に位置して台紙切断用のミシン目74を形成している。なお、ギャップ73は、位置検出用としてこれを利用することができる。
A
図6に示すように、ラベル片71は、ラベル基材75と、ラベル基材75の裏面側の粘着剤層76と、を有している。粘着剤層76においてラベル片71を台紙70上に仮着している。
As shown in FIG. 6, the
ラベル基材75には、感熱紙と普通紙の2種類がある。ラベル基材75が感熱紙である場合は、その表面に、予め決められた温度領域に達した時に特定の色(黒や赤等)に発色する感熱発色層が形成されている。ラベル基材75が普通紙である場合、インクリボンRBを用いることでラベル片71に印字が行われる。
There are two types of
図7は、支持部14の斜視図である。支持部14の上面においてプラテンローラー部23よりも搬送上流側には、連続紙Pの搬送をガイドする用紙ガイド部24(媒体ガイド部)24が設置されている。用紙ガイド部24は、その上面の高さが搬送方向上流から搬送方向下流に向かって高くなるように傾斜した状態で設置される。
FIG. 7 is a perspective view of the
用紙ガイド部24の上方には、ラベル押さえ40と、ラベル押さえ40の支持及び位置決めを行うセンサーユニット41が配置されている。センサーユニット41は、支持部14の支持フレーム14aに対して、プランテンローラー部23のプラテン軸S2と平行方向に移動可能に構成されている。
Above the paper guide portion 24, a
ラベル押さえ40は、連続紙Pのばたつきを防止する部材であり、ダンパ部15を通って用紙ガイド部24の上面に搬送されてきた連続紙Pは、用紙ガイド部24の上面とラベル押さえの下面との隙間を通ってプラテンローラー部23に搬送される。センサーユニット41は、用紙ガイド部24の上面に搬送れてきた連続紙Pの位置を検出する。ラベル押さえ40は、その一部に取り付けられたセンサーユニットロックレバー60によってセンサーユニット41に固定されるよう構成されている。
The
図8(A)(B)は、センサーユニット41の長手方向に沿った側面図、図9はセンサーユニット41の長手方向に沿った要部断面図である。
8A and 8B are side views along the longitudinal direction of the
センサーユニット41は、合成樹脂の成型体等によって構成された上部センサー取り付け部42と下部センサー取り付け部43とを備えている。図8に示すように、上部センサー取り付け部42と下部センサー取り付け部43とは、それらの後端側(図8の左側)の軸支部44を介して互いに回動可能に連結されている。
The
例えば、上部センサー取り付け部42の先端側(図8の右側)を指等で上方に持ち上げると、図8(B)に示すように、上部センサー取り付け部42が軸支部44を支点として回動し、両者の先端側が互いに広く離間する(開いた状態となる)。また、この状態で上部センサー取り付け部42から指等を離すと、上部センサー取り付け部42がその自重によって逆方向に回動し、図8(A)に示すように、両者の先端側が互いに近接する(閉じた状態となる)。
For example, when the tip side (the right side in FIG. 8) of the upper
図8に示すように、上部センサー取り付け部42の両側面には、プリンター1のラベル押さえ40を支持するための上部ガイド溝52が設けられている。一方、下部センサー取り付け部43の両側面には、センサーユニット41をプリンター1の支持部14に装着するための下部ガイド溝53が設けられている。また、上部センサー取り付け部42の一方の側面には、ラベル押さえ40をセンサーユニット41の所定の位置に固定するための凸部54が設けられている。さらに、下部センサー取り付け部43の底面には、鋸刃状の凹凸溝55がセンサーユニット41の長手方向に沿って設けられている。この凹凸溝55は、センサーユニット41の支持フレーム14a(図7参照)に対する相対位置を決定するために用いられる。図8に模式的に示すように、凹凸溝55には、センサーユニット41をプリンター1に装着した時に支持部14に取り付けられた板バネ31が係合されるようになっている。
As shown in FIG. 8,
図9に示すように、センサーユニット41の内部には、透過型センサー45と反射型センサー49とが配置されている。上部センサー取り付け部42の内壁に設けられた嵌合溝42aには、透過型センサー45を構成する受光素子45Bおよびコネクタ50が実装された上部センサー基板(上部センサ本体)47が着脱自在に嵌め込まれている。また、下部センサー取り付け部43の内壁に設けられた嵌合溝43aには、透過型センサー45を構成する発光素子45A、反射型センサー49およびコネクタ51が実装された下部センサー基板(下部センサ本体)48が着脱自在に嵌め込まれている。
As shown in FIG. 9, a
透過型センサー45を構成する下部センサー基板48に実装された発光素子45Aおよび上部センサー基板47に実装された受光素子45Bは、上下方向に対向する位置に配置されている。透過型センサー45は連続紙Pを通過した発光素子45Aからの光信号を受光素子45Bで検出する。台紙70とラベル片71との光透過率の違いにより、連続紙Pの位置検出を行う。ラベル片71とギャップ73とを判別することができる。
The
下部センサー基板48に実装された反射型センサー49は、その内部に発光素子49Aと受光素子49Bとを備えており、発光素子49Aと受光素子49Bとは並んで配置されている。反射型センサー49は、連続紙Pの表面で反射した黒と白と光信号に基づいて連続紙Pの位置検出を行う。台紙70の裏側に印刷された黒の位置検出用マーク72と台紙70との光反射率の違いにより、台紙70と位置検出用マーク72を判別することができる。すなわち、センサーユニット41は、発光素子と受光素子とを備える二種類の位置検出用の光学センサー(透過型センサー45と反射型センサー49)を備えており、連続紙Pの種類に応じてこれらの二種類の位置検出センサーのいずれか一方を選択的に使用できる構成となっている。
The
センサーユニニット41において、上記2枚のセンサー基板(上部センサー基板47および下部センサー基板48)が嵌め込まれた部分が、上記センサー取り付け部42の下面と下部センサー取り付け部43との間に隙間Cが形成されている。この隙間Cは、センサーユニット41をプリンター1の支持部14に装着した時に、連続紙Pの幅方向の一部が通過する通紙ルートとなっている。
In the
本実施の形態では二種類の光学センサー、透過型センサー45と反射型センサー49とはセンサーユニット41の長手方向に沿って配置されている。つまり、透過型センサー45と反射型センサー49とは連続紙Pの幅方向の同一線上に配置されている。但し、二種類の光学センサーの配置は何ら限定されない。
In the present embodiment, two types of optical sensors, the
図10は、光学センサー(透過型センサー45と反射型センサー49)により連続紙Pの位置を検出する原理を示している。
FIG. 10 shows the principle of detecting the position of the continuous paper P by the optical sensors (the
透過型センサー45と反射型センサー49の発光素子45A,49Aとしては、例えば発光ダイオード(LED:Light Emitting Diode)が用いられ、受光素子45B,49Bとしては、例えばフォトトランジスタ(PT:Photo Transistor)が用いられる。発光ダイオードLEDは、カソード端子が接地され、アノード端子が制限抵抗R1を介して電源電圧Vcc1の電源に接続されている。
As the
一方、フォトトランジスタPTは、エミッタ端子が接地され、コレクタ端子が負荷抵抗R2を介して電源電圧Vcc2の電源に接続されている。即ち、フォトトランジスタPTは、コレクタ端子を出力端子としたエミッタ接地回路となるように接続されている。 On the other hand, the phototransistor PT has its emitter terminal grounded and its collector terminal connected to the power supply of the power supply voltage Vcc2 via the load resistor R2. That is, the phototransistor PT is connected so as to be a grounded emitter circuit with the collector terminal as an output terminal.
フォトトランジスタPTのコレクタ端子には、光学センサーとしての出力信号を出力する出力端子が設けられ、その出力端子から出力される出力信号の電圧(出力電圧)Voutが出力されるようになっている。 The collector terminal of the phototransistor PT is provided with an output terminal that outputs an output signal as an optical sensor, and an output signal voltage (output voltage) Vout output from the output terminal is output.
上述のようにフォトトランジスタPTは、エミッタ接地回路として構成されているため、出力端子からの出力電圧Voutは、フォトトランジスタPTが高受光量のときのオン状態の場合にローレベル値となり、フォトトランジスタPTが低受光量のときのオフ状態の場合にハイレベル値となる。 As described above, since the phototransistor PT is configured as a grounded emitter circuit, the output voltage Vout from the output terminal becomes a low level value when the phototransistor PT is in the ON state when the phototransistor PT has a high light receiving amount, and the phototransistor It becomes a high level value in the off state when PT has a low light reception amount.
なお、フォトトランジスタPTを、エミッタフォロワ回路として構成してもよく、その場合、エミッタ端子を出力端子として、出力端子からの出力電圧Voutは、フォトトランジスタPTが高受光量のときのオン状態の場合にハイレベル値、フォトトランジスタPTが低受光量のときのオフ状態の場合にローレベル値となる。したがって、フォトトランジスタのオン/オフ状態(高受光量と低受光量の状態)と出力電圧Voutのローレベル値とハイレベル値との関係が反転する。いずれの場合でも、光学センサーにより用紙を検出することができる。 The phototransistor PT may be configured as an emitter follower circuit. In that case, the emitter terminal is used as an output terminal, and the output voltage Vout from the output terminal is in an on state when the phototransistor PT has a high light receiving amount. When the phototransistor PT is in the off state when the phototransistor PT has a low light reception amount, the low level value is obtained. Therefore, the relationship between the on / off state of the phototransistor (high light reception amount and low light reception amount state) and the low level value and high level value of the output voltage Vout is inverted. In either case, the paper can be detected by the optical sensor.
図11(A)、(B)は、後述のセンサーレベル調整部によりセンサーレベル調整が適切に行われた反射型センサー49、透過型センサー45の各々が、移送路に沿って連続紙Pが移送されている際に出力する出力信号の電圧変化の様子を概略的に例示した図である。なお、図11(A)、(B)は、各々の電圧変化が発生するタイミングを実際のタイミングに合わせて示したものではない。
11A and 11B show that the continuous paper P is transferred along the transfer path by each of the
反射型センサー49は、発光素子49Aから移送路に検出光を投光し、その検出光が移送路における連続紙Pの台紙70の裏面に照射される位置を検出位置とする。
The
そして、台紙70の裏面に設けられた位置検出用マーク72以外の部分(非マーク部)が検出位置を通過している状態、即ち、“位置検出用マーク非検出”状態の時には、台紙70の裏面で検出光が反射されるため、受光素子49Bでの受光量が高く、受光素子49Bがオン状態となる。このとき、反射型センサー49からは、図11(A)に示すローレベル電圧(ローレベル値)の出力信号が出力される。
When the portion (non-marked portion) other than the
一方、位置検出用マーク72の部分(マーク部)が検出位置を通過している状態、即ち、“位置検出用マーク検出”状態の時には、位置検出用マーク72で検出光が吸収されるため、受光素子49Bでの受光量が低く、受光素子49Bがオフ状態となる。このとき、反射型センサー49からは、図11(A)に示すハイレベル電圧(ハイレベル値)の出力信号が出力される。
On the other hand, when the
したがって、反射型センサー49の出力信号を取得し、その電圧(出力電圧)のレベルを検出することで、反射型センサー49の検出位置に位置検出用マーク72が検出されたか否かを判断することができる。たとえば、出力電圧がある閾値以下である場合には、検出位置に位置検出用マーク72が検出されない“位置検出用マーク非検出”状態であると判断することができ、出力電圧がある閾値以上である場合には、検出位置に位置検出用マーク72が検出された“位置検出用マーク検出”状態であると判断することができる。
Therefore, it is determined whether or not the
透過型センサー45は、発光素子45Aから移送路に検出光を投光し、その検出光が移送路における連続紙Pに照射される位置を検出位置とする。
The
そして、連続紙Pのギャップ73以外の部分(ラベル片71が仮着された台紙70部分:非ギャップ部)が検出位置を通過している状態、即ち、“ギャップ非検出”状態の時には、連続紙Pを検出光が殆ど透過しないため、受光素子45Bでの受光量が低く、受光素子45Bがオフ状態となる。このとき、透過型センサー45からは、図11(B)に示すハイレベル値の出力信号が出力される。
When the portion other than the
一方、ギャップ73の部分(ギャップ部)が検出位置を通過している状態、即ち、“ギャップ検出”状態の時には、ギャップ73(台紙70)を検出光が透過するため、受光素子45Bでの受光量が高く、受光素子45Bがオン状態となる。このとき、透過型センサー45からは、図11(B)に示すローレベル値の出力信号が出力される。 On the other hand, when the portion of the gap 73 (gap portion) passes through the detection position, that is, in the “gap detection” state, the detection light is transmitted through the gap 73 (mounting sheet 70). The amount is high, and the light receiving element 45B is turned on. At this time, an output signal having a low level value shown in FIG.
したがって、上述の位置検出用マーク72の検出と同様に、透過型センサー45の出力信号を取得し、その電圧(出力電圧)のレベルを検出することでき、透過型センサー45の検出位置にギャップ73が検出されたか否かを判断することができる。
Therefore, similarly to the detection of the
図12は、プリンター1に設けられている制御部500の構成例を示すブロック図である。制御部500は、CPU(central processing unit:中央演算装置)501と、ROM(read only memory)502と、RAM(random access memory)503と、搬送制御部504と、印字制御部505と、用紙検出部507と、通信インタフェース508(通信手段)と、IOポート509と、電源部510とを含んでおり、これらはバスラインを介して相互に接続されて、各種データの送受が相互に行うことができる。
FIG. 12 is a block diagram illustrating a configuration example of the
各部の主な作用について簡単に説明すると、CPU501は、所定の制御プログラムを実行することによって、制御部500全体を統括的に制御するとともに、各部に所要の処理や制御を実行させる。
The main operation of each unit will be briefly described. The
ROM52は、CPU501が読み出して実行する上記制御プログラムを記憶している。
The
RAM503は、CPU501が実行する処理に必要な各種データや印字に必要な印字データ、印字フォーマットなどを記憶する。
The
搬送制御部504は、CPU501からの指示信号にしたがい、プラテンローラー部23に連結された駆動モーター600を制御し、プラテンローラー部23の回転/停止を制御する。これにより、通紙ルートの連続紙Pの搬送が制御される。
The
印字制御部505は、CPU501から供給される印字すべき文字、図形、およびバーコードなどの印字データに対応する印字信号を生成し、その印字信号をサーマルヘッド部18に供給して連続紙Pへの印字を行う。
The
用紙検出部507は、光学センサー(透過型センサー45と反射型センサー49)により用紙搬送路の連続紙Pが有する位置検出用マーク72、又はギャップ73を検出してCPU501にその情報を与える。CPU501は、搬送制御部504による連続紙Pの搬送の制御と共に、用紙検出部507からの情報に基づいてサーマルヘッド部18による印字のタイミングを制御してラベル片71の適切な位置への印字を実施する。用紙検出部507は、後述するセンサーレベル調整部520を含んでいる。
The
通信インタフェース508は、パーソナルコンピュータ(PC)などの外部機器(ホスト機器700)と接続して通信を行うためのものであり、印字データを供給するホスト機器700との間で印字データやコマンドの送受信を行うことができる。通信インタフェース508としては無線によるものが望ましく、例えば、2.45GHz帯の電波を利用したBluetooth(登録商標)規格のインタフェースが採用される。ただし、通信インタフェース508は、赤外線を利用したIrDA(Infrared Data Association)規格の通信インタフェースや、無線LANに用いられる規格の通信インタフェース等、任意の規格の無線通信インタフェースでよい。また、有線により通信を行うための通信インタフェースであってもよい。
The
IOポート509は、操作パネル3が接続され、CPU501から供給される表示すべき情報を示す表示データを出力して操作パネル3に表示させる。また、操作パネル3からの操作に対応した操作信号をCPU501に与える。
The
電源部510は電源回路を備えており、電源スイッチ4に対する押下操作を監視する。プリンター1の電源がオン状態で、電源スイッチ4が押下されるとCPU501は電源部510に制御信号を出力し、電源をオフする。また、プリンター1の電源がオフ状態で、電源スイッチ4が押下されるとCPU501は電源部510に制御信号を出力し、電源をオフする。
The
図13は、用紙検出部507およびセンサーレベル調整部520の概略ブロック図であって、センサーレベル調整部520は、発光電流設定回路522および受光感度設定回路523を有している。
FIG. 13 is a schematic block diagram of the
操作パネル3から入力されたセンサーレベル調整コマンドに基づきCPU501から発光電流設定回路522に制御信号が送信され、発光電流設定回路522は透過型センサー45および反射型センサー49それぞれの発光素子45A、49Aにおける発光電流(発光量)を多段階に設定することができる。
A control signal is transmitted from the
操作パネル3から入力されたセンサーレベル調整コマンドに基づきCPU501から受光感度設定回路523に制御信号が送信され、受光感度設定回路523は透過型センサー45および反射型センサー49それぞれの受光素子45B、49Bにおける受光感度を多段階に設定することができる。
A control signal is transmitted from the
発光電流設定回路522と受光感度設定回路523は、具体的には、例えば図14のように構成される。透過型センサー45および反射型センサー49は発光素子と受光素子の配置以外は、同様に構成された回路により駆動される。透過型センサー45および反射型センサー49のうちの任意の1つの光学センサーに対して設けられる発光電流設定回路522と受光感度設定回路523が示されている。
Specifically, the light emission
一方、発光電流設定回路522は、可変抵抗部522Aと抵抗設定部522Bとから構成され、受光感度設定回路523は、可変抵抗部523Aと抵抗設定部523Bとから構成されている。
On the other hand, the light emission
発光ダイオードLEDは、カソード端子が接地され、アノード端子が可変抵抗部522Aを介して電源電圧Vcc1の電源に接続されている。
The light-emitting diode LED has a cathode terminal grounded and an anode terminal connected to the power supply of the power supply voltage Vcc1 via the
可変抵抗部522Aは、発光ダイオードLEDに電源から供給される電流(発光電流)を制限する制限抵抗R1を構成しており、並列に接続された複数の抵抗R11〜R1m(mは正の整数)と、それらの抵抗R11〜R1mの各々に直列に接続されたスイッチS11〜S1mとから構成されている。
The
各スイッチS11〜S1mは、例えば、トランジスタを使用した半導体スイッチであり、それらのオン/オフ状態は、抵抗設定部522Bからの信号によって電気的に切り替えられるようになっている。 Each of the switches S11 to S1m is, for example, a semiconductor switch using a transistor, and an on / off state thereof is electrically switched by a signal from the resistance setting unit 522B.
抵抗設定部522Bは、各スイッチS11〜S1mのオン/オフ状態の組み合わせを変更することで、抵抗R11〜R1mのうち、可変抵抗部522Aの両端子に有効に接続する抵抗を選択し、制限抵抗R1の抵抗値(R1)を多段的に切り替えるようにしている。
The resistance setting unit 522B selects a resistor effectively connected to both terminals of the
これによって、発光ダイオードLEDに供給される電流(発光電流)の大きさが切り替えられ、発光ダイオードLEDの発光量が多段的に切り替えられるようになっている。 Thereby, the magnitude of the current (light emission current) supplied to the light emitting diode LED is switched, and the light emission amount of the light emitting diode LED is switched in multiple stages.
なお、制限抵抗R1の抵抗値を変更するための構成、発光ダイオードLEDの発光量を変更するための構成は、ここで説明したものに限らない。 Note that the configuration for changing the resistance value of the limiting resistor R1 and the configuration for changing the light emission amount of the light emitting diode LED are not limited to those described here.
一方、フォトトランジスタPTは、エミッタ端子が接地され、コレクタ端子が可変抵抗部523Aを介して電源電圧Vcc2の電源に接続されている。即ち、フォトトランジスタPTは、コレクタ端子を出力端子としたエミッタ接地回路となるように接続されている。
On the other hand, the phototransistor PT has an emitter terminal grounded and a collector terminal connected to the power supply of the power supply voltage Vcc2 via the
可変抵抗部523Aは、コレクタ負荷となる負荷抵抗R2を構成している。可変抵抗部523Aは、可変抵抗部522Aと同様に構成されているため簡単に説明すると、並列に接続された複数の抵抗R21〜R2n(nは正の整数)と、それらの抵抗R21〜R2mの各々に直列に接続されたスイッチS21〜S2nとから構成されている。
The
各スイッチS21〜S2nは、抵抗設定部523Bからの信号によって切り替えられ、オン/オフ状態の組み合わせが変更されることで、負荷抵抗R2の抵抗値(R2)が多段的に切り替えられるようになっている。
Each of the switches S21 to S2n is switched by a signal from the
これによって、フォトトランジスタPTの受光感度が多段的に切り替えられるようになっている。 As a result, the light receiving sensitivity of the phototransistor PT can be switched in multiple stages.
フォトトランジスタPTは、エミッタ接地回路として構成されているため、出力端子からの出力電圧Voutは、フォトトランジスタPTが高受光量のときのオン状態の場合にローレベル値となり、フォトトランジスタPTが低受光量のときのオフ状態の場合にハイレベル値となる。 Since the phototransistor PT is configured as a grounded emitter circuit, the output voltage Vout from the output terminal becomes a low level value when the phototransistor PT is in an on state when the phototransistor PT has a high light reception amount, and the phototransistor PT receives a low light reception. It becomes a high level value in the off state at the time of quantity.
以上の如く構成された、本実施の形態の発光電流設定回路522は、発光素子45A、49Aにおける発光量を、「大(LED7)」から「小(LED1)」まで七段階に切り替えるものとし、制限抵抗R1(可変抵抗部522A)は、それに対応して「小(R11)」から「大(R17)」まで七段階に切り替えられるものとして構成される。
The light emission
一方、受光感度設定回路523は、受光素子45B、49Bにおける受光感度を「良好(PT1)」から「悪い(PT128)」までの128段階(128タップ)に切り替えられるものとし、負荷抵抗R2(可変抵抗部523A)は、それに対応して「小(R21)」から「大(R2128)」までの128段階に切り替えられるものとして構成される。なお、通常は負荷抵抗R2が小さい方が、フォトトランジスタPTの応答速度が速いため、本明細書では、負荷抵抗R2が小さい程、受光感度が「良好」とし、負荷抵抗R2が大きい程、受光感度が「悪い」と表現している。
On the other hand, the light receiving
したがって、透過型センサー45および反射型センサー49において設定される発光量と受光感度の組み合わせが、それぞれで7×128=896通り存在し、発光量と受光感度の組み合わせからなる896通りの状態のうちのいずれかの状態で透過型センサー45および反射型センサー49が動作するようになっている。なお、このようにして切り替えられる透過型センサー45および反射型センサー49の動作の状態を以下、動作条件というものとすると、この動作条件は、発光量と受光感度を変更可能な要素として設定され、発光量と受光感度のいずれかを変更することによって切り替えられる。
Therefore, there are 7 × 128 = 896 combinations of light emission amounts and light reception sensitivities set in the
最適な動作条件を選択するため、896通りの組み合わせを全て実行し、最適な発光量と受光感度を選択することができる。しかしながら、この方法ではセンサーレベルの調整に時間が掛るという問題がある。また、ハイレベル値とローレベル値の差が大きい場合であっても、センサー寿命を長くするため発光素子45A、49Aおよび受光素子45B、49Bに流れる電流を可能な限り小さくできる発光量と受光感度を選択する必要がある。
In order to select the optimum operating condition, all 896 combinations can be executed, and the optimum light emission amount and light receiving sensitivity can be selected. However, this method has a problem that it takes time to adjust the sensor level. Further, even when the difference between the high level value and the low level value is large, the light emission amount and the light receiving sensitivity can reduce the current flowing through the
本実施の形態のセンサーレベル調整部520では、受光素子45B、49Bの受光感度を予め固定する。可変抵抗部523Aは負荷抵抗R2として抵抗値(R21:抵抗値小)から抵抗値(R2128:抵抗値大)まで選択できるが、本実施の形態において予め設定された抵抗値(R280)を選択し、受光素子45B、49Bの受光感度を設定する。
In the sensor
受光素子45B、49Bの負荷抵抗R2を抵抗値(R280)とするのは次の理由である。第一にセンサーレベルを調整した後においても、使用される台紙によってはセンサーレベルを再度調整する必要があるからである。抵抗値(R280)とすれば、抵抗値の大きい側、つまりR2128までの48段階の範囲で抵抗値を調整ができ、また抵抗値の小さい側、つまりR21までの79段階の範囲で抵抗値を調整ができるからである。また、負荷抵抗R2として、抵抗値(R280)より小さい抵抗値(R264)等を基準として固定することもできる。しかしながら、負荷抵抗R2を小さくすることは受光素子45B、49Bに流れる電流が抵抗値(R280)より大きくなることを意味する。流れる電流を可能な限り小さくしセンサー寿命を長くする観点から負荷抵抗R2は大きい方が好ましい。つまり、センサーレベルを再調整およびセンサー寿命の観点から負荷抵抗R2として、抵抗値(R280)が設定される。予め設定された抵抗値は可変抵抗部の(R280)の抵抗値設定範囲の中央値より大きな抵抗値であることが好まし。 The reason why the load resistance R2 of the light receiving elements 45B and 49B is set to the resistance value (R280) is as follows. First, even after the sensor level is adjusted, it is necessary to adjust the sensor level again depending on the mount used. If the resistance value (R280) is set, the resistance value can be adjusted in the range of 48 steps up to the larger resistance value, that is, R2128, and the resistance value can be adjusted in the range of 79 steps up to the smaller resistance value, that is, R21. This is because it can be adjusted. Further, the load resistance R2 can be fixed with a resistance value (R264) smaller than the resistance value (R280) as a reference. However, reducing the load resistance R2 means that the current flowing through the light receiving elements 45B and 49B becomes larger than the resistance value (R280). From the viewpoint of reducing the flowing current as much as possible and extending the sensor life, the load resistance R2 is preferably large. That is, the resistance value (R280) is set as the load resistance R2 from the viewpoint of readjustment of the sensor level and sensor life. The preset resistance value is preferably a resistance value larger than the median value of the resistance value setting range of (R280) of the variable resistance section.
負荷抵抗R2の可変抵抗部523Aが128タップの場合で説明したが、例えば、可変抵抗部523Aが64タップの場合であれば、負荷抵抗R2として、例えば抵抗値(R240)が設定されることになる。つまり、負荷抵抗R2として、可変抵抗部523Aのタップ数の1/2より大きい抵抗値であり、かつ再調整のためのタップ数が残されている抵抗値が設定されることになる。ここで、タップ数128の可変抵抗部523Aの場合おいて、負荷抵抗R2として抵抗値(R280)を設定したが、これ限定されることなくプリンター1の構成よっては、例えば、負荷抵抗R2として抵抗値(R282)等が設定される場合がある。
Although the case where the
受光素子45B、49Bの受光感度を固定した状態で、発光素子45A、49Aの発光量は最も小さい発光量(LED1)に設定される。これは、省エネの観点からである。また、センサーレベル調整において発光素子45A,49Aにながれる電流をできる限り小さくすることが省エネにつながるからである。また、発光素子45A,49Aの寿命も長くすることができる。
In a state where the light receiving sensitivity of the light receiving elements 45B and 49B is fixed, the light emitting amount of the
次に、この状態で光学センサーを駆動させて、受光素子45B、49Bから出力される出力電圧を検出する。つまり、負荷抵抗R2をR280に設定したときの出力電圧を検出する。検出された出力電圧が、予め定めた電圧値(発光素子用設定電圧値)より小さいか否かを判断する。ここで発光素子用設定電圧値とは、透過型センサー45(受光素子45B)および反射型センサー49(受光素子49B)ごとに定められた値であって、それぞれの特性を考慮して任意に定められる電圧値で、発光素子45A、45Bの発光量を定めるための電圧値を意味する。ここで、発光素子用設定電圧値はローレベル値であり、発光素子用設定電圧値より受光素子45B、49Bの出力電圧が低ければ、ハイレベル値とローレベル値と差が十分に大きいと判断される。発光素子用設定電圧値として、受光素子45B、49Bの飽和電圧になる前の最大電圧値を設定することが好ましい。受光素子45B、49Bに対する発光素子用設定電圧値を同じ値に設定することも、また異なる値に設定することもできる。
Next, in this state, the optical sensor is driven to detect the output voltage output from the light receiving elements 45B and 49B. That is, the output voltage when the load resistance R2 is set to R280 is detected. It is determined whether or not the detected output voltage is smaller than a predetermined voltage value (set voltage value for light emitting element). Here, the set voltage value for the light emitting element is a value determined for each of the transmission type sensor 45 (light receiving element 45B) and the reflection type sensor 49 (light receiving element 49B), and is arbitrarily determined in consideration of the respective characteristics. Is a voltage value for determining the light emission amount of the
受光素子45B、49Bから検出された出力電圧が発光素子用設定電圧値より小さければ、このときの発光素子45A、49Aの発光量(LED1)が適切な発光量として決定される。受光素子45B、49Bの出力電圧が発光素子用設定電圧値より大きければ、発光素子45A、49Aの発光量が一段階上げられ、発光素子45A、49Aの発光量は、次の段階の発光量(LED2)に設定される。発光素子45A、49Aの発光量(LED2)で光学センサーを駆動し、光学センサー(透過型センサー45と反射型センサー49)を駆動させて、受光素子45B、49Bから出力される出力電圧を検出する。受光素子45B、49Bから検出された出力電圧が、発光素子用設定電圧値より小さくなるまで、検出された出力電圧と発光素子用設定電圧値の比較、発光量の増加が繰り返される。受光素子45B、49Bから検出された出力電圧が、発光素子用設定電圧値より小さくなったときの、発光素子45A、49Aの発光量が最適発光量として決定される。
If the output voltage detected from the light receiving elements 45B and 49B is smaller than the set voltage value for the light emitting element, the light emission amount (LED1) of the
次に、負荷抵抗R2である抵抗値(R280)をリセットし、負荷抵抗R2として抵抗値(R21:最も小さい抵抗値)に設定する。上述の処理で決定された最適発光量で発光素子45A、49Aを発光させて、光学センサーを駆動(透過型センサー45と反射型センサー49)させる。ことのき最適発光量は固定され、基本的には変更されない。
Next, the resistance value (R280) which is the load resistance R2 is reset, and the resistance value (R21: the smallest resistance value) is set as the load resistance R2. The
次に、この状態で光学センサーを駆動させて、受光素子45B、49Bから出力される出力電圧を検出する。つまり、負荷抵抗R2を抵抗値(R21)に設定したときの出力電圧を検出する。検出された出力電圧が、予め定めた電圧値(受光素子用設定電圧値)より小さいか否かを判断する。受光素子45B、49Bから検出された出力電圧が受光素子用設定電圧値より小さければ、このときの受光素子45B、49Bの抵抗値R21が適切な負荷抵抗R2として決定される。ここで受光素子用設定電圧値とは、透過型センサー45(受光素子45B)および反射型センサー49(受光素子49B)ごとに定められた値であって、それぞれの特性を考慮して任意に定められる電圧値で、受光素子45B、49Bの負荷抵抗R2を定めるための電圧値を意味する。ここで、受光素子用設定電圧値はローレベル値であり、発光素子用設定電圧値より受光素子45B、49Bの出力電圧が低ければ、ハイレベル値とローレベル値と差が十分に大きいと判断される。受光素子用設定電圧値として、受光素子45B、49Bの飽和電圧になる前の最大電圧値を設定することが好ましい。受光素子45B、49Bに対する受光素子用設定電圧値を同じ値に設定することも、また異なる値に設定することもできる。 Next, in this state, the optical sensor is driven to detect the output voltage output from the light receiving elements 45B and 49B. That is, the output voltage when the load resistance R2 is set to the resistance value (R21) is detected. It is determined whether or not the detected output voltage is smaller than a predetermined voltage value (light receiving element setting voltage value). If the output voltage detected from the light receiving elements 45B and 49B is smaller than the light receiving element setting voltage value, the resistance value R21 of the light receiving elements 45B and 49B at this time is determined as an appropriate load resistance R2. Here, the set voltage value for the light receiving element is a value determined for each of the transmission type sensor 45 (light receiving element 45B) and the reflection type sensor 49 (light receiving element 49B), and is arbitrarily determined in consideration of the respective characteristics. Is a voltage value for determining the load resistance R2 of the light receiving elements 45B and 49B. Here, the light receiving element setting voltage value is a low level value, and if the output voltage of the light receiving elements 45B and 49B is lower than the light emitting element setting voltage value, it is determined that the difference between the high level value and the low level value is sufficiently large. Is done. It is preferable to set the maximum voltage value before the saturation voltage of the light receiving elements 45B and 49B is set as the light receiving element setting voltage value. The set voltage values for the light receiving elements for the light receiving elements 45B and 49B can be set to the same value or can be set to different values.
受光素子用設定電圧値と発光素子用設定電圧値とを同じ値に設定とすることも、また異なる値に設定することもできる。受光素子用設定電圧値がよりも発光素子用設定電圧値大きいことがより好ましい。 The set voltage value for the light receiving element and the set voltage value for the light emitting element can be set to the same value, or can be set to different values. More preferably, the set voltage value for the light receiving element is larger than the set voltage value for the light emitting element.
受光素子45B、49Bの出力電圧が受光素子用設定電圧値より大きければ、負荷抵抗R2の抵抗値が一段階増加され、負荷抵抗R2として抵抗値(R22)が設定される。決定された発光量で光学センサーを駆動し、受光素子45B、49Bから出力される出力電圧を検出する。受光素子45B、49Bから検出された出力電圧が、受光素子用設定電圧値より小さくなるまで、検出された出力電圧と受光素子用設定電圧値の比較、負荷抵抗R2の抵抗値の増加が繰り返される。受光素子45B、49Bから検出された出力電圧が、受光素子用設定電圧値より小さくなったときの、抵抗値が受光素子45B、49Bの負荷抵抗R2を最適負荷抵抗R2として決定される。 If the output voltage of the light receiving elements 45B and 49B is larger than the set voltage value for the light receiving element, the resistance value of the load resistor R2 is increased by one step, and the resistance value (R22) is set as the load resistor R2. The optical sensor is driven with the determined light emission amount, and the output voltage output from the light receiving elements 45B and 49B is detected. Until the output voltage detected from the light receiving elements 45B and 49B becomes smaller than the light receiving element set voltage value, the comparison of the detected output voltage with the light receiving element set voltage value and the increase of the resistance value of the load resistor R2 are repeated. . When the output voltage detected from the light receiving elements 45B and 49B becomes smaller than the set voltage value for the light receiving elements, the resistance value of the light receiving elements 45B and 49B is determined as the optimum load resistance R2.
上述の処理を行うことにより、発光素子45A、49Aの発光量と、受光素子45B、49Bの最適負荷抵抗R2が決定され、この値が、例えば、制御部500のRAM503は記憶される。
By performing the above processing, the light emission amounts of the
なお、発光電流設定回路522は、必ずしも発光量を七段階に切り替える構成に限らず、少なくとも三段階以上の切替えを可能にする構成としてもよい。また、受光感度設定回路523は、必ずしも受光感度を128段階に切り替える構成に限らず、少なくとも32段階以上の切替えを可能にする構成としてもよい。本実施の形態のセンサーレベル調整部520におけるサンサーレベル調整方法を適用することができる。
Note that the light emission
本実施の形態のセンサーレベル調整装置520では、透過型センサー45および反射型センサー49の各々について、以下のようにしてそれらの出力信号(出力電圧Vout)の電圧レベルが適切となる最適な動作条件(発光量および負荷抵抗)を検出し、その動作条件で動作するように設定する。
In the sensor
出力信号の電圧レベルが適切とは、図11に示したように、透過型センサー45および反射型センサー49の各々から出力される出力信号のローレベル値が予め決められた適切な電圧レベルであることを示す。適切な電圧レベルとは、特定の電圧レベル(電圧値)に限らず、予め決められた電圧範囲内の任意の電圧値であること、すなわち、ローレベル値に対してはローレベル値として適切な電圧レベルであるとみなせる電圧範囲内の任意の電圧値であることも意味する。なお、ローレベル値の適切な電圧レベルは、透過型センサー45および反射型センサー49ごとに異なっていてもよい。
The appropriate voltage level of the output signal is an appropriate voltage level in which the low level value of the output signal output from each of the
次に、センサーレベルの調整方法について、図15のフローチャートおよび図16、図17の光学センサーの受光素子として使用されるフォトトランジスタPTのコレクタ−エミッタ間の電圧(コレクタ−エミッタ間電圧)VCEと光電流(コレクタ電流)Icとの関係を示した特性図を参照して説明する。コレクタ−エミッタ間電圧VCEは図14に示したようにセンサーの出力電圧Voutを示す。 Next, regarding the sensor level adjustment method, the collector-emitter voltage (collector-emitter voltage) VCE and light of the phototransistor PT used as the light receiving element of the flowchart of FIG. 15 and the optical sensor of FIGS. This will be described with reference to a characteristic diagram showing the relationship with the current (collector current) Ic. The collector-emitter voltage VCE indicates the output voltage Vout of the sensor as shown in FIG.
まず、センサーレベル調整を実施する際の前準備として、作業者は、通紙ルートに被検出サンプルを挿入し、透過型センサー45および反射型センサー49の検出位置に被検出サンプルを配置する。この被検出サンプルは、センサーレベル調整を実施している間(センサーレベル調整の開始から完了までの間)、通紙ルートにおいて移送されることなく静止状態に保持される。CPU501は操作パネル3からセンサーレベル調整コマンドの入力操作が行われると、センサーレベル調整を実施するための上述の前準備として、ステップS10において、被検出サンプルとしての台紙70が通紙ルートに差し込まれた否かを判断する。そして、YESと判断するまで、ステップS10の処理を繰り返す(ステップS10)。
First, as a preparation for performing sensor level adjustment, an operator inserts a sample to be detected into the paper passing route and places the sample to be detected at detection positions of the
被検出サンプルは、印字用紙としての連続紙Pのうち、ラベル片71も位置検出用マーク72も設けられていない台紙70のみの用紙を示す。このような被検出サンプルとしては、台紙70のみの専用の用紙を用いることができる。また、作業者が連続紙Pからラベル片71を剥離したものを用いることもできる。この場合には、ラベル片71を剥離した台紙70の位置検出用マーク72が透過型センサー45および反射型センサー49の検出位置に配置されないようにする。更に、連続紙Pの先頭部分にラベル片71も位置検出用マーク72もない台紙70のみの部分を設けておき、その部分を被検出サンプルとして使用できるようにすることもできる。
The sample to be detected indicates a sheet of the continuous sheet P as the printing sheet, which is only the
次に、CPU501により、センサーレベル調整部520に制御信号が送られ、抵抗設定部523Bは負荷抵抗R2として、予め定められたR280が設定される。R280が設定されるのは上述の理由からである。また、CPU501により、センサーレベル調整部520に制御信号が送られ、抵抗設定部522Bは制限抵抗R1として最も大きい抵抗値R17を選択する。これにより、発光素子45A,49Aの発光量は最も小さいLED1が選択される。発光素子45A,49AのLED1は同じ発光量であっても、異なる発光量であってもよい。透過型センサー45および反射型センサー49として機能させるための最も小さい発光量が設定されれば良いことを意味する(ステップS12)。
Next, the
続いて、透過型センサー45に対しては検出位置にギャップ73が検出される“ギャップ検出”状態のときのローレベル値が出力信号(出力電圧Vout)として出力される状態となる。反射型センサー49に対して検出位置に位置検出用マーク72が検出されない“位置検出用マーク非検出”状態のときのローレベル値が出力信号(出力電圧Vout)として出力される状態なる。この状態において、受光素子45B、49Bの出力される出力電圧Voutを検出する(ステップS14)
Subsequently, the low level value in the “gap detection” state in which the
次に、ステップS14で検出した出力電圧Voutが発光素子用設定電圧値より小さいか否かを判断する(ステップS16)。ステップS16においてNOと判定している間は、ステップS18において、発光量が「LED7」か否かを判定し、NOと判定した場合には、ステップS20において、発光量を一段階大きくし、例えば、発光量(LED2)として、ステップS14に戻る。即ち、発光量を「LED1」から「LED7」まで順に切り替えながらステップS14とステップS16の処理を繰り返す。 Next, it is determined whether or not the output voltage Vout detected in step S14 is smaller than the set voltage value for the light emitting element (step S16). While it is determined NO in step S16, it is determined in step S18 whether or not the light emission amount is “LED7”. If NO is determined, the light emission amount is increased by one step in step S20. Then, the process returns to step S14 as the light emission amount (LED2). That is, the processes in steps S14 and S16 are repeated while switching the light emission amount from “LED1” to “LED7” in order.
発光量を「LED1」から「LED7」のいずれかに設定し、ステップS16の処理においてYESと判定した場合には、ステップS24に移行する。ステップS18の処理においてYESと判定した場合に、適切な発光量が設定できなかったこととなり、異常終了の形で処理を終了する(ステップS22)。 If the light emission amount is set to any one of “LED1” to “LED7” and it is determined YES in the process of step S16, the process proceeds to step S24. If YES is determined in the process of step S18, it means that an appropriate light emission amount cannot be set, and the process ends in the form of abnormal termination (step S22).
ここで、ステップS12からステップS20の処理を図16に基づいて説明する。まず、ステップS12の処理において、発光量(LED1)と負荷抵抗R2(R280)が設定される。この状態で光学センサーが駆動される。図16は、センサーのフォトトランジスタのコレクタ・エミッタ間電圧を横軸、光電流(コレクタ電流)Icを縦軸とする特性図である。特性曲線CLED1は、発光量がLED1の場合のフォトトランジスタの特性曲線示し、負荷直線L(R280)は負荷抵抗R2(R280)の場合の負荷直線を示している。特性曲線CLED1と負荷直線L(R280)との交点が動作点となり、出力電圧Voutとして出力される。この出力電圧Voutと発光素子用設定電圧とが比較される。CLED1の場合、出力電圧Voutより発光素子用設定電圧より大きいので、次の発光量(LED2)が設定される。 Here, the processing from step S12 to step S20 will be described with reference to FIG. First, in the process of step S12, the light emission amount (LED1) and the load resistance R2 (R280) are set. In this state, the optical sensor is driven. FIG. 16 is a characteristic diagram with the collector-emitter voltage of the phototransistor of the sensor on the horizontal axis and the photocurrent (collector current) Ic on the vertical axis. A characteristic curve CLED1 indicates a characteristic curve of the phototransistor when the light emission amount is LED1, and a load straight line L (R280) indicates a load straight line when the load resistance is R2 (R280). The intersection of the characteristic curve CLED1 and the load straight line L (R280) becomes the operating point and is output as the output voltage Vout. The output voltage Vout is compared with the light emitting element setting voltage. In the case of CLED1, since the output voltage Vout is larger than the set voltage for the light emitting element, the next light emission amount (LED2) is set.
特性曲線CLED2は、発光量がLED2の場合のフォトトランジスタの特性曲線示している。負荷抵抗R2は抵抗値(R280)に固定されているので、特性曲線CLED2と負荷直線L(R280)との交点が動作点となり、出力電圧Voutとして出力される。CLED2の場合、出力電圧Voutより発光素子用設定電圧より大きいので、次の発光量(LED3)が設定される。 A characteristic curve CLED2 shows the characteristic curve of the phototransistor when the light emission amount is LED2. Since the load resistance R2 is fixed to the resistance value (R280), the intersection of the characteristic curve CLED2 and the load straight line L (R280) becomes the operating point and is output as the output voltage Vout. In the case of CLED2, since the output voltage Vout is larger than the set voltage for the light emitting element, the next light emission amount (LED3) is set.
特性曲線CLED3は、発光量がLED3の場合のフォトトランジスタの特性曲線示している。負荷抵抗R2は抵抗値(R280)に固定されているので、特性曲線CLED3と負荷直線L(R280)との交点が動作点となり、出力電圧Voutとして出力される。CLED3の場合、出力電圧Voutが発光素子用設定電圧より小さいので、発光量(LED3)が適切な発光量として判断される。 A characteristic curve CLED3 shows a characteristic curve of the phototransistor when the light emission amount is LED3. Since the load resistance R2 is fixed to the resistance value (R280), the intersection of the characteristic curve CLED3 and the load straight line L (R280) becomes the operating point and is output as the output voltage Vout. In the case of CLED3, since the output voltage Vout is smaller than the set voltage for the light emitting element, the light emission amount (LED3) is determined as an appropriate light emission amount.
次に、図15のフローチャートに示すように、ステップS12からステップS20で適切な発光量と判断された、発光量が決定される。図16によれば、発光量(LED3)が決定される。さらに、負荷抵抗R2が抵抗値(R280)から抵抗値(R21)に設定される(ステップS24)。 Next, as shown in the flowchart of FIG. 15, the light emission amount determined as the appropriate light emission amount in steps S12 to S20 is determined. According to FIG. 16, the light emission amount (LED3) is determined. Further, the load resistance R2 is set from the resistance value (R280) to the resistance value (R21) (step S24).
ステップS14と同様に、透過型センサー45に対しては検出位置にギャップ73が検出される“ギャップ検出”状態のときのローレベル値が出力信号(出力電圧Vout)として出力される状態となる。反射型センサー49に対して検出位置に位置検出用マーク72が検出されない“位置検出用マーク非検出”状態のときのローレベル値が出力信号(出力電圧Vout)として出力される状態なる。この状態において、受光素子45B、49Bの出力される出力電圧Voutを検出する(ステップS26)。
Similar to step S14, the low-level value in the “gap detection” state in which the
次に、ステップS26で検出した出力電圧Voutが受光素子用設定電圧値より小さいか否かを判断する(ステップS28)。ステップS28においてNOと判定している間は、ステップS30において、負荷抵抗R2が「R280」か否かを判定し、NOと判定した場合には、ステップS32において、負荷抵抗Rを一段階大きくし、例えば、抵抗値(R22)として、ステップS26に戻る。即ち、負荷抵抗R2を「R21」から「R280」まで順に切り替えながらステップS26とステップS28の処理を繰り返す。 Next, it is determined whether or not the output voltage Vout detected in step S26 is smaller than the light receiving element setting voltage value (step S28). While it is determined NO in step S28, it is determined in step S30 whether or not the load resistance R2 is “R280”. If NO is determined, the load resistance R is increased by one step in step S32. For example, the resistance value (R22) is returned to step S26. That is, the processing of step S26 and step S28 is repeated while switching the load resistance R2 from “R21” to “R280” in order.
負荷抵抗R2を「R21」から「R280」のいずれかに設定し、テップS28の処理においてYESと判定した場合には、ステップS36に移行する。ステップS30の処理においてYESと判定した場合に、適切な負荷抵抗R2が設定できなかったこととなり、異常終了の形で処理を終了する(ステップS34)。 When the load resistance R2 is set to any one of “R21” to “R280” and it is determined YES in the process of step S28, the process proceeds to step S36. If it is determined as YES in the process of step S30, it means that an appropriate load resistance R2 cannot be set, and the process ends in the form of abnormal termination (step S34).
ここで、ステップS24からステップS32の処理を図17に基づいて説明する。まず、ステップS24の処理において、ステップS16で検出された発光量(LED3)と負荷抵抗R2(R21)が設定される。この状態で光学センサーが駆動される。図17は、センサーのフォトトランジスタのコレクタ・エミッタ間電圧を横軸、光電流(コレクタ電流)Icを縦軸とする特性図である。特性曲線CLED3は、発光量がLED3の場合のフォトトランジスタの特性曲線示し、負荷直線L(R21)は負荷抵抗R2の抵抗値(R21)の場合の負荷直線を示している。特性曲線CLED3と負荷直線L(R21)との交点が動作点となり、出力電圧Voutとして出力される。この出力電圧Voutと受光素子用設定電圧とが比較される。負荷直線L(R21)の場合、出力電圧Voutより受光素子用設定電圧より大きいので、負荷抵抗R2として、次の抵抗値(R22)が設定される。 Here, the processing from step S24 to step S32 will be described with reference to FIG. First, in the process of step S24, the light emission amount (LED3) and load resistance R2 (R21) detected in step S16 are set. In this state, the optical sensor is driven. FIG. 17 is a characteristic diagram in which the horizontal axis represents the collector-emitter voltage of the phototransistor of the sensor and the vertical axis represents the photocurrent (collector current) Ic. A characteristic curve CLED3 indicates a characteristic curve of the phototransistor when the light emission amount is LED3, and a load straight line L (R21) indicates a load straight line in the case of the resistance value (R21) of the load resistance R2. The intersection of the characteristic curve CLED3 and the load straight line L (R21) becomes the operating point and is output as the output voltage Vout. The output voltage Vout and the light receiving element setting voltage are compared. In the case of the load straight line L (R21), since the output voltage Vout is larger than the light receiving element setting voltage, the next resistance value (R22) is set as the load resistance R2.
出力電圧Voutより受光素子用設定電圧より小さくなるまで、負荷抵抗R2が漸次増加される。図17において、負荷抵抗R2として抵抗値(R256)を設定した場合、負荷直線L(R256)と特性曲線CLED3との交点である出力電圧Voutが、受光素子用設定電圧より小さくなるので、抵抗値(R256)が負荷抵抗R2として適切な抵抗値であると判断される。 The load resistance R2 is gradually increased until the output voltage Vout becomes lower than the light receiving element setting voltage. In FIG. 17, when the resistance value (R256) is set as the load resistance R2, the output voltage Vout that is the intersection of the load straight line L (R256) and the characteristic curve CLED3 is smaller than the set voltage for the light receiving element. (R256) is determined to be an appropriate resistance value as the load resistance R2.
次に、図15のフローチャートに示すように、ステップS12からステップS30の処理を通じて、適切な発光素子45A、49Bの発光量および受光素子45B、49Bの負荷抵抗R2が設定され(ステップS36)、基本的にセンサーレベルの自動調整が終了する。光学センサーとして、透過型センサー45と反射型センサー49との両方備えている場合、図15のフローチャートにしたがい、透過型センサー45と反射型センサー49とを同時にセンサーレベルを調整することができる。
Next, as shown in the flowchart of FIG. 15, through the processing from step S12 to step S30, appropriate light emission amounts of the
次に、センサーレベルの自動調整で設定された負荷抵抗R2に対して、抵抗値を補正する場合について説明する。連続紙Pのギャップ73を検出する透過型センサー45のセンサーレベルを自動調整する場合、台紙70を静止させて自動調整を行っている。一方、実際の印字作業では、連続紙Pは搬送される。したがって、用紙検出は連続紙Pを搬送させた状態で行われる。そのため、台紙70を通過して受光素子45Bに到達する発光素子45Aからの発光量は、自動調整時と比較すると小さくなる。そのため、その降下する電圧分を補うため、負荷抵抗R2に対して補正が行われることが好ましい。電圧降下分を考慮して、設定された負荷抵抗R2にさらに抵抗値を上げる補正が行われる。したがって、センサーレベル調整部520に、負荷抵抗R2を補正する負荷抵抗補正手段を設けることが好ましい。
Next, the case where the resistance value is corrected for the load resistance R2 set by the automatic adjustment of the sensor level will be described. When the sensor level of the
反射型センサー49の自動調整において、ラベル片71のない台紙70を用いて調整することが好ましい。連続紙Pにおいてラベル片71のある部分とギャップ73部分では発光素子49Aからの反射光の光量が異なる。発光素子49Aからの光は連続紙Pの裏面、ラベル片71の仮着されていない面に照射される。しかしながら、ラベル片71のある部分では、ギャップ73部分より大きな光量を反射する。つまり、出力電圧Voutは、ラベル片71部分ではギャップ73部分より低くなる。ラベル片71部分の出力電圧Voutを基準とすると、ギャップ73部分ではハイレベル値に対して十分な電位差が取れなくなり、位置検出用マーク72を検出できなくなる場合があるからである。
In the automatic adjustment of the
本発明は、用紙検出用の光学センサーを備えるプリンターにおいて広く利用することができる。 The present invention can be widely used in printers that include an optical sensor for paper detection.
1 プリンター
2 フロントカバー
3 操作パネル
4 電源スイッチ
5 発光口
10 用紙供給部
11 印字部
12 インクリボン部
13 印字ヘッド部
14 支持部
18 サーマルヘッド部
18L 印字ライン
23 プラテンローラー部
41 センサーユニット
45 透過型センサー
45A 発光素子
45B 受光素子
49 反射型センサー
49A 発光素子
49B 受光素子
70 台紙
71 ラベル片
72 位置検出用マーク
73 ギャップ
74 ミシン目
75 ラベル基材
76 粘着剤層
500 制御部
507 用紙検出部
520 センサーレベル調整部
522 発光電流設定回路
522A 可変抵抗部
522B 抵抗設定部
523 受光感度設定回路
523A 可変抵抗部
523B 抵抗設定部
DESCRIPTION OF
Claims (8)
前記印字用紙に印字を行う印字部と、
前記光学センサーのレベルを調整するセンサーレベル調整部と、を有するプリンターであって、
前記センサーレベル調整部は、
前記受光素子に対して予め設定された負荷抵抗を設定する手段と、
前記発光素子に対して最も小さい発光量を設定する手段と、
前記発光素子の前記発光量に対する前記受光素子の出力電圧と発光素子用設定電圧値とを比較し、前記出力電圧が前記発光素子用設定電圧値より小さくなるよう前記発光素子の発光量を漸次増加させる手段と、
前記出力電圧が前記発光素子用設定電圧値より小さくなった際の発光量を、前記発光素子の最適発光量と決定し、前記予め設定された負荷抵抗を、最も小さい負荷抵抗に設定する手段と、
前記発光素子の前記最適発光量に対する前記受光素子の出力電圧と受光素子用設定電圧値とを比較し、前記出力電圧が前記受光素子用設定電圧値より小さくなるよう前記受光素子の負荷抵抗を漸次増加させる手段と、
前記出力電圧が前記受光素子用設定電圧値より小さくなった際の負荷抵抗を、前記受光素子の最適負荷抵抗と決定する手段と、を備え、
前記印字用紙は、帯状の台紙と前記台紙上に仮着された複数枚のラベル片とを有し、
前記光学センサーは、前記台紙と前記ラベル片との光透過率の違い、または、前記台紙と前記台紙の裏側に印刷された位置検出用マークとの光透過率の違いにより、前記印字用紙の位置検出を行い、
前記光学センサーのレベルを調整している間は、前記光学センサーの検出位置には前記台紙のみが位置して静止した状態で、前記光学センサーのレベルを調整する、プリンター。 An optical sensor composed of a light emitting element and a light receiving element for detecting printing paper;
A printing unit for printing on the printing paper;
A sensor level adjusting unit for adjusting the level of the optical sensor,
The sensor level adjustment unit
Means for setting a preset load resistance for the light receiving element;
Means for setting the smallest light emission amount for the light emitting element;
Compare the output voltage of the light receiving element with respect to the light emission amount of the light emitting element and the set voltage value for the light emitting element, and gradually increase the light emission amount of the light emitting element so that the output voltage becomes smaller than the set voltage value for the light emitting element. Means to
Means for determining a light emission amount when the output voltage becomes smaller than the set voltage value for the light emitting element as an optimum light emission amount of the light emitting element, and setting the preset load resistance to the smallest load resistance; ,
The output voltage of the light receiving element with respect to the optimum light emission amount of the light emitting element is compared with the set voltage value for the light receiving element, and the load resistance of the light receiving element is gradually set so that the output voltage becomes smaller than the set voltage value for the light receiving element. Means to increase,
Means for determining a load resistance when the output voltage is lower than the set voltage value for the light receiving element as an optimum load resistance of the light receiving element;
The printing paper has a strip-shaped mount and a plurality of label pieces temporarily attached on the mount,
The optical sensor is configured such that the position of the printing paper depends on a difference in light transmittance between the mount and the label piece or a difference in light transmittance between the mount and a position detection mark printed on the back side of the mount. Detection
While adjusting the level of the optical sensor, the printer adjusts the level of the optical sensor while only the mount is located at a detection position of the optical sensor and is stationary .
前記受光素子に対して予め設定された負荷抵抗を設定する工程と、
前記発光素子に対して最も小さい発光量を設定する工程と、
前記発光素子の前記発光量に対する前記受光素子の出力電圧と発光素子用設定電圧値とを比較し、前記出力電圧が前記発光素子用設定電圧値より小さくなるよう前記発光素子の発光量を漸次増加させる工程と、
前記出力電圧が前記発光素子用設定電圧値より小さくなった際の発光量を、前記発光素子の最適発光量と決定し、前記予め設定された負荷抵抗を、最も小さい負荷抵抗に設定する工程と、
前記発光素子の前記最適発光量に対する前記受光素子の出力電圧と受光素子用設定電圧値とを比較し、前記出力電圧が前記受光素子用設定電圧値より小さくなるよう前記受光素子の負荷抵抗を漸次増加させる工程と、
前記出力電圧が前記受光素子用設定電圧値より小さくなった際の負荷抵抗を、前記受光素子の最適負荷抵抗と決定する工程と、
前記印字用紙は、帯状の台紙と前記台紙上に仮着された複数枚のラベル片とを有し、
前記光学センサーは、前記台紙と前記ラベル片との光透過率の違い、または、前記台紙と前記台紙の裏側に印刷された位置検出用マークとの光透過率の違いにより、前記印字用紙の位置検出を行い、
前記光学センサーのレベルを調整している間は、前記光学センサーの検出位置には前記台紙のみが位置して静止した状態で、前記光学センサーのレベルを調整する工程と、を含む、プリンターのセンサーレベル調整方法。 A sensor level adjustment method for a printer that includes an optical sensor having a light emitting element and a light receiving element, detects the position of printing paper by the optical sensor, and performs printing.
Setting a preset load resistance for the light receiving element;
Setting a minimum light emission amount for the light emitting element;
The output voltage of the light receiving element with respect to the light emission amount of the light emitting element is compared with the set voltage value for the light emitting element, and the light emission amount of the light emitting element is gradually increased so that the output voltage becomes smaller than the set voltage value for the light emitting element. A process of
Determining a light emission amount when the output voltage becomes smaller than the set voltage value for the light emitting element as an optimum light emission amount of the light emitting element, and setting the preset load resistance to the smallest load resistance; ,
The output voltage of the light receiving element with respect to the optimum light emission amount of the light emitting element is compared with the set voltage value for the light receiving element, and the load resistance of the light receiving element is gradually set so that the output voltage becomes smaller than the set voltage value for the light receiving element. Increasing the process;
Determining the load resistance when the output voltage is smaller than the set voltage value for the light receiving element as the optimum load resistance of the light receiving element;
The printing paper has a strip-shaped mount and a plurality of label pieces temporarily attached on the mount,
The optical sensor is configured such that the position of the printing paper depends on a difference in light transmittance between the mount and the label piece or a difference in light transmittance between the mount and a position detection mark printed on the back side of the mount. Detection
Adjusting the level of the optical sensor while adjusting the level of the optical sensor in a state where only the mount is located at the detection position of the optical sensor and is stationary while adjusting the level of the optical sensor. Level adjustment method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014071348A JP6284805B2 (en) | 2014-03-31 | 2014-03-31 | Printer and sensor level adjustment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014071348A JP6284805B2 (en) | 2014-03-31 | 2014-03-31 | Printer and sensor level adjustment method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015193433A JP2015193433A (en) | 2015-11-05 |
JP6284805B2 true JP6284805B2 (en) | 2018-02-28 |
Family
ID=54432874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014071348A Active JP6284805B2 (en) | 2014-03-31 | 2014-03-31 | Printer and sensor level adjustment method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6284805B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6612179B2 (en) * | 2016-05-30 | 2019-11-27 | 株式会社沖データ | Image forming apparatus and image forming system |
JP6803159B2 (en) * | 2016-06-29 | 2020-12-23 | 株式会社沖データ | Image forming device |
JP6862228B2 (en) | 2017-03-10 | 2021-04-21 | キヤノン株式会社 | Sheet feeder and printing equipment |
JP7314205B2 (en) * | 2020-12-17 | 2023-07-25 | キヤノン株式会社 | Sheet feeding device and printing device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004059179A (en) * | 2002-07-25 | 2004-02-26 | Canon Finetech Inc | Detecting device, recording device and method for detecting recording medium |
JP4244719B2 (en) * | 2003-06-19 | 2009-03-25 | セイコーエプソン株式会社 | Error recovery method for printing apparatus, program, and printing apparatus |
US7077492B2 (en) * | 2003-11-26 | 2006-07-18 | Fuji Xerox Co., Ltd. | Method and device for optical sensor compensation, and apparatus incorporating the same |
JP2005288906A (en) * | 2004-03-31 | 2005-10-20 | Sato Corp | Printer and method for regulating print position sensor |
JP4732946B2 (en) * | 2006-04-28 | 2011-07-27 | Aiソリューションズ株式会社 | Page pitch detection method, page pitch detection device and printer |
-
2014
- 2014-03-31 JP JP2014071348A patent/JP6284805B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015193433A (en) | 2015-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6284805B2 (en) | Printer and sensor level adjustment method | |
US9400624B2 (en) | Paper profile and reading systems | |
US9061535B2 (en) | High efficiency printing system for improved image quality | |
US10710379B2 (en) | Printer, printing control method of printer, and recording medium | |
CN105269982A (en) | Apparatus for determining media, apparatus for transporting media and printing apparatus | |
JP6981107B2 (en) | Printing device and control method of printing device | |
JP5886094B2 (en) | Printer sensor level adjustment device and sensor level adjustment method | |
EP3033235B1 (en) | System and method for determining receiver type in a thermal printer | |
US9446600B2 (en) | High efficiency printing method for improved image quality | |
JP2007050667A (en) | Printer and its control method | |
JP2005288906A (en) | Printer and method for regulating print position sensor | |
JP5935452B2 (en) | Calibration device, thermal printer, and program | |
JP5946346B2 (en) | Label conveying device, label printer, sensor adjustment method | |
JP6203529B2 (en) | Printer, print position setting method, print position setting program | |
US20180117908A1 (en) | Printer | |
WO2021161501A1 (en) | Thermal printer and printing image quality correction method | |
JP4521972B2 (en) | Printer | |
JP2017081673A (en) | Printer and sheet detection method | |
JP4132909B2 (en) | Ink tank information detecting device, ink tank information detecting method, and ink jet printer using ink tank information detecting device | |
JP2022144440A (en) | printer | |
JP2015016631A (en) | Printer and detection method of medium | |
JP2012040809A (en) | Printing apparatus and notification method of the same | |
JP2014214002A (en) | Sensor level adjusting device of printer, and sensor level adjusting method | |
JP2016120668A (en) | Printer and ribbon color identification device | |
JP2008229937A (en) | Video printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170207 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171113 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171121 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180116 |
|
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: 20180130 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180131 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6284805 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |