JP3667815B2 - Combustor control device - Google Patents

Combustor control device Download PDF

Info

Publication number
JP3667815B2
JP3667815B2 JP10540595A JP10540595A JP3667815B2 JP 3667815 B2 JP3667815 B2 JP 3667815B2 JP 10540595 A JP10540595 A JP 10540595A JP 10540595 A JP10540595 A JP 10540595A JP 3667815 B2 JP3667815 B2 JP 3667815B2
Authority
JP
Japan
Prior art keywords
data
microcomputer
storage means
writing
control
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
JP10540595A
Other languages
Japanese (ja)
Other versions
JPH08296837A (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 JP10540595A priority Critical patent/JP3667815B2/en
Publication of JPH08296837A publication Critical patent/JPH08296837A/en
Application granted granted Critical
Publication of JP3667815B2 publication Critical patent/JP3667815B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は、マイクロコンピュータにより運転制御を行う燃焼器に関し、更に詳しくは、機器制御用データを格納する記憶手段を搭載した燃焼器の制御装置に関するものである。
【0002】
【従来の技術】
従来より、この種の燃焼器は、機内に搭載されたマイクロコンピュータ(以下マイコンと呼ぶ)によって制御されており、電源投入時にEEP−ROM等、読出し/書込み可能な不揮発性メモリに格納されている各種制御データ(例えば、給湯設定温度データ、シャワー設定温度データ、風呂設定温度データ、風呂水位位置データ等)がマイコン内に取り込まれ、これら制御データを参照に機器の燃焼制御が行われる。又、機器稼働中上記制御データは、マイコン上で絶えず更新されているが、停電等による緊急停止時には、最新の制御データを保持すべく、マイコン上の制御データが電源断直前に一旦上記不揮発性メモリに退避させられ、停電復帰後に再び退避データがマイコン内に取り込まれるようになっている。
【0003】
【発明が解決しようとする課題】
図3は、上記制御データを記憶手段に退避させる際の従来の動作フローチャートである。本フローチャートが示すように、停電時、又はデータクリア時に制御データをメモリ(EEP−ROM)へ書込む際、マイコンはデータ転送後、上記メモリからの書込み終了出力を検知することで、転送したデータの書込み終了を判断し、係る検知動作を繰り返し行うことで保持すべき全制御データ(16ワード)をメモリ内に退避させていた。しかしながら、書込みの際、書込み終了出力を一回だけ検知して書込み終了を確認するのでは、マイコンがノイズ等を書込み終了出力と誤認識した場合メモリに不確実なデータが格納されることとなり、その結果、誤った温度設定が為されるといった危険性もあり、燃焼器の信頼性に問題が生ずる。
【0004】
本発明の目的は、上記不都合を解消し、制御データ退避動作の信頼性を向上した安全性の高い燃焼器の制御装置を提供することである。
【0005】
【課題を解決するための手段】
即ち、本発明は、制御データを格納する記憶手段と、この記憶手段のデータ読出し/書込み動作を制御するマイクロコンピュータとを備え、前記記憶手段へのデータ書込み動作の際に、この記憶手段からの書込み終了出力を所定の周期で複数回連続して検知した場合のみデータ書込み終了と判断するようにした。
【0006】
又、本発明は、制御データを格納する記憶手段と、この記憶手段のデータ読出し/書込み動作を制御するマイクロコンピュータとを備え、停電時、又はデータクリア時の前記記憶手段へのデータ書込みの際に、この記憶手段からの書込み終了出力を所定の周期で複数回連続して検知した場合のみデータ書込み終了と判断するようにした。
【0007】
【作用】
上記構成により、本発明では、制御データ書込み時、記憶手段送出された書込み終了出力がマイクロコンピュータによって所定の周期で複数回チェックされ、書込み終了出力が所定回数連続して確認できれば、データの書込みが正常終了したと判断される。
【0008】
従って、この書込み終了チェックの周期とチェック回数を適宜設定することにより、たまたまノイズ等を書込み終了出力“有り”と誤認識した場合でも、この誤認が所定回数連続して発生する確率は極めて小さくなるため、メモリの書込動作の信頼性が著しく向上する。
【0009】
【実施例】
図1は、本発明に係る燃焼器の制御装置の一実施例を示すブロック構成図である。
【0010】
図中、2は機器の燃焼運転を一括制御するマイコンで、このマイコン2には給湯設定温度データ、シャワー設定温度データ、風呂設定温度データ、風呂水位位置データ等、機器の燃焼制御に必要な各種制御データが格納される記憶手段4としての不揮発性メモリ、例えば、EEP−ROMが接続されている。このEEP−ROM4にはデータクロックCL、チップセレクトCS 、データ入力DI 、データ出力DO 等の端子が用意されており、夫々、マイコン2のポートP0 、P1 、P3 に接続されている。
【0011】
又、マイコン2のポートP4 、P5 には、上記EEP−ROM4へのデータ退避を指示する停電検出回路1やメモリの内容を初期化するクリアSW3が接続されており、その他に燃焼制御回路5が接続されている。
【0012】
本発明による燃焼器の制御装置は上記構成であり、以下に本発明の趣旨である制御データの退避動作について図2の動作フローチャートに基づいて説明する。
【0013】
本フローチャートは、停電時、或いはクリアSW3操作時にマイコン2上の制御データや初期値データ等を記憶手段4に書込む際の制御動作を示したものである。
【0014】
本実施例では、この記憶手段4として電気的に消去/書込みが可能なシリアルメモリ(EEP−ROM)が使用されており、既述したデータクロックCL、チップセレクトCS 、データ入力DI 、データ出力DO 等の制御のもと、マイコン2によるデータの読出し/書込み動作が実行される。
【0015】
初めに、停電検出回路1からのパルス信号やクリアSW3のスイッチ押下信号によりデータ書込みの有無が判断される。上記停電検出回路1のパルス出力が停止し、停電状態が確認された場合は、マイコン上の制御データがEEP−ROM4に書き込まれ(データ退避)、又クリアSW3が操作された場合は、EEP−ROM4の内容が初期値にセットされる。
【0016】
いずれの場合も、メモリ書込みの際、マイコン2はポートPO のチップセレクト信号Cs を“H”にセットし、ポートP2 から書込みアドレスと制御データ(クリアSW押下の場合には初期値データ)をポートP1 からのデータクロックCLに同期させてEEP−ROM4に出力し、制御データDI の転送を開始する。1ワードのデータ転送が終了した後、チップセレクトCs を“L”にセットすると、EEP−ROM4は指定されたメモリアドレスに受信した制御データDI の書込みを実行し、書込み終了の確認信号(READY)をデータ出力Do に送出する。マイコン2はポートP3 を介し、この書込み終了出力D0 を検知し、制御データDI のメモリ書込み終了を確認する。
【0017】
一回目の書込み終了出力D0 が確認されると、所定時間後(100μsec後)、再度、この書込み終了出力D0 の有無がチェックされる。マイコン2は連続して2回の書込み終了出力“有り”が確認された時に制御データDI の正常書込み終了を判断し、順次残りのデータを転送しながら同様のチェックを繰り返し、全データ16ワードの書込みを実行する。
【0018】
以上のように、EEP−ROM4からの書込み終了出力D0 “有り”を複数回(本実施例では、2回)連続してチェックすることにより、データ書込みの際の書込み終了確認の誤認識が防止できる。即ち、本実施例のように、この書込み終了チェックの周期を100μsecというように、想定されるノイズ幅より十分大きく設定しておけば、万一、書込み終了出力の有無確認の際、ノイズ等を書込み終了出力D0 “有り”と誤認識たとしても、100μsec後の2回目のチェック時に上記ノイズが存在していたり、又、新たにこのタインミングでノイズが発生する確率は極めて小さく、従って、書込動作の信頼性を著しく向上させることが可能となる。
【0019】
以上が制御データDI の書込み動作の詳細であるが、書込み終了出力D0 のチェック周期やチェック回数は上記実施例に限定されるものではなく、回路構成やマイコン2の処理時間等から最適条件を適宜設定することができる。又、記憶手段4としてEE−PROMを用いたが、これに限定されるものではなく、本発明はバッテリRAM等への書込みにも適用可能である。
【0020】
【発明の効果】
以上説明したように本発明によれば、制御データを格納する記憶手段と、この記憶手段のデータ読出し/書込み動作を制御するマイクロコンピュータとを備え、前記記憶手段へのデータ書込み動作の際に、この記憶手段からの書込み終了出力を所定の周期で複数回連続して検知した場合のみデータ書込み終了と判断するようにしたので、ノイズ等による書込みの誤動作が防止され、データ退避の信頼性が向上する。
【0021】
又、上記書込み終了出力の連続検知を停電等の際のデータ退避動作に適用することにより、如何なる場合にも常に信頼性の高い制御データが保持可能となり、装置の安全性がより確実に確保できる。
【0022】
【図面の簡単な説明】
【図1】本発明に係る燃焼器の制御装置の一実施例を示すブロック構成図である。
【図2】同、燃焼器の制御装置の動作フローチャートを示す。
【図3】従来の燃焼装置の制御装置の動作フローチャートを示す。
【符号の説明】
2 マイクロコンピュータ
4 記憶手段(EEP−ROM)
[0001]
[Industrial application fields]
The present invention relates to a combustor that performs operation control by a microcomputer, and more particularly, to a combustor control device equipped with a storage means for storing device control data.
[0002]
[Prior art]
Conventionally, this type of combustor is controlled by a microcomputer (hereinafter referred to as a microcomputer) installed in the machine, and stored in a readable / writable nonvolatile memory such as an EEP-ROM when the power is turned on. Various control data (for example, hot water set temperature data, shower set temperature data, bath set temperature data, bath water level position data, etc.) are taken into the microcomputer, and combustion control of the equipment is performed with reference to these control data. In addition, the above control data is constantly updated on the microcomputer while the equipment is in operation. However, in the event of an emergency stop due to a power failure, the control data on the microcomputer is temporarily non-volatile immediately before the power is turned off to retain the latest control data. The data is saved in the memory, and the saved data is again taken into the microcomputer after the power failure is restored.
[0003]
[Problems to be solved by the invention]
FIG. 3 is a flowchart of a conventional operation when the control data is saved in the storage means. As shown in this flowchart, when writing control data to the memory (EEP-ROM) at the time of power failure or data clear, the microcomputer detects the write end output from the memory after data transfer, and transfers the transferred data. By determining the end of writing and repeatedly performing the detection operation, all control data (16 words) to be held is saved in the memory. However, at the time of writing, if the writing end output is detected only once and the writing end is confirmed, if the microcomputer erroneously recognizes noise etc. as the writing end output, uncertain data will be stored in the memory, As a result, there is a risk that an incorrect temperature is set, which causes a problem in the reliability of the combustor.
[0004]
An object of the present invention is to provide a highly safe combustor control device that eliminates the above-mentioned disadvantages and improves the reliability of control data saving operation.
[0005]
[Means for Solving the Problems]
That is, the present invention comprises a storage means for storing control data and a microcomputer for controlling the data read / write operation of the storage means, and the data is read from the storage means during the data write operation to the storage means. Only when the write end output is continuously detected a plurality of times at a predetermined cycle, it is determined that the data write is completed.
[0006]
The present invention also comprises a storage means for storing control data and a microcomputer for controlling the data read / write operation of the storage means, and when data is written to the storage means at the time of power failure or data clear. In addition, it is determined that the data writing is completed only when the writing end output from the storage means is continuously detected a plurality of times in a predetermined cycle.
[0007]
[Action]
With the above configuration, in the present invention, when the control data is written, if the write end output sent from the storage means is checked a plurality of times at a predetermined cycle by the microcomputer, and if the write end output can be confirmed continuously a predetermined number of times, the data writing is completed. It is determined that the process ended normally.
[0008]
Therefore, by setting the write end check cycle and the number of checks as appropriate, even if noise or the like is mistakenly recognized as being “write end output”, the probability that this misrecognition will occur continuously a predetermined number of times becomes extremely small. Therefore, the reliability of the memory write operation is significantly improved.
[0009]
【Example】
FIG. 1 is a block diagram showing an embodiment of a control device for a combustor according to the present invention.
[0010]
In the figure, 2 is a microcomputer that collectively controls the combustion operation of the equipment. This microcomputer 2 has various types of equipment necessary for combustion control of equipment such as hot water set temperature data, shower set temperature data, bath set temperature data, and bath water level position data. A nonvolatile memory, for example, an EEP-ROM, is connected as the storage means 4 in which the control data is stored. The EEP-ROM 4 has terminals such as a data clock CL, a chip select CS, a data input DI and a data output D0, which are connected to the ports P0, P1 and P3 of the microcomputer 2, respectively.
[0011]
The ports P4 and P5 of the microcomputer 2 are connected to a power failure detection circuit 1 for instructing data saving to the EEP-ROM 4 and a clear SW 3 for initializing the contents of the memory. In addition, a combustion control circuit 5 is provided. It is connected.
[0012]
The combustor control apparatus according to the present invention has the above-described configuration, and control data saving operation, which is the gist of the present invention, will be described below with reference to an operation flowchart of FIG.
[0013]
This flowchart shows the control operation when the control data, initial value data, etc. on the microcomputer 2 are written in the storage means 4 at the time of a power failure or when the clear SW 3 is operated.
[0014]
In this embodiment, an electrically erasable / writeable serial memory (EEP-ROM) is used as the storage means 4, and the data clock CL, chip select CS, data input DI, data output DO described above. Under such control, the data read / write operation by the microcomputer 2 is executed.
[0015]
First, the presence / absence of data writing is determined based on the pulse signal from the power failure detection circuit 1 or the switch pressing signal of the clear SW 3. When the pulse output of the power failure detection circuit 1 is stopped and the power failure state is confirmed, the control data on the microcomputer is written into the EEP-ROM 4 (data saving), and when the clear SW 3 is operated, the EEP- The contents of the ROM 4 are set to initial values.
[0016]
In either case, the microcomputer 2 sets the chip select signal Cs of the port PO to “H” and writes the write address and control data (initial value data when the clear SW is pressed) from the port P2 when writing to the memory. The data is output to the EEP-ROM 4 in synchronization with the data clock CL from P1, and the transfer of the control data DI is started. When the chip select Cs is set to “L” after the data transfer of one word is completed, the EEP-ROM 4 executes the writing of the received control data DI at the designated memory address, and the write end confirmation signal (READY) Is sent to the data output Do. The microcomputer 2 detects this write end output D0 via the port P3 and confirms the end of the memory write of the control data DI.
[0017]
When the first write end output D0 is confirmed, the presence or absence of the write end output D0 is checked again after a predetermined time (after 100 μsec). The microcomputer 2 determines the end of normal writing of the control data DI when it is confirmed that the write end output “Yes” is confirmed twice in succession, and repeats the same check while transferring the remaining data one by one. Perform writing.
[0018]
As described above, the write end output D0 “existing” from the EEP-ROM 4 is continuously checked a plurality of times (in this embodiment, twice) to prevent erroneous recognition of the write end confirmation at the time of data writing. it can. That is, as in this embodiment, if the period of the write end check is set to be sufficiently larger than the expected noise width, such as 100 μsec, in the unlikely event of checking the presence / absence of the write end output, noise or the like is generated. Even if the write end output D0 is misrecognized as “present”, the above-mentioned noise is present at the second check after 100 μsec, or the probability of newly generating noise due to this timing is extremely small. It becomes possible to remarkably improve the operation reliability.
[0019]
The above is the details of the write operation of the control data DI. However, the check cycle and the number of checks of the write end output D0 are not limited to the above embodiment, and the optimum conditions are appropriately determined from the circuit configuration, the processing time of the microcomputer 2, and the like. Can be set. Further, although EE-PROM is used as the storage means 4, the present invention is not limited to this, and the present invention can also be applied to writing to a battery RAM or the like.
[0020]
【The invention's effect】
As described above, according to the present invention, the storage means for storing the control data and the microcomputer for controlling the data read / write operation of the storage means are provided. The data write end is judged only when the write end output from the storage means is detected continuously a plurality of times at a predetermined cycle, so that a write malfunction due to noise or the like is prevented and the reliability of data saving is improved. To do.
[0021]
In addition, by applying the continuous detection of the write end output to the data saving operation in the event of a power failure, it is possible to always retain highly reliable control data in any case, and to ensure the safety of the device more reliably. .
[0022]
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a control device for a combustor according to the present invention.
FIG. 2 shows an operation flowchart of the control device for the combustor.
FIG. 3 shows an operation flowchart of a conventional combustion apparatus control apparatus.
[Explanation of symbols]
2 Microcomputer 4 Memory means (EEP-ROM)

Claims (2)

制御データを格納する記憶手段と、この記憶手段のデータ読出し/書込み動作を制御するマイクロコンピュータとを備え、前記記憶手段へのデータ書込み動作の際に、この記憶手段からの書込み終了出力を所定の周期で複数回連続して検知した場合のみデータ書込み終了と判断することを特徴とする燃焼器の制御装置。A storage means for storing the control data; and a microcomputer for controlling the data read / write operation of the storage means. A combustor control device that determines that data writing is completed only when it is detected a plurality of times continuously in a cycle. 制御データを格納する記憶手段と、この記憶手段のデータ読出し/書込み動作を制御するマイクロコンピュータとを備え、停電時、又はデータクリア時の前記記憶手段へのデータ書込みの際に、この記憶手段からの書込み終了出力を所定の周期で複数回連続して検知した場合のみデータ書込み終了と判断することを特徴とする燃焼器の制御装置。A storage means for storing the control data and a microcomputer for controlling the data read / write operation of the storage means are provided. The combustor control device determines that the data writing is completed only when the writing end output of is continuously detected a plurality of times in a predetermined cycle.
JP10540595A 1995-04-28 1995-04-28 Combustor control device Expired - Fee Related JP3667815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10540595A JP3667815B2 (en) 1995-04-28 1995-04-28 Combustor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10540595A JP3667815B2 (en) 1995-04-28 1995-04-28 Combustor control device

Publications (2)

Publication Number Publication Date
JPH08296837A JPH08296837A (en) 1996-11-12
JP3667815B2 true JP3667815B2 (en) 2005-07-06

Family

ID=14406713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10540595A Expired - Fee Related JP3667815B2 (en) 1995-04-28 1995-04-28 Combustor control device

Country Status (1)

Country Link
JP (1) JP3667815B2 (en)

Also Published As

Publication number Publication date
JPH08296837A (en) 1996-11-12

Similar Documents

Publication Publication Date Title
EP0186832B1 (en) Memory device
US4877945A (en) IC card having a function to exclude erroneous recording
EP2221724B1 (en) Vehicular Memory Management Apparatus
JPH11259375A (en) Device and system for control for vehicle
US7237146B2 (en) Securing method of data transfer and data transfer system provided therewith
JPH09265436A (en) Data transfer device
JP3667815B2 (en) Combustor control device
JP3491358B2 (en) Power cut-off detection device
US6256226B1 (en) Eeprom write device
KR20000052570A (en) Data processor and method of processing data
US5835706A (en) Method of controlling data writing into on-board microcomputer
JP4254577B2 (en) Control device
JPH0822422A (en) Memory device
WO1997048072A1 (en) Ic card reader/writer and its control method
JP2002024101A (en) Nonvolatile memory writer
JPS63249284A (en) Write control system for id system
JP3593818B2 (en) Non-contact IC card
JPH06259982A (en) Method and device for rewriting flash rom
JP3762807B2 (en) Remote control device
JP3924945B2 (en) Electronic control unit
JPS62154082A (en) Portable electronic appliance
JPH11260075A (en) Microcomputer with built-in flash memory and data rewrite method
JP4179945B2 (en) Vending machine terminal control device
JP3626585B2 (en) Received data protection method during hot-swap
JPS61101377A (en) Controller for elevator

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050223

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050407

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

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees