JPH0120791B2 - - Google Patents

Info

Publication number
JPH0120791B2
JPH0120791B2 JP56145674A JP14567481A JPH0120791B2 JP H0120791 B2 JPH0120791 B2 JP H0120791B2 JP 56145674 A JP56145674 A JP 56145674A JP 14567481 A JP14567481 A JP 14567481A JP H0120791 B2 JPH0120791 B2 JP H0120791B2
Authority
JP
Japan
Prior art keywords
signal
reading
barcode
differential
circuit
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
JP56145674A
Other languages
Japanese (ja)
Other versions
JPS5846474A (en
Inventor
Akio Sugiura
Tadao Nojiri
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.)
Denso Corp
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP14567481A priority Critical patent/JPS5846474A/en
Publication of JPS5846474A publication Critical patent/JPS5846474A/en
Publication of JPH0120791B2 publication Critical patent/JPH0120791B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)

Description

【発明の詳細な説明】 本発明は記録媒体に記録されたバーコード上の
走査にてそのバーコードを読取るバーコード読取
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a barcode reading device that reads a barcode recorded on a recording medium by scanning the barcode.

従来、所望のバーコードを印刷したカード表面
上の照度のばらつき、あるいはこのカードと読取
装置との距離のばらつきなどによつて、読取セン
サにおける読取レベルが変化し、バーコードを高
精度に読取ることができなかつたが、例えば特開
昭51−93128号公報及び実開昭55−124050号公報
に示される如く、読取センサの読取信号に応じて
この読取信号を増幅する増幅器のゲインを調整
し、それによつて読取精度を高めることが知られ
いる。
Conventionally, the reading level of the reading sensor changes due to variations in illuminance on the surface of the card on which the desired barcode is printed, or variations in the distance between the card and the reading device, making it difficult to read barcodes with high accuracy. However, as shown in, for example, Japanese Unexamined Patent Publication No. 51-93128 and Japanese Utility Model Application No. 55-124050, the gain of an amplifier that amplifies the read signal is adjusted according to the read signal of the read sensor, It is known that this improves reading accuracy.

しかしながら、上記の装置では、読取センサに
よる読取信号の全体的レベルを調整できるが、こ
の読取信号に含まれる映像信号、つまりバーコー
ドの白バー・黒バーに相当する識別情報信号自体
を適切に増幅調整できず、従つて、読取精度を高
めるにはまだ不十分であつた。
However, although the above device can adjust the overall level of the signal read by the reading sensor, it does not properly amplify the video signal included in this read signal, that is, the identification information signal itself corresponding to the white bars and black bars of the barcode. It could not be adjusted, and therefore it was still insufficient to improve reading accuracy.

本発明は上記従来装置に対して読取能力を一層
高め、バーコード上を照射するための照射光の変
動、あるいはバーコード上の汚れ等による反射光
の減少が生じた場合に、その変動による映像信号
の振幅の変動をなくし、安定した映像信号が得ら
れるようにし、常に正確にバーコードを読取るこ
とができるバーコード読取装置を提供することを
目的とする。
The present invention further improves the reading ability compared to the above-mentioned conventional device, and when there is a change in the irradiation light for irradiating the barcode or a reduction in reflected light due to dirt on the barcode, the image can be imaged by the change. It is an object of the present invention to provide a barcode reading device that can eliminate fluctuations in signal amplitude, obtain a stable video signal, and always accurately read barcodes.

そこで、本発明では、少なくとも2種の幅のバ
ー記号を順次配列したバーコード上における前記
バー記号に交わる読取線上の走査にて前記バーコ
ードを複数ビツトの映像信号に変換する読取セン
サと、 この映像信号のビツト毎のピーク値を保持して
連続信号に変換する保持手段と、 この連続信号を微分して微分信号を出力する微
分手段と、 この微分信号の平滑化出力に応じて増幅利得を
調整して前記微分信号を所定レベルに増幅する増
幅手段と、 この増幅手段の出力信号を矩形波に整形する整
形手段と を備えたことを特徴とする。
Therefore, the present invention provides a reading sensor that converts a barcode into a multi-bit video signal by scanning a reading line that intersects the bar symbol on a bar code in which bar symbols of at least two different widths are sequentially arranged; A holding means for holding the peak value of each bit of the video signal and converting it into a continuous signal, a differentiating means for differentiating this continuous signal and outputting a differentiated signal, and an amplification gain according to the smoothed output of this differentiated signal. The present invention is characterized by comprising an amplifying means for adjusting and amplifying the differential signal to a predetermined level, and a shaping means for shaping the output signal of the amplifying means into a rectangular wave.

以下本発明を図に示す一実施例について説明す
る。
An embodiment of the present invention shown in the drawings will be described below.

第1図の全体構成図において、1は照射光1a
を供給する送光部、2は前記送光部1の照射光に
基く対象物の反射光を受光する受光部であり、2
dは複数の読取点を連続して読取線上に配列した
読取センサをなすイメージセンサで、前記照射光
1aがあたる対象物よりの反射光1bの強弱によ
る読取像を前記読取線上に受けるとともに、クロ
ツクパルスが印加されたときにそのクロツクパル
スにより循環的に前記複数の読取点が順次読取作
動(スイープ)して前記反射光の強弱に対応した
直列の映像信号を発生するものである。2bは前
記反射光を前記イメージセンサ2a上に集光する
レンズである。
In the overall configuration diagram of FIG. 1, 1 is the irradiation light 1a
2 is a light receiving section that receives reflected light from an object based on the irradiation light of the light transmitting section 1;
Reference numeral d denotes an image sensor that constitutes a reading sensor in which a plurality of reading points are continuously arranged on a reading line, and receives a read image on the reading line depending on the intensity of the reflected light 1b from the object that the irradiation light 1a hits, and also receives a clock pulse. When the clock pulse is applied, the plurality of reading points are cyclically read (swept) in sequence to generate a series of video signals corresponding to the intensity of the reflected light. 2b is a lens that focuses the reflected light onto the image sensor 2a.

3は記録媒体をなすカードで、その表面に広い
幅、狭い幅のバー記号3aの行状配置にて4個の
バーコードをグループ化したバーコード情報を印
刷記録しており、前記バー記号3aの線状方向に
対して直交する線状の読取位置3bにおける白黒
線による反射光信号を前記イメージセンサ2aに
与えるとともに、読取面3c上を前記バー記号3
aの線状方向に一致する矢印方向に移動するもの
である。
Reference numeral 3 denotes a card serving as a recording medium, and barcode information in which four barcodes are grouped in a linear arrangement of wide and narrow bar symbols 3a is printed and recorded on the surface of the card. A reflected light signal from a black and white line at a linear reading position 3b perpendicular to the linear direction is given to the image sensor 2a, and the bar symbol 3 is applied on the reading surface 3c.
It moves in the direction of the arrow that coincides with the linear direction of a.

4は前記イメージセンサ2aより発生するクロ
ツクパルスに同期した離散的で微弱な映像信号を
増幅して連続信号に変換し、さらに整形してバー
記号毎に反転する矩形波を得るアナログ増幅部、
5は前記アナログ増幅部4の出力信号を前記バー
コードに対応した並列デイジタル信号に変換する
デイジタル変換部、6は一定周波数のクロツクパ
ルスを発生して前記イメージセンサ2a、アナロ
グ増幅部4およびデイジタル変換部5に供給する
とともに他の同期クロツクパルスを発生する基準
クロツク発生部、7はマイクロコンピユータを有
する演算処理部で前記デイジタル変換部5にて変
換したデイジタル信号のデイジタル演算処理を行
うものである。8はカード送り装置で、前記カー
ド3を矢印方向に沿つて自動的に移動させるもの
であり、モータ、ベルト、一対のローラ等で構成
して前記ローラ間にカード3を挿入してカード送
りを行うものである。
4 is an analog amplification unit that amplifies the discrete and weak video signal synchronized with the clock pulse generated by the image sensor 2a, converts it into a continuous signal, and further shapes it to obtain a rectangular wave that is inverted for each bar symbol;
5 is a digital converter that converts the output signal of the analog amplifier 4 into a parallel digital signal corresponding to the bar code; 6 is a digital converter that generates a clock pulse of a constant frequency to connect the image sensor 2a, the analog amplifier 4 and the digital converter; 5, and a reference clock generating section 7 which generates other synchronized clock pulses, and 7, an arithmetic processing section having a microcomputer, which performs digital arithmetic processing on the digital signal converted by the digital converting section 5. Reference numeral 8 denotes a card feeding device which automatically moves the card 3 in the direction of the arrow, and is composed of a motor, a belt, a pair of rollers, etc., and inserts the card 3 between the rollers to feed the card. It is something to do.

次に、上記構成においてその概略作動を説明す
る。
Next, the general operation of the above configuration will be explained.

今、カード3が読取面上3cを図示の矢印方向
に移動し、受光部2の読取位置3bに到達すると
カード3より得られた反射光信号がレンズ2bを
通り、イメージセンサ2a上に読取像を結ぶ。こ
のとき、イメージセンサ2aは読取線上に複数個
の光電変換素子が配列されているため、読取位置
3bの直線上の白黒バー記号よりの反射率の違つ
た反射光信号がイメージセンサ2a上に読取像を
結ぶ。
Now, when the card 3 moves on the reading surface 3c in the direction of the arrow shown in the figure and reaches the reading position 3b of the light receiving section 2, the reflected light signal obtained from the card 3 passes through the lens 2b, and a read image is displayed on the image sensor 2a. Tie. At this time, since the image sensor 2a has a plurality of photoelectric conversion elements arranged on the reading line, reflected light signals with different reflectances from the black and white bar symbols on the straight line at the reading position 3b are read on the image sensor 2a. Tie the statue.

従つて、前記反射光信号が照射されたイメージ
センサ2aは、基準クロツク発生器6のクロツク
パルスを受けて前記読取線上に配例した複数の読
取点の読取作動にて前記読取線を直列の映像信号
に変換する。この映像信号はアナログ増幅部4に
て増幅及び波形変換され、例えば白線のコード記
号が“1”レベル、黒線のコード信号が“0”レ
ベルになる論理信号に変換される。該論理信号は
デイジタル変換部5において、広い幅のバー記号
あるいは狭に幅のバー記号のどちらであるか判別
され並列のデイジタル信号つまりバーコードの情
報符号に変換される。そして前記情報符号は演算
処理部7に送られ各種の処理例えばバーコード情
報の確認処理等が行なわれる。
Therefore, the image sensor 2a irradiated with the reflected light signal receives the clock pulse from the reference clock generator 6 and reads the plurality of reading points arranged on the reading line, so that the image sensor 2a converts the reading line into a serial video signal. Convert to This video signal is amplified and waveform-converted by the analog amplifier 4, and is converted into a logic signal in which, for example, the white line code symbol is at the "1" level and the black line code signal is at the "0" level. The logic signal is determined in the digital converter 5 as to whether it is a wide bar symbol or a narrow bar symbol, and is converted into a parallel digital signal, that is, an information code of a bar code. The information code is then sent to the arithmetic processing section 7 where various processes such as barcode information confirmation processing are performed.

次に、第1図中におけるアナログ増幅部4の詳
細構成並びにその作動について説明する。
Next, the detailed configuration and operation of the analog amplifying section 4 shown in FIG. 1 will be explained.

第2図はアナログ増幅部4の詳細構成を示す電
気結線図で、前記イメージセンサ2aよりの映像
信号を受けて白線バー記号を“1”レベル、黒線
バー記号を“0”レベルに増幅変換している。4
1は微小な前記映像信号を増幅する増幅器で、抵
抗41aに加わる帰還入力に対して前記映像信号
の差動増幅を行つている。42はサンプリング回
路で、基準クロツク発生部6よりのクロツクパル
スを受けてそれに同期したサンプリングパルスを
発生するサンプリングパルス発生器42a,42
bを有している。43は前記サンプリングパルス
にて前記増幅器41よりの映像増幅信号をサンプ
ルホールドして前記クロツクパルスに同期した離
散的信号を連続信号に変換する保持手段をなすサ
ンプルホールド回路、43aは前記サンプリング
パルスにて閉成してその映像増幅信号をサンプリ
ング通過させるアナログスイツチ、43bは前記
アナログスイツチ43aにてサンプリングされた
信号レベルを次のサンプリング時点まで保持する
コンデンサ、43cは前記コンデンサ43bの保
持信号を約3倍に増幅する高入力インピーダンズ
の増幅回路である。44は前記サンプルホールド
回路43よりの連続信号から低周波成分を取出し
て前記増幅器41の帰還入力を供給する帰還用ロ
ーパスフイルタで、そのカツトオフ周波数を前記
バー信号の広い幅に対応する前記連続信号の周波
数より低い周波数に定めている。この負帰還によ
り送光部1の照射光1aの照度に関する低周波変
動などの低周波ノイズ成分を前記映像信号から除
去している。45はハイパスフイルタで前記サン
プルホールド回路43よりの連続信号を微分し、
その連続信号の変化点を検出するもので、そのカ
ツトオフ周波数は前記バー記号の狭い幅に対応す
る前記連続信号の周波数より高い周波数に定めて
いる。46は自動利得制御回路(以下AGC回路
と称す)で、前記ハイパスフイルタ45の微分出
力信号を自動的な利得の可変にて増幅するもの
で、FET46cのゲート電圧を可変しソース−
ドレイン間のインピーダンスを変えることにより
実現している。そのゲート電圧の制御は増幅器4
6aの微分出力信号の平均値により行う。つまり
微分出力信号を整流し、その整流された信号をア
ナログスイツチ46bにて一定周期でサンプリン
グした信号をコンデンサ46dにて次のサンプリ
ング時点まで保持することにより行つている。4
6eはコンデンサ46dの電荷を瞬時に放電させ
るリセツト回路でトランジスタ等で構成されてい
る。47はAGC回路の微分信号を矩形波に整形
する整形回路で、47a,47bは逆並列接続し
たダイオード、47cはコンデンサであり、逆並
列接続した前記ダイオード47a,47bを伴つ
てダイオード順方向電圧降下分の所定の電位差だ
け前記微分信号の振幅を縮め、かつ位相をずらし
て基準信号を得ている。47dは前記基準信号と
前記微分信号とを比較して矩形波を得る比較器で
ある。48は演算処理部7より読取不能の指示信
号を受けると時限パルスをリセツト回路46eに
加えるパルス発生器である。
FIG. 2 is an electrical wiring diagram showing the detailed configuration of the analog amplifying section 4, in which the white bar symbol is amplified and converted to the "1" level and the black bar symbol to the "0" level upon receiving the video signal from the image sensor 2a. are doing. 4
Reference numeral 1 denotes an amplifier for amplifying the very small video signal, and performs differential amplification of the video signal with respect to a feedback input applied to a resistor 41a. Reference numeral 42 denotes a sampling circuit, and includes sampling pulse generators 42a and 42 that receive the clock pulse from the reference clock generator 6 and generate sampling pulses synchronized therewith.
It has b. Reference numeral 43 denotes a sample and hold circuit which serves as a holding means for sampling and holding the video amplified signal from the amplifier 41 using the sampling pulse and converting a discrete signal synchronized with the clock pulse into a continuous signal; 43a is a sample and hold circuit that is closed by the sampling pulse; 43b is a capacitor that holds the signal level sampled by the analog switch 43a until the next sampling point, and 43c is a capacitor that increases the signal level held by the capacitor 43b by about three times. This is a high input impedance amplifier circuit. Reference numeral 44 denotes a feedback low-pass filter which extracts low frequency components from the continuous signal from the sample and hold circuit 43 and supplies the feedback input to the amplifier 41, and sets its cutoff frequency to the frequency of the continuous signal corresponding to the wide width of the bar signal. The frequency is set to be lower than the frequency. This negative feedback removes low frequency noise components such as low frequency fluctuations related to the illuminance of the irradiated light 1a from the light transmitting section 1 from the video signal. 45 is a high pass filter that differentiates the continuous signal from the sample hold circuit 43;
The point of change in the continuous signal is detected, and the cutoff frequency is set at a frequency higher than the frequency of the continuous signal corresponding to the narrow width of the bar symbol. Reference numeral 46 denotes an automatic gain control circuit (hereinafter referred to as AGC circuit) which amplifies the differential output signal of the high-pass filter 45 by automatically varying the gain.
This is achieved by changing the impedance between the drains. The gate voltage is controlled by amplifier 4.
This is performed using the average value of the differential output signal of 6a. That is, the differential output signal is rectified, and the rectified signal is sampled at a constant period by the analog switch 46b, and the signal is held by the capacitor 46d until the next sampling point. 4
6e is a reset circuit for instantaneously discharging the charge of the capacitor 46d, and is composed of a transistor and the like. 47 is a shaping circuit that shapes the differential signal of the AGC circuit into a rectangular wave, 47a and 47b are diodes connected in anti-parallel, and 47c is a capacitor, which reduces the forward voltage drop of the diode with the diodes 47a and 47b connected in anti-parallel. The reference signal is obtained by reducing the amplitude of the differential signal by a predetermined potential difference and shifting the phase. 47d is a comparator that compares the reference signal and the differential signal to obtain a rectangular wave. A pulse generator 48 applies a timed pulse to the reset circuit 46e upon receiving an unreadable instruction signal from the arithmetic processing section 7.

次に、上記構成においてその作動を第3図、第
4図の各部信号波形図とともに説明する。第3図
は通常読取時の状態を示しており、aは増幅器4
1よりの映像増幅信号aを示し、bはサンプルホ
ールド回路43よりの連続波形bを示し、cは
AGC回路46の微分波形cを示し、dは整数回
路47よりの矩形波dを示している。この状態に
おいて、時刻t1からt2、t3からt4、t5からt6は白線
バー記号を走査しており、時刻t1まで、t2からt3
t4からt5、t6以後は黒線バー記号を走査している。
そして、イメージセンサ2aよりの映像信号を増
幅器41にて約400倍に増幅して第3図aに示す
離散的な映像増幅信号aを得る。この映像増幅信
号aの負のピーク値のみをサンプルホールド回路
43にてサンプリング保持して、第3図bに示す
連続信号を得る。次にその連続信号はハイパルス
イルタ45、およびAGC回路により微分及び増
幅され第3図cの実線で示す信号波形となる。こ
のとき、AGC回路の利得は信号cの平均値で決
まる例えばGIである。さらに、前記微分信号c
は整形回路47に加わるため、そのコンデンサ4
7cの端子に第3図cの破線にて示す基準信号を
得、この基準信号と前記微分信号とを比較器47
dにて比較し、第3図dに示す矩形波dを得る。
この矩形波dはバーコードにおける黒線バー記号
が“0”レベルになり、白線バー記号が“1”レ
ベルになる。
Next, the operation of the above configuration will be explained with reference to the signal waveform diagrams of each part shown in FIGS. 3 and 4. Figure 3 shows the state during normal reading, where a is the amplifier 4.
1, b shows the continuous waveform b from the sample and hold circuit 43, and c shows the amplified video signal a from sample hold circuit 43.
A differential waveform c of the AGC circuit 46 is shown, and d shows a rectangular wave d from the integer circuit 47. In this state, the white line bar symbol is scanned from time t 1 to t 2 , from t 3 to t 4 , from t 5 to t 6 , and from time t 1 to time t 1 , from t 2 to t 3 ,
From t 4 to t 5 and after t 6 , the black line bar symbol is scanned.
Then, the video signal from the image sensor 2a is amplified approximately 400 times by an amplifier 41 to obtain a discrete video amplification signal a shown in FIG. 3a. Only the negative peak value of this amplified video signal a is sampled and held in a sample hold circuit 43 to obtain a continuous signal shown in FIG. 3b. Next, the continuous signal is differentiated and amplified by the high pulse filter 45 and the AGC circuit, resulting in a signal waveform shown by the solid line in FIG. 3c. At this time, the gain of the AGC circuit is determined by the average value of the signal c, for example, GI. Furthermore, the differential signal c
is added to the shaping circuit 47, so the capacitor 4
A reference signal indicated by a broken line in FIG.
d, and a rectangular wave d shown in FIG. 3d is obtained.
In this rectangular wave d, the black bar symbol in the bar code is at the "0" level, and the white bar symbol is at the "1" level.

また、第4図はガード3のバーコード面が汚れ
た状態を示しており、連続信号aの振幅が下がり
黒線部、白線部の判別がむずかしい状態となつて
いる。これは狭いバー記号部においてより顕著に
あらわれる。bは微分信号を示しているが連続信
号aの振幅変動が小さいため微分信号も小さくな
りバーコードに対応した正確な矩形波を得ること
ができなくなる。そこで、bの微分信号の平均値
電圧によりAGC回路46の利得を変化させつま
り利得が大きくなるため、イメージセンサ2dの
次の走査時には波形cのように正常な微分信号が
得られると同時に、波形dに示すように黒線、白
線バー記号に対応した正確な矩形波が得られる。
Further, FIG. 4 shows a state in which the bar code surface of the guard 3 is dirty, and the amplitude of the continuous signal a has decreased, making it difficult to distinguish between black line portions and white line portions. This is more noticeable in narrow bar symbol areas. b indicates a differential signal, but since the amplitude fluctuation of the continuous signal a is small, the differential signal also becomes small, making it impossible to obtain an accurate rectangular wave corresponding to the barcode. Therefore, the gain of the AGC circuit 46 is changed by the average value voltage of the differential signal of b, that is, the gain is increased, so that a normal differential signal like waveform c can be obtained at the next scan of the image sensor 2d, and at the same time the waveform As shown in d, accurate rectangular waves corresponding to the black line and white bar symbols are obtained.

次に、第5図に示す波形図によりAGC回路4
6のさらに詳細な作動を説明する。aはサンプル
ホールド回路43の出力である連続信号を示し、
T1間はイメージセンサ2aの読取り1周期で、
T2間はバーコードの映像信号である。またT2
とT2′間の違いはT2間は正常なバーコード読取時
の映像信号に対しT2′間は汚れたバーコード部の
読取を示し図からも明らかなように振幅が小さく
なつている。その時のAGC回路46の微分信号
はeである。波形bは微分信号の平均値電圧を示
し、この電圧をサンプリングパルス発生器42b
よりの周期T3のサンプリングパルスcによりサ
ンプリングしコンデンサ46dにdに示すAGC
の基準電圧を得ている。前記サンプリングパルス
cはバーコードの走査つまり読取開始後、波形b
の平均電圧が安定したところで出力されるよう設
定してある。AGC回路46の利得は前記コンデ
ンサ46dに保持された基準電圧で決まり時刻
T4までは負に大きくこのためFET46cは負に
大きくバイアスされているためFET46cのソ
ース−ドレイン間のインピーダンスは大きくな
り、そのため利得は小さくなつている。そのため
T5間の微分信号は小さくなつているが、T4時刻
で新たにT5間の平均電圧でAGC回路の基準電圧
がサンプリング保持されるため、利得が上がり微
分出力信号もeのごとく大きくなる。また、ある
一定期間(一定回数走査)読取りが不可の時は演
算処理部7よりの指示信号を受てパルス発生器4
8より時限パルスが発生し、リセツト回路46e
により、コンデンサ46dの電荷を放電させ、つ
まりAGC回路の基準電圧を“0”にすることに
より利得を最大にさせるように作動する。
Next, according to the waveform diagram shown in Fig. 5, the AGC circuit 4
6 will be explained in more detail. a indicates a continuous signal that is the output of the sample and hold circuit 43,
The interval T 1 is one reading period of the image sensor 2a,
Between T2 is the barcode video signal. Also, the difference between T 2 and T 2 ′ is that the video signal between T 2 and normal barcode reading is different from the image signal during T 2 ′ when a dirty barcode is being read, as is clear from the figure. It's getting smaller. The differential signal of the AGC circuit 46 at that time is e. Waveform b indicates the average value voltage of the differential signal, and this voltage is applied to the sampling pulse generator 42b.
The AGC shown in d is sampled by a sampling pulse c with a period of T 3 and connected to a capacitor 46d.
The reference voltage is obtained. The sampling pulse c has a waveform b after scanning or reading the barcode.
It is set so that it is output when the average voltage of is stabilized. The gain of the AGC circuit 46 is determined by the reference voltage held in the capacitor 46d at the time.
Up to T4 , the bias is large and negative. Therefore, the FET 46c is heavily biased negatively, so the impedance between the source and drain of the FET 46c becomes large, and therefore the gain becomes small. Therefore
The differential signal between T 5 has become smaller, but at time T 4 , the reference voltage of the AGC circuit is sampled and held with the new average voltage between T 5 , so the gain increases and the differential output signal also increases as shown in e. . Furthermore, when reading is not possible for a certain period of time (a certain number of scans), the pulse generator 4 receives an instruction signal from the arithmetic processing section 7.
A timed pulse is generated from 8, and the reset circuit 46e
This operates to maximize the gain by discharging the charge in the capacitor 46d, that is, by setting the reference voltage of the AGC circuit to "0".

上述したようなAGC回路46の作動により、
黒線、白線バー記号に対応した正確な矩形波を得
ることができる。
Due to the operation of the AGC circuit 46 as described above,
Accurate square waves corresponding to black line and white bar symbols can be obtained.

なお、上述の実施例によれば、バーコード上の
バー記号に交わる読取線上の走査をクロツクパル
スにて電子的に行なうものを示したが、イメージ
センサ2aのかわりにレーザー光を読取線上に走
査してその反射光を離散的な電気信号に変換する
レーザー走査式のセンサを用いてもよい。
In the above embodiment, scanning of the reading line intersecting the bar symbol on the bar code is performed electronically using clock pulses, but a laser beam may be scanned on the reading line instead of the image sensor 2a. A laser scanning sensor that converts the reflected light into discrete electrical signals may also be used.

また、AGCを離散的な映像信号を連続信号に
変換し、さらに微分した信号にかけたものを示し
たが、連続信号に変換する部分、つまり第2図の
サンプルホールド回路43の増幅器43cに適用
しても同等の結果が得られる。
In addition, although AGC is shown in which a discrete video signal is converted into a continuous signal and then applied to a differentiated signal, it is applied to the part that converts the discrete video signal into a continuous signal, that is, the amplifier 43c of the sample-and-hold circuit 43 in FIG. equivalent results can be obtained.

また、リセツト回路の作動タイミングを一定期
間読取りができなかつた時に行うものを示したが
カード検出器を設け、読取り面にカードが到来し
た時点でリセツト回路を作動させAGC回路の利
得が最大になるようにしてもよい。
In addition, we have shown that the reset circuit is activated when the card cannot be read for a certain period of time, but a card detector is installed and the reset circuit is activated when a card reaches the reading surface, maximizing the gain of the AGC circuit. You can do it like this.

さらに、バーコード情報のコード形態はどのよ
うなものであつてもよい。
Furthermore, the barcode information may have any code form.

以上述べたように本発明においては、特にバー
コードを複数ビツトの映像信号に変換する読取セ
ンサと、この映像信号のビツト毎のピーク値を保
持して連続信号に変換する保持手段と、この連続
信号を微分し微分信号を出力する微分手段と、こ
の微分信号の平滑化出力に応じて増幅利得を調整
して前記微分信号を所定レベルに増幅する増幅手
段とを備え、前記連続信号を微分した微分信号を
所定レベルに増幅し、この増幅した微分信号を2
値化のための信号源としているから、読取センサ
の読取信号に含まれる映像信号の信号レベルが小
さくなつた場合にも、その映像信号の変化分(つ
まり微分信号)を取り出して所定レベルまで増幅
できるため、映像信号の読取能力をより一層高め
ることができる。それによつて、バーコード上を
照射する照射光の変動、バーコード面の汚れ、あ
るいはバーコードの印刷濃度のばらつき等があつ
ても、速やかに微分信号に対する増幅利得を調整
でき、常に正確に白線、黒線バー記号に対応した
矩形波に変換して読取ることができるという優れ
た効果がある。
As described above, the present invention particularly includes a reading sensor that converts a barcode into a multi-bit video signal, a holding means that holds the peak value of each bit of this video signal and converts it into a continuous signal, and a Differentiating means for differentiating a signal and outputting a differentiated signal; and amplifying means for amplifying the differentiated signal to a predetermined level by adjusting an amplification gain according to the smoothed output of the differentiated signal, the continuous signal being differentiated. The differential signal is amplified to a predetermined level, and this amplified differential signal is
Since it is used as a signal source for value conversion, even if the signal level of the video signal included in the read signal of the reading sensor becomes small, the change in the video signal (that is, the differential signal) can be extracted and amplified to a predetermined level. Therefore, the ability to read video signals can be further improved. As a result, the amplification gain for the differential signal can be quickly adjusted even if there are fluctuations in the light irradiating the barcode, dirt on the barcode surface, or variations in the printing density of the barcode, and the white line can always be accurately adjusted. , it has the excellent effect of being able to be converted into a rectangular wave corresponding to the black line bar symbol and read.

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

第1図は本発明になるバーコード読取装置の一
実施例を示す全体構成図、第2図は第1図中のア
ナログ増幅部の詳細構成を示す電気結線図、第3
図、第4図、第5図は第2図に示す回路の作動説
明に供する各部信号波形図である。 1……送光部、2……受光部、2d……読取セ
ンサをなすイメージセンサ、2b……レンズ、3
……記録媒体をなすカード、3a……バー記号、
4……アナログ増幅部、5……デイジタル変換
部、6……基準クロツク発生部、7……演算処理
部、41……増幅器、42……サンプリング回
路、43……保持手段をなすサンプルホールド回
路、44……帰還用ローパスフイルタ、45……
ハイパスフイルタ、46……増幅手段をなす自動
利得制御回路、47……整形手段をなす整形回
路。
FIG. 1 is an overall configuration diagram showing one embodiment of the barcode reading device according to the present invention, FIG. 2 is an electrical wiring diagram showing the detailed configuration of the analog amplification section in FIG.
4 and 5 are signal waveform diagrams of various parts for explaining the operation of the circuit shown in FIG. 2. DESCRIPTION OF SYMBOLS 1... Light transmitting part, 2... Light receiving part, 2d... Image sensor forming a reading sensor, 2b... Lens, 3
...Card serving as a recording medium, 3a...Bar symbol,
4...Analog amplification section, 5...Digital conversion section, 6...Reference clock generation section, 7...Arithmetic processing section, 41...Amplifier, 42...Sampling circuit, 43...Sample hold circuit forming holding means , 44... Return low-pass filter, 45...
High pass filter, 46... Automatic gain control circuit serving as amplifying means, 47... Shaping circuit serving as shaping means.

Claims (1)

【特許請求の範囲】 1 少なくとも2種の幅のバー記号を順次配列し
たバーコード上における前記バー記号に交わる読
取線上の走査にて前記バーコードを複数ビツトの
映像信号に変換する読取センサと、 この映像信号のビツト毎のピーク値を保持して
連続信号に変換する保持手段と、 この連続信号を微分して微分信号を出力する微
分手段と、 この微分信号の平滑化出力に応じて増幅利得を
調整して前記微分信号を所定レベルに増幅する増
幅手段と、 この増幅手段の出力信号を矩形波に整形する整
形手段と を備えたバーコード読取装置。
[Scope of Claims] 1. A reading sensor that converts the barcode into a multi-bit video signal by scanning a reading line that intersects the bar symbol on the bar code in which bar symbols of at least two different widths are sequentially arranged; A holding means for holding the peak value of each bit of this video signal and converting it into a continuous signal, a differentiating means for differentiating this continuous signal and outputting a differentiated signal, and an amplification gain according to the smoothed output of this differentiated signal. A barcode reading device comprising: amplifying means for adjusting the differential signal and amplifying the differential signal to a predetermined level; and shaping means for shaping an output signal of the amplifying means into a rectangular wave.
JP14567481A 1981-09-15 1981-09-15 Bar code reader Granted JPS5846474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14567481A JPS5846474A (en) 1981-09-15 1981-09-15 Bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14567481A JPS5846474A (en) 1981-09-15 1981-09-15 Bar code reader

Publications (2)

Publication Number Publication Date
JPS5846474A JPS5846474A (en) 1983-03-17
JPH0120791B2 true JPH0120791B2 (en) 1989-04-18

Family

ID=15390458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14567481A Granted JPS5846474A (en) 1981-09-15 1981-09-15 Bar code reader

Country Status (1)

Country Link
JP (1) JPS5846474A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60231276A (en) * 1984-04-28 1985-11-16 Tokyo Electric Co Ltd barcode reader
JPS61193273A (en) * 1985-02-21 1986-08-27 Matsushita Electric Ind Co Ltd Barcode reader
JPH01175685A (en) * 1987-12-29 1989-07-12 Tohoku Ricoh Co Ltd Method for adjusting resolution of bar code reader
US6708883B2 (en) 1994-06-30 2004-03-23 Symbol Technologies, Inc. Apparatus and method for reading indicia using charge coupled device and scanning laser beam technology
US5672858A (en) * 1994-06-30 1997-09-30 Symbol Technologies Inc. Apparatus and method for reading indicia using charge coupled device and scanning laser beam technology
CN113533211B (en) * 2021-08-20 2024-05-07 四川新健康成生物股份有限公司 A barcode recognition device and algorithm for fluorescence analyzer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5193128A (en) * 1975-02-13 1976-08-16
JPS55124050U (en) * 1979-02-26 1980-09-03

Also Published As

Publication number Publication date
JPS5846474A (en) 1983-03-17

Similar Documents

Publication Publication Date Title
US4528444A (en) Optical reading apparatus with automatic gain control circuit
DE69323114T2 (en) Multifunctional camera system
US4446486A (en) Image signal processing circuit
EP1114391B1 (en) Fast edge detection system tolerant of high degree of intersymbol interference
US4222077A (en) Analog-digital conversion method, and a picture reproduction method using the same
JPH0120791B2 (en)
DE2365916C2 (en) Device for line-by-line recording of information in an electrical signal on a scanned light-sensitive medium
JPH0130186B2 (en)
JPS5672774A (en) Quality inspection device for printed bar code symbol
JPS5812473A (en) Video signal correction device
JPS61193274A (en) Bar code reader
JP4173614B2 (en) Floating binarization circuit and information code reader
JP2849311B2 (en) Optical reader
JPS5932257A (en) Image reading device
JPS6364935B2 (en)
GB1605010A (en) Picture processing apparatus
JPS5844441Y2 (en) barcode label
JPH0363113B2 (en)
JPS61193273A (en) Barcode reader
JPH0687535B2 (en) Analog signal binarization circuit
JPH0642199Y2 (en) Defect discrimination circuit
JPS55121579A (en) Picture reader
JP3130558B2 (en) Image reading method
JPS6278962A (en) Image input device
JPH01175685A (en) Method for adjusting resolution of bar code reader