JPH06309280A - Keyboard system - Google Patents

Keyboard system

Info

Publication number
JPH06309280A
JPH06309280A JP5119362A JP11936293A JPH06309280A JP H06309280 A JPH06309280 A JP H06309280A JP 5119362 A JP5119362 A JP 5119362A JP 11936293 A JP11936293 A JP 11936293A JP H06309280 A JPH06309280 A JP H06309280A
Authority
JP
Japan
Prior art keywords
key input
microprocessor
clock signal
time
state
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
JP5119362A
Other languages
Japanese (ja)
Inventor
Satokatsu Nakamura
里克 中村
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.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP5119362A priority Critical patent/JPH06309280A/en
Publication of JPH06309280A publication Critical patent/JPH06309280A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a keyboard system in which a power uselessly spent during the time not in use can be sharply reduced without affecting an operation during the time in use. CONSTITUTION:This system is equipped with a key matrix 102 in which plural key switches are arranged like a matrix, microprocessor 101 exclusively used for detecting inputs to the key switches of the matrix, and circuit 105 for supplying a driving clock signal to the processor. Also, the system is equipped with a means which measures a time since the last key input is performed, and a circuit 103 which always detects the presence or absence of the key input. The key input detecting operation is continuously operated during a normal time, and when the key input is not performed in a fixed time, the microprocessor 101 is changed to a low power consumption state, and when the key input is performed in the pertinent state, the microprocessor 101 is restored to the normal state, and the key input detecting operation is resumed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はキーボードシステムに関
するものである。
FIELD OF THE INVENTION The present invention relates to a keyboard system.

【0002】[0002]

【従来の技術】今やキーボードはコンピュータシステム
の入力装置として無くてはならないものになっている。
キー入力検知の手段としては電気的なものが一般的であ
り、コンピュータシステム用などキー数が多い場合に
は、マトリクス状に配列された走査ラインと検知ライン
との各交点箇所に両ラインを導通し得るようにキースイ
ッチを配置する方法が多く用いられている。
2. Description of the Related Art Keyboards are now indispensable as input devices for computer systems.
Electrical means is generally used as a key input detection means, and when there are many keys for computer systems, both lines are connected to the intersections of the scanning lines and detection lines arranged in a matrix. There are many methods of arranging key switches so that they can be used.

【0003】該キー入力検知方法を図14を用いて説明
する。図14において1401、1402、1403、
1404は走査ラインを、1405、1406、140
7、1408はプルアップされた検知ラインを示す。走
査ラインは通常Hレベルに保たれ、この内の1ラインだ
けを順次Lレベルにしていく。Lレベルにされた走査ラ
イン1402上にあるキースイッチ1409が押されて
いた場合、該キースイッチ1409を経由して走査ライ
ン1402と検知ライン1407が導通され、検知ライ
ン1409はHレベルからLレベルへ移行する。この変
化を検出することでそのときLレベルにしていた走査ラ
イン1402と変化した検知ライン1407の交点にあ
るキースイッチ1409が押されたことを検出する。
The key input detection method will be described with reference to FIG. In FIG. 14, 1401, 1402, 1403,
Reference numeral 1404 denotes scan lines, 1405, 1406, 140.
Reference numerals 7 and 1408 denote detection lines pulled up. The scanning line is normally kept at the H level, and only one of these lines is sequentially set at the L level. When the key switch 1409 on the scan line 1402 set to the L level is pressed, the scan line 1402 and the detection line 1407 are conducted via the key switch 1409, and the detection line 1409 changes from the H level to the L level. Transition. By detecting this change, it is detected that the key switch 1409 at the intersection of the scanning line 1402 which is at the L level at that time and the changed detection line 1407 is pressed.

【0004】大部分の汎用コンピュータシステムにおい
てはメインCPUがキー入力検知処理を行っていたので
は、本来の処理遂行に影響を及ぼすため、キーボード専
用のマイクロプロッセサを備えている。該マイクロプロ
ッセッサにはCPUおよびRAM,ROM等が1つのI
Cチップに収められている1チップマイコンが多く用い
られ、キー入力検知動作の他、キーコードの取得および
メインシステムとの通信動作等を行う。
In most general-purpose computer systems, since the main CPU performs the key input detection processing, it affects the original processing execution, and therefore is equipped with a keyboard-dedicated microprocessor. The microprocessor has one CPU, RAM, ROM, etc.
A one-chip microcomputer contained in the C chip is often used to perform key input detection operation, key code acquisition and communication operation with the main system.

【0005】[0005]

【発明が解決しようとする課題】従来多く用いられてき
たAC電源を使用するデスクトップ型の汎用コンピュー
タの場合、電力の消費量は大きな問題にはならなかっ
た。しかし近年携帯用パーソナルコンピュータシステム
の普及にともない、バッテリー寿命延長の目的のためコ
ンピュータシステムの低消費電力化技術が重要になって
きている。
In the case of a desktop type general-purpose computer which uses an AC power source, which has been widely used in the past, power consumption did not cause a big problem. However, with the recent spread of portable personal computer systems, low power consumption technology for computer systems has become important for the purpose of extending battery life.

【0006】汎用コンピュータシステムにおけるキーボ
ードの使用頻度を考えた場合、ゲーム等の特殊な用途を
除いて決して高いとは言えない。例えばワープロ入力時
の文章を考えている時間や、技術計算時の結果を待って
いる時間など、長時間に渡ってキーボードが使用されな
いケースは多々ある。しかるに従来のシステムにおいて
はこれら非使用時においてもキーボードは常にキー入力
検知動作を続け、そのための電力は消費され続けてい
た。
Considering the frequency of use of a keyboard in a general-purpose computer system, it cannot be said to be high except for special applications such as games. For example, there are many cases where the keyboard is not used for a long period of time, such as the time when thinking about sentences when inputting a word processor, and the time when waiting for a result at the time of technical calculation. However, in the conventional system, the keyboard always continues the key input detection operation even when these are not used, and the power for that purpose is continuously consumed.

【0007】本発明の目的は使用時の動作には影響を与
えずに、非使用時に従来無駄に費やされていた電力を極
力削減したキーボードシステムを提供することにある。
It is an object of the present invention to provide a keyboard system which does not affect the operation during use and which reduces the electric power wasted conventionally when not in use.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
本発明のキーボードシステムは、通常時はキー入力検知
動作を連続して行い、最後のキー入力がなされてからの
時間を計測する手段を備え、その値が規定値に達した場
合には、マイクロプロセッサを低消費電力状態に移行さ
せ、該低消費電力状態においてもキー入力の有無を検知
する手段を備え、キー入力がなされた場合、通常状態へ
復帰してキー入力検知動作を再開する構造を備えること
を特徴とする。
In order to solve the above-mentioned problems, the keyboard system of the present invention has means for continuously performing a key input detection operation in a normal time and measuring a time from the last key input. Provided, when the value reaches a specified value, the microprocessor is moved to a low power consumption state, a means for detecting the presence or absence of a key input in the low power consumption state is provided, and if a key input is made, It is characterized by having a structure for returning to the normal state and restarting the key input detection operation.

【0009】[0009]

【実施例1】本発明のキーボードシステムの基本構成を
図1に示す。ハードウェア的には従来のキーボードシス
テムと同様にマイクロプロセッサ101とキーマトリク
ス102および発振回路105を備え、その他に本発明
のシステムの特徴として全ての検知ライン列107のN
ORを取るNOR回路103を備えている。図1におい
てφclk0はクロック信号を、φkbはキーボード入
力による割り込み信号を、φrstはメインシステムか
らのリセット信号をそれぞれ示す。
[Embodiment 1] FIG. 1 shows the basic configuration of a keyboard system of the present invention. In terms of hardware, a microprocessor 101, a key matrix 102, and an oscillation circuit 105 are provided as in the conventional keyboard system. In addition, N of all detection line arrays 107 is a characteristic of the system of the present invention.
A NOR circuit 103 that takes an OR is provided. In FIG. 1, φclk0 indicates a clock signal, φkb indicates an interrupt signal by keyboard input, and φrst indicates a reset signal from the main system.

【0010】通常時マイクロプロセッサ101は走査ラ
イン列106の内の一つを順次Lレベルにしてキー入力
検知動作を行うとともに、キーが最後に押されてからの
時間の計測を常時行っている。該時間が規定値に達した
場合、キーボードシステムは低消費電力状態(以下スリ
ープモードと略)へ移行する。
During normal operation, the microprocessor 101 sequentially sets one of the scanning line arrays 106 to the L level to perform a key input detection operation, and constantly measures the time since the key was last pressed. When the time reaches the specified value, the keyboard system shifts to a low power consumption state (hereinafter abbreviated as sleep mode).

【0011】マイクロプロセッサ101にプログラムさ
れているソフトウェアのうち、主にスリープモードに関
する部分のフローチャートを図2に示す。図2に示した
ソフトウェアにおいてはキーが最後に押されてからの時
間の計測をスリープカウンタというパラメータを用いて
行っている。これは規定された初期値から1周期毎にパ
ラメータを1ずづ減らしていき0になった時点でスリー
プモードへ移行する方法で、途中キー入力があった場合
はカウンタはもとの値にリセットされる。この他の計測
手段として1チップマイコンが持っているタイマ割り込
み等を利用する方法も考えられる。
FIG. 2 shows a flowchart of a part mainly related to the sleep mode in the software programmed in the microprocessor 101. In the software shown in FIG. 2, the time since the key was last pressed is measured using a parameter called a sleep counter. This is a method in which the parameter is decremented by 1 for each cycle from the specified initial value, and when the value becomes 0, the mode switches to sleep mode. If there is a key input during the operation, the counter is reset to the original value. To be done. As another measuring means, a method of using a timer interrupt or the like possessed by the one-chip microcomputer can be considered.

【0012】スリープモードへの移行の際、マイクロプ
ロセッサ101は全ての走査ライン列106をLレベル
に設定する。これはスリープモードにおいてキー入力の
有無を検知する手段である。すなわちこのことによって
次にどのキーが押されても、その入力がマイクロプロセ
ッサへの割り込み信号となり、スリープモードからの復
帰が行われることになる。
At the time of transition to the sleep mode, the microprocessor 101 sets all the scan line columns 106 to the L level. This is a means for detecting the presence or absence of a key input in the sleep mode. That is, as a result, no matter which key is pressed next time, the input becomes an interrupt signal to the microprocessor, and the sleep mode is restored.

【0013】続いてマイクロプロセッサは割り込み待機
命令を発して、自身が割り込み待機状態となる。割り込
み待機命令はHLTやSTOPなどのニーモニックで表
され、最近ではほとんどのマイクロプロセッサにこの種
の命令がサポートされるようになってきている。該命令
が発せられるとプロッセサは命令の実行を停止し、割り
込み待ちのループ状態へ移行する。この間はメモリや外
部I/Oへのアクセスは一切行われれずプロセッサの消
費電力は低減する。割り込み待機状態からの復帰はその
名の通りNMIやRST端子への割り込み信号の入力に
よって行われる。RST端子への割り込み信号入力の場
合、プロセッサは割り込み待機状態から復帰すると同時
にリセット状態となり、プログラムされている初期化処
理を開始する。
Subsequently, the microprocessor issues an interrupt wait instruction, and the microprocessor itself enters an interrupt wait state. Interrupt waiting instructions are represented by mnemonics such as HLT and STOP, and recently, most microprocessors have come to support this type of instruction. When the instruction is issued, the processor stops executing the instruction and shifts to a loop state waiting for an interrupt. During this time, no access to the memory or external I / O is performed and the power consumption of the processor is reduced. As the name implies, the return from the interrupt standby state is performed by inputting an interrupt signal to the NMI or RST terminal. When an interrupt signal is input to the RST terminal, the processor returns from the interrupt standby state and at the same time enters the reset state to start the programmed initialization process.

【0014】割り込み待機命令をサポートしていないマ
イクロプロセッサを使用する場合、スリープモードにお
いてはプロセッサを無限ループ状態にプログラムするこ
とがもっとも電力の消費が少ない。しかし一般の無限ル
ープはプログラム実行のために常にメモリへのアクセス
を行うので、割り込み待機命令による割り込み待ちルー
プに比べるとはるかに消費電力が大きくなってしまい、
スリープモードによる省電の効果が薄くなってしまうの
で、割り込み待機命令をサポートしたマイクロプロセッ
サの使用が推薦される。
When using a microprocessor that does not support interrupt wait instructions, programming the processor in an infinite loop state consumes the least power in sleep mode. However, since the general infinite loop always accesses the memory for program execution, it consumes much more power than the interrupt wait loop by the interrupt wait instruction.
It is recommended to use a microprocessor that supports the interrupt wait instruction because the effect of power saving in the sleep mode is weakened.

【0015】続いてスリープモードからの復帰について
述べる。前記したようにスリープモード時全ての走査ラ
インはLレベルに設定されているので、この状態でいず
れかのキーが押された場合、NAND回路103の出力
はLレベルからHレベルへ反転し、これがマイクロプロ
セッサへの割り込み信号となる。
Next, returning from the sleep mode will be described. As described above, all the scan lines are set to the L level in the sleep mode. Therefore, if any key is pressed in this state, the output of the NAND circuit 103 is inverted from the L level to the H level. It becomes an interrupt signal to the microprocessor.

【0016】スリープモードからの復帰がキー入力に行
われた場合、マイクロプロセッサは直ちにキー検知動作
を再開し、押されたキーを特定する。この動作に多くの
時間が費やされた場合、キー入力がスムーズに行われず
ユーザーに対して不快感を抱かせたり、短いキー押打で
はキー入力がなされないといったトラブルの原因にもな
りかねない。
When a return from sleep mode is made by a key input, the microprocessor immediately restarts the key detection operation and specifies the pressed key. If a lot of time is spent on this operation, key input may not be performed smoothly, which may make the user uncomfortable, or may cause trouble such as short key presses causing no key input. .

【0017】本発明のキーボードシステムにおいては復
帰後通常のキー検知動作に戻るまでの処理は図2のフロ
ーチャートに示すように、カウンタをリセットするだけ
であり、せいぜい数マイクロ秒の時間を余分に費やすだ
けである。
In the keyboard system of the present invention, as shown in the flow chart of FIG. 2, the process after returning to the normal key detection operation is only to reset the counter, which consumes an extra time of at most several microseconds. Only.

【0018】人間が一回のキー入力でキースイッチを押
している時間は、一般に短いものでも数十ミリ秒のオー
ダーであるので、上記スリープモードからの復帰に費や
される時間は全く問題にならず、通常時と変わらぬキー
入力が可能であることがわかる。
Since the time for which a person presses a key switch with one key input is generally on the order of several tens of milliseconds, the time spent for returning from the sleep mode does not matter at all. It can be seen that the key input is the same as in normal operation.

【0019】[0019]

【実施例2】現在大部分のマイクロプロセッサは完全ス
タティックなCMOSで構成されており、その消費電力
は駆動周波数に比例する。実施例1のキーボードシステ
ムにおいてはスリープモード時、マイクロプロセッサは
割り込み待ちループ状態にあり、該状態においては外部
に対して一切の動作を行わないので、プロセッサの駆動
周波数を低減させてもなんら差し支えない。スリープモ
ード時プロセッサに供給されるクロック信号の周波数を
低減することでさらなる省電力化を図る。
Second Embodiment Most microprocessors are currently composed of completely static CMOS, and their power consumption is proportional to the driving frequency. In the keyboard system of the first embodiment, in the sleep mode, the microprocessor is in an interrupt wait loop state, and does not perform any operation to the outside in this state, so the driving frequency of the processor may be reduced. . Further reduce power consumption by reducing the frequency of the clock signal supplied to the processor in the sleep mode.

【0020】本実施例におけるキーボードシステムの基
本構成を図3に示す。図3において301はマイクロプ
ロセッサを、304は周波数制御回路を、φclk0は
原クロック信号を、φclk1はプロセッサに供給され
る駆動クロック信号を、φfrqは周波数制御信号をそ
れぞれ示す。
The basic configuration of the keyboard system in this embodiment is shown in FIG. In FIG. 3, 301 is a microprocessor, 304 is a frequency control circuit, φclk0 is an original clock signal, φclk1 is a drive clock signal supplied to the processor, and φfrq is a frequency control signal.

【0021】スリープモードに関するソフトウェアのフ
ローチャートを図4に示す。マイクロプロセッサ301
は全ての走査ライン列306をLレベルに設定した後、
周波数低減指令を周波数制御回路304へ送信し、割り
込み待機命令を発して、自身が割り込み待機状態とな
る。周波数低減指令を受け取った周波数制御回路304
は直ちにマイクロプロセッサへ供給される駆動クロック
信号φclk1の周波数を低減させる。
A software flow chart for the sleep mode is shown in FIG. Microprocessor 301
After setting all the scan line columns 306 to the L level,
A frequency reduction command is transmitted to the frequency control circuit 304, an interrupt wait command is issued, and the device itself enters the interrupt wait state. Frequency control circuit 304 that has received the frequency reduction command
Immediately reduces the frequency of the drive clock signal φclk1 supplied to the microprocessor.

【0022】スリープモードでいずれかのキーが押され
た場合、実施例1に述べたのと同様にNAND回路30
3の出力はLレベルからHレベルへ反転し、スリープモ
ードからの復帰のキーボード割り込み信号φkbとな
る。該割り込み信号φkbはマイクロプロセッサととも
にクロック信号制御回路に対しても転送される。。
When any key is pressed in the sleep mode, the NAND circuit 30 is activated as described in the first embodiment.
The output of 3 is inverted from the L level to the H level and becomes the keyboard interrupt signal φkb for returning from the sleep mode. The interrupt signal φkb is transferred to the clock signal control circuit together with the microprocessor. .

【0023】図4のフローチャートに示したように、こ
の割り込みによってマイクロプロセッサ301は再びキ
ー検出動作を始めるようプログラムされているが、この
動作を正常に行うためには、スリープ時に低減されてい
たクロック信号φclk1の周波数は割り込みによって
直ちにもとの値に戻されなくてはならない。
As shown in the flow chart of FIG. 4, this interrupt causes the microprocessor 301 to be programmed to start the key detection operation again. However, in order to perform this operation normally, the clock that has been reduced during sleep is used. The frequency of the signal φclk1 must be immediately returned to its original value by an interrupt.

【0024】周波数制御回路302の回路例を図5に示
す。図5において501は分周回路を、502と503
は立ち上がりエッジ動作のDタイプフリップフロップ
を、504と508はOR回路を、505と506と5
07はAND回路を、509はインバータ回路をそれぞ
れ示す。図5の回路のタイミングチャートを図6に示
す。図6においてからは各状態を示すための番号で
ある。図5の回路における分周回路は1/4分周である
としている。
A circuit example of the frequency control circuit 302 is shown in FIG. In FIG. 5, reference numeral 501 is a frequency dividing circuit, and 502 and 503.
Is a rising edge operation D-type flip-flop, 504 and 508 are OR circuits, and 505, 506 and 5
Reference numeral 07 represents an AND circuit, and 509 represents an inverter circuit. A timing chart of the circuit of FIG. 5 is shown in FIG. From FIG. 6, the numbers are used to indicate each state. It is assumed that the frequency dividing circuit in the circuit of FIG. 5 is 1/4 frequency dividing.

【0025】図5の回路の動作を図6のタイミングチャ
ートを用いて説明する。通常時φfrqはLレベルに固
定されており、φ2、φ3およびφ4もキー入力の有無
に関わらずLレベルで、出力クロック信号φclk1は
原クロック信号φclk0に等しい。
The operation of the circuit of FIG. 5 will be described with reference to the timing chart of FIG. Normally, .phi.frq is fixed to the L level, .phi.2, .phi.3 and .phi.4 are also at the L level regardless of the presence or absence of the key input, and the output clock signal .phi.clk1 is equal to the original clock signal .phi.clk0.

【0026】スリープモードへの移行時、マイクロプロ
セッサからの周波数低減指令は周波数制御信号φfrq
をHレベルにすることによって伝えられる。制御信号φ
frqがHレベルになるとφ2信号がHレベルになると
同時に、フリップフロップ502のセット状態が解除さ
れキー入力信号φkbおよびリセット信号φrstの割
り込み入力待ちの準備が整う(図6−状態)。フリッ
プフロップ503は分周されたクロック信号φ1の立ち
下がりエッジに同期してφ2信号の値をφ3信号として
出力するので、周波数低減指令が発せられた次のφ1信
号の立ち下がりエッジにおいて、出力クロック信号φc
lk1の周波数の低減が行われる(図6−状態)。
When shifting to the sleep mode, the frequency reduction command from the microprocessor is the frequency control signal φfrq.
Is set to H level. Control signal φ
When frq becomes H level, the φ2 signal becomes H level, and at the same time, the set state of the flip-flop 502 is released, and the preparation for waiting for the interrupt input of the key input signal φkb and the reset signal φrst is completed (state in FIG. 6). Since the flip-flop 503 outputs the value of the φ2 signal as the φ3 signal in synchronization with the falling edge of the divided clock signal φ1, the output clock is output at the next falling edge of the φ1 signal where the frequency reduction command is issued. Signal φc
The frequency of lk1 is reduced (state in FIG. 6).

【0027】スリープモードにおいてキー入力がなされ
た場合、マイクロプロセッサに供給されるクロック信号
φclk1の周波数は直ちにもとの値に戻されなくては
ならない。このためには周波数の復帰は制御信号φfr
qによってソフトウェア的になされるのではなく、キー
ボード割り込み信号φkbもしくはリセット信号φrs
tの割り込みによってハードウェア的に瞬時に行われる
必要がある。
When a key input is made in the sleep mode, the frequency of the clock signal φclk1 supplied to the microprocessor must be immediately returned to the original value. For this purpose, the frequency is restored by the control signal φfr.
Instead of being done by software by q, keyboard interrupt signal φkb or reset signal φrs
It must be done in hardware instantaneously by t interrupt.

【0028】図5の回路においてキーボード入力信号φ
kbもしくはリセット信号φrstがLレベルからHレ
ベルに反転した場合、φ2信号は制御信号φfrqの値
によらずLレベルとなり(図6−)、クロック信号φ
1の次の立ち下がりエッジに同期して、クロック信号φ
clk1はもとの周波数に復帰する(図6−)。周波
数制御信号φfrqは図4のフローチャートに示すよう
にスリープモードからの復帰後、次回のスリープモード
移行に備えてリセットされる(図6−)。
In the circuit of FIG. 5, a keyboard input signal φ
When the kb or the reset signal φrst is inverted from the L level to the H level, the φ2 signal becomes the L level regardless of the value of the control signal φfrq (FIG. 6-), and the clock signal φ
Clock signal φ synchronized with the next falling edge of 1
clk1 returns to the original frequency (FIG. 6-). The frequency control signal φfrq is reset in preparation for the next shift to the sleep mode after returning from the sleep mode as shown in the flowchart of FIG. 4 (FIG. 6-).

【0029】クロック信号周波数の切り換え時、注意し
なくてはならないのがクロック信号の位相である。クロ
ック信号の切り換えが任意の位相で行われた場合、クロ
ック信号波形がレベル遷移の途中で切り換えが行われた
り、出力クロック信号の幅が極端に短くなったり、長く
なったりするような事態が起こりうる。このことが原因
となってマイクロプロセッサの動作が不安定になりデー
タエラーが起こったり、大電流が流れたりするなどの危
険性が発生する。
When switching the frequency of the clock signal, it is necessary to pay attention to the phase of the clock signal. If the clock signal is switched at any phase, the clock signal waveform may switch during the level transition, or the width of the output clock signal may become extremely short or long. sell. Due to this, there is a risk that the operation of the microprocessor becomes unstable and a data error occurs or a large current flows.

【0030】これらの事態を避けクロック信号の切り換
えを安全に行うために、本発明ではクロック信号の切り
換え時、切り換え制御をおこなう信号φ2をフリップフ
ロップ503においてクロック信号φ1に対して同期を
とり、その結果の信号によって周波数の切り換えを行う
構造を備えている。このことによって周波数制御回路に
おけるクロック信号周波数の切り換えは常に一定の位相
でクロック信号幅を保証して行われる。
In order to avoid these situations and to switch the clock signals safely, the present invention synchronizes the signal φ2 for switching control with the clock signal φ1 in the flip-flop 503 when switching the clock signals. It has a structure for switching the frequency according to the resulting signal. As a result, the switching of the clock signal frequency in the frequency control circuit is always performed with the clock signal width guaranteed at a constant phase.

【0031】本実施例のキーボードシステムにおいては
クロック信号周波数の復帰は完全にハードウェアだけで
行われるので、キー入力からクロック再出力までに要す
る時間は最大で同期を取るために費やされる分周された
クロック信号の1クロックサイクルだけであり、また復
帰後通常のキー検知動作に戻るまでのソフトウェアでの
処理も図4のフローチャートに示すように、周波数制御
信号とカウンタをリセットするだけである。したがって
スリープモードでのキー入力も通常状態とほとんど変わ
らぬ早さでの入力され、従来のキーボードと変わらぬ使
用感が実現できる。
In the keyboard system of this embodiment, since the clock signal frequency is completely restored by hardware, the time required from key input to clock re-output is divided by the maximum frequency required for synchronization. It is only one clock cycle of the clock signal, and the processing by software after returning to the normal key detection operation is only resetting the frequency control signal and the counter as shown in the flowchart of FIG. Therefore, the key input in the sleep mode is almost as fast as in the normal state, and the usability similar to that of the conventional keyboard can be realized.

【0032】[0032]

【実施例3】実施例2で述べたキーボードシステムにお
いては、スリープモード時にマイクロプロセッサに供給
されるクロック信号の周波数は、消費電力の点からだけ
言えば低ければ低いほど良いことになる。しかし実際に
はきわめて低い周波数を用いる場合、分周回路の規模が
非常に大きくなってしまうことや、スリープモードから
の復帰に時間がかかってしまうなどの難点がある。これ
らの問題を解決し、さらに消費電力を一段と削減する方
法として、スリープモード時マイクロプロセッサに供給
するクロックの周波数を完全に0にしてしまう方法があ
る。
Third Embodiment In the keyboard system described in the second embodiment, the lower the frequency of the clock signal supplied to the microprocessor in the sleep mode is, the lower the power consumption is. However, in practice, when an extremely low frequency is used, the scale of the frequency dividing circuit becomes very large and it takes time to return from the sleep mode. As a method of solving these problems and further reducing the power consumption, there is a method of completely reducing the frequency of the clock supplied to the microprocessor in the sleep mode.

【0033】本実施例におけるキーボードシステムの基
本構成を図7に示す。実施例2の基本構成である図3の
周波数制御回路304をクロック信号制御回路704に
置き換えた構造になっている。スリープモード移行時マ
イクロプロセッサ701はクロック信号制御回路704
に対してクロック停止指令を発して、クロック信号φc
lk1のマイクロプロセッサ701に対する供給を停止
させる。
The basic configuration of the keyboard system in this embodiment is shown in FIG. The frequency control circuit 304 shown in FIG. 3, which is the basic configuration of the second embodiment, is replaced with a clock signal control circuit 704. At the time of transition to the sleep mode, the microprocessor 701 uses the clock signal control circuit 704.
To the clock signal φc
The supply of lk1 to the microprocessor 701 is stopped.

【0034】スリープモードに関するソフトウェアのフ
ローチャートを図8に示す。実施例2の図4フローチャ
ートの周波数低減指令をクロック信号停止指令に変わっ
た他はソフトウェア的には全て同一である。実施例2に
おいては周波数低減指令によってマイクロプロセッサ3
01に供給されているクロック信号φclk1の周波数
は低減され、プロセッサ301はその低減された駆動周
波数で次の割り込み待機命令を実行する構造となってい
た。
A software flow chart for the sleep mode is shown in FIG. The software is the same except that the frequency reduction command in the flowchart of FIG. 4 of the second embodiment is changed to the clock signal stop command. In the second embodiment, the microprocessor 3 is controlled by the frequency reduction command.
The frequency of the clock signal φclk1 supplied to 01 is reduced, and the processor 301 has a structure to execute the next interrupt waiting instruction at the reduced driving frequency.

【0035】一方図8のフローチャートにおいてクロッ
ク信号停止命令によって即座にクロック信号の供給を停
止してしまった場合、マイクロプロセッサ701の動作
はその状態で停止されてしまい、次の割り込み待機命令
を実行することができない。
On the other hand, in the flow chart of FIG. 8, when the supply of the clock signal is immediately stopped by the clock signal stop instruction, the operation of the microprocessor 701 is stopped in that state, and the next interrupt wait instruction is executed. I can't.

【0036】マイクロプロセッサはメモリからソフトウ
ェアを読み込み、CPUにおいて実行を行うが、プロセ
ッサがメモリにアクセスしている状態でクロック信号を
停止してしまった場合、メモリのチップセレクト端子は
アクティブ状態に固定されるため、メモリは動作状態が
継続されることになり大電流が流れてしまう。クロック
信号の停止はプロセッサのメモリや外部I/Oへのアク
セスが全く行われない状態で行われなくてはならない。
The microprocessor reads the software from the memory and executes it in the CPU. However, if the clock signal is stopped while the processor is accessing the memory, the chip select terminal of the memory is fixed to the active state. Therefore, the memory is kept in the operating state, and a large current flows. The clock signal must be stopped without access to the processor memory or external I / O.

【0037】この状態を作り出すために前述の割り込み
待機命令を利用することが有効である。割り込み待機命
令実行後は次の割り込みがあるまでプロセッサのメモリ
等へのアクセスは一切行われないため、この状態でクロ
ック信号を停止させれば、マイクロプロセッサの消費電
力を安全に低減することが可能である。
It is effective to use the above-described interrupt wait instruction to create this state. After executing the interrupt wait instruction, the memory of the processor is not accessed at all until the next interrupt, so stopping the clock signal in this state can safely reduce the power consumption of the microprocessor. Is.

【0038】図8のフローチャートに示したようにマイ
クロプロセッサ701からのクロック信号停止指令は割
り込み待機命令の以前に発せられる。クロック信号φc
lk1の停止は割り込み待機命令後に行われなくてはな
らないため、クロック信号制御回路704ではクロック
信号停止指令を受けてから一定の待ち時間を設けた後、
クロック信号φclk1を停止させる構造を備える必要
がある。
As shown in the flow chart of FIG. 8, the clock signal stop command from the microprocessor 701 is issued before the interrupt wait command. Clock signal φc
Since the stop of lk1 must be performed after the interrupt wait instruction, the clock signal control circuit 704 provides a certain waiting time after receiving the clock signal stop instruction,
It is necessary to have a structure for stopping the clock signal φclk1.

【0039】この待ち時間は長いほど安全ではあるが、
その分クロック信号の供給を停止するまでの時間がかか
り電力を無駄に消費することになる。本発明のキーボー
ドシステムにおいては最低限必要な待ち時間を計測し、
マイクロプロセッサ701が割り込み待機状態に移行し
た後、冗長な待ち時間なくクロック信号φclk1の供
給を停止させる構造を備える。
The longer this waiting time is, the safer it is,
Therefore, it takes time until the supply of the clock signal is stopped, and power is wasted. In the keyboard system of the present invention, the minimum required waiting time is measured,
The microprocessor 701 has a structure for stopping the supply of the clock signal φclk1 without a redundant waiting time after shifting to the interrupt waiting state.

【0040】本実施例のキーボードシステムにおけるク
ロック信号制御回路704の回路例を図9に示す。図9
において901はリセット機能を備えた立ち上がりエッ
ジ動作のカウンタを、902と903と904はセット
機能を備えた立ち上がりエッジ動作のフリップフロップ
をそれぞれ示す。図9の回路において待ち時間の計測に
はカウンタ901を用いる。
FIG. 9 shows a circuit example of the clock signal control circuit 704 in the keyboard system of this embodiment. Figure 9
Numeral 901 indicates a rising edge operation counter having a reset function, and numerals 902, 903 and 904 indicate rising edge operation flip-flops having a set function. A counter 901 is used to measure the waiting time in the circuit of FIG.

【0041】クロック信号停止指令が発せられてからプ
ロセッサが割り込み待機状態へ移行し終わるまでにどれ
だけの時間を要するかは、ソフトウェアの構成による。
クロック停止指令から割り込み待機命令までの実際のニ
ーモニックの例を図11に示す。図11において;の後
ろのサイクル数はマイクロプロセッサにおいて各命令が
実行されるために必要なクロック信号サイクル数を示
す。図11の例においてクロック停止指令が発せられた
後プロセッサが割り込み待機状態にはいるまでに必要な
クロック信号サイクル数は、最大6サイクルである。し
たがって冗長な待ち時間なく安全にクロックを停止させ
るためには、クロック信号制御回路はクロック停止指令
を受け取った後、クロック信号7サイクルの遅延を経て
クロックを停止すればよい。
How long it takes from the issuance of the clock signal stop command until the processor finishes shifting to the interrupt standby state depends on the software configuration.
FIG. 11 shows an example of actual mnemonics from the clock stop command to the interrupt wait command. In FIG. 11, the number of cycles after; indicates the number of clock signal cycles required for executing each instruction in the microprocessor. In the example of FIG. 11, the maximum number of clock signal cycles required for the processor to enter the interrupt standby state after the clock stop command is issued is 6 cycles at maximum. Therefore, in order to stop the clock safely without redundant waiting time, the clock signal control circuit may stop the clock after receiving the clock stop command and delaying the clock signal by 7 cycles.

【0042】図9の回路の動作を図10のタイミングチ
ャートを用いて説明する。図10においてからは各
状態を示すための番号である。通常時クロック制御信号
φstopはLレベルに固定されており、カウンタ90
1は停止状態にあり、φ2はLレベル、φ3およびφ4
はHレベルで、出力クロック信号φclk1は連続出力
を続けている。
The operation of the circuit of FIG. 9 will be described with reference to the timing chart of FIG. From FIG. 10, numbers are used to indicate each state. Normally, the clock control signal φstop is fixed to the L level, and the counter 90
1 is in a stopped state, φ2 is L level, φ3 and φ4
Is at the H level, and the output clock signal φclk1 continues to be continuously output.

【0043】スリープモード移行時、マイクロプロセッ
サからのクロック停止指令はクロック制御信号φsto
pをHレベルにすることによって伝えられる。制御信号
φstopがHレベルになるとカウンタ901はリセッ
トを解除されカウント動作を開始する(図10−)。
いまカウンタ901は立ち上がりエッジで動作し、入力
クロック信号7パルス毎に1パルスのクロック信号を出
力する構造とする。このような整数計測カウンタは例え
ば標準CMOSICである74HC161等を使えば簡
単に構成することができる。
When shifting to the sleep mode, the clock stop command from the microprocessor is the clock control signal φsto.
This is transmitted by setting p to H level. When the control signal φstop goes high, the counter 901 is released from reset and starts counting operation (FIG. 10-).
Now, the counter 901 operates on the rising edge and outputs a clock signal of 1 pulse for every 7 pulses of the input clock signal. Such an integer measuring counter can be easily constructed by using, for example, a standard CMOS IC 74HC161 or the like.

【0044】規定パルスを計測後φ1信号は立ち上が
り、この立ち上がりエッジによってφ3信号はLレベル
となる(図10−)。フリップフロップ904はクロ
ック信号の停止および再出力が原クロック信号に同期し
て行われるための同期回路として設けられている。実施
例2で述べたのと同様に、クロック信号の停止および再
出力においても、原クロック信号と同期を取って行うこ
とによって、これらの動作が安全に行われることが保証
される。φ3信号の値は原クロックの立ち下がり信号に
同期してφ4信号として現れ、φ4信号がLレベルにな
ることによって、マイクロプロセッサへのクロック信号
の供給は停止される。(図10−)。
After measuring the specified pulse, the φ1 signal rises, and the rising edge causes the φ3 signal to become L level (FIG. 10-). The flip-flop 904 is provided as a synchronizing circuit for stopping and re-outputting the clock signal in synchronization with the original clock signal. As in the second embodiment, by stopping and re-outputting the clock signal in synchronization with the original clock signal, these operations are guaranteed to be performed safely. The value of the φ3 signal appears as the φ4 signal in synchronization with the falling signal of the original clock, and when the φ4 signal becomes the L level, the supply of the clock signal to the microprocessor is stopped. (FIG. 10-).

【0045】上記に述べた例では図10のタイミングチ
ャートを見てもわかるようにマイクロプロセッサがクロ
ック信号停止指令を発してからクロック信号の停止まで
にちょうどクロック信号7パルス分の遅延が発生してお
り、マイクロプロセッサが割り込み待機状態に入った直
後にクロック信号の供給が停止されるという、理想的な
低電力化が行われることがわかる。
In the example described above, as can be seen from the timing chart of FIG. 10, a delay of exactly 7 pulses of the clock signal occurs from the time the microprocessor issues a clock signal stop command until the clock signal stops. Therefore, it can be seen that the ideal power reduction is achieved in which the supply of the clock signal is stopped immediately after the microprocessor enters the interrupt waiting state.

【0046】スリープモードからの復帰は実施例2に述
べたのと同様キーボード入力もしくはリセット信号が原
因となり、これらの割り込みによってハードウェア的に
瞬時に行われる。キー入力およびリセット信号からクロ
ック再出力までに要する時間は最大で原クロック信号1
サイクルであり、また復帰後通常のキー検知動作に戻る
までの処理も図8のフローチャートに示すように、クロ
ック制御信号とカウンタをリセットなので、キー入力動
作は通常時と差異なく行われる。
The return from the sleep mode is caused by a keyboard input or a reset signal as described in the second embodiment, and is instantaneously performed by hardware by these interrupts. The maximum time required from key input and reset signal to clock re-output is the original clock signal 1
Since the clock control signal and the counter are reset as shown in the flow chart of FIG. 8, the key input operation is performed in the same manner as the normal operation.

【0047】[0047]

【実施例4】現在1チップマイコンの大部分は2V程度
の低電圧でも動作が可能であり、そのときの消費電力は
通常の5V動作時に比べて非常に低いものになる。しか
しキーボードシステムだけを低電圧で駆動させた場合、
メインシステムとの通信にレベル変換回路が必要となっ
たり、また低電圧駆動時は駆動周波数に制限があり、十
分な動作速度を期待できない等の理由から通常時キーボ
ードシステムの電源電圧を低下させることには問題があ
る。
[Embodiment 4] Currently, most of the one-chip microcomputers can operate even at a low voltage of about 2V, and the power consumption at that time is much lower than that during normal 5V operation. However, if only the keyboard system is driven at low voltage,
To reduce the power supply voltage of the normal keyboard system because a level conversion circuit is required for communication with the main system, and the drive frequency is limited when driving at low voltage, and a sufficient operating speed cannot be expected. Has a problem.

【0048】しかしスリープモードにおいてはメインシ
ステムとの通信は行われず、また高いクロック周波数で
動作する必要もないので電源電圧を低下させて、消費電
力の削減を図ることが有効である。
However, since communication with the main system is not performed in the sleep mode and it is not necessary to operate at a high clock frequency, it is effective to reduce the power supply voltage to reduce power consumption.

【0049】本実施例におけるキーボードシステムの基
本構成を図12に示す。図12において1204は電圧
制御回路を、φvccは電圧制御信号を、Voutはマ
イクロプロセッサおよび発振回路他キーボードシステム
全体に供給される電源電圧を示す。
The basic configuration of the keyboard system in this embodiment is shown in FIG. In FIG. 12, 1204 is a voltage control circuit, φvcc is a voltage control signal, and Vout is a power supply voltage supplied to the entire keyboard system such as the microprocessor and the oscillation circuit.

【0050】スリープモード移行時電源電圧を低下させ
る仕組みは請求項2で述べたクロック周波数を低減させ
る方法とほぼ同じである。スリープモード移行時マイク
ロプロセッサ1201は全ての走査ライン列1206を
Lレベルに設定した後、電源電圧低減指令を電圧制御回
路1204へ送信し、割り込み待機命令を発して、自身
が割り込み待機状態となる。
The mechanism for lowering the power supply voltage when shifting to the sleep mode is almost the same as the method for reducing the clock frequency described in claim 2. Upon entering the sleep mode, the microprocessor 1201 sets all the scanning line columns 1206 to the L level, then transmits a power supply voltage reduction command to the voltage control circuit 1204, issues an interrupt standby command, and enters the interrupt standby state itself.

【0051】電圧制御回路1204の回路例を図13に
示す。図13において1301は降圧回路を、1302
と1303は逆流防止用のダイオードを、1304はア
ナログスイッチを、1305はコンデンサを、Vhig
hは定常状態での電源電圧を、Vlowは低電圧をそれ
ぞれ示す。スリープモード移行時マイクロプロセッサか
らの電圧降下指令は電圧制御信号φvccをHレベルに
することによって伝えられる。φvccがHレベルにな
ると同時に1306の出力もHレベルとなり、アナログ
スイッチ1304が切り替わる。
FIG. 13 shows a circuit example of the voltage control circuit 1204. In FIG. 13, reference numeral 1301 denotes a step-down circuit 1302.
And 1303 are diodes for backflow prevention, 1304 is an analog switch, 1305 is a capacitor, and Vhigh is
h indicates a power supply voltage in a steady state, and Vlow indicates a low voltage. The voltage drop command from the microprocessor at the time of transition to the sleep mode is transmitted by setting the voltage control signal φvcc to the H level. At the same time that φvcc becomes H level, the output of 1306 also becomes H level, and the analog switch 1304 switches.

【0052】降圧回路1301はVccから低電圧を作
り出すもので、DC−DCコンバータや三端子レギュレ
ータなどが利用できる。コンデンサ1305は切り換え
時のVoutの低下を防ぐために設けてあり、値が大き
いほど遅いスイッチングでも安定である。一方スイッチ
切り換え時のVoutの変化の時定数はこのコンデンサ
1305とキーボードシステム側の入力抵抗との積によ
って決まる。スリープモード移行時はともかく、復帰時
にはメインシステムとの通信が始まる以前に定常電圧に
戻ることが要求されるので、コンデンサ1305の値は
小さいほど良い。これらの事項を考慮にいれてコンデン
サ1305の値を選ぶ必要がある。。
The step-down circuit 1301 produces a low voltage from Vcc, and a DC-DC converter or a three-terminal regulator can be used. The capacitor 1305 is provided to prevent a decrease in Vout at the time of switching, and the larger the value, the more stable the slow switching. On the other hand, the time constant of the change in Vout when the switch is switched is determined by the product of this capacitor 1305 and the input resistance on the keyboard system side. Regardless of the transition to the sleep mode, it is required to return to the steady voltage before the communication with the main system is resumed at the time of restoration. Therefore, the smaller the value of the capacitor 1305, the better. It is necessary to select the value of the capacitor 1305 in consideration of these matters. .

【0053】スリープモードからの復帰も実施例2に述
べた方法と同様であり、電源電圧のもとの値への復帰は
キーボード入力φkbもしくはリセット信号φrstに
よってハードウェア的に行われ、その後φvccの値は
次回のスリープモード移行に備えてリセットされる。
The return from the sleep mode is similar to the method described in the second embodiment, and the return of the power supply voltage to the original value is performed by hardware by the keyboard input φkb or the reset signal φrst, and then the φvcc The value is reset in preparation for the next sleep mode transition.

【0054】電源電圧を低減させることで、マイクロプ
ロセッサの動作可能周波数が低下し、原クロック信号φ
0では駆動ができなくなる事態が起こりうる。この場合
は本実施例に実施例2もしくは実施例3を組み合わせる
事で、マイクロプロセッサに供給されるクロック信号の
周波数を下げることで対処が可能である。
By reducing the power supply voltage, the operable frequency of the microprocessor is lowered and the original clock signal φ
At 0, a situation in which driving cannot be performed may occur. In this case, it is possible to deal with the problem by reducing the frequency of the clock signal supplied to the microprocessor by combining the present embodiment with the second or third embodiment.

【発明の効果】本発明のキーボードシステムを用いるこ
とで、従来と全く変わらぬ使用感を実現しながら、非使
用時の電力消費をきわめて低いものに抑えることが可能
になる。
EFFECTS OF THE INVENTION By using the keyboard system of the present invention, it is possible to realize a feeling of use that is completely the same as the conventional one and to suppress the power consumption when not in use to an extremely low level.

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

【図1】実施例1のブロック図である。FIG. 1 is a block diagram of a first embodiment.

【図2】実施例1におけるソフトウェアのフローチャー
トである。
FIG. 2 is a flowchart of software in the first embodiment.

【図3】実施例2のブロック図である。FIG. 3 is a block diagram of a second embodiment.

【図4】実施例2におけるソフトウェアのフローチャー
トである。
FIG. 4 is a flowchart of software according to the second embodiment.

【図5】周波数制御回路の回路図の例である。FIG. 5 is an example of a circuit diagram of a frequency control circuit.

【図6】図5の回路のタイミングチャートである。FIG. 6 is a timing chart of the circuit of FIG.

【図7】実施例3のブロック図である。FIG. 7 is a block diagram of a third embodiment.

【図8】実施例3におけるソフトウェアのフローチャー
トである。
FIG. 8 is a flowchart of software according to the third embodiment.

【図9】クロック信号制御回路の回路図の例である。FIG. 9 is an example of a circuit diagram of a clock signal control circuit.

【図10】図9の回路のタイミングチャートである。10 is a timing chart of the circuit of FIG.

【図11】スリープモード移行時のソフトウェアのニー
モニックの例である。
FIG. 11 is an example of a software mnemonic when shifting to a sleep mode.

【図12】実施例4のブロック図である。FIG. 12 is a block diagram of a fourth embodiment.

【図13】電圧制御回路の回路図の例である。FIG. 13 is an example of a circuit diagram of a voltage control circuit.

【図14】キー入力検知方法の説明図である。FIG. 14 is an explanatory diagram of a key input detection method.

【符号の説明】[Explanation of symbols]

101 マイクロプロセッサ 102 キーマトリクス 105 発振回路 304 周波数制御回路 704 クロック信号制御回路 1204 電圧制御回路 φclk0 原クロック信号 φclk1 プロセッサへ供給される駆動クロック信号 φkb キーボード割り込み信号 φrst リセット信号 φfrq 周波数制御信号 φstop クロック制御信号 φvcc 電圧制御信号 101 Microprocessor 102 Key matrix 105 Oscillation circuit 304 Frequency control circuit 704 Clock signal control circuit 1204 Voltage control circuit φclk0 Original clock signal φclk1 Drive clock signal supplied to the processor φkb Keyboard interrupt signal φrst Reset signal φfrq Frequency control signal φstop Clock control signal φvcc voltage control signal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 マトリクス状に配列された走査ラインと
検知ラインとの各交点箇所に両ラインを導通し得るよう
に配置された多数個のキースイッチを備え、該キースイ
ッチへの入力を検知するため専用のマイクロプロセッサ
及び該プロセッサへの駆動クロック信号を供給するため
の回路を備えるキーボードシステムにおいて、さらに最
後のキー入力がなされてからの時間を計測する手段、お
よび常時キー入力の有無を検知する手段を備え、通常時
はキー入力検知動作を連続して行い、一定時間キー入力
がなされなかった場合にはマイクロプロセッサを低消費
電力状態に移行させ、該状態においてキー入力がなされ
た場合、通常状態へ復帰してキー入力検知動作を再開す
る構造を備えることを特徴とするキーボードシステム。
1. A plurality of key switches arranged so that both lines can be conducted at each intersection of a scanning line and a detection line arranged in a matrix, and an input to the key switch is detected. Therefore, in a keyboard system including a dedicated microprocessor and a circuit for supplying a drive clock signal to the processor, a means for measuring the time after the last key input is made, and the presence or absence of constant key input is detected. Means for continuously performing a key input detection operation in a normal time, when the key input is not made for a certain period of time, the microprocessor shifts to a low power consumption state, and when the key input is made in the state, A keyboard system having a structure for returning to a state and restarting a key input detection operation.
【請求項2】 請求項1のキーボードシステムにおい
て、マイクロプロセッサを駆動するクロック信号の周波
数を制御する回路を備え、低消費電力状態移行時に駆動
クロック信号の周波数を低下させ、該状態でキー入力が
なされた場合、直ちに周波数をもとの値に戻すととも
に、キー入力検知動作を再開する構造を備えることを特
徴とするキーボードシステム。
2. The keyboard system according to claim 1, further comprising a circuit for controlling a frequency of a clock signal for driving the microprocessor, wherein the frequency of the drive clock signal is lowered at the time of transition to a low power consumption state, and key input is performed in the state. A keyboard system characterized by having a structure for immediately returning the frequency to the original value and restarting the key input detection operation when made.
【請求項3】 請求項1のキーボードシステムにおい
て、マイクロプロセッサを駆動するクロック信号の供給
を制御する回路を備え、低消費電力状態移行時にマイク
ロプロセッサがメモリ等のアクセスがない状態にした
後、駆動クロック信号の供給を停止させ、該状態でキー
入力がなされた場合、直ちにクロック信号の供給を再開
すると同時に、キー入力検知動作を再開する構造を備え
ることを特徴とするキーボードシステム。
3. The keyboard system according to claim 1, further comprising a circuit for controlling the supply of a clock signal for driving the microprocessor, which is driven after the microprocessor has made no access to a memory or the like when transitioning to a low power consumption state. A keyboard system comprising a structure for stopping the supply of a clock signal, and when a key input is made in this state, immediately restarts the supply of the clock signal and restarts the key input detection operation.
【請求項4】 請求項1のキーボードシステムにおい
て、マイクロプロセッサおよびクロック供給回路に供給
する電源電圧を制御する回路を備え、低消費電力状態移
行時に電源電圧の値を低下させ、該状態でキー入力がな
された場合、電源電圧をもとの値に戻すとともに、キー
入力検知動作を再開する構造を備えることを特徴とする
キーボードシステム。
4. The keyboard system according to claim 1, further comprising a circuit for controlling a power supply voltage supplied to a microprocessor and a clock supply circuit, wherein the value of the power supply voltage is lowered at the time of transition to a low power consumption state, and key input is performed in that state. A keyboard system having a structure for returning the power supply voltage to the original value and restarting the key input detection operation when the operation is performed.
JP5119362A 1993-04-23 1993-04-23 Keyboard system Pending JPH06309280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5119362A JPH06309280A (en) 1993-04-23 1993-04-23 Keyboard system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5119362A JPH06309280A (en) 1993-04-23 1993-04-23 Keyboard system

Publications (1)

Publication Number Publication Date
JPH06309280A true JPH06309280A (en) 1994-11-04

Family

ID=14759624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5119362A Pending JPH06309280A (en) 1993-04-23 1993-04-23 Keyboard system

Country Status (1)

Country Link
JP (1) JPH06309280A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011128763A (en) * 2009-12-16 2011-06-30 Nec Corp Clock controller, cellphone terminal, clock control method and program
JP2013200687A (en) * 2012-03-23 2013-10-03 Lapis Semiconductor Co Ltd Clock output control circuit, semiconductor device, electronic device, and clock output control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011128763A (en) * 2009-12-16 2011-06-30 Nec Corp Clock controller, cellphone terminal, clock control method and program
JP2013200687A (en) * 2012-03-23 2013-10-03 Lapis Semiconductor Co Ltd Clock output control circuit, semiconductor device, electronic device, and clock output control method

Similar Documents

Publication Publication Date Title
US5546568A (en) CPU clock control unit
US7681057B2 (en) Power management of non-volatile memory systems
EP0229692B1 (en) Data processing apparatus
JP2762670B2 (en) Data processing device
US5428790A (en) Computer power management system
US6016548A (en) Apparatus for controlling duty ratio of power saving of CPU
EP0426410B1 (en) Real-time power conservation for portable computers
US6775784B1 (en) Power supply control circuit and method for cutting off unnecessary power to system memory in the power-off state
KR920002754B1 (en) Microcomputer w/power saving function
TW413753B (en) Method and apparatus for power management in a multifunction controller with an embedded microcontroller
US5964881A (en) System and method to control microprocessor startup to reduce power supply bulk capacitance needs
EP1742143A1 (en) Method and system for power consumption management, and corresponding computer program product
JP3789792B2 (en) Portable computer system and control method thereof
JP3782361B2 (en) System LSI
EP0655673B1 (en) Clock distribution control circuit for conserving power in computer systems
US8423802B2 (en) Power scaling module and power scaling unit of an electronic system having a function unit in a standby state which is insensitive to change in frequency or voltage during synchronization
US6851065B2 (en) System and method for executing resume tasks during a suspend routine
JPH07295694A (en) Power saving method for arithmetic processor
JPH06309280A (en) Keyboard system
JPH0594226A (en) Clock switching system
US5594895A (en) Method and apparatus for switching between clock generators only when activity on a bus can be stopped
JPH0883133A (en) Computer system and clock control method for the same
JPH086661A (en) Computer system
KR0150752B1 (en) Power operating system
JP3302149B2 (en) Computer system