JP3457889B2 - Washing machine - Google Patents

Washing machine

Info

Publication number
JP3457889B2
JP3457889B2 JP24323298A JP24323298A JP3457889B2 JP 3457889 B2 JP3457889 B2 JP 3457889B2 JP 24323298 A JP24323298 A JP 24323298A JP 24323298 A JP24323298 A JP 24323298A JP 3457889 B2 JP3457889 B2 JP 3457889B2
Authority
JP
Japan
Prior art keywords
data
microcomputer
reset
microcomputers
washing machine
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.)
Expired - Fee Related
Application number
JP24323298A
Other languages
Japanese (ja)
Other versions
JP2000070590A (en
Inventor
嘉幸 牧野
博志 池田
文広 今村
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
Toshiba Development and Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Digital Media Engineering 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, Toshiba Digital Media Engineering Corp filed Critical Toshiba Corp
Priority to JP24323298A priority Critical patent/JP3457889B2/en
Publication of JP2000070590A publication Critical patent/JP2000070590A/en
Application granted granted Critical
Publication of JP3457889B2 publication Critical patent/JP3457889B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数のマイクロコ
ンピュータにより各負荷を制御するようにした洗濯機に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a washing machine in which each load is controlled by a plurality of microcomputers.

【0002】[0002]

【発明が解決しようとする課題】例えば全自動洗濯機に
おいては、マイクロコンピュータ(以下「マイコン」と
略称する)により洗濯機モータや弁装置等の各負荷を制
御し、洗濯運転を実行するようになっているのである
が、近年、コストダウン等を図るため、複数例えば2個
のマイコン(1チップマイコン)を設け、それらに機能
を分担させるものが考えられている。
For example, in a fully automatic washing machine, a microcomputer (hereinafter abbreviated as "microcomputer") controls loads of a washing machine motor, a valve device and the like to execute a washing operation. However, in recent years, in order to reduce costs and the like, it has been considered to provide a plurality of, for example, two microcomputers (one-chip microcomputer) and share the functions among them.

【0003】この場合、両マイコン間はデータ通信ライ
ンより接続され、サブマイコンは、操作パネルにおける
操作入力情報を受付けてそのデータをメインマイコンに
送信すると共に、表示器やブザー等の負荷を制御するよ
うになっている。一方、メインマイコンは、洗濯機モー
タや、給水,排水弁等を制御すると共に、各センサの状
態やモータの運転状態のデータ、表示用のデータ等をサ
ブマイコンに送信するようになっている。
In this case, the two microcomputers are connected by a data communication line, and the sub-microcomputer receives the operation input information on the operation panel and transmits the data to the main microcomputer, and at the same time controls the load of the display, buzzer and the like. It is like this. On the other hand, the main microcomputer controls a washing machine motor, a water supply valve, a drain valve, and the like, and also transmits the data of the state of each sensor, the operating state of the motor, and the display data to the sub-microcomputer.

【0004】ところで、この種洗濯機では、電源の立上
り時及び立下り時(電源スイッチのオン及びオフ時)に
マイコンをリセットするためのリセット回路が設けられ
るが、上記した2個のマイコンを備えるものでは、各マ
イコンについてそれぞれリセット回路が設けられてお
り、回路構成が複雑となってコスト高となっていた。
By the way, in this type of washing machine, a reset circuit is provided for resetting the microcomputer when the power is turned on and off (when the power switch is turned on and off). The above-mentioned two microcomputers are provided. However, the reset circuit is provided for each microcomputer, which complicates the circuit configuration and increases the cost.

【0005】また、万一いずれかのマイコンに異常や暴
走が発生したときには、他のマイコンではそのマイコン
が担っていた負荷の制御ができず、例えば洗濯機モータ
が運転し続けてしまうという事態を招く虞がある。この
ため、マイコンの異常や暴走の発生時に洗濯機モータな
どの負荷を確実に停止させるためには、別途の監視回路
などが必要となり、これもコスト高を招くものとなって
いた。
If an abnormality or runaway occurs in one of the microcomputers, another microcomputer cannot control the load carried by the microcomputer and the washing machine motor continues to operate. May invite. Therefore, in order to reliably stop the load of the washing machine motor or the like when an abnormality or runaway of the microcomputer occurs, a separate monitoring circuit or the like is required, which also causes an increase in cost.

【0006】本発明は上記事情に鑑みてなされたもの
で、その目的は、複数のマイクロコンピュータを備えた
ものにあって、リセット回路の簡単化によるコストダウ
ンを図ることができると共に、マイクロコンピュータの
異常発生時の負荷の異常動作を簡単な構成で確実に防止
することができる洗濯機を提供するにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a plurality of microcomputers, which can reduce the cost by simplifying the reset circuit and can also reduce the cost of the microcomputer. (EN) A washing machine capable of reliably preventing an abnormal operation of a load when an abnormality occurs with a simple configuration.

【0007】[0007]

【課題を解決するための手段】本発明の洗濯機は、複数
のマイクロコンピュータを備えたものにあって、電源の
立上り時及び立下り時に前記マイクロコンピュータをリ
セットするための一つのリセット回路を2以上のマイク
ロコンピュータに対して共通化して設けると共に、前記
各マイクロコンピュータは、通常運転時のデータ通信に
おいて異常が発生したことを検出したときに、リセット
端子からリセット信号を出力するように構成され、少な
くとも一つのマイクロコンピュータからリセット信号が
出力されたときに、前記複数のマイクロコンピュータが
同時にリセットされるように、各マイクロコンピュータ
のリセット端子間をリセット信号ラインにより直結した
ところに特徴を有する(請求項1の発明)。
A washing machine of the present invention is provided with a plurality of microcomputers, and has one reset circuit for resetting the microcomputers at the rising and falling of power. While commonly provided to the above microcomputer, each of the microcomputer is configured to output a reset signal from the reset terminal when it detects that an abnormality has occurred in the data communication during normal operation, A feature is that reset terminals of the respective microcomputers are directly connected by a reset signal line so that the plurality of microcomputers are simultaneously reset when a reset signal is output from at least one microcomputer. Invention 1).

【0008】これによれば、リセット回路が2以上のマ
イクロコンピュータに対して共通化されているので、各
マイクロコンピュータ毎にリセット回路を設けるものに
比べてリセット回路の数を少なく済ませることができ、
構成を簡単化することができる。そして、各マイクロコ
ンピュータは、通常運転時のデータ通信における異常を
検出する構成とされているので、各マイクロコンピュー
タ間で、異常や暴走の発生の有無を相互に監視すること
ができ、少なくとも一つのマイクロコンピュータが異常
発生を検出したときには、そのマイクロコンピュータか
ら出力されるリセット信号により、全てのマイクロコン
ピュータを同時にリセットすることができる。
According to this, since the reset circuit is shared by two or more microcomputers, the number of reset circuits can be reduced as compared with the case where the reset circuit is provided for each microcomputer.
The configuration can be simplified. Since each microcomputer is configured to detect an abnormality in data communication during normal operation, it is possible to mutually monitor the presence or absence of abnormality or runaway between the respective microcomputers, and at least one When the microcomputer detects the occurrence of an abnormality, all the microcomputers can be reset at the same time by the reset signal output from the microcomputer.

【0009】このとき、各マイクロコンピュータが送信
する通信データ中に、該マイクロコンピュータがリセッ
ト処理状態かリセット処理の完了状態かを示すリセット
データを含ませると共に、各マイクロコンピュータは、
リセット直後において、他のマイクロコンピュータから
受信したリセットデータが、リセット処理状態からリセ
ット処理完了状態に変化したことに基づいて、受信した
通信データを有効化するように構成することができる
(請求項2の発明)。
At this time, in the communication data transmitted by each microcomputer, reset data indicating whether the microcomputer is in the reset processing state or the reset processing completed state is included, and each microcomputer is
Immediately after the reset, the reset data received from the other microcomputer may be configured to validate the received communication data when the reset processing state changes from the reset processing state to the reset processing completed state. Invention).

【0010】これによれば、各マイクロコンピュータの
リセットが行われた際には、全てのマイクロコンピュー
タにおいてリセット処理が完了するまでは、通信データ
は無効とされ、全てのマイクロコンピュータにおいてリ
セット処理が完了した時点から通信データが有効化され
て通常の負荷の制御が行われるようになる。
According to this, when each microcomputer is reset, the communication data is invalidated until the reset processing is completed in all the microcomputers, and the reset processing is completed in all the microcomputers. From that point, the communication data is validated and normal load control is performed.

【0011】また、この場合、通常運転時においては、
送信されるリセットデータがリセット処理状態となるこ
とはないので、各マイクロコンピュータにおいて、通常
運転時に受信したリセットデータがリセット処理状態で
あったときには、異常が発生したと判断する構成とすれ
ば(請求項3の発明)、送信側のマイクロコンピュータ
に異常があったことを検出することができる。
Further, in this case, during normal operation,
Since the reset data that is transmitted does not enter the reset processing state, if each microcomputer is configured to determine that an abnormality has occurred when the reset data received during normal operation is in the reset processing state (claim (Invention of item 3), it is possible to detect that there is an abnormality in the microcomputer on the transmission side.

【0012】ところで、マイクロコンピュータ間でのデ
ータ通信における受信データの異常の判断の手法として
は、次の3つが有効である。 (1)各マイクロコンピュータが同一通信データを2回
連続して送信する構成とし、2回の受信データが一致す
るかどうかを判定する (2)各マイクロコンピュータが通信データと共にその
通信データの積算値データを送信する構成とし、受信し
た通信データの積算値を求めて前記積算値データと一致
するかどうかを判定する (3)各マイクロコンピュータが通信データと共にその
通信データの排他的論理和データを送信する構成とし、
受信した通信データの排他的論理和を求めて前記排他的
論理和データと一致するかどうかを判定する そこで、上記3つの受信データ異常判断のうち複数を実
行し、いずれかが不一致の場合にその受信データを無効
化するように構成すれば(請求項4の発明)、通信異常
を確実に判断することができる。
By the way, the following three methods are effective as methods for judging an abnormality in received data in data communication between microcomputers. (1) Each microcomputer is configured to continuously transmit the same communication data twice, and it is determined whether or not the reception data of the two times match. (2) Each microcomputer together with the communication data, the integrated value of the communication data. The data is transmitted, and the integrated value of the received communication data is obtained and it is determined whether or not it matches the integrated value data (3) Each microcomputer transmits the exclusive OR data of the communication data together with the communication data Configuration
Then, the exclusive OR of the received communication data is obtained and it is determined whether or not it matches the exclusive OR data. Therefore, a plurality of the above three reception data abnormality determinations are executed, and if any of them does not match, If the received data is configured to be invalidated (the invention of claim 4), it is possible to reliably determine the communication abnormality.

【0013】また、このとき、各マイクロコンピュータ
が、受信データの異常が所定回数連続したときに、送信
側のマイクロコンピュータに異常が発生したと判断して
リセット信号を出力するように構成すれば(請求項5の
発明)、ノイズ等の影響による単なる一時的なデータ異
常ではなく、送信側のマイクロコンピュータに真に異常
あるいは暴走があったと判定することができ、異常検知
を高精度で確実に行うことができる。
Further, at this time, each microcomputer may be configured to output a reset signal when it is determined that an abnormality has occurred in the transmitting microcomputer when the abnormality in the received data continues for a predetermined number of times ( (Invention of claim 5), it is possible to judge that there is a true abnormality or runaway in the microcomputer on the transmission side, not just a temporary data abnormality due to the influence of noise, etc., and abnormality detection is performed with high accuracy and certainty. be able to.

【0014】さらに、通信データと併せて通信コントロ
ール信号が通信される構成とすると共に、その通信コン
トロール信号の受信側のマイクロコンピュータは、所定
時間にわたって該通信コントロール信号の変化がないと
きに通信異常と判断するように構成すれば(請求項6の
発明)、通信コントロール信号の異常についても確実に
検出することができ、より効果的となる。
Further, the communication control signal is communicated together with the communication data, and the microcomputer on the receiving side of the communication control signal determines that the communication error occurs when the communication control signal has not changed for a predetermined time. If the determination is made (the invention of claim 6), the abnormality of the communication control signal can be surely detected, which is more effective.

【0015】そして、各マイクロコンピュータは、リセ
ット処理後においては、洗濯機モータが停止するまで
は、次のリセット信号の出力が禁止される構成とするこ
とが望ましく(請求項7の発明)、これにより、洗濯機
モータの停止の制御が不能となることを未然に防止する
ことができ、安全性を向上することができる。
After the reset process, it is preferable that each microcomputer is configured to prohibit the output of the next reset signal until the washing machine motor is stopped (the invention of claim 7). As a result, it is possible to prevent inability to control the stop of the washing machine motor, and it is possible to improve safety.

【0016】また、複数のマイクロコンピュータは、夫
々そのマイクロコンピュータの種類を示す固有データを
有し、各マイクロコンピュータの固有データの出力が可
能な構成とすることもできる(請求項8の発明)。これ
によれば、データ通信の異常の要因が、マイクロコンピ
ュータの種類を誤って組付けたことである場合があり、
そのような要因であるかどうかを固有データの出力によ
って容易に知らせることができる。
Further, the plurality of microcomputers each have unique data indicating the type of the microcomputer, and the unique data of each microcomputer can be output (the invention of claim 8). According to this, the cause of the abnormality in the data communication may be that the microcomputer type is wrongly assembled,
Whether or not it is such a factor can be easily notified by the output of unique data.

【0017】[0017]

【発明の実施の形態】以下、本発明の一実施例につい
て、図面を参照しながら説明する。まず、図1は、本実
施例に係る洗濯機(全自動洗濯機)の電気的構成を概略
的に示している。ここで、詳しく図示はしないが、洗濯
機本体内には、外槽及び洗濯物が収容される内槽が設け
られ、内槽の内底部には水流生成用の撹拌体が設けられ
ている。前記内槽及び撹拌体は、外槽の外底部に設けら
れた洗濯機モータ1により回転駆動されるようになって
いる。この洗濯機モータ1は、インバータ駆動方式のモ
ータからなり、回転速度の制御が可能に構成されてい
る。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. First, FIG. 1 schematically shows an electrical configuration of a washing machine (fully automatic washing machine) according to this embodiment. Here, although not shown in detail, in the main body of the washing machine, an outer tub and an inner tub for accommodating the laundry are provided, and an agitator for water flow generation is provided at an inner bottom portion of the inner tub. The inner tub and the agitator are rotatably driven by a washing machine motor 1 provided on the outer bottom of the outer tub. The washing machine motor 1 is composed of an inverter drive type motor and is configured to be able to control the rotation speed.

【0018】この場合、クラッチ機構2による切替えに
より、洗い時やためすすぎ時には、撹拌体のみが回転駆
動され、脱水時や脱水すすぎ時には、内槽が撹拌体と共
に回転駆動されるようになっている。また、洗濯機本体
には、前記内槽に給水を行うための給水弁3や、内槽か
らの排水を行うための排水弁4が設けられている。さら
に、内槽内の水位を検出するための水位センサ5や、本
体上面を塞ぐ蓋の開閉を検知する蓋スイッチ6等も設け
られている。
In this case, by switching by the clutch mechanism 2, only the stirring member is rotationally driven at the time of washing or rinsing, and the inner tank is rotationally driven together with the stirring member at the time of dehydration or dehydration rinsing. . Further, the washing machine body is provided with a water supply valve 3 for supplying water to the inner tub and a drain valve 4 for draining water from the inner tub. Further, a water level sensor 5 for detecting the water level in the inner tank, a lid switch 6 for detecting opening / closing of a lid that closes the upper surface of the main body, and the like are provided.

【0019】一方、洗濯機本体の上部に設けられたトッ
プカバーには、図6に示すような操作パネル7が設けら
れている。この操作パネル7は、使用者が洗濯コースを
選択するための選択キー8aや運転開始を指示するスタ
ートキー8bを有する操作スイッチ部8を有すると共
に、選択されたコースや現在の運転状態等を表示するた
めの数字表示部9aを含む表示部9を有して構成されて
いる。さらに、この操作パネル7には、電源スイッチ1
0も設けられている。また、図1に示すように、トップ
カバー内には、報知用のブザー11が設けられている。
On the other hand, an operation panel 7 as shown in FIG. 6 is provided on the top cover provided on the upper part of the main body of the washing machine. This operation panel 7 has an operation switch section 8 having a selection key 8a for the user to select a washing course and a start key 8b for instructing the start of operation, and displays the selected course, the current operation state, etc. The display unit 9 includes a number display unit 9a for performing the operation. Further, the operation panel 7 has a power switch 1
0 is also provided. Further, as shown in FIG. 1, a notification buzzer 11 is provided in the top cover.

【0020】そして、前記トップカバー内に設けられる
制御ユニットには、複数のマイクロコンピュータ(以下
「マイコン」と略称する)が設けられる。図1に示すよ
うに、この実施例では、2個のマイコンつまりメインマ
イクロコンピュータ(以下「メインマイコン」と略称す
る)12と、サブマイクロコンピュータ(以下「サブマ
イコン」と略称する)13とが設けられている。
A plurality of microcomputers (hereinafter abbreviated as "microcomputers") are provided in the control unit provided in the top cover. As shown in FIG. 1, in this embodiment, two microcomputers, that is, a main microcomputer (hereinafter abbreviated as "main microcomputer") 12 and a sub-microcomputer (hereinafter abbreviated as "sub-microcomputer") 13 are provided. Has been.

【0021】このうちメインマイコン12は、インバー
タ回路14を介して前記洗濯機モータ1を制御するよう
になっていると共に、駆動回路15を介して前記クラッ
チ機構2並びに給水弁3及び排水弁4を制御するように
なっている。また、メインマイコン12には、前記洗濯
機モータ1の回転を検出する回転センサ16の検出信号
が入力されるようになっていると共に、前記水位センサ
5及び蓋スイッチ6からの検知信号が入力されるように
なっている。
Among them, the main microcomputer 12 controls the washing machine motor 1 via an inverter circuit 14, and also drives the clutch mechanism 2, the water supply valve 3 and the drain valve 4 via a drive circuit 15. It is designed to be controlled. Further, a detection signal of a rotation sensor 16 for detecting the rotation of the washing machine motor 1 is input to the main microcomputer 12, and detection signals from the water level sensor 5 and the lid switch 6 are input. It has become so.

【0022】前記サブマイコン13は、前記操作スイッ
チ部8からの操作入力信号を受付けるようになっている
と共に、前記表示部9及びブザー11を制御するように
なっている。尚、各マイコン12,13には、夫々その
マイコン12,13の種類を示す固有データが記憶され
ている。この場合、マイコン12,13は、洗濯機の機
種(容量)毎に異なるものが組込まれるようになってお
り、固有データは、例えば容量5Kg用、6Kg用、7
Kg用、8Kg用の4種類のいずれかとされている。
The sub-microcomputer 13 is adapted to receive an operation input signal from the operation switch section 8 and to control the display section 9 and the buzzer 11. The microcomputers 12 and 13 store unique data indicating the types of the microcomputers 12 and 13, respectively. In this case, different microcomputers 12 and 13 are incorporated depending on the model (capacity) of the washing machine, and the unique data is, for example, capacity 5 kg, 6 kg, 7
It is considered to be one of four types for Kg and 8 Kg.

【0023】また、このとき、洗濯機本体には、商用交
流電源17からの交流電源を洗濯機モータ1のインバー
タ回路14用の直流電源に変換する直流電源形成回路1
8が設けられると共に、その直流電源形成回路18の出
力から電子回路用の直流電源を生成する電子回路電源形
成回路19が設けられている。前記各マイコン12,1
3は、電子回路電源形成回路19から駆動電源が与えら
れるようになっている。尚、図示は省略しているが、前
記電源スイッチ10は、前記商用交流電源17と直流電
源形成回路18との間の通電路中に設けられるようにな
っている。
At this time, in the washing machine main body, a DC power supply forming circuit 1 for converting an AC power supply from the commercial AC power supply 17 into a DC power supply for the inverter circuit 14 of the washing machine motor 1.
8 is provided, and an electronic circuit power supply forming circuit 19 that generates a DC power supply for an electronic circuit from the output of the DC power supply forming circuit 18 is provided. Each microcomputer 12, 1
The drive circuit 3 is supplied with drive power from the electronic circuit power supply forming circuit 19. Although not shown in the drawing, the power switch 10 is arranged in the energization path between the commercial AC power supply 17 and the DC power supply forming circuit 18.

【0024】さて、前記メインマイコン12のリセット
端子と、サブマイコン13のリセット端子との間は、リ
セット信号ライン20により直結されている。このと
き、前記直流電源形成回路18からの出力により、電源
の立上り時及び立下り時(電源スイッチ10のオン,オ
フ時)に両マイコン12,13をリセットするための
つのリセット回路21が、両マイコン12,13に対し
て共通化して設けられている。これにより、そのリセッ
ト回路21から出力されるリセット信号により、両マイ
コン12,13が同時にリセットされるようになってい
る。
The reset terminal of the main microcomputer 12 and the reset terminal of the sub-microcomputer 13 are directly connected by a reset signal line 20. At this time, the output from the DC power source forming circuit 18, one for resetting (ON, OFF state of the power switch 10) to both the microcomputer 12 and 13 at the time of the rise of the power supply and falling
One reset circuit 21 is commonly provided for both microcomputers 12 and 13. As a result, both microcomputers 12 and 13 are simultaneously reset by the reset signal output from the reset circuit 21.

【0025】そして、前記メインマイコン12とサブマ
イコン13との間が、この場合4本のデータ通信ライン
22により接続されており、各マイコン12,13に夫
々設けられた通信制御手段12a,13aによって通信
データの送受信がなされるようになっている。各マイコ
ン12,13は、互いにデータの送受信を常に行いなが
ら、前記各負荷を制御して洗濯運転を実行するようにな
っている。
The main microcomputer 12 and the sub-microcomputer 13 are connected by four data communication lines 22 in this case, and the communication control means 12a and 13a provided in the microcomputers 12 and 13 respectively. Communication data is transmitted and received. The microcomputers 12 and 13 are configured to control the loads and execute the washing operation while constantly transmitting and receiving data to and from each other.

【0026】本実施例では、図4にも示すように、各デ
ータ通信ライン22により、メインマイコン12からサ
ブマイコン13に向けて通信コントロール信号CS、シ
リアル通信クロック信号SCK、及び各センサ5,6の
状態やモータ1の運転状態のデータ,表示用のデータ等
の通信データDOを送信するようになっていると共に、
メインマイコン12はサブマイコン13から操作入力情
報等の通信データDIを受信(サブマイコン側13から
見れば送信)するようになっている。
In this embodiment, as shown in FIG. 4, the communication control signal CS, the serial communication clock signal SCK, and the sensors 5, 6 from the main microcomputer 12 to the sub-microcomputer 13 are connected by the respective data communication lines 22. And the communication data DO such as the data of the state of the motor 1 and the operating state of the motor 1 and the data for display are transmitted.
The main microcomputer 12 is adapted to receive communication data DI such as operation input information from the sub-microcomputer 13 (transmit from the sub-microcomputer side 13).

【0027】ここで、図4はデータ通信のタイミングチ
ャートを示しており、通信コントロール信号CSにより
頭出しが行われると共に、シリアル通信クロック信号S
CKに同期して、32バイトの通信データが2回繰返し
て送信(DO)及び受信(DI)されるようになってい
る。尚、通信コントロール信号CSの頭出しから次の頭
出しまでの時間は、約36msとされ、通常の洗濯運転
時においては、常に両マイコン12,13間でのデータ
通信が行なわれるようになっている。
Here, FIG. 4 shows a timing chart of data communication, in which the cue is performed by the communication control signal CS and the serial communication clock signal S.
32 bytes of communication data are transmitted (DO) and received (DI) repeatedly twice in synchronization with CK. The time from the first cue of the communication control signal CS to the next cue is about 36 ms, and during normal washing operation, data communication between the two microcomputers 12 and 13 is always performed. There is.

【0028】また、本実施例では、32バイト(1バイ
ト=8ビット)の通信データの構成は、図5に示すよう
になっている。即ち、バイト「0」からバイト「31」
までの32バイトのうち、バイト「0」からバイト「2
7」までの28バイトが洗濯機制御用データとされ、バ
イト「28」がリセットデータとされ、バイト「29」
及び「30」の2バイトが通信データの積算値データと
され、バイト「31」が排他的論理和データとされてい
るのである。
Further, in this embodiment, the structure of communication data of 32 bytes (1 byte = 8 bits) is as shown in FIG. That is, byte "0" to byte "31"
Out of 32 bytes up to byte "0" to byte "2"
28 bytes up to 7 "are used as washing machine control data, byte" 28 "is used as reset data, and byte" 29 "is used.
And 2 bytes of "30" are the integrated value data of the communication data, and the byte "31" is the exclusive OR data.

【0029】前記リセットデータは、そのマイコン1
2,13がリセット処理状態かリセット処理の完了状態
かを示すデータであり、例えば、リセット処理状態では
[A5](16進表示)、リセット処理完了状態では
[69](16進表示)がセットされるようになってい
る。また、前記積算値データは、バイト「0」からバイ
ト「28」までの29バイトのデータの各々1補数をし
たデータを積算した結果がセットされ、前記排他的論理
和データは、バイト「0」からバイト「30」までの3
1バイトのデータを順次排他的論理和(XOR)をとっ
た結果がセットされるようになっている。
The reset data is the microcomputer 1
2 and 13 are data indicating whether the reset processing state or the reset processing completed state is set. For example, [A5] (hexadecimal display) is set in the reset processing state, and [69] (hexadecimal display) is set in the reset processing completed state. It is supposed to be done. Further, the integrated value data is set as a result of accumulating the data of each 1's complement of 29-byte data from byte “0” to byte “28”, and the exclusive OR data is byte “0”. To 3 from byte "30"
The result of sequentially performing exclusive OR (XOR) on 1-byte data is set.

【0030】後の作用説明でも述べるように、各マイコ
ン12,13(通信制御手段12a,13a)は、その
ソフトウエア的構成により、夫々、通常運転時に他方の
マイコン13,12からの受信データを常に監視し、他
方のマイコン13,12に異常が発生したことを検出し
たときには、リセット発生手段12b,13bによりリ
セット信号を生成してリセット端子からそのリセット信
号を出力し、同時に双方のマイコン12,13をリセッ
トするようになっている。
As will be described later in the explanation of the operation, each of the microcomputers 12 and 13 (communication control means 12a and 13a) receives the data received from the other microcomputer 13 and 12 at the time of normal operation due to its software configuration. When the abnormality is detected in the other microcomputers 13 and 12 by constantly monitoring, the reset generating means 12b and 13b generate a reset signal and output the reset signal from the reset terminal. It is supposed to reset 13.

【0031】このとき、より具体的には、各マイコン1
2,13は、通信データを受信すると、(1)2回の受
信データが一致するかどうかを判断する、(2)受信し
たデータの積算値を求めて積算値データと一致するかど
うかを判断する、(3)受信したデータの排他的論理和
を求めて排他的論理和データと一致するかどうかを判断
する、の3種類の受信データ異常判断処理を行い、いず
れか一つでも不一致が生じたときには、その通信データ
を無効化するようになっていると共に、その不一致の回
数をカウントし、不一致が所定回数例えば16回連続し
た場合に、異常が発生していると判断するようになって
いる。
At this time, more specifically, each microcomputer 1
When the communication data is received, 2 and 13 (1) determine whether or not the received data of two times match, (2) determine an integrated value of the received data and determine whether or not it matches the integrated value data Yes, (3) three types of received data abnormality determination processing of determining the exclusive OR of the received data and determining whether or not it matches the exclusive OR data, and even one of them causes a mismatch In that case, the communication data is invalidated, and the number of times of the mismatch is counted, and when the mismatch is continued for a predetermined number of times, for example 16 times, it is judged that an abnormality has occurred. There is.

【0032】また、各マイコン12,13は、通常運転
時に受信した通信データ中のリセットデータが、リセッ
ト処理状態[A5]であったときにも、異常が発生した
と判断するようになっている。さらに、サブマイコン1
3においては、メインマイコン12から送信される通信
コントロール信号CSを常に監視し、所定時間例えば1
秒間にわたってそのコントロール信号CSの変化がない
ときに、通信異常と判断するようになっている。
Further, each of the microcomputers 12 and 13 determines that an abnormality has occurred even when the reset data in the communication data received during normal operation is in the reset processing state [A5]. . Furthermore, sub-microcomputer 1
3, the communication control signal CS transmitted from the main microcomputer 12 is constantly monitored for a predetermined time, for example, 1
When there is no change in the control signal CS for a second, it is determined that the communication is abnormal.

【0033】そして、各マイコン12,13は、リセッ
トが行われた直後においては、他方のマイコン13,1
2から受信したリセットデータが、リセット処理状態
[A5]からリセット処理完了状態[69]に変化した
ことに基づいて、受信した通信データを有効化するよう
になっている。また、各マイコン12,13は、リセッ
ト処理後においては、洗濯機モータ1が停止するまで
は、次のリセット信号の出力が禁止されるようになって
いる。
Immediately after resetting, each of the microcomputers 12 and 13 has the other microcomputer 13 or 1
The communication data received is validated based on the reset data received from No. 2 being changed from the reset processing state [A5] to the reset processing completed state [69]. After the reset process, each of the microcomputers 12 and 13 is prohibited from outputting the next reset signal until the washing machine motor 1 is stopped.

【0034】尚、サブマイコン13は、各マイコン1
2,13の有する固有データが一致するかどうかの判断
も行い、不一致の場合には、それら各固有データの内容
(この場合容量を表す数字)を表示部9(数字表示部9
a)に出力するようになっている。この場合、操作スイ
ッチ部8において特殊操作が行われたときに、各マイコ
ン12,13の固有データの内容を、一致不一致に関係
なく表示部9に表示する構成としても良い。
The sub-microcomputer 13 is the microcomputer 1
It is also determined whether or not the unique data of the data Nos. 2 and 13 match, and if they do not match, the contents of each of the unique data (in this case, a number indicating the capacity) are displayed on the display unit 9 (numeral display unit 9).
It is designed to be output to a). In this case, when a special operation is performed on the operation switch unit 8, the contents of the unique data of the microcomputers 12 and 13 may be displayed on the display unit 9 regardless of whether they match or not.

【0035】次に、上記構成の作用について、図2及び
図3も参照して説明する。電源スイッチ10がオン操作
されて電源が立上ると、電子回路電源形成回路19から
の出力により、リセット回路21が動作してリセット信
号が出力され、両マイコン12,13が同時にリセット
される。そのリセット処理後、操作スイッチ部8のスイ
ッチ操作に基づいて、メインマイコン12及びサブマイ
コン13の相互間でデータ通信を行いながら洗濯機モー
タ1等の各負荷が制御され、洗濯運転が実行される。
尚、電源の立下り時においても、同様にリセット回路2
1によって両マイコン12,13が同時にリセットされ
る。
Next, the operation of the above configuration will be described with reference to FIGS. When the power switch 10 is turned on to turn on the power, an output from the electronic circuit power supply forming circuit 19 causes the reset circuit 21 to operate and a reset signal to be output, so that both microcomputers 12 and 13 are simultaneously reset. After the reset processing, based on the switch operation of the operation switch unit 8, each load of the washing machine motor 1 and the like is controlled while performing data communication between the main microcomputer 12 and the sub-microcomputer 13, and the washing operation is executed. .
Even when the power is turned off, the reset circuit 2
Both microcomputers 12 and 13 are simultaneously reset by 1.

【0036】さて、図2及び図3のフローチャートは、
サブマイコン13が実行するデータ通信の制御手順を示
している。尚、メインマイコン12においては、ステッ
プS1及びステップS22,S23の処理が行われない
だけで、サブマイコン13とほぼ同等の処理が行われる
ので、このサブマイコン13側を代表させて以下説明す
る。また、これら図2及び図3は、一連のフローチャー
トであるが、紙面の都合により2つの図に分けている。
The flow charts of FIGS. 2 and 3 are as follows.
The control procedure of the data communication which the sub-microcomputer 13 performs is shown. The main microcomputer 12 does not perform steps S1 and S22 and S23, but performs substantially the same processing as the sub-microcomputer 13. Therefore, the sub-microcomputer 13 will be described below as a representative. Although FIGS. 2 and 3 are a series of flowcharts, they are divided into two diagrams due to space limitations.

【0037】まず、図2において、ステップS1では、
メインマイコン12から送信される通信コントロール信
号CSに変化があるかどうかが判断される。変化がある
場合には(Yes)、次のステップS2に進み、所定時
間例えば1秒間にわたってそのコントロール信号CSの
変化がないときには(No)、メインマイコン12に異
常が発生したと判断して、後述するステップS13に進
む。
First, in FIG. 2, in step S1,
It is determined whether or not the communication control signal CS transmitted from the main microcomputer 12 has changed. If there is a change (Yes), the process proceeds to the next step S2, and if there is no change in the control signal CS for a predetermined time, for example, 1 second (No), it is determined that an abnormality has occurred in the main microcomputer 12, and the process will be described later. Proceed to step S13.

【0038】ステップS2では、現在の自ら(サブマイ
コン13)の状態がリセット処理状態かどうかが判断さ
れ、リセット処理状態であれば(Yes)、ステップS
3にて、通信データ中のリセットデータに、リセット処
理状態を示す[A5]がセットされる。一方、リセット
処理の完了状態であれば(ステップS2にてNo)、ス
テップS4にて、リセットデータにリセット処理完了状
態を示す[69]がセットされる。
In step S2, it is determined whether or not the current state (sub-microcomputer 13) of itself is the reset processing state. If it is the reset processing state (Yes), step S2
At 3, the reset data in the communication data is set to [A5] indicating the reset processing state. On the other hand, if the reset process is completed (No in step S2), [69] indicating the reset process completed state is set in the reset data in step S4.

【0039】次のステップS5では、残りの通信データ
がセットされる。この通信データは、上述のように、2
8バイトの洗濯機制御用データと、1バイトの上記リセ
ットデータと、それら29バイトのデータの積算を行っ
た2バイトの積算値データと、それら31バイトの排他
的論理和を演算した1バイトの排他的論理和データとを
含んでいる。そして、メインマイコン12へ向けての通
信データの送信(同一データを2回繰返して送信)が行
われ(ステップS6)、これと同時に、メインマイコン
12からの通信データの受信が行われる(ステップS
7)。
In the next step S5, the remaining communication data is set. This communication data is, as described above, 2
8 bytes of washing machine control data, 1 byte of the reset data, 2 bytes of integrated value data obtained by integrating the 29 bytes of data, and 1 byte of exclusive OR of 31 bytes And logical OR data. Then, the communication data is transmitted to the main microcomputer 12 (the same data is repeatedly transmitted twice) (step S6), and at the same time, the communication data is received from the main microcomputer 12 (step S).
7).

【0040】メインマイコン12からのデータを受信す
ると、まず、ステップS8にて、2回繰返し送信された
受信データが一致するかどうかが判断され、一致した場
合には(Yes)、次のステップS9にて、受信データ
のバイト「0」からバイト「28」の29バイトの積算
を行い、その結果が積算値データと一致するかどうかが
判断され、一致した場合には(Yes)、次のステップ
S10にて、受信データのバイト「0」からバイト「3
0」の31バイトの排他的論理和の演算を行い、排他的
論理和データと一致するかどうかが判断される。
When the data from the main microcomputer 12 is received, it is first determined in step S8 whether or not the received data repeatedly transmitted twice match, and if they match (Yes), the next step S9. At 29, 29 bytes of the received data from byte “0” to byte “28” are integrated, and it is determined whether the result matches the integrated value data. If they match (Yes), the next step In S10, the byte "0" to the byte "3" of the received data
An exclusive OR operation of 31 bytes of "0" is performed, and it is determined whether or not it matches the exclusive OR data.

【0041】そして、いずれかに不一致が生じた場合に
は(ステップS8〜S10のいずれかでNo)、次のス
テップS11にて、異常回数をカウントするための変数
を1だけインクリメントし、ステップS12にてその異
常回数が16回に至ったかどうかが判断される。異常回
数が16回未満であったときには(ステップS12にて
No)、受信した通信データを無効としながらそのまま
リターンし、異常回数が16回以上となったならば(ス
テップS12にてYes)、次のステップS13に進
む。
If there is a mismatch (No in any of steps S8 to S10), the variable for counting the number of abnormalities is incremented by 1 in the next step S11, and step S12 is executed. At, it is determined whether the number of abnormalities has reached 16. If the number of abnormalities is less than 16 (No in step S12), the received communication data is invalidated, and the process returns as it is. If the number of abnormalities is 16 or more (Yes in step S12), next To step S13.

【0042】図3に進んで、ステップS13では、現在
の自ら(サブマイコン13)の状態がリセット処理状態
かどうかが判断され、リセット処理状態であれば(Ye
s)、そのままリターンし、リセット処理状態でなけれ
ば(No)、次のステップS14にて、洗濯機モータ1
が停止しているかどうかが判断される。そして、洗濯機
モータ1が動作していれば(No)、そのままリセット
し、洗濯機モータ1が停止していれば(Yes)、ステ
ップS15にて、リセット端子からリセット信号が出力
される。
Referring to FIG. 3, in step S13, it is determined whether or not the current state (sub-microcomputer 13) itself is the reset processing state, and if it is the reset processing state (Ye
s), it returns as it is, and if it is not in the reset processing state (No), in the next step S14, the washing machine motor 1
It is determined whether or not is stopped. If the washing machine motor 1 is operating (No), the washing machine motor 1 is reset as it is, and if the washing machine motor 1 is stopped (Yes), a reset signal is output from the reset terminal in step S15.

【0043】一方、上記ステップS8〜S10のいずれ
もが一致した場合には(ステップS10にてYes)、
ステップS16にて現在の自らの状態がリセット処理状
態かどうかが判断される。リセット処理状態でないとき
には(ステップS16にてNo)、次のステップS17
にて、受信したリセットデータがリセット処理状態[A
5]であるかどうかが判断され、もしリセット処理状態
[A5]であるときには(Yes)、異常と判断して上
記ステップS14に進み、同様に洗濯機モータ1が停止
していることを条件に、リセット端子からリセット信号
を出力する(ステップS15)。受信したリセットデー
タがリセット処理完了状態[69]であるときには(ス
テップS17にてNo)、受信したデータが有効とされ
(ステップS18)、また、併せて上記異常回数をカウ
ントする変数がクリアされる(ステップS19)。
On the other hand, if all of the above steps S8 to S10 match (Yes in step S10),
In step S16, it is determined whether or not the current state is the reset processing state. When it is not in the reset processing state (No in step S16), the next step S17
In the reset processing status [A
5], and if it is in the reset processing state [A5] (Yes), it is determined to be abnormal, and the process proceeds to step S14. Similarly, under the condition that the washing machine motor 1 is stopped. A reset signal is output from the reset terminal (step S15). When the received reset data is in the reset process completed state [69] (No in step S17), the received data is validated (step S18), and the variable for counting the number of abnormalities is also cleared. (Step S19).

【0044】そして、現在の自らの状態がリセット処理
状態であるときには(ステップS16にてYes)、ス
テップS20にて、受信したリセットデータがリセット
処理状態[A5]であるかどうかが判定され、リセット
処理状態[A5]であれば(Yes)、そのままリター
ンする。これに対し、リセット処理完了状態[69]で
あれば(ステップS20にてNo)、ステップS21に
てリセット処理完了状態とした上で、上記と同様に受信
したデータが有効とされ(ステップS18)、併せて異
常回数をカウントする変数がクリアされる(ステップS
19)。
When the current state is the reset processing state (Yes in step S16), it is determined in step S20 whether the received reset data is in the reset processing state [A5] and the reset processing is performed. If the processing state is [A5] (Yes), the process directly returns. On the other hand, if the reset processing completion state is [69] (No in step S20), the reset processing completion state is set in step S21, and the received data is validated similarly to the above (step S18). , And the variable that counts the number of abnormalities is also cleared (step S
19).

【0045】この後、ステップS22にて、メインマイ
コン12から転送された固有データと、自らの固有デー
タとをチェックし、合致していれば(Yes)、そのま
まリターンし、合致していなければ(No)、次のステ
ップS23にて、それら固有データが表示部9に表示さ
れる。図6には、その際の表示の一例を示しており、例
えばメインマイコン12が容量7Kg用のものであり、
サブマイコン13が容量6Kg用のものであった場合に
は、数字表示部9aに「7」,「6」と表示されるよう
になるのである。
After that, in step S22, the unique data transferred from the main microcomputer 12 and its own unique data are checked, and if they match (Yes), the process directly returns, and if they do not match ( No), and in the next step S23, the unique data are displayed on the display unit 9. FIG. 6 shows an example of the display at that time, for example, the main microcomputer 12 is for a capacity of 7 kg,
When the sub-microcomputer 13 has a capacity of 6 kg, the numeral display portion 9a displays "7" and "6".

【0046】以上のように、通信コントロール信号CS
が一定時間にわたって変化がないとき、あるいは受信デ
ータの異常が16回以上連続して検出されたとき、ある
いは通常運転時に受信したリセット信号がリセット処理
状態[A5]となっていたときには、メインマイコン1
2に異常が発生したと判断され、サブマイコン13のリ
セット発生手段13bによりリセット端子からリセット
信号が出力され、両マイコン12,13が同時にリセッ
トされるのである。
As described above, the communication control signal CS
Does not change over a certain period of time, or when abnormalities in received data are detected 16 times or more in a row, or when the reset signal received during normal operation is in the reset processing state [A5], the main microcomputer 1
It is judged that an abnormality has occurred in No. 2, and the reset signal is output from the reset terminal by the reset generation means 13b of the sub-microcomputer 13, so that both microcomputers 12 and 13 are reset at the same time.

【0047】詳しい説明は省略するが、このような処理
は、メインマイコン12側でも同様になされ、サブマイ
コン13からの受信データの異常の判断及びサブマイコ
ン13からのリセットデータの異常に基づいてサブマイ
コン13に異常が発生したと判断され、異常検出時には
メインマイコン12のリセット発生手段12bによりリ
セット端子からリセット信号が出力され、両マイコン1
2,13が同時にリセットされるのである。
Although detailed description is omitted, such processing is similarly performed on the main microcomputer 12 side, and based on the determination of abnormality in the received data from the sub-microcomputer 13 and the abnormality in the reset data from the sub-microcomputer 13. It is determined that an abnormality has occurred in the microcomputer 13, and when an abnormality is detected, a reset signal is output from the reset terminal by the reset generation means 12b of the main microcomputer 12, and both microcomputers 1
2 and 13 are reset at the same time.

【0048】また、マイコン12,13がリセットされ
たときには、それら両マイコン12,13のリセット処
理が完了するまでは、通信データは無効とされ、リセッ
ト処理が確実に完了した時点から通信データが有効化さ
れて通常の負荷の制御が行われるようになるのである。
さらには、洗濯機モータ1の停止状態を加味してリセッ
ト信号が出力されるので、洗濯機モータ1の停止の制御
が不能となることを未然に防止することができるもので
ある。
Further, when the microcomputers 12 and 13 are reset, the communication data is invalid until the reset processing of both microcomputers 12 and 13 is completed, and the communication data is valid from the time when the reset processing is surely completed. After that, normal load control will be performed.
Furthermore, since the reset signal is output in consideration of the stopped state of the washing machine motor 1, it is possible to prevent inability to control the stop of the washing machine motor 1.

【0049】このように本実施例によれば、電源の立上
り時及び立下り時に機能するリセット回路21を2個の
マイコン12,13に対して共通化するようにしたの
で、各々のマイコン毎にリセット回路を設けていた従来
のものに比べて、リセット回路21の数を少なくこの場
合1個で済ませることができ、構成を簡単化してコスト
ダウンを図ることができる。
As described above, according to this embodiment, the reset circuit 21 functioning at the time of the rise and the fall of the power supply is made common to the two microcomputers 12 and 13, so that each microcomputer has a reset circuit 21. The number of reset circuits 21 is smaller than that of the conventional one in which a reset circuit is provided, and in this case, only one reset circuit 21 is required, and the configuration can be simplified and the cost can be reduced.

【0050】そして、各マイコン12,13間で、通常
運転時のデータ通信における異常の発生の有無を相互に
監視し、少なくとも一方のマイコン12,13が異常発
生を検出したときには、そのマイコン12,13から出
力されるリセット信号により、双方のマイコン12,1
3が同時にリセットされる構成としたので、マイコン1
2,13の異常発生時の負荷の異常動作を簡単な構成で
確実に防止することができるという優れた効果を得るこ
とができる。
The microcomputers 12 and 13 mutually monitor whether or not an abnormality has occurred in data communication during normal operation, and when at least one of the microcomputers 12 and 13 detects the abnormality, the microcomputer 12 or 13 is detected. By the reset signal output from 13, both microcomputers 12, 1
Since 3 is reset at the same time, microcomputer 1
It is possible to obtain an excellent effect that the abnormal operation of the load when the abnormal conditions 2 and 13 occur can be reliably prevented with a simple configuration.

【0051】このとき、本実施例では、3種類の手法に
より受信データの異常判断を行って異常時にその受信デ
ータを無効化すると共に、それら受信データの異常が所
定回数連続したときにマイコン12,13の異常発生と
判断し、さらに、リセットデータの異常、通信コントロ
ール信号CSの異常をも判断するようにしたので、マイ
コン12,13の様々な異常を判断することができ、異
常検出を総合的且つ高精度で行うことができて信頼性の
高いものとすることができる。
At this time, in the present embodiment, the abnormality determination of the received data is performed by three kinds of methods, the received data is invalidated when the abnormality occurs, and the microcomputer 12, when the abnormality of the received data continues for a predetermined number of times, Since it is determined that the abnormality of 13 has occurred, and further, the abnormality of the reset data and the abnormality of the communication control signal CS are also determined, various abnormalities of the microcomputers 12 and 13 can be determined, and abnormality detection can be comprehensively performed. In addition, it can be performed with high accuracy and can be highly reliable.

【0052】また、特に本実施例では、リセット時にお
いて双方のマイコン12,13のリセット処理が完了し
た状態で確実にデータ通信が行われるようになり、信頼
性を向上させることができ、さらには、洗濯機モータ1
の停止を条件にリセットを行うようにしたので、安全性
を向上することができる。しかも、マイコン12,13
の固有データを出力させることを可能に構成したので、
マイコン12の種類を誤って組付けた場合に、その旨を
容易に知らせることができるといった利点も得ることが
できるものである。
Further, particularly in this embodiment, at the time of resetting, the data communication is surely performed in a state where the reset processing of both the microcomputers 12 and 13 is completed, so that the reliability can be improved, and further, the reliability can be improved. , Washing machine motor 1
Since the reset is performed under the condition of the stop of, the safety can be improved. Moreover, the microcomputer 12, 13
Since it is possible to output the unique data of
When the type of the microcomputer 12 is wrongly assembled, it is possible to obtain an advantage that it can be easily notified.

【0053】尚、本発明は上記した実施例に限定される
ものではなく、例えば3個以上のマイコンにより負荷制
御を分担するような構成としても良く、また、3種類の
受信データの異常判断処理全てを行うのではなく、それ
らのうちいずれか2つを行うように構成しても良い等、
要旨を逸脱しない範囲内で適宜変更して実施し得るもの
である。
The present invention is not limited to the above-described embodiment, but may be configured such that load control is shared by, for example, three or more microcomputers, and an abnormality determination process for three types of received data. It may be configured to perform any two of them instead of performing all, etc.
The invention can be appropriately modified and implemented within a range not departing from the gist.

【0054】[0054]

【発明の効果】以上の説明にて明らかなように、本発明
の洗濯機によれば、複数のマイクロコンピュータを備え
たものにあって、電源の立上り時及び立下り時に前記マ
イクロコンピュータをリセットするための一つのリセッ
ト回路を2以上のマイクロコンピュータに対して共通化
して設けると共に、各マイクロコンピュータは、通常運
転時のデータ通信において異常が発生したことを検出し
たときに、リセット端子からリセット信号を出力するよ
うに構成され、少なくとも一つのマイクロコンピュータ
からリセット信号が出力されたときに、複数のマイクロ
コンピュータが同時にリセットされるように、各マイク
ロコンピュータのリセット端子間をリセット信号ライン
により直結したので、リセット回路の簡単化によるコス
トダウンを図ることができると共に、マイクロコンピュ
ータの異常発生時の負荷の異常動作を簡単な構成で確実
に防止することができるという優れた実用的効果を奏す
る。
As is apparent from the above description, according to the washing machine of the present invention, the washing machine is provided with a plurality of microcomputers, and the microcomputers are reset when the power is turned on and off. One reset circuit for this purpose is shared by two or more microcomputers, and each microcomputer resets when it detects that an abnormality has occurred in data communication during normal operation. A reset signal line is provided between the reset terminals of each microcomputer so that a plurality of microcomputers are simultaneously reset when at least one microcomputer outputs a reset signal. Since it is directly connected by, the cost can be reduced by simplifying the reset circuit. It it is, exhibits an excellent practical effect that it is possible to reliably prevent abnormal operation of the load at the time of occurrence of abnormality in the microcomputer with a simple configuration.

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

【図1】本発明の一実施例を示すもので、洗濯機の電気
的構成を示すブロック図
FIG. 1 is a block diagram showing an electrical configuration of a washing machine according to an embodiment of the present invention.

【図2】通信制御の手順を示すフローチャート(その
1)
FIG. 2 is a flowchart showing a procedure of communication control (part 1).

【図3】通信制御の手順を示すフローチャート(その
2)
FIG. 3 is a flowchart (part 2) showing the procedure of communication control.

【図4】データ通信のタイミングチャートFIG. 4 is a timing chart of data communication.

【図5】通信データの構成を模式的に示す図FIG. 5 is a diagram schematically showing the structure of communication data.

【図6】操作パネルの平面図FIG. 6 is a plan view of the operation panel.

【符号の説明】[Explanation of symbols]

図面中、1は洗濯機モータ、9は表示部、10は電源ス
イッチ、12はメインマイクロコンピュータ、13はサ
ブマイクロコンピュータ、12a,13aは通信制御手
段、12b,13bはリセット発生手段、20はリセッ
ト信号ライン、21はリセット回路、22はデータ通信
ラインを示す。
In the drawing, 1 is a washing machine motor, 9 is a display unit, 10 is a power switch, 12 is a main microcomputer, 13 is a sub-microcomputer, 12a and 13a are communication control means, 12b and 13b are reset generation means, and 20 is reset. A signal line, 21 is a reset circuit, and 22 is a data communication line.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 池田 博志 愛知県瀬戸市穴田町991番地 東芝エ ー・ブイ・イー株式会社 名古屋事業所 内 (72)発明者 今村 文広 愛知県瀬戸市穴田町991番地 株式会社 東芝 愛知工場内 (56)参考文献 特開 平5−7690(JP,A) 特開 平9−54607(JP,A) 特開 平9−282002(JP,A) 特開 平3−251932(JP,A) (58)調査した分野(Int.Cl.7,DB名) D06F 1/00 - 51/02 H02P 5/41 302 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hiroshi Ikeda 991, Anada-cho, Seto-shi, Aichi Toshiba EV Co., Ltd., Nagoya Office (72) Inventor Fumihiro Imamura 991, Akita-ken, Seta-shi Toshiba Corporation Aichi Factory (56) Reference JP 5-7690 (JP, A) JP 9-54607 (JP, A) JP 9-282002 (JP, A) JP 3-251932 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) D06F 1/00-51/02 H02P 5/41 302

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のマイクロコンピュータを備え、そ
れらマイクロコンピュータ間で通信データの送受信を行
いながら洗濯機モータ等の負荷を制御するようにしたも
のにおいて、 電源の立上り時及び立下り時に前記マイクロコンピュー
タをリセットするための一つのリセット回路を2以上の
マイクロコンピュータに対して共通化して設けると共
に、 前記各マイクロコンピュータは、通常運転時のデータ通
信において異常が発生したことを検出したときに、リセ
ット端子からリセット信号を出力するように構成され、 少なくとも一つのマイクロコンピュータからリセット信
号が出力されたときに、前記複数のマイクロコンピュー
タが同時にリセットされるように、各マイクロコンピュ
ータのリセット端子間をリセット信号ラインにより直結
したことを特徴とする洗濯機。
1. A microcomputer comprising a plurality of microcomputers, wherein the load of a washing machine motor or the like is controlled while transmitting and receiving communication data between the microcomputers, wherein the microcomputer is used at the time of power supply rise and fall. One reset circuit for resetting is provided in common to two or more microcomputers, and each of the microcomputers has a reset terminal when detecting an abnormality in data communication during normal operation. Reset signal line between the reset terminals of each microcomputer so that the plurality of microcomputers are simultaneously reset when the reset signal is output from at least one microcomputer. Directly connected by A washing machine characterized by that.
【請求項2】 各マイクロコンピュータが送信する通信
データ中に、該マイクロコンピュータがリセット処理状
態かリセット処理の完了状態かを示すリセットデータを
含ませると共に、 各マイクロコンピュータは、リセット直後において、他
のマイクロコンピュータから受信したリセットデータ
が、リセット処理状態からリセット処理完了状態に変化
したことに基づいて、受信した通信データを有効化する
ように構成されていることを特徴とする請求項1記載の
洗濯機。
2. The communication data transmitted by each microcomputer includes reset data indicating whether the microcomputer is in a reset processing state or a reset processing completion state, and each microcomputer has another data immediately after reset. The laundry according to claim 1, wherein the reset data received from the microcomputer is configured to validate the received communication data based on a change from the reset processing state to the reset processing completed state. Machine.
【請求項3】 各マイクロコンピュータは、通常運転時
に受信したリセットデータがリセット処理状態であった
ときには、異常が発生したと判断することを特徴とする
請求項2記載の洗濯機。
3. The washing machine according to claim 2, wherein each of the microcomputers determines that an abnormality has occurred when the reset data received during the normal operation is in the reset processing state.
【請求項4】 各マイクロコンピュータは、以下の
(1)〜(3)の受信データ異常判断処理のうち複数を
実行することを特徴とする請求項1ないし3のいずれか
に記載の洗濯機。 (1)各マイクロコンピュータが同一通信データを2回
連続して送信する構成とし、2回の受信データが一致す
るかどうかを判定して不一致の場合にその受信データを
無効化する。 (2)各マイクロコンピュータが通信データと共にその
通信データの積算値データを送信する構成とし、受信し
た通信データの積算値を求めて前記積算値データと不一
致の場合にその受信データを無効化する。 (3)各マイクロコンピュータが通信データと共にその
通信データの排他的論理和データを送信する構成とし、
受信した通信データの排他的論理和を求めて前記排他的
論理和データと不一致の場合にその受信データを無効化
する。
4. The washing machine according to claim 1, wherein each of the microcomputers executes a plurality of reception data abnormality determination processes of (1) to (3) below. (1) Each microcomputer is configured to continuously transmit the same communication data twice, and it is determined whether or not the reception data of the two times match, and if there is a mismatch, the reception data is invalidated. (2) Each microcomputer transmits the integrated value data of the communication data together with the communication data, determines the integrated value of the received communication data, and invalidates the received data when the integrated value data does not match. (3) Each microcomputer transmits the exclusive OR data of the communication data together with the communication data,
The exclusive OR of the received communication data is obtained, and if the exclusive OR data does not match, the received data is invalidated.
【請求項5】 各マイクロコンピュータは、受信データ
の異常が所定回数連続したときに、送信側のマイクロコ
ンピュータに異常が発生したと判断してリセット信号を
出力するように構成されていることを特徴とする請求項
4記載の洗濯機。
5. Each of the microcomputers is configured to output a reset signal when it is determined that an abnormality has occurred in the transmitting-side microcomputer when the abnormality in the received data has continued for a predetermined number of times. The washing machine according to claim 4.
【請求項6】 通信データと併せて通信コントロール信
号が通信される構成とされていると共に、 前記通信コントロール信号の受信側のマイクロコンピュ
ータは、所定時間にわたって該通信コントロール信号の
変化がないときに通信異常と判断することを特徴とする
請求項1ないし5のいずれかに記載の洗濯機。
6. The communication control signal is configured to be communicated together with the communication data, and the microcomputer on the receiving side of the communication control signal communicates when the communication control signal does not change for a predetermined time. The washing machine according to claim 1, wherein the washing machine is determined to be abnormal.
【請求項7】 各マイクロコンピュータは、リセット処
理後においては、洗濯機モータが停止するまでは、次の
リセット信号の出力が禁止されることを特徴とする請求
項1ないし6のいずれかに記載の洗濯機。
7. The microcomputer according to claim 1, wherein after the reset processing, the output of the next reset signal is prohibited until the washing machine motor is stopped. Washing machine.
【請求項8】 複数のマイクロコンピュータは、夫々そ
のマイクロコンピュータの種類を示す固有データを有
し、各マイクロコンピュータの固有データの出力が可能
とされていることを特徴とする請求項1ないし7のいず
れかに記載の洗濯機。
8. The plurality of microcomputers each have unique data indicating the type of the microcomputer, and the unique data of each microcomputer can be output. The washing machine according to any one.
JP24323298A 1998-08-28 1998-08-28 Washing machine Expired - Fee Related JP3457889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24323298A JP3457889B2 (en) 1998-08-28 1998-08-28 Washing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24323298A JP3457889B2 (en) 1998-08-28 1998-08-28 Washing machine

Publications (2)

Publication Number Publication Date
JP2000070590A JP2000070590A (en) 2000-03-07
JP3457889B2 true JP3457889B2 (en) 2003-10-20

Family

ID=17100810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24323298A Expired - Fee Related JP3457889B2 (en) 1998-08-28 1998-08-28 Washing machine

Country Status (1)

Country Link
JP (1) JP3457889B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4495984B2 (en) * 2004-02-16 2010-07-07 株式会社東芝 Washing machine
JP5398453B2 (en) * 2009-09-29 2014-01-29 株式会社東芝 Washing machine
US9216651B2 (en) 2012-09-24 2015-12-22 Nissan Motor Co., Ltd. Electric vehicle control device
WO2018012420A1 (en) * 2016-07-11 2018-01-18 株式会社デンソー Motor control device, motor drive system and motor control method
US10668945B2 (en) 2016-07-11 2020-06-02 Denso Corporation Motor control apparatus, motor drive system, and motor control method
JP7024223B2 (en) * 2016-07-11 2022-02-24 株式会社デンソー Motor control device, motor drive system, and motor control method
JP7052347B2 (en) * 2017-02-28 2022-04-12 株式会社デンソー Motor control device, motor drive system, and motor control method
JP7065005B2 (en) * 2018-09-28 2022-05-11 日立グローバルライフソリューションズ株式会社 Washing machine abnormality diagnosis system

Also Published As

Publication number Publication date
JP2000070590A (en) 2000-03-07

Similar Documents

Publication Publication Date Title
US8432291B2 (en) Diagnostic system and method for home appliance
EP2462719B1 (en) Home appliance and method for operating the same
US8341002B2 (en) Diagnostic system and method for home appliance
US20110060553A1 (en) Diagnostic system and method for home appliance
US8717188B2 (en) Diagnostic system and method for home appliance
US20110054845A1 (en) Diagnostic system and method for home appliance
JP3457889B2 (en) Washing machine
US20110054843A1 (en) Diagnostic system and method for home appliance
US20110054844A1 (en) Diagnostic system and method for home appliance
GB2250106A (en) Operation control device for washing machines
KR20040095017A (en) emergency measuring method in washing machine
KR20030000189A (en) A remote testing system of washing machine and of the same method
JPS615882A (en) Automatic washing machine
KR101006680B1 (en) Apparatus for mornitoring transmission controll unit
JP2793345B2 (en) Washing machine operation control device
KR101376770B1 (en) Miss-operating sensing structure of electric and electronic device and control method for the same
KR100315822B1 (en) A sensing circuit of open or close for washer' door
KR100469273B1 (en) Apparatus and Method for Sensing Operation Error of Clutching of Washing Machine
JP3394686B2 (en) Communication control device and washing machine
JP3258954B2 (en) Card laundry equipment
JP2003210893A (en) Washing machine
JP2999349B2 (en) Washing machine
KR100252952B1 (en) Method for controlling and Device for sensing overload of the washing machine
CN116169643A (en) Washing machine
JPH0654984A (en) Washing machine

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070801

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080801

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090801

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100801

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100801

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110801

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120801

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120801

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

Free format text: JAPANESE INTERMEDIATE CODE: R313115

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees