JPH02236708A - Electronic computation processing system - Google Patents

Electronic computation processing system

Info

Publication number
JPH02236708A
JPH02236708A JP1059290A JP5929089A JPH02236708A JP H02236708 A JPH02236708 A JP H02236708A JP 1059290 A JP1059290 A JP 1059290A JP 5929089 A JP5929089 A JP 5929089A JP H02236708 A JPH02236708 A JP H02236708A
Authority
JP
Japan
Prior art keywords
processing
power source
power
address
turned
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
JP1059290A
Other languages
Japanese (ja)
Inventor
Hideaki Ando
安藤 英昭
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 JP1059290A priority Critical patent/JPH02236708A/en
Publication of JPH02236708A publication Critical patent/JPH02236708A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically secure the continuity of a processing at every time when a power source is turned on by applying interruption on a central arithmetic unit when the power source is turned off, storing an address by interrupting the processing under execution, and executing the processing starting from that part by reading out a stored address when the power source is turned on. CONSTITUTION:When power source turn-off interruption is applied from a timer unit 13 to an MPU 11, the MPU 11 shifts the processing to an interruption processing, and stops the execution of an application program, and after storing the address of a program executed at the last time in register 16, issues a command to turn off the power source. When the command to turn on the power source is issued from the timer unit 13 again and it is supplied to a power source control unit 12, the power source control unit 12 supplies the power to the MPU 11, a ROM 14, and an analog input/output port 17, then, makes them set at standby states. After reset release by the timer unit 13 is performed, the MPU 11 executes the processing starting from the final address of a preceding processing fetched from the register unit 16. Thereby, it is possible to automatically secure the continuity of the processing at everytime of turn-on the power source.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、例えば人工衛星搭載用の電子計算機及びそ
の周辺機器のようにその消費電力量、発熱量が問題とさ
れる電子計算処理システムに関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention is applicable to computers and their peripheral devices, for example, where power consumption and heat generation are problems. Regarding electronic computing systems.

(従来の技術) 一般に人工衛星に搭載される電子計算処理システムでは
、消費電力量及び発熱量が問題となるため、システム電
源を定期的にオン/オフ制御して処理を分割して実行さ
せ、処理終了と共に電源をオフして電力消費、発熱をお
さえ、これによってその増大を防止している。ところで
、上記システムに用いられる中央演算装置(以下MPU
と称する)については電源オンと同時にリセットをかけ
、初期に設定した特定の番地から処理を実行させるよう
にしており、周期的に電源のオン/オフ制御を行う場合
には、電源オフの前に次の処理を行ないたい箇所をフラ
グに設定しておき、電源オンと共に初期設定番地からフ
ラグで示された番地へ移行して処理を再開するようにな
っている。
(Prior Art) In general, electronic calculation processing systems installed on artificial satellites have problems with power consumption and heat generation. Upon completion of processing, the power is turned off to reduce power consumption and heat generation, thereby preventing increases in power consumption and heat generation. By the way, the central processing unit (hereinafter referred to as MPU) used in the above system
) is reset at the same time as the power is turned on, and the process is executed from a specific address set initially.When periodically controlling the power on/off, it is reset before the power is turned off. The location where the next process is to be performed is set in a flag, and when the power is turned on, the process is restarted by moving from the initial setting address to the address indicated by the flag.

しかしながら、上記のような従来の電子計算処理システ
ムでは、MPUにおける電源オン/オフ処理でフラグの
付加や読出しを行うようにアブリケーションブログラム
側で意識して設計しなければならない。よって、ユーザ
負担を増大させてしまう。また処理の再開箇所が多くな
った場合にはそれに応じたフラグの記憶領域も必要とな
るため、装置の大型化を招《。
However, in the conventional electronic computing system as described above, the application program must be consciously designed to add and read flags during power on/off processing in the MPU. Therefore, the burden on the user increases. Furthermore, if the number of restart points for processing increases, a storage area for flags corresponding to the number of points will be required, resulting in an increase in the size of the device.

(発明が解決しようとする課題) 以上述べたように従来の電子計算処理システムでは、定
期的な電源オン/オフ制御によって省電力化、低発熱化
を図る場合、アプリケーションプログラム側で処理再開
のための操作を考慮して設計しなければならず、ユーザ
負担が重くなっている。さらにその内容として、フラグ
に再開箇所を付して記憶させる方式では、再開箇所の増
大に応じてフラグ記憶用の領域が無視できなくなり、記
憶領域の拡大が余儀なくされ、装置の大型化を招いてい
る。
(Problems to be Solved by the Invention) As described above, in conventional electronic calculation processing systems, when saving power and reducing heat generation through periodic power on/off control, the application program side is required to restart processing. must be designed with the operation of the user in mind, which places a heavy burden on the user. Furthermore, in the method of storing restart points attached to flags, as the number of restart points increases, the area for flag storage becomes impossible to ignore, forcing the storage area to expand, leading to an increase in the size of the device. There is.

この発明は上記の課題を解決するためになされたもので
、アプリケーションプログラム側で処理再開のための操
作を考慮しなくても自動的に各オン時の処理の連続性を
確保することができ、また再開箇所の数に関係なく一定
の記憶領域があればよい電子計算処理システムを提供す
ることを目的とする。
This invention was made to solve the above problems, and it is possible to automatically ensure the continuity of processing at each turn-on without having to consider operations for restarting processing on the application program side. Another object of the present invention is to provide an electronic calculation processing system that only requires a certain storage area regardless of the number of restart points.

[発明の構成コ (課題を解決するための手段) 上記目的を達成するためにこの発明に係る電子計算処理
システムは、アプリケーションプログラムに従って各種
計算処理を行う中央演算装置を備え、定期的にシステム
の電源がオン/オフ制御されるシステムにおいて、前記
電源のオフ時に前記中央演算装置に割込みをかけ、実行
中の処理を中断してそのアドレスを送出させる手段と、
この手段から送出されるアドレスを格納する記憶部とを
具備し、前記電源のオン時に前記記憶部に格納したアド
レスを読出してその部分から処理を実行させるようにし
たことを特徴とする。
[Configuration of the Invention (Means for Solving the Problems) In order to achieve the above object, an electronic calculation processing system according to the present invention includes a central processing unit that performs various calculation processes according to application programs, and periodically updates the system. In a system in which power is controlled on and off, means for interrupting the central processing unit when the power is turned off, interrupting the processing being executed and sending out the address;
The present invention is characterized in that it comprises a storage section for storing the address sent from this means, and when the power is turned on, the address stored in the storage section is read out and processing is executed from that part.

(作用) 上記構成による電子計算処理システムでは、電源オフ時
に割込み処理によって実行中のアドレスが格納されてい
るので、処理再開時に格納したアドレス部分から処理を
続行することができる。
(Function) In the electronic calculation processing system having the above configuration, since the address being executed is stored by interrupt processing when the power is turned off, processing can be continued from the stored address portion when processing is restarted.

(実施例) 以下、第1図及び第2図を参照してこの発明の一実施例
を説明する。
(Embodiment) An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.

第1図はその構成を示すもので、1lはアプリケーショ
ンプログラムに従って各種計算処理を行うMPU,12
は他のシステムユニットに対する電源オン/オフを総括
的に制御する電源制御ユニット、l3はシステムの電源
オン/オフのタイミングを決定するタイマユニット、l
4は例えばアプリケーションプログラムを記憶するRO
M,15はMPUIIの計算結果等を記憶するRAM,
1Bは前処理の最終アドレスを保持するレジスタ、17
は他の周辺機器をアナログ制御するためのアナログ入出
力ボートであり、LPは電源ライン、LfIはバスライ
ン、Loはオン/オフ指令ラインである。
Figure 1 shows its configuration, where 1l is an MPU that performs various calculation processes according to application programs;
is a power control unit that collectively controls power on/off for other system units; l3 is a timer unit that determines the timing of power on/off of the system;
4 is an RO that stores application programs, for example.
M, 15 is a RAM that stores calculation results of MPUII, etc.;
1B is a register that holds the final address of preprocessing, 17
is an analog input/output port for analog control of other peripheral devices, LP is a power line, LfI is a bus line, and Lo is an on/off command line.

このうち、電源制御ユニット12、RAMユニットl5
、レジスタl6及びタイマユニットl3には?+4ライ
ンLPから直接電源が供給され、他のユニツ}11. 
14. 17には電源ラインLPから電源制御ユニット
l2を介し、ここでオン/オフ制御を受けて供給される
。各ユニット11〜17間のデータ及び割込み等はバス
ラインLBを通じて行われる。タイマユニット13は定
期的に電源制御ユニットl2に電源オン/オフ指令を送
り、電源オフ時点から一定時間はM P U IL電源
制御ユニット12及びアナログ人出力ボートl7にリセ
ットをかけ、電源オン時点から一定期間後に同リセット
を解除するようになっている。
Among these, the power supply control unit 12, RAM unit 15
, in register l6 and timer unit l3? Power is supplied directly from the +4 line LP, and other units}11.
14. 17 is supplied from the power line LP via the power control unit 12, where it is subjected to on/off control. Data, interrupts, etc. between each unit 11-17 are carried out through the bus line LB. The timer unit 13 periodically sends power on/off commands to the power supply control unit 12, resets the MPU IL power supply control unit 12 and the analog human output boat 17 for a certain period of time from the time the power is turned off, and resets the MPU IL power supply control unit 12 and the analog human output boat 17 from the time the power is turned on. The reset will be canceled after a certain period of time.

上記構成において、以下その動作について第2図を参照
して説明する。
The operation of the above configuration will be explained below with reference to FIG. 2.

まず、電源投入前の初期状態では、レジスタ16にはR
OM15に記憶されたアプリケーションプログラムの先
頭アドレスが記憶されており、またタイマユニットl3
によってMPUIIS電源制御ユニット12及びアナロ
グ入出力ボート17がリセット状態に設定されている。
First, in the initial state before the power is turned on, the register 16 contains R.
The start address of the application program stored in OM15 is stored, and the timer unit l3
The MPUIIS power supply control unit 12 and analog input/output board 17 are set to a reset state.

ここでタイマユニット13から電源オン指令がオン/オ
フ指令ラインL0を通じて電源制御ユニット12に与え
られると、この電源制御ユニット12はMPUII、R
OM14及びアナログ入出力ポートI7に電源を供給す
る。一方、タイマユニットl3は電源オン時点から一定
期間(W)経過後にMPUII、電源制御ユニットl2
及びアナログ入出力ボートl7に与えているリセットを
解除する。リセットを解除されたMPUILはレジスタ
16に記憶されているアドレスを読込み、プログラムを
実行する(E)。
Here, when a power-on command is given from the timer unit 13 to the power supply control unit 12 through the on/off command line L0, this power supply control unit 12
Power is supplied to OM14 and analog input/output port I7. On the other hand, the timer unit l3 connects the MPU II to the power supply control unit l2 after a certain period (W) has elapsed since the power was turned on.
and cancels the reset applied to analog input/output port l7. The MPUIL released from reset reads the address stored in the register 16 and executes the program (E).

次に、タイマユニット13から電源オフ割込みがバスラ
インLBを通じてMPUユニット11に与えられると、
MPULIは割込み処理(I)に移ってアプリケーショ
ンプログラムの実行を停止し、最後に実行したプログラ
ムのアドレスをレジスタl6に記憶させた後、タイマユ
ニット13に対し、MPUユニットl1及びアナログ入
出力ボート17へのリセット、同11.  17及びR
OMユニット14の電源オフを指令する。次に、タイマ
ユニット13は前記指令により11. 17の各ユニッ
トをリセットし、一定時間(R)後に電源制御ユニット
12に対して11. 14及び17の各ユニットの電源
供給停止を指令する(S)。
Next, when a power-off interrupt is given from the timer unit 13 to the MPU unit 11 via the bus line LB,
MPULI moves to interrupt processing (I), stops execution of the application program, stores the address of the last executed program in register l6, and then instructs timer unit 13 to send the address to MPU unit l1 and analog input/output board 17. Reset of 11. 17 and R
A command is given to turn off the power of the OM unit 14. Next, the timer unit 13 operates 11. 17, and after a certain period of time (R), the power supply control unit 12 is reset to 11. A command is given to stop the power supply to each unit 14 and 17 (S).

再びタイマユニット13から電源オン指令が発せられ、
電源制御ユニットl2に与えられると、この電源制御ユ
ニットI2はMPUII、ROMl4及びアナログ入出
力ポート17に電源を供給して待機状態とする(W)。
A power-on command is issued again from the timer unit 13,
When the power is supplied to the power control unit 12, the power control unit 12 supplies power to the MPU II, ROM 14, and analog input/output port 17, and enters a standby state (W).

そして、タイマユニット13によるリセット解除後に、
MPUユニット11はレジスタユニット1Bより取込ん
だ前処理の最終アドレスから実行する(E)。以後は同
様の動作を繰返す。
Then, after the reset is canceled by the timer unit 13,
The MPU unit 11 executes the preprocessing from the final address taken in from the register unit 1B (E). After that, repeat the same operation.

したがって、上記構成による電子計算処理システムは、
電源オフ時点でMPUIIに割込み処理をかけ、実行中
のプログラムのアドレスをレジスタ16に退避させた後
に全てのユニットに対するm[を断とし、電源オン時点
で退避させたアドレスから処理を実行させるので、アプ
リケーションプログラム側で処理再開のための操作を考
慮する必要はなく、ユーザ負担も軽くすることができる
と共に、分割処理の連続性の精度を高めることもできる
。さらにその内容として、再開箇所にフラグを付す必要
もなくなり、フラグ記憶用の領域確保といった問題もな
い。
Therefore, the electronic calculation processing system with the above configuration is
When the power is turned off, interrupt processing is performed on the MPU II, the address of the program being executed is saved in the register 16, and then m[ is turned off for all units, and processing is executed from the saved address when the power is turned on. There is no need to consider operations for restarting processing on the application program side, and the burden on the user can be reduced, and the accuracy of the continuity of divided processing can also be improved. Furthermore, there is no need to attach a flag to a restart point, and there is no problem of securing an area for flag storage.

尚、上記実施例ではアドレス記憶用にレジスタ16を設
けているが、RAMl5に余裕があるならその一部をア
ドレス記憶領域とすれば、レジスタl6の省略すること
もできる。
In the above embodiment, the register 16 is provided for address storage, but if there is room in the RAM 15, the register 16 can be omitted by using a part of it as an address storage area.

[発明の効果] 以上のようにこの発明によれば、アプリケーションプロ
グラム側で処理再開のための操作を考慮しなくても自動
的に各オン時の処理の連続性を確保することができ、ま
た再開箇所の数に関係なく一定の記憶領域があればよい
電子計算処理システムを提供することができる。
[Effects of the Invention] As described above, according to the present invention, it is possible to automatically ensure the continuity of processing at each turn-on without considering an operation for restarting processing on the application program side, and It is possible to provide an electronic calculation processing system that only requires a certain storage area regardless of the number of restart locations.

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

第1図はこの発明に係る電子計算処理システムの一実施
例を示すブロック回路図、第2図は同実施例の動作を説
明するためのタイミング図である。 11・・・MPUS12・・・電源制御ユニット、13
・・・タイマユニット、14・・・ROM,15・・・
RAM,1G・・・レジスタ、17・・・アナログ入出
力ポート。 出願人代理人 弁理士 鈴江武彦
FIG. 1 is a block circuit diagram showing an embodiment of an electronic calculation processing system according to the present invention, and FIG. 2 is a timing diagram for explaining the operation of the embodiment. 11...MPUS12...Power control unit, 13
...Timer unit, 14...ROM, 15...
RAM, 1G...Register, 17...Analog input/output port. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims] アプリケーションプログラムに従って各種計算処理を行
う中央演算装置を備え、定期的にシステムの電源がオン
/オフ制御される電子計算処理システムにおいて、前記
電源のオフ時に前記中央演算装置に割込みをかけ、実行
中の処理を中断してそのアドレスを送出させる手段と、
この手段から送出されるアドレスを格納する記憶部とを
具備し、前記電源のオン時に前記記憶部に格納したアド
レスを読出してその部分から処理を実行させるようにし
たことを特徴とする電子計算処理システム。
In an electronic computing system that is equipped with a central processing unit that performs various calculation processes according to application programs, and in which the power of the system is periodically controlled to turn on and off, an interrupt is generated to the central processing unit when the power is turned off, means for interrupting the processing and sending out the address;
and a storage section for storing an address sent from the means, and the electronic calculation processing is characterized in that the address stored in the storage section is read out when the power source is turned on, and the processing is executed from that part. system.
JP1059290A 1989-03-10 1989-03-10 Electronic computation processing system Pending JPH02236708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1059290A JPH02236708A (en) 1989-03-10 1989-03-10 Electronic computation processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1059290A JPH02236708A (en) 1989-03-10 1989-03-10 Electronic computation processing system

Publications (1)

Publication Number Publication Date
JPH02236708A true JPH02236708A (en) 1990-09-19

Family

ID=13109105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1059290A Pending JPH02236708A (en) 1989-03-10 1989-03-10 Electronic computation processing system

Country Status (1)

Country Link
JP (1) JPH02236708A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220489A (en) * 2003-01-17 2004-08-05 Matsushita Electric Ind Co Ltd Rental system for networked home appliance

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220489A (en) * 2003-01-17 2004-08-05 Matsushita Electric Ind Co Ltd Rental system for networked home appliance

Similar Documents

Publication Publication Date Title
US20030061526A1 (en) Computer system and power saving control method therefor
JPH04246740A (en) Microcomputer
JPH0776894B2 (en) Clock signal control method for processor and information processing system
JPH07295694A (en) Power saving method for arithmetic processor
JPH02236708A (en) Electronic computation processing system
JP2005521937A (en) Context switching method and apparatus in computer operating system
JP2010102567A (en) Periodical task execution device, periodical task execution method, and program
JPS583009A (en) Electric power supply controller of data processor
JPS6347812A (en) Sleep mode controller
JPS60218152A (en) Microprocessor
JPH0883133A (en) Computer system and clock control method for the same
JPH03163617A (en) Warm-boot method of program in computer system
JPH05204750A (en) Data holding system for program controller
JPH0588775A (en) System for switching clock
JPH0319033A (en) System interruption/restart system
JPH05265602A (en) Power management control device
JPH0869444A (en) Multiprocessor system
JPS6154542A (en) Task control system
JPS6378253A (en) Program loading system
JPH01205310A (en) System for controlling power supply of data processor
JPH0721091A (en) Service interruption processing method for electronic computer
JPH09190360A (en) Microcomputer and its ranaway monitoring processing method
JPS62113238A (en) Correction system for program of electronic computer system
JPH0934514A (en) Multitask control system for programmable controller and multitask type programmable controller
JPH03171271A (en) Graphic plotting device