JP3901148B2 - Fire receiver - Google Patents

Fire receiver Download PDF

Info

Publication number
JP3901148B2
JP3901148B2 JP2003359062A JP2003359062A JP3901148B2 JP 3901148 B2 JP3901148 B2 JP 3901148B2 JP 2003359062 A JP2003359062 A JP 2003359062A JP 2003359062 A JP2003359062 A JP 2003359062A JP 3901148 B2 JP3901148 B2 JP 3901148B2
Authority
JP
Japan
Prior art keywords
history information
power supply
saved
volatile memory
nonvolatile memory
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 - Lifetime
Application number
JP2003359062A
Other languages
Japanese (ja)
Other versions
JP2005122603A (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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2003359062A priority Critical patent/JP3901148B2/en
Publication of JP2005122603A publication Critical patent/JP2005122603A/en
Application granted granted Critical
Publication of JP3901148B2 publication Critical patent/JP3901148B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、火災発報や操作等の履歴情報を記憶し、管理することができる火災受信機に係り、さらに詳しくは、電源が遮断された場合でも、揮発性メモリに記憶した履歴情報を確実に、かつ効率よく回復させることができる火災受信機に関する。   The present invention relates to a fire receiver capable of storing and managing history information such as fire alarms and operations, and more particularly, reliably records history information stored in a volatile memory even when the power is shut off. In addition, the present invention relates to a fire receiver that can be efficiently recovered.

従来より、監視回線に接続した火災感知器の発報や防排煙機器等の作動状態や接続状況等をイベントとして火災受信機側で一元に監視し管理できるよう、これらのイベントを履歴情報として、メモリに記憶しておき、必要に応じて読み出し、表示させたり、印字する機能を備えた火災受信機が知られている。例えば下記の特許文献(特開2002−092753号公報)が存在する。   Historically, these events have been recorded as historical information so that fire detectors connected to the monitoring line can be monitored and managed on the fire receiver side as events, such as the operating status and connection status of smoke-proofing equipment. A fire receiver having a function of storing in a memory and reading, displaying, or printing as necessary is known. For example, the following patent document (Japanese Patent Laid-Open No. 2002-092753) exists.

このような火災受信機では、履歴情報を記憶するためRAMがよく使用されているが、このRAMは、CPUが直接、読み出し、書き込みを行うことができ、処理速度が速いというメリットがある反面、揮発性メモリのため電源を切断すると記憶内容が消去されてしまう欠点がある。そのため、火災受信機のメモリとして使う場合は、メモリデータ保持用電源を別途設置する必要があった。   In such a fire receiver, a RAM is often used to store history information. However, this RAM has a merit that the CPU can directly read and write, and has a high processing speed. Since it is a volatile memory, there is a drawback that the stored contents are erased when the power is turned off. Therefore, when using it as a memory of a fire receiver, it was necessary to install a memory data holding power supply separately.

また、メモリ機能、入出力機能を内蔵させた1チップのCPUが使用されることもあるが、この場合、メモリ容量が小さく、電源が遮断されるとCPUのリセットが必要であるため、CPU自体のバックアップができないという問題があった。
そこで、近年、履歴情報のメモリとして、電源を切っても記録内容を保持することができ、書き込んだ情報を電気的に消去することができる不揮発性メモリ(EEPROM等)を使用するものが採用されている。
In some cases, a one-chip CPU incorporating a memory function and an input / output function may be used. In this case, since the memory capacity is small and the power is cut off, the CPU needs to be reset. There was a problem that could not be backed up.
Therefore, in recent years, a history information memory that uses a non-volatile memory (such as an EEPROM) that can retain recorded contents even when the power is turned off and can electrically erase written information has been adopted. ing.

特開2002−092753号公報JP 2002-092753 A

しかしながら、このような不揮発性メモリは、RAMに比べて処理速度が遅く、またRAMのようにランダムに書き換えすることができないというデメリットがある。また、一部の履歴情報を書き換えたい場合でも、保持しているデータを一旦全て消去しなければ、書き換えることができず、また書き換え回数にも制限があるため効率よく稼動させる必要がある。   However, such a non-volatile memory has a demerit that the processing speed is slower than that of the RAM and it cannot be rewritten at random like the RAM. Further, even if it is desired to rewrite a part of history information, it is necessary to operate it efficiently because it cannot be rewritten unless all stored data is once erased and the number of rewrites is limited.

本発明は、このような事情に鑑みてなされたものであり、揮発性メモリと不揮発性メモリとを組み合わせ、履歴情報の退避保存をソフト的に処理することで、電源が遮断された後も、揮発性メモリに記憶されていた履歴情報を確実に、かつ効率良く回復させることができる火災受信機を提供することを目的としている。   The present invention has been made in view of such circumstances, combining a volatile memory and a nonvolatile memory, and processing the saving and saving of history information in a software manner, even after the power is shut off, An object of the present invention is to provide a fire receiver capable of reliably and efficiently recovering history information stored in a volatile memory.

上記目的を達成するために提案される請求項1は、主電源と予備電源との電圧レベルを監視する電源監視回路と、揮発性メモリに記憶された履歴情報を退避保存し、かつ消去可能な不揮発メモリと、電源監視回路を参照して、主電源、予備電源のいずれかが遮断されたときには、揮発メモリに記憶している履歴情報を、不揮発性メモリに退避保存させる制御処理部とを備えた構成としており、制御処理部は、主電源、予備電源の双方が遮断した後、主電源、予備電源のいずれかが復電したときには、その復電前の電源遮時に、不揮発性メモリに退避保存させた最新の履歴情報を揮発性メモリに転送させて回復させ、その後、主電源、予備電源の双方が復電したときには、不揮発メモリの所定の記憶領域を消去するようにしている。 Claim 1 proposed to achieve the above object is that a power supply monitoring circuit for monitoring a voltage level between a main power supply and a standby power supply, and history information stored in a volatile memory can be saved and erased. A nonvolatile memory and a control processing unit that refers to a power supply monitoring circuit and that saves history information stored in the volatile memory in the nonvolatile memory when either the main power supply or the standby power supply is cut off. When either the main power supply or the standby power supply recovers after both the main power supply and the standby power supply are shut off, the control processing unit saves to the non-volatile memory when the power supply before the power recovery is shut off. The latest stored history information is transferred to the volatile memory for recovery, and thereafter, when both the main power supply and the standby power supply are restored, a predetermined storage area of the nonvolatile memory is erased.

請求項2は、請求項において、上記不揮発メモリは、履歴情報を順次退避させるための複数の書き込み領域を含んだ、少なくとも1以上の消去可能領域を備えており、 上記制御処理部は、上記不揮発メモリに退避保存した履歴情報が上記揮発メモリに転送され、回復された後、更に、上記主電源、上記予備電源の双方が復電したときには、次の履歴情報を退避保存する記憶領域を確保するために、上記不揮発メモリの消去を、上記消去可能な領域単位で行う構成としている。   According to a second aspect of the present invention, the nonvolatile memory includes at least one or more erasable areas including a plurality of write areas for sequentially saving history information, and the control processing unit includes the nonvolatile memory After the history information saved in the memory is transferred to the volatile memory and recovered, when both the main power supply and the standby power supply are restored, a storage area for saving the next history information is secured. Therefore, the nonvolatile memory is erased in units of the erasable area.

請求項3は、請求項1または2において、上記制御処理部は、上記主電源、上記予備電源のいずれかが遮断されたときに、上記揮発メモリに記憶されている履歴情報と、上記不揮発メモリに退避保存されている直前の履歴情報とを比較し、それらが完全一致する場合は、上記揮発メモリに記憶されている履歴情報を上記不揮発メモリには退避保存させないことを特徴としている。   A third aspect of the present invention provides the control processing unit according to the first or second aspect, wherein the control processing unit stores history information stored in the volatile memory and the nonvolatile memory when either the main power source or the standby power source is shut off. The history information stored in the volatile memory is not saved and saved in the nonvolatile memory if the history information is compared with the previous history information saved in the memory.

請求項4は、請求項1〜3のいずれかにおいて、上記制御処理部は、上記履歴情報に、上記電源遮断時における各種設定状況、全出入力状況等の情報を加えて、上記不揮発メモリに退避保存するようにしたことを特徴としている。
請求項5は、請求項1〜4のいずれかにおいて、上記不揮発性メモリに退避保存される履歴情報の種別を予め選択指定できる操作設定手段をさらに備えている。
According to a fourth aspect of the present invention, in any one of the first to third aspects, the control processing unit adds, to the history information, information such as various setting statuses and total input / output statuses when the power is turned off, in the nonvolatile memory. It is characterized by being saved and saved.
A fifth aspect of the present invention further comprises operation setting means according to any one of the first to fourth aspects, wherein the operation setting means can select and designate in advance the type of history information saved and stored in the nonvolatile memory.

請求項1に記載の発明によれば、揮発性メモリに記憶された履歴情報を主電源、予備電源のいずれかが遮断されると、不揮発性メモリへの退避保存を行うので、双方の電源が遮断される前に、履歴情報を確実に退避保存することができ、火災受信機の信頼性が向上する。また、メモリデータ保持用電源を別途設置する必要がないため、コストの低減が図れる。
また、履歴情報の不揮発性メモリへの書き込みと消去のタイミングを分散させることにより、処理時間を短縮でき、メモリへの負荷を軽減することができる。
According to the first aspect of the present invention, the history information stored in the volatile memory is saved and saved in the nonvolatile memory when either the main power supply or the standby power supply is cut off. History information can be reliably saved and stored before being shut off, improving the reliability of the fire receiver. In addition, it is not necessary to install a memory data holding power supply separately, so that the cost can be reduced.
In addition, by distributing the timing of writing and erasing history information in the nonvolatile memory, the processing time can be shortened and the load on the memory can be reduced.

請求項2に記載の発明によれば、履歴情報の不揮発性メモリへの書き込みと消去のタイミングを分散させることにより、処理時間を短縮でき、メモリへの負荷を軽減することができる。   According to the second aspect of the present invention, the processing time can be shortened and the load on the memory can be reduced by distributing the timing of writing and erasing history information in the nonvolatile memory.

また、新たな履歴情報を不揮発性メモリに退避保存させる記憶領域を常に確保することができる。さらには、不揮発性メモリは複数の書き込み領域を有しているため、不揮発性メモリの劣化を防止することができる。   In addition, it is possible to always ensure a storage area for saving new history information in the nonvolatile memory. Furthermore, since the nonvolatile memory has a plurality of write areas, the deterioration of the nonvolatile memory can be prevented.

請求項3に記載の発明によれば、不揮発性メモリへの書き込み回数を減らすことにより、メモリの劣化を防止することができる。
請求項4に記載の発明によれば、履歴情報のみでなく、例えば電源断時の全スイッチ状態等の情報も退避保存させて、復電後には回復させることができる。
請求項5に記載の発明によれば、電源断時に退避保存しておくべき必要な情報を予め選択できるので、現場のニーズに的確に対応できる。
According to the third aspect of the present invention, the deterioration of the memory can be prevented by reducing the number of times of writing to the nonvolatile memory.
According to the fourth aspect of the present invention, not only history information but also information such as all switch states at the time of power-off can be saved and restored after power is restored.
According to the fifth aspect of the present invention, since necessary information to be saved and saved when the power is turned off can be selected in advance, it is possible to appropriately meet the needs of the site.

以下に、本発明の実施の形態について説明する。   Embodiments of the present invention will be described below.

図1は、本発明の火災受信機の基本構成の一例をブロック図で示したものである。
この火災受信機1は、少なくとも監視回線L1…Ln、Lcを介して火災感知器S、発信器などが接続されており、主電源eと予備電源eとから電源供給を受け稼動するものであり、受信した信号や操作により各種制御処理を行う制御処理部2と、制御停止や動作試験のための各種操作スイッチ及び動作状態等を表示する表示/操作部3と、主電源e及び予備電源Eの電圧レベルを監視する電源監視回路4と、火災発報や操作等を履歴情報として記憶するメモリ5と、監視回線L1…Ln、Lcに接続された火災感知器S、発信器などの発報を検出する火災受信検出回路6と、主ベルBとを備えている。
FIG. 1 is a block diagram showing an example of the basic configuration of a fire receiver according to the present invention.
This fire receiver 1 is connected to a fire detector S, a transmitter, etc. via at least monitoring lines L1... Ln, Lc, and operates by receiving power supply from a main power source e and a standby power source e. The control processing unit 2 that performs various control processes according to the received signals and operations, the display / operation unit 3 that displays various operation switches and operation states for control stop and operation test, the main power source e, and the standby power source E Power supply monitoring circuit 4 for monitoring the voltage level of the power source, memory 5 for storing fire alarms and operations as history information, alarms for fire detectors S and transmitters connected to the monitoring lines L1... Ln, Lc The fire reception detection circuit 6 for detecting the power and the main bell B are provided.

ここに、主電源eは商用電源を想定し、予備電源Eは、ニッケル・カドミウム電池等の電池を想定しているが、これらに限定されない。予備電源Eは主電源eが供給されない場合に、火災受信機1の機能維持するためのものである。   Here, the main power source e is assumed to be a commercial power source, and the standby power source E is assumed to be a battery such as a nickel-cadmium battery, but is not limited thereto. The standby power source E is for maintaining the function of the fire receiver 1 when the main power source e is not supplied.

メモリ5は、揮発性メモリであるRAM5aと、書き込み消去の可能な不揮発性メモリであるROM5bを備えている。RAM5aには、火災感知器Sの発報や操作部3でのスイッチ操作等のイベントが発生する毎に、それらを履歴情報として、順次記憶されており、例えば管理者が必要に応じて随時読み出し、表示部3に表示させたり、印字したりして、過去の発報・操作履歴を確認することができる。   The memory 5 includes a RAM 5a that is a volatile memory and a ROM 5b that is a nonvolatile memory that can be written and erased. In the RAM 5a, every time an event such as a fire detector S notification or a switch operation in the operation unit 3 occurs, these are sequentially stored as history information, for example, read out as needed by an administrator. The past report / operation history can be confirmed by displaying or printing on the display unit 3.

図1Aは、このようなRAM5aに記憶する履歴情報を示す例図である。図のようにイベント内容に対応して履歴コードが付され、分カウンタにより、イベントの発生時期を把握することができる。この分カウンタ値は、火災受信機1が起動すると「0」から始まり、1分経過毎に1加算される構成とする。もちろんRAM5aに記憶する履歴情報の構成はこれに限られない。   FIG. 1A is an example diagram showing history information stored in such a RAM 5a. As shown in the figure, a history code is attached corresponding to the event content, and the occurrence time of the event can be grasped by the minute counter. The minute counter value starts from “0” when the fire receiver 1 is activated, and is incremented by 1 every minute. Of course, the configuration of the history information stored in the RAM 5a is not limited to this.

制御処理部2は、電源監視回路4を参照して、上記主電源e、予備電源Eのいずれかが遮断されたときには、RAM5aに記憶している履歴情報を、ROM5bに退避保存させ、後述する基本動作をなす。   The control processing unit 2 refers to the power supply monitoring circuit 4, and when either the main power supply e or the standby power supply E is cut off, the history information stored in the RAM 5a is saved and saved in the ROM 5b, which will be described later. Perform basic operations.

図2は、この基本動作の一例を示すフローチャートである。
制御処理部2が主電源e、予備電源Eのいずれか一方が断状態にあると検出すると、RAM5aに記憶している履歴情報をROM5bに自動的に退避保存する。
FIG. 2 is a flowchart showing an example of this basic operation.
When the control processing unit 2 detects that either the main power source e or the standby power source E is in a disconnected state, the history information stored in the RAM 5a is automatically saved and saved in the ROM 5b.

これによれば、RAM5aに記憶された履歴情報は、主電源e、予備電源Eの双方が遮断された場合に先駆けて確実に退避保存することができ、火災受信機の信頼性が向上する。また、メモリデータ保持用電源も別途設置する必要がないため、コストの低減が図れる。   According to this, the history information stored in the RAM 5a can be surely saved and saved prior to the interruption of both the main power source e and the standby power source E, and the reliability of the fire receiver is improved. Further, it is not necessary to install a memory data holding power supply separately, so that the cost can be reduced.

なお、図2では、主電源、予備電源の双方が復電しない限り、退避処理に移行しないようにしているが、これは一方の復電で退避保存させると、退避処理が繰り返し行われてしまうためである(以上、ステップ10→14、請求項1)。   In FIG. 2, unless both the main power supply and the standby power supply are restored, the saving process is not performed. However, if the saving process is performed with one power restoration, the saving process is repeatedly performed. (Step 10 → 14, Claim 1).

図3は、主電源e、予備電源Eの双方が遮断した後の基本動作の一例を示すフローチャートである。ここでの電源回復は、主電源e、予備電源Eの双方が遮断した後、上記主電源e、予備電源Eのいずれかが復電したことを示している。   FIG. 3 is a flowchart showing an example of the basic operation after both the main power source e and the standby power source E are shut off. Here, the power recovery indicates that either the main power source e or the standby power source E has recovered after both the main power source e and the standby power source E are cut off.

制御処理部2は、電源が復電すると、復電前の電源遮断時にROM5bに退避保存させた最新の履歴情報をRAM5aに転送して回復させる。その後、主電源e、予備電源Eの双方が復電すると、次の履歴情報を退避させる記憶領域を確保するために、ROM5bの所定の記憶領域を消去する(以上、ステップ20→24、請求項1)。   When the power is restored, the control processing unit 2 transfers and restores the latest history information saved in the ROM 5b to the RAM 5a when the power is cut off before the power restoration. Thereafter, when both the main power source e and the standby power source E are restored, a predetermined storage area in the ROM 5b is deleted in order to secure a storage area for saving the next history information (steps 20 → 24, claims). 1).

このような本発明を実行する場合、ROM5bへの履歴情報の退避保存と、クリアは、メモリの構成に応じて変化する。   When such an embodiment of the present invention is executed, saving and clearing history information in the ROM 5b and clearing change according to the memory configuration.

図4は、履歴情報を退避保存するための不揮発性メモリの一例を示しており、特に1つの消去可能領域を設けたROM5b(M)を示している。
このようなROM5b(M)は、履歴情報を順次退避保存させる複数の書き込み領域M(#1)〜M(#n)を有しており、履歴情報の退避保存は、予め特定された循環順位に従って、書き込み領域M(#n)単位で順次一括して行われ、メモリ消去は、消去可能領域Maの単位で一括して行われる。
FIG. 4 shows an example of a nonvolatile memory for saving and saving history information, and particularly shows a ROM 5b (M) provided with one erasable area.
Such a ROM 5b (M) has a plurality of write areas M (# 1) to M (#n) for sequentially saving and storing history information, and history information is saved and stored in a circulation order specified in advance. Thus, the write area M (#n) is sequentially performed in batches, and the memory erase is performed in batches in units of the erasable area Ma.

例えば、消去可能領域Maが一つしかない図4に示したメモリでは、履歴情報は、予め特定された循環順位に従って、M(#1)→M(#2)→M(#n)の書き込み領域に書き込まれ、書き込みがM(#n)まで進んだ段階で、消去可能領域Maに退避保存されているすべての情報はクリアされ、次の履歴情報の退避保存に備えるという動作をなされるが、本発明では、履歴情報のROM5b(M)への書き込みと消去のタイミングを分散させることにより、処理時間を短縮でき、メモリへの負荷を軽減することができる(請求項2)。   For example, in the memory shown in FIG. 4 having only one erasable area Ma, the history information is written as M (# 1) → M (# 2) → M (#n) in accordance with the circulation order specified in advance. All the information saved in the erasable area Ma is cleared and written to the next history information at the stage of writing to the area and the writing has progressed to M (#n). In the present invention, the processing time can be shortened and the load on the memory can be reduced by distributing the timing of writing and erasing history information in the ROM 5b (M).

また、新たな履歴情報をROM5b(M)へ退避保存させる記憶領域を常に確保することができ、さらには複数の書き込み領域M(#1)〜M(#n)を有しているため、メモリの劣化を防止することもできる。   In addition, a storage area for saving and saving new history information in the ROM 5b (M) can always be secured, and since the memory has a plurality of write areas M (# 1) to M (#n), It is also possible to prevent the deterioration of the material.

図5は、複数の消去可能領域を設けたROM5b(M’)を示し、図では2つの消去可能領域Ma、Mbを有している。履歴情報の退避保存は、前述したように、予め特定された循環順位に従って、書き込み領域単位で順次一括して行われ、メモリ消去は、消去可能領域Ma、Mbの単位で一括して行われる。   FIG. 5 shows a ROM 5b (M ′) provided with a plurality of erasable areas, and has two erasable areas Ma and Mb in the figure. As described above, the history information is saved and saved sequentially in batches in units of write areas in accordance with the circulation order specified in advance, and the memory is erased in units of erasable areas Ma and Mb.

図6は、図5に示したROM5b(M’)を使用した場合の履歴情報の退避保存と、クリアの基本動作の一例を示したフローチャートである。   FIG. 6 is a flowchart showing an example of the basic operation of saving and clearing history information when the ROM 5b (M ′) shown in FIG. 5 is used.

図6の電源回復も、図4の場合と同一である。
制御処理部2は、電源が復電すると、復電前の電源遮断時にROM5b(M)に退避保存させた最新の履歴情報を検索し、RAM5aに転送して回復させる。その後、主電源e、予備電源Eの双方が復電すると、RAM5aに転送した最新の履歴情報が書き込まれていた領域が最後であるか否か判別する。この判別の結果、最後であると判断すると(例えば図5ではM(#n))、次の履歴情報を退避させる記憶領域を確保するためにROM5b(M)の所定の記憶領域(例えば図5ではMb)を消去する。
The power recovery in FIG. 6 is also the same as in FIG.
When the power is restored, the control processing unit 2 searches the latest history information saved in the ROM 5b (M) when the power is shut off before the power restoration, and transfers it to the RAM 5a to recover it. Thereafter, when both the main power source e and the standby power source E are restored, it is determined whether or not the area in which the latest history information transferred to the RAM 5a has been written is the last. If it is determined as a result of this determination that it is the last (for example, M (#n) in FIG. 5), a predetermined storage area (for example, FIG. 5) of the ROM 5b (M) is secured to secure a storage area for saving the next history information. Now erase Mb).

すなわち、不揮発メモリ5b(M’)からは、電源遮断前にROM5b(M’)に退避保存させた最新の履歴情報をRAM5aに転送し、回復させ、その後、双方の電源が復電したときに、消去可能領域を消去すべきであれば、それを消去し、そうでない場合には、退避保存された履歴情報の消去せず、次の消去のタイミングまで保持しておく(以上、ステップ30→35、請求項2)。   That is, from the nonvolatile memory 5b (M ′), the latest history information saved and saved in the ROM 5b (M ′) before the power is shut off is transferred to the RAM 5a and recovered, and then both power supplies are restored. If the erasable area is to be erased, it is erased. If not, the saved history information is not erased and is retained until the next erase timing (step 30 → 35, claim 2).

これによれば、履歴情報のROM5b(M’)への書き込みと消去のタイミングを分散させることにより、メモリへの負荷を軽減することができ、処理時間を短縮することができる。また、ROM5b(M’)へ退避保存させる記憶領域を常に確保することができ、さらには複数の書き込み領域を有しているため、ROM5b(M’)の劣化を防止することができる。   According to this, the load on the memory can be reduced and the processing time can be shortened by distributing the writing and erasing timing of the history information in the ROM 5b (M '). In addition, a storage area to be saved and saved in the ROM 5b (M ') can always be secured, and further, since the plurality of write areas are provided, deterioration of the ROM 5b (M') can be prevented.

なお、ROM5b(M’)をフラッシュメモリで構成した場合、フラッシュメモリの履歴情報の退避保存は、書き込み領域単位で順次所定の順序行われる(一括保存)ので、復電時に回復させた履歴情報を退避保存していた書き込み領域が、消去可能領域内で最後の循環順位となる書き込み領域に相当する場合には、次の循環順位にある消去可能領域が消去されるが、そうでない場合には、次の履歴情報は、次の循環順位にある書き込み領域に退避保存され、フラッシュの回数を少なくすることで劣化を防止できる。   When the ROM 5b (M ′) is configured with a flash memory, the history information in the flash memory is saved and saved sequentially in a predetermined order in units of write areas (batch saving). If the write area saved and saved corresponds to the write area that is the last circulation order in the erasable area, the erasable area in the next circulation order is erased. The next history information is saved and saved in the write area in the next circulation order, and deterioration can be prevented by reducing the number of flushes.

図7は、履歴情報を退避保存させる場合の基本動作を示したフローチャートである。
制御処理部2は、主電源e、予備電源Eのいずれか一方が断状態にあると検出すると、ROM5bに退避保存してある履歴情報を検索し、RAM5aが現在記憶保持している履歴情報と照合する。そこで、双方の履歴情報が完全一致すれば、ROM5bへの退避保存せず、不一致の場合のみ、RAM5aに記憶している履歴情報をROM5bへ退避保存する(以上、ステップ40→46、請求項3)。
FIG. 7 is a flowchart showing the basic operation when history information is saved and saved.
When the control processing unit 2 detects that one of the main power source e and the standby power source E is in a disconnected state, the control processing unit 2 searches the history information saved in the ROM 5b and stores the history information currently stored in the RAM 5a. Match. Therefore, if the two pieces of history information completely match, the history information stored in the RAM 5a is saved and saved in the ROM 5b only when there is a mismatch (steps 40 → 46, claim 3). ).

すなわち、主電源e、予備電源Eのいずれかが遮断され、履歴情報をROM5bに退避保存すべきときに、RAM5aに保存されている履歴情報が復電前に退避保存してある最新の履歴情報と完全一致するときは(電源が遮断され、復電した後に、なんのイベントも起こらなかったとき)、不揮発メモリ5bへの書き込みは行わない。
これによれば、ROM5bへの書き込み回数を減らすことができるので、メモリの劣化を防止できる。
That is, when either the main power source e or the standby power source E is shut off and the history information is to be saved in the ROM 5b, the latest history information saved in the RAM 5a before the power recovery is saved. Is completely matched (when the power is shut off and no event occurs after power is restored), the writing to the nonvolatile memory 5b is not performed.
According to this, since the number of times of writing to the ROM 5b can be reduced, the deterioration of the memory can be prevented.

ここで、履歴情報が完全一致するか否かは、ROM5bに退避保存されているデータ領域全体を比較参照する構成としてもよいし、イベント発生フラグを設けて、その有無で判断する構成としてもよい。イベント発生フラグによる場合は、例えばROM5bへ退避保存した時にはオフ、次にイベントが発生し、履歴情報をRAM5aに記憶するときにオンとするフラグをたてることで、履歴データの書き換えの有無を判断する。
また、履歴情報は、火災発報や操作等(図1A参照)のイベントに限られず、電源遮断時における各種設定状況、全出入力状況等の情報を加えて、上記不揮発メモリに退避保存するようにしてもよい(請求項4)。
Here, whether or not the history information completely matches may be configured such that the entire data area saved and stored in the ROM 5b is compared and referred to, or an event occurrence flag is provided to determine whether or not the history information is present. . In the case of the event occurrence flag, for example, whether or not history data is rewritten is determined by setting a flag that is turned off when saved in the ROM 5b and turned on when the event occurs and the history information is stored in the RAM 5a. To do.
The history information is not limited to events such as fire alarms and operations (see FIG. 1A), but includes information such as various setting statuses and all input / output statuses when the power is turned off, and is saved and saved in the nonvolatile memory. (Claim 4).

このように履歴情報のみでなく、例えば電源断時の全スイッチ状態等の情報も退避保存することができるので、電源断時にどのような状態だったのか知ることができ、電源復旧後の対処に役立てることができる。
さらに、不揮発性メモリ5bに退避保存される履歴情報は、予め、その種別を選択指定できるようにしてもよい(請求項5)。これによれば、電源断時に退避保存しておくべき必要な情報のみを退避保存できるので、履歴情報の確認や抽出がしやすくなる。
In this way, not only history information but also information such as all switch statuses when the power is turned off can be saved and saved, so it is possible to know what the state was when the power was turned off and to deal with it after power recovery Can be useful.
Furthermore, the history information saved and saved in the nonvolatile memory 5b may be selected and specified in advance (type 5). According to this, only necessary information that should be saved and saved when the power is turned off can be saved and saved, making it easy to check and extract history information.

本発明の火災受信機の基本構成の一例を示すブロック図The block diagram which shows an example of the basic composition of the fire receiver of this invention 履歴情報の揮発性メモリの一例を示す図The figure which shows an example of the volatile memory of history information 履歴情報を電源遮断時に退避保存させる基本動作を示すフローチャートFlow chart showing the basic operation of saving and saving history information when the power is turned off 復電後における履歴情報の回復動作と、不揮発性メモリの消去動作を示すフローチャートFlow chart showing recovery operation of history information after power recovery and erasing operation of nonvolatile memory 不揮発性メモリの構成を示す例図Example diagram showing configuration of nonvolatile memory 複数の消去可能領域を設けた不揮発性メモリの例を示す例図Example diagram showing an example of a nonvolatile memory provided with a plurality of erasable regions 複数の消去可能領域を設けた不揮発性メモリを用いての復電後における履歴情報の回復動作と、不揮発性メモリの消去動作を示すフローチャートFlowchart showing recovery operation of history information after power recovery using non-volatile memory provided with a plurality of erasable areas, and erasing operation of non-volatile memory 回復させた履歴情報を比較して、退避保存させる場合の基本動作を示すフローチャートFlow chart showing the basic operation when comparing and restoring saved history information

符号の説明Explanation of symbols

1 火災受信機
2 制御処理部
3 表示/操作部
4 電源監視回路
5 メモリ
5a 揮発性メモリ RAM
5b 不揮発性メモリ ROM(M、M’)
6 火災受信検出回路
e 主電源
E 予備電源
DESCRIPTION OF SYMBOLS 1 Fire receiver 2 Control processing part 3 Display / operation part 4 Power supply monitoring circuit 5 Memory 5a Volatile memory RAM
5b Non-volatile memory ROM (M, M ′)
6 Fire reception detection circuit e Main power supply E Standby power supply

Claims (5)

火災発報や、操作等のイベントが発生する毎に、それらを履歴情報として、揮発性メモリに記憶させて、必要なデータ管理を行う機能を備えた火災受信機において、Each time a fire alarm or operation event occurs, it is stored as history information in a volatile memory, and the fire receiver has the function to manage the necessary data.
主電源と予備電源との電圧レベルを監視する電源監視回路と、  A power supply monitoring circuit for monitoring the voltage levels of the main power supply and the standby power supply;
上記揮発性メモリに記憶された履歴情報を退避保存し、かつ消去可能な不揮発メモリと、  A non-volatile memory that saves and erases history information stored in the volatile memory; and
上記電源監視回路を参照して、上記主電源、予備電源のいずれかが遮断されたときには、上記揮発メモリに記憶している履歴情報を、上記不揮発性メモリに退避保存させる制御処理部とを備えた構成としており、  A control processing unit that refers to the power supply monitoring circuit and saves history information stored in the volatile memory in the nonvolatile memory when either the main power supply or the standby power supply is cut off; Configuration,
上記制御処理部は、上記主電源、予備電源の双方が遮断した後、上記主電源、予備電源のいずれかが復電したときには、その復電前の電源遮時に、上記不揮発性メモリに退避保存させた最新の履歴情報を上記揮発性メモリに転送させて回復させ、その後、上記主電源、予備電源の双方が復電したときには、上記不揮発メモリの所定の記憶領域を消去するようにしている、火災受信機。  The control processing unit saves and saves in the non-volatile memory when either the main power supply or the standby power supply recovers after both the main power supply and the standby power supply are shut off, and when the power supply before the power recovery is interrupted. The latest history information is transferred to the volatile memory for recovery, and after that, when both the main power supply and the standby power supply are restored, the predetermined storage area of the nonvolatile memory is erased. Fire receiver.
請求項1において、
上記不揮発メモリは、履歴情報を順次退避させるための複数の書き込み領域を含んだ、少なくとも1以上の消去可能領域を備えており、
上記制御処理部は、上記不揮発メモリに退避保存した履歴情報が上記揮発メモリに転送され、回復された後、更に、上記主電源、上記予備電源の双方が復電したときには、上記不揮発メモリの消去を、上記消去可能な領域単位で行う構成にしている、火災受信機。
In claim 1,
The non-volatile memory includes at least one or more erasable areas including a plurality of write areas for sequentially saving history information,
After the history information saved in the nonvolatile memory is transferred to the volatile memory and recovered, the control processing unit further erases the nonvolatile memory when both the main power source and the standby power source are restored. A fire receiver configured to perform the above in units of the erasable area.
請求項1または2において、
上記制御処理部は、上記主電源、上記予備電源のいずれかが遮断されたときに、上記揮発メモリに記憶されている履歴情報と、上記不揮発メモリに退避保存されている直前の履歴情報とを比較し、それらが完全一致する場合は、上記揮発メモリに記憶されている履歴情報を上記不揮発メモリには退避保存させないことを特徴とした火災受信機。
In claim 1 or 2,
The control processing unit is configured to store history information stored in the volatile memory and history information immediately before being saved in the nonvolatile memory when either the main power source or the standby power source is shut off. A fire receiver characterized in that, when they are completely matched, the history information stored in the volatile memory is not saved in the nonvolatile memory.
請求項1〜3のいずれかにおいて、
上記制御処理部は、上記履歴情報に、上記電源遮断時における各種設定状況、全出入力状況等の情報を加えて、上記不揮発メモリに退避保存するようにしたことを特徴とする火災受信機。
In any one of Claims 1-3,
The fire receiver characterized in that the control processing unit adds to the history information information such as various setting statuses at the time of power-off and all input / output statuses and saves them in the nonvolatile memory.
請求項1〜4のいずれかにおいて、
上記不揮発性メモリに退避保存される履歴情報の種別を予め選択指定できる操作設定手段をさらに備えた火災受信機。
In any one of Claims 1-4,
A fire receiver further comprising operation setting means capable of selecting and specifying in advance a type of history information saved and stored in the nonvolatile memory.
JP2003359062A 2003-10-20 2003-10-20 Fire receiver Expired - Lifetime JP3901148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003359062A JP3901148B2 (en) 2003-10-20 2003-10-20 Fire receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003359062A JP3901148B2 (en) 2003-10-20 2003-10-20 Fire receiver

Publications (2)

Publication Number Publication Date
JP2005122603A JP2005122603A (en) 2005-05-12
JP3901148B2 true JP3901148B2 (en) 2007-04-04

Family

ID=34615404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003359062A Expired - Lifetime JP3901148B2 (en) 2003-10-20 2003-10-20 Fire receiver

Country Status (1)

Country Link
JP (1) JP3901148B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5320119B2 (en) * 2009-03-24 2013-10-23 能美防災株式会社 Fire receiver
JP2013186566A (en) * 2012-03-06 2013-09-19 Panasonic Corp Receiver and automatic fire alarm system
JP7085436B2 (en) * 2018-07-25 2022-06-16 グローリー株式会社 Article management device, article management method and history management method

Also Published As

Publication number Publication date
JP2005122603A (en) 2005-05-12

Similar Documents

Publication Publication Date Title
US6839568B2 (en) User setting information management method and management system for portable telephone
US10262741B2 (en) Read and write control circuit and method of flash chip, and AMOLED application circuit
CN111045870B (en) Method, device and medium for saving and restoring metadata
CN111736873B (en) Program updating method, device, equipment and storage medium of electronic control unit
JP2018025925A (en) Start method of electronic circuit system and control device
JPH10240873A (en) Ic card
US8423729B2 (en) Part information restoration method, part information management method and electronic apparatus
JP3901148B2 (en) Fire receiver
US20020027508A1 (en) Power failure managing device and method for managing a power failure
CN113626262A (en) BMC recovery method, system, equipment and medium
JP2007087118A (en) Controller and portable terminal
JP4883282B2 (en) In-vehicle electronic device controller
JP2003036209A (en) Nonvolatile memory and data rewriting method thereof
CN110275797B (en) Controller and data storage method
JP2009116521A (en) Data rewriting method for memory
KR20070033916A (en) Control unit and mobile terminal
JP2013200919A (en) Nonvolatile semiconductor memory device and control method thereof
KR20040044023A (en) Apparatus and method for managing data recorded on memory
JP2001312891A (en) Semiconductor storage device
JP2001211231A (en) Transmission unit management system and history management system used for the system
JP2006338610A (en) Restoration method of registry information and information processor
US10705149B2 (en) Voltage drop detection through data corruption detection
US6959228B2 (en) Method of protecting data stored in a memory of welding controller
CN116414599A (en) Method and device for handling abnormal power failure and electronic equipment
KR100303338B1 (en) Method for protecting loss of data in secondary memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050801

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060825

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061113

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061225

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3901148

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110112

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 6

EXPY Cancellation because of completion of term