JP2008210067A - Control device - Google Patents

Control device Download PDF

Info

Publication number
JP2008210067A
JP2008210067A JP2007044807A JP2007044807A JP2008210067A JP 2008210067 A JP2008210067 A JP 2008210067A JP 2007044807 A JP2007044807 A JP 2007044807A JP 2007044807 A JP2007044807 A JP 2007044807A JP 2008210067 A JP2008210067 A JP 2008210067A
Authority
JP
Japan
Prior art keywords
connector
control device
writer
nonvolatile memory
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.)
Granted
Application number
JP2007044807A
Other languages
Japanese (ja)
Other versions
JP4868155B2 (en
Inventor
Hideo Furukawa
英夫 古川
Yukio Noguchi
幸男 野口
Makoto Shinoura
誠 篠浦
Takahiro Noguchi
高弘 野口
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.)
Miura Co Ltd
Miura Protec Co Ltd
Original Assignee
Miura Co Ltd
Miura Protec 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 Miura Co Ltd, Miura Protec Co Ltd filed Critical Miura Co Ltd
Priority to JP2007044807A priority Critical patent/JP4868155B2/en
Publication of JP2008210067A publication Critical patent/JP2008210067A/en
Application granted granted Critical
Publication of JP4868155B2 publication Critical patent/JP4868155B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control device having a mechanism preventing unauthorized output from the control device in rewriting of a nonvolatile memory of the control device to allow suitable use as the control device for a boiler or the like. <P>SOLUTION: This control device 100 has: a microcomputer 10 having the rewritable nonvolatile memory 15 storing a program controlling equipment; an output part 27 outputting a control signal to the equipment; and an equipment-controlling power source 25 of the output part 27. A power supply line 26 to the output part 27 from the equipment-controlling power source 25 is through a control device side first connector 31. Power to the output part 27 from the equipment-controlling power source 25 can be supplied by connection of the control device side first connector 31 with a current carrying connector 32, and the nonvolatile memory 15 can be rewritten by removing the current carrying connector 32 from the control device side first connector 31, and connecting a writer side first connector 44 of an external writer 40 to the control device side first connector. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、不揮発性メモリとマイクロコンピュータを有する制御装置に係り、不揮発性メモリの書き換えを安全に行う機構を有し、ボイラ等の制御装置として好適に使用することができる制御装置に関する。   The present invention relates to a control device having a nonvolatile memory and a microcomputer, and more particularly to a control device that has a mechanism for safely rewriting the nonvolatile memory and can be suitably used as a control device such as a boiler.

電子技術の進展により種々の機械、産業分野にマイクロコンピュータを利用した電子制御装置が広く用いられている。このような電子装置において、使用条件や季節的条件による制御方法の変更、あるいは制御技術の改善等は、マイクロコンピュータに内蔵した書き換え可能な不揮発性メモリに制御プログラムを記憶させ、その不揮発性メモリの制御プログラムの書き換えを必要に応じて行うことによってなされている。   Due to advances in electronic technology, electronic control devices using microcomputers are widely used in various machines and industrial fields. In such an electronic device, the control method is changed according to use conditions or seasonal conditions, or the control technology is improved. For example, a control program is stored in a rewritable nonvolatile memory built in the microcomputer, and the nonvolatile memory The control program is rewritten as necessary.

この不揮発性メモリの書き換えについては、書換作業中の電源遮断、書換データ送信中の通信障害、書換データを記録したデータファイルの欠陥、ホストコンピュータのハングアップ等種々の原因により適正に行われない場合があり、書き換えを安全に行うために種々の提案が成されている。例えば、特許文献1に、データの書き込み・消去を電気的に行うことが可能なメモリと、このメモリにデータを書き込み又は消去する制御手段とを本体に備え、この本体に取り付けられ外部から情報を入力するための外部コネクタに前記データの書き込み・消去を許可する信号を入力する信号ピンを備えた携帯型電子機器が提案されている。そして、外部コネクタを装着しない限りメモリにデータの書き込み又は消去ができないことが開示されている。   This non-volatile memory rewrite is not performed properly due to various causes such as power interruption during rewrite work, communication failure during rewrite data transmission, defect in data file recording rewrite data, hang up of host computer, etc. There have been various proposals for safe rewriting. For example, in Patent Document 1, a main body is provided with a memory capable of electrically writing and erasing data and a control means for writing or erasing data in the memory, and information is externally attached to the main body. There has been proposed a portable electronic device having a signal pin for inputting a signal permitting writing / erasing of the data to an external connector for inputting. It is disclosed that data cannot be written to or erased from the memory unless an external connector is attached.

特許文献2に、データの書き込みや消去を電気的に行なえるメモリと、このメモリにデータを書き込むマイクロプロセッサとを本体に備え、この本体に取り付けられた外部コネクタの端子に、前記データの書き込みや消去を行なうための電源ラインを接続した電子装置が提案されている。そして、この発明により、従来の電子装置のように、フラッシュメモリにデータの書き込みや消去を行なうためのプログラム用電源電圧Vpp、およびマイクロプロセッサやフラッシュメモリの動作電源電圧Vccが本体内の電源部により供給されていないので、フラッシュメモリの書き換え時にプログラム用電源電圧Vppがフラッシュメモリに負荷され不用意にフラッシュメモリの書き換えが行われるのを防止できることが開示されている。   Japanese Patent Application Laid-Open No. H10-228667 includes a memory capable of electrically writing and erasing data and a microprocessor for writing data in the memory, and the data writing and erasing are connected to terminals of an external connector attached to the body. There has been proposed an electronic device to which a power line for erasing is connected. According to the present invention, the power supply voltage Vpp for programming and erasing data in the flash memory and the operating power supply voltage Vcc of the microprocessor and flash memory are supplied by the power supply unit in the main body as in the conventional electronic device. Since it is not supplied, it is disclosed that the program power supply voltage Vpp is loaded on the flash memory when the flash memory is rewritten, and the flash memory can be prevented from being rewritten inadvertently.

また、特許文献3に、農作業車両の制御を行うコントローラについて、フラッシュメモリの書き換えを安全に行うことができるコントローラが開示されている。すなわち、通常時はコントローラ側の書き込み用コネクタに保護コネクタが装着されており、フラッシュメモリの書き換えは、その保護コネクタを取り外して書き込み装置側のコネクタを装着することによって行われることが開示されている。また、この書き込み時には農作業車両の制御を行うソレノイドへの出力が切断されることが開示されている。   Patent Document 3 discloses a controller that can safely rewrite a flash memory for a controller that controls a farm vehicle. That is, it is disclosed that a protective connector is normally attached to the writing connector on the controller side, and rewriting of the flash memory is performed by removing the protective connector and attaching the writing device side connector. . Further, it is disclosed that the output to the solenoid for controlling the farm vehicle is cut off during the writing.

特開平09-218826号公報JP 09-218826 A 特開平07-114797号公報JP 07-114797 A 特開平11-15508号公報Japanese Patent Laid-Open No. 11-15508

しかしながら、このような従来の制御装置においては、書き換えが正常に行われなかった場合、あるいは書き変え作業中にマイクロコンピュータから不用意な出力がされた場合に、機器が作動して安全を害するようなおそれが確実に排除されているとはいえない。すなわち、特許文献1に提案された制御装置においては、外部コネクタの脱着によりメモリのデータの書き込み又は消去は確実にできるが、機器の不用意な作動が確実に防止されているとはいえない。特許文献2に提案された制御装置においても、内蔵されたプログラム用電源電圧Vppに影響されずに安全にメモリ書き換えができるといっても、同様に機器の不用意な作動が確実に防止されているとはいえない。   However, in such a conventional control device, when the rewriting is not performed normally or when an inadvertent output is output from the microcomputer during the rewriting operation, the device operates to impair safety. It cannot be said that it is definitely excluded. That is, in the control device proposed in Patent Document 1, it is possible to reliably write or erase data in the memory by detaching the external connector, but it cannot be said that inadvertent operation of the device is reliably prevented. Even in the control device proposed in Patent Document 2, even if the memory can be rewritten safely without being affected by the built-in program power supply voltage Vpp, inadvertent operation of the device is also reliably prevented. I can't say.

特許文献3に開示された制御装置においては、書き込み時には農作業車両の制御を行うソレノイドへの出力が切断されるようになっているが、不正な書き込みによりマイクロコンピュータが暴走する場合にはソレノイドへ不用意な出力がなされるおそれがある。   In the control device disclosed in Patent Document 3, the output to the solenoid that controls the farm vehicle is cut off at the time of writing. However, if the microcomputer runs away due to illegal writing, the solenoid is disabled. There is a risk that prepared output will be made.

本発明は、かかる従来の問題点に鑑み、不揮発性メモリの書き換えを安全に行うことができる、すなわち、制御装置の不揮発性メモリの書き換えにおいて制御装置からの不正出力を防止する機構を有し、ボイラ等の制御装置として好適に使用することができる制御装置を提供することを目的とする。   In view of such conventional problems, the present invention can safely rewrite the nonvolatile memory, that is, has a mechanism for preventing unauthorized output from the control device in rewriting the nonvolatile memory of the control device, It aims at providing the control apparatus which can be used conveniently as control apparatuses, such as a boiler.

本発明に係る制御装置は、機器を制御するプログラムを記憶している書き換え可能な不揮発性メモリを備えたマイクロコンピュータと、前記機器への制御信号を出力する出力部と、この出力部の機器制御用電源とを有する制御装置であって、前記機器制御用電源から前記出力部への給電配線は、制御装置側第一コネクタを介しており、前記機器制御用電源から前記出力部への給電は、前記制御装置側第一コネクタが通電コネクタと結合することで可能となる一方、前記不揮発性メモリの書き換えは、前記通電コネクタを前記制御装置側第一コネクタから取り外し、外部ライタのライタ側第一コネクタを前記制御装置側第一コネクタへ結合することで可能となるものである。   A control device according to the present invention includes a microcomputer including a rewritable nonvolatile memory storing a program for controlling a device, an output unit that outputs a control signal to the device, and device control of the output unit A power supply wiring from the device control power supply to the output unit via a control device side first connector, and the power supply from the device control power supply to the output unit is The control device side first connector can be coupled with the energization connector, while the non-volatile memory can be rewritten by removing the energization connector from the control device side first connector and the external writer side first This is made possible by connecting a connector to the control device side first connector.

上記発明において、前記外部ライタのライタ側第二コネクタと結合し、前記不揮発性メモリの書換信号を受け入れる制御装置側第二コネクタを備え、前記不揮発性メモリの書き換えは、前記制御装置側第一コネクタと結合させた前記ライタ側第一コネクタを介して前記外部ライタから書換モードであることを指示する書換モード信号を前記マイクロコンピュータへ送るとともに、前記制御装置側第二コネクタと結合させた前記ライタ側第二コネクタを介して前記外部ライタからの書換信号を前記不揮発性メモリへ送ることで可能となるようになっているのがよい。   In the above invention, the controller includes a controller-side second connector that is coupled to the writer-side second connector of the external writer and receives a rewrite signal of the nonvolatile memory, and the nonvolatile memory is rewritten by the controller-side first connector A rewrite mode signal instructing that the rewrite mode is in effect is sent from the external writer to the microcomputer via the writer side first connector coupled to the writer side, and the writer side coupled to the controller side second connector It is preferable that a rewrite signal from the external writer is sent to the nonvolatile memory via the second connector.

また、前記不揮発性メモリの書き換えは、前記制御装置側第一コネクタと結合させた前記ライタ側第一コネクタを介して前記外部ライタから書換モードであることを指示する書換モード信号を前記マイクロコンピュータへ送るとともに、前記ライタ側第一コネクタを介して前記外部ライタからの書換信号を前記不揮発性メモリへ送ることで可能となるようになっているのがよい。   The nonvolatile memory can be rewritten from the external writer via the writer-side first connector coupled to the controller-side first connector to the microcomputer with a rewrite mode signal instructing the rewrite mode. It is preferable that it is made possible by sending a rewrite signal from the external writer to the nonvolatile memory via the writer side first connector.

本発明に係る制御装置によれば、不揮発性メモリの書き換え作業中には制御装置から不用意な出力がされるということがない。   According to the control device of the present invention, no inadvertent output is generated from the control device during the rewriting operation of the nonvolatile memory.

以下、本発明の実施の形態について図面を基に説明する。図1は本発明に係る制御装置の構成を示す模式図である。また、図1は、本制御装置の通常使用状態を表している。本制御装置100は、図1に示すように、機器の制御を行うための出力部27に出力電流(出力信号)を供給する機器制御用電源25と、マイクロコンピュータ10を作動させるCPU電源21の2つを有する。機器制御用電源25の電圧は、例えば12Vとし、CPU電源21の電圧は5Vとすることができる。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing a configuration of a control device according to the present invention. Moreover, FIG. 1 represents the normal use state of this control apparatus. As shown in FIG. 1, the control device 100 includes a device control power source 25 that supplies an output current (output signal) to an output unit 27 for controlling devices, and a CPU power source 21 that operates the microcomputer 10. Has two. For example, the voltage of the device control power supply 25 can be 12V, and the voltage of the CPU power supply 21 can be 5V.

出力部27に出力される出力電流は、機器制御用電源25から制御装置100に設けられた制御装置側第一コネクタ31およびこれに装着された通電コネクタ32を経て出力部27に至る給電配線26によって供給されるようになっている。出力部27から出力される出力電流により機器の作動、操作が行われる。なお、マイクロコンピュータ10による機器の制御は出力制御回路16に設けられるNPNトランジスタ161へのON/OFF信号により行われる。   The output current output to the output unit 27 is supplied from the device control power supply 25 to the output unit 27 through the control device side first connector 31 provided in the control device 100 and the energization connector 32 attached thereto. To be supplied by. The device is operated and operated by the output current output from the output unit 27. Note that control of the device by the microcomputer 10 is performed by an ON / OFF signal to the NPN transistor 161 provided in the output control circuit 16.

上述のように、通電コネクタ32は、通常時において制御装置側第一コネクタ31に装着されているが、制御装置側第一コネクタ31から取り外すことができる。通電コネクタ32が制御装置側第一コネクタ31から取り外されると出力部27に給電されなくなる。   As described above, the current-carrying connector 32 is normally attached to the control device-side first connector 31, but can be detached from the control device-side first connector 31. When the energizing connector 32 is detached from the control device side first connector 31, power is not supplied to the output unit 27.

マイクロコンピュータ10は、制御プログラムを記憶する不揮発性メモリ15を有しており、制御装置100の主要部を構成している。不揮発性メモリ15には、例えば、ボイラのダンパ装置、送風機、燃料点火装置、燃料供給装置等を制御するためのプログラムが記録されている。また、マイクロコンピュータ10は、CPU電源21から電源回路17を通じて給電されて作動している。   The microcomputer 10 includes a non-volatile memory 15 that stores a control program, and constitutes a main part of the control device 100. The nonvolatile memory 15 stores a program for controlling, for example, a boiler damper device, a blower, a fuel ignition device, a fuel supply device, and the like. The microcomputer 10 is operated by being supplied with power from the CPU power supply 21 through the power supply circuit 17.

本制御装置100には、図1に示すように、出力部27が機器制御用電源25により給電されている状況を検出するために、機器制御用電源25の電圧を分圧信号として入力する回路18が設けられている。また、制御装置側第一コネクタ31からマイクロコンピュータ10に至る書換モード信号を送るための回路19が設けられている。さらに、本制御装置100には、制御装置側第二コネクタ35が設けられ、マイクロコンピュータ10に作動用電力を供給するために制御装置側第二コネクタ35からマイクロコンピュータ10に至る回路47が設けられている。さらに、制御装置側第二コネクタ35からマイクロコンピュータ10に至る回路48が設けられ、制御装置側第二コネクタ35を介してマイクロコンピュータ10に信号または書換信号を送信することができるようになっている。回路48は、例えば、シリアル方式の伝送路とすることができる。なお、図1の状態において、上記各回路19、47、48は不通状態になっている。   As shown in FIG. 1, the control device 100 is a circuit that inputs the voltage of the device control power supply 25 as a divided signal in order to detect the situation where the output unit 27 is fed by the device control power supply 25. 18 is provided. Further, a circuit 19 for sending a rewrite mode signal from the control device side first connector 31 to the microcomputer 10 is provided. Further, the control device 100 is provided with a control device-side second connector 35, and a circuit 47 from the control device-side second connector 35 to the microcomputer 10 is provided to supply operating power to the microcomputer 10. ing. Further, a circuit 48 from the control device side second connector 35 to the microcomputer 10 is provided so that a signal or a rewrite signal can be transmitted to the microcomputer 10 via the control device side second connector 35. . The circuit 48 can be, for example, a serial transmission path. In the state shown in FIG. 1, the circuits 19, 47, and 48 are not connected.

本制御装置100において、不揮発性メモリ15の書き換えは以下のように行われる。すなわち、まず、通電コネクタ32を制御装置側第一コネクタ31から取り外す。これにより、出力部27に出力電流が供給されなくなるので、不揮発性メモリ15の書き換え中の不要な出力を確実に遮断でき、安全が確保される。この場合、出力部27に出力電流が供給されなくなったことをマイクロコンピュータ10は回線18からの信号がなくなったことで検出できるので、出力部27に出力電流が供給されなくなったことを操作者に明示するようにすることができる。   In the present control device 100, the non-volatile memory 15 is rewritten as follows. That is, first, the energizing connector 32 is detached from the control device side first connector 31. As a result, no output current is supplied to the output unit 27, so that unnecessary output during rewriting of the nonvolatile memory 15 can be reliably cut off, and safety is ensured. In this case, since the microcomputer 10 can detect that the output current is not supplied to the output unit 27 by the absence of the signal from the line 18, the operator can be notified that the output current is not supplied to the output unit 27. It can be made explicit.

つぎに、不揮発性メモリ15の書き換えを行うため、図2に示すように、外部ライタ40のライタ側第一コネクタ44を制御装置側第一コネクタ31に装着し、ライタ側第二コネクタ45を制御装置側第二コネクタ35に装着する。これにより、外部ライタ40とマイクロコンピュータ10との間で信号の授受が可能になる。   Next, in order to rewrite the non-volatile memory 15, as shown in FIG. 2, the writer side first connector 44 of the external writer 40 is attached to the controller side first connector 31, and the writer side second connector 45 is controlled. Attach to the device-side second connector 35. As a result, signals can be exchanged between the external writer 40 and the microcomputer 10.

ライタ側第一コネクタ44が制御装置側第一コネクタ31に装着されることにより、外部ライタ40から回路19を通じて、不揮発性メモリ15の書き換えが行われるようにする書換モード信号がマイクロコンピュータ10へ送信される。この書換モード信号をマイクロコンピュータ10が受信することにより不揮発性メモリ15の書き換えが可能になる。また、CPU用電源21からマイクロコンピュータ10への給電が遮断される。   When the writer side first connector 44 is attached to the controller side first connector 31, a rewrite mode signal is transmitted from the external writer 40 to the microcomputer 10 through the circuit 19 so that the nonvolatile memory 15 can be rewritten. Is done. When the microcomputer 10 receives the rewrite mode signal, the nonvolatile memory 15 can be rewritten. Further, the power supply from the CPU power source 21 to the microcomputer 10 is cut off.

そして、ライタ側第二コネクタ45が制御装置側第二コネクタ35に装着されることにより、回路47を通じてマイクロコンピュータ10に所要の給電がされるようになる。回路48を通じて、外部ライタ40からマイクロコンピュータ10に書込信号を送信することができるようになり、不揮発性メモリ15の書き換えが確実に行われるようになる。   When the writer-side second connector 45 is attached to the control device-side second connector 35, the microcomputer 10 is supplied with required power through the circuit 47. Through the circuit 48, a write signal can be transmitted from the external writer 40 to the microcomputer 10, and the nonvolatile memory 15 can be rewritten reliably.

不揮発性メモリ15の書き換えが終了すると、不揮発性メモリ15の書き換えが正常に行われたか否かのチェックを実施し、正常であった場合に揮発性メモリ15の書き換えが正常に行われたことを表示する。操作者は、この表示を確認した後で、ライタ側第一コネクタ44およびライタ側第二コネクタ45をそれぞれ制御装置側第一コネクタ31、制御装置側第二コネクタ35から取り外し、通電コネクタ32を制御装置側第一コネクタ31に装着する。これにより、制御装置100は機器への出力を行うことができるようになる。   When rewriting of the non-volatile memory 15 is completed, it is checked whether or not the rewriting of the non-volatile memory 15 has been performed normally. If normal, the rewriting of the volatile memory 15 has been performed normally. indicate. After confirming this display, the operator removes the writer side first connector 44 and the writer side second connector 45 from the control device side first connector 31 and the control device side second connector 35, respectively, and controls the energizing connector 32. Attached to the first connector 31 on the apparatus side. As a result, the control device 100 can output to the device.

本制御装置100の不揮発性メモリ15の書き換えはこのようにして行われるので、不揮発性メモリ15の書換作業において安全性が確保される。すなわち、書換作業中の不慮の事故によるマイクロコンピュータ10の誤作動の場合、不揮発性メモリ15の書換作業中にライタ側第一コネクタ44またはライタ側第二コネクタ45が取り外された場合、あるいは、外部ライタ40がハングアップした場合においても、また、書き換えが適正に行われなかった場合においても機器が不用意に作動することがなく安全性が確保される。このような安全の確保は、ボイラの制御装置のように、爆発、人的または物的被害を与えるおそれがあるものについては重要である。   Since rewriting of the non-volatile memory 15 of the present control device 100 is performed in this way, safety is ensured in the rewriting operation of the non-volatile memory 15. That is, in the case of malfunction of the microcomputer 10 due to an unexpected accident during the rewriting work, the writer side first connector 44 or the writer side second connector 45 is removed during the rewriting work of the nonvolatile memory 15, or the external Even when the writer 40 is hung up or when rewriting is not properly performed, the device is not inadvertently operated to ensure safety. Ensuring such safety is important for those that may cause explosions, human or physical damage, such as boiler control devices.

以上本発明に係る制御装置100について説明した。本発明に係る制御装置100は上述の実施例に限定されない。上述の例は、制御装置側第一コネクタ31と制御装置側第二コネクタ35が別置されており、制御装置100の状態を一見で識別することができるという利点があるが、このような識別が確保されていれば、図3に示すように、制御装置側第一コネクタ31と制御装置側第二コネクタ35が結合され一体になった構成にすることができる。すなわち、制御装置側第一コネクタ311は、制御装置側第一コネクタ31および制御装置側第二コネクタ35を一体にした構成になっており、ライタ側第一コネクタ441は、ライタ側第一コネクタ44およびライタ側第二コネクタ45を一体にした構成になっている。これにより、制御装置100をコンパクトにすることができる。   The control device 100 according to the present invention has been described above. The control device 100 according to the present invention is not limited to the above-described embodiment. The above-described example has an advantage that the control device-side first connector 31 and the control device-side second connector 35 are separately provided, and the state of the control device 100 can be identified at a glance. 3, as shown in FIG. 3, the control device side first connector 31 and the control device side second connector 35 can be combined and integrated. That is, the control device side first connector 311 has a configuration in which the control device side first connector 31 and the control device side second connector 35 are integrated, and the writer side first connector 441 is the writer side first connector 44. The writer side second connector 45 is integrated. Thereby, the control apparatus 100 can be made compact.

また、本例の場合は、不揮発性メモリ15を書き換えるときにCPU用電源21からマイクロコンピュータへの給電を遮断し、外部ライタ40からマイクロコンピュータ10へ給電を行うようにしたが、CPU用電源21の安定性、安全性が確保できる場合には、マイクロコンピュータへの給電を常にCPU用電源21から行うようにすることもできる。この場合は、外部ライタ40からマイクロコンピュータ10へ給電を行う回路47を設ける必要がなくなり、また、外部ライタ40の電源装置を簡単にできる利点がある。   Further, in this example, when the nonvolatile memory 15 is rewritten, the power supply from the CPU power supply 21 to the microcomputer is cut off, and the power supply from the external writer 40 to the microcomputer 10 is performed. If the stability and safety can be ensured, power can be supplied to the microcomputer from the CPU power source 21 at all times. In this case, there is no need to provide the circuit 47 for supplying power from the external writer 40 to the microcomputer 10, and there is an advantage that the power supply device of the external writer 40 can be simplified.

ボイラの制御装置に設けた不揮発メモリの書換作業を行った。図4に、不揮発性メモリ15の書換作業を行う場合の機器の構成を示す。図4に示すように、パソコン110に接続された外部ライタ40を制御装置100に接続する。接続は、制御装置100の制御装置側第一コネクタ31に装着されていた通電コネクタ32を取り外した後、外部ライタ40のライタ側第一コネクタ44を、制御装置側第一コネクタ31に接続する。そして、外部ライタ40のライタ側第二コネクタ45を、制御装置100の制御装置側第二コネクタ35に接続する。   The rewriting work of the non-volatile memory provided in the control device of the boiler was performed. FIG. 4 shows the configuration of the device when the nonvolatile memory 15 is rewritten. As shown in FIG. 4, the external writer 40 connected to the personal computer 110 is connected to the control device 100. For connection, after removing the energizing connector 32 attached to the control device side first connector 31 of the control device 100, the writer side first connector 44 of the external writer 40 is connected to the control device side first connector 31. Then, the writer side second connector 45 of the external writer 40 is connected to the control device side second connector 35 of the control device 100.

図5は、制御装置100がボイラに使用される場合の実施例の構成を示す図面である。図5に示すように、ボイラ120は、ボイラ本体121と、送風機130と、ダンパ135と、燃料供給手段140と、制御装置100を有している。また、燃料供給手段140によりボイラ本体121に供給される燃料の温度を測定する燃料温度測定装置143が設けられ、送風機130およびバンパ135を経てボイラ本体121に送風される空気の温度を測定する空気温度測定装置133が設けられている。なお、この例のボイラ本体121は、竪型ボイラの場合を示しており、バーナ125により燃料を燃焼させ、火炎126により水管123を加熱することにより水蒸気を生成するようになっている。   FIG. 5 is a diagram showing a configuration of an embodiment when the control device 100 is used in a boiler. As shown in FIG. 5, the boiler 120 includes a boiler body 121, a blower 130, a damper 135, a fuel supply unit 140, and a control device 100. Further, a fuel temperature measuring device 143 for measuring the temperature of the fuel supplied to the boiler body 121 by the fuel supply means 140 is provided, and the air for measuring the temperature of the air blown to the boiler body 121 through the blower 130 and the bumper 135 is provided. A temperature measuring device 133 is provided. Note that the boiler body 121 of this example shows a case of a vertical boiler, in which fuel is burned by a burner 125 and water pipe 123 is heated by a flame 126 to generate water vapor.

このような構成のボイラ120において、制御装置100は、燃料温度測定装置143および空気温度測定装置133からのデータを管理しており、また、送風機130、ダンパ135、燃料供給手段140等を制御している。例えば、制御装置100は、水蒸気を利用する負荷側からの信号(図示せず)、燃料温度測定装置143および空気温度測定装置133からの信号に基づき最適風量および燃料量を算出し、空気比が一定になるように送風機130を制御する。また、ボイラ起動時には、ボイラ120の停止状態から燃焼再開を行う場合に、ボイラ内に残留する排ガスを除去するプレパージ作業を行ってボイラ120を起動させる。つぎに、着火操作、低燃焼位操作、高燃焼位操作等の各作業を行ってボイラ120が運転される。これらの各操作において、制御装置100は、ダンパ135の制御を行う。このような制御装置100による各装置の制御は、不揮発性メモリ15に記憶されたプログラムによって行われる。そして、例えば、蒸気設備の改変等により負荷側の設定条件の変更があった場合に、不揮発性メモリ15の書き換えが行われる。   In the boiler 120 having such a configuration, the control device 100 manages data from the fuel temperature measurement device 143 and the air temperature measurement device 133, and controls the blower 130, the damper 135, the fuel supply means 140, and the like. ing. For example, the control device 100 calculates the optimal air volume and the fuel volume based on signals from the load side using water vapor (not shown), signals from the fuel temperature measuring device 143 and the air temperature measuring device 133, and the air ratio is The blower 130 is controlled to be constant. Further, at the time of starting the boiler, when the combustion is restarted from the stopped state of the boiler 120, the boiler 120 is started by performing a pre-purge operation for removing the exhaust gas remaining in the boiler. Next, the boiler 120 is operated by performing various operations such as an ignition operation, a low combustion position operation, and a high combustion position operation. In each of these operations, the control device 100 controls the damper 135. Such control of each device by the control device 100 is performed by a program stored in the nonvolatile memory 15. Then, for example, when the setting condition on the load side is changed due to modification of the steam facility or the like, the nonvolatile memory 15 is rewritten.

書換作業は、まず、ハードウエアバージョン・現ROMバージョン・ボイラの設定データを収集する。ここで、ROMバージョンとは、不揮発メモリ15に記憶されているデータのバージョンのことであり、ハードウエアバージョンとは、ボイラ機種識別およびソフトウェアとの互換識別データからなるもので、不揮発メモリ15とは別の不揮発メモリ(図示省略)に記憶されているものである。収集したハードウエアバージョン・現ROMバージョンデータが、外部ライタ40に備えられた対象ハードウエアバージョン・ROMバージョンデータと一致した場合に、書き換え作業を実施する。   In the rewriting operation, first, hardware version, current ROM version, and boiler setting data are collected. Here, the ROM version is the version of data stored in the nonvolatile memory 15, and the hardware version is composed of boiler model identification and software compatible identification data. It is stored in another non-volatile memory (not shown). When the collected hardware version / current ROM version data matches the target hardware version / ROM version data provided in the external writer 40, the rewriting operation is performed.

つぎに、外部ライタ40から書換モード信号をマイクロコンピュータ10へ送り、マイクロコンピュータ10の動作モードを書換モードにし、この後、マイクロコンピュータ10のブートプログラムを起動する。これにより、マイクロコンピュータ10は、外部ライタ40からの信号を受け入れるようになる。ブートプログラムが起動した後、パソコン110を操作して不揮発性メモリ15にデータを書き込むプログラム(ローダプログラム)をマイクロコンピュータ10に送信する。このローダプログラムが起動中に、所要の書き換えプログラムを外部ライタ40からマイクロコンピュータ10に送信して、不揮発性メモリ15の書き換えを行う。   Next, a rewrite mode signal is sent from the external writer 40 to the microcomputer 10 to set the operation mode of the microcomputer 10 to the rewrite mode, and then the boot program of the microcomputer 10 is started. As a result, the microcomputer 10 receives a signal from the external writer 40. After the boot program is activated, the personal computer 110 is operated to transmit a program (loader program) for writing data to the nonvolatile memory 15 to the microcomputer 10. While the loader program is running, a required rewrite program is transmitted from the external writer 40 to the microcomputer 10 to rewrite the nonvolatile memory 15.

不揮発性メモリ15の書き換えが終わると、書き換えが正常に完了したとき、書き換えが正常に完了した表示がパソコン110に表される。この表示を確認後、外部ライタ40のライタ側第一コネクタ44およびライタ側第二コネクタ45を、制御装置100から取り外し、制御装置側第一コネクタ31に通電コネクタ32を装着して書換作業が完了する。   When rewriting of the nonvolatile memory 15 is completed, when the rewriting is normally completed, a display indicating that the rewriting has been normally completed is displayed on the personal computer 110. After confirming this display, the writer-side first connector 44 and the writer-side second connector 45 of the external writer 40 are removed from the control device 100, and the energization connector 32 is attached to the control device-side first connector 31 to complete the rewriting operation. To do.

本発明に係る制御装置の構成を示す模式図である。It is a schematic diagram which shows the structure of the control apparatus which concerns on this invention. 図1の制御装置において不揮発性メモリの書換作業を行う場合の説明図である。It is explanatory drawing in the case of performing the rewriting operation | work of a non-volatile memory in the control apparatus of FIG. 制御装置と外部ライタとの結合コネクタの形態が異なる実施例の説明図である。It is explanatory drawing of the Example from which the form of the coupling connector of a control apparatus and an external writer differs. 書換作業を行う場合の説明図である。It is explanatory drawing in the case of performing rewriting work. 制御装置とボイラの関係を示す説明図である。It is explanatory drawing which shows the relationship between a control apparatus and a boiler.

符号の説明Explanation of symbols

10 マイクロコンピュータ
15 不揮発性メモリ
16 出力制御回路
17 電源回路
18、19 回路
21 CPU用電源
25 機器制御用電源
26 給電配線
27 出力部
31、311 制御装置側第一コネクタ
32 通電コネクタ
35 制御装置側第二コネクタ
40 外部ライタ
44、441 ライタ側第一コネクタ
45 ライタ側第二コネクタ
47、48 回路
100 制御装置
110 パソコン
120 ボイラ
121 ボイラ本体
123 水管
125 火炎
126 バーナ
130 送風機
133 空気温度測定装置
135 ダンパ
140 燃料供給手段
143 燃料温度測定装置
10 Microcomputer
15 Non-volatile memory
16 Output control circuit
17 Power supply circuit
18, 19 circuit
21 Power supply for CPU
25 Power supply for device control
26 Power supply wiring
27 Output section
31, 311 Controller side first connector
32 Power connector
35 Control device side second connector
40 External writer
44, 441 Writer side first connector
45 Writer side second connector
47, 48 circuits
100 control unit
110 PC
120 boiler
121 Boiler body
123 water pipe
125 flame
126 Burner
130 Blower
133 Air temperature measuring device
135 damper
140 Fuel supply means
143 Fuel temperature measuring device

Claims (4)

機器を制御するプログラムを記憶している書き換え可能な不揮発性メモリを備えたマイクロコンピュータと、前記機器への制御信号を出力する出力部と、この出力部の機器制御用電源とを有する制御装置であって、前記機器制御用電源から前記出力部への給電配線は、制御装置側第一コネクタを介しており、前記機器制御用電源から前記出力部への給電は、前記制御装置側第一コネクタが通電コネクタと結合することで可能となる一方、前記不揮発性メモリの書き換えは、前記通電コネクタを前記制御装置側第一コネクタから取り外し、外部ライタのライタ側第一コネクタを前記制御装置側第一コネクタへ結合することで可能となることを特徴とする制御装置。   A control device having a microcomputer provided with a rewritable nonvolatile memory storing a program for controlling a device, an output unit for outputting a control signal to the device, and a device control power source for the output unit The power supply wiring from the device control power supply to the output unit is via a control device side first connector, and the power supply from the device control power supply to the output unit is performed by the control device side first connector. The non-volatile memory can be rewritten by detaching the energizing connector from the control device side first connector and removing the writer side first connector of the external writer from the control device side first. A control device characterized by being made possible by coupling to a connector. 前記外部ライタのライタ側第二コネクタと結合し、前記不揮発性メモリの書換信号を受け入れる制御装置側第二コネクタを備え、前記不揮発性メモリの書き換えは、前記制御装置側第一コネクタと結合させた前記ライタ側第一コネクタを介して前記外部ライタから書換モードであることを指示する書換モード信号を前記マイクロコンピュータへ送るとともに、前記制御装置側第二コネクタと結合させた前記ライタ側第二コネクタを介して前記外部ライタからの書換信号を前記不揮発性メモリへ送ることで可能となることを特徴とする請求項1に記載の制御装置。   A controller-side second connector that is coupled to the writer-side second connector of the external writer and receives a rewrite signal of the nonvolatile memory, and the nonvolatile memory rewrite is coupled to the controller-side first connector. A rewrite mode signal instructing the rewrite mode is sent from the external writer to the microcomputer via the writer side first connector, and the writer side second connector coupled to the control device side second connector 2. The control device according to claim 1, wherein the control device is enabled by sending a rewrite signal from the external writer to the non-volatile memory. 前記不揮発性メモリの書き換えは、前記制御装置側第一コネクタと結合させた前記ライタ側第一コネクタを介して前記外部ライタから書換モードであることを指示する書換モード信号を前記マイクロコンピュータへ送るとともに、前記ライタ側第一コネクタを介して前記外部ライタからの書換信号を前記不揮発性メモリへ送ることで可能となることを特徴とする請求項1に記載の制御装置。   The nonvolatile memory is rewritten by sending a rewrite mode signal instructing the rewrite mode from the external writer to the microcomputer via the writer side first connector coupled to the control device side first connector. The control device according to claim 1, wherein the control device is enabled by sending a rewrite signal from the external writer to the nonvolatile memory via the writer-side first connector. 前記機器は、ボイラであることを特徴とする請求項1〜3のいずれかに記載の制御装置。   The control device according to claim 1, wherein the device is a boiler.
JP2007044807A 2007-02-26 2007-02-26 Control device Expired - Fee Related JP4868155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007044807A JP4868155B2 (en) 2007-02-26 2007-02-26 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007044807A JP4868155B2 (en) 2007-02-26 2007-02-26 Control device

Publications (2)

Publication Number Publication Date
JP2008210067A true JP2008210067A (en) 2008-09-11
JP4868155B2 JP4868155B2 (en) 2012-02-01

Family

ID=39786326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007044807A Expired - Fee Related JP4868155B2 (en) 2007-02-26 2007-02-26 Control device

Country Status (1)

Country Link
JP (1) JP4868155B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689234A (en) * 1992-09-07 1994-03-29 Toshiba Corp Memory module
JPH06259982A (en) * 1993-03-09 1994-09-16 Hitachi Ltd Method and device for rewriting flash rom
JPH07127518A (en) * 1993-11-04 1995-05-16 Kokusan Denki Co Ltd Control device for internal combustion engine
JPH09218826A (en) * 1996-02-09 1997-08-19 Canon Inc Portable electronic equipment
JP2001312426A (en) * 2000-04-28 2001-11-09 Horiba Ltd Control circuit and control method for memory element
JP2002366380A (en) * 2001-06-13 2002-12-20 Canon Inc Electronic device and its control method
JP2003131947A (en) * 2001-10-24 2003-05-09 Fujitsu Media Device Kk Circuit board for mounting memory

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689234A (en) * 1992-09-07 1994-03-29 Toshiba Corp Memory module
JPH06259982A (en) * 1993-03-09 1994-09-16 Hitachi Ltd Method and device for rewriting flash rom
JPH07127518A (en) * 1993-11-04 1995-05-16 Kokusan Denki Co Ltd Control device for internal combustion engine
JPH09218826A (en) * 1996-02-09 1997-08-19 Canon Inc Portable electronic equipment
JP2001312426A (en) * 2000-04-28 2001-11-09 Horiba Ltd Control circuit and control method for memory element
JP2002366380A (en) * 2001-06-13 2002-12-20 Canon Inc Electronic device and its control method
JP2003131947A (en) * 2001-10-24 2003-05-09 Fujitsu Media Device Kk Circuit board for mounting memory

Also Published As

Publication number Publication date
JP4868155B2 (en) 2012-02-01

Similar Documents

Publication Publication Date Title
JP5176728B2 (en) Electronic control device for vehicle
SG141215A1 (en) Cartridge and recording apparatus
US5933595A (en) Computer apparatus having electrically rewritable nonvolatile memory, and nonvolatile semiconductor memory
JP2009266143A (en) Method for detecting improper removal of electronic equipment
US20100019719A1 (en) Information rewriting device and recording medium
JP2007257473A (en) Onboard control unit
JP4868155B2 (en) Control device
JP2023115345A (en) Lighting device and lighting equipment
JP2007085707A (en) Control information rewriting device for air conditioner
JP2007175153A (en) Electronic sewing machine
JP2009026183A (en) Electronic control apparatus for automobile
KR101498840B1 (en) Information processing device
JP2007216619A (en) Electronic equipment and its packing method
CN105865036B (en) Combustion apparatus
JP2006177287A (en) Inspection device and inspection method for on-vehicle type failure diagnosis system
JP2009104299A (en) Electronic control device
KR100873302B1 (en) Method for reprogramming electric control unit of car
JP2006127554A (en) Information processing device and image formation device
JP3570842B2 (en) Data rewriting device for read-only memory
JPH09213088A (en) Engine controller
JP4702589B2 (en) Control device and combustion device
JP4650816B2 (en) Game machine
JPH04276838A (en) Cpu with built-in memory
JP2006079259A (en) Controller
JPH0520050A (en) Information storage device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091119

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20091119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111006

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111101

R150 Certificate of patent or registration of utility model

Ref document number: 4868155

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees