JPS6359648A - Portable medium - Google Patents

Portable medium

Info

Publication number
JPS6359648A
JPS6359648A JP61279940A JP27994086A JPS6359648A JP S6359648 A JPS6359648 A JP S6359648A JP 61279940 A JP61279940 A JP 61279940A JP 27994086 A JP27994086 A JP 27994086A JP S6359648 A JPS6359648 A JP S6359648A
Authority
JP
Japan
Prior art keywords
circuit
clock
supplied
signal
output
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
JP61279940A
Other languages
Japanese (ja)
Inventor
Kiyoyoshi Nara
精悦 奈良
Tsutomu Tanaka
勤 田中
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61279940A priority Critical patent/JPS6359648A/en
Publication of JPS6359648A publication Critical patent/JPS6359648A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To improve the accuracy of a clock function and to reduce a power consumption by constituting a clock means which counts a clock by a first clock generation means and an arithmetic means which is made to act by a second clock generation means and executes a specified arithmetic processing, etc., in the same medium. CONSTITUTION:An accurate clock generation means is additionally set for the clock function besides the clock generation means for the arithmetic function. Namely, an oscillator (the second clock generation means) 27 which is a crystal vibrator for an arithmetic clock oscillation and outputs 1MHz of oscillation frequency (high frequency) signal, a timer 32 which is used for the clock during processing actions a calandar circuit 33, the oscillator (the first clock generation means) 34 which is the crystal oscillator for a basic clock oscillation and always outputs 32.768kHz of oscillation frequency (low frequency and high accuracy) signal, etc., are provided. If an IC card is inserted in a terminal equipment, the contact part 11 of the IC card is connected to the connection part inside the terminal equipment and when the external power source voltage is supplied, a power source control circuit 23 switches to the drive of the external power source voltage from the drive of the internal battery 25.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) この発明は、たとえばCPIJ、データメモリ、内部バ
ッテリなどを内蔵し、雪中などでカード単体で用いたり
、端末機に挿入することにより用いられる多機能のIC
カードなどの携帯可能媒体に関する。
[Detailed Description of the Invention] [Purpose of the Invention (Field of Industrial Application) This invention has a built-in CPIJ, data memory, internal battery, etc., and can be used alone in the snow or inserted into a terminal. Multifunctional IC used by
Regarding portable media such as cards.

(従来の技術) 従来、薄型(カード上)の演算、記憶機能を持つものと
して、カード状電卓、ICカード等がある。しかし、こ
れらのものでは、演算様能と、計時機能とを有するもの
はあるが、いずれのものも発振子は1つである。このた
め、上記発振子は、あくまでも演算用の高い周波数のも
のであって、その発振周波数に対する精度はあまり要求
されるものではなかった。したがって、計時機能として
は時間的な前後関係を把握する程度の使われ方であり、
精度の高い計時機能を持たせることができなかった。ま
た、演算用の発振子は高い周波数のクロックで動かせて
いるため、計時機能に用いると消費電力が大きく、バッ
テリの容ff1(寿命)が何年間も持たないという欠点
があった。
(Prior Art) Conventionally, there are card-shaped calculators, IC cards, etc., which are thin (on cards) and have calculation and storage functions. However, although some of these devices have a calculation function and a timekeeping function, all of them have one oscillator. Therefore, the above-mentioned oscillator has a high frequency for calculation purposes, and high accuracy with respect to the oscillation frequency is not required. Therefore, as a timekeeping function, it is only used to grasp the temporal relationship.
It was not possible to provide a highly accurate timekeeping function. Furthermore, since the oscillator for calculations is driven by a high-frequency clock, it consumes a large amount of power when used for a timekeeping function, and has the drawback that the battery capacity ff1 (life span) does not last for many years.

(発明が解決しようとする問題点) 上記のように、精度の高い計時機能を持たせることがで
きず、また消費電力の低減を図ることができないという
欠点を除去するもので、精度の高い計時機能を持たせる
ことができ、しかも消費電力の低減を図ることができる
携帯可能媒体を提供することにある。
(Problems to be Solved by the Invention) As mentioned above, this invention eliminates the disadvantages of not being able to provide a highly accurate timekeeping function and not being able to reduce power consumption. It is an object of the present invention to provide a portable medium that can be provided with functions and that can reduce power consumption.

[発明の構成コ (問題点を解決するための手段) この発明の携帯可能媒体は、内部に設けられた電源によ
り動作を行うものにおいて、第1のクロック発生手段に
よるクロックを計数することにより計時処理を行う時計
手段、および第2のクロック発生手段により動作され所
定の演算処理等を行う演算手段を同一媒体内に構成する
ものである。
[Configuration of the Invention (Means for Solving Problems) The portable medium of the present invention is operated by an internal power source, and the portable medium of the present invention is capable of measuring time by counting the clock generated by the first clock generating means. A clock means for performing processing and an arithmetic means operated by the second clock generating means for performing predetermined arithmetic processing etc. are constructed in the same medium.

(作用) この発明は、演II能用のクロック発生手段とは別に精
度の高いクロック発生手段を計時機能用に追加したもの
である。
(Function) In this invention, a highly accurate clock generating means is added for the timekeeping function in addition to the clock generating means for the performance II function.

(実施例) 以下、この発明の一実施例について、図面を参照して説
明する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第2図において、10は携帯可能媒体としてのICカー
ドであり、種々の機能を有する多機能カードである。た
とえば、後述する端末機を用いて使用するオンライン機
能、ICカード10が単体で動作するオフライン機能、
および時計のみをカウントしている待ち状態を有してい
る。
In FIG. 2, 10 is an IC card as a portable medium, which is a multifunctional card having various functions. For example, an online function that is used using a terminal described below, an offline function that allows the IC card 10 to operate independently,
and has a wait state that only counts the clock.

上記オフライン様能としては、電卓として使用できる電
卓モード、利用者により用いられている時計による時刻
を表示する時刻表示モード、利用者により用いられてい
る時計の時刻を変更する時刻変更モード、住所、氏名、
電話番号等を登録したり、読出したりする電子幅モード
、あるいはICカード10を複数のクレジットカード、
キャッシュカードとして利用する買物モードなどとなっ
ている。
The above-mentioned offline functions include a calculator mode that can be used as a calculator, a time display mode that displays the time according to the clock being used by the user, a time change mode that changes the time of the clock that the user is using, an address, full name,
Electronic width mode for registering and reading phone numbers, etc., or using the IC card 10 with multiple credit cards,
It has a shopping mode where it can be used as a cash card.

上記ICカード10の表面にはカードの規格にあった位
置に配置されたコンタクト部(接続手段)11.20キ
ーからなるキーボード部(入力手段)12、このキーボ
ード部12の上面に配置され、液晶表示素子で形成され
る表示部(表示手段)13、および磁気発生部材14が
設けられている。
On the surface of the IC card 10, there is a contact section (connection means) 11 arranged at a position that matches the card specifications, a keyboard section (input means) 12 consisting of 20 keys, and a liquid crystal display arranged on the top surface of this keyboard section 12. A display section (display means) 13 formed of a display element and a magnetism generating member 14 are provided.

上記コンタクト部11は、たとえば複数の端子118〜
11hによって構成されている。上記端子11aは動作
用の電源電圧(+5V、Vcc)用、端子11bは接地
用、端子11Cはクロック信号用、端子11dはリセッ
ト信号用、端子118〜11hはデータ入出力用となっ
ている。
The contact portion 11 includes a plurality of terminals 118 to 118, for example.
11h. The terminal 11a is for operating power supply voltage (+5V, Vcc), the terminal 11b is for grounding, the terminal 11C is for a clock signal, the terminal 11d is for a reset signal, and the terminals 118 to 11h are for data input/output.

上記キーボード部12は処理モードを指定するモードキ
ー(Ml、M2、M3、M4)12a。
The keyboard section 12 includes mode keys (Ml, M2, M3, M4) 12a for specifying processing modes.

テンキー12b1および4則演算キー(ファンクション
キー)12Cによって構成されている。
It is composed of a numeric keypad 12b1 and four arithmetic operation keys (function keys) 12C.

上記モードキー12aは、オフライン時、つまりICカ
ード10のみで処理を行う時、電卓モード(Ml)、時
刻表示モード(M2)、電子通帳モード(M3)、ある
いは買物モード(M4)に対する処理を選択するように
なっている。また、上記買物モードにおいて、M4キー
とテンキー12bの組合わせに応じて、カードの種類つ
まり種々のクレジットカード、キャッシュカードなどに
対応する処理を選択するようになっている。
The mode key 12a selects processing for calculator mode (Ml), time display mode (M2), electronic passbook mode (M3), or shopping mode (M4) when offline, that is, when processing is performed only with the IC card 10. It is supposed to be done. Further, in the shopping mode, processing corresponding to the type of card, ie, various credit cards, cash cards, etc., is selected according to the combination of the M4 key and the numeric keypad 12b.

上記表示部13は、1桁が5X7のドツトマトリクスで
、16桁表示となっている。
The display section 13 is a 16-digit dot matrix with each digit being 5×7.

上記磁気発生部材14は、図示しない読取側の磁気カー
ドリーダ(!1気ヘッド)のトラック位置に合せて、I
Cカード10の内部に埋設されている。
The magnetism generating member 14 is aligned with the track position of a magnetic card reader (!1 head) on the reading side (not shown).
It is buried inside the C card 10.

第3図はtCカード10を扱う端末機たとえばパーソナ
ルコンピュータ等に用いられるICCカード読取連込1
6の外観を示すものである。すなわち、カード挿入口1
7から挿入されたICカード10におけるコンタクト部
11と接続することにより、ICカード10におけるメ
モリのデータを読取ったり、あるいはメモリ内にデータ
を書込むものである。
FIG. 3 shows an ICC card reader 1 used in a terminal device such as a personal computer that handles the TC card 10.
This shows the appearance of No. 6. In other words, card insertion slot 1
By connecting with the contact part 11 of the IC card 10 inserted from 7, data in the memory of the IC card 10 can be read or data can be written into the memory.

上記ICカード読取書込部16は、パーソナルコンピュ
ータの本体(図示しない)とケーブルによって接続され
るようになっている。
The IC card reading/writing section 16 is connected to the main body of a personal computer (not shown) by a cable.

また、上記ICカード10の電気回路は、第1図に示す
ように構成されている。すなわち、上記コンタクト部1
1、通信制御回路21、リセット制御回路22、電源制
御回路23、たとえば3ボルトの内部バッテリ(内蔵電
源)25、この内部バッテリ25の電圧値が規定以上で
あるか否かをチェックするバッテリチェック回路24、
クロック制皿回路26、演算クロック発振用の水晶発振
子であり、IMH2の発振周波数(高周波)の信号を出
力する発振器(第2のクロック発生手段)27、制御用
のcpu <セントラル・プロセッシング・ユニット)
28、制御プログラムが記録されているプログラムRO
M29、プログラムワーキング用メモリ30.暗証番号
(たとえば4桁)、およびデータなどが記録され、PR
OMで構成されるデータメモリ31、処理動作中の計時
用に用いるタイマ32、カレンダ回路33、基本クロッ
ク発条用の水晶発振子であり、常時、32.768KH
2の発振周波数(低周波で高精度)の信号を出力してい
る発振器(第1のクロック発生手段)34、表示部制御
回路35、上記表示部13を駆動する表示部ドライバ3
6、上記キーボード部12のキー入力回路としてのキー
ボードインターフェース38、および上記磁気発生部材
14を制御する磁気発生部材制御回路40によって構成
されている。
Further, the electric circuit of the IC card 10 is constructed as shown in FIG. That is, the contact portion 1
1. Communication control circuit 21, reset control circuit 22, power supply control circuit 23, for example, a 3-volt internal battery (built-in power supply) 25, and a battery check circuit that checks whether the voltage value of this internal battery 25 is above a specified value. 24,
A clock control circuit 26, an oscillator (second clock generation means) 27 which is a crystal oscillator for arithmetic clock oscillation and outputs a signal at the oscillation frequency (high frequency) of the IMH2, a CPU for control <central processing unit> )
28. Program RO in which the control program is recorded
M29, program working memory 30. The PIN number (for example, 4 digits) and data are recorded, and the PR
A data memory 31 consisting of an OM, a timer 32 used for timing during processing operations, a calendar circuit 33, and a crystal oscillator for basic clock oscillation, which always operates at 32.768 KH.
an oscillator (first clock generation means) 34 that outputs a signal with a second oscillation frequency (low frequency and high precision), a display control circuit 35, and a display driver 3 that drives the display section 13.
6. It is composed of a keyboard interface 38 as a key input circuit of the keyboard section 12, and a magnetism generating member control circuit 40 that controls the magnetism generating member 14.

上記通信制御回路21、CPU28、 ROM29、プログラムワーキング用メモリ30、デー
タメモリ31、タイマ32、カレンダ回路33、表示部
制御回路35、キーボードインターフェース38、およ
び上記磁気発生部材14を制御する磁気発生部材制御回
路40は、データバス20によって接続されるようにな
っている。
Magnetism generation member control for controlling the communication control circuit 21, CPU 28, ROM 29, program working memory 30, data memory 31, timer 32, calendar circuit 33, display control circuit 35, keyboard interface 38, and magnetism generation member 14. The circuits 40 are adapted to be connected by a data bus 20.

上記通信制御回路21は、受信時つまり上記端末機16
からコンタクト部11を介して供給されたシリアルの入
出力信号を、パラレルのデータに変換してデータバス2
0に出力し、送信時つまりデータバス2oから供給され
たパラレルのデータを、シリアルの入出力信号に変換し
てコンタクト部11を介して端末機16に出力するよう
になっている。この場合、その変換のフォーマット内容
は、上記端末fl116と、ICカード10とで定めら
れている。
When the communication control circuit 21 receives data, that is, the terminal 16
The serial input/output signals supplied from the contact section 11 are converted into parallel data and sent to the data bus 2.
0, and during transmission, that is, parallel data supplied from the data bus 2o, is converted into a serial input/output signal and output to the terminal 16 via the contact section 11. In this case, the format contents of the conversion are determined by the terminal fl116 and the IC card 10.

リセット制御回路22は、オンラインになった際、リセ
ット信号を発生し、CPU28用起動を行うようになっ
ている。
When the reset control circuit 22 goes online, it generates a reset signal and starts up the CPU 28.

上記電源制御回路23は、オンラインとなった際、所定
時間経過後に、内部バッテリ25による駆動から外部電
源駆動に切換え、オフラインとなった際、つまり外部電
圧が低下した際、外部電源による駆動から内部バッテリ
25による駆動に切換えるものである。
When the power supply control circuit 23 goes online, it switches from being driven by the internal battery 25 to being driven by an external power supply after a predetermined period of time has elapsed, and when it goes offline, that is, when the external voltage drops, it switches from being driven by the external power source to being driven by the external power source. This is to switch to driving by the battery 25.

上記クロック制御回路26は、内部バッテリ25でカー
ド動作を行うオフラインモードにおいて、スタンバイ時
、つまりキー人力待機時、後述するIMI−12の発振
周波数(高周波)の信号を出力する発振回路67を停止
し、またCPU28へのクロックの供給も停止し、完全
なる停止状態で待機するものである。また、上記クロッ
ク制■回路26は、停止状態からの発振回路67の再起
動時、安定発振が行われるまでの500〜600m5e
cの間、時計用クロックをCPU28用のクロックとし
て出力し、第1人カキ−の処理を行わせるようになって
いる。
The clock control circuit 26 stops an oscillation circuit 67 that outputs a signal at an oscillation frequency (high frequency) of the IMI-12, which will be described later, during standby, that is, when the key is in standby mode, in an offline mode in which the card operates using the internal battery 25. , the clock supply to the CPU 28 is also stopped, and the CPU 28 stands by in a completely stopped state. Furthermore, when the oscillation circuit 67 is restarted from a stopped state, the clock control circuit 26 is operated for 500 to 600 m5e until stable oscillation is performed.
During the period c, the clock is outputted as a clock for the CPU 28, and the first person's key is processed.

さらに、上記クロック制御回路26は、オンラインとな
った際、つまりリセット信号が供給された際、安定発振
が行われるまでの500〜600m5ecの間、時計用
クロックをCPU28用のクロックとして出力し、その
後IM)−12のクロックを出力するようになっている
Furthermore, when the clock control circuit 26 goes online, that is, when a reset signal is supplied, it outputs the watch clock as a clock for the CPU 28 for 500 to 600 m5ec until stable oscillation occurs, and then IM)-12 clock is output.

上記データメモリ31には、契約している複数のクレジ
ットカード(会社)に対応する情報、キャッシュカード
に対応する情報が記録されており、上記M4キーとテン
キー12bの組合わせによるカードの種類に対応して読
出されるようになっている。上記情報は、各カードごと
の従来の磁気ストライブに記録されている情報と同じ内
容となっている。
The data memory 31 records information corresponding to a plurality of contracted credit cards (companies) and information corresponding to cash cards, and corresponds to the type of card determined by the combination of the M4 key and the numeric keypad 12b. It is read out as follows. The above information is the same as the information recorded on the conventional magnetic stripe for each card.

上記カレンダ回路33は、カードの保持者が自由に設定
変更可能な表示用の時計と、たとえば世界の標準時間を
カードの発行時にセットし、その後、変更不可能な取引
用の時計とを有している。
The calendar circuit 33 has a display clock that can be freely set and changed by the card holder, and a transaction clock that sets, for example, world standard time when the card is issued and cannot be changed thereafter. ing.

上記表示部制御回路35は、上記CPLI28から供給
される表示データを内部のROMで構成されるキャラク
タジェネレータ(図示しない)を用いて文字パターンに
変換し、表示部ドライバ36を用いて表示部13で表示
するものである。
The display unit control circuit 35 converts the display data supplied from the CPLI 28 into a character pattern using a character generator (not shown) configured with an internal ROM, and converts the display data supplied from the CPLI 28 into a character pattern using the display unit driver 36. It is to be displayed.

