JP2020177357A - Watchdog timer - Google Patents

Watchdog timer Download PDF

Info

Publication number
JP2020177357A
JP2020177357A JP2019077993A JP2019077993A JP2020177357A JP 2020177357 A JP2020177357 A JP 2020177357A JP 2019077993 A JP2019077993 A JP 2019077993A JP 2019077993 A JP2019077993 A JP 2019077993A JP 2020177357 A JP2020177357 A JP 2020177357A
Authority
JP
Japan
Prior art keywords
signal
frequency abnormality
monitoring
pin
abnormality detection
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
JP2019077993A
Other languages
Japanese (ja)
Other versions
JP7304731B2 (en
Inventor
考幸 須藤
Takayuki Sudo
考幸 須藤
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.)
Rohm Co Ltd
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2019077993A priority Critical patent/JP7304731B2/en
Publication of JP2020177357A publication Critical patent/JP2020177357A/en
Application granted granted Critical
Publication of JP7304731B2 publication Critical patent/JP7304731B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

To appropriately detect frequency abnormality.SOLUTION: A watchdog timer 173 includes a first frequency abnormality detection part 173a of a trigger type, a second frequency abnormality detection part 173b of a communication interruption detection type, and a third frequency abnormality detection part 173c of a Q&A type, and selectively uses the respective frequency abnormality detection parts 173a to 173c. For example, the watchdog timer 173 switches the respective frequency abnormality detection parts 173a to 173c in accordance with a state of a system. Specifically, the first frequency abnormality detection part 173a is prioritized when the system is in a first state, the second frequency abnormality detection part 173b is prioritized when the system is in a second state of a load lighter than in the first state, and the third frequency abnormality detection part 173c is prioritized when the system is in a third state of a load much lighter than in the second state.SELECTED DRAWING: Figure 5

Description

本明細書中に開示されている発明は、監視装置(特にこれに用いられるウォッチドッグタイマ)に関する。 The invention disclosed herein relates to a monitoring device (particularly the watchdog timer used herein).

近年、各種の電圧やクロック信号などを監視してそれらの異常検出を行う監視装置(いわゆる監視IC)が様々なアプリケーションで用いられている。 In recent years, monitoring devices (so-called monitoring ICs) that monitor various voltages and clock signals and detect their abnormalities have been used in various applications.

なお、上記に関連する従来技術の一例としては、特許文献1を挙げることができる。 As an example of the prior art related to the above, Patent Document 1 can be mentioned.

国際公開第2013/084277号International Publication No. 2013/08427

しかしながら、上記従来の監視装置では、ウォッチドッグタイマの周波数異常検出動作について、さらなる改善の余地があった。 However, in the above-mentioned conventional monitoring device, there is room for further improvement in the frequency abnormality detection operation of the watchdog timer.

特に、近年では、車載用ICに対して、ISO26262(自動車の電気/電子に関する機能安全についての国際規格)を順守することが求められており、車載用の監視ICについても、フェイルセーフを念頭に置いた信頼性設計が重要となっている。 In particular, in recent years, in-vehicle ICs have been required to comply with ISO 26262 (international standard for functional safety related to automobile electricity / electronics), and in-vehicle monitoring ICs are also required to comply with fail-safe. The reliability design placed is important.

本明細書中に開示されている発明は、本願の発明者により見出された上記課題に鑑み、適切に周波数異常を検出することのできるウォッチドッグタイマ、及び、これを用いた監視装置を提供することを目的とする。 The invention disclosed in the present specification provides a watchdog timer capable of appropriately detecting a frequency abnormality in view of the above-mentioned problems found by the inventor of the present application, and a monitoring device using the watchdog timer. The purpose is to do.

本明細書中に開示されているウォッチドッグタイマは、トリガ型の第1周波数異常検出部と、通信断絶検知型の第2周波数異常検出部と、Q&A型の第3周波数異常検出部と、を有し、各周波数異常検出部が選択的に用いられる構成(第1の構成)とされている。 The watchdog timer disclosed in the present specification includes a trigger type first frequency abnormality detection unit, a communication interruption detection type second frequency abnormality detection unit, and a Q & A type third frequency abnormality detection unit. It has a configuration in which each frequency abnormality detection unit is selectively used (first configuration).

なお、上記第1の構成から成るウォッチドッグタイマは、システムの状態に応じて各周波数異常検出部が切り替えられる構成(第2の構成)にするとよい。 The watchdog timer having the first configuration may have a configuration (second configuration) in which each frequency abnormality detection unit can be switched according to the state of the system.

例えば、上記第2の構成から成るウォッチドッグタイマは、前記システムが第1状態であるときには前記第1周波数異常検出部が優先され、前記システムが前記第1状態よりも軽負荷の第2状態であるときには前記第2周波数異常検出部が優先され、前記システムが前記第2状態よりもさらに軽負荷の第3状態であるときには前記第3周波数異常検出部が優先される構成(第3の構成)にするとよい。 For example, in the watchdog timer having the second configuration, when the system is in the first state, the first frequency abnormality detection unit is prioritized, and the system is in the second state with a lighter load than the first state. In some cases, the second frequency abnormality detection unit is prioritized, and when the system is in the third state with a lighter load than the second state, the third frequency abnormality detection unit is prioritized (third configuration). It is good to set it to.

また、上記第1の構成から成るウォッチドッグタイマは、ユーザ設定に応じて各周波数異常検出部が切り替えられる構成(第4の構成)としてもよい。 Further, the watchdog timer having the first configuration may have a configuration (fourth configuration) in which each frequency abnormality detection unit is switched according to the user setting.

なお、上記第1〜第4いずれかの構成から成るウォッチドッグタイマにおいて、前記第1周波数異常検出部は、例えば、周期的なパルスエッジを監視して周波数異常を検出する構成(第5の構成)にするとよい。 In the watchdog timer having any of the first to fourth configurations, the first frequency abnormality detection unit monitors, for example, a periodic pulse edge to detect a frequency abnormality (fifth configuration). ).

また、上記第1〜第5いずれかの構成から成るウォッチドッグタイマにおいて、前記第2周波数異常検出部は、例えば、周期的な通信アクセスを監視して周波数異常を検出する構成(第6の構成)にするとよい。 Further, in the watchdog timer having any of the first to fifth configurations, the second frequency abnormality detection unit monitors, for example, periodic communication access to detect a frequency abnormality (sixth configuration). ).

また、上記第1〜第6いずれかの構成から成るウォッチドッグタイマにおいて、前記第3周波数異常検出部は、例えば、周期的なQ&Aイベントを監視して周波数異常を検出する構成(第7の構成)にするとよい。 Further, in the watchdog timer having any of the first to sixth configurations, the third frequency abnormality detection unit may, for example, monitor a periodic Q & A event to detect a frequency abnormality (seventh configuration). ).

また、本明細書中に開示されている監視装置は、上記第1〜第7いずれかの構成から成るウォッチドッグタイマを有する構成(第8の構成)とされている。 Further, the monitoring device disclosed in the present specification has a configuration (eighth configuration) having a watchdog timer having any of the above-mentioned first to seventh configurations.

また、本明細書中に開示されている電子機器は、上記第8の構成から成る監視装置を有する構成(第9の構成)とされている。 Further, the electronic device disclosed in the present specification is configured to have a monitoring device having the eighth configuration (nineth configuration).

また、本明細書中に開示されている車両は、上記第9の構成から成る電子機器を有する構成(第10の構成)とされている。 Further, the vehicle disclosed in the present specification has a configuration having an electronic device having the ninth configuration (tenth configuration).

本明細書中に開示されている発明によれば、適切に周波数異常を検出することのできるウォッチドッグタイマ、及び、これを用いた監視装置を提供することが可能となる。 According to the invention disclosed in the present specification, it is possible to provide a watchdog timer capable of appropriately detecting a frequency abnormality and a monitoring device using the watchdog timer.

電子機器の全体構成を示す図Diagram showing the overall configuration of electronic devices 監視ICのパッケージ外観を示す図The figure which shows the package appearance of the monitoring IC 監視ICのピン配置を示す図The figure which shows the pin arrangement of a monitoring IC 監視ICの第1実施形態を示す図The figure which shows the 1st Embodiment of a monitoring IC 監視ICの第2実施形態(ウォッチドッグタイマの詳細)を示す図The figure which shows the 2nd Embodiment (details of a watchdog timer) of a monitoring IC 周波数異常検出動作の動的切替制御の一例を示すタイミングチャートTiming chart showing an example of dynamic switching control of frequency abnormality detection operation トリガ型WDT動作の一例を示すタイミングチャートTiming chart showing an example of trigger type WDT operation 通信断絶検知型WDT動作の一例を示すタイミングチャートTiming chart showing an example of communication interruption detection type WDT operation Q&A型WDT動作の一例を示すタイミングチャートTiming chart showing an example of Q & A type WDT operation Q&A型WDT動作の一例を示すフローチャートFlow chart showing an example of Q & A type WDT operation 第3周波数異常検出部の一構成例を示す図The figure which shows one configuration example of the 3rd frequency abnormality detection part クエスチョン信号生成部の一構成例を示す図The figure which shows one configuration example of the question signal generation part アンサー信号生成部の一構成例を示す図The figure which shows one configuration example of the answer signal generation part 車両の外観図External view of the vehicle

<電子機器>
図1は、電子機器の全体構成を示す図である。本構成例の電子機器1は、監視IC100と、パワーマネジメントIC200と、マイコン300と、を有する。また、電子機器1は、上記の半導体装置100〜300に外付けされるディスクリート部品として、抵抗R1〜R10及びR12〜R16と、キャパシタC1及びC2と、を有する。
<Electronic equipment>
FIG. 1 is a diagram showing an overall configuration of an electronic device. The electronic device 1 of this configuration example includes a monitoring IC 100, a power management IC 200, and a microcomputer 300. Further, the electronic device 1 has resistors R1 to R10 and R12 to R16, and capacitors C1 and C2 as discrete components externally attached to the semiconductor devices 100 to 300.

監視IC100は、パワーマネジメントIC200から電源電圧VDD(=出力電圧VO1)の供給を受けて動作する半導体集積回路装置であり、パワーマネジメントIC200の各種出力電圧とマイコン300の出力周波数をそれぞれ監視してそれらの異常検出を行う。なお、監視IC100は、IC外部との電気的な接続を確立する手段として、複数の外部端子(VDDピン、GNDピン、CTピン、MISOピン、MOSIピン、SCLKピン、XSCSピン、WDINピン、DIN1〜DIN4ピン、PG1〜PG4ピン、XRSTINピン、及び、XRSTOUTピン)を備えている。 The monitoring IC 100 is a semiconductor integrated circuit device that operates by receiving a power supply voltage VDD (= output voltage VO1) from the power management IC 200, and monitors various output voltages of the power management IC 200 and output frequencies of the microcomputer 300, respectively. Abnormality detection is performed. The monitoring IC 100 has a plurality of external terminals (VDD pin, GND pin, CT pin, MISO pin, MOSI pin, SCLK pin, XSCS pin, WDIN pin, DIN1) as a means for establishing an electrical connection with the outside of the IC. ~ DIN4 pin, PG1 to PG4 pin, XRSTIN pin, and XRSTOUT pin).

パワーマネジメントIC200は、バッテリ電圧VBATの供給を受けて動作する半導体集積回路装置であり、複数の出力電圧VO1〜VO5を生成して電子機器1の各部に供給する。なお、多出力のパワーマネジメントIC200に代えて、単出力のDC/DCコンバータやLDO[low drop-out]レギュレータなどを複数用いることも可能である。 The power management IC 200 is a semiconductor integrated circuit device that operates by being supplied with a battery voltage VBAT, and generates a plurality of output voltages VO1 to VO5 and supplies them to each part of the electronic device 1. Instead of the multi-output power management IC 200, it is also possible to use a plurality of single-output DC / DC converters, LDO [low drop-out] regulators, and the like.

マイコン300は、パワーマネジメントIC200から電源電圧VDD(=出力電圧VO1)の供給を受けて動作する半導体集積回路装置であり、監視IC100やパワーマネジメントIC200を含む電子機器1全体の動作を統括的に制御する。 The microcomputer 300 is a semiconductor integrated circuit device that operates by receiving a power supply voltage VDD (= output voltage VO1) from the power management IC 200, and comprehensively controls the operation of the entire electronic device 1 including the monitoring IC 100 and the power management IC 200. To do.

なお、マイコン300は、監視IC100から入力されるリセット出力信号XRSTOUTによってリセットされる。より具体的に述べると、マイコン300は、リセット出力信号XRSTOUTがローレベルであるときにリセット状態(=ディセーブル状態)となり、リセット出力信号XRSTOUTがハイレベルであるときにリセット解除状態(=イネーブル状態)となる。 The microcomputer 300 is reset by the reset output signal XRSTOUT input from the monitoring IC 100. More specifically, the microcomputer 300 is in the reset state (= disabled state) when the reset output signal XRSTOUT is at the low level, and is in the reset release state (= enabled state) when the reset output signal XRSTOUT is at the high level. ).

また、マイコン300は、監視IC100から入力されるパワーグッド信号PGx(ただしx=1,2,3,4であり、以下も同様)の論理レベルに応じて、パワーマネジメントIC200の出力電圧VOxが正常であるか否かを判定する機能を備えている。より具体的に述べると、マイコン300は、パワーグッド信号PGxがハイレベルであるときに出力電圧VOxが正常であると判定し、パワーグッド信号PGxがローレベルであるときに出力電圧VOxが異常(例えば過電圧異常または低電圧異常)であると判定する。 Further, in the microcomputer 300, the output voltage VOx of the power management IC 200 is normal according to the logic level of the power good signal PGx (however, x = 1, 2, 3, 4 and the same applies hereinafter) input from the monitoring IC 100. It has a function to judge whether or not it is. More specifically, the microcomputer 300 determines that the output voltage VOx is normal when the power good signal PGx is at a high level, and the output voltage VOx is abnormal (when the power good signal PGx is at a low level). For example, it is determined that the overvoltage abnormality or the undervoltage abnormality).

また、マイコン300は、監視IC100のWDINピンに対して、ウォッチドッグ入力信号WDIN(=数十Hzのリセットパルス信号)を出力する機能を備えている。 Further, the microcomputer 300 has a function of outputting a watchdog input signal WDIN (= reset pulse signal of several tens of Hz) to the WDIN pin of the monitoring IC 100.

また、監視IC100とマイコン300は、それぞれ、マイコン300をマスタとし、監視IC100をスレーブとして、SPI[serial peripheral interface]バスを介した双方向通信を行う機能を備えている。例えば、マイコン300は、SPI通信による監視IC100のレジスタ制御により、オシレータの発振周波数制御やウォッチドッグタイマのイネーブル制御を行う機能を備えている。また、マイコン300は、ウォッチドッグイネーブルレジスタについて、自らが書き込みを命じた設定値と監視IC100から読み出した格納値との一致判定を行う機能も備えている。 Further, the monitoring IC 100 and the microcomputer 300 each have a function of bidirectional communication via the SPI [serial peripheral interface] bus, with the microcomputer 300 as the master and the monitoring IC 100 as the slave. For example, the microcomputer 300 has a function of controlling the oscillation frequency of the oscillator and enabling the watchdog timer by controlling the register of the monitoring IC 100 by SPI communication. Further, the microcomputer 300 also has a function of determining a match between the set value ordered to be written by the watchdog enable register and the stored value read from the monitoring IC 100.

抵抗R1及びR2は、出力電圧VO1の出力端と接地端との間に直列接続されており、出力電圧VO1の分圧回路として機能する。なお、抵抗R1及びR2相互間の接続ノード(=分圧回路の出力端)は、監視IC100のXRSTINピンに接続されている。 The resistors R1 and R2 are connected in series between the output end and the ground end of the output voltage VO1 and function as a voltage dividing circuit of the output voltage VO1. The connection node between the resistors R1 and R2 (= the output end of the voltage divider circuit) is connected to the XRSTIN pin of the monitoring IC 100.

抵抗R3及びR4は、出力電圧VO2の出力端と接地端との間に直列接続されており、出力電圧VO2の分圧回路として機能する。なお、抵抗R3及びR4相互間の接続ノード(=分圧回路の出力端)は、監視IC100のDIN1ピンに接続されている。 The resistors R3 and R4 are connected in series between the output end and the ground end of the output voltage VO2, and function as a voltage dividing circuit of the output voltage VO2. The connection node between the resistors R3 and R4 (= the output end of the voltage divider circuit) is connected to the DIN1 pin of the monitoring IC 100.

抵抗R5及びR6は、出力電圧VO3の出力端と接地端との間に直列接続されており、出力電圧VO3の分圧回路として機能する。なお、抵抗R5及びR6相互間の接続ノード(=分圧回路の出力端)は、監視IC100のDIN2ピンに接続されている。 The resistors R5 and R6 are connected in series between the output end and the ground end of the output voltage VO3, and function as a voltage dividing circuit of the output voltage VO3. The connection node between the resistors R5 and R6 (= the output end of the voltage divider circuit) is connected to the DIN2 pin of the monitoring IC 100.

抵抗R7及びR8は、出力電圧VO4の出力端と接地端との間に直列接続されており、出力電圧VO4の分圧回路として機能する。なお、抵抗R7及びR8相互間の接続ノード(=分圧回路の出力端)は、監視IC100のDIN3ピンに接続されている。 The resistors R7 and R8 are connected in series between the output end and the ground end of the output voltage VO4, and function as a voltage dividing circuit of the output voltage VO4. The connection node between the resistors R7 and R8 (= the output end of the voltage divider circuit) is connected to the DIN3 pin of the monitoring IC 100.

抵抗R9及びR10は、出力電圧VO5の出力端と接地端の間に直列接続されており、出力電圧VO5の分圧回路として機能する。なお、抵抗R9及びR10相互間の接続ノード(=分圧回路の出力端)は、監視IC100のDIN4ピンに接続されている。 The resistors R9 and R10 are connected in series between the output end and the ground end of the output voltage VO5, and function as a voltage dividing circuit of the output voltage VO5. The connection node between the resistors R9 and R10 (= the output end of the voltage divider circuit) is connected to the DIN4 pin of the monitoring IC 100.

抵抗R12は、監視IC100のXRSTOUTピンと電源端の間に接続されており、監視IC100からマイコン300へのリセット出力信号XRSTOUTを電源電圧VDDに吊り上げるためのプルアップ抵抗として機能する。 The resistor R12 is connected between the XRSTOUT pin of the monitoring IC 100 and the power supply end, and functions as a pull-up resistor for lifting the reset output signal XRSTOUT from the monitoring IC 100 to the microcomputer 300 to the power supply voltage VDD.

抵抗R13は、監視IC100のPG1ピンと電源端との間に接続されており、監視IC100からマイコン300へのパワーグッド信号PG1を電源電圧VDDに吊り上げるためのプルアップ抵抗として機能する。 The resistor R13 is connected between the PG1 pin of the monitoring IC 100 and the power supply end, and functions as a pull-up resistor for lifting the power good signal PG1 from the monitoring IC 100 to the microcomputer 300 to the power supply voltage VDD.

抵抗R14は、監視IC100のPG2ピンと電源端との間に接続されており、監視IC100からマイコン300へのパワーグッド信号PG2を電源電圧VDDに吊り上げるためのプルアップ抵抗として機能する。 The resistor R14 is connected between the PG2 pin of the monitoring IC 100 and the power supply end, and functions as a pull-up resistor for lifting the power good signal PG2 from the monitoring IC 100 to the microcomputer 300 to the power supply voltage VDD.

抵抗R15は、監視IC100のPG3ピンと電源端との間に接続されており、監視IC100からマイコン300へのパワーグッド信号PG3を電源電圧VDDに吊り上げるためのプルアップ抵抗として機能する。 The resistor R15 is connected between the PG3 pin of the monitoring IC 100 and the power supply end, and functions as a pull-up resistor for lifting the power good signal PG3 from the monitoring IC 100 to the microcomputer 300 to the power supply voltage VDD.

抵抗R16は、監視IC100のPG4ピンと電源端との間に接続されており、監視IC100からマイコン300へのパワーグッド信号PG4を電源電圧VDDに吊り上げるためのプルアップ抵抗として機能する。 The resistor R16 is connected between the PG4 pin of the monitoring IC 100 and the power supply end, and functions as a pull-up resistor for lifting the power good signal PG4 from the monitoring IC 100 to the microcomputer 300 to the power supply voltage VDD.

キャパシタC1は、監視IC100のVDDピンと接地端との間に接続されており、出力電圧VO1(=電源電圧VDD)の平滑手段として機能する。 The capacitor C1 is connected between the VDD pin of the monitoring IC 100 and the ground end, and functions as a smoothing means for the output voltage VO1 (= power supply voltage VDD).

キャパシタC2は、監視IC100のCTピンと接地端との間に接続されており、リセット時間設定素子として機能する。 The capacitor C2 is connected between the CT pin of the monitoring IC 100 and the ground end, and functions as a reset time setting element.

<監視IC(パッケージ)>
図2は、監視IC100のパッケージ外観(トップ面及びボトム面)を示す図である。本図で示すように、監視IC100のパッケージとしては、例えばVQFN[very thin quad flat Non-leaded]パッケージを採用するとよい。
<Monitoring IC (package)>
FIG. 2 is a diagram showing the package appearance (top surface and bottom surface) of the monitoring IC 100. As shown in this figure, for example, a VQFN [very thin quad flat non-leaded] package may be adopted as the package of the monitoring IC 100.

より具体的に述べると、監視IC100は、平面視矩形状の樹脂封止体101を持ち、そのボトム面には、樹脂封止体101から突出することなく、各辺5本ずつ計20本の外部端子102が露出されている。このようなノンリードのVQFNパッケージであれば、リードを持つパッケージ(QFP[quad flat package]など)と比べて、その実装面積を縮小することが可能となる。 More specifically, the monitoring IC 100 has a resin encapsulant 101 having a rectangular shape in a plan view, and on its bottom surface, there are a total of 20 resin encapsulants, 5 on each side without protruding from the resin encapsulant 101. The external terminal 102 is exposed. With such a non-lead VQFN package, it is possible to reduce the mounting area as compared with a package having leads (QFP [quad flat package] or the like).

なお、樹脂封止体101には、そのボトム面がトップ面よりも若干小さくなるように、側面からボトム面に向けたテーパが付けられている。また、外部端子102は、樹脂封止体101のボトム面から側面にかけて露出されている。このような構成であれば、プリント配線基板(不図示)への実装作業を容易かつ確実に実施することができる。 The resin sealant 101 is tapered from the side surface to the bottom surface so that the bottom surface thereof is slightly smaller than the top surface. Further, the external terminal 102 is exposed from the bottom surface to the side surface of the resin sealing body 101. With such a configuration, mounting work on a printed wiring board (not shown) can be easily and reliably performed.

また、樹脂封止体101のボトム面には、監視IC100の半導体チップ(不図示)を搭載するアイランドの裏面(=チップ搭載面の裏側)が放熱パッド103として露出されている。このような構成であれば、監視IC100の放熱性を高めることが可能となる。 Further, on the bottom surface of the resin sealing body 101, the back surface (= the back side of the chip mounting surface) of the island on which the semiconductor chip (not shown) of the monitoring IC 100 is mounted is exposed as the heat dissipation pad 103. With such a configuration, it is possible to improve the heat dissipation of the monitoring IC 100.

なお、放熱パッド103の四隅のうち、少なくとも一つには、切欠部103aを設けておくとよい。このような構成とすることにより、樹脂封止体101との密着性を高めて、放熱パッド103(=アイランド)の脱落を防止することが可能となる。 It is preferable that at least one of the four corners of the heat radiating pad 103 is provided with a notch 103a. With such a configuration, it is possible to improve the adhesion with the resin sealing body 101 and prevent the heat radiating pad 103 (= island) from falling off.

<監視IC(ピン配置)>
図3は、監視IC100のピン配置(20ピンのVQFN採用時)を示す図である。監視IC100の第1辺(本図下辺)には、本図の左から右に向けて、5本の外部端子(1ピン〜5ピン)が順に並べられている。1ピンは、電源端子(VDDピン)である。2ピンは、不使用端子(NC[non-connection]ピン)である。3ピンは、接地端子(GNDピン)である。4ピンは、不使用端子(NCピン)である。5ピンは、リセット時間設定端子(CTピン)である。
<Monitoring IC (pin arrangement)>
FIG. 3 is a diagram showing a pin arrangement of the monitoring IC 100 (when 20-pin VQFN is adopted). On the first side (lower side of this figure) of the monitoring IC 100, five external terminals (pins 1 to 5) are arranged in order from left to right in this figure. Pin 1 is a power supply terminal (VDD pin). Pin 2 is an unused terminal (NC [non-connection] pin). Pin 3 is a ground terminal (GND pin). Pin 4 is an unused terminal (NC pin). Pin 5 is a reset time setting terminal (CT pin).

監視IC100の第2辺(本図右辺)には、本図の下から上に向けて、5本の外部端子(6ピン〜10ピン)が順に並べられている。6ピンは、SPIデータ出力端子(MIMOピン)である。7ピンは、SPIデータ入力端子(MOSIピン)である。8ピンは、SPIクロック端子(SCLKピン)である。9ピンは、SPIチップセレクト端子(XSCSピン)である。10ピンは、ウォッチドッグ入力端子(WDINピン)である。 On the second side (right side of this figure) of the monitoring IC 100, five external terminals (6 pins to 10 pins) are arranged in order from the bottom to the top of this figure. Pin 6 is an SPI data output terminal (MIMO pin). Pin 7 is an SPI data input terminal (MOSI pin). Pin 8 is an SPI clock terminal (SCLK pin). Pin 9 is an SPI chip select terminal (XSCS pin). Pin 10 is a watchdog input terminal (WDIN pin).

監視IC100の第3辺(本図上辺)には、本図の右から左に向けて、5本の外部端子(11ピン〜15ピン)が順に並べられている。11ピンは、第1監視入力ピン(DIN1ピン)である。12ピンは、第1パワーグッド出力端子(PG1ピン)である。13ピンは、第2監視入力ピン(DIN2ピン)である。14ピンは、第2パワーグッド出力端子(PG2ピン)である。15ピンは、第3監視入力ピン(DIN3ピン)である。 On the third side (upper side of this figure) of the monitoring IC 100, five external terminals (pins 11 to 15) are arranged in order from right to left in this figure. Pin 11 is a first monitoring input pin (DIN1 pin). Pin 12 is the first power good output terminal (PG1 pin). Pin 13 is a second monitoring input pin (DIN2 pin). Pin 14 is a second power good output terminal (PG2 pin). Pin 15 is a third monitoring input pin (DIN3 pin).

監視IC100の第4辺(本図左辺)には、本図の上から下に向けて、5本の外部端子(16ピン〜20ピン)が順に並べられている。16ピンは、第3パワーグッド出力端子(PG3ピン)である。17ピンは、第4監視入力ピン(DIN4ピン)である。18ピンは、第4パワーグッド出力端子(PG4ピン)である。19ピンは、リセット用監視入力ピン(XRSTINピン)である。20ピンは、リセット出力端子(XRSTOUTピン)である。 On the fourth side (left side of this figure) of the monitoring IC 100, five external terminals (16 pins to 20 pins) are arranged in order from the top to the bottom of this figure. Pin 16 is a third power good output terminal (PG3 pin). Pin 17 is a fourth monitoring input pin (DIN4 pin). Pin 18 is a fourth power good output terminal (PG4 pin). Pin 19 is a reset monitoring input pin (XRSTIN pin). Pin 20 is a reset output terminal (XRSTOUT pin).

<監視IC(第1実施形態)>
図4は、監視IC100の第1実施形態(基本構成)を示す図である。本実施形態の監視IC100は、基準電圧生成部111と、サブ基準電圧生成部112と、基準電圧検出部120と、UVLO[under voltage locked-out]部130と、閾値電圧生成部140〜149と、コンパレータ150〜159と、オシレータ161及び162と、デジタル処理部170と、Nチャネル型MOS[metal oxide semiconductor]電界効果トランジスタ180〜184と、SPIインタフェイス190と、を集積化して成る。
<Monitoring IC (1st embodiment)>
FIG. 4 is a diagram showing a first embodiment (basic configuration) of the monitoring IC 100. The monitoring IC 100 of the present embodiment includes a reference voltage generation unit 111, a sub-reference voltage generation unit 112, a reference voltage detection unit 120, a UVLO [under voltage locked-out] unit 130, and a threshold voltage generation unit 140 to 149. , Comparator 150 to 159, oscillators 161 and 162, digital processing unit 170, N-channel type MOS [metal oxide semiconductor] field effect transistors 180 to 184, and SPI interface 190 are integrated.

基準電圧生成部111は、VDDピンに入力される電源電圧VDDから所定の基準電圧VREFを生成する。 The reference voltage generation unit 111 generates a predetermined reference voltage VREF from the power supply voltage VDD input to the VDD pin.

サブ基準電圧生成部112は、電源電圧VDDから所定のサブ基準電圧VREF2を生成する。 The sub-reference voltage generation unit 112 generates a predetermined sub-reference voltage VREF2 from the power supply voltage VDD.

基準電圧検出部120は、電源電圧VDDの供給を受けて動作し、基準電圧VREF及びサブ基準電圧VREF2が正常に立ち上がっているか否かを検出して基準電圧検出信号VREF_DETを生成する。なお、基準電圧検出信号VREF_DETは、基準電圧VREFとサブ基準電圧VREF2の双方が正常に立ち上がっているときにローレベルとなり、少なくとも一方が正常に立ち上がっていないときにハイレベルとなる。また、基準電圧検出部120には、BIST[built-in self test]イネーブル信号BIST_ENが入力されている。すなわち、基準電圧検出部120は、監視IC100の起動時に自己診断対象となる監視部(ないしはこれに含まれている複数の監視機構の一つ)に相当する。 The reference voltage detection unit 120 operates by receiving the supply of the power supply voltage VDD, detects whether or not the reference voltage VREF and the sub-reference voltage VREF2 are normally rising, and generates the reference voltage detection signal VREF_DET. The reference voltage detection signal VREF_DET becomes a low level when both the reference voltage VREF and the sub reference voltage VREF2 normally rise, and becomes a high level when at least one of them does not normally rise. Further, a BIST [built-in self test] enable signal BIST_EN is input to the reference voltage detection unit 120. That is, the reference voltage detection unit 120 corresponds to a monitoring unit (or one of a plurality of monitoring mechanisms included therein) that is subject to self-diagnosis when the monitoring IC 100 is started.

UVLO部130は、電源電圧VDDの低電圧異常を検出して低電圧異常信号UVLOを出力する。低電圧異常信号UVLOは、電源電圧VDDが低電圧異常解除値UVLO_OFFよりも高くなったときにハイレベルとなり、電源電圧VDDが低電圧異常検出値UVLO_ONよりも低くなったときにローレベルとなる。 The UVLO unit 130 detects a low voltage abnormality of the power supply voltage VDD and outputs a low voltage abnormality signal UVLO. The low voltage abnormality signal UVLO becomes a high level when the power supply voltage VDD becomes higher than the low voltage abnormality release value UVLO_OFF, and becomes a low level when the power supply voltage VDD becomes lower than the low voltage abnormality detection value UVLO_ON.

閾値電圧生成部140及び141は、それぞれ、基準電圧VREFを分圧して上側閾値電圧Vth0H(例えば0.88V)及び下側閾値電圧Vth0L(例えば0.72V)を生成する。 The threshold voltage generation units 140 and 141 divide the reference voltage VREF to generate the upper threshold voltage Vth0H (for example, 0.88V) and the lower threshold voltage Vth0L (for example, 0.72V), respectively.

閾値電圧生成部142及び143は、それぞれ、基準電圧VREFを分圧して上側閾値電圧Vth1H(例えば0.88V)及び下側閾値電圧Vth1L(例えば0.72V)を生成する。 The threshold voltage generation units 142 and 143 divide the reference voltage VREF to generate the upper threshold voltage Vth1H (for example, 0.88V) and the lower threshold voltage Vth1L (for example, 0.72V), respectively.

閾値電圧生成部144及び145は、それぞれ、基準電圧VREFを分圧して上側閾値電圧Vth2H(例えば0.88V)及び下側閾値電圧Vth2L(例えば0.72V)を生成する。 The threshold voltage generation units 144 and 145 divide the reference voltage VREF to generate the upper threshold voltage Vth2H (for example, 0.88V) and the lower threshold voltage Vth2L (for example, 0.72V), respectively.

閾値電圧生成部146及び147は、それぞれ、基準電圧VREFを分圧して上側閾値電圧Vth3H(例えば0.88V)及び下側閾値電圧Vth3L(例えば0.72V)を生成する。 The threshold voltage generation units 146 and 147 divide the reference voltage VREF to generate the upper threshold voltage Vth3H (for example, 0.88V) and the lower threshold voltage Vth3L (for example, 0.72V), respectively.

閾値電圧生成部148及び149は、それぞれ、基準電圧VREFを分圧して上側閾値電圧Vth4H(例えば0.88V)及び下側閾値電圧Vth4L(例えば0.72V)を生成する。 The threshold voltage generation units 148 and 149 divide the reference voltage VREF to generate the upper threshold voltage Vth4H (for example, 0.88V) and the lower threshold voltage Vth4L (for example, 0.72V), respectively.

コンパレータ150は、電源電圧VDDの供給を受けて動作し、XRSTINピンから非反転入力端(+)に入力されている入力電圧V0と、閾値電圧生成部140から反転入力端(−)に入力されている上側閾値電圧Vth0Hとを比較することにより、比較信号RSTOVDを生成する。比較信号RSTOVDは、V0>Vth0Hであるときにハイレベルとなり、V0<Vth0Hであるときにローレベルとなる。 The comparator 150 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V0 input from the XRSTIN pin to the non-inverting input terminal (+) and to the inverting input terminal (-) from the threshold voltage generator 140. The comparison signal RSSOVD is generated by comparing with the upper threshold voltage Vth0H. The comparison signal RSTOVD has a high level when V0> Vth0H and a low level when V0 <Vth0H.

コンパレータ151は、電源電圧VDDの供給を受けて動作し、XRSTINピンから反転入力端(−)に入力されている入力電圧V0と、閾値電圧生成部141から非反転入力端(−)に入力されている下側閾値電圧Vth0Lとを比較することにより、比較信号RSTUVDを生成する。比較信号RSTUVDは、V0>Vth0Lであるときにローレベルとなり、V0<Vth0Lであるときにハイレベルとなる。 The comparator 151 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V0 input from the XRSTIN pin to the inverting input terminal (-) and to the non-inverting input terminal (-) from the threshold voltage generator 141. The comparison signal RSTUVD is generated by comparing with the lower threshold voltage Vth0L. The comparison signal RSTUVD has a low level when V0> Vth0L and a high level when V0 <Vth0L.

コンパレータ152は、電源電圧VDDの供給を受けて動作し、DIN1ピンから非反転入力端(+)に入力されている入力電圧V1と、閾値電圧生成部142から反転入力端(−)に入力されている上側閾値電圧Vth1Hとを比較することにより、比較信号DIN1OVDを生成する。比較信号DIN1OVDは、V1>Vth1Hであるときにハイレベルとなり、V1<Vth1Hであるときにローレベルとなる。 The comparator 152 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V1 input from the DIN1 pin to the non-inverting input terminal (+) and to the inverting input terminal (-) from the threshold voltage generator 142. The comparison signal DIN1OVD is generated by comparing with the upper threshold voltage Vth1H. The comparison signal DIN1OVD has a high level when V1> Vth1H and a low level when V1 <Vth1H.

コンパレータ153は、電源電圧VDDの供給を受けて動作し、DIN1ピンから反転入力端(−)に入力されている入力電圧V1と、閾値電圧生成部143から非反転入力端(−)に入力される下側閾値電圧Vth1Lとを比較することにより、比較信号DIN1UVDを生成する。比較信号DIN1UVDは、V1>Vth1Lであるときにローレベルとなり、V1<Vth1Lであるときにハイレベルとなる。 The comparator 153 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V1 input from the DIN1 pin to the inverting input terminal (-) and to the non-inverting input terminal (-) from the threshold voltage generator 143. The comparison signal DIN1UVD is generated by comparing with the lower threshold voltage Vth1L. The comparison signal DIN1UVD has a low level when V1> Vth1L and a high level when V1 <Vth1L.

コンパレータ154は、電源電圧VDDの供給を受けて動作し、DIN2ピンから非反転入力端(+)に入力されている入力電圧V2と、閾値電圧生成部144から反転入力端(−)に入力されている上側閾値電圧Vth2Hとを比較することにより、比較信号DIN2OVDを生成する。比較信号DIN2OVDは、V2>Vth2Hであるときにハイレベルとなり、V2<Vth2Hであるときにローレベルとなる。 The comparator 154 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V2 input from the DIN2 pin to the non-inverting input terminal (+) and to the inverting input terminal (-) from the threshold voltage generator 144. The comparison signal DIN2OVD is generated by comparing with the upper threshold voltage Vth2H. The comparison signal DIN2OVD has a high level when V2> Vth2H and a low level when V2 <Vth2H.

コンパレータ155は、電源電圧VDDの供給を受けて動作し、DIN2ピンから反転入力端(−)に入力されている入力電圧V2と、閾値電圧生成部145から非反転入力端(−)に入力される下側閾値電圧Vth2Lとを比較することにより、比較信号DIN2UVDを生成する。比較信号DIN2UVDは、V2>Vth2Lであるときにローレベルとなり、V2<Vth2Lであるときにハイレベルとなる。 The comparator 155 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V2 input from the DIN2 pin to the inverting input terminal (-) and to the non-inverting input terminal (-) from the threshold voltage generator 145. The comparison signal DIN2UVD is generated by comparing with the lower threshold voltage Vth2L. The comparison signal DIN2UVD has a low level when V2> Vth2L and a high level when V2 <Vth2L.

コンパレータ156は、電源電圧VDDの供給を受けて動作し、DIN3ピンから非反転入力端(+)に入力されている入力電圧V3と、閾値電圧生成部146から反転入力端(−)に入力されている上側閾値電圧Vth3Hとを比較することにより、比較信号DIN3OVDを生成する。比較信号DIN3OVDは、V3>Vth3Hであるときにハイレベルとなり、V3<Vth3Hであるときにローレベルとなる。 The comparator 156 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V3 input from the DIN3 pin to the non-inverting input terminal (+) and to the inverting input terminal (-) from the threshold voltage generator 146. The comparison signal DIN3OVD is generated by comparing with the upper threshold voltage Vth3H. The comparison signal DIN3OVD has a high level when V3> Vth3H and a low level when V3 <Vth3H.

コンパレータ157は、電源電圧VDDの供給を受けて動作し、DIN3ピンから反転入力端(−)に入力されている入力電圧V3と、閾値電圧生成部147から非反転入力端(−)に入力される下側閾値電圧Vth3Lとを比較することにより、比較信号DIN3UVDを生成する。比較信号DIN3UVDは、V3>Vth3Lであるときにローレベルとなり、V3<Vth3Lであるときにハイレベルとなる。 The comparator 157 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V3 input from the DIN3 pin to the inverting input terminal (-) and to the non-inverting input terminal (-) from the threshold voltage generator 147. The comparison signal DIN3UVD is generated by comparing with the lower threshold voltage Vth3L. The comparison signal DIN3UVD has a low level when V3> Vth3L and a high level when V3 <Vth3L.

コンパレータ158は、電源電圧VDDの供給を受けて動作し、DIN4ピンから非反転入力端(+)に入力されている入力電圧V4と、閾値電圧生成部148から反転入力端(−)に入力されている上側閾値電圧Vth4Hとを比較することにより、比較信号DIN4OVDを生成する。比較信号DIN4OVDは、V4>Vth4Hであるときにハイレベルとなり、V4<Vth4Hであるときにローレベルとなる。 The comparator 158 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V4 input from the DIN4 pin to the non-inverting input terminal (+) and to the inverting input terminal (-) from the threshold voltage generator 148. The comparison signal DIN4OVD is generated by comparing with the upper threshold voltage Vth4H. The comparison signal DIN4OVD has a high level when V4> Vth4H and a low level when V4 <Vth4H.

コンパレータ159は、電源電圧VDDの供給を受けて動作し、DIN4ピンから反転入力端(−)に入力されている入力電圧V4と、閾値電圧生成部149から非反転入力端(−)に入力される下側閾値電圧Vth4Lとを比較することにより、比較信号DIN4UVDを生成する。比較信号DIN4UVDは、V4>Vth4Lであるときにローレベルとなり、V4<Vth4Lであるときにハイレベルとなる。 The comparator 159 operates by receiving the supply of the power supply voltage VDD, and is input to the input voltage V4 input from the DIN4 pin to the inverting input terminal (-) and to the non-inverting input terminal (-) from the threshold voltage generator 149. The comparison signal DIN4UVD is generated by comparing with the lower threshold voltage Vth4L. The comparison signal DIN4UVD has a low level when V4> Vth4L and a high level when V4 <Vth4L.

なお、上記のコンパレータ151〜159には、それぞれ、BISTイネーブル信号BIST_ENが入力されている。すなわち、コンパレータ151〜159は、それぞれ、監視IC100の起動時に自己診断対象となる監視部(ないしはこれに含まれている複数の監視機構の一つ)に相当する。 The BIST enable signal BIST_EN is input to each of the above-mentioned comparators 151 to 159. That is, each of the comparators 151 to 159 corresponds to a monitoring unit (or one of a plurality of monitoring mechanisms included therein) that is a self-diagnosis target when the monitoring IC 100 is activated.

オシレータ161は、電源電圧VDDと基準電圧VREFの供給を受けて動作し、デジタル処理部170で用いられる発振周波数f1(例えばf1=2.2MHz)のクロック信号CLK1を生成する。 The oscillator 161 operates by receiving the supply of the power supply voltage VDD and the reference voltage VREF, and generates the clock signal CLK1 having the oscillation frequency f1 (for example, f1 = 2.2 MHz) used in the digital processing unit 170.

オシレータ162は、電源電圧VDDと基準電圧VREFの供給を受けて動作し、デジタル処理部170(特にウォッチドッグタイマ173)で用いられる発振周波数f2(例えばf2=500kHz)のクロック信号CLK2を生成する。なお、クロック信号CLK2の発振周波数f2は、SPI通信により任意に調整することが可能である。 The oscillator 162 operates by receiving the supply of the power supply voltage VDD and the reference voltage VREF, and generates the clock signal CLK2 having the oscillation frequency f2 (for example, f2 = 500 kHz) used in the digital processing unit 170 (particularly the watchdog timer 173). The oscillation frequency f2 of the clock signal CLK2 can be arbitrarily adjusted by SPI communication.

また、上記のオシレータ161及び162は、それぞれ、低電圧異常信号UVLOによりリセットされる。より具体的に述べると、オシレータ161及び162は、それぞれ、低電圧異常信号UVLOがローレベルであるときにリセット状態(=ディセーブル状態)となり、低電圧異常信号UVLOがハイレベルであるときにリセット解除状態(=イネーブル状態)となる。 Further, the oscillators 161 and 162 are reset by the low voltage abnormality signal UVLO, respectively. More specifically, the oscillators 161 and 162 are in the reset state (= disabled state) when the low voltage abnormal signal UVLO is at a low level, and are reset when the low voltage abnormal signal UVLO is at a high level, respectively. It becomes the release state (= enable state).

デジタル処理部170は、電源電圧VDDの供給を受けて動作し、各種入力信号の監視処理や各種出力信号の生成処理を行う。また、デジタル処理部170は、低電圧異常信号UVLOによりリセットされる。より具体的に述べると、デジタル処理部170は、低電圧異常信号UVLOがローレベルであるときにリセット状態(=ディセーブル状態)となり、低電圧異常信号UVLOがハイレベルであるときにリセット解除状態(=イネーブル状態)となる。なお、デジタル処理部170の内部構成及び動作については後述する。 The digital processing unit 170 operates by receiving the supply of the power supply voltage VDD, and performs monitoring processing of various input signals and generation processing of various output signals. Further, the digital processing unit 170 is reset by the low voltage abnormality signal UVLO. More specifically, the digital processing unit 170 is in a reset state (= disabled state) when the low voltage abnormal signal UVLO is at a low level, and is in a reset release state when the low voltage abnormal signal UVLO is at a high level. (= Enabled state). The internal configuration and operation of the digital processing unit 170 will be described later.

トランジスタ180は、XRSTOUTピン(=リセット出力信号XRSTOUTの出力端子)と接地端との間に接続されており、デジタル処理部170から入力されるゲート信号G0に応じてオン/オフされる。リセット出力信号XRSTOUTは、トランジスタ181がオンしているときにローレベル(=リセット時の論理レベル)となり、トランジスタ181がオフしているときにハイレベル(=リセット解除時の論理レベル)となる。 The transistor 180 is connected between the XRSTOUT pin (= output terminal of the reset output signal XRSTOUT) and the ground end, and is turned on / off according to the gate signal G0 input from the digital processing unit 170. The reset output signal XRSTOUT becomes a low level (= logic level at the time of reset) when the transistor 181 is on, and becomes a high level (= logic level at the time of reset release) when the transistor 181 is off.

トランジスタ181は、PG1ピン(=パワーグッド信号PG1の出力端子)と接地端との間に接続されており、デジタル処理部170から入力されるゲート信号G1に応じてオン/オフされる。パワーグッド信号PG1は、トランジスタ181がオンしているときにはローレベル(=異常時の論理レベル)となり、トランジスタ181がオフしているときにはハイレベル(=正常時の論理レベル)となる。 The transistor 181 is connected between the PG1 pin (= output terminal of the power good signal PG1) and the ground end, and is turned on / off according to the gate signal G1 input from the digital processing unit 170. The power good signal PG1 has a low level (= logic level at the time of abnormality) when the transistor 181 is on, and a high level (= logic level at the time of normal) when the transistor 181 is off.

トランジスタ182は、PG2ピン(=パワーグッド信号PG2の出力端子)と接地端との間に接続されており、デジタル処理部170から入力されるゲート信号G2に応じてオン/オフされる。パワーグッド信号PG2は、トランジスタ182がオンしているときにはローレベル(=異常時の論理レベル)となり、トランジスタ182がオフしているときにはハイレベル(=正常時の論理レベル)となる。 The transistor 182 is connected between the PG2 pin (= output terminal of the power good signal PG2) and the ground end, and is turned on / off according to the gate signal G2 input from the digital processing unit 170. The power good signal PG2 has a low level (= logic level at the time of abnormality) when the transistor 182 is on, and a high level (= logic level at the time of normal) when the transistor 182 is off.

トランジスタ183は、PG3ピン(=パワーグッド信号PG3の出力端子)と接地端との間に接続されており、デジタル処理部170から入力されるゲート信号G3に応じてオン/オフされる。パワーグッド信号PG3は、トランジスタ183がオンしているときにはローレベル(=異常時の論理レベル)となり、トランジスタ183がオフしているときにはハイレベル(=正常時の論理レベル)となる。 The transistor 183 is connected between the PG3 pin (= output terminal of the power good signal PG3) and the ground end, and is turned on / off according to the gate signal G3 input from the digital processing unit 170. The power good signal PG3 has a low level (= logic level at the time of abnormality) when the transistor 183 is on, and a high level (= logic level at the time of normal) when the transistor 183 is off.

トランジスタ184は、PG4ピン(=パワーグッド信号PG4の出力端子)と接地端との間に接続されており、デジタル処理部170から入力されるゲート信号G4に応じてオン/オフされる。パワーグッド信号PG4は、トランジスタ184がオンしているときにはローレベル(=異常時の論理レベル)となり、トランジスタ184がオフしているときにはハイレベル(=正常時の論理レベル)となる。 The transistor 184 is connected between the PG4 pin (= output terminal of the power good signal PG4) and the ground end, and is turned on / off according to the gate signal G4 input from the digital processing unit 170. The power good signal PG4 has a low level (= logic level at the time of abnormality) when the transistor 184 is on, and a high level (= logic level at the time of normal) when the transistor 184 is off.

SPIインタフェイス190は、XSCSピン、SCLKピン、MOSIピン、及びMISOピンに接続されており、監視IC100(特にデジタル処理部170)とマイコン300との間で、SPIバスを介した双方向通信を行う。 The SPI interface 190 is connected to the XSCS pin, the SCLK pin, the MOSI pin, and the MISO pin, and enables bidirectional communication between the monitoring IC 100 (particularly the digital processing unit 170) and the microcomputer 300 via the SPI bus. Do.

<デジタル処理部>
引き続き、図4を参照しながら、デジタル処理部170の内部構成について説明する。本構成例のデジタル処理部170は、自己診断部171と、クロック検出部172と、ウォッチドッグタイマ173と、フィルタFLT0〜FLT4と、カウンタCNT0〜CNT4と、論理和ゲートOR0〜OR4及びOR10〜OR14と、を含む。
<Digital processing unit>
Subsequently, the internal configuration of the digital processing unit 170 will be described with reference to FIG. The digital processing unit 170 of this configuration example includes a self-diagnosis unit 171, a clock detection unit 172, a watchdog timer 173, filters FLT0 to FLT4, counters CNT0 to CNT4, and OR gates OR0 to OR4 and OR10 to OR14. And, including.

自己診断部171は、監視IC100の起動時において、基準電圧検出信号VREF_DETと比較信号(RSTOVD、RSTUVD、DINxOVD、DINxUVD)をそれぞれチェックすることにより、基準電圧検出部120とコンパレータ150〜159がそれぞれ正常に機能しているか否かの自己診断動作(以下ではBISTと略称する)を行い、BISTエラー信号BIST_ERRORを生成する。なお、BISTエラー信号BIST_ERRORは、基準電圧検出部120とコンパレータ150〜159のいずれかで異常が検出されたときにハイレベルとなる。 When the monitoring IC 100 is started, the self-diagnosis unit 171 checks the reference voltage detection signal VREF_DET and the comparison signal (RSTOVD, RSTUVD, DINxOVD, DINxUVD), so that the reference voltage detection unit 120 and the comparators 150 to 159 are normal, respectively. Performs a self-diagnosis operation (hereinafter abbreviated as BIST) as to whether or not it is functioning, and generates a BIST error signal BIST_ERROR. The BIST error signal BIST_ERROR becomes a high level when an abnormality is detected by any of the reference voltage detection unit 120 and the comparators 150 to 159.

また、自己診断部171は、BISTイネーブル信号BIST_ENを生成して、基準電圧検出部120とコンパレータ150〜159にそれぞれ送出する。なお、BISTイネーブル信号BIST_ENは、BISTの実行中にハイレベルとなる。 Further, the self-diagnosis unit 171 generates the BIST enable signal BIST_EN and sends it to the reference voltage detection unit 120 and the comparators 150 to 159, respectively. The BIST enable signal BIST_EN becomes a high level during execution of BIST.

クロック検出部172は、クロック信号CLK1及びCLK2の周波数異常を検出してクロック検出信号CLK_DETを生成する。クロック検出信号CLK_DETは、クロック信号CLK1またはCLK2の周波数異常が検出されたときにハイレベルとなる。 The clock detection unit 172 detects the frequency abnormality of the clock signals CLK1 and CLK2 and generates the clock detection signal CLK_DET. The clock detection signal CLK_DET becomes a high level when a frequency abnormality of the clock signal CLK1 or CLK2 is detected.

ウォッチドッグタイマ173は、マイコン300の周波数異常(SLOW異常及びFAST異常)を検出してウォッチドッグ検出信号WDT_DETを生成する。ウォッチドッグ検出信号WDT_DETは、マイコン30の周波数異常が検出されたときにハイレベルとなる。なお、WDINピンは、監視IC100の内部でプルダウンされている。 The watchdog timer 173 detects a frequency abnormality (SLOW abnormality and FAST abnormality) of the microcomputer 300 and generates a watchdog detection signal WDT_DET. The watchdog detection signal WDT_DET becomes a high level when a frequency abnormality of the microcomputer 30 is detected. The WDIN pin is pulled down inside the monitoring IC 100.

論理和ゲートOR0は、比較信号RSTOVD及びRSTUVDの論理和演算を行う。従って、論理和ゲートOR0の出力信号は、比較信号RSTOVD及びRSTUVDの少なくとも一方がハイレベルであるときにハイレベルとなり、比較信号RSTOVD及びRSTUVDがいずれもローレベルであるときにローレベルとなる。 The OR gate OR0 performs an OR operation on the comparison signals RSTOVED and RSTUVD. Therefore, the output signal of the OR gate OR0 becomes high level when at least one of the comparison signals RSTOVD and RSTUVD is high level, and becomes low level when both the comparison signals RSTOVD and RSTUVD are low level.

論理和ゲートOR1は、比較信号DIN1OVD及びDIN1UVDの論理和演算を行う。従って、論理和ゲートOR1の出力信号は、比較信号DIN1OVD及びDIN1UVDの少なくとも一方がハイレベルであるときにハイレベルとなり、比較信号DIN1OVD及びDIN1UVDがいずれもローレベルであるときにローレベルとなる。 The OR1 gate OR1 performs an OR operation on the comparison signals DIN1OVD and DIN1UVD. Therefore, the output signal of the OR1 gate becomes high level when at least one of the comparison signals DIN1OVD and DIN1UVD is high level, and becomes low level when both the comparison signals DIN1OVD and DIN1UVD are low level.

論理和ゲートOR2は、比較信号DIN2OVD及びDIN2UVDの論理和演算を行う。従って、論理和ゲートOR2の出力信号は、比較信号DIN2OVD及びDIN2UVDの少なくとも一方がハイレベルであるときにハイレベルとなり、比較信号DIN2OVD及びDIN2UVDがいずれもローレベルであるときにローレベルとなる。 The OR2 gate OR2 performs an OR operation on the comparison signals DIN2OVD and DIN2UVD. Therefore, the output signal of the OR2 gate OR2 becomes high level when at least one of the comparison signals DIN2OVD and DIN2UVD is high level, and becomes low level when both the comparison signals DIN2OVD and DIN2UVD are low level.

論理和ゲートOR3は、比較信号DIN3OVD及びDIN3UVDの論理和演算を行う。従って、論理和ゲートOR3の出力信号は、比較信号DIN3OVD及びDIN3UVDの少なくとも一方がハイレベルであるときにハイレベルとなり、比較信号DIN3OVD及びDIN3UVDがいずれもローレベルであるときにローレベルとなる。 The OR gate OR3 performs an OR operation on the comparison signals DIN3OVD and DIN3UVD. Therefore, the output signal of the OR gate OR3 becomes high level when at least one of the comparison signals DIN3OVD and DIN3UVD is high level, and becomes low level when both the comparison signals DIN3OVD and DIN3UVD are low level.

論理和ゲートOR4は、比較信号DIN4OVD及びDIN4UVDの論理和演算を行う。従って、論理和ゲートOR4の出力信号は、比較信号DIN4OVD及びDIN4UVDの少なくとも一方がハイレベルであるときにハイレベルとなり、比較信号DIN4OVD及びDIN4UVDがいずれもローレベルであるときにローレベルとなる。 The OR gate OR4 performs an OR operation on the comparison signals DIN4OVD and DIN4UVD. Therefore, the output signal of the OR4 gate becomes high level when at least one of the comparison signals DIN4OVD and DIN4UVD is high level, and becomes low level when both the comparison signals DIN4OVD and DIN4UVD are low level.

フィルタFLT0〜FLT4は、それぞれ、論理和ゲートOR0〜OR4の出力信号に所定のフィルタリング処理を施して後段に出力する。ただし、フィルタFLT0〜FLT4は必須の構成要素ではなく、ノイズなどの懸念がない場合には、フィルタFLT0〜FLT4を割愛して、論理和ゲートOR0〜OR4の出力信号を後段にスルーしてもよい。 The filters FLT0 to FLT4 perform predetermined filtering processing on the output signals of the OR gates OR0 to OR4, respectively, and output them to the subsequent stage. However, the filters FLT0 to FLT4 are not essential components, and if there is no concern about noise or the like, the filters FLT0 to FLT4 may be omitted and the output signals of the OR gates OR0 to OR4 may be passed through to the subsequent stage. ..

カウンタCNT0〜CNT4は、それぞれ、フィルタFLT0〜FLT4の出力信号に所定のカウンタ処理を施して後段に出力する。なお、カウンタCNT0の出力信号は、リセット入力検出信号RSTIN_DETとして論理和ゲートOR10に出力されている。ただし、カウンタCNT0〜CNT4は必須の構成要素ではなく、ノイズなどの懸念がない場合には、カウンタCNT0〜CNT4を割愛して、論理和ゲートOR0〜OR4の出力信号(またはフィルタFLT0〜FLT4の出力信号)を後段にスルーしてもよい。 The counters CNT0 to CNT4 perform predetermined counter processing on the output signals of the filters FLT0 to FLT4, respectively, and output them to the subsequent stage. The output signal of the counter CNT0 is output to the OR gate OR10 as a reset input detection signal RSTIN_DET. However, the counters CNT0 to CNT4 are not essential components, and if there is no concern about noise or the like, the counters CNT0 to CNT4 are omitted and the output signals of the OR gates OR0 to OR4 (or the outputs of the filters FLT0 to FLT4) are omitted. The signal) may be passed through to the subsequent stage.

論理和ゲートOR10は、基準電圧検出信号VREF_DET、リセット入力検出信号RSTIN_DET、BISTエラー信号BIST_ERROR、ウォッチドッグ検出信号WDT_DET、及び、クロック検出信号CLK_DETの論理和演算を行うことにより、リセット出力検出信号RSTOUT_DETを生成する。従って、リセット出力検出信号RSTOUT_DETは、複数の入力信号のうち、いずれか一つでもハイレベルであるときにハイレベルとなり、それら全てがローレベルであるときにローレベルとなる。なお、リセット出力検出信号RSTOUT_DETは、先述のゲート信号G0として、トランジスタ180のゲートに出力されている。 The OR10 gate OR10 performs a logical sum operation of the reference voltage detection signal VREF_DET, the reset input detection signal RSTIN_DET, the BIST error signal BIST_ERROR, the watchdog detection signal WDT_DET, and the clock detection signal CLK_DET to generate the reset output detection signal RSTOUT_DET. Generate. Therefore, the reset output detection signal RSTOUT_DET becomes high level when any one of the plurality of input signals is high level, and becomes low level when all of them are low level. The reset output detection signal RSTOUT_DET is output to the gate of the transistor 180 as the gate signal G0 described above.

論理和ゲートOR11〜OR14は、それぞれ、カウンタCNT1〜CNT4の出力信号と基準電圧検出信号VREF_DETとの論理和演算を行うことにより、パワーグッド検出信号PG1_DET〜PG4_DETを生成する。従って、基準電圧検出信号VREF_DETがローレベルであるときには、カウンタCNT1〜CNT4の出力信号がパワーグッド検出信号PG1_DET〜PG4_DETとしてそのままスルー出力される。一方、基準電圧検出信号VREF_DETがハイレベルであるときには、カウンタCNT1〜CNT4の出力信号に依ることなく、パワーグッド検出信号PG1_DET〜PG4_DETがいずれもハイレベルに固定される。なお、パワーグッド検出信号PG1_DET〜PG4_DETは、先述のゲート信号G1〜G4として、トランジスタ181〜184それぞれのゲートに出力されている。 The OR gates OR11 to OR14 generate power good detection signals PG1_DET to PG4_DET by performing an OR operation on the output signals of the counters CNT1 to CNT4 and the reference voltage detection signal VREF_DET, respectively. Therefore, when the reference voltage detection signal VREF_DET is at a low level, the output signals of the counters CNT1 to CNT4 are directly output as power good detection signals PG1_DET to PG4_DET. On the other hand, when the reference voltage detection signal VREF_DET is at a high level, the power good detection signals PG1_DET to PG4_DET are all fixed at a high level regardless of the output signals of the counters CNT1 to CNT4. The power good detection signals PG1_DET to PG4_DET are output to the gates of the transistors 181 to 184 as the gate signals G1 to G4 described above.

<監視IC(第2実施形態)>
図5は、監視IC100の第2実施形態(特にウォッチドッグタイマ173の詳細)を示す図である。本実施形態の監視IC100において、ウォッチドッグタイマ173は、トリガ型の第1周波数異常検出部173aと、通信断絶検知型の第2周波数異常検出部173bと、Q&A型の第3周波数異常検出部173cと、を有する。
<Monitoring IC (second embodiment)>
FIG. 5 is a diagram showing a second embodiment of the monitoring IC 100 (particularly, details of the watchdog timer 173). In the monitoring IC 100 of the present embodiment, the watchdog timer 173 includes a trigger type first frequency abnormality detection unit 173a, a communication interruption detection type second frequency abnormality detection unit 173b, and a Q & A type third frequency abnormality detection unit 173c. And have.

第1周波数異常検出部173aは、マイコン300から入力されるウォッチドッグ入力信号WDINの周期的なパルスエッジを監視して、マイコン300の周波数異常を検出する。以下、第1周波数異常検出部173aの周波数異常検出動作を「トリガ型WDT動作(詳細は後述)」と呼ぶ。 The first frequency abnormality detection unit 173a monitors the periodic pulse edge of the watchdog input signal WDIN input from the microcomputer 300 to detect the frequency abnormality of the microcomputer 300. Hereinafter, the frequency abnormality detection operation of the first frequency abnormality detection unit 173a is referred to as "trigger type WDT operation (details will be described later)".

第2周波数異常検出部173bは、マイコン300からの周期的なSPI通信アクセス(=所定レジスタへのデータ書き込み)を監視して、マイコン300の周波数異常を検出する。以下、第2周波数異常検出部173bの周波数異常検出動作を「通信断絶検知型WDT動作(詳細は後述)」と呼ぶ。 The second frequency abnormality detection unit 173b monitors periodic SPI communication access (= data writing to a predetermined register) from the microcomputer 300 to detect the frequency abnormality of the microcomputer 300. Hereinafter, the frequency abnormality detection operation of the second frequency abnormality detection unit 173b is referred to as "communication interruption detection type WDT operation (details will be described later)".

