[go: up one dir, main page]

JPS62173658A - Resetting circuit - Google Patents

Resetting circuit

Info

Publication number
JPS62173658A
JPS62173658A JP61015394A JP1539486A JPS62173658A JP S62173658 A JPS62173658 A JP S62173658A JP 61015394 A JP61015394 A JP 61015394A JP 1539486 A JP1539486 A JP 1539486A JP S62173658 A JPS62173658 A JP S62173658A
Authority
JP
Japan
Prior art keywords
microcomputer
sub
data
main
reset
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
JP61015394A
Other languages
Japanese (ja)
Inventor
Tsutomu Mikami
勉 三上
Hideaki Io
秀明 井尾
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP61015394A priority Critical patent/JPS62173658A/en
Publication of JPS62173658A publication Critical patent/JPS62173658A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent occurrence of abnormal state of apparatus without requiring complicated operation by resetting a submicrocomputer by a main microcomputer when a safety code becomes discordant with specified data. CONSTITUTION:Responding to a safety code CS outputted to a main microcomputer 3, the main microcomputer 3 resets a submicrocomputer 4. Thus, resetting operation can be made only when the submicrocomputer 4 is making malfunction responding to the safety code CS. Thereby, a resetting circuit that can reduce frequency of complex operation after reset operation.

Description

【発明の詳細な説明】 A産業上の利用分野 本発明はリセット回路に関し、特に相互間でデータ転送
を行う複数のマイクロコンピュータを有する機器例えば
ビデオテープレコーダ(VTR)等に適用し得るもので
ある。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a reset circuit, and is particularly applicable to devices having multiple microcomputers that transfer data between each other, such as a video tape recorder (VTR). .

B発明の概要 本発明は、マイクロコンピュータのリセット回路におい
て、必要に応じてサブマイクロコンピュータからメイン
マイクロコンピュータに出力すれるセエイフテイコード
が所定のデータと一致しなくなったときは、サブマイク
ロコンピュータをメインマイクロコンピュータによって
リセットすることによって、複雑な操作を必要とするこ
となく、機器の異常状態の発生を未然に防止し得るリセ
ット回路を容易に得ることができるようにしたものであ
る。
B. Summary of the Invention The present invention provides a reset circuit for a microcomputer that resets the sub-microcomputer when a safety code output from the sub-microcomputer to the main microcomputer as needed no longer matches predetermined data. By resetting using the main microcomputer, it is possible to easily obtain a reset circuit that can prevent the occurrence of abnormal conditions in equipment without requiring complicated operations.

C従来の技術 従来例えばVTRにおいては、テープ駆動機構等を含む
VTR本体を駆動制御するだめのメインマイクロコンピ
ュータに加えて、日付タイマ機能をもつサブマイクロコ
ンピュータが設けられ、このサブマイクロコンピュータ
によって日付表示をすると共に、メインマイクロコンピ
ュータとの間にデータを転送し合うことによって予約タ
イマ等の時計機能を実現するようになされている。
C. Conventional Technology Conventionally, for example, in a VTR, in addition to a main microcomputer that controls the main unit of the VTR including a tape drive mechanism, a sub-microcomputer with a date timer function is provided, and this sub-microcomputer displays the date. At the same time, by transferring data to and from the main microcomputer, clock functions such as a reservation timer are realized.

この種のサブマイクロコンピュータは、メインマイクロ
コンピュータによってVTR本体に電源を供給しない停
止動作モード時においても時計機能を持続するために、
主電源(通常は商用電源からとるようになされている)
とは別にバックアップ電源(例えば電池でなる)から電
源の供給を受けるようになされている。
This type of sub-microcomputer maintains the clock function even when the main microcomputer does not supply power to the VTR body.
Main power supply (usually taken from commercial power supply)
Separately, power is supplied from a backup power source (for example, a battery).

このように複数のマイクロコンピュータを有する機器に
おいて、各マイクロコンピュータに対して電源を投入す
る際全てのマイクロコンピュータを予め決められている
初期動作開始状態にリセットすることが必要で、1つで
もリセットされないマイクロコンピュータがあれば、機
器が異常動作し、場合によっては機器が破損するおそれ
がある。
In devices with multiple microcomputers like this, when turning on the power to each microcomputer, it is necessary to reset all the microcomputers to a predetermined initial operating state, and even one of them is not reset. If there is a microcomputer, there is a risk that the equipment will malfunction and, in some cases, be damaged.

この問題を解決するため従来のマイクロコンピュータに
おいては、電源投入時の誤動作を防止するために、電源
投入時に全てのマイクロコンピュータのリセット端子を
強制的にO電位に立ち下げた後、所定の電圧に立ち上げ
る外部リセット回路が設けられている。
To solve this problem, in conventional microcomputers, in order to prevent malfunctions when the power is turned on, the reset terminals of all microcomputers are forcibly brought down to the O potential when the power is turned on, and then the reset terminals are set to a predetermined voltage. An external reset circuit is provided for startup.

D発明が解決しようとする問題点 ところが、このように構成すると、各マイクロコンピュ
ータに対してそれぞれ外部リセット回路を設けなければ
ならず、従ってこの分機器全体として構成が複雑になる
問題点があった。
D Problems to be Solved by the Invention However, with this configuration, an external reset circuit must be provided for each microcomputer, resulting in the problem that the overall configuration of the device becomes complicated. .

またバックアップ電源を小容量化するため、メインマイ
クロコンピュータの電源がオン動作した時、サブマイク
ロコンピュータに対する電源をバックアップ電源から主
電源に切り換えるようにする方法が考えられる。しかし
、この方法を用いる場合、当該電源切換時に、すでに動
作状態にあるサブマイクロコンピュータが誤動作するお
それがある。このため従来のように外部リセット回路に
よってサブマイクロコンピュータをリセットさせるよう
にすると、電源を投入するごとに現在時刻等をサブマイ
クロコンピュータにセットし直す煩雑な操作が必要とな
る。
Furthermore, in order to reduce the capacity of the backup power supply, a method may be considered in which when the main microcomputer is turned on, the power supply to the sub-microcomputer is switched from the backup power supply to the main power supply. However, when this method is used, there is a risk that a sub-microcomputer that is already in operation may malfunction when the power source is switched. For this reason, if the sub-microcomputer is reset by an external reset circuit as in the prior art, a complicated operation is required to reset the current time etc. in the sub-microcomputer each time the power is turned on.

本発明は以上の点を考慮してなされたもので、このよう
な煩雑な操作をできるだけ軽減しながらマイクロコンピ
ュータに誤動作が生じたとき確実にリセット動作させる
ことができる簡易なる構成のリセット回路を提案しよう
とするものである。
The present invention has been made in consideration of the above points, and proposes a reset circuit with a simple configuration that can reliably perform a reset operation when a malfunction occurs in a microcomputer while reducing such complicated operations as much as possible. This is what I am trying to do.

E問題点を解決するための手段 かかる問題点を解決するため本発明においては、メイン
マイクロコンピュータ3と、メインマイクロコンピュー
タ3との間でデータを送受し、かつメインマイクロコン
ピュータ3によってリセットされるサブマイクロコンピ
ュータ4とを具え、サブマイクロコンピュータ4から出
力されるセイフテイコードC3に応じてサブマイクロコ
ンピュータ4をメインマイクロコンピュータ3によっテ
IJセットするようにする。
E Means for Solving Problems In order to solve these problems, the present invention provides a main microcomputer 3 and a subsystem which transmits and receives data between the main microcomputer 3 and which is reset by the main microcomputer 3. The main microcomputer 3 sets the sub-microcomputer 4 according to a safety code C3 outputted from the sub-microcomputer 4.

F作用 メインマイクロコンピュータ3に出力されたセイフテイ
コードC8に応じて、メインマイクロコンピュータ3は
サブマイクロコンピュータ4をリセットする。
F action The main microcomputer 3 resets the sub microcomputer 4 in response to the safety code C8 output to the main microcomputer 3.

かくしてセイフテイコードC8に応じてサブマイクロコ
ンピュータ4が誤動作しているときのみリセット動作を
行うことができるので、リセット動作後の煩雑な操作の
頻度を軽減することのできるリセット回路を実現するこ
とができる。
In this way, since the reset operation can be performed only when the sub-microcomputer 4 is malfunctioning in accordance with the safety code C8, it is possible to realize a reset circuit that can reduce the frequency of complicated operations after the reset operation. can.

G実施例 以下図面について、本発明の一実施例を詳述する。G example An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図において、1は全体としてビデオカメラ部2を具
えたビデオ情報記録再生装置(以下、これをビデオデツ
キと呼ぶ)で、メインマイクロコンビュータ3及びサブ
マイクロコンピュータ4によって制御される。
In FIG. 1, reference numeral 1 denotes a video information recording/reproducing device (hereinafter referred to as a video deck) which includes a video camera section 2 as a whole and is controlled by a main microcomputer 3 and a sub microcomputer 4. As shown in FIG.

主電源スイッチ回路5がオフ状態のとき、バックアップ
電源6はダイオード7を介してサブマイクロコンピュー
タ4に電源を供給する。これに対して主電源スイッチ回
路5がオン状態のとき、バックアップ電源6に代えて主
電源8がダイオード9を介してサブマイクロコンピュー
タ4に電源を供給すると共に、ビデオカメラ部2、メイ
ンマイクロコンピュータ3、ビデオデツキ駆動回路10
及び液晶表示回路11に電源を供給する。
When the main power switch circuit 5 is off, the backup power supply 6 supplies power to the sub-microcomputer 4 via the diode 7. On the other hand, when the main power switch circuit 5 is in the on state, the main power supply 8 instead of the backup power supply 6 supplies power to the sub-microcomputer 4 via the diode 9, and also supplies power to the sub-microcomputer 4 via the diode 9. , video deck drive circuit 10
and supplies power to the liquid crystal display circuit 11.

従ってメインマイクロコンピュータ3はビデオデツキ駆
動回路10、ビデオカメラ部2及び液晶表示回路11と
共にスイッチ回路5がオン状態のときのみ動作しく以下
これを動作モードと呼ぶ)、またサブマイクロコンピュ
ータ4は主電源スイッチ回路5のオン状態及びオフ状態
のいずれの場合にも動作する。
Therefore, the main microcomputer 3 operates together with the video deck drive circuit 10, the video camera unit 2, and the liquid crystal display circuit 11 only when the switch circuit 5 is in the on state (hereinafter referred to as the operating mode), and the sub microcomputer 4 operates as the main power switch. It operates whether the circuit 5 is on or off.

さらに主電源スイッチ回路5がオン動作した時、リセッ
ト回路12が一度0 〔■〕に立ち下った後、所定の電
圧に立ち上るリセット信号R3Tlをメインマイクロコ
ンピュータ3のリセット端子に出力する。このときメイ
ンマイクロコンピュータ3は当該リセット信号R3Tl
によって初期動作状態にリセットされる。
Furthermore, when the main power switch circuit 5 is turned on, the reset circuit 12 outputs a reset signal R3Tl that once falls to 0 [■] and then rises to a predetermined voltage to the reset terminal of the main microcomputer 3. At this time, the main microcomputer 3 receives the reset signal R3Tl.
is reset to the initial operating state.

動作モードに入ると、メインマイクロコンピュータ3は
、サブマイクロコンピュータ4から出力されるデータD
Aに応じて、制御信号DCをデータバス32に出力して
、ビデオデツキ駆動回路10及びビデオカメラ部2を当
該制御信号に基づいて駆動制御する。さらにビデオデツ
キ駆動回路10及びビデオカメラ部2は、データバス3
2に例えばテープカウンタのカウント値、結露センサ等
の各センサ情報を出力し、メインマイクロコンピュータ
3は、これらの情報を必要に応じてサブマイクロコンピ
ュータ4にデータDBとして出力する。
When entering the operation mode, the main microcomputer 3 receives data D output from the sub microcomputer 4.
In response to A, a control signal DC is output to the data bus 32, and the video deck drive circuit 10 and video camera unit 2 are driven and controlled based on the control signal. Furthermore, the video deck drive circuit 10 and the video camera section 2 are connected to a data bus 3.
For example, the main microcomputer 3 outputs each sensor information such as the count value of the tape counter and the dew condensation sensor to the main microcomputer 2, and the main microcomputer 3 outputs this information to the sub-microcomputer 4 as a data DB as necessary.

このようなマイクロコンピュータ3及び4間のデータの
送受は、例えば第2図に示すような8ビツト1ワードで
構成された3ワードのデータDA及びDBを用いて実行
される。
Such data transmission and reception between the microcomputers 3 and 4 is carried out using, for example, three words of data DA and DB consisting of one 8-bit word as shown in FIG.

このうち、メインマイクロコンピュータ3からサブマイ
クロコンピュータ4に転送されるデータDAは、第1ワ
ードW1にビデオデツキ駆動回路10及びビデオカメラ
部2から出力された情報(例えば結露センサの情報やカ
セットテープのエンド情fg)が割り当てられる。また
第2ワードW2にビデオデツキ駆動回路10より得られ
たテープカウンタのカウント値のデータが割り当てられ
る。さらに第3ワードW3にビデオデツキの動作状態(
例えば録画、早送り、一時停止など)の情報が割り当て
られる。
Of these, the data DA transferred from the main microcomputer 3 to the sub-microcomputer 4 includes information outputted from the video deck drive circuit 10 and the video camera section 2 (for example, information on the dew condensation sensor and the end of the cassette tape) in the first word W1. information fg) is assigned. Further, the data of the count value of the tape counter obtained from the video deck drive circuit 10 is assigned to the second word W2. Furthermore, the operating status of the video deck (
For example, information about recording, fast forwarding, pausing, etc.) is assigned.

逆にサブマイクロコンピュータ4からメインマイクロコ
ンピュータ3に転送されるデータDBは、第1ワードW
lに当該ビデオデツキlの仕様、すなわちNTSC方式
、PAL方式等のビデオ信号のフォーマットを表す識別
jrrtfiと、サブマイクロコンピュータ4のデータ
バス31に接続された操作子15のスライドスイッチ(
例えば誤t1画防止スイッチ21やテープ走行スピード
切換スイッチ22)のスライド位置を表す位置悄轢とが
割り当てられる。また第2ワードW2に操作子15のタ
クトスイッチ(例えば録画開始スイッチ25、早送りス
イッチ26、再生開始スイッチ27)のオン又はオフ状
態を表す動作情報が割り当てられる。
Conversely, the data DB transferred from the sub-microcomputer 4 to the main microcomputer 3 is the first word W.
The specification of the video deck l, that is, the identification jrrtfi representing the video signal format such as NTSC system or PAL system, and the slide switch (
For example, a position error representing the slide position of the erroneous t1 image prevention switch 21 or the tape running speed changeover switch 22) is assigned. Further, operation information indicating the on or off state of the tact switch of the operator 15 (eg, recording start switch 25, fast forward switch 26, playback start switch 27) is assigned to the second word W2.

これに加えて、第3ワードW3には、サブマイクロコン
ピュータ4内に設けられたランダムアクセスメモリ (
RAM)17の所定番地の内容からなるセエイフテイコ
ードC8が割り当てられる。このセエイフテイコードC
3は、サブマイクロコンピュータ4がイニシャライズ動
作を行った後にRAM17の所定番地に特定のデータ、
例えばヘキサコードでなるデータrAAJを書き込むこ
とによって設定され、メインマイクロコンピュータ3は
サブマイクロコンピュータ4からデータDBが出力され
るごとにセエイフテイコードC3が所定のデータすなわ
ちrAAJであるか否かを判断する。
In addition to this, the third word W3 includes a random access memory (
A safety code C8 consisting of the contents of a predetermined location in RAM) 17 is assigned. This safety code C
3 stores specific data in a predetermined location of the RAM 17 after the sub-microcomputer 4 performs an initialization operation.
For example, the main microcomputer 3 determines whether or not the safety code C3 is predetermined data, that is, rAAJ, each time the data DB is output from the sub-microcomputer 4. do.

セエイフテイコードC8がデータrAAJである場合、
サブマイクロコンピュータ4のRAM17の内容は正常
な値を判断することができ、サブマイクロコンピュータ
4も正常動作を行っていると判断することができる。
If safety code C8 is data rAAJ,
It can be determined that the contents of the RAM 17 of the sub-microcomputer 4 are normal values, and it can be determined that the sub-microcomputer 4 is also operating normally.

これとは逆にセエイフティコードcsがデータ「AA」
ではない場合、RAM17の内容に異常が生じたことを
示し、サブマイクロコンピュータ4は、誤動作している
と判断することができる。
On the contrary, safety code cs is data "AA"
If not, it indicates that an abnormality has occurred in the contents of the RAM 17, and the sub-microcomputer 4 can be determined to be malfunctioning.

従ってメインマイクロコンピュータ3は、セエイフテイ
コードC3がデータrAAJと一敗しない場合は、直ち
にサブマイクロコンピュータ4のリセット端子の電圧を
0〔■〕に立ち下げた後、所定の電圧に立ち上げるリセ
ット信号RST2を与えて、サブマイクロコンピュータ
4を初期状態にリセットする。
Therefore, if the safety code C3 does not match the data rAAJ, the main microcomputer 3 immediately lowers the voltage at the reset terminal of the sub microcomputer 4 to 0 [■] and then resets it to a predetermined voltage. A signal RST2 is applied to reset the sub-microcomputer 4 to its initial state.

これに対してセエイフテイコードC3がデータrAAJ
と一致した場合は、メインマイクロコンピュータ3はサ
ブマイクロコンピュータ4から得られたデータDBの情
報に基づいて、その制御動作を中継せずに持続する。
In contrast, the safety code C3 is the data rAAJ.
If they match, the main microcomputer 3 continues the control operation without relaying it based on the data DB information obtained from the sub-microcomputer 4.

一方サブマイクロコンピュータ4はスイッチ回路5がオ
フ動作及びオン動作しているとき、いずれの場合も、内
部に設けられた内部カウンタの値をインクリメントして
、現在時刻及び日付のカウント(以下これを時計動作と
呼ぶ)すると共に、必要に応じてRAM17に格納され
たデータDBに基づいてリードオンリメモリ (ROM
)構成のキャラクタジェネレータ16の表示情報DLC
Dを液晶表示回路11に出力する(以下これを表示出力
動作と呼ぶ)と共に、データバス30及び31を監視す
る。
On the other hand, when the switch circuit 5 is turned off or turned on, the sub-microcomputer 4 increments the value of an internal counter provided inside and counts the current time and date (hereinafter referred to as a clock). (referred to as "operation"), and read-only memory (ROM
) configuration character generator 16 display information DLC
D is output to the liquid crystal display circuit 11 (hereinafter referred to as display output operation), and the data buses 30 and 31 are monitored.

データバス31の各ラインには、操作子15の例えばス
ライドスイッチ21.22、及びタクトスイッチ25.
26.27と共に、時計セットスイッチ29が接続され
ており、ユーザがスライドスイッチ21.22のポジシ
ロンを操作したり、タクトスイッチ25.26.27と
、時計セットスイッチ29とをオン操作したりすると、
これに接続されたデータバス31の各ラインの論理レベ
ルに変化が生じるようになされている。
Each line of the data bus 31 is provided with a slide switch 21, 22, a tact switch 25, etc. of the operator 15, for example.
A clock set switch 29 is connected together with 26 and 27, and when the user operates the position switch of the slide switch 21.22 or turns on the tact switch 25, 26, 27 and the clock set switch 29,
The logic level of each line of the data bus 31 connected thereto is changed.

またサブマイクロコンピュータ4はデータバス31を監
視して、時計セットスイッチ29に接続されたデータバ
ス31のラインに変化が生じた場合は、カウンタの値を
インクリメントして時刻及び日付を校正すると共に、ス
ライドスイッチ21.22及ヒタクトスイツチ25.2
6.27に接続されたデータバス31のラインに変化が
生じた場合は、この変化の情報をRAM17に格納する
(以下これらをキースキャン動作と呼ぶ)。
Furthermore, the sub-microcomputer 4 monitors the data bus 31, and when a change occurs in the line of the data bus 31 connected to the clock set switch 29, it increments the value of the counter to calibrate the time and date. Slide switch 21.22 and Hitaku switch 25.2
When a change occurs in the line of the data bus 31 connected to 6.27, information on this change is stored in the RAM 17 (hereinafter, these are referred to as key scan operations).

RAM17に格納されたスライドスイッチ21.22及
びタクトスイッチ25.26.27の情報は、メインマ
イクロコンピュータ3が起動すると、所定のタイミング
でデータDBとしてデータバス30に出力される。
The information of the slide switches 21, 22 and tact switches 25, 26, 27 stored in the RAM 17 is output to the data bus 30 as a data DB at a predetermined timing when the main microcomputer 3 is activated.

すなわちサブマイクロコンピュータ4は、リセット信号
RST2が入力されると、第3図に示すステップSPI
の初期状態に移りセエイフテイコード判断処理プログラ
ムに入り、ステップSP2においてRAM17及びカウ
ンタの内容をイニシャライズした後、ステップSP3に
移る。サブマイクロコンピュータ4はこのステップSI
’3においてRAM17の所定の番地に、セエイフテイ
コードC8としてデータrAAJを書き込んだ後、ステ
ップSP4に移ってキースキャン動作を行う。
That is, when the sub-microcomputer 4 receives the reset signal RST2, it executes the step SPI shown in FIG.
The program moves to the initial state, enters the safety code judgment processing program, initializes the contents of the RAM 17 and the counter in step SP2, and then moves to step SP3. The sub microcomputer 4 performs this step SI.
After writing the data rAAJ as safety code C8 to a predetermined address of the RAM 17 at '3, the process moves to step SP4 and a key scan operation is performed.

続くステップSP5においてサブマイクロコンピュータ
4は、上述のステップSP3において書き込んだRAM
17のセエイフティコードC8の内容が、現在も書込時
のデータrAAJと一致するか否かの確認を行う。
In the following step SP5, the sub-microcomputer 4 writes the RAM written in the above-mentioned step SP3.
It is checked whether the contents of the safety code C8 of No. 17 still match the data rAAJ at the time of writing.

ここで肯定結果が得られると、サブマイクロコンピュー
タ4はステップSP6に移り、時計動作及び表示出力動
作を実行した後、ステップSP7に移る。このステップ
SP7において、サブマイクロコンピュータ4はデータ
バス30を監視してメインマイクロコンピュータ3が動
作しているときは、このメインマイクロコンピュータ3
との間でデータDA及びDBを送受した後、ステップS
P8に移る。このステップSP8は、再度上述のステッ
プSP3において書き込んだRAM17のセエイフテイ
コードC8の内容が書込時のデータ「AA」と一致する
か否かを確認するステップで、ここで肯定結果が得られ
ると、上述のSP4に戻って再度ステップSP4のキー
スキャン動作を行つた後、ステップ5P5−5P6−3
P?−5P8−3P4の定常動作ループLOOPIの処
理を繰り返す。
If a positive result is obtained here, the sub-microcomputer 4 moves to step SP6, executes a clock operation and a display output operation, and then moves to step SP7. In this step SP7, the sub microcomputer 4 monitors the data bus 30, and when the main microcomputer 3 is operating, the sub microcomputer 4 monitors the data bus 30.
After transmitting and receiving data DA and DB, step S
Move to P8. This step SP8 is a step to confirm whether or not the content of the safety code C8 in the RAM 17 written in the above-mentioned step SP3 matches the data "AA" at the time of writing, and an affirmative result is obtained here. After returning to the above-mentioned SP4 and performing the key scan operation of step SP4 again, step 5P5-5P6-3
P? - Repeat the processing of the steady operation loop LOOPI of 5P8-3P4.

このループLOOPIの処理の間ステップSP5におい
て否定結果が得られると、このことはサブマイクロコン
ピュータ4のRAM17の内容に誤りが生じたことを意
味し、このときサブマイクロコンピュータ4は、上述の
ステップSP2に戻って再びRAM17及び内部のカウ
ンタの内容をイニシャライズする処理を実行する。
If a negative result is obtained in step SP5 during the processing of this loop LOOPI, this means that an error has occurred in the contents of the RAM 17 of the sub-microcomputer 4, and at this time, the sub-microcomputer 4 The process returns to and executes the process of initializing the contents of the RAM 17 and internal counters again.

同様にステップSP8において否定結果が得られると、
サブマイクロコンピュータ4は上述のステップSP2に
戻ってRAM17及び内部のカウンタの内容をイニシャ
ライズする処理を実行する。
Similarly, if a negative result is obtained in step SP8,
The sub-microcomputer 4 returns to step SP2 described above and executes processing to initialize the contents of the RAM 17 and internal counters.

以上の構成において、サブマイクロコンピュータ4は、
スイッチ回路5がオフ状態にあるとき、バックアップ電
源6によって第3図に示すステップ5P4−3P5−S
F3−3P?−5P8−5P4からなるループLOOP
 l定常動作の処理を繰り返す。
In the above configuration, the sub-microcomputer 4
When the switch circuit 5 is in the off state, the backup power supply 6 performs step 5P4-3P5-S shown in FIG.
F3-3P? - Loop LOOP consisting of 5P8-5P4
lRepeat the steady operation process.

この状態において、外来ノイズ等の影響によってRAM
17の内容に誤りが生じると、サブマイクロコンピュー
タ4はこれをステップSP5又はSe2において判断し
てステップSP2に移り、RAM17及び内部のカウン
タの内容をイニシャライズした後、ステップSP3を経
由してループL00PIの定常処理状態に戻すように動
作する。
In this state, due to the influence of external noise etc., RAM
If an error occurs in the contents of 17, the sub-microcomputer 4 determines this in step SP5 or Se2, moves to step SP2, initializes the contents of the RAM 17 and the internal counter, and then executes the loop L00PI via step SP3. Operates to return to steady processing state.

かかる動作状態において、ユーザが主電源スイッチ回路
5をオン動作すると、メインマイクロコンピュータ3、
ビデオデツキ駆動回路lO、ビデオカメラ部2及び液晶
表示回路11に電源が供給されると共に、サブマイクロ
コンピュータ4には、バックアップ電源6に代えて主電
源8が供給される。
In this operating state, when the user turns on the main power switch circuit 5, the main microcomputer 3,
Power is supplied to the video deck drive circuit IO, video camera section 2, and liquid crystal display circuit 11, and the sub-microcomputer 4 is supplied with a main power supply 8 instead of the backup power supply 6.

この主電源入力時、メインマイクロコンピュータ3は、
リセット回路12のリセット信号R3T1によってリセ
ットされた後、サブマイクロコンピュータ4がRAM1
7の内容に基づいてステップSP7のタイミングで出力
するデータDBを待ち受ける。やがてステップSP7に
おいて、サブマイクロコンピュータ4がデータDBを出
力すると、メインマイクロコンピュータ3はこのデータ
DBの第3ワードW3のセエイフテイコードC3がデー
タrAAJであるか否かの判断を行う。
When this main power is input, the main microcomputer 3
After being reset by the reset signal R3T1 of the reset circuit 12, the sub-microcomputer 4
Based on the contents of step SP7, the data DB to be output at the timing of step SP7 is awaited. Eventually, in step SP7, when the sub-microcomputer 4 outputs the data DB, the main microcomputer 3 determines whether the safety code C3 of the third word W3 of this data DB is the data rAAJ.

ここで、主電源スイッチ回路5がオン動作したことによ
ってサブマイクロコンピュータ4が誤動作したとすると
、データDBのセエイフテイコードC8はデータrAA
Jと異なるデータに変化しているはずである。従ってメ
インマイクロコンピュータ3はセエイフテイコードC8
がデータ「AA」と−敗しないときには、直ちにリセッ
ト信号RST2を出力してサブマイクロコンピュータ4
をステップSI’8からSPIに戻すように制御THt
、、かくしてサブマイクロコンピュータ4のRAM17
及び内部のカウンタの内容をイニシャライズさせる。
Here, if the sub-microcomputer 4 malfunctions due to the main power switch circuit 5 turning on, the safety code C8 of the data DB is the data rAA.
It should have changed to data different from J. Therefore, the main microcomputer 3 has a safety code C8.
When the data "AA" is not lost, the sub microcomputer 4 immediately outputs the reset signal RST2.
Control THt to return to SPI from step SI'8
,,Thus, the RAM 17 of the sub-microcomputer 4
and initialize the contents of the internal counter.

これに対してセエイフテイコードC8がデータrAAJ
と一敗したとき、メインマイクロコンピュータ4はデー
タDBの第1及び第2ワードWl及びW2に基づいて、
待ち受は状態にあるビデオデツキ駆動回路10及びビデ
オカメラ部2に制御信号DCを出力して、これを駆動制
御する。
In contrast, the safety code C8 is the data rAAJ.
When the main microcomputer 4 is defeated, the main microcomputer 4 uses the first and second words Wl and W2 of the data DB to
In the standby mode, a control signal DC is output to the video deck drive circuit 10 and video camera unit 2 which are in the standby state to drive and control them.

さらに、メインマイクロコンピュータ3は、ビデオデツ
キ駆動回路10及びビデオカメラ部2から出力される情
報に基づいて、データDAをサブマイクロコンピュータ
4に出力する。このときサブマイクロコンピュータ4は
このデータDAを受信した後、当該データDAに基づい
てRAM17の所定番地の内容を更新し、必要に応じて
ステップSP6において表示出力動作を行う。
Further, the main microcomputer 3 outputs data DA to the sub-microcomputer 4 based on information output from the video deck drive circuit 10 and the video camera section 2. At this time, after receiving this data DA, the sub-microcomputer 4 updates the contents of a predetermined location in the RAM 17 based on the data DA, and performs a display output operation in step SP6 as necessary.

なお、サブマイクロコンピュータ4がループL00PI
を介して定常処理を実行しているときは、ステップSP
4においてキースキャン動作を行うことにより、現在の
ユーザによる操作を検出し、ユーザが例えば録画開始ス
イッチ25をオン操作しているとすると、サブマイクロ
コンピュータ4は当該操作の情報をデータバス31の変
化の情報としてRAM17に格納した後、ステップSP
7においてメインマイクロコンピュータ3にデータDB
として出力する。このときメインマイクロコンピュータ
3はデータDBのセエイフテイコードC5がデータrA
AJと一致することを条件として制御信号DCを出力し
、かくしてビデオデツキ1によって録画動作を開始させ
る。
In addition, the sub microcomputer 4 is connected to the loop L00PI.
When executing steady processing via step SP
4, the current user operation is detected by performing a key scan operation, and if the user turns on the recording start switch 25, for example, the sub-microcomputer 4 transfers information of the operation to changes in the data bus 31. After storing it in the RAM 17 as information of
7, the data DB is sent to the main microcomputer 3.
Output as . At this time, the main microcomputer 3 changes the safety code C5 of the data DB to the data rA.
A control signal DC is output on the condition that it matches AJ, and thus the video deck 1 starts the recording operation.

上述の実施例によれば、サブマイクロコンピュータ4か
ら出力されるデータDBをメインマイクロコンピュータ
3によって確認することによって、サブマイクロコンピ
ュータ4が誤動作した場合に限って当=亥すフ゛マイク
ロコンピュータ4をリセットさせることができるので、
従来ユーザが1fB投入時、その都度行っていた時刻、
日付等の校正操作の頻度を格段に少くし得る簡易なる構
成のリセット回路を得ることができる。
According to the embodiment described above, by checking the data DB output from the sub-microcomputer 4 by the main microcomputer 3, the corresponding microcomputer 4 can be reset only when the sub-microcomputer 4 malfunctions. Because it is possible to
Previously, the time when the user inputted 1fB was done each time,
It is possible to obtain a reset circuit with a simple configuration that can significantly reduce the frequency of calibration operations for dates and the like.

また上述の実施例によれば、サブマイクロコンピュータ
4の電源として常時バックアップ電1fIX6を供給し
なくても、主電源スイッチ回路5の投入時には主電源8
から電源を供給することができるので、バックアップ電
源6としては従来のものと比較して小容量で小型軽菫な
ものを用いることができ、かくしてビデオデツキl全体
として小型軽量化することができる。
Further, according to the embodiment described above, even if the backup power 1fIX6 is not constantly supplied as a power source for the sub-microcomputer 4, when the main power switch circuit 5 is turned on, the main power 8
Since the backup power source 6 can be of a smaller capacity and lighter in size than conventional ones, the video deck 1 as a whole can be made smaller and lighter.

また上述の実施例によれば、サブマイクロコンピュータ
4は、自己チェック機能によって自らのメモリ内容を確
認することができるので、主電源スイッチ回路5が投入
されていない時でもサブマイクロコンピュータ4に誤動
作が生じると、これを速やかに防止することができ、サ
ブマイクロコンピュータ4の誤動作によって機器が損傷
するおそれを未然に防止することができる。
Further, according to the above-described embodiment, the sub-microcomputer 4 can check its own memory contents using the self-check function, so even when the main power switch circuit 5 is not turned on, the sub-microcomputer 4 will not malfunction. If this occurs, it can be quickly prevented, and the risk of equipment damage due to malfunction of the sub-microcomputer 4 can be prevented.

なお上述の実施例においては、メインマイクロコンピュ
ータ3及びサブマイクロコンピュータ4間で送受される
データDA及びDBとして、8ビツト1ワードで構成さ
れた3ワードのデータを送受し、このうちデータDBの
第3ワードW3にセエイフテイコードC3としてデータ
rAAJを付加した場合について述べたが、本発明はこ
れに限らず、これらのコード長、ワード長、セエイフテ
イコード付加位置、セエイフテイコードC8の内容(す
なわちデータrAAJ)などを必要に応じて変更し得る
。例えば、4ビツト5ワード長からなるデータの第I番
目のワードにセエイフテイコード「99」を付加するよ
うにしても上述の場合と同様の効果を得ることができる
In the above-described embodiment, the data DA and DB sent and received between the main microcomputer 3 and the sub-microcomputer 4 are three words of data each consisting of one 8-bit word. Although the case has been described in which data rAAJ is added to 3 words W3 as safety code C3, the present invention is not limited to this, and the present invention is not limited to this. The contents (ie, data rAAJ), etc. can be changed as necessary. For example, the same effect as described above can be obtained by adding a safety code "99" to the I-th word of data consisting of 4 bits and 5 words.

またサブマイクロコンピュータ4から出力されるデータ
DBに、その都度セエイフティコードを付加することに
代え、例えば1回又は複数回おきにセエイフテイコード
を出力するようにしても良く、また、例えば1回ごとに
異なる2種類のコードをセエイフティコードとして交互
に出力するようにするなど、データの構成を種々変更し
得る。
Further, instead of adding a safety code to the data DB output from the sub-microcomputer 4 each time, the safety code may be outputted every once or every time, for example. The structure of the data can be changed in various ways, such as alternately outputting two different types of codes as safety codes each time.

また本発明においては、メイン及びサブマイクロコンピ
ュータを1づつ設けたVTRについて本発明を適用した
場合について述べたが、これに代え、1つ又は複数のメ
インマイクロコンピュータに対してそれぞれ1つ又は複
数のサブマイクロコンピュータを用いる場合についても
適用することができ、またVTRに限らず要は複数のマ
イクロコンピュータを用いて全体として統一的に制御さ
れる制御系を有する機器に広く本発明を適用し得る。
Furthermore, in the present invention, a case has been described in which the present invention is applied to a VTR provided with one main microcomputer and one sub microcomputer. The present invention can also be applied to cases where a sub-microcomputer is used, and the present invention can be widely applied not only to VTRs but also to devices having a control system that is controlled in a unified manner as a whole using a plurality of microcomputers.

H発明の効果 以上のように本発明によれば、複数のマイクロコンピュ
ータによって統一的に制御される機器において、マイク
ロコンピュータの1つに誤動作を生じたとき、これに応
じてリセット動作するようにしたことにより、従来の構
成のようにリセット動作ごとに行う煩雑な操作の頻度を
軽減することができ、効率良く機器をリセットさせ得る
リセット回路を容易に得ることができる。
H Effects of the Invention As described above, according to the present invention, in a device that is uniformly controlled by a plurality of microcomputers, when one of the microcomputers malfunctions, a reset operation is performed in response to the malfunction. As a result, it is possible to reduce the frequency of complicated operations performed for each reset operation as in the conventional configuration, and it is possible to easily obtain a reset circuit that can efficiently reset the device.

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

第1図は本発明の一実施例を示すブロック図、第2図は
メイン及びサブマイクロコンピュータ間の送受のデータ
を示す路線図、第3図はサブマイクロコンピュータの動
作の説明に供するフローチャートである。 1・・・・・・ビデオデツキ、2・・・・・・ビデオカ
メラ部、3.4・・・・・・マイクロコンピュータ、5
・・・・・・スイッチ回路、6・・・・・・バックアッ
プ電源、8・・・・・・主電源、30.31.32・・
・・・・データバス。 羊 l 図 データDA及びDBの構成 善2図 ブアマイクロコンピューグのフローチャート茶3 図
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a route diagram showing data sent and received between the main and sub-microcomputers, and Fig. 3 is a flowchart for explaining the operation of the sub-microcomputer. . 1...Video deck, 2...Video camera section, 3.4...Microcomputer, 5
... Switch circuit, 6 ... Backup power supply, 8 ... Main power supply, 30.31.32 ...
...Data bus. Sheep l Diagram Data DA and DB configuration Good 2 Diagram Bua Microcomputing flowchart Tea 3 Diagram

Claims (2)

【特許請求の範囲】[Claims] (1)メインマイクロコンピユータと、 上記メインマイクロコンピユータとの間でデータを送受
し、かつ上記メインマイクロコンピユータによつてリセ
ツトされるサブマイクロコンピユータと を具え、上記サブマイクロコンピユータから出力される
セエイフテイコードに応じて上記サブマイクロコンピユ
ータを上記メインマイクロコンピユータによつてリセツ
トすることを特徴とするリセツト回路。
(1) A main microcomputer, and a sub-microcomputer that transmits and receives data to and from the main microcomputer and is reset by the main microcomputer, and is equipped with a safety system that outputs data from the sub-microcomputer. A reset circuit characterized in that the sub microcomputer is reset by the main microcomputer according to a code.
(2)上記サブマイクロコンピユータは、内部において
発生したセエイフテイコードに応じてリセツトするよう
にしてなる特許請求の範囲第1項に記載のリセツト回路
(2) The reset circuit according to claim 1, wherein the sub-microcomputer is reset in response to a safety code generated internally.
JP61015394A 1986-01-27 1986-01-27 Resetting circuit Pending JPS62173658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61015394A JPS62173658A (en) 1986-01-27 1986-01-27 Resetting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61015394A JPS62173658A (en) 1986-01-27 1986-01-27 Resetting circuit

Publications (1)

Publication Number Publication Date
JPS62173658A true JPS62173658A (en) 1987-07-30

Family

ID=11887514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61015394A Pending JPS62173658A (en) 1986-01-27 1986-01-27 Resetting circuit

Country Status (1)

Country Link
JP (1) JPS62173658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02306453A (en) * 1989-05-19 1990-12-19 Fujitsu Ltd magnetic tape device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02306453A (en) * 1989-05-19 1990-12-19 Fujitsu Ltd magnetic tape device

Similar Documents

Publication Publication Date Title
JPS62173658A (en) Resetting circuit
JPH05265872A (en) Access control circuit
JP2743756B2 (en) Semiconductor disk device
JP3169488B2 (en) Communication control device
JPH09293020A (en) Interface circuit
JP3311776B2 (en) Data transfer check method in disk subsystem
JPS5949619B2 (en) Fault diagnosis method for redundant central processing system
JP2638257B2 (en) Error handling circuit for control power supply
JP3191282B2 (en) Failure information data collection method
JPH02173852A (en) Bus diagnostic device
JPH0157376B2 (en)
JP2549849B2 (en) Multiplexed memory device
JPS597971B2 (en) I/O device control method
JPH0659941A (en) Information processor
JPS6213702B2 (en)
JPH0414374B2 (en)
JPS6316353A (en) Automatic initial program load-in device
JPH04252344A (en) Computer system
JPH0113577B2 (en)
JPS63282852A (en) Backup system diagnosis method in duplex processing system
JPH03216748A (en) Remote channel device
JPH04340138A (en) Control device
JPH01154212A (en) Microprocessor reset method
JPH04175915A (en) Reset circuit for microcomputer
JPS63224079A (en) Write operation interruption storage circuit for magnetic disk device