[go: up one dir, main page]

JPH0921526A - Combustion controller - Google Patents

Combustion controller

Info

Publication number
JPH0921526A
JPH0921526A JP19422895A JP19422895A JPH0921526A JP H0921526 A JPH0921526 A JP H0921526A JP 19422895 A JP19422895 A JP 19422895A JP 19422895 A JP19422895 A JP 19422895A JP H0921526 A JPH0921526 A JP H0921526A
Authority
JP
Japan
Prior art keywords
combustion
program
module
control device
block
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.)
Pending
Application number
JP19422895A
Other languages
Japanese (ja)
Inventor
Fumio Kondo
文夫 近藤
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.)
Paloma Kogyo KK
Original Assignee
Paloma Kogyo KK
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 Paloma Kogyo KK filed Critical Paloma Kogyo KK
Priority to JP19422895A priority Critical patent/JPH0921526A/en
Publication of JPH0921526A publication Critical patent/JPH0921526A/en
Pending legal-status Critical Current

Links

Landscapes

  • Regulation And Control Of Combustion (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate rewriting of a control program and hence demonstrate the advantage of a flash memory by arranging and storing a module for each function of the control program so as not to stride across a boundary between erase blocks of the flash memory. SOLUTION: A flash memory of a combustion controller is electrically rewritable and erasable of stored contents for each block, and stores a control program. The flash memory has the capacity of each block of 512 bytes. Each module is arranged not to stride across a boundary between blocks. In the block 1 there are stored modules (a), (b) with the capacity of 200 bytes, and a module (c) with the capacity of 100 bytes with a blank space of residual 12 bytes. Since the boundary between the blocks are not strid, there are divided into two modules one having one function in all, the module h1 being stored in the block 3 and the module h2 stored in the next block 4.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、燃焼制御プログラ
ムを書換え可能な不揮発性メモリ上に配置した燃焼制御
装置に関し、更に詳細には、燃焼制御プログラムの個々
のモジュールを書換え可能な不揮発性メモリの消去ブロ
ックの境目を跨がないように配置してプログラム修正を
容易にした燃焼制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a combustion control device in which a combustion control program is arranged on a rewritable non-volatile memory, and more specifically to a non-volatile memory capable of rewriting individual modules of the combustion control program. The present invention relates to a combustion control device which is arranged so as not to cross the boundary of erase blocks and facilitates program modification.

【0002】[0002]

【従来の技術】従来の燃焼制御装置としては、例えば特
開平3−20518号公報や特開平3−195818号
公報に記載されたものが挙げられる。これらは、EEP
ROM等の書換え可能メモリが不揮発性であることを利
用し、燃焼制御装置の運転上の設定データをこれに保存
することにより停電等の不測の事態に対処しようとする
ものであり、燃焼器具を制御するための制御プログラム
もEEPROM等の書換え可能メモリに格納するように
している。
2. Description of the Related Art Examples of conventional combustion control devices include those described in JP-A-3-20518 and JP-A-3-195818. These are EEP
By utilizing the non-volatile rewritable memory such as ROM and saving the operational setting data of the combustion control device in this, it is intended to cope with an unexpected situation such as a power failure. A control program for controlling is also stored in a rewritable memory such as an EEPROM.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、燃焼制
御装置では機能、仕様の異なる多種類の機種を展開する
場合があり、機種によって制御プログラムの一部を変更
して用いる。また、制御プログラムにプログラム作成上
の不備(バグ)が発見された場合に対策プログラムで置
き換える必要が生じることもある。ところが、前記公報
の燃焼制御装置で書換え可能メモリを用いているのは運
転上の設定データを保存するためであり、制御プログラ
ムの書換えを行うことを目的としているわけではない。
従ってこの燃焼制御装置で書換え可能メモリに格納され
た制御プログラムを書き換えることは可能ではあるが以
下のような問題点がある。
However, in the combustion control device, there are cases where various types of models having different functions and specifications are developed, and a part of the control program is changed and used depending on the model. In addition, if a deficiency (bug) in program creation is found in the control program, it may be necessary to replace it with a countermeasure program. However, the use of the rewritable memory in the combustion control device of the above-mentioned publication is for storing the operational setting data, and is not for the purpose of rewriting the control program.
Therefore, although it is possible to rewrite the control program stored in the rewritable memory with this combustion control device, there are the following problems.

【0004】即ち書換え可能メモリのなかでもフラッシ
ュメモリ(フラッシュEEPROM)と呼ばれるもので
は記憶内容の消去は全体一括又はブロック単位(数十バ
イト〜数十Kバイト程度)でなされるが、従来の燃焼制
御装置では制御プログラムの各機能ごとのモジュールを
単に端から格納しているに過ぎないので、図5に示すよ
うにモジュールによってはブロックの境目を跨ぐ場合が
ある。図5の例ではモジュールd、g、h、kが2つの
ブロックを跨いだ格好で記録されている。
That is, among rewritable memories, a so-called flash memory (flash EEPROM) is used to erase the stored contents entirely or in blocks (about several tens of bytes to several tens of kilobytes). Since the device simply stores the module for each function of the control program from the end, depending on the module, the module may cross the boundary between blocks as shown in FIG. In the example of FIG. 5, the modules d, g, h, and k are recorded in the form of straddling two blocks.

【0005】従って例えば新型機種のためにモジュール
d、hを変更しようとする場合には、モジュールdがブ
ロック1、2に跨り、モジュールhがブロック3、4に
跨っているので、変更に係るモジュールは2個だけであ
るにもかかわらずブロック1〜5を書き換えなければな
らない。ブロック5を書き換える理由は、変更に伴いモ
ジュールd、hのバイト数が増えることが多く、その場
合にはモジュールkを後方に移動させなければならない
からである。
Therefore, for example, when the modules d and h are to be changed for a new model, the module d spans blocks 1 and 2, and the module h spans blocks 3 and 4. The blocks 1 to 5 must be rewritten even though there are only two. The reason why the block 5 is rewritten is that the number of bytes of the modules d and h often increases due to the change, and in that case, the module k has to be moved backward.

【0006】このため、軽微なプログラム変更の場合で
も実際には相当多くのブロックを書き換えなければなら
ないこととなり、書換えには1ブロック当り1〜2秒程
度の消去時間と0.1秒前後の書き込み時間を要するの
で書換えの所要時間が長くなってしまう。このことは一
部のモジュールについてデバッグを行う場合も同様であ
り、フラッシュメモリを採用する利点が十分生かされな
いのである。
Therefore, even in the case of a slight program change, a considerable number of blocks must actually be rewritten, and for rewriting, an erasing time of about 1 to 2 seconds and writing of about 0.1 second per block are required. Since it takes time, the rewriting time becomes long. This is the same when debugging some modules, and the advantage of using the flash memory cannot be fully utilized.

【0007】本発明は前記従来の問題点を解消するため
になされたものであり、その目的とするところは、制御
プログラムの各機能ごとのモジュールをフラッシュメモ
リの消去ブロックの境目を跨がないように配置して格納
することにより、制御プログラムの書換えを容易にして
フラッシュメモリの利点を十分発揮できるようにした燃
焼制御装置を提供することにある。
The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to prevent a module for each function of a control program from straddling a boundary between erase blocks of a flash memory. It is an object of the present invention to provide a combustion control device in which the control program can be easily rewritten and the advantages of the flash memory can be sufficiently exhibited by arranging and storing the combustion control device.

【0008】[0008]

【課題を解決するための手段】[Means for Solving the Problems]

(1)この目的を達成するため本発明は、制御プログラ
ムを格納したプログラムメモリを有し、燃焼器具のセン
サから信号の入力を受け前記制御プログラムにより演算
して燃焼器具のアクチュエータへの駆動信号を出力する
燃焼制御装置において、前記プログラムメモリの少なく
とも一部がブロックごとに記憶内容の消去が可能なフラ
ッシュメモリにより構成され、前記制御プログラムのう
ち前記フラッシュメモリに格納される部分が前記ブロッ
クのサイズ以下のサイズに分割されたモジュールにより
構成され、前記各モジュールの半数以上が前記ブロック
のいずれか1つの内に配置されたことをその要旨とす
る。
(1) To achieve this object, the present invention has a program memory in which a control program is stored, receives a signal from a sensor of a combustion appliance, calculates the control program, and outputs a drive signal to an actuator of the combustion appliance. In a combustion control device for outputting, at least a part of the program memory is composed of a flash memory capable of erasing stored contents for each block, and a part of the control program stored in the flash memory is equal to or smaller than a size of the block. The gist of the present invention is that the modules are divided into modules each having a size of, and more than half of each module is arranged in any one of the blocks.

【0009】即ち本発明は、制御プログラムをモジュー
ルに細分し(通常機能ごとに分割される)、このモジュ
ールを、フラッシュメモリのブロックの境目を跨がない
ように格納して、1つのモジュールを変更するのに1つ
のブロックを書き換えれば済むようにしたものである。
ここで「半数以上」としたのは、モジュールによって
は、従前の機種から継続して使用され信頼性も高く、機
能面でも基本機能を担うものであるため変更やデバッグ
の必要性が実際上ほとんどないものもあり、そのような
モジュールについてはブロックの境目を跨いで格納して
もかまわないからである。
That is, according to the present invention, the control program is subdivided into modules (divided for each normal function), the modules are stored so as not to cross the boundaries of the blocks of the flash memory, and one module is changed. To do this, only one block needs to be rewritten.
Here, "more than half" means that depending on the module, it will continue to be used from the previous model and has high reliability, and since it will carry the basic function in terms of functionality, there is practically no need for modification or debugging. This is because some modules do not exist, and such modules may be stored across the boundaries of blocks.

【0010】むろんそのようなモジュールについても他
のモジュール同様いずれか1つのブロック内に配置した
ほうが本発明の趣旨がより徹底されることはいうまでも
ない。従って、より好ましくは各モジュールの7割以上
を前記ブロックのいずれか1つの内に配置するのがよ
く、更に好ましくは各モジュールの9割以上を前記ブロ
ックのいずれか1つの内に配置するのがよい。最も好ま
しいのはすべてのモジュールを前記ブロックのいずれか
1つの内に配置することである。
Needless to say, the gist of the present invention is more thorough if such a module is arranged in any one block like other modules. Therefore, it is more preferable to place 70% or more of each module in any one of the blocks, and even more preferably place 90% or more of each module in any one of the blocks. Good. Most preferred is to place all modules within any one of the blocks.

【0011】かかる構成を有する本発明では、燃焼器具
のセンサから燃焼制御装置に信号の入力があると、プロ
グラムメモリに格納された制御プログラムにより入力信
号に応じて演算され、その結果により燃焼器具のアクチ
ュエータへの指令信号が出力されて燃焼制御がなされ
る。ここにおいて、フラッシュメモリに格納された制御
プログラムのモジュールであっていずれか1つのブロッ
ク内に配置されたものを変更するときは、フラッシュメ
モリの当該ブロックのみについて書換えを行えば足り
る。
According to the present invention having such a configuration, when a signal is input from the sensor of the combustion appliance to the combustion control device, the control program stored in the program memory calculates the signal according to the input signal. Combustion control is performed by outputting a command signal to the actuator. Here, when changing the module of the control program stored in the flash memory and arranged in any one of the blocks, it is sufficient to rewrite only that block of the flash memory.

【0012】(2)また本発明は、前記(1)のものを
基板に実装してなる燃焼制御装置であって、前記フラッ
シュメモリにモジュールを前記ブロックごとに書き込む
書き込み装置を接続する書換え端子を前記基板に備えた
ことをその要旨とする。かかる構成によれば、基板に実
装したときにその基板上の書換え端子に書き込み装置を
接続して、この書き込み装置によりフラッシュメモリの
ブロックごとの書換えを行い、モジュールの変更をする
ことができる。
(2) Further, the present invention is a combustion control device in which the above (1) is mounted on a substrate, and a rewriting terminal for connecting a writing device for writing a module to the flash memory for each block is provided. The main point is that the substrate is provided. According to this structure, when mounted on a substrate, the writing device is connected to the rewriting terminal on the substrate, and the writing device can rewrite each block of the flash memory to change the module.

【0013】(3)また本発明は、前記(1)又は
(2)の燃焼制御装置であって、前記燃焼器具のリモコ
ン装置を有し、このリモコン装置に前記フラッシュメモ
リに格納されたモジュールを前記ブロックごとに書き換
える書換え手段を備えたことをその要旨とする。かかる
構成によれば、燃焼制御装置を燃焼器具に組み込んだ後
でも、燃焼器具のリモコン装置の書換え手段を用いてフ
ラッシュメモリのブロックごとの書換えを行い、モジュ
ールの変更をすることができる。ここにおいて、リモコ
ン装置と同一のインターフェースを持つ他の装置に書換
え手段を備えれば、その装置で書き換えることもでき
る。
(3) The present invention also provides the combustion control device according to (1) or (2), further including a remote control device for the combustion appliance, wherein the remote control device includes a module stored in the flash memory. The gist of the present invention is to have a rewriting means for rewriting each block. According to this configuration, even after the combustion control device is incorporated in the combustion appliance, it is possible to rewrite each block of the flash memory by using the rewriting means of the remote control device of the combustion appliance to change the module. Here, if another device having the same interface as the remote control device is provided with the rewriting means, it can be rewritten by that device.

【0014】[0014]

【発明の実施の形態】以下、本発明が具体的にどのよう
に実施されるかを、図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, how the present invention will be concretely carried out will be described in detail with reference to the drawings.

【0015】図1に示すように燃焼制御装置30は、中
央演算素子(CPU)14を中心として、これにバス1
5を介してフラッシュメモリ11、RAM16、入力回
路17、出力回路18を接続し、燃焼器具20を制御す
るようにしたものである。フラッシュメモリ11は燃焼
制御装置30で行う燃焼制御のための種々の制御プログ
ラムや設定数値を格納する書換え可能な読み出しメモリ
である。RAM16は、CPU14での演算データを一
時的に記憶するための随時書き込み及び読み出し可能な
メモリである。入力回路17は、燃焼器具20のセンサ
群21からの入力信号をCPU14で処理可能な形に変
換する回路である。出力回路18は、CPU14で演算
された制御信号を燃焼器具20のアクチュエータ群22
の駆動が可能な形に変換して出力する回路である。
As shown in FIG. 1, the combustion control device 30 has a central processing unit (CPU) 14 as a center and a bus 1
The flash memory 11, the RAM 16, the input circuit 17, and the output circuit 18 are connected via 5 to control the combustion appliance 20. The flash memory 11 is a rewritable read memory that stores various control programs and set numerical values for combustion control performed by the combustion control device 30. The RAM 16 is a memory that can be written and read at any time to temporarily store the calculation data in the CPU 14. The input circuit 17 is a circuit that converts an input signal from the sensor group 21 of the combustion appliance 20 into a form that can be processed by the CPU 14. The output circuit 18 outputs the control signal calculated by the CPU 14 to the actuator group 22 of the combustion appliance 20.
It is a circuit that outputs after converting into a form that can drive.

【0016】ここで燃焼制御装置30により制御される
燃焼器具20は、ガス燃料を燃焼してその燃焼熱により
冷水を加熱して給湯するものであり、このための給ガス
系統や給水系統、ガスバーナ、送風ファン、熱交換器等
を備えている。
The combustion appliance 20 controlled by the combustion control device 30 burns gas fuel and heats cold water by the heat of combustion to supply hot water. For this purpose, a gas supply system, a water supply system, and a gas burner are provided. , A fan, heat exchanger, etc.

【0017】そしてこの燃焼器具20には、燃焼状態や
湯水の状態を検知して燃焼制御装置30にモニタするた
めの種々のセンサ類(センサ群21)が備えられてい
る。センサ群21に含まれるセンサ類としては、給水系
統に設けられる水流スイッチ、流量センサ、及び入水温
センサ、熱交換器に設けられる出湯温センサ、ガスバー
ナに備えられるフレームセンサ、等がある。燃焼器具2
0にはまた、燃焼制御装置30からの指令信号により駆
動されて燃焼状態等を変更するための種々のアクチュエ
ータ類(アクチュエータ群22)が備えられている。ア
クチュエータ群22に含まれるアクチュエータ類として
は、給ガス系統に備えられる遮断弁や比例弁、送風ファ
ンの駆動モータ、等がある。
The combustion device 20 is provided with various sensors (sensor group 21) for detecting the combustion state and the state of hot water and monitoring the combustion control device 30. The sensors included in the sensor group 21 include a water flow switch provided in the water supply system, a flow rate sensor, an incoming water temperature sensor, a hot water temperature sensor provided in the heat exchanger, a frame sensor provided in the gas burner, and the like. Burning appliance 2
0 is also provided with various actuators (actuator group 22) that are driven by a command signal from the combustion control device 30 to change the combustion state and the like. As the actuators included in the actuator group 22, there are a shutoff valve, a proportional valve, a blower fan drive motor, and the like provided in the gas supply system.

【0018】燃焼制御装置30のフラッシュメモリ11
について図2により更に詳しく説明する。フラッシュメ
モリ11は、電気的に書換えが可能であり記憶内容の消
去をブロックごとに可能なものであり、制御プログラム
が格納されている。このフラッシュメモリ11の共通制
御部には、燃焼器具20の機種にかかわらず共通して用
いられる共通機能に係る共通制御プログラムが格納され
ている。そして共通制御部以外の部分には、燃焼器具2
0の機種により異なる個別機能に係る個別制御プログラ
ムが、機能ごとにモジュールに分割されて格納されてい
る。また、燃焼制御のための設定数値(目標出湯温度
等)の記録もここで行われる。尚、共通制御部を設ける
代わりに、フラッシュメモリ11の他に読み出し専用の
マスクROMを備えてこれに共通制御プログラムを格納
することとしてもよい。
Flash memory 11 of combustion control device 30
Will be described in more detail with reference to FIG. The flash memory 11 is electrically rewritable, erasing the stored contents for each block, and stores a control program. The common control unit of the flash memory 11 stores a common control program relating to common functions that are commonly used regardless of the model of the combustion appliance 20. And, in the parts other than the common control part, the burner 2
Individual control programs related to individual functions that differ depending on the 0 model are divided into modules for each function and stored. In addition, recording of set values (target hot water temperature, etc.) for combustion control is also performed here. Instead of providing the common control unit, a read-only mask ROM may be provided in addition to the flash memory 11 to store the common control program.

【0019】フラッシュメモリ11へのモジュールの格
納は、燃焼制御装置30を基板に実装してから電気的に
行われるものであり、当該燃焼制御装置30を使用する
燃焼器具20の機種に固有の機能に係るモジュールが格
納される。従って、フラッシュメモリ11は共通プログ
ラムを格納でき、各機種ごとの必要なモジュールの合計
のうち最大のものを格納でき、設定数値のためのワーク
エリアを確保できる容量があれば十分で2機種以上のた
めのモジュールを格納できる容量は不要である。また、
フラッシュメモリ11はその製造上は同一のものであ
り、機種ごとに回路パターンを作成する必要はない。
The storage of the module in the flash memory 11 is performed electrically after the combustion control device 30 is mounted on the substrate, and the function is peculiar to the model of the combustion appliance 20 using the combustion control device 30. The module according to is stored. Therefore, the flash memory 11 can store a common program, can store the maximum one of the necessary modules for each model, and can have a work area for the set value. The capacity to store the module is not required. Also,
The flash memory 11 is the same in manufacturing, and it is not necessary to create a circuit pattern for each model.

【0020】そしてフラッシュメモリ11には、記憶内
容の消去単位であるブロックが設けられているので、こ
のブロックとモジュールとの関係を説明する。図2に示
すようにフラッシュメモリ11では各ブロックの容量は
512バイトである。そして各モジュールは、ブロック
の境目を跨がないようにいずれか1つのブロック内に配
置されている。
Since the flash memory 11 is provided with a block which is a unit for erasing the stored contents, the relationship between this block and the module will be described. As shown in FIG. 2, in the flash memory 11, each block has a capacity of 512 bytes. And each module is arrange | positioned in any one block so that the boundary of a block may not be straddled.

【0021】例えばブロック1には、200バイトの容
量を持つモジュールaと、同じく200バイトのモジュ
ールbと、容量100バイトのモジュールcとが格納さ
れ、残り12バイトが余白となっている。ブロック2以
下にも同様に2つ乃至3つのモジュールが格納され、若
干の余白が残されている。ここでブロック3のモジュー
ルh1 とブロック4のモジュールh2 とは、合わせて1
つの機能を担うものであり本来1つのモジュールとすべ
きものであるが、ブロック3に既に300バイトのモジ
ュールgが入っていることから、ブロックの境目を跨が
ないために2つのモジュールに分けて、モジュールh1
をブロック3に、モジュールh2 を次のブロック4に納
めたものである。
For example, the block 1 stores a module a having a capacity of 200 bytes, a module b having a capacity of 200 bytes, and a module c having a capacity of 100 bytes, and the remaining 12 bytes are a blank space. Similarly, two or three modules are stored in the block 2 and the following blocks, and some margins are left. Here, the module h 1 of the block 3 and the module h 2 of the block 4 are 1 in total.
It has one function and should be one module originally, but since the block 3 already contains a module g of 300 bytes, it is divided into two modules because it does not cross the boundary of the block, Module h 1
In the block 3 and the module h 2 in the next block 4.

【0022】次に、燃焼制御装置30の作用を説明す
る。燃焼制御装置30は、燃焼器具20のセンサ群21
から水流の流量や入水温度その他に関する検知信号の入
力を受けそれに応じて燃焼器具20のアクチュエータ群
22を駆動し燃焼器具20を制御する。
Next, the operation of the combustion control device 30 will be described. The combustion control device 30 includes a sensor group 21 of the combustion appliance 20.
A detection signal relating to the flow rate of the water flow, the incoming water temperature, and the like is input from the actuator, and the actuator group 22 of the combustion instrument 20 is driven accordingly to control the combustion instrument 20.

【0023】センサ群21の検知信号は、入力回路17
によりCPU14で処理可能な形に変換されてRAM1
6に記録される。そして燃焼制御装置30では、CPU
14が、フラッシュメモリ11に格納された制御プログ
ラムを用いて、RAM16に記録された検知信号に基づ
き燃焼器具20のアクチュエータ群22を適切に運転す
るための制御信号を演算する。その際フラッシュメモリ
11に設定数値が記録されていればそれも演算に組み込
まれる。演算結果は一旦RAM16に記録され、そして
出力回路18により燃焼器具20のアクチュエータ群2
2の駆動が可能な形に変換されて出力される。
The detection signals of the sensor group 21 are input to the input circuit 17
Is converted into a form that can be processed by the CPU 14 by the RAM 1
6 is recorded. In the combustion control device 30, the CPU
14 uses a control program stored in the flash memory 11 to calculate a control signal for appropriately operating the actuator group 22 of the combustion appliance 20 based on the detection signal recorded in the RAM 16. At that time, if the set numerical value is recorded in the flash memory 11, it is also incorporated in the calculation. The calculation result is temporarily recorded in the RAM 16, and the output circuit 18 causes the actuator group 2 of the combustion instrument 20 to be recorded.
It is converted into a form capable of driving 2 and output.

【0024】かくして、燃焼器具20が所望の燃焼状態
に制御される。具体的には、給ガス系統の比例弁の開度
や送風ファンの駆動モータの回転速度等が制御され、良
好な燃焼を維持しつつ所望の出湯温度が得られるように
される。
Thus, the combustion device 20 is controlled to a desired combustion state. Specifically, the opening degree of the proportional valve of the gas supply system, the rotation speed of the drive motor of the blower fan, and the like are controlled so that the desired hot water temperature can be obtained while maintaining good combustion.

【0025】そして燃焼制御装置30では、制御プログ
ラムがフラッシュメモリ11に格納されるので、制御プ
ログラムの書換えを行うことができる。そのような必要
が生じるのは、新型機種の燃焼器具20を出す場合や、
製品化後に制御プログラムにプログラム上の欠陥(バ
グ)が発見され、対策したプログラムで置き換える場合
である。書き換える必要が生じるのは、制御プログラム
の中でも機種により異なる個別機能に係る個別制御プロ
グラムに限られる。機種によらない共通プログラムは、
従前の機種から使用され実績も多くプログラムの欠陥は
既に除去されており、機能面でも基本機能を担うもので
あり機種により変更する必要もないからである。
In the combustion control device 30, the control program is stored in the flash memory 11, so that the control program can be rewritten. Such a need arises when a new-model burning appliance 20 is put out,
This is a case where a defect (bug) in the program is found in the control program after the product is commercialized and replaced with a countermeasure program. It is only necessary to rewrite the individual control program related to the individual function that differs depending on the model among the control programs. A common program that does not depend on the model is
This is because it has been used from previous models and has many achievements, and defects in the program have already been removed, and it also has basic functions in terms of functions and does not need to be changed depending on the model.

【0026】そして書換えの必要が生じうる個別制御プ
ログラムは、機能ごとにモジュールに分割され、ブロッ
クの境目を跨がないようにフラッシュメモリ11に格納
されているので、書換えの必要が生じたモジュールを含
むブロックのみを書き換えればよい。例えば図2のモジ
ュール配置でモジュールdとh2 とを変更しようとする
場合には、モジュールdがブロック2に配置され、モジ
ュールh2 がブロック4に配置されているので、ブロッ
ク2と4との2ブロックを書き換えれば足りる。また、
かかるモジュールの配置方法を取ったことにより必然的
に各ブロックに若干の余白が残っているので、変更され
たモジュールのバイト数が変更前より大きくなっても、
その余白の範囲内であればそのブロックの書換えだけで
済み、後続のブロックには影響しない。
Since the individual control program that may need to be rewritten is divided into modules for each function and stored in the flash memory 11 so as not to cross the boundary between blocks, the modules that need to be rewritten are Only the blocks that contain it need be rewritten. For example, when the modules d and h 2 are to be changed in the module arrangement of FIG. 2, since the module d is arranged in the block 2 and the module h 2 is arranged in the block 4, It is enough to rewrite 2 blocks. Also,
Due to this module placement method, there is inevitably some margin left in each block, so even if the number of bytes of the changed module is larger than before the change,
If it is within the margin, it is only necessary to rewrite the block and it does not affect subsequent blocks.

【0027】従来技術ではこの場合書き換えるブロック
数は5であったので、1台当りの所要時間の短縮は(1
〜2秒(消去時間)+0.1秒(書き込み時間))×
(5−2)で3乃至6秒程度となる。日産500台とす
れば1日あたりでは30分乃至1時間程度の時間短縮と
なる。
In the prior art, the number of blocks to be rewritten in this case was 5, so the time required for one unit can be reduced by (1
~ 2 seconds (erasing time) + 0.1 seconds (writing time)) x
(5-2) takes about 3 to 6 seconds. With 500 units per day, the time can be reduced from 30 minutes to 1 hour per day.

【0028】かかる燃焼制御装置30は、基板に実装さ
れそして燃焼器具20に組み込まれて使用されるもので
ある。そこでこの実装状態について説明する。図4に示
すように燃焼制御装置30が実装される基板23(図示
しないがフラッシュメモリ11の他CPU14等の素子
も実装される)には、書換え端子25が設けられ、そし
てこの書換え端子25とフラッシュメモリ11との間の
配線途中に切替回路27が設けられており、切替回路2
7には燃焼器具20のリモコン28が接続されている。
書換え端子25は、プログラム書き込み装置24の取付
端子26を接続するものである。切替回路27は、フラ
ッシュメモリ11からの接続先を書換え端子25とリモ
コン28とのいずれかに切り替えるものである。
The combustion control device 30 is mounted on a substrate and incorporated in the combustion device 20 for use. Therefore, this mounting state will be described. As shown in FIG. 4, a rewriting terminal 25 is provided on the substrate 23 (not shown, on which elements such as the CPU 14 other than the flash memory 11 are also mounted) on which the combustion control device 30 is mounted. The switching circuit 27 is provided in the middle of the wiring between the flash memory 11 and the switching circuit 2.
A remote control 28 of the combustion appliance 20 is connected to the device 7.
The rewriting terminal 25 connects the attachment terminal 26 of the program writing device 24. The switching circuit 27 switches the connection destination from the flash memory 11 to either the rewriting terminal 25 or the remote controller 28.

【0029】プログラム書き込み装置24は、書換えプ
ログラム、即ち書換えモジュールを読み取ってフラッシ
ュメモリ11に伝送して書き込みを行うものである。こ
の書換えプログラムは、磁気ディスク、磁気カード、磁
気テープ、CDROM、マスタフラッシュメモリ等に記
録された状態でプログラム書き込み装置24に供給され
る。リモコン28は、使用者が燃焼器具20に運転指令
や種々の設定を入力するために用いることを本来の目的
とするものであるが、ここでのリモコン28には、フラ
ッシュメモリ11にプログラムを送り込む書換え装置2
9が備えられている。書換え装置29へのプログラムの
供給は、プログラム書き込み装置24の場合と同様、磁
気ディスク、磁気カード、磁気テープ、CDROM、マ
スタフラッシュメモリ等による。
The program writing device 24 reads a rewriting program, that is, a rewriting module, transmits it to the flash memory 11, and writes it. The rewriting program is supplied to the program writing device 24 in a state of being recorded on a magnetic disk, a magnetic card, a magnetic tape, a CDROM, a master flash memory or the like. The remote controller 28 is intended to be used by the user to input an operation command and various settings to the combustion appliance 20, but the remote controller 28 here sends a program to the flash memory 11. Rewriting device 2
9 are provided. The program is supplied to the rewriting device 29 by a magnetic disk, a magnetic card, a magnetic tape, a CDROM, a master flash memory, or the like, as in the case of the program writing device 24.

【0030】プログラム書き込み装置24によるプログ
ラムの書き込みについて説明する。プログラム書き込み
装置24は、燃焼制御装置30を基板23に実装したと
きに用いられる。燃焼制御装置30の基板23への実装
は、図3に示すように作成された基板23に部品(フラ
ッシュメモリ11やCPU14など)を実装し、必要箇
所に半田付けして固着し、部品間の接続状態をチェック
し(インサーキットテスト)、そして基板としての機能
テストを行う、という手順で行われる。
Writing of a program by the program writing device 24 will be described. The program writing device 24 is used when the combustion control device 30 is mounted on the substrate 23. The combustion control device 30 is mounted on the substrate 23 by mounting components (flash memory 11, CPU 14, etc.) on the substrate 23 created as shown in FIG. The procedure is to check the connection status (in-circuit test) and then perform a functional test as a board.

【0031】このインサーキットテスト終了後に基板2
3の書換え端子25にプログラム書き込み装置24の取
付端子26を接続し、モジュールの書き込みを行う。こ
のとき切替回路27は書換え端子25側にしておくこと
はいうまでもない。そして次の機能テストでそのモジュ
ールに係る機能をテストでき、出荷前の機能確認ができ
る。かかる方法でのプログラムの書き込みは、新型機種
への対応のために多用される。即ち新型機種において旧
型とは変更されるモジュールについて、プログラム書き
込み装置24でプログラムの変更を行うのである。
After completion of this in-circuit test, the substrate 2
The rewriting terminal 25 of No. 3 is connected to the mounting terminal 26 of the program writing device 24 to write the module. At this time, it goes without saying that the switching circuit 27 is placed on the rewriting terminal 25 side. Then, the function related to the module can be tested in the next function test, and the function can be confirmed before shipping. Writing a program by such a method is often used to support a new model. That is, in the new model, the program is changed by the program writing device 24 for the module changed from the old model.

【0032】次に、リモコン28によるプログラムの書
き込みについて説明する。リモコン28によるプログラ
ムの書き込みは、基板23を燃焼器具20に組み込み使
用場所に設置した後でプログラム書換えの必要が生じた
ときに行われる。即ち、プログラムの欠陥(バグ)が発
見され、その欠陥を含むモジュールを対策したモジュー
ルで置き換えるような場合である。この場合には切替回
路27をリモコン28側にして磁気ディスク等に記録さ
れた書換えプログラムを書換え装置29によりフラッシ
ュメモリ11に送り込んで書き換える。その後燃焼器具
20の試運転を行って安全確認する。
Next, writing of a program by the remote controller 28 will be described. The writing of the program by the remote controller 28 is performed when it becomes necessary to rewrite the program after the board 23 is installed in the combustion appliance 20 and installed at the place of use. That is, this is a case where a defect (bug) of a program is discovered and a module including the defect is replaced with a countermeasure module. In this case, the switching circuit 27 is set to the remote controller 28 side, and the rewriting program recorded on the magnetic disk or the like is sent to the flash memory 11 by the rewriting device 29 to be rewritten. After that, a test operation of the combustion appliance 20 is performed to confirm safety.

【0033】尚、実際に設置される燃焼器具20のすべ
てに書換え装置29のついたリモコン28を備える代わ
りに、書換え装置29なしのリモコン(インターフェー
スは同じ)を備えておき、プログラム書換えの必要が生
じたときには書換え装置29のついたリモコン28を保
守要員が磁気ディスクまたは、マスタフラッシュメモリ
等とともに設置場所に持参してリモコンに付替え、プロ
グラム書き込みを行うこととしてもよい。
It should be noted that, instead of providing the remote controller 28 with the rewriting device 29 in all of the combustion appliances 20 actually installed, a remote controller without the rewriting device 29 (the interface is the same) must be provided to rewrite the program. When it occurs, the maintenance personnel may bring the remote controller 28 with the rewriting device 29 to the installation location together with the magnetic disk or the master flash memory, replace it with the remote controller, and write the program.

【0034】以上詳細に説明したように、本実施の形態
にかかる燃焼制御装置30では、燃焼器具20の制御プ
ログラムのうち少なくとも燃焼器具20の機種ごとに固
有の個別プログラムをフラッシュメモリ11に格納する
こととしたので、他機種にのみ用いられ当該機種には用
いない個別プログラムを格納する必要はなくそのための
容量も不要であり、必要なメモリ容量は最小限で済む。
また、フラッシュメモリ11は、チップ製造上は同一の
ものであるため機種ごとに回路パターンを作成する必要
はない。また個別プログラムは基板実装後に書き込めば
よいので、個別プログラムの仕様が決定してから製品が
出荷されるまでの期間が短くて済む。
As described above in detail, in the combustion control device 30 according to the present embodiment, among the control programs for the combustion appliance 20, at least an individual program unique to each model of the combustion appliance 20 is stored in the flash memory 11. Therefore, it is not necessary to store an individual program that is used only in another model and is not used in the model, and the capacity for it is not necessary, and the required memory capacity can be minimized.
Further, since the flash memory 11 is the same in terms of chip manufacture, it is not necessary to create a circuit pattern for each model. Further, since the individual program may be written after mounting on the board, the period from the specification of the individual program to the shipment of the product can be short.

【0035】また新型機種の新機能に対応するために個
別プログラムの変更をする場合に、フラッシュメモリ1
1のうち変更の必要なモジュールを含むブロックのみ書
き換えればよいので、書換えが容易で所要時間も短くて
済む。ここでモジュールの容量が増えるような変更であ
っても、ブロックの余白容量以内であればそのブロック
の書換えのみで済む。また、製品化後に個別プログラム
にプログラム作成上の欠陥(バグ)が発見され対策プロ
グラムで置き換える場合でも、当該対策プログラムに係
るモジュールを含むブロックのみ書き換えればよいの
で、書換えが容易で所要時間も短くて済む。また、新機
能が個別プログラムの書換えのみで済むものであれば既
設の燃焼器具20に追加することができる。このため燃
焼器具20の機種展開への対応が容易である。
When the individual program is changed to correspond to the new function of the new model, the flash memory 1
Since only the block including the module that needs to be changed out of 1 need be rewritten, rewriting is easy and the required time is short. Here, even if the capacity of the module is increased, it is only necessary to rewrite the block if it is within the blank capacity of the block. Also, even if a defect (bug) in program creation is discovered in an individual program after product commercialization and it is replaced with a countermeasure program, only the block including the module related to the countermeasure program needs to be rewritten, so rewriting is easy and the time required is short. I'm done. Further, if the new function is only the rewriting of the individual program, it can be added to the existing burner 20. For this reason, it is easy to deal with the model development of the combustion appliance 20.

【0036】また、燃焼制御装置30を基板23に実装
したときにプログラム書き込み装置24でプログラムの
変更ができるので、出荷前にルーチンとして行われる機
能テストにおいて動作確認をすることができる。また、
燃焼器具20の設置後にリモコン28でプログラムの変
更ができるので、器具を設置したままでも対策プログラ
ムに置き換えることができる。
Further, since the program can be changed by the program writing device 24 when the combustion control device 30 is mounted on the substrate 23, it is possible to confirm the operation in a function test performed as a routine before shipment. Also,
Since the program can be changed by the remote controller 28 after the combustion appliance 20 is installed, the countermeasure program can be replaced with the appliance installed.

【0037】尚、本発明は前記実施の形態に限定される
ものではなく、本発明の要旨を逸脱しない範囲内で種々
の改良、変形が可能であることは勿論である。例えば前
記実施の形態において、燃焼制御装置30のフラッシュ
メモリ11やCPU14等の素子を1つの半導体チップ
に内蔵させたワンチップマイコンとしてもよい。また、
燃焼器具20は給湯器を考えたが、暖房機等他の燃焼器
具であってもよい。
The present invention is not limited to the above-described embodiments, and it goes without saying that various improvements and modifications can be made without departing from the spirit of the present invention. For example, in the above embodiment, a one-chip microcomputer in which elements such as the flash memory 11 and the CPU 14 of the combustion control device 30 are built in one semiconductor chip may be used. Also,
Although the burner 20 is a water heater, it may be another burner such as a heater.

【0038】[0038]

【発明の効果】以上説明した通り本発明によれば、制御
プログラムの各機能ごとのモジュールをフラッシュメモ
リの消去ブロックの境目を跨がないように配置して格納
することにより、制御プログラムの書換えの際に余計な
ブロックまで書換え作業する必要をなくし、書換えを短
時間で行うことができるようにしている。これによりフ
ラッシュメモリの利点が十分発揮され、容易に機種展開
やバグ対策や機能追加等ができ、また仕様決定から製品
出荷までの期間も短い燃焼制御装置が提供されている。
As described above, according to the present invention, the control program can be rewritten by arranging and storing the modules for each function of the control program so as not to cross the boundaries of the erase blocks of the flash memory. At this time, it is possible to rewrite in a short time by eliminating the need to rewrite unnecessary blocks. As a result, the advantages of the flash memory are fully exerted, and it is possible to easily develop a model, take countermeasures against bugs, add functions, etc., and provide a combustion control device with a short period from specification determination to product shipment.

【0039】また、基板実装時に書換え端子を用いて制
御プログラムの変更ができ出荷前に動作確認できる燃焼
制御装置が提供されている。また、器具設置後にも燃焼
器具のリモコン装置を用いて制御プログラムの変更がで
きる燃焼制御装置が提供されている。
Further, there is provided a combustion control device in which a control program can be changed by using a rewriting terminal at the time of mounting on a board and an operation can be confirmed before shipping. Further, there is provided a combustion control device capable of changing a control program by using a remote control device for a combustion instrument even after the instrument is installed.

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

【図1】燃焼制御装置の概略構成を燃焼器具と共に示す
ブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a combustion control device together with a combustion instrument.

【図2】本発明に係る燃焼制御装置のプログラムメモリ
の構成を示す図である。
FIG. 2 is a diagram showing a configuration of a program memory of the combustion control device according to the present invention.

【図3】燃焼制御装置の基板への実装手順を説明する図
である。
FIG. 3 is a diagram illustrating a procedure for mounting the combustion control device on a substrate.

【図4】燃焼制御装置の基板へのプログラム書き込み装
置の接続を示す図である。
FIG. 4 is a diagram showing connection of a program writing device to a substrate of a combustion control device.

【図5】従来の燃焼制御装置のプログラムメモリの構成
を示す図である。
FIG. 5 is a diagram showing a configuration of a program memory of a conventional combustion control device.

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

11 フラッシュメモリ 23 基板 24 プログラム書き込み装置 25 書換え端子 28 リモコン装置 30 燃焼制御装置 11 Flash Memory 23 Substrate 24 Program Writing Device 25 Rewriting Terminal 28 Remote Control Device 30 Combustion Control Device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 制御プログラムを格納したプログラムメ
モリを有し、燃焼器具のセンサから信号の入力を受け前
記制御プログラムにより演算して燃焼器具のアクチュエ
ータへの駆動信号を出力する燃焼制御装置において、 前記プログラムメモリの少なくとも一部がブロックごと
に記憶内容の消去が可能な不揮発性メモリにより構成さ
れ、 前記制御プログラムのうち前記不揮発性メモリに格納さ
れる部分が前記ブロックのサイズ以下のサイズに分割さ
れたモジュールにより構成され、 前記各モジュールの半数以上が前記ブロックのいずれか
1つの内に配置されたことを特徴とする燃焼制御装置。
1. A combustion control device having a program memory storing a control program, which receives a signal from a sensor of a combustion instrument and calculates the control program to output a drive signal to an actuator of the combustion instrument. At least a part of the program memory is composed of a non-volatile memory capable of erasing the stored contents for each block, and a part of the control program stored in the non-volatile memory is divided into a size equal to or smaller than the size of the block. A combustion control device comprising modules, wherein more than half of the modules are arranged in any one of the blocks.
【請求項2】 請求項1に記載するものを基板に実装し
てなる燃焼制御装置において、 前記不揮発性メモリにモジュールを前記ブロックごとに
書き込む書き込み装置を接続する書換え端子を前記基板
に備えたことを特徴とする燃焼制御装置。
2. A combustion control device comprising the substrate according to claim 1 mounted on a substrate, wherein the substrate is provided with a rewrite terminal for connecting a writing device for writing a module to the nonvolatile memory for each block. Combustion control device characterized by.
【請求項3】 前記燃焼器具のリモコン装置を有し、こ
のリモコン装置に前記フラッシュメモリに格納されたモ
ジュールを前記ブロックごとに書き換える書換え手段を
備えたことを特徴とする請求項1又は2に記載の燃焼制
御装置。
3. The remote control device for the combustion appliance, wherein the remote control device further comprises rewriting means for rewriting the module stored in the flash memory for each block. Combustion control device.
JP19422895A 1995-07-05 1995-07-05 Combustion controller Pending JPH0921526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19422895A JPH0921526A (en) 1995-07-05 1995-07-05 Combustion controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19422895A JPH0921526A (en) 1995-07-05 1995-07-05 Combustion controller

Publications (1)

Publication Number Publication Date
JPH0921526A true JPH0921526A (en) 1997-01-21

Family

ID=16321098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19422895A Pending JPH0921526A (en) 1995-07-05 1995-07-05 Combustion controller

Country Status (1)

Country Link
JP (1) JPH0921526A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213201A (en) * 2002-12-27 2004-07-29 Fujitsu Ltd How to upgrade
JPWO2014112115A1 (en) * 2013-01-21 2017-01-19 エムエイチアイ ヴェスタス オフショア ウィンド エー/エス Maintenance method for floating wind turbine generator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213201A (en) * 2002-12-27 2004-07-29 Fujitsu Ltd How to upgrade
JPWO2014112115A1 (en) * 2013-01-21 2017-01-19 エムエイチアイ ヴェスタス オフショア ウィンド エー/エス Maintenance method for floating wind turbine generator
US10041469B2 (en) 2013-01-21 2018-08-07 Mhi Vestas Offshore Wind A/S Method for maintaining floating-body type wind turbine power generating apparatus

Similar Documents

Publication Publication Date Title
JPH04213728A (en) Digital control apparatus
US20080033609A1 (en) Automotive diagnostic and tuning system
KR100265266B1 (en) Microcomputer comprsing flash eeprom and method of erasing flash eeprom
JPH0921526A (en) Combustion controller
CN216719504U (en) Reliable storage system of control chip and external memory
JP3829208B2 (en) Air conditioner and service method thereof
JP3490570B2 (en) Combustion control device
JP2005309839A5 (en)
JPH0914644A (en) Combustion control apparatus
JP3701159B2 (en) Memory cassette and programmable controller using the same
JPH1011277A (en) Computer device with electrically rewritable nonvolatile memory and nonvolatile semiconductor memory
JP3947643B2 (en) Data control device
JPH1011365A (en) Protecting circuit for nonvolatile storage device
US7565578B2 (en) Optical disc apparatus, and method for self-diagnosis control of optical disc apparatus
US20060253743A1 (en) Microcomputer and debugging method
JPH0448143A (en) How to control an air conditioner
KR100327402B1 (en) Method and apparatus for self-testing of the micro-processor
KR100377548B1 (en) How to check normal operation of flash memory
JPH0259904A (en) Rom writer for programmable controller
JP2010079758A (en) Method of interrupting automatic rewriting of nonvolatile memory, nonvolatile memory and microcomputer
JPH08286948A (en) Device and method for supporting software development
JPH1144233A (en) Method and device for controling engine system
JPH08128355A (en) Electronic control device for vehicle
JP2000089915A (en) Disk array device
JP3133710B2 (en) Microcomputer evaluation device