JPH0152933B2 - - Google Patents

Info

Publication number
JPH0152933B2
JPH0152933B2 JP55038065A JP3806580A JPH0152933B2 JP H0152933 B2 JPH0152933 B2 JP H0152933B2 JP 55038065 A JP55038065 A JP 55038065A JP 3806580 A JP3806580 A JP 3806580A JP H0152933 B2 JPH0152933 B2 JP H0152933B2
Authority
JP
Japan
Prior art keywords
circuit
waveform
envelope
slice level
analog signal
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
Application number
JP55038065A
Other languages
Japanese (ja)
Other versions
JPS56134825A (en
Inventor
Shunji Kitagawa
Hiroyuki Ikeda
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3806580A priority Critical patent/JPS56134825A/en
Publication of JPS56134825A publication Critical patent/JPS56134825A/en
Publication of JPH0152933B2 publication Critical patent/JPH0152933B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 本発明は直流レベルが変動するアナログ信号を
2値化する回路に係り、特にスライスレベルを基
準にしてエンベロープ信号を発生させるように改
良した2値化回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a circuit for binarizing an analog signal whose DC level varies, and more particularly to a binarizing circuit improved to generate an envelope signal based on a slice level.

レーザ光走査などを用いて光スポツトを移動さ
せて反射光を光電変換して光学的バーコードを読
み取る一般的光学読取装置では、入力したアナロ
グ信号の黒レベル側エンベロープと白レベル側エ
ンベロープを形成しその両エンベロープ信号の中
点レベルをスライスレベルとして2値化する方式
が使われている。
In general optical reading devices that read optical barcodes by moving a light spot using laser beam scanning or the like and photoelectrically converting the reflected light, a black level envelope and a white level envelope are formed for the input analog signal. A method is used in which the midpoint level of both envelope signals is used as a slice level for binarization.

この様な装置では光学的バーコードを記録した
媒体とレーザ光走査装置の読取り窓との距離はオ
ペレータにより差があるため極力媒体レーザ光走
査装置の読取り窓との距離の差による入力波形の
相違をなくすようレーザ光走査装置の読取り窓の
光スポツトの焦点深度を長くすることになる。そ
こで、光スポツト径は大きくなる傾向となる。し
たがつて、光学的バーコードの黒色部の幅が極端
に広い場合と狭い場合では入力波形の振幅の差が
大きくなり、特に微少となつた際は従来の中点を
スライスレベルとして2値化する方法では限界が
あつた。そこで、入力波形をエンベロープしても
前記のように光学的バーコードの黒色部の幅広、
幅狭とかオペレータの取り扱いによるレーザ光走
査装置の読取り窓と記録媒体の距離とか、光学的
バーコードの印字濃度などにより入力波形の振幅
が小さく又は周期が長くなつた場合の微少変化に
対する2値化は限界があり、スライスレベルを用
いて判別できない場合は2値化できなくなる問題
があつた。
In such devices, the distance between the medium on which the optical barcode is recorded and the reading window of the laser beam scanning device varies depending on the operator, so we try to avoid differences in input waveforms due to the difference in distance between the medium and the reading window of the laser beam scanning device. In order to eliminate this, the depth of focus of the light spot of the reading window of the laser beam scanning device is lengthened. Therefore, the optical spot diameter tends to increase. Therefore, when the width of the black part of an optical barcode is extremely wide and narrow, the difference in the amplitude of the input waveform becomes large, and when the width becomes extremely small, the conventional midpoint is used as the slice level for binarization. There were limits to this method. Therefore, even if the input waveform is enveloped, the black part of the optical barcode is wide and
Binarization for minute changes when the amplitude of the input waveform is small or the period is long due to narrow width, the distance between the reading window of the laser beam scanning device and the recording medium due to operator handling, the printing density of an optical bar code, etc. However, there was a problem that binarization could not be performed if the slice level could not be used for discrimination.

本発明の目的は上記問題点を除去することであ
り、かゝる直流レベルが変動するアナログ信号を
2値化する回路において、スライスレベルの電位
を該両エンベロープ回路に定常電位として入力す
ることにより、該定常電位回路の出力を基準にエ
ンベロープ波形を形成せしめるようにした2値化
回路により達成される。
The purpose of the present invention is to eliminate the above-mentioned problems by inputting a slice level potential to both envelope circuits as a steady potential in a circuit that binarizes an analog signal whose DC level fluctuates. This is achieved by a binarization circuit that forms an envelope waveform based on the output of the steady potential circuit.

以下本発明を添付図面を参考に詳細に説明す
る。第1図は従来の2値化方式の回路構成を示し
たブロツク図である。アナログ信号aを増幅回路
1に入力し、増幅したアナログ信号をエンベロー
プ回路2A,2Bとコンパレータ回路4に接続す
る。エンベロープ回路2Aは正側エンベロープ波
形を発生しエンベロープ回路2Bは負側エンベロ
ープ波形を発生し、スライスレベル発生回路3に
出力する。スライスレベル発生回路3は正側、負
側エンベロープの中点を検出して、スライスレベ
ルとしてコンパレータ回路4に入力する。そこで
コンパレータ回路4はスライスレベルとアナログ
信号aの増幅波形とを比較して、デジタル信号b
を出力させていた。しかし、アナログ信号aの波
形が大きな振幅の場合は問題ないが、振幅の小さ
い信号の場合はエンベロープ波形の放電部と被ス
ライス信号とが重なり合うこととなりスライスレ
ベルと被スライス信号が重なりコンパレータ回路
4で判別できない場合が生じてくる。したがつ
て、この場合は読取装置では誤つた変換信号とな
るか又は判続不能と言うハングアツプ状態になる
問題があつた。
The present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing the circuit configuration of a conventional binarization method. An analog signal a is input to an amplifier circuit 1, and the amplified analog signal is connected to envelope circuits 2A, 2B and a comparator circuit 4. The envelope circuit 2A generates a positive envelope waveform, and the envelope circuit 2B generates a negative envelope waveform, which are output to the slice level generation circuit 3. The slice level generation circuit 3 detects the midpoint of the positive and negative envelopes and inputs it to the comparator circuit 4 as a slice level. Therefore, the comparator circuit 4 compares the slice level with the amplified waveform of the analog signal a, and calculates the digital signal b.
was outputting. However, if the waveform of the analog signal a has a large amplitude, there is no problem, but if the signal has a small amplitude, the discharge part of the envelope waveform and the sliced signal overlap, and the slice level and the sliced signal overlap, and the comparator circuit 4 There will be cases where it cannot be determined. Therefore, in this case, there was a problem that the reading device would receive an erroneous converted signal or would be in a hang-up state where the reading device could not read the signals.

第2図は本発明の一実施例による回路構成を示
したブロツク図である。第1図で説明した回路構
成に新たに定常電位回路5を設けたもので、定常
電位回路5はスライスレベル発生回路4のスライ
スレベルを入力、保持し、そのスライスレベルを
エンベロープ回路2A,2Bに出力する。この場
合の定常電位回路5は、例えば、アンプ回路と積
分回路とより成り、アンプ回路の正側入力端子に
スライスレベルを入力させ、負側入力端子と出力
端子とを短絡させ、出力インピーダンスを下げ、
更に、そのアンプ回路の前後にレベル変動を抑止
する積分回路を備えることで定常電位の送出を行
うように、バツフア機能を有するように形成され
たものである。エンベロープ回路2A,2Bはこ
のスライスレベルを基準にエンベロープ波形を形
成するようにした回路構成である。したがつて、
微少な変化のアナログ信号aの波形でもエンベロ
ープ波形の放電部は被スライス信号と重なり合う
ことはなくなり、コンパレータ回路4で従来のよ
うな誤変換または判別不能のケースは解消され
る。尚エンベロープ回路2A,2Bで反転させる
方式を用いた場合はコンパレータ回路4に入力す
る際反転回路(点線で表示した)を設けることで
同一機能を得ることができる。第3図は本発明に
用いられる定常電位の説明図である。スライスレ
ベルCを基準としてアナログ信号の波形Aをそれ
ぞれ正側エンベロープ波形D及び負側エンベロー
プ波形Eを形成するようにし、このスライスレベ
ルCを定常電位としたものである。aはアナログ
信号の波形Aの振幅が大きい場合、bはアナログ
信号の波形Aの振幅が小さい場合を示したもので
ある。このように定常電位Cを基準としたエンベ
ロープ波形D,Eは点線で示したD′,E′の曲率を
保つているため、定常電位Cに接近しても重なる
ことはない。
FIG. 2 is a block diagram showing a circuit configuration according to an embodiment of the present invention. A steady potential circuit 5 is newly added to the circuit configuration explained in FIG. Output. In this case, the steady-state potential circuit 5 is composed of, for example, an amplifier circuit and an integrating circuit, and inputs a slice level to the positive input terminal of the amplifier circuit, shorts the negative input terminal and output terminal, and lowers the output impedance. ,
Furthermore, it is formed to have a buffer function so as to transmit a steady potential by providing an integrating circuit for suppressing level fluctuations before and after the amplifier circuit. The envelope circuits 2A and 2B have a circuit configuration that forms an envelope waveform based on this slice level. Therefore,
Even when the waveform of the analog signal a has a slight change, the discharge part of the envelope waveform no longer overlaps with the signal to be sliced, and the conventional cases of erroneous conversion or inability to discriminate in the comparator circuit 4 are eliminated. Note that when using a method of inverting the signal using the envelope circuits 2A and 2B, the same function can be obtained by providing an inverting circuit (indicated by a dotted line) when inputting to the comparator circuit 4. FIG. 3 is an explanatory diagram of steady-state potential used in the present invention. The waveform A of the analog signal is configured to form a positive envelope waveform D and a negative envelope waveform E, respectively, with slice level C as a reference, and this slice level C is set as a steady potential. A shows the case where the amplitude of the analog signal waveform A is large, and b shows the case where the amplitude of the analog signal waveform A is small. In this way, since the envelope waveforms D and E based on the steady potential C maintain the curvatures of D' and E' shown by the dotted lines, they do not overlap even if they approach the steady potential C.

第4図は波形の説明図で、aは従来、bは本発
明による波形の説明図である。aに示すように従
来ではアナログ信号の波形の振幅の大きい波形A
振幅の小さい波形A′をそれぞれ正側エンベロー
プ波形D,D′にし負側エンベロープ波形E,E′に
して中点であるスライスレベルC,C′を決める。
しかし、振幅の小さい波形A′の場合は被スライ
ス信号C′とエンベロープ波形D′,E′の放電部とが
重なる箇所ができる。したがつて、デイジタル信
号に変換した波形はB′,B′となり、2値化した
い理想波形はそれぞれF,F′波形であるため、振
幅の大きい波形Aの場合は満足すべき変換が行え
るが、振幅の小さい波形A′の場合は波形B′とな
り、理想とする交換はできなかつた。bに示すよ
うに本発明ではアナログ信号の波形の振幅の大き
い波形Aでも振幅の小さい波形A′でも、エンベ
ロープ波形の放電部D,D′,E,E′は被スライス
信号C,C′と重なることはない。したがつて、デ
イジタル信号に変換した波形B,B′は共に2値
化したい理想波形FF′と同じになり満足すべきア
ナログ信号の2値化変換が行える。
FIG. 4 is an explanatory diagram of waveforms, where a is an explanatory diagram of a conventional waveform and b is an explanatory diagram of a waveform according to the present invention. As shown in a, conventionally, the waveform A of the analog signal has a large amplitude.
Waveform A' with small amplitude is made into positive envelope waveforms D and D', respectively, and negative envelope waveforms E and E' to determine slice levels C and C', which are midpoints.
However, in the case of the waveform A' having a small amplitude, there is a portion where the sliced signal C' and the discharge portions of the envelope waveforms D' and E' overlap. Therefore, the waveforms converted to digital signals are B' and B', and the ideal waveforms to be binarized are F and F', respectively, so in the case of waveform A with a large amplitude, satisfactory conversion can be performed. , in the case of waveform A' with small amplitude, it becomes waveform B', and the ideal exchange could not be achieved. As shown in Fig. b, in the present invention, whether the analog signal waveform is waveform A with a large amplitude or waveform A' with a small amplitude, the discharge parts D, D', E, and E' of the envelope waveform are connected to the sliced signals C and C'. There will be no overlap. Therefore, the waveforms B and B' converted into digital signals are both the same as the ideal waveform FF' which is desired to be binarized, so that satisfactory binarization conversion of the analog signal can be performed.

以上説明したように本発明はアナログ信号aの
エンベロープをスライスレベルCを基準に行うよ
うにすることで、振幅の大小にかゝわらず、確実
な2値化が行なえるため、光学的読取装置などに
適用すれば、従来のようにバーコードの白黒部の
幅の大小レーザ光走査装置の読取り窓と媒体の距
離、バーコードの印字濃度などによる障害は解消
する。したがつて、バーコードの判続範囲が広く
なり、しかも、正確に読み取ることができる利点
がある。
As explained above, in the present invention, by enveloping the analog signal a based on the slice level C, reliable binarization can be performed regardless of the amplitude. If this method is applied to a variety of applications, such as the conventional problems caused by the width of the black and white portion of the barcode, the distance between the reading window of the laser beam scanning device and the medium, and the print density of the barcode, etc., will be eliminated. Therefore, there is an advantage that the barcode can be read over a wide range and can be read accurately.

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

第1図は従来の回路構成を示すブロツク図、第
2図は本発明による回路構成を示すブロツク図、
第3図、第4図は本発明による波形説明図であ
る。 図において、1…増幅回路、2A,2B…エン
ベロープ回路、3…スライスレベル発生回路、4
…コンパレータ回路、5…定常電位回路を示す。
FIG. 1 is a block diagram showing a conventional circuit configuration, FIG. 2 is a block diagram showing a circuit configuration according to the present invention,
3 and 4 are waveform explanatory diagrams according to the present invention. In the figure, 1... amplifier circuit, 2A, 2B... envelope circuit, 3... slice level generation circuit, 4
. . . comparator circuit, 5 . . . steady potential circuit.

Claims (1)

【特許請求の範囲】 1 入力波形をエンベロープ波形にする一対の正
側及び負側エンベロープ回路と、該両エンベロー
プ回路の出力の中間点をスライスレベルとして出
力するスライスレベル発生回路と、コンパレータ
回路とを備え、該コンパレータ回路を用いて、該
入力波形と該スライスレベルとを比較してアナロ
グ信号を2値化する回路であつて、 該スライスレベルの電位を該両エンベロープ回
路の定常電位として入力するよう該スライスレベ
ルの電位を保持する定常電位回路が具備されるこ
とを特徴とする2値化回路。
[Claims] 1. A pair of positive side and negative side envelope circuits that convert an input waveform into an envelope waveform, a slice level generation circuit that outputs the midpoint between the outputs of the two envelope circuits as a slice level, and a comparator circuit. A circuit that binarizes an analog signal by comparing the input waveform and the slice level using the comparator circuit, and inputs the potential of the slice level as a steady potential of both envelope circuits. A binarization circuit comprising a steady potential circuit that holds a potential at the slice level.
JP3806580A 1980-03-25 1980-03-25 Binary circuit Granted JPS56134825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3806580A JPS56134825A (en) 1980-03-25 1980-03-25 Binary circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3806580A JPS56134825A (en) 1980-03-25 1980-03-25 Binary circuit

Publications (2)

Publication Number Publication Date
JPS56134825A JPS56134825A (en) 1981-10-21
JPH0152933B2 true JPH0152933B2 (en) 1989-11-10

Family

ID=12515085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3806580A Granted JPS56134825A (en) 1980-03-25 1980-03-25 Binary circuit

Country Status (1)

Country Link
JP (1) JPS56134825A (en)

Also Published As

Publication number Publication date
JPS56134825A (en) 1981-10-21

Similar Documents

Publication Publication Date Title
AU600889B2 (en) Reading circuit in an optical disc apparatus
JPS62293816A (en) Signal amplifier circuit
JPS6260074A (en) Bar code scanner
JPH0152933B2 (en)
US4829499A (en) Processing of a detection signal obtained by scanning an optical disk
JPS63165979A (en) Barcode signal binary conversion circuit
JP2716298B2 (en) Barcode signal binarization device
JP2517661B2 (en) Binarization device
KR950020296A (en) Optical reader
JPH0458095B2 (en)
JPH0570965B2 (en)
JPS6145415A (en) Reading circuit of optical storage device
JPH02187926A (en) Optical recording medium driver
JP2650198B2 (en) Magnetic media reader
JPS60157677A (en) Amplifier circuit system of bar code reader
JP3106272B2 (en) Information conversion method
JPS5929421Y2 (en) Image information reading device
JPS60157376A (en) Video signal processing circuit
JPS61193274A (en) Bar code reader
JP3907317B2 (en) Transmission waveform conversion receiver circuit
SU1674260A1 (en) Bubbles reader
JPS5856574A (en) Signal binarizing circuit
JPH02193364A (en) Storage information reproducing device
JPS63226789A (en) Barcode detection device
JPH01171161A (en) Optical information recording and reproducing device