JPS6031678A - Binarization circuit - Google Patents

Binarization circuit

Info

Publication number
JPS6031678A
JPS6031678A JP13985583A JP13985583A JPS6031678A JP S6031678 A JPS6031678 A JP S6031678A JP 13985583 A JP13985583 A JP 13985583A JP 13985583 A JP13985583 A JP 13985583A JP S6031678 A JPS6031678 A JP S6031678A
Authority
JP
Japan
Prior art keywords
signal
circuit
output
input signal
input
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
Application number
JP13985583A
Other languages
Japanese (ja)
Inventor
Shigenobu Irokawa
色川 重信
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.)
Tohoku Ricoh Co Ltd
Original Assignee
Tohoku Ricoh 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 Tohoku Ricoh Co Ltd filed Critical Tohoku Ricoh Co Ltd
Priority to JP13985583A priority Critical patent/JPS6031678A/en
Publication of JPS6031678A publication Critical patent/JPS6031678A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10851Circuits for pulse shaping, amplifying, eliminating noise signals, checking the function of the sensing device

Abstract

PURPOSE:To obtain a binary signal regardless of periodical fluctuations of an input signal, by impressing the output signal of a positive/negative peak signal holding circuit on one input terminal of a comparison circuit and by impressing an intermediate-level signal of a voltage division circuit on the other input terminal to compare both signals. CONSTITUTION:When output voltages V1-V3 of a voltage division circuit indicate waveforms as shown in the diagram, V1>V3 is obtained, and when a negative peak holding circuit OP2 obtains an output Vl which is produced by negatively peak-held V1, an input signal at one terminal of an arithmetic amplifier OP1 indicates the intially broken line in the diagram. When waveforms of the input signal change into Vl<V3, Vh is obtained as the output of a positive holding circuit OP3. At this time, Vh attains to the input signal of the OP1 because of Vl<V1, the negative peak holding circuit Vl attains to the input signal of the OP1. The changing direction of the input signal amplitude and the magnitudes of Vl and Vh supply the input signal Vl or Vh alternately. When this signal is used as the reference signal of the OP1 and compared with the signal of V2, a binary output is obtained.

Description

【発明の詳細な説明】 本発明はバーコード読取り装置の読取り信号のようなア
ナログ信号を高性能に2値化できる回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a circuit that can binarize an analog signal such as a read signal of a bar code reader with high performance.

スーパーマーケット等において多量の商品を識別するた
め、商品の包装に表示されたバーコードを光学的に読取
り、電子計算機で処理することが実行されている。その
ため光学−電気変換で読取ったアナログ信号は2値化信
号に変換される必要があ名。従来このための2値化回路
は下記のような回路を使用していた。第1図においてア
ナログ入力信号は端子INから印加され、振幅比較器と
して動作する演算増幅器opの一方の端子(」−)に入
力される。演算増幅器opの他方の端子(−)にはダイ
オードD3と抵抗Rを介して前記入力信号が与えられる
。このとき第2図に示すように入力信号eの振幅が大き
くなりつつあると、コンデンサCはダイオードD3の順
方向抵抗rを介して充電が開始されeのようになり、所
定値に保持される。(正ピークホールド動作)演算増幅
器OPの出力e、は所定値″1”となっている。elが
次第に小となり、e2.e3が等しくなったとき、演算
増幅器OPの出力は1″からOnになる。このとき入力
信号e1の振幅が再び大きくなるが、ダイオードD3の
順方向電圧Vd以下の値程度までで再び低下したとき、
演算増幅器OPの出力可は“1゛とならない。即ちel
の振幅変化による2値出力を得ることができない。バー
コード読取器は取扱者の習熟度が異なるため入力信号の
振幅変化が大きく、この回路では正確さに劣る欠点があ
った。
In order to identify large quantities of products in supermarkets and the like, bar codes displayed on product packaging are optically read and processed by electronic computers. Therefore, the analog signal read by optical-to-electrical conversion must be converted into a binary signal. Conventionally, the following circuit has been used as a binarization circuit for this purpose. In FIG. 1, an analog input signal is applied from a terminal IN and input to one terminal (''-) of an operational amplifier op, which operates as an amplitude comparator. The input signal is applied to the other terminal (-) of the operational amplifier op via a diode D3 and a resistor R. At this time, as shown in FIG. 2, when the amplitude of the input signal e is increasing, the capacitor C starts to be charged via the forward resistance r of the diode D3, and becomes as shown in e, and is maintained at a predetermined value. . (Positive peak hold operation) The output e of the operational amplifier OP is a predetermined value "1". el gradually becomes smaller, and e2. When e3 becomes equal, the output of the operational amplifier OP changes from 1'' to On. At this time, the amplitude of the input signal e1 increases again, but when it decreases again to a value below the forward voltage Vd of the diode D3. ,
The output of operational amplifier OP does not become "1", that is, el
It is not possible to obtain a binary output due to amplitude changes. Since barcode readers differ in their proficiency levels, the amplitude of the input signal varies greatly, and this circuit has the disadvantage of poor accuracy.

また前述のダイオードD3の順方向抵抗とコンデンサC
の積で得られる正方向電流に対する時定数とダイオード
DI、D2の逆方向抵抗とコンデンサCの積で得られる
逆方向電流に対する時定数が入力信号のうち速い周期の
信号に合致するように選定したとき、周期の遅い信号ま
たはコードのうちスペースの広い信号を取扱ったとき第
3図に示すように演算増幅器opの出力“O”の期間が
tからt′に短縮する。逆に第4図に示すように時定数
を周期の遅い信号またはスペースの広い信号に合わせた
とき、周期の速い信号またはスペースの狭い信号に対し
ては“O”の時間幅tがt′と広くなる。第1図に示す
従来の回路はコンデンサの充放電回路に使用するダイオ
ードのため、信号の振幅変化に十分に追従出来ない欠点
があった。
In addition, the forward resistance of the diode D3 and the capacitor C
The time constant for the forward current obtained by the product of the diode DI, the time constant for the reverse current obtained by the product of the reverse resistance of D2 and the capacitor C was selected so that it matches the signal with a fast period among the input signals. When a signal with a slow period or a signal with a wide space among codes is handled, the period of the output "O" of the operational amplifier op is shortened from t to t' as shown in FIG. Conversely, as shown in Figure 4, when the time constant is adjusted to a signal with a slow period or a signal with a wide space, the time width t of "O" becomes t' for a signal with a fast period or a signal with a narrow space. It becomes wider. The conventional circuit shown in FIG. 1 has a drawback that it cannot sufficiently follow changes in signal amplitude because it uses diodes in the capacitor charging/discharging circuit.

したがって本発明の目的は前述の欠点を改善し、入力ア
ナログ信号が微少のとき或いは入力信号の繰り返し周期
が大幅に変化した場合も十分正確に2値化できる回路を
提供することにある。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide a circuit which can overcome the above-mentioned drawbacks and can perform binarization with sufficient accuracy even when the input analog signal is very small or when the repetition period of the input signal changes significantly.

以下図面に示す本発明の実施例について説明する。第5
図は本発明の一実施例の回路図であって、入力端子に印
加されたアナログ信号は電圧分割器VDにより、この例
ではVl、V2.V3の各電圧に3分割される。Vlは
入力電圧と等しく、V3は最も低い電圧で、V2はVl
、V3の中間電圧とする。演算増幅器OP2.OP3ば
それぞれ一方の端子(+)にVl、V3を印加している
Embodiments of the present invention shown in the drawings will be described below. Fifth
The figure is a circuit diagram of an embodiment of the present invention, in which the analog signals applied to the input terminals are divided by a voltage divider VD, in this example Vl, V2 . It is divided into three for each voltage of V3. Vl is equal to the input voltage, V3 is the lowest voltage, V2 is equal to Vl
, V3. Operational amplifier OP2. In OP3, Vl and V3 are applied to one terminal (+), respectively.

またOF2.OF2はそれぞれ入力信号のピーク値を十
分に保持できる時定数を有している。OF2の側が負ピ
ーク信号ホールド回路、OF2が正ピーク信号ホールド
回路を構成する。OPIは端子(+) (−)間に印加
された信号の振幅比較器として動作する演算増幅器を示
し、端子(+)には前記電圧■2の信号を、端子(−)
にはOF2゜OF2の出力電圧が後述するように印加さ
れる。
Also OF2. Each OF2 has a time constant that can sufficiently hold the peak value of the input signal. The OF2 side constitutes a negative peak signal hold circuit, and OF2 constitutes a positive peak signal hold circuit. OPI indicates an operational amplifier that operates as an amplitude comparator for the signal applied between the terminals (+) and (-).
The output voltage of OF2°OF2 is applied as described later.

Cはコンデンサを示し、第1図のCと対応してし−る。C indicates a capacitor and corresponds to C in FIG.

第5図に示す回路について第6図の波形図と共に動作を
説明する。電圧分割回路VDの各出力電圧V1.V2.
V3が第6図に示す波形のようになっているとき、yl
>v3であって負ピークホールド回路OP2が■1を負
ピークホーλレドした出力■イを得ているとき、負ピー
クホールド回路OP2の出力即ち演算増幅器OPIの端
子(−)の入力信号は第6図の当初の破線のようになる
The operation of the circuit shown in FIG. 5 will be explained with reference to the waveform diagram in FIG. 6. Each output voltage V1. of the voltage divider circuit VD. V2.
When V3 has the waveform shown in Figure 6, yl
>v3 and the negative peak hold circuit OP2 obtains the output ■A obtained by negative peak holing of ■1, the output of the negative peak hold circuit OP2, that is, the input signal at the terminal (-) of the operational amplifier OPI is the sixth It will look like the original broken line in the figure.

入力信号波形が変化しV−11!<V3となるとき、正
ピークホールド回路0’P3の出力としてv3を正ピー
クボールドした出力vhが得られ、このとき■7 < 
V hであるからvhがOPIの端子(−)の入力信号
となる。vhは第6図中破線のように変化して行く。次
にVh>Vlとなったとき負ピークホール1−°回路V
、EがOPlの入力信号になる。
The input signal waveform changes to V-11! <V3, the output vh obtained by bolding the positive peak of v3 is obtained as the output of the positive peak hold circuit 0'P3, and at this time ■7 <
Since Vh, vh becomes the input signal to the terminal (-) of OPI. vh changes as shown by the broken line in FIG. Next, when Vh > Vl, the negative peak hole 1-° circuit V
, E become the input signals of OPl.

入力信号振幅の変化方向とV、、Z、vhの大きさとに
よりOPIへの入力信号がV、εとvhを交互心こ与え
て行く。この信号をOPlの基準(言付とし■2の信号
との比較を行い、第6図に示す“1”。
The input signal to the OPI alternately gives V, ε, and vh depending on the direction of change of the input signal amplitude and the magnitudes of V, , Z, and vh. This signal is used as the standard for OPl and is compared with the signal of 2, resulting in "1" as shown in FIG.

“0゛の2値化出力をOP1出力出力端二番Mる。A binary output of "0" is output from the OP1 output terminal No.2.

第5図において■3の電圧を設定する抵抗41負を選定
するとき、第6図山右側振幅を考慮し、夕゛イオードの
順方向電圧0.7 V以下、或t+sL;!911音の
ン昆じた入力信号であっても、それらを識別し、2(点
化出力が得られるように選定できる。また人〕34言号
の立上り、立下りに対するOPiへの基準(言付の追従
特性は立上り時に正ピークホールド回路各、立下り時に
負ピークホールド回路の特性で定まる。
When selecting the negative resistor 41 for setting the voltage in (3) in Fig. 5, consider the amplitude on the right side of the peak in Fig. 6, and make sure that the forward voltage of the diode is 0.7 V or less, or t+sL;! Even if the input signal contains 911 sounds, they can be identified and selected so that a 2 (pointed output) can be obtained. The following characteristics are determined by the characteristics of each positive peak hold circuit at the rising edge and by the characteristics of the negative peak hold circuit at the falling edge.

そして演算増幅器の増幅度が通富極めて大きしまため、
第5図に示す回路の追従特性もま極めて&に子であって
、入力信号の周期変動に関係なく2値化信号を得ること
ができる。
And since the amplification degree of the operational amplifier is extremely large,
The follow-up characteristic of the circuit shown in FIG. 5 is also very good, and a binarized signal can be obtained regardless of the periodic fluctuation of the input signal.

このようにして本発明によると比較的簡易な構成であり
ながら、z値化すべき入力信号の振幅力(小さいとき或
いは周期変動があっても正確な2イ【貞化信号を得るこ
とができる。
In this way, according to the present invention, although the configuration is relatively simple, it is possible to obtain an accurate 2I chastization signal even when the amplitude of the input signal to be converted into a z-value is small or there is a periodic variation.

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

第1図は従来の2値化回路の構成図、 第2図乃至第4図は第1図の動作説明図、第5図は本発
明の一実施例の回路構成図、第6図は第5図の動作説明
図を示す。 I N−人力信号端子 OP、OPI、OP2,0P3−演算増幅器DI、D2
.D3−ダイオード C−コンデンサ VD−電圧分割器 特許出願人 東北リコー株式会社 代理人 弁理士 鈴木栄祐 手−続ネ市正書(自発) 昭和59年 2月 4日 昭和58年特許願第139855号 2、発明の名称 2値化回路 3、補正をする者 事件との関係 特許出願人 41:所 宮j+)を県柴田郡柴田町中名生神明堂3の
1名称 東北リコー株式会社 代表者 諸量 完治 4、 代理人 住所 東京都渋谷区代々木2−13−36、補正により
増加する発明の数 なし7、補正の対象 明細書中発明
の詳細な説明の欄B、補正の内容 別紙のとおり (1)明細書第2頁第18行re+のように−1を「e
2のように」と補正する。 (2)明細書第4頁第2行から第3行「従来の回路はコ
ンデンサの充放電回路に使用するダイオードのため」を [従来の回路は充放電回路に使用するコンデンサのため
」と補正する。
FIG. 1 is a configuration diagram of a conventional binarization circuit, FIGS. 2 to 4 are diagrams explaining the operation of FIG. 1, FIG. 5 is a circuit configuration diagram of an embodiment of the present invention, and FIG. The operation explanatory diagram of FIG. 5 is shown. I N - Human power signal terminals OP, OPI, OP2, 0P3 - Operational amplifier DI, D2
.. D3-Diode C-Capacitor VD-Voltage divider Patent applicant: Tohoku Ricoh Co., Ltd. Agent Patent attorney: Eisuke Suzuki - Tsukune Ichisho (spontaneous) February 4, 1981 Patent Application No. 139855 2 , Name of the invention Binarization circuit 3, Relationship with the case of the person making the amendment Patent applicant 41: Place Miya j+) 1 name of Nakamei Shinmeido 3, Shibata-cho, Shibata-gun, Prefecture Representative of Tohoku Ricoh Co., Ltd. Various amounts Kanji 4 , Agent address: 2-13-36 Yoyogi, Shibuya-ku, Tokyo, Number of inventions to be increased by amendment: None 7, Subject of amendment: Column B for detailed explanation of the invention in the specification, Contents of amendment: As attached (1) Details 2nd page, line 18, -1 is changed to ``e'', as in re+.
2,” he corrected. (2) In the second to third lines of page 4 of the specification, "The conventional circuit is for the diode used in the charging/discharging circuit of the capacitor" has been corrected to "The conventional circuit is for the capacitor used in the charging/discharging circuit." do.

Claims (1)

【特許請求の範囲】[Claims] 2値化すべきアナログ信号を所定レベルと比較して2値
化信号を得る2値化回路において、前記アナログ信号が
印加され異なる分圧比で3個の出力を得る電圧分割回路
と、該電圧分割回路の最上位レヘル信号が印加される負
ピーク信号ホールド回路と、前記電圧分割回路の最下位
レベル信号力?印加される正ピーク信号ホールド回路と
、比較回路とを具備し、該比較回路の一方の入力端子に
は入力信号振幅が大きくなりつつあるとき正ピーク信号
ホールド回路出力を、入力信号振幅が逆に小となってい
るとき負ピーク信号ホールド回路出力を印加し、他方の
入力端子には前記電圧分割回路の中間レヘル信号を印加
し、且つ比較回路出力を2値化出力信号とすることを特
徴とする2値化回路。
In a binarization circuit that compares an analog signal to be binarized with a predetermined level to obtain a binarized signal, the analog signal is applied to a voltage divider circuit that obtains three outputs at different voltage division ratios, and the voltage divider circuit The negative peak signal hold circuit to which the highest level signal of ? is applied and the lowest level signal strength of the voltage divider circuit? A positive peak signal holding circuit is applied, and a comparison circuit is provided, and one input terminal of the comparison circuit receives the positive peak signal holding circuit output when the input signal amplitude is increasing, and receives the output from the positive peak signal holding circuit when the input signal amplitude is increasing. When the voltage is small, a negative peak signal hold circuit output is applied, an intermediate level signal of the voltage dividing circuit is applied to the other input terminal, and the comparison circuit output is a binary output signal. Binarization circuit.
JP13985583A 1983-07-30 1983-07-30 Binarization circuit Pending JPS6031678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13985583A JPS6031678A (en) 1983-07-30 1983-07-30 Binarization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13985583A JPS6031678A (en) 1983-07-30 1983-07-30 Binarization circuit

Publications (1)

Publication Number Publication Date
JPS6031678A true JPS6031678A (en) 1985-02-18

Family

ID=15255102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13985583A Pending JPS6031678A (en) 1983-07-30 1983-07-30 Binarization circuit

Country Status (1)

Country Link
JP (1) JPS6031678A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311489A (en) * 1987-06-13 1988-12-20 Tohoku Ricoh Co Ltd Bar-code reader
JPH01195586A (en) * 1988-01-30 1989-08-07 Tohoku Ricoh Co Ltd Signal binary coding circuit
JPH01274290A (en) * 1988-04-27 1989-11-02 Tohoku Ricoh Co Ltd Bar code reader
JP2009540442A (en) * 2006-06-08 2009-11-19 株式会社オプトエレクトロニクス Digital circuit for ambient light noise resistance

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54146530A (en) * 1978-05-09 1979-11-15 Mitsubishi Electric Corp Binary coding circuit
JPS55115168A (en) * 1979-02-21 1980-09-04 Ibm Signal transfer detector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54146530A (en) * 1978-05-09 1979-11-15 Mitsubishi Electric Corp Binary coding circuit
JPS55115168A (en) * 1979-02-21 1980-09-04 Ibm Signal transfer detector

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311489A (en) * 1987-06-13 1988-12-20 Tohoku Ricoh Co Ltd Bar-code reader
JPH0564833B2 (en) * 1987-06-13 1993-09-16 Tohoku Riko Kk
JPH01195586A (en) * 1988-01-30 1989-08-07 Tohoku Ricoh Co Ltd Signal binary coding circuit
JPH0570191B2 (en) * 1988-01-30 1993-10-04 Tohoku Riko Kk
JPH01274290A (en) * 1988-04-27 1989-11-02 Tohoku Ricoh Co Ltd Bar code reader
JP2009540442A (en) * 2006-06-08 2009-11-19 株式会社オプトエレクトロニクス Digital circuit for ambient light noise resistance

Similar Documents

Publication Publication Date Title
CN107251090B (en) Peak domain convolution circuit
KR0139662B1 (en) Balancing circuit for power supply
EP0774178A1 (en) Detection circuit with hysteresis proportional to the peak input voltage
NL193097C (en) Turnover circuit.
US4155115A (en) Process control system with analog output control circuit
US3573638A (en) Bipolar threshold detector
JPS6031678A (en) Binarization circuit
JP2001320250A (en) Offset correcting circuit, offset correction voltage generating circuit and integration circuit
US3600589A (en) Logarithmic sense amplifier having means for estalishing a predetermined output voltage level when the input signal is at a maximum
US4524317A (en) Precision, dynamic low voltage measurement system
US4726658A (en) Effective value voltage stabilizer for a display apparatus
US4967099A (en) Low level clamp circuit
US3621285A (en) Pulsed excitation voltage circuit for transducers
US4291297A (en) Single ramp comparison analog to digital converter
JPS6230672B2 (en)
JPH1038930A (en) Circuit for detecting peak voltage
JPS5640325A (en) Pcm decoder
JPH10162095A (en) Slice ratio control circuit
JP3102820B2 (en) A / D converter
JPH0514150A (en) Variable delay device
US11953373B1 (en) Sensor device and sensing method
JPS6241453Y2 (en)
US3973180A (en) Voltage boosting detector circuit
US4274050A (en) Voltage measuring apparatus
JP2765828B2 (en) Pulse generator