JPS6299963A - Optical-card reader - Google Patents

Optical-card reader

Info

Publication number
JPS6299963A
JPS6299963A JP23929885A JP23929885A JPS6299963A JP S6299963 A JPS6299963 A JP S6299963A JP 23929885 A JP23929885 A JP 23929885A JP 23929885 A JP23929885 A JP 23929885A JP S6299963 A JPS6299963 A JP S6299963A
Authority
JP
Japan
Prior art keywords
card
errors
optical card
optical
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP23929885A
Other languages
Japanese (ja)
Inventor
Shigeru Yoda
余田 茂
Takeshi Yamanaka
猛 山中
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP23929885A priority Critical patent/JPS6299963A/en
Publication of JPS6299963A publication Critical patent/JPS6299963A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reliability of an optical-card reader, by detecting the number of reading errors and, when the detected number exceeds a correctable range, performing the process of an effect that reading of an optical card is impossible. CONSTITUTION:Reading signals of 1-block 31-bits read from an optical card C are inputted to an Ex-OR 6 through waveform shaping circuits 4 and 5, respectively, and the output signal of the waveform shaping circuit 5 is inputted to an error correcting circuit 7 and frequency divider 8. The number of error detecting signals is counted by a counter 11 and the divider 8 actuates a comparator 10 when the quantity of 31 bits is read. The comparator 10 compares the count value of the counter 11 with a permissible error number set in a setter 9. When the number of errors is >= three, a signal is outputted from the comparator 10 and a buffer 14 sends operation start commands to a card return and recovery controller 12 and card use disallowable alarm controller 13. Then the optical card C is returned to an inserting port 16a or recovered and it is indicated that use of the card is disallowable through a display device 17.

Description

【発明の詳細な説明】 発明の要約 光カードは傷に対して非常に弱い。従来の先カード読取
装置は読取りエラーがあっても何らかの訂正を行ない読
取りデータを出力する機能をもっており、出力された読
取りデータが正しいものかどうか不明であった。この発
明によると、読取りエラーの量(数)を検出し、このエ
ラー量が訂正可能範囲を超えたときには光カードの読取
りが不可能である旨の処理を行ない、光カードの信頼性
を高めている。
DETAILED DESCRIPTION OF THE INVENTION Summary of the Invention Optical cards are very sensitive to scratches. Conventional card reading devices have a function of making some corrections and outputting read data even if there is a reading error, and it is unclear whether the outputted read data is correct. According to this invention, the amount (number) of reading errors is detected, and when the amount of errors exceeds a correctable range, processing is performed to indicate that the optical card cannot be read, thereby increasing the reliability of the optical card. There is.

[技術分野] この発明は、いわゆる光カード、すなわち光学的に読取
り可能な状態で所定のデータがカード状記録担体に記録
されているものの読取装置に関する。
[Technical Field] The present invention relates to a reading device for a so-called optical card, in which predetermined data is recorded on a card-shaped record carrier in an optically readable state.

[従来技術] 第2図は従来の光カードの読取装置の構成の一例を示し
ている。
[Prior Art] FIG. 2 shows an example of the configuration of a conventional optical card reading device.

光照射ないしは投光光学系1が光力−ドCを照らす。光
カードCからの反射光は2つの受光ないしは光検出光学
系2および3に入射する。光カードCにはいわゆるピッ
ト(くぼみまたは凹部)の形成によって所定のデータが
記録されている。このようなビットからの反射光は場所
によってその強度が変化している。したがって、光検出
光学系の焦点位置、読取り角度等を変えることにより。
A light irradiation or projection optical system 1 illuminates the light source C. The reflected light from the optical card C enters two light receiving or light detecting optical systems 2 and 3. Predetermined data is recorded on the optical card C by forming so-called pits (indentations or recesses). The intensity of the reflected light from such bits varies depending on the location. Therefore, by changing the focal position, reading angle, etc. of the photodetection optical system.

光学系は反射の有無が反転した状態を読取ることができ
る。光学系2と3は、焦点位置、角度等の異なる光学系
で、それらの読取り信号はハイ・レベルとロウ・レベル
が互いに反転している。こねらの1読取り信月は波形整
形回路4,5をそれぞれ経てイクスクルーシブOR(E
x−OR,排他的論理回路)6に入力する。
The optical system can read the state in which the presence or absence of reflection is reversed. The optical systems 2 and 3 have different focal positions, angles, etc., and the high level and low level of their read signals are inverted. Konera's 1-read Shingetsu passes through waveform shaping circuits 4 and 5, respectively, and is then subjected to exclusive OR (E
x-OR, exclusive logic circuit) 6.

カードCの表面が正常であれば、波形整形回路4と5の
出力は常にハイ・1ノベルとロウ・1ノベルに互いに反
転しているから、Ex−OR6の出力はハイ・レベルで
ある。カードCの表向に傷、汚れ、その他の欠陥がある
と1波形整形回路4と5の出力信号は同レベルになる。
If the surface of the card C is normal, the outputs of the waveform shaping circuits 4 and 5 are always inverted to high 1 novel and low 1 novel, so the output of Ex-OR 6 is at a high level. If there are scratches, dirt, or other defects on the surface of the card C, the output signals of the single waveform shaping circuits 4 and 5 will be at the same level.

したがって、Ex−OR6の出力はロウ・1ノベルにな
る。これがエラー検出信号であり、この信号はエラー訂
正回路7に入力する。一方の波形整形回路5からの読取
り信号もエラー訂正回路7に入力している。この訂正回
路7は、エラー検出信号が入力したときにエラー検出訂
正n号に基づいて。エラーをQ’T正する動作を行ない
、その結果をデータ信号として出力する。
Therefore, the output of Ex-OR6 becomes a row 1 novel. This is the error detection signal, and this signal is input to the error correction circuit 7. The read signal from one waveform shaping circuit 5 is also input to the error correction circuit 7. This correction circuit 7 performs error detection and correction based on No. n when an error detection signal is input. It performs an operation to correct the error by Q'T and outputs the result as a data signal.

しかしながら、訂正回路7によって常に正確にエラーが
訂正されるとは限らない。エラーの数がエラー検出訂正
符号の能力を超えた場合には正しく訂正されずに、誤っ
た信号がデータ信号として出力されてしまう。訂正回路
7からは、データの正誤にかかわらず常に何らかの信号
がデータ信号として出力されるから、その信頼性は必ず
しも高くなかった。
However, errors are not always corrected accurately by the correction circuit 7. If the number of errors exceeds the ability of the error detection and correction code, the errors will not be corrected correctly and an erroneous signal will be output as a data signal. Since the correction circuit 7 always outputs some kind of signal as a data signal regardless of whether the data is correct or incorrect, its reliability is not necessarily high.

[発明の目的] この発明の目的は、光カード読取装置の信頼性を高める
ことにある。
[Object of the Invention] An object of the invention is to improve the reliability of an optical card reader.

[発明の構成と効果] この発明による光カードの読取装置は、光カードに記録
されたデータを読取る手段、1ビット単位で読取りエラ
ーを検出する手段、検出されたエラー数を蓄積する手段
、許容できる最大エラー数を設定する手段、蓄積された
エラー数と設定された許容最大エラー数とを比較する手
段、および比較結果に応じてその光カードに対処するた
めの出力信号を発生する手段を備えていることを特徴と
する。
[Configuration and Effects of the Invention] The optical card reading device according to the present invention includes a means for reading data recorded on an optical card, a means for detecting reading errors in 1-bit units, a means for accumulating the number of detected errors, and a permissible number of errors. means for setting a maximum number of errors allowed, means for comparing the accumulated number of errors with the set maximum number of errors allowed, and means for generating an output signal to address the optical card depending on the comparison result. It is characterized by

一般に、光カード上には所定単位ピッI・長(ブロック
)ごとにデータが記録されている。このような場合には
、上記比較手段における上記比較が光カード・データの
データ・ブロックごとに行なわれ、上記出力信号発生手
段が、許容最大エラー数よりも蓄積されたエラー数の方
が大きいブロック数を数え、この数に応じて出力信号を
発生するように構成することが好ましい。
Generally, data is recorded on an optical card in units of a predetermined unit length (block). In such a case, the comparison in the comparison means is performed for each data block of the optical card data, and the output signal generation means selects a block in which the number of accumulated errors is greater than the maximum allowable number of errors. Preferably, it is arranged to count a number and generate an output signal in response to this number.

上記出力信号発生手段は、蓄積されたエラーの数が許容
最大エラー数よりも多いときにはカード返却指令、カー
ド回収指令およびカード読取り不可警告指令の少なくと
もいずれか1つを発生して、その光カードを無効化する
The output signal generating means generates at least one of a card return command, a card collection command, and a card unreadable warning command when the number of accumulated errors is greater than the maximum allowable number of errors, and the optical card is Disable.

この発明によると、エラー量の多い不良な光カードにつ
いては、上記のように何らかのやり方でその光カードを
無効化している。したがって。
According to this invention, a defective optical card with a large amount of errors is invalidated by some method as described above. therefore.

不良光カードの読取りデータ信号が出力されることはな
く、データ信号が出力された場合には2回路伝送上のエ
ラーが無い限り、それは全く正しいとすることができる
ので、光カード読取りの信頼性が飛躍的に高まる。
The reliability of optical card reading is high because the read data signal of a defective optical card is never output, and if a data signal is output, it can be assumed to be completely correct unless there is an error in the two-circuit transmission. increases dramatically.

[実施例の説明コ 第1図はこの発明の実施例を示している。第2図に示す
従来例と同一物には同一符号を付し、その説明を省略す
る。
[Description of Embodiment] FIG. 1 shows an embodiment of the present invention. Components that are the same as those in the conventional example shown in FIG. 2 are designated by the same reference numerals, and their explanations will be omitted.

Ex−OR6から出力されるエラー検出信号は、カウン
タ11に入力し、ここに蓄積される。一方、波形整形回
路5の出力信号は、エラー訂正回路7に送られるととも
に分周器8に入力する。
The error detection signal output from Ex-OR6 is input to the counter 11 and accumulated there. On the other hand, the output signal of the waveform shaping circuit 5 is sent to the error correction circuit 7 and input to the frequency divider 8.

分周器8における分周の割合はエラー検出訂正符号の能
力によって異なる。特定のエラー検出訂正符号に限定さ
れることはないが、たとえばB CH(31,21>符
号について説明する。BCH(31,21)における3
1は符号長、21は情報記号数をそれぞれ示している。
The frequency division ratio in the frequency divider 8 varies depending on the ability of the error detection and correction code. Although not limited to a specific error detection and correction code, for example, a BCH (31, 21> code will be explained. 3 in BCH (31, 21)
1 indicates the code length, and 21 indicates the number of information symbols.

この符号は、1ブロツク31ビツトのうち、任意の2ビ
ツトの誤りを訂正する能力がある。このようなエラー検
出訂正符号が用いられた場合には9分周器8としては1
/31分周器が使用される。分周器8における分周動作
は光カードC上のデータ・ブロックに同期しているもの
とする。また、2ビットの誤りまでは訂正可能なので、
許容エラー数設定器9には許容できるエラーの最大数と
してあらかじめ2ビットが設定される。
This code has the ability to correct errors in any two bits out of the 31 bits in one block. When such an error detection and correction code is used, the 9 frequency divider 8 is 1
A /31 divider is used. It is assumed that the frequency dividing operation in the frequency divider 8 is synchronized with the data block on the optical card C. In addition, it is possible to correct errors up to 2 bits, so
Two bits are preset in the allowable error number setter 9 as the maximum number of allowable errors.

パネル16に設はられた光カード挿入口leaに挿入さ
れた先カードCがカード搬送機構15によって搬送され
る過程で読取られた1ブロック31ビットの読取り信号
は波形整形されたのち、Ex−OR回路6.エラー訂正
回路7および分周器8にそれぞれ入力する。光カードの
傷等の要因によ・ってエラーと判定されたデータ数(エ
ラー検用信号数)は、カウンタ11で計数される。分周
器8は、31ビット分を読込んだとき比較器10に作用
し比較器10を作動させる。比較器lOは、設定器9に
設定された許容エラー数とカウンタ11の計数値とを比
較する。エラー数(すなわちカウンタ11の計数値)が
2以下の場合には、比較器10からは出力は発生しない
。訂正回路7は、エラーがあればそのエラーを訂正して
、データ信号を出力する。比較器IOによる比較動作の
のち1分周器8から出力されるリセット信号によってカ
ウンタ11はクリアされる。この後1次のデータの読込
みが行なわれ、上記の動作が繰返されていく。
The read signal of 1 block of 31 bits read while the destination card C inserted into the optical card insertion slot lea provided in the panel 16 is transported by the card transport mechanism 15 is waveform-shaped and then Circuit 6. The signal is input to an error correction circuit 7 and a frequency divider 8, respectively. A counter 11 counts the number of data (number of error detection signals) determined to be an error due to factors such as scratches on the optical card. The frequency divider 8 acts on the comparator 10 to activate the comparator 10 when 31 bits are read. The comparator IO compares the number of allowable errors set in the setting device 9 with the count value of the counter 11. If the number of errors (ie, the count value of the counter 11) is 2 or less, no output is generated from the comparator 10. If there is an error, the correction circuit 7 corrects the error and outputs a data signal. After the comparison operation by the comparator IO, the counter 11 is cleared by a reset signal output from the 1 frequency divider 8. After this, the primary data is read, and the above operation is repeated.

エラー数(カウンタ11の計数値)が3以上の場合には
、比較器10から、たとえば1個のパルスまたは一定レ
ベルの信号が出力され、バッファ14に入力する。バッ
ファ14はこの入力信号を蓄積する。
When the number of errors (the count value of the counter 11) is 3 or more, the comparator 10 outputs, for example, one pulse or a signal at a constant level, and inputs it to the buffer 14. Buffer 14 stores this input signal.

バッファ14は、データに要求される精度に応じて異な
った性能をもつ。たとえば、高精度のデータが必要で、
1ブロツクでも訂正不可能なデータかあると不都合な場
合には、バッファ14は入力するパルスをそのまま、カ
ード返却、または回収制御装置12およびカード使用不
可警告制御装置13に作動開始指令として送る。制御装
置12によって搬送機構15が駆動され、光カードCは
矢印Aで示すように挿入口16aに返却されるか、また
は矢印Bで示すように回収される。また、制御装置13
によって、パネル16に設けられた表示器17にカード
の使用が不可能である旨が表示される。
The buffer 14 has different performance depending on the accuracy required for the data. For example, if you need high-precision data,
If it is inconvenient that there is even one block of uncorrectable data, the buffer 14 sends the input pulse as it is to the card return or collection control device 12 and card unusable warning control device 13 as an operation start command. The transport mechanism 15 is driven by the control device 12, and the optical card C is returned to the insertion slot 16a as shown by arrow A or collected as shown by arrow B. In addition, the control device 13
As a result, the display 17 provided on the panel 16 displays that the card cannot be used.

上記のように、1ブロツクでも訂正不可能なエラーがあ
ると、その旨の表示またはカードの返却もしくは回収が
行なわれる場合には、エラー訂正回路7から出力される
データ信号は2回路での伝送誤りが無い限り、完全に正
しいものであり、きわめて高い信頼性が担保される。
As mentioned above, if there is an uncorrectable error in even one block, a message to that effect is displayed or the card is returned or collected, the data signal output from the error correction circuit 7 is transmitted through two circuits. As long as there are no errors, it is completely correct and extremely reliable.

一方、データが画像データのように多少のエラーは許容
できるものもある。この場合には比較器10からの入力
信号をバッファ14で保持しておき、それが一定の数ま
たはレベル等を超えたときに制御装置12.13を作動
させる。これにより、比較的高い信頼性を保ぢかつスム
ーズな読取りが可能となる。
On the other hand, some data, such as image data, can tolerate some errors. In this case, the input signal from the comparator 10 is held in the buffer 14, and when the input signal exceeds a certain number or level, the control device 12.13 is activated. This allows relatively high reliability and smooth reading.

なお、制御装置12.13のいずれか一方があれば足り
る。警告表示器17としては目視するものではなく、音
で聞くブザーなどでもよい。また、光カードCそれ自体
に使用不可能である旨のスタンプを押して返却するよう
にすることもできよう。
Note that it is sufficient to have either one of the control devices 12 and 13. The warning indicator 17 is not visually visible, but may be an audible buzzer or the like. Alternatively, the optical card C itself could be returned with a stamp indicating that it is unusable.

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

第1図はこの発明の実施例を示すブロックおよび構成図
である。 第2図は従来例を示すものである。 2.3・・・光検出光学系。 6・・・エラー検出用のEx−OR。 7・・・エラー訂正回路。 9・・・許容エラー数設定器、 10・・・比較器。 11・・・カウンタ。 12・・・カード返却1同収制御装置。 13・・・カード使用不可警告制御装置。 14・・・バッファ。 以  上 特許出願人  立石電機株式会社 代 理 人  弁理士 牛久 伸開 (外1名) 第2図
FIG. 1 is a block and configuration diagram showing an embodiment of the present invention. FIG. 2 shows a conventional example. 2.3...Photodetection optical system. 6...Ex-OR for error detection. 7...Error correction circuit. 9... Allowable error number setter, 10... Comparator. 11...Counter. 12...Card return 1 collection control device. 13...Card unusable warning control device. 14...Buffer. Patent applicant: Tateishi Electric Co., Ltd. Agent: Nobuaki Ushiku (1 other person) Figure 2

Claims (4)

【特許請求の範囲】[Claims] (1)光カードに記録されたデータを読取る手段。 1ビット単位で読取りエラーを検出する手段、検出され
たエラー数を蓄積する手段。 許容できる最大エラー数を設定する手段、 蓄積されたエラー数と設定された許容最大エラー数とを
比較する手段、および 比較結果に応じてその光カードに対処するための出力信
号を発生する手段、 を備えている光カードの読取装置。
(1) Means for reading data recorded on an optical card. Means for detecting read errors in 1-bit units and means for accumulating the number of detected errors. means for setting a maximum number of tolerable errors; means for comparing the accumulated number of errors with the set maximum number of tolerable errors; and means for generating an output signal for addressing the optical card in response to a result of the comparison; An optical card reader equipped with
(2)上記比較手段による比較が、光カード・データの
データ・ブロックごとに行なわれる、特許請求の範囲第
(1)項に記載の光カードの読取装置。
(2) The optical card reading device according to claim (1), wherein the comparison by the comparing means is performed for each data block of optical card data.
(3)上記比較手段が、上記比較を光カード・データの
データ・ブロックごとに行ない、上記出力信号発生手段
が、許容最大エラー数よりも蓄積されたエラー数の方が
大きいブロック数を数え、この数に応じて出力信号を発
生する、特許請求の範囲第(1)項に記載の光カードの
読取装置。
(3) the comparison means performs the comparison for each data block of the optical card data, and the output signal generation means counts the number of blocks in which the number of accumulated errors is greater than the maximum allowable number of errors; The optical card reading device according to claim 1, which generates an output signal in accordance with this number.
(4)上記出力信号発生手段が、カード返却指令、カー
ド回収指令およびカード読取り不可警告指令の少なくと
もいずれか1つを発生するものである、特許請求の範囲
第(1)項に記載の光カードの読取装置。
(4) The optical card according to claim (1), wherein the output signal generating means generates at least one of a card return command, a card collection command, and a card unreadable warning command. reader.
JP23929885A 1985-10-28 1985-10-28 Optical-card reader Pending JPS6299963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23929885A JPS6299963A (en) 1985-10-28 1985-10-28 Optical-card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23929885A JPS6299963A (en) 1985-10-28 1985-10-28 Optical-card reader

Publications (1)

Publication Number Publication Date
JPS6299963A true JPS6299963A (en) 1987-05-09

Family

ID=17042646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23929885A Pending JPS6299963A (en) 1985-10-28 1985-10-28 Optical-card reader

Country Status (1)

Country Link
JP (1) JPS6299963A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6455791A (en) * 1987-08-27 1989-03-02 Canon Kk Information reproducing device
JPH0273523A (en) * 1988-09-09 1990-03-13 Olympus Optical Co Ltd Method for recording data to optical card
JPH02270135A (en) * 1989-04-11 1990-11-05 Omron Corp Optical card processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5320201A (en) * 1976-08-09 1978-02-24 Caterpillar Tractor Co Automotive wheel having radially movable impact absorbing rim
JPS60175264A (en) * 1984-02-20 1985-09-09 Sanyo Electric Co Ltd Signal error detecting circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5320201A (en) * 1976-08-09 1978-02-24 Caterpillar Tractor Co Automotive wheel having radially movable impact absorbing rim
JPS60175264A (en) * 1984-02-20 1985-09-09 Sanyo Electric Co Ltd Signal error detecting circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6455791A (en) * 1987-08-27 1989-03-02 Canon Kk Information reproducing device
JPH0273523A (en) * 1988-09-09 1990-03-13 Olympus Optical Co Ltd Method for recording data to optical card
JPH02270135A (en) * 1989-04-11 1990-11-05 Omron Corp Optical card processor

Similar Documents

Publication Publication Date Title
US4567361A (en) Reticle bar code and method and apparatus for reading same
US7900095B2 (en) Memory controller for writing data into and reading data from a memory
TW200400490A (en) Code correction device
JPS6299963A (en) Optical-card reader
JP2722647B2 (en) Magnetic tape controller
US5475669A (en) Information reproducing method and apparatus for counting the number of errors and warning
US3646324A (en) Information-processing system
CN1015755B (en) Scannable document velocity detecotr
US3959627A (en) Card reader
US3896294A (en) Plural mode card reading apparatus
US4573192A (en) End of transaction control system
SU1661840A1 (en) Memory with self-testing
KR100244779B1 (en) An error detector in digital system and an error identifying method therewith
SU470867A1 (en) Device to control the drive
SU868844A1 (en) Self-checking storage device
JPH0344394B2 (en)
JPH0441375B2 (en)
SU1550626A1 (en) Code correction device
JPS6329305B2 (en)
KR970010372B1 (en) Similar character reading system of barcode decoder
SU746744A1 (en) Self-checking storage
JPS62185282A (en) Information storage device
KR890000354B1 (en) Document device of mistaken information in controller
SU830477A1 (en) Shaft angular rosition-to-code converter
JPH1027437A (en) Magnetic disk device