JP7329712B1 - Alarm and method of initializing the alarm - Google Patents

Alarm and method of initializing the alarm Download PDF

Info

Publication number
JP7329712B1
JP7329712B1 JP2023042329A JP2023042329A JP7329712B1 JP 7329712 B1 JP7329712 B1 JP 7329712B1 JP 2023042329 A JP2023042329 A JP 2023042329A JP 2023042329 A JP2023042329 A JP 2023042329A JP 7329712 B1 JP7329712 B1 JP 7329712B1
Authority
JP
Japan
Prior art keywords
alarm
predetermined
processing unit
alarm device
unit
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.)
Active
Application number
JP2023042329A
Other languages
Japanese (ja)
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.)
New Cosmos Electric Co Ltd
Original Assignee
New Cosmos Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New Cosmos Electric Co Ltd filed Critical New Cosmos Electric Co Ltd
Priority to JP2023042329A priority Critical patent/JP7329712B1/en
Priority to JP2023128771A priority patent/JP7348425B1/en
Application granted granted Critical
Publication of JP7329712B1 publication Critical patent/JP7329712B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Fire Alarms (AREA)
  • Alarm Systems (AREA)

Abstract

【課題】内部状態の変化によって一部機能が不能状態の警報器をユーザーなどの意志の下で正常に機能し得る状態に復帰させることを可能にする。【解決手段】実施形態の警報器100は、少なくとも火災若しくはガスのいずれか一方を検知可能である検知部50と、検知部50の検知結果に基づいて警報を発する警報機能を制御する第1処理部1と、少なくとも警報機能以外の所定の機能を制御する第2処理部2と、手動操作を受け付ける受付部70と、を備えている。実施形態の警報器100は、所定の手動操作が受付部70に対して行われることによって第2処理部2の所定の初期化動作を実行するように構成されている。【選択図】図1An object of the present invention is to restore an alarm device, which is partially disabled due to a change in internal state, to a state in which it can function normally under the will of a user or the like. An alarm device (100) according to an embodiment includes a detection unit (50) capable of detecting at least one of fire and gas, and first processing for controlling an alarm function for issuing an alarm based on the detection result of the detection unit (50). It includes a unit 1, a second processing unit 2 that controls at least predetermined functions other than the alarm function, and a reception unit 70 that receives manual operations. The alarm device 100 of the embodiment is configured to perform a predetermined initialization operation of the second processing section 2 when a predetermined manual operation is performed on the reception section 70 . [Selection drawing] Fig. 1

Description

本発明は、警報器、及び警報器の初期化方法に関する。 The present invention relates to an alarm and a method of initializing an alarm.

従来から、周囲環境を温度センサやガスセンサで監視して、異常な状態の検出に応じて警報を発してユーザーに危険を報せる警報器が、一般家庭や、商業施設、及び工場などで用いられている。このような警報器は、ユーザーの安全確保のために重要な役割を果たしている。近年、このような警報器では、単純なビープ音だけでなく、多様な情報を伝えるメッセージを発し得るように、音声信号の処理装置や、スピーカなどの発声手段が備えられている。 2. Description of the Related Art Conventionally, alarms that monitor the surrounding environment with a temperature sensor or gas sensor and issue an alarm in response to detection of an abnormal condition to notify the user of danger have been used in ordinary homes, commercial facilities, factories, and the like. ing. Such alarms play an important role in ensuring user safety. In recent years, such an alarm device is equipped with an audio signal processing device and an utterance means such as a speaker so that it can emit not only a simple beep sound but also messages conveying various information.

さらに、得られた情報を警報器の周囲だけでなく遠方の関係者にも伝えられるように、通信機能を有する警報器が普及している。そして、そのような通信機能を有する警報器は、特定の通信先との交信だけではなく、広く情報を発信できるように、また、多くの情報を外部から入手して警報器の周囲のユーザーの便益を高められるように、インターネットのようなネットワーク回線に接続可能なものも存在する。例えば、特許文献1には、警報メッセージを発するスピーカ、及び、インターネットへの接続を可能にするLANポートを備える警報器が開示されている。 Furthermore, alarm devices with communication functions have become popular so that obtained information can be communicated not only to persons in the vicinity of the alarm device but also to distant parties concerned. In addition to communication with specific communication destinations, alarm devices with such communication functions can transmit information widely, and obtain a large amount of information from the outside and use it to communicate with users around the alarm device. Some are connectable to network lines such as the Internet for added convenience. For example, Patent Literature 1 discloses an alarm device that includes a speaker that issues an alarm message and a LAN port that enables connection to the Internet.

特開2004-326360号公報Japanese Patent Application Laid-Open No. 2004-326360

特許文献1の警報器では、前述したスピーカやLANポート、さらに、周囲環境を監視して警報機能を担うCOセンサなどの各種センサが、一つの信号処理回路に接続されている。そして、この一つの信号処理回路によって、警報器の主機能である警報機能に加えて、通信機能も制御されている。しかしこのような構成の場合、一つの信号処理回路で報知機能も通信機能も制御しているが故に、主機能である警報機能に支障を来たすことがある。例えば、新たな制御方式の取り込みやセキュリティレベルの向上のために繰り返される通信プロトコルのバージョンアップによって警報機能が影響を受けることがある。すなわち、このようなバージョンアップに伴って必要となる通信機能に関するソフトウェアのアップデート中に警報機能が機能停止に陥ったり、そのアップデートの不具合によって信号処理回路全体が動作不能に陥ったりすることが考えられる。 In the alarm device of Patent Document 1, various sensors such as the speaker, the LAN port, and a CO sensor that monitors the surrounding environment and has an alarm function are connected to one signal processing circuit. This single signal processing circuit controls not only the alarm function, which is the main function of the alarm device, but also the communication function. However, in the case of such a configuration, since one signal processing circuit controls both the notification function and the communication function, it may interfere with the main function of the alarm function. For example, the alarm function may be affected by repeated version upgrades of communication protocols to introduce new control methods and improve security levels. In other words, it is conceivable that the alarm function may stop functioning during the update of the software related to the communication function required for such a version upgrade, or that the entire signal processing circuit may become inoperable due to a defect in the update. .

このようなリスクを軽減する手段として、警報機能を制御する主処理装置と、通信機能などの副次的機能を制御する副処理装置とを、互いに独立して個別に設けることが考えられる。しかしこのように処理装置を機能ごとに個別に設けて動作させると、例えば外部機器との通信が、その内容次第で、主機能たる警報機能に影響を及ぼすことがある。例えば、音声情報が外部機器から送られてその情報が警報機能と共用のスピーカによって発せられる場合には、音声による警報が、副処理装置の制御の下で発せられる音声で阻害される虞がある。 As a means of reducing such risks, it is conceivable to provide a main processing unit that controls the alarm function and a sub-processing unit that controls secondary functions such as communication functions independently of each other. However, if the processor is individually provided for each function and operated in this manner, communication with an external device, for example, may affect the alarm function, which is the main function, depending on the content of the communication. For example, if audio information is sent from an external device and the information is emitted by a speaker shared with the alarm function, the audio alarm may be disturbed by the audio emitted under the control of the sub-processor. .

警報が阻害されないように、主処理装置に副処理装置の動作を制御させ、警報の発報時には、副処理装置による発声を制限することも可能である。しかし、主処理装置の制御の下で動作すべき副処理装置が、主処理装置の制御通りに動作し得ない状態に陥ることも考えられる。例えば、上記のように警報器が外部の機器と通信で接続されていると、その通信によって、通信を制御する副処理装置の内部の状態、例えば内部のメモリの記憶内容が変更されることがある。また、前述したように、通信を制御する副処理装置内のソフトウェアが通信を介してアップデートされることもある。このような副処理装置の内部状態の変更やソフトウェアのアップデートが適切に行われれば問題はないが、主処理装置による制御に支障が生じ得る状態に変更されたり、アップデート用のデータがバグを含んでいたりすることも考えられる。そのような場合、上記のように、主処理装置の制御が副処理装置に及ばないような状態も生じ得る。その結果、ユーザーの意図した環境下で警報が発せられなかったり、ソフトウェアのバグに至っては、警報機能が根本的に阻害されて全く機能しなくなったりすることも起こり得る。 It is also possible to have the main processing unit control the operation of the sub-processing unit so that the alarm is not disturbed, and limit the utterance by the sub-processing unit when the alarm is issued. However, it is conceivable that the sub-processor, which should operate under the control of the main processor, cannot operate under the control of the main processor. For example, if the alarm device is connected to an external device for communication as described above, the communication may change the internal state of the sub-processing unit that controls communication, such as the contents of the internal memory. be. Also, as described above, the software in the sub-processing device that controls communication may be updated via communication. There is no problem if the internal state of the sub-processing unit is changed and the software is updated appropriately, but if the state is changed to a state that may interfere with the control by the main processing unit, or if the update data contains bugs, there is no problem. It is also conceivable to stay In such a case, as described above, a situation may arise in which the control of the main processor does not extend to the sub-processor. As a result, the alarm may not be issued in the environment intended by the user, or a software bug may cause the alarm function to be fundamentally obstructed and completely disabled.

このような場合、警報器が意図通り又は全く動作していないことがユーザーには感知可能であるにも関わらず、対処手段がないために、業者による修理や交換まで不具合状態が長く継続してしまうということも起こり得る。このような事態は、ユーザーなどの安全が脅かされることとなり、ユーザーなどの安全確保という役割を担う警報器にとって好ましくない。 In such cases, even though the user can sense that the alarm is not working as intended or at all, the lack of remedial action means that the failure condition continues for a long time until repair or replacement by the vendor. It can also happen. Such a situation threatens the safety of users and the like, and is not preferable for the alarm device that plays a role of ensuring the safety of users and the like.

本発明は、上記問題に鑑みてなされたもので、内部状態の変化によって警報器の一部が機能しない状態に陥っても、ユーザーなどの意志の下で、正常に機能し得る状態に復帰させ得る警報器、及び警報器の初期化方法を提供することを目的とする。 The present invention has been made in view of the above problems, and even if a part of the alarm device fails to function due to a change in the internal state, it can be restored to a normal functioning state under the will of the user or the like. It is an object of the present invention to provide an alarm that obtains and a method of initializing the alarm.

本発明の警報器は、少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、手動操作を受け付ける受付部と、を備え、所定の手動操作が前記受付部に対して行われることによって前記第2処理部の所定の初期化動作を実行するように構成されている警報器である。 The alarm device of the present invention includes a detection unit capable of detecting at least one of fire or gas, a first processing unit that controls an alarm function that issues an alarm based on the detection result of the detection unit, and at least the alarm A second processing unit that controls a predetermined function other than the function, and a reception unit that receives a manual operation. an alarm configured to perform a deactivation action;

上記警報器は、前記所定の手動操作以外の手動操作を前記受付部で受け付けると、前記所定の初期化動作以外の動作を実行するように構成されていてもよい。 The alarm device may be configured to perform an operation other than the predetermined initialization operation when the receiving unit receives a manual operation other than the predetermined manual operation.

前記所定の初期化動作により、前記第2処理部に内蔵されているソフトウェアが初期化されてもよい。 Software built in the second processing unit may be initialized by the predetermined initialization operation.

上記警報器は、前記ソフトウェアの初期化用データを保管する記憶手段をさらに備えていてもよく、前記所定の初期化動作において、前記初期化用データを用いて前記ソフトウェアが書き換えられてもよい。 The alarm device may further include storage means for storing initialization data of the software, and the software may be rewritten using the initialization data in the predetermined initialization operation.

前記所定の初期化動作において、前記警報器の稼働開始後に変更された、前記第2処理部を構成する部品の内部の状態が、前記変更をされる前の特定の時点の状態に戻されてもよい。 In the predetermined initialization operation, the internal state of the components constituting the second processing unit, which has been changed after the alarm has started to operate, is returned to the state at a specific point in time before the change. good too.

前記所定の手動操作は、互いに異なる態様の操作である第1操作と第2操作とを含み、前記第1操作の実行による前記所定の初期化動作により、前記第2処理部に内蔵されているソフトウェアが初期化され、前記第2操作の実行による前記所定の初期化動作により、前記部品の内部の状態が、前記特定の時点の状態に戻されてもよい。 The predetermined manual operation includes a first operation and a second operation, which are operations in different modes, and is incorporated in the second processing unit by the predetermined initialization operation by executing the first operation. Software may be initialized, and the internal state of the part may be returned to the state at the specific point in time by the predetermined initialization operation by executing the second operation.

上記警報器は、商用電源に接続される電源プラグをさらに備え、前記受付部に対する前記所定の手動操作、及び、前記電源プラグと前記商用電源との接続又は分離が行われることによって、前記所定の初期化動作を実行するように構成されていてもよい。 The alarm device further includes a power plug connected to a commercial power source, and the predetermined manual operation of the reception unit and the connection or disconnection between the power plug and the commercial power source cause the predetermined It may be configured to perform an initialization operation.

本発明の警報器の初期化方法は、少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、手動操作を受け付ける受付部と、を備える警報器の初期化方法であって、前記警報器に初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を前記受付部に行うことによって前記第2処理部を初期化することを含んでいる。 A method for initializing an alarm device of the present invention includes a detection unit capable of detecting at least one of fire or gas, and a first processing unit that controls an alarm function that issues an alarm based on the detection result of the detection unit. , a second processing unit that controls at least a predetermined function other than the alarm function, and a receiving unit that receives a manual operation, wherein the alarm device performs an operation other than the initialization. It includes initializing the second processing unit by performing a predetermined manual operation on the receiving unit that is different from the operation of instructing the .

上記警報器の初期化方法は、前記受付部に対する前記所定の手動操作の前、若しくは後に、又は前記所定の手動操作と同時に、前記警報器の電源プラグと商用電源とを接続又は分離することをさらに含んでいてもよい。 The method for initializing the alarm device includes connecting or disconnecting the power plug of the alarm device to a commercial power supply before or after the predetermined manual operation on the reception unit, or at the same time as the predetermined manual operation. It may contain further.

本発明によれば、内部状態の変化によって警報器の一部が機能しない状態に陥っても、ユーザーなどの意志の下で、正常に機能し得る状態に復帰させることができる。 According to the present invention, even if a part of the alarm device fails to function due to a change in the internal state, it can be restored to a normal functioning state under the will of the user or the like.

本発明の一実施形態の警報器の構成の概略を示すブロック図である。It is a block diagram showing an outline of composition of an alarm device of one embodiment of the present invention. 手動操作の幾つかの例を示す模式図である。FIG. 4 is a schematic diagram showing some examples of manual operation; 一実施形態の警報器における受付部と第2処理装置との接続形態及び所定の初期化動作の処理の一例を示すブロック図である。It is a block diagram which shows an example of the process of the connection form of a reception part and a 2nd processing apparatus in an alarm device of one Embodiment, and a predetermined initialization operation|movement. 一実施形態の警報器における受付部と第2処理装置との接続形態の他の例を示すブロック図である。It is a block diagram which shows another example of the connection form of the reception part and 2nd processing apparatus in the alarm device of one Embodiment. 一実施形態の警報器における受付部と第2処理装置との接続形態のさらに他の例を示すブロック図である。It is a block diagram which shows the other example of the connection form of the reception part and 2nd processing apparatus in the alarm device of one Embodiment. 本発明の一実施形態の警報器の初期化方法における手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure in the initialization method of the alarm device of one Embodiment of this invention.

以下、添付図面を参照しながら、本発明の一実施形態に係る警報器及び警報器の初期化方法を説明する。但し、以下に説明される実施形態及び添付の図面は、本発明に係る警報器又は警報器の初期化方法の一例を示しているに過ぎない。本発明に係る警報器及び警報器の初期化方法の構成及び作用は、以下に説明される実施形態及び添付の図面に例示される構成及び作用に限定されない。 Hereinafter, an alarm device and an initialization method for the alarm device according to an embodiment of the present invention will be described with reference to the accompanying drawings. However, the embodiment described below and the attached drawings merely show an example of the alarm device or the initialization method of the alarm device according to the present invention. The configurations and actions of the alarm device and the initialization method of the alarm device according to the present invention are not limited to the configurations and actions illustrated in the embodiments described below and the accompanying drawings.

<一実施形態の警報器の構成及び作用>
図1には、本発明の一実施形態の警報器100の主要な構成要素がブロック図で示されている。一実施形態の警報器100は、例えば、住居や工場などに設置されたり、ユーザーに携帯されたりして、警報器100の周囲の環境を監視する。そして、警報器100は、周囲の環境が特定の状態にある場合にはそれを検知して、例えば、警報を発したり、信号を送ったりして、周囲環境が特定の状態、例えば人体や物的資産に危害が及び得る異常な状態にあることを周囲の人や所定の機器に報せる。警報器100は、特定の状態として、少なくとも火災の発生及びガス漏れのいずれか一方を検知する。警報器100が他に検知し得る特定の状態としては、一酸化炭素の濃度の上昇、煙の充満、及び過剰な温湿度、などが例示されるが、警報器100が検知し得る特定の状態は、これらに限定されない。
<Structure and Action of Alarm Device of One Embodiment>
FIG. 1 shows a block diagram of the major components of an alarm 100 according to one embodiment of the invention. The alarm 100 of one embodiment is, for example, installed in a residence, a factory, or the like, or carried by a user to monitor the surrounding environment of the alarm 100 . When the surrounding environment is in a specific state, the alarm device 100 detects it, for example, issues an alarm or sends a signal, and detects when the surrounding environment is in a specific state, such as a human body or an object. Inform the surrounding people and specified equipment that there is an abnormal condition that can harm public assets. The alarm device 100 detects at least one of fire occurrence and gas leakage as a specific state. Other specific conditions that can be detected by the alarm 100 include an increase in carbon monoxide concentration, fullness of smoke, and excessive temperature and humidity. are not limited to these.

警報器100は、図1に示されるように、検知部50と、第1処理部1及び第2処理部2と、出力部40と、警報器100に対する手動操作を受け付ける受付部70と、を備えている。さらに図1の警報器100は、例えばフラッシュメモリなどの各種メモリで構成されて警報器100で必要とされる任意の情報を記憶する記憶手段30、及び、商用電源に接続される電源プラグ61を備えている。警報器100は筐体60を有しており、第1処理部1、第2処理部2、及び検知部50などの構成要素が筐体60内に収められている。 As shown in FIG. 1, the alarm device 100 includes a detection unit 50, a first processing unit 1 and a second processing unit 2, an output unit 40, and a reception unit 70 that receives manual operations on the alarm device 100. I have. Further, the alarm device 100 of FIG. 1 includes storage means 30 which is composed of various memories such as flash memory and stores arbitrary information required by the alarm device 100, and a power plug 61 connected to a commercial power supply. I have. The alarm device 100 has a housing 60 in which components such as the first processing unit 1, the second processing unit 2, and the detection unit 50 are housed.

第1処理部1は、検知部50の検知結果に基づいて、出力部40から警報を発する警報機能を制御する。第2処理部2は、少なくとも、第1処理部1が制御する警報機能以外の所定の機能を制御する。図1の例において第2処理部2は、警報器100の通信機能を制御する。すなわち、図1の例において警報器100は通信機能を有していて、外部機器Eとの間で信号を送受する。そのため図1の警報器100は、外部機器Eとの間で信号を送受する通信部21も備えている。 The first processing unit 1 controls an alarm function that issues an alarm from the output unit 40 based on the detection result of the detection unit 50 . The second processing unit 2 controls at least predetermined functions other than the alarm function controlled by the first processing unit 1 . In the example of FIG. 1, the second processing unit 2 controls communication functions of the alarm device 100 . That is, in the example of FIG. 1, the alarm device 100 has a communication function and transmits and receives signals to and from the external device E. FIG. Therefore, the alarm device 100 of FIG.

検知部50は、警報器100の周囲の監視対象領域の物理現象を監視して監視データを出力する1以上の各種のセンサで構成される。上記の通り検知部50が筐体60内に配置されているので、検知部50を構成する各種のセンサは、警報器100の近傍の領域を監視することができる。検知部50を構成する各種のセンサは、たとえば、一酸化炭素ガス(CO)、メタンガス(CH4)又はプロパンガス(C38)を検知する各種ガスセンサ、サーミスタなどからなる温度センサ、湿度センサ、煙センサ、臭気センサ、又は、部外者の立ち入りを検知する侵入センサなどであってよい。検知部50は、これらセンサの1つ又は複数で構成され得る。本実施形態の警報器において検知部50は、少なくとも火災若しくはガスのいずれか一方を検知可能である。例えば、各種のガスセンサによって警報器100の周囲の空間におけるガス漏れが検知される。また、温度センサ及び煙センサなどによって、警報器100の周囲での火災の発生が検知される。 The detection unit 50 is composed of one or more various sensors that monitor physical phenomena in a monitoring target area around the alarm device 100 and output monitoring data. Since the detection unit 50 is arranged inside the housing 60 as described above, various sensors constituting the detection unit 50 can monitor the area near the alarm device 100 . Various sensors constituting the detection unit 50 include, for example, various gas sensors for detecting carbon monoxide gas (CO), methane gas (CH 4 ) or propane gas (C 3 H 8 ), temperature sensors and humidity sensors such as thermistors. , a smoke sensor, an odor sensor, or an intrusion sensor that detects the entry of an outsider. The sensing unit 50 may be composed of one or more of these sensors. In the alarm device of this embodiment, the detector 50 can detect at least either fire or gas. For example, gas leaks in the space around the alarm 100 are detected by various gas sensors. Also, the occurrence of a fire around the alarm device 100 is detected by a temperature sensor, a smoke sensor, and the like.

出力部40は、第1処理部1の制御の下で、検知部50による周囲環境の異常の検知に応じて光の放射や音の放出によって警報を発する。出力部40は、警報を発する以外にも、警報器100の状態や、警報を発するに至らない監視領域の環境に関する情報をユーザーなどに伝えるために動作してもよい。また出力部40は、第2処理部2の制御の下で、第2処理部2によって制御される機能で必要とされる光や音を発してもよい。前述したように図1の例において第2処理部2は通信機能を制御しているので、例えば外部機器Eから送られる情報に基づく音声が出力部40から発せられてもよい。出力部40は、例えば、スピーカ及び/又はブザーなどのような音声の発生装置を含み得る。出力部40は、音声の発生装置以外にも、警報や、通信で得られる情報を、警報器100のユーザーの視覚を通じて伝える発光ダイオードやディスプレイなどの表示装置を含んでいてもよい。 Under the control of the first processing unit 1 , the output unit 40 issues an alarm by emitting light or emitting sound in response to detection of an abnormality in the surrounding environment by the detection unit 50 . In addition to issuing an alarm, the output unit 40 may operate to convey to the user or the like information regarding the state of the alarm device 100 and the environment of the monitored area that does not lead to the issuing of an alarm. The output unit 40 may also emit light or sound required by the functions controlled by the second processing unit 2 under the control of the second processing unit 2 . As described above, the second processing unit 2 controls the communication function in the example of FIG. The output unit 40 may include, for example, a sound generator such as a speaker and/or a buzzer. The output unit 40 may include a display device such as a light-emitting diode or a display that visually conveys an alarm or information obtained through communication to the user of the alarm device 100, in addition to the sound generator.

記憶手段30は、警報器100が所定の機能を果たすために、取得、処理、使用、又は出力される任意の情報を記憶する。記憶手段30に記憶される情報は、第1処理部1及び/又は第2処理部2によって書き込まれてもよく、第1処理部1及び/又は第2処理部2によって読み出されてもよい。記憶手段30は、例えば、警報器100が従う命令が記述されたプログラムなどのソフトウェアを記憶してもよい。記憶手段30は、例えば、ROM、PROM(プログラマブルROM)、EPROM(イレーサブルPROM)、EEPROM(エレクトリカリー・イレーサブルPROM)、又はフラッシュメモリなどで構成される。 The storage means 30 stores any information obtained, processed, used or output in order for the alarm 100 to perform a predetermined function. Information stored in the storage unit 30 may be written by the first processing unit 1 and/or the second processing unit 2, and may be read by the first processing unit 1 and/or the second processing unit 2. . The storage means 30 may, for example, store software such as a program describing instructions to be followed by the alarm device 100 . The storage means 30 is composed of, for example, ROM, PROM (programmable ROM), EPROM (erasable PROM), EEPROM (electrically erasable PROM), or flash memory.

<第1処理部>
第1処理部1は、第1処理装置10を含んでいる。第1処理部1は、主に第1処理装置10で構成され、例えば第1処理装置10及びその周辺部品(図示せず)で構成される。第1処理装置10は、マイコンやASICなどの半導体装置からなり、例えば内蔵されたプログラムに従って動作する。第1処理装置10は、好ましくは、演算機能、比較機能、記憶機能などを有しており、検知部50で取得される検知情報に基づいて出力部40から警報を発報する警報機能を全体的に制御する。
<First processing unit>
The first processing section 1 includes a first processing device 10 . The first processing unit 1 is mainly composed of the first processing device 10, and is composed of, for example, the first processing device 10 and its peripheral parts (not shown). The first processing unit 10 is composed of a semiconductor device such as a microcomputer or an ASIC, and operates according to a built-in program, for example. The first processing unit 10 preferably has a calculation function, a comparison function, a storage function, etc., and has an overall alarm function for issuing an alarm from the output unit 40 based on the detection information acquired by the detection unit 50. control effectively.

第1処理装置10は、例えば、検知部50による周囲環境の監視動作の開始や停止を制御する。また、第1処理装置10は、検知部50から送られる検知情報が示す、一酸化炭素やガスの濃度、周囲の温度、及び、煙の濃度などが、所定の閾値を超えているか否かを判断する。そして、温度や濃度などが閾値を超えている場合には、例えばその超過の程度に応じて警報の態様(音声の鳴動の仕方や、前述した発光ダイオードにおける発光の仕方など)を決定し、決定した方法で、出力部40に警報を発報させる。第1処理装置10は、一例として、出力部40に、警報や各種の情報を伝える音声を発しさせる。 The first processing device 10 controls, for example, the start and stop of the surrounding environment monitoring operation by the detection unit 50 . In addition, the first processing device 10 determines whether or not the concentration of carbon monoxide or gas, the ambient temperature, the concentration of smoke, etc. indicated by the detection information sent from the detection unit 50 exceeds a predetermined threshold. to decide. Then, if the temperature, concentration, etc., exceed the threshold, for example, depending on the degree of excess, the mode of alarm (how to sound the sound, how to emit light from the light-emitting diode, etc.) is determined and determined. Then, the output unit 40 issues an alarm. As an example, the first processing device 10 causes the output unit 40 to emit a sound that conveys an alarm or various types of information.

<第2処理部>
第2処理部2は、第2処理装置20を含んでいる。第2処理部2は、主に第2処理装置20で構成され、例えば第2処理装置20及びその周辺部品(図示せず)で構成される。通信機能を制御する図1の例の第2処理部2において第2処理装置20は、警報器100と外部機器Eとの通信に必要な動作を全体的に制御する。第2処理装置20は、マイコンやASICなどの半導体装置からなり、好ましくは、演算機能や記憶機能、及び比較機能などを有している。第2処理装置20は、外部機器Eのような通信先から、光や映像で伝えるべき情報、又は音声で伝えるべき情報を受信すると、出力部40に光や音声を発しさせて受信情報を報知する。
<Second processing unit>
The second processing section 2 includes a second processing device 20 . The second processing unit 2 is mainly composed of the second processing device 20, for example, the second processing device 20 and its peripheral parts (not shown). The second processing unit 20 in the second processing unit 2 of the example of FIG. The second processing unit 20 is composed of a semiconductor device such as a microcomputer or an ASIC, and preferably has an arithmetic function, a memory function, a comparison function, and the like. When the second processing device 20 receives information to be conveyed by light or video or information to be conveyed by sound from a communication destination such as the external device E, the second processing device 20 causes the output unit 40 to emit light or sound to notify the received information. do.

図1の第2処理装置20は、記憶手段20aを有しており、ソフトウェアSWが記憶手段20aに書き込まれている。ソフトウェアSWは、第2処理装置20が行う動作に関する命令が記述された制御プログラムなどのソフトウェアを含んでいる。第2処理装置20は、ソフトウェアSWが含む命令に従って動作する。記憶手段20aは、例えば、ROM、PROM、EPROM、EEPROM、又はフラッシュメモリなどの各種のメモリで構成される。 The second processing device 20 of FIG. 1 has a storage means 20a, and software SW is written in the storage means 20a. The software SW includes software such as a control program in which commands related to operations performed by the second processing unit 20 are described. The second processing unit 20 operates according to instructions included in the software SW. The storage unit 20a is composed of various types of memory such as ROM, PROM, EPROM, EEPROM, or flash memory.

通信部21は、無線通信又は有線通信によって外部機器Eとの間で信号を送受する。通信部21は、外部機器Eと警報器100との間で電気信号を送受するように構成された、集積回路装置や個々の部品からなる電気回路などのハードウェアにより構成される。通信部21は、外部機器Eとの通信に必要となる、アナログ/デジタル変換やレベル変換、増幅、合成、分解、変調、復調などの信号処理、リンクの設定、及び/又は誤り制御、などを行う。通信部21は、このような信号処理を行うように設計されたASICなどからなる通信制御IC、又はモデムIC、及びその周辺回路で構成されていてもよい。通信部21は、第2処理装置20と一体の集積回路装置として構成されていてもよい。 The communication unit 21 transmits and receives signals to and from the external device E by wireless communication or wired communication. The communication unit 21 is configured to transmit and receive electrical signals between the external device E and the alarm device 100, and is configured by hardware such as an integrated circuit device or an electrical circuit made up of individual parts. The communication unit 21 performs signal processing such as analog/digital conversion, level conversion, amplification, synthesis, decomposition, modulation, and demodulation, link setting, and/or error control, which are necessary for communication with the external device E. conduct. The communication unit 21 may be composed of a communication control IC such as an ASIC designed to perform such signal processing, or a modem IC, and its peripheral circuits. The communication unit 21 may be configured as an integrated circuit device integrated with the second processing device 20 .

図1の警報器100において第2処理部2が制御する通信は、無線回線又は有線回線を介した外部機器Eとの間の直接的な通信であってもよく、無線回線又は有線回線で接続された、例えばインターネットやローカルエリアネットワーク(LAN)などのネットワークNを介した外部機器Eとの間での通信であってもよい。外部機器Eとしては、警報器100以外の同種、又は検知対象の異なる警報器、並びに、警報器100の動作を監視若しくは制御する、及び/又は、警報器100での検知結果若しくは警報発報経過を収集して統計処理若しくは解析するサーバーのような情報処理装置が例示される。さらに、インターネットなどのネットワークNに繋がり得る警報器100にとって、外部機器Eは、各者各様の情報を提供する任意の個人又は機関がネットワークNに接続可能な態様で設置する、サーバー、データベース、及び/又は情報処理装置などであり得る。 Communication controlled by the second processing unit 2 in the alarm device 100 of FIG. 1 may be direct communication with the external device E via a wireless line or a wired line. It may be communication with an external device E via a network N such as the Internet or a local area network (LAN). The external device E includes an alarm device of the same type other than the alarm device 100, or an alarm device with a different detection target, and monitors or controls the operation of the alarm device 100, and/or the detection result or alarm progress of the alarm device 100. An information processing device such as a server that collects and performs statistical processing or analysis is exemplified. Furthermore, for the alarm device 100 that can be connected to a network N such as the Internet, the external device E is a server, database, etc. and/or an information processing device or the like.

<受付部>
受付部70は、例えば警報器100のユーザーや管理者などによる警報器100に対する手動操作を受け付ける(以下では、受付部70に対する手動操作の行為者を単に「操作者」と総称する)。受付部70は、警報器100に対して種々の所定の動作の実行を指示すべく操作者が行う手動操作を受け付ける。受付部70への手動操作による指示は、電気信号などに変換されて第1処理装置10及び/又は第2処理装置20に伝えられる。その手動操作によって指示される動作が、いずれか又は両方の処理装置で実行される。図1の警報器100は一つの受付部70を備えている。しかし、本実施形態の警報器100は、互いに独立した手動操作が可能な1以上の任意の数の受付部70を備え得る。
<Reception Department>
The reception unit 70 receives a manual operation of the alarm device 100 by, for example, a user or an administrator of the alarm device 100 (hereinafter, a person who manually operates the reception unit 70 is collectively referred to as an “operator”). The receiving unit 70 receives manual operations performed by the operator to instruct the alarm device 100 to perform various predetermined operations. A manual instruction to the reception unit 70 is converted into an electric signal or the like and transmitted to the first processing device 10 and/or the second processing device 20 . Actions dictated by that manual operation are performed by either or both processors. The alarm device 100 of FIG. 1 has one receiving section 70 . However, the alarm device 100 of the present embodiment may include any number of one or more reception units 70 that can be manually operated independently of each other.

<第2処理部の初期化>
このように本実施形態の警報器100は、操作者の手動操作を受け付ける受付部70を備えている。そして、本実施形態の警報器100は、所定の手動操作が受付部70に対して行われることによって第2処理部2の所定の初期化動作を実行するように構成されている。なお、本明細書において、警報器100、第1処理装置10、又は第2処理装置20が特定の動作又は処理を行うように(又は行わないように)「構成されている」は、警報器100、第1処理装置10、及び/又は第2処理装置20にその特定の動作又は処理を行わせる(又は行わせない)命令が、各処理装置の動作や処理を記述するプログラムに含まれていることを含んでいる。
<Initialization of the second processing unit>
As described above, the alarm device 100 of the present embodiment includes the receiving section 70 that receives the manual operation of the operator. The alarm device 100 of the present embodiment is configured to execute a predetermined initialization operation of the second processing section 2 when a predetermined manual operation is performed on the reception section 70 . In this specification, "configured" so that the alarm device 100, the first processing device 10, or the second processing device 20 performs (or does not perform) a specific operation or process means that the alarm device 100, the first processing unit 10, and/or the second processing unit 20 to perform (or not to perform) their particular operations or processes are included in the program describing the operations and processes of each processing unit. including being

本実施形態では、このように受付部70に対して所定の手動操作が行われると第2処理部2の所定の初期化動作が実行される。第2処理部2の「初期化」は、第2処理部2の構成要素の一部又は全部を、警報器100の製造工場からの出荷時の状態、警報器100の稼働開始時の状態、又は、警報器100とネットワークNとが接続される前の状態に戻すことであり得る。或いは、第2処理部2の「初期化」は、第2処理部2の構成要素の一部又は全部を、第2処理部2の適切な初期化後の状態として第2処理部2内(例えば記憶手段20a内)や記憶手段30内に記憶されている特定の状態にすることであってもよい。 In this embodiment, when a predetermined manual operation is performed on the reception unit 70 in this manner, a predetermined initialization operation of the second processing unit 2 is executed. The “initialization” of the second processing unit 2 is to set some or all of the constituent elements of the second processing unit 2 to the state when the alarm device 100 is shipped from the manufacturing factory, the state when the alarm device 100 starts operating, Alternatively, it may be to restore the state before the alarm device 100 and the network N were connected. Alternatively, the “initialization” of the second processing unit 2 is to set some or all of the constituent elements of the second processing unit 2 to an appropriate state after initialization of the second processing unit 2 ( For example, a specific state stored in the storage means 20a) or in the storage means 30 may be set.

すなわち、第2処理部2は、所定の手動操作による初期化によって、警報器100の工場出荷時から稼働開始時までの状態、又は適切な状態として予め用意された状態などへと遷移する。例えば、第2処理装置20に内蔵されているソフトウェアSWがバグを含むアップデート用データでアップデート(すなわち変更)されて正常に動作し得ない状態に陥っている場合は、初期化によって第2処理装置20がそのアップデート前の状態(変更前の状態)へと戻される。第2処理装置20の不適切な動作によって第1処理部1による警報機能が阻害される状況に陥っていても、その阻害が解消される。本実施形態の警報器100は、このように操作者による所定の手動操作によって第2処理部2の初期化が可能なように構成されているので、警報機能を適切に発揮し得る状態に復帰することができる。 That is, the second processing unit 2 transitions to a state from the factory shipment of the alarm device 100 to the start of operation, or to a state prepared in advance as an appropriate state, by initialization by a predetermined manual operation. For example, if the software SW built in the second processing unit 20 is updated (that is, changed) with update data containing bugs and is in a state where it cannot operate normally, the second processing unit 20 is initialized. 20 is restored to its pre-update state (pre-change state). Even if the warning function of the first processing unit 1 is impeded due to improper operation of the second processing unit 20, the impediment is resolved. Since the alarm device 100 of the present embodiment is configured such that the second processing unit 2 can be initialized by a predetermined manual operation by the operator, the alarm device 100 is restored to a state in which the alarm function can be properly exhibited. can do.

このような本実施形態の警報器がもたらす効果について詳述すると、警報器100では、図1に示されるように第2処理装置20は、警報機能を制御する第1処理装置10と別個に設けられている。そのため、例えば通信プロトコルのバージョンアップなどに応じて第2処理装置20のソフトウェアSWがアップデートされる場合、そのアップデートの不具合から直接影響を受けて警報機能が停止するようなことは起こり難い。また、第1処理装置10が、警報機能以外の機能を制御する負荷から解放される。 To elaborate on the effects of the alarm device of this embodiment, in the alarm device 100, as shown in FIG. It is Therefore, when the software SW of the second processing unit 20 is updated in accordance with, for example, a version upgrade of a communication protocol, it is unlikely that the alarm function will stop due to the direct influence of the update failure. Also, the first processing unit 10 is relieved of the burden of controlling functions other than the alarm function.

一方、第2処理装置20が独自に動作すると、例えば外部機器Eとの通信に基づいて第2処理部2が出力部40に発しさせる音声で、警報などの音声が阻害されることがある。第2処理装置20が第1処理装置10の制御を受ける構成ではこのような事態が回避され易いが、例えば前述したようなアップデートの不具合で、第2処理装置20が第1処理装置10の制御から逸脱してしまうことも起こり得る。また、外部のネットワークNと繋がり得る第2処理装置20では、このような第1処理装置10の制御からの離反が、ネットワークNに繋がる任意の外部機器Eからの好ましくない情報の受信の結果としてもたらされることもある。さらに、第1処理装置10の制御を受け付けるべく設けられている第2処理装置20の特定の入力ポートが故障することも考えられる。 On the other hand, if the second processing unit 20 operates independently, the sound emitted by the second processing unit 2 to the output unit 40 based on communication with the external device E, for example, may interfere with the sound of an alarm or the like. In a configuration where the second processing device 20 is controlled by the first processing device 10, such a situation can be easily avoided. It is also possible to deviate from In addition, in the second processing device 20 that can be connected to the external network N, such separation from the control of the first processing device 10 may result in reception of unfavorable information from any external device E connected to the network N. sometimes brought about. Furthermore, it is conceivable that a particular input port of the second processing unit 20 provided to accept control of the first processing unit 10 fails.

このように第2処理装置20が第1処理装置10の制御から離反している状態では、第1処理装置10は正常であるにも拘わらず、第2処理装置20側での処理によって警報機能が意図通りに発揮されなくなることがある。例えば、前述したように音声による警報が、通信に基づく音声に掻き消されてユーザーなどに届かない、若しくは聴取され難くなることがある。すなわち、第1処理装置10と第2処理装置20とが別個に設けられているにも拘わらず、警報器100の稼働開始後の第2処理装置20の状態の変化によって、警報機能が適切に発揮されない状態に陥ることがある。特に第2処理装置20が第1処理装置10の制御を受け付けない状態にまで至っていると、第1処理装置10では第2処理装置20を正常な状態に戻し得ない。そもそも第1処理装置10は第2処理装置20の異常に気付き得ない。従って警報器100自身で、警報機能を適切に発揮し得る状態に復旧するのは困難である。そのため、警報器の交換や、業者による修理が必要になり易く、その交換や修理が終わるまでの間、実質的に無監視の環境下にユーザーなどが置かれることになり易い。 In such a state that the second processing device 20 is separated from the control of the first processing device 10, the alarm function is activated by the processing on the second processing device 20 side even though the first processing device 10 is normal. may not function as intended. For example, as described above, an audio warning may be drowned out by communication-based audio and may not reach the user or may be difficult to hear. That is, even though the first processing device 10 and the second processing device 20 are provided separately, the alarm function is appropriately activated by the change in the state of the second processing device 20 after the alarm device 100 starts operating. It may fall into a state of non-performance. In particular, when the second processing device 20 reaches a state where it cannot accept the control of the first processing device 10, the first processing device 10 cannot restore the second processing device 20 to its normal state. In the first place, the first processing device 10 cannot notice the abnormality of the second processing device 20 . Therefore, it is difficult for the alarm device 100 itself to recover to a state in which the alarm function can be properly exhibited. Therefore, it is likely that the alarm device needs to be replaced or repaired by a contractor, and the user or the like is likely to be placed in a substantially unmonitored environment until the replacement or repair is completed.

このように警報器100自身で警報機能に不具合が生じていることに気付かず、故に自律的に正常状態に復旧できないときでも、ユーザーなどは出力部40の音声や表示によって警報機能の不具合に気づき得るときがある。しかし、その不具合に気づいたユーザーなどが不具合解消のために取り得る手段が備わっていないと、やはり警報機能の不具合の早期解消は困難なままである。 In this way, even when the alarm device 100 itself is unaware of the malfunction of the alarm function and cannot autonomously restore the normal state, the user or the like can notice the malfunction of the alarm function by the sound or display of the output unit 40. Sometimes I get However, if the user who notices the problem does not have a means to solve the problem, it will still be difficult to quickly solve the problem of the warning function.

そこで、本実施形態の警報器100は、手動操作を受け付ける受付部70を備え、所定の手動操作が受付部70に対して行われると、第2処理装置20を含む第2処理部2の所定の初期化動作を実行するように構成されている。警報器100が正常に動作していないことに気づいた操作者は、所定の手動操作を受付部70に行うことによって、第2処理部2を、例えば警報器100の稼働開始前の状態に戻すこと、又は、適切な状態として予め用意された状態へと移行させることができる。警報器100の稼働開始時に第2処理装置20が第1処理装置10の制御に従っていたのであれば、第2処理装置20に対する第1処理装置10の制御が有効な状態に警報器100を戻すことができる。例えば警報の発報時に音声を発しないように第1処理装置10が第2処理装置20を制御するような構成の場合は、第2処理装置20は警報時に音声を出力部40に発しさせない。 Therefore, the alarm device 100 of the present embodiment is provided with the reception unit 70 that receives a manual operation, and when a predetermined manual operation is performed on the reception unit 70, the second processing unit 2 including the second processing unit 20 performs a predetermined operation. is configured to perform the initialization operations of The operator who notices that the alarm device 100 is not operating normally returns the second processing unit 2 to, for example, the state before the operation of the alarm device 100 is started by performing a predetermined manual operation on the reception unit 70. or to a state prepared in advance as an appropriate state. If the second processing device 20 was under the control of the first processing device 10 when the alarm device 100 started operating, the alarm device 100 is returned to a state in which the control of the first processing device 10 over the second processing device 20 is valid. can be done. For example, in the case where the first processing device 10 controls the second processing device 20 so as not to emit sound when an alarm is issued, the second processing device 20 does not cause the output unit 40 to emit sound when an alarm is issued.

従って音声による警報を、阻害されることなく聴取し易い状態で、ユーザーに届けることができる。すなわち、第2処理部2の動作によって警報機能が阻害される状況に陥っていても、さらに、第2処理部2が自律的に又は第1処理部1による制御の下で正常な状態に復帰できない状態になっていても、その阻害を解消することができる。このように本実施形態の警報器では、所定の手動操作による第2処理部2の初期化が可能なので、内部状態の変化によって第2処理部2のような警報器の一部が機能しない状態に陥っても、ユーザーなどの操作者の意志の下で、警報器を正常に機能し得る状態に復帰させることができる。 Therefore, an audible warning can be delivered to the user in an unobstructed and easily audible state. In other words, even if the alarm function is hindered by the operation of the second processing unit 2, the second processing unit 2 returns to a normal state autonomously or under the control of the first processing unit 1. Even if you are unable to do so, you can overcome the obstacles. As described above, in the alarm device of the present embodiment, the second processing unit 2 can be initialized by a predetermined manual operation. Even if it falls into an accident, the alarm device can be restored to a state in which it can function normally under the will of an operator such as a user.

<手動操作>
図2には、受付部70が受け付ける手動動作の幾つかの例として、家屋内に設置された警報器100への手動操作が模式的に示されている。一例として、受付部70は、図2に示されるように、受付部70に触れるような操作者の物理的操作Mを受け付ける。その場合、受付部70は、操作者による接触、押し込み若しくは引き出し、又は、ずらし、などの物理的操作が可能なような態様で、例えば筐体60などに設けられる。このように物理的な手動操作を受け付ける受付部70の構成要素としては、外部から視認及び接触可能に警報器100に設けられる各種のスイッチが例示される。受付部70がスイッチで構成される場合、そのスイッチの操作される部分が、筐体60から露出して設けられる操作ボタンに連結されてもよい。受付部70として用いられるスイッチとしては、押し釦スイッチやトグルスイッチなどが例示されるが、これらに限定されない。例えば、受付部70は、タッチパネルやキーパッドのような入力装置であってもよい。
<Manual operation>
FIG. 2 schematically shows manual operations to the alarm device 100 installed in the house as some examples of manual operations accepted by the accepting unit 70 . As an example, the accepting unit 70 accepts an operator's physical operation M such as touching the accepting unit 70, as shown in FIG. In that case, the reception unit 70 is provided, for example, in the housing 60 or the like in such a manner that physical operations such as contact, push-in or pull-out, or shift by the operator are possible. Examples of components of the accepting unit 70 that accepts physical manual operations in this way include various switches that are provided in the alarm device 100 so as to be visible and contactable from the outside. When the reception unit 70 is composed of a switch, the part to be operated by the switch may be connected to an operation button exposed from the housing 60 . Examples of switches used as the receiving unit 70 include push button switches and toggle switches, but are not limited to these. For example, the reception unit 70 may be an input device such as a touch panel or a keypad.

受付部70として用いられる押し釦スイッチは、操作中のみ押し込まれて、操作が終了すると自動復帰するタクタイルスイッチが好ましいことがある。受付部70がタクタイルスイッチで構成されている場合、押し込まれる時間の長さや一定時間内に繰り返される押し込みの回数の違いによって、異なる動作の実行が警報器100に指示されてもよい。そして、任意に選択された特定の時間に渡る押し込みが、第2処理部2に初期化動作の実行を指示する「所定の手動操作」であってもよく、任意に選択された特定の時間内に繰り返される特定の回数の押し込みが「所定の手動操作」であってもよい。 The push button switch used as the reception unit 70 may preferably be a tactile switch that is pushed only during operation and automatically resets after the operation is completed. If the reception unit 70 is configured with a tactile switch, the alarm device 100 may be instructed to perform different operations depending on the length of time the button is pushed or the number of times the button is pushed repeatedly within a certain period of time. Further, the pressing over a arbitrarily selected specific period of time may be a "predetermined manual operation" for instructing the second processing unit 2 to perform the initialization operation, or the arbitrarily selected specific period of time. A certain number of repeated presses may be a "predetermined manual operation."

また、受付部70は、受付部70に直接触れるような警報器100に対する操作者の直接的な物理的操作ではなく、光などの電磁波、音波、又は電波などの媒体を介する手動操作を受け付けてもよい。すなわち、受付部70は、警報器100に指示を与えるべく警報器100と別個の機器に対して行われる手動操作で発せられる光、音、又は電波などを、所定の動作の実行を指示する手動操作として受け付けてもよい。この場合、受付部70は、光を電気信号に変換するフォトダイオードなどの光電変換素子、音を電気信号に変換するマイクロホンのような音感素子、又は、電波を受信するアンテナなどを有する受信素子で構成されてもよい。電波を受け付ける受付部70は、通信部21(図1参照)で代用されてもよい。 In addition, the reception unit 70 receives a manual operation through a medium such as an electromagnetic wave such as light, a sound wave, or an electric wave instead of a direct physical operation of the operator to the alarm device 100 such as touching the reception unit 70 directly. good too. That is, the reception unit 70 receives light, sound, radio waves, or the like emitted by a manual operation performed on a device separate from the alarm device 100 to give an instruction to the alarm device 100. It may be accepted as an operation. In this case, the reception unit 70 is a photoelectric conversion element such as a photodiode that converts light into an electric signal, a sound sensing element such as a microphone that converts sound into an electric signal, or a reception element having an antenna that receives radio waves. may be configured. The reception unit 70 that receives radio waves may be replaced by the communication unit 21 (see FIG. 1).

電波や光などで媒介される手動操作を受付部70が受け付ける場合、操作者は、その手動操作として、例えば近距離通信で警報器100と結ばれた、警報器100の付属リモコンのような専用端末に対して直接的な手動操作を行うことができる。また、操作者は、受付部70に対する手動操作として、アプリケーションプログラムによって専用端末化されて近距離通信で警報器100と結ばれた、スマートフォンなどの各種の汎用携帯端末に対して直接的な手動操作を行うことも可能である(以下では、専用端末と専用端末化された汎用携帯端末は「専用端末類」と総称され、図2には符号「Pn」を添えて示されている)。専用端末類Pnが用いる近距離通信は、例えば、Bluetooth(登録商標)やWi-Fi(登録商標)などの近距離無線通信、又は、IrDAなどの光無線通信であり得るが、これらに限定されない。さらに、操作者は、受付部70に対する手動操作として、ネットワークNや通信事業者の基地局Bを介して警報器100の通信部21と有線通信や無線通信で結ばれている外部機器Eや、遠方のスマートフォンなどの端末Prに対して直接的な手動操作を行うことも可能である。 When the accepting unit 70 accepts a manual operation mediated by radio waves, light, or the like, the operator uses a dedicated remote controller, such as a remote control attached to the alarm device 100, connected to the alarm device 100 by short-range communication, for example, as the manual operation. Direct manual operations can be performed on the terminal. In addition, as a manual operation for the reception unit 70, the operator performs direct manual operation on various general-purpose portable terminals such as smartphones, which are made into dedicated terminals by application programs and connected to the alarm device 100 by short-range communication. (Hereinafter, dedicated terminals and dedicated general-purpose portable terminals are collectively referred to as "dedicated terminals", and are shown with the symbol "Pn" in FIG. 2). The short-range communication used by the dedicated terminals Pn may be, for example, short-range wireless communication such as Bluetooth (registered trademark) or Wi-Fi (registered trademark), or optical wireless communication such as IrDA, but is not limited to these. . Furthermore, the operator manually operates the reception unit 70 by using an external device E connected to the communication unit 21 of the alarm device 100 via wired communication or wireless communication via the network N or the base station B of the communication carrier, It is also possible to perform a direct manual operation on a remote terminal Pr such as a smart phone.

このように受付部70に対する「手動操作」は、警報器100とは別個の機器に対して行われてもよい。一方、操作者がその生起に介在せずに警報器100の内部で生じるか又は外部で生じて警報器100に送られる、警報器100に特定の動作をさせる指示の生成は、「手動操作」に含まれない。例えば警報器100の内蔵プログラムや外部機器Eの制御プログラムに記述された、警報器100に特定の動作の実行を命ずる命令の実行は「手動操作」に含まれない。 In this way, the “manual operation” on the reception unit 70 may be performed on a device separate from the alarm device 100 . On the other hand, the generation of an instruction that causes the alarm 100 to perform a particular action, either internally to the alarm 100 or externally to the alarm 100 and sent to the alarm 100 without operator intervention in its occurrence, is a "manual operation." not included in For example, execution of a command that instructs the alarm device 100 to perform a specific operation, which is written in the built-in program of the alarm device 100 or the control program of the external device E, is not included in the “manual operation”.

<所定の手動操作>
第2処理部2に初期化動作を実行させる「所定の手動操作」は、前述された、受付部70が受け付ける「手動操作」のうちから任意に選択された特定の態様の操作であり得る。一例として、受付部70が前述したタクタイルスイッチである場合、受付部70であるタクタイルスイッチの例えば5秒以上の押し込みが「所定の手動操作」であってよく、例えば5秒以内の5回以上の押し込みが「所定の手動操作」であってもよい。他の例として受付部70がトグルスイッチである場合も、トグルスイッチを2つの状態のうちの一方の状態に特定の時間以上置くことが「所定の手動操作」であってよく、2つの状態間でトグルスイッチを特定時間内に特定回数以上切り替えることが「所定の手動操作」であってもよい。
<Prescribed manual operation>
The “predetermined manual operation” that causes the second processing unit 2 to perform the initialization operation may be an operation of a specific mode arbitrarily selected from the above-described “manual operations” received by the receiving unit 70. As an example, when the reception unit 70 is the tactile switch described above, pressing the tactile switch, which is the reception unit 70, for five seconds or more, for example, may be the "predetermined manual operation". Pushing may be a "predetermined manual operation". As another example, when the receiving unit 70 is a toggle switch, the "predetermined manual operation" may be placing the toggle switch in one of the two states for a specific time or longer. The "predetermined manual operation" may be to switch the toggle switch in a specified number of times or more within a specified time.

また「所定の手動操作」は、受付部70がタッチパネルである場合、タッチパネルに表示される特定のアイコンをタッチすることであってもよく、指先やタッチペンで予め定められた特定の軌跡をタッチパネル上で描くことであってもよい。また「所定の手動操作」は、受付部70がキーパッドである場合、予め定められた特定のパターンのタイピングを行うことであり得る。さらに、所定の手動操作が、前述した専用端末類Pn、又はインターネットなどを介して警報器100と接続された外部機器Eに対する直接的な手動操作によって行われる場合は、「所定の手動操作」は、専用端末類Pn又は外部機器Eから、予め選択された、特定のコマンド、特定のメッセージ、又は、特定のプロトコルデータユニットを警報器100に送ることであってもよい。このような「所定の手動操作」を受付部70が受け付けると、第2処理部2において初期化が実行される。 Further, when the reception unit 70 is a touch panel, the “predetermined manual operation” may be touching a specific icon displayed on the touch panel. It is also possible to draw with Further, when the reception unit 70 is a keypad, the "predetermined manual operation" may be typing in a predetermined specific pattern. Furthermore, when the predetermined manual operation is performed by direct manual operation of the dedicated terminals Pn or the external device E connected to the alarm device 100 via the Internet or the like, the "predetermined manual operation" is , dedicated terminals Pn or external equipment E to send a preselected specific command, specific message or specific protocol data unit to the alarm 100 . When the accepting unit 70 accepts such a “predetermined manual operation”, the second processing unit 2 performs initialization.

本実施形態の警報器100は、受付部70に対する「所定の手動操作」だけでなく、「所定の手動操作」と共に、受付部70に対する操作以外の操作が行われるときに、第2処理部2の所定の初期化動作を行うように構成されていてもよい。この場合、第2処理部2の初期化が意図せず誤って実行されることを防止できることがある。例えば、電源プラグ61を備える図1の例の警報器100は、受付部70に対する「所定の手動操作」、及び、電源プラグ61と商用電源との接続又は分離が行われることによって、第2処理部2の所定の初期化動作を実行するように構成されていてもよい。すなわち、受付部70に対する「所定の手動操作」と共に、警報器100への電力の供給の開始又は停止が行われるときに、第2処理部2の初期化が行われてもよい。 The alarm device 100 of the present embodiment performs not only the "predetermined manual operation" on the reception unit 70, but also the "predetermined manual operation" and the operation other than the operation on the reception unit 70. may be configured to perform a predetermined initialization operation. In this case, it may be possible to prevent unintended and erroneous initialization of the second processing unit 2 . For example, the alarm device 100 in the example of FIG. 1 including the power plug 61 performs the second process by performing a “predetermined manual operation” on the reception unit 70 and connecting or disconnecting the power plug 61 and the commercial power supply. It may be configured to execute a predetermined initialization operation of the unit 2 . That is, the initialization of the second processing unit 2 may be performed when the power supply to the alarm device 100 is started or stopped together with the “predetermined manual operation” on the reception unit 70 .

例えば、電源プラグ61が、商用電源に接続されたプラグソケット(コンセント、図示せず)に接続されていない状態で、受付部70として設けられているタクタイルスイッチが押し込まれ、その状態で電源プラグ61がコンセントに差し込まれると、第2処理部2の所定の初期化動作が実行されてもよい。或いは、電源プラグ61がプラグソケットに接続された状態で「所定の手動操作」が行われる。それだけでは第2処理部2の初期化は実行されないが、「所定の手動操作」が行われている状態で、コンセントから一旦電源プラグ61が分離されて、「所定の手動操作」が停止されてから(若しくは継続されたまま)再度接続されると、第2処理部2の所定の初期化動作が実行されてもよい。 For example, when the power plug 61 is not connected to a plug socket (outlet, not shown) connected to a commercial power source, the tactile switch provided as the reception unit 70 is pushed in, and the power plug 61 is is plugged into an outlet, a predetermined initialization operation of the second processing unit 2 may be performed. Alternatively, the "predetermined manual operation" is performed while the power plug 61 is connected to the plug socket. Although this alone does not initialize the second processing unit 2, the power plug 61 is once disconnected from the outlet while the "predetermined manual operation" is being performed, and the "predetermined manual operation" is stopped. When the connection is reconnected from (or while being continued), a predetermined initialization operation of the second processing unit 2 may be executed.

この場合、警報器100には、電源プラグ61がコンセントから分離されたときに「所定の手動操作」が行われていたという電力供給停止時の受付部70の状態を記憶する、EEPROMのような不揮発性メモリが備えられる。電力供給時停止時の受付部70の状態は、図1の例の警報器100にあっては、記憶手段30、第2処理装置20内の記憶手段20a、又は第1処理装置10がEEPOMなどの記憶手段を備える場合はその記憶手段に、記憶され得る。 In this case, the alarm device 100 has an EEPROM or the like that stores the state of the reception unit 70 when the power supply is stopped, that is, the "predetermined manual operation" was being performed when the power plug 61 was disconnected from the outlet. A non-volatile memory is provided. In the alarm device 100 shown in FIG. 1, the state of the reception unit 70 at the time of power supply stop is determined by the storage means 30, the storage means 20a in the second processing device 20, or the first processing device 10 being EEPOM or the like. can be stored in the storage means.

本実施径形態における受付部70は、上記に例示される「所定の手動操作」に加えて、「所定の手動操作」とは異なる態様の手動操作を受け付けるように構成されていてもよい。そして本実施径形態の警報器100は、「所定の手動操作」以外の手動操作を受付部70で受け付けると、第2処理部20の「所定の初期化動作」以外の動作を実行するように構成されていてもよい。このように構成される警報器100では、僅かな数の受付部70を備えるだけで、第2処理部2の初期化を含む2以上の種類の動作の実行を警報器100に指示することができる。受付部70が「所定の手動操作」以外の手動操作を受け付けたときに実行される動作は、例えば警報器100の自主点検、発報中の警報の停止、動作モードの切り替え(例えば通常モードと省電力モード)、警報音の音量の変更、などであり得るが、これらに限定されない。 In addition to the "predetermined manual operation" exemplified above, the receiving unit 70 in this embodiment may be configured to receive a manual operation different from the "predetermined manual operation". Then, the alarm device 100 of the present embodiment executes an operation other than the "predetermined initialization operation" of the second processing unit 20 when the reception unit 70 receives a manual operation other than the "predetermined manual operation". may be configured. The alarm device 100 configured in this way can instruct the alarm device 100 to execute two or more types of operations including initialization of the second processing unit 2 simply by including a small number of reception units 70 . can. Operations executed when the receiving unit 70 receives a manual operation other than the "predetermined manual operation" include, for example, self-inspection of the alarm device 100, stopping the alarm being issued, and switching operation modes (for example, normal mode and normal mode). power saving mode), change the volume of the alarm sound, etc., but are not limited to these.

「所定の手動操作」以外の手動操作は、「所定の手動操作」以外の任意の手動操作であり得る。例えば、受付部70が前述したタクタイルスイッチである場合、「所定の手動操作」以外の手動操作は、「所定の手動操作」としての押し込み時間よりも短い(例えば5秒未満の)タクタイルスイッチの押し込みであり得る。或いは、特定時間(例えば5秒)以内の「所定の手動操作」としての押し込み回数よりも少ない回数の押し込みが「所定の手動操作」以外の手動操作であってもよい。受付部70がトグルスイッチである場合も、「所定の手動操作」としてのトグルスイッチの2つの状態間での切り替え態様と異なる態様でトグルスイッチを2つの状態間で切り替えることが「所定の手動操作」以外の手動操作であり得る。 A manual operation other than the "predetermined manual operation" may be any manual operation other than the "predetermined manual operation". For example, when the reception unit 70 is the tactile switch described above, the manual operation other than the "predetermined manual operation" is a pressing time of the tactile switch that is shorter than the pressing time of the "predetermined manual operation" (for example, less than 5 seconds). can be Alternatively, the manual operation other than the "predetermined manual operation" may be a number of presses that is less than the number of times of pressing as the "predetermined manual operation" within a specific time (for example, 5 seconds). Even when the reception unit 70 is a toggle switch, switching between two states of the toggle switch in a manner different from the manner of switching between the two states of the toggle switch as the "predetermined manual operation" is referred to as the "predetermined manual operation." can be a manual operation other than

また受付部70がタッチパネルである場合、「所定の手動操作」以外の手動操作は、「所定の手動操作」として表示されるアイコン以外のアイコンをタッチすることであってもよく、「所定の手動操作」として描かれるべき軌跡と異なる軌跡を指先などで描くことであってもよい、また、受付部70がキーパッドである場合、「所定の手動操作」以外の手動操作は、「所定の手動操作」としてタイプされるパターンと異なるパターンでタイピングを行うことであり得る。同様に、所定の手動操作が前述した専用端末類Pnや外部機器Eに対する直接的な手動操作によって行われる場合は、「所定の手動操作」として送られるコマンドやメッセージなどと異なるコマンドやメッセージを送ることが「所定の手動操作」以外の手動操作であり得る。 Further, when the reception unit 70 is a touch panel, the manual operation other than the "predetermined manual operation" may be touching an icon other than the icon displayed as the "predetermined manual operation". Alternatively, if the receiving unit 70 is a keypad, the manual operations other than the "predetermined manual operation" may be drawn with a fingertip or the like. It can be typing in a pattern different from the pattern typed as "operation". Similarly, when a predetermined manual operation is performed by direct manual operation of the dedicated terminals Pn or the external device E described above, a command or message different from the command or message sent as the "predetermined manual operation" is sent. may be a manual operation other than the "predetermined manual operation".

上記のように、受付部70が第2処理部2の所定の初期化動作以外の動作(例えば発報中の警報の停止)の実行の指示にも用いられる場合、「所定の手動操作」は、第2処理部2の所定の初期化動作以外の動作を指示するための操作よりも、煩雑若しくは難度の高い操作であることが好ましい。また、上記と異なり第2処理部2の所定の初期化動作を指示する「所定の手動操作」だけを受付部70が受け付ける構成の場合、受付部70は、筐体60においてユーザーにとって操作し難い位置に設けられてもよい。例えば、受付部70を含むユーザーによる操作が可能な複数の受付部が筐体60に備えられる場合、好ましくは、「所定の手動操作」のみを受け付ける受付部70は、他の受付部よりも操作し難い位置に設けられる。ユーザーの不注意などによる意図せぬ初期化動作の実行を防止できることがある。 As described above, when the reception unit 70 is also used to instruct the execution of an operation other than the predetermined initialization operation of the second processing unit 2 (for example, to stop an alarm being issued), the "predetermined manual operation" is It is preferable that the operation is complicated or more difficult than the operation for instructing an operation other than the predetermined initialization operation of the second processing unit 2 . Further, unlike the above, if the reception unit 70 is configured to receive only the "predetermined manual operation" that instructs the predetermined initialization operation of the second processing unit 2, the reception unit 70 is difficult for the user to operate in the housing 60. position. For example, when the housing 60 is provided with a plurality of reception units that can be operated by the user, including the reception unit 70, the reception unit 70 that receives only the “predetermined manual operation” is preferably operated more than the other reception units. placed in a difficult position. It may be possible to prevent unintended execution of initialization operations due to user carelessness.

第2処理部2の「所定の初期化動作」において現に初期化される第2処理部2の具体的な構成要素は、初期化されることによって第2処理部2を警報器100の稼働開始前の状態に戻すこと、又は、適切な状態として予め用意された状態へと移行させることができるものであれば、特に限定されない。前述したように、第2処理部2は主に第2処理装置20で構成される。従って、第2処理部2の「所定の初期化動作」として、好ましくは、第2処理装置20が初期化される。第2処理装置20の初期化では、第2処理装置20の内部の状態が、警報器100の稼働開始前の状態に戻されるか、適切な状態として予め用意された状態へと移行される。 The specific components of the second processing unit 2 that are actually initialized in the "predetermined initialization operation" of the second processing unit 2 are initialized to cause the second processing unit 2 to start operating the alarm device 100. There is no particular limitation as long as it can return to the previous state or transition to a state prepared in advance as an appropriate state. As described above, the second processing section 2 is mainly composed of the second processing device 20 . Therefore, as the "predetermined initialization operation" of the second processing section 2, preferably the second processing device 20 is initialized. In the initialization of the second processing device 20, the internal state of the second processing device 20 is returned to the state before the operation of the alarm device 100 was started, or shifted to a state prepared in advance as an appropriate state.

<第2処理部の所定の初期化動作の一例:ソフトウェアの初期化>
一例として、受付部70への所定の手動操作によって実行される第2処理部2の所定の初期化動作により、第2処理部2に内蔵されているソフトウェアSWが初期化されてもよい。図1の例において、ソフトウェアSWは、具体的には第2処理装置20の記憶手段20aに内蔵されている。前述したように、第2処理装置20は、記憶部20aに記憶されているソフトウェアSWが含む命令に従って動作する。第2処理装置20が従う命令を含むソフトウェアSWを、例えば警報器100の工場出荷時や警報器100の稼働開始時の状態に戻すことによって、稼働開始後の状態変化などによって不具合が生じている第2処理装置20を正常な状態に復帰させ得ることがある。
<Example of Predetermined Initialization Operation of Second Processing Section: Initialization of Software>
As an example, the software SW built in the second processing unit 2 may be initialized by a predetermined initialization operation of the second processing unit 2 executed by a predetermined manual operation on the reception unit 70 . In the example of FIG. 1, the software SW is specifically built in the storage means 20a of the second processing device 20. FIG. As described above, the second processing unit 20 operates according to instructions included in the software SW stored in the storage unit 20a. By restoring the software SW containing instructions to be followed by the second processing unit 20 to, for example, the factory shipment of the alarm device 100 or the state at the start of operation of the alarm device 100, a problem occurs due to a change in state after the start of operation. It may be possible to restore the second processing unit 20 to a normal state.

記憶部20aのような第2処理装置20のメモリに書き込まれているソフトウェアSWは、第2処理装置20についてのファームウェアであり得る。初期化されるソフトウェアが、第2処理装置20の内部回路や装置などの基本的な制御を司る機能を持つファームウェアであれば、その初期化によって、より確実に、第2処理装置20を不具合を抱えた状態から正常状態へと戻すことができる。ソフトウェアSWが初期化される場合、好ましくは、記憶部20aは、EEPROMやフラッシュメモリのような、容易に書き換え可能なメモリで構成される。 The software SW written in the memory of the second processing device 20 such as the storage unit 20 a may be firmware for the second processing device 20 . If the software to be initialized is firmware having a function to control the basic control of the internal circuits and devices of the second processing unit 20, the initialization can more reliably prevent the second processing unit 20 from malfunctioning. It can return to normal state from the holding state. When the software SW is initialized, the storage unit 20a is preferably configured with easily rewritable memory such as EEPROM or flash memory.

<第2処理部の所定の初期化動作の他の例:内部状態の再現(リセット)>
本実施形態の警報器100では、第2処理部2の所定の初期化動作において、上述したソフトウェアSWの初期化の他に、警報器100の稼働開始後に変更された、第2処理部2の構成部品の内部状態、例えば第2処理装置20の内部の状態が、その変更をされる前の特定の時点の状態に戻されてもよい。すなわち、第2処理装置20内の各構成要素の状態、例えば、記憶手段20a内の特定の記憶領域の内容や、入出力ポートの状態、第2処理装置20で次に実行される命令のアドレスを示すプログラムカウンタの値などは、警報器100の稼働開始後に、随時変更され、又は変化する。これら構成要素の状態が、第2処理部2の「所定の初期化動作」において、その変更や変化の前の特定の時点の状態に戻される。
<Another Example of Predetermined Initialization Operation of Second Processing Section: Reproduction of Internal State (Reset)>
In the alarm device 100 of the present embodiment, in the predetermined initialization operation of the second processing unit 2, in addition to the initialization of the software SW described above, the operation of the second processing unit 2 changed after the operation of the alarm device 100 is started. The internal state of a component, for example the internal state of the second processing unit 20, may be returned to the state at a particular point in time before the change was made. That is, the state of each component in the second processing unit 20, for example, the contents of a specific storage area in the storage means 20a, the state of the input/output port, the address of the instruction to be executed next in the second processing unit 20 is changed or changed at any time after the alarm device 100 starts operating. The states of these constituent elements are returned to the state at a specific point in time before the modification or change in the "predetermined initialization operation" of the second processing unit 2 .

「特定の時点」は、例えば、警報器100の工場出荷時、警報器100の稼働開始時、警報器100がネットワークNに接続される前の時点、又は、第2処理装置20の各構成要素に加えられた変更のうちのいずれかの変更の前の任意の時点であり得る。第2処理装置20内の如何なる構成要素が如何なる状態に戻されるかは、第2処理装置20が実行する命令が記述されているソフトウェアSW内に記述されているか、又は、記憶手段20a若しくは記憶手段30に記憶されていてもよい。 The “specific time point” is, for example, when the alarm device 100 is shipped from the factory, when the alarm device 100 starts operating, when the alarm device 100 is connected to the network N, or when each component of the second processing device 20 may be at any time prior to any of the changes made to the . What state the constituent elements in the second processing unit 20 are returned to in what state is described in the software SW in which the instructions executed by the second processing unit 20 are described, or the storage means 20a or the storage means 30 may be stored.

一例として、第2処理部2の所定の初期化動作において、プログラムカウンタの値がゼロに設定(クリア)されるか、若しくは、予め決められた特定の値に設定されてもよい。また、第2処理部2の所定の初期化動作において、第2処理装置20が備えるRAMや各種レジスタのような一時記憶領域の記憶内容がクリアだれたり、一時記憶領域に予め決められた情報が記憶されたりしてもよい。さらに、第2処理部2の所定の初期化動作において、第2処理装置20が備えるタイマーや入出力ポートが予め決められた状態へ設定されたり、第2処理装置20全ての割り込み処理の禁止モードへ移行したりしてもよい。第2処理装置20に上記のようなプログラムカウンタのクリアや一時記憶領域のクリアなどを実行させることによって、第2処理装置20の内部の状態が、警報器100の稼働開始後に加えられた変更や変化の前の特定の時点の状態に戻し得ることがある。その結果、稼働開始後の状態変化などによって不具合が生じている第2処理装置20を正常な状態に復帰させ得ることがある。 As an example, in a predetermined initialization operation of the second processing unit 2, the value of the program counter may be set to zero (cleared) or set to a predetermined specific value. In addition, in the predetermined initialization operation of the second processing unit 2, the stored contents of the temporary storage area such as the RAM and various registers provided in the second processing unit 20 are cleared, or the predetermined information in the temporary storage area is lost. It may be stored. Furthermore, in the predetermined initialization operation of the second processing unit 2, the timer and input/output ports provided in the second processing unit 20 are set to predetermined states, and the interrupt processing of all the second processing unit 20 is prohibited. You may move to By causing the second processing device 20 to clear the program counter and clear the temporary storage area as described above, the internal state of the second processing device 20 can be changed or changed after the alarm device 100 starts operating. It may be possible to revert to the state at a particular point in time before the change. As a result, it may be possible to restore the second processing apparatus 20, which has malfunctioned due to a change in state after the start of operation, to a normal state.

なお、第2処理装置20は、特定の入力端子(外部リセット端子)の特定のレベルへの設定による外部リセット、及びパワーオンリセットなどの各種リセット処理の実行機能を備え得る。第2処理部2の所定の初期化動作において、第2処理装置20内の各構成要素が戻される特定の時点の状態は、これら各種リセット処理のいずれかの実行後の第2処理装置20の内部の状態と同じであってもよい。すなわち、第2処理部2の所定の初期化動作において、上記のような第2処置装置20に備えられた各種リセット処理のいずれかが実行されてもよい。 The second processing unit 20 can have a function of executing various reset processes such as external reset by setting a specific input terminal (external reset terminal) to a specific level and power-on reset. In a predetermined initialization operation of the second processing unit 2, the state at a specific point in time when each component in the second processing unit 20 is returned is It may be the same as the internal state. That is, in the predetermined initialization operation of the second processing section 2, any one of the various reset processes provided in the second treatment device 20 as described above may be executed.

本実施形態の警報器100は、受付部70への所定の手動操作の態様に応じて、第2処理部2の所定の初期化動作として行う処理を選択するように構成されていてもよい。すなわち、受付部70が受け付ける「所定の手動操作」は、互いに異なる態様の操作である複数種の手動操作を含んでいてもよい。そして、複数種の手動操作それぞれに応じた、第2処理部2の所定の初期化動作が実行されてもよい。 The alarm device 100 of the present embodiment may be configured to select a process to be performed as a predetermined initialization operation of the second processing section 2 according to a predetermined manual operation mode of the reception section 70 . That is, the “predetermined manual operation” accepted by the accepting unit 70 may include a plurality of types of manual operations that are operations in different modes. Then, a predetermined initialization operation of the second processing unit 2 may be performed according to each of the plurality of types of manual operations.

例えば、複数種の手動操作のうちの一つである第1操作の実行を受けて行う所定の初期化動作により、第2処理部2に内蔵されているソフトウェアSWが初期化される。そして、複数種の手動操作のうちの一つであって第1操作とは異なる第2操作の実行を受けて行う所定の初期化動作により、警報器100の稼働開始後に変更された第2処理装置20の内部の状態が、その変更をされる前の特定の時点の状態に戻されてもよい。このように、複数種の所定の手動操作それぞれに応じて第2処理部2の初期化動作が実行されると、例えば警報器100が現に露呈している不具合状態に応じた適切な第2処理部2の初期化動作を、操作者が選択することができる。 For example, software SW built in the second processing unit 2 is initialized by a predetermined initialization operation performed in response to execution of a first operation, which is one of a plurality of types of manual operations. Then, a predetermined initialization operation performed in response to execution of a second operation, which is one of a plurality of types of manual operations and is different from the first operation, changes the second processing after the alarm device 100 starts operating. The internal state of device 20 may be reverted to the state at a particular point in time before the change was made. In this way, when the initialization operation of the second processing unit 2 is executed in response to each of a plurality of types of predetermined manual operations, for example, appropriate second processing according to the malfunction state that the alarm device 100 is actually exposed to can be performed. The initialization operation of the part 2 can be selected by the operator.

一例として、前述したように受付部70であるタクタイルスイッチの5秒以上の押し込みが「所定の手動操作」である場合、例えば5秒以上10秒以内の押し込みが第1操作であり、10秒以上の押し込みが第2操作であり得る。また、受付部70であるタクタイルスイッチの5秒以内の5回以上の押し込みが「所定の手動操作」である場合、3秒以内の5回以上の押し込みが第1操作であり、3秒から5秒以内の5回以上の押し込みが第2操作であり得る。また、受付部70がタッチパネルである場合、タッチパネルに所定の手動操作として表示される複数のアイコンの一つである第1アイコンをタッチすることが第1操作であり、第2アイコンをタッチすることが第2操作であり得る。 As an example, if the "predetermined manual operation" is to press the tactile switch, which is the receiving unit 70, for 5 seconds or longer as described above, for example, pressing for 5 seconds to 10 seconds is the first operation, and pressing for 10 seconds or longer is the first operation. may be the second operation. Further, when the tactile switch that is the reception unit 70 is pushed five times or more within five seconds is the "predetermined manual operation", the first operation is the pushing five times or more within three seconds. Five or more presses within seconds can be the second operation. Further, when the reception unit 70 is a touch panel, touching a first icon, which is one of a plurality of icons displayed on the touch panel as a predetermined manual operation, is the first operation, and touching the second icon is the first operation. can be the second operation.

<受付部への手動操作による第2処理部の初期化動作の例>
受付部70、第2処理装置20、及び記憶手段30を抜粋して示す図3を参照して、受付部70から第2処理装置20への初期化動作の実行指示の伝達、及び第2処理装置20の初期化動作として行われる具体的な処理の例について説明する。
<Example of initialization operation of the second processing unit by manual operation to the reception unit>
With reference to FIG. 3 which shows an extract of the reception unit 70, the second processing device 20, and the storage unit 30, transmission of the execution instruction of the initialization operation from the reception unit 70 to the second processing device 20 and the second processing. A specific example of processing performed as an initialization operation of the device 20 will be described.

図3に示される例において受付部70は、第2処理装置20が備える入力ポート200に接続されている。第2処理装置20は、入力ポート200が所定のレベル(例えばGND電位のようなロウレベル)に設定されると、第2処理装置20の所定の初期化動作を実行するように構成されている。受付部70が所定の手動操作を受け付けると、受付部70からは、所定のレベルの信号が出力される。第2処理装置20は、入力ポート200が所定のレベルに設定されるので、所定の初期化動作として、例えば、警報器100の稼働開始後に変更された第2処理装置20の内部の状態を、その変更をされる前の特定の時点の状態に戻す。前述したように第2処理部2の所定の初期化動作において、第2処理装置20に備えられた各種リセット処理のうちの外部リセットが実行される場合、入力ポート200は、第2処理装置20に備えられて外部からのリセット動作の実行要求を受け付ける外部リセット端子であってもよい。 In the example shown in FIG. 3 , the reception unit 70 is connected to the input port 200 of the second processing device 20 . The second processing unit 20 is configured to perform a predetermined initialization operation of the second processing unit 20 when the input port 200 is set to a predetermined level (for example, a low level such as GND potential). When receiving unit 70 receives a predetermined manual operation, receiving unit 70 outputs a signal of a predetermined level. Since the input port 200 of the second processing unit 20 is set to a predetermined level, the internal state of the second processing unit 20 that has been changed after the alarm device 100 has started operating is changed as a predetermined initialization operation. Revert to a point in time before the change was made. As described above, in the predetermined initialization operation of the second processing unit 2, when the external reset among the various reset processes provided in the second processing unit 20 is executed, the input port 200 is connected to the second processing unit 20. may be an external reset terminal that is provided in and receives a reset operation execution request from the outside.

また、第2処理部2の所定の初期化動作において、第2処理装置20に備えられたパワーオンリセットが実行される場合は、一例として、図3に二点鎖線で示されるように、受付部70への所定の手動操作によって、スイッチ10bの開閉状態が制御される。スイッチ10bは、第2処理装置20の電源端子Vccへの電源電圧VDDの供給ラインに配置されている。受付部70に対して所定の手動操作が行われると、スイッチ10bが、一旦、非導通状態へと制御される。電源VDDの供給が一旦絶たれた後に再開されるので、第2処理装置20のパワーオンリセットが実行される。この場合のパワーオンリセットは、パワーオンリセットの実行による一連の処理によって、第2処理装置20の変更された内部の状態をその変更をされる前の特定の時点の状態に戻すようにソフトウェアSWにおいてプログラムされている。パワーオンリセットの実行によって、変更された第2処理装置20の内部の状態が、その変更をされる前の特定の時点の状態に戻される。 Further, in the predetermined initialization operation of the second processing unit 2, when the power-on reset provided in the second processing unit 20 is executed, as an example, as indicated by the two-dot chain line in FIG. The opening/closing state of the switch 10b is controlled by a predetermined manual operation on the portion 70. FIG. The switch 10 b is arranged on the supply line of the power supply voltage VDD to the power supply terminal Vcc of the second processing device 20 . When a predetermined manual operation is performed on the reception unit 70, the switch 10b is once controlled to be in a non-conducting state. Since the supply of power VDD is restarted after being cut off, a power-on reset of the second processing unit 20 is executed. The power-on reset in this case is performed by a software SW so as to restore the changed internal state of the second processing unit 20 to the state at a specific time before the change by a series of processing by executing the power-on reset. programmed in By executing the power-on reset, the changed internal state of the second processing unit 20 is returned to the state at a specific time before the change.

また、図3の例において第2処理装置20が従うソフトウェアSWには、入力ポート200に所定の信号が入力されるとソフトウェアSWの初期化を実行するように命じる命令が記述されていてもよい。この場合、受付部70は、所定の手動操作を受け付けると、例えば、ハイレベル、若しくはロウレベル、又は、ハイレベルとロウレベルの一方から他方への遷移、などの所定の信号を送出する。その結果、第2処理装置20においてソフトウェアSWの初期化が実行される。 Also, in the example of FIG. 3, the software SW followed by the second processing unit 20 may include an instruction to execute the initialization of the software SW when a predetermined signal is input to the input port 200. . In this case, upon receiving a predetermined manual operation, the receiving unit 70 sends out a predetermined signal such as high level, low level, or transition from one of high level and low level to the other. As a result, the software SW is initialized in the second processing device 20 .

図3の例において第2処理装置20は、記憶手段20aの特定の記憶領域である第1領域A1にソフトウェアSWを内蔵している。そして、第1領域A1とは異なる記憶手段20aの特定の記憶領域である第n領域には、初期化用データとして用意されたソフトウェアSWiが保管されている。ソフトウェアSWiは、例えば、警報器100の製造工場からの出荷時や稼働開始時に第2処理装置20が従うように用意された制御プログラムを含んでいる。一例として、ソフトウェアSWiは、警報器100の製造工場の出荷時や稼働開始時に第1領域A1に記憶されていたソフトウェアと同じソフトウェアであってもよく、初期化用に別途用意されたソフトウェアであってもよい。 In the example of FIG. 3, the second processing unit 20 incorporates software SW in the first area A1, which is a specific storage area of the storage means 20a. Software SWi prepared as initialization data is stored in the n-th area, which is a specific storage area of the storage means 20a different from the first area A1. The software SWi includes, for example, a control program prepared so that the second processing unit 20 follows the shipment of the alarm device 100 from the manufacturing factory and the start of operation. As an example, the software SWi may be the same software as the software stored in the first area A1 when the alarm device 100 is shipped from the factory or when the operation is started, or may be software separately prepared for initialization. may

第2処理装置20は、入力ポート200への所定の信号の入力を受けてソフトウェアSWの初期化を行うときには、ソフトウェアSWに代わってソフトウェアSWiが実行されるように、第1領域A1の記憶内容を、第n領域AnのソフトウェアSWiで書き換えてもよい。その結果、第2処理装置20は、ソフトウェアSWiに記述された命令に従って動作するようになる。一例として、このようにソフトウェアSWの初期化による第2処理装置20の初期化が行われてもよい。 When the second processing unit 20 receives a predetermined signal input to the input port 200 and initializes the software SW, the second processing unit 20 changes the memory content of the first area A1 so that the software SWi is executed instead of the software SW. may be rewritten by the software SWi of the n-th area An. As a result, the second processing unit 20 operates according to the instructions written in the software SWi. As an example, the initialization of the second processing device 20 may be performed by the initialization of the software SW in this way.

第2処理部2の所定の初期化動作として行われる第2処理装置20のソフトウェアSWの初期化は、第2処理装置20内に保管された初期化用データを用いて行われなくてもよい。例えば図3の例において、初期化用データとして用意されたソフトウェアSWiは、警報器100が第2処理装置20とは別個に備える記憶手段30にも保管されている。入力ポート200への所定の信号の入力により、第2処理部2の所定の初期化動作としてソフトウェアSWの初期化が行われるときに、第2処理装置20内のソフトウェアSWが、記憶手段30に保管されている初期化用データであるソフトウェアSWiを用いて書き換えられてもよい。このように、記憶手段20aや記憶手段30などの警報器100の内部のメモリに保管された初期化用データを用いてソフトウェアSWの初期化が行われると、警報器100の外部から初期化用データが供給される場合と比べて、速やかに第2処理部2を正常な状態に復帰させ得ることがある。 The initialization of the software SW of the second processing unit 20, which is performed as a predetermined initialization operation of the second processing unit 2, does not have to be performed using the initialization data stored in the second processing unit 20. . For example, in the example of FIG. 3, the software SWi prepared as initialization data is also stored in the storage means 30 provided separately from the second processing device 20 in the alarm device 100 . When the software SW in the second processing unit 20 is initialized as a predetermined initialization operation of the second processing unit 2 by inputting a predetermined signal to the input port 200, the software SW in the second processing unit 20 is stored in the storage unit 30. It may be rewritten using software SWi, which is stored initialization data. In this way, when the software SW is initialized using the initialization data stored in the internal memory of the alarm device 100 such as the storage means 20a and the storage means 30, the initialization data is sent from the outside of the alarm device 100. In some cases, the second processing unit 2 can be restored to its normal state more quickly than when data is supplied.

第2処理装置20に内蔵されるソフトウェアSWの初期化は、第2処理装置20が備える、第2処理装置20の起動用プログラムで制御されるブートローダを用いて行われてもよい。この場合、第2処理装置20は、外部からのリブートの指示を受け付けるように構成され、さらに、そのリブート指示の受信時に特定のポートが所定の状態にある場合にソフトウェアSWの初期化を実行するように構成される。ブートローダがソフトウェアSWの初期化に用いられる場合、図3の例の第2処理装置20は、入力ポート201でリブートを指示する所定の信号(以下、「リブート指示信号」と称する)を受け付けるように構成され、リブート指示信号の受信時に入力ポート200が、例えばロウレベルやハイレベルなどの所定のリブート指示レベルに設定されている場合に、ソフトウェアSWの初期化を実行するように構成される。 The software SW built in the second processing device 20 may be initialized using a boot loader that is provided in the second processing device 20 and controlled by the program for booting the second processing device 20 . In this case, the second processing unit 20 is configured to receive a reboot instruction from the outside, and further initializes the software SW if a specific port is in a predetermined state when the reboot instruction is received. configured as When the boot loader is used to initialize the software SW, the second processing device 20 in the example of FIG. When the input port 200 is set to a predetermined reboot instruction level such as low level or high level when the reboot instruction signal is received, the software SW is initialized.

受付部70は、所定の手動操作を受け付けると、例えば、ハイレベルとロウレベルの一方のレベルから、リブート指示レベルである他方のレベルへと遷移する所定のリブート指示信号を入力ポート200へと送出する。リブート指示信号の入力後、入力ポート200は、リブート指示信号の遷移後のレベルであるリブート指示レベルに設定される。一方、入力ポート201と受付部70との間には、遅延回路71が設けられている。遅延回路71は、例えばコンデンサと抵抗器とによって構成され、リブート指示信号のレベル遷移の時期を一定時間遅延させる。そのため、リブート指示信号が入力ポート201に入力されるときには、入力ポート200は、既に、ソフトウェアSWの初期化を実行させるリブート指示レベルに設定されている。そのため、第2処理装置20において、ソフトウェアSWの初期化が実行される。第2処理装置20が単なるソフトウェアSWの実行によってソフトウェアSWを初期化できないような状態に陥っていても、起動用プログラムで制御されるブートローダを用いることによって、ソフトウェアSWの初期化を実行できることがある。 Upon receiving a predetermined manual operation, the receiving unit 70 sends to the input port 200 a predetermined reboot instruction signal that transitions from one of high level and low level to the other reboot instruction level. . After the reboot instruction signal is input, input port 200 is set to the reboot instruction level, which is the level after transition of the reboot instruction signal. On the other hand, a delay circuit 71 is provided between the input port 201 and the receiving section 70 . The delay circuit 71 is composed of, for example, a capacitor and a resistor, and delays the timing of level transition of the reboot instruction signal by a certain time. Therefore, when the reboot instruction signal is input to the input port 201, the input port 200 is already set to the reboot instruction level for executing initialization of the software SW. Therefore, the software SW is initialized in the second processing device 20 . Even if the second processing unit 20 is in a state where the software SW cannot be initialized simply by executing the software SW, it may be possible to initialize the software SW by using a boot loader controlled by the startup program. .

なお、第2処理部2の初期化として実行される、第2処理装置20に内蔵のソフトウェアの初期化は、記憶手段20aの記憶内容を書き換えずに、単に第2処理装置20が実行するプログラムを切り替えることによって行われてもよい。すなわち、図3の例において、受付部70が所定の手動操作を受け付けると、第2処理装置20が、第1領域A1に記憶されているソフトウェアSWではなく、第n領域Anに記憶されているソフトウェアSWiに含まれている命令に従って動作するように構成されていてもよい。 It should be noted that the initialization of the software built in the second processing unit 20, which is executed as the initialization of the second processing unit 2, does not rewrite the storage contents of the storage means 20a, but simply the program executed by the second processing unit 20. may be performed by switching the That is, in the example of FIG. 3, when the receiving unit 70 receives a predetermined manual operation, the second processing device 20 is stored in the n-th area An instead of the software SW stored in the first area A1. It may be configured to operate according to instructions contained in software SWi.

図4には、受付部70から第2処理装置20への初期化動作の実行指示の伝達態様の他の例が示されている。図4の例は、識別部72が受付部70と第2処理部20との間に設けられている点で、図3の例と異なっている。図4(及び後に参照する図5)において図3と同様の構成要素には、図3に付された符号と同じ符号が図3(又はX図5)に付され、それら同様の構成要素についての繰り返しとなる説明は省略される。 FIG. 4 shows another example of a mode of transmission of the initialization operation execution instruction from the receiving unit 70 to the second processing device 20 . The example in FIG. 4 is different from the example in FIG. 3 in that an identification unit 72 is provided between the reception unit 70 and the second processing unit 20. In FIG. In FIG. 4 (and FIG. 5, which will be referred to later), the same reference numerals as those in FIG. 3 are attached to FIG. will be omitted.

識別部72は、前述したように、受付部70が「所定の手動操作」以外の手動操作も受け付ける場合に、受付部70に対して行われる手動操作の中から「所定の手動操作」を識別する。識別部72は、一例として、経過時間をカウントするタイマーや、受付部70に対して行われた操作の回数をカウントするカウンタなどで構成される。この場合、例えば前述したように受付部70であるタクタイルスイッチの押し込み時間の長さや特定時間内に繰り返される押し込みの回数などが、所定の手動操作の要件を満たしているか否かが、識別部72で判別される。識別部72は、受付部70から送られる信号が、所定の手動操作の要件を満たしているかを、基準信号との比較によって判別する比較回路で構成されていてもよい。 As described above, when the receiving unit 70 also receives manual operations other than the "predetermined manual operation", the identifying unit 72 identifies the "predetermined manual operation" from among the manual operations performed on the receiving unit 70. do. The identification unit 72 is configured by, for example, a timer that counts the elapsed time, a counter that counts the number of operations performed on the reception unit 70, and the like. In this case, for example, as described above, the identification unit 72 determines whether the length of time the tactile switch, which is the reception unit 70, is pressed, the number of times the switch is repeatedly pressed within a specific time period, and the like, satisfy the requirements for a predetermined manual operation. is determined by The identification unit 72 may be configured with a comparison circuit that determines whether or not the signal sent from the reception unit 70 satisfies predetermined manual operation requirements by comparison with a reference signal.

所定の手動操作としての要件が満たされている場合、識別部72は、受付部70に対して行われている手動操作が所定の手動操作であると識別し、第2処理装置20の入力ポート200を所定のレベルに設定したり、所定の信号を送ったり、入力ポート200、201にリブート指示信号を送ったりする。識別部72は、識別結果に応じて、スイッチ10bの開閉状態を制御してもよい。一方、所定の手動操作以外の手動操作は、第2処理装置20の入力ポート202に伝えられ、その手動操作に応じた動作が、第2処理装置20において実行される。 If the requirements for a predetermined manual operation are satisfied, the identification unit 72 identifies that the manual operation being performed on the reception unit 70 is a predetermined manual operation, and the input port of the second processing device 20 200 to a predetermined level, send a predetermined signal, or send a reboot instruction signal to the input ports 200 and 201 . The identification unit 72 may control the open/closed state of the switch 10b according to the identification result. On the other hand, a manual operation other than the predetermined manual operation is transmitted to the input port 202 of the second processing device 20, and the second processing device 20 executes an operation corresponding to the manual operation.

図5には、受付部70から第2処理装置20への初期化動作の実行指示の伝達態様のさらに他の例が示されている。図5の例では、受付部70に対して行われる手動動作は、第1処理装置10に伝えられ、第1処理装置10によって、所定の手動操作か否かが識別される。そして、受付部70に対して行われる手動操作が所定の手動操作である場合、第1処理装置10によって第2処理装置20に所定の初期化動作の実行が指示される。 FIG. 5 shows still another example of a mode of transmission of the initialization operation execution instruction from the receiving unit 70 to the second processing device 20 . In the example of FIG. 5, a manual operation performed on the reception unit 70 is transmitted to the first processing device 10, and the first processing device 10 identifies whether or not it is a predetermined manual operation. When the manual operation performed on the reception unit 70 is a predetermined manual operation, the first processing device 10 instructs the second processing device 20 to perform a predetermined initialization operation.

図5に示される例において第1処理装置10は、第2処理装置20の初期化のための出力ポート101を備えており、出力ポート101は、図3の例と同様に機能する第2処理装置20の入力ポート200に接続されている。すなわち第2処理装置20は、入力ポート200が所定のレベルに設定されると、第2処理装置20の所定の初期化動作を実行するように構成されている。第1処理装置10は、受付部70に対して所定の手動操作が行われると、出力ポート101から所定のレベルの信号を入力ポート200に出力する。第2処理装置20は、入力ポート200が所定のレベルに設定されるので、所定の初期化動作として、例えば、警報器100の稼働開始後に変更された第2処理装置20の内部の状態を、その変更をされる前の特定の時点の状態に戻す。また、第1処理装置20は、受付部70に対する所定の手動操作に応じて、出力ポート102から適切な制御信号を出力してスイッチ10bの開閉状態を制御してもよい。そのようなスイッチ10bの開閉状態の制御によって、第2処理装置20に備えられたパワーオンリセット機能を用いて第2処理装置20の所定の初期化動作が実行されてもよい。 In the example shown in FIG. 5, the first processing unit 10 has an output port 101 for initialization of the second processing unit 20, the output port 101 of which functions in the same manner as in the example of FIG. It is connected to input port 200 of device 20 . That is, the second processing device 20 is configured to perform a predetermined initialization operation of the second processing device 20 when the input port 200 is set to a predetermined level. The first processing device 10 outputs a signal of a predetermined level from the output port 101 to the input port 200 when a predetermined manual operation is performed on the reception unit 70 . Since the input port 200 of the second processing unit 20 is set to a predetermined level, the internal state of the second processing unit 20 that has been changed after the alarm device 100 has started operating is changed as a predetermined initialization operation. Revert to a point in time before the change was made. Further, the first processing device 20 may output an appropriate control signal from the output port 102 to control the open/closed state of the switch 10b in response to a predetermined manual operation on the reception unit 70. FIG. A predetermined initialization operation of the second processing device 20 may be performed using a power-on reset function provided in the second processing device 20 by such control of the open/close state of the switch 10b.

また、図5の例において、入力ポート200に所定の信号が入力されるとソフトウェアSWの初期化を実行するように第2処理装置20に命じる命令がソフトウェアSWに記述されている場合は、受付部70が所定の手動操作を受け付けると、第1処理装置10は、入力ポート200に所定の信号を送出してもよい。その結果、第2処理装置20においてソフトウェアSWの初期化が実行される。 Further, in the example of FIG. 5, if the software SW contains an instruction to instruct the second processing unit 20 to initialize the software SW when a predetermined signal is input to the input port 200, the reception The first processing device 10 may send a predetermined signal to the input port 200 when the unit 70 receives a predetermined manual operation. As a result, the software SW is initialized in the second processing device 20 .

第1処理装置10は、第2処理装置20が備えるブートローダを用いて、第2処理装置20に内蔵されるソフトウェアSWの初期化を第2処理装置20に行わせてもよい。この場合、図3を参照して前述したように、第2処理装置20は、外部からリブート指示信号を受け付けるように構成される。図5の例において第2処理装置20は、入力ポート200でリブート指示信号を受け付け、リブート指示信号の受信時に入力ポート201が、例えばロウレベルやハイレベルなどの所定のリブート指示レベルに設定されている場合に、ソフトウェアSWの初期化を実行するように構成されている。第1処理装置10は、第2処理部2の初期化としてソフトウェアSWの初期化を実行させるときには、入力ポート200に接続された出力ポート101から、所定のリブート指示信号を送出する。第1処理装置10は、さらに、そのリブート指示信号の送出と同時に、又は先立って、第2処理装置20の入力ポート201に接続された出力ポート103をリブート指示レベルに設定する。その結果、第2処理装置20において、ソフトウェアSWの初期化が実行される。 The first processing device 10 may cause the second processing device 20 to initialize the software SW built in the second processing device 20 using a boot loader provided in the second processing device 20 . In this case, as described above with reference to FIG. 3, the second processing device 20 is configured to receive a reboot instruction signal from the outside. In the example of FIG. 5, the second processing device 20 receives the reboot instruction signal at the input port 200, and the input port 201 is set to a predetermined reboot instruction level such as low level or high level when the reboot instruction signal is received. In this case, the software SW is configured to be initialized. The first processing unit 10 outputs a predetermined reboot instruction signal from the output port 101 connected to the input port 200 when executing the initialization of the software SW as the initialization of the second processing unit 2 . The first processing device 10 further sets the output port 103 connected to the input port 201 of the second processing device 20 to the reboot instruction level at the same time as or before sending the reboot instruction signal. As a result, the software SW is initialized in the second processing device 20 .

<実施形態の警報器の初期化方法>
図6、並びに、図1を適宜再度参照して、本発明の一実施形態の警報器の初期化方法を、図1に例示の警報器100を例に以下に説明する。図6は、本実施形態の警報器の初期化方法における手順の一例を示すフローチャートである。図6において二点鎖線L1よりも左側には、本実施形態の警報器の初期化方法の各ステップにおいて実行される処理が示されている。また、二点鎖線L1の右側には、本実施形態の警報器の初期化方法における各ステップに関連して行われる処理を含む、第2処理部2で行われる処理が示されている。なお、図1~図5を参照して説明された警報器100が有する構成要素、及び、それら各構成要素が有する機能や作用は、本実施形態の警報器の初期化方法で初期化される警報器、及び、その構成要素も、同様に有し得る。また、図1~図5を参照して説明された警報器100に対して行われる操作や処理は、本実施形態の警報器の初期化方法に、その一連の手順の一部として含まれていてもよい。
<Method for initializing the alarm device of the embodiment>
Referring again to FIG. 6 and FIG. 1 as appropriate, a method for initializing an alarm device according to one embodiment of the present invention will be described below using the alarm device 100 illustrated in FIG. 1 as an example. FIG. 6 is a flow chart showing an example of the procedure in the initialization method of the alarm device of this embodiment. In FIG. 6, on the left side of the chain double-dashed line L1, processing executed in each step of the alarm device initialization method of the present embodiment is shown. Further, on the right side of the two-dot chain line L1, processing performed by the second processing unit 2, including processing performed in relation to each step in the method for initializing the alarm device of the present embodiment, is shown. The constituent elements of the alarm device 100 described with reference to FIGS. 1 to 5, and the functions and actions of each constituent element, are initialized by the alarm device initialization method of the present embodiment. Alarms and components thereof may be included as well. Further, the operations and processes performed on the alarm device 100 described with reference to FIGS. 1 to 5 are included as part of the series of procedures in the method for initializing the alarm device of the present embodiment. may

本実施形態の警報器の初期化方法は、一例として図1に示されるような、検知部50と、第1処理部1と、第2処理部2と、手動操作を受け付ける受付部70と、を備える警報器100のような警報器の初期化方法である。ここで、検知部50は、少なくとも火災若しくはガスのいずれか一方を検知可能である。第1処理部1は、検知部50の検知結果に基づいて警報を発する警報機能を制御する。第2処理部2は、少なくとも第1処理部1が制御する警報機能以外の所定の機能を制御する。なお、本実施形態の警報器の初期化方法において警報器の初期化は、具体的には、第2処理部2の初期化であり得る。そして、本実施形態の警報器の初期化方法は、先に図1及び図2を参照して説明されたように、警報器の初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を受付部70に行うことによって第2処理部2を初期化することを含んでいる(図6のステップS11、S22)。 The initialization method of the alarm device of the present embodiment includes, as an example, a detection unit 50, a first processing unit 1, a second processing unit 2, a reception unit 70 for receiving manual operation, A method of initializing an alarm such as the alarm 100 comprising: Here, the detection unit 50 can detect at least either fire or gas. The first processing unit 1 controls an alarm function that issues an alarm based on the detection result of the detection unit 50 . The second processing unit 2 controls at least predetermined functions other than the alarm function controlled by the first processing unit 1 . In addition, in the initialization method of the alarm device of the present embodiment, the initialization of the alarm device can specifically be the initialization of the second processing unit 2 . 1 and 2, the method of initializing the alarm device of the present embodiment is different from the operation of instructing execution of an operation other than the initialization of the alarm device. It includes initializing the second processing unit 2 by performing a predetermined manual operation on the receiving unit 70 (steps S11 and S22 in FIG. 6).

本実施形態の警報器の初期化方法によれば、警報器のユーザーなどの手動操作によって、警報器の第2処理部2の初期化が実行される。第2処理部2の初期化は、第2処理部2の構成要素の一部又は全部を、警報器の製造工場からの出荷時の状態、警報器の稼働開始時の状態、又は、警報器と外部の通信ネットワークとが接続される前の状態に戻すことであり得る。或いは、第2処理部2の「初期化」は、第2処理部2の構成要素の一部又は全部を、第2処理部2の適切な初期化後の状態として用意されている特定の状態にすることであり得る。従って、内部状態の変化によって第2処理部2のような警報器の一部が機能しない状態に陥っても、ユーザーなどの操作者の意志の下で、警報器を正常に機能し得る状態に復帰させることができる。 According to the initialization method of the alarm device of the present embodiment, the initialization of the second processing unit 2 of the alarm device is executed by manual operation by the user of the alarm device. The initialization of the second processing unit 2 is performed by resetting some or all of the constituent elements of the second processing unit 2 to the state at the time of shipment from the manufacturing factory of the alarm device, the state at the start of operation of the alarm device, or the state of the alarm device. and the external communication network are restored to the state before they were connected. Alternatively, the “initialization” of the second processing unit 2 is a specific state in which some or all of the constituent elements of the second processing unit 2 are prepared as a state after appropriate initialization of the second processing unit 2. It can be to Therefore, even if a part of the alarm device such as the second processing unit 2 does not function due to a change in the internal state, the alarm device can be put into a state where it can function normally under the will of the operator such as the user. can be restored.

また、本実施形態の警報器の初期化方法では、初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を受付部70に対して行うことによって第2処理部2が初期化される。すなわち、本実施形態の警報器の初期化方法で初期化される警報器の受付部は、第2処理部2の初期化以外の動作の実行を指示する操作も受け付ける。従って、僅かな数の受付部70、例えば一つの受付部70を備えるだけの警報器に、第2処理部2の初期化を含む2以上の種類の動作の実行を指示することができる。 Further, in the method of initializing the alarm device of the present embodiment, the second processing unit 2 can Initialized. That is, the receiving unit of the alarm device initialized by the method for initializing the alarm device of the present embodiment also receives an operation instructing execution of an operation other than the initialization of the second processing unit 2 . Therefore, it is possible to instruct a small number of receivers 70, for example, an alarm device having only one receiver 70, to perform two or more types of operations including initialization of the second processing section 2. FIG.

本実施形態の警報器の初期化方法で実行される第2処理部2の初期化は、一実施形態の警報器100について前述されたように、一例として、第2処理部2に内蔵されているソフトウェアSWの初期化であってよい。また第2処理部2の初期化は、警報器の稼働開始後に変更された、第2処理部2を構成する第2処理装置20の内部の状態をその変更をされる前の特定の時点の状態に戻すことであり得る。本実施形態の警報器の初期化方法で実行される「所定の手動動作」は、一実施形態の警報器100について例示された「所定の手動操作」と同様であり得、例えば受付部70であるタクタイルスイッチの特定時間以上の押し込みや、特定時間以内の特定回数以上の押し込み操作などであり得る。また、本実施形態の警報器の初期化方法において「警報器の初期化以外の動作の実行を指示する操作」は、「所定の手動操作」以外の、受付部70に対する任意の態様の操作であり得る。 The initialization of the second processing unit 2 executed by the method for initializing the alarm device of the present embodiment is performed by, for example, being incorporated in the second processing unit 2 as described above for the alarm device 100 of one embodiment. It may be the initialization of the existing software SW. Further, the initialization of the second processing unit 2 changes the internal state of the second processing unit 20 that constitutes the second processing unit 2, which has been changed after the operation of the alarm is started, to a specific point in time before the change. It can be to return to a state. The “predetermined manual operation” executed in the alarm device initialization method of the present embodiment may be the same as the “predetermined manual operation” exemplified for the alarm device 100 of one embodiment. It may be a tactile switch being pushed for a specific time or longer, or a tactile switch being pushed a specific number of times or more within a specific time. In addition, in the method of initializing the alarm device of the present embodiment, the "operation for instructing execution of an operation other than initialization of the alarm device" is any form of operation on the reception unit 70 other than the "predetermined manual operation". could be.

図6において、第2処理部2では、所定の手動操作とは異なる態様の受付部70への手動操作によって初期化以外の動作、例えば、警報器の自主点検として外部機器Eとの通信や外部機器Eとのリンク設定などが行われる(ステップS21)。警報器のユーザーなどは、警報器の不具合に気づくと、警報器の初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を受付部70に対して行う(ステップS11)。所定の手動操作によって、第2処理部2において初期化が実行される(ステップS22)。 In FIG. 6, in the second processing unit 2, an operation other than initialization is performed by a manual operation to the reception unit 70 in a manner different from the predetermined manual operation, for example, communication with the external device E or external A link setting with the device E and the like are performed (step S21). When the user of the alarm or the like notices a malfunction of the alarm, he/she performs a predetermined manual operation on the reception unit 70 in a manner different from the operation of instructing execution of an operation other than initialization of the alarm (step S11). . Initialization is executed in the second processing unit 2 by a predetermined manual operation (step S22).

図6に示されるように、本実施形態の警報器の初期化方法は、さらに、受付部70に対する所定の手動操作と共に、警報器の電源プラグ61と商用電源とを接続又は分離することを含んでいてもよい(ステップS12)。電源プラグ61と商用電源との接続又は分離は、受付部70に対する所定の手動操作の前に行われてもよく、所定の手動操作の後に行われてもよく、又は所定の手動操作と同時に行われてもよい。好ましくは、所定の手動操作が行なわれている状態で、電源プラグ61と商用電源との接続又は分離が行われることによって、第2処理部2が初期化される。第2処理部2の初期化が意図せず誤って実行されることを防止できることがある。 As shown in FIG. 6, the method of initializing the alarm device of the present embodiment further includes connecting or disconnecting the power plug 61 of the alarm device and the commercial power supply together with a predetermined manual operation on the receiving unit 70. You may stay (step S12). The connection or disconnection between the power plug 61 and the commercial power supply may be performed before a predetermined manual operation on the reception unit 70, may be performed after the predetermined manual operation, or may be performed simultaneously with the predetermined manual operation. may be broken. Preferably, the second processing unit 2 is initialized by connecting or disconnecting the power plug 61 from the commercial power source while a predetermined manual operation is being performed. Unintended and erroneous initialization of the second processing unit 2 can sometimes be prevented.

図6において、ステップS11が行われない限り、又は、ステップS11と共にステップS12が行われない限り、第2処理部2は、例えば通信機能や受信情報に基づく音声の発声機能のような、警報機能以外の機能の制御機能を継続して発揮している。加えて第2処理部2は、警報器の初期化以外の動作の実行を指示する操作が受付部70に対して行われると、その都度、その操作で指示された、初期化以外の動作を実行する(ステップS21)。 In FIG. 6, as long as step S11 is not performed, or unless step S12 is performed together with step S11, the second processing unit 2 performs an alarm function such as, for example, a communication function or a voice utterance function based on received information. It continues to demonstrate the control function of functions other than In addition, every time an operation instructing execution of an operation other than initialization of the alarm device is performed on the reception unit 70, the second processing unit 2 performs an operation other than the initialization instructed by the operation. Execute (step S21).

なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味及び範囲内でのすべての変更(変形例)が含まれる。 It should be noted that the embodiments disclosed this time should be considered as examples and not restrictive in all respects. The scope of the present invention is indicated by the scope of the claims rather than the description of the above-described embodiments, and includes all modifications (modifications) within the scope and meaning equivalent to the scope of the claims.

例えば、図1の変形例として、警報器100は、例えばマイコンやASICなどの半導体装置からなる三つの処理装置を備えていてもよい。その場合、その三つの処理装置のうちの一つが、第1処理装置10のように警報機能を担う第1サブ処理装置であり、他の一つが、第2処理装置20のように通信機能を担う第2サブ処理装置であり、残りの一つが、他の二つを制御するメイン処理装置であってもよい。 For example, as a modification of FIG. 1, the alarm device 100 may include three processing units, which are semiconductor devices such as microcomputers and ASICs. In that case, one of the three processing units is the first sub-processing unit responsible for the alarm function like the first processing unit 10, and the other one is the communication function like the second processing unit 20. It may be a second sub-processor responsible for one, and the other one may be the main processor controlling the other two.

また、図1の警報器100は、その変形例において、音声による警報の発報中に、受信情報に基づく第2処理装置20の制御による音声が発せられてしまうような、第1処理装置10の制御からの第2処理装置20の離反などによる警報機能の不具合を検知する手段(図示せず)を備えていてもよい。そして、第1処理装置10は、そのような検知手段で不具合が検知されると、その不具合を例えば出力部40から報知させて、ユーザーの対処を促してもよい。その報知を受けたユーザーは、その不具合の解消手段として第2処理部2の所定の初期化動作を実行すべく、受付部70に対して所定の手動操作を行うことができる。 In addition, the alarm device 100 of FIG. 1, in its modified example, is designed so that the first processing unit 10 emits a sound under the control of the second processing unit 20 based on the received information during the issuance of an alarm by sound. A means (not shown) for detecting malfunction of the alarm function due to separation of the second processing unit 20 from the control of . Then, when a problem is detected by such a detection means, the first processing device 10 may report the problem from the output unit 40, for example, and prompt the user to take action. The user who has received the notification can perform a predetermined manual operation on the reception unit 70 in order to execute a predetermined initialization operation of the second processing unit 2 as means for resolving the problem.

また、上記実施形態では、説明の便宜上、実施形態の警報器の処理動作を処理フローに沿って順番に処理を行うフロー駆動型のフローチャートを用いて説明したが、本発明はこれに限られない。本発明では、警報器の処理動作を、イベント単位で処理を実行するイベント駆動型(イベントドリブン型)の処理により行ってもよい。この場合、完全なイベント駆動型で行ってもよいし、イベント駆動及びフロー駆動を組み合わせて行ってもよい。 Further, in the above-described embodiment, for convenience of explanation, the processing operation of the alarm device of the embodiment is explained using a flow-driven flowchart in which processing is performed in order along the processing flow, but the present invention is not limited to this. . In the present invention, the processing operation of the alarm device may be performed by event-driven processing that executes processing on an event-by-event basis. In this case, it may be completely event-driven, or a combination of event-driven and flow-driven.

100 警報器
1 第1処理部
10 第1処理装置
2 第2処理部
20 第2処理装置
20a 記憶手段(第2処理装置内)
30 記憶手段
40 出力部
50 検知部
61 電源プラグ
70 受付部
SW ソフトウェア
SWi ソフトウェア(初期化用データ)
100 alarm device 1 first processing unit 10 first processing unit 2 second processing unit 20 second processing unit 20a storage means (inside second processing unit)
30 storage means 40 output unit 50 detection unit 61 power plug 70 reception unit SW software SWi software (initialization data)

Claims (8)

少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、
前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、
内蔵するソフトウェアに含まれる命令に従って動作して少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、
手動操作を受け付ける受付部と、
を備え、
所定の手動操作が前記受付部に対して行われることによって前記第2処理部の所定の初期化動作を実行するように構成されている警報器であって、
前記所定の初期化動作は前記ソフトウェアの初期化を含んでいる、警報器
a detection unit capable of detecting at least one of fire or gas;
a first processing unit that controls an alarm function that issues an alarm based on the detection result of the detection unit;
a second processing unit that operates according to instructions included in built-in software to control at least a predetermined function other than the alarm function;
a reception unit that receives a manual operation;
with
An alarm device configured to execute a predetermined initialization operation of the second processing unit when a predetermined manual operation is performed on the reception unit ,
The alarm device, wherein the predetermined initialization action includes initialization of the software .
前記所定の手動操作以外の手動操作を前記受付部で受け付けると、前記所定の初期化動作以外の動作を実行するように構成されている、請求項1記載の警報器。 2. The alarm device according to claim 1, wherein an operation other than said predetermined initializing operation is executed when said reception unit receives a manual operation other than said predetermined manual operation. 前記ソフトウェアの初期化用データを保管する記憶手段をさらに備え、
前記所定の初期化動作において、前記初期化用データを用いて前記ソフトウェアが書き換えられる、請求項1又は2記載の警報器。
further comprising storage means for storing initialization data for the software;
3. The alarm device according to claim 1 , wherein said software is rewritten using said initialization data in said predetermined initialization operation.
前記所定の初期化動作さらに、前記警報器の稼働開始後に変更された、前記第2処理部を構成する部品の内部の状態、前記変更をされる前の特定の時点の状態に戻すことを含んでいる、請求項1又は2記載の警報器。 The predetermined initialization operation further restores the internal state of the components constituting the second processing unit, which has been changed after the alarm device starts operating, to the state at a specific point in time before the change. 3. An alarm as claimed in claim 1 or 2, comprising : 前記所定の手動操作は、互いに異なる態様の操作である第1操作と第2操作とを含み、
前記第1操作の実行によって前記ソフトウェアが初期化され、
前記第2操作の実行によって前記部品の内部の状態が、前記特定の時点の状態に戻される、請求項記載の警報器。
The predetermined manual operation includes a first operation and a second operation that are different modes of operation,
the software is initialized by executing the first operation;
5. The alarm of claim 4 , wherein execution of said second operation causes the internal state of said component to return to the state at said particular point in time.
商用電源に接続される電源プラグをさらに備え、
前記受付部に対する前記所定の手動操作、及び、前記電源プラグと前記商用電源との接続又は分離が行われることによって、前記所定の初期化動作を実行するように構成されている、請求項1又は2記載の警報器。
It further comprises a power plug connected to a commercial power supply,
2. The predetermined initializing operation is configured to be performed by performing the predetermined manual operation on the receiving unit and connecting or disconnecting the power plug and the commercial power source. 2. Alarm device according to claim 2.
少なくとも火災若しくはガスのいずれか一方を検知可能である検知部と、前記検知部の検知結果に基づいて警報を発する警報機能を制御する第1処理部と、内蔵するソフトウェアに含まれる命令に従って動作して少なくとも前記警報機能以外の所定の機能を制御する第2処理部と、手動操作を受け付ける受付部と、を備える警報器の初期化方法であって、
前記警報器に初期化以外の動作の実行を指示する操作とは異なる態様の所定の手動操作を前記受付部に行うことによって、前記ソフトウェアを初期化することを含む前記第2処理部初期化を行うことを含んでいる、警報器の初期化方法。
A detection unit capable of detecting at least one of fire or gas, a first processing unit that controls an alarm function that issues an alarm based on the detection result of the detection unit, and operates according to commands included in built-in software. A method for initializing an alarm device comprising: a second processing unit that controls at least a predetermined function other than the alarm function; and a reception unit that receives a manual operation,
Initializing the second processing unit including initializing the software by performing a predetermined manual operation on the receiving unit in a manner different from an operation for instructing the alarm device to perform an operation other than initialization . A method of initializing an alarm, comprising:
前記第2処理部の初期化を行うことは、前記受付部に対する前記所定の手動操作、及び、前記警報器の電源プラグと商用電源との接続又は分離を行うことを含み、
前記電源プラグと前記商用電源との接続又は分離は、前記受付部に対する前記所定の手動操作の前、若しくは後に、又は前記所定の手動操作と同時に、行われる、請求項記載の警報器の初期化方法。
Initializing the second processing unit includes performing the predetermined manual operation on the reception unit and connecting or disconnecting the power plug of the alarm device and a commercial power supply,
8. The initial state of the alarm device according to claim 7 , wherein the connection or disconnection between the power plug and the commercial power supply is performed before or after the predetermined manual operation on the reception unit, or at the same time as the predetermined manual operation. conversion method.
JP2023042329A 2023-03-16 2023-03-16 Alarm and method of initializing the alarm Active JP7329712B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023042329A JP7329712B1 (en) 2023-03-16 2023-03-16 Alarm and method of initializing the alarm
JP2023128771A JP7348425B1 (en) 2023-03-16 2023-08-07 Alarm device and how to initialize it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023042329A JP7329712B1 (en) 2023-03-16 2023-03-16 Alarm and method of initializing the alarm

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023128771A Division JP7348425B1 (en) 2023-03-16 2023-08-07 Alarm device and how to initialize it

Publications (1)

Publication Number Publication Date
JP7329712B1 true JP7329712B1 (en) 2023-08-18

Family

ID=87568960

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2023042329A Active JP7329712B1 (en) 2023-03-16 2023-03-16 Alarm and method of initializing the alarm
JP2023128771A Active JP7348425B1 (en) 2023-03-16 2023-08-07 Alarm device and how to initialize it

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023128771A Active JP7348425B1 (en) 2023-03-16 2023-08-07 Alarm device and how to initialize it

Country Status (1)

Country Link
JP (2) JP7329712B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146232A (en) 2007-12-15 2009-07-02 Panasonic Electric Works Co Ltd Alarm

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4584778B2 (en) 2005-06-13 2010-11-24 ホーチキ株式会社 Alarm

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146232A (en) 2007-12-15 2009-07-02 Panasonic Electric Works Co Ltd Alarm

Also Published As

Publication number Publication date
JP7348425B1 (en) 2023-09-20

Similar Documents

Publication Publication Date Title
US7127270B2 (en) Wireless communication and control system
CN105448040A (en) Fall-off alarm system with pre-alarm function
JP7329712B1 (en) Alarm and method of initializing the alarm
JP2016116159A (en) Communication adaptor and electric equipment
US20070115112A1 (en) Supplemental fire alerting system
TWI749728B (en) Portable electronic device
JP2012252546A (en) Alarm
US20200293406A1 (en) Reset device and display device
TW201501090A (en) System and method for controlling fire fighting
JP6062627B2 (en) Alarm
JP6913492B2 (en) Fire extinguishing system
JP2017011542A (en) Control system, control method and program
JP6385722B2 (en) Alarm
JPH11220782A (en) Appliance equipment unit centralized management system and equipment unit appliance power controller used for the same
JP7381789B1 (en) Alarm device and alarm method
JP2019023904A (en) Disaster prevention receiver
JP7473704B1 (en) Alarm
JP6415895B2 (en) Disaster prevention receiver
JP2023141062A (en) alarm
US20230396461A1 (en) Appliance control system, home appliance, and notification control method for home appliance
JP2000259959A (en) Fire alarming facility
EP3792888A2 (en) Electronic shutdown device and method for shutting down a device
JP7230162B2 (en) Distribution board
JP6908408B2 (en) Alarm
JP2018169777A (en) Alarm

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230317

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230516

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230714

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230807

R150 Certificate of patent or registration of utility model

Ref document number: 7329712

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150