[go: up one dir, main page]

JP2745027B2 - Label detection device - Google Patents

Label detection device

Info

Publication number
JP2745027B2
JP2745027B2 JP1159859A JP15985989A JP2745027B2 JP 2745027 B2 JP2745027 B2 JP 2745027B2 JP 1159859 A JP1159859 A JP 1159859A JP 15985989 A JP15985989 A JP 15985989A JP 2745027 B2 JP2745027 B2 JP 2745027B2
Authority
JP
Japan
Prior art keywords
label
reference value
output signal
light
sensor output
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.)
Expired - Fee Related
Application number
JP1159859A
Other languages
Japanese (ja)
Other versions
JPH0329733A (en
Inventor
雅光 小澤
Original Assignee
スター精密 株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by スター精密 株式会社 filed Critical スター精密 株式会社
Priority to JP1159859A priority Critical patent/JP2745027B2/en
Publication of JPH0329733A publication Critical patent/JPH0329733A/en
Application granted granted Critical
Publication of JP2745027B2 publication Critical patent/JP2745027B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Labeling Devices (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、光センサーを用いて、台紙上にラベルが貼
着されたラベル紙のラベル貼着部と非貼着部とを検知す
るためのラベル検知装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention uses an optical sensor to detect a label-attached portion and a non-adhered portion of a label sheet having a label attached to a mount. A label detecting device.

[従来技術] 従来、ラベル紙のラベル貼着部と非貼着部とを判別す
るには、光センサーにより該ラベル紙を透過する光量の
差異を検知するのが一般的である。
[Prior Art] Conventionally, in order to discriminate between a label sticking portion and a non-sticking portion of a label sheet, it is general to detect a difference in the amount of light transmitted through the label sheet by an optical sensor.

第4図(a)は、従来の印字装置におけるラベル検知
装置を示したもので、該ラベル検知装置は、第4図
(b)のラベル紙4が図示しない搬送手段により光セン
サー1の発光素子2と受光素子3との間を通過する際
に、ラベル紙4を介して透過する光の変化を検知し、台
紙6にラベル5が貼着されているか否かの判別を行う。
FIG. 4 (a) shows a label detecting device in a conventional printing apparatus. The label detecting device is a light emitting element of the optical sensor 1 by a conveying means (not shown) for the label paper 4 of FIG. 4 (b). When passing between the light receiving element 2 and the light receiving element 3, a change in light transmitted through the label paper 4 is detected, and it is determined whether or not the label 5 is attached to the mount 6.

貼着が判別されたラベル5には、印字ヘッド9とプラ
テン10により構成された印字手段を通過する際に、印字
命令により印字が行われる。
The label 5 for which attachment has been determined is printed by a print command when passing through the printing means constituted by the print head 9 and the platen 10.

ラベル紙4のラベル貼着部7と非貼着部8とを判別す
るための基準値は、通常工場出荷時に設定される。その
設定は、光センサー1で該ラベル貼着部7と非貼着部8
とを検知させ、検知時におけるそれぞれの光センサー出
力信号を測定器で測定し、電子回路上の可変抵抗を可変
することにより、それら出力信号の中間を判定基準値と
なるように設定する。設定された基準値は、印字動作等
において前記光センサー出力信号と比較され、その大小
によりラベル紙4のラベル貼着部7と非貼着部8との判
別が行われる。
A reference value for discriminating between the label sticking portion 7 and the non-sticking portion 8 of the label paper 4 is usually set at the time of factory shipment. The setting is performed by the optical sensor 1 using the label sticking part 7 and the non-sticking part 8.
Are detected, the output signals of the respective optical sensors at the time of detection are measured by a measuring instrument, and the variable resistance on the electronic circuit is varied, so that the middle of the output signals is set to be a reference value. The set reference value is compared with the output signal of the optical sensor in a printing operation or the like, and the magnitude of the signal is used to discriminate the label sticking portion 7 and the non-sticking portion 8 of the label paper 4.

[発明が解決しようとする問題点] しかしながら、従来のラベル検知装置は、前記基準値
の設定に際して、オッシロスコープ等の高価な測定器を
必要とし、且つ、ラベル貼着部と非貼着部との透過光量
の絶対値及び差異が極めて小さいような場合、その判定
基準となる基準値設定のための調整工数が多くかかるな
ど、その作業性が極めて悪い欠点があった。
[Problems to be Solved by the Invention] However, the conventional label detection device requires an expensive measuring instrument such as an oscilloscope when setting the reference value, and also requires a label sticking part and a non-sticking part. When the absolute value and the difference of the amount of transmitted light are extremely small, there is a disadvantage that the workability is extremely poor, such as a large number of adjustment steps for setting a reference value as a criterion.

[問題点を解決するための手段] 本発明のラベル検知装置は、前記の欠点を解決するた
め、基準値調整時に発光素子に流れる電流をレンジ毎に
設定した電流に段階的に切り換える電流切換手段と、前
記基準値調整時にラベル非貼着部を検出し、前記電流切
換手段のレンジをいったん最も低レンジに設定し、前記
受光素子の光センサー出力信号が4.0V以上の電圧になる
まで1レンズずつ上昇させ、光センサー出力信号が4.0V
以上の電圧となった時点で発光素子駆動電流レンジを決
定する電流設定手段と、前記基準値調整時に前記発光素
子駆動電流レンジにおけるラベル貼着部検出時の光セン
サー出力信号と非貼着部検出時の光センサー出力信号の
平均値を基準値として記憶手段に設定する基準値設定手
段とを有することを特徴とする。
[Means for Solving the Problems] In order to solve the above-mentioned drawbacks, the label detecting device of the present invention is a current switching unit that switches a current flowing through a light emitting element in a stepwise manner to a current set for each range when adjusting a reference value. And detecting the label non-adhered portion at the time of adjusting the reference value, setting the range of the current switching means to the lowest range once, and setting one lens until the optical sensor output signal of the light receiving element becomes a voltage of 4.0 V or more. And the light sensor output signal is 4.0V
Current setting means for determining the light emitting element drive current range at the time when the above voltage is reached, and an optical sensor output signal and a non-adhered part detection at the time of detecting the label attached part in the light emitting element drive current range at the time of adjusting the reference value. Reference value setting means for setting the average value of the optical sensor output signal at the time as a reference value in the storage means.

その目的とする所は、ラベル紙のラベル貼着部と非貼
着部とを検出するための基準値を設定するに際し、高価
な測定器を必要とせず適切な基準値を設定することが可
能なラベル検知装置を提供することにある。
The purpose is to set an appropriate reference value without setting up an expensive measuring instrument when setting the reference value for detecting the label sticking part and the non-sticking part of the label paper. Another object of the present invention is to provide a simple label detecting device.

[作用] 本発明のラベル検知装置は、基準値調整時にまず、ラ
ベル非貼着部を検知し、電流切換手段のレンジをいった
ん最も低レンジに設定し、受光素子の光センサ出力信号
が4.0V以上の電圧になるまで1レンズずつ上昇させ、前
記光センサー出力信号が4.0V以上の電圧となった時点で
発光素子駆動電流レンジを決定し、この電流レンジでラ
ベル貼着部と非貼着部の光センサ出力信号を測定し、平
均値を基準値として設定するので、測定器を用いなくと
も適切な基準値を設定することができる。
[Operation] The label detection device of the present invention first detects a label non-adhered portion at the time of reference value adjustment, sets the range of the current switching means to the lowest range once, and sets the light sensor output signal of the light receiving element to 4.0 V When the output signal of the optical sensor reaches a voltage of 4.0 V or more, a light emitting element driving current range is determined, and a label sticking part and a non-sticking part are determined in this current range. Is measured and the average value is set as a reference value, so that an appropriate reference value can be set without using a measuring instrument.

[実施例] 以下、本発明を一実施例に基づき説明を行う。EXAMPLES Hereinafter, the present invention will be described based on one example.

第1図は、本発明のラベル検知装置の回路図を示した
ものである。ラベル紙4の検知を行う光センサー11は、
発光素子12および受光素子13により構成され、該発光素
子12のアノード及び受光素子13のコレクタは+5V電源
に、またカソード及びエミッターはそれぞれ電流切換回
路14及び抵抗15を介して、該電源の0V電位に接続されて
いる。
FIG. 1 shows a circuit diagram of a label detecting device according to the present invention. The optical sensor 11 that detects the label paper 4
The light-emitting element 12 and the light-receiving element 13 are constituted. The anode of the light-emitting element 12 and the collector of the light-receiving element 13 are connected to a + 5V power supply, and the cathode and the emitter are connected to a 0V potential of the power supply via a current switching circuit 14 and a resistor 15, respectively. It is connected to the.

前記電流切換回路14はI/Oポート16に接続され、最も
電流の少ないレンジ1から最も電流の大きなレンジ5ま
での5段階の電流切換機能を有し、CPU17の制御に従っ
て発光素子12の電流制御を行う。
The current switching circuit 14 is connected to the I / O port 16 and has a five-stage current switching function from the lowest current range 1 to the highest current range 5, and controls the current of the light emitting element 12 under the control of the CPU 17. I do.

前記受光素子13のエミッターは、増幅器18を介して比
較器19の+入力端子に接続され、さらにA/Dコンバータ2
0を介してI/Oポート16にも接続されている。
An emitter of the light receiving element 13 is connected to a + input terminal of a comparator 19 via an amplifier 18 and further connected to an A / D converter 2.
It is also connected to I / O port 16 via 0.

該比較器19の−入力端子は、D/Aコンバータ21を介し
てI/Oポート16に接続されている。
The negative input terminal of the comparator 19 is connected to the I / O port 16 via the D / A converter 21.

前記受光素子13のエミッター信号の出力は、増幅器18
で増幅され、A/Dコンバータ20でディジタル信号(以
下、光センサー出力信号と称する。)化され、I/Oポー
ト16に入力される。一方、CPU17には、該I/Oポート16の
他、電池23でバックアップされたRAM22及び動作プログ
ラムを記憶したROM24が接続されている。
The output of the emitter signal of the light receiving element 13 is
The signal is amplified by the A / D converter 20, converted into a digital signal (hereinafter referred to as an optical sensor output signal) by the A / D converter 20, and input to the I / O port 16. On the other hand, the CPU 17 is connected to the RAM 22 backed up by a battery 23 and the ROM 24 storing an operation program, in addition to the I / O port 16.

次に、第2図の基準値調整シーケンスフローチャート
図に従って、基準値設定時の本発明のラベル検知装置の
基準値調整方法について説明を行う。
Next, the reference value adjusting method of the label detecting apparatus of the present invention when setting the reference value will be described with reference to the reference value adjusting sequence flowchart of FIG.

まず、シーケンス[1]で、光センサー11によりラベ
ル非貼着部8を検知し、その出力信号を測定する。
First, in the sequence [1], the label non-sticking portion 8 is detected by the optical sensor 11, and the output signal is measured.

シーケンス[2]で、電流切換回路14のレンジを1に
切り換える。
In the sequence [2], the range of the current switching circuit 14 is switched to 1.

シーケンス[3]で、光センサー出力信号が4.0V以上
であるか否かをチェックし、もしそれ以下の場合には、
シーケンス[8]で、前記電流切換回路14のレンジを1
レンジ上げ、再度上記のチェックを行う。
In the sequence [3], it is checked whether the output signal of the optical sensor is higher than 4.0V, and if it is lower than 4.0V,
In the sequence [8], the range of the current switching circuit 14 is set to 1
Raise the range and repeat the above check.

光センサー出力信号が4.0V以上であれば、シーケンス
[4]でその光センサー出力信号(X1)をRAM22に記憶
する。
If the optical sensor output signal is 4.0 V or more, the optical sensor output signal (X1) is stored in the RAM 22 in sequence [4].

シーケンス[5]で、光センサー11によりラベル貼着
部7を検知し、その出力信号を測定する。シーケンス
[6]で、その時の光センサー出力信号(X2)をRAM22
に記憶する。
In the sequence [5], the label sticking section 7 is detected by the optical sensor 11, and the output signal is measured. In the sequence [6], the optical sensor output signal (X2) at that time is stored in the RAM 22
To memorize.

シーケンス[7]で、CPU17により光センサー出力信
号X1及びX2から、 に基づく演算を行い、ラベル貼着部7と非貼着部8とを
判別するための基準となる基準値(Th)を算出し、RAM1
2に記憶する。
In sequence [7], the CPU 17 converts the light sensor output signals X1 and X2 into And calculates a reference value (Th) as a reference for discriminating between the label sticking portion 7 and the non-sticking portion 8, and the RAM 1
Remember in 2.

以上で、本発明のラベル検知装置の基準値調整は完了
するが、従来のラベル検知装置と比較し、高価格な測定
装置が不要で、且つラベル貼着部と非貼着部とを判定す
るための判定基準値を適切に設定することが可能となる
など、大幅な作業性の向上を図ることができる利点があ
る。
With the above, the reference value adjustment of the label detecting device of the present invention is completed. However, compared to the conventional label detecting device, a high-priced measuring device is unnecessary, and the label sticking portion and the non-sticking portion are determined. For example, it is possible to appropriately set the determination reference value, and thus there is an advantage that the workability can be greatly improved.

図3はラベル紙検知時の光センサ出力信号(X)と比
較器19から出力される検知信号Zの出力タイミングを示
したチャート図である。前記RAM12に記憶された基準値
(Th)は、第3図に示すごとく光センサー出力信号
(X)の最大値であるラベル非貼着部検出時の光センサ
ー出力信号(X1)と最小値であるラベル貼着部検出部の
光センサー出力信号(X2)の中間の電位となる。
FIG. 3 is a chart showing the output timing of the optical sensor output signal (X) at the time of label paper detection and the detection signal Z output from the comparator 19. The reference value (Th) stored in the RAM 12 is, as shown in FIG. 3, a light sensor output signal (X1) at the time of detection of a non-labeled portion, which is a maximum value of the light sensor output signal (X), and a minimum value. It is at an intermediate potential of the optical sensor output signal (X2) of a certain label sticking part detection unit.

ラベル紙4を検出時には、該基準値(Th)と光センサ
ー出力信号との電圧を比較し、Th<Xの場合には比較器
19の出力信号すなわち検知信号Zがハイレベルとなり、
Th>Xの場合には該検知信号Zがローレベルとなるた
め、その検知信号Zによりラベル紙4のラベル貼着部7
と非貼着部8とを判別することができる。
When the label paper 4 is detected, the voltage of the reference value (Th) is compared with the voltage of the optical sensor output signal.
The output signal of No. 19, that is, the detection signal Z becomes high level,
When Th> X, the detection signal Z is at a low level.
And the non-sticking portion 8 can be determined.

すなわち、ラベル紙4は、該検知信号Zがローレベル
であればラベル貼着部7が、またハイレベルであればラ
ベル非貼着部8が判別されていることになる。
That is, if the detection signal Z of the label paper 4 is at a low level, the label sticking section 7 is determined, and if the detection signal Z is at a high level, the label non-sticking section 8 is determined.

[発明の効果] 以上、詳述したごとく、本発明のラベル検知装置によ
れば、ラベル貼着部と非貼着部とを判定するための基準
値の設定を自動的に行うため、その基準値の調整に際し
て高価な測定器を必要とせず適切な発光素子の電流値及
び適切な基準値を設定でき、且つ調整のための工数をほ
とんど必要としないなど、作業性の極めて良いなどの効
果がある。
[Effects of the Invention] As described above in detail, according to the label detection device of the present invention, the reference value for automatically determining the label sticking portion and the non-sticking portion is automatically set. When adjusting the value, it is possible to set an appropriate current value of the light emitting element and an appropriate reference value without using an expensive measuring instrument, and it requires very little man-hour for adjustment. is there.

【図面の簡単な説明】[Brief description of the drawings]

第1図は、本発明のラベル検知装置の回路図、 第2図は、該ラベル検知装置の調整シーケンスを示した
調整シーケンスフローチャート図、 第3図は、ラベル紙4のラベル貼着部と非貼着部とを検
知する光センサー出力信号X及び検知信号Zの出力タイ
ミングチャート図、 第4図(a)は、従来のラベル検知装置の構成図、 第4図(b)は、ラベル紙4の平面図、を示したもので
ある。
FIG. 1 is a circuit diagram of the label detection device of the present invention, FIG. 2 is an adjustment sequence flowchart showing an adjustment sequence of the label detection device, and FIG. FIG. 4 (a) is a configuration diagram of a conventional label detecting device, and FIG. 4 (b) is a label paper 4 in which the output timing of the optical sensor output signal X and the detection signal Z for detecting the sticking portion is detected. FIG.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】受光素子並びに発光素子よりなる光検出手
段と、 前記受光素子の出力信号をデジタル信号に変換し光セン
サー出力信号として出力するA/Dコンバータと、 記憶手段と、 台紙上にラベルが貼着されたラベル紙の通過光量を前記
光検出手段により検出し前記光センサー出力信号と前記
記憶手段に記憶された基準値とを比較することによりラ
ベル貼着部と非貼着部とを判別する判別手段とを有し、 前記基準値を調整可能であるラベル検知装置において、 基準値調整時に前記発光素子に流れる電流をレンジ毎に
設定した電流に段階的に切り換える電流切換手段と、 前記基準値調整時にラベル非貼着部を検出し、前記電流
切換手段のレンジをいったん最も低レンジに設定し、前
記受光素子の光センサー出力信号が4.0V以上の電圧にな
るまで1レンズずつ上昇させ、前記光センサー出力信号
が4.0V以上の電圧となった時点で発光素子駆動電流レン
ジを決定する電流設定手段と、 前記基準値調整時に前記発光素子駆動電流レンジにおけ
るラベル貼着部検出時の光センサー出力信号と非貼着部
検出時の光センサー出力信号の平均値を基準値として前
記記憶手段に設定する基準値設定手段とを有することを
特徴とするラベル検知装置。
1. A light detecting means comprising a light receiving element and a light emitting element; an A / D converter for converting an output signal of the light receiving element into a digital signal and outputting it as a light sensor output signal; a storage means; The label adhering part and the non-adhering part are detected by detecting the amount of light passing through the label paper to which the affixed label is applied by the light detecting means and comparing the optical sensor output signal with a reference value stored in the storage means. A label detection device having a determination means for determining, wherein the reference value can be adjusted; current switching means for changing a current flowing through the light emitting element in a stepwise manner to a current set for each range when the reference value is adjusted; Detect the label non-adhered part at the time of reference value adjustment, set the range of the current switching means to the lowest range once, until the light sensor output signal of the light receiving element becomes a voltage of 4.0 V or more. Current setting means for raising the lens by one lens and determining a light emitting element driving current range when the optical sensor output signal becomes a voltage of 4.0 V or more; and attaching a label in the light emitting element driving current range when adjusting the reference value. A label detecting device comprising: a reference value setting unit that sets an average value of an optical sensor output signal at the time of detecting a portion and an optical sensor output signal at the time of detecting a non-sticking portion as a reference value in the storage unit.
JP1159859A 1989-06-22 1989-06-22 Label detection device Expired - Fee Related JP2745027B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1159859A JP2745027B2 (en) 1989-06-22 1989-06-22 Label detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1159859A JP2745027B2 (en) 1989-06-22 1989-06-22 Label detection device

Publications (2)

Publication Number Publication Date
JPH0329733A JPH0329733A (en) 1991-02-07
JP2745027B2 true JP2745027B2 (en) 1998-04-28

Family

ID=15702788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1159859A Expired - Fee Related JP2745027B2 (en) 1989-06-22 1989-06-22 Label detection device

Country Status (1)

Country Link
JP (1) JP2745027B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06239329A (en) * 1993-02-04 1994-08-30 Osaka Sealing Insatsu Kk Label detection device
JP2001287719A (en) * 2000-04-07 2001-10-16 Sato Corp Printing apparatus and printing method
JP4994615B2 (en) * 2005-08-02 2012-08-08 オプテックスエフエー株式会社 Pattern inspection method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5925671U (en) * 1982-08-02 1984-02-17 富士写真フイルム株式会社 magnetic disk cartridge
JPS6023128A (en) * 1983-07-20 1985-02-05 東芝テック株式会社 Method of detecting label of label printer

Also Published As

Publication number Publication date
JPH0329733A (en) 1991-02-07

Similar Documents

Publication Publication Date Title
CN114674427A (en) Light sensing device capable of eliminating dark current
EP0809092B1 (en) Light sensing apparatus
JP2745027B2 (en) Label detection device
KR102239591B1 (en) Frequency detection circuit
JPS63311489A (en) Bar-code reader
JP3152582B2 (en) Card detection circuit
JP2980848B2 (en) Abnormality detection device for dust sensor for vacuum cleaner and control method therefor
CN218020855U (en) Label printer consumable state detection device and label printer
KR0145591B1 (en) Method and apparatus of temperature detecting by using thermofile sensor
JP3291221B2 (en) Voltage detection circuit
JP3186669B2 (en) Identification device
JPH06186090A (en) Thermal analog fire detector
CN110967297A (en) Optical detection system and calibration method thereof
JP2002168781A (en) Gloss sensor
JP2020148551A (en) Optical detector and optical encoder device
KR100240171B1 (en) Image processing device
JP2544913Y2 (en) Photoelectric switch
KR0149869B1 (en) Sensor value detection device of electronic equipment
JP2002176327A (en) Method and device for detecting excessive negative offset of sensor
JPH08152334A (en) Detector
KR0159236B1 (en) Method and device for sensing room temperature
KR950004007Y1 (en) Signal processor for driving a motor
KR960000522Y1 (en) Automatic adjustment sensor drive unit
CN116148190A (en) Film gray level detection circuit
JPS61187415A (en) Photoelectric switch

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080213

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090213

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees