JPH03126192A - Light reflection type key card with reading level setting code and reading level setting device - Google Patents

Light reflection type key card with reading level setting code and reading level setting device

Info

Publication number
JPH03126192A
JPH03126192A JP1264569A JP26456989A JPH03126192A JP H03126192 A JPH03126192 A JP H03126192A JP 1264569 A JP1264569 A JP 1264569A JP 26456989 A JP26456989 A JP 26456989A JP H03126192 A JPH03126192 A JP H03126192A
Authority
JP
Japan
Prior art keywords
light
code
key
reading
level setting
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
JP1264569A
Other languages
Japanese (ja)
Inventor
Toshiyuki Hirahara
平原 俊之
Sei Nishimura
西村 聖
Masanori Hirasawa
平沢 正憲
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.)
Ryobi Ltd
Kokusai Gijutsu Kaihatsu Co Ltd
Original Assignee
Ryobi Ltd
Kokusai Gijutsu Kaihatsu 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 Ryobi Ltd, Kokusai Gijutsu Kaihatsu Co Ltd filed Critical Ryobi Ltd
Priority to JP1264569A priority Critical patent/JPH03126192A/en
Publication of JPH03126192A publication Critical patent/JPH03126192A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

PURPOSE:To set a light quantity optimum for reading at the preceding stage of the reading of a key code and to accurately read the key code by providing a code for light quantity level setting. CONSTITUTION:The key code 1b comprised of first and second elements with different light reflectance provided at a key card 1 is irradiated with light, and the key code 1b is read based on the difference of the light reflectance, and locking/unlocking is performed according to a read key code 1b. A code 1a for reading level setting to set the reading reference values of the first and second elements of the key code 1b is provided separately from the key code 1b. Thereby, it is possible to prevent malfunction in a reader occurring due to the change of density of the key code 1b printed on the key card 1 and the dispersion of characteristic of a light emitting element irradiating the key card 1 with the light and a light receiving element to converge reflected light from the key card 1.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、読み取りレベル設定用コード付き光反射型キ
ーカード及び読み取りレベル設定装置に関する。更に詳
細には、カード型のキーに設けられているキーコードの
読み取り基準値を決定するための補助コードを設けた光
反射型キーカード並びに補助コードを読み取ってキーコ
ードの読み取り基準値を決定するための読み取りレベル
設定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a light reflective key card with a code for setting a reading level and a reading level setting device. More specifically, a light-reflective key card provided with an auxiliary code for determining the reading standard value of the key code provided on a card type key, and a light reflecting type key card provided with an auxiliary code for determining the reading standard value of the key code by reading the auxiliary code. This invention relates to a reading level setting device for.

(従来の技術) 従来、カード型のキー(以下、 「キーカード」という
。)を用いて電子的にドアロックの施解錠を行う電子錠
システムが知られている。キーカードには、解錠のため
のキーコードが書き込まれており、 ドアに取り付けら
れた読取装置によってこのキーコードが読み取ら札 ド
アに割り当てられたコードとの照合が行われる。照合の
結果、一致していれば解錠許可信号が発生し錠機構を作
動して解錠する。
(Prior Art) Electronic lock systems that electronically lock and unlock doors using a card-type key (hereinafter referred to as a "key card") have been known. A key code for unlocking the door is written on the key card, and a reader attached to the door reads this key code and compares it with the code assigned to the door. As a result of the comparison, if they match, an unlocking permission signal is generated and the locking mechanism is activated to unlock the door.

この種のキーカードとして、従来より、いわゆる磁気式
もしくは透過型光学式のものが知られている。磁気式キ
ーカードには、キーコードが磁気的に書き込まれており
、このキーコードを磁気ヘッドで読み取り解錠を行う。
As this type of key card, so-called magnetic type or transmission type optical type are conventionally known. A key code is magnetically written on the magnetic key card, and the key code is read with a magnetic head to unlock the door.

透過型光学式キーカードは、カードの基板上にキーコー
ドを表す透穴の配列パターンを形成したもので、光を照
射して透過した光を検知することでキーコードの読み取
りを行っている。磁気式キーカードは、キーカードその
ものが外部磁気の影響を受は易く、またキーカードの挿
入が正確に行われないと読取側でリードエラーを生じ易
いという欠点がある。また、透過型キーカードは、−枚
のキーカードに記憶できる情報量が比較的少なく、多く
の種類のキーカードを発行することができないという欠
点を有する。
A transmission type optical key card has an array pattern of transparent holes representing a key code formed on the card substrate, and the key code is read by irradiating the card with light and detecting the transmitted light. Magnetic key cards have the disadvantage that the key card itself is easily affected by external magnetism, and if the key card is not inserted accurately, read errors are likely to occur on the reader side. Transparent key cards also have the disadvantage that the amount of information that can be stored on a single key card is relatively small, and many types of key cards cannot be issued.

そこで、本出願人は、外部磁気の影響を受けることがな
く、また、記憶容量を比較的多く確保できる光学式反射
型キーカードを用いた電子錠システムを提案済みである
(「電子錠システム」という名称で平成1年8月22日
出願)、光学式反射型キーカードは、例えば、熱転写方
式の印字リボン及び印字プリンタを使用してキーコード
を暗号化したうえでキーカード上にプリントし、印字面
とカード面との光の反射率の差によってキーコードを読
み取るようにしたものである。
Therefore, the applicant has proposed an electronic lock system using an optical reflective key card that is not affected by external magnetism and has a relatively large storage capacity ("electronic lock system"). (filed on August 22, 1999), an optical reflective key card uses, for example, a thermal transfer printing ribbon and printing printer to encrypt the key code and print it on the key card. The key code is read based on the difference in light reflectance between the printed surface and the card surface.

(発明が解決しようとする課題) しかしながら、キーカード上にプリントされたキーコー
ドは摩擦等によってすり減ったり、傷ついたり、あるい
は汚れたりすると、たとえ照射光量が一定であっても反
射光量が減少し、キーコードの読み取りが正確にできな
いおそれがある。−方、キーカードに光を照射するため
の発光素子及びキーカードからの反射光を集光する受光
素子には製品により特性のバラツキがあり、そのため正
確な読み取りができず、読取装置が誤動作するといった
事態が想定される。
(Problem to be Solved by the Invention) However, if the key code printed on the key card is worn out, damaged, or dirty due to friction, the amount of reflected light will decrease even if the amount of irradiated light is constant. The key code may not be read accurately. - On the other hand, the characteristics of the light-emitting element that illuminates the key card and the light-receiving element that collects the reflected light from the key card vary depending on the product, making it impossible to read accurately and causing the reading device to malfunction. Such a situation is expected.

(課題を解決するための手段) 本発明は、上記鑑点に基づいてなされたものであり、キ
ーカード上にプリントされたキーコードの濃度変化、キ
ーカードに光を照射する発光素子及びキーカードからの
反射光を集光する受光素子の特性のバラツキに起因する
読取装置の誤動作を防止することを目的になされたもの
である。
(Means for Solving the Problems) The present invention has been made based on the above considerations, and includes changes in the density of a key code printed on a key card, a light emitting element that irradiates light onto the key card, and a key card. This is intended to prevent malfunctions of the reading device due to variations in the characteristics of the light-receiving element that collects reflected light from the light receiving element.

本発明では、キーカードに設けた光反射率の異なる第一
と第二の要素で構成されるキーコードに光を照射して、
前記第一と第二の要素における光反射率の差に基づいて
キーコードを読み取り、読み取ったキーコードに従い施
解錠を行う光学式反射型キーカードであって、キーコー
ドの第一と第二の要素の読み取り基準値を設定するため
の読み取りレベル設定用コードを前記キーコードとは別
に設けることによって上記目的を達成する。
In the present invention, light is irradiated onto a key code that is provided on a key card and is composed of first and second elements having different light reflectances,
The optical reflective key card reads a key code based on the difference in light reflectance between the first and second elements, and locks and unlocks the door according to the read key code. The above object is achieved by providing a reading level setting code separate from the key code for setting the reading reference value of the element.

前記読み取りレベル設定用コードは光反射率の異なる第
一と第二の要素によって構成される。
The reading level setting code is composed of first and second elements having different light reflectances.