上記キーボードインターフェース38は、キーボード部
12で入力されたキーに対応するキー人力信号に変換し
てCPU28に出力するものである。
The keyboard interface 38 converts keys input on the keyboard section 12 into human input signals corresponding to keys, and outputs the signals to the CPU 28.

上記磁気発生部材制御回路40は、買物モードおよびカ
ードの種類が指定されている際に、そのカードの種類に
対応して上記データメモリ31からデータバス20を介
して供給されるデータおよび読取装置が手動式読取りか
自動式読取りかに対応した駆動レートに応じて、上記磁
気発生部材14を駆動制御して磁気情報を出力すること
により、従来の磁気ストライプが存在しているのと同じ
状態にしているものである。
When a shopping mode and a card type are specified, the magnetism generating member control circuit 40 controls the data and reading device supplied from the data memory 31 via the data bus 20 in accordance with the card type. By controlling the drive of the magnetism generating member 14 and outputting magnetic information according to the drive rate corresponding to manual reading or automatic reading, the state is the same as when a conventional magnetic stripe exists. It is something that exists.

上記電源制御回路23について、第4図を用いて詳細に
説明する。すなわち、インバータ回路51.54.55
、カウンタ52、D形フリップフロップ回路(FF回路
)53、MOSFETで構成される半導体スイッチ56
.58、ダイオード57、および内部バッテリ25によ
って構成されている。
The power supply control circuit 23 will be explained in detail using FIG. 4. That is, inverter circuit 51.54.55
, a counter 52, a D-type flip-flop circuit (FF circuit) 53, and a semiconductor switch 56 composed of a MOSFET.
.. 58, a diode 57, and an internal battery 25.

上記カウンタ52の計数値は、外部電源のチャタリング
の影響を受けない値となっている。上記ダイオード57
は、電源電圧Voutの保護用であり、外部からの電源
電圧VCCの低下時、半導体スイッチ56がオンする前
に、I[Bli圧Vccがメモリの駆動電圧より低下し
た場合でも、電源電圧■outが低下しないように、内
部バッテリ25で保護しているものである。
The count value of the counter 52 is a value that is not affected by chattering of the external power supply. The above diode 57
is for protecting the power supply voltage Vout, and when the external power supply voltage VCC drops, before the semiconductor switch 56 is turned on, even if the I[Bli voltage Vcc drops below the memory drive voltage, the power supply voltage ■out It is protected by an internal battery 25 so that the power does not drop.

このような構成おいて、第5図に示すタイミングチャー
トを参照しつつ動作を説明する。すなわち、ICカード
10が上記端末様16とコンタクト部11で接続されて
いない場合、半導体スイッチ56がオンしているので1
.内部バッテリ25の電源電圧が半導体スイッチ56を
介して電源制御回路22の出力Voutとして各部に印
加される。
The operation of this configuration will be described with reference to the timing chart shown in FIG. That is, if the IC card 10 is not connected to the terminal 16 through the contact section 11, the semiconductor switch 56 is on, so the 1
.. The power supply voltage of the internal battery 25 is applied to each part via the semiconductor switch 56 as the output Vout of the power supply control circuit 22.

また、ICカード10が上記端末機16とコンタクト部
11で接続された場合、外部からの電源電圧■CCが半
導体スイッチ58のゲートに供給されるとともに、クロ
ック信号CLKがインバータ回路51を介してカウンタ
52のクロック端子ckに供給される。これにより、カ
ウンタ52は計数を開始し、このカウンタ52の値が所
定値となった時、出力端Qnの出力により、FF回路5
3をセットする。このFF回路53のセット出力Qによ
り、半導体スイッチ58のゲートに“′0パ信号が供給
され、半導体スイッチ56のゲートに“1“信号が供給
され、半導体スイッチ58がオンし、半導体スイッチ5
6がオフする。
Further, when the IC card 10 is connected to the terminal device 16 through the contact portion 11, the external power supply voltage CC is supplied to the gate of the semiconductor switch 58, and the clock signal CLK is supplied to the counter via the inverter circuit 51. It is supplied to the clock terminal ck of 52. As a result, the counter 52 starts counting, and when the value of the counter 52 reaches a predetermined value, the FF circuit 5
Set 3. Due to the set output Q of the FF circuit 53, a "'0" signal is supplied to the gate of the semiconductor switch 58, a "1" signal is supplied to the gate of the semiconductor switch 56, the semiconductor switch 58 is turned on, and the semiconductor switch 58 is turned on.
6 is off.

したがって、外部からの電源電圧Vccが半導体スイッ
チ58を介して電源制御回路22の出力youtとして
各部に印加される。
Therefore, the external power supply voltage Vcc is applied to each part via the semiconductor switch 58 as the output yout of the power supply control circuit 22.

なお、オンライン状態からオフライン状態に戻る時、外
部からのN課電圧Vccが低下したとき、リセット制御
回路22からリセット信号が出力される。これにより、
そのリセット信号により、カウンタ52、FF回路53
がリセットされる。すると、半導体スイッチ58のゲー
トに“1″゛信号が供給され、半導体スイッチ56のゲ
ートに011信号が供給され、半導体スイッチ58がオ
フし、半導体スイッチ56がオンする。したがって、内
部バッテリ25の%fll!Ii圧が半導体スイッチ5
6を介して電源制御回路22の出力voutとして各部
に印加される。
Note that when returning from the online state to the offline state, a reset signal is output from the reset control circuit 22 when the externally applied N voltage Vcc decreases. This results in
The reset signal causes the counter 52 and the FF circuit 53 to
is reset. Then, the "1" signal is supplied to the gate of the semiconductor switch 58, the 011 signal is supplied to the gate of the semiconductor switch 56, the semiconductor switch 58 is turned off, and the semiconductor switch 56 is turned on. Therefore, %fll of internal battery 25! Ii pressure is semiconductor switch 5
6 is applied to each part as the output vout of the power supply control circuit 22.

上記クロック制御回路26について、第6図を用いて詳
細に説明する。すなわち、上記CPU28からの停止信
号HALTはFF回路62のクロック入力端ckに供給
される。このFF回路62のセット出力は、FF回路6
3のデータ入力端りに供給され、このFF回路63のク
ロック入力端ckには上記CPU28からのマシンサイ
クル化@M1が供給される。上記FF回路62.63は
停止モードタイミング用となっている。上記FF回路6
3のセット出力は、FF回路64のデータ入力端りに供
給され、このFF回路64のクロック入力端ckには上
記カレンダ回路33からの32.763KH2の時計用
のクロックが供給される。上記FF回路64のリセット
出力は、FF回路65のデータ入力端りに供給され、こ
のFF回路65のクロック入力%ickには上記カレン
ダ回路33からの32.763KH2の時計用のクロッ
クが供給される。上記FF回路65はクロック発振停止
用となっている。上記FF回路65のセット出力は、ナ
ンド回路66の一端に供給され、このナンド回路66の
出力端と他端との間には発振回路67が接続されている
The clock control circuit 26 will be explained in detail using FIG. 6. That is, the stop signal HALT from the CPU 28 is supplied to the clock input terminal ck of the FF circuit 62. The set output of this FF circuit 62 is
The clock input terminal ck of this FF circuit 63 is supplied with the machine cycle @M1 from the CPU 28. The FF circuits 62 and 63 are used for stop mode timing. Above FF circuit 6
The set output of 3 is supplied to the data input terminal of the FF circuit 64, and the clock input terminal ck of this FF circuit 64 is supplied with the clock of 32.763KH2 from the calendar circuit 33. The reset output of the FF circuit 64 is supplied to the data input end of the FF circuit 65, and the clock input %ick of this FF circuit 65 is supplied with a clock of 32.763KH2 from the calendar circuit 33. . The FF circuit 65 is used to stop clock oscillation. The set output of the FF circuit 65 is supplied to one end of a NAND circuit 66, and an oscillation circuit 67 is connected between the output end and the other end of the NAND circuit 66.

また、上記CPU28からのキー人力割込み信号、およ
び上記リセット制御回路22からのリセット信号は、オ
ア回路61を介して上記FF回路62.63.64のリ
セット入力端Rに供給されるとともに、上記FF回路6
5のセット入力端Sに供給される。
Further, the key human interrupt signal from the CPU 28 and the reset signal from the reset control circuit 22 are supplied to the reset input terminals R of the FF circuits 62, 63, and 64 via the OR circuit 61, and circuit 6
It is supplied to the set input terminal S of No. 5.

上記発振回路67は、上記1MH2の発振周波数を有す
る発振器27、抵抗68、コンデンサ70.71によっ
て構成されている。
The oscillation circuit 67 includes the oscillator 27 having an oscillation frequency of 1 MH2, a resistor 68, and capacitors 70 and 71.

上記ナンド回路66の出力は、インバータ回路72を介
してFF回路74のクロック入力端ckに供給され、ま
たインバータ回路72.73を介してナンド回路75の
一端に供給される。
The output of the NAND circuit 66 is supplied to the clock input terminal ck of the FF circuit 74 via the inverter circuit 72, and also to one end of the NAND circuit 75 via the inverter circuits 72 and 73.

また、上記リセット制御回路22からのリセット信号は
FF回路76のセット入力端Sに供給され、このFF回
路76のクロック入力端ckには後述するオア回路84
の出力が供給されている。
Further, the reset signal from the reset control circuit 22 is supplied to the set input terminal S of the FF circuit 76, and the clock input terminal ck of this FF circuit 76 is supplied with an OR circuit 84, which will be described later.
output is supplied.

また、上記FF回路76のデータ入力端D1リセット入
力端Rには、上記CPtJ28からのクロック選択信号
が供給されている。上記FF回路76のセット出力はF
F回路77のデータ入力端りに供給され、このFF回路
77のクロック入力端ckには上記カレンダ回路33か
らの32゜763KH2の時計用のクロックが供給され
る。上記FF回路77のセット出力はナンド回路79の
一端に供給され、このナンド回路79の他端には上記カ
レンダ回路33からの32.763KH2の時計用のク
ロックがインバータ回路78を介して供給される。上記
ナンド回路7つの出力はナンド回路8oの一端に供給さ
れる。
Further, the data input terminal D1 and the reset input terminal R of the FF circuit 76 are supplied with a clock selection signal from the CPtJ28. The set output of the FF circuit 76 is F
The data input terminal of the F circuit 77 is supplied with the clock input terminal ck of the FF circuit 77, and the 32°763 KH2 clock from the calendar circuit 33 is supplied with the clock input terminal ck of the FF circuit 77. The set output of the FF circuit 77 is supplied to one end of a NAND circuit 79, and the clock of 32.763KH2 from the calendar circuit 33 is supplied to the other end of the NAND circuit 79 via an inverter circuit 78. . The outputs of the seven NAND circuits are supplied to one end of the NAND circuit 8o.

また、上記FF回路77のリセット出力は上記FF回路
74のデータ入力端りに供給され、このFF回路74の
セット出力はナンド回路75の他端に供給される。上記
FF回路74はクロック切換用となっている。
Further, the reset output of the FF circuit 77 is supplied to the data input end of the FF circuit 74, and the set output of this FF circuit 74 is supplied to the other end of the NAND circuit 75. The FF circuit 74 is used for clock switching.

上記ナンド回路75.79の出力がナンド回路80に供
給され、このナンド回路80の出力はFF回路81.8
3のクロック入力端ckに供給され、上記FF回路81
のデータ入力端には上記FF回路63のセット出力がイ
ンバータ回路82を介して供給される。
The outputs of the NAND circuits 75 and 79 are supplied to the NAND circuit 80, and the outputs of the NAND circuit 80 are fed to the FF circuits 81 and 81.
3 is supplied to the clock input terminal ck of the FF circuit 81.
The set output of the FF circuit 63 is supplied to the data input terminal of the FF circuit 63 via an inverter circuit 82.

上記FF回路81のセット出力、および上記FF回路8
3のリセット出力はオア回路84を介して上記FF回路
76のクロック入力Oi Ckに出力する。
The set output of the FF circuit 81 and the FF circuit 8
The reset output of No. 3 is outputted to the clock input Oi Ck of the FF circuit 76 via the OR circuit 84.

また、上記FF回路83のセット出力はナンド回路86
の一端に供給され、このナンド回路86の他端には上記
アンド回路80の出力がインバータ回路85を介して供
給される。上記ナンド回路86の出力は、クロック信号
として上記CPU28へ出力されるようになっている。
Further, the set output of the FF circuit 83 is provided by a NAND circuit 86.
The output of the AND circuit 80 is supplied to the other end of the NAND circuit 86 via an inverter circuit 85. The output of the NAND circuit 86 is output to the CPU 28 as a clock signal.

このような構成において動作を説明する。まず、停止状
態について説明する。すなわち、上記CPU28からク
ロック選択信号として“1゛が供給されている。これに
より、FF回路76.77がセットしている。これによ
り、時計用クロック(32,768KH2)はインバー
タ回路78、ナンド回路79.80を介して、FF回路
81.82、およびインバータ回路85に導かれている
The operation in such a configuration will be explained. First, the stopped state will be explained. That is, "1" is supplied as a clock selection signal from the CPU 28. As a result, the FF circuits 76 and 77 are set. As a result, the clock clock (32,768KH2) is sent to the inverter circuit 78 and the NAND circuit. It is led to FF circuits 81 and 82 and an inverter circuit 85 via circuits 79 and 80.

次に、停止状態からの再起動について説明する。Next, restarting from a stopped state will be explained.

すなわち、上記CPU28からキー人力割込み信号が供
給される。するとFF回路62.63.64がリセット
し、FF回路65がセットする。
That is, a key human interrupt signal is supplied from the CPU 28. Then, the FF circuits 62, 63, and 64 are reset, and the FF circuit 65 is set.

このFF回路65のセット出力により発振回路67をイ
ネーブル状態とする。これにより、発振回路67は発振
を再開する。
The set output of the FF circuit 65 enables the oscillation circuit 67. As a result, the oscillation circuit 67 resumes oscillation.

また、上記FF回路63のリセットにより、FF回路8
1のデータ入力端りには1“が供給されている。これに
より、上記ナンド回路80の出力により、FF回N81
.83がセットし、ナンド回路86のゲートを開く。し
たがって、インバータ回路85からの時計用クロックが
ナンド回路86を介してCPU28に出力されている。
Furthermore, by resetting the FF circuit 63, the FF circuit 8
1" is supplied to the data input end of 1. As a result, the output of the NAND circuit 80 causes the FF number N81
.. 83 is set and the gate of the NAND circuit 86 is opened. Therefore, the clock from the inverter circuit 85 is output to the CPU 28 via the NAND circuit 86.

このとき、発振回路67が安定発振するまで、通常50
0〜600m5ec必要となっている。
At this time, the oscillation circuit 67 normally oscillates for 50 seconds until it stably oscillates.
0 to 600m5ec is required.

これにより、CPU28は、キー人力割込み信号を出力
してから、500〜600m5ec後に、クロック選択
信号として“O“をFF回路76のデータ入力端りに供
給する。これにより、FF回路76.77がリセットし
、FF回路77のリセット出力つまり°゛1“信号がF
F回路74のデータ入力端りに供給される。
Thereby, the CPU 28 supplies "O" as a clock selection signal to the data input end of the FF circuit 76 500 to 600 m5ec after outputting the key human interrupt signal. As a result, the FF circuits 76 and 77 are reset, and the reset output of the FF circuit 77, that is, the °゛1'' signal is
It is supplied to the data input end of the F circuit 74.

またこのとき、発振回路67によるクロック(7M)1
2)がインバータ回路72を介してFF回路74のクロ
ック入力端に供給されている。
Also, at this time, the clock (7M) 1 generated by the oscillation circuit 67
2) is supplied to the clock input terminal of the FF circuit 74 via the inverter circuit 72.