第3周波数異常検出部173cは、マイコン300とのSPI通信による周期的なQ&Aイベントを監視して、マイコン300の周波数異常を検出する。以下、第3周波数異常検出部173cの周波数異常検出動作を「Q&A型WDT動作(詳細は後述)」と呼ぶ。 The third frequency abnormality detection unit 173c monitors a periodic Q & A event by SPI communication with the microcomputer 300 and detects a frequency abnormality of the microcomputer 300. Hereinafter, the frequency abnormality detection operation of the third frequency abnormality detection unit 173c is referred to as "Q & A type WDT operation (details will be described later)".

また、ウォッチドッグタイマ173では、ユーザ設定(レジスタ設定)に応じて、若しくは、監視IC100が搭載されるシステムの状態(例えばSPI通信負荷の大きさ)に応じて、各周波数異常検出部173a〜173cが選択的に用いられる。 Further, in the watchdog timer 173, each frequency abnormality detection unit 173a to 173c depends on the user setting (register setting) or the state of the system on which the monitoring IC 100 is mounted (for example, the magnitude of the SPI communication load). Is selectively used.

このように、複合型のウォッチドッグタイマ173であれば、各周波数異常検出部173a〜173cそれぞれの特性を鑑みて、周波数異常検出動作を切り替えることにより、適切に周波数異常を検出することが可能となる。 In this way, if the watchdog timer 173 is a composite type, it is possible to appropriately detect a frequency abnormality by switching the frequency abnormality detection operation in consideration of the characteristics of each frequency abnormality detection unit 173a to 173c. Become.

<動的切替制御>
図6は、周波数異常検出動作の動的切替制御の一例を示すタイミングチャートであり、上から順番に、システム起動状態(=電源電圧VDD)、ウォッチドッグ入力信号WDIN、SPI通信アクセス、システム平均負荷(例えばSPI通信負荷)、異常検出感度、及び、優先WDT動作が描写されている。
<Dynamic switching control>
FIG. 6 is a timing chart showing an example of dynamic switching control of the frequency abnormality detection operation, and in order from the top, the system startup state (= power supply voltage VDD), watchdog input signal WDIN, SPI communication access, and system average load. (For example, SPI communication load), anomaly detection sensitivity, and priority WDT operation are depicted.

まず、システム平均負荷が最も重い第1状態(時刻t1〜t2)では、第1周波数異常検出部173aのトリガ型WDT動作を優先するとよい。その結果、異常検出感度(延いてはリスク低減度合い)は多少犠牲になるが、SPI通信を要さずにマイコン300の周波数異常を検出することが可能となる。なお、第1状態としては、システム起動時やコンフィグレーション変更時などを挙げることができる。 First, in the first state (time t1 to t2) where the average system load is the heaviest, it is preferable to give priority to the trigger type WDT operation of the first frequency abnormality detection unit 173a. As a result, although the abnormality detection sensitivity (and thus the degree of risk reduction) is sacrificed to some extent, it becomes possible to detect the frequency abnormality of the microcomputer 300 without requiring SPI communication. The first state may be when the system is started or when the configuration is changed.

一方、第1状態よりも軽負荷の第2状態(時刻t2〜t3)では、第2周波数異常検出部173bの通信断絶検知型WDT動作を優先するとよい。その結果、第1状態よりも異常検出感度を高めることが可能となる。 On the other hand, in the second state (time t2 to t3) with a light load rather than the first state, it is preferable to give priority to the communication interruption detection type WDT operation of the second frequency abnormality detection unit 173b. As a result, it is possible to increase the abnormality detection sensitivity as compared with the first state.

また、第2状態よりもさらに軽負荷の第3状態(時刻t3〜t4)では、第3周波数異常検出部173cのQ&A型WDT動作を優先するとよい。その結果、SPI通信負荷は重くなるが、異常検出感度を最大限に高めることが可能となる。 Further, in the third state (time t3 to t4) with a lighter load than the second state, it is preferable to give priority to the Q & A type WDT operation of the third frequency abnormality detection unit 173c. As a result, the SPI communication load becomes heavy, but the abnormality detection sensitivity can be maximized.

このように、負荷に応じて各周波数異常検出部173a〜173cが動的に切り替えられる構成であれば、異常検出感度と負荷とのバランスを取りながら、適切に周波数異常を検出することが可能となる。 In this way, if each frequency abnormality detection unit 173a to 173c is dynamically switched according to the load, it is possible to appropriately detect the frequency abnormality while balancing the abnormality detection sensitivity and the load. Become.

なお、上記した周波数異常検出動作の動的切替制御は、監視IC100の内部で実施するとよい。また、負荷検出手法としては、例えば、単位時間当たり(ウォッチドッグ周期或いはそのn逓倍を1単位とする期間)に送受信されるSPI通信のデータ量に応じて、SPI通信負荷を判断するとよい。 The dynamic switching control of the frequency abnormality detection operation described above may be performed inside the monitoring IC 100. Further, as the load detection method, for example, the SPI communication load may be determined according to the amount of SPI communication data transmitted / received per unit time (watchdog cycle or a period in which n multiplication thereof is one unit).

SPI通信のデータ量については、例えば、SPIチップセレクト信号XSCSの論理レベル(延いては監視IC100が受信可能状態であるか否か)に依ることなく、SPIクロック信号SCLKのエッジをカウントするとよい。なぜなら、監視IC100に対して送信されたデータでなくとも、SPIバスにデータが流れていれば、SPI通信負荷が重いであろうことが推定されるためである。 Regarding the amount of data for SPI communication, for example, the edge of the SPI clock signal SCLK may be counted regardless of the logic level of the SPI chip select signal XSCS (and whether or not the monitoring IC 100 is in a receivable state). This is because it is presumed that the SPI communication load will be heavy if the data is flowing in the SPI bus even if the data is not transmitted to the monitoring IC 100.

<トリガ型WDT動作>
図7は、トリガ型WDT動作の一例を示すタイミングチャートであり、上から順に、内部カウント値CNT、ウォッチドッグ入力信号IN、フェイルカウント値WD_FC、トリガ型WDTイネーブル信号WDTRGEN、及び、リセット出力信号XRSTOUTが描写されている。
<Trigger type WDT operation>
FIG. 7 is a timing chart showing an example of the trigger type WDT operation, in that order from the top, the internal count value CNT, the watchdog input signal IN, the fail count value WD_FC, the trigger type WDT enable signal WDTRGEN, and the reset output signal XRSTOUT. Is depicted.

トリガ型WDTイネーブル信号WDTRGENは、トリガ型WDT動作のイネーブル制御レジスタ値であり、イネーブル時には”1(ハイレベル)”となり、ディセーブル時には”0(ローレベル)”となる。トリガ型WDTイネーブル信号WDTRGENは、例えば、SPI通信により任意に書き換えることができる。 The trigger type WDT enable signal WDTRGEN is an enable control register value of the trigger type WDT operation, and is "1 (high level)" when enabled and "0 (low level)" when disabled. The trigger type WDT enable signal WDTRGEN can be arbitrarily rewritten by, for example, SPI communication.

内部カウント値CNTは、トリガ型WDTイネーブル信号WDTRGENのハイレベル期間(時刻t10〜t15、及び、時刻t18以降)において、所定のクロック周期でインクリメントされる一方、ウォッチドッグ入力信号WDINのパルスエッジ(立上りエッジ及び立下りエッジ)をトリガとしてゼロ値にリセットされる(時刻t11、t12、t13、t14、t19を参照)。 The internal count value CNT is incremented at a predetermined clock cycle during the high level period (time t10 to t15 and after time t18) of the trigger type WDT enable signal WDTRGEN, while the pulse edge (rising edge) of the watchdog input signal WDIN. The edge and falling edge) are triggered to reset to zero (see time t11, t12, t13, t14, t19).

ここで、リセット直前の内部カウント値CNTが下側閾値CNTL(=FastNG検出閾値)よりも大きく、かつ、上側閾値CNTH(=SlowNG検出閾値)よりも小さいときには、ウォッチドッグ入力信号INのハイレベル期間及びローレベル期間がいずれも正常範囲内に収まっている状態(OK状態)であると判定されて、フェイルカウント値WD_FCが1つデクリメントされる(時刻t11、t13を参照)。 Here, when the internal count value CNT immediately before reset is larger than the lower threshold CNTL (= FastNG detection threshold) and smaller than the upper threshold CNT (= SlowNG detection threshold), the high level period of the watchdog input signal IN It is determined that both the low level period and the low level period are within the normal range (OK state), and one fail count value WD_FC is decremented (see time t11 and t13).

一方、内部カウント値CNTがリセットされたものの、リセット直前の内部カウント値CNTが上側閾値CNTHよりも大きいときには、ウォッチドッグ入力信号INのハイレベル期間またはローレベル期間が異常に長い状態(SlowNG状態)であると判定されて、フェイルカウント値WD_FCが2つインクリメントされる(時刻t12を参照)。このとき、ステータスレジスタWDT_SLOWには”1”がセットされる。 On the other hand, when the internal count value CNT is reset but the internal count value CNT immediately before the reset is larger than the upper threshold CNTH, the high level period or low level period of the watchdog input signal IN is abnormally long (SlowNG state). Is determined, and the fail count value WD_FC is incremented by two (see time t12). At this time, "1" is set in the status register WDT_SLOW.

また、内部カウント値CNTがリセットされたものの、リセット直前の内部カウント値CNTが下側閾値CNTLよりも小さいときには、ウォッチドッグ入力信号INのハイレベル期間またはローレベル期間が異常に短い状態(FastNG状態)であると判定されて、フェイルカウント値WD_FCが2つインクリメントされる(時刻t14、t19を参照)。このとき、ステータスレジスタWDT_FASTには”1”がセットされる。 Further, when the internal count value CNT is reset but the internal count value CNT immediately before the reset is smaller than the lower threshold value CNT, the high level period or the low level period of the watchdog input signal IN is abnormally short (FastNG state). ), And the fail count value WD_FC is incremented by two (see time t14, t19). At this time, "1" is set in the status register WDT_FAST.

上記一連のインクリメント/デクリメントが繰り返されることにより、フェイルカウント値WD_FCが所定の閾値(例えば”6”)以上になると、リセット出力信号XRSTOUTがリセット保持時間tRSTL(例えば10ms)に亘ってローレベル(=リセット時の論理レベル)に立ち下げられる(時刻t15〜t17を参照)。このとき、トリガ型WDTエラーレジスタWD_TRG_ERRORを”1”にセットして、マイコン300への異常通知を行うとよい。 When the fail count value WD_FC becomes equal to or higher than a predetermined threshold value (for example, "6") by repeating the above series of increments / decrements, the reset output signal XRSTOUT has a low level (=) over the reset holding time tRSTL (for example, 10 ms). It is lowered to the logical level at the time of reset (see time t15 to t17). At this time, it is advisable to set the trigger type WDT error register WD_TRG_ERROR to "1" to notify the microcomputer 300 of the abnormality.

また、フェイルカウント値WD_FCが所定の閾値以上になると、トリガ型WDTイネーブル信号WDTRGENもローレベル(=ディセーブル時の論理レベル)に立ち下げられる(時刻t15を参照)。なお、WDTRGEN=Lである間、ウォッチドッグ入力信号WDINのパルスエッジは無視される。 Further, when the fail count value WD_FC becomes equal to or higher than a predetermined threshold value, the trigger type WDT enable signal WDTRGEN is also lowered to a low level (= logical level at the time of disabling) (see time t15). While WDTRGEN = L, the pulse edge of the watchdog input signal WDIN is ignored.

以上のように、トリガ型WDT動作では、先の上側閾値CNTH及び下側閾値CNTLで設定されるウィンドウ区間内に、ウォッチドッグ入力信号WDINのパルスエッジが到来するか否かを監視することにより、マイコン300の周波数異常が検出される。なお、上側閾値CNTH及び下側閾値CNTLは、それぞれ、ウィンドウ区間設定レジスタWD_detect_time(例えば2ビット)に応じた可変値とすることが望ましい。 As described above, in the trigger type WDT operation, by monitoring whether or not the pulse edge of the watchdog input signal WDIN arrives within the window section set by the upper threshold value CNTH and the lower threshold value CNTL. A frequency abnormality of the microcomputer 300 is detected. It is desirable that the upper threshold value CNT and the lower threshold value CNTL are variable values according to the window interval setting register WD_detect_time (for example, 2 bits), respectively.

<通信断絶検知型WDT動作>
図8は、通信断絶検知型WDT動作の一例を示すタイミングチャートであり、上から順に、内部カウント値CNT、SPI通信アクセス状態、フェイルカウント値WD_FC、通信断絶検知型WDTイネーブル信号WDSPIEN、及び、リセット出力信号XRSTOUTが描写されている。
<Communication interruption detection type WDT operation>
FIG. 8 is a timing chart showing an example of the communication interruption detection type WDT operation, in order from the top, the internal count value CNT, the SPI communication access state, the fail count value WD_FC, the communication interruption detection type WDT enable signal WDSPIEN, and the reset. The output signal XRSTOUT is depicted.

通信断絶検知型WDTイネーブル信号WDSPIENは、通信断絶検知型WDT動作のイネーブル制御レジスタ値であり、イネーブル時には”1(ハイレベル)”となり、ディセーブル時には”0(ローレベル)”となる。通信断絶検知型WDTイネーブル信号WDSPIENは、例えば、SPI通信により任意に書き換えることができる。 The communication disconnection detection type WDT enable signal WDSPIEN is an enable control register value of the communication disconnection detection type WDT operation, and is "1 (high level)" when enabled and "0 (low level)" when disabled. The communication interruption detection type WDT enable signal WDSPIEN can be arbitrarily rewritten by, for example, SPI communication.

内部カウント値CNTは、通信断絶検知型WDTイネーブル信号WDSPIENのハイレベル期間(時刻t20〜t25、及び、時刻t28以降)において、所定のクロック周期でインクリメントされる一方、通信断絶検知用リセットレジスタSPI_DISCON_RSTに対するSPI通信アクセス(=データ値”1”の書き込み)が完了したこと、若しくは、内部カウント値CNTが上側閾値CNTHに到達したことをトリガとしてゼロ値にリセットされる(時刻t21、t22、t23、t24、t29を参照)。 The internal count value CNT is incremented at a predetermined clock cycle during the high level period (time t20 to t25 and after time t28) of the communication disconnection detection type WDT enable signal WDSPIEN, while the communication disconnection detection reset register SPI_DISCON_RST is used. The SPI communication access (= writing of the data value "1") is completed, or the internal count value CNT reaches the upper threshold CNT, and the value is reset to the zero value (time t21, t22, t23, t24). , T29).

ここで、リセット直前の内部カウント値CNTが下側閾値CNTL(=FastNG検出閾値)よりも大きく、かつ、上側閾値CNTH(=SlowNG検出閾値)よりも小さいときには、SPI通信アクセスの周期が正常範囲内に収まっている状態(OK状態)であると判定されて、フェイルカウント値WD_FCが1つデクリメントされる(時刻t21、t23を参照)。 Here, when the internal count value CNT immediately before reset is larger than the lower threshold value CNT (= FastNG detection threshold value) and smaller than the upper threshold value CNT (= SlowNG detection threshold value), the SPI communication access cycle is within the normal range. It is determined that the state is within the range (OK state), and one fail count value WD_FC is decremented (see time t21 and t23).

一方、内部カウント値CNTがリセットされずに上側閾値CNTHに達したときには、SPI通信アクセスが遅延又は断絶している状態(SlowNG状態)であると判定されて、フェイルカウント値WD_FCが2つインクリメントされる(時刻t22を参照)。このとき、ステータスレジスタWDT_SLOWには”1”がセットされる。 On the other hand, when the internal count value CNT reaches the upper threshold value CNT without being reset, it is determined that the SPI communication access is delayed or disconnected (Slow NG state), and the fail count value WD_FC is incremented by two. (See time t22). At this time, "1" is set in the status register WDT_SLOW.

また、内部カウント値CNTがリセットされたものの、リセット直前の内部カウント値CNTが下側閾値CNTLよりも小さいときには、SPI通信アクセスが異常に速い状態(FastNG状態)であると判定されて、フェイルカウント値WD_FCが2つインクリメントされる(時刻t24、t29を参照)。このとき、ステータスレジスタWDT_FASTには”1”がセットされる。 Further, when the internal count value CNT is reset but the internal count value CNT immediately before the reset is smaller than the lower threshold value CNT, it is determined that the SPI communication access is abnormally fast (FastNG state), and the fail count is performed. The value WD_FC is incremented by two (see time t24, t29). At this time, "1" is set in the status register WDT_FAST.

上記一連のインクリメント/デクリメントが繰り返されることにより、フェイルカウント値WD_FCが所定の閾値(例えば”6”)以上になると、リセット出力信号XRSTOUTがリセット保持時間tRSTL(例えば10ms)に亘ってローレベル(=リセット時の論理レベル)に立ち下げられる(時刻t25〜t27を参照)。このとき、通信遮断WDTエラーレジスタWD_SPI_ERRORを”1”にセットして、マイコン300への異常通知を行うとよい。 When the fail count value WD_FC becomes equal to or higher than a predetermined threshold value (for example, "6") by repeating the above series of increments / decrements, the reset output signal XRSTOUT has a low level (=) over the reset holding time tRSTL (for example, 10 ms). It is lowered to the logical level at the time of reset (see time t25 to t27). At this time, it is advisable to set the communication cutoff WDT error register WD_SPI_ERROR to "1" to notify the microcomputer 300 of the abnormality.

また、フェイルカウント値WD_FCが所定の閾値以上になると、通信断絶検知型WDTイネーブル信号WDSPIENもローレベル(=ディセーブル時の論理レベル)に立ち下げられる(時刻t25を参照)。 Further, when the fail count value WD_FC becomes equal to or higher than a predetermined threshold value, the communication interruption detection type WDT enable signal WDSPIEN is also lowered to a low level (= logical level at the time of disabling) (see time t25).

以上のように、通信断絶検知型WDT動作では、先の上側閾値CNTH及び下側閾値CNTLで設定されるウィンドウ区間内に、SPI通信アクセスが完了するか否かを監視することにより、マイコン300の周波数異常が検出される。なお、上側閾値CNTH及び下側閾値CNTLは、先にも述べたように、それぞれ、ウィンドウ区間設定レジスタWD_detect_time(例えば2ビット)に応じた可変値とすることが望ましい。 As described above, in the communication interruption detection type WDT operation, the microcomputer 300 is monitored by monitoring whether or not SPI communication access is completed within the window section set by the upper threshold value CNT and the lower threshold value CNTL. Frequency anomaly is detected. As described above, it is desirable that the upper threshold value CNT and the lower threshold value CNTL have variable values according to the window interval setting register WD_detect_time (for example, 2 bits), respectively.

<Q&A型WDT動作>
図9は、Q&A型WDT動作の一例を示すタイミングチャートであり、上から順に、内部カウント値CNT、SPI通信アクセス状態、フェイルカウント値WD_FC、Q&A型WDTイネーブル信号WDQAEN、及び、リセット出力信号XRSTOUTが描写されている。
<Q & A type WDT operation>
FIG. 9 is a timing chart showing an example of the Q & A type WDT operation, in which the internal count value CNT, SPI communication access state, fail count value WD_FC, Q & A type WDT enable signal WDQAEN, and reset output signal XRSTOUT are displayed in order from the top. It is depicted.

Q&A型WDTイネーブル信号WDQAENは、Q&A型WDT動作のイネーブル制御レジスタ値であり、イネーブル時には”1(ハイレベル)”となり、ディセーブル時には”0(ローレベル)”となる。Q&A型WDTイネーブル信号WDQAENは、例えば、SPI通信により任意に書き換えることができる。 The Q & A type WDT enable signal WDQAEN is an enable control register value of the Q & A type WDT operation, and is "1 (high level)" when enabled and "0 (low level)" when disabled. The Q & A type WDT enable signal WDQAEN can be arbitrarily rewritten by, for example, SPI communication.

内部カウント値CNTは、Q&A型WDTイネーブル信号WDQAENのハイレベル期間(時刻t30〜t35、及び、時刻t38以降)において、所定のクロック周期でインクリメントされる一方、SPI通信によるQ&Aイベント(=クエスチョン信号の問い合わせ及び返信、並びに、アンサー信号の生成及び答え合わせなど、詳細は後述)が完了したこと、若しくは、内部カウント値CNTが上側閾値CNTHに到達したことをトリガとしてゼロ値にリセットされる(時刻t31、t32、t34、t39を参照)。 The internal count value CNT is incremented at a predetermined clock cycle during the high level period (time t30 to t35 and after time t38) of the Q & A type WDT enable signal WDQAEN, while the Q & A event (= question signal) by SPI communication. Inquiries and replies, as well as answer signal generation and answer matching will be described in detail later), or the internal count value CNT has reached the upper threshold CNT, and the value is reset to zero (time t31). , T32, t34, t39).

ここで、マイコン300から書き込まれたアンサー信号が正答であり、かつ、リセット直前の内部カウント値CNTがCNTL<CNT<CNTHを満たしているときには、グッドイベント(OK状態)と判定されて、フェイルカウント値WD_FCが1つデクリメントされる(時刻t31を参照)。 Here, when the answer signal written from the microcomputer 300 is the correct answer and the internal count value CNT immediately before the reset satisfies CNT <CNT <CNTH, it is determined as a good event (OK state) and the fail count. One value WD_FC is decremented (see time t31).

一方、Q&Aイベントが完了せず、内部カウント値CNTがリセットされないまま上側閾値CNTHに達したときには、バッドイベント(SlowNG状態)であると判定されて、フェイルカウント値WD_FCが2つインクリメントされる(時刻t32を参照)。このとき、ステータスレジスタWDT_SLOWには”1”がセットされる。 On the other hand, when the Q & A event is not completed and the upper threshold value CNT is reached without resetting the internal count value CNT, it is determined that the event is a bad event (SlowNG state), and the fail count value WD_FC is incremented by two (time). See t32). At this time, "1" is set in the status register WDT_SLOW.

また、マイコン300から書き込まれたアンサー信号が誤答であるときには、リセット直前の内部カウント値CNTがCNTL<CNT<CNTHを満たしていたとしても、バッドイベント(誤答NG状態)であると判定されて、フェイルカウント値WD_FCが2つインクリメントされる(時刻t34を参照)。 Further, when the answer signal written from the microcomputer 300 is an incorrect answer, even if the internal count value CNT immediately before the reset satisfies CNT <CNT <CNTH, it is determined to be a bad event (wrong answer NG state). Then, the fail count value WD_FC is incremented by two (see time t34).

若しくは、マイコン300から書き込まれたアンサー信号が正答であっても、リセット直前の内部カウント値CNTが下側閾値CNTLよりも小さいときには、バッドイベント(FastNG状態)であると判定されて、フェイルカウント値WD_FCが2つインクリメントされる(時刻t39を参照)。このとき、ステータスレジスタWDT_FASTには”1”がセットされる。 Alternatively, even if the answer signal written from the microcomputer 300 is a correct answer, if the internal count value CNT immediately before reset is smaller than the lower threshold CNTL, it is determined to be a bad event (FastNG state) and the fail count value. WD_FC is incremented by two (see time t39). At this time, "1" is set in the status register WDT_FAST.

なお、上記以外にも、バッドイベントの類型としては、(1)所定時間内にクエスチョン信号の問い合わせがない場合、(2)アンサー信号が正答であっても所定時間内に書き込まれない場合、(3)多バイトのアンサー信号が正しいバイト順序で書き込まれない場合などを挙げることができる。これらの場合には、バッドイベントであると判定されて、フェイルカウント値WD_FCが2つインクリメントされる。 In addition to the above, the types of bad events include (1) when there is no inquiry for a question signal within a predetermined time, and (2) when the answer signal is correct but not written within a predetermined time. 3) Examples include cases where multi-byte answer signals are not written in the correct byte order. In these cases, it is determined that the event is a bad event, and the fail count value WD_FC is incremented by two.

上記一連のインクリメント/デクリメントが繰り返されることにより、フェイルカウント値WD_FCが所定の閾値(例えば”6”)以上になると、リセット出力信号XRSTOUTがリセット保持時間tRSTL(例えば10ms)に亘ってローレベル(=リセット時の論理レベル)に立ち下げられる(時刻t35〜t37を参照)。このとき、Q&A型WDTエラーレジスタWD_QA_ERRORを”1”にセットして、マイコン300への異常通知を行うとよい。 When the fail count value WD_FC becomes equal to or higher than a predetermined threshold value (for example, "6") by repeating the above series of increments / decrements, the reset output signal XRSTOUT has a low level (=) over the reset holding time tRSTL (for example, 10 ms). It is lowered to (logical level at reset) (see time t35-t37). At this time, it is advisable to set the Q & A type WDT error register WD_QA_ERROR to "1" to notify the microcomputer 300 of the abnormality.

また、フェイルカウント値WD_FCが所定の閾値以上になると、Q&A型WDTイネーブル信号WDQAENもローレベル(=ディセーブル時の論理レベル)に立ち下げられる(時刻t35を参照)。 Further, when the fail count value WD_FC becomes equal to or higher than a predetermined threshold value, the Q & A type WDT enable signal WDQAEN is also lowered to a low level (= logical level at the time of disabling) (see time t35).

以上のように、Q&A型WDT動作では、先の上側閾値CNTH及び下側閾値CNTLで設定されるウィンドウ区間内に、正しいアンサー信号が書き込まれたか否かを監視することにより、マイコン300の周波数異常が検出される。なお、上側閾値CNTH及び下側閾値CNTLは、先にも述べたように、それぞれ、ウィンドウ区間設定レジスタWD_detect_time(例えば2ビット)に応じた可変値とすることが望ましい。 As described above, in the Q & A type WDT operation, the frequency abnormality of the microcomputer 300 is abnormal by monitoring whether or not the correct answer signal is written in the window section set by the upper threshold value CNT and the lower threshold value CNTL. Is detected. As described above, it is desirable that the upper threshold value CNT and the lower threshold value CNTL have variable values according to the window interval setting register WD_detect_time (for example, 2 bits), respectively.

図10は、Q&A型WDT動作の一例を示すフローチャートである。なお、本図中において、100番台のステップ「S1**」は、監視IC100(特にQ&A型の第3周波数監視部173c)を動作主体とするステップである。一方、300番台のステップ「S3**」は、マイコン300を動作主体とするステップである。また、監視IC100とマイコン300との間における双方向通信は、いずれもSPI通信により実施される。 FIG. 10 is a flowchart showing an example of the Q & A type WDT operation. In this figure, the step "S1 **" in the 100s is a step in which the monitoring IC 100 (particularly the Q & A type third frequency monitoring unit 173c) is the main operating unit. On the other hand, the step "S3 **" in the 300 series is a step in which the microcomputer 300 is the main operating body. In addition, bidirectional communication between the monitoring IC 100 and the microcomputer 300 is carried out by SPI communication.

まず、マイコン300は、ステップS310において、監視IC100にクエスチョン信号(Question(token))の問い合わせコマンドを発行する。問い合わせコマンドを受け付けた監視IC100は、ステップS110において、クエスチョン信号をマイコン300に返信する。なお、クエスチョン信号の返信は、所定レジスタ(WD_Question)にクエスチョン信号の値を書き込み、これをマイコン300から読み出すことにより実施される。 First, in step S310, the microcomputer 300 issues a question signal (Question (token)) inquiry command to the monitoring IC 100. The monitoring IC 100 that has received the inquiry command returns a question signal to the microcomputer 300 in step S110. The reply of the question signal is performed by writing the value of the question signal to a predetermined register (WD_Question) and reading it from the microcomputer 300.

クエスチョン信号の返信を受け付けたマイコン300は、ステップS320において、クエスチョン信号に対応するアンサー信号(Answer(response(s))を生成し、続くステップS330において、そのアンサー信号を監視IC100の所定レジスタ(WD_Answer)に書き込む。 The microcomputer 300 that has received the reply of the question signal generates an answer signal (Answer (response (s)) corresponding to the question signal in step S320, and in the subsequent step S330, the answer signal is set to a predetermined register (WD_Answer) of the monitoring IC100. ).

一方、監視IC100は、ステップS120において、自らもクエスチョン信号に対応するアンサー信号(Right_Answer)を生成するとともに、続くステップS130において、マイコン300から書き込まれたアンサー信号と、自ら生成したアンサー信号との答え合わせを行う。 On the other hand, in step S120, the monitoring IC 100 also generates an answer signal (Light_Answer) corresponding to the question signal, and in the following step S130, the answer signal written from the microcomputer 300 and the answer signal generated by itself are answered. Make a match.

なお、上記一連のステップ(本図中の大破線で囲まれたステップ)は、先述のウィンドウ区間内に完了することが要求される。 The above series of steps (steps surrounded by a large broken line in this figure) are required to be completed within the window section described above.

続くステップS140では、上記一連のステップによるQ&Aイベントが先述のグッドイベントであるか否かのパス判定が行われる。ここで、イエス判定が下された場合には、フローがステップS150に進められる。一方、ノー判定が下された場合には、フローがステップS160に進められる。 In the following step S140, a path determination is performed as to whether or not the Q & A event by the above series of steps is the above-mentioned good event. Here, if a yes determination is made, the flow proceeds to step S150. On the other hand, if no determination is made, the flow proceeds to step S160.

ステップS150では、所定のグッドイベント処理が実行される。より具体的に述べると、ステップS151において、フェイルカウント値WD_FCが1つデクリメントされるとともに、新しいクエスチョン信号の生成が行われる。その後、フローがステップS110に戻されると、監視IC100は、マイコン300からクエスチョン信号の問い合わせコマンドを待ち受ける状態となる。 In step S150, a predetermined good event process is executed. More specifically, in step S151, one fail count value WD_FC is decremented and a new question signal is generated. After that, when the flow is returned to step S110, the monitoring IC 100 is in a state of waiting for a question signal inquiry command from the microcomputer 300.

一方、ステップS160では、所定のバッドイベント処理が実行される。より具体的に述べると、ステップS161において、フェイルカウント値WD_FCが2つインクリメントされる。その際、新たなクエスチョン信号は生成されず、従前の値が維持される。 On the other hand, in step S160, a predetermined bad event process is executed. More specifically, in step S161, the fail count value WD_FC is incremented by two. At that time, a new question signal is not generated and the previous value is maintained.

なお、マイコン300は、任意のタイミング(本図ではステップS340)において、フェイルカウント値WD_FCを参照することができる。 The microcomputer 300 can refer to the fail count value WD_FC at an arbitrary timing (step S340 in this figure).

次に、ステップS162では、フェイルカウント値WD_FCが所定の閾値(WD_FCset)に達したか否かの判定が行われる。ここで、ノー判定が下された場合には、フローがステップS110に戻されるので、監視IC100は、マイコン300からクエスチョン信号の問い合わせコマンドを待ち受ける状態となる。 Next, in step S162, it is determined whether or not the fail count value WD_FC has reached a predetermined threshold value (WD_FCset). Here, if no determination is made, the flow is returned to step S110, so that the monitoring IC 100 is in a state of waiting for a question signal inquiry command from the microcomputer 300.

一方、イエス判定が下された場合には、フローがステップS163に進められて、所定の割り込み処理(=Q&A型WDTエラーレジスタWD_QA_ERRORへのデータ書き込み)が行われる。このような割り込み処理を受け付けたマイコン300は、ステップS350において、システムリブートなどの対策を取ることができる。 On the other hand, if a yes determination is made, the flow proceeds to step S163, and predetermined interrupt processing (= data writing to the Q & A type WDT error register WD_QA_ERROR) is performed. The microcomputer 300 that has received such interrupt processing can take measures such as system reboot in step S350.

<第3周波数異常検出部(Q&A型)>
図11は、第3周波数異常検出部173cの一構成例を示す図である。本構成例の第3周波数異常検出部173cは、クエスチョン信号生成部c100と、アンサー信号生成部c200と、イベント判定部c300と、フェイルカウンタc400と、エラー出力部c500と、を含む。
<Third frequency abnormality detection unit (Q & A type)>
FIG. 11 is a diagram showing a configuration example of the third frequency abnormality detection unit 173c. The third frequency abnormality detection unit 173c of this configuration example includes a question signal generation unit c100, an answer signal generation unit c200, an event determination unit c300, a fail counter c400, and an error output unit c500.

まず、上記構成要素の説明に先立ち、本図中における各種レジスタ(WD_SEED、WD_Qcfg、WD_Question、Right_Answer、WD_Answer、WD_FC、WD_FCset、WD_QA_ERROR)について、簡単に説明しておく。 First, prior to the description of the above components, various registers (WD_SEED, WD_Qcfg, WD_Question, Right_Answer, WD_Answer, WD_FC, WD_FCset, WD_QA_ERROR) in this figure will be briefly described.

レジスタWD_SEEDは、クエスチョン信号生成部c100(特にその線形帰還シフトレジスタ)を初期化するために用意されたレジスタ(例えば5ビット)である。 The register WD_SEED is a register (for example, 5 bits) prepared for initializing the question signal generation unit c100 (particularly its linear feedback shift register).

レジスタWD_Qcfgは、クエスチョン信号生成部c100(特にその論理演算部)を設定するために用意されたレジスタ(例えば4ビット)である。 The register WD_Qcfg is a register (for example, 4 bits) prepared for setting the question signal generation unit c100 (particularly its logical operation unit).

レジスタWD_Questionは、クエスチョン信号生成部c100の出力値を格納するために用意されたレジスタ(例えば4ビット)である。なお、レジスタWD_Questionは、マイコン300からクエスチョン信号を読み出すことができれば足りるので、監視IC100外部からのアクセスがリードオンリーに制限されている。 The register WD_Question is a register (for example, 4 bits) prepared for storing the output value of the question signal generation unit c100. Since it is sufficient for the register WD_Question to be able to read the question signal from the microcomputer 300, access from the outside of the monitoring IC 100 is restricted to read-only.

レジスタRight_Answerは、アンサー信号生成部c200の出力値を格納するために用意されたレジスタ(例えば8ビット)である。 The register Right_Answer is a register (for example, 8 bits) prepared for storing the output value of the answer signal generation unit c200.

レジスタWD_Answerは、マイコン300からアンサー信号を書き込むために用意されたレジスタ(例えば8ビット)である。 The register WD_Answer is a register (for example, 8 bits) prepared for writing an answer signal from the microcomputer 300.

レジスタWD_FCは、フェイルカウンタc400の出力値を格納するために用意されたレジスタ(例えば3ビット)である。 The register WD_FC is a register (for example, 3 bits) prepared for storing the output value of the fail counter c400.

レジスタWD_FCsetは、フェイルカウンタc400の出力値と比較する閾値(例えば、6、4、2)を格納するために用意されたレジスタ(例えば2ビット)である。 The register WD_FCset is a register (for example, 2 bits) prepared for storing a threshold value (for example, 6, 4, 2) to be compared with the output value of the fail counter c400.

レジスタWD_QA_ERRORは、エラー出力部c500の出力値を格納するために用意されたレジスタ(1ビット)である。なお、レジスタWD_QA_ERRORは、マイコン300からQ&A型WDT動作の検出結果を読み出すことができれば足りるので、監視IC100外部からのアクセスがリードオンリーに制限されている。 The register WD_QA_ERROR is a register (1 bit) prepared for storing the output value of the error output unit c500. Since it is sufficient for the register WD_QA_ERROR to be able to read the detection result of the Q & A type WDT operation from the microcomputer 300, access from the outside of the monitoring IC 100 is restricted to read-only.

クエスチョン信号生成部c100は、レジスタWD_SEED及びレジスタWD_Qcfgそれぞれに格納されたデータ値に基づいてクエスチョン信号を生成し、これをレジスタWD_Questionに書き込む(図10のステップS110、S151を参照)。 The question signal generation unit c100 generates a question signal based on the data values stored in the register WD_SEED and the register WD_Qcfg, and writes the question signal in the register WD_Question (see steps S110 and S151 in FIG. 10).

アンサー信号生成部c200は、レジスタWD_Questionに格納されたデータ値(=クエスチョン信号)に基づいてアンサー信号を生成し、これをレジスタRight_Answerに書き込む(図10のステップS120を参照)。 The answer signal generation unit c200 generates an answer signal based on the data value (= question signal) stored in the register WD_Question, and writes this in the register Right_Answer (see step S120 in FIG. 10).

イベント判定部c300は、レジスタRight_Answer及びレジスタWD_Answerそれぞれに格納されたデータ値を比較してQ&Aイベントのパス判定(=所定のウィンドウ区間内に正しいアンサー信号が返されたか否かの判定、図10のステップS130及びS140を参照)を行い、フェイルカウンタc400のインクリメント/デクリメントを行う。より具体的に述べると、イベント判定部c300は、バッド判定時にフェイルカウンタc400を2つインクリメントする一方、グッド判定時にフェイルカウンタc400を1つデクリメントする(図10のステップS151及びS161を参照)。 The event determination unit c300 compares the data values stored in the register Right_Answer and the register WD_Answer, and determines the path of the Q & A event (= determines whether or not the correct answer signal is returned within the predetermined window section, FIG. 10). Steps S130 and S140) are performed to increment / decrement the fail counter c400. More specifically, the event determination unit c300 increments the fail counter c400 by two at the time of bad determination, and decrements one fail counter c400 at the time of good determination (see steps S151 and S161 in FIG. 10).

フェイルカウンタc400は、イベント判定部c300の判定結果に基づいてインクリメント/デクリメントされる出力値(=フェイルカウント値)をレジスタWD_FCに書き込む(図10のステップS151及びS161を参照)。 The fail counter c400 writes an output value (= fail count value) that is incremented / decremented based on the determination result of the event determination unit c300 to the register WD_FC (see steps S151 and S161 in FIG. 10).

エラー出力部c500は、レジスタWD_FC及びレジスタWD_FCsetそれぞれに格納されたデータ値を比較して、WD_FC≧WDFCsetとなったときに、レジスタWD_QA_ERRORに”1”をセットする(図10のステップS162及びS163を参照)。 The error output unit c500 compares the data values stored in the register WD_FC and the register WD_FCset, and sets "1" in the register WD_QA_ERROR when WD_FC ≧ WDFC set (steps S162 and S163 in FIG. 10). reference).

図12は、クエスチョン信号生成部c100の一構成例を示す図である。本構成例のクエスチョン信号生成部c100は、Dフリップフロップc101〜c105と、XORゲートc106〜c110と、を含む。 FIG. 12 is a diagram showing a configuration example of the question signal generation unit c100. The question signal generation unit c100 of this configuration example includes D flip-flops c101 to c105 and XOR gates c106 to c110.

Dフリップフロップc101のデータ入力端(D)は、XORゲートc106の出力端に接続されている。Dフリップフロップc101の出力端(Q)は、論理信号X1の出力端として、Dフリップフロップc102のデータ入力端(D)に接続されている。Dフリップフロップc102の出力端(Q)は、論理信号X2の出力端として、Dフリップフロップc103のデータ入力端(D)に接続されている。Dフリップフロップc103の出力端(Q)は、論理信号X3の出力端として、Dフリップフロップc104のデータ入力端(D)とXORゲートc106の第1入力端に接続されている。Dフリップフロップc104の出力端(Q)は、論理信号X4の出力端として、Dフリップフロップc105のデータ入力端(D)に接続されている。Dフリップフロップc105の出力端(Q)は、論理信号X5の出力端として、XORゲートc106の第2入力端に接続されている。 The data input end (D) of the D flip-flop c101 is connected to the output end of the XOR gate c106. The output end (Q) of the D flip-flop c101 is connected to the data input end (D) of the D flip-flop c102 as the output end of the logic signal X1. The output end (Q) of the D flip-flop c102 is connected to the data input end (D) of the D flip-flop c103 as the output end of the logic signal X2. The output end (Q) of the D flip-flop c103 is connected to the data input end (D) of the D flip-flop c104 and the first input end of the XOR gate c106 as the output end of the logic signal X3. The output end (Q) of the D flip-flop c104 is connected to the data input end (D) of the D flip-flop c105 as an output end of the logic signal X4. The output end (Q) of the D flip-flop c105 is connected to the second input end of the XOR gate c106 as the output end of the logic signal X5.

このように接続されたDフリップフロップc101〜c105及びXORゲートc106は、5ビットの線形帰還シフトレジスタとして機能し、クロック入力に同期して帰還多項式X+X+1(31周期)で表される疑似乱数値(X1X2X3X4X5)を順次生成する。なお、レジスタWD_SEEDに格納されたデータ値(5ビット)は、各桁の値がDフリップフロップc101〜c105それぞれの初期出力値として用いられる。 The D flip-flops c101 to c105 and the XOR gate c106 connected in this way function as a 5-bit linear feedback shift register and are represented by the feedback polynomial X 5 + X 3 + 1 (31 cycles) in synchronization with the clock input. Pseudo-random values (X1X2X3X4X5) are sequentially generated. As for the data value (5 bits) stored in the register WD_SEED, the value of each digit is used as the initial output value of each of the D flip-flops c101 to c105.

XORゲートc107は、論理信号X5とレジスタWD_Qcfgに格納された第4桁目(最上位)のビット値[3]との排他的論理和演算を行い、その出力値をレジスタWD_Questionの第4桁目に格納する。 The XOR gate c107 performs an exclusive OR operation on the logical signal X5 and the bit value [3] of the fourth digit (most significant bit) stored in the register WD_Qcfg, and outputs the output value to the fourth digit of the register WD_Question. Store in.

XORゲートc108は、論理信号X4とレジスタWD_Qcfgに格納された第3桁目のビット値[2]との排他的論理和演算を行い、その出力値をレジスタWD_Questionの第3桁目に格納する。 The XOR gate c108 performs an exclusive OR operation between the logical signal X4 and the bit value [2] of the third digit stored in the register WD_Qcfg, and stores the output value in the third digit of the register WD_Question.

XORゲートc109は、論理信号X3とレジスタWD_Qcfgに格納された第2桁目のビット値[1]との排他的論理和演算を行い、その出力値をレジスタWD_Questionの第2桁目に格納する。 The XOR gate c109 performs an exclusive OR operation between the logical signal X3 and the bit value [1] of the second digit stored in the register WD_Qcfg, and stores the output value in the second digit of the register WD_Question.

XORゲートc110は、論理信号X2とレジスタWD_Qcfgに格納された第1桁目(最下位)のビット値[0]との排他的論理和演算を行い、その出力値をレジスタWD_Questionの第1桁目に格納する。 The XOR gate c110 performs an exclusive OR operation between the logical signal X2 and the bit value [0] of the first digit (lowest) stored in the register WD_Qcfg, and outputs the output value to the first digit of the register WD_Question. Store in.

このように、XORゲートc107〜c110は、線形帰還シフトレジスタで生成される疑似乱数値とレジスタWD_Qcfgの格納値に基づいて、クエスチョン信号を生成する論理演算部として機能する。 As described above, the XOR gates c107 to c110 function as a logical operation unit that generates a question signal based on the pseudo random number value generated by the linear feedback shift register and the stored value of the register WD_Qcfg.

ただし、クエスチョン信号を生成するための論理演算処理については、何ら上記に限定されるものではなく、任意に変更することが可能である。 However, the logical operation processing for generating the question signal is not limited to the above, and can be arbitrarily changed.

図13は、アンサー信号生成部c200の一構成例を示す図である。本構成例のアンサー信号生成部c200は、XORゲートc201〜c208と、INVゲートc209とを含む。 FIG. 13 is a diagram showing a configuration example of the answer signal generation unit c200. The answer signal generation unit c200 of this configuration example includes XOR gates c201 to c208 and INV gate c209.

XORゲートc201は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第4桁目のビット値[3]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第8桁目に格納する。 The XOR gate c201 performs an exclusive OR operation of the bit value [x] of the arbitrary digit and the bit value [3] of the fourth digit stored in the register WD_Question, and outputs the output value via the INV gate c209. It is stored in the 8th digit of the register Right_Answer.

XORゲートc202は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第3桁目のビット値[2]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第7桁目に格納する。 The XOR gate c202 performs an exclusive OR operation on the bit value [x] of the arbitrary digit and the bit value [2] of the third digit stored in the register WD_Question, and outputs the output value via the INV gate c209. It is stored in the 7th digit of the register Right_Answer.

XORゲートc203は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第2桁目のビット値[1]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第6桁目に格納する。 The XOR gate c203 performs an exclusive OR operation on the bit value [x] of the arbitrary digit stored in the register WD_Question and the bit value [1] of the second digit, and outputs the output value via the INV gate c209. It is stored in the 6th digit of the register Right_Answer.

XORゲートc204は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第1桁目のビット値[0]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第5桁目に格納する。 The XOR gate c204 performs an exclusive OR operation on the bit value [x] of the arbitrary digit stored in the register WD_Question and the bit value [0] of the first digit, and outputs the output value via the INV gate c209. It is stored in the 5th digit of the register Right_Answer.

XORゲートc205は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第4桁目のビット値[3]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第4桁目に格納する。 The XOR gate c205 performs an exclusive OR operation on the bit value [x] of the arbitrary digit and the bit value [3] of the fourth digit stored in the register WD_Question, and outputs the output value via the INV gate c209. It is stored in the 4th digit of the register Right_Answer.

XORゲートc206は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第3桁目のビット値[2]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第3桁目に格納する。 The XOR gate c206 performs an exclusive OR operation on the bit value [x] of the arbitrary digit and the bit value [2] of the third digit stored in the register WD_Question, and outputs the output value via the INV gate c209. It is stored in the third digit of the register Right_Answer.

XORゲートc207は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第2桁目のビット値[1]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第2桁目に格納する。 The XOR gate c207 performs an exclusive OR operation on the bit value [x] of the arbitrary digit stored in the register WD_Question and the bit value [1] of the second digit, and outputs the output value via the INV gate c209. It is stored in the second digit of the register Right_Answer.

XORゲートc208は、レジスタWD_Questionに格納された任意桁目のビット値[x]と第1桁目のビット値[0]との排他的論理和演算を行い、その出力値をINVゲートc209経由でレジスタRight_Answerの第1桁目に格納する。 The XOR gate c208 performs an exclusive OR operation on the bit value [x] of the arbitrary digit stored in the register WD_Question and the bit value [0] of the first digit, and outputs the output value via the INV gate c209. It is stored in the first digit of the register Right_Answer.

INVゲート209は、XORゲートc201〜c208それぞれの出力値を論理反転させてからレジスタRight_Answerに書き込む。 The INV gate 209 logically inverts the output values of the XOR gates c201 to c208, and then writes the output values to the register Right_Answer.

このように、本構成例のアンサー信号生成部c200は、レジスタWD_Questionに格納されたクエスチョン信号のビット組み合わせ処理により、アンサー信号を生成し、これをレジスタRight_Answerに格納する。 In this way, the answer signal generation unit c200 of this configuration example generates an answer signal by bit combination processing of the question signal stored in the register WD_Question, and stores this in the register Right_Answer.

ただし、アンサー信号を生成するための論理演算処理については、何ら上記に限定されるものではなく、任意に変更することが可能である。 However, the logical operation processing for generating the answer signal is not limited to the above, and can be arbitrarily changed.

<車両への適用>
図14は、車両Xの一構成例を示す外観図である。本構成例の車両Xは、バッテリから電力供給を受けて動作する種々の電子機器(車載機器)X11〜X18を搭載している。なお、本図における電子機器X11〜X18の搭載位置については、図示の便宜上、実際とは異なる場合がある。
<Application to vehicles>
FIG. 14 is an external view showing a configuration example of the vehicle X. The vehicle X of this configuration example is equipped with various electronic devices (vehicle-mounted devices) X11 to X18 that operate by receiving electric power from a battery. Note that the mounting positions of the electronic devices X11 to X18 in this figure may differ from the actual ones for convenience of illustration.

電子機器X11は、エンジンに関連する制御(インジェクション制御、電子スロットル制御、アイドリング制御、酸素センサヒータ制御、及び、オートクルーズ制御など)を行うエンジンコントロールユニットである。 The electronic device X11 is an engine control unit that performs control related to the engine (injection control, electronic throttle control, idling control, oxygen sensor heater control, auto cruise control, etc.).

電子機器X12は、HID[high intensity discharged lamp]やDRL[daytime running lamp]などの点消灯制御を行うランプコントロールユニットである。 The electronic device X12 is a lamp control unit that controls turning on and off such as HID [high intensity discharged lamp] and DRL [daytime running lamp].

電子機器X13は、トランスミッションに関連する制御を行うトランスミッションコントロールユニットである。 The electronic device X13 is a transmission control unit that performs control related to the transmission.

電子機器X14は、車両Xの運動に関連する制御(ABS[anti-lock brake system]制御、EPS[electric power steering]制御、電子サスペンション制御など)を行う制動ユニットである。 The electronic device X14 is a braking unit that performs controls related to the movement of the vehicle X (ABS [anti-lock brake system] control, EPS [electric power steering] control, electronic suspension control, etc.).

電子機器X15は、ドアロックや防犯アラームなどの駆動制御を行うセキュリティコントロールユニットである。 The electronic device X15 is a security control unit that controls drive such as a door lock and a security alarm.

電子機器X16は、ワイパー、電動ドアミラー、パワーウィンドウ、ダンパー(ショックアブソーバー)、電動サンルーフ、及び、電動シートなど、標準装備品やメーカーオプション品として、工場出荷段階で車両Xに組み込まれている電子機器である。 The electronic device X16 is an electronic device incorporated in the vehicle X at the factory shipment stage as standard equipment such as a wiper, an electric door mirror, a power window, a damper (shock absorber), an electric sunroof, and an electric seat as a manufacturer's option. Is.

電子機器X17は、車載A/V[audio/visual]機器、カーナビゲーションシステム、及び、ETC[electronic toll collection system]など、ユーザオプション品として任意で車両Xに装着される電子機器である。 The electronic device X17 is an electronic device that is optionally mounted on the vehicle X as a user option such as an in-vehicle A / V [audio / visual] device, a car navigation system, and an ETC [electronic toll collection system].

電子機器X18は、車載ブロア、オイルポンプ、ウォーターポンプ、バッテリ冷却ファンなど、高耐圧系モータを備えた電子機器である。 The electronic device X18 is an electronic device provided with a high withstand voltage motor such as an in-vehicle blower, an oil pump, a water pump, and a battery cooling fan.

なお、先に説明した監視IC100は、電子機器X11〜X18のいずれにも組み込むことが可能である。 The monitoring IC 100 described above can be incorporated into any of the electronic devices X11 to X18.

<その他の変形例>
なお、上記の実施形態では、車載機器に搭載される監視ICを例に挙げたが、その適用対象はこれに限定されるものではなく、電子機器全般に広く適用することが可能である。
<Other variants>
In the above embodiment, the monitoring IC mounted on the in-vehicle device is taken as an example, but the application target is not limited to this, and it can be widely applied to all electronic devices.

また、本明細書中に開示されている種々の技術的特徴は、上記実施形態のほか、その技術的創作の主旨を逸脱しない範囲で種々の変更を加えることが可能である。すなわち、上記実施形態は、全ての点で例示であって制限的なものではないと考えられるべきであり、本発明の技術的範囲は、上記実施形態に限定されるものではなく、特許請求の範囲と均等の意味及び範囲内に属する全ての変更が含まれると理解されるべきである。 In addition to the above embodiments, the various technical features disclosed in the present specification can be modified in various ways without departing from the spirit of the technical creation. That is, it should be considered that the above-described embodiment is exemplary in all respects and is not restrictive, and the technical scope of the present invention is not limited to the above-described embodiment and is claimed. It should be understood that the meaning equal to the scope and all changes belonging to the scope are included.

本明細書中に開示されている発明は、例えば、機能安全が求められる電子機器全般(車載用のカメラ、レーダー、インフォテイメント、ランプ、クラスタ、パワートレイン、及び、センサフュージョンなど)に利用することが可能である。 The invention disclosed in the present specification is used, for example, for all electronic devices (vehicle-mounted cameras, radars, infotainment, lamps, clusters, powertrains, sensor fusions, etc.) for which functional safety is required. Is possible.

1 電子機器
100 監視IC(監視装置)
101 樹脂封止体
102 外部端子
103 放熱パッド
103a 切欠部
111 基準電圧生成部
112 サブ基準電圧生成部
120 基準電圧検出部
130 UVLO部
140〜149 閾値電圧生成部
150〜159 コンパレータ
161 オシレータ(デジタル処理用)
162 オシレータ(ウォッチドッグタイマ用)
170 デジタル処理部
171 自己診断部
172 クロック検出部
173 ウォッチドッグタイマ
173a 第1周波数異常検出部(トリガ型)
173b 第2周波数異常検出部(通信断絶検知型)
173c 第3周波数異常検出部(Q&A型)
180〜184 Nチャネル型MOS電界効果トランジスタ
190 SPIインタフェイス
200 パワーマネジメントIC(電源装置)
300 マイコン
c100 クエスチョン信号生成部
c101〜c105 Dフリップフロップ
c106〜c110 XORゲート
c200 アンサー信号生成部
c201〜c208 XORゲート
c209 INVゲート
c300 イベント判定部
c400 フェイルカウンタ
c500 エラー出力部
C1、C2 キャパシタ
CNT0〜CNT4 カウンタ
FLT0〜FLT4 フィルタ
OR0〜OR4、OR10〜OR14 論理和ゲート
R1〜R10、R12〜R16 抵抗
X 車両
X11〜X18 電子機器
1 Electronic equipment 100 Monitoring IC (monitoring device)
101 Resin sealer 102 External terminal 103 Heat dissipation pad 103a Notch 111 Reference voltage generator 112 Sub reference voltage generator 120 Reference voltage detector 130 UVLO section 140 to 149 Threshold voltage generator 150 to 159 Comparator 161 Oscillator (for digital processing) )
162 Oscillator (for watchdog timer)
170 Digital processing unit 171 Self-diagnosis unit 172 Clock detection unit 173 Watchdog timer 173a First frequency abnormality detection unit (trigger type)
173b 2nd frequency abnormality detection unit (communication interruption detection type)
173c Third frequency abnormality detector (Q & A type)
180-184 N-channel MOS field effect transistor 190 SPI interface 200 Power management IC (power supply device)
300 Microcomputer c100 Question signal generator c101 to c105 D flip-flop c106 to c110 XOR gate c200 Answer signal generator c201 to c208 XOR gate c209 INV gate c300 Event judgment unit c400 Fail counter c500 Error output unit C1, C2 Capsule CNT0 to CNT4 FLT0 to FLT4 Filters OR0 to OR4, OR10 to OR14 OR Gates R1 to R10, R12 to R16 Resistance X Vehicles X11 to X18 Electronic Equipment

Claims (10)

トリガ型の第1周波数異常検出部と、
通信断絶検知型の第2周波数異常検出部と、
Q&A型の第3周波数異常検出部と、
を有し、
各周波数異常検出部が選択的に用いられることを特徴とするウォッチドッグタイマ。
Trigger type first frequency abnormality detector and
Communication interruption detection type second frequency abnormality detection unit and
Q & A type 3rd frequency abnormality detector and
Have,
A watchdog timer characterized in that each frequency abnormality detection unit is selectively used.
システムの状態に応じて各周波数異常検出部が切り替えられることを特徴とする請求項1に記載のウォッチドッグタイマ。 The watchdog timer according to claim 1, wherein each frequency abnormality detection unit is switched according to the state of the system. 前記システムが第1状態であるときには前記第1周波数異常検出部が優先され、
前記システムが前記第1状態よりも軽負荷の第2状態であるときには前記第2周波数異常検出部が優先され、
前記システムが前記第2状態よりもさらに軽負荷の第3状態であるときには前記第3周波数異常検出部が優先される、
ことを特徴とする請求項2に記載のウォッチドッグタイマ。
When the system is in the first state, the first frequency abnormality detection unit is prioritized.
When the system is in the second state with a lighter load than the first state, the second frequency abnormality detection unit has priority.
When the system is in the third state with a lighter load than the second state, the third frequency abnormality detection unit has priority.
The watchdog timer according to claim 2.
ユーザ設定に応じて各周波数異常検出部が切り替えられることを特徴とする請求項1に記載のウォッチドッグタイマ。 The watchdog timer according to claim 1, wherein each frequency abnormality detection unit is switched according to a user setting. 前記第1周波数異常検出部は、周期的なパルスエッジを監視して周波数異常を検出することを特徴とする請求項1〜請求項4のいずれか一項に記載のウォッチドッグタイマ。 The watchdog timer according to any one of claims 1 to 4, wherein the first frequency abnormality detecting unit monitors a periodic pulse edge to detect a frequency abnormality. 前記第2周波数異常検出部は、周期的な通信アクセスを監視して周波数異常を検出することを特徴とする請求項1〜請求項5のいずれか一項に記載のウォッチドッグタイマ。 The watchdog timer according to any one of claims 1 to 5, wherein the second frequency abnormality detection unit monitors periodic communication access to detect a frequency abnormality. 前記第3周波数異常検出部は、周期的なQ&Aイベントを監視して周波数異常を検出することを特徴とする請求項1〜請求項6のいずれか一項に記載のウォッチドッグタイマ。 The watchdog timer according to any one of claims 1 to 6, wherein the third frequency abnormality detection unit monitors a periodic Q & A event to detect a frequency abnormality. 請求項1〜請求項7のいずれか一項に記載のウォッチドッグタイマを有する監視装置。 A monitoring device having the watchdog timer according to any one of claims 1 to 7. 請求項8に記載の監視装置を有する電子機器。 An electronic device having the monitoring device according to claim 8. 請求項9に記載の電子機器を有する車両。 A vehicle having the electronic device according to claim 9.
JP2019077993A 2019-04-16 2019-04-16 watchdog timer Active JP7304731B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019077993A JP7304731B2 (en) 2019-04-16 2019-04-16 watchdog timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019077993A JP7304731B2 (en) 2019-04-16 2019-04-16 watchdog timer

Publications (2)

Publication Number Publication Date
JP2020177357A true JP2020177357A (en) 2020-10-29
JP7304731B2 JP7304731B2 (en) 2023-07-07

Family

ID=72936927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019077993A Active JP7304731B2 (en) 2019-04-16 2019-04-16 watchdog timer

Country Status (1)

Country Link
JP (1) JP7304731B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0342943A (en) * 1989-07-11 1991-02-25 Nec Corp Duplexed control system
US5961622A (en) * 1997-10-23 1999-10-05 Motorola, Inc. System and method for recovering a microprocessor from a locked bus state
JP2002189614A (en) * 2000-12-22 2002-07-05 Nec Microsystems Ltd Watchdog timer, microcomputer with the same built therein, and control method for preventing runaway of microcomputer
JP2005529404A (en) * 2002-06-11 2005-09-29 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and base chip for monitoring the operation of a microcontroller unit
JP2008152533A (en) * 2006-12-18 2008-07-03 Hitachi Omron Terminal Solutions Corp Usb device, usb connection system, removal recognition fiction method of usb equipment, and recognition method of usb equipment
JP2008225858A (en) * 2007-03-13 2008-09-25 Nec Corp Device, method and program for recovery from bios stall failure
US8375258B1 (en) * 2009-08-26 2013-02-12 Cypress Semiconductor Corporation Watchdog timer with mode dependent time out
JP2015073176A (en) * 2013-10-02 2015-04-16 日本電気株式会社 Communication device and fault detection method
JP2017507384A (en) * 2013-12-18 2017-03-16 ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh Apparatus and method for monitoring a timer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0342943A (en) * 1989-07-11 1991-02-25 Nec Corp Duplexed control system
US5961622A (en) * 1997-10-23 1999-10-05 Motorola, Inc. System and method for recovering a microprocessor from a locked bus state
JP2002189614A (en) * 2000-12-22 2002-07-05 Nec Microsystems Ltd Watchdog timer, microcomputer with the same built therein, and control method for preventing runaway of microcomputer
JP2005529404A (en) * 2002-06-11 2005-09-29 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and base chip for monitoring the operation of a microcontroller unit
JP2008152533A (en) * 2006-12-18 2008-07-03 Hitachi Omron Terminal Solutions Corp Usb device, usb connection system, removal recognition fiction method of usb equipment, and recognition method of usb equipment
JP2008225858A (en) * 2007-03-13 2008-09-25 Nec Corp Device, method and program for recovery from bios stall failure
US8375258B1 (en) * 2009-08-26 2013-02-12 Cypress Semiconductor Corporation Watchdog timer with mode dependent time out
JP2015073176A (en) * 2013-10-02 2015-04-16 日本電気株式会社 Communication device and fault detection method
JP2017507384A (en) * 2013-12-18 2017-03-16 ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツングRobert Bosch Gmbh Apparatus and method for monitoring a timer

Also Published As

Publication number Publication date
JP7304731B2 (en) 2023-07-07

Similar Documents

Publication Publication Date Title
JP7010663B2 (en) Monitoring device
US6652001B2 (en) Passive safety device for vehicle
JP6844967B2 (en) Semiconductor device
JP5722150B2 (en) Microcontroller
US8996927B2 (en) Electronic control device with watchdog timer and processing unit to diagnose malfunction of watchdog timer
US10671467B2 (en) Semiconductor device
CN104656000A (en) Short circuit in detection switch structure
US20180225249A1 (en) Application-specific integrated circuit configured to interface with automotive diagnostic port
JP6057665B2 (en) Semiconductor devices, electronic devices, vehicles
US11726542B2 (en) Power management circuit and method
JP2020186969A (en) Oscillation detection circuit
JP7304731B2 (en) watchdog timer
JP7216614B2 (en) self-diagnostic circuit
JP7304195B2 (en) delay circuit
JP7304732B2 (en) monitoring device
JP6979413B2 (en) Monitoring device and power supply system using it
JP2020190828A (en) Frequency abnormality protection circuit
US9778671B2 (en) Integrated regulator, in particular voltage regulator, and controller for passenger protection means, with configurable output voltage of the controller
JP2014225953A (en) Power-supply device
JP2017106811A (en) Diagnosis circuit, semiconductor device, onboard electronic control unit, and diagnosis method by diagnosis circuit
WO2023166808A1 (en) Monitoring circuit, semiconductor integrated circuit device, and vehicle
JP7354369B2 (en) Semiconductor device and reset signal generation method
WO2022158347A1 (en) Self-diagnostic circuit, and semiconductor device
US10139883B2 (en) Reset signal generation circuit
JP3196756B2 (en) Semiconductor integrated circuit measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230216

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230627

R150 Certificate of patent or registration of utility model

Ref document number: 7304731

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150