JPH0721295A - Optical reader - Google Patents

Optical reader

Info

Publication number
JPH0721295A
JPH0721295A JP5161891A JP16189193A JPH0721295A JP H0721295 A JPH0721295 A JP H0721295A JP 5161891 A JP5161891 A JP 5161891A JP 16189193 A JP16189193 A JP 16189193A JP H0721295 A JPH0721295 A JP H0721295A
Authority
JP
Japan
Prior art keywords
signal
level
error detection
analog
unit
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.)
Granted
Application number
JP5161891A
Other languages
Japanese (ja)
Other versions
JP2878558B2 (en
Inventor
Kazuo Hasegawa
和男 長谷川
Junichi Ouchi
純一 大内
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP5161891A priority Critical patent/JP2878558B2/en
Publication of JPH0721295A publication Critical patent/JPH0721295A/en
Application granted granted Critical
Publication of JP2878558B2 publication Critical patent/JP2878558B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide an optical reader to obtain a binary signal free from a width error component by eliminating the influence of a swell component contained in a bar code readout signal. CONSTITUTION:In the optical reader provided with a photoelectric sensor part 1 to read a bar code and generate an analog signal having two signal levels corresponding to a white and a black levels, a signal amplifying part 2 to amplify the analog signal obtained by the photoelectric sensor part 1, and a binarizing part 3 to binarize the analog signal amplified by the signal amplifying part 2, a level error detection circuit 4 which detects the level error from a specified value of the amplified analog signal, and generates error detection information, a storage part 5 which stores the error detection information obtained by the level error detection circuit 4, and a gain correcting part 6 which changes the signal gain of the signal amplifying part 2 in accordance with the error detection information stored in the storage part 5, and controls the signal level of one analog signal so as to be constant are provided with.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、バーコードの読取りを
行う光学的読取装置に係わり、特に、光学センサ部で読
取ったバーコード読取信号に含まれる信号レベルのうね
り成分を補正し、前記バーコード読取信号を2値化する
際に生じる幅エラーの発生を防ぐようにした光学的読取
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical reading device for reading a bar code, and more particularly to correcting the undulation component of the signal level contained in the bar code read signal read by the optical sensor section to obtain the bar code. The present invention relates to an optical reading device that prevents a width error from occurring when a code reading signal is binarized.

【0002】[0002]

【従来の技術】従来、ラインセンサを用いてバーコード
読取りを行う光学的読取装置、いわゆる、バーコードス
キャナにおいては、バーコードを多数個配列した発光ダ
イオード(LED)によって照射し、その照射に基づく
バーコードからの反射光を読取るようにしている。この
場合、多数個のLEDによってバーコードを照射する技
術的な意義は、バーコードが印刷されている紙面を一様
に照らし出すだけではなく、レンズの口径蝕による周辺
部分の感度低下を補うもので、これらの技術的な意義を
達成させるためには、多数個配列されたLEDの中の、
中央部分に配置されるLEDの発光照度よりも、周辺部
分に配置されたLEDの発光照度を大きくする必要があ
る。
2. Description of the Related Art Conventionally, in an optical reading device for reading a bar code using a line sensor, that is, a so-called bar code scanner, a bar code is irradiated by a light emitting diode (LED) arranged in large numbers, and based on the irradiation. The light reflected from the bar code is read. In this case, the technical significance of irradiating a bar code with a large number of LEDs is not only to uniformly illuminate the paper surface on which the bar code is printed, but also to compensate for the sensitivity decrease in the peripheral area due to vignetting of the lens. In order to achieve these technical meanings, among the LEDs arranged in a large number,
It is necessary to make the light emission illuminance of the LEDs arranged in the peripheral portion larger than the light emission illuminance of the LED arranged in the central portion.

【0003】ところで、多数個配列されたLEDの中
で、中央部分に配置されたLEDの発光照度に比べて、
周辺部分に配置されたLEDの発光照度を増大させる構
成としては、例えば、中央部分に配置されたLEDの駆
動電流に比べて、周辺部分に配置されたLEDの駆動電
流を大きくする手段、または、中央部分に配置されたL
EDの配置密度に比べて、周辺部分に配置されたLED
の配置密度を大きくしたりする手段が知られている。
By the way, among the LEDs arranged in a large number, compared with the illuminance of the LED arranged in the central portion,
As a configuration for increasing the light emission illuminance of the LED arranged in the peripheral portion, for example, a means for increasing the drive current of the LED arranged in the peripheral portion as compared with the drive current of the LED arranged in the central portion, or L placed in the center
LEDs arranged in the peripheral area compared to the arrangement density of EDs
It is known to increase the arrangement density of the.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記既
知のバーコードスキャナにおいては、多数個配列された
LEDを用いてバーコードを照射し、前述のような発光
照度分布を得ようとしたときには、前記駆動電流の調整
や前記配置密度の調整を行うことが相当に難しいだけで
なく、前記各調整を行う他に、多数個のLEDについて
その発光輝度のバラツキを抑える必要がある。そして、
一旦、多数個のLEDについて、前記各調整や前記バラ
ツキの調整を行い、所望の発光照度分布が得られるよう
に配列設定させてしまうと、そこに他の外部光を用いよ
うとしても、前記配列設定された多数個のLEDと同様
に使用することができない等の問題がある。
However, in the above-mentioned known bar code scanner, when the bar code is irradiated using a large number of arranged LEDs and the above-mentioned light emission illuminance distribution is obtained, Not only is it considerably difficult to adjust the drive current and the layout density, but it is also necessary to suppress variations in the emission brightness of a large number of LEDs in addition to the adjustments described above. And
Once the above-mentioned adjustments and the above-mentioned variations are adjusted for a large number of LEDs, and the LEDs are arranged so as to obtain a desired light emission illuminance distribution, even if another external light is used there, the array There is a problem that it cannot be used like the set large number of LEDs.

【0005】また、前記既知のバーコードスキャナにお
いては、多数個のLEDの発光輝度特性を適宜選定する
等によって、バーコード照射時における前記発光照度の
バラツキが補正できたとしても、既知のバーコードスキ
ャナにおけるバーコード読取り時のバラツキには、前記
バーコード照射に対するバラツキの他に、ラインセンサ
に用いられる多数個の受光素子における受光感度のバラ
ツキや、光学系統のバラツキ等が現存するものである。
このため、既知のバーコードスキャナにおいては、これ
らのバラツキを全て完全に補正しない限り、バーコード
の読取り時に得られるバーコード読み取り信号は、うね
り成分を含んだ信号レベルを有するものであり、このう
ねり成分を含んだバーコード読取り信号をそのまま2値
化すると、幅エラーを持った2値化信号が得られるとい
う問題がある。
Further, in the known bar code scanner, even if the variation in the light emission illuminance at the time of irradiating the bar code can be corrected by appropriately selecting the light emission brightness characteristics of a large number of LEDs, the known bar code is known. In addition to the above variations in bar code irradiation, there are variations in the light receiving sensitivity of a large number of light receiving elements used in a line sensor, variations in the optical system, and the like.
Therefore, in the known barcode scanner, unless all these variations are completely corrected, the barcode reading signal obtained at the time of reading the barcode has a signal level including the undulation component. If the bar code read signal including the component is binarized as it is, there is a problem that a binarized signal having a width error is obtained.

【0006】本発明は、前記各問題点を除去するもので
あって、その目的は、バーコード読み取り信号に含まれ
るうねり成分の影響を実質的に除去し、幅エラー成分を
有しない2値化信号を得ることが可能な光学的読取装置
を提供することにある。
The present invention eliminates the above-mentioned problems, and its purpose is to substantially eliminate the influence of the waviness component contained in the bar code read signal, and to perform binarization without a width error component. An object is to provide an optical reader capable of obtaining a signal.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、バーコードを読取り、白レベル及び黒レ
ベルに対応した2つの信号レベルを有するアナログ信号
を発生する光電センサ部と、前記光電センサ部で得られ
たアナログ信号を増幅する信号増幅部と、前記信号増幅
部で増幅されたアナログ信号を2値化する2値化部とを
備える光学的読取装置において、前記増幅されたアナロ
グ信号の規定値からのレベル誤差を検出して誤差検出情
報を発生するレベル誤差検出回路と、前記レベル誤差検
出回路で得られた誤差検出情報を記憶する記憶部と、前
記記憶部に記憶された誤差検出情報に対応して前記信号
増幅部の信号利得を変化させ、前記アナログ信号の一方
の信号レベルが一定になるように制御する利得補正部と
を備える第1の手段を具備する。
In order to achieve the above object, the present invention provides a photoelectric sensor unit for reading a bar code and generating an analog signal having two signal levels corresponding to a white level and a black level, In the optical reading device including a signal amplification unit that amplifies the analog signal obtained by the photoelectric sensor unit and a binarization unit that binarizes the analog signal amplified by the signal amplification unit, A level error detection circuit that detects a level error from a specified value of an analog signal to generate error detection information, a storage unit that stores the error detection information obtained by the level error detection circuit, and a storage unit that is stored in the storage unit. And a gain correction unit that controls the signal gain of the signal amplification unit according to the error detection information so that one of the analog signals has a constant signal level. Comprising a.

【0008】また、前記目的を達成するために、本発明
は、バーコードを読取り、その白レベル及び黒レベルに
対応した2つの信号レベルを有するアナログ信号を発生
する光電センサ部と、前記光電センサ部で得られたアナ
ログ信号をアナログ−デジタル変換する信号変換部と、
前記信号変換部で変換されたデジタル信号を補正するデ
ジタル補正部と、前記デジタル補正部の出力デジタル信
号を2値化する2値化部とを備える光学的読取装置にお
いて、前記変換されたデジタル信号の規定値からのレベ
ル誤差を検出して誤差検出情報を発生するレベル誤差検
出回路と、前記レベル誤差検出回路で得られた誤差検出
情報を記憶する記憶部と、前記記憶部に記憶された誤差
検出情報に対応して前記デジタル補正部の補正値を変更
させ、前記2値化部に供給されるデジタル信号の一方の
信号レベルが一定になるように制御する第2の手段を具
備する。
In order to achieve the above object, the present invention provides a photoelectric sensor unit for reading a bar code and generating an analog signal having two signal levels corresponding to a white level and a black level, and the photoelectric sensor. A signal conversion unit for analog-digital converting the analog signal obtained in the section,
In the optical reading device including a digital correction unit that corrects the digital signal converted by the signal conversion unit and a binarization unit that binarizes the output digital signal of the digital correction unit, the converted digital signal Level error detection circuit for detecting a level error from a specified value of the error detection information, a storage unit for storing the error detection information obtained by the level error detection circuit, and an error stored in the storage unit. There is provided a second means for changing the correction value of the digital correction unit according to the detection information and controlling so that one signal level of the digital signal supplied to the binarization unit becomes constant.

【0009】[0009]

【作用】前記第1の手段によれば、補正モード状態のと
きには、バーコードの読取りによって得られたアナログ
信号は、信号増幅部で増幅された後、レベル誤差検出回
路に入力される。レベル誤差検出回路は、前記アナログ
信号の各信号部分の信号レベルと予め設定されている標
準的な信号レベルとを順次比較し、前記アナログ信号の
各信号部分の信号レベルにおける規定値からのレベル誤
差の検出、即ち、前記アナログ信号の中のうねり成分を
検出し、検出したうねり成分をデジタル化して誤差検出
情報に変換した後、記憶部に記憶させる。また、読取モ
ード状態のときには、前記アナログ信号が信号増幅部に
おいて増幅される際に、増幅されるアナログ信号の各信
号部分の信号レベルの供給に同期して誤差検出情報を記
憶部から順次読み出す。利得補正部は、順次読み出した
誤差検出情報をアナログ制御信号に変換し、信号増幅部
に供給する。信号増幅部は、供給されるアナログ制御信
号に応じて信号利得特性が可変にされ、それによって前
記アナログ信号の中のうねり成分が実質的に除去され、
アナログ信号の黒レベルまたは白レベルが一定化され
る。
According to the first means, in the correction mode state, the analog signal obtained by reading the bar code is amplified by the signal amplification section and then input to the level error detection circuit. The level error detection circuit sequentially compares the signal level of each signal portion of the analog signal with a preset standard signal level, and obtains a level error from a specified value in the signal level of each signal portion of the analog signal. Of the analog signal, that is, the undulation component in the analog signal is detected, the detected undulation component is digitized and converted into error detection information, and then stored in the storage unit. In the read mode, when the analog signal is amplified by the signal amplifying unit, the error detection information is sequentially read from the storage unit in synchronization with the supply of the signal level of each signal portion of the amplified analog signal. The gain correction unit converts the sequentially read error detection information into an analog control signal and supplies the analog control signal to the signal amplification unit. The signal amplifying section has a variable signal gain characteristic in accordance with the supplied analog control signal, whereby the swell component in the analog signal is substantially removed,
The black level or white level of the analog signal is made constant.

【0010】このように、前記第1の手段においては、
読取モードの状態のときに、バーコード読み取り信号の
増幅によって、バーコード読み取り信号内に含まれるう
ねり成分が実質的に除去され、それによりバーコード読
み取り信号の黒レベルまたは白レベルが一定化されるの
で、バーコード読み取り信号を2値化する際に、幅エラ
ーを生じることがない。
As described above, in the first means,
When in the reading mode, the amplification of the bar code reading signal substantially removes the swell component contained in the bar code reading signal, thereby stabilizing the black level or the white level of the bar code reading signal. Therefore, a width error does not occur when the barcode read signal is binarized.

【0011】また、前記第2の手段によれば、補正モー
ド状態のときには、バーコードの読取りによって得られ
たアナログ信号は、アナログ/デジタル信号変換部でデ
ジタル信号に変換された後、レベル誤差検出回路に供給
される。レベル誤差検出回路は、前記デジタル信号の各
信号部分の信号レベルと予め設定されている標準的なデ
ジタル信号レベルとをデジタル的に順次比較し、前記デ
ジタル信号の各信号部分の信号レベルにおける規定値か
らのレベル誤差の検出、即ち、前記デジタル信号の中の
うねり成分を検出し、検出したうねり成分を誤差検出情
報に変換した後、記憶部に記憶させる。また、読取モー
ド状態のときには、前記デジタル信号の各信号部分の信
号レベルがデジタル補正部においてデジタル補正される
際に、補正されるデジタル信号の各信号部分の信号レベ
ルの供給に同期して誤差検出情報を記憶部から順次読み
出し、デジタル補正部に供給する。デジタル補正部は、
この順次供給された誤差検出情報に応じてデジタル値が
可変にされ、それによってデジタル信号の中のうねり成
分が実質的に除去され、デジタル信号の黒レベルまたは
白レベルが一定化される。
According to the second means, in the correction mode state, the analog signal obtained by reading the bar code is converted into a digital signal by the analog / digital signal conversion unit, and then the level error is detected. Supplied to the circuit. The level error detection circuit digitally sequentially compares the signal level of each signal portion of the digital signal with a preset standard digital signal level, and determines a prescribed value at the signal level of each signal portion of the digital signal. Of the level error, that is, the swell component in the digital signal is detected, the detected swell component is converted into error detection information, and then stored in the storage unit. In the read mode, when the signal level of each signal portion of the digital signal is digitally corrected by the digital correction unit, error detection is performed in synchronization with the supply of the signal level of each signal portion of the digital signal to be corrected. Information is sequentially read from the storage unit and supplied to the digital correction unit. The digital correction unit
The digital value is made variable according to the error detection information sequentially supplied, whereby the swell component in the digital signal is substantially removed, and the black level or white level of the digital signal is made constant.

【0012】このように、前記第2の手段においては、
読取モード状態のときに、バーコード読み取り信号をデ
ジタル化した後のデジタル信号のデジタル補正が行われ
て、デジタル信号内に含まれるうねり成分が実質的に除
去され、それによりデジタル信号の黒レベルまたは白レ
ベルが一定化されるので、前記デジタル信号を2値化す
る際に、幅エラーを生じることがない。
As described above, in the second means,
In the reading mode state, the digital signal after the barcode reading signal is digitized is digitally corrected to substantially remove the swell component contained in the digital signal, thereby the black level of the digital signal or Since the white level is made constant, no width error occurs when binarizing the digital signal.

【0013】[0013]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0014】図1は、本発明に係わる光学的読取装置の
第1の実施例の構成を示すブロック構成図である。
FIG. 1 is a block diagram showing the construction of the first embodiment of the optical reading apparatus according to the present invention.

【0015】図1において、1はCCDセンサ(光電セ
ンサ部)、2は可変利得増幅器(信号増幅部)、3は2
値化回路(2値化部)、4はレベル誤差検出回路、5は
PROM(記憶部)、6は利得補正回路(利得補正
部)、7は基準信号発生器、8は除算器、9はORゲー
トである。
In FIG. 1, 1 is a CCD sensor (photoelectric sensor section), 2 is a variable gain amplifier (signal amplification section), and 3 is 2.
A binarization circuit (binarization unit), 4 is a level error detection circuit, 5 is a PROM (storage unit), 6 is a gain correction circuit (gain correction unit), 7 is a reference signal generator, 8 is a divider, and 9 is It is an OR gate.

【0016】そして、CCDセンサ1は、多数個配列さ
れたフォトダイオードとCCDによって構成され、バー
コード(図示なし)を読み取って、バーコード読み取り
信号(バーコードの黒レベル及び白レベルに対応したア
ナログ信号(以下、この信号をアナログ信号という)を
発生する。可変利得増幅器2は、利得補正回路6から供
給される利得制御信号によって信号利得特性が制御さ
れ、アナログ信号を前記利得特性にしたがって可変利得
増幅する。2値化回路3は、増幅されたアナログ信号
(以下、この信号をアナログ増幅信号という)を2値化
信号に変換する。レベル誤差検出回路4は、少なくとも
基準信号発生器7及び除算器8からなっており、この
内、基準信号発生器7はアナログ増幅信号の標準的な信
号レベル(規定値)を発生し、除算器8はアナログ増幅
信号レベルと基準信号発生器7が出力する標準的な信号
レベル(規定値)との間で除算を行い、レベル誤差検出
回路4の出力にデジタル化された誤差検出情報を出力さ
せる。PROM5は、前記誤差検出情報を記憶する。こ
の記憶された誤差検出情報は、読み出され、利得補正回
路6に供給される。利得補正回路6は、供給された誤差
検出情報をアナログ利得制御信号に変換し、可変利得増
幅器2に供給する。OR回路9は、走査開始信号と補正
開始信号との論理和出力をCCDセンサ1に供給する。
走査開始信号は、PROM5と利得補正回路6に供給さ
れ、補正開始信号は、PROM5と除算器8に供給され
る。
The CCD sensor 1 is composed of a large number of photodiodes and CCDs arranged to read a bar code (not shown) and outputs a bar code reading signal (an analog corresponding to the black level and the white level of the bar code). A variable gain amplifier 2 has a signal gain characteristic controlled by a gain control signal supplied from a gain correction circuit 6 to generate a signal (hereinafter, this signal is referred to as an analog signal). The binarization circuit 3 converts the amplified analog signal (hereinafter, this signal is referred to as an analog amplified signal) into a binarized signal The level error detection circuit 4 includes at least a reference signal generator 7 and a division unit. The reference signal generator 7 generates a standard signal level (specified value) of the analog amplified signal. Then, the divider 8 performs division between the analog amplified signal level and the standard signal level (specified value) output by the reference signal generator 7 to detect the digitized error detected in the output of the level error detection circuit 4. The PROM 5 stores the error detection information, and the stored error detection information is read out and supplied to the gain correction circuit 6. The gain correction circuit 6 receives the supplied error detection information. Is converted into an analog gain control signal and supplied to the variable gain amplifier 2. The OR circuit 9 supplies the logical sum output of the scanning start signal and the correction start signal to the CCD sensor 1.
The scanning start signal is supplied to the PROM 5 and the gain correction circuit 6, and the correction start signal is supplied to the PROM 5 and the divider 8.

【0017】この場合、レベル誤差検出回路4には、光
学的読取装置の使用前、例えば、光学的読取装置の工場
出荷前等において、バーコードの読み取りを行った際に
得られるアナログ増幅信号の標準的な信号レベル、即
ち、うねり成分を全く含まないアナログ増幅信号におけ
る各信号部分(各黒レベル部分または各白レベル部分)
の信号レベルをそれぞれ規定値として定め、ここで定め
た規定値を基準信号発生器7の中に予め収納させてい
る。
In this case, the level error detection circuit 4 outputs the analog amplified signal obtained when the bar code is read before the optical reading device is used, for example, before the optical reading device is shipped from the factory. Standard signal level, that is, each signal part (each black level part or each white level part) in an analog amplified signal that does not include any swell component
The signal levels of are defined as prescribed values, and the prescribed values determined here are stored in the reference signal generator 7 in advance.

【0018】前記構成による本実施例は、以下に述べる
ような動作を行う。
The present embodiment having the above-described configuration operates as described below.

【0019】まず、光学的読取装置が使用開始されると
き、いわゆる、補正モード状態のときにおいて、OR回
路9を介してCCDセンサ1に補正開始信号が供給され
ると、CCDセンサ1は、順次供給される読出しクロッ
ク信号(図示なし)に対応してバーコードの走査読み取
りを行い、バーコードの黒レベル及び白レベルの走査読
み取りにそれぞれ対応して、順次時間的に信号レベルが
変動する信号部分を有するアナログ信号(バーコード読
み取り信号)を発生する。この場合、前記アナログ信号
は、バーコードを照射する多数個のLEDの発光輝度の
バラツキ、CCDセンサ1における多数個のフォトダイ
オードの受光感度のバラツキ等によって、信号の白レベ
ル(または黒レベル)が時間とともに変動する成分、い
わば、うねり成分が含まれているものである。前記うね
り成分を含んだアナログ信号は、可変利得増幅器2で増
幅され、可変利得増幅器2からは、同じく、順次時間的
に信号レベルが変動する信号部分を有するアナログ増幅
信号が出力される。このアナログ増幅信号は、レベル誤
差検出回路4に供給される。なお、この補正モードの状
態のときには、除算器8は、補正開始信号の供給により
補正可能状態に設定され、PROM5は、補正開始信号
の供給により記憶可能状態に設定されている。
First, when a correction start signal is supplied to the CCD sensor 1 via the OR circuit 9 when the optical reading device is started to be used, that is, in the so-called correction mode state, the CCD sensor 1 is sequentially operated. A signal portion in which a bar code is scanned and read in response to a read clock signal (not shown) supplied, and the signal level sequentially changes in time corresponding to the scanning and reading of the black level and the white level of the bar code. To generate an analog signal (barcode reading signal). In this case, the analog signal has a white level (or black level) of the signal due to variations in the light emission brightness of a large number of LEDs for irradiating a barcode, variations in the light receiving sensitivity of a large number of photodiodes in the CCD sensor 1, and the like. It includes a component that changes with time, that is, a swell component. The analog signal containing the swell component is amplified by the variable gain amplifier 2, and similarly, the variable gain amplifier 2 outputs an analog amplified signal having a signal portion whose signal level sequentially changes with time. This analog amplified signal is supplied to the level error detection circuit 4. In the correction mode, the divider 8 is set to the correctable state by the supply of the correction start signal, and the PROM 5 is set to the storable state by the supply of the correction start signal.

【0020】次いで、レベル誤差検出回路4において
は、アナログ増幅信号における前記信号部分が除算器8
に順次入力されると、前記アナログ増幅信号における前
記信号部分の順次入力に同期して、基準信号発生器7に
予め収納されている標準的な信号レベル(規定値)が順
次取り出され、除算器8に入力される。除算器8は、同
期して順次入力されるアナログ増幅信号における前記信
号部分の各信号レベルと、それに対応した標準的な信号
レベル(規定値)との間で互いに信号レベルの比較を行
い、その比較の結果として、アナログ増幅信号における
前記信号部分の各信号レベルと標準的な信号レベル(規
定値)との間の各信号レベル差を示す誤差信号を順次発
生する。続いて、この誤差信号は、デジタル化された誤
差検出情報に変換された後、PROM5に供給されてそ
こに順次記憶され、補正モード状態が終了する。
Next, in the level error detection circuit 4, the signal portion in the analog amplified signal is divided by the divider 8
, The standard signal level (specified value) stored in advance in the reference signal generator 7 is sequentially taken out in synchronization with the sequential input of the signal portion in the analog amplified signal, and the divider is 8 is input. The divider 8 compares the signal levels of the respective signal levels of the analog amplified signals, which are sequentially input in synchronization with each other, with the corresponding standard signal level (specified value), and As a result of the comparison, an error signal indicating each signal level difference between each signal level of the signal portion of the analog amplified signal and a standard signal level (specified value) is sequentially generated. Subsequently, this error signal is converted into digitized error detection information and then supplied to the PROM 5 and sequentially stored therein, and the correction mode state is ended.

【0021】なお、後に述べる読取モード状態のときに
は、PROM5に記憶された誤差検出情報は、その後に
順次読み出され、利得補正回路6に供給される。利得補
正回路6は、順次供給された誤差検出情報を、前記誤差
検出情報の内容に対応して順次変化するアナログ制御信
号に変換し、このアナログ制御信号は、可変利得増幅器
2の信号利得特性(増幅利得)を設定するために可変利
得増幅器2に供給される。この場合、アナログ制御信号
は、常時、可変利得増幅器2で増幅されたアナログ増幅
信号における信号部分の各信号レベルとそれに対応した
標準的な信号レベル(規定値)との間の各信号レベル差
をなくすような極性と大きさを持つように随時可変され
る。
In the reading mode state described later, the error detection information stored in the PROM 5 is subsequently read out sequentially and supplied to the gain correction circuit 6. The gain correction circuit 6 converts the sequentially supplied error detection information into an analog control signal that sequentially changes according to the content of the error detection information, and the analog control signal has a signal gain characteristic of the variable gain amplifier 2 ( It is supplied to the variable gain amplifier 2 for setting the amplification gain). In this case, the analog control signal always indicates the signal level difference between each signal level of the signal portion of the analog amplified signal amplified by the variable gain amplifier 2 and the corresponding standard signal level (specified value). It can be changed at any time so that it has a polarity and size that can be lost.

【0022】次に、光学的読取装置で本格的にバーコー
ドの読取り行われる状態、いわゆる、読取モード状態の
ときにおいて、OR回路9を介してCCDセンサ1に走
査開始信号が供給されると、CCDセンサ1は、前記読
出しクロック信号の供給に対応してバーコードの走査読
み取りを行い、同じく、バーコードの黒レベル及び白レ
ベルの走査読み取りにそれぞれ対応して、順次時間的に
信号レベルが変動する信号部分を有するアナログ信号
(バーコード読み取り信号)を発生する。この場合も、
前記アナログ信号は、前記うねり成分を含んているもの
であって、このうねり成分を含んだアナログ信号は、可
変利得増幅器2に供給される。一方、PROM5は、走
査開始信号が供給されると、記憶されている誤差検出情
報の順次読み出しを行い、この読み出された誤差検出情
報は直ちに利得補正回路6に供給される。また、利得補
正回路6は、走査開始信号が供給されると、利得補正回
路6は順次供給される誤差検出情報を、その情報内容に
対応したアナログ制御信号に変換し、ここで得られたア
ナログ制御信号は可変利得増幅器2に供給される。
Next, when a scanning start signal is supplied to the CCD sensor 1 via the OR circuit 9 in a state where the optical reading device is reading a bar code in earnest, that is, in a reading mode state, The CCD sensor 1 scans and reads the bar code in response to the supply of the read clock signal, and similarly, the signal level sequentially changes in time corresponding to the scanning and reading of the black level and the white level of the bar code. An analog signal (bar code reading signal) having a signal portion for generating is generated. Also in this case,
The analog signal includes the swell component, and the analog signal including the swell component is supplied to the variable gain amplifier 2. On the other hand, when the scanning start signal is supplied to the PROM 5, the stored error detection information is sequentially read, and the read error detection information is immediately supplied to the gain correction circuit 6. When the scanning start signal is supplied, the gain correction circuit 6 converts the error detection information sequentially supplied into an analog control signal corresponding to the information content, and the analog control signal obtained here is obtained. The control signal is supplied to the variable gain amplifier 2.

【0023】ここで、アナログ信号における各信号部分
が順次可変利得増幅器2に入力されると、前記各信号部
分の可変利得増幅器2への順次入力に同期して、PRO
M5から誤差検出情報の順次読み出しが行われ、この読
み出された誤差検出情報は利得補正回路6においてアナ
ログ制御信号に変換された後、前記アナログ制御信号は
可変利得増幅器2に順次入力される。このとき、可変利
得増幅器2においては、順次入力されるアナログ信号の
信号部分は、同じく順次入力されるアナログ制御信号に
よって設定された信号利得で決まる利得によって増幅さ
れ、その出力側に、うねり成分が除去されたアナログ増
幅信号が得られるものである。
When each signal portion of the analog signal is sequentially input to the variable gain amplifier 2, PRO is synchronized with the sequential input of each signal portion to the variable gain amplifier 2.
The error detection information is sequentially read from M5, the read error detection information is converted into an analog control signal in the gain correction circuit 6, and then the analog control signal is sequentially input to the variable gain amplifier 2. At this time, in the variable gain amplifier 2, the signal portion of the sequentially input analog signal is amplified by the gain determined by the signal gain set by the similarly sequentially input analog control signal, and the waviness component is present on the output side. That is, the removed analog amplified signal is obtained.

【0024】前記アナログ信号の増幅過程において、前
記アナログ信号に含まれるうねり成分が可変利得増幅器
2で除去され、うねり成分を含まないアナログ増幅信号
が得られる理由は、次のとおりである。
The reason why the swell component included in the analog signal is removed by the variable gain amplifier 2 in the process of amplifying the analog signal, and the analog amplified signal containing no swell component is obtained is as follows.

【0025】まず、同一の光学的読取装置のCCDセン
サ1によって読み出されるアナログ信号は、読み出され
る度ごとに、各信号部分で殆んど同じような信号レベル
の変化傾向を有していること、即ち、読み出される度ご
とに殆んど同じようなうねり成分を持ったアナログ信号
が得られるという点に着目し、最初に読み出されたアナ
ログ信号の各信号部分の信号レベルと予め設定している
標準的な信号レベル(規定値)との間の各信号レベル差
(以下、これを各初期時の信号レベル差という)は、2
回目以降に読み出されるアナログ信号の各信号部分の信
号レベルと前記規定値との間の各信号レベル差(以下、
これを各通常時の信号レベル差という)に殆んど等しく
なることから、各通常時の信号レベル差をなくすために
は、換言すれば、アナログ増幅信号からうねり成分を除
去するためには、各通常時の信号レベル差の変化傾向と
全く同じ変化傾向を示す各初期時の信号レベル差を利用
して補正すればよいことを見出したものである。
First, the analog signal read by the CCD sensor 1 of the same optical reading device has almost the same tendency of changing the signal level in each signal portion every time it is read, That is, paying attention to the fact that an analog signal having almost the same swell component can be obtained each time it is read, and the signal level of each signal portion of the first read analog signal is preset. Each signal level difference from the standard signal level (specified value) (hereinafter, referred to as each initial signal level difference) is 2
Each signal level difference between the signal level of each signal portion of the analog signal read after the first time and the specified value (hereinafter,
This is almost equal to the signal level difference at each normal time), so in order to eliminate the signal level difference at each normal time, in other words, to remove the swell component from the analog amplified signal, The inventors have found that the correction may be performed by using the signal level difference at each initial time that shows the same change tendency as the signal level difference at each normal time.

【0026】そして、具体的な補正手段としては、CC
Dセンサ1によって読み出したアナログ信号を可変利得
増幅器2において増幅する際に、アナログ信号の各信号
部分の信号レベル入力に対応させて、既に得られている
各初期時の信号レベル差に基づいて作成されたそれぞれ
のアナログ制御信号を順次可変利得増幅器2に供給する
ようにするもので、前記アナログ信号の各信号部分の信
号レベルの偏差量に対応した極性と大きさを持ったアナ
ログ制御信号により、前記各信号部分の信号レベルの偏
差量を是正するようにしているものである。
Then, as a concrete correction means, CC
When the analog signal read by the D sensor 1 is amplified by the variable gain amplifier 2, it is created corresponding to the signal level input of each signal portion of the analog signal based on the already obtained signal level difference at each initial stage. The respective analog control signals thus generated are sequentially supplied to the variable gain amplifier 2. By the analog control signal having the polarity and the magnitude corresponding to the deviation amount of the signal level of each signal portion of the analog signal, The deviation amount of the signal level of each signal portion is corrected.

【0027】即ち、ある時点における前記信号部分の信
号レベルと前記規定値との間の信号レベル差との比較に
おいて、前記信号部分の信号レベルが前記規定値に比べ
て正方向に大きくなっているときには、前記ある時点に
対応した時点に、既に得られている正方向に大きい初期
時の信号レベル差に基づいて作成されたアナログ制御信
号は、可変利得増幅器2の利得を大きく低減させるもの
であるので、前記ある時点における前記信号部分の信号
レベルが可変利得増幅器2で増幅される際に、その増幅
の割合が抑えられる。一方、他の時点における前記信号
部分の信号レベルと前記規定値との比較において、前記
信号部分の信号レベルが前記規定値に比べて小さくなっ
ているときには、前記他の時点に対応した時点に、既に
得られている負方向に大きい初期時の信号レベル差に基
づいて作成されたアナログ制御信号は、可変利得増幅器
2の利得を大きく増大させるものであるので、前記他の
時点における前記信号部分の信号レベルが可変利得増幅
器2で増幅される際に、その増幅の割合が増大される。
That is, in the comparison of the signal level difference between the signal portion of the signal portion and the specified value at a certain time point, the signal level of the signal portion is larger in the positive direction than the specified value. Sometimes, at a time corresponding to the certain time, the analog control signal generated based on the signal level difference at the initial time which is already large in the positive direction greatly reduces the gain of the variable gain amplifier 2. Therefore, when the signal level of the signal portion at the certain time point is amplified by the variable gain amplifier 2, the amplification rate is suppressed. On the other hand, in the comparison between the signal level of the signal portion at the other time and the specified value, when the signal level of the signal portion is smaller than the specified value, at the time corresponding to the other time, Since the analog control signal created based on the already obtained large signal level difference in the negative direction at the initial time greatly increases the gain of the variable gain amplifier 2, the analog control signal of the signal portion at the other time point is increased. When the signal level is amplified by the variable gain amplifier 2, the amplification rate is increased.

【0028】同様に、ある時点における前記信号部分の
信号レベルと前記規定値との間の信号レベル差との比較
において、前記信号部分の信号レベルが前記規定値に比
べて正方向に小さくなっているときには、前記ある時点
に対応した時点に、既に得られている正方向に小さい初
期時の信号レベル差に基づいて作成されたアナログ制御
信号は、可変利得増幅器2の利得をやや低減させるもの
であるので、前記ある時点における前記信号部分の信号
レベルが可変利得増幅器2で増幅される際に、その増幅
度がやや抑えられる。一方、他の時点における前記信号
部分の信号レベルと前記規定値との間の信号レベル差と
の比較において、前記信号部分の信号レベルが前記規定
値に比べて負方向に小さくなっているときには、前記他
の時点に対応した時点に、既に得られている負方向に小
さい初期時信号レベル差に基づいて作成されたアナログ
制御信号は、可変利得増幅器2の利得をやや増大させる
ものであるので、前記他の時点における前記信号部分の
信号レベルは可変利得増幅器2で増幅される際に、その
増幅度がやや増大される。
Similarly, in the comparison of the signal level difference between the signal portion of the signal portion and the prescribed value at a certain time point, the signal level of the signal portion becomes smaller in the positive direction than the prescribed value. In this case, the analog control signal generated based on the small signal level difference in the positive direction which has already been obtained at the time corresponding to the certain time reduces the gain of the variable gain amplifier 2 to some extent. Therefore, when the signal level of the signal portion at the certain point of time is amplified by the variable gain amplifier 2, the amplification degree is slightly suppressed. On the other hand, in comparison with the signal level difference between the signal level of the signal portion and the specified value at another time point, when the signal level of the signal portion is smaller in the negative direction than the specified value, At the time corresponding to the other time, the analog control signal created based on the already-obtained small initial signal level difference in the negative direction slightly increases the gain of the variable gain amplifier 2. When the signal level of the signal portion at the other time point is amplified by the variable gain amplifier 2, its amplification degree is slightly increased.

【0029】このように、アナログ信号における各信号
部分の信号レベルが可変利得増幅器2で増幅される際
に、前記各信号部分の信号レベルの前記規定値からの偏
差に応じて、その偏差の極性及び度合いが変動する度ご
とに、可変利得増幅器2の利得がその変動を打ち消すよ
うに変動するので、可変利得増幅器2の出力側に得られ
るアナログ増幅信号は、白レベル(または黒レベル)が
一定になり、うねり成分を含まないものになる。
As described above, when the signal level of each signal portion in the analog signal is amplified by the variable gain amplifier 2, the polarity of the signal level of each signal portion depends on the deviation from the specified value. And the gain of the variable gain amplifier 2 fluctuates so as to cancel the fluctuation, the analog amplified signal obtained at the output side of the variable gain amplifier 2 has a constant white level (or black level). And it does not contain swell components.

【0030】そして、前記うねり成分を含まないアナロ
グ増幅信号が、2値化回路3に供給されると、信号中の
白レベル成分及び黒レベル成分にそれぞれ対応した正確
な2値化が実行され、2値化回路3の出力に、幅エラー
の生じない2値化信号を得ることができる。
When the analog amplified signal not containing the swell component is supplied to the binarization circuit 3, accurate binarization corresponding to the white level component and the black level component in the signal is executed, At the output of the binarization circuit 3, a binarized signal with no width error can be obtained.

【0031】なお、本実施例においては、アナログ増幅
信号における各信号部分の信号レベルと前記規定値との
間の各信号レベル差を導出するために、除算器8を用い
ているが、この除算器8の代わりに減算器を用いても同
様の機能を達成させることができる。
In the present embodiment, the divider 8 is used to derive the signal level difference between the signal level of each signal portion in the analog amplified signal and the specified value. A similar function can be achieved by using a subtracter instead of the device 8.

【0032】次いで、図2は、本発明に係わる光学的読
取装置の第2の実施例の構成を示すブロック構成図であ
る。
Next, FIG. 2 is a block diagram showing the configuration of the second embodiment of the optical reading apparatus according to the present invention.

【0033】図2において、10はEPROM(消去可
能なプログラマブルリードオンリメモリ)、11は第1
の切換器、12は第2の切換器であり、その他、図1に
示された構成要素と同じ構成要素には、同じ符号を付け
ている。
In FIG. 2, 10 is an EPROM (erasable programmable read only memory), and 11 is a first memory.
2 is a second switch, and the same components as those shown in FIG. 1 are denoted by the same reference numerals.

【0034】そして、第1の切換器11及び第2の切換
器12には、それぞれ補正モード切替信号が供給され
る。この補正モード切替信号は、補正モード状態のとき
に負極性またはゼロ極性になり、読取モード状態のとき
に正極性になる。第1の切換器11は、補正モード切替
信号の負極性またはゼロ極性時にオフになり、第2の切
換器12は、補正モード切替信号の負極性またはゼロ極
性時にオンになる。
A correction mode switching signal is supplied to each of the first switching device 11 and the second switching device 12. The correction mode switching signal has a negative polarity or zero polarity in the correction mode state, and has a positive polarity in the reading mode state. The first switch 11 is turned off when the correction mode switching signal has a negative polarity or zero polarity, and the second switch 12 is turned on when the correction mode switching signal has a negative polarity or zero polarity.

【0035】ここで、本実施例と前述の第1の実施例の
構成とを比較すると、誤差検出情報の記憶のため、本実
施例がEPROM10を用いているのに対して、第1の
実施例がPROM5を用いている点、及び、本実施例が
可変利得増幅器2と利得補正回路6との間に第1の切換
器11を接続し、かつ、レベル誤差検出回路4とEPR
OM10との間に第2の切換器12を接続しているのに
対して、第1の実施例がこのような第1の切換器11や
第2の切換器12を具備していない点に違いがあるが、
その他には本実施例と第1の実施例との間に構成上の違
いがない。
Here, comparing this embodiment with the configuration of the above-mentioned first embodiment, the first embodiment uses the EPROM 10 for storing error detection information, whereas the first embodiment does not. In the example, the PROM 5 is used, and in the present embodiment, the first switch 11 is connected between the variable gain amplifier 2 and the gain correction circuit 6, and the level error detection circuit 4 and the EPR are connected.
The second switch 12 is connected to the OM 10, whereas the first embodiment does not have such a first switch 11 and a second switch 12. There are differences,
Other than that, there is no difference in structure between this embodiment and the first embodiment.

【0036】次に、本実施例と前述の第1の実施例の動
作とを比較する。
Next, the operation of this embodiment will be compared with the operation of the above-mentioned first embodiment.

【0037】まず、補正モード状態のときには、本実施
例が、第1の切換器11及び第2の切換器12にそれぞ
れ負極性またはゼロ極性の補正モード切替信号が供給さ
れ、それによって第1の切換器11がオフになって、利
得補正回路6と可変利得増幅器2との間が開放状態にさ
れるとともに、第2の切換器12がオンになって、レベ
ル誤差検出回路4とEPROM10との間が接続状態に
なるのに対して、第1の実施例が、前述のような補正モ
ード切替信号の供給がなく、利得補正回路6と可変利得
増幅器2との間及びレベル誤差検出回路4とPROM5
との間がいずれも接続状態にされる点に動作上の違いは
ある。しかるに、その余の動作、即ち、可変利得増幅器
2によってアナログ信号における各信号部分が増幅さ
れ、アナログ増幅信号が得られる動作、アナログ増幅信
号が除算器8に順次入力されると、前記アナログ増幅信
号における前記信号部分の順次入力に同期して、基準信
号発生器7に予め収納されている標準的な信号レベル
(規定値)が順次取り出され、除算器8に入力される動
作、除算器8が、同期して順次入力されるアナログ増幅
信号における前記信号部分の各信号レベルと、それに対
応した標準的な信号レベル(規定値)との間で互いに信
号レベルの比較を行う結果、アナログ増幅信号における
前記信号部分の各信号レベルと標準的な信号レベル(規
定値)との間の各信号レベル差を示す誤差信号を順次発
生する動作、この誤差信号がデジタル化された誤差検出
情報に変換された後、PROM5(またはEPROM1
0)に供給されてそこに順次記憶される動作について
は、本実施例と第1の実施例との間に何等の違いがない
ので、補正モード状態のときの本実施例の動作について
は、これ以上の詳しい説明を省略する。
First, in the correction mode state, in the present embodiment, the correction mode switching signal of negative polarity or zero polarity is supplied to the first switching device 11 and the second switching device 12, respectively, whereby the first switching device 11 and the second switching device 12 are supplied. The switch 11 is turned off to open the gap between the gain correction circuit 6 and the variable gain amplifier 2, and the second switch 12 is turned on to connect the level error detection circuit 4 and the EPROM 10. In contrast to the connection between the gain correction circuit 6 and the variable gain amplifier 2 and the level error detection circuit 4, the first embodiment does not supply the correction mode switching signal as described above. PROM5
There is an operational difference in that both are connected to each other. However, when the remaining operation, that is, the operation in which each signal portion of the analog signal is amplified by the variable gain amplifier 2 and the analog amplified signal is obtained, and the analog amplified signal is sequentially input to the divider 8, the analog amplified signal is obtained. In synchronism with the sequential input of the signal portion in, the standard signal level (specified value) stored in advance in the reference signal generator 7 is sequentially taken out and inputted to the divider 8; , The signal levels of the signal portions of the analog amplified signal that are sequentially input in synchronization with each other and the standard signal level (specified value) corresponding thereto are compared with each other. An operation of sequentially generating an error signal indicating each signal level difference between each signal level of the signal portion and a standard signal level (specified value), which error signal After being converted into digitizing has been error detection information, PROM5 (or EPROM1
0) is supplied to and sequentially stored therein, there is no difference between this embodiment and the first embodiment. Therefore, regarding the operation of this embodiment in the correction mode state, Further detailed description will be omitted.

【0038】次に、読取モード状態のときには、同じ
く、本実施例が、第1の切換器11及び第2の切換器1
2にそれぞれ正極性の補正モード切替信号が供給され、
それによって第1の切換器11がオンになって、利得補
正回路6と可変利得増幅器2との間が接続状態にされ、
同時に、第2の切換器12がオフになって、レベル誤差
検出回路4とEPROM10との間が開放状態にされる
のに対し、第1の実施例が、前述のような補正モード切
替信号の供給がなく、利得補正回路6と可変利得増幅器
2との間及びレベル誤差検出回路4とPROM5との間
がいずれも接続状態に維持されている点に動作上の違い
はある。しかしながら、その余の動作、即ち、アナログ
信号における各信号部分の信号レベルが可変利得増幅器
2で増幅される際に、前記各信号部分の信号レベルの規
定値からの偏差量に応じて、その偏差の極性及び度合い
が変動する度ごとに、その変動を打ち消すような極性及
び大きさのアナログ制御信号が可変利得増幅器2に供給
され、それによって前記アナログ信号における各信号部
分の信号レベルの増幅利得が順次変化され、可変利得増
幅器2の出力側に得られるアナログ増幅信号の白レベル
(または黒レベル)が一定化される動作については、本
実施例と第1の実施例との間に何等の違いがないので、
読取モード状態のときの本実施例の動作についても、こ
れ以上の詳しい説明を省略する。
Next, in the reading mode state, similarly, the present embodiment is similar to the first switching device 11 and the second switching device 1.
2 is supplied with a positive polarity correction mode switching signal,
As a result, the first switch 11 is turned on, and the gain correction circuit 6 and the variable gain amplifier 2 are connected,
At the same time, the second switch 12 is turned off and the level error detection circuit 4 and the EPROM 10 are opened, while the first embodiment changes the correction mode switching signal as described above. There is no supply, and there is an operational difference in that the connection between the gain correction circuit 6 and the variable gain amplifier 2 and between the level error detection circuit 4 and the PROM 5 are maintained. However, the remaining operation, that is, when the signal level of each signal portion in the analog signal is amplified by the variable gain amplifier 2, the deviation is caused according to the deviation amount from the specified value of the signal level of each signal portion. Each time the polarity and the degree of the signal fluctuate, an analog control signal having a polarity and a magnitude that cancels the fluctuation is supplied to the variable gain amplifier 2, thereby increasing the amplification gain of the signal level of each signal portion in the analog signal. Regarding the operation of sequentially changing the white level (or black level) of the analog amplified signal obtained at the output side of the variable gain amplifier 2, there is no difference between the present embodiment and the first embodiment. Because there is no
The detailed description of the operation of this embodiment in the read mode is also omitted.

【0039】このように、本実施例においても、可変利
得増幅器2の出力側に得られるアナログ増幅信号は、う
ねり成分を含まないものであり、このうねり成分を含ま
ないアナログ増幅信号が、2値化回路3に供給される
と、信号中の白レベル成分及び黒レベル成分にそれぞれ
対応した正確な2値化が実行され、2値化回路3の出力
に、幅エラーの生じない2値化信号を得ることができ
る。
As described above, also in this embodiment, the analog amplified signal obtained at the output side of the variable gain amplifier 2 does not include the swell component, and the analog amplified signal not including the swell component is a binary signal. When it is supplied to the binarization circuit 3, accurate binarization corresponding to the white level component and the black level component in the signal is executed, and the binarized signal in which the width error does not occur at the output of the binarization circuit 3. Can be obtained.

【0040】なお、本実施例においても、除算器8の代
わりに、減算器を用いても、同様な機能を達成させるこ
とが可能である。
Also in the present embodiment, a similar function can be achieved by using a subtracter instead of the divider 8.

【0041】続いて、図3は、本発明に係わる光学的読
取装置の第3の実施例の構成を示すブロック構成図であ
って、アナログ信号のうねり成分をデジタル補正回路に
よって除去する例を示すものである。
Next, FIG. 3 is a block diagram showing the configuration of the third embodiment of the optical reading apparatus according to the present invention, showing an example in which the swell component of an analog signal is removed by a digital correction circuit. It is a thing.

【0042】図3において、13は固定利得増幅器、1
4はアナログ−デジタル(A/D)変換器、15はデジ
タル補正回路であり、その他、図1に示された構成要素
と同じ構成要素には、同じ符号を付けている。
In FIG. 3, 13 is a fixed gain amplifier, 1
Reference numeral 4 is an analog-digital (A / D) converter, 15 is a digital correction circuit, and the same components as those shown in FIG. 1 are denoted by the same reference numerals.

【0043】そして、CCDセンサ1の出力は固定利得
増幅器13の入力に接続され、固定利得増幅器13の出
力はA/D変換器14の入力に接続される。A/D変換
器14の出力はデジタル補正回路15の入力に接続さ
れ、デジタル補正回路15の出力は2値化回路3の入力
に接続される。また、A/D変換器14の出力はレベル
誤差検出回路4の除算器8の一方の入力に接続され、P
ROM5の出力はデジタル補正回路15の制御入力に接
続される。
The output of the CCD sensor 1 is connected to the input of the fixed gain amplifier 13, and the output of the fixed gain amplifier 13 is connected to the input of the A / D converter 14. The output of the A / D converter 14 is connected to the input of the digital correction circuit 15, and the output of the digital correction circuit 15 is connected to the input of the binarization circuit 3. The output of the A / D converter 14 is connected to one input of the divider 8 of the level error detection circuit 4, and P
The output of the ROM 5 is connected to the control input of the digital correction circuit 15.

【0044】前記構成による本実施例の動作は、次のと
おりである。
The operation of this embodiment having the above-mentioned structure is as follows.

【0045】補正モード状態のときに、OR回路9を介
してCCDセンサ1に補正開始信号が供給されると、C
CDセンサ1は、読出しクロック信号(図示なし)の供
給にしたがってバーコードの走査読み取りを行い、バー
コードの黒レベル及び白レベルの走査読み取りにそれぞ
れ対応して、順次時間的に信号レベルが変動する信号部
分を有するアナログ信号、うねり成分を含んだアナログ
信号を発生する。前記うねり成分を含んだアナログ信号
は、固定利得増幅器13で適宜のレベルにまで増幅さ
れ、固定利得増幅器13から同じくうねり成分を含んだ
アナログ増幅信号が出力される。このうねり成分を含ん
だアナログ増幅信号は、A/D変換器14でデジタル増
幅信号に変換された後、レベル誤差検出回路4に供給さ
れる。なお、この補正モードの状態のときには、除算器
8は、補正開始信号の供給により補正可能状態に設定さ
れ、PROM5も、補正開始信号の供給により記憶可能
状態に設定されている。
When the correction start signal is supplied to the CCD sensor 1 through the OR circuit 9 in the correction mode state, C
The CD sensor 1 scans and reads a barcode according to the supply of a read clock signal (not shown), and the signal level sequentially changes in time corresponding to the scanning and reading of the black level and the white level of the barcode. An analog signal having a signal portion and an analog signal containing a swell component are generated. The analog signal containing the undulation component is amplified to a proper level by the fixed gain amplifier 13, and the fixed gain amplifier 13 outputs an analog amplified signal also containing the undulation component. The analog amplified signal containing the undulation component is converted into a digital amplified signal by the A / D converter 14 and then supplied to the level error detection circuit 4. In the correction mode, the divider 8 is set to the correctable state by the supply of the correction start signal, and the PROM 5 is also set to the storable state by the supply of the correction start signal.

【0046】次に、レベル誤差検出回路4においては、
前記デジタル増幅信号における各信号部分が除算器8に
順次入力されると、前記デジタル増幅信号における各信
号部分の順次入力に同期して、基準信号発生器7に予め
収納されている標準的な信号レベル(規定値)が順次取
り出され、除算器8に入力される。除算器8は、同期し
て順次入力される前記デジタル増幅信号における各信号
部分の信号レベルと、それに対応した標準的な信号レベ
ル(規定値)との間で互いにデジタル的に信号レベルの
比較を行い、その比較の結果、前記デジタル増幅信号に
おける各信号部分の信号レベルと標準的な信号レベル
(規定値)との間の各信号レベル差を示すデジタル誤差
信号(誤差検出情報)を順次発生する。続いて、この誤
差検出情報は、PROM5に供給されてそこに順次記憶
され、補正モード状態が終了する。
Next, in the level error detection circuit 4,
When each signal portion of the digital amplified signal is sequentially input to the divider 8, a standard signal stored in the reference signal generator 7 in synchronization with the sequential input of each signal portion of the digital amplified signal. Levels (specified values) are sequentially taken out and input to the divider 8. The divider 8 digitally compares the signal levels of the respective signal portions of the digitally amplified signal, which are sequentially input in synchronism, with the corresponding standard signal level (specified value). As a result of the comparison, a digital error signal (error detection information) indicating each signal level difference between the signal level of each signal portion of the digital amplified signal and a standard signal level (specified value) is sequentially generated. . Subsequently, this error detection information is supplied to the PROM 5 and sequentially stored therein, and the correction mode state ends.

【0047】また、読取モード状態のときに、OR回路
9を介してCCDセンサ1に走査開始信号が供給される
と、CCDセンサ1は、前記読出しクロック信号の供給
にしたがってバーコードの走査読み取りを行い、同じ
く、バーコードの黒レベル及び白レベルの走査読み取り
にそれぞれ対応して、うねり成分を含んだアナログ信号
を発生する。前記うねり成分を含んだアナログ信号は、
固定利得増幅器13で適宜のレベルに増幅されてアナロ
グ増幅信号となり、A/D変換器14に供給される。A
/D変換器14は、前記アナログ増幅信号をアナログ−
デジタル変換し、デジタル増幅信号に変換する。この変
換されたデジタル増幅信号は、デジタル補正回路15に
順次供給される。一方、PROM5は、走査開始信号が
供給されると、記憶されている誤差検出情報の順次読み
出しを行い、この読み出された誤差検出情報は直ちにデ
ジタル補正信号としてデジタル補正回路15に供給され
る。
When a scanning start signal is supplied to the CCD sensor 1 via the OR circuit 9 in the reading mode, the CCD sensor 1 scans and reads the bar code according to the supply of the read clock signal. Similarly, an analog signal including a waviness component is generated corresponding to scanning and reading of the black level and the white level of the barcode. The analog signal containing the swell component is
The fixed gain amplifier 13 amplifies the signal to an appropriate level to form an analog amplified signal, which is supplied to the A / D converter 14. A
The / D converter 14 converts the analog amplified signal into an analog-
It is converted to digital and converted to a digital amplified signal. The converted digital amplified signal is sequentially supplied to the digital correction circuit 15. On the other hand, when the scanning start signal is supplied, the PROM 5 sequentially reads the stored error detection information, and the read error detection information is immediately supplied to the digital correction circuit 15 as a digital correction signal.

【0048】なお、本実施例においても、後述する読取
モード状態のときには、PROM5に記憶された誤差検
出情報は、その後に順次読み出され、デジタル補正信号
としてデジタル補正回路15に供給される。このデジタ
ル補正信号は、デジタル補正回路15におけるデジタル
信号伝達特性を設定するためのもので、常時、デジタル
補正回路15でデジタル補正されるデジタル増幅信号に
おける各信号部分の信号レベルとそれに対応した標準的
な信号レベル(規定値)との間の各信号レベル差をなく
すような極性と大きさを持つように随時可変される。
In the present embodiment as well, in the read mode state described later, the error detection information stored in the PROM 5 is subsequently read out sequentially and supplied to the digital correction circuit 15 as a digital correction signal. This digital correction signal is used to set the digital signal transfer characteristic in the digital correction circuit 15, and is always the signal level of each signal portion in the digital amplified signal digitally corrected by the digital correction circuit 15 and the standard corresponding to it. It is variable at any time so as to have a polarity and magnitude so as to eliminate each signal level difference from a specific signal level (specified value).

【0049】ここで、前記デジタル増幅信号における各
信号部分が順次デジタル補正回路15に入力されると、
前記各信号部分のデジタル補正回路15への順次入力に
同期して、PROM5からは誤差検出情報の順次読み出
しが行われ、前記読み出された誤差検出情報はデジタル
補正信号としてデジタル補正回路15に順次入力され
る。このとき、デジタル補正回路15は、順次入力され
るデジタル増幅信号における各信号部分が、同じく順次
入力されるデジタル補正信号によって設定されたデジタ
ル補正量によってその都度デジタル補正され、その出力
側に、うねり成分が除去されたデジタル増幅信号が得ら
れるものである。
Here, when each signal portion of the digital amplified signal is sequentially input to the digital correction circuit 15,
The error detection information is sequentially read from the PROM 5 in synchronization with the sequential input of the signal portions to the digital correction circuit 15, and the read error detection information is sequentially input to the digital correction circuit 15 as a digital correction signal. Is entered. At this time, the digital correction circuit 15 digitally corrects each signal portion of the sequentially input digital amplified signals by the digital correction amount set by the sequentially input digital correction signal, and swells on its output side. A digital amplified signal from which components have been removed is obtained.

【0050】このように、デジタル増幅信号の各信号部
分の信号レベルがデジタル補正回路15でデジタル補正
される際に、前記各信号部分の信号レベルの前記規定値
からの偏差に応じて、その偏差の極性及び度合いが変動
する度ごとに、デジタル補正回路15のデジタル補正量
がその変動を打ち消すように変動するので、デジタル補
正回路15の出力側に得られるデジタル増幅信号は、白
レベル(または黒レベル)が一定になり、うねり成分を
含まないものになる。
As described above, when the signal level of each signal portion of the digital amplified signal is digitally corrected by the digital correction circuit 15, the deviation of the signal level of each signal portion from the specified value is caused. The digital correction amount of the digital correction circuit 15 fluctuates every time the polarity and the degree of the fluctuate, so that the digital amplified signal obtained at the output side of the digital correction circuit 15 has a white level (or a black level). Level) becomes constant, and the swell component is not included.

【0051】そして、前記うねり成分を含まないデジタ
ル増幅信号が、2値化回路3に供給されると、前記デジ
タル増幅信号中の白レベル成分及び黒レベル成分にそれ
ぞれ対応した正確な2値化が実行され、2値化回路3の
出力に、幅エラーの生じない2値化信号を得ることがで
きる。
When the digital amplified signal not containing the waviness component is supplied to the binarization circuit 3, accurate binarization corresponding to the white level component and the black level component in the digital amplified signal is performed. It is possible to obtain a binarized signal which is executed and has no width error at the output of the binarization circuit 3.

【0052】なお、本実施例においても、除算器8の代
わりに、減算器を用いても、同様な機能を達成させるこ
とが可能になる。
Also in the present embodiment, a similar function can be achieved by using a subtracter instead of the divider 8.

【0053】続く、図4は、本発明に係わる光学的読取
装置の第4の実施例の構成を示すブロック構成図であっ
て、補正モード切替信号を用いている例である。
Next, FIG. 4 is a block diagram showing the configuration of the fourth embodiment of the optical reading apparatus according to the present invention, which is an example using a correction mode switching signal.

【0054】図4において、図2及び図3に示された構
成要素と同じ構成要素には、同じ符号を付けている。
In FIG. 4, the same components as those shown in FIGS. 2 and 3 are designated by the same reference numerals.

【0055】そして、第2の切換器12には、補正モー
ド状態のときに負極性またはゼロ極性になり、かつ、読
取モード状態のときに正極性になる補正モード切替信号
が供給され、第2の切換器12はこの補正モード切替信
号の負極性またはゼロ極性時にオンになる。
Then, the second switch 12 is supplied with a correction mode switching signal which has a negative polarity or zero polarity in the correction mode state and a positive polarity in the reading mode state, and The switch 12 is turned on when the correction mode switching signal has a negative polarity or a zero polarity.

【0056】本実施例と前述の第3の実施例の構成とを
比較すると、誤差検出情報の記憶のため、本実施例がE
PROM10を用いているのに対して、第3の実施例が
PROM5を用いている点、及び、本実施例がレベル誤
差検出回路4とEPROM10との間に第2の切換器1
2を接続しているのに対して、第3の実施例がこのよう
な第2の切換器12を具備していない点に違いがある
が、その他に、本実施例と第3の実施例との間に構成上
の違いがない。
Comparing the present embodiment with the configuration of the above-mentioned third embodiment, the present embodiment shows E because the error detection information is stored.
While the PROM 10 is used, the PROM 5 is used in the third embodiment, and in the present embodiment, the second switch 1 is provided between the level error detection circuit 4 and the EPROM 10.
The second embodiment is different from the second embodiment in that the third embodiment does not include such a second switching device 12, whereas the second embodiment is connected to the third embodiment. There is no structural difference between and.

【0057】本実施例と前述の第3の実施例の動作とを
比較すると、次のとおりである。
The following is a comparison between the operation of this embodiment and the operation of the third embodiment described above.

【0058】補正モード状態のときには、本実施例が、
第2の切換器12に負極性またはゼロ極性の補正モード
切替信号が供給され、それによって第2の切換器12が
オンになって、レベル誤差検出回路4とEPROM10
との間が接続状態になるのに対し、第3の実施例が、前
述のような補正モード切替信号の供給がなく、レベル誤
差検出回路4とPROM5との間が常時接続状態にされ
ている点に動作上の違いがある。ところが、その余の動
作、即ち、固定利得増幅器13によってアナログ増幅信
号が得られた後、そのアナログ増幅信号がA/D変換器
14においてデジタル変換され、デジタル増幅信号が得
られる動作、デジタル増幅信号が除算器8に順次入力さ
れると、前記デジタル増幅信号における前記信号部分の
順次入力に同期して、基準信号発生器7に予め収納され
ている標準的な信号レベル(規定値)が順次取り出さ
れ、除算器8にそれぞれ入力される動作、除算器8が、
同期して順次入力されるデジタル増幅信号における各信
号部分の信号レベルと、それに対応した標準的な信号レ
ベル(規定値)との間で互いにデジタル的に信号レベル
の比較を行った結果、デジタル増幅信号における各信号
部分の信号レベルと標準的な信号レベル(規定値)との
間の各信号レベル差を示す誤差信号(誤差検出情報)を
順次発生する動作、この誤差検出情報がPROM5(ま
たはEPROM10)に供給されてそこに順次記憶され
る動作については、本実施例と第3の実施例との間に何
等の違いがないので、補正モード状態のときの本実施例
の動作については、これ以上の詳しい説明は行なわな
い。
In the correction mode state, this embodiment
A negative polarity or zero polarity correction mode switching signal is supplied to the second switch 12, which turns on the second switch 12 to cause the level error detection circuit 4 and the EPROM 10 to operate.
In contrast to the above, the third embodiment does not supply the correction mode switching signal as described above, and the level error detection circuit 4 and the PROM 5 are always connected. There is a difference in operation in points. However, the remaining operation, that is, after the analog gain signal is obtained by the fixed gain amplifier 13, the analog gain signal is digitally converted by the A / D converter 14, and the digital gain signal is obtained. Are sequentially input to the divider 8, the standard signal level (specified value) stored in advance in the reference signal generator 7 is sequentially extracted in synchronization with the sequential input of the signal portion in the digital amplified signal. And the operation input to the divider 8 respectively, the divider 8
As a result of digitally comparing the signal level of each signal portion of the digitally amplified signal that is sequentially input in synchronization with the corresponding standard signal level (specified value), digital amplification An operation of sequentially generating an error signal (error detection information) indicating each signal level difference between a signal level of each signal portion of a signal and a standard signal level (specified value). This error detection information is stored in the PROM 5 (or EPROM 10). There is no difference between the present embodiment and the third embodiment in the operation supplied to the () and sequentially stored therein, so that the operation of the present embodiment in the correction mode state will be described below. The above detailed description will not be given.

【0059】また、読取モード状態のときには、同じ
く、本実施例が、第2の切換器12に正極性の補正モー
ド切替信号が供給され、それによって第2の切換器12
がオフになって、レベル誤差検出回路4とEPROM1
0との間が開放状態にされるのに対し、第1の実施例
が、前述のような補正モード切替信号の供給がなく、レ
ベル誤差検出回路4とPROM5との間が常時接続状態
に維持されている点に動作上の違いはある。しかしなが
ら、その余の動作、即ち、デジタル増幅信号における各
信号部分の信号レベルがデジタル補正回路15でデジタ
ル補正される際に、前記各信号部分の信号レベルの規定
値からの偏差量に応じて、その偏差の極性及び度合いが
変動する度ごとに、その変動を打ち消すような極性及び
大きさのデジタル補正信号がデジタル補正回路15に供
給され、それによって前記デジタル増幅信号における各
信号部分の信号レベルのデジタル補正量が順次変化さ
れ、デジタル補正回路15の出力側に得られるデジタル
増幅信号の白レベル(または黒レベル)が一定化される
動作については、本実施例と第3の実施例との間に何等
の違いがなく、読取モード状態のときの本実施例の動作
についても、これ以上の詳しい説明を行なわない。
Also, in the reading mode state, similarly, in the present embodiment, the correction mode switching signal having the positive polarity is supplied to the second switching device 12, whereby the second switching device 12 is activated.
Is turned off, and the level error detection circuit 4 and the EPROM 1 are turned off.
In contrast to the case where 0 is opened, the first embodiment does not supply the correction mode switching signal as described above, and the level error detection circuit 4 and the PROM 5 are always connected. There is a difference in operation in that it is done. However, the remaining operation, that is, when the signal level of each signal portion in the digital amplified signal is digitally corrected by the digital correction circuit 15, according to the deviation amount from the specified value of the signal level of each signal portion, Each time the polarity and degree of the deviation change, a digital correction signal having a polarity and magnitude that cancels the change is supplied to the digital correction circuit 15, whereby the signal level of each signal portion in the digital amplified signal is changed. Regarding the operation in which the digital correction amount is sequentially changed and the white level (or black level) of the digitally amplified signal obtained at the output side of the digital correction circuit 15 is made constant, the operation between the present embodiment and the third embodiment is performed. There is no difference between them and the operation of this embodiment in the read mode state will not be described in further detail.

【0060】このように、本実施例においても、デジタ
ル補正回路15の出力側に得られるデジタル増幅信号
は、うねり成分を含まないものであり、このうねり成分
を含まないデジタル増幅信号が、2値化回路3に供給さ
れると、信号中の白レベル成分及び黒レベル成分にそれ
ぞれ対応した正確な2値化が実行され、2値化回路3の
出力に、幅エラーの生じない2値化信号を得ることがで
きる。
As described above, also in this embodiment, the digital amplified signal obtained at the output side of the digital correction circuit 15 does not include the swell component, and the digital amplified signal not including the swell component is binary. When it is supplied to the binarization circuit 3, accurate binarization corresponding to the white level component and the black level component in the signal is executed, and the binarized signal that does not cause a width error is output to the binarization circuit 3. Can be obtained.

【0061】また、本実施例においても、除算器8の代
わりに、減算器を用いても、同様な機能を達成させるこ
とができる。
Also in the present embodiment, a similar function can be achieved by using a subtracter instead of the divider 8.

【0062】この他に、前記第1乃至第4の実施例にお
いて、光学的読取装置の本体に対してレベル誤差検出回
路4を着脱可能に構成し、このレベル誤差検出回路4
は、工場出荷前の、補正モードの状態のときにPROM
5またはEPROM10に誤差検出情報を書き込むこと
に利用し、工場出荷時にはレベル誤差検出回路4を外す
ようにしてもよい。
In addition to the above, in the first to fourth embodiments, the level error detection circuit 4 is detachably attached to the main body of the optical reading device.
Is the PROM when in the correction mode before factory shipment.
5 or EPROM 10 for writing error detection information, and the level error detection circuit 4 may be removed at the time of factory shipment.

【0063】[0063]

【発明の効果】以上のように、本発明によれば、バーコ
ードを読み取ることにより得られたアナログ信号におけ
る各信号部分の信号レベルが可変利得増幅器2で増幅さ
れる際に、前記各信号部分の信号レベルの規定値からの
偏差に応じて、その偏差の極性及び度合いが変動する度
ごとに、その変動を打ち消すように可変利得増幅器2の
利得を変動させるアナログ制御信号を供給するようにし
ているので、可変利得増幅器2の出力に得られるアナロ
グ増幅信号はうねり成分を含まないものになる。この場
合、前記うねり成分を含まないアナログ増幅信号が、2
値化回路3に供給されると、信号中の白レベル成分及び
黒レベル成分にそれぞれ対応した正確な2値化が実行さ
れ、2値化回路3の出力に、幅エラーの生じない2値化
信号を得ることができるという効果がある。
As described above, according to the present invention, when the signal level of each signal portion in the analog signal obtained by reading the bar code is amplified by the variable gain amplifier 2, each signal portion is amplified. Each time the polarity and degree of the deviation fluctuates from the specified value of the signal level of, the analog control signal for varying the gain of the variable gain amplifier 2 is supplied so as to cancel the variation. Therefore, the analog amplified signal obtained at the output of the variable gain amplifier 2 does not include the swell component. In this case, the analog amplified signal that does not include the waviness component is 2
When it is supplied to the binarization circuit 3, accurate binarization corresponding to the white level component and the black level component in the signal is executed, and the binarization circuit 3 does not produce a width error in the output. There is an effect that a signal can be obtained.

【0064】また、本発明によれば、バーコードを読み
取ることにより得られたアナログ信号を増幅後にデジタ
ル変換したデジタル増幅信号における各信号部分の信号
レベルがデジタル補正回路15でデジタル補正される際
に、前記各信号部分の信号レベルの規定値からの偏差に
応じて、その偏差の極性及び度合いが変動する度ごと
に、その変動を打ち消すようにデジタル補正回路15の
デジタル補正量を変動させるデジタル補正信号を供給す
るようにしているので、デジタル補正回路15の出力に
得られるデジタル増幅信号はうねり成分を含まないもの
になる。この場合も、前記うねり成分を含まないデジタ
ル増幅信号が、2値化回路3に供給されると、信号中の
白レベル成分及び黒レベル成分にそれぞれ対応した正確
な2値化が実行され、2値化回路3の出力に、幅エラー
の生じない2値化信号を得ることができるという効果が
ある。
Further, according to the present invention, when the digital correction circuit 15 digitally corrects the signal level of each signal portion in the digitally amplified signal obtained by digitally converting the analog signal obtained by reading the bar code after amplification. , A digital correction for varying the digital correction amount of the digital correction circuit 15 so as to cancel the variation each time the polarity and the degree of the variation fluctuate according to the deviation from the specified value of the signal level of each signal portion. Since the signal is supplied, the digital amplified signal obtained at the output of the digital correction circuit 15 does not include the swell component. Also in this case, when the digital amplified signal that does not include the swell component is supplied to the binarization circuit 3, accurate binarization corresponding to the white level component and the black level component in the signal is performed, and 2 The output of the binarization circuit 3 has the effect of being able to obtain a binarized signal with no width error.

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

【図1】本発明に係る光学的読取装置の第1の実施例の
構成を示すブロック構成図である。
FIG. 1 is a block configuration diagram showing a configuration of a first embodiment of an optical reading device according to the present invention.

【図2】本発明に係る光学的読取装置の第2の実施例の
構成を示すブロック構成図である。
FIG. 2 is a block configuration diagram showing a configuration of a second embodiment of the optical reading device according to the present invention.

【図3】本発明に係る光学的読取装置の第3の実施例の
構成を示すブロック構成図である。
FIG. 3 is a block diagram showing the configuration of a third embodiment of the optical reading device according to the present invention.

【図4】本発明に係る光学的読取装置の第4の実施例の
構成を示すブロック構成図である。
FIG. 4 is a block diagram showing a configuration of a fourth embodiment of the optical reading device according to the present invention.

【符号の説明】[Explanation of symbols]

1 CCDセンサ(光電センサ部) 2 可変利得増幅器(信号増幅部) 3 2値化回路(2値化部) 4 レベル誤差検出回路 5 PROM(記憶部) 6 利得補正回路(利得補正部) 7 基準信号発生器 8 除算器 9 ORゲート 10 EPROM(記憶部) 11 第1の切替器 12 第2の切替器 13 固定利得増幅器 14 アナログ/デジタル(A/D)変換器 15 デジタル補正回路(デジタル補正部) 1 CCD sensor (photoelectric sensor part) 2 variable gain amplifier (signal amplification part) 3 binarization circuit (binarization part) 4 level error detection circuit 5 PROM (storage part) 6 gain correction circuit (gain correction part) 7 reference Signal generator 8 Divider 9 OR gate 10 EPROM (storage unit) 11 First switcher 12 Second switcher 13 Fixed gain amplifier 14 Analog / digital (A / D) converter 15 Digital correction circuit (digital correction unit )

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 バーコードを読取り、白レベル及び黒レ
ベルに対応した2つの信号レベルを有するアナログ信号
を発生する光電センサ部と、前記光電センサ部で得られ
たアナログ信号を増幅する信号増幅部と、前記信号増幅
部で増幅されたアナログ信号を2値化する2値化部とを
備える光学的読取装置において、前記増幅されたアナロ
グ信号の規定値からのレベル誤差を検出して誤差検出情
報を発生するレベル誤差検出回路と、前記レベル誤差検
出回路で得られた誤差検出情報を記憶する記憶部と、前
記記憶部に記憶された誤差検出情報に対応して前記信号
増幅部の信号利得を変化させ、前記アナログ信号の一方
の信号レベルが一定になるように制御する利得補正部と
を備えていることを特徴とする光学的読取装置。
1. A photoelectric sensor unit for reading a bar code and generating an analog signal having two signal levels corresponding to a white level and a black level, and a signal amplification unit for amplifying the analog signal obtained by the photoelectric sensor unit. And a binarizing unit for binarizing the analog signal amplified by the signal amplifying unit, an error detection information by detecting a level error from a specified value of the amplified analog signal. Generating a level error detection circuit, a storage unit for storing the error detection information obtained by the level error detection circuit, and a signal gain of the signal amplification unit corresponding to the error detection information stored in the storage unit. An optical reading device, comprising: a gain correction unit that changes and controls one of the analog signals to be constant.
【請求項2】 前記レベル誤差検出回路と前記記憶部と
の間、及び、前記信号増幅部と前記利得補正部との間
に、それぞれ補正モード切替信号により開閉状態が切替
えられる第1及び第2の切替器を配置したことを特徴と
する請求項1記載の光学的読取装置。
2. Opening and closing states are switched by a correction mode switching signal between the level error detection circuit and the storage section and between the signal amplification section and the gain correction section, respectively. 2. The optical reading device according to claim 1, wherein the switching device is arranged.
【請求項3】 バーコードを読取り、その白レベル及び
黒レベルに対応した2つの信号レベルを有するアナログ
信号を発生する光電センサ部と、前記光電センサ部で得
られたアナログ信号をアナログ−デジタル変換する信号
変換部と、前記信号変換部で変換されたデジタル信号を
補正するデジタル補正部と、前記デジタル補正部の出力
デジタル信号を2値化する2値化部とを備える光学的読
取装置において、前記変換されたデジタル信号の規定値
からのレベル誤差を検出して誤差検出情報を発生するレ
ベル誤差検出回路と、前記レベル誤差検出回路で得られ
た誤差検出情報を記憶する記憶部と、前記記憶部に記憶
された誤差検出情報に対応して前記デジタル補正部の補
正値を変更させ、前記2値化部に供給されるデジタル信
号の一方の信号レベルが一定になるように制御すること
を特徴とする光学的読取装置。
3. A photoelectric sensor section for reading a bar code and generating an analog signal having two signal levels corresponding to a white level and a black level, and an analog-digital conversion of the analog signal obtained by the photoelectric sensor section. An optical reading device comprising: a signal conversion unit that performs the conversion, a digital correction unit that corrects the digital signal converted by the signal conversion unit, and a binarization unit that binarizes the output digital signal of the digital correction unit, A level error detection circuit that detects a level error from the specified value of the converted digital signal to generate error detection information, a storage unit that stores the error detection information obtained by the level error detection circuit, and the storage The correction value of the digital correction unit is changed according to the error detection information stored in the unit, and one of the signal levels of the digital signal supplied to the binarization unit is changed. The optical reading device is characterized in that it is controlled so as to be constant.
【請求項4】 前記レベル誤差検出回路と前記記憶部と
の間に、補正モード切替信号により開閉状態が切替えら
れる第3の切替器を配置したことを特徴とする請求項4
記載の光学的読取装置。
4. A third switch, which is opened / closed by a correction mode switching signal, is arranged between the level error detection circuit and the storage section.
An optical reader as described.
【請求項5】 前記レベル誤差検出回路は、光学的読取
装置に対して着脱自在に構成されていることを特徴とす
る請求項1乃至4のいずれかに記載の光学的読取装置。
5. The optical reading device according to claim 1, wherein the level error detection circuit is configured to be detachable from the optical reading device.
【請求項6】 前記記憶部は、EPROMで構成されて
いることを特徴とする請求項2または4のいずれかに記
載の光学的読取装置。
6. The optical reading device according to claim 2, wherein the storage unit is an EPROM.
JP5161891A 1993-06-30 1993-06-30 Optical reader Expired - Fee Related JP2878558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5161891A JP2878558B2 (en) 1993-06-30 1993-06-30 Optical reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5161891A JP2878558B2 (en) 1993-06-30 1993-06-30 Optical reader

Publications (2)

Publication Number Publication Date
JPH0721295A true JPH0721295A (en) 1995-01-24
JP2878558B2 JP2878558B2 (en) 1999-04-05

Family

ID=15743971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5161891A Expired - Fee Related JP2878558B2 (en) 1993-06-30 1993-06-30 Optical reader

Country Status (1)

Country Link
JP (1) JP2878558B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011505051A (en) * 2007-12-14 2011-02-17 シンボル テクノロジーズ インコーポレイテッド Method and system for a configurable communication interface

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011505051A (en) * 2007-12-14 2011-02-17 シンボル テクノロジーズ インコーポレイテッド Method and system for a configurable communication interface

Also Published As

Publication number Publication date
JP2878558B2 (en) 1999-04-05

Similar Documents

Publication Publication Date Title
US4745488A (en) Image reader
JP2878558B2 (en) Optical reader
US4717963A (en) Image information read apparatus
JPS6273869A (en) Picture reader
JPH06189132A (en) Image reader
JP2000106629A (en) Image reader
JPH0670169A (en) Picture binarizing device
KR930011612A (en) Image adjuster
JPH0122791B2 (en)
JPS58202662A (en) Picture reading device
JP2822674B2 (en) Image reading device
JPS62257265A (en) Original reader
JPH05122527A (en) Original reader
JPH0666885B2 (en) Image reader
JPS63245176A (en) Image reader
JPH06284285A (en) Picture reader
JP3152678B2 (en) Image reading device
EP0577317A1 (en) Colour compensation device for an image reader
JPH0983788A (en) Image reader
JPS60182855A (en) Picture reader
JPS59193665A (en) Device for reading original
JPS59193669A (en) Device for reading original
KR930022817A (en) Image reading device and control method
JPH01314482A (en) Black level correcting circuit for image scanner
JPS6258778A (en) Picture reader

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981222

LAPS Cancellation because of no payment of annual fees