JPH02213621A - System device - Google Patents

System device

Info

Publication number
JPH02213621A
JPH02213621A JP3177889A JP3177889A JPH02213621A JP H02213621 A JPH02213621 A JP H02213621A JP 3177889 A JP3177889 A JP 3177889A JP 3177889 A JP3177889 A JP 3177889A JP H02213621 A JPH02213621 A JP H02213621A
Authority
JP
Japan
Prior art keywords
reset
microcomputer
terminal
transmission phase
signal
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
JP3177889A
Other languages
Japanese (ja)
Inventor
Ichiro Nasu
一郎 奈須
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 JP3177889A priority Critical patent/JPH02213621A/en
Publication of JPH02213621A publication Critical patent/JPH02213621A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable a system to automatically return to a reusable state by a method wherein abnormality of a terminal without a power source is detected through a signal transmission line by means of the microcomputer of a terminal with a power source, and the whole of the system is reset through drive of a system reset part. CONSTITUTION:For example, when a microcomputer 14 of a mixing valve unit 2 effects malfunction, reset is rendered effective to a microcomputer 14 by means of a run away detecting part 17, a program incorporated in the microcomputer 14 is started from an initial transmission phase, and a READY signal is received by a main remote controller 1. After a READY signal is received in an abnormal transmission phase by a microcomputer 7 of the main remote controller 1, the microcomputer starts reset processing and outputs a system reset output. By means of the output, a system reset part 12 reduces an output from a power source 4 for a specified time, and after the system is reset, it is risen in an initial state again. This constitution causes resetting of the whole of a system through detection of malfunction occurring to a part of the system and enables automatic restarting of the whole of the system.

Description

【発明の詳細な説明】 主粟よq肌且分互 本発明はリモコンを複数有した給湯装置、湯水混合装置
等のシステム装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to system devices such as water heaters and hot water mixing devices that have a plurality of remote controllers.

従来■伎土 従来この種のシステム装置は例えば第11図に示すよう
に湯水混合装置の場合、システム全体に給電するシステ
ム電源4、表示部5、操作部6とそれらを制御するマイ
コンマを有したメインリモコンlと、熱湯と水を混合し
て適温の湯をつくり出湯、止水を行なう混合弁13をマ
イコン14で制御している混合弁ユニット2と、表示部
19、操作部20をマイコン21で制御しているサブリ
モコン3から構成されている。サブリモコン3と混合弁
ユニ。
Conventional System Equipment Conventionally, as shown in Fig. 11, for example, in the case of a hot water mixing device, this type of system device had a system power supply 4 that supplies power to the entire system, a display section 5, an operation section 6, and a microcomma that controls them. The main remote controller 1, the mixing valve unit 2 which controls the mixing valve 13 which mixes boiling water and cold water to produce hot water at an appropriate temperature, dispenses hot water, and shuts off the water using a microcomputer 14, the display section 19, and the operation section 20 are controlled by the microcomputer 21. It consists of a sub-remote controller 3 that is controlled by. Sub remote control 3 and mixing valve uni.

ト2はメインリモコンlから二線の電源線によってta
の供給を受けている。又、メインリモコン1、混合弁ユ
ニット2、サブリモコン3はそれぞれに設けられた信号
伝送インターフェース8.15.22を介して信号伝送
ラインで接続されている。更に混合弁ユニット2にはマ
イコン14の暴走を検出しマイコン14にリセットをか
ける暴走検出部17を備えている。
2 is connected to the main remote controller 1 by a two-wire power line.
is being supplied with. Further, the main remote controller 1, mixing valve unit 2, and sub remote controller 3 are connected by a signal transmission line through signal transmission interfaces 8, 15, and 22 provided respectively. Furthermore, the mixing valve unit 2 is equipped with a runaway detection section 17 that detects runaway of the microcomputer 14 and resets the microcomputer 14.

この構成により湯水混合装置はメインリモコン1及びサ
ブリモコン3の操作にしたがって設定された温度の湯を
設定された流量で出湯していた。
With this configuration, the hot water mixing device dispenses hot water at a set temperature and at a set flow rate according to the operations of the main remote controller 1 and the sub remote controller 3.

またメインリモコン1、サブリモコン3の異常場合は信
号伝送時に混合弁ユニット2のリモコン14が異常を検
出して混合弁13を止水するように制御した後異常停止
し、混合弁ユニット2のマイコン14が異常状態になっ
た場合は暴走検出部17でマイコン14にリセットをか
け元の制御状態に復帰させたり、マイコン14でメイン
リモコンl、サブリモコン3との状態の食い違いを検出
して混合弁13を止水するよう制御した後異常停止して
システムのフェールセーフは図られていた。
In addition, if there is an abnormality in the main remote controller 1 or sub remote controller 3, the remote controller 14 of the mixing valve unit 2 detects the abnormality during signal transmission, controls the mixing valve 13 to stop water, and then stops abnormally. 14 is in an abnormal state, the runaway detection unit 17 resets the microcomputer 14 to return to the original control state, or the microcomputer 14 detects a discrepancy in the status of the main remote controller 1 and the sub remote controller 3 and adjusts the mixing valve. 13 was controlled to shut off the water and then stopped abnormally, ensuring a fail-safe system.

0 <”′ しよ゛と る1 しかしながら上記のような構成ではノイズ等によるマイ
コンの誤動作の度にメイン電源をOFFしてやる必要が
あり面倒であった。
0 <"' 1 However, with the above configuration, it was troublesome as it was necessary to turn off the main power every time the microcomputer malfunctioned due to noise or the like.

特に設備機器では常時通電されていて、電源スィッチが
操作しにくい場所に設けられているシステム、また電源
がブレーカ−等から直接引かれていてMBスイッチのな
いシステムが多く、上記のような誤動作の可能性もだか
くなるうえ、誤動作時の操作性の悪さがより一層課題と
なっている。
In particular, there are many systems in which equipment is constantly energized and the power switch is installed in a location that is difficult to operate, and systems where power is drawn directly from a breaker etc. and do not have an MB switch. In addition to increasing the possibilities, poor operability in the event of a malfunction has become an even greater issue.

本発明はかかる従来の課題を解消するもので、複数のマ
イコンを使用したシステムで一部のマイコンが誤動作し
たとき電源スィッチをOFFする等の操作をすることな
しに自動的にシステムを再使用可能な状態に復帰させる
システム装置を提供することを目的とする。
The present invention solves this conventional problem, and when some microcontrollers malfunction in a system using multiple microcontrollers, the system can be automatically reused without having to perform operations such as turning off the power switch. The purpose of the present invention is to provide a system device that can restore a normal state.

Ill  7 ″るための− 上記課題を解決するために本発明のシステム装置は、少
なくともシステムに給電する電源部と電源部の出力をシ
ステムにリセットがかかる電圧以下に低下させるシステ
ムリセット部と、通信インターフェースと、これらを制
御するマイコンと、マイコンの暴走を検出してマイコン
にリセットをかける暴走検出部からなる有電源端末と、
少なくとも通信インターフェースと通信を制御するマイ
コンよりなる複数の無電源端末を電源線と信号伝送線で
接続したシステムにおいて、有電源端末のマイコンで信
号伝送線を介して無電源端末の異常を検出し前記システ
ムリセット部を駆動してシステム全体にリセットをかけ
るよう構成する。
In order to solve the above problems, the system device of the present invention includes at least a power supply section that supplies power to the system, a system reset section that lowers the output of the power supply section to a voltage below which the system is reset, and a communication system. A powered terminal consisting of an interface, a microcomputer that controls these, and a runaway detection section that detects runaway of the microcomputer and resets the microcomputer,
In a system in which a plurality of unpowered terminals each consisting of at least a communication interface and a microcomputer that controls communication are connected by a power line and a signal transmission line, the microcontroller of the powered terminal detects an abnormality in the unpowered terminal via the signal transmission line. The system is configured to drive the system reset section to reset the entire system.

さらに信号伝送フェーズを初期伝送フェーズと通常伝送
フェーズに分け、初期伝送フェーズでは無電源端末は有
電′a端末にREADY信号を伝送し、有電源端末は一
定時間以内に予め登録された無電源端末からのREAD
Y信号をすべて受信した場合に信号伝送フェーズを通常
伝送フェーズに切り替え、一定時間内に予め登録された
無電源端末からのREADY信号をすべて受信できなか
った場合と通常伝送フェーズでREADY信号を受信し
た場合に無電源端末の異常とし、てシステムリセット部
を介してシステム全体にリセットをかける。無電源端末
にマイコンの暴走を検出する暴走検出部を設け、マイコ
ンの暴走を検出したらマイコンにリセットをかける。有
電源端末、無電源端末のマイコンのプログラムはプログ
ラムのあき番地、通常有り得ない条件処理部にプログラ
ムスタートアドレスへの分岐処理を入れる構成、または
信号伝送フェーズを初期伝送フェーズと通常伝送フェー
ズに分け、さらに伝送信号コードにリセット信号を割り
付け、初期伝送フェーズでは無電源端末は有電源端末に
READY信号を伝送し、有電#端末は一定時間以内に
予め登録された無電源端末からのREADY信号をすべ
て受信した場合に信号伝送フェーズを通常伝送フェーズ
に切り替え、一定時間内に予め登録された無電源端末か
らのREADY信号をすべて受信できなかった場合と通
常伝送フェーズでREADY信号を受信した場合と初期
伝送フェーズ、通常伝送フェーズでリセノ1号を受信し
た場合に無電tX@末の異常として前記システムリセッ
ト部を介してシステム全体にリセットをかける。
Furthermore, the signal transmission phase is divided into an initial transmission phase and a normal transmission phase. In the initial transmission phase, the unpowered terminal transmits a READY signal to the powered terminal 'a', and the powered terminal receives the registered unpowered terminal within a certain period of time. READ from
When all the Y signals are received, the signal transmission phase is switched to the normal transmission phase, and when all the READY signals from the pre-registered unpowered terminals cannot be received within a certain period of time, the READY signal is received in the normal transmission phase. If the unpowered terminal is abnormal, the entire system is reset via the system reset unit. A runaway detection section that detects runaway of the microcomputer is installed in the unpowered terminal, and when runaway of the microcomputer is detected, the microcomputer is reset. The microcomputer programs for powered terminals and non-powered terminals are configured to include branch processing to the program start address in an empty address of the program, a condition processing section that normally cannot occur, or to divide the signal transmission phase into an initial transmission phase and a normal transmission phase. Furthermore, a reset signal is assigned to the transmission signal code, and in the initial transmission phase, the unpowered terminal transmits a READY signal to the powered terminal, and the powered # terminal receives all READY signals from the unpowered terminal registered in advance within a certain period of time. If the signal transmission phase is received, the signal transmission phase is switched to the normal transmission phase, and if all the READY signals from the unpowered terminals registered in advance cannot be received within a certain period of time, when the READY signal is received in the normal transmission phase, and when the initial transmission When Receno No. 1 is received in the normal transmission phase, the entire system is reset via the system reset section as an abnormality in the wireless tX@ terminal.

無電源端末にマイコンの暴走を検出する暴走検出部を設
け、マイコンの暴走を検出したらマイコンにリセットを
かける。無j’l’)a端末のマイコンのプログラムに
一定時間毎に存電源端末にリセット信号を送信し続ける
リセット処理部を設け、さらにプログラムのあき番地、
通常をり得ない条件処理部にリセット処理アドレスへの
分岐処理を入れる構成を備えたものである。
A runaway detection section that detects runaway of the microcomputer is installed in the unpowered terminal, and when runaway of the microcomputer is detected, the microcomputer is reset. No j'l') A reset processing unit is provided in the microcomputer program of terminal a to continue sending a reset signal to the power supply terminal at fixed intervals, and furthermore, the free address of the program,
This system is equipped with a configuration in which a branch process to a reset process address is inserted into an unusual condition processing section.

イ1 上記構成によって、システムの一部もしくは全体が誤動
作等で作動の継続が不可能になった場合、自動的にソス
テム全体にハード的手段でリセットをかけ再びシステム
を作動可能な状態に復帰させることができる。
B1 With the above configuration, if part or the entire system becomes unable to continue operating due to malfunction, etc., the entire system is automatically reset by hardware means to return the system to an operational state again. be able to.

X幕開 以下、本発明の一実施例を添付図面に基づいて説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the accompanying drawings.

第1図は本発明のシステムブロック図でメイン’J モ
コ71、混合弁ユニ・ント2、サブリモコン3から構成
されている。
FIG. 1 is a system block diagram of the present invention, which is composed of a main 'J' control unit 71, a mixing valve unit 2, and a sub-remote controller 3.

メインリモコンlはシステム全体に給電するシステム電
源4、システムの作動状況等を表示する表示部5、シス
テムの作動状態を変化させるための操作部6、おもに表
示、操作、通信を制御するマイコンマ、信号伝送ライン
とマイコンマのインターフェースの信号伝送インターフ
ェース8、電源ラインと信号伝送ラインを共用化し信号
伝送インターフェース8からの信号を電源ラインに型巣
させたり、電源ラインに型巣している信号を分離したり
する型巣分離部9、システム電源4がら供給される電源
電圧を検出してマイコンマにリセットをかけるリセ・ン
ト部10、マイコン7のウォンチドッグ信号をモニター
し暴走を検出したらリセット部10を介してマイコン7
にリセットをかける暴走検出部11、マイコンの出力で
システム電源の出力電圧をシステム中の全てのリセット
部が起動する電圧に一定時間制御するシステムリセット
部12よりなる。
The main remote controller l includes a system power supply 4 that supplies power to the entire system, a display section 5 that displays the operating status of the system, an operating section 6 that changes the operating status of the system, a microcomma that mainly controls display, operation, and communication, and signals. The signal transmission interface 8 of the transmission line and the microcomma interface can be used to share the power supply line and the signal transmission line, allowing the signal from the signal transmission interface 8 to be routed to the power supply line, or to separate the signal transmitted to the power supply line. A mold nest separation unit 9 detects the power supply voltage supplied from the system power supply 4 and resets the microcomputer, a reset unit 10 monitors the wonch dog signal of the microcomputer 7 and resets the microcomputer via the reset unit 10 when runaway is detected. 7
The system includes a runaway detection section 11 that resets the system, and a system reset section 12 that uses the output of the microcomputer to control the output voltage of the system power supply to a voltage that activates all reset sections in the system for a certain period of time.

混合弁ユニット2は熱湯と水を混合して適温の湯をつく
り出湯、止水を行なう混合弁13、おもに混合弁13と
通信を制御するマイコン14、メインリモコンと同様の
信号伝送インターフェース15、リセット部16、暴走
検出部17、型巣分離部18よりなる。
The mixing valve unit 2 includes a mixing valve 13 that mixes hot water and water to produce hot water at an appropriate temperature, performs hot water dispensing and water shutoff, a microcomputer 14 that mainly controls communication with the mixing valve 13, a signal transmission interface 15 similar to the main remote control, and a reset. It consists of a part 16, a runaway detection part 17, and a mold cavity separation part 18.

またサブリモコン3は表示部19、操作部20、おもに
表示、操作、通信を制御するマイコン21、メインリモ
コンと同様の信号伝送インターフェース22、リセット
部23、暴走検出部24、型巣分離部25よりなる。
The sub remote controller 3 also includes a display section 19, an operation section 20, a microcomputer 21 that mainly controls display, operation, and communication, a signal transmission interface 22 similar to the main remote controller, a reset section 23, a runaway detection section 24, and a mold separation section 25. Become.

第2図は混合弁ユニット2の混合弁13の構造図で電気
温水器等の給湯器からの熱湯の給湯口26と水の給湯口
27と混合され適温となったお湯を出湯する出湯口28
をもった弁体、マイコン14からの信号で熱湯と水の混
合比率を調節する混合弁部29、混合弁駆動モータ30
、マイコン14からの信号で出湯流量を調節したり止水
したりする流量調節弁部31、流量調節弁駆動モータ3
2、出湯温度を検出する温度センサ33、出湯流量を検
出する流量センサ34から構成されている。
Figure 2 is a structural diagram of the mixing valve 13 of the mixing valve unit 2, showing a hot water inlet 26 for hot water from a water heater such as an electric water heater, a hot water inlet 27 for water, and a hot water outlet 28 for discharging hot water that has been mixed to an appropriate temperature.
a mixing valve unit 29 that adjusts the mixing ratio of hot water and water based on signals from the microcomputer 14, and a mixing valve drive motor 30.
, a flow rate control valve unit 31 that adjusts the flow rate of hot water or stops water supply based on signals from the microcomputer 14, and a flow rate control valve drive motor 3.
2. It is composed of a temperature sensor 33 that detects the temperature of hot water, and a flow rate sensor 34 that detects the flow rate of hot water.

第3図、第4図、第5図はマイコンマ、マイコン14、
マイコン21に内蔵されたプログラムの概略フローチャ
ートである。
Figures 3, 4, and 5 are microcomma, microcontroller 14,
2 is a schematic flowchart of a program built into the microcomputer 21. FIG.

まず第3図はメインリモコン1を制御ルするプログラム
でSIから39で初期伝送フェーズ、310からS16
が通常伝送フェーズにあたる。メインリモコン1のマイ
コンマにリセットがかかると31でRAMチエツク、R
AMの初期設定、出力端子の初期設定等を行い、S2で
タイマをセットする。
First, Figure 3 shows a program that controls the main remote controller 1. From SI to 39, there is an initial transmission phase, and from 310 to S16.
corresponds to the normal transmission phase. When the microcomma of main remote control 1 is reset, check the RAM at 31, R
Initial settings for AM, initial settings for output terminals, etc. are performed, and a timer is set in S2.

S3でウォッチドッグ出力、S4で受信したデータの処
理を行ない、S5でタイマをカウントしつつS8で混合
弁ユニット8、サブリモコン12がらのREADY信号
を受信するまでループする。外部割込処理によって受信
データがきたら318で受信データの受信処理をおこな
う。READY信号が一定時間待ってもニなかったら8
6でリセット処理317に分岐する。またREADY信
号の受信待機中にREADY信号以外の信号を受信した
らS7でリセット処理317へ分岐する。S8で全ての
READY信号を受信したことを検出したらS9で5T
ART信号を送信する。この信号によってシステム全体
が初期伝送フェーズから通常伝送フェーズにかわる0通
常伝送フェーズではSIOでシステムの制御状態表示等
を行い、Sllでスイッチ等の検出、及びスイッチデー
タの処理を行い、312で必要に応じて処理結果を信号
伝送する。S12の伝送処理中に伝送信号に対する応答
が無いなどの伝送異常が発生した場合はS13でリセッ
ト処理S17へ分岐する。314で受信データの処理を
行いREADY信号を受信したらS15でリセット処理
S17に分岐する。S16でウォッチドッグ出力を出力
しSIOへ戻り通常伝送フェーズ時の処理ループを形成
する。リセット処理317ではシステムリセット起動出
力を出力してシステム全体にリセットをかける。また概
略フローチャートでは表現できないがプログラム中で条
件判断時に存り得ない条件が発生した時、例えば4ビツ
トのフラグでOhをフラグOFF、FhをフラグONに
割り付けた場合フラグチエツクを行なったらOh、Fh
以外のコードだった場合にリセット処理317へ分岐さ
せたり、プログラムエリアの空き番地にリセット処理S
17への分岐命令を入れる等のマイコン4が誤動作した
とき対策によってもリセット処理S17は起動される。
In S3, the watchdog is output, and in S4, the received data is processed. In S5, the timer is counted, and in S8, the process loops until the READY signal from the mixing valve unit 8 and sub-remote controller 12 is received. When received data arrives due to external interrupt processing, reception processing of the received data is performed in step 318. If there is no READY signal even after waiting for a certain period of time, 8.
6, the process branches to reset processing 317. Further, if a signal other than the READY signal is received while waiting for reception of the READY signal, the process branches to reset processing 317 in S7. When S8 detects that all READY signals have been received, S9 returns 5T.
Send ART signal. This signal causes the entire system to change from the initial transmission phase to the normal transmission phase. In the normal transmission phase, the SIO displays the control status of the system, the SLL detects switches, etc., and processes switch data, and the necessary The processing result is transmitted as a signal accordingly. If a transmission abnormality such as no response to the transmission signal occurs during the transmission process in S12, the process branches to reset process S17 in S13. When the received data is processed in step 314 and a READY signal is received, the process branches to reset processing S17 in step S15. In S16, a watchdog output is output, and the process returns to SIO to form a processing loop during the normal transmission phase. In reset processing 317, a system reset activation output is output to reset the entire system. Also, although it cannot be expressed in a general flowchart, when an impossible condition occurs during condition judgment in a program, for example, if a 4-bit flag is assigned to Oh as flag OFF and Fh as flag ON, when the flag is checked, Oh, Fh
If the code is other than that, branch to reset processing 317, or reset processing S to a vacant address in the program area.
The reset process S17 is also started as a countermeasure when the microcomputer 4 malfunctions, such as when a branch instruction is input to the microcomputer 17.

第4図は混合弁ユニット2を制御するプログラムで31
9から323までが初期伝送フェーズ、324からS2
7までが通常伝送フェーズにあたる。混合弁ユニット2
のマイコン14にリセットがががるとまず319でRA
Mチエツク、RAMの初期設定、出力端子の初期設定等
を行い、s2oでREADY信号をメインリモコンに送
信する。321でウォッチドッグ信号の出力、322で
受信データの処理をおこない、S23で5TART信号
の受信を待つ。
Figure 4 shows the program 31 that controls the mixing valve unit 2.
9 to 323 is the initial transmission phase, 324 to S2
The period up to 7 corresponds to the normal transmission phase. Mixing valve unit 2
When the microcomputer 14 of
Performs M check, initial settings of RAM, initial settings of output terminals, etc., and sends a READY signal to the main remote controller at s2o. A watchdog signal is output in 321, received data is processed in 322, and reception of the 5TART signal is waited for in S23.

信号の受信は割込処理328で信号を検出しリアルタイ
ムに初期伝送フェーズ、通常伝送フェーズを通じて常時
おこな・)。5TART信号を受信したら324から3
27でループし通常伝送フェーズに入る。S24で受信
データの処理、325で受信したデータに基づき混合弁
の制御をおこない、必要に応じてS26で制御状態をメ
インリモコン1、サブリモコン3に伝送する。327で
ウォッチドッグ信号を出力し再び324の処理から繰り
返す、またメインリモコンlのマイコン7と同様に誤動
作対策により329でプログラムのスタートアドレスに
分岐するようになっている。
The reception of the signal is performed by detecting the signal in the interrupt processing 328 and always in real time through the initial transmission phase and the normal transmission phase. 324 to 3 when receiving 5TART signal
27 and enters the normal transmission phase. The received data is processed in S24, the mixing valve is controlled based on the received data in 325, and the control status is transmitted to the main remote controller 1 and sub remote controller 3 in S26 as necessary. At 327, a watchdog signal is output and the processing is repeated again from 324. Also, as with the microcomputer 7 of the main remote controller 1, a branch is made to the program start address at 329 to prevent malfunctions.

第5図はサブリモコン3を制御するプログラムで330
から334までが初期伝送フェーズ1.S35からS3
9までが通常伝送フェーズにあたる。サブリモコン3の
マイコン21にリセットがかかるとまず330でRAM
チエツク、RAMの初期設定、出力端子の初期設定等を
行い、331でREADY信号をメインリモコンに送信
する。S32でウォッチドッグ信号の出力、333で受
信データの処理をおこない、S34で5TART信号の
受信を待つ。信号の受信は割込処理S40で信号を検出
しリアルタイムに初期伝送フェーズ、通常伝送フェーズ
を通じて常時おこなう、5TART信号を受信したらS
35から339でループし通常伝送フェーズに入る。
Figure 5 shows the program for controlling the sub remote controller 3.
to 334 is the initial transmission phase 1. S35 to S3
The period up to 9 corresponds to the normal transmission phase. When the microcomputer 21 of the sub remote controller 3 is reset, the RAM is first reset by the 330.
It performs a check, initializes the RAM, initializes the output terminal, etc., and sends a READY signal to the main remote controller at 331. A watchdog signal is output in S32, received data is processed in S333, and reception of the 5TART signal is waited for in S34. Signal reception is performed in real time by detecting the signal in the interrupt processing S40 and constantly through the initial transmission phase and the normal transmission phase.When the 5TART signal is received, S
It loops from 35 to 339 and enters the normal transmission phase.

S35で受信データの処理、336で受信したデータに
基づきシステムの制御状態を表示する。S37で操作部
20の検出処理をおこない操作されたことを検出したら
必要に応じて338で制御データをメインリモコン1、
混合弁ユニット2に伝送する。S39でウォッチドッグ
信号を出力し再び335の処理から繰り返す。またメイ
ンリモコン1のマイコン7と同様に誤動作対策により3
41でプログラムのスタートアドレスに分岐するように
なっている。
The received data is processed in S35, and the control status of the system is displayed based on the received data in S336. In S37, the operation unit 20 is detected and if it is detected that it has been operated, the control data is sent to the main remote controller 1, as necessary in S338.
It is transmitted to the mixing valve unit 2. At S39, a watchdog signal is output, and the process is repeated from step 335. In addition, similar to the microcomputer 7 of the main remote control 1, the 3
41, the program branches to the start address of the program.

第6図はメインリモコン1のシステム電源4の回路図で
、RCCスイッチング電源で12V電源と5■電源を構
成している。−次整流回路35でACloo VからD
C150Vに変換し、制御回路36でトランス37の一
次巻線38への供電を50Kl(z〜20に七でON1
0 F F制御する。39は帰還巻線、40は二次巻線
である。二次巻線40に発生した電力を二次整流回路4
1で直流に変換する。42は定電圧帰還回路で二次整流
回路41の出力電圧が12Vになるよう制御回路36に
帰還信号を出力する。43は5■の定電圧回路である。
FIG. 6 is a circuit diagram of the system power supply 4 of the main remote controller 1, which is an RCC switching power supply and constitutes a 12V power supply and a 5-inch power supply. - ACloo V to D in the next rectifier circuit 35
The control circuit 36 controls the power supply to the primary winding 38 of the transformer 37 to 50Kl (ON1 at 7 for z~20).
0FF Control. 39 is a feedback winding, and 40 is a secondary winding. The power generated in the secondary winding 40 is transferred to the secondary rectifier circuit 4.
1 to convert to DC. 42 is a constant voltage feedback circuit that outputs a feedback signal to the control circuit 36 so that the output voltage of the secondary rectifier circuit 41 becomes 12V. 43 is a 5-inch constant voltage circuit.

44はシステムリセット入力端子で、この端子をGND
に落とすと帰還回路の基準電圧がQVとなり、二次整流
回路41の出力電力が2.5■程度に低下する。
44 is the system reset input terminal, and connect this terminal to GND.
When the voltage is reduced to , the reference voltage of the feedback circuit becomes QV, and the output power of the secondary rectifier circuit 41 decreases to about 2.5cm.

第7図はシステムリセット部12の回路図で、ワンショ
ットのタイマ回路を構成して1回パルスが入ったら一定
時間出力をLoにするようになっている。
FIG. 7 is a circuit diagram of the system reset section 12, which is configured as a one-shot timer circuit and is configured to set the output to Lo for a certain period of time after one pulse is received.

上記の構成において例えば混合弁ユニット2のマイコン
14が誤動作した場合、暴走検出部17によってマイコ
ン14にリセットがかかりマイコン14に内蔵されたプ
ログラムが初期伝送フェーズからスタートし、メインリ
モコン1にREADY信号を送信する。メインリモコン
lのマイコンマは通常伝送フェーズでREADY信号を
受信するとリセット処理を起動してシステムリセット出
力を出力する。この出力によってシステムリセット部1
2が一定時間システム電源4の出力を落し、システムは
リセットがかかった後、再び初期状態で立ち上がる。
In the above configuration, for example, if the microcomputer 14 of the mixing valve unit 2 malfunctions, the runaway detection section 17 resets the microcomputer 14, the program built in the microcomputer 14 starts from the initial transmission phase, and sends a READY signal to the main remote controller 1. Send. When the microcomma of the main remote control l receives the READY signal in the normal transmission phase, it starts a reset process and outputs a system reset output. By this output, the system reset section 1
2 reduces the output of the system power supply 4 for a certain period of time, and after the system is reset, it starts up again in the initial state.

またマイコン14のRAMデータがノイズ等で壊れた場
合にもデータチエツク時に有り得ない条件になることで
プログラムが初期伝送フェーズでスタートとし上記の場
合と同様にシステムにリセットがかかる。
Furthermore, if the RAM data of the microcomputer 14 is corrupted due to noise or the like, the program will start in the initial transmission phase and the system will be reset in the same way as in the above case due to an impossible condition at the time of data check.

次にメインリモコン1のマイコンマが誤動作した場合は
暴走検出部11によってマイコンマにリセットがかかる
。マイコン7に内蔵されたプログラムは初期伝送フヱー
ズでスタートするが混合弁ユニット2、サブリモコン3
は通常伝送フェーズにあるためメインリモコン1のマイ
コンマはREADY信号を受信できずタイマがカウント
アツプしリセット処理が起動されシステムにリセットが
かかる。またマイコン7にリセットがかかり初期伝送フ
ェーズになったときサブリモコン3が操作されメインリ
モコン1に制御データを送信した場合も初期伝送フェー
ズでREADY以外のデータを受信したということでリ
セット処理が起動される。
Next, when the microcomma of the main remote controller 1 malfunctions, the runaway detection section 11 resets the microcomma. The program built into the microcomputer 7 starts with the initial transmission phase, but the mixing valve unit 2 and sub remote control 3
Since it is in the normal transmission phase, the microcomma of the main remote control 1 cannot receive the READY signal, the timer counts up, a reset process is activated, and the system is reset. Also, if the sub remote controller 3 is operated and control data is sent to the main remote controller 1 when the microcomputer 7 is reset and enters the initial transmission phase, the reset process is activated because data other than READY is received during the initial transmission phase. Ru.

このようにシステムの一部で起こった誤動作を検出して
システム全体にリセットをかけ、自動的に再起動される
ので誤動作時に手動でリセットボタンを押したり、電源
を切ったりする操作の必要がなくなり特に常時電源を入
れたままにし、電源スィッチが無かったり操作しにくい
場所に設けられる湯水混合装置、システム給湯装置等の
システム設備機器においては大きな効果がある。
In this way, a malfunction that occurs in one part of the system is detected and the entire system is reset and restarted automatically, eliminating the need to manually press the reset button or turn off the power in the event of a malfunction. This is particularly effective for system equipment such as hot water mixers and system water heaters that are left on at all times and are installed in locations where there is no power switch or are difficult to operate.

次に本発明の他の実施例を第8図、第9図、第10図を
用いて説明する。第8図はメインリモコン1のマイコン
マに内蔵されるプログラムの概略フローチャート、第9
図は混合弁ユニット2のマイコン14に内蔵されるプロ
グラムの411略フローチヤート、第10図はサブリモ
コン3のマイコン21に内蔵されるプログラムの概略フ
ローチャー1−である。
Next, another embodiment of the present invention will be described using FIGS. 8, 9, and 10. Figure 8 is a schematic flowchart of the program built into the microcomma of main remote control 1;
The figure is a schematic flowchart 411 of a program built in the microcomputer 14 of the mixing valve unit 2, and FIG.

前記実施例と相違する点は第8図において伝送データに
リセット信号を割り付け、S42でリセット信号を受信
したらリセット処理に分岐する構成にしたこと、第9図
、第10図においてメインリモコンlにリセット信号を
送信し続けるリセット処理343.344を設は有り得
ない条件が発生した場合、プログラムの空き番地がアク
セスされた場合にリセット処理343、S44が起動さ
れるように構成したことにあり、この構成によれば混合
弁ユニット2、サブリモコン3で誤動作が発生し有り得
ない条件が発生したとき等リセット信号を何度もシステ
ムにリセットがかかるまで送信し続けるので更に確実に
システムにリセットをかけることができるという効果が
ある。当然の事ながら343、S44のリセット処理で
はこの処理で使用するレジスタ、メモリー、Ilo等の
初期設定を処理の先頭で行う必要がある。
The difference from the above embodiment is that in FIG. 8, a reset signal is assigned to the transmitted data, and when the reset signal is received in S42, the process branches to the reset process, and in FIGS. 9 and 10, the main remote controller 1 is reset. The reason why the reset processing 343 and S44 that continue to send signals is configured is that when an impossible condition occurs, the reset processing 343 and S44 are activated when a vacant address of the program is accessed. According to , when a malfunction occurs in the mixing valve unit 2 or the sub-remote controller 3 and an impossible condition occurs, a reset signal is sent repeatedly until the system is reset, making it possible to reset the system more reliably. There is an effect that it can be done. Naturally, in the reset processing of 343 and S44, it is necessary to initialize the registers, memory, Ilo, etc. used in this processing at the beginning of the processing.

光皿皇苅且 以上のように本発明のシステム装置によれば次の効果が
得られる。
As described above, according to the system device of the present invention, the following effects can be obtained.

(1)有電源端末がシステムの誤動作を検出して自動的
にシステムにリセットをかけるので使用者がシステムの
誤動作を気にする必要がなく、当然のことながら誤動作
によってシステムを作動させることができなくなること
がない。
(1) The powered terminal detects system malfunctions and automatically resets the system, so the user does not have to worry about system malfunctions, and naturally the system cannot be activated due to malfunctions. It never goes away.

(2)有電源端末が無電ti、端末の誤動作を検出して
システム全体のiasをリセット電圧以下にしてシステ
ムにリセットをかけるので確実にリセットをかけること
ができる。
(2) Since the powered terminal detects a malfunction of the non-powered terminal and lowers the ias of the entire system to the reset voltage or less, the system can be reset reliably.

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

第1図は本発明の第1、第2の実施例におけるシステム
装置のブロック図、第2図は混合弁ユニットの混合弁の
構造図、第3図は第1の実施例におけるメインリモコン
のマイコンに内蔵されるプログラムの概略フローチャー
ト、第4図は第1の実施例における混合弁ユニットのマ
イコンに内蔵されるプログラムの概略フローチャート、
第5図は第1の実施例におけるサブリモコンのマイコン
に内蔵されるプログラムの概略フローチャート、第6図
は第1、第2の実施例におけるシステム電源の回路図、
第7図は第1、第2の実施例におけるシステムリセット
部の回路図、第8図は第2の実施例におけるメインリモ
コンのマイコンに内蔵されるプログラムの概略フローチ
ャート、第9図は第2の実施例における混合弁ユニット
のマイコンに内蔵されるプログラムの概略フローチャー
ト、第1θ図は第2の実施例におけるザブリモコンのマ
イコンに内蔵されるプログラムの概略フローチャート、
第11図は従来のシステム装置のブロック図である。 1・・・・・・メインリモコン、2・・・・・・混合弁
ユニット、3・・・・・・サブリモコン、4・・・・・
・システム電源、7・・・・・・マイコン、8・・・・
・・信号伝送インターフェース、10・・・・・・リセ
ット部、11・・・・・・暴走検出部、14・・・・・
・マイコン、15・・・・・・信号伝送インターフェー
ス、16・・・・・・リセット部、17・・・・・・暴
走検出部、21・・・・・・マイコン、22・・・・・
・信号伝送インターフェース、23・・・・・・リセッ
ト部、24・・・・・・暴走検出部。 代理人の氏名 弁理士 粟野重孝 はか1名第 図 32〔; 第 ズ 第 図 第 図 第 、図 第 図 第 図 第10口
Fig. 1 is a block diagram of the system device in the first and second embodiments of the present invention, Fig. 2 is a structural diagram of the mixing valve of the mixing valve unit, and Fig. 3 is the microcomputer of the main remote control in the first embodiment. 4 is a schematic flowchart of a program built in the microcomputer of the mixing valve unit in the first embodiment,
FIG. 5 is a schematic flowchart of a program built into the microcomputer of the sub-remote controller in the first embodiment, and FIG. 6 is a circuit diagram of the system power supply in the first and second embodiments.
FIG. 7 is a circuit diagram of the system reset section in the first and second embodiments, FIG. 8 is a schematic flowchart of a program built in the microcontroller of the main remote controller in the second embodiment, and FIG. 9 is a circuit diagram of the system reset section in the first and second embodiments. A schematic flowchart of the program built in the microcomputer of the mixing valve unit in the embodiment, FIG.
FIG. 11 is a block diagram of a conventional system device. 1...Main remote control, 2...Mixing valve unit, 3...Sub remote control, 4...
・System power supply, 7...Microcomputer, 8...
... Signal transmission interface, 10 ... Reset section, 11 ... Runaway detection section, 14 ...
・Microcomputer, 15... Signal transmission interface, 16... Reset section, 17... Runaway detection section, 21... Microcomputer, 22...
- Signal transmission interface, 23... Reset section, 24... Runaway detection section. Name of agent: Patent attorney Shigetaka Awano (1 person) Figure 32 [;

Claims (7)

【特許請求の範囲】[Claims] (1)少なくともシステムに給電する電源部と、この電
源部の出力をシステムにリセットがかかる電圧以下に低
下させるシステムリセット部と、通信インターフェース
とこれらを制御するマイクロコンピュータ(以下マイコ
ンと記述)と、前記マイコンの暴走を検出してマイコン
にリセットをかける暴走検出部からなる有電源端末と、
少なくとも通信インターフェースと通信を制御するマイ
コンよりなる複数の無電源端末を電源線と信号伝送線で
接続したシステムにおいて、前記有電源端末のマイコン
で信号伝送線を介して無電源端末の異常を検出しシステ
ムリセット部を駆動してシステム全体にリセットをかけ
るよう構成したシステム装置。
(1) At least a power supply unit that supplies power to the system, a system reset unit that lowers the output of this power supply unit to a voltage below which the system is reset, a communication interface, and a microcomputer (hereinafter referred to as microcomputer) that controls these; a powered terminal comprising a runaway detection section that detects runaway of the microcomputer and resets the microcomputer;
In a system in which multiple unpowered terminals each consisting of at least a communication interface and a microcomputer that controls communication are connected by a power line and a signal transmission line, the microcontroller of the powered terminal detects an abnormality in the unpowered terminal via the signal transmission line. A system device configured to reset the entire system by driving the system reset section.
(2)信号伝送フェーズを初期伝送フェーズと通常伝送
フェーズに分け、初期伝送フェーズでは無電源端末は有
電源端末にREADY信号を伝送し、前記有電源端末は
一定時間以内に予め登録された無電源端末からのREA
DY信号をすべて受信した場合に信号伝送フェーズを通
常伝送フェーズに切り替え、一定時間内に予め登録され
た無電源端末からのREADY信号をすべて受信できな
かった場合と通常伝送フェーズでREADY信号を受信
した場合に無電源端末の異常としてシステムリセット部
を介してシステム全体にリセットをかける請求項(1)
記載のシステム装置。
(2) The signal transmission phase is divided into an initial transmission phase and a normal transmission phase, and in the initial transmission phase, the unpowered terminal transmits a READY signal to the powered terminal, and the powered terminal receives the registered unpowered terminal within a certain period of time. REA from terminal
When all the DY signals are received, the signal transmission phase is switched to the normal transmission phase, and when all the READY signals from the pre-registered unpowered terminals cannot be received within a certain period of time, the READY signal is received in the normal transmission phase. Claim (1): In this case, the entire system is reset via the system reset unit due to an abnormality in the unpowered terminal.
System equipment listed.
(3)無電源端末にマイコンの暴走を検出する暴走検出
部を設け、前記マイコンの暴走を検出したらマイコンに
リセットをかける請求項(2)記載のシステム装置。
(3) The system device according to claim (2), wherein the unpowered terminal is provided with a runaway detection section for detecting runaway of the microcomputer, and when the runaway of the microcomputer is detected, the microcomputer is reset.
(4)有電源端末、無電源端末のマイコンのプログラム
はプログラムのあき番地、通常有り得ない条件処理部に
プログラムスタートアドレスへの分岐処理を入れた請求
項(2)記載のシステム装置。
(4) The system device according to claim (2), wherein the microcomputer programs of the powered terminal and the unpowered terminal include branch processing to a program start address in an empty address of the program and a condition processing section that normally does not occur.
(5)信号伝送フェーズを初期伝送フェーズと通常伝送
フェーズに分け、さらに伝送信号コードにリセット信号
を割り付け、初期伝送フェーズでは無電源端末は有電源
端末にREADY信号を伝送し、前記有電源端末は一定
時間以内に予め登録された前記無電源端末からのREA
DY信号をすべて受信した場合に信号伝送フェーズを通
常伝送フェーズに切り替え、一定時間内に予め登録され
た無電源端末からのREADY信号をすべて受信できな
かった場合と通常伝送フェーズでREADY信号を受信
した場合と初期伝送フェーズ、通常伝送フェーズでリセ
ット信号を受信した場合に無電源端末の異常としてシス
テムリセット部を介してシステム全体にリセットをかけ
る請求項(1)記載のシステム装置。
(5) The signal transmission phase is divided into an initial transmission phase and a normal transmission phase, and a reset signal is further assigned to the transmission signal code, and in the initial transmission phase, the unpowered terminal transmits a READY signal to the powered terminal, and the powered terminal REA from the unpowered terminal registered in advance within a certain period of time
When all the DY signals are received, the signal transmission phase is switched to the normal transmission phase, and when all the READY signals from the pre-registered unpowered terminals cannot be received within a certain period of time, the READY signal is received in the normal transmission phase. 2. The system device according to claim 1, wherein when a reset signal is received in the initial transmission phase or the normal transmission phase, the entire system is reset via the system reset section as an abnormality in the non-power terminal.
(6)無電源端末にマイコンの暴走を検出する暴走検出
部を設け、前記マイコンの暴走を検出したらマイコンに
リセットをかける請求項(5)記載のシステム装置。
(6) The system device according to claim (5), wherein the unpowered terminal is provided with a runaway detection section for detecting runaway of the microcomputer, and when the runaway of the microcomputer is detected, the microcomputer is reset.
(7)無電源端末のマイコンのプログラムに一定時間毎
に有電源端末にリセット信号を送信し続けるリセット処
理部を設け、さらにプログラムのあき番地、通常有り得
ない条件処理部にリセット処理アドレスへの分岐処理を
入れた請求項(5)記載のシステム装置。
(7) A reset processing section that continues to send a reset signal to the powered terminal at fixed intervals is installed in the microcomputer program of the non-powered terminal, and the program also branches to the reset processing address at an empty address or a condition processing section that normally does not exist. The system device according to claim (5), further comprising processing.
JP3177889A 1989-02-10 1989-02-10 System device Pending JPH02213621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3177889A JPH02213621A (en) 1989-02-10 1989-02-10 System device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3177889A JPH02213621A (en) 1989-02-10 1989-02-10 System device

Publications (1)

Publication Number Publication Date
JPH02213621A true JPH02213621A (en) 1990-08-24

Family

ID=12340514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3177889A Pending JPH02213621A (en) 1989-02-10 1989-02-10 System device

Country Status (1)

Country Link
JP (1) JPH02213621A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011504602A (en) * 2007-11-05 2011-02-10 エアバス オペラツィオンス ゲゼルシャフト ミット ベシュレンクテル ハフツング Display module that displays display information specialized for passengers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011504602A (en) * 2007-11-05 2011-02-10 エアバス オペラツィオンス ゲゼルシャフト ミット ベシュレンクテル ハフツング Display module that displays display information specialized for passengers
US8947266B2 (en) 2007-11-05 2015-02-03 Airbus Operations Gmbh Display module for displaying passenger-specific display information

Similar Documents

Publication Publication Date Title
US4628431A (en) Power supply on/off switching with inrush limiting
US5056092A (en) Computer system monitor and controller
JPH02213621A (en) System device
US7069478B1 (en) Safety device for a stored-program control
GB2188799A (en) Control system for electric power distribution
JP3037045B2 (en) Automatic meter reading system
JPH07271483A (en) Electronic device
JP3460592B2 (en) Device remote control method
JPH05173677A (en) Terminal power source control system
JP2669429B2 (en) Control device for air conditioner
CN111830889A (en) Power supply control device and power supply
JPH08250276A (en) System for high frequency heating apparatus equipped with memory
JP2532448Y2 (en) Centralized management system for electrical equipment
JPS6128147B2 (en)
JPH0439557A (en) Concentrated monitoring device for air conditioner
JPS61277332A (en) Power source feeder/controller
JPS59170952A (en) Information processor
JPS6077216A (en) Automatic operation control device
JPH04348697A (en) Remote controller
JPH0373780A (en) Controller for elevator
JPH08249090A (en) Information processor
JPH02122151A (en) Hot air heater
JPH11101508A (en) Set boil-up processor for water heater
JPS6362014A (en) Automatic power supply control system
JPH0414840B2 (en)