[go: up one dir, main page]

JPS6129078Y2 - - Google Patents

Info

Publication number
JPS6129078Y2
JPS6129078Y2 JP1980085883U JP8588380U JPS6129078Y2 JP S6129078 Y2 JPS6129078 Y2 JP S6129078Y2 JP 1980085883 U JP1980085883 U JP 1980085883U JP 8588380 U JP8588380 U JP 8588380U JP S6129078 Y2 JPS6129078 Y2 JP S6129078Y2
Authority
JP
Japan
Prior art keywords
level
signal
circuit
input signal
delayed
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
JP1980085883U
Other languages
Japanese (ja)
Other versions
JPS5710063U (en
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 filed Critical
Priority to JP1980085883U priority Critical patent/JPS6129078Y2/ja
Publication of JPS5710063U publication Critical patent/JPS5710063U/ja
Application granted granted Critical
Publication of JPS6129078Y2 publication Critical patent/JPS6129078Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Description

【考案の詳細な説明】 この考案は、アナログ変動成分を含んで2レベ
ル間を比較的急峻に変化する入力信号を受けて、
そのレベル変化点を検出する回路に関する。
[Detailed description of the invention] This invention receives an input signal that includes an analog fluctuation component and changes relatively steeply between two levels.
This invention relates to a circuit that detects the level change point.

例えばバーコードリーダにおいて、撮像装置か
ら出力されるバーコードの映像信号は、第1図に
示すように、バーコードの白黒に対応して高低2
レベル間を比較的急峻に変化する信号となるが、
その2レベルは一定ではなく、種々の撮影条件に
よつてアナログ的に変化する。例えば、光源照度
の変動に応じて白レベルと黒レベルは増減し、特
に、バーコードの撮影コントラストの変動に応じ
て白レベルと黒レベルの差(振幅)が変動する。
このようにアナログ変動成分を含む映像信号を2
値化するのに、単純に一定レベルのしきい値と比
較する方式は採用できず、一部では、映像信号の
レベル変化点(立上り、立下り)を検出して、そ
の検出信号から直接あるいは間接的に2値化する
方式が考案されている。
For example, in a barcode reader, the barcode video signal output from the imaging device is divided into high and low levels corresponding to the black and white of the barcode, as shown in Figure 1.
The signal changes relatively sharply between levels, but
The two levels are not constant and change in an analog manner depending on various photographing conditions. For example, the white level and the black level increase or decrease in response to variations in light source illuminance, and in particular, the difference (amplitude) between the white level and the black level varies in response to variations in the photographing contrast of a barcode.
In this way, the video signal containing the analog fluctuation component is
In order to convert into a value, it is not possible to adopt a method of simply comparing it with a threshold value of a certain level, and some methods detect the level change points (rising, falling) of the video signal and directly or A method of indirect binarization has been devised.

上記のごとき映像信号の変化点を検出するの
に、抵抗、コンデンサあるいはコイルを組合わせ
た微分回路による方式が簡単であるが、これは極
めてノイズに弱く、誤検出を生じ易い。
A simple method for detecting the change point of a video signal as described above is to use a differentiating circuit that combines a resistor, a capacitor, or a coil, but this is extremely susceptible to noise and is prone to erroneous detection.

また従来、第2図に示す変化点検出回路が知ら
れている。これは、入力端子INに印加される映
像信号VAを比較器1に直接入力するとともに、
抵抗3と定電流源4とで決定される一定電圧VO
を減算(レベルシフト)した信号VA−VOを比較
器2に入力する。また、映像信号VAを遅延回路
5で一定時間遅延し(この遅延回路5の利得は1
で入出力のレベル変化はない)、その遅延した信
号V′Aを比較器2に直接入力するとともに、抵抗
6と定電流源4とで決定される一定電圧VOを減
算(レベルシフト)した信号V′A−VOを比較器
1に入力する。ここで映像信号VAの高レベルの
電圧をVAH、低レベルの電圧をVALと表わす。す
ると、映像信号VAが高レベルVAHから低レベル
ALに立下がる前後において、比較器1の2入力
は第3a図に示すように変化し、実線で示す映像
信号VAと、点線で示す遅延されレベルシフトさ
れた信号V′A−VOのレベルが立下がり直線でVA
<V′A−VOとなり、比較器1から立下がり検出
信号が出力される。同様に、映像信号VAが低レ
ベルVALから高レベルVAHに立上がる前後におい
て、比較器2の2入力は第3b図に示すように変
化し、実線で示すレベルシフトされた映像信号V
A−VOと、点線で示す遅延された信号V′Aのレベ
ルが立上がり直後でVA−VO>V′Aとなり、比較
器2から立上がり検出信号が出力される。
Further, a change point detection circuit shown in FIG. 2 is conventionally known. This inputs the video signal V A applied to the input terminal IN directly to the comparator 1, and
Constant voltage V O determined by resistor 3 and constant current source 4
A signal V A −V O obtained by subtracting (level shifting) is input to the comparator 2. In addition, the video signal V A is delayed for a certain period of time by a delay circuit 5 (the gain of this delay circuit 5 is 1).
(there is no input/output level change), the delayed signal V′ A is input directly to the comparator 2, and a constant voltage V O determined by the resistor 6 and constant current source 4 is subtracted (level shifted). The signal V' A -V O is input to the comparator 1. Here, the high level voltage of the video signal V A is expressed as V AH and the low level voltage is expressed as V AL . Then, before and after the video signal V A falls from the high level V AH to the low level V AL , the two inputs of the comparator 1 change as shown in FIG. 3a, and the video signal V A shown by the solid line and the dotted line The level of the delayed and level-shifted signal V′ A −V O shown in FIG .
<V' A -V O , and the comparator 1 outputs a falling detection signal. Similarly, before and after the video signal V A rises from the low level V AL to the high level V AH , the two inputs of the comparator 2 change as shown in FIG. 3b, and the level-shifted video signal V shown by the solid line changes.
Immediately after the levels of A -V O and the delayed signal V' A shown by the dotted line rise, V A -V O >V' A , and the comparator 2 outputs a rising detection signal.

上記の説明から明らかなように、上記従来の変
化点検出回路にあつては、映像信号VAが高レベ
ルVAHと低レベルVALの間をある値以上の急峻な
傾きをもつて変化し、しかもその間のレベル差V
AH−VALが、VAH−VAL>VOであるときに比較
器1,2にてその変化点が検出される。ここでレ
ベルシフト電圧VOの値は非常に大きな意味をも
つ。つまり、シフト電圧VOが小さいと、検出感
度が高くなり、撮影系の光源照度が低くて映像の
コントラストが低い場合には適当であつても、光
源照度が高くて映像のコントラストも高い場合に
対しては、必要以上に感度が高いことになり、バ
ーコードの汚れ等に起因する映像信号VAの不要
な変動(ノイズ)をレベル変化として誤検出する
可能性が高くなる。反対に、シフト電圧VOが大
きいと、ノイズに対して強く、映像のコントラス
トが高い場合には適当であつても、映像のコント
ラストが低くなると、レベル変化点を検出できな
くなる。このように、従来の回路では広い範囲に
亙つて常に適切な感度でレベル変化点を検出する
ことができなかつた。
As is clear from the above explanation, in the conventional change point detection circuit described above, the video signal V A changes between the high level V AH and the low level V AL with a steep slope exceeding a certain value. , and the level difference between them V
When AH - V AL is V AH -V AL >V O , the comparators 1 and 2 detect the change point. Here, the value of the level shift voltage V O has a very significant meaning. In other words, when the shift voltage V O is small, the detection sensitivity is high, and although it is appropriate when the light source illuminance of the shooting system is low and the image contrast is low, it is suitable when the light source illuminance is high and the image contrast is high. In this case, the sensitivity is higher than necessary, and there is a high possibility that unnecessary fluctuations (noise) in the video signal V A caused by dirt on the bar code or the like will be erroneously detected as a level change. On the other hand, if the shift voltage V O is large, it is strong against noise and is suitable when the contrast of the image is high, but when the contrast of the image becomes low, it becomes impossible to detect the level change point. As described above, the conventional circuit cannot always detect level change points with appropriate sensitivity over a wide range.

この考案は上記従来の欠点を解消すべくなされ
たもので、例えば光源照度や映像コントラストの
変化に追随して自動的に検出感度が変化し、広い
範囲に亙つてノイズの影響の少ない正確な検出動
作が得られるようにした変化点検出回路を提供す
るものである。
This idea was developed to eliminate the above-mentioned drawbacks of the conventional technology. For example, the detection sensitivity automatically changes according to changes in light source illuminance and image contrast, allowing accurate detection over a wide range with less noise influence. The object of the present invention is to provide a change point detection circuit that is operable.

以下、この考案の実施例を図に基づいて詳細に
説明する。
Hereinafter, embodiments of this invention will be described in detail based on the drawings.

第4図はこの考案による変化点検出回路を示
す。上述のように、アナログ変動成分を含み、高
レベルVAHと低レベルALとの間を比較的急峻にレ
ベル変化する映像信号VA(入力信号)が入力端
子INに印加される。この映像信号VAは比較器1
に直接入力される一方、接地電位間に直列接続さ
れた分圧抵抗R1,R2にて1/n(nは1以上
の正数)に減衰させるとともに、これら抵抗R
1,R2と定電流源4によつて決定される一定電
圧Vmを減算(レベルシフト)され、その結果得
られる信号1/n・VA−Vmが比較器2に入力され る。
FIG. 4 shows a change point detection circuit according to this invention. As described above, the video signal V A (input signal) that includes an analog fluctuation component and whose level changes relatively sharply between the high level V AH and the low level AL is applied to the input terminal IN. This video signal V A is the comparator 1
While it is directly input to the ground potential, it is attenuated to 1/n (n is a positive number of 1 or more) by voltage dividing resistors R1 and R2 connected in series between the ground potentials, and these resistors R
1, R2 and a constant voltage Vm determined by the constant current source 4 is subtracted (level shifted), and the resulting signal 1/n·V A -Vm is input to the comparator 2.

また、映像信号VAは遅延回路5にて一定時間
遅延される。この遅延回路5の利得は1で入出力
のレベル変化はない。ここで遅延された信号V′A
は比較器2に直接入力される一方、分圧抵抗R
3,R4にて1/nに減衰されるとともに、これ
ら抵抗R3,R4と定電流源7によつて決定され
る一定電圧Vmを減算され、その結果得られる信
号1/n・V′A−Vmが比較器1に入力される。なお、 R1=R3,R2=R4で、定電流源7と7は同
じものである。
Further, the video signal V A is delayed by a delay circuit 5 for a certain period of time. The gain of this delay circuit 5 is 1, and there is no change in input/output level. Here the delayed signal V′ A
is input directly to comparator 2, while voltage dividing resistor R
3 and R4, and the constant voltage Vm determined by these resistors R3 and R4 and the constant current source 7 is subtracted, and the resulting signal is 1/n·V' A − Vm is input to comparator 1. Note that R1=R3, R2=R4, and the constant current sources 7 and 7 are the same.

以上の構成において、映像信号VAが高レベル
AHから低レベルVALに立下がる前後では、比較
器1の2入力は第5a図に示すように変化し、実
線で示す映像信号VAと、点線で示す遅延されか
つ減衰およびシフトされた信号1/nV′A−Vmとのレ ベル関係が、信号VAの立下がり直後にてVA<1/n V′A−Vmとなり、比較器1から立下がり検出信
号が出力される。
In the above configuration, before and after the video signal V A falls from the high level V AH to the low level V AL , the two inputs of the comparator 1 change as shown in FIG. 5a, and the video signal V A shown by the solid line changes. , the level relationship with the delayed, attenuated and shifted signal 1/nV' A -Vm shown by the dotted line becomes V A <1/n V' A -Vm immediately after the fall of the signal V A , and the comparator A falling detection signal is output from 1.

同様に、映像信号VAが低レベルVALから高レ
ベルVAHに立上がる前後において、比較器2の2
入力は第5図に示すように変化し、実線で示す信
号VAが減衰およびレベルシフトされた信号1/nVA −Vmと、遅延された信号V′Aとのレベル関係
が、映像信号VAの立上がり直後にて、V′A<1/n・ VA−Vmとなり、比較器2から立上がり検出信
号が出力される。
Similarly, before and after the video signal V A rises from the low level V AL to the high level V AH , the comparator 2
The input changes as shown in FIG. 5, and the level relationship between the signal 1/nV A -Vm, which is the attenuated and level-shifted signal V A shown by the solid line, and the delayed signal V' A is the video signal V Immediately after A rises, V' A <1/n·V A -Vm, and the comparator 2 outputs a rising detection signal.

第5a図および第5b図から明らかなように、
映像信号VAが高レベルVAHと低レベルVAL間を
変化する際に、その傾きが充分急峻であること
と、 1/nVAHVm>VAL つまり、VAH−VAL>(1−1/n)VAH+Vmであ れば正しくその変化点が検出される。ここで検出
感度を決めている(1−1/n)VAHの値は、映像信 号VAの高レベル電圧VAHに比例して変化するの
で、検出感度は光源照度や映像コントラストによ
る映像信号VAの変動に追随して変化する。
As is clear from FIGS. 5a and 5b,
When the video signal V A changes between the high level V AH and the low level V AL , the slope is sufficiently steep, and 1/nV AH Vm>V AL , that is, V AH −V AL >(1− 1/n) V AH +Vm, the point of change is correctly detected. The value of (1-1/n)V AH , which determines the detection sensitivity here, changes in proportion to the high level voltage V AH of the video signal V A , so the detection sensitivity depends on the video signal depending on the light source illuminance and video contrast. It changes following the fluctuation of V A.

つまり、光源照度が低くて映像コントラストも
低くなると、VAHが低いとともにVAHもVALも小
さくなり、この場合は(1−1/n)VAH+Vmの値 が小さくなり、従つて検出感度が自動的に高くな
り、映像信号VAのレベル変化を高感度に検出す
ることになる。また、光源照度が高くて映像コン
トラストも高くなると、VAHが高くなるとともに
AH−VALも大きくなり、この場合は(1−1/n) VAH+Vmの値が大きくなり、従つて検出感度が
自動的に低くなり、映像信号VAのノイズ等によ
る不要な変動に影響されずに、信頼性の高い検出
動作を行なうことができるのである。
In other words, when the light source illuminance is low and the image contrast is low, V AH is low, and both V AH and V AL are also small. In this case, the value of (1-1/n) V AH + Vm is small, and therefore the detection sensitivity is automatically becomes high, and changes in the level of the video signal V A can be detected with high sensitivity. Furthermore, when the light source illuminance is high and the image contrast is high, V AH becomes high and V AH - V AL also becomes large. In this case, the value of (1-1/n) V AH + Vm becomes large, and therefore the detection The sensitivity is automatically lowered, making it possible to perform highly reliable detection operations without being affected by unnecessary fluctuations due to noise or the like in the video signal VA .

次にこの考案の他の実施態様について説明す
る。上記実施例では信号を1/nに減衰させるの
に加えて、定電流源によりレベルシフトを行なつ
ているが、これはVAHが零に近くなつたとき必要
以上に感度が上昇するのを防止するためで、場合
によつてはこのレベルシフトを行なわなくても良
い。また上記実施例では、抵抗R2,R4の一端
を接地電位に接続しているが、必要に応じてこの
点に適宜な一定電圧を印加しても良い。また上記
実施例では、映像信号VAと、これを遅延した信
号V′Aのいずれか一方を所定比率で減衰させ、他
方とレベル比較しているが、いずれか一方を所定
比率で増幅し、他方と比較しても同様である。さ
らに、以上の説明はバーコードリーダにおけるバ
ーコードの映像信号を例としているが、その他の
各種アナログ入力信号を取扱うことができるのは
勿論である。また必要に応じては、立上がりか立
下がりのいずれか一方を検出するものでも良い。
Next, other embodiments of this invention will be described. In the above embodiment, in addition to attenuating the signal to 1/n, a constant current source is used to shift the level, but this prevents the sensitivity from increasing more than necessary when V AH approaches zero. This is to prevent this, and in some cases, it may not be necessary to perform this level shift. Further, in the embodiment described above, one ends of the resistors R2 and R4 are connected to the ground potential, but an appropriate constant voltage may be applied to this point if necessary. Furthermore, in the above embodiment, either the video signal V A or the delayed signal V′ A is attenuated at a predetermined ratio and the level is compared with the other, but either one is amplified at a predetermined ratio, The same is true when comparing with the other one. Furthermore, although the above description uses as an example a barcode video signal in a barcode reader, it is of course possible to handle various other analog input signals. Further, if necessary, it may be possible to detect either the rising edge or the falling edge.

以上詳細に説明したように、この考案に係わる
変化点検出回路は、入力信号を所定時間だけ遅延
させる入力信号遅延回路と、遅延前の入力信号を
所定比率で減衰させる第1の減衰回路と、遅延後
の入力信号を所定比率で減衰させる第2の減衰回
路と、遅延後減衰された入力信号を基準として、
非遅延入力信号をレベル弁別する第1の弁別回路
と、減衰させた非遅延入力信号を基準として、遅
延させた非減衰入力信号をレベル弁別する第2の
弁別回路とを具備するものであるから、入力信号
の極く低周波の変動に追従して自動的に検出感度
が変化し、広い範囲に亘つて常に適切な感度で変
化点、すなわち立上り、立下り双方の変化点を確
実に検出することができる。
As explained in detail above, the change point detection circuit according to the invention includes: an input signal delay circuit that delays an input signal by a predetermined time; a first attenuation circuit that attenuates the input signal before the delay at a predetermined ratio; a second attenuation circuit that attenuates the delayed input signal at a predetermined ratio; and a second attenuation circuit that attenuates the delayed input signal at a predetermined ratio;
This is because it includes a first discrimination circuit that discriminates the level of the non-delayed input signal, and a second discrimination circuit that discriminates the level of the delayed non-attenuated input signal based on the attenuated non-delayed input signal. , the detection sensitivity changes automatically to follow extremely low frequency fluctuations in the input signal, and it always reliably detects changing points, that is, both rising and falling points, with appropriate sensitivity over a wide range. be able to.

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

第1図はこの考案の対象である入力信号の波形
例を示す図、第2図は従来の変化点検出回路の回
路図、第3a図および第3b図は同上従来回路の
動作を示す波形図、第4図はこの考案の変化点検
出回路の一実施例の回路図、第5a図および第5
b図は同上本考案の回路の動作を示す波形図であ
る。 1,2……比較器、5……遅延回路、4,7…
…定電流源、R1〜R4……抵抗。
Fig. 1 is a diagram showing an example of the waveform of an input signal that is the subject of this invention, Fig. 2 is a circuit diagram of a conventional change point detection circuit, and Figs. 3a and 3b are waveform diagrams showing the operation of the same conventional circuit. , FIG. 4 is a circuit diagram of an embodiment of the change point detection circuit of this invention, FIG.
Figure b is a waveform diagram showing the operation of the circuit according to the present invention. 1, 2... Comparator, 5... Delay circuit, 4, 7...
...constant current source, R1 to R4...resistance.

Claims (1)

【実用新案登録請求の範囲】 入力信号を所定時間だけ遅延させる入力信号遅
延回路と、 遅延前の入力信号を所定比率で減衰させる第1
の減衰回路と、 遅延後の入力信号を所定比率で減衰させる第2
の減衰回路と、 遅延後減衰させた入力信号を基準として、非遅
延入力信号をレベル弁別する第1の弁別回路と、 減衰させた非遅延入力信号を基準として、遅延
させた非減衰入力信号をレベル弁別する第2の弁
別回路と、 を具備することを特徴とするアナログ信号の変
化点検出装置。
[Claims for Utility Model Registration] An input signal delay circuit that delays an input signal by a predetermined time; and a first circuit that attenuates the input signal before the delay by a predetermined ratio.
attenuation circuit, and a second attenuation circuit that attenuates the delayed input signal at a predetermined ratio.
a first discrimination circuit that discriminates the level of the non-delayed input signal using the delayed and attenuated input signal as a reference; and a first discrimination circuit that discriminates the level of the non-delayed input signal using the delayed and attenuated input signal as a reference; An analog signal change point detection device, comprising: a second discrimination circuit for level discrimination; and a second discrimination circuit for level discrimination.
JP1980085883U 1980-06-19 1980-06-19 Expired JPS6129078Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1980085883U JPS6129078Y2 (en) 1980-06-19 1980-06-19

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1980085883U JPS6129078Y2 (en) 1980-06-19 1980-06-19

Publications (2)

Publication Number Publication Date
JPS5710063U JPS5710063U (en) 1982-01-19
JPS6129078Y2 true JPS6129078Y2 (en) 1986-08-28

Family

ID=29448108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1980085883U Expired JPS6129078Y2 (en) 1980-06-19 1980-06-19

Country Status (1)

Country Link
JP (1) JPS6129078Y2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5414123A (en) * 1977-07-04 1979-02-02 Fuji Electric Co Ltd Binary circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5414123A (en) * 1977-07-04 1979-02-02 Fuji Electric Co Ltd Binary circuit

Also Published As

Publication number Publication date
JPS5710063U (en) 1982-01-19

Similar Documents

Publication Publication Date Title
US5019722A (en) Threshold crossing detection with improved noise rejection
EP0427528B1 (en) Bar code readers
US4801788A (en) Bar code scanner for a video signal which has a shading waveform
SE452936B (en) CIRCUIT FOR CONVERSION OF A RECORDER READING INFORMATION SIGNAL TO A SQUARE SIGNAL
JPS6129078Y2 (en)
JP2960200B2 (en) Peak detection circuit
US4543530A (en) Methods of and means for determining the time-center of pulses
EP0049388B1 (en) Video signal detector
US5488449A (en) Infinite-distance detecting circuit for an auto-focus system
JP2856787B2 (en) Binarization circuit, intermediate level detection circuit, and peak envelope detection circuit
EP1322082A1 (en) DC bias control circuit for an optical receiver
JPH10162095A (en) Slice ratio control circuit
JPS6057745B2 (en) Binarization circuit
JP4256745B2 (en) Optical information reader
JPS6242382Y2 (en)
JPS6113974Y2 (en)
JPH0310167A (en) Pulse peak discriminating circuit
EP0198525B1 (en) A device for determining a value representative of the amount of weak information of an original
JPS60256077A (en) Apparatus for detecting object by using ultrasonic wave
JPH0637374Y2 (en) Focus detection circuit
CN119232161A (en) PIR signal conditioning circuit
JPH051507B2 (en)
JPH05211427A (en) Input signal detection circuit
JPH05110395A (en) Binarizing threshold level setting circuit
JPS55100760A (en) Signal-discontinuance detection circuit of photo pcm receiver