JP4073104B2 - Control device - Google Patents
Control device Download PDFInfo
- Publication number
- JP4073104B2 JP4073104B2 JP05006899A JP5006899A JP4073104B2 JP 4073104 B2 JP4073104 B2 JP 4073104B2 JP 05006899 A JP05006899 A JP 05006899A JP 5006899 A JP5006899 A JP 5006899A JP 4073104 B2 JP4073104 B2 JP 4073104B2
- Authority
- JP
- Japan
- Prior art keywords
- microcomputer
- sub
- stored
- memory
- information
- 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
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、不揮発性の書換え可能なメモリを備え、そのメモリに記憶されている運転用制御情報に基づいて運転を制御するマイクロコンピュータが設けられている制御装置に関する。
【0002】
【従来の技術】
上記のような制御装置は、不揮発性の書換え可能なメモリとしてフラッシュメモリを使用して、そのフラッシュメモリに運転用制御プログラムが記憶され、マイクロコンピュータがフラッシュメモリに記憶されている運転用制御プログラムに基づいて運転を制御するものが知られている(例えば、特開平8−22739号公報)。
そして、このような制御装置は、マイクロコンピュータを装置に装着したまま、フラッシュメモリに記憶されている運転用制御プログラムを繰り返し書換えることができるので、製造後などのプログラムの変更の必要性にも容易に対応することができるものであった。
【0003】
【発明が解決しようとする課題】
しかしながら、従来のように、フラッシュメモリなどの不揮発性の書換え可能なメモリを用いるものでは、時間経過とともに記憶されている情報が消えていく、いわゆるビット欠けが生じるという問題がある。
そして、一般的には、メモリに情報を記憶させてから10年経過すると、ビット欠けが発生するとされているが、その装置の使用環境および使用条件により、ビット欠けが早い段階で生じることがあり、その場合に、マイクロコンピュータが暴走して安全性が損なわれる虞があった。
【0004】
本発明はかかる点に着目してなされたものであり、その目的は、時間経過とともにメモリに記憶されている情報が消えていく、いわゆるビット欠けの発生を検出して、マイクロコンピュータの暴走を防止して安全性を向上させることができる制御装置を提供する点にある。
【0005】
【課題を解決するための手段】
この目的を達成するために、請求項1に記載の発明によれば、不揮発性の書換え可能なメモリを備え、そのメモリに記憶されている運転用制御情報に基づいて装置の運転を制御するマイクロコンピュータが設けられている制御装置において、メモリが、そのメモリに記憶されている運転用制御情報が正常か異常かを判別する制御情報判別処理を実行するための判別処理情報を記憶し、マイクロコンピュータが、メモリに記憶されている判別処理情報に基づいて制御情報判別処理を実行するように構成されている。
つまり、時間経過とともに記憶されている情報が消えていく、いわゆるビット欠けが発生すると、マイクロコンピュータのメモリに記憶されている運転用制御情報が異常となるので、判別処理情報に基づく制御情報判別処理を実行することにより運転用制御情報の異常を検出することができ、ビット欠けを検出することができる。
したがって、装置の使用環境や使用条件によりビット欠けが早い段階で発生しても、そのビット欠けの発生を検出することができるので、ビット欠けに対する処置を行うことができ、マイクロコンピュータの暴走を防止して安全性を向上させることができる。
又、請求項1に記載の発明によれば、前記マイクロコンピュータとの間で通信可能で、不揮発性の書換え可能なサブメモリを備えて、そのサブメモリに記憶されている記憶情報が正常か異常かを判別する記憶情報判別処理を実行するサブマイクロコンピュータが設けられ、前記マイクロコンピュータが、前記サブマイクロコンピュータに異常状態が発生すると、その異常発生情報を前記メモリに記憶し、かつ、前記サブメモリに異常発生情報が記憶されていると、前記制御情報判別処理を実行するように構成され、前記サブマイクロコンピュータが、前記マイクロコンピュータに異常状態が発生すると、前記サブメモリにその異常発生情報を記憶し、かつ、前記メモリに異常発生情報が記憶されていると、前記記憶情報判別処理を実行するように構成されている。
つまり、マイクロコンピュータに異常状態が発生すると、その異常発生情報がサブマイクロコンピュータのサブメモリに記憶され、サブメモリに異常発生情報が記憶されていると、メモリに記憶されている運転用制御情報が正常か異常かを判別するための制御情報判別処理が実行される。また、逆に、サブマイクロコンピュータに異常状態が発生すると、その異常発生情報がマイクロコンピュータのメモリに記憶され、メモリに異常発生情報が記憶されていると、サブメモリに記憶されている記憶情報が正常か異常かを判別するための記憶情報判別処理が実行される。
したがって、マイクロコンピュータおよびサブマイクロコンピュータのそれぞれが、異常発生情報を自己に記憶するのではなく、相手の異常発生情報を記憶させるとともに、その相手に記憶されている異常発生情報に基づいて自己のメモリに記憶されている情報が正常か異常かを判別する制御情報判別処理または記憶情報判別処理を実行するので、異常状態が発生したマイクロコンピュータまたはサブマイクロコンピュータが、確実に制御情報判別処理または記憶情報判別処理を実行することができ、ビット欠けの発生をより確実に検出することができ、安全性をより一層向上させることができる。
【0006】
請求項2に記載の発明によれば、マイクロコンピュータが、電源投入および電源リセットのうち少なくとも一方が実行されると、制御情報判別処理を実行するように構成されている。
つまり、電源投入または電源リセットのうちのいずれかが実行されると、制御情報判別処理を実行するので、マイクロコンピュータによる運転制御を実行する前に必ず運転用制御情報が正常か異常か判別されることになる。
したがって、マイクロコンピュータによる運転制御を実行する前にビット欠けを検出することができるので、ビット欠けを発生したままマイクロコンピュータによる運転制御が実行されるのを防止することができ、安全性をより向上させることができる。
【0010】
【発明の実施の形態】
本発明にかかる制御装置を給湯装置に適応した例を図面に基づいて説明する。この給湯装置は、図1に示すように、供給される水を加熱して出湯栓7に給湯する給湯部K、この給湯部Kの運転を制御するマイクロコンピュータとしてメインマイコンM、このメインマイコンMに動作情報を指令するサブマイクロコンピュータを備えたリモコンRなどから構成されている。
【0011】
前記給湯部Kは、燃焼室1内に設けられている水加熱用の熱交換器2、この熱交換器2を加熱するガス燃焼式のバーナ3などから構成され、このバーナ3の上流側から燃焼用空気を通風するとともに、その通風量を変更調整自在な空気量調節手段としてのファン4も設けられ、ファン4の回転数を検出する回転数センサ4aも設けられている。
【0012】
そして、熱交換器2には、例えば家庭用の水道などから水が供給される入水路5、加熱後の湯水を手動式の給湯栓7に出湯する出湯路6がそれぞれ接続されている。
前記入水路5には、熱交換器2への通水量を検出する通水量センサ8、入水路5を通して供給される水の温度を検出する入水温サーミスタ9がそれぞれ備えられている。また、出湯路6には、出湯栓7から出湯される湯水の温度を検出する出湯温サーミスタ10が設けられている。
【0013】
バーナ3に対する燃料供給路11には、燃料供給を断続する電磁操作式の断続弁12、燃料供給量(バーナ3の燃焼量)を変更調節自在な電磁操作式の燃料調節手段としてのガス量調節弁13が備えられ、バーナ3の近くには、バーナ3に対する点火動作を実行するイグナイタ14と、バーナ3が着火されているか否かを検出するフレームロッド15とがそれぞれ備えられている。
【0014】
前記リモコンRは、メインマイコンMと通信可能なサブマイクロコンピュータとしてのサブマイコンSを備えて、給湯部Kの運転の開始・停止を指令する運転スイッチ16、出湯用目標温度を変更設定自在な温度設定スイッチ17、出湯温度や出湯用目標温度などを表示する表示部18、運転状態であることを表示する運転ランプ19、バーナ3が燃焼状態であることを表示する燃焼ランプ20などからなる操作部Bから構成されている。
【0015】
前記メインマイコンMは、図2に示すように、不揮発性の書換え可能なメモリとしてのメイン用フラッシュメモリ21と、メイン用フラッシュメモリ21に記憶されている記憶情報に基づいた動作を実行するメイン用CPU22と、外部との制御情報の送受信を可能とするメイン用インターフェース23、情報伝達の管理をするとともに、メイン用CPU22の作動異常を監視するウォッチドッグ回路24とから構成され、メイン用フラッシュメモリ21、メイン用CPU22、メイン用インターフェース23、および、ウォッチドッグ回路24のそれぞれがメイン用制御基板25に備えられている。
【0016】
そして、メイン用フラッシュメモリ21には、運転用制御情報としての運転用制御プログラムや、メイン用フラッシュメモリ21に記憶されている運転用制御プログラムが正常か異常かを判別する制御情報判別処理を実行するための判別処理情報としての判別処理プログラムなどが記憶され、メイン用CPU22が、メイン用フラッシュメモリ21に記憶されている運転用制御プログラムに基づいて給湯装置の運転を制御するとともに、メイン用フラッシュメモリ21に記憶されている判別処理プログラムに基づいて制御情報判別処理を実行するように構成されている。
【0017】
また、リモコンRに備えられているサブマイコンSは、不揮発性の書換え可能なサブメモリとしてのサブ用フラッシュメモリ26、サブ用フラッシュメモリ26に記憶されている記憶情報に基づいた動作を実行するサブ用CPU27と、外部との制御情報の送受信を可能とするサブ用インターフェース28とから構成され、サブ用フラッシュメモリ26、サブ用CPU27、および、メイン用インターフェース28のそれぞれがサブ用制御基板29に備えられている。
そして、サブ用フラッシュメモリ26には、サブ用フラッシュメモリ26に記憶されている記憶情報が正常か異常かを判別するための記憶情報判別処理情報としての記憶情報判別処理プログラムなどが記憶されている。
【0018】
メインマイコンMおよびサブマイコンSについて説明を加えると、メインマイコンMは、運転状態であるときに、サブマイコンSからの制御指令により、メイン用フラッシュメモリ21に記憶されている運転用制御プログラムに基づいて、バーナ3の点火・消火を含む燃焼状態を制御する運転制御としての燃焼制御処理を実行する。
また、メインマイコンMは、サブマイコンSに異常状態が発生すると、その異常発生情報をメイン用フラッシュメモリ21に記憶させ、逆に、サブマイコンSは、メインマイコンMに異常状態が発生すると、その異常発生情報をサブ用フラッシュメモリ26に記憶させるようにしている。
なお、メインマイコンMの異常状態の発生は、ウォッチドッグ回路24にて検出され、サブマイコンSの異常状態の発生は、メインマイコンMにて検出するように構成されている。
【0019】
そして、メインマイコンMは、サブ用フラッシュメモリ26にメインマイコンMの異常発生情報が記憶されていると、メイン用フラッシュメモリ21に記憶されている判別処理プログラムに基づいて制御情報判別処理を実行するように構成され、サブマイコンSは、メイン用フラッシュメモリ21にサブマイコンSの異常発生情報が記憶されていると、サブ用フラッシュメモリ26に記憶されている記憶情報判別処理プログラムに基づいて記憶情報判別処理を実行するように構成されている。
また、制御情報判別処理および記憶情報判別処理として、ある記憶領域のビット情報を加算した総和の特定ビット値が、予め付加されている検査合計と一致するか否かにより、その領域のビット異常を検出する、いわゆるチェックサム方式を利用するようにしている。
【0020】
つまり、メインマイコンMのメイン用CPU22は、サブマイコンSのサブ用フラッシュメモリ26にメインマイコンMの異常発生情報としての暴走記録が記憶されていると、メイン用フラッシュメモリ21に記憶されている運転用制御プログラムが正常か異常かを判別する。そして、サブマイコンSのサブ用CPU27は、メインマイコンMのメイン用フラッシュメモリ21にサブマイコンSの異常発生情報としての暴走記録が記憶されていると、サブ用フラッシュメモリ26に記憶されている記憶情報が正常か異常かを判別する。
なお、メインマイコンMとサブマイコンSとの通信は、メイン用インターフェース23とサブ用インターフェース28とを介して行われるようにしている。
【0021】
このようにして、時間経過とともに記憶されている情報が消えていく、いわゆるビット欠けが発生すると、マイクロコンピュータのメモリに記憶されている運転用制御情報が異常となるので、判別処理情報に基づく制御情報判別処理を実行することにより運転用制御情報の異常を検出することができ、ビット欠けを検出することができる。
したがって、装置の使用環境や使用条件によりビット欠けが早い段階で発生しても、そのビット欠けの発生を検出することができるので、ビット欠けに対する処置を行うことができ、マイクロコンピュータの暴走を防止して安全性を向上させることができる。
【0022】
また、マイクロコンピュータおよびサブマイクロコンピュータのそれぞれが、異常発生情報を自己に記憶するのではなく、相手の異常発生情報を記憶させるとともに、その相手に記憶されている異常発生情報に基づいて自己のメモリに記憶されている情報が正常か異常かを判別する制御情報判別処理または記憶情報判別処理を実行するので、異常状態が発生したマイクロコンピュータまたはサブマイクロコンピュータが、確実に制御情報判別処理または記憶情報判別処理を実行することができ、ビット欠けの発生をより確実に検出することができ、安全性をより一層向上させることができる。
【0023】
前記運転制御としての燃焼制御処理について説明を加えると、メインマイコンMは、操作部Bによる制御指令をサブマイコンSとの通信により受信して、熱交換器2への通水が開始されるに伴ってバーナ3の燃焼を開始して、熱交換器2への通水が停止されるに伴ってバーナ3の燃焼を停止するとともに、熱交換器2への通水が検出されているときに、給湯温度が目標温度になるようにバーナ3の燃焼量を調整するように構成されている。
具体的に説明すると、運転スイッチ16のON操作に伴って出湯運転状態に設定された後に、給湯栓7の開操作に伴って通水量センサ8にて検出される通水量が設定水量を超えると、ファン4による通風作動を開始し、かつ、断続弁12を開弁させてガス量調節弁13を点火用ガス量になるように開弁調整するとともに、イグナイタ14によってバーナ3へ着火し、フレームロッド15によって確認する。
【0024】
その後、入水温サーミスタ9、出湯温サーミスタ10、通水量センサ8のそれぞれの検出情報、および、温度設定スイッチ17にて設定されている目標温度の情報に基づいて、給湯温度を目標温度にするために必要なバーナ3の燃焼量を演算にて求める。そして、求められた燃焼量に対応するガス量になるようにガス量調節弁13を調整制御するとともに、ファン4の通風量が調整ガス量に対して適正燃焼状態になるようにファン4の通風量を調整制御するフィードフォワード制御を実行し、さらに、出湯温サーミスタ10の検出温度が目標温度になるように、ガス量調節弁13の開度を微調整するフィードバック制御を実行する。
このようにして、給湯栓7から目標温度の湯水が出湯されることになる。
【0025】
前記メインマイコンMおよびサブマイコンSの制御動作について、図3及び図4のフローチャートに基づいて説明する。
電源投入または電源リセットの少なくとも一方が実行されると、サブマイコンSのサブ用フラッシュメモリ26にメインマイコンMの暴走記録が記憶されているか否かを判別し、メインマイコンMの暴走記録が記憶されているときには、メイン用フラッシュメモリ21に記憶されている判別処理プログラムに基づいて、メイン用フラッシュメモリ21に記憶されている運転用制御情報が正常か異常かを判別する制御情報判別処理を実行する(ステップ1〜3)。
【0026】
そして、その運転用制御情報が正常であると判別されると、メインマイコンMの暴走記録が記憶されているときに、その暴走記録を消去する(ステップ4)。また、制御情報判別処理により運転用制御情報が異常であると判別されると、その後の全ての動作が停止されるインターロックがかかるようにしている(ステップ5)。
メインマイコンMの暴走記録が記憶されていないときには、メインマイコンMのメイン用フラッシュメモリ21にサブマイコンSの暴走記録が記憶されているか否かを判別し、サブマイコンSの暴走記録が記憶されているときには、サブ用フラッシュメモリ26に記憶されている記憶情報が正常か異常かを判別する記憶情報判別処理を実行する(ステップ6〜8)。
そして、その記憶情報が正常であると判別されると、サブマイコンSの暴走記録が記憶されているときに、その暴走記録を消去する(ステップ9)。また、記憶情報判別処理により記憶情報が異常であると判別されると、その後の全ての動作が停止されるインターロックがかかるようにしている(ステップ5)。
【0027】
このようにして、メインマイコンMおよびサブマイコンSによる暴走記録が消去された状態で、給湯栓7の開操作に伴って通水量センサ8にて検出される通水量が設定水量を超えると、ファン4による通風作動を開始し、かつ、断続弁12を開弁させてガス量調節弁13を点火用ガス量になるように開弁調整するとともに、イグナイタ14によってバーナ3へ着火し、フレームロッド15によって確認する点火処理を実行する(ステップ10,11)。また、電源がOFFされなければ、給湯栓7の開操作に伴って通水量センサ8にて検出される通水量が設定水量を超えるまで待機状態となる(ステップ12)。
そして、点火処理を実行しても、フレームロッド15によりバーナ3の着火が確認されず不着火であると、表示部18にエラー表示して、断続弁12とガス量調節弁13を閉弁して、その後ファン4の作動を停止させる異常停止を行う(ステップ13,15,16)。
なお、点火処理を再び実行して、バーナ3への不着火が2回続くと、上述のエラー表示および異常停止を行うようにしてもよく、その回数は適宜設定可能にしている。
【0028】
点火処理を実行してバーナ3へ着火されると、入水温サーミスタ9、出湯温サーミスタ10、通水量センサ8のそれぞれの検出情報、および、温度設定スイッチ17にて設定されている目標温度の情報に基づいて、給湯温度を目標温度にするために必要なバーナ3の燃焼量を演算にて求める。そして、求められた燃焼量に対応するガス量になるようにガス量調節弁13を調整制御するとともに、ファン4の通風量が調整ガス量に対して適正燃焼状態になるようにファン4の通風量を調整制御するフィードフォワード制御を実行し、さらに、出湯温サーミスタ10の検出温度が目標温度になるように、ガス量調節弁13の開度を微調整するフィードバック制御を実行する(ステップ14)。
【0029】
そして、フィードフォワード制御およびフィードバック制御は、燃焼異常などのエラーが発生しなければ、給湯栓7の閉操作に伴って通水量センサ8にて検出される通水量が設定水量未満になるか、または、電源がOFFされるまで実行される(ステップ17〜19)。つまり、水量センサ8にて検出される通水量が設定水量未満になるか、または、電源がOFFされると、断続弁12とガス量調節弁13が閉弁され、設定時間経過した後ファン4の作動を停止させてバーナ3の燃焼を停止させ、電源がOFFされていなければ、通水量センサ8にて検出される通水量が設定水量を越えるまで待機状態となる(ステップ20,21)。
【0030】
また、フィードフォワード制御およびフィードバック制御中に、燃焼異常などのエラーが発生すると、ウォッチドッグ回路によりメインマイコンMが暴走しているか否かを判別し、メインマイコンMが暴走していると判別されると、その暴走記録をサブマイコンSのサブ用フラッシュメモリ26に記憶させ、断続弁12とガス量調節弁13を閉弁して、設定時間経過した後ファン4の作動を停止させて異常停止を行う(ステップ17,22,23,24)。
【0031】
そして、メインマイコンMが暴走していなければ、サブマイコンSが暴走しているか否かを判別し、メインマイコンMによりサブマイコンSが暴走していると判別されると、その暴走記録をメインマイコンMのメイン用フラッシュメモリ21に記憶させ、断続弁12とガス量調節弁13を閉弁して、設定時間経過した後ファン4の作動を停止させて暴走停止を行う(ステップ25,26,24)。
また、メインマイコンMおよびサブマイコンSの両方が暴走していないときには、表示部18にエラー表示を行い、断続弁12とガス量調節弁13を閉弁して、設定時間経過した後ファン4の作動を停止させて異常停止を行う(ステップ27,28)。
【0033】
〔別実施形態〕
(1)上記実施形態では、メインマイコンMに異常状態が発生すると、その異常発生情報がサブ用フラッシュメモリ26に記憶され、サブ用フラッシュメモリ26に異常発生情報が記憶されていると、制御情報判別処理が実行され、逆に、サブマイコンSに異常状態が発生すると、その異常発生情報がメイン用フラッシュメモリ21に記憶され、メイン用フラッシュメモリ21に異常発生情報が記憶されていると、記憶情報判別処理が実行されるようにしているが、次のように構成してもよい。
つまり、制御情報判別処理および記憶情報判別処理を実行するタイミングは上記実施形態のものに限られるものではなく、例えば、電源投入および電源リセットのどちらかの実行と運転制御中のエラーの発生との両方または一方があると、制御情報判別処理および記憶情報判別処理を実行するようにしてもよい。
【0034】
(2)上記実施形態では、不揮発性の書換え可能なメモリおよびサブメモリとして、フラッシュメモリが用いられているが、メモリおよびサブメモリとしては、フラッシュメモリに限られるものではない。
【0035】
(3)上記実施形態では、制御情報判別処理および記憶情報判別処理として、チェックサム方式を利用するようにしているが、これに限られるものではなく、例えば、パリティチェック方式を利用してもよい。
【0036】
(4)上記実施形態では、本発明にかかる制御装置を給湯装置に適応した例を示しているが、その他各種の装置に適応可能である。
【図面の簡単な説明】
【図1】給湯装置の全体概略構成図
【図2】マイクロコンピュータとサブマイクロコンピュータの制御ブロック図
【図3】制御動作を示すフローチャート
【図4】制御動作を示すフローチャート
【符号の説明】
21 メモリ
26 サブメモリ
M マイクロコンピュータ
S サブマイクロコンピュータ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control device including a nonvolatile rewritable memory and provided with a microcomputer that controls operation based on operation control information stored in the memory.
[0002]
[Prior art]
The control device as described above uses a flash memory as a non-volatile rewritable memory, the operation control program is stored in the flash memory, and the microcomputer is stored in the operation control program stored in the flash memory. A device that controls operation based on the above is known (for example, Japanese Patent Application Laid-Open No. 8-22739).
Since such a control device can repeatedly rewrite the operation control program stored in the flash memory while the microcomputer is mounted on the device, it is necessary to change the program after manufacturing. It could be easily handled.
[0003]
[Problems to be solved by the invention]
However, in the conventional case using a nonvolatile rewritable memory such as a flash memory, there is a problem in that the stored information disappears as time passes, so-called bit missing occurs.
In general, bit loss occurs after 10 years since information is stored in the memory. However, bit loss may occur at an early stage depending on the use environment and usage conditions of the device. In that case, there is a possibility that the microcomputer may run away and the safety may be impaired.
[0004]
The present invention has been made paying attention to such a point, and its purpose is to detect the occurrence of so-called bit missing, in which the information stored in the memory disappears over time, and to prevent the microcomputer from running away. Thus, a control device that can improve safety is provided.
[0005]
[Means for Solving the Problems]
To achieve this object, according to the first aspect of the present invention, there is provided a non-volatile rewritable memory, and a micro that controls the operation of the apparatus based on the operation control information stored in the memory. In the control device provided with the computer, the memory stores determination processing information for executing control information determination processing for determining whether the control information for operation stored in the memory is normal or abnormal, and the microcomputer Is configured to execute the control information determination process based on the determination process information stored in the memory.
In other words, when the so-called bit missing occurs, the stored information disappears with the passage of time, the control information for operation stored in the memory of the microcomputer becomes abnormal, so the control information discrimination processing based on the discrimination processing information By executing this, it is possible to detect an abnormality in the control information for operation and to detect a missing bit.
Therefore, even if a bit chipping occurs at an early stage depending on the usage environment and usage conditions of the device, the occurrence of the bit chipping can be detected, so it is possible to take measures against the bit chipping and prevent the microcomputer from running out of control. And safety can be improved.
According to the first aspect of the present invention, there is provided a non-volatile rewritable sub memory that can communicate with the microcomputer, and the stored information stored in the sub memory is normal or abnormal. A sub-microcomputer that executes a storage information determination process for determining whether or not an abnormal state occurs in the sub-microcomputer, the abnormal-occurrence information is stored in the memory, and the sub-memory When the abnormality occurrence information is stored in the microcomputer, the control information determination process is executed. When the abnormal state occurs in the microcomputer, the abnormality information is stored in the sub memory. If the occurrence information of abnormality is stored in the memory, the stored information determination process is executed. It is configured.
That is, when an abnormal state occurs in the microcomputer, the abnormality occurrence information is stored in the sub memory of the sub microcomputer, and when the abnormality occurrence information is stored in the sub memory, the operation control information stored in the memory is stored in the memory. A control information determination process for determining whether it is normal or abnormal is executed. Conversely, when an abnormal state occurs in the sub-microcomputer, the abnormality occurrence information is stored in the memory of the microcomputer, and when the abnormality occurrence information is stored in the memory, the storage information stored in the sub-memory is A stored information discrimination process for discriminating between normal and abnormal is executed.
Therefore, each of the microcomputer and the sub-microcomputer does not store the abnormality occurrence information in itself, but stores the abnormality occurrence information of the other party and also stores its own memory based on the abnormality occurrence information stored in the other party. The control information determination process or the stored information determination process for determining whether the information stored in the memory is normal or abnormal is executed, so that the microcomputer or sub-microcomputer in which the abnormal state has occurred is surely controlled by the control information determination process or the stored information. The discrimination process can be executed, the occurrence of bit missing can be detected more reliably, and the safety can be further improved.
[0006]
According to the second aspect of the present invention, the microcomputer is configured to execute the control information determination process when at least one of the power-on and the power reset is executed.
In other words, since control information determination processing is executed when either power-on or power reset is executed, it is always determined whether the operation control information is normal or abnormal before executing the operation control by the microcomputer. It will be.
Therefore, since it is possible to detect a missing bit before the operation control by the microcomputer is executed, it is possible to prevent the operation control by the microcomputer from being executed while the bit is missing, thereby further improving safety. Can be made.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
The example which applied the control apparatus concerning this invention to the hot-water supply apparatus is demonstrated based on drawing. As shown in FIG. 1, the hot water supply apparatus includes a hot water supply section K that heats supplied water and supplies hot water to the
[0011]
The hot water supply section K is composed of a
[0012]
The
The
[0013]
The
[0014]
The remote control R includes a sub microcomputer S as a sub microcomputer communicable with the main microcomputer M, an
[0015]
As shown in FIG. 2, the main microcomputer M is a
[0016]
The
[0017]
Further, the sub-microcomputer S provided in the remote controller R includes a
The
[0018]
The main microcomputer M and the sub-microcomputer S will be described. The main microcomputer M is based on an operation control program stored in the
Further, when an abnormal state occurs in the sub-microcomputer S, the main microcomputer M stores the abnormality occurrence information in the
The occurrence of an abnormal state of the main microcomputer M is detected by the
[0019]
Then, when the abnormality information of the main microcomputer M is stored in the
Also, as the control information discrimination process and the storage information discrimination process, depending on whether or not the specific bit value of the sum obtained by adding the bit information of a certain storage area matches the check sum added in advance, the bit abnormality of that area is determined. A so-called checksum method for detection is used.
[0020]
That is, the
The communication between the main microcomputer M and the sub microcomputer S is performed via the
[0021]
In this way, when so-called bit missing occurs, the stored information disappears with the passage of time, so that the control information for operation stored in the memory of the microcomputer becomes abnormal, so control based on the discrimination processing information By executing the information determination process, it is possible to detect an abnormality in the control information for operation and to detect a bit defect.
Therefore, even if a bit chipping occurs at an early stage depending on the usage environment and usage conditions of the device, the occurrence of the bit chipping can be detected, so it is possible to take measures against the bit chipping and prevent the microcomputer from running out of control. And safety can be improved.
[0022]
In addition, each of the microcomputer and the sub-microcomputer does not store the abnormality occurrence information in itself, but stores the abnormality occurrence information of the other party and also stores its own memory based on the abnormality occurrence information stored in the other party. The control information determination process or the stored information determination process for determining whether the information stored in the memory is normal or abnormal is executed, so that the microcomputer or sub-microcomputer in which the abnormal state has occurred is surely controlled by the control information determination process or the stored information. The discrimination process can be executed, the occurrence of bit missing can be detected more reliably, and the safety can be further improved.
[0023]
When the combustion control process as the operation control is described, the main microcomputer M receives a control command from the operation unit B through communication with the sub-microcomputer S, and starts water flow to the
More specifically, when the water flow amount detected by the water
[0024]
Thereafter, the hot water supply temperature is set to the target temperature based on the detection information of the incoming
In this way, hot water of the target temperature is discharged from the
[0025]
The control operation of the main microcomputer M and the sub microcomputer S will be described based on the flowcharts of FIGS.
When at least one of power on and power reset is executed, it is determined whether or not the runaway record of the main microcomputer M is stored in the
[0026]
If it is determined that the operation control information is normal, the runaway record is erased when the runaway record of the main microcomputer M is stored (step 4). Further, when it is determined by the control information determination process that the driving control information is abnormal, an interlock is applied to stop all subsequent operations (step 5).
When the runaway record of the main microcomputer M is not stored, it is determined whether or not the runaway record of the sub microcomputer S is stored in the
If it is determined that the stored information is normal, the runaway record is erased when the runaway record of the sub-microcomputer S is stored (step 9). Further, when it is determined that the stored information is abnormal by the stored information determining process, an interlock that stops all subsequent operations is applied (step 5).
[0027]
In this way, when the runaway record by the main microcomputer M and the sub-microcomputer S is erased, the water flow rate detected by the water
Even if the ignition process is executed, if the ignition of the
When the ignition process is executed again and the non-ignition to the
[0028]
When the ignition process is executed and the
[0029]
In the feedforward control and the feedback control, if an error such as a combustion abnormality does not occur, the water flow detected by the
[0030]
Further, when an error such as a combustion abnormality occurs during feedforward control and feedback control, the watchdog circuit determines whether or not the main microcomputer M is out of control, and determines that the main microcomputer M is out of control. Then, the runaway record is stored in the
[0031]
If the main microcomputer M is not running away, it is determined whether or not the sub microcomputer S is running away. If the main microcomputer M determines that the sub microcomputer S is running away, the runaway record is recorded on the main microcomputer M. M is stored in the
When both the main microcomputer M and the sub-microcomputer S are not running out of control, an error is displayed on the
[0033]
[Another embodiment]
(1) In the above embodiment, when an abnormal state occurs in the main microcomputer M, the abnormality occurrence information is stored in the
In other words, the timing for executing the control information determination process and the storage information determination process is not limited to that of the above embodiment. For example, the execution of either power-on or power-reset and the occurrence of an error during operation control If both or one of them is present, the control information determination process and the storage information determination process may be executed.
[0034]
(2) Although the flash memory is used as the non-volatile rewritable memory and sub memory in the above embodiment, the memory and sub memory are not limited to the flash memory.
[0035]
(3) In the above embodiment, the checksum method is used as the control information determination process and the storage information determination process. However, the present invention is not limited to this. For example, a parity check method may be used. .
[0036]
(4) In the above embodiment, an example in which the control device according to the present invention is applied to a hot water supply device is shown, but it can be applied to other various devices.
[Brief description of the drawings]
1 is an overall schematic configuration diagram of a hot water supply apparatus. FIG. 2 is a control block diagram of a microcomputer and a sub-microcomputer. FIG. 3 is a flowchart showing a control operation. FIG. 4 is a flowchart showing a control operation.
21
Claims (2)
前記メモリが、そのメモリに記憶されている運転用制御情報が正常か異常かを判別する制御情報判別処理を実行するための判別処理情報を記憶し、
前記マイクロコンピュータが、前記メモリに記憶されている判別処理情報に基づいて制御情報判別処理を実行するように構成され、
前記マイクロコンピュータとの間で通信可能で、不揮発性の書換え可能なサブメモリを備えて、そのサブメモリに記憶されている記憶情報が正常か異常かを判別する記憶情報判別処理を実行するサブマイクロコンピュータが設けられ、
前記マイクロコンピュータが、前記サブマイクロコンピュータに異常状態が発生すると、その異常発生情報を前記メモリに記憶し、かつ、前記サブメモリに異常発生情報が記憶されていると、前記制御情報判別処理を実行するように構成され、
前記サブマイクロコンピュータが、前記マイクロコンピュータに異常状態が発生すると、前記サブメモリにその異常発生情報を記憶し、かつ、前記メモリに異常発生情報が記憶されていると、前記記憶情報判別処理を実行するように構成されている制御装置。A control device comprising a nonvolatile rewritable memory and provided with a microcomputer for controlling the operation of the device based on the operation control information stored in the memory,
The memory stores determination processing information for executing control information determination processing for determining whether the operation control information stored in the memory is normal or abnormal,
The microcomputer is configured to execute control information determination processing based on determination processing information stored in the memory ,
A sub-microcomputer comprising a non-volatile rewritable sub-memory that is communicable with the microcomputer and executing a storage information discrimination process for discriminating whether the storage information stored in the sub-memory is normal or abnormal A computer is provided,
When an abnormal state occurs in the sub-microcomputer, the microcomputer stores the abnormality occurrence information in the memory, and executes the control information determination process when the abnormality occurrence information is stored in the sub-memory. Configured to
When an abnormal state occurs in the microcomputer, the sub-microcomputer stores the abnormality occurrence information in the sub-memory, and executes the stored information determination process when the abnormality occurrence information is stored in the memory. A control device that is configured to .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP05006899A JP4073104B2 (en) | 1999-02-26 | 1999-02-26 | Control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP05006899A JP4073104B2 (en) | 1999-02-26 | 1999-02-26 | Control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000250769A JP2000250769A (en) | 2000-09-14 |
JP4073104B2 true JP4073104B2 (en) | 2008-04-09 |
Family
ID=12848693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP05006899A Expired - Fee Related JP4073104B2 (en) | 1999-02-26 | 1999-02-26 | Control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4073104B2 (en) |
-
1999
- 1999-02-26 JP JP05006899A patent/JP4073104B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000250769A (en) | 2000-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070257122A1 (en) | Circulation type hot water supply device | |
JP4073104B2 (en) | Control device | |
JP4162322B2 (en) | Water heater control device | |
JP4191359B2 (en) | Boiler with continuous combustion | |
JP3918550B2 (en) | Combustion device | |
JP2694890B2 (en) | Combustion stopping device for incomplete combustion of combustion equipment | |
JP3133724B2 (en) | Ventilation control device for combustion | |
JP3579484B2 (en) | Combustion equipment | |
JP3139598B2 (en) | Control equipment | |
JP2003014296A (en) | Hot water supply apparatus | |
JP2000310419A (en) | Combustion equipment | |
JP4056178B2 (en) | Combustion device | |
JP3206313B2 (en) | Combustion equipment | |
JP3784155B2 (en) | Combustion device | |
JP6851152B2 (en) | Heating device | |
JP2971723B2 (en) | Combustion equipment | |
JP6671242B2 (en) | Heat source machine | |
KR0170169B1 (en) | Combustion system | |
JP2619205B2 (en) | Combustion equipment | |
JPH0771819A (en) | Hot-water supply apparatus | |
JP2675516B2 (en) | Combustion equipment | |
JP2022086426A (en) | Combustor | |
JPH08200662A (en) | Combustion device | |
JP2004053051A (en) | Gas combustion apparatus | |
JPH0828869A (en) | Combustion device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A625 | Written request for application examination (by other person) |
Free format text: JAPANESE INTERMEDIATE CODE: A625 Effective date: 20060223 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20060310 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070621 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070730 |
|
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: 20080110 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080122 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110201 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120201 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130201 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140201 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |