Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4356926B2 - Electronics - Google Patents
[go: Go Back, main page]

JP4356926B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP4356926B2
JP4356926B2 JP2004007528A JP2004007528A JP4356926B2 JP 4356926 B2 JP4356926 B2 JP 4356926B2 JP 2004007528 A JP2004007528 A JP 2004007528A JP 2004007528 A JP2004007528 A JP 2004007528A JP 4356926 B2 JP4356926 B2 JP 4356926B2
Authority
JP
Japan
Prior art keywords
data
communication
abnormality
microcomputer
nonvolatile memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004007528A
Other languages
Japanese (ja)
Other versions
JP2005202625A (en
Inventor
久男 大西
橋本  猛
康晴 談議
匡 渡邊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Osaka Gas Co Ltd
Fuji Electric FA Components and Systems Co Ltd
Original Assignee
Osaka Gas Co Ltd
Fuji Electric FA Components and Systems 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 Osaka Gas Co Ltd, Fuji Electric FA Components and Systems Co Ltd filed Critical Osaka Gas Co Ltd
Priority to JP2004007528A priority Critical patent/JP4356926B2/en
Publication of JP2005202625A publication Critical patent/JP2005202625A/en
Application granted granted Critical
Publication of JP4356926B2 publication Critical patent/JP4356926B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Emergency Alarm Devices (AREA)

Description

本発明は、マイクロコンピュータと不揮発性メモリとを有する電子機器に係り、詳しくは、不揮発性メモリの通信不良時に異常の発生を報知する電子機器に関するものである。   The present invention relates to an electronic apparatus having a microcomputer and a non-volatile memory, and more particularly to an electronic apparatus that notifies the occurrence of an abnormality when communication of the non-volatile memory is poor.

マイクロコンピュータと不揮発性メモリとを有する電子機器の具体例として、センサの検知により警報を発する警報器を例に挙げて説明する。
この種の警報器は1台で様々な異常を検出するために機能が複合化されており、例えば、ガス漏れ、不完全燃焼、および、火災を1台の警報器により検出して発報可能な製品が発売されている。このような警報器では低価格化により入手が容易となった不揮発性メモリを搭載できるようになされている。これにより、警報器の製造時に不揮発性メモリのデータを組み込むだけで種々の調整・設定を自動的に行ったり、また、すでに販売・設置された警報器に対して不揮発性メモリを交換するだけで新たな警報器動作情報の記憶機能を追加することが可能となっている。
As a specific example of an electronic device having a microcomputer and a non-volatile memory, an alarm device that issues an alarm upon detection of a sensor will be described as an example.
This type of alarm is combined with a single unit to detect various abnormalities. For example, gas alarm, incomplete combustion, and fire can be detected by one alarm. Products have been released. Such an alarm device can be equipped with a non-volatile memory that has become easy to obtain due to a low price. This makes it possible to automatically perform various adjustments / settings simply by incorporating non-volatile memory data at the time of alarm production, or simply replace non-volatile memory for alarm devices that have already been sold and installed. It is possible to add a storage function for new alarm device operation information.

このような警報器は、例えば、センサと、警報出力部と、不揮発性メモリと、マイクロコンピュータと、を備えている。不揮発性メモリは、駆動条件、入力条件、または、作動条件という設定条件データを記憶している。駆動条件は、検出対象に応じて使用するセンサの種類を変えたり、警報を発するレベル値を変えるという条件である。入力条件は、入力信号のキャリブレーションなどの条件である。作動条件は、発報時間など警報出力部の条件である。   Such an alarm device includes, for example, a sensor, an alarm output unit, a nonvolatile memory, and a microcomputer. The nonvolatile memory stores setting condition data such as a driving condition, an input condition, or an operating condition. The drive condition is a condition that the type of sensor to be used is changed according to the detection target, or the level value for issuing an alarm is changed. The input condition is a condition such as calibration of the input signal. The operating condition is a condition of the alarm output unit such as a notification time.

警報器は、センサの種類や特性ばらつき、設置される現場状況、使用者の要望に応じてその駆動条件、入力条件、または、作動条件を最適条件に適宜変更設定することにより、特性の異なる単一または複数種類のセンサを使用可能としている。そこで、警報器は、先に説明したように、予め最適条件に設定された設定条件データを記憶させた不揮発性メモリに交換し、マイクロコンピュータがこのような設定条件データを読み出すことで各種設定を行い、センサから入力された信号に応じて所定条件でガス感知・警報処理を行う。   The alarm device has different characteristics by appropriately changing the driving conditions, input conditions, or operating conditions to the optimum conditions according to the sensor type and characteristic variations, the installation site conditions, and the user's request. One or more types of sensors can be used. Therefore, as described above, the alarm device is replaced with a non-volatile memory in which setting condition data set in advance as optimum conditions is stored, and the microcomputer reads out such setting condition data to perform various settings. Gas detection / alarm processing is performed under a predetermined condition in accordance with a signal input from the sensor.

このような警報器では、前述した通り、マイクロコンピュータは、不揮発性メモリに記憶されている設定条件データを通信により読み出して警報器の動作を決定している。しかしながら、マイクロコンピュータと不揮発性メモリとが通信を行っている最中で電磁的な外来ノイズを受けると通信不良が発生する。   In such an alarm device, as described above, the microcomputer reads the setting condition data stored in the non-volatile memory by communication and determines the operation of the alarm device. However, communication failure occurs when electromagnetic external noise is received while the microcomputer and the nonvolatile memory are communicating.

マイクロコンピュータと不揮発性メモリとの間で通信されるデータがこの通信不良により変化すると、マイクロコンピュータや不揮発性メモリがデータを誤認識して誤った設定条件データのもとで警報器が作動し、正常な警報処理がなされないことがあった。
また、極端な場合ではマイクロコンピュータや不揮発性メモリが故障して誤動作し、正常な警報処理がなされないことがあった。
何れの場合も警報器の動作に支障が発生する場合があるという問題点があった。
そこで、近年では、特許文献1に記載されているように耐ノイズ性能を向上させた汎用ガス検知装置が提案されている。この特許文献1に記載の装置では、不揮発性メモリ内に幾重にも同一データを書き込んでデータのバックアップを行い、耐ノイズ性能を向上させている。
If the data communicated between the microcomputer and the non-volatile memory changes due to this communication failure, the microcomputer or non-volatile memory misrecognizes the data and the alarm operates under the incorrect setting condition data. Normal alarm processing may not be performed.
In extreme cases, the microcomputer or nonvolatile memory may malfunction and malfunction, and normal alarm processing may not be performed.
In any case, there is a problem that the operation of the alarm device may be hindered.
Therefore, in recent years, a general-purpose gas detection device with improved noise resistance performance as described in Patent Document 1 has been proposed. In the apparatus described in Patent Document 1, the same data is written in the nonvolatile memory several times to back up the data, thereby improving the noise resistance performance.

特開平11−203575号公報(特許請求の範囲、段落[0010、図6等)Japanese Patent Application Laid-Open No. 11-203575 (Claims, paragraph [0010, FIG. 6 etc.)

上述の特許文献1に記載された従来技術は、メモリの容量の制限があったり、不揮発性メモリが故障した場合は、警報器の動作に支障をきたしたまま警報器が設置され、ガス検知時に動作できないおそれがあった。警報器に限らず電子機器一般において、このような不揮発性メモリの故障を検知できる機能が必要とされていた。   In the prior art described in Patent Document 1 described above, when there is a limit on the capacity of the memory or when the nonvolatile memory fails, the alarm device is installed while hindering the operation of the alarm device. There was a possibility that it could not work. In general electronic devices as well as alarm devices, a function capable of detecting such a failure of the nonvolatile memory has been required.

そこで、本発明は上記課題を解決するためになされたものであり、その目的は、電磁的ノイズや不揮発性メモリの故障により、電子機器の動作に支障をきたす場合、「電子機器が異常である」ことを使用者に報知(以下、このような電子機器の異常を知らせることを単に「報知」と呼び、上記したガス検知による「発報」と区別する。)できるようにし、信頼性の高い電子機器を提供することにある。   Therefore, the present invention has been made to solve the above-described problems. The object of the present invention is to indicate that “the electronic device is abnormal when the operation of the electronic device is hindered due to electromagnetic noise or failure of the nonvolatile memory. ”Can be notified to the user (hereinafter, notifying such abnormality of the electronic device is simply referred to as“ notification ”and distinguished from the“ reporting ”by the gas detection described above), and is highly reliable. To provide electronic equipment.

上記課題を解決するために、請求項1に記載した発明の電子機器は、
不揮発性メモリと
イクロコンピュータと
前記マイクロコンピュータに接続される音源ICと、
前記音源ICの出力側に接続された増幅回路と、
前記増幅回路に接続されたスピーカと、
前記マイクロコンピュータに接続される表示回路制御手段と、
前記表示回路制御手段を介して制御される複数のランプと、
を備え、
前記不揮発性メモリと前記マイクロコンピュータとが各種データを通信するようになされ、ガス漏れ、不完全燃焼、または、火災の熱を検出して前記複数のランプおよび前記スピーカから発報して警報する警報器に係る電子機器において、
前記マイクロコンピュータは、
不揮発性メモリへデータを書き込む書き込み手段と、
書き込んだデータを不揮発性メモリから読み出す読み出し手段と、
書き込んだデータと読み出したデータが同じであるか否かを判断し、同じ場合に通信良好と、また、同じでない場合に通信不良と判断する判断手段と、
通信不良と判断された場合には前記音源ICおよび前記増幅回路を通じての異常時の音声報知、および、前記表示回路制御手段を通じて異常時のランプ表示を行って、使用者に音および光で警報器異常であることを報知する異常報知手段と、
を含む書き込み時通信異常チェック手段を有し、また、
不揮発性メモリから同じデータを二回読み出す読み出し手段と、
二回読み出したデータが同じであるか否かを判断し、同じ場合に通信良好と、また、同じでない場合に通信不良と判断する判断手段と、
通信不良と判断された場合には前記音源ICおよび前記増幅回路を通じての異常時の音声報知、および、前記表示回路制御手段を通じて異常時のランプ表示を行って、使用者に音および光で警報器異常であることを報知する異常報知手段と、
を含む読み出し時通信異常チェック手段を有することを特徴とする。
In order to solve the above-described problem, an electronic device according to the first aspect of the present invention provides:
Non-volatile memory ;
And microcomputers,
A sound source IC connected to the microcomputer;
An amplifier circuit connected to the output side of the sound source IC;
A speaker connected to the amplifier circuit;
Display circuit control means connected to the microcomputer;
A plurality of lamps controlled via the display circuit control means;
With
The non-volatile memory and the microcomputer communicate various data, and an alarm is issued by the plurality of lamps and the speaker to detect a gas leak, incomplete combustion, or fire heat and to give an alarm. In electronic equipment related to
The microcomputer is
Writing means for writing data to the nonvolatile memory;
A reading means for reading the written data from the nonvolatile memory;
A determination means for determining whether the written data and the read data are the same, and determining that the communication is good if they are the same, and that the communication is bad if they are not the same;
When it is determined that the communication is poor, a sound notification at the time of abnormality through the sound source IC and the amplifier circuit and a lamp display at the time of abnormality through the display circuit control means are performed, and an alarm device is given to the user by sound and light. Abnormality notification means for notifying that there is an abnormality,
Have a communication error check means at the time of writing, including, also,
A reading means for reading the same data twice from the nonvolatile memory;
A determination means for determining whether or not the data read twice is the same, and determining that the communication is good if the data is the same, and that the communication is bad if the data is not the same;
When it is determined that the communication is poor, a sound notification at the time of abnormality through the sound source IC and the amplifier circuit and a lamp display at the time of abnormality through the display circuit control means are performed, and an alarm device is given to the user by sound and light. Abnormality notification means for notifying that there is an abnormality,
Characterized in that it have a read time of communication abnormality checking means including.

請求項2に記載した発明の電子機器は、
請求項1に記載の電子機器において、
前記読み出し時通信異常チェック手段は、
前記読み出し手段と前記判断手段とを複数回繰り返し機能させて、通信良否の判断を複数回行う手段であることを特徴とする。
The electronic device of the invention described in claim 2 is:
The electronic device according to claim 1,
The reading communication abnormality check means includes:
Said reading means and said determining means a plurality of times by repeatedly function, and wherein the means der Rukoto a plurality of times the determination of the communication quality.

本発明では、
(1)不揮発性メモリからデータを読み出すときは、2回読みを行い、データに相違のないことをチェックする。
(2)不揮発性メモリへデータを書き込むときは、書き込み後再度読み出しを行い、書き込んだデータと読み出したデータとに相違がないことをチェックする。
これらチェックにより、マイクロコンピュータと不揮発性メモリとの間の通信成否を判断可能にし、不揮発性メモリの異常検出を行うことを可能にした。
In the present invention,
(1) When reading data from the non-volatile memory, read twice and check that there is no difference in the data.
(2) When writing data to the non-volatile memory, read again after writing, and check that there is no difference between the written data and the read data.
These checks make it possible to determine the success or failure of communication between the microcomputer and the nonvolatile memory, and to detect an abnormality in the nonvolatile memory.

また、上記(1)の動作チェックをさらに複数回繰り返し、その結果で不揮発性メモリの通信異常判断を行うことで、一時的ノイズ等による通信障害での異常判定を行わないことを可能にし、高信頼性の通信異常検出を行う電子機器を実現した。   Further, by repeating the operation check of (1) a plurality of times and determining the communication abnormality of the nonvolatile memory based on the result, it is possible to prevent abnormality determination due to a communication failure due to temporary noise or the like. An electronic device that performs reliable communication abnormality detection has been realized.

そして、上記手段により不揮発性メモリとの通信異常と判断したときは、マイクロコンピュータにより音声発報、LED表示、外部出力の各回路動作による異常報知を行うことで、使用者に光、音で電子機器が異常であることを報知し、電子機器の点検、交換を促すことを可能にした。   When it is determined that communication with the non-volatile memory is abnormal by the above means, the microcomputer notifies the user of light, sound, and electronic information by sound notification, LED display, and external output circuit operations. It is now possible to notify the device that it is abnormal and prompt the inspection and replacement of the electronic device.

本発明によれば、電磁的ノイズや不揮発性メモリの故障により、電子機器の動作に支障をきたす場合、「電子機器が異常である」ことを使用者に報知できるようにし、信頼性の高い電子機器を提供することができる。   According to the present invention, when an operation of an electronic device is hindered due to electromagnetic noise or a failure of a nonvolatile memory, it is possible to notify a user that “the electronic device is abnormal”, and a highly reliable electronic Equipment can be provided.

以下、図に沿って本発明の実施形態を説明する。本形態では説明をより具体的にするため、電子機器の一具体例であり、災害に繋がるため故障を迅速に検知する必要のあるガスの警報器を例に挙げて説明する。
まず、本形態は、ガス漏れ、CO(一酸化炭素)ガス等の不完全燃焼、火災時の熱を検知して警報音により異常を発報する複合型警報器を例に挙げるものであり、その回路ブロックを図1に示す。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In this embodiment, in order to make the description more specific, an example of an electronic device will be described by taking as an example a gas alarm device that needs to detect a failure quickly because it leads to a disaster.
First, this embodiment is an example of a combined alarm device that detects gas leakage, incomplete combustion such as CO (carbon monoxide) gas, heat in a fire and issues an abnormality by an alarm sound, The circuit block is shown in FIG.

図1において、20は商用電源、21は降圧用の電源回路、22は整流・平滑回路であり、この整流・平滑回路22から出力される一定の直流電源電圧は、後述するマイクロコンピュータ(以下、必要に応じて単にマイコンという)10、ガスセンサ制御・監視回路23、火災センサ制御・監視回路24、各種ランプ41〜44等を始めとして各回路に供給されている。   In FIG. 1, 20 is a commercial power supply, 21 is a step-down power supply circuit, 22 is a rectifying / smoothing circuit, and a constant DC power supply voltage output from the rectifying / smoothing circuit 22 is a microcomputer (to be described later). (Hereinafter simply referred to as a microcomputer) 10, a gas sensor control / monitoring circuit 23, a fire sensor control / monitoring circuit 24, various lamps 41 to 44, and the like.

マイコン10は、ガスセンサ及び火災センサを制御するためのセンサ制御手段11と、ガスセンサの出力から都市ガスを検出するための都市ガス検出手段12と、ガスセンサの出力からCOガスを検出するためのCOガス検出手段13と、火災センサの出力から火災(熱)を検出するための火災(熱)検出手段14と、各種ランプ41〜44等を制御するための表示回路制御手段15と、有電圧出力回路25、無電圧出力回路26等の外部回路を制御するための外部出力制御手段16と、不揮発メモリ28とマイコン10との通信を異常をチェックする通信チェック手段17とを備えている。
なお、前記各手段11〜17は、ハードウェア及びソフトウェアにより構成されるものである。
The microcomputer 10 includes sensor control means 11 for controlling the gas sensor and fire sensor, city gas detection means 12 for detecting city gas from the output of the gas sensor, and CO gas for detecting CO gas from the output of the gas sensor. Detection means 13, fire (heat) detection means 14 for detecting fire (heat) from the output of the fire sensor, display circuit control means 15 for controlling various lamps 41 to 44, etc., voltage output circuit 25, an external output control means 16 for controlling an external circuit such as a non-voltage output circuit 26, and a communication check means 17 for checking the communication between the nonvolatile memory 28 and the microcomputer 10 for abnormality.
The means 11 to 17 are constituted by hardware and software.

ガスセンサ制御・監視回路23は、マイコン10内のセンサ制御手段11、都市ガス検出手段12、COガス検出手段13等に接続されており、図示されていない半導体式ガスセンサの検出信号の処理を始めとする制御・監視動作を行う。また、火災センサ制御・監視回路24は、マイコン10内のセンサ制御手段11、火災(熱)検出手段14等に接続されており、図示されていない火災センサの検出信号の処理を始めとする制御・監視動作を行う。   The gas sensor control / monitoring circuit 23 is connected to the sensor control means 11, the city gas detection means 12, the CO gas detection means 13, etc. in the microcomputer 10, and starts processing of detection signals of a semiconductor gas sensor (not shown). Control and monitoring operations are performed. The fire sensor control / monitoring circuit 24 is connected to the sensor control means 11, the fire (heat) detection means 14 and the like in the microcomputer 10, and performs control such as processing of a detection signal of a fire sensor (not shown). -Perform monitoring operation.

また、マイコン10には、0V,6V,12V,18Vの電圧を出力可能な有電圧出力回路25と、通常は接点が開放されていて火災検出時に接点短絡による警報信号を出力する無電圧出力回路26とが接続されている。
更に、マイコン10には、ガス検知時・異常時に音によって警報を出力するための音源IC27と、その出力側に接続された増幅回路29と、警報出力手段の具体例であるスピーカ30とが接続されている。
Further, the microcomputer 10 has a voltage output circuit 25 capable of outputting voltages of 0V, 6V, 12V, and 18V, and a non-voltage output circuit that outputs a warning signal due to a contact short circuit when a contact is normally opened and a fire is detected. 26 is connected.
Further, the microcomputer 10 is connected with a sound source IC 27 for outputting an alarm by sound at the time of gas detection / abnormality, an amplifier circuit 29 connected to the output side, and a speaker 30 as a specific example of the alarm output means. Has been.

なお、前記各種ランプ41〜44は、緑色LEDからなる電源ランプ41、黄色LEDからなる不完全燃焼警報ランプ42、赤色LEDからなるガス漏れ警報ランプ43、赤色LEDからなる火災警報ランプ44からなっている。   The various lamps 41 to 44 include a power lamp 41 composed of a green LED, an incomplete combustion alarm lamp 42 composed of a yellow LED, a gas leak alarm lamp 43 composed of a red LED, and a fire alarm lamp 44 composed of a red LED. Yes.

上記構成において、ガス漏れ、不完全燃焼は半導体式ガスセンサにて検出する。ガスセンサは、定電圧電源において固定抵抗と直列に接続して用いられており、ガス漏れ時または不完全燃焼時のガスによりガスセンサのインピーダンスが下がり、検出ガス濃度に応じてマイコン10の都市ガス検出手段12またはCOガス検出手段13に信号を出力する。
火災センサは、サーミスタにより温度を検出するもので、ガスセンサと同様に定電圧電源において固定抵抗と直列に接続して用いられ、火災発生時の検出温度に応じてマイコン10の火災(熱)検出手段14に信号を出力する。
In the above configuration, gas leakage and incomplete combustion are detected by a semiconductor gas sensor. The gas sensor is used in a constant voltage power supply connected in series with a fixed resistor. The gas sensor impedance is lowered by gas at the time of gas leakage or incomplete combustion, and the city gas detection means of the microcomputer 10 according to the detected gas concentration. 12 or the CO gas detection means 13 outputs a signal.
The fire sensor detects the temperature with a thermistor, and is used in series with a fixed resistor in a constant voltage power supply like the gas sensor. The fire (heat) detecting means of the microcomputer 10 is used according to the detected temperature at the time of the fire. 14 outputs a signal.

マイコン10は、前記各センサの検出信号から異常発生を判断すると、表示回路制御手段15を介してランプ42〜44による警報表示を行い、外部出力制御手段16を介して有電圧出力回路25、無電圧出力回路26を動作させ、警報出力を行うと共に、図示されていない制御手段により音源IC27を直接制御して警報音による発報を行う。   When the microcomputer 10 determines that an abnormality has occurred from the detection signals of the respective sensors, the microcomputer 10 displays an alarm by the lamps 42 to 44 via the display circuit control means 15, and the voltage output circuit 25, none via the external output control means 16. The voltage output circuit 26 is operated to output an alarm, and the sound source IC 27 is directly controlled by a control means (not shown) to issue an alarm sound.

ここで、ランプ42〜44による警報表示は、例えば、低濃度のガスまたは火災と判断される温度より低い温度を検出したときは注意報として点滅させ、高濃度のガスまたは火災であると判断される温度よりも高い温度を検出したときは警報として点灯させるようにし、また、不完全燃焼、ガス漏れ、火災という異常内容に合わせてランプを区別して動作させることで、使用者はいかなる原因によりどの程度の異常が発生しているかを容易に認知可能となっている。   Here, the alarm display by the lamps 42 to 44 blinks as a warning when a temperature lower than the temperature determined to be a low concentration gas or fire is detected, for example, and is determined to be a high concentration gas or fire. If a temperature higher than the detected temperature is detected, it is turned on as an alarm, and the lamp is operated according to the abnormal contents such as incomplete combustion, gas leak, and fire, so that the user can It is possible to easily recognize whether a certain degree of abnormality has occurred.

また、音源IC27を用いた警報音による発報は、例えばガス漏れを検出した場合には「ピッピッピッピッ、ガスが漏れていませんか。」、不完全燃焼を検出した場合には「ピッポッピッポッ、空気が汚れて危険です。窓を開けて換気してください。」、火災を検出した場合には「火災警報器が作動しました。確認してください。」、警報器異常の場合は、「警報器を点検してください」等のメッセージを選択して発報する。これらの音声データは、音源IC27のメモリに記憶されているものである。   For example, when a gas leak is detected, the alarm sound using the sound source IC 27 is “whether the gas is leaking”. If the fire is detected, “Fire alarm has been activated. Please check.” If the alarm is abnormal, “Alarm Select a message such as “Please check”. These audio data are stored in the memory of the sound source IC 27.

外部出力制御手段16により制御される有電圧出力回路25は、通常時は6V、ガス漏れ検出時は12V、不完全燃焼検出時は18V、警報器故障の場合は0Vを出力する。
同じく、無電圧出力回路26は、前述した如く通常は接点が開放されており、火災検出時に接点短絡による信号を外部に出力するものである。
The voltage output circuit 25 controlled by the external output control means 16 outputs 6V at normal time, 12V at gas leak detection, 18V at incomplete combustion detection, and 0V at alarm failure.
Similarly, the non-voltage output circuit 26 normally has a contact open as described above, and outputs a signal due to a contact short circuit to the outside when a fire is detected.

次に、マイコン10からスピーカ30により警報音を発するまでの詳細を説明する。
ガスセンサ、火災センサ等による検出信号からマイコン10が異常発生と判断すると、マイコン10は、音源IC27に対してどのような警報音(メッセージ)を発報するのかを指示するアドレス信号を出力する。上記アドレス信号は、音源IC27における警報音のメモリ上のアドレスを示すものであり、各検出手段12〜14によりどのような異常が検出されたかに応じて選択されるものである。
Next, details from the microcomputer 10 until the alarm sound is emitted from the speaker 30 will be described.
When the microcomputer 10 determines that an abnormality has occurred from detection signals from a gas sensor, a fire sensor, or the like, the microcomputer 10 outputs an address signal that indicates what alarm sound (message) is to be issued to the sound source IC 27. The address signal indicates the address on the memory of the alarm sound in the sound source IC 27, and is selected according to what abnormality is detected by each of the detection means 12-14.

音源IC27は、マイコン10から指示されたアドレスに係る警報音をメモリから読み出し、そのディジタルデータを内部のD/Aコンバータによりアナログ信号に変換すると共に、ローパスフィルタを介して、一定電圧を基準電位(0レベル)としたアナログ信号(交流信号)を増幅回路29に出力する。増幅回路29は、音源IC27から出力されたアナログ信号を増幅してスピーカ30に出力し、スピーカ30は入力されたアナログ信号を音に変換して警報音を発報する。   The sound source IC 27 reads an alarm sound relating to the address instructed from the microcomputer 10 from the memory, converts the digital data into an analog signal by an internal D / A converter, and applies a constant voltage to a reference potential (via a low-pass filter). 0 level) analog signal (AC signal) is output to the amplifier circuit 29. The amplifier circuit 29 amplifies the analog signal output from the sound source IC 27 and outputs the amplified analog signal to the speaker 30. The speaker 30 converts the input analog signal into sound and issues an alarm sound.

また、音源IC27からのアナログ信号は、不動作時は音源IC27のGNDレベルと同電位を出力し、音源IC27の動作時には基準電位を出力する。これは、無発報状態のときにノイズによる雑音を発報するのを防止した機能であり、前記基準電位は、音源IC27の外付けの抵抗等により警報器の設計者が任意の値に設計することが可能になっている。発報処理はこのようなものとなる。   The analog signal from the sound source IC 27 outputs the same potential as the GND level of the sound source IC 27 when not operating, and outputs the reference potential when the sound source IC 27 operates. This is a function that prevents the noise due to the noise from being reported in the non-reporting state, and the reference potential is designed to an arbitrary value by the alarm designer by the external resistance of the sound source IC 27 or the like. It is possible to do. The notification processing is like this.

このような警報器のマイクロコンピュータ10は、駆動条件、入力条件、または、作動条件という予め記憶された設定条件データを不揮発性メモリ28から読み出して条件を設定している。また、不揮発性メモリ28として、詳しくは、EEPROM(Electrically Erasable Programmable Read-Only Memory)を使用しており、マイクロコンピュータ10は、新たな設定条件データを書き込むことが可能である。   The microcomputer 10 of such an alarm device sets conditions by reading preset condition data such as driving conditions, input conditions, or operating conditions from the nonvolatile memory 28. Further, in detail, an EEPROM (Electrically Erasable Programmable Read-Only Memory) is used as the nonvolatile memory 28, and the microcomputer 10 can write new setting condition data.

次に、マイクロコンピュータ10と不揮発性メモリ28との通信の詳細を説明する。本形態では、図2に示すように、マイクロコンピュータ10と不揮発性メモリ28は、4線式シリアル通信を行っている。
マイクロコンピュータ10は、動作制御信号、クロック信号、および、データ出力信号1の3つの信号を出力する。
不揮発性メモリ28は、データ出力信号2を出力する。
Next, details of communication between the microcomputer 10 and the nonvolatile memory 28 will be described. In this embodiment, as shown in FIG. 2, the microcomputer 10 and the nonvolatile memory 28 perform four-wire serial communication.
The microcomputer 10 outputs three signals: an operation control signal, a clock signal, and a data output signal 1.
The nonvolatile memory 28 outputs the data output signal 2.

マイクロコンピュータ10からの動作制御信号は、不揮発性メモリ28の動作/待機を制御するための信号である。
また、マイクロコンピュータ10からのクロック信号は、マイクロコンピュータ10と不揮発性メモリ28の各種通信との同期をとるための信号である。
また、マイクロコンピュータ10からのデータ出力信号1は、不揮発性メモリ28の動作内容を表す命令信号、さらに必要な場合には不揮発性メモリ28に書き込むデータを出力するデータ信号を含む信号である。命令信号は、詳しくは、数ビットの信号であって、不揮発性メモリ28に、データ出力、データ入力、データ消去などを実行させる信号となる。データ信号は通信されるデータのシリアル信号である。
不揮発性メモリ28からのデータ出力信号2はデータ信号であって、不揮発性メモリ28から読み出されたデータのシリアル信号である。
The operation control signal from the microcomputer 10 is a signal for controlling the operation / standby of the nonvolatile memory 28.
The clock signal from the microcomputer 10 is a signal for synchronizing the microcomputer 10 and various communications between the nonvolatile memory 28.
The data output signal 1 from the microcomputer 10 is a signal including a command signal representing the operation content of the nonvolatile memory 28 and a data signal for outputting data to be written to the nonvolatile memory 28 when necessary. Specifically, the command signal is a signal of several bits, and is a signal that causes the nonvolatile memory 28 to execute data output, data input, data erasure, and the like. The data signal is a serial signal of data to be communicated.
The data output signal 2 from the nonvolatile memory 28 is a data signal and is a serial signal of data read from the nonvolatile memory 28.

続いて通信について説明する。まず、不揮発性メモリ28からデータ読み出しを行う通信について説明する。図3Aは不揮発性メモリ28からデータを読み出す時のタイミングチャート(命令信号:不揮発性メモリ28からのデータ出力)である。
不揮発性メモリ28からのデータ読み出しの場合、
(1)マイクロコンピュータ10は、動作制御信号として動作可信号(ポートレベルH)を送信して不揮発性メモリ28を「動作」状態にする。
(2)マイクロコンピュータ10は、クロック信号に同期させてデータ出力信号1を出力する。このデータ出力信号1は不揮発性メモリ28のデータ出力を指示する命令信号である。
(3)不揮発性メモリ28は、マイクロコンピュータ10のクロック信号に同期させてデータ出力信号2を出力する。このデータ出力信号2は、マイクロコンピュータ10が読み出すデータ信号である。
(4)マイクロコンピュータ10は、不揮発性メモリ28からのデータ信号を受信完了後、動作制御信号として動作不可信号(ポートレベルL)を出力して不揮発性メモリ28を「待機」状態にする。(上記動作を「読み出し動作」と以後称する。)
Next, communication will be described. First, communication for reading data from the nonvolatile memory 28 will be described. FIG. 3A is a timing chart when reading data from the nonvolatile memory 28 (command signal: data output from the nonvolatile memory 28).
In the case of reading data from the nonvolatile memory 28,
(1) The microcomputer 10 transmits an operation enable signal (port level H) as an operation control signal to place the nonvolatile memory 28 in the “operation” state.
(2) The microcomputer 10 outputs the data output signal 1 in synchronization with the clock signal. The data output signal 1 is a command signal for instructing data output from the nonvolatile memory 28.
(3) The nonvolatile memory 28 outputs the data output signal 2 in synchronization with the clock signal of the microcomputer 10. This data output signal 2 is a data signal read by the microcomputer 10.
(4) After completing the reception of the data signal from the nonvolatile memory 28, the microcomputer 10 outputs an operation disable signal (port level L) as an operation control signal to put the nonvolatile memory 28 in the “standby” state. (The above operation is hereinafter referred to as “read operation”.)

続いて不揮発性メモリ28へデータ書き込みを行う通信について説明する。図3Bは不揮発性メモリ28からデータを書き込む時のタイミングチャート(命令信号:不揮発性メモリ28へのデータ入力)である。
不揮発性メモリ28へデータ書き込みの場合、
(1)マイクロコンピュータ10は、動作制御信号として動作可信号(ポートレベルH)を送信して不揮発性メモリ28を「動作」状態にする。
(2)マイクロコンピュータ10は、クロック信号に同期させてデータ出力信号1を出力する。データ信号1は、不揮発性メモリ28へのデータ入力を指示する命令信号と書き込むデータについてのデータ信号を含む。
(3)不揮発性メモリ28は、データ出力信号1のデータ信号から読みとったデータを不揮発性メモリ28に記憶する。
(4)マイクロコンピュータ10は、不揮発性メモリ28へデータ出力信号1を送信完了後、動作制御信号として動作不可信号(ポートレベルL)を出力して不揮発性メモリ28を「待機」状態にする。(上記動作を「書き込み動作」と以後称する。)
なお、この場合、データ出力信号2は出力されない。
Next, communication for writing data to the nonvolatile memory 28 will be described. FIG. 3B is a timing chart when writing data from the nonvolatile memory 28 (command signal: data input to the nonvolatile memory 28).
When writing data to the nonvolatile memory 28,
(1) The microcomputer 10 transmits an operation enable signal (port level H) as an operation control signal to place the nonvolatile memory 28 in the “operation” state.
(2) The microcomputer 10 outputs the data output signal 1 in synchronization with the clock signal. The data signal 1 includes a command signal for instructing data input to the nonvolatile memory 28 and a data signal for data to be written.
(3) The nonvolatile memory 28 stores the data read from the data signal of the data output signal 1 in the nonvolatile memory 28.
(4) After completing the transmission of the data output signal 1 to the nonvolatile memory 28, the microcomputer 10 outputs an operation disable signal (port level L) as an operation control signal to place the nonvolatile memory 28 in a “standby” state. (The above operation is hereinafter referred to as “write operation”.)
In this case, the data output signal 2 is not output.

本形態では、上記読み出し動作、書き込み動作の2動作を組み合わせて、不揮発性メモリ28からのデータ読み出し時の通信異常チェック、および、不揮発性メモリ28へのデータ書き込み時の通信異常チェックを行う。   In this embodiment, a combination of the read operation and the write operation described above is performed to check a communication error when reading data from the nonvolatile memory 28 and a communication error when writing data to the nonvolatile memory 28.

1)不揮発性メモリ28からのデータ読み出し時の通信異常チェック
不揮発性メモリ28からのデータ読み出し時の通信異常チェックは、電源投入時などにおいて、マイクロコンピュータ10が、設定条件データ(警報点データ、警報器動作モード設定データ)などを不揮発性メモリ28から読み出す時に行う。図4Aは読み出し時通信異常チェックのフローチャートである。
1) Communication error check when data is read from the non-volatile memory 28 The communication error check when data is read from the non-volatile memory 28 is performed when the microcomputer 10 sets the set condition data (alarm point data, alarm) This is performed when reading the device operation mode setting data) from the nonvolatile memory 28. FIG. 4A is a flowchart of a communication abnormality check during reading.

読み出し時通信異常チェックを開始し(図4AのステップS1)、変数Nに1を代入する(図4AのステップS2)。これは、通信異常時にチェックを3回行わせるためのカウンタとして機能する。続いて、データAを読み出すという第1回読み出し動作を行い(図4AのステップS3)、同じアドレスの同じデータであるデータBを読み出すという第2回読み出し動作を行い(図4AのステップS4)を行う。そしてデータA=データBであるか否かについて判断し(図4AのステップS5)、データA=データBである場合には(図4AのステップS5でYES)通信が正しく行われたと判断して読み出し時通信異常チェックを終了する(図4AのステップS6)。このように本形態では、「読み出し動作」を2回行い、読み出した2つのデータが合致するかどうか比較チェックしている。   A communication abnormality check at the time of reading is started (step S1 in FIG. 4A), and 1 is substituted into the variable N (step S2 in FIG. 4A). This functions as a counter for checking three times when communication is abnormal. Subsequently, a first read operation of reading data A is performed (step S3 in FIG. 4A), and a second read operation of reading data B that is the same data at the same address is performed (step S4 in FIG. 4A). Do. Then, it is determined whether or not data A = data B (step S5 in FIG. 4A). If data A = data B (YES in step S5 in FIG. 4A), it is determined that communication has been performed correctly. The communication abnormality check at the time of reading ends (step S6 in FIG. 4A). As described above, in this embodiment, the “read operation” is performed twice, and a comparison check is performed to determine whether the two read data match.

なお、データA=データBでない、つまり通信に異常があると判断した場合には(図4AのステップS5でNO)には、N≧3か否かを判定する(図4AのステップS7)。N≧3でない、つまりNが1でまだ通信異常チェックが一回目であるため、Nをインクリメントし、つまりN=2として(図4AのステップS9)、再度通信異常チェック(ステップS3,S4,S5)を行う。   If it is determined that data A = not data B, that is, communication is abnormal (NO in step S5 in FIG. 4A), it is determined whether N ≧ 3 (step S7 in FIG. 4A). Since N ≧ 3, that is, N is 1 and the communication abnormality check is still the first time, N is incremented, that is, N = 2 (step S9 in FIG. 4A), and the communication abnormality check is again performed (steps S3, S4, S5). )I do.

ここに再度の通信異常チェックにおいて読み出したデータAとデータBとが同一であると判断した場合(図4AのステップS5でYES)には、通信異常でないとして読み出し時通信異常チェックを終了するが(図4AのステップS6)、依然データA=データBでない場合(図4AのステップS5でNO)には、N≧3か否かを判定し(図4AのステップS7)、Nは2回目であるためNをインクリメントし、つまりN=3として再度通信異常チェック(ステップS3,S4,S5)を行う。そして、データA=データBである場合には(図4AのステップS5でYES)通信が正しく行われたと判断して読み出し時通信異常チェックを終了する(図4AのステップS6)。なお、依然データA=データBでない場合(図4AのステップS5でNO)には、N≧3か否かを判定し(図4AのステップS7)、Nは3回目であるためメモリ故障であると判断(図4AのステップS7でYES)して異常報知処理を行う(図4AのステップS8)。   If it is determined that the data A and the data B read in the communication abnormality check again are the same (YES in step S5 in FIG. 4A), the communication abnormality check at the time of reading is terminated because it is not a communication abnormality ( In step S6 in FIG. 4A, if data A = data B is still not satisfied (NO in step S5 in FIG. 4A), it is determined whether N ≧ 3 (step S7 in FIG. 4A), and N is the second time. Therefore, N is incremented, that is, N = 3, and the communication abnormality check (steps S3, S4, S5) is performed again. If data A = data B (YES in step S5 in FIG. 4A), it is determined that communication has been correctly performed, and the reading communication abnormality check is terminated (step S6 in FIG. 4A). If data A = data B is still not satisfied (NO in step S5 in FIG. 4A), it is determined whether N ≧ 3 (step S7 in FIG. 4A). Since N is the third time, a memory failure has occurred. Is determined (YES in step S7 in FIG. 4A), and abnormality notification processing is performed (step S8 in FIG. 4A).

このように読み出し時通信異常チェックでは、ステップS3,S4,S5による通信異常チェックを複数回(本形態では3回)繰り返し行い、複数回比較チェックを行っても、データ不一致の場合、不揮発性メモリ28の異常と判断するようにした。
これにより、一時的なノイズなどによる通信不具合で不揮発性メモリ28の異常と判断せずにチェックする事ができる。そして、マイクロコンピュータ10が不揮発性メモリ28の異常と判断したときは、マイクロコンピュータ10は音源IC27・増幅手段29を通じての音声報知、例えばランプ41〜44を全て光らせるという通常ではあり得ないようなLED表示、音声・表示用の外部出力の各回路動作を行うことで、使用者に光、音で警報器が異常であることを報知することができる。
As described above, in the communication abnormality check at the time of reading, the communication abnormality check in steps S3, S4, and S5 is repeated a plurality of times (in this embodiment, three times). Judged 28 abnormalities.
As a result, it is possible to check without determining that the non-volatile memory 28 is abnormal due to a communication failure due to temporary noise or the like. When the microcomputer 10 determines that the non-volatile memory 28 is abnormal, the microcomputer 10 causes an audio notification through the sound source IC 27 and the amplifying means 29, for example, an LED that cannot normally be emitted from the lamps 41 to 44. By performing each circuit operation of display, sound, and external output for display, it is possible to notify the user that the alarm device is abnormal with light and sound.

2)不揮発性メモリ28へのデータの書き込み時通信異常チェック
不揮発性メモリ28へのデータの書き込み時通信異常チェックは、マイクロコンピュータ10が、例えば図示しない操作部を通じて入力設定された設定条件データや監視により得た検出データなどを不揮発性メモリ28へ書き込む時に行う。図4Bは書き込み時通信異常チェックのフローチャートである。
2) Communication abnormality check at the time of writing data to the nonvolatile memory 28 The communication abnormality check at the time of writing data to the nonvolatile memory 28 is performed by the microcomputer 10 for setting condition data input or set through an operation unit (not shown) or monitoring. This is performed when the detection data obtained by the above is written into the nonvolatile memory 28. FIG. 4B is a flowchart of a communication abnormality check at the time of writing.

書き込み時通信異常チェックを開始し(図4BのステップS11)、データCを書き込むという書き込み動作を行い(図4BのステップS12)、直前に書き込まれたアドレスにアクセスしてデータDを読み出すという読み出し動作を行い(図4BのステップS13)、データC=データDであるか否かについて判断し、データC=データDである場合には(図4BのステップS14でYES)通信が正しく行われたと判断して書き込み時通信異常チェックを終了する(図4BのステップS15)。
なお、データC=データDでない、つまり通信に異常があると判断した場合には(図4BのステップS14でNO)には、メモリ故障であるとして異常報知処理を行う(図4BのステップS16)。
A communication abnormality check at the time of writing is started (step S11 in FIG. 4B), a writing operation of writing data C is performed (step S12 of FIG. 4B), and a reading operation of reading data D by accessing the address written immediately before (Step S13 in FIG. 4B), it is determined whether or not data C = data D. If data C = data D (YES in step S14 in FIG. 4B), it is determined that communication has been performed correctly. Then, the communication abnormality check at the time of writing is completed (step S15 in FIG. 4B).
If it is determined that data C = data D, that is, communication is abnormal (NO in step S14 in FIG. 4B), an abnormality notification process is performed as a memory failure (step S16 in FIG. 4B). .

このように書き込み時通信異常チェックでは、書き込み動作の実施後に読み出し動作を行い、不揮発性メモリ28に書き込むデータと書き込み後不揮発性メモリ28から読み出したデータが合致するかどうか判断している。データ不一致の場合、不揮発性メモリ28が異常であると判断する。
このように不揮発性メモリ28へのデータの書き込み時通信異常チェックは、マイクロコンピュータ10が、設定条件データ(警報器設定時などにおいて警報点データ、警報器動作モード設定データ)・検出データなどを不揮発性メモリ28へ書き込む時に行う。
As described above, in the communication abnormality check at the time of writing, a reading operation is performed after the writing operation is performed, and it is determined whether the data written to the nonvolatile memory 28 matches the data read from the nonvolatile memory 28 after writing. If the data does not match, it is determined that the nonvolatile memory 28 is abnormal.
As described above, the communication abnormality check at the time of writing data to the nonvolatile memory 28 is performed by the microcomputer 10 in which setting condition data (alarm point data, alarm device operation mode setting data at the time of alarm device setting, etc.), detection data, etc. are nonvolatile. This is done when writing to the memory 28.

このような書き込み時通信異常チェックによれば、マイクロコンピュータ10により不揮発性メモリ28との通信異常チェックを書き込む度に行って、不揮発性メモリ28の異常チェックを何度も繰り返し行うことができ、異常発生時には直ぐに検出できる。そして、マイクロコンピュータ10が不揮発性メモリ28が異常と判断したときは、マイクロコンピュータ10より音源IC27・増幅手段29を通じての音声発報、例えばランプ41〜44を全て光らせるという通常ではあり得ないようなLED表示、音声・表示用の外部出力の各回路動作を行うことで、使用者に光、音で警報器が異常であることを知らせることができる。   According to such a communication abnormality check at the time of writing, the abnormality check of the nonvolatile memory 28 can be repeated many times by performing the communication abnormality check with the nonvolatile memory 28 by the microcomputer 10 every time. It can be detected immediately when it occurs. When the microcomputer 10 determines that the nonvolatile memory 28 is abnormal, it is not normal that the microcomputer 10 illuminates all of the voice reports from the sound source IC 27 and the amplifying means 29, for example, the lamps 41 to 44. By performing each circuit operation of LED display and voice / display external output, it is possible to inform the user that the alarm is abnormal by light and sound.

また、本形態の警報器は書き込み時通信異常チェックと書き込み時通信異常チェックとを行うため、不揮発性メモリ28の通信異常チェックを確実に行え、また不揮発性メモリ28が異常である場合、光、音で使用者に警報器が異常であることを報知するため、使用者は警報器の動作異常が認識可能となる。なお、書き込み時通信異常チェック、または、書き込み時通信異常チェックの何れか一方のみのチェックを行うような警報器であっても通信異常チェックがなされて信頼性の高い警報器とすることができる。   In addition, since the alarm device of this embodiment performs a communication error check at the time of writing and a communication error check at the time of writing, the communication error check of the nonvolatile memory 28 can be performed reliably. If the nonvolatile memory 28 is abnormal, Since the alarm notifies the user that the alarm device is abnormal, the user can recognize the abnormal operation of the alarm device. Even if an alarm device checks only one of the communication abnormality check at the time of writing or the communication abnormality check at the time of writing, a communication abnormality check is performed and a highly reliable alarm device can be obtained.

以上本形態について説明した。本形態では電子機器の具体例として、マイクロコンピュータと不揮発性メモリとの通信異常が問題となる警報器を例に挙げて説明した。しかしながら、警報器以外の電子機器にも本発明による通信異常チェックを行って通信異常を早期検出しても良いことはいうまでもない。マイクロコンピュータとこれに接続される不揮発性メモリとを有するような電子機器であれば、本発明を適用できる。   The present embodiment has been described above. In this embodiment, as a specific example of the electronic device, an alarm device in which communication abnormality between the microcomputer and the nonvolatile memory is a problem has been described as an example. However, it goes without saying that the communication abnormality check according to the present invention may be performed on electronic devices other than the alarm device to detect the communication abnormality early. The present invention can be applied to any electronic device having a microcomputer and a nonvolatile memory connected to the microcomputer.

本発明の実施形態を示す回路ブロック図である。It is a circuit block diagram showing an embodiment of the present invention. マイクロコンピュータと不揮発性メモリとの通信の詳細を説明する説明図である。It is explanatory drawing explaining the detail of communication with a microcomputer and a non-volatile memory. 不揮発性メモリからデータを読み出す時のタイミングチャート(命令信号:不揮発性メモリからのデータ出力)である。It is a timing chart (command signal: data output from a non-volatile memory) when reading data from a non-volatile memory. 不揮発性メモリからデータを書き込む時のタイミングチャート(命令信号:不揮発性メモリへのデータ入力)である。It is a timing chart at the time of writing data from a non-volatile memory (command signal: data input to a non-volatile memory). 読み出し時通信異常チェックのフローチャートである。It is a flowchart of a communication abnormality check at the time of reading. 書き込み時通信異常チェックのフローチャートである。It is a flowchart of a communication abnormality check at the time of writing.

符号の説明Explanation of symbols

10:マイクロコンピュータ(マイコン)
11:センサ制御手段
12:都市ガス検出手段
13:COガス検出手段
14:火災(熱)検出手段
15:表示回路制御手段
16:外部出力制御手段
17:通信チェック手段
20:商用電源
21:電源回路
22:整流・平滑回路
23:ガスセンサ制御・監視回路
24:火災センサ制御・監視回路
25:有電圧出力回路
26:無電圧出力回路
27:音源IC
28:不揮発性メモリ
29:増幅回路
30:スピーカ
41:電源ランプ
42:不完全燃焼警報ランプ
43:ガス漏れ警報ランプ
44:火災警報ランプ
10: Microcomputer
11: Sensor control means 12: City gas detection means 13: CO gas detection means 14: Fire (heat) detection means 15: Display circuit control means 16: External output control means 17: Communication check means 20: Commercial power supply 21: Power supply circuit 22: Rectification / smoothing circuit 23: Gas sensor control / monitoring circuit 24: Fire sensor control / monitoring circuit 25: Voltage output circuit 26: No-voltage output circuit 27: Sound source IC
28: Non-volatile memory 29: Amplifier circuit 30: Speaker 41: Power lamp 42: Incomplete combustion alarm lamp 43: Gas leak alarm lamp 44: Fire alarm lamp

Claims (2)

不揮発性メモリと
イクロコンピュータと
前記マイクロコンピュータに接続される音源ICと、
前記音源ICの出力側に接続された増幅回路と、
前記増幅回路に接続されたスピーカと、
前記マイクロコンピュータに接続される表示回路制御手段と、
前記表示回路制御手段を介して制御される複数のランプと、
を備え、
前記不揮発性メモリと前記マイクロコンピュータとが各種データを通信するようになされ、ガス漏れ、不完全燃焼、または、火災の熱を検出して前記複数のランプおよび前記スピーカから発報して警報する警報器に係る電子機器において、
前記マイクロコンピュータは、
不揮発性メモリへデータを書き込む書き込み手段と、
書き込んだデータを不揮発性メモリから読み出す読み出し手段と、
書き込んだデータと読み出したデータが同じであるか否かを判断し、同じ場合に通信良好と、また、同じでない場合に通信不良と判断する判断手段と、
通信不良と判断された場合には前記音源ICおよび前記増幅回路を通じての異常時の音声報知、および、前記表示回路制御手段を通じて異常時のランプ表示を行って、使用者に音および光で警報器異常であることを報知する異常報知手段と、
を含む書き込み時通信異常チェック手段を有し、また、
不揮発性メモリから同じデータを二回読み出す読み出し手段と、
二回読み出したデータが同じであるか否かを判断し、同じ場合に通信良好と、また、同じでない場合に通信不良と判断する判断手段と、
通信不良と判断された場合には前記音源ICおよび前記増幅回路を通じての異常時の音声報知、および、前記表示回路制御手段を通じて異常時のランプ表示を行って、使用者に音および光で警報器異常であることを報知する異常報知手段と、
を含む読み出し時通信異常チェック手段を有することを特徴とする電子機器。
Non-volatile memory ;
And microcomputers,
A sound source IC connected to the microcomputer;
An amplifier circuit connected to the output side of the sound source IC;
A speaker connected to the amplifier circuit;
Display circuit control means connected to the microcomputer;
A plurality of lamps controlled via the display circuit control means;
With
The non-volatile memory and the microcomputer communicate various data, and detect an alarm from the plurality of lamps and the speaker by detecting the heat of gas leakage, incomplete combustion, or fire. In electronic equipment related to
The microcomputer is
Writing means for writing data to the nonvolatile memory;
A reading means for reading the written data from the nonvolatile memory;
A determination means for determining whether the written data and the read data are the same, and determining that the communication is good if they are the same, and that the communication is bad if they are not the same;
When it is determined that the communication is poor, an audio notification at the time of abnormality through the sound source IC and the amplifier circuit and a lamp display at the time of abnormality through the display circuit control means are performed, and an alarm device is provided to the user by sound and light. Abnormality notification means for notifying that there is an abnormality,
Have a communication error check means at the time of writing, including, also,
A reading means for reading the same data twice from the nonvolatile memory;
A determination means for determining whether or not the data read twice is the same, and determining that the communication is good if the data is the same, and that the communication is bad if the data is not the same;
When it is determined that the communication is poor, an audio notification at the time of abnormality through the sound source IC and the amplifier circuit and a lamp display at the time of abnormality through the display circuit control means are performed, and an alarm device is provided to the user by sound and light. Abnormality notification means for notifying that there is an abnormality,
An electronic apparatus, characterized in that have a read time of communication abnormality checking means including.
請求項1に記載の電子機器において、
前記読み出し時通信異常チェック手段は、
前記読み出し手段と前記判断手段とを複数回繰り返し機能させて、通信良否の判断を複数回行う手段であることを特徴とする電子機器
The electronic device according to claim 1,
The reading communication abnormality check means includes:
Said reading means and said determining means is a plurality of times repeatedly functions, electronic apparatus characterized means der Rukoto performed a plurality of times of communication quality judgment.
JP2004007528A 2004-01-15 2004-01-15 Electronics Expired - Fee Related JP4356926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004007528A JP4356926B2 (en) 2004-01-15 2004-01-15 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004007528A JP4356926B2 (en) 2004-01-15 2004-01-15 Electronics

Publications (2)

Publication Number Publication Date
JP2005202625A JP2005202625A (en) 2005-07-28
JP4356926B2 true JP4356926B2 (en) 2009-11-04

Family

ID=34821129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004007528A Expired - Fee Related JP4356926B2 (en) 2004-01-15 2004-01-15 Electronics

Country Status (1)

Country Link
JP (1) JP4356926B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5897866B2 (en) * 2011-10-20 2016-04-06 ローム株式会社 Power supply circuit and liquid crystal display device

Also Published As

Publication number Publication date
JP2005202625A (en) 2005-07-28

Similar Documents

Publication Publication Date Title
US20170330448A1 (en) Systems and methods for handling latent anomalies
US9157813B2 (en) Device for outputting temperature information
JP4356926B2 (en) Electronics
JP2010045514A (en) Radio communication device with monitoring function
JP4657339B2 (en) Fire alarm
JP2002074567A (en) Alarm device
JP2005202624A (en) Electronics
TWI762781B (en) Wireless programming method of tire pressure detector
JP2006085430A (en) Alarm device
JP5964878B2 (en) Alarm
CN110778514B (en) Fan control system
JP6868405B2 (en) Notification system
JP5059465B2 (en) Alarm and fire alarm
CN116577551A (en) SSD power consumption test method, system and electronic equipment
JP4728589B2 (en) Gas detector and alarm
CN114489727A (en) Data programming method and device, air conditioner controller, air conditioner and storage medium
CN106054064A (en) Fault detection method and fault detection device of air conditioner, and air conditioner
JP5185681B2 (en) Alarm device and control method thereof
CN115408278A (en) Firmware loading abnormity detection method, device, equipment and storage medium
CN120492046B (en) Server starting method, program product, storage medium, and server
JP2004127184A (en) Annunciator with function to detect failure
JP4083089B2 (en) P-type receiver
JP4540992B2 (en) Gas detector
US12326267B1 (en) HVAC controller and a method for testing HVAC systems
JP4572109B2 (en) Alarm

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080707

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20081117

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20081118

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20081118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090309

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090731

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4356926

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130814

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees