JP2022117609A - Printing apparatus and printing apparatus control method - Google Patents
Printing apparatus and printing apparatus control method Download PDFInfo
- Publication number
- JP2022117609A JP2022117609A JP2021014200A JP2021014200A JP2022117609A JP 2022117609 A JP2022117609 A JP 2022117609A JP 2021014200 A JP2021014200 A JP 2021014200A JP 2021014200 A JP2021014200 A JP 2021014200A JP 2022117609 A JP2022117609 A JP 2022117609A
- Authority
- JP
- Japan
- Prior art keywords
- optical sensor
- value
- variable resistance
- shift register
- resistance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Handling Of Sheets (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、印刷装置、及び印刷装置の制御方法に関する。 The present invention relates to a printing device and a method of controlling the printing device.
一般的に、光学センサーは感度バラツキが大きいことが知られている。このため、光学センサーを用いた検出器では、感度バラツキを吸収するために、光学センサーごとに応じた負荷抵抗値を設定する必要があった。このことは、特に、AD(Analog to Digital)値の読みを必要とする回路において必要であった。なお、光学センサーは、例えば、フォトセンサーなどと呼ばれてもよい。 It is generally known that optical sensors have large variations in sensitivity. For this reason, in detectors using optical sensors, it is necessary to set a load resistance value according to each optical sensor in order to absorb variations in sensitivity. This was particularly necessary in circuits requiring reading of AD (Analog to Digital) values. Note that the optical sensor may be called, for example, a photosensor.
一例として、特許文献1に記載されたプリンターでは、長尺状の紙のラベル間ギャップやマークを検出する光学センサーの調整を行うために、ボリューム抵抗器が用いられている(特許文献1の段落0045を参照。)。なお、ボリューム抵抗器としては、例えば、半固定抵抗器、トリマポテンショ、トリマー式アナログ可変抵抗器などがある。
As an example, in the printer described in
上述のように、光学センサーでは感度にバラツキがあるため、発光側であるフォトダイオードの側、または、受光側であるフォトトランジスターの側の回路において、抵抗値による調整が必要である。 As described above, since optical sensors have variations in sensitivity, it is necessary to adjust the resistance value in the circuit on the photodiode side, which is the light emitting side, or on the side of the phototransistor, which is the light receiving side.
例えば、特許文献1に記載された技術では、ボリューム抵抗器が用いられているが、ボリューム抵抗器は機械的な構造を利用するため、手動でボリューム抵抗器の抵抗値を調整する必要があった。このため、ボリューム抵抗器の抵抗値が調整された後に、当該ボリューム抵抗器が修理やメンテナンスで交換されてしまうと、再度、新たなボリューム抵抗器を手動で調整する必要があり、手間が掛かる場合があった。また、ボリューム抵抗器は、手動で調整された後に、調整ツマミが動いてしまうことがあることから、ボリューム抵抗器を接着材で固定する必要がある場合があった。
For example, in the technique described in
具体例として、従来では、光学センサーごとに最適な負荷抵抗値を設定するために、光学センサーの負荷抵抗に、トリマー式アナログ可変抵抗が使用される場合があった。そして、光学センサーからの出力電圧が期待値になるように、当該トリマー式アナログ可変抵抗のトリマーが手動により順次変化させられて、当該トリマー式アナログ可変抵抗の可変抵抗値が調整される場合があった。しかしながら、この場合、例えば、メンテナンス等で可変抵抗回路が搭載された基板が交換される際に、可変抵抗値の引き継ぎを行うことができないため、手動により可変抵抗値を再度調整することが必要であった。 As a specific example, conventionally, in order to set an optimum load resistance value for each optical sensor, a trimmer-type analog variable resistor was sometimes used as the load resistance of the optical sensor. In some cases, the variable resistance value of the trimmer-type analog variable resistor is adjusted by sequentially changing the trimmer of the trimmer-type analog variable resistor so that the output voltage from the optical sensor becomes the expected value. rice field. However, in this case, for example, when the board on which the variable resistance circuit is mounted is replaced due to maintenance or the like, the variable resistance value cannot be inherited, so it is necessary to manually readjust the variable resistance value. there were.
他の具体例として、従来では、光学センサーごとに最適な負荷抵抗値を設定するために、光学センサーの負荷抵抗に、デジタルポテンションメータ(DPM)が使用される場合があった。そして、光学センサーからの出力電圧が期待値になるように、当該DPMの設定値が手動で変化させられることで当該DPMの抵抗値が順次変化させられて、当該DPMの可変抵抗値が調整される場合があった。 As another specific example, conventionally, in some cases, a digital potentiometer (DPM) was used for the load resistance of the optical sensor in order to set the optimum load resistance value for each optical sensor. Then, the resistance value of the DPM is sequentially changed by manually changing the setting value of the DPM so that the output voltage from the optical sensor becomes the expected value, and the variable resistance value of the DPM is adjusted. there was a case.
しかしながら、この場合、例えば、メンテナンス等で可変抵抗回路が搭載された基板が交換される際に、不揮発性メモリー等を用いてDPMの設定値を引き継ぐことが可能であるが、DPMは、一般的に、±30%程度の抵抗値バラツキを有している。このため、DPMの設定値の引き継ぎが行われても、引き継ぎ後のDPMの可変抵抗値が期待値と比べて大きくずれてしまう場合があった。そして、このような引き継ぎ時のバラツキが許容できない場合には、可変抵抗値を再度調整することが必要であった。 However, in this case, for example, when the board on which the variable resistance circuit is mounted is replaced due to maintenance or the like, it is possible to take over the set values of the DPM using a non-volatile memory or the like. In addition, there is a variation in resistance value of about ±30%. For this reason, even if the DPM set value is handed over, the variable resistance value of the DPM after the handover may deviate greatly from the expected value. In addition, when such variation at the time of handover cannot be tolerated, it is necessary to readjust the variable resistance value.
本発明に係る印刷装置の一態様は、
互いに接続された複数の抵抗部と、前記複数の抵抗部の各々に電流を流す1以上の駆動素子と、を含んで構成される可変抵抗回路と、
前記可変抵抗回路に接続される第1光学センサー及び第2光学センサーと、
前記第1光学センサーを前記可変抵抗回路と接続するのか、前記第2光学センサーを前記可変抵抗回路と接続するのかを選択する選択回路と、
前記1以上の前記駆動素子のうちの一部または全部の前記駆動素子を選択してオンにする信号を出力するシフトレジスタと、
前記第1光学センサー、または、前記第2光学センサーの検出値を取得し、前記検出値に基づいて前記シフトレジスタを制御するとともに、前記選択回路の選択を制御する制御部と、
を備える。
One aspect of the printing apparatus according to the present invention includes:
a variable resistance circuit including a plurality of resistors connected to each other and one or more drive elements for causing current to flow through each of the plurality of resistors;
a first optical sensor and a second optical sensor connected to the variable resistance circuit;
a selection circuit for selecting whether to connect the first optical sensor to the variable resistance circuit or to connect the second optical sensor to the variable resistance circuit;
a shift register that outputs a signal to select and turn on some or all of the one or more drive elements;
a control unit that acquires a detection value of the first optical sensor or the second optical sensor, controls the shift register based on the detection value, and controls selection of the selection circuit;
Prepare.
本発明に係る印刷装置の制御方法の一態様は、
印刷装置の制御方法であって、
前記印刷装置は、
互いに接続された複数の抵抗部と、前記複数の抵抗部の各々に電流を流す1以上の駆動素子と、を含んで構成される可変抵抗回路と、
前記可変抵抗回路に接続される第1光学センサー及び第2光学センサーと、
前記第1光学センサーを前記可変抵抗回路と接続するのか、前記第2光学センサーを前記可変抵抗回路と接続するのかを選択する選択回路と、
前記1以上の前記駆動素子のうちの一部または全部の前記駆動素子を選択してオンにする信号を出力するシフトレジスタと、
を備え、
前記印刷装置の制御部は、
前記選択回路の選択を制御する選択工程と、
前記選択回路が選択した前記第1光学センサー、または、前記第2光学センサーの検出値を取得し、前記検出値に基づいて前記シフトレジスタを制御するレジスター制御工程と、
を含む。
One aspect of the method for controlling a printing apparatus according to the present invention includes:
A control method for a printing device, comprising:
The printing device
a variable resistance circuit including a plurality of resistors connected to each other and one or more drive elements for causing current to flow through each of the plurality of resistors;
a first optical sensor and a second optical sensor connected to the variable resistance circuit;
a selection circuit for selecting whether to connect the first optical sensor to the variable resistance circuit or to connect the second optical sensor to the variable resistance circuit;
a shift register that outputs a signal to select and turn on some or all of the one or more drive elements;
with
The control unit of the printing device,
a selection step of controlling selection of the selection circuit;
a register control step of acquiring the detection value of the first optical sensor or the second optical sensor selected by the selection circuit and controlling the shift register based on the detection value;
including.
以下、本発明の実施形態について、図面を参照して説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<印刷装置及び記録紙の構成>
図1は、実施形態に係る印刷装置1の概略的な構成を示す図である。印刷装置1は、記録紙収容部10と、搬送機構20と、印刷ヘッド30と、制御部50と、オートカッター61と、検出部70と、を筐体5の内部に備える。
<Configuration of printing device and recording paper>
FIG. 1 is a diagram showing a schematic configuration of a
図2は、実施形態に係る記録紙11の構成を示す平面図である。記録紙11は、印刷装置1の記録紙収容部10に収容される。記録紙11は、長尺の台紙12と、台紙12の表面に一定間隔で1列に貼り付けられた被検対象13を備える紙である。隣り合う被検対象13の間には、一定幅のギャップGが設けられている。本実施形態では、説明の便宜上、記録紙11のうち、台紙12のみの部分を台紙部12Aといい、台紙12に被検対象13が重ねられた部分を被検部13Aという。
FIG. 2 is a plan view showing the configuration of the
ここで、本実施形態では、被検対象13は、ラベル、または、マーカーである。当該ラベルは、例えば、印刷が行われる領域である。当該マーカーは、例えば、黒色を有するブラックマーカーなどである。当該ラベル及び当該マーカーは、例えば、粘着剤あるいは接着剤などで、台紙12に貼られてもよい。記録紙11の平面が有する2個の面がそれぞれ表面、裏面と呼ばれる場合、例えば、ラベルが設けられる面が表面と呼ばれてもよく、マーカーが設けられる面が裏面と呼ばれてもよい。この場合、マーカーは、ラベルが設けられる面とは反対の面に設けられる。
Here, in this embodiment, the
一例として、被検対象13がラベルである場合、記録紙11の透過光の強度は、台紙部12Aと被検部13Aとでは、台紙部12Aの方が大きい。このため、透過型の光学式センサーを用いて、台紙部12Aと被検部13Aとを識別することが可能である。透過型の光学式センサーは、透過型センサーと呼ばれてもよい。他の例として、被検対象13がマーカーである場合、記録紙11の反射光の強度は、台紙部12Aと被検部13Aとでは、台紙部12Aの方が大きい。このため、反射型の光学式センサーを用いて、台紙部12Aと被検部13Aとを識別することが可能である。反射型の光学式センサーは、反射型センサーと呼ばれてもよい。
As an example, when the
まず、以下では、被検対象13がラベルである場合について説明する。
First, the case where the
台紙12は、樹脂製フィルムや合成紙などの素材を一定幅の長尺の連続紙状に加工した剥離紙である。被検対象13がラベルである場合、当該ラベルは、例えば、白色などの不透明な素材からなるラベルシールである。当該ラベルの表面には印刷方式に適した表面加工が施されており、当該ラベルの裏面には粘着加工が施されている。当該印刷方式としては、例えば、インクジェット方式、あるいは、感熱方式、などがある。なお、台紙12及びラベルの材質、厚さ、色などは用途に応じて様々なものが用いられてもよい。
The
再び、図1を参照して、印刷装置1について説明する。記録紙収容部10に収容された記録紙11は、搬送機構20によって印刷ヘッド30の印刷位置Aに搬送される。搬送機構20は、搬送ローラー21と、搬送ローラー21を駆動する駆動モーター23を備える。印刷装置1の筐体5の内部には、記録紙収容部10から印刷ヘッド30の印刷位置Aを経由して排紙口63に至る搬送路Tが形成される。搬送機構20は、制御部50によって制御されて、記録紙収容部10に収容された記録紙11を搬送路Tに沿って搬送する。
The
印刷ヘッド30は、制御部50によって制御されて、搬送機構20によって印刷位置Aに搬送された記録紙11に画像を印刷する。画像が形成された記録紙11は、搬送機構20によってオートカッター61の切断位置Bに搬送される。オートカッター61は、制御部50によって制御されて、印刷が施された記録紙11を切断する。オートカッター61によって切断された記録紙11は、排紙口63から筐体5の外部に排紙される。
The
検出部70は、光学センサー71を備え、記録紙11が搬送される搬送路Tであって、印刷ヘッド30の印刷位置Aよりも上流側に設けられる。なお、本実施形態では、記録紙収容部10に近い側を上流側と呼び、記録紙収容部10から遠い側を下流側と呼ぶ。光学センサー71は、搬送路Tの上方に配置された発光素子73と、搬送路Tの下方に配置された受光素子75を備える透過型の光学式センサーである。本実施形態では、搬送路Tの上方は、印刷ヘッド30の側に相当する。ここで、検出部70は、複数の光学センサー71を有し、複数の光学センサー71は、全てが図1に示すように印刷ヘッド30の印刷位置Aよりも上流側に設けられていてもよく、複数の光学センサー71の内のいくつかが、印刷ヘッド30の印刷位置Aの下流側に設けられてもよい。さらに、光学センサー71に含まれる発光素子73が搬送路Tの下方に配置され、受光素子75が搬送路Tの上方に配置されてもよい。なお、上方と下方とは逆であってもよい。
The
発光素子73と受光素子75とは、搬送路Tを挟んで対向配置される。発光素子73は、制御部50によって制御されて、搬送路T上の検出位置Pに記録紙11が搬送されると、検出光を照射する。検出位置Pは、発光素子73が発する検出光が照射される搬送路T上の位置である。発光素子73によって照射された検出光は、記録紙11を透過して受光素子75によって受光される。このとき、検出位置Pに記録紙11の台紙部12Aが位置する場合と、被検部13Aが位置する場合とでは、受光素子75が受光する検出光の光量が変化する。このため、制御部50では、受光素子75からの出力の変化に基づいて、検出位置Pに台紙部12Aが位置するのか、または、被検部13Aが位置するのかを判定することができる。例えば、記録紙11として、台紙部12Aと被検部13Aとで光の透過率の差が所定の閾値以上のものを用いることで、記録紙11における被検対象13の検出精度を高めることができる。
The light-emitting
図3は、実施形態に係る印刷装置1の制御構成を示す図である。制御部50は、通信部80に接続される。制御部50は、例えば、CPU(CentralProcessing Unit)あるいはMPU(Micro Processing Unit)などを用いて構成される。通信部80は、ホストコンピューター7と印刷装置1とを通信可能に接続する。ここで、図3の例では、ホストコンピューター7と印刷装置1とが有線接続された場合を示すが、ホストコンピューター7と印刷装置1とは、無線LAN(LocalArea Network)、Bluetooth(登録商標)などの無線通信によって接続されてもよい。
FIG. 3 is a diagram showing the control configuration of the
通信部80は、ホストコンピューター7から受信した印刷データを制御部50に出力する。制御部50は、通信部80から印刷データが入力されると印刷処理動作を開始する。制御部50は、印刷処理動作において、駆動モーター23を駆動して記録紙11を搬送路Tに沿って搬送させる。また、制御部50は、入力される印刷データを不図示のメモリーに展開して印刷用の画素ごとのデータに変換する。制御部50は、変換したデータを印刷ヘッド30に出力し、印刷位置Aに搬送された記録紙11に画像を印刷させる。さらに、制御部50は、印刷データに含まれる制御命令に基づいてオートカッター61を駆動し、切断位置Bに搬送された記録紙11を切断する。
The
また、制御部50には、操作部90が接続される。操作部90には、印刷装置1の電源をオン、オフするための電源キーや、各種設定を行うためのメニューキー等の各種操作キーが設けられる。操作部90は、操作キーが操作されると、操作されたキーに対応した操作信号を制御部50に出力する。
An
また、制御部50には、検出部70が接続される。検出部70は、発光素子73が照射する検出光を受光素子75で受光して、受光した光量に対応する電圧について、増幅及びAD変換等の処理を施して、検出電圧を生成する。検出部70は、生成された検出電圧を制御部50に出力する。
A
制御部50が備えるメモリーには、判定で使用される閾値などが記憶される。制御部50は、入力される検出電圧と判定で使用される閾値とを比較して、検出位置Pに被検部13Aが位置しているのか、または、台紙部12Aが位置しているのかを判定する。当該閾値は、入力される検出電圧が、被検部13Aに検出光が照射されたときの検出電圧であるのか、または、台紙部12Aに検出光が照射されたときの検出電圧であるのかを識別可能な電圧に設定されている。
The memory included in the
また、制御部50は、検出電圧と判定で使用される閾値との比較結果に基づいて、被検対象13の前端及び後端を検出する。具体的には、制御部50は、検出部70が有する複数の光学センサー71の各々において被検対象13の前端及び後端の少なくとも一方が検出された時間、複数の光学センサー71のそれぞれの検出位置P、及び搬送機構20による記録紙11の搬送速度に基づいて、被検対象13の搬送方向における長さや、ギャップGの幅などを検出することができる。
Also, the
<検出部及び制御部の構成>
図4は、実施形態に係る検出部70及び制御部50の構成を示す図である。検出部70について、さらに詳しく説明する。制御部50は、SoC(Systemon a Chip)であってもよい。検出部70は、複数の光学センサー71としての光学センサー71a,71bと、可変抵抗回路111と、抵抗部131と、シフトレジスタ211と、選択回路81と、を備える。ここで、以下の説明において光学センサー71aが有する発光素子73を発光素子73aと称し、受光素子75を受光素子75aと称する場合がある。また、光学センサー71bが有する発光素子73を発光素子73bと称し、受光素子75を受光素子75bと称する場合がある。
<Structure of detection unit and control unit>
FIG. 4 is a diagram showing configurations of the
可変抵抗回路111は、複数である8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7と、複数である8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7を備える。可変抵抗回路111では、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7が並列に接続されている。抵抗部131は、可変抵抗回路111が備える8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7と並列に接続されるように、配置されている。
The
可変抵抗回路111では、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれと接地端との間に、8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれが直列に接続されている。本実施形態では、8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれがトランジスターである場合を説明する。なお、8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれは、例えば、電界効果トランジスター(FET:Field EffectTransistor)であってもよい。
In the
具体的には、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの一端と外部の抵抗部131の一端とが接続されている。8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの他端と、8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれのコレクタ端子とが接続されている。そして、8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれのエミッタ端子は接地端と接続されている。外部の抵抗部131の他端は接地端と接続されている。また、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの一端及び外部の抵抗部131の一端は、選択回路81と接続されている。
Specifically, one end of each of the 0th resistance portion 141-0 to the 7th resistance portion 141-7, which are eight resistance portions, and one end of the
選択回路81は、スイッチ82a,82bとインバーター83とを備える。スイッチ82aの一端は、光学センサー71aの受光素子75aの出力端と接続されている。スイッチ82bの一端は、光学センサー71bの受光素子75bの出力端と接続されている。そして、スイッチ82a,82bの他端が、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの一端及び外部の抵抗部131の一端と接続されている。
The
また、スイッチ82aには、制御部50が出力する制御信号が供給され、スイッチ82bには、制御部50が出力する制御信号の論理レベルがインバーター83により反転された反転制御信号が供給される。これにより、スイッチ82aがオンの状態である場合、スイッチ82bはオフの状態となり、スイッチ82aがオフの状態である場合、スイッチ82bはオンの状態となる。すなわち、スイッチ82aとスイッチ82bとは、制御部50が出力する制御信号に基づいて排他的にオンの状態となるように制御される。ここで、本実施形態では、スイッチ82a,82bのそれぞれについて、オンの状態はスイッチ82a,82bの一端と他端との間に電流が流れる状態を表しており、オフの状態はスイッチ82a,82bの一端と他端との間に電流が流れない状態を表している。
A control signal output from the
本実施形態では、選択回路81が有するスイッチ82aがオンの状態に制御されている場合、受光素子75aからの出力に応じた電圧が8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの一端及び外部の抵抗部131の一端に印加され、選択回路81が有するスイッチ82bがオンの状態に制御されている場合、受光素子75bからの出力に応じた電圧が8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの一端及び外部の抵抗部131の一端に印加される配置となっている。すなわち、選択回路81は、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの一端及び外部の抵抗部131の一端に、受光素子75aからの出力に応じた電圧を印可するのか、受光素子75bからの出力に応じた電圧を印可するのかを選択する。
In the present embodiment, when the
また、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの一端及び外部の抵抗部131の一端は、制御部50の入力端と接続されている。これにより、受光素子75a又は受光素子75bからの出力に応じた電圧が制御部50の入力端に入力される。当該電圧は、抵抗部131の両端に印加される電圧に相当する。
Also, one end of each of the 0th resistance section 141-0 to the 7th resistance section 141-7, which are eight resistance sections, and one end of the
そして、制御部50は、選択回路81を介して光学センサー71aの受光素子75a、または、光学センサー71bの受光素子75bからの出力に応じた電圧が入力端に入力されると、当該電圧をAD変換機能によってアナログの信号からデジタルの信号へ変換する。すなわち、本実施形態では、当該電圧は、制御部50の外部の回路においてはアナログの信号によって表されており、制御部50に取り込まれるときにデジタルの信号へ変換される。
Then, when a voltage corresponding to the output from the
ここで、可変抵抗回路111の8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの抵抗値は、任意に設定されてもよい。また、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの抵抗値は、例えば、同じであってもよく、または、1以上の抵抗値が異なってもよい。
Here, the resistance values of the 0th resistance section 141-0 to the 7th resistance section 141-7, which are the eight resistance sections of the
一例として、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの抵抗値が、256[kΩ]、128[kΩ]、64[kΩ]、32[kΩ]、16[kΩ]、8[kΩ]、4[kΩ]、2[kΩ]であってもよい。この場合、抵抗部131の抵抗値は、22[kΩ]であってもよい。この場合、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれの抵抗値はすべて異なる。
As an example, the resistance values of the 0th resistance portion 141-0 to the 7th resistance portion 141-7, which are eight resistance portions, are 256 [kΩ], 128 [kΩ], 64 [kΩ], and 32 [kΩ]. ], 16 [kΩ], 8 [kΩ], 4 [kΩ], and 2 [kΩ]. In this case, the resistance value of the
なお、抵抗部131及び8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれとしては、バラツキが少ない抵抗を用いることができる。一般に、抵抗のバラツキは、±0.1%などのように、小さくすることができる。
Resistors with little variation can be used for each of the
ここで、抵抗部131及び8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれは、例えば、1個の抵抗素子を用いて構成されてもよく、あるいは、2個以上の抵抗素子を組み合わせて構成されてもよい。また、抵抗部131及び8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれは、例えば、抵抗素子以外の任意の素子の抵抗成分などを用いて構成されてもよい。
Here, each of the
シフトレジスタ211は、3個の入力端と、8個の出力端を備える。シフトレジスタ211の8個の出力端のそれぞれは、可変抵抗回路111の8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれのベース端子と接続されている。これにより、シフトレジスタ211の8個の出力端のそれぞれから出力される信号の電圧を制御することで、可変抵抗回路111の8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれごとに、オンの状態として駆動させるか、または、オフの状態として駆動させないかを制御することができる。これにより、シフトレジスタ211は、8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれについて、選択的にオンの状態またはオフの状態にすることで、選択的に駆動させるか駆動させないかを制御することができる。
The
ここで、本実施形態では、8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7のそれぞれについて、オンの状態はコレクタ端子とエミッタ端子との間に電流が流れる状態を表しており、オフの状態はコレクタ端子とエミッタ端子との間に電流が流れない状態を表している。 Here, in the present embodiment, current flows between the collector terminal and the emitter terminal of each of the 0th drive element 161-0 to the 7th drive element 161-7, which are the eight drive elements, in the ON state. The OFF state represents a state in which no current flows between the collector terminal and the emitter terminal.
可変抵抗回路111では、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のうち、第0駆動素子161-0~第7駆動素子161-7のうちの対応するものがオンの状態となっている抵抗部の合成抵抗が、全体の抵抗となる。これにより、制御部50は、シフトレジスタ211の8個の出力端のそれぞれからの出力を制御することで、可変抵抗回路111の合成抵抗を切り替えることができる。また、可変抵抗回路111と外部の抵抗部131とでは、可変抵抗回路111の合成抵抗と外部の抵抗部131との合成抵抗が、全体の抵抗となる。
In the
制御部50とシフトレジスタ211の3個の入力端のそれぞれとは、3個の信号線である第1信号線511~第3信号線513のそれぞれを介して、接続されている。シフトレジスタ211の3個の入力端のうち、1番目の入力端はシリアルデータの信号の入力端であり、2番目の入力端はシリアルクロック信号の入力端であり、3番目の入力端はラッチ信号の入力端である。これらは、制御部50からシフトレジスタ211に出力される。シフトレジスタ211では、3個の入力端に入力される信号に基づいて、8個の出力端から信号を出力する。本実施形態に係るシフトレジスタ211では、シリアル入力、パラレル出力である。
The
そして、制御部50は、シリアルデータの信号を、第1信号線511を介して、シフトレジスタ211に出力し、シリアルクロック信号を、第2信号線512を介して、シフトレジスタ211に出力し、ラッチ信号を、第3信号線513を介して、シフトレジスタ211に出力する。
Then, the
また、制御部50は、第1記憶部311と第2記憶部312とを備える。ここで、第1記憶部311と第2記憶部312とは、例えば、同じ記憶装置などにおける異なる記憶領域として構成されてもよく、あるいは、異なる記憶装置などとして構成されてもよい。また、本実施形態では、第1記憶部311及び第2記憶部312が制御部50に備えられるが、他の構成例として、第1記憶部311及び第2記憶部312のうちの一方または両方が制御部50の外部に備えられてもよい。また、第1記憶部311と第2記憶部312は、例えば、不揮発性メモリーであってもよい。
The
<基板>
ここで、本実施形態では、可変抵抗回路111とシフトレジスタ211と制御部50とは、同一の基板411に搭載されている。また、光学センサー71a,71bと、選択回路81とは、基板411とは別の被搭載部412に搭載されている。当該被搭載部412は、例えば、基板411とは別の基板であってもよく、あるいは、印刷装置1の筐体における所定箇所であってもよい。なお、選択回路81は、基板411に搭載されていてもよい。
<Substrate>
Here, in this embodiment, the
<シフトレジスタの制御値>
第1記憶部311は、シフトレジスタ211の制御値を記憶する。制御部50は、第1記憶部311に記憶された制御値に基づいて、シフトレジスタ211に当該制御値を出力する。本実施形態では、当該制御値は、制御部50からシフトレジスタ211に出力されるシリアルデータ信号によって表される。ここで、第1記憶部311に記憶された制御値が、既に適した値に調整された値である場合、制御部50によって適した制御が行われる。なお、制御部50は、第1記憶部311に記憶された制御値を変更することで、当該制御値をより適した値へ更新してもよい。
<Shift register control value>
The
図5は、実施形態に係るシフトレジスタ211の制御値と可変抵抗回路111の合成抵抗値との関係を示す図である。図5に示されるグラフにおいて、横軸はシフトレジスタ211の制御値を表しており、縦軸は可変抵抗回路111の合成抵抗値[kΩ]を表している。なお、図5の例では、縦軸は対数表示となっている。図5の例では、制御値は、8ビットに対応しており、0~255のいずれかの値となる。特性1011は、シフトレジスタ211の制御値と可変抵抗回路111の合成抵抗値との関係を表す。
FIG. 5 is a diagram showing the relationship between the control value of the
本実施形態では、シフトレジスタ211の制御値と、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のうちでオンの状態とされる抵抗値の組み合わせとが、1対1で対応付けられている。本実施形態では、シフトレジスタ211の制御値が大きくなるほど、可変抵抗回路111の合成抵抗値は小さくなるように設定されている。本実施形態では、可変抵抗回路111の可変な合成抵抗値が、例えば、1[kΩ]~開放状態の範囲で変化し得る。図5の例では、制御部50からシフトレジスタ211に供給される制御値が大きくなるほど、可変抵抗回路111の合成抵抗値が小さくなる構成となっている。
In the present embodiment, the combination of the control value of the
<制御部によって行われる制御値を決定する処理>
図6は、実施形態に係る制御部50によって行われる制御値決定処理の手順の一例を示す図である。この制御値決定処理では、制御部50によって、光学センサー71a,71bのそれぞれに適した制御値を決定する。本実施形態では、制御部50によって、シフトレジスタ211に出力する制御値を変化させることで、適した値を探索する。本実施形態では、制御部50によって、デジタル制御が行われる。
<Processing for determining the control value performed by the control unit>
FIG. 6 is a diagram showing an example of the procedure of control value determination processing performed by the
(ステップS1)
制御部50は、選択回路81が光学センサー71a,71bを含む複数の光学センサー71から任意の光学センサー71を選択し、選択した光学センサー71の受光素子75からの出力に応じた電圧が可変抵抗回路111に入力されるように制御するための制御信号を選択回路81に出力する。そして、ステップS2の処理へ移行する。
(Step S1)
In the
(ステップS2)
制御部50は、シフトレジスタ211へ出力する制御値を制御して、シフトレジスタ211から可変抵抗回路111に、16進数で“00h”のパラレル出力が行われるようにする。そして、ステップS3の処理へ移行する。
(Step S2)
The
(ステップS3)
制御部50は、入力端に入力されるアナログ信号のAD値を取得する。このAD値は、選択回路81により選択されている光学センサー71の受光素子75によって検出された値に応じた値となる。そして、ステップS4の処理へ移行する。
(Step S3)
The
(ステップS4)
制御部50は、取得されたAD値が選択回路81により選択された光学センサー71の検出値の期待値であるか否かを判定する。当該期待値は、例えば、あらかじめ設定されている。当該期待値は、例えば、第1記憶部311などに記憶されてもよい。
(Step S4)
The
そして、制御部50は、取得されたAD値が選択回路81により選択された光学センサー71の検出値の期待値であると判定された場合(ステップS4:YES)、そのときの制御値が、対応する光学センサー71に適した値であるとして、対応する光学センサー71と紐づけた状態で第1記憶部311に記憶する。そして、ステップS6の処理へ移行する。一方、制御部50は、取得されたAD値が選択回路81により選択された光学センサー71の検出値の期待値ではないと判定された場合(ステップS3:NO)、ステップS5の処理へ移行する。
Then, when the
(ステップS5)
制御部50は、シフトレジスタ211からのパラレル出力の値を1増加させる所謂インクリメントを実行する。そして、制御部50は、シフトレジスタ211への制御値を制御して、シフトレジスタ211から可変抵抗回路111に、増加後の値のパラレル出力が行われるようにする。そして、ステップS3の処理へ移行する。
(Step S5)
The
(ステップS6)
制御部50は、検出部70が備える複数の光学センサー71の全てにおいて、適した制御値の探索が完了しているか否かを判定する。そして、制御部50は、全ての光学センサー71において、適した制御値の探索が完了していると判定された場合(ステップS6:YES)、本フローの処理である制御値決定処理を終了する。一方、制御部50は、全ての光学センサー71において適した制御値の探索が完了していないと判定された場合(ステップS6:NO)、ステップS7の処理へ移行する。
(Step S6)
The
(ステップS7)
制御部50は、選択回路81が光学センサー71a,71bを含む複数の光学センサー71から、適した制御値の探索が未完了の任意の光学センサー71を選択し、選択した光学センサー71の受光素子75からの出力に応じた電圧が可変抵抗回路111に入力されるように制御するための制御信号を選択回路81に出力する。そして、ステップS2の処理へ移行する。
(Step S7)
In the
そして、制御部50は、検出部70が有する複数の光学センサー71の全ての光学センサー71であって、本実施形態においては、光学センサー71a,71bの双方における適した制御値の探索が完了するまで、本フローを継続する。そして、本フローが終了した後、制御部50は、複数の光学センサー71のいずれかを選択する制御信号を選択回路81に出力するとともに、第1記憶部311に記憶されている選択された光学センサー71に対応する制御値を用いてシフトレジスタ211を制御する。
Then, the
ここで、本フローの処理では、例えば、検出値に相当するAD値が最大になったとしても飽和しないように設定される。また、本実施形態では、台紙部12AでのAD値と、被検部13AでのAD値とで、S/N(Signalto NoiseRatio)が十分に大きくなるように設定される。具体例として、台紙部12AでのAD値が2.5[V]~3.0[V]の範囲に収まる値となり、被検部13AでのAD値が0.3[V]~0.5[V]の範囲に収まる値となるように設定される。
Here, in the processing of this flow, for example, even if the AD value corresponding to the detection value reaches its maximum, it is set so as not to saturate. In addition, in the present embodiment, the AD value of the
本実施形態では、光学センサー71の感度が高い場合には、感度が低い場合と比べて、可変抵抗回路111及び抵抗部131の合成抵抗を低く設定する。ここで、オームの法則から、AD値に対応する電圧は、光学センサー71の受光素子75から出力される電流と当該合成抵抗との乗算結果となる。光学センサー71の感度が高い場合には、感度が低い場合と比べて、当該電流が高くなり、それに対して、当該合成抵抗を低くする。本実施形態では、可変抵抗回路111の合成抵抗が調整されてから、印刷装置1が出荷される。例えば、AD値が0~3[V]に収まるように設定されてもよい。
In this embodiment, when the sensitivity of the
なお、本フローの例では、可変抵抗回路111の合成抵抗が低い方から高い方へ変化させられる場合を示したが、逆に、可変抵抗回路111の合成抵抗が高い方から低い方へ変化させられる処理の手順が用いられてもよい。
In this flow example, the combined resistance of the
<制御部によって行われる制御値を計算する処理>
図7は、実施形態に係る制御部50によって行われる制御値計算処理の手順の一例を示す図である。この処理では、制御部50によって、複数の光学センサー71のそれぞれに適した制御値を計算によって求める。すなわち、図7に示す処理は、複数の光学センサー71のそれぞれに対して実行される。本実施形態では、制御部50は、本フローの処理を自動的に実行する。第2記憶部312に、例えば、AD値に関する所定値が記憶されている。当該所定値は、AD値の目標値などと呼ばれてもよい。
<Process of calculating the control value performed by the control unit>
FIG. 7 is a diagram showing an example of the procedure of control value calculation processing performed by the
本フローの処理では、所定の種別の記録紙11が用いられる。そして、制御部50によって、当該種別の記録紙11が使用される場合に適した制御値を計算する。
In the processing of this flow, a predetermined type of
(ステップS11)
制御部50は、シフトレジスタ211に、所定の制御値を出力する。そして、ステップS12の処理へ移行する。当該所定の制御値は、例えば、あらかじめ設定されていてもよく、あるいは、ランダムに決定されてもよい。
(Step S11)
The
(ステップS12)
制御部50は、入力端に入力されるアナログ信号のAD値を取得する。このAD値は、選択回路81により選択された光学センサー71の受光素子75によって検出された値に応じた値となる。そして、ステップS13の処理へ移行する。
(Step S12)
The
ここで、本実施形態では、可変抵抗回路111で使用される第0抵抗部141-0~第7抵抗部141-7の抵抗値のバラツキを小さくすることができる。このため、制御部50は、可変抵抗回路111に設定された合成抵抗に相当する可変抵抗値と、光学センサー71からの出力電圧に基づいて、光学センサー71に流れる負荷電流を算出することが可能である。そして、制御部50は、光学センサー71の負荷電流に基づいて、光学センサー71の感度を精度良く計算することができる。
Here, in the present embodiment, variations in the resistance values of the 0th resistance section 141-0 to the 7th resistance section 141-7 used in the
光学センサー71の感度は、例えば、{(光学センサー71の感度)=(光学センサー71からの出力電圧)/(可変抵抗回路111及び抵抗部131の合成抵抗に相当する可変抵抗値)}によって計算することができる。これにより、光学センサー71の感度のバラツキを把握することが可能である。ここで、光学センサー71の感度は、必ずしも絶対値でなくてもよく、制御値が適しているか否かを評価することができる値であればよい。
The sensitivity of the
ここで、記録紙11として、光学特性が既知である種別の用紙が用いられる。ここでは、当該光学特性は、透過率の特性である。当該用紙に関する光学特性の情報が第2記憶部312にあらかじめ記憶される。このような情報は、例えば、ユーザーあるいは所定の装置によって第2記憶部312に登録されてもよく、また、ネットワークなどを介してダウンロードにより第2記憶部312に登録されてもよい。
Here, as the
(ステップS13)
制御部50は、第2記憶部312に記憶されたAD値に関する所定値と、取得されたAD値を用いて、光学センサー71による検出結果に基づいて制御部50によって取得されるAD値と第2記憶部312に記憶されたAD値に関する所定値とを一致させるシフトレジスタ211の制御値を計算する。この処理では、当該制御値を、使用された種別の用紙にとって適した値とする。そして、本フローの処理を終了する。
(Step S13)
The
ここで、制御部50は、例えば、制御値の計算に用いられた記録紙11の種別と、計算された制御値と、を対応付けた情報を第1記憶部311に記憶する。そして、制御部50は、第1記憶部311に記憶された当該情報に基づいて、当該種別の記録紙11が用いられる場合に、当該種別に対応する制御値を使用する。これにより、印刷装置1では、例えば、用紙の交換時に、制御値を調整する作業をなくすことができる。
Here, for example, the
例えば、ユーザーによって所定の種別の記録紙11が用いられるように印刷装置1に当該記録紙11がセットされる。また、当該種別を示す情報がユーザーによって印刷装置1に指示される。そして、制御部50は、当該種別に関する情報に基づいて、既に適した制御値が記憶されている場合には、当該制御値を使用する。一方、制御部50は、当該種別に関する情報に基づいて、未だに適した制御値が記憶されていない場合には、適した制御値を計算する。つまり、本実施形態では、制御部50は、複数の光学センサー71のそれぞれの感度を把握することで、所望のAD値が取得されるように、シフトレジスタ211の制御値を計算することができ、このため、毎回の調整作業を省略することができる。
For example, the
本実施形態では、図7に示される処理フローは、あらかじめ決められた記録紙11を用いて行われ、AD値が所定値となるように、可変抵抗回路111を制御するための制御値が決められる。あらかじめ決められた記録紙11は、調整用用紙あるいは推奨用紙などと呼ばれてもよい。あらかじめ決められた記録紙11について、例えば、透過型の光学式センサーが用いられる場合には透過率の特性が既知であってもよい。
In this embodiment, the processing flow shown in FIG. 7 is performed using a
ここで、当該所定値としては、例えば、1点の値であってもよく、あるいは、所定の範囲にある点の値の集合であってもよい。所定値は、このような集合である場合、所定の範囲に含まれる値に相当する。本実施形態では、第2記憶部312に、AD値の当該所定値、及び、あらかじめ決められた記録紙11に関する既知の情報が、記憶されている。このような既知の情報は、例えば、プロファイル情報と呼ばれてもよい。
Here, the predetermined value may be, for example, a single point value or a set of point values within a predetermined range. A predetermined value, in such a set, corresponds to a value that falls within a predetermined range. In this embodiment, the
本実施形態では、例えば、検出値に相当するAD値が最大になったとしても飽和しないように設定される。また、本実施形態では、台紙部12AでのAD値と、被検部13AでのAD値とで、S/Nが十分に大きくなるように設定される。具体例として、台紙部12AでのAD値が2.5[V]~3.0[V]の範囲に収まる値となり、被検部13AでのAD値が0.3[V]~0.5[V]の範囲に収まる値となるように設定される。
In this embodiment, for example, even if the AD value corresponding to the detection value reaches its maximum, it is set so as not to saturate. In addition, in the present embodiment, the S/N is set to be sufficiently large between the AD value of the
<反射型の光学センサー>
ここで、図1及び図4の例では、複数の光学センサー71としての光学センサー71a,71bがいずれもが透過型の光学式センサーであって、記録紙11の被検対象13がラベルである場合の例を示したが、光学センサー71a,71bの少なくとも一方が、反射型の光学式センサーであってもよい。この場合、例えば、記録紙11の被検対象13はマーカーである。
<Reflective optical sensor>
Here, in the examples of FIGS. 1 and 4, both the
図8は、反射型の光学式センサーを用いる場合の構成の一例を示す図である。図8には、反射型の光学式センサーとして検出部70が光学センサー71cを備える場合を例示している。
FIG. 8 is a diagram showing an example of a configuration when using a reflective optical sensor. FIG. 8 illustrates a case where the
光学センサー71cは、発光素子73cと、受光素子75cとを備える。ここで、図8には、反射型検出位置P1を示している。また、記録紙11は、反射型の光学式センサーに使用される反射型記録紙であってもよい。なお、説明の便宜上、図8の例では、図1及び図4に示される透過型の光学式センサーが用いられる場合とは異なる符号を付しているが、検出部70が有する光学センサー71a,71bを含む複数の光学センサー71の内のいずれかが反射型の光学センサー71cに置き換えられてもよく、また、検出部70は、光学センサー71a,71bを含む複数の光学センサー71に加えて、光学センサー71cを有してもよい。
The
図8に示すように、光学センサー71cは、搬送路Tの下方に配置された発光素子73cと、搬送路Tの下方に配置された受光素子75cを備える。ここで、他の構成として、発光素子73cが搬送路Tの上方に配置され、受光素子75cが搬送路Tの上方に配置されてもよい。
As shown in FIG. 8, the
発光素子73cと受光素子75cは、搬送路Tに対して同じ側に配置される。発光素子73cは、制御部50によって制御されて、搬送路T上の反射型検出位置P1に記録紙11が搬送されると、検出光を照射する。反射型検出位置P1は、発光素子73cが発する検出光が照射される搬送路T上の位置である。発光素子73cによって照射された検出光は、記録紙11によって反射されて受光素子75cによって受光される。このとき、反射型検出位置P1に記録紙11の台紙部12Aが位置する場合と、被検部13Aが位置する場合とでは、受光素子75cが受光する検出光の光量が変化する。このため、受光素子75cからの出力の変化に基づいて、反射型検出位置P1に台紙部12Aが位置するのか、または、被検部13Aが位置するのかを判定することができる。例えば、記録紙11として、台紙部12Aと被検部13Aとの光の反射率の差が所定の閾値以上のものを用いることで、記録紙11における被検対象13の検出精度を高めることができる。
The light-emitting
ここで、検出部70が反射型の光学式センサーである光学センサー71cを有し、当該構成に図7に示される処理が適用される場合、記録紙11の光学特性として、反射率の特性が用いられる。つまり、あらかじめ決められた記録紙11について、例えば、反射型の光学式センサーが用いられる場合には、反射率の特性が既知であってもよい。
Here, when the
<以上の実施形態について>
以上のように、本実施形態に係る印刷装置1では、光学センサー71a,71b,71cに対して、適した抵抗値を設定することができる。本実施形態に係る印刷装置1では、例えば、可変抵抗回路111の合成抵抗として、光学センサー71a,71b,71cを含む複数の光学センサー71の感度に応じた合成抵抗を設定することができる。
<Regarding the above embodiment>
As described above, in the
本実施形態に係る印刷装置1では、例えば、光学センサー71a,71b,71cを含む複数の光学センサー71のそれぞれに対応するシフトレジスタ211の設定値情報を不揮発性メモリーなどに保存しておくことができる。そして、本実施形態に係る印刷装置1では、基板411の交換時において、シフトレジスタ211の設定値情報を引き継ぐことで、可変抵抗回路111の合成抵抗を引き継ぐことができ、これにより、基板411の交換時に光学センサー71a,71b,71cを調整することが不要となる。
In the
本実施形態に係る印刷装置1では、例えば、光学センサー71a,71b,71cの調整用の可変抵抗回路111を修理等で交換した場合においても、新たに手動による調整が不要であり、可変抵抗回路111の交換が容易になる。
In the
特に、8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7のそれぞれとして、抵抗値のバラツキが小さい抵抗を使用することで、例えば、DPMの場合と比べて、可変抵抗回路111の合成抵抗値のバラツキを±1%程度などに抑えることが可能である。
In particular, by using resistors with small variations in resistance value for each of the 0th resistor section 141-0 to the 7th resistor section 141-7, which are the eight resistor sections, compared to the case of DPM, for example, Variation in the combined resistance value of the
ここで、本実施形態では、可変抵抗回路111に8個の抵抗部である第0抵抗部141-0~第7抵抗部141-7が備えられる場合を示したが、可変抵抗回路111に備えられる複数の抵抗部の数としては、2以上の任意の数が用いられてもよい。また、本実施形態では、可変抵抗回路111に8個の駆動素子である第0駆動素子161-0~第7駆動素子161-7が備えられる場合を示したが、可変抵抗回路111に備えられる駆動素子の数としては、1以上の任意の数が用いられてもよい。
Here, in the present embodiment, the case where the
また、本実施形態では、可変抵抗回路111において、複数の抵抗部である第0抵抗部141-0~第7抵抗部141-7が並列に接続された場合を示したが、他の構成例として、複数の抵抗部が直列に接続された構成、あるいは、複数の抵抗部が直列と並列の組み合わせで接続された構成が用いられてもよい。
Further, in the present embodiment, the
なお、複数の抵抗部が直列に接続された部分では、例えば、駆動素子がオンの状態にされた抵抗部が直列に接続される一方、駆動素子がオフの状態にされた抵抗部の代わりに並列に設けられた信号線が直列に接続される構成が用いられてもよい。また、複数の抵抗部が互いに接続される構成としては、例えば、複数の抵抗部のそれぞれが他の抵抗部と直接接続されてもよく、あるいは、複数の抵抗部のうちの1組以上が別の抵抗部を介して間接的に接続されてもよい。 Note that in the portion where a plurality of resistance units are connected in series, for example, while the resistance units whose drive elements are turned on are connected in series, instead of the resistance units whose drive elements are turned off, A configuration in which signal lines provided in parallel are connected in series may be used. In addition, as a configuration in which a plurality of resistance portions are connected to each other, for example, each of the plurality of resistance portions may be directly connected to another resistance portion, or one or more sets of the plurality of resistance portions may be connected separately. may be indirectly connected via a resistor of
また、本実施形態では、選択回路81は、光学センサー71aに対応するスイッチ82aと光学センサー71bに対応するスイッチ82bとを有し、制御部50がスイッチ82aとスイッチ82bとを排他的にオンの状態とすることで、光学センサー71a,71bとを選択しているが、選択回路81は、セレクターとして構成された、制御部50から入力される制御信号に基づいて、光学センサー71a,71bを含む複数の光学センサー71の1つを選択し、可変抵抗回路111と接続されてもよい。
In this embodiment, the
<構成例>
一構成例として、印刷装置(実施形態では、印刷装置1)では、互いに接続された複数の抵抗部(実施形態では、第0抵抗部141-0~第7抵抗部141-7)と、複数の抵抗部の各々に電流を流す1以上の駆動素子(実施形態では、第0駆動素子161-0~第7駆動素子161-7)と、を含んで構成される可変抵抗回路(実施形態では、可変抵抗回路111)と、可変抵抗回路に接続される第1光学センサー(実施形態では、光学センサー71a又は光学センサー71c)及び第2光学センサー(実施形態では、光学センサー71b又は光学センサー71c)と、第1光学センサーを可変抵抗回路と接続するのか、第2光学センサーを可変抵抗回路と接続するのかを選択する選択回路(実施形態では、選択回路81)と、1以上の駆動素子のうちの一部または全部の駆動素子を選択してオンにする信号を出力するシフトレジスタ(実施形態では、シフトレジスタ211)と、第1光学センサー、または、第2光学センサーの検出値を取得し、当該検出値に基づいてシフトレジスタを制御するとともに、選択回路の選択を制御する制御部(実施形態では、制御部50)と、を備える。
<Configuration example>
As one configuration example, in a printing apparatus (
一構成例として、印刷装置において、第1光学センサーは、透過光を用いて長尺状の第1台紙(実施形態では、透過光が検出される記録紙11の台紙12)に貼付されたラベル(実施形態では、ラベルが用いられる被検対象13)を検出する透過型センサー、または、反射光を用いて長尺状の第2台紙(実施形態では、反射光が検出される記録紙11の台紙12)に付されたマーク(実施形態では、マークが用いられる被検対象13)を検出する反射型センサーである。そして、制御部は、第1台紙または第2台紙の位置(実施形態では、検出位置P、または、反射型検出位置P1)における光学センサーの検出値が所定値になるように、シフトレジスタを制御して、可変抵抗回路の合成抵抗値を調整する。
As a configuration example, in a printing apparatus, the first optical sensor uses transmitted light to detect a label attached to a long first mount (in the embodiment, mount 12 of
一構成例として、印刷装置において、第1記憶部(実施形態では、第1記憶部311)を備える。そして、制御部は、第1台紙または第2台紙の位置における第1光学センサーの検出値が所定値になった場合におけるシフトレジスタの制御値を第1記憶部に記憶し、第1光学センサーによりラベルまたはマークを検出する場合に、第1記憶部から制御値を読み出してシフトレジスタを制御する。
As one configuration example, a printing apparatus includes a first storage unit (
一構成例として、印刷装置において、可変抵抗回路が搭載される基板(実施形態では、基板411)と、光学センサーが搭載される被搭載部(実施形態では、被搭載部412)とは異なる。
As a configuration example, in a printing apparatus, a substrate on which a variable resistance circuit is mounted (
一構成例として、印刷装置において、第1光学センサーは、透過光を用いて長尺状の第1台紙に貼付されたラベルを検出する透過型センサー、または、反射光を用いて長尺状の第2台紙に付されたマークを検出する反射型センサーである。印刷装置は、第1台紙または第2台紙の位置における第1光学センサーの検出値に関する所定値を記憶する第2記憶部(実施形態では、第2記憶部312)を備える。制御部は、所定の制御値によりシフトレジスタを制御して、第1台紙または第2台紙の位置における第1光学センサーの検出値を取得し、当該検出値と当該所定の制御値と第2記憶部に記憶された所定値に基づき、シフトレジスタの制御値を計算する。
As one configuration example, in the printing apparatus, the first optical sensor may be a transmissive sensor that detects the label attached to the long first backing paper using transmitted light, or a long It is a reflective sensor that detects the mark attached to the second mount. The printing apparatus includes a second storage unit (
一構成例として、印刷装置の制御方法(実施形態では、印刷装置1において行われる制御方法)であって、印刷装置は、互いに接続された複数の抵抗部と、複数の抵抗部の各々に電流を流す1以上の駆動素子と、を含んで構成される可変抵抗回路と、可変抵抗回路に接続される第1光学センサー及び第2光学センサーと、第1光学センサーを可変抵抗回路と接続するのか、第2光学センサーを可変抵抗回路と接続するのかを選択する選択回路と、1以上の駆動素子のうちの一部または全部の駆動素子を選択してオンにする信号を出力するシフトレジスタと、を備える。そして、印刷装置の制御部は、選択回路の選択を制御する選択工程(実施形態では、ステップS1又はステップS7)と、選択回路が選択した第1光学センサー、または、第2光学センサーの検出値を取得し、当該検出値に基づいてシフトレジスタを制御するレジスター制御工程(実施形態では、ステップS3~S5,S11~S13)。 As one configuration example, a printing device control method (in the embodiment, a control method performed in the printing device 1), wherein the printing device includes a plurality of resistors connected to each other and a current flowing through each of the plurality of resistors. one or more drive elements for flowing a variable resistance circuit; a first optical sensor and a second optical sensor connected to the variable resistance circuit; and a first optical sensor connected to the variable resistance circuit , a selection circuit for selecting whether to connect the second optical sensor to the variable resistance circuit; a shift register for selecting and outputting a signal to turn on some or all of the one or more driving elements; Prepare. Then, the control unit of the printing apparatus performs a selection step (step S1 or step S7 in the embodiment) for controlling selection of the selection circuit, and a detection value of the first optical sensor or the second optical sensor selected by the selection circuit. and controlling the shift register based on the detected value (steps S3 to S5 and S11 to S13 in the embodiment).
なお、以上に説明した印刷装置1などの任意の装置における任意の構成部の機能を実現するためのプログラムを、コンピューター読み取り可能な記録媒体に記録し、そのプログラムをコンピューターシステムに読み込ませて実行するようにしてもよい。なお、ここでいう「コンピューターシステム」とは、オペレーティングシステム(OS:Operating System)あるいは周辺機器等のハードウェアを含むものとする。また、「コンピューター読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD(CompactDisc)-ROM等の可搬媒体、コンピューターシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピューター読み取り可能な記録媒体」とは、インターネット等のネットワークあるいは電話回線等の通信回線を介してプログラムが送信された場合のサーバーやクライアントとなるコンピューターシステム内部の揮発性メモリーのように、一定時間プログラムを保持しているものも含むものとする。当該揮発性メモリーは、例えば、RAMであってもよい。記録媒体は、例えば、非一時的記録媒体であってもよい。
It should be noted that a program for realizing the functions of any component in any device such as the
また、上記のプログラムは、このプログラムを記憶装置等に格納したコンピューターシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピューターシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワークあるいは電話回線等の通信回線のように情報を伝送する機能を有する媒体のことをいう。 Moreover, the above program may be transmitted from a computer system storing this program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in a transmission medium. Here, the "transmission medium" for transmitting the program means a medium having a function of transmitting information, such as a network such as the Internet or a communication line such as a telephone line.
また、上記のプログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、上記のプログラムは、前述した機能をコンピューターシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイルであってもよい。差分ファイルは、差分プログラムと呼ばれてもよい。 Also, the above program may be for realizing part of the functions described above. Furthermore, the above program may be a so-called difference file, which can realize the functions described above in combination with a program already recorded in the computer system. A difference file may be referred to as a difference program.
また、以上に説明した印刷装置1などの任意の装置における任意の構成部の機能は、プロセッサーにより実現されてもよい。例えば、本実施形態における各処理は、プログラム等の情報に基づき動作するプロセッサーと、プログラム等の情報を記憶するコンピューター読み取り可能な記録媒体により実現されてもよい。ここで、プロセッサーは、例えば、各部の機能が個別のハードウェアで実現されてもよく、あるいは、各部の機能が一体のハードウェアで実現されてもよい。例えば、プロセッサーはハードウェアを含み、当該ハードウェアは、デジタル信号を処理する回路及びアナログ信号を処理する回路のうちの少なくとも一方を含んでもよい。例えば、プロセッサーは、回路基板に実装された1または複数の回路装置、あるいは、1または複数の回路素子のうちの一方または両方を用いて、構成されてもよい。回路装置としてはIC(Integrated Circuit)などが用いられてもよく、回路素子としては抵抗あるいはキャパシターなどが用いられてもよい。
Also, the functions of any component in any device such as the
ここで、プロセッサーは、例えば、CPUであってもよい。ただし、プロセッサーは、CPUに限定されるものではなく、例えば、GPU(GraphicsProcessing Unit)、あるいは、DSP(Digital SignalProcessor)等のような、各種のプロセッサーが用いられてもよい。また、プロセッサーは、例えば、ASIC(Application Specific Integrated Circuit)によるハードウェア回路であってもよい。また、プロセッサーは、例えば、複数のCPUにより構成されていてもよく、あるいは、複数のASICによるハードウェア回路により構成されていてもよい。また、プロセッサーは、例えば、複数のCPUと、複数のASICによるハードウェア回路と、の組み合わせにより構成されていてもよい。また、プロセッサーは、例えば、アナログ信号を処理するアンプ回路あるいはフィルター回路等のうちの1以上を含んでもよい。 Here, the processor may be, for example, a CPU. However, the processor is not limited to a CPU, and various processors such as GPU (Graphics Processing Unit) or DSP (Digital Signal Processor) may be used. Also, the processor may be a hardware circuit based on, for example, an ASIC (Application Specific Integrated Circuit). Also, the processor may be composed of, for example, a plurality of CPUs, or may be composed of a plurality of ASIC hardware circuits. Also, the processor may be configured by, for example, a combination of multiple CPUs and multiple ASIC hardware circuits. The processor may also include one or more of, for example, amplifier circuits or filter circuits that process analog signals.
以上、実施形態について説明したが、本発明はこれらの実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様で実施することが可能である。例えば、上記の実施形態を適宜組み合わせることも可能である。 Although the embodiments have been described above, the present invention is not limited to these embodiments, and can be implemented in various forms without departing from the gist of the present invention. For example, it is also possible to combine the above embodiments as appropriate.
本発明は、実施形態で説明した構成と実質的に同一の構成(例えば、機能、方法及び結果が同一の構成、あるいは目的及び効果が同一の構成)を含む。また、本発明は、実施形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施形態で説明した構成に公知技術を付加した構成を含む。 The present invention includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations that have the same function, method, and result, or configurations that have the same purpose and effect). Moreover, the present invention includes configurations in which non-essential portions of the configurations described in the embodiments are replaced. In addition, the present invention includes a configuration that achieves the same effects or achieves the same purpose as the configurations described in the embodiments. In addition, the present invention includes configurations obtained by adding known techniques to the configurations described in the embodiments.
上述した実施形態から以下の内容が導き出される。 The following content is derived from the embodiment described above.
印刷装置の一態様は、
互いに接続された複数の抵抗部と、前記複数の抵抗部の各々に電流を流す1以上の駆動素子と、を含んで構成される可変抵抗回路と、
前記可変抵抗回路に接続される第1光学センサー及び第2光学センサーと、
前記第1光学センサーを前記可変抵抗回路と接続するのか、前記第2光学センサーを前記可変抵抗回路と接続するのかを選択する選択回路と、
前記1以上の前記駆動素子のうちの一部または全部の前記駆動素子を選択してオンにする信号を出力するシフトレジスタと、
前記第1光学センサー、または、前記第2光学センサーの検出値を取得し、前記検出値に基づいて前記シフトレジスタを制御するとともに、前記選択回路の選択を制御する制御部と、
を備える。
One aspect of the printing device includes:
a variable resistance circuit including a plurality of resistors connected to each other and one or more drive elements for causing current to flow through each of the plurality of resistors;
a first optical sensor and a second optical sensor connected to the variable resistance circuit;
a selection circuit for selecting whether to connect the first optical sensor to the variable resistance circuit or to connect the second optical sensor to the variable resistance circuit;
a shift register that outputs a signal to select and turn on some or all of the one or more drive elements;
a control unit that acquires a detection value of the first optical sensor or the second optical sensor, controls the shift register based on the detection value, and controls selection of the selection circuit;
Prepare.
この印刷装置によれば、選択回路が第1光学センサーと第2光学センサーとを含む複数の光学センサーのいずれかを選択し、シフトレジスタが1以上の駆動素子のうちの一部または全部の駆動素子を選択してオンにすることで、第1光学センサーと第2光学センサーとを含む複数の光学センサーのそれぞれに対して適した抵抗値を設定することができる。そして、第1光学センサーと第2光学センサーとを含む複数の光学センサーのそれぞれに適した抵抗値の情報として、シフトレジスタの設定値情報を不揮発性メモリーなどに保存しておくことで、基板が交換された場合においても、シフトレジスタの設定値情報を引き継ぐことができる。すなわち、可変抵抗回路の合成抵抗を引き継ぐことができる。これにより、基板の交換時に第1光学センサーと第2光学センサーとを含む複数の光学センサーを再度調整することが不要となる。 According to this printing apparatus, the selection circuit selects one of the plurality of optical sensors including the first optical sensor and the second optical sensor, and the shift register drives part or all of the one or more driving elements. By selecting and turning on the elements, suitable resistance values can be set for each of the plurality of optical sensors including the first optical sensor and the second optical sensor. Then, by storing set value information of the shift register in a non-volatile memory or the like as resistance value information suitable for each of the plurality of optical sensors including the first optical sensor and the second optical sensor, the substrate can be Even when the shift register is replaced, the set value information of the shift register can be handed over. That is, it is possible to take over the combined resistance of the variable resistance circuit. This eliminates the need to readjust the plurality of optical sensors including the first optical sensor and the second optical sensor when the substrate is replaced.
前記印刷装置の一態様において、
前記第1光学センサーは、透過光を用いて長尺状の第1台紙に貼付されたラベルを検出する透過型センサー、または、反射光を用いて長尺状の第2台紙に付されたマークを検出する反射型センサーであり、
前記制御部は、前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値が所定値になるように、前記シフトレジスタを制御して、前記可変抵抗回路の合成抵抗値を調整してもよい。
In one aspect of the printing device,
The first optical sensor is a transmissive sensor that uses transmitted light to detect the label attached to the first elongated mount, or a mark attached to the second elongated mount using reflected light. is a reflective sensor that detects
The control unit controls the shift register so that the detection value of the first optical sensor at the position of the first mount or the second mount becomes a predetermined value, and adjusts the combined resistance value of the variable resistance circuit. may be adjusted.
前記印刷装置の一態様において、
第1記憶部を備え、
前記制御部は、前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値が所定値になった場合における前記シフトレジスタの制御値を前記第1記憶部に記憶し、前記第1光学センサーにより前記ラベルまたは前記マークを検出する場合に、前記第1記憶部から前記制御値を読み出して前記シフトレジスタを制御してもよい。
In one aspect of the printing device,
A first storage unit is provided,
The control unit stores a control value of the shift register in the first storage unit when a detection value of the first optical sensor at the position of the first mount or the second mount reaches a predetermined value, and When the label or the mark is detected by the first optical sensor, the control value may be read out from the first storage section to control the shift register.
前記印刷装置の一態様において、
前記可変抵抗回路が搭載される基板と、前記第1光学センサー及び前記第2光学センサーが搭載される被搭載部とは異なってもよい。
In one aspect of the printing device,
A substrate on which the variable resistance circuit is mounted may be different from a mounting portion on which the first optical sensor and the second optical sensor are mounted.
前記印刷装置の一態様において、
前記第1光学センサーは、透過光を用いて長尺状の第1台紙に貼付されたラベルを検出する透過型センサー、または、反射光を用いて長尺状の第2台紙に付されたマークを検出する反射型センサーであり、
前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値に関する所定値を記憶する第2記憶部を備え、
前記制御部は、所定の制御値により前記シフトレジスタを制御して、前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値を取得し、当該検出値と前記所定の制御値と前記第2記憶部に記憶された前記所定値に基づき、前記シフトレジスタの制御値を計算してもよい。
In one aspect of the printing device,
The first optical sensor is a transmissive sensor that uses transmitted light to detect the label attached to the first elongated mount, or a mark attached to the second elongated mount using reflected light. is a reflective sensor that detects
A second storage unit that stores a predetermined value related to the detection value of the first optical sensor at the position of the first mount or the second mount,
The control unit controls the shift register with a predetermined control value to acquire a detection value of the first optical sensor at the position of the first mount or the second mount, and obtains the detection value and the predetermined control. A control value for the shift register may be calculated based on the value and the predetermined value stored in the second storage unit.
印刷装置の制御方法の一態様は、
印刷装置の制御方法であって、
前記印刷装置は、
互いに接続された複数の抵抗部と、前記複数の抵抗部の各々に電流を流す1以上の駆動素子と、を含んで構成される可変抵抗回路と、
前記可変抵抗回路に接続される第1光学センサー及び第2光学センサーと、
前記第1光学センサーを前記可変抵抗回路と接続するのか、前記第2光学センサーを前記可変抵抗回路と接続するのかを選択する選択回路と、
前記1以上の前記駆動素子のうちの一部または全部の前記駆動素子を選択してオンにする信号を出力するシフトレジスタと、
を備え、
前記印刷装置の制御部は、
前記選択回路の選択を制御する選択工程と、
前記選択回路が選択した前記第1光学センサー、または、前記第2光学センサーの検出値を取得し、前記検出値に基づいて前記シフトレジスタを制御するレジスター制御工程と、
を含む。
One aspect of a method for controlling a printing device includes:
A control method for a printing device, comprising:
The printing device
a variable resistance circuit including a plurality of resistors connected to each other and one or more drive elements for causing current to flow through each of the plurality of resistors;
a first optical sensor and a second optical sensor connected to the variable resistance circuit;
a selection circuit for selecting whether to connect the first optical sensor to the variable resistance circuit or to connect the second optical sensor to the variable resistance circuit;
a shift register that outputs a signal to select and turn on some or all of the one or more drive elements;
with
The control unit of the printing device,
a selection step of controlling selection of the selection circuit;
a register control step of acquiring the detection value of the first optical sensor or the second optical sensor selected by the selection circuit and controlling the shift register based on the detection value;
including.
この印刷装置の制御方法によれば、制御部が選択工程において、選択回路が第1光学センサーと第2光学センサーとを含む複数の光学センサーのいずれかを選択するように制御し、レジスター制御工程において、シフトレジスタが1以上の駆動素子のうちの一部または全部の駆動素子を選択してオンにすることで、第1光学センサーと第2光学センサーとを含む複数の光学センサーのそれぞれに対して適した抵抗値を設定するとともに、第1光学センサーと第2光学センサーとを含む複数の光学センサーのそれぞれに適した抵抗値の情報として、シフトレジスタの設定値情報を不揮発性メモリーなどに保存する。これにより、基板が交換された場合においても、シフトレジスタの設定値情報を引き継ぐことができる。すなわち、可変抵抗回路の合成抵抗を引き継ぐことができる。これにより、基板の交換時に第1光学センサーと第2光学センサーとを含む複数の光学センサーを再度調整することが不要となる。 According to this printing apparatus control method, in the selection step, the control unit controls the selection circuit to select one of the plurality of optical sensors including the first optical sensor and the second optical sensor, and the register control step for each of the plurality of optical sensors including the first optical sensor and the second optical sensor by selecting and turning on some or all of the one or more driving elements in the shift register In addition to setting a suitable resistance value for each of the plurality of optical sensors including the first optical sensor and the second optical sensor, the set value information of the shift register is stored in a non-volatile memory or the like as information on the resistance value suitable for each of the plurality of optical sensors. do. As a result, even when the board is replaced, the set value information of the shift register can be handed over. That is, it is possible to take over the combined resistance of the variable resistance circuit. This eliminates the need to readjust the plurality of optical sensors including the first optical sensor and the second optical sensor when the substrate is replaced.
1…印刷装置、5…筐体、7…ホストコンピューター、10…記録紙収容部、11…記録紙、12…台紙、12A…台紙部、13…被検対象、13A…被検部、20…搬送機構、21…搬送ローラー、23…駆動モーター、30…印刷ヘッド、50…制御部、61…オートカッター、63…排紙口、70…検出部、71,71a,71b,71c…光学センサー、73,73a,73b,73c…発光素子、75,75a,75b,75c…受光素子、80…通信部、81…選択回路、82a,82b…スイッチ、83…インバーター、90…操作部、111…可変抵抗回路、131…抵抗部、141-0…第0抵抗部、141-1…第1抵抗部、141-2…第2抵抗部、141-3…第3抵抗部、141-4…第4抵抗部、141-5…第5抵抗部、141-6…第6抵抗部、141-7…第7抵抗部、161-0…第0駆動素子、161-1…第1駆動素子、161-2…第2駆動素子、161-3…第3駆動素子、161-4…第4駆動素子、161-5…第5駆動素子、161-6…第6駆動素子、161-7…第7駆動素子、211…シフトレジスタ、311…第1記憶部、312…第2記憶部、411…基板、412…被搭載部、511…第1信号線、512…第2信号線、513…第3信号線、1011…特性、A…印刷位置、B…切断位置、G…ギャップ、P…検出位置、P1…反射型検出位置、T…搬送路
DESCRIPTION OF
Claims (6)
前記可変抵抗回路に接続される第1光学センサー及び第2光学センサーと、
前記第1光学センサーを前記可変抵抗回路と接続するのか、前記第2光学センサーを前記可変抵抗回路と接続するのかを選択する選択回路と、
前記1以上の前記駆動素子のうちの一部または全部の前記駆動素子を選択してオンにする信号を出力するシフトレジスタと、
前記第1光学センサー、または、前記第2光学センサーの検出値を取得し、前記検出値に基づいて前記シフトレジスタを制御するとともに、前記選択回路の選択を制御する制御部と、
を備える印刷装置。 a variable resistance circuit including a plurality of resistors connected to each other and one or more drive elements for causing current to flow through each of the plurality of resistors;
a first optical sensor and a second optical sensor connected to the variable resistance circuit;
a selection circuit for selecting whether to connect the first optical sensor to the variable resistance circuit or to connect the second optical sensor to the variable resistance circuit;
a shift register that outputs a signal to select and turn on some or all of the one or more drive elements;
a control unit that acquires a detection value of the first optical sensor or the second optical sensor, controls the shift register based on the detection value, and controls selection of the selection circuit;
a printing device.
前記制御部は、前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値が所定値になるように、前記シフトレジスタを制御して、前記可変抵抗回路の合成抵抗値を調整する、
請求項1に記載の印刷装置。 The first optical sensor is a transmissive sensor that uses transmitted light to detect the label attached to the first elongated mount, or a mark attached to the second elongated mount using reflected light. is a reflective sensor that detects
The control unit controls the shift register so that the detection value of the first optical sensor at the position of the first mount or the second mount becomes a predetermined value, and adjusts the combined resistance value of the variable resistance circuit. adjust,
2. A printing device according to claim 1.
前記制御部は、前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値が所定値になった場合における前記シフトレジスタの制御値を前記第1記憶部に記憶し、前記第1光学センサーにより前記ラベルまたは前記マークを検出する場合に、前記第1記憶部から前記制御値を読み出して前記シフトレジスタを制御する、
請求項2に記載の印刷装置。 A first storage unit is provided,
The control unit stores a control value of the shift register in the first storage unit when a detection value of the first optical sensor at the position of the first mount or the second mount reaches a predetermined value, and reading the control value from the first storage unit and controlling the shift register when the first optical sensor detects the label or the mark;
3. A printing device according to claim 2.
請求項1から請求項3のいずれか1項に記載の印刷装置。 The substrate on which the variable resistance circuit is mounted is different from the mounting portion on which the first optical sensor and the second optical sensor are mounted,
The printing apparatus according to any one of claims 1 to 3.
前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値に関する所定値を記憶する第2記憶部を備え、
前記制御部は、所定の制御値により前記シフトレジスタを制御して、前記第1台紙または前記第2台紙の位置における前記第1光学センサーの検出値を取得し、当該検出値と前記所定の制御値と前記第2記憶部に記憶された前記所定値に基づき、前記シフトレジスタの制御値を計算する、
請求項1に記載の印刷装置。 The first optical sensor is a transmissive sensor that uses transmitted light to detect the label attached to the first elongated mount, or a mark attached to the second elongated mount using reflected light. is a reflective sensor that detects
A second storage unit that stores a predetermined value related to the detection value of the first optical sensor at the position of the first mount or the second mount,
The control unit controls the shift register with a predetermined control value to acquire a detection value of the first optical sensor at the position of the first mount or the second mount, and obtains the detection value and the predetermined control. calculating a control value for the shift register based on the value and the predetermined value stored in the second storage unit;
2. A printing device according to claim 1.
前記印刷装置は、
互いに接続された複数の抵抗部と、前記複数の抵抗部の各々に電流を流す1以上の駆動素子と、を含んで構成される可変抵抗回路と、
前記可変抵抗回路に接続される第1光学センサー及び第2光学センサーと、
前記第1光学センサーを前記可変抵抗回路と接続するのか、前記第2光学センサーを前記可変抵抗回路と接続するのかを選択する選択回路と、
前記1以上の前記駆動素子のうちの一部または全部の前記駆動素子を選択してオンにする信号を出力するシフトレジスタと、
を備え、
前記印刷装置の制御部は、
前記選択回路の選択を制御する選択工程と、
前記選択回路が選択した前記第1光学センサー、または、前記第2光学センサーの検出値を取得し、前記検出値に基づいて前記シフトレジスタを制御するレジスター制御工程と、
を含む、
印刷装置の制御方法。
A control method for a printing device, comprising:
The printing device
a variable resistance circuit including a plurality of resistors connected to each other and one or more drive elements for causing current to flow through each of the plurality of resistors;
a first optical sensor and a second optical sensor connected to the variable resistance circuit;
a selection circuit for selecting whether to connect the first optical sensor to the variable resistance circuit or to connect the second optical sensor to the variable resistance circuit;
a shift register that outputs a signal to select and turn on some or all of the one or more drive elements;
with
The control unit of the printing device,
a selection step of controlling selection of the selection circuit;
a register control step of acquiring the detection value of the first optical sensor or the second optical sensor selected by the selection circuit and controlling the shift register based on the detection value;
including,
A method of controlling a printing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021014200A JP2022117609A (en) | 2021-02-01 | 2021-02-01 | Printing apparatus and printing apparatus control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021014200A JP2022117609A (en) | 2021-02-01 | 2021-02-01 | Printing apparatus and printing apparatus control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022117609A true JP2022117609A (en) | 2022-08-12 |
Family
ID=82750357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021014200A Pending JP2022117609A (en) | 2021-02-01 | 2021-02-01 | Printing apparatus and printing apparatus control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022117609A (en) |
-
2021
- 2021-02-01 JP JP2021014200A patent/JP2022117609A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4375416B2 (en) | Image forming system, image forming apparatus, and density correction method | |
US7271935B2 (en) | Self-calibrating printer and printer calibration method | |
JP3293665B2 (en) | Electronic drive circuit for multi-laser thermal transfer printer | |
US7284815B2 (en) | Inkjet recording apparatus and ink determination method | |
US6795191B2 (en) | Ultrasonically assisted optical media sensor system | |
JP4149867B2 (en) | Printer and its control method | |
JP2022117609A (en) | Printing apparatus and printing apparatus control method | |
JP5886094B2 (en) | Printer sensor level adjustment device and sensor level adjustment method | |
JP7472448B2 (en) | PRINTING DEVICE AND METHOD FOR CONTROLLING PRINTING DEVICE | |
JP2005231356A (en) | Ink-jet recording device and ink discriminating method | |
JP2002002045A (en) | Color sensor and color detecting method for ink ribbon | |
JP2010120219A (en) | Printer and method for calibrating printer | |
JP2003285456A (en) | Optical fixing unit, its illuminance correcting method and thermal printer | |
CN110202956B (en) | Light emitting unit brightness configuration method and device in printer and printer | |
JP7292986B2 (en) | code verification device | |
US20050163019A1 (en) | Apparatus for and method of controlling photo diode using digital potentiometer | |
JP2001301273A (en) | Printer | |
US20160119487A1 (en) | Printing system and method of operation | |
CN210161771U (en) | Thermal printer capable of automatically adjusting printing contrast | |
JP2004142212A (en) | Thermal printer and its density correcting method | |
US20220004828A1 (en) | Configuring color concentrations based on a white-point of print material | |
JP2006281450A (en) | Thermal transfer printer apparatus | |
KR20220114900A (en) | Method for setting print density of printer using light sensor and printer for performing the same | |
JP2004059179A (en) | Detecting device, recording device and method for detecting recording medium | |
JP2005313497A (en) | Recorder and method of calibration of optical sensor for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20210915 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20211104 |