JPH05241978A - Electronics - Google Patents
ElectronicsInfo
- Publication number
- JPH05241978A JPH05241978A JP4079299A JP7929992A JPH05241978A JP H05241978 A JPH05241978 A JP H05241978A JP 4079299 A JP4079299 A JP 4079299A JP 7929992 A JP7929992 A JP 7929992A JP H05241978 A JPH05241978 A JP H05241978A
- Authority
- JP
- Japan
- Prior art keywords
- power
- microcomputer
- turned
- ram
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、複数のマイクロコン
ピュータにより動作制御がなされる電子機器に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device whose operation is controlled by a plurality of microcomputers.
【0002】[0002]
【従来の技術】近年の電子機器、例えばカメラ一体型ビ
デオカセットレコーダ等には、電子機器の制御を行うた
めの制御手段として、モードコンやメカコン等、複数の
ワンチップのマイクロコンピュータが備えられている。
モードコンは、ユーザのキー入力を判断し、キー入力に
応じて、各部の動作を設定するマイクロコンピュータで
ある。メカコンは、ドラムモータやキャプスタンモータ
の回転制御等を行うマイクロコンピュータである。ワン
チップのマイクロコンピュータは、CPUと、RAM等
のメモリと、I/Oポート等の周辺回路等から構成され
ている。2. Description of the Related Art Recent electronic devices, such as a video cassette recorder with a built-in camera, are provided with a plurality of one-chip microcomputers such as a mode controller and a mechanical controller as control means for controlling the electronic device. There is.
The mode control is a microcomputer that determines a user's key input and sets the operation of each unit according to the key input. The mechanical controller is a microcomputer that controls rotation of a drum motor and a capstan motor. The one-chip microcomputer is composed of a CPU, a memory such as a RAM, and peripheral circuits such as an I / O port.
【0003】これら複数のマイクロコンピュータのう
ち、モードコンは、ユーザの電源のオン/オフキー操作
に基づいて電源回路のオン/オフ制御を行うため、電源
がオフ時にも、バックアップ電源により、動作可能な状
態とされている。これに対して、メカコン等の他のマイ
コンは、不使用時の消費電力の低減のため、電源オフ時
には、完全に電源が遮断され、動作停止状態となる。Of these microcomputers, the mode controller controls the on / off of the power supply circuit based on the user's operation of the on / off key of the power supply, so that the backup power supply can operate even when the power supply is off. It is in a state. On the other hand, other microcomputers such as a mechanical controller are completely cut off in power and turned off when the power is turned off to reduce power consumption when not in use.
【0004】[0004]
【発明が解決しようとする課題】したがって、従来で
は、電源をオフすると、モードコン以外のマイコンのR
AMのデータは完全に失われる。このため、電源を再投
入した時には、イニシャライズ処理を行う必要が生じ
る。Therefore, conventionally, when the power is turned off, the R of the microcomputer other than the mode controller is read.
AM data is lost completely. Therefore, when the power is turned on again, it is necessary to perform the initialization process.
【0005】電源を再投入した時、マイコンのRAMの
データが残っていれば、このようなイニシャライズ処理
は不要になり、次の制御へ直ちに移ることができる。例
えば、メカコンは、テープの端がどこにあるのか等のテ
ープ情報を得て、テープの送りを制御している。電源を
再投入して時に、このテープ情報が残っていれば、この
テープ情報を用いて、テープ送りの制御を再開できる。
ところが、このデータが失われていると、テープ情報を
得るためのイニシャライズ処理を行わなければならなく
なる。If the data in the RAM of the microcomputer remains when the power is turned on again, such an initialization process becomes unnecessary and the next control can be immediately started. For example, the mechanical controller obtains tape information such as where the end of the tape is, and controls the feeding of the tape. If this tape information remains when the power is turned on again, the tape feed control can be restarted using this tape information.
However, if this data is lost, it is necessary to perform an initialization process to obtain the tape information.
【0006】したがって、この発明の目的は、バックア
ップ機能を有していない電子機器内のマイクロコンピュ
ータのデータを保存でき、電源を再投入した時のイニシ
ャライズ処理を不要にすることができる電子機器を提供
することにある。Therefore, an object of the present invention is to provide an electronic device which can save the data of the microcomputer in the electronic device which does not have a backup function and can eliminate the need for the initialization process when the power is turned on again. To do.
【0007】[0007]
【作用】複数のマイクロコンピュータが配設される電子
機器において、電源オフ時に、バックアップ機能を有し
ていないマイクロコンピュータのRAMの内容が、バッ
ク機能を有するマイクロコンピュータのRAMに転送さ
れる。このため、電源を再投入した時に、イニシャライ
ズ処理が不要になり、直ちに制御を開始することができ
る。In an electronic device provided with a plurality of microcomputers, the contents of the RAM of the microcomputer not having the backup function are transferred to the RAM of the microcomputer having the backup function when the power is turned off. Therefore, when the power is turned on again, the initialization process becomes unnecessary and the control can be started immediately.
【0008】[0008]
【実施例】以下、この発明の一実施例について、図面を
参照して説明する。図1は、この発明の一実施例を示す
ものである。図1において、1はモードコン、2はメカ
コンである。モードコン1は、ユーザからのキー入力3
を受け付け、このキー入力に応じた処理を行うためのワ
ンチップのマイクロコンピュータである。メカコン2
は、ドラムモータやキャプスタンモータ等、メカニカル
動作部4の制御を行うためのワンチップのマイクロコン
ピュータである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of the present invention. In FIG. 1, 1 is a mode computer and 2 is a mechanical computer. Modecon 1 is key input from the user 3
Is a one-chip microcomputer for accepting and processing according to this key input. Mechacon 2
Is a one-chip microcomputer for controlling the mechanical operation unit 4, such as a drum motor or a capstan motor.
【0009】5は電源回路である。電源回路5は、バッ
テリー6から所定の電源電圧の各部の電源を形成してい
る。電源回路5からの電源は、信号処理回路9やメカニ
カル制御部4、メカコン2、モードコン1に供給され
る。この電源回路5は、キー入力2に応じて、モードコ
ン1により、オン/オフ制御される。Reference numeral 5 is a power supply circuit. The power supply circuit 5 forms power from the battery 6 for each part having a predetermined power supply voltage. Power from the power supply circuit 5 is supplied to the signal processing circuit 9, the mechanical control unit 4, the mechanical control 2, and the mode control 1. The power supply circuit 5 is ON / OFF controlled by the mode controller 1 according to the key input 2.
【0010】また、この電源のオン/オフ制御に伴っ
て、スイッチ回路7が切り換えられる。すなわち、電源
オンの時には、スイッチ回路7が端子7A側に設定され
る。この時には、電源回路5からの電源がスイッチ回路
7を介して、モードコン1に供給される。電源がオフさ
れると、スイッチ回路7が端子7B側に切り換えられ
る。このため、バックアップ電源8がスイッチ回路7を
介してモードコン1に供給される。Further, the switch circuit 7 is switched in accordance with the ON / OFF control of the power source. That is, when the power is turned on, the switch circuit 7 is set to the terminal 7A side. At this time, the power from the power supply circuit 5 is supplied to the mode controller 1 via the switch circuit 7. When the power is turned off, the switch circuit 7 is switched to the terminal 7B side. Therefore, the backup power supply 8 is supplied to the mode controller 1 via the switch circuit 7.
【0011】図2は、電源オフ時の処理を示すフローチ
ャートである。キー入力3により、電源オフのコマンド
が供給されると、メカコン2のRAM12のデータが通
信回線13により、モードコン1に転送される(ステッ
プ21)。FIG. 2 is a flowchart showing the processing when the power is off. When the power-off command is supplied by the key input 3, the data in the RAM 12 of the mechanical controller 2 is transferred to the mode controller 1 by the communication line 13 (step 21).
【0012】メカコン2のRAM12のデータがモード
コン1に転送されたら、このデータがモードコン1のR
AM11に蓄えられる(ステップ22)。When the data in the RAM 12 of the mechanical controller 2 is transferred to the mode controller 1, this data is transferred to the R of the mode controller 1.
It is stored in the AM 11 (step 22).
【0013】モードコン1のRAM11にメカコン2の
RAM12のデータが蓄えられたら、モードコン1から
電源オフ信号が出力される。この電源オフ信号により、
電源回路5がオフされると共に、スイッチ回路7が端子
7B側に切り換えられる(ステップ23)。When the data in the RAM 12 of the mechanical controller 2 is stored in the RAM 11 of the mode controller 1, the power OFF signal is output from the mode controller 1. With this power off signal,
The power supply circuit 5 is turned off and the switch circuit 7 is switched to the terminal 7B side (step 23).
【0014】電源がオフされた後にはメカコン2には電
源が供給されなくなるので、メカコン2のRAM12の
データは失われる。ところが、電源がオフされる直前の
メカコン2のRAM12のデータは、モードコン1のR
AM11に転送されている。したがって、電源がオフさ
れる直前のメカコン2のRAM12のデータは、電源が
オフされた後にも、モードコン1のRAM11内に保存
されることになる。Since the power is not supplied to the mechanical control 2 after the power is turned off, the data in the RAM 12 of the mechanical control 2 is lost. However, the data in the RAM 12 of the mechanical controller 2 immediately before the power is turned off is the R of the mode controller 1.
It has been transferred to AM11. Therefore, the data in the RAM 12 of the mechanical controller 2 immediately before the power is turned off is stored in the RAM 11 of the mode controller 1 even after the power is turned off.
【0015】図3は、電源オン時の処理を示すものであ
る。キー入力3により、電源オンコマンドが入力される
と、モードコン1から電源オン信号が出力される。この
電源オン信号により、電源回路5がオンされると共に、
スイッチ回路7が端子7A側に切り換えられる(ステッ
プ31)。FIG. 3 shows the processing when the power is turned on. When the power-on command is input by the key input 3, the power-on signal is output from the mode controller 1. This power-on signal turns on the power supply circuit 5 and
The switch circuit 7 is switched to the terminal 7A side (step 31).
【0016】電源がオンされたら、モードコン1のRA
M11に保存されていた前回までのメカコン2のRAM
12のデータが、モードコン1のRAM11から読み出
される(ステップ32)。When the power is turned on, the RA of Modecon 1
RAM of Mechacon 2 up to the last time saved in M11
The data of 12 is read from the RAM 11 of the mode controller 1 (step 32).
【0017】そして、モードコン1のRAM11に保存
されていた前回までのメカコン2のRAM12のデータ
が、通信回線13を介して、メカコン2に転送される
(ステップ33)。Then, the previous data of the RAM 12 of the mechanical controller 2 stored in the RAM 11 of the mode controller 1 is transferred to the mechanical controller 2 via the communication line 13 (step 33).
【0018】このように、電源オン時の処理が行われて
から、本来の制御処置が開始される。このようにする
と、電源オン時のイニシャライズ処理が不要になり、直
ちに、本来の制御処理を開始することができる。In this way, after the power-on processing is performed, the original control processing is started. In this way, the initialization process when the power is turned on is unnecessary, and the original control process can be immediately started.
【0019】[0019]
【発明の効果】この発明によれば、複数のマイクロコン
ピュータが配設される電子機器において、電源オフ時
に、バックアップ機能を有していないマイクロコンピュ
ータのRAMの内容が、バック機能を有するマイクロコ
ンピュータのRAMに転送される。このため、電源を再
投入して時に、イニシャライズ処理が不要になり、直ち
に制御を開始することができる。According to the present invention, in an electronic device in which a plurality of microcomputers are arranged, the contents of the RAM of the microcomputer which does not have the backup function when the power is off are stored in the microcomputer having the back function. It is transferred to RAM. Therefore, when the power is turned on again, the initialization process becomes unnecessary and the control can be started immediately.
【図1】この発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】この発明の一実施例の説明に用いるフローチャ
ートである。FIG. 2 is a flowchart used to describe an embodiment of the present invention.
【図3】この発明の一実施例の説明に用いるフローチャ
ートである。FIG. 3 is a flowchart used to describe an embodiment of the present invention.
1 モードコン 2 メカコン 5 電源回路 8 バックアップ電源 1 Mode controller 2 Mechanical controller 5 Power supply circuit 8 Backup power supply
Claims (1)
記複数のマイクロコンピュータにより動作制御がなされ
る電子機器において、 上記複数の電子機器のうちの少なくともひとつは、電源
オフ時にバックアップ電源が与えられるバックアップ機
能を有するマイクロコンピュータとされ、 電源がオフされる時に、バックアップ機能を持たない上
記マイクロコンピュータのデータが、バックアップ機能
を有する上記マイクロコンピュータに転送され、上記バ
ックアップ機能を有するマイクロコンピュータのメモリ
に蓄えられるようにした電子機器。1. An electronic device comprising a plurality of microcomputers, the operation of which is controlled by the plurality of microcomputers, wherein at least one of the plurality of electronic devices has a backup function to which a backup power is supplied when the power is turned off. When the power is turned off, the data of the microcomputer having no backup function is transferred to the microcomputer having the backup function and stored in the memory of the microcomputer having the backup function. Electronic equipment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP07929992A JP3178071B2 (en) | 1992-02-28 | 1992-02-28 | Electronics |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP07929992A JP3178071B2 (en) | 1992-02-28 | 1992-02-28 | Electronics |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05241978A true JPH05241978A (en) | 1993-09-21 |
| JP3178071B2 JP3178071B2 (en) | 2001-06-18 |
Family
ID=13685971
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP07929992A Expired - Lifetime JP3178071B2 (en) | 1992-02-28 | 1992-02-28 | Electronics |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3178071B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6876469B1 (en) | 1999-01-18 | 2005-04-05 | Sharp Kabushiki Kaisha | Transmitting/receiving system fitted with backup function |
-
1992
- 1992-02-28 JP JP07929992A patent/JP3178071B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6876469B1 (en) | 1999-01-18 | 2005-04-05 | Sharp Kabushiki Kaisha | Transmitting/receiving system fitted with backup function |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3178071B2 (en) | 2001-06-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59200327A (en) | Control system of peripheral device | |
| US5515539A (en) | Apparatus and method for reducing power consumption by peripheral devices after downloading a program therefrom | |
| US5237698A (en) | Microcomputer | |
| JPH06289955A (en) | Attachable/detachable information processor | |
| JP3178071B2 (en) | Electronics | |
| JP2005135269A (en) | Electronics | |
| JPH04290109A (en) | information processing equipment | |
| JP4311837B2 (en) | Power supply circuit | |
| JPH06230845A (en) | Resuming system | |
| JPH0566858A (en) | Function extending device | |
| JP3076196B2 (en) | Computer system and communication method thereof | |
| JPH0628267A (en) | Information processor | |
| JP2671750B2 (en) | Peripheral control device | |
| JPH04259989A (en) | Power control method | |
| TWI381271B (en) | Portable electronic apparatus and method for power saving thereof | |
| JP4140421B2 (en) | Power control method for disk system | |
| JP2983830B2 (en) | Power control circuit for mobile phone | |
| JP2000125372A (en) | Power supply control device | |
| KR920007508B1 (en) | Backup device for preservation data of information processing device | |
| KR100541063B1 (en) | Digital video recording device provided with hard disk rack and control method thereof | |
| CN120018250A (en) | Device power on/off management method, electronic device, and computer readable medium | |
| JP4097822B2 (en) | Electronic camera | |
| KR20010056419A (en) | Circuit controlling power supply in computer | |
| JP2008129969A (en) | Power supply backup system and electronic equipment provided with the same | |
| JPH04169929A (en) | Boot priority changing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080413 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090413 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090413 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100413 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100413 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110413 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120413 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term |