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

JPS6358524A - Portable medium - Google Patents

Portable medium

Info

Publication number
JPS6358524A
JPS6358524A JP61203360A JP20336086A JPS6358524A JP S6358524 A JPS6358524 A JP S6358524A JP 61203360 A JP61203360 A JP 61203360A JP 20336086 A JP20336086 A JP 20336086A JP S6358524 A JPS6358524 A JP S6358524A
Authority
JP
Japan
Prior art keywords
circuit
clock
supplied
cpu
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61203360A
Other languages
Japanese (ja)
Other versions
JPH0746294B2 (en
Inventor
Kiyoyoshi Nara
精悦 奈良
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 JP61203360A priority Critical patent/JPH0746294B2/en
Priority to EP87112488A priority patent/EP0257648B1/en
Priority to DE8787112488T priority patent/DE3780381T2/en
Priority to US07/089,998 priority patent/US4766294A/en
Priority to KR1019870009562A priority patent/KR910001263B1/en
Publication of JPS6358524A publication Critical patent/JPS6358524A/en
Publication of JPH0746294B2 publication Critical patent/JPH0746294B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Power Sources (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To perform the control actions with small power consumption without increasing the number of keys by using a control means which controls the use of a low frequency clock for the action of a control element as well as a high frequency clock. CONSTITUTION:When a key input interruption signal is supplied from a CPU incorporating a portable medium like an IC card, etc., via an OR circuit 61, the FF 62-64 of a clock control circuit 26 incorporated to the IC card are reset with an FF 56 set respectively. Then a high frequency clock oscillation circuit 67 is set under an enable state. At the same time, a NAND gate 86 is opened via an FF 63, an inverter 82, an FF 81, an FF 83, etc., and a low frequency timepiece clock is supplied to the CPU. Then the clock supplied to the CPU is switched to a high frequency clock by the clock selection signal delivered from the CPU after a period of time during which the circuit 67 has a stable action. In the same way, said clock is changed into a timepiece clock in a stand-by state after the processing is finished by the CPU. Thus the clocks are switched via the CPU without operating keys in response to each state. Then it is possible to perform the control actions with small power consumption and with no increase of the number of keys.

Description

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

(従来の技術) 従来、データを書込むメモリカードとしてICカードが
開発され、実用化されている。このICカードにおいて
、セントラル・プロセッシング・ユニット(CPU)の
駆動クロックは、1種類の発振器で駆動している。これ
らのカードは、CPUのクロックを常時発振しているも
のもあるが、内部バッテリの消費電流を考えて、発振回
路を停止しているのがはとlνどである。
(Prior Art) Conventionally, IC cards have been developed and put into practical use as memory cards for writing data. In this IC card, the driving clock of the central processing unit (CPU) is driven by one type of oscillator. Some of these cards constantly oscillate the CPU clock, but most of them stop the oscillation circuit in consideration of the current consumption of the internal battery.

また、一端停止した発振回路を再起動する場合、カード
のキーボード上に特別の電源オンスイッチ、または相当
のキーを設け、−旦オンするとタイムオーバあるいはオ
フキーを押すまで、発振回路は動作中である。
In addition, when restarting an oscillation circuit that has stopped for a while, a special power on switch or equivalent key is provided on the card's keyboard. .

ところが、上記のようなものでは、キーの数が増加する
という欠点があった。また、消費電流も完全に軽減した
ものとはなっていない。
However, the above-mentioned device has the disadvantage that the number of keys increases. Furthermore, current consumption has not been completely reduced.

(発明が解決しようとする問題点) 上記のように完全に省消費動作ではなく、発振回路の立
上がり速度をカバーするために、特別なキーが必要であ
るという欠点を除去するもので、特別なキーを設けずに
、動作中の待ち時間を発振回路を停止して完全なる省消
費で動作させることができる携帯可能媒体を提供するこ
とにある。
(Problem to be solved by the invention) As mentioned above, this is not a completely consumption-saving operation, but it eliminates the drawback that a special key is required to cover the rise speed of the oscillation circuit. To provide a portable medium which can be operated with complete consumption saving by stopping an oscillation circuit during waiting time during operation without providing a key.

[発明の構成] (問題点を解決するための手段) この発明の携帯可能媒体は、制御素子を有し、内部に設
けられたN源により動作を行うものにおいて、低周波の
クロックを常時発生する第1のクロック発生手段、高周
波のクロックを発生する第2のクロック発生手段、およ
び上記制御素子の起動時、上記第1のクロック発生手段
からの低周波のクロックを用いて制御素子の動作を行な
うとともに、上記第2のクロック発生手段によるクロッ
クの発生を開始し、所定時間経過後、上記第2のクロッ
ク発生手段から発生される安定した高周波のクロックを
用いて制御素子の動作を行なう制御手段から構成される
ものである。
[Structure of the Invention] (Means for Solving the Problems) The portable medium of the present invention has a control element and is operated by an internally provided N source, and constantly generates a low-frequency clock. a first clock generation means for generating a high-frequency clock; a second clock generation means for generating a high-frequency clock; and when the control element is activated, the low-frequency clock from the first clock generation means is used to control the operation of the control element. At the same time, the second clock generating means starts generating a clock, and after a predetermined time has elapsed, the control means operates the control element using the stable high frequency clock generated from the second clock generating means. It consists of:

(作用) この発明は、制御素子を停止状態から解除し、動作を再
開する場合、第2のクロック発生手段による高周波のク
ロックの発振を開始し、この発振によりクロックが安定
するまで、第1のクロック発生手段による時計用の低周
波のクロックで制御素子を動作させ、上記第2のクロッ
ク発生手段のクロックが安定したら、クロックを切換え
、処理を紐付し、また再度キー入力持ちなどのときは、
即発撮を停止し、上記第2のクロック発生手段を停止状
態とするようにしたものである。
(Operation) When the control element is released from a stopped state and restarts operation, the second clock generation means starts oscillating a high-frequency clock, and the first clock continues to oscillate until the clock is stabilized by this oscillation. The control element is operated by the low frequency clock for the clock by the clock generation means, and when the clock of the second clock generation means is stabilized, the clock is switched, the processing is linked, and when the key input is held again, etc.
Immediate shooting is stopped and the second clock generating means is brought into a stopped state.

(実論例) 以下、この発明の一実施例について、図面を参照して説
明する。
(Example of Practical Theory) Hereinafter, an embodiment 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 state in which only the clock is counted.

上記オフライン機能としては、電卓として使用できる電
卓モード、利用者により用いられている時計による時刻
を表示する時刻表示モード、住所、氏名、電話番号等を
登録したり、読出したりする電子帳モード、あるいはt
Cカード10をクレジットカードとして利用する買物モ
ードなどとなっている。
The above 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 used by the user, an electronic notebook mode that allows you to register and read out addresses, names, phone numbers, etc. t
The mode includes a shopping mode in which the C card 10 is used as a credit card.

上記ICカード1oの表面にはカードの規格にありた位
置に配置されたコンタクト部11.2゜キーからなるキ
ーボード部12、このキーボード部12の上面に配置さ
れ、液晶表示素子で形成される表示部13、および磁気
発生部材14が設けられている。
On the surface of the IC card 1o, there is a keyboard section 12 consisting of contact sections 11.2° keys arranged at positions according to the card specifications, and a display formed of a liquid crystal display element arranged on the top surface of this keyboard section 12. 13 and a magnetism generating member 14 are provided.

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

上記キーボード部12は処理モードを指定するモードキ
ー(Ml、M2、M3、M4)12a、テンキー12b
1および4則演算キー(ファンクションキー)12Cに
よって構成されている。
The keyboard section 12 includes mode keys (Ml, M2, M3, M4) 12a for specifying processing modes, and a numeric keypad 12b.
1 and 4 arithmetic operation keys (function keys) 12C.

上記モードキー12aは、オフライン時、つまりICカ
ード10のみで処理を行う時、電卓モード(Ml)、時
刻表示モード(M2)、電子通帳モード(M3)、ある
いは買物モード(〜14)に対する動作を選択するよう
になっている。
The mode key 12a controls operations for calculator mode (Ml), time display mode (M2), electronic passbook mode (M3), or shopping mode (~14) when offline, that is, when processing is performed only with the IC card 10. You get to choose.

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

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

第3図はICカード10を扱う端末機たとえばパーソナ
ルコンピュータ等に用いられるICカード読取書込部1
6の外観を示すものである。すなわち、カード挿入口1
7から挿入されたICカード10におけるコンタクト部
11と接続することにより、ICカード10におけるメ
モリのデータを読取ったり、あるいはメモリ内にデータ
を書込むものである。・ 上記ICカード読取棗込部16は、パーソナルコンピュ
ータの本体く図示しない)とケーブルによって接続され
るようになっている。
FIG. 3 shows an IC card reading/writing unit 1 used in a terminal device such as a personal computer that handles an IC 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. - The IC card reading unit 16 is connected to the main body of a personal computer (not shown) via a cable.

また、上記ICカード1oの電気回路は、第4図に示す
ように構成されている。すなわち、上記コンタクト部1
1、通信制御回路21、リセット制御回路22、電源制
御回路23、たとえば3ボルトの内部バッテリ(1!源
)25、この内部バッテリ25の電圧値が規定以上であ
るか否かをチェックするバッテリチェック回路24、ク
ロック制御回路26.1MH2の発振周波数の信号を出
力する発振器27、制御用のCPU (セントラル・プ
ロセッシング・ユニット)28、υItilプログラム
が記録されているプログラムROM29、プログラムワ
ーキング用メモリ30、暗証番号(たとえば4桁)、お
よびデータなどが記録され、PROMで構成されるデー
タメモリ31、処理動作中の計時用に用いるタイマ32
、カレンダ回路33、常時、32.768KH2(7)
RmJIH(低周波)の信号を出力している発振器(第
1のクロック発生回路)34、表示部制御回路35、上
記表示部13を駆動する表示部ドライバ36、上記キー
ボード部12のキー入力回路としてのキーボードインタ
ーフェイス3日、および上記磁気発生部材14を制御す
る磁気発生部材制御回路40によって構成されている。
Further, the electric circuit of the IC card 1o 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, 3 volt internal battery (1! source) 25, battery check to check whether the voltage value of this internal battery 25 is higher than the specified value. A circuit 24, a clock control circuit 26. An oscillator 27 that outputs a signal with an oscillation frequency of 1MH2, a control CPU (central processing unit) 28, a program ROM 29 in which the υItil program is recorded, a program working memory 30, and a password. A data memory 31 consisting of a PROM in which numbers (for example, 4 digits) and data are recorded, and a timer 32 used for timing during processing operations.
, calendar circuit 33, always, 32.768KH2 (7)
An oscillator (first clock generation circuit) 34 that outputs an RmJIH (low frequency) signal, a display control circuit 35, a display driver 36 that drives the display 13, and a key input circuit for the keyboard 12. 3, and a magnetism generating member control circuit 40 that controls the magnetism generating member 14.

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

上記通信制御回路21は、受信時つまり上記端末様16
からコンタクト部11を介して供給されたシリアルの入
出力信号を、パラレルのデータに変換してデータバス2
0に出力し、送信時つまり一デ ータパス2oから供給されたパラレルのデータを。
The communication control circuit 21 controls the terminal 16 at the time of reception.
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 when transmitting, that is, parallel data supplied from one data path 2o.

シリアルの入出力信号に変換してコンタクト部11を介
して端末116に出力するようになっている。この場合
、その変換のフォーマット内容は、上記端末F316と
、ICカード10とで定められている。
The signal is converted into a serial input/output signal and output to the terminal 116 via the contact section 11. In this case, the format contents of the conversion are determined by the terminal F316 and the IC card 10.

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

上記N源制御回路23は、オンラインとなった際、所定
時間経過後に、内部バッテリ25による駆動から外部電
源駆動に切換え、オフラインとなった際、つまり外部電
圧が低下した際、外部電源による駆動から内部バッテリ
25による駆動に切換えるものである。
When the N source control circuit 23 goes online, it switches from being driven by the internal battery 25 to being driven by an external power source 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 driving by the external power source. This is to switch to driving by the internal battery 25.

上記クロック制御回路26は、内部バッテリ25でカー
ド動作を行うオフラインモードにおいて、スタンバイ時
、つまりキー入力待1時、後述する1MH2の発掘周波
数(高周波)の信号を出力する発振回路(第2のクロッ
ク発生回路)67を停止し、またCPU28へのクロッ
クの供給も停止し、完全なる停止状態で待1するもので
ある。
The clock control circuit 26 is an oscillation circuit (second clock) that outputs a signal at a 1MH2 excavation frequency (high frequency), which will be described later, during standby, that is, when waiting for a key input, in an offline mode in which the card operates with the internal battery 25. The generation circuit 67 is stopped, and the clock supply to the CPU 28 is also stopped, and the CPU 28 waits in a completely stopped state.

また、上記クロック制御回路26は、停止状態からの発
振回路67の再起動時、安定発振が行われるまでの50
0〜600m5ecの間、時計用クロックをCPU28
用のクロックとして出力し、第1人カキ−の処理を行わ
せるようになっている。
Furthermore, when the oscillation circuit 67 is restarted from a stopped state, the clock control circuit 26 controls the clock control circuit 26 for 50 seconds until stable oscillation is performed.
Between 0 and 600m5ec, the clock is set to CPU28.
It is designed to be outputted as a clock for the first person to process the first person's oyster.

さらに、上記クロック制御回路26は、オンラインとな
った際、つまりリセット信号が供給された際、安定発振
が行われるまでの500〜600m5ecの間、時計用
クロックをCPU28用のクロックとして出力し、その
後1MH2のクロックを出力するようになっている。
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 It is designed to output a 1MH2 clock.

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

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

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

上記電源制御回路23について、第5図を用いて詳細に
説明する。すなわち、インバータ回路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. 5. 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の計数値は、外部NWAのチャタリン
グの影響を受けない値となっている。上記ダイオード5
7は、電源電圧Voutの保護用であり、外部からの電
源電圧Vccの低下時、半導体スイッチ56がオンする
前に、電ilI!電圧Vccがメモリの駆動電圧より低
下した場合でも、ma電圧■outが低下しないように
、内部バッテリ25で保護しているものである。
The count value of the counter 52 is a value that is not affected by chattering from the external NWA. Diode 5 above
7 is for protecting the power supply voltage Vout, and when the power supply voltage Vcc from the outside decreases, the power supply voltage ilI! is used before the semiconductor switch 56 is turned on. The internal battery 25 protects the ma voltage (ma) out from decreasing even if the voltage Vcc decreases below the memory drive voltage.

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

また、ICカード10が上記端末l116とコンタクト
部11で接続された場合、外部からのms電圧VCCが
半導体スイッチ58のゲートに供給、されるとともに、
クロック信号CLKがインバータ回路51を介してカウ
ンタ52のクロック端子ckに供給される。これにより
、カウンタ52は計数を開始し、このカウンタ52の値
が所定値となった時、出力端Qnの出力により、FF回
路53をセットする。このFF回路53のセット出力Q
により、半導体スイッチ58のゲートに“0“信号が供
給され、半導体スイッチ56のゲートに“1“信号が供
給され、半導体スイッチ58がオンし、半導体スイッチ
56がオフする。
Further, when the IC card 10 is connected to the terminal 116 through the contact section 11, the external ms voltage VCC is supplied to the gate of the semiconductor switch 58, and
A clock signal CLK is supplied to a clock terminal ck of a counter 52 via an inverter circuit 51. As a result, the counter 52 starts counting, and when the value of the counter 52 reaches a predetermined value, the FF circuit 53 is set by the output from the output terminal Qn. Set output Q of this FF circuit 53
As a result, 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 56 is turned off.

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

なお、オンライン状態からオフライン状態に戻る時、外
部か’3Mt源電圧VCCが低下したとき、リセット制
御回路22からリセット信号が出力される。これにより
、そのリセット信号により1.カウンタ52、FF回路
53がリセットされる。すると、半導体スイッチ58の
ゲートに“1゛信号が供給され、半導体スイッチ56の
ゲートに“O“信号が供給され、半導体スイッチ58が
オフし、半導体スイッチ56がオンする。したがって、
内部バッテリ25の電m電圧が半導体スイッチ56を介
して電源制御回路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 external source voltage VCC drops by 3Mt. As a result, the reset signal causes 1. The counter 52 and FF circuit 53 are reset. Then, the "1" signal is supplied to the gate of the semiconductor switch 58, the "O" 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.
The voltage m 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.

上記クロック制御回路26について、第1図を用いて詳
細に説明する。すなわち、上記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のクロック入力lckには上記カレンダ
回路33からの32.763KH2の時計用のクロック
が供給される。上記FF回路65はクロック発振停止用
となっている。上記FF回路65のセット出力は、ナン
ド回路66の一端に供給され、このナンド回路66の出
力端と他端との間には発振回路67が接続されている。
The clock control circuit 26 will be explained in detail using FIG. 1. 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 machine cycle signal M1 from the CPU 28 is supplied to the clock input terminal ck of this FF circuit 63. 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 lck of the FF circuit 65 is supplied with the 32.763 KH2 clock 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 input 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は、上記IMH2の発振周波数を有す
る発撮器27、抵抗68、コンデンサ70.71によっ
て構成されている。
The oscillation circuit 67 includes an oscillator 27 having an oscillation frequency of the IMH2, 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 to an OR circuit 84, which will be described later.
output is supplied.

また、上記FF回路76のデータ入力端D1リセット入
力端Rには、上記CPU28からのクロック選択信号が
供給されている。上記FF回路76のセット出力はFF
回路77のデータ入力端りに供給され、このFF回路7
7のクロック入力端ckには上記カレンダ回路33から
の32゜763KH2の時計用のクロックが供給される
Further, a clock selection signal from the CPU 28 is supplied to the data input terminal D1 and the reset input terminal R of the FF circuit 76. The set output of the FF circuit 76 is FF
It is supplied to the data input end of the circuit 77, and this FF circuit 7
A clock input terminal ck of 7 is supplied with a clock of 32°763KH2 from the calendar circuit 33.

上記FF回路77のセット出力はナンド回路79の一端
に供給され、このナンド回路79の他端には上記カレン
ダ回路33からの32.763KH2の時計用のクロッ
クがインバータ回路78を介して供給される。上記ナン
ド回路7つの出力はナンド回路80の一端に供給される
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 a NAND circuit 80.

また、上記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のセット出力、および上記FFl路8
3のリセット出力はオア回路84を介して上記FF回路
76のクロック入力端ckに出力する。
The set output of the FF circuit 81 and the FF1 path 8
The reset output No. 3 is outputted to the clock input terminal ck of the FF circuit 76 via the OR circuit 84.

また、上記FF回路83のセット出力はナンド回路86
の一端に供給され、このナンド回路86の他端には上記
アンド回路80の出力がインバータ回路85を介して供
給される。上記ナンド回路86の出力は、クロック信号
として上記CPtJ28へ出力されるようになっている
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 CPtJ 28 as a clock signal.

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

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

すなわち、上記CPtj28からキー人カ割込み信号が
供給される。するとFF回路62.63、64がリセッ
トし、FF回路65がセットする。
That is, a key interrupt signal is supplied from the CPtj28. 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回路81
.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 circuit 81 to
.. 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は、キー入力t1込み信号を出
力してから、500〜600m5eC後に、クロック選
択信号として“0゛をFF回路76のデータ入力端りに
供給する。これにより、FF回路76.77がリセット
し、FF回路77のリセット出力つまり“1“信号がF
F回路74のデータ入力端りに供給される。
As a result, the CPU 28 supplies "0" as a clock selection signal to the data input end of the FF circuit 76 500 to 600 m5eC after outputting the signal including the key input t1. is 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によるクロック(IMH2
)がインバータ回路72を介してFF回路74のクロッ
ク入力端に供給されている。
Also, at this time, the clock (IMH2
) 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によるクロック(1MH2)は
、インバータ回路72.73、ナンド回路75.80.
インバータ回路85、およびナンド回路86を順次介し
てCPU28に出力されている。
As a result, the clock (1MH2) generated by the oscillation circuit 67 is transmitted to the inverter circuits 72, 73, NAND circuits 75, 80, .
The signal is sequentially output to the CPU 28 via an inverter circuit 85 and a NAND circuit 86.

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

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

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

ついで、CPU28から停止信号がFF回路62のデー
タ入力端りに供給される。すると、FF回路62がセッ
トし、このセット出力がFF回路63のデータ入力10
に供給される。そして、CPU28からのマシンサイク
ル信号M1により、FF回路63がセットし、FF回路
81のデータ入力端りに“O“信号が供給される。これ
により、FF回路63のセット出力をFF回路81.8
3で2パルス分送らせた後、ナンド回路86のゲートを
閉じることにより、CPLI28へのクロックの出力を
停止する。これにより、CPU28を停止状態としてい
る。
Next, a stop signal is supplied from the CPU 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 10 of the FF circuit 63.
supplied to Then, the FF circuit 63 is set by the machine cycle signal M1 from the CPU 28, and an "O" signal is supplied to the data input terminal of the FF circuit 81. As a result, the set output of the FF circuit 63 is changed to the set output of the FF circuit 81.8.
After sending two pulses at step 3, the gate of the NAND circuit 86 is closed to stop outputting the clock to the CPLI 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.

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

このように、上記クロック制御回路26は、発振器27
による水晶の発振の立上がりをカバーするために、時計
用クロックと1MH2用クロツクロック果的に切換える
ようにしている。
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 1MH2 are effectively switched.

上記カレンダ回路33について、第7図を用いて詳細に
説明する。すなわち、32.768KH2の発振器34
の発振出力を分周することにより、1秒ごとの信号を出
力端a、bから出力する分周回路91、この分周回路9
1の出力端aからの信号を計数することにより、10秒
ごとに信号を出力するカウンタ92、このカウンタ92
からの信号を計数することにより、60秒つまり1分ご
とに信号を出力するカウンタ93、このカウンタ93か
らの信号を計数することにより、10分ごとに信号を出
力するカウンタ94、このカウンタ94からの信号を計
数することにより、60分つまり1時間ごとに信号を出
力するカウンタ95、このカウンタ95からの信号を計
数することにより、24時間つまり1日ごとに信号を出
力するカウンタ96、上記分周回路91の出力1bから
の信号を計数することにより、10秒ごとに信号を出力
するカウンタ97、このカウンタ97からの信号を計数
することにより、60秒つまり1分ごとに信号を出゛力
するカウンタ98、このカウンタ98からの信号を計数
することにより、10分ごとに信号を出力するカウンタ
99、このカウンタ99からの信号を計数することによ
り、60分つまり1時間ごとに信号を出力するカウンタ
100、このカウンタ1o○からの信号を計数すること
により、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 output terminals a 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 1b of the circuit 91, and a signal is output every 60 seconds, that is, every minute by counting the signal from this counter 97. A counter 98 outputs a signal every 10 minutes by counting the signal from this counter 98.A counter 99 outputs a signal every 60 minutes, that is, every hour by counting the signal from this counter 99. It consists of a counter 100 and a counter 101 which outputs a signal every 24 hours, that is, every day by counting the signal from this counter 1o○.

ここに、上記カウンタ92〜96により秒、分、時を計
数する取引用の時計が構成され、上記カウンタ97〜1
01により秒、分、時を計数する表示用の時計が構成さ
れている。年月日および曜日は、24時間ごとのカウン
タ96.101からの信号により、上記CPLI28へ
割込み要求を出力する。これにより、CPtJ28はデ
ータメモリ31を用いて対応するエリアの年月日および
曜日を更新する。また、2つの時計は、第8図に示すよ
うに、基準となる1秒のクロックの位相をずらしている
ため、同時に割込みが発生しないようになっている。
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. For the year, month, day, and day of the week, an interrupt request is output to the CPLI 28 based on a signal from the counter 96.101 every 24 hours. Thereby, the CPtJ 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 sent from the output end 110a, a start signal is sent from the output end 110b, or a start signal is sent from the output end 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からのクロ
ック選択信号に応じて、端末機の種類が手動式読取りの
場合、入力端Aの信号を選択し、出力端Yから出力し、
端末四の種類が自動式読取りの場合、入力端Bの信号を
選択し、出力nAYから出力するようになっている。
In response to the clock selection signal from the FF circuit 110, the selection circuit 111 selects the signal at the input terminal A and outputs it from the output terminal Y when the terminal type is a manual reading type.
If the type of terminal 4 is automatic reading, the signal at input terminal B is selected and output from output nAY.

上記FF回路110の出力ON 110 bから出力さ
れるスタート信号、および上記選択回路111の出力は
、タイミング回路112に供給される。
The start signal output from the output ON 110 b 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に供給d1最初のクロックをロード信号としてパラレ
ル/シリアル変換回路115のロード入力端りに供給す
る。また、上記タイミング回路112は、データ゛0“
用クロック、データ″1“用クロックを選択回路116
に供給している。
This timing circuit 112 generates a heptad clock,
Clock input terminal C of parallel/serial conversion circuit 115
The first clock d1 is supplied to the load input terminal of the parallel/serial conversion circuit 115 as a load signal. Further, the timing circuit 112 has data “0”.
circuit 116 for selecting the clock for data “1” and the clock for data “1”
is supplied to.

また、上記CPU28からデータバス20を介して供給
される磁気データはデータラッチ回路113に供給され
、このデータラッチ回路113には、CPIJ28から
データライトスタート信号が供給されている。上記デー
タラッチ回路113は、CPU28からデータライトス
タート信号が供給された際、上記データバス20から供
給される7ビツトずつの磁気データをラッチするもので
ある。
Further, magnetic data supplied from the CPU 28 via the data bus 20 is supplied to a data latch circuit 113, and a data write start signal is supplied from the CPIJ 28 to this data latch circuit 113. 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のデータ
入力端INに供給される。上記パラレル/シリアル変換
回路115は、供給されるロード信号により、上記デー
タラッチ回路113からのデータをロードし、このロー
ドされたデータを順にシフトし、1ビツトずつの信号(
1“信号あるいは“0“信号)に変換して出力するよう
になっている。
The data latched in the data latch circuit 113 is 7
It is supplied to the data input terminal IN 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 (
The output signal is converted into a 1" signal or a 0 signal) and output.

上記パラレル/シリアル変換回路115の出力は、選択
回路116の入力端Sに供給される。この選択回路11
6は、入力端Sに1“信号が供給された場合、上記タイ
ミング回路112から供給されるデータ“1“用クロッ
クを選択して出力し、入力端Sに“O“信号が供給され
た場合、上記タイミング回路112から供給されるデー
タ“0“用クロックを選択して出力するようになってい
る。上記選択回路116の出力はJ−KFF回路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 data "1" clock supplied from the timing circuit 112 when a 1" signal is supplied to the input terminal S, and when an "O" signal is supplied to the input terminal S. , the clock for data "0" supplied from the timing circuit 112 is selected and output.The output of the selection circuit 116 is output to the J-KFF circuit 117.
and the set output of this J-KFF circuit 117,
The reset output is adapted to be supplied to driver 118.

このドライバ118は、上記FF回路117からの信号
に応じて磁気発生部材41aを駆動することにより、磁
界を発生しているものである。たとえば、上記FF回路
117がセットされている場合、矢印Cに示すような磁
界を発生し、リセットされている場合、矢印dに示すよ
うな磁界を発生するようになっている。
This driver 118 generates a magnetic field by driving the magnetism generating member 41a in response to a signal from the FF circuit 117. For example, when the FF 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“と0“に対して、クロックのサイクルが、
1:2の比率となっている。このクロックでJ−KFF
回路117を反転モードで動かすことにより、磁気デー
タとして必要なフォーマットの“1“、“0“信号が得
られ、磁気発生部材41aを駆動するようになっている
In the selection circuit 116, as shown in FIG.
For data “1” and 0, the clock cycle is
The ratio is 1:2. J-KFF with this clock
By operating the circuit 117 in the inversion mode, "1" and "0" signals in the format required as magnetic data are obtained, and the magnetism generating member 41a is driven.

また、上記CPtJ28からのデータライトスタート信
号はインバートされて空検知用のFF回路114のセッ
ト入力端に供給され、このFF回路114のリセット入
力端には、上記タイミング回路112からの最初のクロ
ックがインバートされて供給されている。これにより、
上記データラッチ回路113のデータが115にロード
された場合、FF回路114がセットし、このFF回路
114のセット出力つまりバッファエンプティ信号が上
記CPU28に供給される。
Further, the data write start signal from the CPtJ28 is inverted and supplied to the set input terminal of the FF circuit 114 for empty detection, and the first clock from the timing circuit 112 is input to the reset input terminal of this FF circuit 114. It is supplied inverted. This results in
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 set output of the FF circuit 114, that is, the buffer empty signal is supplied to the CPU 28.

これにより、上記CPU28は、次のデータセット可能
状態であると判断し、次のデータをデータラッチ回路1
13に出力する。このように、CPtJ28は空検知用
FF回路114の出力をセンスしながら、データを順に
セットし、すべてのデータを出力した後、コマンドライ
トスタート信号、データライトスタート信号をオフにす
るようになっている。これにより、タイミング回路11
2による信号の発生が停止し、動作終了となる。
As a result, the CPU 28 determines that the next data can be set, and transfers the next data to the data latch circuit 1.
Output to 13. In this way, the CPtJ28 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、タイミング回路120、データラッチ回路
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 120, a data latch circuit 121, an empty detection FF circuit 122, Parallel/serial conversion circuit 123, selection circuit 124, J-KFF circuit 12
5, and a driver 126. However, the location where the timing circuit 120 operates in quinary is different.

上記したように、磁気発生部材制御回路40は、上記C
PU28から供給される所定のクレジットカードの磁気
データに応じて磁界を発生することにより、読取装置側
の磁気ヘッド(図示しない)には、従来の磁気ストライ
ブを読取った場合と同じ信号が供給されるようになって
いる。
As described above, the magnetism generating member control circuit 40
By generating a magnetic field in accordance with the magnetic data of a predetermined credit card supplied from the PU 28, the same signal as when reading a conventional magnetic stripe is supplied to a magnetic head (not shown) on the reader side. It has become so.

次に、このような構成において動作を説明する。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.

また、モードキー12aつまりM2キーにより、時刻表
示モードを指定した場合、CPU28は上記カレンダ回
路33内のカウンタ97、〜101から表示用時計に対
する秒、分、時を読出し、またデータメモリ31から表
示用時計に対する年月日および曜日を読出し、指定され
たフォーマットに変換し、表示部副葬回路35に出力す
る。これにより、表示部制御回路35は、内部のキャラ
クタジェネレータ(図示しない)を用いて文字パターン
に変換し、表示部ドライバ36を用いて表示部13で表
示する。
Further, when the time display mode is specified using the mode key 12a, that is, the M2 key, the CPU 28 reads out the seconds, minutes, and hours for the display clock from the counters 97 to 101 in the calendar circuit 33, and displays them from the data memory 31. The year, month, day, and day of the week for the business clock are read out, converted into a specified format, and output to the display section burial circuit 35. 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キーにより、電子幅
モードを指定した場合、CPLJ28はデータメモリ3
1に記憶されている住所、氏名、電話番号等を読出し、
上記表示部13で表示する。また、上記住所、氏名等を
電子幅にU録する場合、たとえばテンキー121)を用
いて行っている。すなわち、rAJは「1.1」、rB
JはN、2J、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 CPLJ28
Read out the address, name, phone number, etc. stored in 1.
It is displayed on the display section 13. Further, when the above-mentioned address, name, etc. are recorded in the electronic space, the user uses, for example, the numeric keypad 121). That is, rAJ is "1.1", rB
J is N, 2J, rcJ is "1.3", rDJ is "2.1"
”, ... can be specified.

また、モードキー12aつまりM4キーにより、買物モ
ードを指定した場合、続けて契約クレジットカードの種
類、および出力端末の種類っまり読取りが手助式か自動
式かを選択する。すると、CPIJ28は、データメモ
リ31より上記選択されたクレジットに対応するデータ
(72キヤラクタ)を読出し、磁気発生部材制御回路4
0に出力する。また、CPU28は、上記手動式か自動
式かの選択に対応した駆動レートを磁気発生部材制御回
路40に出力する。ざらに、CPU2Bはコマンドデー
タ、コマンドライトスタート信号、データライトスター
ト信号を磁気発生部材制御回路40に出力する。
When the shopping mode is designated using the mode key 12a, that is, the M4 key, the user then selects the type of contracted credit card and the type of output terminal, i.e., whether reading is assisted or automatic. Then, the CPIJ 28 reads out data (72 characters) corresponding to the selected credit from the data memory 31 and sends the data to the magnetic generation member control circuit 4.
Output to 0. Further, the CPU 28 outputs a drive rate corresponding to the selection of manual type or automatic type to the magnetism generating member control circuit 40. In general, the CPU 2B 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 a 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 in the case.

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

次に、ICカード10を端末v116に挿入することに
より用いるオンライン機能について説明づる。すなわち
、ICカード10を端末機16の挿入口17に挿入する
。すると、ICカード10が受入れられ、端末116内
部の接続部とICカード10のコンタクト部11が接続
される。これにより、コンタクト部11を介して外部か
らのNI!電圧が供給されると、NgAI11al11
回路23は上述したように、内蔵バッテリ25による駆
動から外部からのN源電圧の駆動に切換える。また、リ
セット制御回路22はリセット信号を発生し、CPU2
8を起動する。この起動の後、CPtJ2Bはオンライ
ンで動作していることを確認した場合、プログラムRO
M29の内容にしたがってオンライン処理を行う。この
オンライン処理としては、端末116とICカード10
との間でデータ更新を行なうことにより、データの交換
を行ったり、ICカード10内に新しいデータを書込む
ようになっている。
Next, the online function used by inserting the IC card 10 into the terminal v116 will be explained. That is, the IC card 10 is inserted into the insertion slot 17 of the terminal 16. Then, the IC card 10 is accepted, and the connection section inside the terminal 116 and the contact section 11 of the IC card 10 are connected. As a result, NI! from the outside via the contact portion 11! When voltage is supplied, NgAI11al11
As described above, the circuit 23 switches from being driven by the built-in battery 25 to being driven by an external N source voltage. Further, the reset control circuit 22 generates a reset signal, and the CPU 2
8. After this startup, if CPtJ2B confirms that it is running online, the program RO
Online processing is performed according to the contents of M29. This online processing involves the terminal 116 and the IC card 10.
By updating data with the IC card 10, data can be exchanged and new data can be written into the IC card 10.

上記したように、カードの消費iI流を少なくするため
に、内部の発振回路をオン、オフ動作で使用しており、
しかも発振回路の立上がり時間による待ち時間およびキ
ー入力データの見過ごしを防ぐことができ、信頼性がA
く、カード寿命を長くすることができる。
As mentioned above, in order to reduce the card's current consumption, the internal oscillation circuit is used in on/off operation.
Furthermore, the waiting time due to the rise time of the oscillation circuit and the oversight of key input data can be prevented, and reliability is A.
This can extend the life of the card.

なお、前記実施例では、低周波から高周波へのクロック
の切換をCPtJの起動から所定時間経過後に行うよう
にしたしたが、これに限らず、第1人カキ−を解読した
結果、連続動作であると判断した場合にのみ、低周波か
ら高周波のりOツクへの切換を行うようにしても良い。
In the above embodiment, the clock is switched from low frequency to high frequency after a predetermined period of time has elapsed since the activation of CPtJ. It is also possible to switch from low frequency to high frequency mode only when it is determined that there is.

また、tCカードを用いたが、これに限らず、データメ
モリと制御素子とを有し、選択的に外部から入出力を行
うものであれば良く、形状もカード状でなく、棒状など
他の形状であっても良い。
In addition, although a tC card is used, the 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. It may be a shape.

〔発明の効果〕〔Effect of the invention〕

以上詳述したようにこの発明によれば、特別なキーを設
けずに、動作中の待ち時間を8m回路を停止して完全な
る省消費で動作させることができる携帯可能媒体を提供
できる。
As described in detail above, according to the present invention, it is possible to provide a portable medium that can be operated with complete consumption savings by stopping the 8m circuit during operation waiting time without providing a special key.

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

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

Claims (4)

【特許請求の範囲】[Claims] (1)制御素子を有し、内部に設けられた電源により動
作を行う携帯可能媒体において、 低周波のクロックを常時発生する第1のクロック発生手
段と、 高周波のクロックを発生する第2のクロック発生手段と
、 上記制御素子の起動時、上記第1のクロック発生手段か
らの低周波のクロツクを用いて制御素子の動作を行なう
とともに、上記第2のクロック発生手段によるクロック
の発生を開始し、所定時間経過後、上記第2のクロック
発生手段から発生される安定した高周波のクロックを用
いて制御素子の動作を行なう制御手段と、 を具備したことを特徴とする携帯可能媒体。
(1) In a portable medium that has a control element and is operated by an internal power supply, a first clock generation means that constantly generates a low-frequency clock, and a second clock that generates a high-frequency clock generating means; when the control element is activated, the low frequency clock from the first clock generation means is used to operate the control element, and the second clock generation means starts generating a clock; A portable medium comprising: control means for operating a control element using a stable high-frequency clock generated from the second clock generation means after a predetermined period of time has elapsed.
(2)制御素子が、CPUであることを特徴とする特許
請求の範囲第1項記載の携帯可能媒体。
(2) The portable medium according to claim 1, wherein the control element is a CPU.
(3)第1のクロック発生手段が、時計用のクロックを
発生するものであることを特徴とする特許請求の範囲第
1項記載の携帯可能媒体。
(3) The portable medium according to claim 1, wherein the first clock generating means generates a clock for a watch.
(4)制御素子の起動が、キーボードによるキー入力に
より行われることを特徴とする特許請求の範囲第1項記
載の携帯可能媒体。
(4) The portable medium according to claim 1, wherein the control element is activated by key input from a keyboard.
JP61203360A 1986-08-29 1986-08-29 Portable electronic device Expired - Lifetime JPH0746294B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP61203360A JPH0746294B2 (en) 1986-08-29 1986-08-29 Portable electronic device
EP87112488A EP0257648B1 (en) 1986-08-29 1987-08-27 Portable medium
DE8787112488T DE3780381T2 (en) 1986-08-29 1987-08-27 PORTABLE DATA CARRIER.
US07/089,998 US4766294A (en) 1986-08-29 1987-08-27 Portable medium
KR1019870009562A KR910001263B1 (en) 1986-08-29 1987-08-29 Portable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61203360A JPH0746294B2 (en) 1986-08-29 1986-08-29 Portable electronic device

Publications (2)

Publication Number Publication Date
JPS6358524A true JPS6358524A (en) 1988-03-14
JPH0746294B2 JPH0746294B2 (en) 1995-05-17

Family

ID=16472739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61203360A Expired - Lifetime JPH0746294B2 (en) 1986-08-29 1986-08-29 Portable electronic device

Country Status (1)

Country Link
JP (1) JPH0746294B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009122742A (en) * 2007-11-12 2009-06-04 Seiko Epson Corp IC card, IC card control method, and IC card control program
JP2010117922A (en) * 2008-11-13 2010-05-27 Renesas Technology Corp Arithmetic unit and arithmetic processing method
JP2011258061A (en) * 2010-06-10 2011-12-22 Fuji Electric Retail Systems Co Ltd Control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5523533A (en) * 1978-08-03 1980-02-20 Casio Comput Co Ltd Clock control system of small-size electronic computer
JPS5571978A (en) * 1978-11-24 1980-05-30 Hitachi Ltd Electronic multiple function watch
JPS61147324A (en) * 1984-12-20 1986-07-05 Matsushita Electric Ind Co Ltd clock control circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5523533A (en) * 1978-08-03 1980-02-20 Casio Comput Co Ltd Clock control system of small-size electronic computer
JPS5571978A (en) * 1978-11-24 1980-05-30 Hitachi Ltd Electronic multiple function watch
JPS61147324A (en) * 1984-12-20 1986-07-05 Matsushita Electric Ind Co Ltd clock control circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009122742A (en) * 2007-11-12 2009-06-04 Seiko Epson Corp IC card, IC card control method, and IC card control program
JP2010117922A (en) * 2008-11-13 2010-05-27 Renesas Technology Corp Arithmetic unit and arithmetic processing method
JP2011258061A (en) * 2010-06-10 2011-12-22 Fuji Electric Retail Systems Co Ltd Control device

Also Published As

Publication number Publication date
JPH0746294B2 (en) 1995-05-17

Similar Documents

Publication Publication Date Title
KR910001263B1 (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
JPS6358524A (en) Portable medium
JP2597553B2 (en) IC card
JPS63255788A (en) Portable medium
JP2791105B2 (en) Portable storage media
JPS6358520A (en) Portable medium
JPS6359648A (en) Portable medium
JPS63255787A (en) Portable medium
JPS63255786A (en) Portable medium
JPS63262783A (en) Portable medium
JPH036718A (en) Portable medium
JPS63255785A (en) Portable medium
JPS63255784A (en) Portable medium
JPS6359596A (en) Portable medium
JPS63262780A (en) Portable medium
JPS6362086A (en) Portable medium
JPS6358547A (en) Portable medium
JPH01126787A (en) Portable medium
JPH01112389A (en) Portable medium
JP2695793B2 (en) Portable electronic device with date function

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term