JPH0577113B2 - - Google Patents

Info

Publication number
JPH0577113B2
JPH0577113B2 JP63205121A JP20512188A JPH0577113B2 JP H0577113 B2 JPH0577113 B2 JP H0577113B2 JP 63205121 A JP63205121 A JP 63205121A JP 20512188 A JP20512188 A JP 20512188A JP H0577113 B2 JPH0577113 B2 JP H0577113B2
Authority
JP
Japan
Prior art keywords
signal
analog signal
threshold value
barcode
comparator
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 - Lifetime
Application number
JP63205121A
Other languages
Japanese (ja)
Other versions
JPH0253190A (en
Inventor
Akio Nakasuji
Seiichiro Tamai
Keiichi Kobayashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63205121A priority Critical patent/JPH0253190A/en
Publication of JPH0253190A publication Critical patent/JPH0253190A/en
Publication of JPH0577113B2 publication Critical patent/JPH0577113B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明はPOS、物流、生産管理などで利用さ
れるバーコード検出装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a barcode detection device used in POS, logistics, production management, etc.

従来の技術 第3図イは従来の浮動2値化回路の具体回路を
示す。
Prior Art FIG. 3A shows a specific circuit of a conventional floating binarization circuit.

アナログ信号Aはコンパレータ1の反転入力に
入力される。また、アナログ信号Aはダイオード
3を通してコンデンサ4を充放電し、しきい値B
を発生する(ピーク・ホールド回路)。しきい値
Bはコンパレータ1の非反転入力Dに入力され
る。しきい値Bはダイオード3を通しているため
アナログ信号Aよりダイオードの不感帯分(約
0.6V)だけ信号の変化が遅れる。そのため、ア
ナログ信号Aがピークから不感帯分変化したとき
アナログ信号Aとしきい値Bが交差しコンパレー
タ1の出力がきり変わる。コンパレータ1の出力
はCPU・RAM等への入力のためデジタル部の電
源にプルアツプされている。そのため2値化信号
Cはデジタル電源電圧レベルできり変わる。2値
化信号Cがきり変わるとヒステリシス用抵抗5を
通じて非反転入力Dにヒステリシスがかかり2値
化信号Cが振動するのを防止している。第3図ロ
は、上記回路の信号波形を示す。
Analog signal A is input to the inverting input of comparator 1. In addition, analog signal A charges and discharges capacitor 4 through diode 3, and threshold value B
(peak hold circuit). The threshold value B is input to the non-inverting input D of the comparator 1. Threshold B is passed through diode 3, so it is smaller than analog signal A by the dead zone of the diode (approximately
The signal change is delayed by 0.6V). Therefore, when the analog signal A changes from the peak by the dead zone, the analog signal A and the threshold value B intersect, and the output of the comparator 1 changes. The output of comparator 1 is pulled up to the power supply of the digital section for input to the CPU, RAM, etc. Therefore, the binary signal C changes depending on the digital power supply voltage level. When the binary signal C changes, hysteresis is applied to the non-inverting input D through the hysteresis resistor 5 to prevent the binary signal C from vibrating. FIG. 3B shows signal waveforms of the above circuit.

このような2値化方式は、一般に浮動2値化方
式と呼ばれている。
Such a binarization method is generally called a floating binarization method.

発明が解決しようとする課題 しかしながら厳密にいうとアナログ信号Aとし
きい値Bが交差しているところで2値化信号Cが
きり変わるのではなくて、アナログ信号Aと非反
転入力Dが交差しているところで2値化信号Cが
きり変わる。また、非反転入力Dは2値化信号C
によりヒステリシスをかけられているためしきい
値Bよりも若干2値化信号Cよりの電位をとる。
そのためアナログ信号Aがデジタル電圧とグラン
ドの間にあるときはしきい値Bと非反転入力Dは
第4図のような関係になり、正確な2値化が行え
るが、それ以外にあるとき、例えば第5図のよう
にアナログ信号がデジタル電圧より高電位にある
ときは非反転入力Dとしきい値Bの関係は第5図
に示すように非反転入力Dは常にしきい値Bより
低電位にあるため2値化信号Cのハイレベルが細
めに、ローレベルが太めにでる。
Problems to be Solved by the Invention However, strictly speaking, the binary signal C does not change at the point where the analog signal A and the threshold value B intersect, but when the analog signal A and the non-inverting input D intersect. The binarized signal C changes depending on the location. In addition, the non-inverting input D is the binary signal C
Since hysteresis is applied, the potential is slightly higher than the threshold value B of the binarized signal C.
Therefore, when the analog signal A is between the digital voltage and ground, the threshold value B and the non-inverting input D have the relationship as shown in Figure 4, and accurate binarization can be performed. For example, when the analog signal is at a higher potential than the digital voltage as shown in Figure 5, the relationship between the non-inverting input D and the threshold value B is as shown in Figure 5, the non-inverting input D is always at a lower potential than the threshold value B. Therefore, the high level of the binary signal C appears narrower and the low level appears thicker.

また、しきい値Bの電位はヒステリシス用抵抗
を通して2値化信号Cに接続されているため、ダ
イオードがオフしている時は2値化信号Cの電位
に近づいてくる。第6図はスペースの反射率の悪
いバーコードを見た時の波形であるがスタートマ
ージンのところのアナログ信号Aの傾きが緩やか
であり、しきい値Bが2値化信号Cに近づく傾き
方がきついためしきい値Bと2値化信号Cが交差
しなくなりスタートマージン・1番目のバーが検
出できなくなる。
Further, since the potential of the threshold value B is connected to the binarized signal C through the hysteresis resistor, it approaches the potential of the binarized signal C when the diode is off. Figure 6 shows the waveform when looking at a barcode with poor space reflectivity, but the slope of analog signal A at the start margin is gentle, and the slope is such that threshold value B approaches binary signal C. Because the threshold value B and the binary signal C do not intersect, the start margin/first bar cannot be detected.

また、第7図のようにダイオードがオフしてい
る状態からオンした時にコンデンサに突入電流が
流れ込みアナログ信号Aが発振をし2値化信号C
に影響を与える。
Also, as shown in Figure 7, when the diode is turned on from the off state, a rush current flows into the capacitor, causing the analog signal A to oscillate and the binary signal C.
affect.

課題を解決するための手段 本発明のバーコード検出装置は、上記課題を解
決するために、バーコード読み取りによつて得ら
れたアナログ信号をピーク・ホールドするピー
ク・ホールド回路と、前記アナログ信号と前記ピ
ーク・ホールド回路のしきい値とを比較するコン
パレータを用いて、前記アナログ信号を2値化す
る浮動2値化回路を具備したバーコード検出装置
において、前記ピーク・ホールド回路のコンデン
サをバーコード読み取りに同期させ放電させる手
段を具備してなるものである。
Means for Solving the Problems In order to solve the above problems, the barcode detection device of the present invention includes a peak hold circuit that peak-holds an analog signal obtained by reading a barcode, and a peak hold circuit that peak-holds an analog signal obtained by reading a barcode. In a barcode detection device equipped with a floating binarization circuit that binarizes the analog signal using a comparator that compares the threshold value of the peak hold circuit with a threshold value of the peak hold circuit, the capacitor of the peak hold circuit is It is equipped with a means for discharging in synchronization with reading.

作 用 上記構成において、浮動2値化のピーク・ホー
ルド回路で使用しているコンデンサをバーコード
読み取り走査に同期させ放電させることにより、
2値化信号をローレベルに落とすことができ、反
射率の悪いスペースを持つバーコードであつても
スタートマージン、1番目のバーを認識すること
ができる。
Function In the above configuration, by discharging the capacitor used in the floating binarization peak hold circuit in synchronization with barcode reading scanning,
The binarized signal can be lowered to low level, and the start margin and first bar can be recognized even in barcodes with spaces with poor reflectance.

実施例 第1図は、本発明の一実施例を示すものであ
る。
Embodiment FIG. 1 shows an embodiment of the present invention.

アナログ信号Aはコンパレータ1の反転入力に
入力される。また、アナログ信号Aは突入電流防
止用抵抗2・ダイオード3を通してコンデンサ4
を充放電し、しきい値Bを発生する(ピーク・ホ
ールド回路)。しきい値Bはコンパレータ1の非
反転入力Dに入力される。しきい値Bはダイオー
ド3を通しているためアナログ信号Aよりダイオ
ードの不感帯分(約0.6V)だけ信号の変化が遅
れる。そのため、アナログ信号Aがピークから不
感帯分変化したときアナログ信号Aとしきい値B
が交差し、コンパレータ1の出力がきり変わる。
コンパレータ1の出力はコンパレータ1の電源に
プルアツプされちるため2値化信号Cはコンパレ
ータ1の電源電圧レベルできり変わる。2値化信
号Cがきり変わるとヒステリシス用抵抗5を通じ
て非反転入力Dにヒステリシスがかかり2値化信
号Cが振動するのを防止している。
Analog signal A is input to the inverting input of comparator 1. In addition, analog signal A is passed through inrush current prevention resistor 2 and diode 3 to capacitor 4.
is charged and discharged to generate threshold value B (peak hold circuit). The threshold value B is input to the non-inverting input D of the comparator 1. Since the threshold value B passes through the diode 3, the signal change is delayed from the analog signal A by the dead zone of the diode (approximately 0.6V). Therefore, when the analog signal A changes from the peak by the dead band, the analog signal A and the threshold value B
cross, and the output of comparator 1 changes.
Since the output of the comparator 1 is pulled up to the power supply of the comparator 1, the binary signal C changes depending on the power supply voltage level of the comparator 1. When the binary signal C changes, hysteresis is applied to the non-inverting input D through the hysteresis resistor 5 to prevent the binary signal C from vibrating.

また、バーコード読み取り走査に同期させてい
る同期信号Eにより放電部6がコンデンサ4を放
電し2値化信号Cをローレベルにする。
Further, the discharging section 6 discharges the capacitor 4 in response to the synchronization signal E synchronized with the barcode reading scan, and the binary signal C is brought to a low level.

なお、第2図は上記回路の要部の信号波形を示
す。
Incidentally, FIG. 2 shows signal waveforms of the main parts of the above circuit.

発明の効果 以上述べたように本発明は、浮動2値化のピー
ク・ホールド回路で使用しているコンデンサをバ
ーコード読み取り走査に同期させ放電させること
により、2値化信号をローレベルに落とすことが
でき、反射率の悪いスペースを持つバーコードで
あつてもスタートマージン、1番目のバーを認識
することができる。
Effects of the Invention As described above, the present invention lowers the binary signal to a low level by discharging the capacitor used in the peak hold circuit for floating binary conversion in synchronization with barcode reading scanning. This allows the start margin and first bar to be recognized even in barcodes with spaces with poor reflectivity.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すバーコード検
出装置の要部回路図、第2図は同要部の信号波形
図、第3図イは従来の回路図、第3図ロは同要部
の信号波形図、第4図から第7図は従来の回路に
おける各種信号波形図である。 1……コンパレータ、2……突入電流保護用抵
抗、3……ダイオード、4……コンデンサ、5…
…ヒステリシス抵抗、6……放電部。
Fig. 1 is a circuit diagram of the main part of a barcode detection device showing an embodiment of the present invention, Fig. 2 is a signal waveform diagram of the main part, Fig. 3A is a conventional circuit diagram, and Fig. 3B is the same. Signal waveform diagrams of main parts, FIGS. 4 to 7 are various signal waveform diagrams in conventional circuits. 1... Comparator, 2... Inrush current protection resistor, 3... Diode, 4... Capacitor, 5...
...Hysteresis resistance, 6...Discharge section.

Claims (1)

【特許請求の範囲】[Claims] 1 バーコード読み取りによつて得られたアナロ
グ信号をピーク・ホールドするピーク・ホールド
回路と、前記アナログ信号と前記ピーク・ホール
ド回路のしきい値とを比較するコンパレータを用
いて、前記アナログ信号を2値化する浮動2値化
回路を具備したバーコード検出装置において、前
記ピーク・ホールド回路のコンデンサをバーコー
ド読み取りに同期させ放電させる手段を具備した
バーコード検出装置。
1. Using a peak hold circuit that peak-holds an analog signal obtained by reading a barcode, and a comparator that compares the analog signal with a threshold value of the peak hold circuit, the analog signal is A barcode detection device comprising a floating binarization circuit for converting values into a value, the barcode detection device comprising means for discharging a capacitor of the peak hold circuit in synchronization with barcode reading.
JP63205121A 1988-08-18 1988-08-18 Bar code detector Granted JPH0253190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63205121A JPH0253190A (en) 1988-08-18 1988-08-18 Bar code detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63205121A JPH0253190A (en) 1988-08-18 1988-08-18 Bar code detector

Publications (2)

Publication Number Publication Date
JPH0253190A JPH0253190A (en) 1990-02-22
JPH0577113B2 true JPH0577113B2 (en) 1993-10-26

Family

ID=16501770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63205121A Granted JPH0253190A (en) 1988-08-18 1988-08-18 Bar code detector

Country Status (1)

Country Link
JP (1) JPH0253190A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5463211A (en) * 1993-05-07 1995-10-31 Spectra-Physics Scanning Systems, Inc. Method and apparatus for detecting transitions in a time sampled input signal
US6047894A (en) * 1993-05-07 2000-04-11 Spectra-Physics Scanning Systems, Inc. Signal conditioning for variable focus optical reader
US6343741B1 (en) 1995-10-26 2002-02-05 Psc Scanning, Inc. Method and apparatus for detecting transitions in an input signal

Also Published As

Publication number Publication date
JPH0253190A (en) 1990-02-22

Similar Documents

Publication Publication Date Title
US5210397A (en) Differentiating and integrating circuit for translating bar code signals into corresponding pulses
US4893076A (en) Proximity detector using inductive effect on oscillating circuit the charge of which is controlled by a pulse of short duration
EP0831592A1 (en) Chopper comparator showing high speed and low power operations free of malfunction under variation of logical threshold voltage of invertor
JPH0577113B2 (en)
JPS55109968A (en) Frequency decision circuit
US4845379A (en) Sense circuit for detecting absence of a pulse train
EP0582289B1 (en) Transistor circuit for holding peak/bottom level of signal
US4965692A (en) Overload detector and protection circuit
US6005381A (en) Electrical signal phase detector
JP3113775B2 (en) Binarization circuit
JPH0434674A (en) Binarizing circuit
KR950001131Y1 (en) Pulse edge delay circuit
SU1721804A1 (en) Control pulse driver
JP2642950B2 (en) Semiconductor integrated circuit
CN117146974A (en) Light intensity detection circuit and detection method
JPH0153542B2 (en)
JPH02247787A (en) Photodetecting circuit
CA2112316A1 (en) Reset circuit
JPS642541Y2 (en)
KR920001885B1 (en) Zero-crossing detector of ring signal
JPH03194475A (en) Envelope circuit
TW350050B (en) Input voltage auto-comparison circuit for mouses and the method
JPS60137063A (en) Gate triggering device of thyristor
JPH0247892B2 (en)
JPS58213563A (en) Circuit for digitizing video signal

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081026

Year of fee payment: 15

EXPY Cancellation because of completion of term