Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3837201B2 - Flash memory CPU type control device and device using the same - Google Patents
[go: Go Back, main page]

JP3837201B2 - Flash memory CPU type control device and device using the same - Google Patents

Flash memory CPU type control device and device using the same Download PDF

Info

Publication number
JP3837201B2
JP3837201B2 JP04421697A JP4421697A JP3837201B2 JP 3837201 B2 JP3837201 B2 JP 3837201B2 JP 04421697 A JP04421697 A JP 04421697A JP 4421697 A JP4421697 A JP 4421697A JP 3837201 B2 JP3837201 B2 JP 3837201B2
Authority
JP
Japan
Prior art keywords
flash memory
rewrite
rewriting
communication
voltage
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
JP04421697A
Other languages
Japanese (ja)
Other versions
JPH10240516A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP04421697A priority Critical patent/JP3837201B2/en
Publication of JPH10240516A publication Critical patent/JPH10240516A/en
Application granted granted Critical
Publication of JP3837201B2 publication Critical patent/JP3837201B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a CPU type controller capable of preventing the rewrite accident of a flash memory and the utilization device. SOLUTION: The heat source machine 10, indoor machine 20 and operation device 30 of a distributed arrangement type air conditioning device 100 respectively constitute this flash memory CPU type controller for performing control by the flash memory 72A for processings/data and a CPU 70. Communication signals and an erasure/rewrite voltage Vp2 are supplied from an external rewrite device 200 to the required one of the heat source machine 10, the indoor machine 20 and the operation device 30, a voltage switching device 85 is operated, the operation voltage of the processing/data flash memory 72A is switched to the erasure/rewrite voltage Vp2, then rewrite data are transmitted and a rewrite operation is performed. Since the erasure/rewrite voltage Vp2 is supplied from the external rewrite device 200 only at the time of the rewrite operation, erroneous rewrite by communication abnormality such as erroneous communication or the like is prevented. The need of rewrite is confirmed by confirming the version No. of storage contents, and after the rewrite, the normality/abnormality of the rewrite are discriminated by the storage address total value of the flash memory 72A.

Description

【0001】
【発明が属する技術分野】
この発明は、制御処理用プログラムなどをフラッシュメモリに記憶した制御部を有する制御装置ならびにその利用装置、例えば、分散配置型空調装置に関するものである。
【0002】
【従来の技術】
各機器を分散敵に配置した空気調和装置、つまり、分散配置型空調装置100の基本的な構成部分を要約して示すと、図14のように、管路83により冷房または暖房を行うための熱源を熱源機10から室内機20に与えて空調対象室84の室内の空気を冷却または加温する熱源給配系と、空調対象室84に配置した操作器30から冷房または暖房の動作条件を室内機20に設定して空調動作を制御する空調制御系を主体にして構成してあり、必要に応じて、中央監視制御盤50により、空調動作のうちの所要のもののみを監視制御する監視制御系を追加した構成になっている。
【0003】
そして、小規模のものでは、1基の熱源機10に対して1基または複数基の室内機20を組み合わせたものを1組とした組構成を基本構成としており、大規模のものでは、上記の基本構成のものを、図16にように、複数組を配置して構成する。なお、この発明において「冷暖房」とは、冷房のみを行う構成の場合と、暖房のみを行う構成の場合と、冷房と暖房とを選択的に行う場合との3つ場合を含むものである。
【0004】
冷暖房用熱源、つまり、空調用熱源としては、圧縮冷凍サイクルによるものと、吸収冷凍サイクルによるものなどを用いており、例えば、圧縮冷凍サイクルを用いるものでは、図14のように、熱源機10で圧縮した熱操作流体によって熱源を得るようにした構成が、例えば、特開平6−146987号公報などにより開示されている。
【0005】
図14において、二重線で示した管路83による回路部分は、熱源を得るための熱操作流体、例えば、冷媒流体を給配するための管路であり、細線で示す回路部分は、電気的な検出信号・制御信号などを送受するための電路であって、熱源機10は、一般に、室外に配置するため、室外機とも言っているが、室内に配置する場合もある。
【0006】
そして、熱源機10の圧縮部11は、例えば、ロータリー型コンプレッサをガスエンジンや電動機などの駆動源で駆動して、熱源を得るための熱操作流体、例えば、フロンR22、フロンR137などの冷媒を加圧する部分であり、加圧した熱操作流体を熱源機10の熱交換器12と室内機20の熱交換器21とを通る管路に与えることにより所要の熱操作を終えて低圧化した熱操作流体を再び圧縮部11に戻して加圧するように循環しているものである。
【0007】
熱源機10の流路切換部13は、室内機20に冷房動作を行わせる場合には、室内機20側の熱交換器21を吸熱用熱交換器として動作するように接続するとともに、熱源機10側の熱交換器12を放熱用熱交換器として動作するように各管路を接続し、また、室内機20に暖房動作を行わせる場合には、熱源機10側の熱交換器12を吸熱用熱交換器として動作するように接続するとともに、室内機20側の熱交換器21を放熱用熱交換器として動作するように各管路を接続する部分であり、例えば、四方弁などの切換弁を電動動作する流路切換機構である。
【0008】
また、熱源を吸収冷凍サイクルによって構成する場合には、例えば、圧縮部11・熱交換器12・流路切換部13の部分を、第1の熱操作流体、例えば、アンモニアと水の混合液などによる吸収液を循環して熱操作するための吸収器・再生器・凝縮器・蒸発器などに変更して構成し、蒸発器の内部を通る管路に第2の熱操作流体、例えば、水を循環させて冷水または温水を得るとともに、この第2の熱操作流体を室内機20の熱交換器21に与えるように構成することになるものである。
【0009】
そして、操作器30の制御部703は、温度検出器D1で検出した室内温度値D1Aのデータ信号、設定操作部75により設定入力した冷房または暖房の目標温度値TAなどの動作条件に関するデータ信号、運転開始/停止などの指令信号、つまり、コマンド信号を記憶するとともに、これらのデータまたはコマンドのうちの所要のものを、通信路82を経て、室内機20の制御部702に与える。なお、操作器30は、室内機20を遠隔制御する役割をしていねため、一般に、リモートコントローラ、略して、リモコンとも呼ばれている。
【0010】
室内機20の制御部702は、温度検出器D2で検出した熱交換器温度値D2A、その他の検出データ信号、操作器30から与えられたデータ信号などを記憶するとともに、熱交換器温度値D2Aを操作器30の制御部703から与えられた目標温度値TAに到達するように、熱交換器21に熱操作流体を流通する流量を調整する流量調整弁V2の駆動部分V2Aと熱交換器21に室内空気を通風する送風機21Aの風量などを制御するものであり、運転開始/停止・動作状態などに関する所要のデータ信号を通信路81を経て熱源機10の制御部701に与えるようにしており、さらに、中央監視制御盤50を設けた場合には、中央監視制御盤50の制御部700にも与える。
【0011】
熱源機10の制御部701は、室内機10から与えられたデータ信号とコマンド信号などを記憶するとともに、これらのデータにもとづいて、流路切換部13の流路方向の切換と、熱交換器12に熱操作流体を流通する流量調整弁V1と熱交換器12に室外空気を通風する送風機12Aの風量などを制御するものであり、中央監視制御盤50を設けた場合には、運転開始/停止・動作状態などに関する所要のデータ信号を通信路81を経て中央監視制御盤50の制御部700にも与える。
【0012】
中央監視制御盤50の制御部700は、設定操作部76から設定入力した運転開始/停止・動作条件などに関するデータ信号、室内機10の制御部702と熱源機20の制御部701とから与えられたデータ信号などのデータ信号を記憶し、これらのデータ信号のうちの所要のものを表示部77に表示するとともに、運転開始/停止・動作状態などに関する所要のデータ信号とコマンド信号とを通信路81を経て熱源機10・室内機20の各制御部701・702に与える。
【0013】
熱源機10・室内機20・操作器30・中央監視制御盤50に設けた各制御部700・701・702・703は、マイクロコンピュータ型の制御処理機能(以下、CPUという)70を主体にして構成したものであって、図15のように、市販のCPUボード(CPU/B)などを用いて構成したものである。
【0014】
図15において、各制御部700・701・702・703は、各部の状態を検出して得られる各検出信号と設定操作部76を操作して入力される各操作信号によるデータと、通信路81・82を介して、他の制御部から与えられるデータと制御指令信号とを、入力データとして、入出力ポート71から取り込んで作業メモリ73、例えば、RAMに記憶するとともに、これらデータと、処理メモリ72、例えば、ROMに予め記憶した処理フローのプログラムと、データ用メモリ74、例えば、電気的に書換可能なPROM、つまり、EEPROMに記憶した基準値などデータとにもとづいて所要の制御処理を行って得られた各部を制御するための各制御信号と他の制御部に与えるデータの信号とを入出力ポート71から出力するように構成してある。
【0015】
また、必要に応じて、各部の動作状態・制御状態や各設定状態などのデータを表示部77に表示する。なお、図15の構成のうち、各検出信号・各制御信号・設定操作部76・表示部77の部分は、熱源機10・室内機20・操作器30・中央監視制御盤50の構成にしたがって、所要のものを選択して設けてある。
【0016】
各制御部700・701・702・703間の通信路81・82は、例えば、通信用2芯同軸ケーブルや2芯捩線などで構成するとともに、各制御部70間におけるデータ信号やコマンド信号などを送受するための通信接続用インターフェイスとして通信I/F78を設けてあり、また、この通信I/F78を、例えば、RS232C規格またはRS485規格などの通信用ICを用いて構成してある。
【0017】
こうした通信構成のものでは、各制御部700・701・702・703に通信用の識別符号、つまり、通信用アドレスを設定しておき、この通信用アドレスを「あて先」「送信元」のデータとして、例えば、図15の〔通信信号の構成様式〕のような通信信号による通信により所要の通信指令制御を行っている。
【0018】
なお、操作器30の制御部703と室内機20の制御部702との間の通信路82は、赤外線などの光通信による無線伝送路で構成している場合もあり、この場合には、通信I/F78の部分に、そうした無線伝送路に対応する送受波機能を設けている。
【0019】
また、各機器の配置構成は、図16のように、1つの建造物内に分散して配置する構成の場合と、複数の建造物に分散して配置する構成の場合とがあり、通信路81・82は、そうした配置と機器の基数によって適宜のものを選択している。なお、図16では、熱操作流体を流通する各管路83の往復部分を簡略して太い実線で画いてある。
【0020】
そして、分散配置型空調装置100における各制御部700・701・702・703の処理メモリ72とデータ用メモリ74には、上記のような制御処理を行うために必要な制御処理フローのプログラムと制御の基準値などに用いるデータ値などが記憶してあるが、制御処理方法の進歩に従って、機能更新、つまり、バージョンアップするために、プログラムとデータ値などの記憶内容を最新版のものに更新させる必要がある。
【0021】
こうした記憶内容の更新方法としては、一般的には、メモリ用ICをソケットに差し込んで装着しておくように構成しておき、必要時に、最新版の記憶内容にしたメモリICと差し替える方法が取られるが、空調装置に各制御部700・701・702・703は、間欠的な振動や急激な温度変化に耐える必要があり、こうしたソケット装着による方法では接触不良が生じ易いため、半田付けなどによって確実に接続する方法がとられている。
【0022】
このため、旧式になったものでは、CPUボード(CPU/B)全体を交換しなければならないので、機能更新を安価に行えないほか、交換サービスに長時間の作業を要するという不都合があった。
【0023】
一方、メモリICの技術進歩によって、フラッシュメモリが安価になったため、マイクロコンピュータにフラッシュメモリを内蔵させるとともに、ユニット状態、つまり、基板上で記憶内容の書換を可能にした装置の提供などが平成8年9月26日発行電波新聞「ハイテクノロジー」などにより周知である。
【0024】
そして、このフラッシュメモリは、電気的に書換可能なPROM(Programmable Read−Only Memory)、つまり、EEPROM(Electrically Erasable PROM)と共通した機能をもっているが、次の点で異なっていることが、フラッシュメモリ製造各社のカタログなどにより周知である。
【0025】
つまり、第1には、記憶内容の変更を行う場合に、EEPROMでは元の記憶内容の上に重ね書きを行うのに対して、フラッシュメモリでは元の記憶内容を消去した後に書き込みを行うようになっている点であり、第2には、書込速度が、EEPROMの約10msに対して、フラッシュメモリでは約10μs、つまり、EEPROMの1/1000の短時間に短縮できる点であり、第3には、1ビット当たりのコストが、EEPROMのコストを100とした場合に、フラッシュメモリのコストは現在におて約10以下で提供可能であり、さらに、低コスト化が可能とされている点であり、第4には、1個のフラッシュメモリ内を複数の領域に分けた各ブロックごとに、消去と書込(以下、消去/書込という)、つまり、書換が可能であり、また、所要のブロックに対してのみ消去/書込を禁止するプロテクトを行わせることができる点である。なお、一般に、読出電圧5Vを消去/書込電圧12Vに変更することで消去/書込、つまり、書換を行うことができる。
【0026】
また、マイクロコンピュータ型の電子計算機、例えば、パーソナルコンピュータなどの小型電子計算機装置における相互間通信構成を、例えば、RS232C規格などの通信接続用インタフェースを用いて構成するものにおいて、CPUボード(CPU/B)上に配置したPROMの記憶内容の書換を、外部からの通信によって書き換える構成が「トランジスタ技術」誌1991年1月号などに開示されている。
【0027】
【発明が解決しようとする課題】
上記の各従来技術によれば、CPUの制御処理用プログラムとデータとをフラッシュメモリに記憶する構成をもつ制御部によって制御対象に対する所要の制御処理を行うようにした構成(この発明において、フラッシュメモリCPU型制御装置またはフラッシュメモリCPU型制御装部という)において、外部端末機からの通信によってフラッシュメモリの記憶内容の書換を行うようにした構成を用いることによって、上記の分散配置型空調装置における制御部の機能更新時の不都合を解消することが考えられる。
【0028】
しかしながら、単に、外部からの通信によって書換を行えるように構成したのみでは、他の制御部との通信中に生ずる誤通信などによって、記憶内容が誤って消去/書換られてしまい、制御処理を暴走させて、危険性のある事故を招くことになる。
【0029】
つまり、例えば、上記の分散配置型空調装置では、各制御部の制御処理フローのプログラムを誤って書き換えられた場合には、運転制御を暴走させて過熱により火災などの重大な事故を招き、また、クレーンなどのように、重量物または危険物の移動などを制御対象とするものでは、同様にして、建物・器物などの損壊や火災などの重大な事故を招くという不都合が生ずる。
このため、こうした不都合のない記憶内容書換型小型電子計算機装置ならびにその利用装置の提供が望まれているという課題がある。
【0030】
【課題を解決するための手段】
この発明は、上記のような
フラッシュメモリの所要部分における記憶内容の書換を外部書換器からの通信にもとづいて行う機能を設けた制御部を有するフラッシュメモリCPU型制御装置において、
上記の書換に用いる電圧、すなわち、書換電圧を上記の外部書換器側から上記のフラッシュメモリCPU型制御装置側に伝送するための第1の接続線と、
上記のフラッシュメモリCPU型制御装置側に設けた電圧切換回路の切換によって、上記のフラッシュメモリに与えている上記の書換電圧そのものを、上記のフラッシュメモリに上記の書換電圧が与えられている旨の信号として、上記のフラッシュメモリCPU型制御装置側から上記の外部書換器側に伝送するための第2の接続と、
上記の書換のためのデータ信号を上記の外部書換器側から上記のフラッシュメモリCPU型制御装置側に伝送するための第3の接続線と
を含む接続線により、上記の外部書換器と上記のフラッシュメモリCPU型制御装置とを接続する接続手段と、
上記の電圧切換回路の切換にもとづいて、上記の書換電圧そのものが外部書換器側に伝送されているときに、上記の外部書換器側から上記の書換のためのデータ信号をフラッシュメモリCPU型制御装置側に伝送するデータ信号伝送手段と
を設ける第1の構成と、
【0031】
この第1の構成に付加して、
所定の複数の通信速度の周波数に対する最小公倍数/周波数のクロック、すなわち、源クロックというを発生するとともに、上記の通信を非同期式の通信で行って得られる受信信号を、上記の源クロックまたは上記の源クロックを分周して得られるクロックによりサンプリングして通信速度を判別することにより、上記の書換に適した通信速度を設定する通信速度設定手段
を設ける第2の構成と、
【0032】
記の第1の構成に付加して、
上記のフラッシュメモリの記憶領域を複数の領域に分けるとともに、上記の領域に記憶する記憶内容にバージョン情報を付して記憶することにより、所要部分の記憶内容全体または一部のみを書き換える書換記憶手段
を設ける第3の構成と、
【0033】
上記の第1の構成に付加して、
上記の書換を行った箇所の記憶アドレスの合計値が所定値になっているか否かによって上記の書換が正常に行われたか否かを判別する判別手段
を設ける第4の構成と、
【0034】
フラッシュメモリの所要部分における記憶内容の書換を外部書換器からの通信にもとづいて行う機能を設けた制御部を有するフラッシュメモリCPU型制御部を、少なくとも、空調用熱源を給配するための熱源機と室内機とに設けた分散配置型空調装置において、
上記の第1の構成における接続手段・データ信号伝送手段を設ける第5の構成と、
上記の第5の構成に付加して、
上記の第2の構成における通信速度設定手段を設ける第6の構成と、
【0035】
上記の第5の構成に付加して、
上記の第3の構成における書換記憶手段を設ける第7の構成と、
上記の第5の構成に付加して、
上記の第4の構成における判別手段を設ける第8の構成とによって上記の課題を解決したものである。
【0036】
【発明の実施の形態】
この発明の実施の形態として、上記の図14〜図16により説明した分散配置型空調装置1000の構成に、この発明を適用した実施例を説明するる。
【0037】
【実施例】
以下、図1〜図13により実施例を説明する。図1〜図13において、図14〜図16で説明した同一符号の部分と同一の機能をもつ部分である。また、図1〜図13において同一符号で示す部分は、図1〜図13のいずれかにおいて説明した同一符号の部分と同一の機能をもつ部分である。
【0038】
〔第1実施例〕
以下、図1〜図4により第1実施例を説明する。図1において、分散配置型空調装置1000は、熱源機10・室内機20・操作器30の各1基を代表的に配置した基本構成部分のみを示してあるが、装置規模の大きさによって、所要基数を配置構成すること、また、必要に応じて中央監視制御盤50を配置構成することは、従来技術の説明において述べたとおりである。
【0039】
そして、熱源機10・室内機20・操作器30の構成が、図14・図15の従来技術の構成と異なる箇所は、第1の変更箇所は、制御処理フローのプログラムを記憶する処理メモリ72と、制御処理に必要なデータを記憶するデータ用メモリ74とに代えて、これらの記憶内容を市販のフラッシュメモリに記憶した処理/データ用フラッシュメモリ72Aを設けた箇所であり、第2の変更箇所は、処理/データ用フラッシュメモリ72Aの読出と消去/書込に対する電圧について、読出のための読出電圧Vp1(一般に、Vppというが、ここではVpと略す)、例えば、5Vのみを内蔵の電源86に設けるが、消去/書込、つまり、書換のための消去/書込電圧Vp2、例えば、12Vについては、後記の外部書換器200から与えるように構成するとともに、処理/データ用フラッシュメモリ72Aに対して読出電圧Vp1または消去/書込電圧Vp2のうちのいずれか一方のみを与えるための電圧切換回路85を設けて構成した箇所である。
【0040】
そして、第3の変更箇所は、通信路81・82と各通信I/F78とを接続する箇所の接続部分87A・87B・87D、つまり、接続端子またはコネクタの接続箇所に、外部書換器200から消去/書込電圧Vp2を与えるための接続箇所を設けて構成した箇所である。
【0041】
これらの第1〜第3の変更箇所の具体的な構成については、図2・図3により後述する。なお、他の動作機能の箇所に対する定常の制御構成部分については概要のみを図示し、詳細な部分は省略してある。
【0042】
外部書換器200は、その接続部分87Eを、熱源機10・室内機20・操作器30の各接続部分87A・87B・87Dに接続して、熱源機10・室内機20・操作器30の各制御部701・702・703に設けた処理/データ用フラッシュメモリ72Aにおける所要部分の記憶内容の書換を行うための携帯型端末機の一種であり、携帯用のパーソナルコンピュータを目的に合わせて構成したものであってもよい。
【0043】
そして、外部書換器200における制御部705・設定操作部76・通信I/F78などの部分の構成は、熱源機10・室内機20・操作器30の各制御部701・702・703と同様の構成もつものであり、電源部88によって、処理/データ用フラッシュメモリ72Aに対する読出電圧Vp1と消去/書込電圧Vp2とを得るとともに、電圧切換回路89によって読出電圧Vp1または消去/書込電圧Vp2のうちの一方を処理/データ用フラッシュメモリ72Aに与えるように構成し、さらに、接続部分87Eを熱源機10・室内機20・操作器30の各接続部分87A・87B・87Dに接続することにより、その通信I/F78による通信を行うとともに、消去/書込電圧Vp2を熱源機10・室内機20・操作器30の各電圧切換回路85に与えられるように構成してある。
【0044】
熱源機10・室内機20・操作器30の各制御部701・702・703に設けた各処理/データ用フラッシュメモリ72Aと、外部書換器200の制御部705に設けた各処理/データ用フラッシュメモリ72Bとの記憶構成は、図2のように、各処理/データ用フラッシュメモリ72A・72Bにおける記憶領域を、複数の領域、つまり、ブロックに分けてあり、特定の所要部分における記憶内容は書換を禁止するプロテクトを施してあり、他の所要部分の記憶内容全体またはその一部のみを必要に応じて消去/書込、つまり、書換できるように構成したものである。
【0045】
そして、具体的な記憶構成は次のようになっている。つまり、外部書換器200側の処理/データ用フラッシュメモリ72Bでは、アドレスA1からアドレスB1までの記憶領域(1)72B1には、通信・書換用制御処理プログラム、つまり、通信用制御処理と書換用制御処理のためのプログラムを記憶するとともに、書換禁止のプロテクトを施してある。
【0046】
また、アドレスB1+1からアドレスC1までの記憶領域(2)72B2には、熱源機制御用制御処理プログラムのマスタ、つまり、熱源機10の制御部701における空調用制御のためのプログラムの親記憶を記憶し、アドレスC1+1からアドレスD1までの記憶領域(3)72B3には、熱源機制御用データのマスタ、つまり、熱源機10の制御部701における空調用制御のためのデータの親記憶を記憶してある。
【0047】
さらに、アドレスD1+1からアドレスE1までの記憶領域(4)72B4には、室内機制御用制御処理プログラムのマスタ、つまり、室内機20の制御部702における空調用制御のためのプログラムの親記憶を、アドレスE1+1からアドレスF1までの記憶領域(5)72B5には、室内機制御用データのマスタ、つまり、室内機20の制御部702における空調用制御のためのデータの親記憶を記憶してある。
【0048】
また、アドレスF1+1からアドレスG1までの記憶領域(6)72B6には、操作器制御用制御処理プログラムのマスタ、つまり、操作器30の制御部703における空調用制御のためのプログラムの親記憶を、アドレスG1+1からアドレスH1までの記憶領域(7)72B7には、操作器制御用データのマスタ、つまり、操作器30の制御部703における空調用制御のためのデータの親記憶を記憶してあり、これら記憶領域(1)72B1〜記憶領域(7)72B7は書換可能にしておいてもよく、また、書換禁止のプロテクトを施しておき、書換を必要とする際に書換禁止を解除した後に書換を行うようにしてもよい。
【0049】
なお、アドレスH1+1からアドレスI1までの記憶領域(8)72B8は、上記の記憶領域(1)72B1〜記憶領域(7)72B7に記憶すべき記憶内容が増加して、記憶容量が不足した場合の予備として設けた空き部分である。
【0050】
次に、熱源機10・室内機20・操作器30の各制御部701・702・703に設けた各処理/データ用フラッシュメモリ72Aにおける具体的な記憶構成は、それぞれ、アドレスA2からアドレスB2までの記憶領域(1)72B1には、通信・書換用制御処理プログラム、つまり、通信用制御処理と書換用制御処理のためのプログラムを記憶するとともに、書換禁止のプロテクトを施してある。
【0051】
また、アドレスB2+1からアドレスC2までを記憶領域(2)72B2には、制御用制御処理プログラムのマスタ、つまり、当該制御部(701・702・703のうちの該当するもの)における空調用制御のためのプログラムの親記憶を記憶し、アドレスC2+1からアドレスD2までを記憶領域(3)72B3には、制御用データのマスタ、つまり、当該制御部(701・702・703のうちの該当するもの)における空調用制御のためのデータの親記憶を記憶てあり、これら記憶領域(1)72A1〜記憶領域(3)72A4は書換可能にしておいてもよく、また、書換禁止のプロテクトを施しておき、書換を必要とする際に書換禁止を解除した後に書換を行うようにしてもよい。
【0052】
なお、アドレスD2+1からアドレスE2までの記憶領域(4)72A4は、上記の記憶領域(1)72A1〜記憶領域(3)72A3に記憶すべき記憶内容が増加して、記憶容量が不足した場合の予備として設けた空き部分である。また、マスタとする記憶内容と、書換箇所の元の記憶内容には、改版番号を表す「版No.」、つまり、バージョン番号を記憶内容の所定部分、例えば、最初の部分に記憶するようにしてある。
【0053】
次に、図3により、各接続部分87A・87B・87D・87Eと、通信速度の調整と、読出電圧Vp1・消去/書込電圧Vp2の切換との具体的な構成を説明する。なお、図3は、熱源機10・室内機20・操作器30の各制御部701・702・703に設けた各処理/データ用フラッシュメモリ72Aの所要部分の記憶内容を、外部書換器200の制御部705との通信によって、書換を行うのに必要な構成部分のみを抜粋して記載したものであり、他の部分については省略してある。
【0054】
図3において、通信I/F78は、例えば、RS232C規格の送信・受信を行う構成をもつ通信インタフェース用ICであって、接続部分87A・87B・87D・87E、例えば、コネクタの端子、つまり、接続ピンの構成のうち、端子TxD・RxD・RTS・CST・DSR・GND・DTRの部分は、図中の〔接続部分/略号表〕における慣用略号を示したものであって、RS232C(JISx5101)規格におけるピンNo.規格のピン配置が正式ではあるが、所要のピン数をもつ同一のコネクタに、同一のピン配置で接続してあれば、通信路81・82または接続ケーブル81Aを所要の接続にしておくことにより、〔接続部分/略号表〕における相互接続回路の構成と信号の方向とによって、正常の通信を行わせることができる。なお、図1の室内機20に設けた接続部分87Cとそれ接続された通信I/F78も上記の構成と同様の構成になっているが、各処理/データ用フラッシュメモリ72Aの書換処理には関係しないので、ここでは、説明を省略する。
【0055】
この通信には、同期式と非同期式とがあるが、熱源機10・室内機20・操作器30の各制御部701・702・703に用いられている通信I/F78のICの能力や、通信路81・82の長さによって、通信速度に種々の制限が生ずるので、可能な限り通信速度bpsをなるべく速くしたいため、一般に、図3の〔通信速度/サンプリング周波数表〕のような数種の通信速度の中から、可能なものを選択して使用できるようにしている。
【0056】
一方、外部書換器200の制御部705でも、同様に、構成してあるので、現場での書換作業を行う際に、熱源機10・室内機20・操作器30の各制御部701・702・703に用いられている通信速度bpsが分かっている場合には、外部書換器200の制御部705の通信速度を、その通信速度bpsに設定して通信を行えばよい。
【0057】
しかし、一般には、それを現場で調べるには、面倒なことが多いので、非同期式の通信を行い、その通信をサンプリングして、通信速度bpsを確認した後に、処理/データ用フラッシュメモリ72Aの記憶内容の書換制御に適した通信速度bpsに設定した方が、作業がやり易く簡便に行える。
【0058】
そして、非同期式の通信を行うためには、熱源機10・室内機20・操作器30の各制御部701・702・703から、適宜の通信信号、例えば、自己の通信用識別信号などを応答信号として送信させておき、この送信信号を外部書換器200の制御部705で受信した信号をサンプリングして通信速度を知ることができるので、一般に、図3の〔通信速度/サンプリング周波数表〕における最小公倍数/周波数のクロックを発生する機能を設けておき、そのクロックまたはそれを分周して得られるクロックによりサンプリングして相手方の通信速度bpsを判別し、相互に通信可能で、各処理/データ用フラッシュメモリ72Aの消去/書込、つまり、書換に支障がなく、なるべく速い通信速度bpsに設定するようにしている。
なお、この通信速度bpsの設定のための通信は、例えば、外部書換器200の制御部705側から送信要求のコマンド信号、つまり、RST信号を送り、熱源機10・室内機20・操作器30の各制御部701・702・703側から応答が、否定応答信号、つまり、NAK信号であったときには、通信速度bpsを変更し、肯定信号、つまり、ACK信号であったときは、そのときの通信速度bpsを、相互の通信速度bpsとして設定するように構成する。
【0059】
また、接続部分87A・87B・87D・87Eの接続部分を介して、消去/書込電圧Vp2を外部書換器200側から熱源機10・室内機20・操作器30側の各処理/データ用フラッシュメモリ72Aに与えるための接続端子、つまり、接続ピンとして、また、熱源機10・室内機20・操作器30側から、処理/データ用フラッシュメモリ72Aに消去/書込電圧Vp2が与えられた旨の信号を外部書換器200側に与えるための接続端子、つまり、接続ピンとして、端子Vp2IN・Vp2OUTを設けてある。
【0060】
そして、外部書換器200側には、読出電圧Vp1・消去/書込電圧Vp2を得るための電源88と、読出電圧Vp1または消去/書込電圧Vp2のうちのいずれか一方を処理/データ用フラッシュメモリ72Bに与えるように切り換えるための電圧切換回路89を設けてあり、電圧切換回路89は、例えば、切換リレーであって、所要時に、制御部705の制御処理にもとづいて入出力ポート(図示せず)からの制御信号により所要の接続側に切換を行うようにしてある。
【0061】
一方、熱源機10・室内機20・操作器30側には、読出電圧Vp1を得るための電源86と、この読出電圧Vp1、または、接続部分(87A・87B・87Dのうちの1つと87Eとの接続)を介して与えられた消去/書込電圧Vp2のうちのいずれか一方を処理/データ用フラッシュメモリ72Aに与えるように切り換えるための電圧切換回路85を設けてあり、電圧切換回路85は、例えば、切換リレーであって、所要時に、制御部(701・702・703のうちの1つ)の制御処理により入出力ポート(図示せず)からの制御信号により所要の接続側に切換を行うようにしてある。
【0062】
処理/データ用フラッシュメモリ72Aの所要部分における記憶内容の消去/書込、つまり、書換を行うための制御処理は、接続部分87A・87B・87D・87E、例えば、コネクタを、通信路81または通信82を外して、その代わりに、接続ケーブル81Aによって、接続部分87Eを接続部分87A・87B・87Dのいずれか1つに接続する。
【0063】
そして、外部書換器200の制御部705の処理/データ用フラッシュメモリ72Bにおける図2の記憶領域(1)72B1と、熱源機10・室内機20・操作器30の各制御部701・702・703の処理/データ用フラッシュメモリ72Aにおける図2の記憶領域(1)72A1とに、図4のような制御処理フローのプログラムを記憶させておき、それによる通信制御を行うことによって実行することができる。
【0064】
なお、当然のことながら、常時は、外部書換器200の電圧切換回路89と熱源機10・室内機20・操作器30側の電圧切換回路86とは、いずれも、読出電圧Vp1を処理/データ用フラッシュメモリ72A・72Bに与えるように保持している。
【0065】
〔制御処理フローの説明〕
以下、図4の制御処理フローを説明する。図4において、〔外部書換器側〕の制御処理フローは、外部書換器200の設定操作部76における所定のキーを操作して、書換処理を行うマスタの符号を入力することにより、記憶領域(1)72B1〜記憶領域(7)72B7のうちのいずれを用いて書換処理を行うかを指定することによって「開始」される。
【0066】
また、〔熱源機(室内機・操作器)側〕の制御処理フローは、熱源機10・室内機20・操作器30のうちの書換の対象となるものの動作電源を投入することによって「開始」される。なお、図4の制御処理フローにおいて、点線で示したルートは、〔外部書換器側〕〔熱源機(室内機・操作器)側〕間の通信を行う部分である。
【0067】
◆ステップSP0では、〔熱源機(室内機・操作器)側〕が「送信可/CST」の状態にされ、また、◆ステップSP1で、〔外部書換器側〕から「送信要求/RTS」を行うことにより、◆ステップSP2で、〔熱源機(室内機・操作器)側〕から自己の「識別符号」、つまり、通信アドレスを送信する。
【0068】
◆ステップSP3では、通信速度が適確か否かを判別する。適確であればステップSP6に移行し、そうでないときは次のステップSP4に移行する。ここでの判別は、上記の非同期式の通信の場合におけるサンプリングを行って通信速度bpsを判別するとともに、処理/データ用フラッシュメモリ72Aの消去/書込速度、つまり、書換速度に対して速すぎ、または、遅すぎるときは「NO」とし、適切な速度、例えば、1200bpsまたは2400bpsであるときは「YES」として判別するとともに、自己の通信速度bpsを〔熱源機(室内機・操作器)側〕の通信速度bpsに一致させる制御処理を行う。
【0069】
◆ステップSP4では、適切な通信速度bpsにより自己の識別符号を送信することにより、その通信速度bpsに〔熱源機(室内機・操作器)側〕の通信速度bpsを一致させるように指令し、◆ステップSP5では、通信されてきた通信速度bpsに一致された後に、自己の「識別符号」を送信する。そして、ステップSP3で、再度、適切な通信速度になっている否かを確認する。
【0070】
◆ステップSP6では、「版No.」を確認するための指令を送信して、〔熱源機(室内機・操作器)側〕の処理/データ用フラッシュメモリ72Aの書換対象とする記憶領域の「版No.」を応答送信させ、◆ステップSP8で書換を必要とするか否かを判別する。
【0071】
ここでの判別は、送られてきた「版No.」と自己が送信しようとしているマスタの記憶箇所の「版No.」の一致・不一致によって、書換箇所の指定が間違っていないか、また、書換箇所の記憶内容が既に最新版のものに書換を終えていないかを照合して、書換が必要か否かを判別する。書換が必要なときは次の◆ステップSP9に移行し、そうでないきはステップSP17に移行し、◆ステップSP17で、〔外部書換器側〕の表示部77に「書換不可」の表示を行った後に、制御処理を終了する。
【0072】
なお、この場合には、〔熱源機(室内機・操作器)側〕の制御処理は途中の状態で停止しているので、上記の「書換不可」の表示を見た作業者が〔熱源機(室内機・操作器)側〕の動作電源を切ることによって終了させる。
【0073】
◆ステップSP9では、図示していないが、最初に〔熱源機(室内機・操作器)側〕の電圧切換回路85を切換えて消去/書込電圧Vp2を処理/データ用フラッシュメモリ72Aに与える指令送信を行い、消去/書込電圧Vp2が与えられた旨を伝える信号として、処理/データ用フラッシュメモリ72Aに与えている消去/書込電圧Vp2を分岐した電圧を、〔熱源機(室内機・操作器)側〕の端子Vp2/OUTから接続ケーブル81Aを経て、〔外部書換器側〕の端子Vp2/INから制御部705の入出力ポート71に与えることにより、〔外部書換器側〕の制御部705で確認した後に、書換処理を行う記憶領域、例えば、記憶領域(2)72B2の場合には、その記憶内容を読み出して得られるデータを〔熱源機側〕に送信する。なお、上記の電圧切換回路85の切換は、手動で切り換えるもの、例えば、スイッチで構成しておき、書換処理に先立って手動で切り換えるようにしてもよい。
【0074】
◆ステップSP10では、〔外部書換器側〕から送られてきたデータにもとづいて、書換対象とする記憶領域、例えば、記憶領域(2)72A2の記憶内容を消去/書込した後に次のステップSP11に移行する。この消去/書込は、最初に書換対象とする記憶領域の記憶内容を全て消去した後に、所要部分の書込を行うようにして、元の記憶内容が残らないようにする方が、誤って元の記憶内容を読み出して混乱を招くことがなくなるので、好ましい。
【0075】
◆ステップSP11では、書換データが終っているか否かを判別する。終っているときは次のステップSP12に移行し、そうでないときはSP10に戻って残りのデータによる書換を行う。
【0076】
◆ステップSP12では、書換が正常に行われたか否かを判別する。正常に行われているときはステップSP14に移行し、そうでないときはステップSP13に移行して、再び、書換をやり直す。ここでの判別は、書換を行った箇所の記憶アドレスの合計した合計値が所定値になっているか否かによって行うものである。
【0077】
つまり、具体的には、例えば、記憶領域(2)72A2の記憶内容を、記憶領域(2)72B2の記憶内容によって書換を行ったとすれば、記憶領域(2)72B2の記憶内容の最終箇所に、記憶領域(2)72A2の記憶内容を書換えた箇所のアドレスを合計した合計値の下位2桁の値が「00」になるようにした数値を記憶しておくことにより、〔熱源機(室内機・操作器)側〕で、その合計値が「00」になっていることを確認するように構成してある。
【0078】
◆ステップSP13では、再度、書換処理を行う旨の要求指令を〔外部書換器側〕に送信してステップSP8に戻り、再度、同じ書換対象箇所の書換、つまり、書換データの送信と消去/書込とを行う。
【0079】
◆ステップSP14では、電圧切換回路85の切換を行って、処理/データ用フラッシュメモリ72Aに読出電圧Vp1が与えられた状態に戻し、書換処理を行った〔熱源機(室内機・操作器)側〕に表示部77があるものでは「書換完了」の表示を行った後に、書換を完了した旨の応答を〔外部書換器側〕に送信してステップSP15に移行する。
【0080】
◆ステップSP15では、〔外部書換器側〕の制御部705の入出力ポート71に接続部分87Eの端子Vp2/INに与えられていた消去/書込電圧Vp2による信号が無くなったことを確認した後に、〔外部書換器側〕の表示部分77に「書換完了」の表示を行って制御処理を終了する。なお、上記の電圧切換回路85を手動で切り換える構成の場合には、上記の「書換完了」の表示を見た作業者が手動で、読出電圧Vp2側に切り換えるようにすればよい。
【0081】
上記の実施例では、空調制御を行う分散配置型空調装置1000の各制御部701・702・73に設けた処理/データ用フラッシュメモリ72Aに対して外部書換器200により書換処理を行う構成について述べたが、他の一般的な制御対象を制御する装置、つまり、フラッシュメモリCPU型制御装置において、その制御部に設けた処理/データ用フラッシュメモリ72Aを対して、上記の書換処理と同様に、外部書換器200により書換処理を行うように構成し得ることについては、特に説明をすることを要しないであろう。
【0082】
〔実施例の構成の要約
上記の実施例の構成を要約すると、上記の他の一般的な制御対象を制御する装置、つまり、フラッシュメモリCPU型制御装置の構成では、
例えば、処理/データ用フラッシュメモリ72Aのようなフラッシュメモリの所要部分、例えば、記憶領域(2)72A2の部分における記憶内容の書換を外部書換器200からの通信、例えば、通信I/F78による通信にもとづいて行う機能を設けた制御部、例えば、制御部701を有するフラッシュメモリCPU型制御装置において、
【0083】
フラッシュメモリ(処理/データ用フラッシュメモリ72A)の書換に用いる電圧、すなわち、書換電圧を外部書換器200側から制御部701(フラッシュメモリCPU型制御装置、または、フラッシュメモリCPU型制御部)側に伝送するための第1の接続線と
制御部701(フラッシュメモリCPU型制御装置)側に設けた電圧切換回路85の切換によって、フラッシュメモリ(処理/データ用フラッシュメモリ72A)に与えている書換電圧(消去/書込電圧Vp2)そのものを、フラッシュメモリ(処理/データ用フラッシュメモリ72A)に書換電圧(消去/書込電圧Vp2)が与えられている旨の信号として、制御部701(フラッシュメモリCPU型制御装置)側から外部書換器200側に伝送するための第2の接続と、
書換のためのデータ信号を外部書換器200側から制御部701(フラッシュメモリCPU型制御装置、または、フラッシュメモリCPU型制御部)側に伝送するための第3の接続線とを含む接続線により、
外部書換器200と制御部701(フラッシュメモリCPU型制御装置、または、フラッシュメモリCPU型制御部)とを接続する接続手段と、
【0084】
電圧切換回路85の切換にもとづいて、書換電圧(消去/書込電圧Vp2)そのものが外部書換器200側に伝送されているときに、外部書換器200側から書換のためのデータ信号を制御部701(フラッシュメモリCPU型制御装置)側に伝送するデータ信号伝送手段と
を設ける第1の構成と、
【0085】
この第1の構成に付加して、
所定の複数の通信速度の周波数に対する最小公倍数/周波数のクロック、すなわち、源クロックを発生するとともに、上記の通信を非同期式の通信で行って得られる受信信号を、上記の源クロックまたは上記の源クロックを分周して得られるクロックによりサンプリングして通信速度を判別することにより、上記のフラッシュメモリ(処理/データ用フラッシュメモリ72A)の書換に適した通信速度を設定する通信速度設定手段
を設ける第2の構成と、
【0086】
上記の第1の構成に付加して、
上記のフラッシュメモリ(処理/データ用フラッシュメモリ72A)の記憶領域を複数の領域に分けるとともに、この領域に記憶する記憶内容にバージョン情報を付して記憶することにより、所要部分の記憶内容全体または一部のみを書き換える書換記憶手段
を設ける第3の構成と、
【0087】
上記の第1の構成に付加して、
上記の書換を行った箇所、例えば、記憶領域(2)72A2の部分の記憶アドレスの合計値が所定値、例えば、下位2桁が「00」になっているか否かによって、書換を行った記憶箇所が正規の記憶箇所であった否かを判別する判別手段
を設ける第4の構成と、
【0088】
例えば、処理/データ用フラッシュメモリ72Aのようなフラッシュメモリの所要部分、例えば、記憶領域(2)72A2の部分における記憶内容の書換を外部書換器200からの通信、例えば、通信I/F78による通信にもとづいて行う機能を設けたフラッシュメモリCPU型制御部、例えば、制御部701・702を、少なくとも、空調用熱源を給配するための熱源機10と室内機20とに設けた分散配置型空調装置100において、
上記の第1の構成における接続手段・データ信号伝送手段を設ける第5の構成と、
【0089】
上記の第5の構成に付加して、
上記の第2の構成における通信速度設定手段を設ける第6の構成と、
【0090】
上記の第5の構成に付加して、
上記の第3の構成における書換記憶手段を設ける第7の構成と、
上記の第5の構成に付加して、
上記の第4の構成における判別手段を設ける第8の構成と
を構成していることになるものである。
【0091】
〔第2実施例〕
以下、第2実施例を図5〜図7により説明する。この第2実施例は、上記の第1実施例における書換処理を行う部分の具体的な実施構成である。図5において、処理/データ用フラッシュメモリ72A(72B)は、例えば、128kバイトのROM用フラッシュメモリであって、図中に示すアドレスの間にある各記憶領域を各ブロック0〜7として8つの記憶領域に分けるとともに、記憶の消去/書込、つまり、書換が行えるように構成したものであり、各アドレス00000〜1FFFFは、10〜15の数をA〜Fによって表すようにした16進数によるアドレス値によって消去/書込が行えるようにしてある。
【0092】
図6において、〔記憶領域/版No.確認の通信信号〕の各信号は、上記の第1実施例における「版No.」の確認を行うための制御処理に用いる信号の構成例であって、◆外部書換器200のCPU70側からの指令信号S01Aと、◆外部書換器200が接続された機器、つまり、書換対象とする熱源機10・室内機20・操作器30のうちのいずれか1つの機器のCPU70側からの応答信号S01Bの構成との具体的な信号例である。
【0093】
また、〔記憶領域/消去の通信信号〕の各信号は、上記の第1実施例における「消去/書込」を行う制御処理のうちの「消去」のみを行う部分の制御処理に用いる信号の構成例であって、◆外部書換器200のCPU70側からの指令信号S02Aと、◆外部書換器200が接続された機器、つまり、書換対象とする熱源機10・室内機20・操作器30のうちのいずれか1つの機器のCPU70側からの応答信号S02Bの構成との具体的な信号例である。
【0094】
さらに、〔記憶領域/プログラム・データ書込の通信信号〕の各信号は、上記の第1実施例における「消去/書込」を行う制御処理のうちの「書込」のみを行う部分の制御処理に用いる信号の構成例であって、◆外部書換器200のCPU70側からの指令信号S03Aと、◆外部書換器200が接続された機器、つまり、書換対象とする熱源機10・室内機20・操作器30のうちのいずれか1つの機器のCPU70側からの応答信号S03Bの構成との具体的な信号例である。
【0095】
図7は、上記の各通信信号によって、「版No.」の確認と、「消去」と、「書込」とを行う制御処理フロー例である。以下、図7の制御処理フローを説明する。なお、〔外部書換器側〕が外部書換器200のCPU70が行う制御処理であり、〔熱源機(室内機・操作器)側〕が書換対象とする熱源機10・室内機20・操作器30のうちのいずれか1つの機器のCPU70が行う制御処理であって、点線で示す部分は通信を行う部分である。
【0096】
〔制御処理フローの説明〕
◆ステップSP101では、「版No.」確認のための指令として、図6の指令信号S01Aを送信し、ステップSP102移行する。
◆ステップSP102では、書換対象として指令された記憶領域のブロック、つまり、ブロック1の「版No.」を読み出して得られる「002」を版No.の応答データとして、図6の応答信号S01Bを送信し、ステップSP103に移行する。
【0097】
◆ステップSP103では、「書換」を行う必要があるか否かを判別し、書換を行うときには次のステップSP104に移行し、そうでないときは、終了に移行する。この判別は、外部書換器200の処理/データ用フラッシュメモリ72Bに記憶された書換対象とする書換マスタの記憶領域対象に記憶されている「版No.」を読み出して得られたデータと、応答送信されてきた「版No.」の応答データ「002」とを比較して、同一であるときは、「書換」を行う必要がないものとし、同一でないときは、「書換」を行う必要があるものとする。
【0098】
◆ステップSP104では、「書換」を行う記憶領を「消去」するための指令として、図6の指令信号S02Aを送信し、ステップSP105に移行する。
◆ステップSP105では、消去対象として指令された記憶領域のブロック、つまり、ブロック1の「消去」処理を行って次のステップSP106に移行する。
【0099】
◆ステップSP106では、「消去」処理を行った結果により得られる「消去状態」のデータ、つまり、消去終了「A1」または消去失敗「A2」を応答データとして、図6の応答信号S02Bを送信し、ステップSP107に移行する。
【0100】
◆ステップSP107では、「消去」が正常に行われたか否かを判別し、正常に行われたときは次のステップSP108に移行し、そうでないときはステップSP112に移行する。この判別は、応答信号S02Bの応答データが消去終了「A1」のときは正常とし、消去失敗「A2」のときは正常に行われなかったもの、つまり、「消去異常」とする。
【0101】
◆ステップSP108では、指定した記憶領域に書込を行うための指令として、図6の指令信号S03Aを送信し、ステップSP109に移行する。
◆ステップSP109では、書込対象として指令された記憶領域のブロック、つまり、ブロック1に、指令信号S03Aによって送信されてきた「書込データ」の「書込」処理を行って次のステップSP110に移行する。
【0102】
◆ステップSP110では、「書込」処理を行った結果により得られる「書込状態」のデータ、つまり、書込終了「B1」または書込失敗「B2」を応答データとして、図6の応答信号S03Bを送信した後に、〔熱源機(室内機・操作器)側〕の制御処理を終了するとともに、ステップSP111に移行する。
【0103】
◆ステップSP111では、「書込」が正常に行われたか否かを判別し、正常に行われたときは終了し、そうでないときはステップSP114に移行する。この判別は、応答信号S03Bの応答データが書込終了「B1」のときは正常とし、書込失敗「B2」のときは正常に行われなかったもの、つまり、「書込異常」とする。
【0104】
◆ステップSP112では、指定した記憶領域の消去状態が「消去異常」である旨の警報、つまり、「消去異常警報」を行って、次のステップSP113に移行する。この警報は、例えば、外部書換器200の制御部705に付設した表示部77に文字または図形で警報表示するほか、必要に応じて、表示部77に設けた警音器により警報する。
【0105】
◆ステップSP113では、「消去異常警報」を解除する旨の操作が行われた否かを判別し、解除されてきたときは終了に移行し、そうでないときはステップSP112に戻る。この解除は、例えば、外部書換器200の制御部705に付設した設定操作部76に設けた所定の操作キーを操作して行う。
【0106】
◆ステップSP114では、指定した記憶領域の書込状態が「書込異常」である旨の警報、つまり、「書込異常警報」を行って、次のステップSP115に移行する。この警報は、例えば、外部書換器200の制御部705に付設した表示部77に文字または図形で警報表示するほか、必要に応じて、表示部77に設けた警音器により警報する。
【0107】
◆ステップSP115では、「書込異常警報」を解除する旨の操作が行われた否かを判別し、解除されてきたときは終了に移行し、そうでないときはステップSP114に戻る。この解除は、例えば、外部書換器200の制御部705に付設した設定操作部76に設けた所定の操作キーを操作して行う。
【0108】
〔第3実施例〕
以下、第3実施例を図8・図9により説明する。この第3実施例は、上記の第1実施例における通信速度変更処理を行う部分の具体的な実施構成である。図8において、〔通信速度/変更の通信信号〕の各信号は、上記の第1実施例における「通信速度変更」を行うための制御処理に用いる信号の構成例であって、◆外部書換器200のCPU70側からの指令信号S04Aと、◆外部書換器200が接続された機器、つまり、書換対象とする熱源機10・室内機20・操作器30のうちのいずれか1つの機器のCPU70側からの応答信号S04Bの構成との具体的な信号例である。なお、通信速度の選択は、指令信号S04Aの箇所に示した速度記号「10」〜「14」に対応する各通信速度のうちから選択するように構成してある。
【0109】
図7は、上記の各通信信号によって、「通信速度変更」を行う制御処理フロー例である。以下、図7の制御処理フローを説明する。なお、〔外部書換器側〕〔熱源機(室内機・操作器)側〕と、点線で示す部分とは、図7の場合と同様であり、〔熱源機(室内機・操作器)側〕の通信速度の初期値は、速度記号「11」に対応する通信速度に設定してある。
【0110】
〔制御処理フローの説明〕
◆ステップSP201では、「通信速度変更」のための指令として、図8の指令信号S04Aを送信し、ステップSP202移行する。
【0111】
◆ステップSP202では、通信速度の「速度変更」が可能であるか否かを判別し、可能できるとは次のステップSP203に移行し、そうでないときはステップSP205に移行する。この判別は、〔熱源機(室内機・操作器)側〕の処理/データ用フラッシュメモリ72Aに記憶された各「通信速度記号」のデータを読み出して得られたデータと、指令送信されてきた「通信速度記号」のデータ「13」とを比較して、データ「13」と同一の記号があるときは、その通信速度に「速度変更可能」とし、同一の記号がないときは、「速度変更不可能」とする。
【0112】
◆ステップSP203では、図8の応答信号S04Bにおける変更可否のデータ記号を変更許可「C1」にして送信し、ステップSP206に移行するとともに、次のステップSP204に移行する。
◆ステップSP204では、通信速度をデータ「13」の通信速度に変更した後に〔熱源機(室内機・操作器)側〕の制御処理を終了する。
【0113】
◆ステップSP205では、図8の応答信号S04Bの変更可否のデータ記号を変更拒否「C2」にして送信し、ステップSP206に移行する。
◆ステップSP206では、通信速度を変更するか否かを判別し、変更するときは次のステップSP207に移行し、そうでないときは、通信速度を変更しないで終了する。この判別は、応答信号S04Bの変更可否データが、変更許可「C1」のときは変更とし、変更拒否「C2」のときは変更しないものとする。
◆ステップSP204では、通信速度をデータ「13」の通信速度に変更した後に終了する。
【0114】
〔第4実施例〕
以下、第4実施例を図10〜図13により説明する。この第4実施例は、上記の第1実施例における書換が正常に行われたか否かを判別するための制御処理を行う部分の具体的な実施構成である。図10において、外部書換器200の処理/データ用フラッシュメモリ72Bは、例えば、128kバイトのROM用フラッシュメモリであって、適宜のアドレスの間にある各記憶領域を各ブロック0〜7として8つの記憶領域に分けてある。
【0115】
そして、ブロック0には外部書換器200自体の制御処理プログラムを、ブロック1には熱源機10の制御処理プログラムを書換するための書換マスタ(1)を、ブロック2には室内機20の制御処理プログラムを書換するための書換マスタ(2)を、ブロック3には操作器30の制御処理プログラムを書換するための書換マスタ(3)を、それぞれ記憶し、他のブロック4〜7は未使用部分、つまり、空き部分としたものであり、最終アドレス1FFFFにアドレス合計値判別用データALLSUMを記憶してある。
【0116】
図11において、書換対象機器とする熱源機10・室内機20・操作器30のうちのいずれか1つの機器の処理/データ用フラッシュメモリ72Aは、例えば、128kバイトのROM用フラッシュメモリであって、アドレス0000からアドレス1C000の1つ前のアドレスまでの間にある各記憶領域が自己の制御処理プログラムを記憶する記憶領域である。また、アドレス1C000から最終アドレス1FFFFまでの間の記憶領域が未使用部分、つまり、未使用記憶領域になっており、最終アドレス1FFFFがアドレス合計値判別用データALLSUMを記憶するためのアドレスになっている。
【0117】
そして、アドレス0000からアドレス1C000の1つ前のアドレスまでの間にあるアドレスの合計値が16進数の55h、各未使用記憶領域のアドレスの合計値が16進数のFFhであったとすると、アドレス合計値判別用データALLSUMの値は、図11の〔アドレス合計値判別用データ(ALLSUM)の演算式〕による演算によって求めることができ、また、書換が正常に行われたか否かを判別するためのアドレス合計値判別結果データFLASHSUMの値、つまり、下2桁を00hにするための値は、図11の〔アドレス合計値判別結果データ(FLASHSUM)の演算式〕による演算によって求めることができる。
【0118】
図12において、〔アドレス合計値判別の通信信号〕の各信号は、上記のアドレス合計値判別を行うための制御処理に用いる信号の構成例であって、◆外部書換器200のCPU70側からの指令信号S05Aと、◆外部書換器200が接続された機器、つまり、書換対象とする熱源機10・室内機20・操作器30のうちのいずれか1つの機器のCPU70側からの応答信号S05Bの構成との具体的な信号例である。
【0119】
図13は、上記の各通信信号によって、アドレス合計値判別を行う制御処理フロー例である。以下、図13の制御処理フローを説明する。なお、〔外部書換器側〕〔熱源機(室内機・操作器)側〕と、点線で示す部分とは、図7の場合と同様である。
【0120】
〔制御処理フローの説明〕
◆ステップSP301では、アドレス合計値判別のための指令として、図12の指令信号S05Aを送信し、ステップSP302移行する。
【0121】
◆ステップSP302では、指令信号S05Aによって送られてきた判別用データALLSUMのデータ、例えば、16進数の「10F0101h」を最終アドレス1FFFFに記憶するとともに、図11の〔アドレス合計値判別結果データ(FLASHSUM)の演算式〕による演算を行って、判別結果データFLASHSUM、例えば、16進数の「001000h」を求めた後、次のステップSP303に移行する。
【0122】
◆ステップSP303では、図12の応答信号の判別結果データをFLASHSUM「001000h」にして送信し、ステップSP304に移行するとともに、〔熱源機(室内機・操作器)側〕の制御処理を終了する。
【0123】
◆ステップSP304では、アドレス合計値判別の結果が正常であるか否かを判別し、正常であるときは終了し、そうでないときは、つまり、異常のときは次のステップSP305に移行する。この判別は、応答信号S05Aの判別結果データFLASHSUM「001000h」の値の下2桁が「00h」であるとはき正常とし、そうでないときは異常とする。
【0124】
◆ステップSP305では、アドレス合計値判別の結果が異常である旨の警報、つまり、「判別異常警報」を行って、次のステップSP306に移行する。この警報は、例えば、外部書換器200の制御部705に付設した表示部77に文字または図形で警報表示するほか、必要に応じて、表示部77に設けた警音器により警報する。
【0125】
◆ステップSP306では、「判別異常警報」を解除する旨の操作が行われた否かを判別し、解除されてきたときは終了に移行し、そうでないときはステップSP306に戻る。この解除は、例えば、外部書換器200の制御部705に付設した設定操作部76に設けた所定の操作キーを操作して行う。
【0126】
〔変形実施〕
この発明は次のように変形し実施することを含むものである。
(1)書換を行う記憶内容を、図2の各記憶領域に記憶されている記憶内容を、さらに、区分けした記憶領域の部分、例えば、熱源機制御用制御処理プログラムを、例えば、第1のプログラム部分、第2のプログラム部分、第3のプログラム部分のように分けたうちの1つのプログラム部分のみを書換するように制御処理し、または、書換禁止した記憶領域を除く全ての記憶領域を1回の書換処理で書換するように制御処理する。
【0127】
(2)接続部分87Cとそれに接続された通信I/F78と、通信路82とを除去し、操作器30の接続部分87Dを通信路81に接続するとともに、通信路82に、端子Vp2/OUTと端子Vp2/INとを接続するための導線を追加して設け、接続部分87A・87B・87Dのうちのいずれか1つの箇所に、それと同一の接続部分87Xを並列に接続して設けておき、この接続部分78Xに接続部分87Eを接続することによって、通信路81を介して、熱源機10・室内機20・操作器30の各制御部701・702・703の各制御/データ用フラッシュメモリ72Aの記憶内容を、所要の順次で書換処理するように構成する。
【0128】
(3)中央監視制御盤50、または、それに代わる簡単な制御機能をもつ中央制御器を設けた構成の分散配置型空調装置100に適用して構成する。
(4)外部書換器200の制御/データ用フラッシュメモリ72Bを、普通のROMに変更するとともに、ソケットを用いて交換可能に装着しておき、書換に用いる記憶内容のマスタを、ROMライタで書換するように構成する。
【0129】
(5)通信速度が固定された構成で、通信速度の変更を行わない場合には、例えば、図3の接続部分87Eにおける端子RTSと端子CTSとの間を予め短絡させて構成するか、または、これらの端子の間に設けたスイッチを操作して短絡させて通信を行うように構成する。
【0130】
【発明の効果】
この発明によれば、以上のように、フラッシュメモリの書換に用いる電圧、つまり、消去/書込電圧を、外部書換器側から与えて書換処理を行うため、定常の動作時における各制御部間の通信における誤通信によって、フラッシュメモリの記憶内容が書換られてしまうことが無くなるので、フラッシュメモリを用いて制御装置を構成した場合でも、記憶内容が誤って書換られることにより運転制御を暴走させて、危険性のある事故を招くようなことがなくなる。
【0131】
また、分散配置型空調装置のように、各制御部が分散して離れた箇所に配置されているものでは、携帯型の外部書換器を持ち歩いて、単に、通信用の接続部分に接続してフラッシュメモリの記憶内容の書換を行うだけの作業で、各配置機器の制御処理機能を最新型のもの更新できるなどの特長がある。
【図面の簡単な説明】
図面中、図1〜図13はこの発明の実施例を、また、図14〜図16は従来技術を示し、各図の内容は次のとおりである。
【図1】全体ブロック構成略図
【図2】要部記憶構成図
【図3】要部ブロック構成図
【図4】要部制御処理フロー図
【図5】要部記憶構成図
【図6】要部信号構成図
【図7】要部通信構成図
【図8】要部信号構成図
【図9】要部通信構成図
【図10】要部記憶構成図
【図11】要部記憶構成図
【図12】要部信号構成図
【図13】要部通信構成図
【図14】全体ブロック構成図
【図15】要部ブロック構成図
【図16】全体構成斜視図
【符号の説明】
10 熱源機
11 圧縮部
12 熱交換器
12A 送風機
13 流路切換部
20 室内機
21 熱交換器
21A 送風機
30 操作器
50 中央監視制御盤
70 CPU
71 入出力ポート
72 処理メモリ
72A フラッシュメモリ
72B フラッシュメモリ
73 作業メモリ
74 データ用メモリ
75 時計回路
76 設定操作部
77 表示部
78 通信I/F
81 通信路
82 通信路
83 管路
84 空調対象室
85 電圧切換
86 電源
87A 接続部分
87B 接続部分
87C 接続部分
87D 接続部分
87E 接続部分
88 電源
89 電圧切換
100 分散配置型空調装置
700 制御部
701 制御部
702 制御部
703 制御部
705 制御部
D1 温度検出器
D1A 室内温度値
D2 温度検出器
D2A 熱交換器温度値
T1 目標温度値
V2 流量調整弁
V2A 駆動部分
Vp1 読出電圧
Vp2 消去/書込電圧
[0001]
[Technical field to which the invention belongs]
The present invention relates to a control device having a control unit storing a control processing program or the like in a flash memory, and a device using the same, for example, a distributed arrangement type air conditioner.
[0002]
[Prior art]
The basic components of the air conditioner in which each device is arranged as a distributed enemy, that is, the distributed arrangement type air conditioner 100, are summarized. As shown in FIG. A heat source supply system that gives a heat source from the heat source unit 10 to the indoor unit 20 to cool or warm the air in the air-conditioning target room 84, and an operating condition of cooling or heating from the operating unit 30 arranged in the air-conditioning target room 84 The air conditioner control system configured to control the air conditioner operation by setting it in the indoor unit 20 is mainly configured, and the central monitoring control panel 50 monitors and controls only necessary ones of the air conditioner operations as necessary. It has a configuration with a control system added.
[0003]
And in a small-scale thing, the group composition which made one set the thing which combined one unit or a plurality of indoor units 20 with respect to one heat source machine 10 is made into a basic composition, and in a large-scale thing, the above-mentioned The basic configuration is configured by arranging a plurality of sets as shown in FIG. In the present invention, “cooling / heating” includes three cases: a case where only cooling is performed, a case where only heating is performed, and a case where cooling and heating are selectively performed.
[0004]
As a heat source for air conditioning and heating, that is, a heat source for air conditioning, one using a compression refrigeration cycle, one using an absorption refrigeration cycle, and the like are used. A configuration in which a heat source is obtained by a compressed thermal operation fluid is disclosed in, for example, Japanese Patent Application Laid-Open No. 6-146987.
[0005]
In FIG. 14, a circuit portion by a pipe 83 shown by a double line is a pipe for supplying / managing a heat operation fluid for obtaining a heat source, for example, a refrigerant fluid, and a circuit portion shown by a thin line is an electric line. The heat source device 10 is generally referred to as an outdoor unit because it is disposed outdoors, but may be disposed indoors.
[0006]
Then, the compression unit 11 of the heat source device 10 drives a rotary compressor with a driving source such as a gas engine or an electric motor, for example, to obtain a heat operation fluid for obtaining a heat source, for example, refrigerants such as Freon R22 and Freon R137. This is a portion to be pressurized, and heat applied at a low pressure after finishing the required thermal operation by applying the pressurized thermal operation fluid to a pipe line passing through the heat exchanger 12 of the heat source unit 10 and the heat exchanger 21 of the indoor unit 20. The operating fluid is circulated so as to return to the compression unit 11 and pressurize it again.
[0007]
When the indoor unit 20 performs the cooling operation, the flow path switching unit 13 of the heat source unit 10 connects the heat exchanger 21 on the indoor unit 20 side so as to operate as a heat exchanger for heat absorption, and the heat source unit When the pipes are connected so that the heat exchanger 12 on the 10 side operates as a heat exchanger for heat dissipation, and when the indoor unit 20 performs a heating operation, the heat exchanger 12 on the heat source apparatus 10 side is connected. It is a part which connects each pipe line so that it may operate as a heat exchanger for heat absorption, and heat exchanger 21 by the side of indoor unit 20 operates as a heat exchanger for heat dissipation, for example, a four-way valve etc. This is a flow path switching mechanism that electrically operates the switching valve.
[0008]
Further, when the heat source is constituted by an absorption refrigeration cycle, for example, the compression unit 11, the heat exchanger 12, and the flow path switching unit 13 are replaced with a first heat operation fluid, for example, a mixture of ammonia and water. The absorber is changed to an absorber / regenerator / condenser / evaporator, etc., for circulating and operating the absorption liquid by the heat, and a second thermal operation fluid, for example, water is connected to a pipe line passing through the inside of the evaporator. Is used to obtain cold water or hot water, and the second heat operation fluid is supplied to the heat exchanger 21 of the indoor unit 20.
[0009]
Then, the control unit 703 of the operating device 30 includes a data signal related to an operating condition such as a data signal of the indoor temperature value D1A detected by the temperature detector D1, a cooling or heating target temperature value TA set and input by the setting operation unit 75, Command signals such as operation start / stop, that is, command signals are stored, and necessary data or commands are given to the control unit 702 of the indoor unit 20 via the communication path 82. In addition, since the operating device 30 does not perform the role of remotely controlling the indoor unit 20, it is generally called a remote controller or a remote controller for short.
[0010]
The control unit 702 of the indoor unit 20 stores the heat exchanger temperature value D2A detected by the temperature detector D2, other detection data signals, the data signal given from the operation unit 30, and the like, and the heat exchanger temperature value D2A. To the target temperature value TA given from the control unit 703 of the operating device 30 and the heat exchanger 21 and the driving portion V2A of the flow rate adjusting valve V2 that adjusts the flow rate of flowing the heat operating fluid to the heat exchanger 21. The air flow rate of the blower 21A that ventilates the room air is controlled, and a required data signal relating to the operation start / stop / operation state is supplied to the control unit 701 of the heat source device 10 via the communication path 81. Furthermore, when the central monitoring control panel 50 is provided, the control unit 700 of the central monitoring control panel 50 is also provided.
[0011]
The control unit 701 of the heat source unit 10 stores a data signal and a command signal given from the indoor unit 10, and based on these data, switches the channel direction of the channel switching unit 13 and heat exchanger. 12 for controlling the flow rate of the flow control valve V1 that circulates the heat operating fluid to the heat exchanger 12 and the air flow rate of the blower 12A that ventilates the outdoor air to the heat exchanger 12, and when the central monitoring control panel 50 is provided, Necessary data signals relating to the stop / operation state and the like are also supplied to the control unit 700 of the central monitoring control panel 50 via the communication path 81.
[0012]
The control unit 700 of the central monitoring control panel 50 is provided with a data signal relating to operation start / stop / operation conditions and the like set and input from the setting operation unit 76, from the control unit 702 of the indoor unit 10 and the control unit 701 of the heat source unit 20. The data signal such as the data signal is stored, the required one of these data signals is displayed on the display unit 77, and the required data signal and the command signal regarding the operation start / stop / operation state are communicated with the communication path. The control unit 701 and 702 of the heat source unit 10 and the indoor unit 20 are given through 81.
[0013]
The control units 700, 701, 702, and 703 provided in the heat source unit 10, the indoor unit 20, the operation unit 30, and the central monitoring and control panel 50 are mainly composed of a microcomputer type control processing function (hereinafter referred to as a CPU) 70. As shown in FIG. 15, a commercially available CPU board (CPU / B) or the like is used.
[0014]
In FIG. 15, each of the control units 700, 701, 702, and 703 includes detection signals obtained by detecting the states of the respective units, data based on operation signals input by operating the setting operation unit 76, and a communication path 81. Data and control command signals given from other control units via 82 are taken as input data from the input / output port 71 and stored in the work memory 73, for example, RAM, and these data and processing memory 72, for example, based on the processing flow program stored in advance in the ROM and the data memory 74, for example, electrically rewritable PROM, ie, reference values stored in the EEPROM, etc. The control signal for controlling each part obtained in this way and the data signal to be given to the other control part are outputted from the input / output port 71. Are you.
[0015]
Further, the display unit 77 displays data such as the operation state / control state of each part and each setting state as necessary. In the configuration of FIG. 15, each detection signal, each control signal, the setting operation unit 76, and the display unit 77 are in accordance with the configuration of the heat source unit 10, the indoor unit 20, the operation unit 30, and the central monitoring control panel 50. The required items are selected and provided.
[0016]
The communication paths 81 and 82 between the control units 700, 701, 702, and 703 are composed of, for example, a communication two-core coaxial cable, a two-core twisted wire, and the like, and data signals and command signals between the control units 70, for example. A communication I / F 78 is provided as a communication connection interface for transmitting and receiving the communication, and the communication I / F 78 is configured using a communication IC such as the RS232C standard or the RS485 standard.
[0017]
In such a communication configuration, an identification code for communication, that is, a communication address is set in each of the control units 700, 701, 702, and 703, and this communication address is used as data of “destination” and “sender”. For example, the required communication command control is performed by communication using a communication signal such as [Configuration of communication signal] in FIG.
[0018]
The communication path 82 between the control unit 703 of the controller 30 and the control unit 702 of the indoor unit 20 may be configured by a wireless transmission path using optical communication such as infrared rays. A transmission / reception function corresponding to such a wireless transmission path is provided in the I / F 78 portion.
[0019]
In addition, as shown in FIG. 16, the arrangement configuration of each device includes a configuration in which the devices are distributed in one building and a configuration in which the devices are distributed in a plurality of buildings. 81 and 82 are appropriately selected depending on the arrangement and the number of devices. In FIG. 16, the reciprocating portion of each pipe 83 through which the thermal operation fluid flows is simply drawn with a thick solid line.
[0020]
In the processing memory 72 and the data memory 74 of each control unit 700, 701, 702, and 703 in the distributed arrangement type air conditioner 100, a control processing flow program and control necessary for performing the above-described control processing are stored. Data values used for the reference value of the data are stored, but in order to update the function, that is, to upgrade the version according to the progress of the control processing method, the stored contents such as the program and the data value are updated to the latest version. There is a need.
[0021]
As a method for updating the stored contents, generally, a method is adopted in which a memory IC is inserted into a socket and attached, and when necessary, the memory IC can be replaced with the latest stored contents. However, the control units 700, 701, 702, and 703 in the air conditioner need to withstand intermittent vibrations and rapid temperature changes, and contact failure is likely to occur with such a socket mounting method. A method of connecting securely is taken.
[0022]
For this reason, since the old CPU board (CPU / B) has to be replaced, the function update cannot be performed at a low cost and the replacement service requires a long time.
[0023]
On the other hand, since the flash memory has become cheaper due to the technological advancement of the memory IC, the provision of a device in which the flash memory is built in the microcomputer and the stored contents can be rewritten on the substrate is provided in 1996. It is well known by the radio newspaper “High Technology” published on September 26, 1980.
[0024]
This flash memory has the same function as an electrically rewritable PROM (Programmable Read-Only Memory), that is, an EEPROM (Electrically Erasable PROM). However, the flash memory differs in the following points. It is well known from the catalogs of manufacturing companies.
[0025]
That is, first, when changing the stored content, the EEPROM overwrites the original stored content, whereas the flash memory performs the writing after erasing the original stored content. Secondly, the writing speed can be shortened to about 10 μs in the flash memory, that is, 1/1000 that in the EEPROM, compared with about 10 ms in the EEPROM. In the case where the cost per bit is assumed that the EEPROM cost is 100, the flash memory cost can be provided at about 10 or less at present and the cost can be reduced. Fourth, erasing and writing (hereinafter referred to as erasing / writing), that is, rewriting is possible for each block obtained by dividing one flash memory into a plurality of areas. Also, it is that it is possible to perform a protection to prohibit only the erase / write for the required block. Generally, erasing / writing, that is, rewriting can be performed by changing the reading voltage 5V to the erasing / writing voltage 12V.
[0026]
In addition, in a configuration in which a mutual communication configuration in a microcomputer type computer, for example, a small computer device such as a personal computer, is configured using a communication connection interface such as the RS232C standard, a CPU board (CPU / B A configuration in which the rewriting of the stored contents of the PROM arranged above is rewritten by communication from the outside is disclosed in the "Transistor Technology" magazine January 1991 issue and the like.
[0027]
[Problems to be solved by the invention]
According to each of the above prior arts, a configuration in which a control unit having a configuration for storing a CPU control processing program and data in a flash memory performs a required control process on a control target (in the present invention, a flash memory) In the distributed type air conditioner described above, a configuration in which the content stored in the flash memory is rewritten by communication from an external terminal in a CPU type control device or flash memory CPU type control unit) is used. It is conceivable to eliminate the inconvenience at the time of updating the function of the part.
[0028]
However, if the configuration is such that it can be rewritten by communication from the outside, the stored contents will be accidentally erased / rewritten due to miscommunication during communication with other control units, and control processing will run out of control. It will cause a dangerous accident.
[0029]
In other words, for example, in the above-described distributed arrangement type air conditioner, if the control processing flow program of each control unit is rewritten by mistake, the operation control may run away, causing a serious accident such as a fire due to overheating. In the case of a crane or the like that controls the movement of heavy or dangerous goods, there is a problem in that it causes a serious accident such as damage to a building or equipment or a fire.
For this reason, there is a problem that it is desired to provide a storage contents rewritable small computer apparatus and a utilization apparatus thereof without such inconvenience.
[0030]
[Means for Solving the Problems]
  The present invention is as described above.
  In a flash memory CPU type control device having a control unit provided with a function of performing rewriting of stored contents in a required portion of the flash memory based on communication from an external rewrite device,
  A voltage used for the rewrite, that is, a first connection line for transmitting the rewrite voltage from the external rewrite device side to the flash memory CPU type control device side;
  By switching the voltage switching circuit provided on the flash memory CPU type control device side, the rewrite voltage itself applied to the flash memory is replaced with the rewrite voltage applied to the flash memory. A second connection for transmitting as a signal from the flash memory CPU type control device side to the external rewrite device side;
  A third connection line for transmitting the data signal for rewriting from the external rewriter side to the flash memory CPU type control device side;
  Connecting means for connecting the external rewrite device and the flash memory CPU type control device by a connection line including:
  Based on the switching of the voltage switching circuit, when the rewriting voltage itself is transmitted to the external rewriting device side, the data signal for rewriting is sent from the external rewriting device side to the flash memory CPU type control. Data signal transmission means for transmitting to the device side;
  A first configuration providing:
[0031]
  This first configurationIn addition to
  A clock having a least common multiple / frequency with respect to a predetermined plurality of communication speed frequencies, that is, a source clock is generated, and a reception signal obtained by performing the above communication in an asynchronous communication is used as the above source clock or the above Communication speed setting means for setting the communication speed suitable for the above-described rewriting by sampling the clock obtained by dividing the source clock to determine the communication speed
  A second configuration providing:
[0032]
  UpIn addition to the first configuration described above,
  Rewrite storage means for rewriting the entire stored contents or only a part of the required part by dividing the storage area of the flash memory into a plurality of areas and adding the version information to the stored contents stored in the area
  A third configuration for providing
[0033]
  In addition to the first configuration above,
  A discriminating means for discriminating whether or not the above-mentioned rewriting has been normally performed depending on whether or not the total value of the storage addresses of the places where the above-mentioned rewriting has been performed is a predetermined value
  A fourth configuration providing:
[0034]
  A heat source device for supplying at least a heat source for air conditioning to a flash memory CPU type control unit having a control unit provided with a function of performing rewriting of stored contents in a required part of the flash memory based on communication from an external rewrite unit In the distributed arrangement type air conditioner installed in the indoor unit
  In the first configuration aboveConnection means / data signal transmission meansA fifth configuration providing:
  The fifth configuration described aboveIn addition to
  Communication speed setting in the second configurationProvide meansA sixth configuration,
[0035]
  The fifth configuration described aboveIn addition to
  In the third configuration aboveRewrite storage meansA seventh configuration for providing
  The fifth configuration described aboveIn addition to
  Discriminating means in the above fourth configurationThe above-described problem is solved by the eighth configuration provided with the above.
[0036]
DETAILED DESCRIPTION OF THE INVENTION
As an embodiment of the present invention, an embodiment in which the present invention is applied to the configuration of the distributed arrangement type air conditioner 1000 described with reference to FIGS. 14 to 16 will be described.
[0037]
【Example】
Examples will be described below with reference to FIGS. 1 to 13 are portions having the same functions as the portions having the same reference numerals described in FIGS. 14 to 16. 1 to 13 are portions having the same functions as the portions having the same reference numerals described in any of FIGS. 1 to 13.
[0038]
[First embodiment]
The first embodiment will be described below with reference to FIGS. In FIG. 1, the distributed arrangement type air conditioner 1000 shows only a basic configuration part in which each of the heat source unit 10, the indoor unit 20, and the operation unit 30 is representatively arranged, but depending on the size of the device, The arrangement of the required number of bases and the arrangement of the central monitoring control panel 50 as necessary are as described in the description of the prior art.
[0039]
And the location where the configuration of the heat source unit 10, the indoor unit 20 and the operating unit 30 is different from the configuration of the prior art of FIGS. 14 and 15 is the processing memory 72 for storing the program of the control processing flow as the first change location. In place of the data memory 74 for storing data necessary for the control processing, a processing / data flash memory 72A in which the stored contents are stored in a commercially available flash memory is provided. The location is a read voltage Vp1 for reading (generally referred to as Vpp, but here abbreviated as Vp), for example, only 5V for the read / erase / write voltages of the processing / data flash memory 72A. 86, the erase / write, that is, the erase / write voltage Vp2 for rewrite, for example, 12V, is applied from the external rewriter 200 described later. Together constituting a portion of which is configured by providing a voltage switching circuit 85 to provide only one of the read voltage Vp1 or erase / write voltage Vp2 to the flash memory 72A for processing / data.
[0040]
Then, the third changed portion is connected to the connection portions 87A, 87B and 87D where the communication paths 81 and 82 and each communication I / F 78 are connected, that is, to the connection portion of the connection terminal or connector from the external rewrite device 200. This is a location provided with a connection location for applying the erase / write voltage Vp2.
[0041]
Specific configurations of the first to third changed portions will be described later with reference to FIGS. In addition, only the outline | summary is shown about the steady control structure part with respect to the location of another operation function, and the detailed part is abbreviate | omitted.
[0042]
The external rewrite unit 200 connects the connection portion 87E to the connection portions 87A, 87B, and 87D of the heat source unit 10, the indoor unit 20, and the operation unit 30, and each of the heat source unit 10, the indoor unit 20, and the operation unit 30. A type of portable terminal for rewriting the contents stored in a required part in the processing / data flash memory 72A provided in the control units 701, 702, and 703, and a portable personal computer configured for the purpose. It may be a thing.
[0043]
The configuration of the control unit 705, setting operation unit 76, communication I / F 78, etc. in the external rewrite device 200 is the same as that of the control units 701, 702, 703 of the heat source unit 10, the indoor unit 20, and the operation unit 30. The power supply unit 88 obtains the read voltage Vp1 and the erase / write voltage Vp2 for the processing / data flash memory 72A, and the voltage switching circuit 89 sets the read voltage Vp1 or the erase / write voltage Vp2. One of them is configured to be supplied to the processing / data flash memory 72A, and further, the connection portion 87E is connected to the connection portions 87A, 87B, and 87D of the heat source device 10, the indoor unit 20, and the operation unit 30, respectively. While performing communication by the communication I / F 78, the erase / write voltage Vp2 is set to each voltage of the heat source unit 10, the indoor unit 20, and the operation unit 30. It is constituted as given circuit 85.
[0044]
Each processing / data flash memory 72A provided in each control unit 701, 702, 703 of the heat source unit 10, indoor unit 20, and operation unit 30, and each processing / data flash provided in the control unit 705 of the external rewrite device 200 As shown in FIG. 2, the storage configuration with the memory 72B is that the storage area in each processing / data flash memory 72A, 72B is divided into a plurality of areas, that is, blocks, and the storage contents in a specific required portion are rewritten. Is protected, and the entire stored contents or only a part of the other required parts can be erased / written, that is, rewritten as necessary.
[0045]
The specific storage configuration is as follows. That is, in the processing / data flash memory 72B on the external rewrite device 200 side, the storage area (1) 72B1 from the address A1 to the address B1 has a communication / rewrite control processing program, that is, a communication control process and rewrite. A program for control processing is stored and a rewrite prohibition protection is applied.
[0046]
The storage area (2) 72B2 from address B1 + 1 to address C1 stores the master of the control processing program for heat source unit control, that is, the parent storage of the program for air conditioning control in the control unit 701 of the heat source unit 10. In the storage area (3) 72B3 from the address C1 + 1 to the address D1, the master of the heat source unit control data, that is, the parent storage of the data for the air conditioning control in the control unit 701 of the heat source unit 10 is stored.
[0047]
Further, in the storage area (4) 72B4 from the address D1 + 1 to the address E1, the master of the indoor unit control control processing program, that is, the parent storage of the program for the air conditioning control in the control unit 702 of the indoor unit 20 is stored. The storage area (5) 72B5 from E1 + 1 to address F1 stores the master of the indoor unit control data, that is, the parent storage of the data for air conditioning control in the control unit 702 of the indoor unit 20.
[0048]
Further, in the storage area (6) 72B6 from the address F1 + 1 to the address G1, the master of the control processing program for operating device control, that is, the parent storage of the program for air conditioning control in the control unit 703 of the operating device 30, The storage area (7) 72B7 from the address G1 + 1 to the address H1 stores the master of the operating device control data, that is, the parent storage of the data for the air conditioning control in the control unit 703 of the operating device 30. These storage areas (1) 72B1 to (7) 72B7 may be rewritable, and are protected from being rewritten and rewritten after the rewrite prohibition is canceled when rewriting is required. You may make it perform.
[0049]
Note that the storage area (8) 72B8 from the address H1 + 1 to the address I1 is a case where the storage contents to be stored in the storage area (1) 72B1 to the storage area (7) 72B7 increase and the storage capacity is insufficient. It is an empty part provided as a spare.
[0050]
Next, specific storage configurations in the processing / data flash memories 72A provided in the control units 701, 702, and 703 of the heat source unit 10, the indoor unit 20, and the operation unit 30 are respectively from address A2 to address B2. The storage area (1) 72B1 stores a communication / rewrite control processing program, that is, a program for communication control processing and rewrite control processing, and is protected from rewrite prohibition.
[0051]
Further, in the storage area (2) 72B2 from address B2 + 1 to address C2, the master of the control processing program for control, that is, the control unit (corresponding to one of 701, 702, and 703) is for air conditioning control. Is stored in the storage area (3) 72B3 from the address C2 + 1 to the address D2 in the master for control data, that is, in the corresponding control unit (corresponding to one of 701, 702, and 703). The parent storage of the data for air conditioning control is stored, and these storage areas (1) 72A1 to (3) 72A4 may be rewritable, and are protected from being overwritten. When rewriting is required, rewriting may be performed after canceling rewriting prohibition.
[0052]
It should be noted that the storage area (4) 72A4 from the address D2 + 1 to the address E2 is a case where the storage contents to be stored in the storage area (1) 72A1 to the storage area (3) 72A3 increase and the storage capacity is insufficient. It is an empty part provided as a spare. In addition, in the stored contents as the master and the original stored contents of the rewritten location, “version No.” representing the revision number, that is, the version number is stored in a predetermined part of the stored contents, for example, the first part. It is.
[0053]
Next, with reference to FIG. 3, a specific configuration of each of the connection portions 87A, 87B, 87D, and 87E, adjustment of the communication speed, and switching between the read voltage Vp1 and the erase / write voltage Vp2 will be described. Note that FIG. 3 shows the storage contents of the required portions of the processing / data flash memory 72A provided in the control units 701, 702, and 703 of the heat source unit 10, the indoor unit 20, and the controller 30. Only the components necessary for rewriting are extracted and described by communication with the control unit 705, and the other parts are omitted.
[0054]
In FIG. 3, a communication I / F 78 is a communication interface IC having a configuration for performing transmission / reception of the RS232C standard, for example, and is a connection portion 87A / 87B / 87D / 87E, for example, a connector terminal, that is, a connection Of the pin configuration, the terminals TxD, RxD, RTS, CST, DSR, GND, and DTR indicate common abbreviations in the [connection part / abbreviation table] in the figure, and are RS232C (JISx5101) standards. Pin no. Although the standard pin arrangement is formal, if the same connector with the required number of pins is connected with the same pin arrangement, the communication path 81/82 or the connection cable 81A is set to the required connection. Normal communication can be performed according to the configuration of the interconnection circuit and the signal direction in [Connection part / abbreviation table]. Note that the connection portion 87C provided in the indoor unit 20 of FIG. 1 and the communication I / F 78 connected thereto are also similar to the above configuration, but the rewriting processing of each processing / data flash memory 72A is performed. Since it is not related, description is omitted here.
[0055]
In this communication, there are a synchronous type and an asynchronous type, but the capability of the communication I / F 78 IC used for the control units 701, 702, and 703 of the heat source unit 10, the indoor unit 20, and the controller 30, Since various restrictions are imposed on the communication speed depending on the lengths of the communication channels 81 and 82, in order to make the communication speed bps as high as possible, in general, several types as shown in [communication speed / sampling frequency table] in FIG. The available communication speeds can be selected and used.
[0056]
On the other hand, since the control unit 705 of the external rewrite unit 200 is similarly configured, when performing rewriting work on site, the control units 701, 702, and control units of the heat source unit 10, the indoor unit 20, and the operation unit 30 are performed. When the communication speed bps used in 703 is known, the communication speed of the control unit 705 of the external rewrite device 200 may be set to the communication speed bps for communication.
[0057]
However, in general, since it is often troublesome to investigate it on site, after performing asynchronous communication, sampling the communication, and confirming the communication speed bps, the processing / data flash memory 72A If the communication speed bps suitable for the rewrite control of the stored content is set, the operation is easier and easier.
[0058]
In order to perform asynchronous communication, an appropriate communication signal such as an identification signal for communication is sent from each control unit 701, 702, 703 of the heat source device 10, the indoor unit 20, and the controller 30. Since it is possible to know the communication speed by sampling the signal received by the control unit 705 of the external rewrite device 200 in advance as a signal, in general, the communication speed / sampling frequency table in FIG. A function to generate a clock with the least common multiple / frequency is provided, and the communication speed bps of the other party is determined by sampling with the clock or a clock obtained by dividing the clock, and communication with each other is possible. The flash memory 72A is set to the highest possible communication speed bps without any trouble in erasing / writing, that is, rewriting.
The communication for setting the communication speed bps is performed by, for example, sending a transmission request command signal, that is, an RST signal from the control unit 705 side of the external rewrite unit 200, and the heat source unit 10, the indoor unit 20, and the operation unit 30. When the response from the control units 701, 702, and 703 is a negative response signal, that is, a NAK signal, the communication speed bps is changed, and when it is an affirmative signal, that is, an ACK signal, The communication speed bps is set as the mutual communication speed bps.
[0059]
Further, the erase / write voltage Vp2 is supplied from the external rewrite unit 200 to the heat source unit 10, the indoor unit 20, and the operation unit 30 through the connection portions 87A, 87B, 87D, and 87E. Erasing / writing voltage Vp2 is applied to processing / data flash memory 72A as a connection terminal for giving to memory 72A, that is, as a connection pin, and from heat source unit 10, indoor unit 20, and controller 30 side Terminals Vp2IN and Vp2OUT are provided as connection terminals for providing the above signal to the external rewrite device 200 side, that is, as connection pins.
[0060]
  On the external rewrite device 200 side, the power supply 88 for obtaining the read voltage Vp1 and the erase / write voltage Vp2 and either the read voltage Vp1 or the erase / write voltage Vp2 are processed / data flash. A voltage switching circuit 89 is provided for switching so as to be applied to the memory 72B. The voltage switching circuit 89 is, for example, a switching relay, and controls the control unit 705 when necessary.Based on reasonSwitching to a required connection side is performed by a control signal from an input / output port (not shown).
[0061]
On the other hand, on the side of the heat source unit 10, the indoor unit 20, and the operation unit 30, a power source 86 for obtaining the read voltage Vp1 and the read voltage Vp1, or one of the connection portions (87A, 87B, 87D and 87E, Is provided with a voltage switching circuit 85 for switching so that any one of the erasing / writing voltages Vp2 applied via the connection) is applied to the processing / data flash memory 72A. For example, a switching relay, which switches to the required connection side by a control signal from an input / output port (not shown) by a control process (one of 701, 702, 703) when necessary. To do.
[0062]
Control processing for erasing / writing, that is, rewriting, the stored contents in a required portion of the processing / data flash memory 72A is performed by connecting the connection portions 87A, 87B, 87D, 87E, for example, the connector, the communication path 81, or the communication 82 is removed, and instead, the connection portion 87E is connected to any one of the connection portions 87A, 87B, and 87D by the connection cable 81A.
[0063]
2 in the processing / data flash memory 72B of the control unit 705 of the external rewrite device 200, and the control units 701, 702, and 703 of the heat source unit 10, the indoor unit 20, and the operation unit 30. 4 is stored in the storage area (1) 72A1 of FIG. 2 in the processing / data flash memory 72A, and can be executed by performing communication control based on the program. .
[0064]
As a matter of course, the voltage switching circuit 89 of the external rewrite device 200 and the voltage switching circuit 86 on the heat source unit 10, the indoor unit 20, and the operation unit 30 are always processed / data read voltage Vp1. The flash memory 72A and 72B are held so as to be given.
[0065]
[Explanation of control processing flow]
Hereinafter, the control processing flow of FIG. 4 will be described. In FIG. 4, the control processing flow on the [external rewrite device side] operates a predetermined key in the setting operation unit 76 of the external rewrite device 200 and inputs the code of the master performing the rewrite processing, thereby storing the storage area ( 1) “Begin” by designating which one of 72B1 to storage area (7) 72B7 is used for the rewriting process.
[0066]
In addition, the control processing flow on the [heat source unit (indoor unit / operator) side] is “started” by turning on the operation power of the heat source unit 10, the indoor unit 20, and the controller 30 to be rewritten. Is done. In the control processing flow of FIG. 4, a route indicated by a dotted line is a portion that performs communication between the [external rewriter side] and the [heat source unit (indoor unit / operator) side].
[0067]
◆ At step SP0, [heat source unit (indoor unit / operator) side] is set to “transmittable / CST”, and at step SP1, “transmission request / RTS” is sent from [external rewriter side]. By doing so, in step SP2, the own "identification code", that is, the communication address is transmitted from the [heat source unit (indoor unit / operator) side].
[0068]
In step SP3, it is determined whether or not the communication speed is correct. If it is appropriate, the process proceeds to step SP6, and if not, the process proceeds to next step SP4. In this determination, sampling in the case of the asynchronous communication described above is performed to determine the communication speed bps, and the erase / write speed of the processing / data flash memory 72A, that is, the rewrite speed is too high. Or, if it is too slow, “NO” is determined, and if it is an appropriate speed, for example, 1200 bps or 2400 bps, it is determined as “YES” and its own communication speed bps is set on the [heat source unit (indoor unit / operator) side] ] Is performed to match the communication speed bps.
[0069]
◆ In step SP4, by sending a self-identification code at an appropriate communication speed bps, command the communication speed bps to match the communication speed bps of the [heat source unit (indoor unit / operator) side], In step SP5, after the communication speed bps that has been communicated is matched, its own “identification code” is transmitted. In step SP3, it is confirmed again whether or not the communication speed is appropriate.
[0070]
◆ In step SP6, a command for confirming the “version No.” is transmitted, and the processing / data flash memory 72A on the [heat source unit (indoor unit / operator) side) “ Version No. ”is transmitted as a response, and it is determined whether or not rewriting is required in step SP8.
[0071]
The determination here is whether the rewritten location is specified by the match / mismatch of the stored “version No.” and the “version No.” of the storage location of the master that is going to be transmitted, It is checked whether or not rewriting is necessary by checking whether or not the stored contents of the rewriting part have already been updated to the latest version. When rewriting is necessary, the process proceeds to the next ◆ step SP9, otherwise, the process proceeds to step SP17, and “rewriting impossible” is displayed on the display unit 77 of [external rewriting device side] at step SP17. Later, the control process ends.
[0072]
In this case, since the control processing on the [heat source unit (indoor unit / operator) side] is stopped in the middle, the worker who sees the above-mentioned “non-rewriteable” display [ Terminate by turning off the operating power on the (indoor unit / operator) side.
[0073]
In step SP9, although not shown, first, a command to switch the voltage switching circuit 85 on the [heat source unit (indoor unit / operator) side] to apply the erase / write voltage Vp2 to the processing / data flash memory 72A As a signal for transmitting that the erase / write voltage Vp2 has been applied, a voltage obtained by branching the erase / write voltage Vp2 given to the processing / data flash memory 72A is selected as a heat source unit (indoor unit / Control of the [external rewriter side] from the terminal Vp2 / OUT on the [operator side] via the connection cable 81A and given to the input / output port 71 of the control unit 705 from the terminal Vp2 / IN on the [external rewriter side] In the case of the storage area to be rewritten, for example, the storage area (2) 72B2, after confirming by the unit 705, the data obtained by reading the stored contents is transmitted to the [heat source machine side]. . The voltage switching circuit 85 may be switched manually, for example, by a switch, and switched manually prior to the rewriting process.
[0074]
In step SP10, based on the data sent from the [external rewriter side], after erasing / writing the storage contents of the storage area to be rewritten, for example, the storage area (2) 72A2, the next step SP11 Migrate to In this erasure / write, it is more erroneous to erase the storage contents of the storage area to be rewritten first and then write the required part so that the original storage contents do not remain. This is preferable because it does not cause confusion by reading the original stored contents.
[0075]
In step SP11, it is determined whether or not the rewrite data is finished. When it is finished, the process proceeds to the next step SP12. Otherwise, the process returns to SP10 to perform rewriting with the remaining data.
[0076]
In step SP12, it is determined whether rewriting has been performed normally. If it is normally performed, the process proceeds to step SP14. If not, the process proceeds to step SP13, and rewriting is performed again. The determination here is performed based on whether or not the total value of the storage addresses of the rewritten locations is a predetermined value.
[0077]
Specifically, for example, if the storage contents of the storage area (2) 72A2 are rewritten by the storage contents of the storage area (2) 72B2, the storage contents of the storage area (2) 72B2 By storing a numerical value in which the lower two digits of the total value of the total of the addresses of the storage area (2) 72A2 where the stored contents are rewritten is “00”, the [heat source machine (indoor The machine / operator side) is configured to confirm that the total value is “00”.
[0078]
In step SP13, a request command for performing the rewriting process is transmitted to the [external rewriter side] again, and the process returns to step SP8, where rewriting of the same rewriting target portion is performed again, that is, rewriting data is transmitted and erased / written. And do.
[0079]
In step SP14, the voltage switching circuit 85 is switched to return to the state where the read voltage Vp1 is applied to the processing / data flash memory 72A, and the rewriting process is performed [the heat source unit (indoor unit / operator) side] ], The display unit 77 displays “rewrite complete”, and then transmits a response to the effect that the rewrite is completed to the [external rewriter side], and proceeds to step SP15.
[0080]
In step SP15, after confirming that the signal due to the erase / write voltage Vp2 given to the terminal Vp2 / IN of the connection portion 87E has disappeared in the input / output port 71 of the control unit 705 on the [external rewrite side] , “Rewriting complete” is displayed on the display portion 77 of the [external rewriter side], and the control process is terminated. In the case of a configuration in which the voltage switching circuit 85 is manually switched, an operator who sees the above-mentioned “rewriting completion” display may manually switch to the read voltage Vp2 side.
[0081]
In the above embodiment, a configuration is described in which the external rewrite device 200 performs rewrite processing on the processing / data flash memory 72A provided in each control unit 701, 702, 73 of the distributed arrangement type air conditioner 1000 that performs air conditioning control. However, in the device for controlling another general control target, that is, the flash memory CPU type control device, the processing / data flash memory 72A provided in the control unit is similar to the above-described rewriting processing, The fact that the rewriting process can be performed by the external rewriting device 200 will not require any particular explanation.
[0082]
  [ExampleConfiguration summary]
  To summarize the configuration of the above embodiment, in the configuration of the other general control object, that is, the configuration of the flash memory CPU type control device,
  For example, the rewriting of the storage contents in a required portion of the flash memory such as the processing / data flash memory 72A, for example, the storage area (2) 72A2, is performed by communication from the external rewrite device 200, for example, communication by the communication I / F 78. In a control unit having a function to be performed based on, for example, a flash memory CPU type control device having a control unit 701,
[0083]
  The voltage used for rewriting the flash memory (processing / data flash memory 72A), that is, the rewrite voltage is transferred from the external rewrite device 200 side to the control unit 701 (flash memory CPU type control device or flash memory CPU type control unit) side. A first connecting line for transmission and,
  By switching the voltage switching circuit 85 provided on the control unit 701 (flash memory CPU type control device) side, the rewrite voltage (erase / write voltage Vp2) applied to the flash memory (processing / data flash memory 72A) itself is changed. As a signal indicating that the rewrite voltage (erase / write voltage Vp2) is applied to the flash memory (processing / data flash memory 72A), the external rewrite device 200 from the control unit 701 (flash memory CPU type control device) side. A second connection for transmitting to the side,
  By a connection line including a third connection line for transmitting a data signal for rewriting from the external rewrite device 200 side to the control unit 701 (flash memory CPU type control device or flash memory CPU type control unit) side ,
  Connection means for connecting the external rewrite device 200 and the control unit 701 (flash memory CPU type control device or flash memory CPU type control unit);
[0084]
  Based on the switching of the voltage switching circuit 85, when the rewrite voltage (erase / write voltage Vp2) itself is transmitted to the external rewrite device 200 side, a data signal for rewrite is transmitted from the external rewrite device 200 side to the control unit. 701 (flash memory CPU type control device) data signal transmission means for transmitting to the side
  A first configuration providing:
[0085]
  This first configurationIn addition to
  A clock having a least common multiple / frequency with respect to a plurality of predetermined communication speed frequencies, that is, a source clock is generated, and a received signal obtained by performing the communication in an asynchronous communication is used as the source clock or the source. Communication speed setting means for setting a communication speed suitable for rewriting the flash memory (processing / data flash memory 72A) by sampling the clock obtained by dividing the clock to determine the communication speed.
  A second configuration providing:
[0086]
  First configuration described aboveIn addition to
  The storage area of the flash memory (the processing / data flash memory 72A) is divided into a plurality of areas, and the storage contents stored in this area are added with version information and stored. Rewrite storage means to rewrite only a part
  A third configuration for providing
[0087]
  First configuration described aboveIn addition to
  Location of the above rewrite, for example, the storage area (2) 72A2The total storage address isDiscriminating means for discriminating whether or not the rewritten storage location is a regular storage location depending on whether or not a predetermined value, for example, the lower two digits are “00”
  A fourth configuration providing:
[0088]
  For example, the rewriting of the storage contents in a required portion of the flash memory such as the processing / data flash memory 72A, for example, the storage area (2) 72A2, is performed by communication from the external rewrite device 200, for example, communication by the communication I / F 78. A flash memory CPU type control unit, for example, control units 701 and 702 provided with a function to be performed based on at least a heat source device 10 and an indoor unit 20 for supplying and supplying a heat source for air conditioning. In apparatus 100,
  In the first configuration aboveConnection means / data signal transmission meansA fifth configuration providing:
[0089]
  The fifth configuration described aboveIn addition to
  In the second configuration aboveCommunication speed setting meansA sixth configuration providing:
[0090]
  The fifth configuration described aboveIn addition to
  In the third configuration aboveRewrite storage meansA seventh configuration for providing
  The fifth configuration described aboveIn addition to
  Eighth providing the discrimination means in the fourth configuration described aboveConfiguration and
  It will constitute that.
[0091]
[Second Embodiment]
The second embodiment will be described below with reference to FIGS. The second embodiment is a specific implementation configuration of a portion for performing the rewriting process in the first embodiment. In FIG. 5, a processing / data flash memory 72A (72B) is, for example, a 128-kbyte ROM flash memory, and each storage area between addresses shown in FIG. The addresses are divided into storage areas and are configured to be able to be erased / written, that is, rewritten. Each address 00000 to 1FFFF is expressed by a hexadecimal number in which numbers 10 to 15 are represented by A to F. Erase / write can be performed according to the address value.
[0092]
In FIG. 6, [Storage area / version No. Each signal of the confirmation communication signal] is a configuration example of a signal used for the control processing for confirming the “version No.” in the first embodiment, and is from the CPU 70 side of the external rewriter 200. A command signal S01A and a response signal S01B from the CPU 70 side of the device to which the external rewrite device 200 is connected, that is, any one of the heat source device 10, the indoor unit 20, and the operation device 30 to be rewritten It is a specific signal example with a structure.
[0093]
Further, each signal of [storage area / erase communication signal] is a signal used for the control process of the part that performs only “erase” in the control process that performs “erase / write” in the first embodiment. It is an example of the configuration, and the command signal S02A from the CPU 70 side of the external rewrite device 200 and the device to which the external rewrite device 200 is connected, that is, the heat source device 10, the indoor unit 20, and the operation device 30 to be rewritten. It is a concrete signal example with the structure of response signal S02B from the CPU70 side of any one apparatus.
[0094]
Further, each signal of [storage area / program / data write communication signal] controls the portion of the control process for performing “erase / write” in the first embodiment that performs only “write”. This is a configuration example of signals used for processing, including: a command signal S03A from the CPU 70 side of the external rewrite device 200, and a device to which the external rewrite device 200 is connected, that is, the heat source device 10 and the indoor unit 20 to be rewritten. This is a specific signal example with the configuration of the response signal S03B from the CPU 70 side of any one of the operating devices 30.
[0095]
FIG. 7 is an example of a control process flow in which “version No.” confirmation, “erasure”, and “write” are performed in accordance with the communication signals described above. Hereinafter, the control processing flow of FIG. 7 will be described. The [external rewriter side] is a control process performed by the CPU 70 of the external rewriter 200, and the [heat source unit (indoor unit / operator) side] is the heat source unit 10 / indoor unit 20 / operator 30 to be rewritten. Is a control process performed by the CPU 70 of any one of the devices, and a portion indicated by a dotted line is a portion that performs communication.
[0096]
[Explanation of control processing flow]
In step SP101, the command signal S01A of FIG. 6 is transmitted as a command for confirming the “version No.”, and the process proceeds to step SP102.
In step SP102, “002” obtained by reading the “version No.” of the block in the storage area instructed to be rewritten, that is, the block 1 is changed to the version No. 6 is transmitted as response data, and the process proceeds to step SP103.
[0097]
In step SP103, it is determined whether or not “rewriting” needs to be performed. When rewriting is performed, the process proceeds to the next step SP104, and when not, the process is terminated. This determination is made by reading the “version No.” stored in the storage area target of the rewrite master stored in the processing / data flash memory 72B of the external rewriter 200 and the response When the response data “002” of the “version No.” sent is compared with each other, if it is the same, it is not necessary to perform “rewrite”. If not, it is necessary to perform “rewrite”. It shall be.
[0098]
In step SP104, the command signal S02A of FIG. 6 is transmitted as a command for “erasing” the storage area for “rewriting”, and the process proceeds to step SP105.
In step SP105, the block of the storage area instructed to be erased, that is, the “erasure” process of block 1 is performed, and the process proceeds to the next step SP106.
[0099]
◆ In step SP106, the response signal S02B of FIG. 6 is transmitted with the data of “erase state” obtained as a result of the “erase” process, that is, the erase end “A1” or the erase failure “A2” as response data. The process proceeds to step SP107.
[0100]
In step SP107, it is determined whether or not “erasing” has been normally performed. If successful, the process proceeds to the next step SP108, and if not, the process proceeds to step SP112. This determination is normal when the response data of the response signal S02B is erasure end “A1”, and when the erasure failure is “A2”, it is determined that it was not performed normally, that is, “erasure abnormality”.
[0101]
In step SP108, the command signal S03A of FIG. 6 is transmitted as a command for writing to the designated storage area, and the process proceeds to step SP109.
In step SP109, “write” processing of “write data” transmitted by the command signal S03A is performed on the block of the storage area commanded as the write target, that is, block 1, and the next step SP110 is executed. Transition.
[0102]
In step SP110, the response signal shown in FIG. 6 is obtained with “write state” data obtained as a result of the “write” processing, that is, write end “B1” or write failure “B2” as response data. After transmitting S03B, the control process on the [heat source unit (indoor unit / operator) side] ends, and the process proceeds to step SP111.
[0103]
In step SP111, it is determined whether or not “write” has been performed normally. If it has been performed normally, the process ends. If not, the process proceeds to step SP114. This determination is normal when the response data of the response signal S03B is the write end “B1”, and when the write failure is “B2”, it is not normally performed, that is, “write abnormality”.
[0104]
In step SP112, an alarm indicating that the erase state of the designated storage area is “erase abnormality”, that is, “erase abnormality alarm” is performed, and the process proceeds to the next step SP113. For example, the alarm is displayed on the display unit 77 attached to the control unit 705 of the external rewrite device 200 with a character or a graphic, and an alarm is provided on the display unit 77 as necessary.
[0105]
In step SP113, it is determined whether or not an operation for canceling the “erase abnormality alarm” has been performed. If it has been cancelled, the process proceeds to the end, and if not, the process returns to step SP112. This release is performed by operating a predetermined operation key provided on the setting operation unit 76 attached to the control unit 705 of the external rewriter 200, for example.
[0106]
In step SP114, an alarm indicating that the writing state of the designated storage area is “writing abnormality”, that is, “writing abnormality alarm” is performed, and the process proceeds to the next step SP115. For example, the alarm is displayed on the display unit 77 attached to the control unit 705 of the external rewrite device 200 with a character or a graphic, and an alarm is provided on the display unit 77 as necessary.
[0107]
In step SP115, it is determined whether or not an operation for canceling the “writing abnormality alarm” has been performed. If it has been canceled, the process proceeds to the end, and if not, the process returns to step SP114. This release is performed by operating a predetermined operation key provided on the setting operation unit 76 attached to the control unit 705 of the external rewriter 200, for example.
[0108]
[Third embodiment]
The third embodiment will be described below with reference to FIGS. The third embodiment is a specific implementation configuration of the portion for performing the communication speed changing process in the first embodiment. In FIG. 8, each signal of [communication speed / change communication signal] is a configuration example of a signal used for control processing for performing “communication speed change” in the first embodiment described above. The command signal S04A from the CPU 70 side of the CPU 200 and the device to which the external rewrite device 200 is connected, that is, the CPU 70 side of any one of the heat source device 10, the indoor unit 20 and the operation device 30 to be rewritten It is a concrete signal example with the structure of response signal S04B from. The communication speed is selected from the communication speeds corresponding to the speed symbols “10” to “14” shown in the command signal S04A.
[0109]
FIG. 7 is an example of a control processing flow in which “communication speed change” is performed according to each communication signal. Hereinafter, the control processing flow of FIG. 7 will be described. In addition, the [external rewriter side] [heat source unit (indoor unit / operator) side] and the portion indicated by the dotted line are the same as those in FIG. 7, [heat source unit (indoor unit / operator) side] The initial value of the communication speed is set to the communication speed corresponding to the speed symbol “11”.
[0110]
[Explanation of control processing flow]
In step SP201, the command signal S04A of FIG. 8 is transmitted as a command for “change communication speed”, and the process proceeds to step SP202.
[0111]
In step SP202, it is determined whether or not “speed change” of the communication speed is possible. If it is possible, the process proceeds to the next step SP203, and if not, the process proceeds to step SP205. This determination is made by transmitting the data obtained by reading the data of each “communication speed symbol” stored in the processing / data flash memory 72A on the [heat source unit (indoor unit / operator) side] and command transmission. The data “13” of the “communication speed symbol” is compared, and if there is the same symbol as the data “13”, the communication speed is “changeable in speed”. It cannot be changed.
[0112]
In step SP203, the changeable / not changeable data symbol in the response signal S04B in FIG. 8 is transmitted with the change permission “C1”, the process proceeds to step SP206, and the process proceeds to the next step SP204.
In step SP204, after changing the communication speed to the communication speed of the data “13”, the control process on the [heat source unit (indoor unit / operator) side] is terminated.
[0113]
In step SP205, the data symbol indicating whether or not the response signal S04B shown in FIG. 8 can be changed is changed to “C2”, and the process proceeds to step SP206.
In step SP206, it is determined whether or not the communication speed is to be changed. If it is to be changed, the process proceeds to the next step SP207, and if not, the process is terminated without changing the communication speed. This determination is made when the change permission / inhibition data of the response signal S04B is change permission “C1”, and is not changed when the change rejection “C2”.
◆ In step SP204, the communication speed is changed to the communication speed of the data “13”, and the process ends.
[0114]
[Fourth embodiment]
The fourth embodiment will be described below with reference to FIGS. The fourth embodiment is a specific implementation configuration of a portion that performs a control process for determining whether or not the rewriting in the first embodiment has been normally performed. In FIG. 10, the processing / data flash memory 72B of the external rewrite device 200 is, for example, a 128-kbyte ROM flash memory, and each storage area between appropriate addresses is divided into eight blocks 0-7. It is divided into storage areas.
[0115]
In block 0, the control processing program for the external rewrite device 200 itself, in block 1, the rewriting master (1) for rewriting the control processing program for the heat source device 10, and in block 2, the control processing for the indoor unit 20. The rewrite master (2) for rewriting the program is stored, and the rewrite master (3) for rewriting the control processing program of the operating device 30 is stored in the block 3, respectively. The other blocks 4 to 7 are unused portions. That is, it is an empty portion, and the address total value determination data ALLSUM is stored in the final address 1FFFF.
[0116]
In FIG. 11, the processing / data flash memory 72A of any one of the heat source device 10, the indoor unit 20, and the controller 30 to be rewritten is, for example, a 128-kbyte ROM flash memory. Each storage area between the address 0000 and the address immediately before the address 1C000 is a storage area for storing its own control processing program. The storage area from address 1C000 to the final address 1FFFF is an unused part, that is, an unused storage area, and the final address 1FFFF is an address for storing the address total value determination data ALLSUM. Yes.
[0117]
If the total value of addresses between address 0000 and the previous address of address 1C000 is 55h in hexadecimal and the total value of addresses in each unused storage area is FFh in hexadecimal, The value of the value discrimination data ALLSUM can be obtained by the calculation according to [Calculation Formula of Address Total Value Discrimination Data (ALLSUM)] in FIG. 11, and is used to determine whether the rewriting has been normally performed. The value of the address total value determination result data FLASHSUM, that is, the value for setting the last two digits to 00h can be obtained by the calculation according to [Calculation formula of address total value determination result data (FLASHSUM)] in FIG.
[0118]
In FIG. 12, each signal of [communication signal for determining the total address value] is a configuration example of a signal used for the control processing for determining the total address value described above, and ◆ from the CPU 70 side of the external rewrite device 200 The command signal S05A and the response signal S05B from the CPU 70 side of the device to which the external rewrite device 200 is connected, that is, any one of the heat source device 10, the indoor unit 20 and the operation device 30 to be rewritten It is a specific signal example with a structure.
[0119]
FIG. 13 is an example of a control process flow for determining the total address value based on each communication signal. Hereinafter, the control processing flow of FIG. 13 will be described. The [external rewrite device side] [heat source unit (indoor unit / operator) side] and the portion indicated by the dotted line are the same as in FIG.
[0120]
[Explanation of control processing flow]
In step SP301, a command signal S05A in FIG. 12 is transmitted as a command for determining the total address value, and the process proceeds to step SP302.
[0121]
In step SP302, the data of the discrimination data ALLSUM sent by the command signal S05A, for example, hexadecimal “10F0101h” is stored in the final address 1FFFF, and the “address total value discrimination result data (FLASHSUM)” of FIG. Then, the determination result data FLASHSUM, for example, “001000h” in hexadecimal is obtained, and the process proceeds to the next step SP303.
[0122]
In step SP303, the response signal discrimination result data in FIG. 12 is transmitted as FLASHSUM “001000h”, and the process proceeds to step SP304 and the control process on the heat source unit (indoor unit / operator) side is terminated.
[0123]
In step SP304, it is determined whether or not the result of address total value determination is normal. If it is normal, the process ends. If not, that is, if it is abnormal, the process proceeds to the next step SP305. This determination is normal when the last two digits of the determination result data FLASHSUM “001000h” of the response signal S05A is “00h”, and abnormal otherwise.
[0124]
In step SP305, an alarm indicating that the result of determining the total address value is abnormal, that is, “discrimination abnormality alarm” is performed, and the process proceeds to the next step SP306. For example, the alarm is displayed on the display unit 77 attached to the control unit 705 of the external rewrite device 200 with a character or a graphic, and an alarm is provided on the display unit 77 as necessary.
[0125]
In step SP306, it is determined whether or not an operation for canceling the “determination abnormality alarm” has been performed. If it has been canceled, the process proceeds to the end, and if not, the process returns to step SP306. This release is performed by operating a predetermined operation key provided on the setting operation unit 76 attached to the control unit 705 of the external rewriter 200, for example.
[0126]
[Modification]
The present invention includes the following modifications and implementation.
(1) The storage contents to be rewritten, the storage contents stored in each storage area of FIG. 2, and the divided storage area portion, for example, the control processing program for heat source machine control, for example, the first program Control processing is performed so that only one of the divided program parts such as the part, the second program part, and the third program part is rewritten, or all the storage areas except the storage area for which rewriting is prohibited are performed once. The control process is performed so that the rewriting process is performed.
[0127]
(2) The connection portion 87C, the communication I / F 78 connected thereto, and the communication path 82 are removed, and the connection portion 87D of the operation device 30 is connected to the communication path 81, and the terminal Vp2 / OUT is connected to the communication path 82. And an additional conducting wire for connecting the terminal Vp2 / IN, and a connecting portion 87X that is the same as the connecting portion 87X is connected in parallel at any one of the connecting portions 87A, 87B, and 87D. By connecting the connection portion 87E to the connection portion 78X, the control / data flash memories of the control units 701, 702, and 703 of the heat source unit 10, the indoor unit 20, and the operation unit 30 are connected via the communication path 81. The stored contents of 72A are configured to be rewritten in the required sequence.
[0128]
(3) The configuration is applied to the centralized control panel 50 or the distributed arrangement type air conditioner 100 having a configuration in which a central controller having a simple control function is provided.
(4) The control / data flash memory 72B of the external rewrite device 200 is changed to a normal ROM, and is mounted so as to be replaceable using a socket, and the master of the storage contents used for rewriting is rewritten with a ROM writer. To be configured.
[0129]
(5) When the communication speed is not changed in the configuration in which the communication speed is fixed, for example, the terminal RTS and the terminal CTS in the connection portion 87E in FIG. The communication is performed by operating a switch provided between these terminals to short-circuit the switch.
[0130]
【The invention's effect】
According to the present invention, as described above, the voltage used for rewriting the flash memory, that is, the erase / write voltage is applied from the external rewrite device side to perform the rewrite processing. The memory contents of the flash memory will not be rewritten due to miscommunication in the above communication, so even if the control device is configured using the flash memory, the memory contents will be rewritten erroneously, causing runaway control. , There will be no risk of accidents.
[0131]
Also, in the case where each control unit is distributed and separated like a distributed arrangement type air conditioner, carry a portable external rewrite device and simply connect it to the communication connection part. There is a feature that the control processing function of each arranged device can be updated with the latest type by simply rewriting the contents stored in the flash memory.
[Brief description of the drawings]
In the drawings, FIGS. 1 to 13 show an embodiment of the present invention, and FIGS. 14 to 16 show the prior art. The contents of each figure are as follows.
FIG. 1 is a general block diagram.
FIG. 2 is a configuration diagram of main parts storage.
FIG. 3 is a block diagram of the main part.
FIG. 4 is a flow chart of main part control processing.
FIG. 5 is a configuration diagram of main part storage.
FIG. 6 is a signal configuration diagram of the main part.
FIG. 7 is a block diagram of the main part communication.
[Fig. 8] Main part signal configuration diagram
[Fig. 9] Main part communication configuration diagram
FIG. 10 is a block diagram of the main part storage.
FIG. 11 is a configuration diagram of main part storage.
FIG. 12 is a schematic diagram of a signal configuration of a main part.
FIG. 13 is a block diagram of the main part communication.
FIG. 14 is an overall block configuration diagram.
FIG. 15 is a block diagram of the main part.
FIG. 16 is an overall configuration perspective view.
[Explanation of symbols]
10 Heat source machine
11 Compression unit
12 Heat exchanger
12A blower
13 Channel switching part
20 indoor units
21 Heat exchanger
21A blower
30 Controller
50 Central monitoring and control panel
70 CPU
71 I / O port
72 Processing memory
72A flash memory
72B flash memory
73 Working memory
74 Data memory
75 Clock circuit
76 Setting operation section
77 Display
78 Communication I / F
81 communication path
82 communication channel
83 pipeline
84 Air-conditioned rooms
85 Voltage switching
86 Power supply
87A connection part
87B connection part
87C connection part
87D connection part
87E connection part
88 power supply
89 Voltage switching
100 Distributed air conditioner
700 Control unit
701 control unit
702 Control unit
703 Control unit
705 control unit
D1 Temperature detector
D1A Indoor temperature value
D2 Temperature detector
D2A heat exchanger temperature value
T1 target temperature value
V2 Flow control valve
V2A drive part
Vp1 read voltage
Vp2 erase / write voltage

Claims (8)

フラッシュメモリの所要部分における記憶内容の書換を外部書換器からの通信にもとづいて行う機能を設けた制御部を有するフラッシュメモリCPU型制御装置であって、
前記書換に用いる電圧(以下、書換電圧という)を前記外部書換器側から前記フラッシュメモリCPU型制御装置側に伝送するための第1の接続線と、前記フラッシュメモリCPU型制御装置側に設けた電圧切換回路の切換によって、前記フラッシュメモリに与えている前記書換電圧そのものを、前記フラッシュメモリに前記書換電圧が与えられている旨の信号として、前記フラッシュメモリCPU型制御装置側から前記外部書換器側に伝送するための第2の接続と、前記書換のためのデータ信号を前記外部書換器側から前記フラッシュメモリCPU型制御装置側に伝送するための第3の接続線とを含む接続線により、前記外部書換器と前記フラッシュメモリCPU型制御装置とを接続する接続手段と、
前記電圧切換回路の切換にもとづいて、前記書換電圧そのものが外部書換器側に伝送されているときに、前記外部書換器側から前記書換のためのデータ信号をフラッシュメモリCPU型制御装置側に伝送するデータ信号伝送手段と
を具備することを特徴とするフラッシュメモリCPU型制御装置。
A flash memory CPU type control device having a control unit provided with a function of performing rewriting of stored contents in a required part of a flash memory based on communication from an external rewrite device,
A first connection line for transmitting a voltage used for the rewriting (hereinafter referred to as a rewriting voltage) from the external rewrite device side to the flash memory CPU type control device side and a flash memory CPU type control device side are provided. By switching the voltage switching circuit, the rewrite voltage itself applied to the flash memory is used as a signal to the effect that the rewrite voltage is applied to the flash memory. A connection line including a second connection for transmitting to the side, and a third connection line for transmitting a data signal for rewriting from the external rewrite device side to the flash memory CPU type control device side Connecting means for connecting the external rewrite device and the flash memory CPU type control device;
Based on the switching of the voltage switching circuit, when the rewrite voltage itself is transmitted to the external rewrite device side, the data signal for rewriting is transmitted from the external rewrite device side to the flash memory CPU type control device side. A flash memory CPU type control device.
所定の複数の通信速度の周波数に対する最小公倍数/周波数のクロック(以下、源クロックという)を発生するとともに、前記通信を非同期式の通信で行って得られる受信信号を、前記源クロックまたは前記源クロックを分周して得られるクロックによりサンプリングして通信速度を判別することにより、前記書換に適した通信速度を設定する通信速度設定手段
を具備することを特徴とする請求項1記載のフラッシュメモリCPU型制御装置。
A clock having a least common multiple / frequency for a plurality of predetermined communication speed frequencies (hereinafter referred to as a source clock) is generated, and a received signal obtained by performing the communication in an asynchronous communication is used as the source clock or the source clock. 2. The flash memory CPU according to claim 1 , further comprising a communication speed setting means for setting a communication speed suitable for the rewriting by sampling a clock obtained by dividing the clock and determining a communication speed. Mold control device.
前記フラッシュメモリの記憶領域を複数の領域に分けるとともに、前記領域に記憶する記憶内容にバージョン情報を付して記憶することにより、所要部分の記憶内容全体または一部のみを書き換える書換記憶手段
を具備することを特徴とする請求項1記載のフラッシュメモリCPU型制御装置。
Rewriting storage means for rewriting the entire stored content or only a part of the required portion by dividing the storage area of the flash memory into a plurality of areas and adding the version information to the stored contents stored in the area 2. The flash memory CPU type control device according to claim 1, wherein:
前記書換を行った箇所の記憶アドレスの合計値が所定値になっているか否かによって前記書換が正常に行われたか否かを判別する判別手段
を具備することを特徴とする請求項1記載のフラッシュメモリCPU型制御装置。
The determination unit according to claim 1 , further comprising: a determination unit configured to determine whether or not the rewrite has been normally performed based on whether or not a total value of storage addresses of the rewritten portions is a predetermined value . Flash memory CPU type control device.
フラッシュメモリの所要部分における記憶内容の書換を外部書換器からの通信にもとづいて行う機能を設けた制御部を有するフラッシュメモリCPU型制御部を、少なくとも、空調用熱源を給配するための熱源機と室内機とに設けた分散配置型空調装置であって、
前記書換に用いる電圧(以下、書換電圧という)を前記外部書換器側から前記フラッシュメモリCPU型制御装置側に伝送するための第1の接続線と、前記フラッシュメモリCPU型制御装置側に設けた電圧切換回路の切換によって、前記フラッシュメモリに与えている前記書換電圧そのものを、前記フラッシュメモリに前記書換電圧が与えられている旨の信号として、前記フラッシュメモリCPU型制御装置側から前記外部書換器側に伝送するための第2の接続と、前記書換のためのデータ信号を前記外部書換器側から前記フラッシュメモリCPU型制御装置側に伝送するための第3の接続線とを含む接続線により、前記外部書換器と前記フラッシュメモリCPU型制御装置とを接続する接続手段と、
前記電圧切換回路の切換にもとづいて、前記書換電圧そのものが外部書換器側に伝送されているときに、前記外部書換器側から前記書換のためのデータ信号をフラッシュメモリCPU型制御装置側に伝送するデータ信号伝送手段と
を具備することを特徴とする分散配置型空調装置。
A heat source device for supplying at least a heat source for air conditioning to a flash memory CPU type control unit having a control unit provided with a function of performing rewriting of stored contents in a required part of the flash memory based on communication from an external rewrite unit And a distributed arrangement type air conditioner provided in the indoor unit,
A first connection line for transmitting a voltage used for the rewriting (hereinafter referred to as a rewriting voltage) from the external rewrite device side to the flash memory CPU type control device side and a flash memory CPU type control device side are provided. By switching the voltage switching circuit, the rewrite voltage itself applied to the flash memory is used as a signal to the effect that the rewrite voltage is applied to the flash memory. A connection line including a second connection for transmitting to the side, and a third connection line for transmitting a data signal for rewriting from the external rewrite device side to the flash memory CPU type control device side Connecting means for connecting the external rewrite device and the flash memory CPU type control device;
Based on the switching of the voltage switching circuit, when the rewrite voltage itself is transmitted to the external rewrite device side, the data signal for rewriting is transmitted from the external rewrite device side to the flash memory CPU type control device side. A distributed arrangement type air conditioner characterized by comprising:
所定の複数の通信速度の周波数に対する最小公倍数/周波数のクロック(以下、源クロックという)を発生するとともに、前記通信を非同期式の通信で行って得られる受信信号を、前記源クロックまたは前記源クロックを分周して得られるクロックによりサンプリングして通信速度を判別することにより、前記書換に適した通信速度を設定する通信速度設定手段
を具備することを特徴とする請求項5記載の分散配置型空調装置。
A clock having a least common multiple / frequency for a plurality of predetermined communication speed frequencies (hereinafter referred to as a source clock) is generated, and a received signal obtained by performing the communication in an asynchronous communication is used as the source clock or the source clock. 6. The distributed arrangement type according to claim 5 , further comprising communication speed setting means for setting a communication speed suitable for the rewriting by sampling with a clock obtained by dividing the frequency and determining a communication speed. Air conditioner.
前記フラッシュメモリの記憶領域を複数の領域に分けるとともに、前記領域に記憶する記憶内容にバージョン情報を付して記憶することにより、所要部分の記憶内容全体または一部のみを書き換える書換記憶手段
を具備することを特徴とする請求項5記載の分散配置型空調装置。
Rewriting storage means for rewriting the entire stored content or only a part of the required portion by dividing the storage area of the flash memory into a plurality of areas and adding the version information to the stored contents stored in the area The distributed arrangement type air conditioner according to claim 5 .
前記書換を行った箇所の記憶アドレスの合計値が所定値になっているか否かによって前記書換が正常に行われたか否かを判別する判別手段
を具備することを特徴とする請求項5記載の分散配置型空調装置。
6. The determination unit according to claim 5 , further comprising: a determination unit configured to determine whether or not the rewrite has been normally performed based on whether or not a total value of storage addresses of the rewritten portions is a predetermined value . Distributed air conditioner.
JP04421697A 1997-02-27 1997-02-27 Flash memory CPU type control device and device using the same Expired - Fee Related JP3837201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04421697A JP3837201B2 (en) 1997-02-27 1997-02-27 Flash memory CPU type control device and device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04421697A JP3837201B2 (en) 1997-02-27 1997-02-27 Flash memory CPU type control device and device using the same

Publications (2)

Publication Number Publication Date
JPH10240516A JPH10240516A (en) 1998-09-11
JP3837201B2 true JP3837201B2 (en) 2006-10-25

Family

ID=12685358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04421697A Expired - Fee Related JP3837201B2 (en) 1997-02-27 1997-02-27 Flash memory CPU type control device and device using the same

Country Status (1)

Country Link
JP (1) JP3837201B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19931184A1 (en) * 1999-07-07 2001-01-11 Bosch Gmbh Robert Altering controller memory contents involves writing new data that is worthy of security into different memory area before transferring to original memory area contg. replaced data
JP2003056950A (en) * 2001-08-10 2003-02-26 Mitsubishi Heavy Ind Ltd Refrigerating machine control device
US20050228978A1 (en) * 2002-06-28 2005-10-13 Koninklijke Philips Electronics N.V. Software download into a receiver
JP4433763B2 (en) * 2003-10-31 2010-03-17 横河電機株式会社 Field device memory update method and system
JP7380016B2 (en) * 2019-09-27 2023-11-15 株式会社デンソーウェーブ air conditioning controller

Also Published As

Publication number Publication date
JPH10240516A (en) 1998-09-11

Similar Documents

Publication Publication Date Title
JP6459728B2 (en) Remote control device for air conditioner and air conditioner equipped with the same
US6453689B2 (en) Refrigerating/air-conditioning apparatus and control method therefor
JPWO1994025803A1 (en) Air conditioner operation control device
JP3837201B2 (en) Flash memory CPU type control device and device using the same
JP3346616B2 (en) Control device for air conditioner
JP3467722B2 (en) Air conditioner
JP3519786B2 (en) Distributed air conditioner
CN115682393B (en) Air conditioning device, operation terminal and wireless communication system
JP4179794B2 (en) Outdoor unit and air conditioning system
JP3819583B2 (en) Air conditioner
JPH0285634A (en) air conditioner
JP6673456B2 (en) Data setting method of remote control device for air conditioner
KR20070034820A (en) Tea room air conditioning system and its operation mode control method
JP2624445B2 (en) Air conditioner
JP2002206789A (en) Air conditioning system and method of setting centralized management device in air conditioning system
JP3895029B2 (en) Air conditioner control program rewriting device
JP2000046405A (en) Air conditioner
KR101203558B1 (en) Error history control device of Air-conditioner and its control method for the same
US20240377091A1 (en) Write access security protocol for heating, ventilation, and/or air-conditioning (hvac) device
KR102571264B1 (en) Air conditioning system including a communication device
JP3089845B2 (en) Operation control device for air conditioner
JP2000065413A (en) Air conditioner
JPH10153338A (en) Distributed air conditioner
JP4540548B2 (en) Air conditioner
JPH06221654A (en) Controller and abnormality detector of air conditioner

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060516

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060703

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: 20060725

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060731

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

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees