JP2010067130A - Watchdog timer circuit and electronic control device of gas stove - Google Patents

Watchdog timer circuit and electronic control device of gas stove Download PDF

Info

Publication number
JP2010067130A
JP2010067130A JP2008234448A JP2008234448A JP2010067130A JP 2010067130 A JP2010067130 A JP 2010067130A JP 2008234448 A JP2008234448 A JP 2008234448A JP 2008234448 A JP2008234448 A JP 2008234448A JP 2010067130 A JP2010067130 A JP 2010067130A
Authority
JP
Japan
Prior art keywords
circuit
delay sensitive
signal
input
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008234448A
Other languages
Japanese (ja)
Other versions
JP5353134B2 (en
Inventor
Takahiro Asami
隆弘 浅見
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.)
Mitsumi Electric Co Ltd
Original Assignee
Mitsumi 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 Mitsumi Electric Co Ltd filed Critical Mitsumi Electric Co Ltd
Priority to JP2008234448A priority Critical patent/JP5353134B2/en
Publication of JP2010067130A publication Critical patent/JP2010067130A/en
Application granted granted Critical
Publication of JP5353134B2 publication Critical patent/JP5353134B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a watchdog timer circuit for preventing any malfunction from occurring even when both of a positive noise pulse and a negative noise pulse are imposed on an input clock signal, and any noise bursts in the middle of a circuit. <P>SOLUTION: The pre-stage of a watchdog logic (15) includes: a first delay sensitive circuit (11) having an insensitive time at the rising of an input signal to which a clock signal with a prescribed frequency is input; a second delay sensitive circuit (12) having an insensitive time at the falling of the input signal to which the output signal of the first delay sensitive circuit is input; and a matching detection circuit (13) for detecting the logic matching of the output signal of the second delay sensitive circuit and the clock signal, and for, when the logic matching is detected, outputting a prescribed logic signal, wherein the insensitive time Td2 of the second delay sensitive circuit (12) is set to be longer than the insensitive time Td1 of the first delay sensitive circuit (11). <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、クロック信号を監視するウォッチドッグタイマ回路に関し、例えばガスコンロなど比較的大きな電磁ノイズが発生する機器の電子制御装置に適用して好適なウォッチドッグタイマ回路に関する。   The present invention relates to a watchdog timer circuit for monitoring a clock signal, and more particularly to a watchdog timer circuit suitable for application to an electronic control device of a device that generates relatively large electromagnetic noise such as a gas stove.

従来より、マイクロコンピュータを利用した電子制御システムにおいては、マイクロコンピュータの動作を監視し、異常発生時にフェールセーフ機能を働かせるために、ウォッチドッグタイマ回路が設けられている。ウォッチドッグタイマ回路は、正常な状態では監視期間よりも短い周期でプログラムにより繰り返しリセットされるが、プログラムの暴走等によりマイクロコンピュータの動作に異常が生じた場合にリセットされないことにより、警報(アラーム信号)を発生するように構成される。   2. Description of the Related Art Conventionally, in an electronic control system using a microcomputer, a watchdog timer circuit is provided to monitor the operation of the microcomputer and activate a fail-safe function when an abnormality occurs. Under normal conditions, the watchdog timer circuit is reset repeatedly by a program with a cycle shorter than the monitoring period. However, if a malfunction occurs in the microcomputer due to a program runaway, an alarm (alarm signal) ).

このようなウォッチドッグタイマ回路を備えた電子制御システムの一例としてガスコンロの制御装置がある。ガスコンロは点火回路(イグナイタ)を備えており、イグナイタによる放電の際に比較的大きな電磁ノイズが発生しそれによってマイクロコンピュータのプログラムの暴走するおそれがあり、それを防止するためである。ガスコンロの制御装置に設けるウォッチドッグタイマ回路において、入力信号(クロック信号)にノイズが入ったとしても誤動作を起こさないように工夫した発明として、特許文献1に記載されている発明がある。
特開2000−276378号公報
An example of an electronic control system equipped with such a watchdog timer circuit is a gas stove control device. This is because the gas stove has an ignition circuit (igniter), and a relatively large electromagnetic noise is generated at the time of discharge by the igniter, thereby possibly causing the microcomputer program to run out of control and preventing it. In a watchdog timer circuit provided in a gas stove control device, there is an invention described in Patent Document 1 as an invention devised so as not to cause a malfunction even if noise is included in an input signal (clock signal).
JP 2000-276378 A

特許文献1に記載されているウォッチドッグタイマ回路は、マイクロコンピュータから供給される周期的なクロック信号を監視するように構成されたもので、入力クロック信号にノイズパルスがのった場合に、誤動作を起こさないようにノイズを除去する積分回路を設けている。しかしながら、上記回路は、クロック信号に正のノイズパルスのった場合にはノイズを除去することができるが、入力信号がハイレベルのときに負のノイズパルスがのった場合や回路の途中にノイズが飛び込んだ場合には、誤動作を防止することができないという課題があることが分かった。   The watchdog timer circuit described in Patent Document 1 is configured to monitor a periodic clock signal supplied from a microcomputer, and malfunctions when a noise pulse is applied to the input clock signal. An integration circuit for removing noise is provided so as not to cause noise. However, the above circuit can remove noise when a positive noise pulse is present in the clock signal. However, when a negative noise pulse is present when the input signal is high level, It has been found that there is a problem that malfunction cannot be prevented when noise enters.

この発明は上記のような課題に着目してなされたもので、その目的とするところは、入力クロック信号に正のノイズパルスがのっている場合にも負のノイズパルスがのっている場合にも、誤動作を起こすことのないウォッチドッグタイマ回路を提供することにある。   The present invention has been made paying attention to the above-mentioned problems, and the object of the present invention is when the input clock signal has a positive noise pulse or a negative noise pulse. Another object is to provide a watchdog timer circuit that does not cause malfunction.

この発明の他の目的は、回路の途中にノイズが飛び込んでも、誤動作を起こすことのないウォッチドッグタイマ回路を提供することにある。   Another object of the present invention is to provide a watchdog timer circuit which does not cause a malfunction even if noise jumps in the middle of the circuit.

本発明は、上記目的を達成するため、入力信号の立ち上がりに不感応時間を有し所定周期のクロック信号が入力される第1の遅延感応回路と、入力信号の立ち下がりに不感応時間を有し前記第1の遅延感応回路の出力信号が入力される第2の遅延感応回路と、該第2の遅延感応回路の出力信号と前記クロック信号の論理の一致を検出し、一致した場合に所定の論理の信号を出力する一致検出回路と、周期的な入力によって内部が周期的にリセットされ、周期的な入力がなくなるとアラーム信号を出力するウォッチドッグロジックと、を設け、前記第2の遅延感応回路の不感応時間は前記第1の遅延感応回路の不感応時間よりも長く設定し、前記一致検出回路の出力に応じた信号を前記ウォッチドッグロジックに周期的な入力として供給するように構成したものである。   In order to achieve the above object, the present invention has a first delay sensitive circuit that has a dead time at the rising edge of an input signal and receives a clock signal having a predetermined period, and has a dead time at the falling edge of the input signal. The second delay sensitive circuit to which the output signal of the first delay sensitive circuit is input, and the logic coincidence of the output signal of the second delay sensitive circuit and the clock signal are detected. A coincidence detection circuit that outputs a signal of the above logic, and a watchdog logic that periodically resets the interior by a periodic input and outputs an alarm signal when the periodic input disappears, and the second delay The insensitive time of the sensitive circuit is set longer than the insensitive time of the first delay sensitive circuit, and a signal corresponding to the output of the coincidence detecting circuit is supplied to the watchdog logic as a periodic input. It is those that you have configured.

上記のような構成によれば、入力クロック信号に正のノイズパルスがのっている場合には立ち上がりに不感応時間を有する第1の遅延感応回路によってノイズが除去され、入力クロック信号に負のノイズパルスがのっている場合には立ち下がりに不感応時間を有する第2の遅延感応回路によってノイズが除去されて、出力信号にはノイズが現われなくなる。   According to the above configuration, when a positive noise pulse is present on the input clock signal, the noise is removed by the first delay sensitive circuit having the insensitive time at the rising edge, and the input clock signal is negative. When a noise pulse is present, the noise is removed by the second delay sensitive circuit having a dead time at the falling edge, and the noise does not appear in the output signal.

また、望ましくは、前記一致検出回路の後段に、該一致検出回路の出力からノイズを除去するノイズ除去回路を設け、該ノイズ除去回路を通して前記一致検出回路の出力が前記ウォッチドッグロジックに入力されるように構成する。これにより、回路の途中に飛び込んだノイズを除去することができる。   Preferably, a noise removal circuit for removing noise from the output of the coincidence detection circuit is provided at a subsequent stage of the coincidence detection circuit, and the output of the coincidence detection circuit is input to the watchdog logic through the noise removal circuit. Configure as follows. Thereby, noise jumping in the middle of the circuit can be removed.

さらに、望ましくは、前記第2の遅延感応回路は、前記第1の遅延感応回路の出力を反転するインバータと、入力信号の立ち上がりに不感応時間を有する前記第1の遅延感応回路と同一構成を有し前記インバータの出力が入力される回路とから構成する。これにより回路設計が容易となる。   Further preferably, the second delay sensitive circuit has the same configuration as the inverter that inverts the output of the first delay sensitive circuit and the first delay sensitive circuit that has a dead time at the rising edge of the input signal. And a circuit to which the output of the inverter is input. This facilitates circuit design.

また、前記遅延感応回路には、入力信号を反転するインバータと、電源電圧端子と接地点との間に直列に接続された定電流源および容量素子と、前記インバータの出力信号をベース端子に受けるエミッタ接地のトランジスタと、を備え、前記トランジスタのコレクタが前記定電流源と容量素子との接続ノードに結合されている回路を用いる。これにより、比較的簡素な回路で不感応時間を有する遅延感応回路を実現することができる。   The delay sensitive circuit includes an inverter that inverts an input signal, a constant current source and a capacitor connected in series between a power supply voltage terminal and a ground point, and an output signal of the inverter received at a base terminal. And a grounded-emitter transistor, and a circuit in which a collector of the transistor is coupled to a connection node between the constant current source and the capacitor is used. Thereby, it is possible to realize a delay sensitive circuit having a dead time with a relatively simple circuit.

本発明に従うと、入力クロック信号に正のノイズパルスおよび負のノイズパルスの両方がのっている場合や回路の途中にノイズが飛び込んだ場合にも、誤動作を起こすことのないウォッチドッグタイマ回路を実現することができるという効果がある。   According to the present invention, there is provided a watchdog timer circuit that does not cause a malfunction even when both a positive noise pulse and a negative noise pulse are present on the input clock signal or when noise jumps in the middle of the circuit. There is an effect that it can be realized.

以下、本発明の好適な実施の形態を図面に基づいて説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings.

図1は、本発明に係るウォッチドッグタイマ回路の一実施形態の概略構成を示す。   FIG. 1 shows a schematic configuration of an embodiment of a watchdog timer circuit according to the present invention.

本実施形態のウォッチドッグタイマ回路は、入力端子INにマイクロコンピュータなどから供給される例えば1kHzのような周期的なクロック信号CLKが入力される第1の遅延感応回路11と、第1の遅延感応回路11の出力信号が入力される第2の遅延感応回路12と、第2の遅延感応回路12の出力信号と入力端子INに入力されるクロック信号CLKとの論理の一致を検出し、一致した場合に所定の論理の信号を出力する一致検出回路13と、ノイズ除去回路14と、ウォッチドッグロジック15とから構成されている。特に限定されるものではないが、これらの各回路は、一つの半導体チップ上に半導体集積回路として形成される。   The watchdog timer circuit of the present embodiment includes a first delay sensitive circuit 11 in which a periodic clock signal CLK such as 1 kHz supplied from a microcomputer or the like is input to an input terminal IN, and a first delay sensitive circuit. A logic match between the second delay sensitive circuit 12 to which the output signal of the circuit 11 is input and the output signal of the second delay sensitive circuit 12 and the clock signal CLK input to the input terminal IN are detected and matched. In this case, it is composed of a coincidence detection circuit 13 that outputs a signal of a predetermined logic, a noise removal circuit 14, and a watchdog logic 15. Although not particularly limited, each of these circuits is formed as a semiconductor integrated circuit on one semiconductor chip.

上記第1の遅延感応回路11は、入力信号の立ち下がりには直ちに感応し、入力信号の立ち上がりには所定の時間Td1(例えば100μs)だけ遅れて感応するように構成された回路である。上記第2の遅延感応回路12は、入力信号(第1の遅延感応回路の出力)の立ち上がりには直ちに感応し、入力信号の立ち下がりには所定の時間Td2(例えば200μs)だけ遅れて感応するように構成された回路である。本実施形態では、上記不感応遅延時間Td1,Td2は、Td2>Td1となるように設定される。第1の遅延感応回路11と第2の遅延感応回路12との間にインバータを介在させることで、第2の遅延感応回路12に、入力信号の立ち上がりに遅れて感応する第1の遅延感応回路11と同一構成の回路を用いることができる。   The first delay sensitive circuit 11 is configured to be immediately sensitive to the falling edge of the input signal and to be sensitive to the rising edge of the input signal with a delay of a predetermined time Td1 (for example, 100 μs). The second delay sensitive circuit 12 immediately responds to the rising edge of the input signal (output of the first delay sensitive circuit) and senses the falling edge of the input signal with a delay of a predetermined time Td2 (for example, 200 μs). This is a circuit configured as described above. In the present embodiment, the insensitive delay times Td1 and Td2 are set so that Td2> Td1. By interposing an inverter between the first delay sensitive circuit 11 and the second delay sensitive circuit 12, the first delay sensitive circuit is sensitive to the second delay sensitive circuit 12 with a delay from the rising of the input signal. 11 can be used.

図2には、上記実施形態のウォッチドッグタイマ回路の具体的な回路構成例が示されている。   FIG. 2 shows a specific circuit configuration example of the watchdog timer circuit of the above embodiment.

図2に示されているように、上記第1の遅延感応回路11は、入力信号(クロック信号CLK)を反転するインバータINV1と、該インバータINV1の出力がベース端子に入力されるエミッタ接地のバイポーラ・トランジスタQ1と、電源電圧端子VCCと接地点との間に直列に接続された定電流源CS1および容量C1とを備え、トランジスタQ1のコレクタ端子が定電流源CS1と容量C1との接続ノードN1に結合されている。遅延時間Td1は、定電流源CS1の電流値と容量C1の容量値とによって決定される。   As shown in FIG. 2, the first delay sensitive circuit 11 includes an inverter INV1 that inverts an input signal (clock signal CLK), and an emitter-grounded bipolar in which an output of the inverter INV1 is input to a base terminal. A transistor Q1, a constant current source CS1 and a capacitor C1 connected in series between the power supply voltage terminal VCC and the ground point, and a collector node of the transistor Q1 is a connection node N1 between the constant current source CS1 and the capacitor C1. Is bound to. The delay time Td1 is determined by the current value of the constant current source CS1 and the capacitance value of the capacitor C1.

上記第2の遅延感応回路12は、第1の遅延感応回路11の出力信号を反転するインバータINV2,INV3と、該インバータINV3の出力がベース端子に入力されるエミッタ接地のnpnバイポーラ・トランジスタQ2と、電源電圧端子VCCと接地点との間に直列に接続された定電流源CS2および容量C2とを備え、トランジスタQ2のコレクタ端子が定電流源CS2と容量C2との接続ノードN2に結合されている。インバータINV3とバイポーラ・トランジスタQ2と定電流源CS2および容量C2からなる回路部分は第1の遅延感応回路11と同一構成である。   The second delay sensitive circuit 12 includes inverters INV2 and INV3 that invert the output signal of the first delay sensitive circuit 11, and an emitter-grounded npn bipolar transistor Q2 whose output is input to the base terminal. A constant current source CS2 and a capacitor C2 connected in series between the power supply voltage terminal VCC and the ground point, and a collector terminal of the transistor Q2 is coupled to a connection node N2 between the constant current source CS2 and the capacitor C2. Yes. The circuit portion including the inverter INV3, the bipolar transistor Q2, the constant current source CS2, and the capacitor C2 has the same configuration as that of the first delay sensitive circuit 11.

このように、入力信号の立ち上がりに遅れて感応する第1の遅延感応回路11と同一構成の回路の前段に、インバータINV2を設けることで入力信号の立ち下がりに遅れて感応する第2の遅延感応回路12が実現される。インバータINV2を設ける代わりに、第1の遅延感応回路11を上下逆転した構成を有しnpnトランジスタの代わりにpnpトランジスタを使用した回路を、入力信号の立ち下がりに遅れて感応する第2の遅延感応回路として使用しても良い。   As described above, the inverter INV2 is provided in the preceding stage of the circuit having the same configuration as the first delay sensitive circuit 11 that is sensitive to the rise of the input signal, thereby providing the second delay sensitive that is sensitive to the fall of the input signal. Circuit 12 is implemented. Instead of providing the inverter INV2, a second delay sensitive circuit that has a configuration in which the first delay sensitive circuit 11 is turned upside down and uses a pnp transistor instead of the npn transistor is sensitive to the falling edge of the input signal. It may be used as a circuit.

第2の遅延感応回路12の不感応時間Td2は、定電流源CS2の電流値と容量C2の容量値とによって決定される。従って、Td2>Td1の条件は、定電流源の電流値と容量の容量値のいずれか一方、あるいは両方を適宜設定することで満たすことができる。例えば、C1=C2とする場合には、I1>I2となるように設定し、I1=I2とする場合には、C1<C2となるように設定すればよい。   The insensitive time Td2 of the second delay sensitive circuit 12 is determined by the current value of the constant current source CS2 and the capacitance value of the capacitor C2. Therefore, the condition of Td2> Td1 can be satisfied by appropriately setting one or both of the current value of the constant current source and the capacitance value of the capacitor. For example, when C1 = C2, I1> I2 is set, and when I1 = I2, C1 <C2 is set.

一致検出回路13は例えばNOR論理ゲート回路により構成され、ノイズ除去回路14は容量素子C3によって構成されている。トランジスタとしてバイポーラ・トランジスタを使用した論理ゲート回路としては、例えば図3に示すように差動トランジスタQ3,Q4と出力トランジスタQ5、定電流源CS3などで構成された回路を使用することができる。   The coincidence detection circuit 13 is composed of, for example, a NOR logic gate circuit, and the noise removal circuit 14 is composed of a capacitive element C3. As a logic gate circuit using a bipolar transistor as a transistor, for example, as shown in FIG. 3, a circuit composed of differential transistors Q3 and Q4, an output transistor Q5, a constant current source CS3, and the like can be used.

また、ウォッチドッグロジック15は、図4に示すように、D型フリップフロップFF1と、FF1の出力がベース端子に入力されるエミッタ接地のnpnバイポーラ・トランジスタQ6と、電源電圧端子VCCと接地点との間に直列に接続された定電流源CS5および容量C4と、定電流源CS5と容量C4との接続ノードN3の電位V3が入力されるコンパレータCMPとを備え、ノードN3と接地点との間に抵抗R1とトランジスタQ6が直列に接続されている。   As shown in FIG. 4, the watchdog logic 15 includes a D-type flip-flop FF1, an npn bipolar transistor Q6 having a grounded emitter and an output of the FF1 input to the base terminal, a power supply voltage terminal VCC, and a ground point. A constant current source CS5 and a capacitor C4 connected in series, and a comparator CMP to which a potential V3 of a connection node N3 between the constant current source CS5 and the capacitor C4 is input, and between the node N3 and the ground point A resistor R1 and a transistor Q6 are connected in series.

コンパレータCMPは、2つの比較値Vth1,Vth2(Vth1<Vth2)を有しており、入力電圧がVth1よりも下がると上記フリップフロップFF1をリセットさせる信号を出力し、入力電圧がVth2を越えるとアラーム信号ALMを出力するように構成されている。   The comparator CMP has two comparison values Vth1 and Vth2 (Vth1 <Vth2). When the input voltage falls below Vth1, the comparator CMP outputs a signal for resetting the flip-flop FF1, and when the input voltage exceeds Vth2, an alarm is issued. The signal ALM is configured to be output.

次に、図2の回路の作用について説明する。   Next, the operation of the circuit of FIG. 2 will be described.

図5(A)に示すように、入力信号として方形波のクロック信号CLKが入力されると、第1の遅延感応回路11内のノードN1の電位V1は、図5(B)のようにクロックCLKとほぼ同相で、立ち下がりは急峻に、立ち上がりは緩やかに変化する。一方、第2の遅延感応回路12内のノードN2の電位V2は、図5(C)のようにクロックCLKと逆相で、CKLの立ち上がりよりもTd1だけ遅れて急峻に立ち下がるとともに、CKLが立ち下がるとV1の立ち上がりよりもさらに緩やかに立ち上がるように変化する。   As shown in FIG. 5A, when a square-wave clock signal CLK is input as an input signal, the potential V1 of the node N1 in the first delay sensitive circuit 11 is changed to a clock as shown in FIG. Almost in phase with CLK, the falling edge changes sharply and the rising edge changes slowly. On the other hand, the potential V2 of the node N2 in the second delay sensitive circuit 12 has a phase opposite to that of the clock CLK, as shown in FIG. 5C, and falls sharply with a delay of Td1 from the rise of CKL. When falling, it changes so as to rise more gently than the rising of V1.

その結果、クロックCLKとノードN2の電位V2のロウレベルが重なる期間T3だけ論理ゲート回路13の出力がハイレベルとなり、フリップフロップFF1がセットされてQ6がオンされてノードN3の電位V3が下がり始め、コンパレータCMPの比較値Vth1よりも低くなるとフリップフロップFF1がリセットされる。すると、Q6がオフされてノードN3の電位V3が上がり始める(T4の期間)。   As a result, the output of the logic gate circuit 13 becomes a high level only during the period T3 when the clock CLK and the potential V2 of the node N2 overlap, the flip-flop FF1 is set, Q6 is turned on, and the potential V3 of the node N3 starts to decrease. When the value becomes lower than the comparison value Vth1 of the comparator CMP, the flip-flop FF1 is reset. Then, Q6 is turned off and the potential V3 of the node N3 starts to rise (period T4).

クロックCLKの周期が正常であると、V3がコンパレータCMPの比較値Vth2に達する前に、論理ゲート回路13の出力(図3(D))がハイレベルとなってノードN3の電位V3が下がるが、クロックCLKが入って来なくなると、ノードN3の電位V3が図5(E)に破線で示すように、上がり続けて比較値Vth2に達する。すると、コンパレータCMPがアラーム信号ALMを出力してマイクロコンピュータをリセットしたり、ガスコンロの制御ではガス制御弁を開閉するためのアクチュエータをオフして、バネの復帰力等によって弁が閉じられてフェールセーフが働くように機能する。   If the cycle of the clock CLK is normal, the output of the logic gate circuit 13 (FIG. 3D) becomes high level and the potential V3 of the node N3 decreases before V3 reaches the comparison value Vth2 of the comparator CMP. When the clock CLK does not enter, the potential V3 of the node N3 continues to rise and reaches the comparison value Vth2 as indicated by a broken line in FIG. Then, the comparator CMP outputs an alarm signal ALM to reset the microcomputer, or in the control of the gas stove, the actuator for opening and closing the gas control valve is turned off, and the valve is closed by the return force of the spring, etc. Works to work.

入力信号であるクロックCLK(ロウレベルのとき)に、図6(A)にように、正のノイズパルスがのっていた場合、そのノイズのパルス幅が第1の遅延感応回路11の感応遅延時間Td1よりも小さいと、図6(B)にように、第1の遅延感応回路11内のノードN1の電位V1にはノイズの影響が出ない。そのため、図6(D)にように、論理ゲート回路13の出力にもノイズの影響が出ないので、後段のウォッチドッグロジック15が誤動作することもない。   When a positive noise pulse is present on the input signal clock CLK (at low level) as shown in FIG. 6A, the noise pulse width is the sensitive delay time of the first delay sensitive circuit 11. If it is smaller than Td1, as shown in FIG. 6B, the potential V1 of the node N1 in the first delay sensitive circuit 11 is not affected by noise. Therefore, as shown in FIG. 6D, the output of the logic gate circuit 13 is not affected by noise, so that the watchdog logic 15 in the subsequent stage does not malfunction.

また、入力信号であるクロックCLK(ハイレベルのとき)に、図7(A)にように、負のノイズパルスがのっていた場合、そのノイズは第1の遅延感応回路11で増幅されて第2の遅延感応回路12へ伝達されるが、そのパルス幅が第2の遅延感応回路12の感応遅延時間Td2よりも小さいと、図7(C)にように、第2の遅延感応回路12内のノードN2の電位V2にはノイズの影響が出ない。そのため、図7(D)にように、論理ゲート回路13の出力にもノイズの影響が出ないので、後段のウォッチドッグロジック15が誤動作することもない。また、Td1<td2に設定されているため、第1の遅延感応回路11で除去されず増幅された負のパルスノイズが第2の遅延感応回路12で除去されるため、入力に含まれる正のパルスノイズと負のパルスノイズに対する感度が大きく異なることがない。   Further, when a negative noise pulse is applied to the input signal clock CLK (at the high level) as shown in FIG. 7A, the noise is amplified by the first delay sensitive circuit 11. When the pulse width is smaller than the sensitive delay time Td2 of the second delay sensitive circuit 12, the second delay sensitive circuit 12 is transmitted to the second delay sensitive circuit 12 as shown in FIG. The potential V2 of the node N2 is not affected by noise. Therefore, as shown in FIG. 7D, the output of the logic gate circuit 13 is not affected by noise, so that the subsequent watchdog logic 15 does not malfunction. Further, since Td1 <td2 is set, the negative pulse noise amplified without being removed by the first delay sensitive circuit 11 is removed by the second delay sensitive circuit 12, so that the positive delay included in the input is included. The sensitivity to pulse noise and negative pulse noise does not differ greatly.

さらに、入力信号であるクロックCLKがロウレベルの期間に、図8(B)にように、第2の遅延感応回路12内のトランジスタQ2のベースにノイズが飛び込んだ場合、図8(C)のように、第2の遅延感応回路12内のノードN2の電位V2に増大されたノイズが現われるが、後段の論理ゲート回路13がV2と入力信号との論理積をとるためノイズが吸収され、図8(D)にように、論理ゲート回路13の出力に飛び込みノイズの影響が出なくなる。   Further, in the case where noise jumps into the base of the transistor Q2 in the second delay sensitive circuit 12 as shown in FIG. 8B during the period when the clock CLK that is the input signal is low level, as shown in FIG. 8C. The increased noise appears in the potential V2 of the node N2 in the second delay sensitive circuit 12, but the noise is absorbed because the subsequent logic gate circuit 13 takes the logical product of V2 and the input signal. As shown in (D), the influence of the noise does not appear in the output of the logic gate circuit 13.

以上本発明者によってなされた発明を実施例に基づき具体的に説明したが、本発明は上記実施例に限定されるものではない。例えば、前記実施形態では、一致検出回路13の後段にノイズ除去回路14を設けたものを示したが、このノイズ除去回路14は省略することも可能である。回路の途中に飛び込むノイズは、例えば回路の周囲に電磁シールドなどを設けて遮断することが可能である一方、入力信号にのるノイズは電磁シールドでは充分に遮断することが困難であるためである。   Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above embodiments. For example, in the above-described embodiment, the noise removal circuit 14 is provided after the coincidence detection circuit 13, but the noise removal circuit 14 may be omitted. This is because noise that jumps in the middle of a circuit can be blocked by providing, for example, an electromagnetic shield around the circuit, whereas noise on an input signal is difficult to sufficiently block by an electromagnetic shield. .

以上の説明では主として本発明者によってなされた発明をその背景となった利用分野であるガスコンロの電子制御装置に設けられるウォッチドッグタイマに適用した場合を説明したが、この発明はそれに限定されるものでなく、食材を調理するレンジなどノイズが発生し易い電子機器の制御システムや車載用のエンジン制御システムなどに利用することができる。   In the above description, the case where the invention made mainly by the present inventor is applied to the watchdog timer provided in the electronic control device of the gas stove which is the field of use which has been the background has been described. However, the present invention is not limited thereto. In addition, the present invention can be used for a control system of an electronic device in which noise is likely to be generated such as a cooking range of food, an in-vehicle engine control system, and the like.

本発明に係るウォッチドッグタイマ回路の一実施形態の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of one Embodiment of the watchdog timer circuit based on this invention. 実施形態のウォッチドッグタイマ回路の具体的な回路構成例を示す回路図である。It is a circuit diagram which shows the specific circuit structural example of the watchdog timer circuit of embodiment. 一致検出回路としての論理ゲート回路の具体例を示す回路図である。It is a circuit diagram which shows the specific example of the logic gate circuit as a coincidence detection circuit. ウォッチドッグロジックの具体例を示す回路構成図である。It is a circuit block diagram which shows the specific example of watchdog logic. 入力信号として方形波のクロック信号が入力された場合におけるウォッチドッグタイマ回路内部のノードの電位の変化を示すタイムチャートである。5 is a time chart showing a change in potential of a node inside a watchdog timer circuit when a square wave clock signal is inputted as an input signal. 入力信号に正のノイズがのっている場合におけるウォッチドッグタイマ回路内部のノードの電位の変化を示すタイムチャートである。It is a time chart which shows the change of the electric potential of the node in a watchdog timer circuit in case the positive noise has carried in the input signal. 入力信号に負のノイズがのっている場合におけるウォッチドッグタイマ回路内部のノードの電位の変化を示すタイムチャートである。It is a time chart which shows the change of the electric potential of the node inside a watchdog timer circuit when the negative noise is carried in the input signal. 第2の遅延感応回路にノイズが飛び込んだ場合におけるウォッチドッグタイマ回路内部のノードの電位の変化を示すタイムチャートである。It is a time chart which shows the change of the electric potential of the node inside a watchdog timer circuit when noise jumps into the 2nd delay sensitive circuit.

符号の説明Explanation of symbols

11 第1の遅延感応回路
12 第2の遅延感応回路
13 一致検出回路(論理ゲート回路)
14 ノイズ除去回路
15 ウォッチドッグロジック
11 first delay sensitive circuit 12 second delay sensitive circuit 13 coincidence detection circuit (logic gate circuit)
14 Noise reduction circuit 15 Watchdog logic

Claims (5)

入力信号の立ち上がりに不感応時間を有し所定周期のクロック信号が入力される第1の遅延感応回路と、
入力信号の立ち下がりに不感応時間を有し前記第1の遅延感応回路の出力信号が入力される第2の遅延感応回路と、
該第2の遅延感応回路の出力信号と前記クロック信号の論理の一致を検出し、一致した場合に所定の論理の信号を出力する一致検出回路と、
周期的な入力によって内部が周期的にリセットされ、周期的な入力がなくなるとアラーム信号を出力するウォッチドッグロジックと、
を備え、前記第2の遅延感応回路の不感応時間が前記第1の遅延感応回路の不感応時間よりも長く設定され、前記一致検出回路の出力に応じた信号が前記ウォッチドッグロジックに周期的な入力として供給されることを特徴とするウォッチドッグタイマ回路。
A first delay sensitive circuit having a dead time at the rising edge of the input signal and receiving a clock signal having a predetermined period;
A second delay sensitive circuit having a dead time at the falling edge of the input signal and receiving the output signal of the first delay sensitive circuit;
A coincidence detection circuit that detects a logic match between the output signal of the second delay sensitive circuit and the clock signal, and outputs a signal of a predetermined logic when they match,
A watchdog logic that periodically resets the interior by periodic input and outputs an alarm signal when there is no periodic input;
The delay insensitive time of the second delay sensitive circuit is set longer than the insensitive time of the first delay sensitive circuit, and a signal corresponding to the output of the coincidence detection circuit is periodically sent to the watchdog logic. Watchdog timer circuit, characterized in that it is supplied as a simple input.
前記一致検出回路の後段に、該一致検出回路の出力からノイズを除去するノイズ除去回路が設けられ、該ノイズ除去回路を通して前記一致検出回路の出力が前記ウォッチドッグロジックに入力されていることを特徴とする請求項1に記載のウォッチドッグタイマ回路。   A noise removal circuit for removing noise from the output of the coincidence detection circuit is provided at a subsequent stage of the coincidence detection circuit, and the output of the coincidence detection circuit is input to the watchdog logic through the noise removal circuit. The watchdog timer circuit according to claim 1. 前記第2の遅延感応回路は、前記第1の遅延感応回路の出力を反転するインバータと、入力信号の立ち上がりに不感応時間を有する前記第1の遅延感応回路と同一構成を有し前記インバータの出力が入力される回路とからなることを特徴とする請求項1または2に記載のウォッチドッグタイマ回路。   The second delay sensitive circuit has the same configuration as the inverter that inverts the output of the first delay sensitive circuit and the first delay sensitive circuit that has a dead time at the rising edge of the input signal. 3. The watch dog timer circuit according to claim 1, further comprising a circuit to which an output is input. 前記遅延感応回路は、入力信号を反転するインバータと、電源電圧端子と接地点との間に直列に接続された定電流源および容量素子と、前記インバータの出力信号をベース端子に受けるエミッタ接地のトランジスタと、を備え、前記トランジスタのコレクタが前記定電流源と容量素子との接続ノードに結合されていることを特徴とする請求項1〜3のいずれかに記載のウォッチドッグタイマ回路。   The delay sensitive circuit includes an inverter that inverts an input signal, a constant current source and a capacitive element connected in series between a power supply voltage terminal and a ground point, and a grounded emitter that receives an output signal of the inverter at a base terminal. The watchdog timer circuit according to claim 1, further comprising a transistor, wherein a collector of the transistor is coupled to a connection node between the constant current source and the capacitor. 請求項1〜4のいずれかに記載のウォッチドッグタイマ回路と、前記クロック信号をウォッチドッグタイマ回路へ与えるマイクロコンピュータを有し、前記ウォッチドッグタイマ回路の出力が所定の状態でなくなることによってガス制御弁を閉じるフェールセーフ機能が働くことを特徴とするガスコンロの電子制御装置。   5. A gas control system comprising: the watchdog timer circuit according to claim 1; and a microcomputer that supplies the clock signal to the watchdog timer circuit, and the output of the watchdog timer circuit is not in a predetermined state. An electronic control device for a gas stove characterized by a fail-safe function for closing a valve.
JP2008234448A 2008-09-12 2008-09-12 Watchdog timer circuit and gas stove electronic control device Expired - Fee Related JP5353134B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008234448A JP5353134B2 (en) 2008-09-12 2008-09-12 Watchdog timer circuit and gas stove electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008234448A JP5353134B2 (en) 2008-09-12 2008-09-12 Watchdog timer circuit and gas stove electronic control device

Publications (2)

Publication Number Publication Date
JP2010067130A true JP2010067130A (en) 2010-03-25
JP5353134B2 JP5353134B2 (en) 2013-11-27

Family

ID=42192644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008234448A Expired - Fee Related JP5353134B2 (en) 2008-09-12 2008-09-12 Watchdog timer circuit and gas stove electronic control device

Country Status (1)

Country Link
JP (1) JP5353134B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110657458A (en) * 2018-06-28 2020-01-07 三美电机株式会社 Electronic control device, semiconductor integrated circuit device for electronic control, and gas range

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374151A (en) * 2001-06-14 2002-12-26 Mitsumi Electric Co Ltd Pulse generating circuit
JP2005198240A (en) * 2003-12-09 2005-07-21 Mitsubishi Electric Corp Semiconductor circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374151A (en) * 2001-06-14 2002-12-26 Mitsumi Electric Co Ltd Pulse generating circuit
JP2005198240A (en) * 2003-12-09 2005-07-21 Mitsubishi Electric Corp Semiconductor circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110657458A (en) * 2018-06-28 2020-01-07 三美电机株式会社 Electronic control device, semiconductor integrated circuit device for electronic control, and gas range
JP2020003128A (en) * 2018-06-28 2020-01-09 ミツミ電機株式会社 Electronic controller, semiconductor integrated circuit device for electronic control, and gas stove
JP7116304B2 (en) 2018-06-28 2022-08-10 ミツミ電機株式会社 Electronic control devices, semiconductor integrated circuit devices for electronic control, and gas stoves
CN110657458B (en) * 2018-06-28 2023-07-25 三美电机株式会社 Electronic control device, semiconductor integrated circuit device for electronic control, and gas stove

Also Published As

Publication number Publication date
JP5353134B2 (en) 2013-11-27

Similar Documents

Publication Publication Date Title
US9778711B2 (en) Control device and reset system utilizing the same
JP5852537B2 (en) Semiconductor device
TW202002446A (en) Microcontroller unit and protection method for EFT events
JP5353134B2 (en) Watchdog timer circuit and gas stove electronic control device
US6281723B1 (en) Device and method for power-on/power-off checking of an integrated circuit
CN111817695B (en) Power-on reset circuit capable of preventing power supply from shaking
CN112202433A (en) Power-on reset circuit
JP2008047990A (en) Short-time signal detection circuit
US6731139B1 (en) Short circuit protection apparatus with self-clocking self-clearing latch
JP2004198302A (en) Disconnection detecting circuit
JP2006112889A (en) Power supply voltage detection circuit
JP2010109571A (en) Signal processor having latch circuit
JP2011176398A (en) Oscillation stop detection circuit
JP5856461B2 (en) Data reading device
KR100367739B1 (en) Noise canceller
KR960025734A (en) Refresh control method of semiconductor device and device therefor
JP2006277558A (en) Apparatus and method for detecting signal change
JP2000105616A (en) Electronic equipment protecting circuit
JP5034844B2 (en) Electronics
CN113872579A (en) On-chip power-on reset circuit
JP3774038B2 (en) Power-on reset signal generation circuit
JP3774038B6 (en) Power-on reset signal generation circuit
JP3406418B2 (en) Power failure interrupt signal detection circuit
JPS6124848B2 (en)
JPS5838434Y2 (en) Initial state setting circuit for digital equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130313

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130812

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees