JP2008099942A - Laundry apparatus - Google Patents
Laundry apparatus Download PDFInfo
- Publication number
- JP2008099942A JP2008099942A JP2006285965A JP2006285965A JP2008099942A JP 2008099942 A JP2008099942 A JP 2008099942A JP 2006285965 A JP2006285965 A JP 2006285965A JP 2006285965 A JP2006285965 A JP 2006285965A JP 2008099942 A JP2008099942 A JP 2008099942A
- Authority
- JP
- Japan
- Prior art keywords
- backup data
- record
- laundry machine
- data area
- microcomputer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Control Of Washing Machine And Dryer (AREA)
Abstract
Description
本発明は、例えば全自動洗濯機や洗濯乾燥機等のランドリー機器に関する。 The present invention relates to a laundry machine such as a fully automatic washing machine or a washing / drying machine.
従来、全自動洗濯機や洗濯乾燥機などのランドリー機器においては、パルセータや洗濯兼脱水槽の駆動を制御するためにマイクロコンピュータが使われている。より詳しくは、上記マイクロコンピュータ内のROM(リード・オンリー・メモリ)に書き込まれたプログラムによって、パルセータや洗濯兼脱水槽の駆動方法を変えたり、給排水制御等により、いろいろな洗い方ができるようになっている。 Conventionally, in a laundry machine such as a fully automatic washing machine or a washing / drying machine, a microcomputer is used to control driving of a pulsator and a washing / dehydrating tank. More specifically, various washing methods can be performed by changing the driving method of the pulsator and washing / dehydrating tub or by controlling the water supply / drainage according to the program written in the ROM (Read Only Memory) in the microcomputer. It has become.
また、上記ランドリー機器においては、ユーザーの好みに応じた設定内容等の変更可能なデータは不揮発性メモリに記憶され、電源が遮断されてもそのデータを保持するようになっている。この不揮発性メモリは、一般的に、マイクロコンピュータの外部に配置されている。 In the laundry machine, changeable data such as setting contents according to the user's preference is stored in a nonvolatile memory, and the data is retained even when the power is turned off. This nonvolatile memory is generally arranged outside the microcomputer.
例えば特開平6−269591号公報の洗濯機は、ユーザが設定したコースの開始と同時に、マイクロコンピュータの外部の不揮発性メモリに上記コースを格納する。これにより、上記洗濯機では、上記コースの実行中に電源が遮断されても、上記コースの消滅を防いでいる。 For example, the washing machine disclosed in JP-A-6-269591 stores the course in a nonvolatile memory outside the microcomputer simultaneously with the start of the course set by the user. Thereby, even if a power supply is interrupted during execution of the course, the washing machine prevents the course from disappearing.
特開2001−46781号公報の洗濯機は、フラッシュメモリに製品の動作プログラムを記憶する。これにより、上記洗濯機が市場に出てからも、製品の動作プログラムを書き換えることができるので、常に最新の機能で洗濯機を使うことを可能とし、洗濯機の買い換え期間を延長可能としている。 The washing machine disclosed in Japanese Patent Laid-Open No. 2001-46781 stores a product operation program in a flash memory. As a result, the operation program of the product can be rewritten even after the washing machine is put on the market, so that the washing machine can always be used with the latest functions and the replacement period of the washing machine can be extended.
しかしながら、特開平6−269591号公報の洗濯機は、不揮発性メモリをマイクロコンピュータの外部に配置した構成であるため、不揮発性メモリに格納したバックアップデータの信頼性を高めることができず、かつ、安価な回路構成にはなっていないという問題がある。 However, since the washing machine disclosed in Japanese Patent Laid-Open No. 6-269591 has a configuration in which the nonvolatile memory is arranged outside the microcomputer, the reliability of the backup data stored in the nonvolatile memory cannot be improved, and There is a problem that the circuit configuration is not inexpensive.
また、特開2001−46781号公報の洗濯機は、フラッシュメモリに記憶したプログラムに基づいて制御するが、フラッシュメモリは機器の制御プログラムについてのみ使用されており、制御プログラムの変更が生じたときのみフラッシュメモリを書き換えるものである。 The washing machine disclosed in Japanese Patent Laid-Open No. 2001-46781 is controlled based on a program stored in a flash memory, but the flash memory is used only for a device control program, and only when the control program is changed. The flash memory is rewritten.
したがって、特開2001−46781号公報の洗濯機は、通常、ユーザーが使用する時にはフラッシュメモリの内容を書き換えることがないため、フラッシュメモリの領域が有効に使用されていないという問題がある。
そこで、本発明の課題は、フラッシュメモリの領域を有効に使用し、ユーザーの運転設定内容等のバックアップデータの信頼性を高め、かつ、安価な回路構成なランドリー機器を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a laundry device having an inexpensive circuit configuration that effectively uses the area of a flash memory, improves the reliability of backup data such as user operation setting contents, and the like.
上記課題を解決するため、本発明のランドリー機器は、
フラッシュメモリを内蔵するマイクロコンピュータを備え、
上記フラッシュメモリは、
制御プログラムが書き込まれた制御プログラム領域と、
バックアップデータが書き込まれるバックアップデータ領域と
を有することを特徴としている。
In order to solve the above problems, the laundry machine of the present invention is
It has a microcomputer with built-in flash memory,
The above flash memory
A control program area in which the control program is written, and
And a backup data area in which backup data is written.
上記構成のランドリー機器によれば、上記フラッシュメモリが、制御プログラムが書き込まれた制御プログラム領域と、バックアップデータが書き込まれるバックアップデータ領域とを有するので、フラッシュメモリの領域を有効に使用することができる。 According to the laundry machine configured as described above, the flash memory has the control program area in which the control program is written and the backup data area in which the backup data is written, so that the area of the flash memory can be used effectively. .
また、上記フラッシュメモリはマイクロコンピュータに内蔵されているので、バックアップデータの記憶のために外付けメモリを使用する必要がなく、また、外付けメモリとのデータ通信の必要もないため、バックアップデータの信頼性を向上することができ、かつ、安価な回路構成を実現することができる。 Further, since the flash memory is built in the microcomputer, it is not necessary to use an external memory for storing backup data, and there is no need for data communication with the external memory. Reliability can be improved and an inexpensive circuit configuration can be realized.
一実施形態のランドリー機器では、
上記制御プログラム領域と上記バックアップデータ領域とは互いに別々のブロックからなる。
In the laundry machine of one embodiment,
The control program area and the backup data area are composed of separate blocks.
上記実施形態のランドリー機器によれば、上記制御プログラム領域とバックアップデータ領域とは互いに別々のブロックからなるので、制御プログラム領域のみをイレーズすることや、バックアップデータ領域のみをイレーズすることが可能となる。 According to the laundry machine of the above embodiment, since the control program area and the backup data area are composed of separate blocks, it is possible to erase only the control program area or only the backup data area. .
また、上記制御プログラム領域内に、バックアップデータ領域をイレーズするプログラムを書き込んでおけば、制御プログラムの実行で、バックアップデータ領域をイレーズすることも可能となる。 If a program for erasing the backup data area is written in the control program area, the backup data area can be erased by executing the control program.
ところで、通常、上記フラッシュメモリは部品仕様上、例えば1万回といったイレーズ保証回数が定められている。このイレーズ保証回数を超えてしまうと、フラッシュメモリに対するイレーズ処理を行う時間が極端に長くなる傾向がある。 By the way, normally, in the flash memory, the number of erase guarantees, for example, 10,000 times is defined in the component specifications. If the number of erase guarantees is exceeded, the time for erasing the flash memory tends to become extremely long.
また、上記フラッシュメモリは、一度書き込みを行った領域に、上書きでデータを書き込むことができない。 Further, the flash memory cannot write data by overwriting in the area where data has been written once.
そこで、一実施形態のランドリー機器では、
上記バックアップデータ領域は、それぞれが複数のデータで構成された複数のレコードを有し、
上記マイクロコンピュータは、上記レコードに上記バックアップデータを書き込むと共に、上記バックアップデータを書き込む上記レコードを変更する。
Therefore, in the laundry machine of one embodiment,
The backup data area has a plurality of records each composed of a plurality of data,
The microcomputer writes the backup data in the record and changes the record in which the backup data is written.
上記実施形態のランドリー機器によれば、上記マイクロコンピュータは、レコードにバックアップデータを書き込むと共に、バックアップデータを書き込むレコードを変更するので、フラッシュメモリの1回のイレーズ処理に対して複数回のバックアップデータの書き込みが可能となる。 According to the laundry machine of the above embodiment, the microcomputer writes backup data to the record and changes the record to which the backup data is written. Therefore, a plurality of backup data can be stored for one erase process of the flash memory. Writing becomes possible.
その結果、上記フラッシュメモリのイレーズ回数を減らすことができるため、フラッシュメモリの寿命を延ばすことができる。 As a result, the number of times the flash memory is erased can be reduced, so that the life of the flash memory can be extended.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記複数のレコードを所定順に読み出す処理と、
上記複数のデータの全てがイレーズ完了後のデータである上記レコードを空きレコードと判定する処理と、
上記空きレコードと判定した上記レコードに上記バックアップデータを書き込む処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process of reading the plurality of records in a predetermined order;
A process for determining that the record in which all of the plurality of data is data after completion of erasure as an empty record;
A process of writing the backup data in the record determined as the empty record is performed.
上記実施形態のランドリー機器によれば、上記バックアップデータの書き込み時には、バックアップデータ領域の例えば先頭アドレスから順々に複数のレコードを読み出す。このとき、同一レコード内の全てのデータがイレーズ完了後のデータである場合、そのレコードを空きレコードとして判定して、そのレコードにバックアップデータを書き込む。 According to the laundry machine of the above-described embodiment, when writing the backup data, a plurality of records are read sequentially from, for example, the head address in the backup data area. At this time, if all the data in the same record is data after completion of erasure, the record is determined as an empty record, and the backup data is written in the record.
したがって、上記バックアップデータを確実にレコードに書き込むことができる。 Therefore, the backup data can be reliably written to the record.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記複数のレコードを所定順に読み出す処理と、
上記複数のデータの全てがイレーズ完了後のデータである上記レコードを空きレコードと判定する処理と、
上記空きレコードと判定した上記レコードの直前に読み出したレコードを最新レコードと判定する処理と、
上記最新レコードと判定した上記レコードに格納されている上記バックアップデータを読み出す処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process of reading the plurality of records in a predetermined order;
A process for determining that the record in which all of the plurality of data is data after completion of erasure as an empty record;
A process of determining a record read immediately before the record determined as the empty record as the latest record;
A process of reading the backup data stored in the record determined to be the latest record is performed.
上記実施形態のランドリー機器によれば、上記バックアップデータの読み出し時には、バックアップデータ領域の例えば先頭アドレスから順々に複数のレコードを読み出す。このとき、同一レコード内の全てのデータがイレーズ完了後のデータである場合、そのレコードを空きレコードとして判定すると共に、空きレコードと判定したレコードの直前に読み出したレコードを最新レコードと判定する。そして、上記最新レコードと判定したレコードに格納されているバックアップデータを読み出す。 According to the laundry machine of the above-described embodiment, when the backup data is read, a plurality of records are read sequentially from, for example, the head address of the backup data area. At this time, when all the data in the same record is data after completion of the erase, the record is determined as an empty record, and the record read immediately before the record determined to be an empty record is determined as the latest record. Then, the backup data stored in the record determined as the latest record is read out.
したがって、上記バックアップデータが複数あっても、最新のバックアップデータを確実に読み出すことができる。 Therefore, even if there are a plurality of backup data, the latest backup data can be reliably read out.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記バックアップデータ領域の全部が使用されたか否かを判定する処理と、
上記バックアップデータ領域の全部が使用されていると判定した場合、上記バックアップデータ領域をイレーズする処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process for determining whether or not the entire backup data area has been used;
When it is determined that the entire backup data area is used, a process of erasing the backup data area is performed.
上記実施形態のランドリー機器によれば、上記バックアップデータ領域の全部が使用されたときには、バックアップデータ領域にイレーズ処理を行うので、フラッシュメモリのイレーズ保証回数だけイレーズ処理を繰り返してバックアップデータ領域を使用することができ、常に最新のバックアップデータを取り扱うことができる。 According to the laundry machine of the above embodiment, when the entire backup data area is used, the backup data area is erased. Therefore, the erase data is repeatedly used for the number of times guaranteed for the flash memory to use the backup data area. Can always handle the latest backup data.
一実施形態のランドリー機器では、
上記バックアップデータ領域は少なくとも2つのブロックからなっていて、
上記マイクロコンピュータは、
上記バックアップデータ領域の全部が使用されたか否かを判定する処理と、
上記バックアップデータ領域の全部が使用されていると判定した場合、最新の上記バックアップデータが格納されているブロック以外のブロックをイレーズする処理と
を行う。
In the laundry machine of one embodiment,
The backup data area consists of at least two blocks,
The microcomputer is
A process for determining whether or not the entire backup data area has been used;
When it is determined that the entire backup data area is used, a process of erasing blocks other than the block storing the latest backup data is performed.
上記実施形態のランドリー機器によれば、上記バックアップデータ領域は少なくとも2つのブロックからなっているので、バックアップデータ領域の一部だけにイレーズ処理を行うことができ、イレーズしたい部分とイレーズしたくない部分の独立性を高めることでき、バックアップデータの信頼性を高めることができる。 According to the laundry machine of the above embodiment, since the backup data area is composed of at least two blocks, the erase process can be performed only on a part of the backup data area, and the part to be erased and the part not to be erased. The independence of the backup data can be increased, and the reliability of the backup data can be increased.
また、上記バックアップデータ領域の全部が使用されたときには、最新のデータが格納されているブロック以外のブロックをイレーズするので、全部のバックアップデータ領域をイレーズするよりもイレーズ処理に要する時間を短縮することができ、かつ、最新のバックアップデータはイレーズせずに保持することで、バックアップデータの信頼性を高めることができる。 In addition, when all of the backup data area is used, blocks other than the block storing the latest data are erased, so that the time required for the erase process can be shortened compared with erasing the entire backup data area. It is possible to improve the reliability of the backup data by holding the latest backup data without erasing it.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記レコードへの上記バックアップデータの書き込み時に、上記バックアップデータの書き込みエラーが発生したか否かを判定する処理と、
上記バックアップデータの書き込みエラーが発生したと判定した場合、上記バックアップデータを書き込んでいたレコード以外のレコードに、上記バックアップデータを再度書き込む処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process of determining whether or not a write error of the backup data has occurred when writing the backup data to the record;
When it is determined that a backup data write error has occurred, a process of rewriting the backup data in a record other than the record in which the backup data has been written is performed.
上記実施形態のランドリー機器によれば、上記バックアップデータの書き込み時に、バックアップデータ領域の一部の故障等によって、バックアップデータの書き込みエラーを検出した場合にも、バックアップデータの書き込みを行ったレコード以外のレコードに、再度、バックアップデータの書き込み処理を行うので、バックアップデータの書き込み処理の信頼性を高めることができる。 According to the laundry machine of the above embodiment, even when a backup data write error is detected due to a failure of a part of the backup data area or the like when the backup data is written, other than the record in which the backup data is written. Since the backup data writing process is performed again on the record, the reliability of the backup data writing process can be improved.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記バックアップデータの書き込みが開始してから経過した時間が所定時間を越えたか否かを判定する処理と、
上記時間が所定時間を越えたと判定した場合、上記バックアップデータを書き込んでいたレコード以外のレコードに、上記バックアップデータを再度書き込む処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process for determining whether or not the time elapsed since the start of writing the backup data has exceeded a predetermined time;
When it is determined that the time exceeds the predetermined time, a process of rewriting the backup data in a record other than the record in which the backup data has been written is performed.
上記実施形態のランドリー機器によれば、上記バックアップデータの書き込み時に、バックアップデータ領域の一部の故障等によって、バックアップデータの書き込みタイムアウトを検出した場合にも、バックアップデータの書き込みを行ったレコード以外のレコードに、再度、バックアップデータの書き込み処理を行うので、バックアップデータの書き込み処理の信頼性を高めることができる。 According to the laundry machine of the above embodiment, when the backup data write timeout is detected due to a failure of a part of the backup data area or the like when the backup data is written, other than the record in which the backup data is written. Since the backup data writing process is performed again on the record, the reliability of the backup data writing process can be improved.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記バックアップデータ領域のイレーズ時に、上記バックアップデータ領域のイレーズエラーが発生したか否かを判定する処理と、
上記イレーズエラーが発生したと判定した場合、上記バックアップデータ領域を再度イレーズする処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process for determining whether an erase error has occurred in the backup data area when erasing the backup data area; and
If it is determined that the erase error has occurred, the backup data area is erased again.
上記実施形態のランドリー機器によれば、上記イレーズエラーが発生したと判定した場合、バックアップデータ領域を再度イレーズするので、つまり、イレーズエラーを検出すると、イレーズ処理のリトライ動作を行うので、イレーズ処理の失敗時にも、イレーズ処理の信頼性を高めることができる。 According to the laundry machine of the above embodiment, when it is determined that the erase error has occurred, the backup data area is erased again. That is, when the erase error is detected, the erase process is retried. Even in the case of failure, the reliability of the erase process can be improved.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記バックアップデータ領域のイレーズ時に、上記バックアップデータ領域のイレーズエラーが発生したか否かを判定する処理と、
上記イレーズエラーが発生した回数が所定回数に達した時、上記バックアップデータ領域のイレーズを止めると共に、上記バックアップデータを予め決められた初期値とする。
In the laundry machine of one embodiment,
The microcomputer is
A process for determining whether an erase error has occurred in the backup data area when erasing the backup data area; and
When the number of occurrences of the erase error reaches a predetermined number, the erase of the backup data area is stopped and the backup data is set to a predetermined initial value.
上記実施形態のランドリー機器によれば、上記フラッシュメモリの故障等により、バックアップデータ領域がイレーズできない場合に、イレーズエラーの回数が所定の回数に達した時にはイレーズ処理を途中で止めるので、処理が無限ループに入ってしまう恐れがない。 According to the laundry machine of the above embodiment, when the backup data area cannot be erased due to a failure of the flash memory or the like, the erase process is stopped halfway when the number of erase errors reaches a predetermined number, so the process is infinite. There is no fear of entering the loop.
また、上記イレーズ処理の失敗により、バックアップデータが不完全なイレーズ状態となっても、バックアップデータを予め決められた初期値として動作するため、異常なデータで機器が動作することがなく、イレーズ処理及び読み出し処理の信頼性を高めることができる。 In addition, even if the backup data becomes incompletely erased due to the failure of the erase process, the backup data operates as a predetermined initial value, so that the device does not operate with abnormal data, and the erase process In addition, the reliability of the reading process can be improved.
ここで、上記イレーズエラーの回数は、ランドリー機器出荷時からの積算回数としてもよいし、上記リトライ動作時のリトライ回数としてもよい。 Here, the number of erasure errors may be the number of integrations since the shipment of the laundry device, or may be the number of retries during the retry operation.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
上記バックアップデータ領域のイレーズ時に、上記バックアップデータ領域のイレーズエラーが発生したか否かを判定する処理と、
上記イレーズエラーが発生した回数が所定回数に達した時、上記バックアップデータ領域のイレーズを止めると共に、上記回数が所定回数に達したことを示すエラー表示を行う処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process for determining whether an erase error has occurred in the backup data area when erasing the backup data area; and
When the number of occurrences of the erase error reaches a predetermined number, the erase of the backup data area is stopped, and an error display indicating that the number of times has reached the predetermined number is performed.
上記実施形態のランドリー機器によれば、上記フラッシュメモリの故障により、バックアップデータ領域がイレーズできない場合に、イレーズエラーの回数が所定の回数に達した時には、イレーズ処理を途中で止め、エラー表示を行うことので、機器として異常なデータを採用して動作することがなく、ユーザーが危険な状態に直面してしまうことがない。 According to the laundry machine of the above embodiment, when the backup data area cannot be erased due to the failure of the flash memory, when the number of erase errors reaches a predetermined number, the erase process is stopped halfway and an error is displayed. As a result, the device does not operate using abnormal data, and the user does not face a dangerous state.
また、上記バックアップデータ内に製品の動作上、重要なデータがメモリされていて、イレーズ処理の失敗によって、バックアップデータが不完全なイレーズ状態となっても、異常なデータのまま機器を動作する心配がない。 In addition, even if important data for product operation is stored in the above backup data, and the backup data becomes incompletely erased due to the failure of the erase process, there is a concern that the device will operate with abnormal data. There is no.
ここで、上記イレーズエラーの回数は、ランドリー機器出荷時からの積算回数としてもよいし、上記リトライ動作時のリトライ回数としてもよい。 Here, the number of erasure errors may be the number of integrations since the shipment of the laundry device, or may be the number of retries during the retry operation.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、
電源のオンに伴い、上記バックアップデータ領域をイレーズする処理と、
上記電源のオフに伴い、上記バックアップデータ領域に上記バックアップデータを書き込む処理と
を行う。
In the laundry machine of one embodiment,
The microcomputer is
A process of erasing the backup data area when the power is turned on,
When the power is turned off, the backup data is written in the backup data area.
上記実施形態のランドリー機器によれば、上記フラッシュメモリのイレーズ処理はブロック単位でしか実行できない。そのため、一般的に、上記フラッシュメモリのイレーズ処理は、書き込み処理と比べると、処理の時間が長くかかってしまう。 According to the laundry machine of the above embodiment, the erase process of the flash memory can be executed only in units of blocks. For this reason, generally, the erase process of the flash memory takes a longer time than the write process.
したがって、上記電源のオンに伴い、バックアップデータ領域をイレーズすると共に、電源のオフに伴い、バックアップデータ領域にバックアップデータを書き込むので、機器の電源オン時に確実にイレーズ処理を行うことができ、また、瞬時停電等によって、ランドリー機器への電源の供給が予期せず途絶えてしまっても、書き込み処理を確実に行うことができる。 Therefore, the backup data area is erased when the power is turned on, and the backup data is written to the backup data area when the power is turned off, so that the erase process can be surely performed when the device is turned on. Even if the supply of power to the laundry machine is unexpectedly interrupted due to an instantaneous power failure or the like, the writing process can be performed reliably.
一実施形態のランドリー機器では、
上記複数のレコードのそれぞれには、上記データを保証するためのチェックサムが設けられている。
In the laundry machine of one embodiment,
Each of the plurality of records is provided with a checksum for guaranteeing the data.
上記実施形態のランドリー機器によれば、上記複数のレコードのそれぞれには、データを保証するためのチェックサムが設けられているので、レコードへのバックアップデータの書き込みを失敗したときや、レコードに書き込まれたバックアップデータの読み出しに失敗したときなどの不正なデータを判別することができ、レコードデータの信頼性を高めることができる。 According to the laundry machine of the above embodiment, each of the plurality of records is provided with a checksum for guaranteeing the data. Therefore, when the backup data write to the record fails or the record is written to the record. It is possible to discriminate illegal data such as when reading of the backed-up backup data fails, and to improve the reliability of the record data.
一実施形態のランドリー機器では、
上記マイクロコンピュータは、上記バックアップデータ領域のイレーズ中にはユーザの操作を無効とする。
In the laundry machine of one embodiment,
The microcomputer invalidates a user operation during erasure of the backup data area.
上記実施形態のランドリー機器によれば、上記バックアップデータ領域のイレーズ処理の実施時に例えば電源オフキーが押された場合でも、バックアップデータ領域のイレーズ中にはユーザの操作を無効とするので、電源はオフにならず、確実にイレーズ処理を行うことができる。 According to the laundry machine of the above embodiment, even when, for example, the power-off key is pressed during the erase process of the backup data area, the user operation is invalidated during the erase of the backup data area. Thus, the erase process can be performed reliably.
例えば、通常、電源オフキーを受け付けると、最優先でその処理を行うが、イレーズ処理間にも最優先で電源オフキー受け付けてしまうと、イレーズ処理を中断することで、バックアップデータが不完全なイレーズ状態となり、不正なデータになってしまう恐れがある。 For example, when the power off key is accepted, the process is given the highest priority.However, if the power off key is accepted with the highest priority during the erase process, the erase process is interrupted, resulting in an incomplete erase state of the backup data. There is a risk that it becomes illegal data.
上記電源オフキーが押された場合、イレーズ処理を実施した後に、機器の電源をオフするようにしてもよい。 When the power off key is pressed, the power of the device may be turned off after performing the erase process.
本発明のランドリー機器によれば、フラッシュメモリ内蔵のマイクロコンピュータを備えたランドリー機器において、フラッシュメモリ領域を有効に使用し、ユーザーの運転設定内容等のバックアップデータの信頼性を高め、かつ安価な回路構成を実現することができる。 According to the laundry device of the present invention, in a laundry device having a microcomputer with built-in flash memory, the flash memory area is effectively used, the reliability of backup data such as the user's operation setting contents is increased, and an inexpensive circuit is provided. A configuration can be realized.
以下、本発明のランドリー機器を図示の実施形態により詳細に説明するが、以下の各実施形態は本発明を具体化した一例であって本発明の技術的範囲を制限するものではない。 Hereinafter, the laundry machine of the present invention will be described in detail with reference to the illustrated embodiments. However, each of the following embodiments is an example embodying the present invention and does not limit the technical scope of the present invention.
図1に、本発明の一実施形態のランドリー機器の概略斜視図を示す。 FIG. 1 is a schematic perspective view of a laundry machine according to an embodiment of the present invention.
上記ランドリー機器は外箱1を備えている。この外箱1の前面の中央部には、洗濯物を出し入れするためのドア15が設けられている。また、上記外箱1の前面の上部には操作部17が設けられている。
The laundry machine includes an
上記操作部17の裏側には制御部18(図2,図3参照)が取り付けられている。この制御部18は操作部17からの入力に基づいて洗い工程、すすぎ工程、脱水工程、乾燥工程を連続または複数工程または単独工程にて実行する。
A control unit 18 (see FIGS. 2 and 3) is attached to the back side of the
図2に、上記ランドリー機器の概略縦断面図を示す。 FIG. 2 is a schematic longitudinal sectional view of the laundry machine.
また、上記ランドリー機器は、外箱1内に配置された水槽2と、この水槽2内において回転可能に水平軸3aで支持されたドラム3とを備えている。
The laundry machine includes a
上記水槽2は運転中の振動を吸収するために外箱1にバネ(図示せず)で吊り下げられており、洗い水やすすぎ水を貯え、かつ、洗い水やすすぎ水を排出できるようになっている。なお、上記洗い水とは洗い工程で使用する水のことであって、洗濯物から汚れを落とすための水である。
The
上記水槽2の外側には、循環用ダクト7が配設されている。この循環用ダクト7内には、水冷式熱交換器30と、この水冷式熱交換器30に冷却水を供給するための冷却用給水弁31と、水冷式熱交換器30を経由した空気を加熱する乾燥用ヒータ5と、乾燥工程時に温風を循環させるための送風機6とが設置されている。
A circulation duct 7 is disposed outside the
上記洗い水やすすぎ水は供給口8から水槽2内に供給される。つまり、上記供給口8は水槽2内へ向けて洗い水やすすぎ水を噴射する。
The washing water and the rinsing water are supplied from the
上記水槽2の下方には、水槽2内の洗い水やすすぎ水を外箱1外に排出するための排水用ポンプ10と、水槽2内の洗い水およびすすぎ水を回収して図示しない管を介して再び供給口8に戻す循環用ポンプ9とが設置されている。この循環用ポンプ9と水槽2との間の配管経路には、外箱1の前面下部から着脱可能な糸屑フィルタ11が設けられている。
Below the
上記水槽2の上方には、水道水、または、ふろ水ポンプ32(図3参照)からのふろ水を水槽2内に給水するための給水弁12が設置されている。
Above the
上記水槽2の後方には、水槽2内の水位を検知するための水位センサ14が設置されている。
A
上記水槽2とドア15との間には密閉用のパッキン16が介装されている。これにより、上記水槽2内の洗い水やすすぎ水が水槽2外に出るのを防げる。
A sealing packing 16 is interposed between the
上記ドラム3はその周壁全体に洗濯時の給水、脱水時の排水、および乾燥時の温風を通過させるための多数の小孔4を有している。また、上記ドラム3はドラム駆動用モータ13によって水平軸3aと共に回転駆動される。
The
図3に、上記制御部18およびそれによって駆動される装置のブロック図を示す。
FIG. 3 shows a block diagram of the
上記制御部18はマイクロコンピュータ19を有しており、このマイクロコンピュータ19は、制御プログラムが書き込まれた制御プログラム領域101と、運転条件等のバックアップデータを保持するバックアップデータ領域102とを有している。上記制御部18は上記制御プログラムに従って各種の制御を行う。
The
上記マイクロコンピュータ19は、フラッシュメモリ20の他に、CPU(中央処理装置)51、RAM(ランダム・アクセス・メモリ)28およびタイマー52を含んでいる。また、上記マイクロコンピュータ19は、リセット回路26および電源回路53に接続されている。このリセット回路26により、マイクロコンピュータ19を初期化することができる。また、上記カウント部27は運転時間等をカウントするものであり、RAM28はカウント部27でカウントした時間等を一時的に保持する。
The
上記CPU51は制御部54と演算部55とから構成されており、制御部54はROM54に記憶されている命令を取り出して実行する。また、上記演算部55は、命令の実行段階で制御部54から与えられる制御信号に基づいて各種入力機器やRAM53から入力されるデータに対し、二進加算、論理演算、増減、比較等の演算を行う。そのため、上記ROM54には、各種機器を動作させるための手段、各種判断のために設定される条件、各種情報を処理するためのルール等が予め記憶されている。
The CPU 51 includes a
また、上記マイクロコンピュータ19には、入力キー回路21および状態検知回路22からの信号が入力される。
Further, the
上記状態検知回路22は、水位センサ14等の複数のセンサと、これらのセンサからの信号をデジタル信号に変換する回路とを含んでいる。
The state detection circuit 22 includes a plurality of sensors such as the
また、上記マイクロコンピュータ19が出力した信号は、液晶等からなる表示装置23、ブザー24および負荷駆動回路25に入力される。このブザー24は洗濯終了時や異常があった場合に鳴る。
The signal output from the
上記負荷駆動回路25は乾燥用ヒータ5、送風機6、排水用ポンプ10、循環用ポンプ9、給水弁12、ドラム駆動用モータ13、冷却用給水弁31およびふろ水ポンプ32等を駆動する。
The
図4に、上記操作部17の入力キーレイアウトを示す。
FIG. 4 shows an input key layout of the
上記操作部17は、洗い工程の運転内容を設定するための洗いマニュアルキー33、すすぎ工程の運転内容を設定するためのすすぎマニュアルキー34、脱水工程の運転内容を選択するための脱水マニュアルキー35、乾燥工程の運転内容を選択するための乾燥マニュアルキー36、コースを選択するためのコースキー37、電源キー38、ランドリー機器の動作をスタート・一時停止させるためのスタートキー39、洗濯時間を設定するための予約キー40、ふろ水の使用を選択するふろ水キー41を含んでいる。
The
上記コースキー37を操作することにより、通常の洗濯を行う標準コースと、毛布を洗濯する毛布コースと、洗濯物の汚れが軽い場合に簡単に洗濯するスピードコースと、ユーザーが任意で設定変更可能なわが家流コースとの4つのコースから所望のコースを選択することができる。上記わが家流コースの設定内容はバックアップデータ領域102(図3参照)にバックアップされる。
By operating the
図5に、上記マイクロコンピュータ19のメモリ配置図を示す。
FIG. 5 shows a memory layout of the
上記マイクロコンピュータ19のメモリは、SFR(周辺機能の制御レジスタ)、RAM28およびフラッシュメモリ20で構成されている。このフラッシュメモリ20に、機器の制御プログラム領域101と、ユーザーの運転設定内容等のバックアップデータ領域102を配置している。
The memory of the
上記構成のランドリー機器によれば、フラッシュメモリ20が制御プログラム領域101およびバックアップデータ領域102を有するので、フラッシュメモリ20の領域を有効に使用することができる。
According to the laundry machine configured as described above, since the
また、上記フラッシュメモリ20はマイクロコンピュータ19に内蔵されているので、バックアップデータの記憶のために外付けメモリを使用する必要がなく、また、外付けメモリとのデータ通信の必要もないため、バックアップデータの信頼性を向上することができ、かつ、安価な回路構成を実現することができる。
Further, since the
上記実施の形態では、制御プログラム領域101とバックアップデータ領域102とを、同一ブロック内に配置していたが、図6に示すように、イレーズブロックとして別々のブロックに配置してもよい。
In the above embodiment, the
上記バックアップデータ領域102は、図7に示すように、それぞれが複数のデータで構成された複数のレコードに分割してもよい。例えば、上記バックアップデータ領域102が全部で256バイトあって、1回のバックアップあたりに32バイトのデータが必要である場合、これを8つのレコードに分割すると、1レコードあたり32バイトとなりこれを実現することができる。
As shown in FIG. 7, the
このように分割した状態で、最初にバックアップデータを書き込むときは、レコード0の領域にバックアップデータを書き込み、次にバックアップデータを書き込むときは、レコード1の領域に、運転条件等のバックアップデータを書き込む。
When the backup data is written for the first time in such a divided state, the backup data is written in the area of
すなわち、上記バックアップデータの書き込み時にはレコードを変更して使用する。 That is, the record is changed and used when the backup data is written.
また、上記バックアップデータの書き込み時には、バックアップデータ領域102のレコードを読み出して、同一レコード内の全てのデータが「FF(イレーズ完了後のデータ)」である場合、そのレコードを空きレコードとして判定する。この空きレコードと判定したレコードに、バックアップデータを書き込む。
Further, when writing the backup data, a record in the
より詳しくは、図8に示すように、まず、ステップS8−1で、書き込みアドレスの初期設定を行う。初期設定ではバックアップデータ領域102の先頭レコードのアドレスを設定する。
More specifically, as shown in FIG. 8, first, in step S8-1, initial setting of the write address is performed. In the initial setting, the address of the first record in the
次に、ステップS8−2で、データブロックの全レコードの全検索が完了したか否かを判定する。つまり、ステップS8−2で、データブロックの全レコードにおいて、同一レコード内の全てのデータが「FF」であるか否かを判定する。 Next, in step S8-2, it is determined whether or not all searches for all records in the data block have been completed. That is, in step S8-2, it is determined whether or not all data in the same record is “FF” in all records of the data block.
このステップS8−2で、データブロックの全レコードにおいて、同一レコード内の全てのデータが「FF」でないと判定すると、つまり、空きレコードなしと判定すると、ステップS8−6,S8−7を順次行った後、ステップS8−5に進む。このステップS8−5では、バックアップデータの書き込み処理を行う。 If it is determined in step S8-2 that all data in the same record are not “FF” in all records of the data block, that is, if it is determined that there is no empty record, steps S8-6 and S8-7 are sequentially performed. Then, the process proceeds to step S8-5. In step S8-5, backup data writing processing is performed.
上記ステップS8−6では、データブロック内の全レコードに対してイレーズ処理を行う。 In step S8-6, the erase process is performed on all records in the data block.
上記ステップS8−7では書き込みアドレスを先頭レコードに設定する。 In step S8-7, the write address is set in the first record.
なお、上記ステップS8−2において空きレコードなしと判定した場合、ステップS8−6,S8−7,S8−5を行わずに、バックアップデータの書き込み処理を終了してもよい。 If it is determined in step S8-2 that there is no empty record, the backup data writing process may be terminated without performing steps S8-6, S8-7, and S8-5.
また、上記ステップS8−6,S8−7,S8−5を行わずに、バックアップデータの書き込み処理を終了する場合、空きレコードがないことを表示装置23に表示して、データブロック内の全レコードに対してイレーズ処理を行うか否かをユーザに選択させるようにしてもよい。
Further, when the backup data writing process is terminated without performing steps S8-6, S8-7, and S8-5, it is displayed on the
一方、上記ステップS8−2で、データブロックの全レコードにおいて、全てのデータが「FF」であるレコードが少なくとも1つあると判定すると、つまり、空きレコードありと判定すると、ステップS8−3に進む。 On the other hand, if it is determined in step S8-2 that there is at least one record in which all data is “FF” in all records of the data block, that is, if it is determined that there is an empty record, the process proceeds to step S8-3. .
このステップS8−3では、書き込みアドレスのレコード内の全てのデータが「FF」であるか否かを判定する。 In step S8-3, it is determined whether or not all data in the record of the write address is “FF”.
上記ステップS8−3で、書き込みアドレスのレコード内の全てのデータが「FF」であると判定すると、つまり、書き込みアドレスのレコードが空きレコードであると判定すると、ステップS8−5に進む。 If it is determined in step S8-3 that all data in the record at the write address is “FF”, that is, if it is determined that the record at the write address is an empty record, the process proceeds to step S8-5.
一方、上記ステップS8−3で、書き込みアドレスのレコード内の全てのデータが「FF」でないと判定すると、つまり、書き込みアドレスのレコードが空きレコードでないと判定すると、ステップS8−4に進んで、書き込みアドレスを更新した後、ステップS8−2に戻る。 On the other hand, if it is determined in step S8-3 that all the data in the record at the write address is not “FF”, that is, if it is determined that the record at the write address is not an empty record, the process proceeds to step S8-4. After updating the address, the process returns to step S8-2.
図9を用いて、ステップS8−3,S8−4,S8−5の処理を説明すると、まず、レコード0は全てのデータが「FF」でないため、書き込みアドレスを更新する。
The processing in steps S8-3, S8-4, and S8-5 will be described with reference to FIG. 9. First, since all data in the
次に、レコード1においても全てのデータが「FF」でないため、書き込みアドレスを更新する。
Next, since all data in the
次に、レコード2は同一レコード内の全てのデータが「FF」であるため、レコード2は空きレコードと判定し、レコード2にバックアップデータを書き込む。
Next, since all data in the same record is “FF”, the
上記バックアップデータの読み出し時には、バックアップデータ領域102のレコードを読み出して、同一レコード内の全てのデータが「FF」である場合を空きレコードとして判定し、その1つ前のレコードを最新のデータが格納されているレコードとして読み出す。
When reading the backup data, the record in the
より詳しくは、図10に示すように、まず、ステップS10−1で読み出しアドレスの初期設定を行う。初期設定ではバックアップデータ領域の先頭レコードのアドレスを設定する。 More specifically, as shown in FIG. 10, first, the read address is initially set in step S10-1. In the initial setting, the address of the first record in the backup data area is set.
次に、ステップS10−2で、データブロックの全レコードの全検索が完了したか否かを判定する。つまり、ステップS10−2で、データブロックの全レコードにおいて、同一レコード内の全てのデータが「FF(イレーズ完了後のデータ)」であるか否かを判定する。 Next, in step S10-2, it is determined whether or not all searches for all records in the data block have been completed. That is, in step S10-2, it is determined whether or not all the data in the same record is “FF (data after completion of erasure)” in all the records of the data block.
このステップS10−2で、データブロックの全レコードにおいて、同一レコード内の全てのデータが「FF」でないと判定すると、つまり、空きレコードなしと判定すると、ステップS10−9の処理を行った後、ステップS10−6に進む。このステップS10−9では、最終レコードが最新のデータが格納されているレコードとみなし、読み出しアドレスを最終レコードのアドレスに設定している。 If it is determined in step S10-2 that all the data in the same record are not “FF” in all records of the data block, that is, if it is determined that there is no empty record, the process of step S10-9 is performed. Proceed to step S10-6. In step S10-9, the last record is regarded as a record in which the latest data is stored, and the read address is set to the address of the last record.
一方、ステップS10−2で、データブロックの全レコードにおいて、全てのデータが「FF」であるレコードが少なくとも1つあると判定すると、つまり、空きレコードありと判定すると、ステップS10−3に進む。 On the other hand, if it is determined in step S10-2 that there is at least one record in which all data is “FF” in all records of the data block, that is, if it is determined that there is an empty record, the process proceeds to step S10-3.
このステップS10−3で、読み出しアドレスのレコード内の全てのデータが「FF」であるかを判定する。 In step S10-3, it is determined whether all data in the read address record is “FF”.
上記ステップS10−3で、読み出しアドレスのレコード内の全てのデータが「FF」であると判定すると、つまり、読み出しアドレスのレコードが空きレコードであると判定すると、ステップS10−5の処理を行った後、ステップS10−6に進む。このステップS10−5では、1レコード前のレコードを最新のデータが格納されているレコードとみなし、読み出しアドレスをデクリメントする。 If it is determined in step S10-3 that all data in the read address record is “FF”, that is, if it is determined that the read address record is an empty record, the process of step S10-5 is performed. Then, it progresses to step S10-6. In step S10-5, the record one record before is regarded as the record in which the latest data is stored, and the read address is decremented.
一方、上記ステップS10−3で、読み出しアドレスのレコード内の全てのデータが「FF」でないと判定すると、つまり、読み出しアドレスのレコードが空きレコードでないと判定すると、ステップS10−4に進んで、書き込みアドレスを更新した後、ステップS10−2に戻る。 On the other hand, if it is determined in step S10-3 that all the data in the read address record is not “FF”, that is, if it is determined that the read address record is not an empty record, the process proceeds to step S10-4. After updating the address, the process returns to step S10-2.
上記ステップS10−6に進むと、読み出しアドレスのレコードに書き込まれたバックアップデータを読み出す。 In step S10-6, the backup data written in the record at the read address is read.
上記ステップS10−6で読み出し処理を行った後は、ステップS10−7でバックアップデータ領域102の全てが使用されているか否かを判定する。
After performing the reading process in step S10-6, it is determined in step S10-7 whether or not the entire
このステップS10−7で、バックアップデータ領域102の全てが使用されていないと判定すると終了する。
If it is determined in step S10-7 that the entire
一方、上記ステップS10−7で、バックアップデータ領域102の全てが使用されていると判定すると、ステップS10−8の処理を行って終了する。このステップS10−8ではイレーズ処理を行う。このイレーズ処理が完了すると、バックアップデータ領域102のデータは全て「FF」となり、再度書き込み可能な状態となる。
On the other hand, if it is determined in step S10-7 that the entire
図9を用いて、ステップS10−3,S10−4,S10−5,S10−6の処理を説明すると、レコード0は全てのデータが「FF」でないため、書き込みアドレスを更新する。
The processing in steps S10-3, S10-4, S10-5, and S10-6 will be described with reference to FIG. 9. Since all data in the
次に、レコード1も全てのデータが「FF」でないため、書き込みアドレスを更新する。
Next, since all data of the
次に、レコード2は全てのデータが「FF」であるため、アドレスをデクリメントし、1レコード前のレコード1が最新のデータが格納されているレコードとみなし、レコード1のバックアップデータを読み出す。
Next, since all data in the
上記バックアップデータ領域102は図11に示すレコード0を有してもよい。例えば、1レコードあたり32バイトである場合に、レコード0はアドレス「00」から「1E」までを実データ領域とし、アドレス「1F」をチェックサム領域とする。アドレス「00」から「1E」までの実データの内容に応じて、チェックサムを設定する。例えば、チェックサムの設定方法はアドレス「00」から「1E」までの全データの排他的論理和とする。このようにレコードデータの信頼性を高めるために、レコード毎にチェックサムを設けてもよい。
The
上記バックアップデータ領域102は、図12に示すように、2つのブロックを有してもよい。より詳しくは、上記バックアップデータ領域102が、イレーズブロックとして、ブロックAとブロックBとの2つのブロックに分かれて配置されている。
The
このように、上記バックアップデータ領域102がブロックAとブロックBとを有することによって、ブロックAだけをイレーズしたい場合や、ブロックBだけをイレーズしたい場合にも、処理が可能となる。また、上記ブロックAとブロックBとの両方をイレーズすることも可能である。
As described above, since the
例えば、ブロックAには、ユーザーの設定内容のように、頻繁に変更を行うバックアップデータを配置し、ブロックBには、ユーザーが変更することのないバックアップデータを配置しておけば、通常のユーザーの使用時にはブロックAだけをイレーズすることで、ブロックBのバックアップデータの信頼性を高めることができる。 For example, if backup data that is frequently changed is placed in the block A and the backup data that is not changed by the user is placed in the block B, a normal user can be obtained. By erasing only the block A at the time of use, the reliability of the backup data of the block B can be improved.
上記バックアップデータ領域102がブロックAとブロックBとを有する場合、図13Aに示すように、ステップS13−1の読み出し処理を行った後に、読み出しアドレスのチェックを行ってもよい。
When the
つまり、上記ステップS13−1の読み出し処理を行った後に、ステップS13−2で、読み出し処理が行われたレコードがブロックAの最終レコードであるか否かを判定してもよい。 That is, after performing the reading process of step S13-1, it may be determined whether or not the record on which the reading process has been performed is the last record of block A in step S13-2.
このステップS13−2で、読み出し処理が行われたレコードがブロックAの最終レコードであると判定すると、ステップS13−4に進んで、ブロックBのイレーズ処理を行った後、読み出しアドレスのチェックを終了する。 If it is determined in step S13-2 that the record subjected to the read process is the final record of block A, the process proceeds to step S13-4, and after the erase process of block B is performed, the check of the read address is completed. To do.
一方、上記ステップS13−2で、読み出し処理が行われたレコードがブロックAの最終レコードでないと判定すると、次のステップS13−3に進む。 On the other hand, if it is determined in step S13-2 that the record that has been read is not the last record in block A, the process proceeds to the next step S13-3.
上記ステップS13−3に進んだ場合、読み出し処理が行われたレコードがブロックBの最終レコードであるか否かを判定する。 When the process proceeds to step S13-3, it is determined whether the record on which the reading process has been performed is the last record of the block B.
このステップS13−3で、読み出し処理が行われたレコードがブロックBの最終レコードであると判定すると、ステップS13−5に進んで、ブロックAのイレーズ処理を行った後、読み出しアドレスのチェックを終了する。 If it is determined in step S13-3 that the record subjected to the read process is the final record of block B, the process proceeds to step S13-5, the erase process of block A is performed, and the check of the read address is completed. To do.
一方、上記ステップS13−3で、読み出し処理が行われたレコードがブロックBの最終レコードでないと判定すると、読み出しアドレスのチェックを終了する。 On the other hand, if it is determined in step S13-3 that the record subjected to the read process is not the last record in block B, the check of the read address is terminated.
このように、上記ブロックAとブロックBとの一方において、レコードが全て使用されれば、ブロックAとブロックBとの他方をイレーズする。 In this way, if all the records are used in one of the block A and the block B, the other of the block A and the block B is erased.
また、上記ブロックAおよびブロックBは、図13Bに示すようメモリ配置としてもよい。 Further, the block A and the block B may have a memory arrangement as shown in FIG. 13B.
また、図14に示すように、ステップS14−1でバックアップデータの書き込み処理を行った後、書き込みエラーを検出してもよい。 Further, as shown in FIG. 14, a write error may be detected after the backup data write processing is performed in step S14-1.
つまり、上記ステップS14−1でバックアップデータの書き込み処理を行った後、ステップS14−2で、フラッシュメモリ20の一部故障等による書き込みエラーが発生したか否かを判定する。
That is, after the backup data write process is performed in step S14-1, it is determined in step S14-2 whether a write error due to a partial failure or the like of the
このステップS14−2で、フラッシュメモリ20の一部故障等による書き込みエラーが発生したと判定すると、ステップS14−3の処理を行った後、ステップS14−1に戻る。このステップS14−3では書き込みアドレスをインクリメントする。これにより、書き込みを行ったレコードの次のレコードに再度書き込みを行うことができる。
If it is determined in step S14-2 that a write error due to a partial failure or the like of the
一方、上記ステップS14−2で、フラッシュメモリ20の一部故障等による書き込みエラーが発生していないと判定すると、書き込みエラーの検出を終了する。
On the other hand, if it is determined in step S14-2 that a write error due to a partial failure or the like of the
また、図15に示すように、ステップS15−1でバックアップデータの書き込み処理を行った後、書き込みタイムアウトをカウントしてもよい。 Further, as shown in FIG. 15, the write timeout may be counted after the backup data writing process is performed in step S15-1.
つまり、上記ステップS15−1でバックアップデータの書き込み処理を行った後、ステップS15−2で、フラッシュメモリ20の一部故障等による書き込みタイムアウトが発生したか否かを判定する。
That is, after the backup data write process is performed in step S15-1, it is determined in step S15-2 whether a write timeout has occurred due to a partial failure of the
このステップS15−2で、フラッシュメモリ20の一部故障等による書き込みタイムアウトが発生したと判定すると、ステップS15−3の処理を行った後、ステップS15−1に戻る。このステップS15−3では書き込みアドレスをインクリメントする。これにより、書き込みを行ったレコードの次のレコードに再度書き込みを行うことができる。
If it is determined in step S15-2 that a write timeout has occurred due to a partial failure or the like of the
一方、上記ステップS15−2で、フラッシュメモリ20の一部故障等による書き込みタイムアウトが発生していないと判定すると、書き込みタイムアウトの検出を終了する。
On the other hand, if it is determined in step S15-2 that a write timeout has not occurred due to a partial failure of the
また、図16に示すように、ステップS16−1でバックアップデータのイレーズ処理を行った後、イレーズエラーを検出してもよい。 In addition, as shown in FIG. 16, an erase error may be detected after the backup data is erased in step S16-1.
つまり、上記ステップS16−1でバックアップデータのイレーズ処理を行った後、ステップS16−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生したか否かを判定する。
That is, after erasing the backup data in step S16-1, it is determined in step S16-2 whether an erase error due to a failure of the
このステップS16−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生したと判定すると、ステップS16―1に戻る。これにより、上記イレーズ処理に失敗したブロックに対して再度イレーズ処理を行うことができる。
If it is determined in step S16-2 that an erase error has occurred due to a failure or the like of the
一方、上記ステップS16−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生していないと判定すると、イレーズエラーの検出を終了する。
On the other hand, if it is determined in step S16-2 that an erase error has not occurred due to a failure or the like of the
また、図17に示すように、ステップS17−1でバックアップデータのイレーズ処理を行った後、イレーズエラーを検出してもよい。 Further, as shown in FIG. 17, an erase error may be detected after the backup data is erased in step S17-1.
つまり、上記ステップS17−1でバックアップデータのイレーズ処理を行った後、ステップS17−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生したか否かを判定する。
That is, after erasing the backup data in step S17-1, it is determined in step S17-2 whether an erase error due to a failure of the
このステップS17−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生したと判定すると、ステップS17―3に進む。
If it is determined in step S17-2 that an erase error has occurred due to failure of the
一方、上記ステップS17−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生していないと判定すると、イレーズエラーの検出を終了する。
On the other hand, if it is determined in step S17-2 that no erase error has occurred due to a failure or the like of the
上記ステップS17―3に進んだ場合、イレーズエラーの回数が所定のN回目であるか否かを判定する。 When the process proceeds to step S17-3, it is determined whether or not the number of erase errors is a predetermined Nth.
このステップS17―3で、イレーズエラーの回数が所定のN回目ではないと判定すると、ステップS17−1に戻る。これにより、上記イレーズ処理に失敗したブロックに対して再度イレーズ処理を行うことができる。 If it is determined in step S17-3 that the number of erase errors is not the predetermined Nth, the process returns to step S17-1. As a result, the erase process can be performed again on the block for which the erase process has failed.
一方、上記ステップS17―3で、イレーズエラーの回数が所定のN回目であると判定すると、ステップS17−4に進んで、バックアップデータに、予め決められた初期値を採用した後、イレーズエラーの検出を終了する。 On the other hand, if it is determined in step S17-3 that the number of erase errors is the predetermined Nth, the process proceeds to step S17-4, where a predetermined initial value is adopted for the backup data, and then an erase error is detected. End detection.
上記ステップS17−4の処理では、例えば、バックアップデータの中に、ユーザーの好みに応じた設定内容をメモリする「わが家流コース」のデータが含まれている場合は、洗い時間「15分」、すすぎ回数「2回」、脱水時間「9分」といった予め決められた初期値を採用する。 In the process of step S17-4, for example, when the data of “my family course” that stores the setting contents according to the user's preference is included in the backup data, the washing time “15 minutes”, Predetermined initial values such as the number of times of rinsing “2 times” and the dehydration time “9 minutes” are adopted.
また、図18に示すように、ステップS18−1でバックアップデータのイレーズ処理を行った後、イレーズエラーを検出してもよい。 In addition, as shown in FIG. 18, an erase error may be detected after the backup data is erased in step S18-1.
つまり、上記ステップS18−1でバックアップデータのイレーズ処理を行った後、ステップS18−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生したか否かを判定する。
That is, after erasing the backup data in step S18-1, it is determined in step S18-2 whether an erase error due to a failure of the
このステップS18−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生したと判定すると、ステップS18―3に進む。
If it is determined in step S18-2 that an erase error has occurred due to failure of the
一方、上記ステップS18−2で、フラッシュメモリ20の故障等によるイレーズエラーが発生していないと判定すると、イレーズエラーの検出を終了する。
On the other hand, if it is determined in step S18-2 that no erase error has occurred due to a failure or the like of the
上記ステップS18―3に進んだ場合、イレーズエラーの回数が所定のN回目であるか否かを判定する。 When the process proceeds to step S18-3, it is determined whether or not the number of erase errors is a predetermined Nth.
このステップS18―3で、イレーズエラーの回数が所定のN回目ではないと判定すると、ステップS18−1に戻る。これにより、上記イレーズ処理に失敗したブロックに対して再度イレーズ処理を行うことができる。 If it is determined in step S18-3 that the number of erase errors is not the predetermined Nth, the process returns to step S18-1. As a result, the erase process can be performed again on the block for which the erase process has failed.
一方、上記ステップS18―3で、イレーズエラーの回数が所定のN回目であると判定すると、ステップS18−4に進んで、表示装置23にエラーを表示し、ユーザーにバックアップデータのイレーズエラーが発生したことを知らせた後、イレーズエラーの検出を終了する。
On the other hand, if it is determined in step S18-3 that the number of erase errors is the predetermined Nth, the process proceeds to step S18-4, where an error is displayed on the
また、上記マイクロコンピュータ19は、ランドリー機器の電源オンをしてから電源オフするまでに図19に示すような処理を行ってもよい。
Further, the
つまり、まず、ステップS19−1でランドリー機器の電源がオンすると、ステップS19−2でマイクロコンピュータ19の初期設定を行う。この初期設定では、全出力オフ、I/O(入出力)設定、RAMクリア等を行う。
That is, first, when the power of the laundry machine is turned on in step S19-1, the
次に、ステップS19−3でバックアップデータの読み出し処理を行い、読み出し処理が完了すると、ステップS19−4で、レコードが全て使用されている等でイレーズ処理が必要となっているか否かを判定する。 Next, a backup data read process is performed in step S19-3. When the read process is completed, it is determined in step S19-4 whether an erase process is necessary because all records are used. .
このステップS19−4で、イレーズ処理が必要となっていると判定すると、ステップS19−5に進んで、バックアップデータ領域102に対してイレーズ処理を行う一方、イレーズ処理が必要となっていないと判定すると、ステップS19−6に進む。
If it is determined in step S19-4 that the erase process is necessary, the process proceeds to step S19-5, where the erase process is performed on the
次に、ステップS19−6で、ランドリー機器の運転がスタートすると、ステップS19−7で洗い、すすぎ、脱水、乾燥等の洗濯・乾燥運転を行い、運転終了後、ステップS19−8でバックアップデータの書き込み処理を行う。書き込み処理が完了すると、ステップS19−9で電源をオフする。 Next, when the operation of the laundry machine starts in step S19-6, washing and drying operations such as washing, rinsing, dehydration, and drying are performed in step S19-7. After the operation is completed, the backup data is stored in step S19-8. Write processing. When the writing process is completed, the power is turned off in step S19-9.
上記ステップS19−5でイレーズ処理を行っている間に、例えば電源オフキーを受け付けたとしても、イレーズ処理が完了してから電源オフ処理を行うようにしてもよい。 While the erase process is being performed in step S19-5, for example, even if a power off key is received, the power off process may be performed after the erase process is completed.
上記実施の形態は全ての点で例示であって制限的なものではないと考慮されるべきである。本発明の範囲は、上記実施の形態ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内での全ての修正や変形を含むものである。 The above embodiment should be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above-described embodiment but by the scope of claims, and includes all modifications and variations within the scope and meaning equivalent to the scope of claims.
例えば、本発明は、いわゆる斜めドラム洗濯機や縦型洗濯機等の洗濯機で用いることができる。 For example, the present invention can be used in a washing machine such as a so-called oblique drum washing machine or a vertical washing machine.
1 外箱
2 水槽
3 ドラム
4 小孔
5 乾燥用ヒータ
6 送風機
7 循環用ダクト
8 供給口
9 循環用ポンプ
10 排水用ポンプ
11 糸屑フィルタ
12 給水弁
13 ドラム駆動用モータ
14 水位センサ
15 ドア
16 密閉用のパッキン
17 操作部
18 制御部
19 マイクロコンピュータ
20 フラッシュメモリ
21 入力キー回路
22 状態検知回路
23 表示装置
24 ブザー
25 負荷駆動回路
26 リセット回路
27 カウント部
28 RAM
30 水冷式熱交換器
31 冷却用給水弁
32 ふろ水ポンプ
33 洗いマニュアルキー
34 すすぎマニュアルキー
35 脱水マニュアルキー
36 乾燥マニュアルキー
37 コースキー
38 電源キー
39 スタートキー
40 予約キー
41 ふろ水キー
DESCRIPTION OF
30 Water-cooled
Claims (13)
上記フラッシュメモリは、
制御プログラムが書き込まれた制御プログラム領域と、
バックアップデータが書き込まれるバックアップデータ領域と
を有することを特徴とするランドリー機器。 It has a microcomputer with built-in flash memory,
The above flash memory
A control program area in which the control program is written, and
A laundry device having a backup data area in which backup data is written.
上記制御プログラム領域と上記バックアップデータ領域とは互いに別々のブロックからなることを特徴とするランドリー機器。 In the laundry machine according to claim 1,
The laundry machine, wherein the control program area and the backup data area are composed of separate blocks.
上記バックアップデータ領域は、それぞれが複数のデータで構成された複数のレコードを有し、
上記マイクロコンピュータは、上記レコードに上記バックアップデータを書き込むと共に、上記バックアップデータを書き込む上記レコードを変更することを特徴とするランドリー機器。 In the laundry machine according to claim 1,
The backup data area has a plurality of records each composed of a plurality of data,
The laundry machine, wherein the microcomputer writes the backup data to the record and changes the record to which the backup data is written.
上記マイクロコンピュータは、
上記複数のレコードを所定順に読み出す処理と、
上記複数のデータの全てがイレーズ完了後のデータである上記レコードを空きレコードと判定する処理と、
上記空きレコードと判定した上記レコードに上記バックアップデータを書き込む処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 3,
The microcomputer is
A process of reading the plurality of records in a predetermined order;
A process for determining that the record in which all of the plurality of data is data after completion of erasure as an empty record;
A laundry machine that performs a process of writing the backup data in the record determined to be the empty record.
上記マイクロコンピュータは、
上記複数のレコードを所定順に読み出す処理と、
上記複数のデータの全てがイレーズ完了後のデータである上記レコードを空きレコードと判定する処理と、
上記空きレコードと判定した上記レコードの直前に読み出したレコードを最新レコードと判定する処理と、
上記最新レコードと判定した上記レコードに格納されている上記バックアップデータを読み出す処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 3,
The microcomputer is
A process of reading the plurality of records in a predetermined order;
A process for determining that the record in which all of the plurality of data is data after completion of erasure as an empty record;
A process of determining a record read immediately before the record determined as the empty record as the latest record;
A laundry machine that performs a process of reading the backup data stored in the record determined to be the latest record.
上記マイクロコンピュータは、
上記バックアップデータ領域の全部が使用されたか否かを判定する処理と、
上記バックアップデータ領域の全部が使用されていると判定した場合、上記バックアップデータ領域をイレーズする処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 2,
The microcomputer is
A process for determining whether or not the entire backup data area has been used;
A laundry machine characterized by performing a process of erasing the backup data area when it is determined that the entire backup data area is used.
上記バックアップデータ領域は少なくとも2つのブロックからなっていて、
上記マイクロコンピュータは、
上記バックアップデータ領域の全部が使用されたか否かを判定する処理と、
上記バックアップデータ領域の全部が使用されていると判定した場合、最新の上記バックアップデータが格納されているブロック以外のブロックをイレーズする処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 2,
The backup data area consists of at least two blocks,
The microcomputer is
A process for determining whether or not the entire backup data area has been used;
When it is determined that all of the backup data area is used, the laundry device performs a process of erasing blocks other than the block storing the latest backup data.
上記マイクロコンピュータは、
上記レコードへの上記バックアップデータの書き込み時に、上記バックアップデータの書き込みエラーが発生したか否かを判定する処理と、
上記バックアップデータの書き込みエラーが発生したと判定した場合、上記バックアップデータを書き込んでいたレコード以外のレコードに、上記バックアップデータを再度書き込む処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 3,
The microcomputer is
A process of determining whether or not a write error of the backup data has occurred when writing the backup data to the record;
When it is determined that a backup data write error has occurred, a laundry device is characterized in that the backup data is rewritten in a record other than the record in which the backup data was written.
上記マイクロコンピュータは、
上記バックアップデータの書き込みが開始してから経過した時間が所定時間を越えたか否かを判定する処理と、
上記時間が所定時間を越えたと判定した場合、上記バックアップデータを書き込んでいたレコード以外のレコードに、上記バックアップデータを再度書き込む処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 3,
The microcomputer is
A process for determining whether or not the time elapsed since the start of writing the backup data has exceeded a predetermined time;
When it is determined that the time exceeds a predetermined time, the laundry device performs a process of rewriting the backup data in a record other than the record in which the backup data has been written.
上記マイクロコンピュータは、
上記バックアップデータ領域のイレーズ時に、上記バックアップデータ領域のイレーズエラーが発生したか否かを判定する処理と、
上記イレーズエラーが発生したと判定した場合、上記バックアップデータ領域を再度イレーズする処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 6,
The microcomputer is
A process for determining whether an erase error has occurred in the backup data area when erasing the backup data area; and
When it is determined that the erase error has occurred, the laundry device performs a process of erasing the backup data area again.
上記マイクロコンピュータは、
上記バックアップデータ領域のイレーズ時に、上記バックアップデータ領域のイレーズエラーが発生したか否かを判定する処理と、
上記イレーズエラーが発生した回数が所定回数に達した時、上記バックアップデータ領域のイレーズを止めると共に、上記バックアップデータを予め決められた初期値とすることを特徴とするランドリー機器。 In the laundry machine according to claim 6,
The microcomputer is
A process for determining whether an erase error has occurred in the backup data area when erasing the backup data area; and
A laundry machine characterized in that, when the number of occurrences of the erase error reaches a predetermined number, the erase of the backup data area is stopped and the backup data is set to a predetermined initial value.
上記マイクロコンピュータは、
上記バックアップデータ領域のイレーズ時に、上記バックアップデータ領域のイレーズエラーが発生したか否かを判定する処理と、
上記イレーズエラーが発生した回数が所定回数に達した時、上記バックアップデータ領域のイレーズを止めると共に、上記回数が所定回数に達したことを示すエラー表示を行う処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 6,
The microcomputer is
A process for determining whether an erase error has occurred in the backup data area when erasing the backup data area; and
When the number of occurrences of the erasure error reaches a predetermined number of times, the erasing of the backup data area is stopped, and an error display indicating that the number of times has reached the predetermined number of times is performed. machine.
上記マイクロコンピュータは、
電源のオンに伴い、上記バックアップデータ領域をイレーズする処理と、
上記電源のオフに伴い、上記バックアップデータ領域に上記バックアップデータを書き込む処理と
を行うことを特徴とするランドリー機器。 In the laundry machine according to claim 2,
The microcomputer is
A process of erasing the backup data area when the power is turned on,
A laundry machine that performs a process of writing the backup data in the backup data area when the power is turned off.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006285965A JP4963210B2 (en) | 2006-10-20 | 2006-10-20 | Laundry equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006285965A JP4963210B2 (en) | 2006-10-20 | 2006-10-20 | Laundry equipment |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2008099942A true JP2008099942A (en) | 2008-05-01 |
JP2008099942A5 JP2008099942A5 (en) | 2009-05-14 |
JP4963210B2 JP4963210B2 (en) | 2012-06-27 |
Family
ID=39434733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006285965A Active JP4963210B2 (en) | 2006-10-20 | 2006-10-20 | Laundry equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4963210B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0515687A (en) * | 1991-07-16 | 1993-01-26 | Sanyo Electric Co Ltd | Washing machine |
JPH10174799A (en) * | 1996-12-18 | 1998-06-30 | Sharp Corp | Electric washing machine |
JP2003311075A (en) * | 2003-04-25 | 2003-11-05 | Sharp Corp | Electric washing machine |
JP2006122239A (en) * | 2004-10-27 | 2006-05-18 | Sharp Corp | Washing machine |
-
2006
- 2006-10-20 JP JP2006285965A patent/JP4963210B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0515687A (en) * | 1991-07-16 | 1993-01-26 | Sanyo Electric Co Ltd | Washing machine |
JPH10174799A (en) * | 1996-12-18 | 1998-06-30 | Sharp Corp | Electric washing machine |
JP2003311075A (en) * | 2003-04-25 | 2003-11-05 | Sharp Corp | Electric washing machine |
JP2006122239A (en) * | 2004-10-27 | 2006-05-18 | Sharp Corp | Washing machine |
Also Published As
Publication number | Publication date |
---|---|
JP4963210B2 (en) | 2012-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4047942B2 (en) | A washing machine that automatically determines the type of laundry material | |
ES2267685T3 (en) | WASHING MACHINE. | |
KR20060088661A (en) | Washing machine and method to sense suds thereof | |
US20210301445A1 (en) | Laundry machine and controlling method therefor | |
EP0028067A1 (en) | Washing machine having drain blockage indicator | |
JP4691059B2 (en) | Washing and drying machine | |
JP4963210B2 (en) | Laundry equipment | |
WO2022041612A1 (en) | Heating control method and apparatus, laundry treatment device, and storage medium | |
KR19980016228A (en) | Detecting the detergent input of washing machine | |
JP2015066328A (en) | Washing machine | |
GB2058148A (en) | Washing machine having drain blockage indicator | |
KR101387523B1 (en) | Laundry treating apparatus and Controlling method for the same | |
KR20040006281A (en) | Tub Cleaning Type Washing Machine and Tub Cleaning Method for the Same | |
JP2592555B2 (en) | Washing machine | |
JPH10179981A (en) | Washing machine | |
KR20080002467A (en) | Method for controlling drum washer | |
KR100437792B1 (en) | Method for Informing Clearing of Foreign Substance within Filter of The Washing Machine | |
JP3377545B2 (en) | Failure diagnosis device for commercial washing machines | |
KR102457781B1 (en) | Washing machine and operating method thereof | |
CN116971149A (en) | Self-cleaning control method for washing machine barrel and washing machine | |
KR100929232B1 (en) | Laundry treatment equipment | |
KR100701166B1 (en) | Controller for dehydrating of drum washing machine and method thereof | |
JP3761662B2 (en) | Drum washing machine | |
JP3066288B2 (en) | Water supply control device for washing machine | |
JP3739183B2 (en) | Fully automatic washing machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090327 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090327 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110314 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110322 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110513 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111206 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120125 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120321 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120322 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4963210 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150406 Year of fee payment: 3 |