したがって、FF回路74がセットし、このセット出力
によりナンド回路75のゲートが開く。
Therefore, the FF circuit 74 is set, and the set output opens the gate of the NAND circuit 75.

この結果、発振回路67によるクロック(IMH2)は
、インバータ回路72.73、ナンド回路75.80、
インバータ回路85、およびナンド回路86を順次介し
てCPU28に出力されている。
As a result, the clock (IMH2) generated by the oscillation circuit 67 is generated by the inverter circuit 72.73, the NAND circuit 75.80,
The signal is sequentially output to the CPU 28 via an inverter circuit 85 and a NAND circuit 86.

これにより、クロック選択信号をri Oitとするこ
とにより、FF回路74で同期がとられ、時計用クロッ
クから高速処理用クロックに切替わるようになっている
Thereby, by setting the clock selection signal to ri Oit, synchronization is achieved in the FF circuit 74, and the clock for clock is switched to the clock for high-speed processing.

次に、処理を終了し、停止状態(スタンバイ状!lりと
する場合について説明する。すなわち、クロック選択信
号を1“とすることにより、FF回路76.77がセッ
トし、FF回路77のセット出力つまり゛1゛信号がナ
ンド回路79に供給され、ナンド回路79のゲートが開
いている。したがって、時計用クロックは、インバータ
回路78、ナンド回路79.80、インバータ回路85
、およびナンド回路86を順次介してCPU28に出力
される。
Next, a case will be explained in which the processing is ended and the stopped state (standby state! The output, that is, the "1" signal is supplied to the NAND circuit 79, and the gate of the NAND circuit 79 is open.Therefore, the clock for the watch is supplied to the inverter circuit 78, the NAND circuit 79, 80, and the inverter circuit 85.
, and is sequentially output to the CPU 28 via the NAND circuit 86.

この結果、再び時計用クロックがCPJJ28に出力さ
れる。
As a result, the watch clock is outputted to the CPJJ28 again.

ついで、CPLJ28から停止信号がFF回路62のデ
ータ入力端りに供給される。すると、FF回路62がセ
ットし、このセット出力がFF回路63のデータ人力1
0に供給される。そして、CPU28からのマシンサイ
クル信号M1により、FF回路63がセットし、FF@
路81のデータ入力端りに“O゛信号供給される。これ
により、FF回路63のセット出力をFF回路81.8
3で2パルス分送らせた後、ナンド回路86のゲートを
閉じることにより、CPU28へのクロックの出力を停
止する。これにより、CPU28を停止状態としている
Then, a stop signal is supplied from the CPLJ 28 to the data input end of the FF circuit 62. Then, the FF circuit 62 is set, and this set output is the data input 1 of the FF circuit 63.
0. Then, the FF circuit 63 is set by the machine cycle signal M1 from the CPU 28, and the FF@
An "O" signal is supplied to the data input end of the FF circuit 81. As a result, the set output of the FF circuit 63 is connected to the FF circuit 81.8.
After sending two pulses in step 3, the gate of the NAND circuit 86 is closed to stop outputting the clock to the CPU 28. As a result, the CPU 28 is brought to a halted state.

また、上記FF回路63のセット出力はFF回路64.
65で2パルス分送らせた後、ナンド回路66のゲート
を閉じることにより、発振回路67による発振を停止し
ている。
Further, the set output of the FF circuit 63 is the FF circuit 64.
After sending two pulses at step 65, the gate of the NAND circuit 66 is closed to stop the oscillation by the oscillation circuit 67.

これにより、上記CPU28へのクロックの出力を停止
した後、発振回路67を停止している。
As a result, after stopping the output of the clock to the CPU 28, the oscillation circuit 67 is stopped.

このように、上記クロック制御回路26は、発振器27
による水晶の発振の立上がりをカバーするために、時計
用クロックとIMH2用クロツクロック果的に切換える
ようにしている。
In this way, the clock control circuit 26 operates as an oscillator 27.
In order to cover the rising edge of crystal oscillation caused by this, the clock for the watch and the clock for the IMH2 are effectively switched.

上記カレンダ回路33について、第7図を用いて詳細に
説明する。すなわち、32.768KH2の発振器34
の発振出力を分周することにより、1秒ごとの信号を出
力ma、bから出力する分周回路91、この分周回路9
1の出力端aからの信号を計数することにより、10秒
ごとに信号を出力するカウンタ92、このカウンタ92
からの信号を計数することにより、60秒つまり1分ご
とに信号を出力するカウンタ93、このカウンタ93か
らの信号を計数することにより、10分ごとに信号を出
力するカウンタ94、このカウンタ94からの信号を計
数することにより、60分つまり1時間ごとに信号を出
力するカウンタ95、このカウンタ95からの信号を計
数することにより、24時間つまり1日ごとに信号を出
力するカウンタ96、上記分周回路91の出力端bから
の信号を計数することにより、10秒ごとに信号を出力
するカウンタ97、このカウンタ97からの信号を計数
することにより、60秒つまり1分ごとに信号を出力す
るカウンタ98、このカウンタ98からの信号を計数す
ることにより、10分ごとに信号を出力するカウンタ9
9、このカウンタ99からの信号を計数することにより
、60分つまり1時間ごとに信号を出力するカウンタ1
00、このカウンタ100からの信号を計数することに
より、24時間つまり1日ごとに信号を出力するカウン
タ101から構成されている。
The calendar circuit 33 will be explained in detail using FIG. 7. That is, the oscillator 34 of 32.768 KH2
A frequency dividing circuit 91 outputs signals every second from outputs ma and b by dividing the oscillation output of the frequency dividing circuit 9.
A counter 92 that outputs a signal every 10 seconds by counting the signal from the output terminal a of 1;
A counter 93 that outputs a signal every 60 seconds, that is, every minute, by counting the signals from this counter 93, a counter 94 that outputs a signal every 10 minutes by counting the signals from this counter 93, and a counter 94 that outputs a signal every 10 minutes by counting the signals from this counter 93. A counter 95 that outputs a signal every 60 minutes, that is, every hour, by counting the signals from this counter 95, and a counter 96 that outputs a signal every 24 hours, that is, every day, by counting the signals from this counter 95. A counter 97 outputs a signal every 10 seconds by counting the signal from the output terminal b of the circuit 91, and a signal is output every 60 seconds, that is, every minute by counting the signal from this counter 97. Counter 98, which outputs a signal every 10 minutes by counting the signal from this counter 98.
9. A counter 1 that outputs a signal every 60 minutes, that is, every hour, by counting the signal from this counter 99.
00, and a counter 101 that outputs a signal every 24 hours, that is, every day by counting the signals from this counter 100.

ここに、上記カウンタ92〜96により秒、分、時を計
数する取引用の時計が構成され、上記カウンタ97〜1
01により秒、分、時を計数する表示用の時計が構成さ
れている。上記カウンタ97〜101の内容つまり計数
値は上記キーボード部12により変更できるようになっ
ており、上記カウンタ92〜96の内容つまり計数値は
上記キーボード部12により変更できないようになって
いる。
Here, the counters 92 to 96 constitute a transaction clock that counts seconds, minutes, and hours, and the counters 97 to 1 constitute a clock for counting seconds, minutes, and hours.
01 constitutes a display clock that counts seconds, minutes, and hours. The contents of the counters 97 to 101, that is, the counted values, can be changed using the keyboard section 12, while the contents of the counters 92 to 96, that is, the counted values cannot be changed using the keyboard section 12.

また、年月日および曜日は、24時間ごとのカウンタ9
6.101からの信号により、上記CPU28へ割込み
要求を出力する。これにより、CPU28はデータメモ
リ31を用いて対応するエリアの年月日および曜日を更
新する。また、2つの時計は、第8図に示すように、基
準となる1秒のクロックの位相をずらしているため、同
時に割込みが発生しないようになっている。
In addition, the year, month, day, and day of the week are displayed on the counter 9 every 24 hours.
6. An interrupt request is output to the CPU 28 by the signal from 101. Thereby, the CPU 28 uses the data memory 31 to update the year, month, day and day of the week of the corresponding area. Furthermore, as shown in FIG. 8, the two clocks have a one-second reference clock phase shifted from each other, so that interrupts do not occur at the same time.

上記磁気発生部材制御回路40について、第9図を用い
て詳細に説明する。すなわち、上記CPU28からデー
タバス20を介して供給されるコマンドデータはコマン
ド用のFF回路110に供給される。このFF回路11
0は4つのFF回路からなり、データバス20から供給
されるコマンドデータに応じて、出力端110aから第
1トラツクに対する駆動レートに対応したクロック選択
信号、出力端110bからスタート信号、あるいは出力
端110cから第2トラツクに対する駆動レートに対応
したクロック選択信号、出力端110dからスタート信
号を出力するものである。
The magnetism generating member control circuit 40 will be explained in detail using FIG. 9. That is, command data supplied from the CPU 28 via the data bus 20 is supplied to the command FF circuit 110. This FF circuit 11
0 consists of four FF circuits, and depending on the command data supplied from the data bus 20, a clock selection signal corresponding to the drive rate for the first track is output from the output terminal 110a, a start signal is output from the output terminal 110b, or a start signal is output from the output terminal 110c. A clock selection signal corresponding to the drive rate for the second track is output from the output terminal 110d, and a start signal is output from the output terminal 110d.

上記FF回路110のクロック入力端cpには、上記C
PU28からのコマンドライトスタート信号が供給され
ている。上記駆動レートに対応したクロック選択信号は
、端末機の種類が手動式読取りか自動式読取りかを示す
ものである。
The clock input terminal cp of the FF circuit 110 has the above C
A command write start signal from the PU 28 is supplied. The clock selection signal corresponding to the drive rate indicates whether the terminal type is manual reading or automatic reading.

上記FF回路110の出力端110aから出力されるク
ロック選択信号は、選択回路111の入力端Sに供給さ
れる。この選択回路111の入力端Aには図示しない発
振器から周波数が8KH2の信号が供給され、入力端B
には図示しない発振器から周波数が4KH2の信号が供
給されている。
The clock selection signal output from the output terminal 110a of the FF circuit 110 is supplied to the input terminal S of the selection circuit 111. A signal with a frequency of 8KH2 is supplied from an oscillator (not shown) to the input terminal A of this selection circuit 111, and the input terminal B
A signal with a frequency of 4KH2 is supplied from an oscillator (not shown).

上記選択回路111は、上記FF回路110からのクロ
ック選択信号に応じて、端末機の種類が手動式読取りの
場合、入力mAの信号を選択し、出力端Yから出力し、
端末機の種類が自動式読取りの場合、入力端Bの信号を
選択し、出力端Yから出力するようになっている。
The selection circuit 111 selects the input mA signal according to the clock selection signal from the FF circuit 110 when the terminal type is a manual reading type, and outputs it from the output terminal Y.
If the type of terminal is automatic reading, the signal at input terminal B is selected and output from output terminal Y.

上記FF回路110の出力@110bから出力されるス
タート信号、および上記選択回路111の出力は、タイ
ミング回路112に供給される。
The start signal output from the output @110b of the FF circuit 110 and the output of the selection circuit 111 are supplied to a timing circuit 112.

このタイミング回路112は、7進クロツクを発生し、
パラレル/シリアル変換回路115のクロック入力端c
pに供給d、最初のクロックをロード信号としてパラレ
ル/シリアル変換回路115のロード入力端りに供給す
る。また、上記タイミング回路112は、データ゛0パ
用クロック、データ゛1“用クロックを選択回路116
に供給している。
This timing circuit 112 generates a hexadecimal clock,
Clock input terminal c of parallel/serial conversion circuit 115
The first clock is supplied to the load input terminal of the parallel/serial conversion circuit 115 as a load signal. Further, the timing circuit 112 selects a clock for data ``0'' and a clock for data ``1'' by a selection circuit 116.
is supplied to.

また、上記CPU28からデータバス20を介して供給
される磁気データ(選択したカードの種類によって小と
なっている)はデータラッチ回路113に供給され、こ
のデータラッチ回路113には、CPU28からデータ
ライトスタート信号が供給されている。上記データラッ
チ回路113は、CPU28からデータライトスタート
信号が供給された際、上記データバス20から供給され
る7ビツトずつの磁気データをラッチするものである。
Further, the magnetic data (the size is small depending on the type of card selected) supplied from the CPU 28 via the data bus 20 is supplied to the data latch circuit 113. Start signal is supplied. The data latch circuit 113 latches 7 bits of magnetic data supplied from the data bus 20 when a data write start signal is supplied from the CPU 28.

上記データラッチ回路113にラッチされたデータは7
ビツト用のパラレル/シリアル変換回路115のデータ
入力端fNに供給される。上記パラレル/シリアル変換
回路115は、供給されるロード信号により、上記デー
タラッチ回路113からのデータをロードし、このロー
ドされたデータを順にシフトし、1ビツトずつの信号(
+i 1 i+倍信号るいは゛0゛信号)に変換して出
力するようになっている。
The data latched in the data latch circuit 113 is 7
It is supplied to the data input terminal fN of the parallel/serial conversion circuit 115 for bits. The parallel/serial conversion circuit 115 loads the data from the data latch circuit 113 in response to the supplied load signal, shifts the loaded data in order, and converts the data into 1-bit signals (
+i 1 i+ times signal or '0' signal) and output.

上記パラレル/シリアル変換回路115の出力は、選択
回路116の入力端Sに供給される。この選択回路11
6は、入力端Sに゛1パ信号が供給された場合、上記タ
イミング回路112から供給されるデータ″゛1゛用ク
ロックを選択して出力し、入力端Sに゛O゛信号が供給
された場合、上記タイミング回路112から供給される
データ゛″Cj it用シクロツク選択して出力するよ
うになっている。上記選択回路116の出力はJ−KF
F回路117に供給され、このJ−KFF回路117の
セット出力、リセット出力はドライバ118に供給され
るようになっている。
The output of the parallel/serial conversion circuit 115 is supplied to the input terminal S of the selection circuit 116. This selection circuit 11
6 selects and outputs the clock for data "1" supplied from the timing circuit 112 when the "1P signal" is supplied to the input terminal S, and the "O" signal is supplied to the input terminal S. In this case, the data "" Cj it clock supplied from the timing circuit 112 is selected and output. The output of the selection circuit 116 is J-KF
The set output and reset output of this J-KFF circuit 117 are supplied to a driver 118.

このドライバ118は、上記FF回路117 hSらの
信号に応じて磁気発生部材41aを駆動することにより
、磁界を発生しているものである。たとえば、上記FF
回路117がセットされている場合、矢印Cに示すよう
な磁界を発生し、リセットされている場合、矢印dに示
すような磁界を発生するようになっている。
This driver 118 generates a magnetic field by driving the magnetism generating member 41a according to signals from the FF circuit 117hS and others. For example, the above FF
When the circuit 117 is set, it generates a magnetic field as shown by arrow C, and when it is reset, it generates a magnetic field as shown by arrow d.

なお、上記磁気発生部材制御回路40における、要部の
タイミングチャートは第10図に示すようになっている
Incidentally, a timing chart of the main parts of the magnetism generating member control circuit 40 is as shown in FIG.

上記選択回路116において、第11図に示すように、
データ“1′′と“O゛に対して、クロックのサイクル
が、1:2の比率となっている。このクロックでJ−K
FF回路117を反転モードで動かすことにより、磁気
データとして必要なフォーマットの“1゛、ll O1
4信号が得られ、磁気発生部材41aを駆動するように
なっている。
In the selection circuit 116, as shown in FIG.
The clock cycle ratio for data "1" and "O" is 1:2. J-K with this clock
By operating the FF circuit 117 in the inversion mode, "1", ll O1 of the format required as magnetic data is generated.
Four signals are obtained to drive the magnetism generating member 41a.

また、上記CPU28からのデータライトスタート信号
はインバートされて空検知用のFF回路114のセット
入力端に供給され、このFF回路114のリセット入力
端には、上記タイミング回路112からの最初のクロッ
クがインバートされて供給されている。これにより、上
記データラッチ回路113のデータが115にロードさ
れた場合、FF回路114がセットし、このFF回路1
14のセット出力つまりバッファエンプティ信号が上記
CPU28に供給される。
Further, the data write start signal from the CPU 28 is inverted and supplied to the set input terminal of the empty detection FF circuit 114, and the reset input terminal of this FF circuit 114 receives the first clock from the timing circuit 112. It is supplied inverted. As a result, when the data of the data latch circuit 113 is loaded into the data latch circuit 115, the FF circuit 114 is set and the FF circuit 1
14 set outputs, ie, buffer empty signals, are supplied to the CPU 28.

これにより、上記CPU28は、次のデータセット可能
状態であると判断し、次のデーターをデータラッチ回路
113に出力する。このように、CPU28は空検知用
FF回路114の出力をセンスしながら、データを順に
セットし、すべてのデータを出力した後、コマンドライ
トスタート信号、データライトスタート信号をオフにす
るようになっている。これにより、タイミング回路11
2による信号の発生が停止し、動作終了となる。
As a result, the CPU 28 determines that the next data can be set, and outputs the next data to the data latch circuit 113. In this way, the CPU 28 sets data in order while sensing the output of the empty detection FF circuit 114, and after outputting all the data, turns off the command write start signal and data write start signal. There is. As a result, the timing circuit 11
2 stops generating the signal, and the operation ends.

なお、上記各回路111〜118は、第1トラツク用の
回路であり、第2トラツク用のの回路も上記同様に選択
回路119、タイミング回路1201データラツチ回路
121、空検知用FF回路122、パラレル/シリアル
変換回路123、選択回路124、J−KFF回路12
5、およびドライバ126によって構成されている。但
し、タイミング回路120が5准で動作する箇所が異な
っている。
The circuits 111 to 118 are for the first track, and the circuits for the second track also include a selection circuit 119, a timing circuit 1201, a data latch circuit 121, an empty detection FF circuit 122, and a parallel/ Serial conversion circuit 123, selection circuit 124, J-KFF circuit 12
5, and a driver 126. However, the portions where the timing circuit 120 operates in the 5 series are different.

上記したように、磁気発生部材制御回路40は、上記デ
ータメモリ31から選択的に読出された所定のクレジッ
トカード、あるいはキャッシュカードの磁気データに応
じて磁界を発生することにより、読取装置側の磁気ヘッ
ド(図示しない)には、従来の磁気ストライブを読取っ
た場合と同じ信号が供給されるようになっている。
As described above, the magnetism generating member control circuit 40 generates a magnetic field in accordance with the magnetic data of a predetermined credit card or cash card selectively read out from the data memory 31, thereby generating a magnetic field on the reading device side. A head (not shown) is provided with the same signals as when reading a conventional magnetic stripe.

次に、このような構成において動作を説明する。Next, the operation in such a configuration will be explained.

まず、カード単体で用いるオフライン機能について説明
する。すなわち、モードキー128つまりM1キーによ
り、電卓モードを指定した場合、テンキー12bと四則
演算キー12cとによる電卓として使用することができ
る。
First, we will explain the offline function used by the card alone. That is, when the calculator mode is designated using the mode key 128, that is, the M1 key, the calculator can be used as a calculator using the numeric keypad 12b and the four arithmetic operation keys 12c.

また、モードキー128つまりM 2キーの投入により
、時刻表示モードを指定した場合、CPU28は上記カ
レンダ回路33内のカウンタ97、〜101から表示用
時計に対する秒、分、時を読出し、またデータメモリ3
1から表示用時計に対する年月日および曜日を読出し、
指定されたフォーマットに変換し、表示部制御回路35
に出力する。これにより、表示部制卸回路35は、内部
のキャラクタジェネレータ(図示しない)を用いて文字
パターンに変換し、表示部ドライバ36を用いて表示部
13で表示する。
When the time display mode is specified by pressing the mode key 128, that is, the M2 key, the CPU 28 reads the seconds, minutes, and hours for the display clock from the counters 97, 101 in the calendar circuit 33, and also reads the seconds, minutes, and hours from the data memory. 3
Read the year, month, day and day of the week for the display clock from 1,
Convert it to the specified format and display it in the display control circuit 35.
Output to. Thereby, the display unit control circuit 35 uses an internal character generator (not shown) to convert it into a character pattern, and displays it on the display unit 13 using the display unit driver 36.

また、モードキー12aつまりM3キーにより、電子幅
モードを指定した場合、CPU28はデータメモリ31
に記憶されている住所、氏名、電話番号等を読出し、上
記表示部13で表示する。また、上記住所、氏名等を電
子幅に登録する場合、たとえばテンキー12bを用いて
行っている。すなわち、rAJは「1.1」、rBJは
「1.2」、rCJは「1.3」、rDJは「2.1」
、・・・を投入することにより、指定できるようになっ
ている。
Furthermore, when the electronic width mode is specified using the mode key 12a, that is, the M3 key, the CPU 28 uses the data memory 31
The address, name, telephone number, etc. stored in the computer are read out and displayed on the display section 13. Further, when registering the above-mentioned address, name, etc. in the electronic space, the user uses, for example, the numeric keypad 12b. That is, rAJ is "1.1", rBJ is "1.2", rCJ is "1.3", and rDJ is "2.1".
,... can be specified by entering.

また、モードキー12aつまりM4キーにより、買物モ
ードを指定した場合、続けてテンキー12bにより契約
クレジットカード、あるいはキャッシュカードの種類、
および出力端末の種類つまり読取りが手動式か自動式か
を選択する。すると、CPU28は、データメモリ31
より上記選択されたクレジットカード、あるいはキャッ
シュカードに対応するデータ(72キヤラクタ)を読出
し、磁気発生部材制御回路4oに出力する。また、CP
U28は、上記手動式か自動式かの選択に対応した駆動
レートを磁気発生部材制御回路40に出力する。さらに
、CPU28はコマンドデータ、コマンドライトスター
ト信号、データライトスタート信号を磁気発生部材制御
回路40に出力する。
When the shopping mode is specified using the mode key 12a, that is, the M4 key, the type of contracted credit card or cash card is selected using the numeric keypad 12b.
and the type of output terminal, that is, whether the reading is manual or automatic. Then, the CPU 28 reads the data memory 31
The data (72 characters) corresponding to the selected credit card or cash card are read out and output to the magnetism generating member control circuit 4o. Also, C.P.
U28 outputs a drive rate corresponding to the selection of manual type or automatic type to the magnetism generating member control circuit 40. Further, the CPU 28 outputs command data, a command write start signal, and a data write start signal to the magnetism generating member control circuit 40.

これにより、磁気発生部材制御回路40は、上記クレジ
ットの磁気データに応じた磁界を磁気発生部材41aか
ら発生することにより、読取装置側の磁気ヘッド(図示
しない)に、従来の磁気ストライブを読取った場合と同
じ信号が供給される。
As a result, the magnetism generating member control circuit 40 causes the magnetic head (not shown) on the reading device side to read the conventional magnetic stripe by generating a magnetic field from the magnetism generating member 41a according to the magnetic data of the credit. The same signal is provided as if the

この結果、買物モードでは、従来のクレジットカードと
して使用できるようになっている。
As a result, in shopping mode, it can be used as a conventional credit card.

次に、ICカード10を端末機16に挿入することによ
り用いるオンライン機能について説明する。すなわち、
ICカード10を端末機16の挿入口17に挿入する。
Next, the online function used by inserting the IC card 10 into the terminal 16 will be explained. That is,
Insert the IC card 10 into the insertion slot 17 of the terminal 16.

すると、ICカード10が受入れられ、端末機16内部
の接続部とICカード10のコンタクト部11が接続さ
れる。これにより、コンタクト部11を介して外部から
の電源電圧が供給されると、電源制御回路23は上述し
たように、内部バッテリ25による駆動から外部からの
電源電圧の駆動に切換える。また、リセット制御回路2
2はリセット信号を発生し、CPU28を起動する。こ
の起動の後、CPU28はオンラインで動作しているこ
とを確認した場合、プログラムROM29の内容にした
がってオンライン処理を行う。このオンライン処理とし
ては、端末機16とICカード1oとの間でデータ更新
を行なうことにより、データの交換を行ったり、ICカ
ード10内に新しいデータを書込むようになっている。
Then, the IC card 10 is accepted, and the connection section inside the terminal 16 and the contact section 11 of the IC card 10 are connected. Accordingly, when an external power supply voltage is supplied via the contact portion 11, the power supply control circuit 23 switches from driving by the internal battery 25 to driving by the external power supply voltage, as described above. In addition, the reset control circuit 2
2 generates a reset signal and starts the CPU 28. After this activation, if the CPU 28 confirms that it is operating online, it performs online processing according to the contents of the program ROM 29. This online processing involves exchanging data and writing new data into the IC card 10 by updating data between the terminal device 16 and the IC card 1o.

上記したように、演尊機能用の発振子とは別に精度の高
い発振子を計時機能用に追加するようにしたものである
。これにより、精度の高い計時様能を持たせることがで
き、しかも消費電力の低減を図ることができ、バッテリ
の寿命を伸ばすことができるものとなる。
As described above, a highly accurate oscillator is added for the timekeeping function in addition to the oscillator for the performance function. This makes it possible to provide a highly accurate timekeeping function, reduce power consumption, and extend the life of the battery.

なお、前記実施例では、ICカードを用いたが、これに
限らず、データメモリと制御素子とを有し、選択的に外
部から入出力を行うものであれば良く、形状もカード状
でなく、棒状など他の形状であっても良い。
In the above embodiment, an IC card is used, but the IC card is not limited to this, as long as it has a data memory and a control element, and selectively performs input/output from the outside, and the shape is not card-like. , or other shapes such as a rod shape.

[発明の効果] 以上詳述したようにこの発明によれば、精度の高い計時
機能を持たせることができ、しかも消費電力の低減を図
ることができる携帯可能媒体を提供できる。
[Effects of the Invention] As described in detail above, according to the present invention, it is possible to provide a portable medium that can have a highly accurate timekeeping function and can reduce power consumption.

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

図面はこの発明の一実施例を説明するためのもので、第
1図はICカードの電気回路の慨略構成を示す図、第2
図はICカードの構成を示す平面図、第3図はICカー
ドを取扱う端末機を示す図、第4図は電源制御回路の構
成例を示す図、第5図は第4図における要部の動作を説
明するためのタイミングチャート、M6図はクロック制
ηU回路の構成を示す図、第7図はカレンダ回路の概略
構成ブロック図、第8図は分周回路からの信号の出力タ
イミングを示す図、第9図は磁気発生部材制御回路の構
成例を示す図、第10図および第11図は第9図におけ
る要部の動作を説明するためのタイミングチャートであ
る。 10・・・ICカード(携帯可能媒体)、11・・・コ
ンタクト部、12・・・キーボード部、13・・・表示
部、14・・・磁気発生部材、16・・・端末機、21
・・・通信制御回路、23・・・電源制御回路、25・
・・内部バッテリ、26・・・クロック制御回路、27
・・・発振器(第2のクロック発生手段)、28・・・
CPU (制御素子)、31・・・データメモリ、33
・・・カレンダ回路、34・・・発振器(第1のクロッ
ク発生手段)、38・・・キーボードインターフェース
、40・・・磁気発生部材制御回路、67・・・発振回
路。 出願人代理人 弁理士 鈴江武彦 第2図 第3図 第4図
The drawings are for explaining one embodiment of the present invention, and FIG. 1 is a diagram showing a schematic configuration of an electric circuit of an IC card, and FIG.
Figure 3 is a plan view showing the configuration of an IC card, Figure 3 is a diagram showing a terminal that handles IC cards, Figure 4 is a diagram showing an example of the configuration of a power supply control circuit, and Figure 5 shows the main parts of Figure 4. A timing chart for explaining the operation, Figure M6 is a diagram showing the configuration of the clock control ηU circuit, Figure 7 is a schematic block diagram of the calendar circuit, and Figure 8 is a diagram showing the output timing of the signal from the frequency dividing circuit. , FIG. 9 is a diagram showing an example of the structure of the magnetism generating member control circuit, and FIGS. 10 and 11 are timing charts for explaining the operation of the main parts in FIG. 9. DESCRIPTION OF SYMBOLS 10... IC card (portable medium), 11... Contact part, 12... Keyboard part, 13... Display part, 14... Magnetism generating member, 16... Terminal, 21
...Communication control circuit, 23...Power supply control circuit, 25.
・Internal battery, 26 ・Clock control circuit, 27
...Oscillator (second clock generation means), 28...
CPU (control element), 31... data memory, 33
... Calendar circuit, 34 ... Oscillator (first clock generation means), 38 ... Keyboard interface, 40 ... Magnetism generating member control circuit, 67 ... Oscillation circuit. Applicant's representative Patent attorney Takehiko Suzue Figure 2 Figure 3 Figure 4

Claims (3)

【特許請求の範囲】[Claims] (1)内部に設けられた電源により動作を行う携帯可能
媒体において、 第1のクロック発生手段によるクロックを計数すること
により計時処理を行う時計手段と、第2のクロック発生
手段により動作され所定の演算処理等を行う演算手段と を同一媒体内に具備したことを特徴とする携帯可能媒体
(1) In a portable medium that is operated by an internal power source, there is a clock means that performs timekeeping processing by counting the clock generated by the first clock generation means, and a clock means that is operated by the second clock generation means and performs a predetermined time measurement. 1. A portable medium comprising a calculation means for performing calculation processing etc. in the same medium.
(2)第1のクロック発生手段は、第2のクロック発生
手段よりも低周波のクロックを発生することを特徴とす
る特許請求の範囲第1項記載の携帯可能媒体。
(2) The portable medium according to claim 1, wherein the first clock generating means generates a clock having a lower frequency than the second clock generating means.
(3)第1、第2のクロック発生手段が、発振子である
ことを特徴とする特許請求の範囲第1項記載の携帯可能
媒体。
(3) The portable medium according to claim 1, wherein the first and second clock generation means are oscillators.
JP61279940A 1986-11-25 1986-11-25 Portable medium Pending JPS6359648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61279940A JPS6359648A (en) 1986-11-25 1986-11-25 Portable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61279940A JPS6359648A (en) 1986-11-25 1986-11-25 Portable medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61203357A Division JPS6359596A (en) 1986-08-29 1986-08-29 Portable medium

Publications (1)

Publication Number Publication Date
JPS6359648A true JPS6359648A (en) 1988-03-15

Family

ID=17618034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61279940A Pending JPS6359648A (en) 1986-11-25 1986-11-25 Portable medium

Country Status (1)

Country Link
JP (1) JPS6359648A (en)

Similar Documents

Publication Publication Date Title
US4766294A (en) Portable medium
US4814591A (en) Portable medium
US4924075A (en) Smart IC card
EP0402759B1 (en) Portable electronic device having versatile program storage
JP2723296B2 (en) Portable media
JPS63157253A (en) Portable medium
JP2597553B2 (en) IC card
KR910005360B1 (en) Electronic device with calendar function
JPS6359648A (en) Portable medium
JPS6358520A (en) Portable medium
JPS6358524A (en) Portable medium
JP2791105B2 (en) Portable storage media
JPS63262783A (en) Portable medium
JPS63255787A (en) Portable medium
JPS63262780A (en) Portable medium
JPS6359596A (en) Portable medium
JPS63255788A (en) Portable medium
JPS6362086A (en) Portable medium
JPS63255786A (en) Portable medium
JPS6362087A (en) Portable medium
JPS63255785A (en) Portable medium
JPS63255784A (en) Portable medium
JPH036718A (en) Portable medium
JPS6358547A (en) Portable medium
JPH01126787A (en) Portable medium