Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS642994B2 - - Google Patents
[go: Go Back, main page]

JPS642994B2 - - Google Patents

Info

Publication number
JPS642994B2
JPS642994B2 JP56129626A JP12962681A JPS642994B2 JP S642994 B2 JPS642994 B2 JP S642994B2 JP 56129626 A JP56129626 A JP 56129626A JP 12962681 A JP12962681 A JP 12962681A JP S642994 B2 JPS642994 B2 JP S642994B2
Authority
JP
Japan
Prior art keywords
circuit
signal
photoelectric conversion
output
output signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56129626A
Other languages
Japanese (ja)
Other versions
JPS5831477A (en
Inventor
Mitsuo Nishimura
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.)
Nippon Signal Co Ltd
Original Assignee
Nippon Signal 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 Nippon Signal Co Ltd filed Critical Nippon Signal Co Ltd
Priority to JP56129626A priority Critical patent/JPS5831477A/en
Publication of JPS5831477A publication Critical patent/JPS5831477A/en
Publication of JPS642994B2 publication Critical patent/JPS642994B2/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)
  • Character Input (AREA)

Description

【発明の詳細な説明】 本発明は、文字やバーコード等の光学的な情報
を記録した媒体の下地部分と、前記情報の部分の
光の反射率の違いを利用して前記情報を読取る装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a device for reading optical information such as characters or barcodes by utilizing the difference in light reflectance between the underlying portion of the medium and the information portion. Regarding.

従来のこの種の装置は、前記媒体に光を照射
し、その反射光を光電変換器で受光し、この光電
変換器の出力信号を比較回路で基準値と比較し
て、下地部分であるか情報の部分であるかを特定
する2値情報に変換している。しかし、従来の装
置は前記比較回路の基準値をアナログデータの絶
対値としていたため、光源の光量の変化や分布、
下地の反射率の変化や違い、光電変換素子の特性
の変化等に対して誤読をしたり、読取不能になる
ことが多く、また光学系、電気回路系の調整も面
倒であつた。
Conventional devices of this type irradiate the medium with light, receive the reflected light with a photoelectric converter, compare the output signal of the photoelectric converter with a reference value in a comparison circuit, and determine whether the medium is the underlying portion. It is converted into binary information that specifies whether it is an information part. However, in conventional devices, the reference value of the comparison circuit is the absolute value of the analog data, so changes in the light intensity and distribution of the light source,
Changes or differences in the reflectance of the base, changes in the characteristics of the photoelectric conversion element, etc. often lead to misreading or failure to read, and it is also troublesome to adjust the optical system and electric circuit system.

本発明は、光量反射率、光電変換素子の特性等
が変化したり不均一であつても誤読をするおそれ
がないし、光学系、電気回路系の調整が容易な読
取装置を提供することを目的とする。
An object of the present invention is to provide a reading device that is free from the risk of misreading even if the light intensity reflectance, the characteristics of the photoelectric conversion element, etc. change or are non-uniform, and the optical system and electric circuit system can be easily adjusted. shall be.

以下、図面に示す文字読取装置の一実施例に基
いて本発明を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on an embodiment of a character reading device shown in the drawings.

図において、1は記録媒体9に光を照射しその
反射光を受光して受光量に応じたアナログ信号A
を出力する光電変換回路で、記録媒体9に光線を
照射する光源と記録媒体9からの反射光を受光す
る受光器を備えている。この受光器は、この例で
はN個の光電変換素子を一列に配置したイメージ
センサであり、このイメージセンサは、制御回路
8から入力されるクロツク信号B1により駆動さ
れて、各光電変換素子で変換したアナログ信号A
をシリアルに出力する。このアナログ信号Aは、
後述する第2の比較回路7に供給される他、A/
D変換回路2においてデイジタル信号に変換され
た後、第1の比較回路3と選択回路4にも供給さ
れる。
In the figure, 1 is an analog signal A which irradiates light onto the recording medium 9 and receives the reflected light, and which corresponds to the amount of received light.
It is a photoelectric conversion circuit that outputs light, and is equipped with a light source that irradiates a light beam onto the recording medium 9 and a light receiver that receives reflected light from the recording medium 9. In this example, this light receiver is an image sensor in which N photoelectric conversion elements are arranged in a row. This image sensor is driven by a clock signal B1 inputted from the control circuit 8, and each photoelectric conversion element Converted analog signal A
output serially. This analog signal A is
In addition to being supplied to a second comparison circuit 7, which will be described later, A/
After being converted into a digital signal in the D conversion circuit 2, it is also supplied to the first comparison circuit 3 and selection circuit 4.

A/D変換回路2は、光電変換回路1から入力
するアナログ信号Aを制御回路8からクロツク信
号B2が入力するたびに2進データに変換する。
The A/D conversion circuit 2 converts the analog signal A input from the photoelectric conversion circuit 1 into binary data every time the clock signal B 2 is input from the control circuit 8.

第1の比較回路3は、A/D変換回路2の出力
信号と記憶回路5の出力信号の大小を比較する回
路であり、いずれの信号が、大であるか(又は小
であるか)を特定する2値の大小指定信号Cを、
制御回路8からクロツク信号B3が入力するたび
に選択回路4に出力する。このような比較回路3
としては、たとえば一方の2進データに対して他
方の2進データが大であるか小であるかを判定し
て、判定結果に応じた2値の信号を出力する大小
判定回路を用いることができる。
The first comparison circuit 3 is a circuit that compares the output signal of the A/D conversion circuit 2 and the output signal of the storage circuit 5, and determines which signal is larger (or smaller). The binary magnitude designation signal C to be specified is
Each time the clock signal B3 is input from the control circuit 8, it is output to the selection circuit 4. Comparison circuit 3 like this
For example, it is possible to use a magnitude determination circuit that determines whether one binary data is larger or smaller than the other, and outputs a binary signal according to the determination result. can.

選択回路4は、A/D変換回路2と記憶回路5
の出力信号のうち大の信号を、前記比較回路3の
出力信号Cに基いて選択する回路であり、選択し
た信号を制御回路8からクロツク信号B4が入力
するたびに記憶回路5に出力する。このような選
択回路としては、たとえばA/D変換回路2の出
力信号のビツト数と同数の3入力アンドゲート群
と、同数の3入力禁止ゲート群で構成することが
できる。
The selection circuit 4 includes the A/D conversion circuit 2 and the memory circuit 5.
This circuit selects the larger signal among the output signals of , based on the output signal C of the comparison circuit 3, and outputs the selected signal to the storage circuit 5 every time the clock signal B4 is input from the control circuit 8. . Such a selection circuit can be composed of, for example, a group of 3-input AND gates of the same number as the number of bits of the output signal of the A/D conversion circuit 2, and a group of 3-input inhibit gates of the same number.

記憶回路5は、この例ではA/D変換回路2の
出力信号のビツトに個々に対応された複数のシフ
トレジスタで構成されている。各シフトレジスタ
は、光電変換回路1のイメージセンサのビツト数
Nと同数のシフト部を有し、かつ選択回路4の出
力信号がデータ入力端子に入力し、制御回路8の
クロツク信号B5がシフトパルスとして入力して
おり、このクロツク信号B5が入力するたびにデ
ータをシフトする。この記憶回路5の出力信号
は、比較回路3と選択回路4に供給されるのみな
らず、D/A変換回路6において制御回路8から
入力するクロツク信号B6に同期してアナログ信
号Dに変換された後、第2の比較回路7にも供給
される。この記憶回路5は1回の読取動作開始時
毎にイニシヤルリセツトされる。
In this example, the memory circuit 5 is composed of a plurality of shift registers each individually corresponding to the bits of the output signal of the A/D conversion circuit 2. Each shift register has the same number of shift sections as the number N of bits of the image sensor of the photoelectric conversion circuit 1, and the output signal of the selection circuit 4 is input to the data input terminal, and the clock signal B5 of the control circuit 8 is shifted. It is input as a pulse, and the data is shifted every time this clock signal B5 is input. The output signal of the memory circuit 5 is not only supplied to the comparison circuit 3 and the selection circuit 4, but also converted into an analog signal D in the D/A conversion circuit 6 in synchronization with the clock signal B6 input from the control circuit 8. After that, the signal is also supplied to the second comparison circuit 7. This memory circuit 5 is initialized every time a reading operation is started.

第2の比較回路7は、アナログ信号AとDの大
小を比較していずれか大であるか小であるかを特
定する2値信号を、制御回路8からクロツク信号
B7が入力するたびに出力する回路であり、アナ
ログ信号Dが基準電圧として入力する。前記アナ
ログ信号Dは、比較回路7の入力部において抵抗
等により所定の値、たとえば80%に分圧されてい
る。このような比較回路7としては、たとえば演
算増巾回路とアンドゲートで構成することができ
る。
The second comparator circuit 7 receives a binary signal from the control circuit 8 from the clock signal by comparing the magnitudes of the analog signals A and D to determine whether one of them is larger or smaller.
This is a circuit that outputs an output every time B 7 is input, and the analog signal D is input as the reference voltage. The analog signal D is voltage-divided to a predetermined value, for example 80%, by a resistor or the like at the input portion of the comparator circuit 7. Such a comparison circuit 7 can be constructed of, for example, an arithmetic amplification circuit and an AND gate.

なお、制御回路8から各回路に供給されている
クロツク信号は、電気回路系におけるデータの遅
延分だけ遅延されている。
Note that the clock signal supplied from the control circuit 8 to each circuit is delayed by the amount of data delay in the electric circuit system.

この装置は、光電変換回路1と記録媒体9を、
前記イメージセンサの各光電変換素子の配列方向
(Y方向)と直交する方向(X方向に)相対的に
移動させつつ、制御回路8から各回路1〜7にク
ロツク信号B1〜B7を出力する。このようにすれ
ば、記憶回路5がイニシヤルリセツトされた後、
光電変換回路1内のイメージセンサの各ビツトの
信号(受光量に比例したアナログ信号)が、クロ
ツク信号B1と同期して順次出力され、A/D変
換回路2によりデジタル信号に変換される。
This device includes a photoelectric conversion circuit 1 and a recording medium 9.
The control circuit 8 outputs clock signals B 1 to B 7 to each of the circuits 1 to 7 while relatively moving the photoelectric conversion elements of the image sensor in a direction (X direction) perpendicular to the arrangement direction (Y direction). do. By doing this, after the memory circuit 5 is initial reset,
The signals of each bit of the image sensor in the photoelectric conversion circuit 1 (analog signals proportional to the amount of received light) are sequentially output in synchronization with the clock signal B1 , and are converted into digital signals by the A/D conversion circuit 2.

このデイジタル信号のうち前記イメージセンサ
の一列分の信号は、そのときの記録媒体9上の検
出部が白地であれば、記憶回路5の各シフトレジ
スタが、前記イメージセンサのビツト数と同数の
ビツトであるとともにイニシヤルリセツトされて
いるから記憶回路5に記憶される。すなわち、記
憶媒体9からの反射光量は、黒色の部分よりも白
色の部分の方が大であるから、前記イメージセン
サの出力信号は黒色の部分よりも白色の部分の方
が大となり、従つて第1の比較回路3はA/D変
換回路2の出力信号が大である旨の信号Cを出力
し、選択回路4はA/D変換回路2の出力信号を
記憶回路5に出力し、結果として前記イメージセ
ンサの出力信号をA/D変換したデイジタル信号
は、前記イメージセンサのビツトの順に記憶回路
5に順次記憶される。
Among these digital signals, if the detection section on the recording medium 9 is white, each shift register of the memory circuit 5 will receive the same number of bits as the image sensor. Since it is also initial reset, it is stored in the memory circuit 5. That is, since the amount of reflected light from the storage medium 9 is larger in the white part than in the black part, the output signal of the image sensor is larger in the white part than in the black part, and therefore The first comparison circuit 3 outputs a signal C indicating that the output signal of the A/D conversion circuit 2 is large, and the selection circuit 4 outputs the output signal of the A/D conversion circuit 2 to the storage circuit 5. A digital signal obtained by A/D converting the output signal of the image sensor is sequentially stored in the storage circuit 5 in the order of the bits of the image sensor.

このようにして記憶回路5に記憶された信号
は、前記イメージセンサからビツトの順に出力さ
れる次のアナログ信号と同期して第1の比較回路
3に出力されて、この比較回路3において前述し
た次のアナログ信号に対応するデイジタル信号と
大小を比較するための基準値として用いられると
ともに、D/A変換回路6を介して第2の比較回
路7に供給されて、この比較回路7において前述
した次のアナログ信号と大小を比較するための基
準値として用いられる。
The signal stored in the memory circuit 5 in this manner is output to the first comparator circuit 3 in synchronization with the next analog signal output from the image sensor in bit order. It is used as a reference value for comparing the magnitude with the digital signal corresponding to the next analog signal, and is also supplied to the second comparison circuit 7 via the D/A conversion circuit 6. It is used as a reference value for comparing the next analog signal in size.

比較回路3における比較の結果、A/D変換回
路2の出力信号が大であれば、この出力信号が記
憶回路5に記憶されるとともに、ここのときはア
ナログ信号Aが大であるからその旨を特定する2
値情報“1”(又は“0”)が、第2の比較回路7
から出力され、逆であると記憶回路5の出力信号
が再び記憶回路5に記憶されるとともに、アナロ
グ信号Aが小である旨を特定する2値情報“0”
(又は“1”)が、第2の比較回路7から出力され
る。
As a result of the comparison in the comparator circuit 3, if the output signal of the A/D conversion circuit 2 is large, this output signal is stored in the storage circuit 5, and since the analog signal A is large at this time, a message indicating that Identify 2
The value information “1” (or “0”) is the second comparison circuit 7
If the output signal is the opposite, the output signal of the storage circuit 5 is stored again in the storage circuit 5, and the binary information “0” that specifies that the analog signal A is small is generated.
(or “1”) is output from the second comparison circuit 7.

このようにA/D変換回路2の出力信号と記憶
回路5の出力信号のうち大の信号を光電変換回路
1の出力信号と同期して記憶回路5に記憶するこ
とにより、記憶回路にはアナログ信号の最大値が
イメージセンサのビツトに対応して記憶される。
In this way, by storing the larger signal between the output signal of the A/D conversion circuit 2 and the output signal of the storage circuit 5 in the storage circuit 5 in synchronization with the output signal of the photoelectric conversion circuit 1, the storage circuit has an analog The maximum value of the signal is stored corresponding to the bit of the image sensor.

第2の比較回路7から出力される2値情報
“1”、“0”は、記録媒体9上の被検出部が白で
あるか黒であるかを特定する信号であり、前記イ
メージセンサのビツト順に順次出される。
The binary information “1” and “0” outputted from the second comparison circuit 7 are signals specifying whether the detected portion on the recording medium 9 is white or black, and is a signal that specifies whether the detected portion on the recording medium 9 is white or black. They are output sequentially in bit order.

なお、本発明は、文字読取装置のみならず、バ
ーコードの読取装置のように、1個の光電変換素
子を用いた読取装置にも適用することができる。
この場合、記憶回路5は1個の前記光電変換素子
に対応して、1個のシフトレジスタを設ければよ
い。
Note that the present invention can be applied not only to a character reading device but also to a reading device using one photoelectric conversion element, such as a barcode reading device.
In this case, the memory circuit 5 may include one shift register corresponding to one photoelectric conversion element.

このような構成を有する本発明は、1回の読取
動作毎に記憶回路をイニシヤルリセツトすること
により、回路定数を固定しておいても光量、光電
変換効率に経年変化があつても読取りミスをする
ことがなく、下地の色が異なる異なつた種類の記
録媒体についての読取りミスをすることがない。
また、記憶回路が個々の光電変換素子に対応した
それぞれの基準値の記憶を行なうようになつてい
ることにより、前記素子各々の変換効率、受光量
(光量の分布)等にばらつきがあつても読取りミ
スをすることがなく、光電変換素子を交換しても
回路定数を調節する必要がない。さらに、1回の
読取動作全体にわたつて、個々の光電変換素子ご
とに、順次、前記基準値を最大の値に更新するよ
うになつているため、記録媒体の下地に汚れ等が
あつても正確な読取りが可能となる。さらに、こ
のようにして、本発明装置は、光学系、電気回路
系の調整が容易となるものである。
The present invention having such a configuration can prevent reading errors even if the light intensity and photoelectric conversion efficiency change over time even if the circuit constants are fixed by initially resetting the memory circuit for each reading operation. This eliminates the possibility of reading errors on different types of recording media with different background colors.
In addition, since the memory circuit stores reference values corresponding to individual photoelectric conversion elements, even if there are variations in conversion efficiency, amount of light received (distribution of light amount), etc. of each of the elements, There are no reading errors, and there is no need to adjust circuit constants even if the photoelectric conversion element is replaced. Furthermore, since the reference value is updated to the maximum value for each photoelectric conversion element in sequence throughout one reading operation, even if there is dirt or the like on the base of the recording medium, Accurate reading becomes possible. Furthermore, in this manner, the optical system and electric circuit system of the apparatus of the present invention can be easily adjusted.

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

図は文字読取装置の電気回路の一例を示すブロ
ツク図である。 1:光電変換回路、2:A/D変換回路、3,
7:比較回路、4:選択回路、5:記憶回路、
6:D/A変換回路、8:制御回路、9:記録媒
体。
The figure is a block diagram showing an example of an electric circuit of a character reading device. 1: Photoelectric conversion circuit, 2: A/D conversion circuit, 3,
7: comparison circuit, 4: selection circuit, 5: memory circuit,
6: D/A conversion circuit, 8: control circuit, 9: recording medium.

Claims (1)

【特許請求の範囲】[Claims] 1 記録媒体9からの反射光を受光して受光量に
対応したアナログ信号をシリアルに出力する複数
個の光電変換素子からなる光電変換回路1と、前
記アナログ信号をデイジタル信号に変換するA/
D変換回路2と、該A/D変換回路2の出力信号
を前記光電変換素子ごとに記憶するようになつて
おり1回の読取動作開始時毎にイニシヤルリセツ
トされる記憶回路5と、前記デイジタル信号と前
記記憶回路5に記憶されている信号との大小を比
較する第1の比較回路3と、前記比較回路3の出
力信号に基づき、前記デイジタル信号と前記記憶
回路5に記憶されている信号とのうち大きい方の
信号を前記記憶回路5に出力して記憶させる選択
回路4と、前記記憶回路5に記憶される各信号を
アナログ信号に変換するD/A変換回路6と、前
記D/A変換回路6の出力信号と前記光電変換素
子から出力される次のアナログ信号とを比較して
いずれが大であるか小であるを特定する2値情報
を出力する第2の比較回路7とから成ることを特
徴とする光学的情報の読取装置。
1 A photoelectric conversion circuit 1 consisting of a plurality of photoelectric conversion elements that receives reflected light from a recording medium 9 and serially outputs an analog signal corresponding to the amount of received light, and an A/D converter that converts the analog signal into a digital signal.
a D conversion circuit 2; a storage circuit 5 configured to store the output signal of the A/D conversion circuit 2 for each of the photoelectric conversion elements, and which is initialized at each start of one reading operation; A first comparison circuit 3 compares the magnitude of the digital signal and the signal stored in the storage circuit 5, and the digital signal is stored in the storage circuit 5 based on the output signal of the comparison circuit 3. a selection circuit 4 that outputs the larger signal of the two signals to the storage circuit 5 and stores it; a D/A conversion circuit 6 that converts each signal stored in the storage circuit 5 into an analog signal; A second comparison circuit 7 that compares the output signal of the /A conversion circuit 6 with the next analog signal output from the photoelectric conversion element and outputs binary information specifying which one is larger or smaller. An optical information reading device comprising:
JP56129626A 1981-08-18 1981-08-18 Reader of optical information Granted JPS5831477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56129626A JPS5831477A (en) 1981-08-18 1981-08-18 Reader of optical information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56129626A JPS5831477A (en) 1981-08-18 1981-08-18 Reader of optical information

Publications (2)

Publication Number Publication Date
JPS5831477A JPS5831477A (en) 1983-02-24
JPS642994B2 true JPS642994B2 (en) 1989-01-19

Family

ID=15014131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56129626A Granted JPS5831477A (en) 1981-08-18 1981-08-18 Reader of optical information

Country Status (1)

Country Link
JP (1) JPS5831477A (en)

Also Published As

Publication number Publication date
JPS5831477A (en) 1983-02-24

Similar Documents

Publication Publication Date Title
US4523229A (en) Shading correction device
JP4332687B2 (en) Image sensor error detection and correction device
NL1011406C2 (en) CMOS image sensor with test circuit for verifying its operation.
JPH0374991B2 (en)
JPS642994B2 (en)
US5777313A (en) Optical code reading apparatus
JPS6224989B2 (en)
US4388526A (en) Measuring apparatus with response adjustment
JP2781120B2 (en) Barcode reading circuit
JPH10322513A (en) Image sensor self-check method and image reading device
JPS58184686A (en) Medium detection system
JPS59201174A (en) Signal processing method for bar code reader
JPS5819184B2 (en) Image reading method and reading device
JP2877724B2 (en) Code reader
JPH0244484A (en) Bar code reader
JP2516065Y2 (en) Tape reflection marker detection device
JP3030227B2 (en) Code reader
SU1732183A1 (en) Device for measuring temperature
JP2590070B2 (en) Image signal binarization device
JP2523124B2 (en) Image input device
JPH0737019A (en) Optical reader
JPS63172565A (en) Detector for unlighted light source
JPH0668255A (en) Counter device for counting histograms
JPH042706B2 (en)
JPS6352573A (en) Recorder