JPS59146324A - Power saving microcomputer device - Google Patents

Power saving microcomputer device

Info

Publication number
JPS59146324A
JPS59146324A JP58020973A JP2097383A JPS59146324A JP S59146324 A JPS59146324 A JP S59146324A JP 58020973 A JP58020973 A JP 58020973A JP 2097383 A JP2097383 A JP 2097383A JP S59146324 A JPS59146324 A JP S59146324A
Authority
JP
Japan
Prior art keywords
power
cpu
specific code
processing unit
central processing
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
JP58020973A
Other languages
Japanese (ja)
Inventor
Toshiaki Inui
乾 敏明
Yoshiharu Nagahara
長原 義治
Yoshiaki Daimatsu
大松 良明
Naomi Nakayama
中山 直巳
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58020973A priority Critical patent/JPS59146324A/en
Publication of JPS59146324A publication Critical patent/JPS59146324A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Abstract

PURPOSE:To realize a low-power consumption computer device by determining whether the initializing processing should be executed or not in accordance with contents in a specific address of an RAM to discriminate surely and stably the power supply to the whole of the system due to a main switch and the restart of the power supply to a part of the system. CONSTITUTION:The device is so constituted that a switch circuit 4 is switched to the operation state of a CPU 5 when an auxiliary memory 11 is set and the memory 11 is reset when the CPU 5 completes the operation. In case of the execution of a prescribed processing, it is discriminated whether contents in a specific address of an RAM 7 are a specific code other than all bits ''1'' or ''0'' or not; and if they are not specific code, turning-on of a main switch 2 is recognized to execute the initializing processing such as the write of the specific code to the specific address or the like. If they are the specific code, the operation restart indication due to switching of the circuit 4 is recognized to execute the prescribed processing without executing the initializing processing.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は省電力タイプのマイクロコンピュータ装置kに
関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a power-saving type microcomputer device k.

従来例の構成とその間鴇点 マイクロコンピュータ装置においては、一般に所望の仕
事をしている時間は、その+i:事の指示待ちを17で
いる時間に比べて極めて小さい。例えば、キーボードよ
りデータを入力する場合を考えると、人がキーを押して
所定のデータを入力する時間間隔で、マイクロコンピュ
ータ装置がそれを処理する時間との比は数百倍に達する
ことがある。マイクロコンピュータ装置が央際に仕事を
する時間ば、その仕事の指示待ちをしている1寺間の数
百分の1の非常に短い時間になる。
In a conventional microcomputer system, the time spent performing a desired task is generally extremely small compared to the time spent waiting for instructions. For example, when inputting data from a keyboard, the ratio of the time interval for a person to press a key and input predetermined data to the time for a microcomputer to process it can reach several hundred times. When a microcomputer is working in the middle of the day, the time it takes is a few hundredths of the time it takes to wait for instructions for that work.

ところで従来より使用されているマイクロコンピュータ
装置は、所要の仕事をしている時間は勿論のこと、その
仕事の指示待ちをしている時間にも常時通電されている
ため、その電力消費を考えること、上記指示待ちをして
いる時間VCオいて大きな′は力を浪費している。
By the way, the microcomputer devices that have been used in the past are constantly energized not only when they are performing the required work, but also when they are waiting for instructions for that work, so it is important to consider their power consumption. , the time spent waiting for the above-mentioned instruction is wasted due to the large value of VC.

また、半縛体技術の進歩は低消費電力のC−MOSを牛
み出しているが、中央演算処理装置〔以下、CPUと称
す〕のC−MOs化は難しく、従来のN−MOSのCP
Uに比べて高価である。
In addition, advances in semi-constrained body technology have led to the development of C-MOS with low power consumption, but it is difficult to convert central processing units (hereinafter referred to as CPUs) to C-MOS, and conventional N-MOS C-MOS
It is more expensive than U.

な〉、CPUの電源をCPUの命令およびキーボードの
キー人力検出回路により0N−OFFする技術が公開特
杵公報昭57−17042に開示されている。
Furthermore, a technique for turning the power supply of the CPU ON and OFF using CPU commands and a keyboard key force detection circuit is disclosed in Japanese Patent Publication No. 17042/1987.

これは、CPUの電源を制御する電源制御回路の制御対
象でない記憶素子をフラグとして、メインスイッチによ
るパワーオンと電源制御回路のオン作動とを判別する方
式を採っている。前記フラグは、1ピツトの記憶素子、
すなわち、フリップ70ツブで構成されており、雑音等
で誤動作し易いものである。もしもこのフラグが誤動作
すれば、メインスイッチのパワーオンをCPUのオンと
誤認する場合と、CPUのオンをメインスイッチによる
パワーオンを誤認する場合とが生じる。前者の場合には
、システム全体のリセット等の初期化をCPUが実施せ
ずに特定プログラムの実行に入るため、システム全体が
誤動作や暴走を起す、後者の場合には、r−タ入力中な
ど所望の演算を行っているにもかかわらずシステム全体
がリセットされてしまい、実施中の演算やメモリ中のデ
ータやプログラムが総て消去されてしまう事態が発生す
る。従ってメインスイッチによるパワーオンとCPUの
運転再開指示によるオン動作とを確実に、しかも安定に
識別できるものが求められているのが現状である。
This method uses a memory element that is not controlled by a power supply control circuit that controls the power supply of the CPU as a flag to determine whether power is turned on by the main switch or whether the power supply control circuit is turned on. The flag is a 1-pit storage element,
That is, it is composed of 70 flips and is prone to malfunction due to noise and the like. If this flag malfunctions, there will be cases where power-on of the main switch is mistakenly recognized as power-on of the CPU, and cases where power-on of the CPU is mistakenly recognized as power-on by the main switch. In the former case, the CPU starts executing a specific program without initializing the entire system, such as resetting it, causing the entire system to malfunction or run out of control. A situation may occur in which the entire system is reset even though the desired calculation is being performed, and all the calculations being performed and the data and programs in the memory are erased. Therefore, there is currently a need for something that can reliably and stably distinguish between power-on by the main switch and a power-on operation by an instruction to resume operation of the CPU.

発明の目的 本発明はメインスイッチによるシステム全体への通電と
システムの一部への通′電の再開とを確実に、しかも安
定に判別できる省電力マイクロコンピュータ装置を提供
することを目的とする。
OBJECTS OF THE INVENTION It is an object of the present invention to provide a power-saving microcomputer device that can reliably and stably determine whether a main switch is to energize the entire system or to resume energizing a part of the system.

発明の構成 本発明の省電力マイクロコンピュータ装置は、中央演算
処理装置を含む部分的回路の電力消費を切換えるスイッ
チ回路と、前記中央演算処理装置によって命“Cみ書き
されるスタテック型ランダムアクセスメモリと、キーボ
ードからのキー人力または周辺機器からの割込み信号に
よってセットされ前記中央演算処理装置によりリセット
される補助メモリとを設け、補助メモリがセット状態の
時に前記スイッチ回路が中央演算処理装置運転状態に切
換わ少、中央演算処理装昨動作完了時に、前記補助−メ
モリをリセットするよう構成し、かつ前記中央演算処理
装置を、所定の処理の実行に際して前記ランダムアクセ
スメモリの特定番地の内容が全ビットが11mまたはI
O2でない特定コードか否かを判定して、特定コードで
ない場合にはメインスイッチのオンと認識して前記特定
番地への特定コードの書き込み等の初期化処理を実行し
、特定コードである場合には中央演躊”処理装置への運
転再開指示と認識して初期化処理を実行せずに前記所定
の処理を実行するよう構成したことを特徴とする。
Structure of the Invention The power-saving microcomputer device of the present invention includes a switch circuit that switches the power consumption of a partial circuit including a central processing unit, and a static random access memory that is written with a command “C” by the central processing unit. , and an auxiliary memory that is set by a key input from a keyboard or an interrupt signal from a peripheral device and reset by the central processing unit, and when the auxiliary memory is in the set state, the switch circuit switches to the central processing unit operating state. However, the auxiliary memory is configured to be reset when the central processing unit completes its previous operation, and the central processing unit is configured to reset the auxiliary memory when the central processing unit completes a predetermined operation. 11m or I
It determines whether or not it is a specific code other than O2, and if it is not a specific code, it recognizes that the main switch is on and executes initialization processing such as writing a specific code to the specific address. The present invention is characterized in that it is configured to recognize an instruction to restart operation of the central algorithm processing unit and execute the predetermined process without executing the initialization process.

一般にメモリ(フリップフロップを含ム)ハ、その電源
がオンになった時のデータは不定である。
Generally, the data in memory (including flip-flops) is undefined when the power is turned on.

このため、マイクロコンピュータ装置のシステム全体の
電源オンの場合、各メモリヘ一定のデータ(多くは、オ
ール′01.すなわちクリア)を書き込み、以降の動作
に対する初期化が行われる。フリップフロップは、電源
オン時の記憶データが、1 () lになるか111に
なるかが統計的に一定しないことが確認さ−Iq−てい
るが、C−MOSのスタテック型ランダムアクセスメモ
リの場合には統計的に記憶データが全ビット“lWまた
は1o1になる場合がほとんどであることが確認これて
いる。そこで、本発明はこの事実に着目して成されたも
のであって、システムのランダムアクセスメモリをスタ
テック型にして、メインスイッチのオン時に1つ以上の
特定番地に全ビットが1′や”0−でない特定コード〔
例えば、8ビツトの場合に”01011010’ (Z
)5A 、’10110100”(2)B4など〕を曹
き込/しで、この特定番地の内容が特定コードか否かに
よってスイッチ回路を切換えて省′亀力化するものであ
る、 実施例の説明 以下、本発明の一実施例を図面に基づいて説明する。
Therefore, when the power of the entire microcomputer system is turned on, certain data (mostly all '01', ie, clear) is written into each memory to initialize for subsequent operations. It has been confirmed that it is statistically not constant whether the stored data of a flip-flop is 1()l or 111 when the power is turned on. It has been statistically confirmed that in most cases, all bits of stored data are "lW" or "1o1".The present invention was made by focusing on this fact, and the system Random access memory is static type, and when the main switch is turned on, a specific code with all bits that are not 1' or 0- is written to one or more specific addresses.
For example, in the case of 8 bits, “01011010” (Z
) 5A, '10110100' (2) B4, etc.), and the switch circuit is switched depending on whether the content of this specific address is a specific code or not, thereby reducing the amount of effort required. DESCRIPTION Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1ダにおいて、(1)は電池等の電源、(2)は電源
(1)とシステムの電源回路(3)との間に設けられシ
ステム全体への通dをオン−オフする手動のメインスイ
ッチである。前記システムの電源回路(3)はシステム
全体への給電を行う定電圧電源回路で構成    1J
:hf>り・1m :1ti−+ −h’ 、2 a゛
s”1゛−1ドとの2つのモードを有し、このモードは
スイッチ回路(4)の制御信号によりCPU(5)等へ
の通電と同    □時に大電流出力モードへ切換えら
れる。これはCPU (5)等がオフしてい乙時の定゛
電圧回路(3)での消費電力を最小にするためである。
In the first stage, (1) is a power source such as a battery, and (2) is a manual main that is installed between the power source (1) and the system power circuit (3) and turns on and off the communication to the entire system. It's a switch. The power supply circuit (3) of the system consists of a constant voltage power supply circuit that supplies power to the entire system. 1J
:hf>ri・1m :1ti-+-h', 2a's"1'-1 de. This mode is controlled by the control signal of the switch circuit (4), and the CPU (5) etc. At the same time as □ is energized, the mode is switched to high current output mode.This is to minimize the power consumption in the constant voltage circuit (3) when the CPU (5) etc. are off.

また、前記スイッチ回路(4)は電源回路(3)の出力
ラインQ□□□に一端が接続されており、他端はCPU
(5)だけでなくリードオンリメモリ〔以下、ROMと
称す〕(6)の電源端子にも接続されており、CP U
 (5)とROM (5)への通電をオン−オフする。
Further, one end of the switch circuit (4) is connected to the output line Q□□□ of the power supply circuit (3), and the other end is connected to the CPU
It is connected not only to (5) but also to the power supply terminal of read-only memory (hereinafter referred to as ROM) (6), and the CPU
(5) and ROM (5) are turned on and off.

ここでCP U t5)はN −M OS  型のもの
で、データバス05)、アドレスバスEPJおよびコン
トロールバスOηにより、メモリや周辺機器とデータの
授受を行ってシステム全体を制御する。前記ROM (
6)もIJ−MOS型で、CP U (5ンを制御する
プログラムが内蔵されており、各パスラインを介してC
PU制御される。(力はシステムランダムアクセスメモ
リ〔以下、RAMと称す〕でスタテック型C−MOSラ
ンダムアクセスメモリで構成されており、前記電源ライ
ンU〜より常時通電されると共に、CP U(51の制
御下に各パスラインを介してデータの読み/#きが行わ
れる。(8)はキーボードで、アドレスバス1161に
よりスキャンされてその結果はデータバy、 !151
 k介1.テcPU(51へ伝送す1−c−1CPTJ
(51’t’キ一操作が検出される。(9)はキーボー
ド(8)の何れかのキーが操作されたことを検知するキ
ー人力検知回路で、この検知出力(a)はOR回路GO
を介してメモ1月11+のセット端子に入力されてこの
メモIJ 1ll)をセットする。なお、このメモリ(
11)はD型フリップフロップで構成されており、デー
タバス;15)の特定ラインD。をD入力とし、アドレ
スレコーダ製よりのセレクト信号をクロック入力として
、セレクト信号が生じた時に前記特定ラインD。上のデ
ータを読み込む。すなわち、CPU制御によってメモ1
月I11へデータを書き込めるよう構成されている。一
方、前述のように、このメモ1月Illはセット入力を
もっていて、ORゲートσ()の出力に接続されて込る
Here, the CPU t5) is of the N-MOS type, and controls the entire system by exchanging data with memory and peripheral devices via a data bus 05), an address bus EPJ, and a control bus Oη. Said ROM (
6) is also an IJ-MOS type and has a built-in program to control the CPU (5), and the CPU is connected via each pass line.
PU controlled. (The system random access memory (hereinafter referred to as RAM) is composed of a static C-MOS random access memory, is constantly energized from the power supply line U, and is controlled by the CPU (51). Data is read/written via the pass line. (8) is the keyboard, which is scanned by the address bus 1161 and the result is the data byte, !151
k-suke 1. 1-c-1CPTJ transmitted to TE cPU (51)
(51 't' key operation is detected. (9) is a key human power detection circuit that detects that any key on the keyboard (8) has been operated, and this detection output (a) is sent to the OR circuit GO.
is input to the set terminal of the memo 11+ via the memo IJ1ll). Note that this memory (
11) is composed of a D-type flip-flop, and a specific line D of the data bus; 15). is the D input, and the select signal from the address recorder is the clock input, and when the select signal is generated, the specific line D is input. Load the above data. In other words, memo 1 is stored under CPU control.
It is configured so that data can be written to the month I11. On the other hand, as mentioned above, this memo January Ill has a set input and is connected to the output of the OR gate σ().

メモ1月11)の出力(b)がスイッチ回路(4)の前
述の制御信号となると共に、CPU (51のリセット
信号を発生する巣安定マルチバイブレータ(13)とN
ORゲート04)の一方の入力に接続されている。マル
チバイブレータ03)の出力(C)はNORゲートG4
1の他方の人力に接続さnている。NORゲート(14
7)出力(d)はCPU(5)C)リセット端子に接続
されている。
The output (b) of the memo January 11) becomes the aforementioned control signal for the switch circuit (4), and the nest stabilizing multivibrator (13) that generates the reset signal for the CPU (51) and N
It is connected to one input of the OR gate 04). The output (C) of multivibrator 03) is NOR gate G4
1 is connected to the other human power. NOR gate (14
7) Output (d) is connected to the CPU (5) C) reset terminal.

な訃、前記ORゲート(1αの入力にはキー人力検知回
路(9)出力の他に周辺機器からの割込み46号a9+
が供給されている。
In addition to the key human power detection circuit (9) output, the input of the OR gate (1α) also receives interrupts from peripheral devices, No. 46 a9+.
is supplied.

また、メインスイッチ(2)をオンした際には、自動的
に割込み信号H)が発生してメモIJ flllをセッ
トするか、またはメモIJ (11+自身が復電を検知
して自動的にセットされるように構成されている。
Also, when the main switch (2) is turned on, an interrupt signal H) is automatically generated and the memo IJ full is set, or the memo IJ (11+ itself detects the power restoration and sets it automatically). is configured to be

次に動作を説明する。Next, the operation will be explained.

第2図は第1図の要部(a)〜(e)のタイミングチャ
ートを示し、(e)はCPU(51とROM((3)の
電源ラインノ波形図である。例えば、キーボード(8)
の任意のキーを操作すると、キー人力検知回路(9)の
検知出力(a)が論理レベル′11に立ち上がり、この
信号がメモリ(11)に読み込まれて出力(b)が論理
レベルj11→′01に反転し、単安定マルチバイブレ
ータ(13)が動作を開始して出力(C)が立ち上がっ
て論liレベル111になる。出力(b)と(C)とを
入力するN ORゲート圓の出力(d)は(1)) =
 ’0” 、(C)= ”1”のため(d)=10′と
なる。出力((1)が論理レベル°O′になると、スイ
ッチ回路(4)がオンして第2図(e)のようにCPU
(5)やROM(61へ通電が開始される。しかし、C
PU(5)のリセット端子に電力nされているNORゲ
ートt+41の出力(d)は論j里レベルlOIのまま
なので、即ち、CPU (51がリセットされた捷まな
ので、CPU(51は、棟だ動作を開始していない。単
安定マルチバイブレータ(13)の出カブバ一定時間を
後に論理レベル111→101に反転すると、(b)=
101で(C)=″o’となるので、(cl) = ’
 1 ’となり、CP U (5)のリセットが解除さ
れ、CP U (51f+: %j作を開始して第3図
のフローチャートで示す動作を行う。CPU(5)向背
のリセット処理(イ)の終了後、ItAM(71内の特
定番地(WARMI)に”5A’ (16進)という8
ビツトコードが記憶されているかをチェック(ロ)し、
チェック(ロ)でW A、RMφ〆5Aと判定された場
合にはコールドスタート、即ち、システム全体の初期化
処理(ハ)がイアわれ、チェック(ロ)でWARMφ=
5Aと判定された場合には念のためRAM(7)のもう
1つの特定番地(WARMI)のデータが”B4’ (
16進)であるか否かをチェック(ロ)する。チェック
に)でWARM l〆B4の場合には前記初期化処理(
ハ)を実行し、チェックに)でWA、RMl=B4  
の場合にはWARM 5TART処理(ホ)を実行する
FIG. 2 shows a timing chart of main parts (a) to (e) of FIG. 1, and (e) is a waveform diagram of the power supply line of the CPU (51) and ROM ((3).
When any key is operated, the detection output (a) of the key human force detection circuit (9) rises to the logic level '11, this signal is read into the memory (11), and the output (b) changes to the logic level j11→' 01, the monostable multivibrator (13) starts operating, and the output (C) rises to logic level 111. The output (d) of the NOR gate which inputs the outputs (b) and (C) is (1)) =
'0', (C) = '1', so (d) = 10'. When the output (1) reaches the logic level °O', the switch circuit (4) is turned on and as shown in Fig. 2 (e ) as in CPU
(5) and ROM (61).However, C
The output (d) of the NOR gate t+41, which is supplied with power to the reset terminal of the PU (5), remains at logic level lOI, that is, since the CPU (51) is at the reset terminal, the CPU (51 is However, the output voltage of the monostable multivibrator (13) is reversed from logic level 111 to 101 after a certain period of time, and (b) =
101, (C) = "o", so (cl) = '
1', the reset of the CPU (5) is released, and the CPU (51f+) starts the %j operation and performs the operation shown in the flowchart in Figure 3.The reset process (a) for the CPU (5) After completion, it is 8 called “5A” (hexadecimal) in the specific address (WARMI) in ItAM (71).
Check if the bit code is stored (b),
If the check (b) determines that W A, RMφ〆5A, a cold start, that is, the initialization process (c) of the entire system is performed, and the check (b) determines that WARMφ=
If it is determined to be 5A, just to be safe, the data at another specific address (WARMI) in RAM (7) is changed to “B4” (
Check (b) whether it is (hexadecimal). In the case of WARM l〆B4, the initialization process (
Execute c) and check) WA, RMl=B4
In this case, WARM 5TART processing (e) is executed.

初期化処理(ハ)では、システム内のメモリ等の初期化
(クリア)とRAM(7)の特定番地(WARMI)。
In the initialization process (c), the memory in the system is initialized (cleared) and a specific address (WARMI) of RAM (7) is set.

(WARMI)  へそれぞれ特定コード15A“ g
 134#を書き込んだ後、WARM S’rART処
理(ホ)を実行する。
(WARMI) to each specific code 15A “g
After writing 134#, WARM S'rART processing (e) is executed.

WARM 5TART 処理(ホ)では、RAM(7)
に退避していたスタックポインタやインデックス、デー
タ等をCPU(5)が読み込み、次の所定の処理(へ)
が実行される。ここで云う所定の処理(へ)とは、例え
ばキー人力データの認知、表示、および記憶、演算等の
処理を行う準備であって、この所定の処理(へ)が終了
すると、CPU(51はCPUオフ処理(ト1を実行す
る。
In WARM 5TART processing (e), RAM (7)
The CPU (5) reads the stack pointer, index, data, etc. saved in
is executed. The predetermined processing (to) mentioned here is, for example, preparation for recognition, display, storage, calculation, etc. of key human power data, and when this predetermined processing (to) is completed, the CPU (51) Execute CPU off processing (step 1).

CPUオフ処理(ト)では、CP U (5)内の諸デ
ータの中で必要なものをRAM(7)へ転送した後、メ
モ17 t11+にオフのデータを書き込む。すると、
第2図(b)に示すようにメモIJ 1lllの出力(
b)は論理レベル1o1→Jlへ変化し、NORゲート
04)の出力(d)は(b) = ’ 1 ”。
In the CPU off process (g), after transferring necessary data among the various data in the CPU (5) to the RAM (7), the off data is written in the memo 17 t11+. Then,
As shown in Figure 2(b), the output of memo IJ 1llll (
b) changes from logic level 1o1 to Jl, and the output (d) of NOR gate 04) becomes (b) = '1'.

(0)=’O”のため、(d) == l o lへ変
化する。即ちCPU(5)にリセットがかかゆ、CPU
(5)の動作が停止する。
Since (0) = 'O', it changes to (d) == l o l. In other words, the CPU (5) is reset, and the CPU
(5) The operation stops.

一方、出力(b)がI Q 1.1 l lへ変化する
ため、スイッチ回路(4)はオン→オフへ変化し、CP
U(51とRoM (61への通電がオフされる。
On the other hand, since the output (b) changes to I Q 1.1 l l, the switch circuit (4) changes from on to off, and CP
Power to U(51 and RoM(61) is turned off.

このように、CP U (51の電源電圧が降下する前
に、リセット信号でcpU(5)の動作を停止させるの
で、システム動作が安定確実となる。
In this way, since the operation of the CPU (5) is stopped by the reset signal before the power supply voltage of the CPU (51) drops, the system operation becomes stable and reliable.

また、第2図(d)に示すように、CP U (5)の
動作許容時間幅Tはリセット信号としての出力(d)が
論理レベル1111の間で決定され、CPU(5)やシ
ステム全体が安定動作に入った状態でのみCPU(5)
のリセットを解除できることも、システム動作の安定に
大きく寄与している。
In addition, as shown in FIG. 2(d), the allowable operating time width T of the CPU (5) is determined when the output (d) as a reset signal is between logic levels 1111, and the CPU (5) and the entire system are CPU (5) is activated only when it is in stable operation.
Being able to release the reset also greatly contributes to the stability of system operation.

上記実施例では、メモIJ 1ll)を1個の7リツプ
フロツプで構成するものとして説明したが、これは複数
の7リツプ70ツブやラッチ回路に置換えることも容易
である。例えば、ORゲート[11)の出力を第1の7
リツプ70ツブに入力し、この第1の7リツプフロツプ
の出力を第2の7リツプフロツプに入力し、第2の7リ
ツプ70ツブの出力をORゲートGOを介してスイッチ
回路(4)に接続し、第1、第2のフリップ70ツブへ
CP U (5)によりデータを書き込めるようにする
ことも可能である。
In the above embodiment, the memo IJ 1ll) has been described as being composed of one 7-lip flop, but this can easily be replaced with a plurality of 7-lip flops or latch circuits. For example, the output of the OR gate [11] is
The output of the first 7-lip flop is input to the second 7-lip flop, and the output of the second 7-lip flop is connected to the switch circuit (4) via the OR gate GO. It is also possible to write data to the first and second flip 70 tabs by the CPU (5).

また上記実施例では、スイッチ回路(4)で直接に電源
をオフして省電化したが、C−MO8型CPUでは、周
知のようにクロック周波数が高くなれば消費成力が上昇
し、クロックを停止すればマイクロワットオーダの微小
電力消費になるため、電源をオン−オフする代りに、ク
ロック発振器をオン−オフすることによっても省電力効
果が得られる。
Furthermore, in the above embodiment, power is saved by turning off the power directly using the switch circuit (4), but as is well known in C-MO8 type CPUs, as the clock frequency increases, power consumption increases and the clock is turned off. If the clock oscillator is stopped, the power consumption is small on the order of microwatts, so instead of turning the power supply on and off, turning the clock oscillator on and off can also save power.

発明の詳細 な説明のように本発明の省電力マイクロコンピュータに
よると、スタテック型ランダムアクセスメモリの特定番
地の内容に応じて初期化処理を実行するか否かを決定す
るため、多量生産されている消費電力の大きい部品を用
いながらも、低電力のマイクロコンピュータ装置を実現
できるしかも一部の回路の電源をオン・オフしながらも
、確実、安定に動作する信頼性の高いものである。
As described in the detailed description of the invention, the power-saving microcomputer of the present invention is mass-produced because it determines whether or not to perform initialization processing depending on the contents of a specific address of a static random access memory. Although it uses parts with large power consumption, it is possible to realize a low-power microcomputer device, and it is highly reliable because it operates reliably and stably even when some circuits are turned on and off.

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

第1図は本発明による省電力マイクロコンピュータの一
実施例の構成りI、第2図は第1図の要部波形図、第3
図は第1図の要部フローチャート図である。 (2)・・・メインスイッチ、(3)・・・電源回路、
(4)・・・スイッチ回路、(5)・・・中央演算処理
装置、(6)・・・リード・オンリ・メモリ、(7)・
・・ランダム・アクセス・メモリ、(8)・・・キーボ
ード、(11)・・・メモリ〔補助メモリ〕、Q9)・
・・割込み信号、 WARMφ、 WARM l・・・
ランダム・アクセス・メモリの特定番地、(ハ)・・・
初期化処理、(へ)・・・所定の処理、(ト)・・・C
PUオフ処理代理人   森  本  義  弘
FIG. 1 shows the configuration of an embodiment of a power-saving microcomputer according to the present invention, FIG. 2 is a waveform diagram of the main parts of FIG.
The figure is a flowchart of the main part of FIG. 1. (2)... Main switch, (3)... Power supply circuit,
(4)...Switch circuit, (5)...Central processing unit, (6)...Read-only memory, (7)...
・Random access memory, (8) ・Keyboard, (11) ・Memory [auxiliary memory], Q9)・
・Interrupt signal, WARMφ, WARM l...
Specific address of random access memory (c)...
Initialization processing, (f)...predetermined processing, (g)...C
PU off processing agent Yoshihiro Morimoto

Claims (1)

【特許請求の範囲】 1、 中央演3I”8理装置を含む部分的回路の重力消
費を切換えふスイッチ回路と、前記中央演算処理装置に
よって読み書きされるスタテック型うンタームアクセス
メモリと、キーボードからのキー人力または周辺機器か
らの割込み信号によってセットされ前記中央演算処理装
置gによりリセットされる補助メモリとを設け、補助メ
モリがセット状態の時に前h[′スイッチ回路が中央演
算処理装置運転状9;HVC切換わす、中央演算処理装
置動作完了時に前記補助メモリをリセットするよう構成
し、かつ前記中央演算処理装置を、所定の処理の実行に
際して前記ランダムアクセスメモリの特定番地の内容が
全ビットが111または10″でない特定コードか否か
を判定して、特定コードでない場合にはメインスイッチ
のオンと認識して前記特定番地への特定コードの書き込
み等の初期化処理を実行し、特定コードである・局舎に
は前記スイッチ回路の切換えによる運転(i4開指示と
認識して初期化処理を実行せずに前41コ所定の処理を
実行するよう構成した省電力マイクロコンピュータ装備
1゜ 2、 スイッチ回路を、中央演算処理装置′への通電ま
たはクロック信号をオン−オフするように構成したこと
を特徴とする特許請求の範囲第1項記載の省電力マイク
ロコンピュータ装置。 8゜ 中央演算処理装置を、メインスイッチのオン認識
時にランダムアクセスメモリの1つ以上の特定番地に所
定の特定コードを舊き込むよう構成したことを特徴とす
る特許請求の範囲第1項記載の省電力マイクロコンピュ
ータ装置。
[Claims] 1. A switch circuit for switching the gravity consumption of a partial circuit including a central processing unit, a static type back-term access memory that is read and written by the central processing unit, and a keyboard. An auxiliary memory is provided which is set by a key manually or by an interrupt signal from a peripheral device and reset by the central processing unit g, and when the auxiliary memory is in the set state, the front h ; HVC switching is configured to reset the auxiliary memory when the central processing unit operation is completed; Or, it determines whether it is a specific code other than 10", and if it is not a specific code, it recognizes that the main switch is on and executes initialization processing such as writing a specific code to the specific address, and if it is a specific code. - The station building is equipped with a power-saving microcomputer configured to operate by switching the switch circuit (i4 open instruction and execute the predetermined process without executing the initialization process). 8. A power-saving microcomputer device according to claim 1, characterized in that the circuit is configured to turn on/off power supply or a clock signal to the central processing unit. 2. The power-saving microcomputer device according to claim 1, wherein a predetermined specific code is inserted into one or more specific addresses of the random access memory when the main switch is turned on.
JP58020973A 1983-02-09 1983-02-09 Power saving microcomputer device Pending JPS59146324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58020973A JPS59146324A (en) 1983-02-09 1983-02-09 Power saving microcomputer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58020973A JPS59146324A (en) 1983-02-09 1983-02-09 Power saving microcomputer device

Publications (1)

Publication Number Publication Date
JPS59146324A true JPS59146324A (en) 1984-08-22

Family

ID=12042107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58020973A Pending JPS59146324A (en) 1983-02-09 1983-02-09 Power saving microcomputer device

Country Status (1)

Country Link
JP (1) JPS59146324A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6418851A (en) * 1987-07-14 1989-01-23 Diesel Kiki Co Control system for microcomputer device
EP0467578A2 (en) * 1990-07-16 1992-01-22 Matsushita Electric Industrial Co., Ltd. Power source control circuit and an electronic device with such power source control circuit
JPH0561888U (en) * 1992-01-30 1993-08-13 ミツミ電機株式会社 Battery-powered circuit
EP0635778A2 (en) * 1993-07-23 1995-01-25 International Business Machines Corporation Desktop computer having a single-switch suspend/resume function

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6418851A (en) * 1987-07-14 1989-01-23 Diesel Kiki Co Control system for microcomputer device
EP0467578A2 (en) * 1990-07-16 1992-01-22 Matsushita Electric Industrial Co., Ltd. Power source control circuit and an electronic device with such power source control circuit
US5229654A (en) * 1990-07-16 1993-07-20 Matsushita Electric Industrial Co., Ltd. Power source control circuit and an electronic device with such power source control circuit
JPH0561888U (en) * 1992-01-30 1993-08-13 ミツミ電機株式会社 Battery-powered circuit
JP2514540Y2 (en) * 1992-01-30 1996-10-23 ミツミ電機株式会社 Battery-powered circuit
EP0635778A2 (en) * 1993-07-23 1995-01-25 International Business Machines Corporation Desktop computer having a single-switch suspend/resume function
EP0635778A3 (en) * 1993-07-23 1996-11-13 Ibm Desktop computer having a single-switch suspend/resume function.

Similar Documents

Publication Publication Date Title
KR930003827B1 (en) Power saving system
US7170498B2 (en) Computer system provided with hotkeys
DK174975B1 (en) Integrated circuit board
US7617407B2 (en) Method and system for power consumption management, and corresponding computer program product
JP2842750B2 (en) IC card
US5220671A (en) Low-power consuming information processing apparatus
US5515539A (en) Apparatus and method for reducing power consumption by peripheral devices after downloading a program therefrom
JP2006120114A (en) Computer which has multifunctional power button and related method
US4694393A (en) Peripheral unit for a microprocessor system
US4972317A (en) Microprocessor implemented data processing system capable of emulating execution of special instructions not within the established microprocessor instruction set by switching access from a main store portion of a memory
US5867718A (en) Method and apparatus for waking up a computer system via a parallel port
JPH0232659B2 (en)
JPS59146324A (en) Power saving microcomputer device
JPH08274605A (en) Electric apparatus restart circuit
KR100240349B1 (en) On-off control apparatus in a computer
CN110929830A (en) Base band architecture and state control method of UHF-RFID tag chip
CN110908673B (en) Digital power supply chip burning method
US10338664B2 (en) Control module for data retention and method of operating control module
KR19990026800A (en) How to Set Initial Value for Operating System Timer
CN104077156A (en) Restarting system for programmable central processing unit and method thereof
CN114326931B (en) Industrial-grade clock controller, industrial-grade control system, method and electronic device
JPH04160422A (en) Low power consumption type information processor
JPH037963B2 (en)
KR100425205B1 (en) Circuit Controlling STOP mode in Micro Controller
JPH0355615A (en) One-chip microcomputer