読み取りレベル設定用コードを読み取り読み取り結果に
応じてキーコードの読み取り基準値を設定するための読
み取りレベル設定装置であって、光反射率の異なる第一
と第二の要素によって構成される前記読み取りレベル設
定用コードに光を照射するための照射手段と、読み取り
レベル設定用コードの第一と第二の要素に照射した光の
反射光を受光するための受光手段と、読み取りレベル設
定用コードの第一と第二の要素からの反射光量が等しく
なるときの前記受光手段からの出力に基づき、前記キー
コードの読み取り基準値を決定する制御手段とからなる
読み取りレベル設定装置によって上記読み取りレベル設
定用コード付き光反射型キーカードの読み取りを行う。
A reading level setting device for reading a reading level setting code and setting a reading reference value of a key code according to the reading result, the reading level comprising first and second elements having different light reflectances. an irradiation means for irradiating the setting code with light; a light receiving means for receiving the reflected light of the light irradiated on the first and second elements of the reading level setting code; A reading level setting device comprising a control means for determining a reading reference value for the key code based on the output from the light receiving means when the amount of reflected light from the first and second elements becomes equal, reads the reading level setting code. Reads light-reflective key cards.

(作用) 旋解錠のために必要なキーコードの読み取りを開始する
前段階で読み取りレベル設定用コードを読み取り、読み
取った結果に基づきキーコードの読み取り基準レベルを
決定する。読み取り基準レベルが決定されると、以後決
定されたレベルでキーコードの読み取りが行われる。例
えに 発光素子の発光量、すなわち、発光素子に供給さ
れる電流量が規制され、キーコードの読み取りを正確に
行う。
(Operation) A reading level setting code is read before starting reading of the key code necessary for unlocking, and the reading reference level of the key code is determined based on the read result. Once the reading reference level is determined, the key code is subsequently read at the determined level. For example, the amount of light emitted by the light emitting element, that is, the amount of current supplied to the light emitting element, is regulated to ensure accurate reading of the key code.

(実施例) 以下、本発明について添付図面を参照しながら詳細に説
明する。
(Example) Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

第1図は、光量レベル設定コードを付加したキーカード
の一例を示したものである。第1図(a)に示すように
、キーカード1を読取装置のキーカード挿入スロット内
に矢印の方向に挿入する。キーカード1上には挿入方向
に沿って4チヤンネルからなるデータD1〜D4がクロ
ックと共にカード挿入方向にプリントされている。デー
タD1〜D4は、光量レベル設定コード1aと読取コー
ド1bとを含んでいる。読み取りコードlbの中にはキ
ーコードの他にキーカードの使用目的に応じて必要な情
報を含めることができる。例えば、ホテルロックシステ
ムとしてキーカード1を使用する場合には、客室番号、
宿泊客のチエツクアウトの日付等の情報を含めることが
できる。
FIG. 1 shows an example of a key card to which a light level setting code is added. As shown in FIG. 1(a), the key card 1 is inserted into the key card insertion slot of the reader in the direction of the arrow. On the key card 1, data D1 to D4 consisting of four channels are printed along the card insertion direction together with a clock. The data D1 to D4 include a light level setting code 1a and a reading code 1b. In addition to the key code, the reading code lb can include necessary information depending on the purpose of use of the key card. For example, when using key card 1 as a hotel lock system, the guest room number,
Information such as the guest's checkout date may be included.

第1図中、黒部部は熱転写用インクリボンでプリントさ
れた部分を示しており、白部分はインクリボンでプリン
トされていないキーカード面を示している。すなわち、
図中の黒部部は、光を照射すると照射した光が低効率で
反射する部分であり、白部分は照射された光が高効率で
反射する部分である。この反射率の差に基づきプリント
されているデータの読取が行われる。
In FIG. 1, the black part shows the part printed with the thermal transfer ink ribbon, and the white part shows the key card surface which is not printed with the ink ribbon. That is,
The black portions in the figure are portions where the irradiated light is reflected with low efficiency when irradiated with light, and the white portions are portions where the irradiated light is reflected with high efficiency. Printed data is read based on this difference in reflectance.

各データD1〜D4及びクロックは白部分と黒部部のパ
ターンで表現されており、クロックは白部分と黒部部が
交互に規則正しくキーカードlの中央部にプリントされ
ている。データD1〜D4はクロックの両側に2チヤン
ネルづつプリントされている。データD1〜D4を構成
する白部分と黒部部は、それぞれの中央位置がクロック
を構成する白部分と黒部部のエツジ部、すなわち、白部
分と黒部部の境界部分と一致するようキーカード挿入方
向に配列されている。クロックが白部分から黒部部へ 
または、黒部部から白部分へ変化するタイミング(エツ
ジ部)において、両側にあるデータが白であるか黒であ
るかの判断を行うことでデータの読み取りを行っている
Each of the data D1 to D4 and the clock are expressed by a pattern of white and black parts, and the clock is printed in the center of the key card l in a regular pattern with white parts and black parts alternately and regularly. Data D1 to D4 are printed in two channels on each side of the clock. The white part and the black part constituting the data D1 to D4 are arranged in the key card insertion direction so that the center position of each coincides with the edge part of the white part and the black part constituting the clock, that is, the boundary part between the white part and the black part. are arranged in The clock moves from the white part to the black part
Alternatively, data is read by determining whether the data on both sides is white or black at the timing when the black part changes to the white part (edge part).

第2図は最適光量を設定するための光量設定回路2を示
したブロック図であり、当該回路は読取装置と一体に設
けられている。
FIG. 2 is a block diagram showing a light amount setting circuit 2 for setting the optimum light amount, and this circuit is provided integrally with the reading device.

光量設定回路2は、電流設定回路3、発光ダイオード駆
動回路4、発光ダイオード5、受光ダイオード6、増幅
器7、比較器8及び制御部9から構成されている。発光
ダイオード5と受光ダイオード6は第3図に示すような
位置関係で配列されている。すなわち、発光ダイオード
5からはキーカードlに向けて光が照射され、キーカー
ドl上で反射した光は、キーカード1に対して同じ側に
配置された受光ダイオード6に入射するよう配置されて
いる。発光ダイオード5と受光ダイオードθの対はクロ
ック、データDi〜D4のそれぞれのチャンネルに対し
て設けられている。
The light amount setting circuit 2 includes a current setting circuit 3, a light emitting diode drive circuit 4, a light emitting diode 5, a light receiving diode 6, an amplifier 7, a comparator 8, and a control section 9. The light emitting diode 5 and the light receiving diode 6 are arranged in a positional relationship as shown in FIG. That is, the light emitting diode 5 emits light toward the key card l, and the light reflected on the key card l is arranged so as to be incident on the light receiving diode 6 arranged on the same side with respect to the key card 1. There is. A pair of light emitting diode 5 and light receiving diode θ is provided for each channel of clock and data Di to D4.

光量設定回路1の動作を第2図及び第6図を参照しなが
ら説明する。
The operation of the light amount setting circuit 1 will be explained with reference to FIGS. 2 and 6.

制御部9は初期設定された上で(ステップl)、待機モ
ードとなり(ステップ2)、キーカード1が挿入される
のを待つ。キーカード1が挿入されてカード先端余白部
が検出さ札 これに伴って制御部9はバッテリ(図示省
略)から電源電圧の供給を受けて起動する。キーカード
1が挿入されたことの検出は、読取装置のキーカード挿
入スロット内に設けたカード検出スイッチ(図示省略)
により物理的に行うこともできる。キーカードlの挿入
が検出されると(ステップ3)、電圧確認回路(図示省
略)が作動してバッテリチエツクが行われる(スッテブ
4)。バッテリチエツクと並行して、バッテリかもの電
源電圧は所定値に制御された上で制御部9及び光量設定
回路2の各部に供給される。
After the control unit 9 is initialized (step 1), it enters a standby mode (step 2) and waits for the key card 1 to be inserted. The key card 1 is inserted and the blank area at the front end of the card is detected. Along with this, the control unit 9 is activated by receiving power supply voltage from a battery (not shown). The insertion of the key card 1 is detected by a card detection switch (not shown) installed in the key card insertion slot of the reader.
It can also be done physically. When insertion of the key card 1 is detected (step 3), a voltage checking circuit (not shown) is activated to perform a battery check (step 4). In parallel with the battery check, the power supply voltage of the battery is controlled to a predetermined value and then supplied to each part of the control section 9 and the light amount setting circuit 2.

キーカード1が発光ダイオード5及び受光ダイオード6
間に挿入され制御部9が起動すると、キーカードl上の
光量レベル設定コード1aが読み取ら札 クロック及び
データD1〜D4それぞれに設けられた発光ダイオード
5に流す電流レベルの調整が行われる(ステップ5)。
Key card 1 has light emitting diode 5 and light receiving diode 6
When the controller 9 is inserted between the keys and the controller 9 is activated, the light level setting code 1a on the key card l is read and the current level flowing through the light emitting diodes 5 provided for each of the clock and data D1 to D4 is adjusted (step 5). ).

読取装置はキーカード1の先端余白部からクロックの最
初の黒部分へ移り変わるエツジ部■を検知しく第1図(
b)参照)、光量レベル設定コード1aの読み取りの開
始を認識する。
The reading device detects the edge part ■ where the leading margin of the key card 1 transitions to the first black part of the clock (see Figure 1).
(see b)), recognizes the start of reading the light intensity level setting code 1a.

キーカード1が更に挿入されると、クロックの最初の黒
部分から次に続く白部分に照射された光が受光ダイオー
ドθで受光さ札 受光ダイオード6における出力電圧は
ローレベル(L)からハイレベル(H)に変化する(第
1図(b)の■)。
When the key card 1 is further inserted, the light emitted from the first black part of the clock to the next white part is received by the light receiving diode θ.The output voltage at the light receiving diode 6 changes from low level (L) to high level ( H) (■ in Figure 1(b)).

このタイミングでデータD1〜D4の光量レベル設定コ
ードを順次読み取る。このときのデータD1〜D4は全
て白に予め設定されている。
At this timing, the light amount level setting codes of data D1 to D4 are sequentially read. The data D1 to D4 at this time are all set to white in advance.

制御部9は段階的に、かつ、高速で発光ダイオード5に
流す電流値を減少させる。白部分について、発光ダイオ
ード5に流す電流値を減少させれば、電流値の減少にほ
ぼ比例して発光ダイオード5から発せられる光量が減少
する。これに伴い、第4図(a)に示すように、白部分
からの反射光量が減少し、反射光量の減少に伴い受光ダ
イオード6の出力電圧は第4図(b)に示すように段階
的に減少する。受光ダイオード6からの出力電圧を、そ
の都度増幅器7で増幅し、増幅した信号を次段の比較器
8で第一の基準値と比較し、比較結果に応じて出力され
るディジタル信号を制御部9に入力し、制御部9の内部
メモリに記憶する。
The control unit 9 reduces the current value flowing through the light emitting diode 5 stepwise and at high speed. Regarding the white portion, if the value of the current flowing through the light emitting diode 5 is reduced, the amount of light emitted from the light emitting diode 5 will be reduced approximately in proportion to the decrease in the current value. Along with this, the amount of light reflected from the white portion decreases as shown in FIG. 4(a), and as the amount of reflected light decreases, the output voltage of the light receiving diode 6 gradually changes as shown in FIG. 4(b). decreases to The output voltage from the light receiving diode 6 is amplified each time by an amplifier 7, the amplified signal is compared with a first reference value by a comparator 8 in the next stage, and a digital signal output according to the comparison result is sent to the control section. 9 and stored in the internal memory of the control unit 9.

比較器8における第一の基準値は、白部分を判定できる
ような値(たとえば1. 2ボルト)に設定されている
。そして、受光ダイオード6の出力電圧が1.2ボルト
以下になったときの発光ダイオード5に流れている電流
を求める。
The first reference value in the comparator 8 is set to a value (for example, 1.2 volts) that allows determination of white areas. Then, the current flowing through the light emitting diode 5 when the output voltage of the light receiving diode 6 becomes 1.2 volts or less is determined.

キーカード1が更に深く挿入されると、クロック用の発
光ダイオード5は白部分から次の黒部分にわたって光を
照射する。これに伴い受光ダイオード6における出力電
圧はハイレベル(H)からローレベル(L)に変化する
(第1図(b)の■)。
When the key card 1 is inserted deeper, the clock light emitting diode 5 emits light from the white part to the next black part. Accordingly, the output voltage at the light receiving diode 6 changes from high level (H) to low level (L) (■ in FIG. 1(b)).

このタイミングでデータD1〜D4の光量設定コードを
順次読み取る。このときのデータD1〜D4は全て黒に
予め設定されている。
At this timing, the light amount setting codes of data D1 to D4 are sequentially read. The data D1 to D4 at this time are all set to black in advance.

黒部分については、段階的に発光ダイオード5に流す電
流値を増加させる。電流値を増加させれば、電流値の増
加にほぼ比例して発光ダイオード5から発せられる光量
が増加する。これに伴い、第4図(a)に示すように、
黒部分からの反射光量が増加し、反射光量の増加に伴い
受光ダイオード6の出力電圧は第4図(b)に示すよう
に段階的に増加する。受光ダイオード6からの出力電圧
をその都度増幅器7で増幅し、増幅した信号を次段の比
較器8で第二の基準値と比較し、比較結果に応じて出力
されるディジタル信号を制御部9に入力し、制御部9の
内部メモリに記憶する。
Regarding the black portion, the value of the current flowing through the light emitting diode 5 is increased in stages. When the current value is increased, the amount of light emitted from the light emitting diode 5 increases almost in proportion to the increase in the current value. Along with this, as shown in Figure 4(a),
The amount of reflected light from the black portion increases, and as the amount of reflected light increases, the output voltage of the light receiving diode 6 increases stepwise as shown in FIG. 4(b). The output voltage from the light receiving diode 6 is amplified each time by an amplifier 7, the amplified signal is compared with a second reference value by a comparator 8 in the next stage, and a digital signal output according to the comparison result is sent to a controller 9. and stores it in the internal memory of the control unit 9.

比較器8における第二の基準値は、黒部分を判定できる
ような値(たとえば0.12ボルト)に設定されている
。そして、受光ダイオード6の出力電圧が0.12ボル
トを越えたとき発光ダイオード5に流れている電流を求
める。
The second reference value in the comparator 8 is set to a value (for example, 0.12 volts) that allows a black portion to be determined. Then, the current flowing through the light emitting diode 5 when the output voltage of the light receiving diode 6 exceeds 0.12 volts is determined.

以上のように、黒部分からの反射光を受けて受光ダイオ
ード6から0.12ボルトの出力がされる場合の発光ダ
イオード5の発光量すなわち供給電流量と、白部分から
の反射光を受けて受光ダイオード6から1.2ボルトの
出力がされる場合の発光ダイオード5の発光量すなわち
供給電流量とが路間−となるように第一と第二の基準値
が適宜設定される。
As described above, the amount of light emitted by the light emitting diode 5, that is, the amount of current supplied when the light receiving diode 6 outputs 0.12 volts in response to the reflected light from the black part, and the amount of light received in response to the reflected light from the white part. The first and second reference values are appropriately set so that when the diode 6 outputs 1.2 volts, the amount of light emitted from the light emitting diode 5, that is, the amount of supplied current, is between -.

発光ダイオード5への供給電流量が白部分と黒部分に対
しそれぞれ50ミリアンペ乙 500ミリアンペアであ
ったとすると、制御部9は500ミリアンペアと50ミ
リアンペアの中間値(225ミリアンペア)を算出し、
この値を発光ダイオード5への供給電流とする。225
ミリアンペア前後の電流を発光ダイオード5に流せば、
白部分と黒部分の判別を正確に行うことができるからで
ある。以上の発光ダイオード5の電流レベルの設定は各
チャンネル毎に行う。
Assuming that the amount of current supplied to the light emitting diode 5 is 50 milliamps and 500 milliamps for the white part and the black part, respectively, the control unit 9 calculates the intermediate value (225 milliamps) between 500 milliamps and 50 milliamps,
This value is set as the current supplied to the light emitting diode 5. 225
If a current of around milliampere is passed through the light emitting diode 5,
This is because white parts and black parts can be accurately distinguished. The above setting of the current level of the light emitting diode 5 is performed for each channel.

発光ダイオード5の光量レベルが設定されると、次にキ
ーコードの読み取りが行われる(ステップ6)。比較器
8からキーコードを表すディジタル信号が制御部9に入
力されキーコードの暗号が解除される(ステップ7)。
Once the light intensity level of the light emitting diode 5 is set, the key code is then read (step 6). A digital signal representing the key code is input from the comparator 8 to the control unit 9, and the key code is decrypted (step 7).

制御部9は更に内蔵されているメモリに記憶されている
所定のコードとキーコードとを比較し、比較結果に応じ
て解錠許可信号または解錠不許可信号を発生してカード
処理を行う(ステップ8)。解錠許可信号が発生すると
ソレノイド駆動回路(図示省略)を介してソレノイド(
図示省略)が駆動される。ソレノイドには錠機構(図示
省略)が連結されており、ソレノイドが作動されると室
外ハンドル(図示省略)が錠機構と連動状態となり、解
錠が行われる(ステップ9)。解錠処理が終了するとル
ーチンはステップ2に戻り次のキーカードlの挿入を待
つ待機モードとなる(ステップ2)。
The control unit 9 further compares the key code with a predetermined code stored in the built-in memory, and generates an unlock permission signal or an unlock disapproval signal depending on the comparison result, and performs card processing ( Step 8). When the unlock permission signal is generated, the solenoid (
(not shown) is driven. A locking mechanism (not shown) is connected to the solenoid, and when the solenoid is activated, the outdoor handle (not shown) is brought into interlocking state with the locking mechanism and unlocked (step 9). When the unlocking process is completed, the routine returns to step 2 and enters a standby mode in which it waits for the next key card l to be inserted (step 2).

以上、発光ダイオードへ流す電流を変えることにより光
量の設定を行う場合について説明したが、本発明はこれ
に限定されるものではなく、たとえば、発光ダイオード
5へ流す電流を一定に維持した状態で比較器8の基準値
を変えることによっても、あるいは、比較器8の代わり
にA/D変換器を用いて量子化レベルを変更することに
よっても光量レベルの設定を行うことができる。
Although the case where the amount of light is set by changing the current flowing through the light emitting diode 5 has been described above, the present invention is not limited to this. The light amount level can be set by changing the reference value of the comparator 8 or by changing the quantization level using an A/D converter instead of the comparator 8.

(発明の効果) 以上説明したように、本発明によれば、光量レベル設定
用コードを設けたことにより、キーコードの読み取りの
前段階において読み取りに最適な光量を設定できるため
、キーカードを繰り返し使用してプリントされているキ
ーコードが摩耗し、傷つき、汚損 反射光量が低減して
も正確にキーコードの読み取りができる。また、読取装
置の発光素子及び受光素子の特性上のバラツキも吸収す
ることができ、信頼性の高い読取装置を提供することが
できる。
(Effects of the Invention) As explained above, according to the present invention, by providing the code for setting the light intensity level, it is possible to set the optimal light intensity for reading in the stage before reading the key code. Key codes can be read accurately even if the printed key code is worn out, scratched, or soiled, and the amount of reflected light is reduced. Further, variations in characteristics of the light emitting element and light receiving element of the reading device can be absorbed, and a highly reliable reading device can be provided.

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

第1図(a)は光学式反射型キーカード上に形成された
各種コードを示した図、第1図(b)はキーカード上の
クロックの信号波形l 第1図(C)はキーカード上の
データの信号波形図、第2図は本発明にかかる読取装置
の光量設定回路を示したブロック図、 第3図は読取装置内の発光ダイオードと受光ダイオード
の位置関係を説明するための1第4図(a)及び(b)
は最適光量を設定するための手順を説明するための図、 第5図は発光ダイオードへ流す電流値の設定を説明する
ための図、 第6図は読取装置の動作シーケンスを説明するためのフ
ローチャートである。 ・発光ダイオード ・受光ダイオード ・増幅器 ・比較器 ・制御部
Figure 1 (a) is a diagram showing various codes formed on the optical reflective key card, Figure 1 (b) is the clock signal waveform on the key card Figure 1 (C) is the key card A signal waveform diagram of the above data, FIG. 2 is a block diagram showing the light intensity setting circuit of the reading device according to the present invention, and FIG. 3 is a diagram showing the positional relationship between the light emitting diode and the light receiving diode in the reading device. Figure 4 (a) and (b)
Figure 5 is a diagram to explain the procedure for setting the optimum light amount, Figure 5 is a diagram to explain the setting of the current value flowing to the light emitting diode, and Figure 6 is a flowchart to explain the operation sequence of the reading device. It is.・Light emitting diode ・Light receiving diode ・Amplifier ・Comparator ・Control unit

Claims (3)

【特許請求の範囲】[Claims] (1)キーカードに設けた光反射率の異なる第一と第二
の要素で構成されるキーコードに光を照射して、前記第
一と第二の要素における光反射率の差に基づいてキーコ
ードを読み取り、読み取ったキーコードに従い旋解錠を
行う光学式反射型キーカードであって、キーコードの第
一と第二の要素の読み取り基準値を設定するための読み
取りレベル設定用コードを前記キーコードとは別に設け
たことを特徴とする読み取りレベル設定用コード付き光
反射型キーカード。
(1) Light is irradiated onto the key code, which is made up of first and second elements with different light reflectances, provided on the key card, and the light is detected based on the difference in light reflectance between the first and second elements. An optical reflective key card that reads a key code and unlocks the lock according to the read key code, and includes a read level setting code for setting the reading reference value of the first and second elements of the key code. A light reflective key card with a code for setting a reading level, characterized in that the key code is provided separately from the key code.
(2)前記読み取りレベル設定用コードは光反射率の異
なる第一と第二の要素によって構成されることを特徴と
する請求項1記載の読み取りレベル設定用コード付き光
反射型キーカード。
(2) The light reflective key card with a reading level setting code according to claim 1, wherein the reading level setting code is constituted by first and second elements having different light reflectances.
(3)読み取りレベル設定用コードを読み取り、読み取
り結果に応じてキーコードの読み取り基準値を設定する
ための読み取りレベル設定装置であって、 光反射率の異なる第一と第二の要素によって構成される
前記読み取りレベル設定用コードに光を照射するための
照射手段と、 読み取りレベル設定用コードの第一と第二の要素に照射
した光の反射光を受光するための受光手段と、 読み取りレベル設定用コードの第一と第二の要素からの
反射光量が等しくなるときの前記受光手段からの出力に
基づき、前記キーコードの読み取り基準値を決定する制
御手段とからなることを特徴とする読み取りレベル設定
装置
(3) A reading level setting device for reading a reading level setting code and setting a reading reference value for a key code according to the reading result, which is composed of first and second elements having different light reflectances. irradiation means for irradiating light onto the reading level setting code; light receiving means for receiving reflected light of the light irradiated to the first and second elements of the reading level setting code; and reading level setting. and a control means for determining a reading reference value for the key code based on the output from the light receiving means when the amounts of reflected light from the first and second elements of the key code are equal. Setting device
JP1264569A 1989-10-11 1989-10-11 Light reflection type key card with reading level setting code and reading level setting device Pending JPH03126192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1264569A JPH03126192A (en) 1989-10-11 1989-10-11 Light reflection type key card with reading level setting code and reading level setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1264569A JPH03126192A (en) 1989-10-11 1989-10-11 Light reflection type key card with reading level setting code and reading level setting device

Publications (1)

Publication Number Publication Date
JPH03126192A true JPH03126192A (en) 1991-05-29

Family

ID=17405114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1264569A Pending JPH03126192A (en) 1989-10-11 1989-10-11 Light reflection type key card with reading level setting code and reading level setting device

Country Status (1)

Country Link
JP (1) JPH03126192A (en)

Similar Documents

Publication Publication Date Title
US5963199A (en) Image processing systems and data input devices therefor
US5151582A (en) Automatic transaction machine system for checking card data and embossed characters
US20070084933A1 (en) Information Card with Multiple Storage Media and a Device and Method for Reading and Writing Information in Said Card
US6091563A (en) Latent illuminance discrimination marker system for data storage cartridges
EP0323848B1 (en) Optical image reading device
US4237375A (en) Opto-electronic apparatus for reading information contained in an information carrier
US5790489A (en) Smart compact disk including a processor and a transmission element
US6266211B1 (en) Latent illuminance discrimination marker for data storage cartridges
EP1418550A2 (en) Card equipped with password input keys
EP0176933B1 (en) Bar code reading apparatus
US6264107B1 (en) Latent illuminance discrimination marker system for authenticating articles
US4259569A (en) Code sensing system
JPH03126192A (en) Light reflection type key card with reading level setting code and reading level setting device
US6359745B1 (en) Latent illuminance discrimination marker system for data storage cartridges
US3819910A (en) Optical card reading system
JPH03121580A (en) Code reading system
GB2086110A (en) Opto-electronic Apparatus for Reading Information Contained in an Information Carrier
JP2001229337A (en) Electrical data reader/writer provided with bar code reading function
JPH0525358B2 (en)
JP2002147081A (en) Electric lock device
JP2580160B2 (en) LSI card reader / writer
CN212130208U (en) Optical coded lock
JP2925350B2 (en) Magnetic card and method and apparatus for determining validity of magnetic card
JPH08305811A (en) Method for writing data to electromagnetic induction type storage card
JP2896425B2 (en) Card-shaped medium processing device, cash handling device, and card-shaped medium