JP2018098717A - Voltage monitoring circuit and semiconductor device - Google Patents

Voltage monitoring circuit and semiconductor device Download PDF

Info

Publication number
JP2018098717A
JP2018098717A JP2016243988A JP2016243988A JP2018098717A JP 2018098717 A JP2018098717 A JP 2018098717A JP 2016243988 A JP2016243988 A JP 2016243988A JP 2016243988 A JP2016243988 A JP 2016243988A JP 2018098717 A JP2018098717 A JP 2018098717A
Authority
JP
Japan
Prior art keywords
voltage
transistor
determination threshold
circuit
threshold voltage
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
JP2016243988A
Other languages
Japanese (ja)
Other versions
JP6764331B2 (en
Inventor
一生 鹿嶋
Kazumasa Kashima
一生 鹿嶋
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2016243988A priority Critical patent/JP6764331B2/en
Priority to US15/729,779 priority patent/US20180172758A1/en
Publication of JP2018098717A publication Critical patent/JP2018098717A/en
Application granted granted Critical
Publication of JP6764331B2 publication Critical patent/JP6764331B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2836Fault-finding or characterising
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16566Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • G01R31/2884Testing of integrated circuits [IC] using dedicated test connectors, test elements or test circuits on the IC under test
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/30Marginal testing, e.g. by varying supply voltage
    • G01R31/3004Current or voltage test
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L23/00Details of semiconductor or other solid state devices
    • H01L23/58Structural electrical arrangements for semiconductor devices not otherwise provided for, e.g. in combination with batteries

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Power Engineering (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Manipulation Of Pulses (AREA)
  • Electronic Switches (AREA)
  • Logic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a voltage monitoring circuit capable of shortening the time required for self-diagnosis, and a semiconductor device.SOLUTION: A selection circuit SEL1 selects any one voltage from among a normal determination threshold voltage VJD_N, a self-diagnosis determination threshold voltage VJD_T of which the polarity is reverse to that of the determination threshold voltage VJD_N with a monitoring target voltage VMI defined as a reference, and a boost determination threshold voltage VJD_B having the same polarity as the determination threshold voltage VJD_N and a larger potential difference. A comparator circuit CMP1 compares a selection voltage VJDS that is selected by the selection circuit SEL1 with the monitoring target voltage VMI, thereby detecting the presence/absence of specification violation of the monitoring target voltage VMI. In the case of self-diagnosis, the selection circuit SEL1 brings the determination threshold voltage VJD_N into an initial state and successively selects VJD_T, VJD_B and VJD_N, thereby forcibly generating a detection result representing the presence of specification violation.SELECTED DRAWING: Figure 1A

Description

本発明は、電圧監視回路および半導体装置に関し、例えば、自己診断機能を搭載した電圧監視回路および半導体装置に関する。   The present invention relates to a voltage monitoring circuit and a semiconductor device, for example, a voltage monitoring circuit and a semiconductor device equipped with a self-diagnosis function.

例えば、特許文献1には、LVDS(Low Voltage Differential Signaling)に基づきパワーダウンを解除する際に、2入力の電位差の0からプラスへの遷移を小さい動作電流(低消費電流)で検出し、その後のプラスからマイナスへの遷移を大きい動作電流で高速に検出するコンパレータ回路が示される。   For example, in Patent Document 1, when canceling power down based on LVDS (Low Voltage Differential Signaling), a transition from 0 to plus of a potential difference of two inputs is detected with a small operating current (low current consumption), and thereafter A comparator circuit for detecting a transition from positive to negative at high speed with a large operating current is shown.

特開2007−315933号公報JP 2007-315933 A

近年、半導体装置の低電圧化が進んでいる。これに伴い、半導体装置では、電源電圧等の変動に対する動作マージンが小さくなっており、電源電圧等の変動を狭い範囲で管理することが求められている。そこで、半導体装置には、電源電圧等の変動を監視する電圧監視回路や、当該電圧監視回路によって異常が検出された際に、所定のエラー処理を行うエラー処理回路等が搭載される場合がある。   In recent years, the voltage of semiconductor devices has been reduced. Accordingly, in the semiconductor device, an operation margin with respect to fluctuations in the power supply voltage and the like is reduced, and it is required to manage fluctuations in the power supply voltage and the like in a narrow range. Therefore, the semiconductor device may be equipped with a voltage monitoring circuit that monitors fluctuations in the power supply voltage, an error processing circuit that performs predetermined error processing when an abnormality is detected by the voltage monitoring circuit, and the like. .

一方、例えば、車両用途を代表に、信頼性が要求される半導体装置では、機能安全の一つとして、前述した電圧監視回路やエラー処理回路等が正常に動作するか否かを診断するための自己診断機能が設けられる場合がある。当該自己診断機能を実現する方式の一つとして、電圧監視回路に含まれる比較回路に対して異常が検出される電位差を強制的に印加したのち、当該電位差を本来の電位差に戻すような方式が考えられる。   On the other hand, for example, in a semiconductor device that is required to be reliable, represented by a vehicle application, as one of functional safety, for diagnosing whether the above-described voltage monitoring circuit, error processing circuit, etc. operate normally. A self-diagnosis function may be provided. As one of the methods for realizing the self-diagnosis function, there is a method in which a potential difference for which an abnormality is detected is forcibly applied to a comparison circuit included in the voltage monitoring circuit, and then the potential difference is returned to the original potential difference. Conceivable.

しかし、このような方式では、自己診断に要する時間が増大する恐れがあることが本発明者等によって見出された。具体的には、電位差を通常の電位差に戻すことで電圧監視回路を通常の動作状態に復帰させる際(すなわち、異常有りを検出した状態から異常無しを検出した状態に戻す際)に、長い時間を要する恐れがある。この時間は、前述したように、電源電圧等の管理範囲が狭くなり、これに伴い、通常の電位差が小さくなるほど長くなる。   However, the present inventors have found that such a method may increase the time required for self-diagnosis. Specifically, it takes a long time to return the voltage monitoring circuit to the normal operating state by returning the potential difference to the normal potential difference (that is, when returning from the state where the abnormality is detected to the state where the abnormality is detected). May be required. As described above, this time becomes longer as the normal potential difference becomes smaller as the management range of the power supply voltage and the like becomes narrower.

後述する実施の形態は、このようなことを鑑みてなされたものであり、その他の課題と新規な特徴は、本明細書の記述及び添付図面から明らかになるであろう。   Embodiments to be described later have been made in view of the above, and other problems and novel features will become apparent from the description of the present specification and the accompanying drawings.

一実施の形態による電圧監視回路は、選択回路および比較回路を有し、監視対象電圧を第1の判定しきい値電圧と比較することで監視対象電圧のスペック違反の有無を検出し、かつ自己診断に際し、スペック違反有りの検出結果を強制的に出力可能となっている。選択回路は、第1の判定しきい値電圧と、監視対象電圧を基準に、第1の判定しきい値電圧とは逆極性の電圧である第2の判定しきい値電圧と、第1の判定しきい値電圧と同極性の電圧であり、かつそれよりも大きい電位差を備える第3の判定しきい値電圧の中のいずれかを選択する。比較回路は、選択回路で選択された選択電圧と監視対象電圧とを比較することで、スペック違反の有無を検出する。ここで、選択回路は、自己診断に際し、第1の判定しきい値電圧を初期状態として、順に、第2、第3、第1の判定しきい値電圧を選択する。   A voltage monitoring circuit according to an embodiment includes a selection circuit and a comparison circuit, detects whether there is a specification violation of the monitoring target voltage by comparing the monitoring target voltage with a first determination threshold voltage, and In the diagnosis, the detection result with the spec violation can be forcibly output. The selection circuit includes a first determination threshold voltage, a second determination threshold voltage having a polarity opposite to that of the first determination threshold voltage, based on the monitored voltage, and a first One of the third determination threshold voltages having the same polarity as the determination threshold voltage and having a larger potential difference is selected. The comparison circuit detects the presence or absence of a specification violation by comparing the selection voltage selected by the selection circuit with the monitoring target voltage. Here, at the time of self-diagnosis, the selection circuit selects the second, third, and first determination threshold voltages in order with the first determination threshold voltage as an initial state.

前記一実施の形態によれば、自己診断に要する時間を短縮可能になる。   According to the one embodiment, the time required for self-diagnosis can be shortened.

本発明の実施の形態1による電圧監視回路の構成例を示す概略図である。It is the schematic which shows the structural example of the voltage monitoring circuit by Embodiment 1 of this invention. 図1Aの電圧監視回路における自己診断時の動作例を示す概略図である。It is the schematic which shows the operation example at the time of the self-diagnosis in the voltage monitoring circuit of FIG. 1A. 図1Bとは異なる動作例を示す概略図である。It is the schematic which shows the operation example different from FIG. 1B. 図1Aの電圧監視回路を拡張した構成例を示す概略図である。It is the schematic which shows the structural example which expanded the voltage monitoring circuit of FIG. 1A. 図1Aの電圧監視回路周りの詳細な構成例を示す回路図である。1B is a circuit diagram showing a detailed configuration example around the voltage monitoring circuit of FIG. 1A. FIG. 本発明の実施の形態1による半導体装置の構成例を示す概略図である。It is the schematic which shows the structural example of the semiconductor device by Embodiment 1 of this invention. 図4の電圧監視回路を用いた場合に生じる恐れがある問題点の一例を示す概略図である。FIG. 5 is a schematic diagram illustrating an example of a problem that may occur when the voltage monitoring circuit of FIG. 4 is used. 本発明の実施の形態2による電圧監視回路周りの詳細な構成例を示す回路図である。It is a circuit diagram which shows the detailed structural example around the voltage monitoring circuit by Embodiment 2 of this invention. 図7の電圧監視回路における主要なトランジスタのサイズ関係の一例を示す模式図である。It is a schematic diagram which shows an example of the size relationship of the main transistors in the voltage monitoring circuit of FIG. 本発明の実施の形態3による電圧監視回路の構成例を示す概略図である。It is the schematic which shows the structural example of the voltage monitoring circuit by Embodiment 3 of this invention. 図9Aの電圧監視回路における自己診断時の動作例を示す概略図である。It is the schematic which shows the operation example at the time of the self-diagnosis in the voltage monitoring circuit of FIG. 9A. 図9Aの電圧監視回路の詳細な構成例を示す回路図である。FIG. 9B is a circuit diagram showing a detailed configuration example of the voltage monitoring circuit of FIG. 9A. 本発明の比較例として検討した電圧監視回路の構成例を示す概略図である。It is the schematic which shows the structural example of the voltage monitoring circuit examined as a comparative example of this invention. 図11Aの電圧監視回路における自己診断時の動作例を示す概略図である。It is the schematic which shows the operation example at the time of the self-diagnosis in the voltage monitoring circuit of FIG. 11A. 図11Aの電圧監視回路における比較回路の構成例を示す回路図である。FIG. 11B is a circuit diagram illustrating a configuration example of a comparison circuit in the voltage monitoring circuit of FIG. 11A.

以下の実施の形態においては便宜上その必要があるときは、複数のセクションまたは実施の形態に分割して説明するが、特に明示した場合を除き、それらは互いに無関係なものではなく、一方は他方の一部または全部の変形例、詳細、補足説明等の関係にある。また、以下の実施の形態において、要素の数等(個数、数値、量、範囲等を含む)に言及する場合、特に明示した場合および原理的に明らかに特定の数に限定される場合等を除き、その特定の数に限定されるものではなく、特定の数以上でも以下でも良い。   In the following embodiment, when it is necessary for the sake of convenience, the description will be divided into a plurality of sections or embodiments. However, unless otherwise specified, they are not irrelevant, and one is the other. Some or all of the modifications, details, supplementary explanations, and the like are related. Further, in the following embodiments, when referring to the number of elements (including the number, numerical value, quantity, range, etc.), especially when clearly indicated and when clearly limited to a specific number in principle, etc. Except, it is not limited to the specific number, and may be more or less than the specific number.

さらに、以下の実施の形態において、その構成要素(要素ステップ等も含む)は、特に明示した場合および原理的に明らかに必須であると考えられる場合等を除き、必ずしも必須のものではないことは言うまでもない。同様に、以下の実施の形態において、構成要素等の形状、位置関係等に言及するときは、特に明示した場合および原理的に明らかにそうでないと考えられる場合等を除き、実質的にその形状等に近似または類似するもの等を含むものとする。このことは、上記数値および範囲についても同様である。   Further, in the following embodiments, the constituent elements (including element steps and the like) are not necessarily indispensable unless otherwise specified and apparently essential in principle. Needless to say. Similarly, in the following embodiments, when referring to the shapes, positional relationships, etc. of the components, etc., the shapes are substantially the same unless otherwise specified, or otherwise apparent in principle. And the like are included. The same applies to the above numerical values and ranges.

また、実施の形態の各機能ブロックを構成する回路素子は、特に制限されないが、公知のCMOS(相補型MOSトランジスタ)等の集積回路技術によって、単結晶シリコンのような半導体基板上に形成される。実施の形態では、MISFET(Metal Insulator Semiconductor Field Effect Transistor)の一例としてMOSFET(Metal Oxide Semiconductor Field Effect Transistor)(MOSトランジスタと略す)を用いるが、ゲート絶縁膜として非酸化膜を除外するものではない。図面において、pチャネル型MOSトランジスタ(PMOSトランジスタと称す)にはゲートに丸印の記号を付すことで、nチャネル型MOSトランジスタ(NMOSトランジスタと称す)と区別することとする。図面にはMOSトランジスタの基板電位の接続は特に明記していないが、MOSトランジスタが正常動作可能な範囲であれば、その接続方法は特に限定しない。   The circuit elements constituting each functional block of the embodiment are not particularly limited, but are formed on a semiconductor substrate such as single crystal silicon by a known integrated circuit technology such as a CMOS (complementary MOS transistor). . In the embodiment, a MOSFET (Metal Oxide Semiconductor Field Effect Transistor) (abbreviated as a MOS transistor) is used as an example of a MISFET (Metal Insulator Semiconductor Field Effect Transistor), but a non-oxide film is not excluded as a gate insulating film. In the drawing, a p-channel MOS transistor (referred to as a PMOS transistor) is distinguished from an n-channel MOS transistor (referred to as an NMOS transistor) by adding a circle symbol to the gate. Although the connection of the substrate potential of the MOS transistor is not particularly specified in the drawing, the connection method is not particularly limited as long as the MOS transistor can operate normally.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.

(実施の形態1)
《電圧監視回路(比較例)の概略および問題点》
まず、実施の形態1の電圧監視回路の説明に先立ち、比較例となる電圧監視回路について説明する。図11Aは、本発明の比較例として検討した電圧監視回路の構成例を示す概略図である。図11Aに示す電圧監視回路VMNC’には、監視対象電圧VMIに加えて、通常用の判定しきい値電圧VJD_Nと、自己診断用の判定しきい値電圧VJD_Tとが入力される。通常用の判定しきい値電圧VJD_Nは、通常時に、監視対象電圧VMIの上限スペック違反や下限スペック違反といったスペック違反の有無を検出するための電圧である。一方、自己診断用の判定しきい値電圧VJD_Tは、自己診断の際に、電圧監視回路VMNC’に、スペック違反有りの検出結果を強制的に出力させるための電圧である。
(Embodiment 1)
<< Outline and problems of voltage monitoring circuit (comparative example) >>
First, prior to the description of the voltage monitoring circuit of the first embodiment, a voltage monitoring circuit as a comparative example will be described. FIG. 11A is a schematic diagram illustrating a configuration example of a voltage monitoring circuit studied as a comparative example of the present invention. In addition to the monitoring target voltage VMI, a normal determination threshold voltage VJD_N and a self-diagnosis determination threshold voltage VJD_T are input to the voltage monitoring circuit VMNC ′ illustrated in FIG. 11A. The normal determination threshold voltage VJD_N is a voltage for detecting whether or not there is a specification violation such as an upper limit specification violation or a lower limit specification violation of the monitoring target voltage VMI at a normal time. On the other hand, the determination threshold voltage VJD_T for self-diagnosis is a voltage for forcibly outputting the detection result with the specification violation to the voltage monitoring circuit VMNC ′ at the time of self-diagnosis.

当該電圧監視回路VMNC’は、選択回路SEL4と、比較回路CMP1とを備える。選択回路SEL4は、自己診断用の判定しきい値電圧VJD_Tと、通常用の判定しきい値電圧VJD_Nの中のいずれかを選択信号SS4に基づき選択する。比較回路CMP1は、選択回路SEL4で選択された選択電圧VJDSと監視対象電圧VMIとを比較することで、監視対象電圧VMIのスペック違反の有無を検出し、その検出結果を表す出力信号CMOを出力する。   The voltage monitoring circuit VMNC ′ includes a selection circuit SEL4 and a comparison circuit CMP1. The selection circuit SEL4 selects one of the determination threshold voltage VJD_T for self-diagnosis and the determination threshold voltage VJD_N for normal use based on the selection signal SS4. The comparison circuit CMP1 compares the selection voltage VJDS selected by the selection circuit SEL4 with the monitoring target voltage VMI to detect whether there is a spec violation of the monitoring target voltage VMI, and outputs an output signal CMO representing the detection result. To do.

図11Bは、図11Aの電圧監視回路における自己診断時の動作例を示す概略図である。図11Bに示されるように、電圧監視回路VMNC’は、自己診断に際し、図示しない自己診断制御回路によって選択信号SS4が制御されることで、通常モードMD1を初期状態として、順に、自己診断モードMD2、通常モードMD3に遷移する。これに応じて、選択回路SEL4は、通常用の判定しきい値電圧VJD_Nを初期状態として、順に、自己診断用の判定しきい値電圧VJD_T、通常用の判定しきい値電圧VJD_Nを選択する。   FIG. 11B is a schematic diagram illustrating an operation example during self-diagnosis in the voltage monitoring circuit of FIG. 11A. As shown in FIG. 11B, in the self-diagnosis, the voltage monitoring circuit VMNC ′ controls the selection signal SS4 by a self-diagnosis control circuit (not shown), so that the self-diagnosis mode MD2 is sequentially set with the normal mode MD1 as an initial state. Transition to the normal mode MD3. In response to this, the selection circuit SEL4 selects the determination threshold voltage VJD_T for normal diagnosis and the determination threshold voltage VJD_N for normal use in order with the normal determination threshold voltage VJD_N as an initial state.

自己診断用の判定しきい値電圧VJD_Tは、監視対象電圧VMIを基準として通常用の判定しきい値電圧VJD_Nとは逆極性の電圧である。図11Bの例では、電圧監視回路VMNC’は、通常時(通常モード時)に、監視対象電圧VMIが通常用の判定しきい値電圧VJD_Nよりも低下したか否かを検出している。この場合、監視対象電圧VMIを基準として、通常用の判定しきい値電圧VJD_Nは負極側に設定され、自己診断用の判定しきい値電圧VJD_Tは正極側に設定される。   The determination threshold voltage VJD_T for self-diagnosis is a voltage having a polarity opposite to that of the normal determination threshold voltage VJD_N with reference to the monitoring target voltage VMI. In the example of FIG. 11B, the voltage monitoring circuit VMNC ′ detects whether or not the monitoring target voltage VMI is lower than the normal determination threshold voltage VJD_N during normal time (in normal mode). In this case, with reference to the monitoring target voltage VMI, the normal determination threshold voltage VJD_N is set on the negative side, and the self-diagnosis determination threshold voltage VJD_T is set on the positive side.

また、自己診断用の判定しきい値電圧VJD_Tは、監視対象電圧VMIを基準として十分な電位差が生じる値に設定される。その結果、比較回路CMP1は、自己診断モードMD2への遷移が行われた際に、出力信号CMOを‘L’レベルから‘H’レベルへ高速に推移させる。この出力信号CMOの‘H’レベルは、スペック違反(下限スペック違反)有りの検出結果を表し、‘L’レベルは、スペック違反無しの検出結果を表す。   The determination threshold voltage VJD_T for self-diagnosis is set to a value that causes a sufficient potential difference with reference to the monitoring target voltage VMI. As a result, when the transition to the self-diagnosis mode MD2 is performed, the comparison circuit CMP1 changes the output signal CMO from the ‘L’ level to the ‘H’ level at high speed. The 'H' level of the output signal CMO represents a detection result with a specification violation (lower limit specification violation), and the 'L' level represents a detection result with no specification violation.

その後、電圧監視回路VMNC’が自己診断モードMD2から通常モードMD3へ遷移すると、比較回路CMP1は、出力信号CMOを‘H’レベルから‘L’レベルへ推移させる。しかし、図11Bに示されるように、監視対象電圧VMIと通常用の判定しきい値電圧VJD_Nとの電位差Vdが小さい場合、図12で述べるように、出力信号CMOの‘H’レベルから‘L’レベルへの推移時間Tt1’が長くなる恐れがある。推移時間Tt1’が長くなると、これに制約されて、通常モードMD3への実効的な復帰時間Tr1’も長くなる。   Thereafter, when the voltage monitoring circuit VMNC 'transitions from the self-diagnosis mode MD2 to the normal mode MD3, the comparison circuit CMP1 causes the output signal CMO to transition from the ‘H’ level to the ‘L’ level. However, as shown in FIG. 11B, when the potential difference Vd between the monitored voltage VMI and the normal determination threshold voltage VJD_N is small, as described in FIG. There is a possibility that the “level transition time Tt1” becomes long. When the transition time Tt1 'becomes longer, the effective return time Tr1' to the normal mode MD3 becomes longer due to this limitation.

図12は、図11Aの電圧監視回路における比較回路の構成例を示す回路図である。図12に示す比較回路CMP1は、差動増幅回路DAMP1と、その後段に縦続結合されるソース接地増幅回路AMP1と、その出力を反転することで出力信号CMOを出力するインバータ回路INVとを備える。差動増幅回路DAMP1は、差動対トランジスタとなるNMOSトランジスタMN1,MN2と、差動増幅用の負荷電流源となる一対のPMOSトランジスタMP1,MP2と、テール電流源となるNMOSトランジスタMN3とを備える。PMOSトランジスタMP1,MP2は、電源電圧VCC1とNMOSトランジスタMN1,MN2との間にそれぞれ結合され、NMOSトランジスタMN3は、NMOSトランジスタMN1,MN2の共通ソースノードと、接地電源電圧GNDとの間に結合される。   FIG. 12 is a circuit diagram showing a configuration example of a comparison circuit in the voltage monitoring circuit of FIG. 11A. The comparison circuit CMP1 shown in FIG. 12 includes a differential amplifier circuit DAMP1, a common source amplifier circuit AMP1 that is cascade-coupled to the subsequent stage, and an inverter circuit INV that outputs an output signal CMO by inverting its output. The differential amplifier circuit DAMP1 includes NMOS transistors MN1 and MN2 that are differential pair transistors, a pair of PMOS transistors MP1 and MP2 that are load current sources for differential amplification, and an NMOS transistor MN3 that is a tail current source. . The PMOS transistors MP1 and MP2 are coupled between the power supply voltage VCC1 and the NMOS transistors MN1 and MN2, respectively. The NMOS transistor MN3 is coupled between the common source node of the NMOS transistors MN1 and MN2 and the ground power supply voltage GND. The

ソース接地増幅回路AMP1は、ソースが電源電圧VCC1に結合され、差動増幅回路DAMP1の出力によって駆動されるPMOSトランジスタMP4と、ソースが接地電源電圧GNDに結合され、増幅用の負荷電流源となるNMOSトランジスタMN4とを備える。差動増幅回路DAMP1において、NMOSトランジスタMN1は、選択電圧VJDSによって駆動され、NMOSトランジスタMN2は、監視対象電圧VMIによって駆動される。   The source grounded amplifier circuit AMP1 has a source coupled to the power supply voltage VCC1 and a PMOS transistor MP4 driven by the output of the differential amplifier circuit DAMP1, and a source coupled to the ground power supply voltage GND to serve as a load current source for amplification. And an NMOS transistor MN4. In the differential amplifier circuit DAMP1, the NMOS transistor MN1 is driven by the selection voltage VJDS, and the NMOS transistor MN2 is driven by the monitoring target voltage VMI.

ここで、NMOSトランジスタMN1,MN2の相互コンダクタンスを“gm”、NMOSトランジスタMN1,MN2への差動入力電圧を、図11Bに示した電位差Vdとすると、差動増幅回路DAMP1の出力電流“I”は、“gm×Vd”となる。ソース接地増幅回路AMP1のPMOSトランジスタMP4のゲートは、この出力電流“I”で充放電され、ソース接地増幅回路AMP1は、この充放電に伴いPMOSトランジスタMP4のゲートの入力電圧振幅が所定の大きさに達すると、インバータ回路INVの論理を反転させることができる。   If the mutual conductance of the NMOS transistors MN1 and MN2 is “gm” and the differential input voltage to the NMOS transistors MN1 and MN2 is the potential difference Vd shown in FIG. 11B, the output current “I” of the differential amplifier circuit DAMP1. Becomes “gm × Vd”. The gate of the PMOS transistor MP4 of the common source amplifier circuit AMP1 is charged / discharged by this output current “I”, and the input voltage amplitude of the gate of the PMOS transistor MP4 has a predetermined magnitude in the common source amplifier circuit AMP1 due to this charge / discharge. Can reach the logic of the inverter circuit INV.

この際に、PMOSトランジスタMP4のゲート容量を“Cg”、インバータ回路INVの論理を反転させるのに必要なPMOSトランジスタMP4のゲートの入力電圧振幅を“ΔVg”、PMOSトランジスタMP4のゲート容量の充放電時間を“T”とすると、式(1)の関係が成り立つ。また、式(1)を変形して式(2)の関係が成り立つ。式(2)から判るように、インバータ回路INVの論理を反転させるのに必要な充放電時間(すなわち、図11Bの推移期間Tt1’)は、電位差Vdが小さいほど長くなる。   At this time, the gate capacitance of the PMOS transistor MP4 is “Cg”, the input voltage amplitude of the gate of the PMOS transistor MP4 necessary to invert the logic of the inverter circuit INV is “ΔVg”, and the gate capacitance of the PMOS transistor MP4 is charged / discharged. When time is “T”, the relationship of Expression (1) is established. Further, the relationship of equation (2) is established by modifying equation (1). As can be seen from Equation (2), the charge / discharge time (that is, the transition period Tt1 'in FIG. 11B) necessary to invert the logic of the inverter circuit INV becomes longer as the potential difference Vd is smaller.

I×T=Cg×ΔVg (1)
T=(Cg×ΔVg)/I=(Cg×ΔVg)/(gm×Vd) (2)
こうした中、仕様として求められる電位差Vdは、前述したように、半導体装置の低電圧化等の流れを受け、益々小さくなってきている。また、通常用の判定しきい値電圧VJD_Nは、例えば、バンドギャップリファレンス回路等を含む基準電圧生成回路(図4参照)によって生成され、温度や電源電圧への依存性が低い電圧となる。しかし、通常用の判定しきい値電圧VJD_Nは、プロセスばらつきに応じて各半導体装置(半導体チップ)毎にばらつく場合がある。このようなばらつきを考慮すると、実際上の電位差Vdは、さらに、小さくなる恐れがある。
I × T = Cg × ΔVg (1)
T = (Cg × ΔVg) / I = (Cg × ΔVg) / (gm × Vd) (2)
Under such circumstances, as described above, the potential difference Vd required as a specification is getting smaller and smaller due to the trend of lowering the voltage of the semiconductor device. The normal determination threshold voltage VJD_N is generated by, for example, a reference voltage generation circuit (see FIG. 4) including a band gap reference circuit and the like, and becomes a voltage with low dependency on temperature and power supply voltage. However, the normal determination threshold voltage VJD_N may vary for each semiconductor device (semiconductor chip) depending on process variations. Considering such variations, the actual potential difference Vd may be further reduced.

そして、電位差Vdが小さくなるほど、図11Bに示した通常モードMD3への実効的な復帰時間Tr1’は長くなり、実効的に通常モードMD3へ復帰するまでは自己診断を完了できないため、自己診断に要する時間も長くなる。例えば、電位差Vdが50mV等の場合、復帰時間Tr1’は、数10μs以下等が求められるのに対して、場合によっては、msオーダとなることがある。また、半導体装置の起動時に自己診断を行う場合、自己診断の長期化は、半導体装置の起動時間の増大を招くことになる。   As the potential difference Vd becomes smaller, the effective return time Tr1 ′ to the normal mode MD3 shown in FIG. 11B becomes longer, and the self-diagnosis cannot be completed until the effective mode MD3 is effectively returned. The time required also becomes long. For example, when the potential difference Vd is 50 mV or the like, the recovery time Tr1 'is required to be several tens of μs or less, but in some cases, may be on the order of ms. In the case where the self-diagnosis is performed at the time of starting the semiconductor device, the longer self-diagnosis causes an increase in the start-up time of the semiconductor device.

《電圧監視回路(実施の形態1)の概略》
図1Aは、本発明の実施の形態1による電圧監視回路の構成例を示す概略図である。図11Bの推移時間Tt1’を短縮する方式として、例えば、(A)比較回路CMP1の動作電流を増加する方式や、(B)図12のPMOSトランジスタMP4のトランジスタサイズを小さくする方式等が考えられる。ただし、(A)の方式は、消費電流が増大し、半導体チップ全体の消費電力の増大を招くことになる。(B)の方式は、PMOSトランジスタMP4における半導体チップ間での相対的な特性ばらつきの増大を招くため、半導体チップ間での判定しきい値電圧のばらつきに繋がる恐れがある。
<< Outline of Voltage Monitoring Circuit (Embodiment 1) >>
FIG. 1A is a schematic diagram showing a configuration example of a voltage monitoring circuit according to Embodiment 1 of the present invention. As a method of shortening the transition time Tt1 ′ of FIG. 11B, for example, (A) a method of increasing the operating current of the comparison circuit CMP1, (B) a method of reducing the transistor size of the PMOS transistor MP4 of FIG. . However, the method (A) increases the current consumption, leading to an increase in power consumption of the entire semiconductor chip. The method (B) causes an increase in relative characteristic variation between semiconductor chips in the PMOS transistor MP4, which may lead to variation in determination threshold voltage between semiconductor chips.

そこで、(A)や(B)の問題が生じない方式として、図1Aの方式を用いることが有益となる。図1Aに示す電圧監視回路VMNC1は、図11Aの構成例と比較して、さらに、ブースト用の判定しきい値電圧VJD_Bが入力される点が異なっている。ブースト用の判定しきい値電圧VJD_Bは、自己診断モードから通常モードへの遷移時に、比較回路CMP1への入力電位差を一時的に拡大するための電圧である。   Therefore, it is beneficial to use the method of FIG. 1A as a method that does not cause the problems (A) and (B). The voltage monitoring circuit VMNC1 shown in FIG. 1A is different from the configuration example of FIG. 11A in that a boost determination threshold voltage VJD_B is further input. The determination threshold voltage VJD_B for boosting is a voltage for temporarily expanding the input potential difference to the comparison circuit CMP1 at the time of transition from the self-diagnosis mode to the normal mode.

当該電圧監視回路VMNC1は、選択回路SEL1と、比較回路CMP1とを備える。選択回路SEL1は、自己診断用の判定しきい値電圧VJD_T、通常用の判定しきい値電圧VJD_N、およびブースト用の判定しきい値電圧VJD_Bの中のいずれかを選択信号SS1に基づき選択する。比較回路CMP1は、例えば、図12に示した回路で構成され、選択回路SEL1で選択された選択電圧VJDSと監視対象電圧VMIとを比較することで、監視対象電圧VMIのスペック違反の有無を検出し、その検出結果を表す出力信号CMOを出力する。   The voltage monitoring circuit VMNC1 includes a selection circuit SEL1 and a comparison circuit CMP1. The selection circuit SEL1 selects one of the determination threshold voltage VJD_T for self diagnosis, the determination threshold voltage VJD_N for normal use, and the determination threshold voltage VJD_B for boosting based on the selection signal SS1. The comparison circuit CMP1 is composed of, for example, the circuit shown in FIG. 12, and detects whether there is a specification violation of the monitoring target voltage VMI by comparing the selection voltage VJDS selected by the selection circuit SEL1 with the monitoring target voltage VMI. Then, an output signal CMO representing the detection result is output.

図1Bは、図1Aの電圧監視回路における自己診断時の動作例を示す概略図である。図1Bに示されるように、電圧監視回路VMNC1は、自己診断に際し、図示しない自己診断制御回路によって選択信号SS1が制御されることで、通常モードMD1を初期状態として、順に、自己診断モードMD2a、ブーストモードMD2b、通常モードMD3に遷移する。これに応じて、選択回路SEL1は、通常用の判定しきい値電圧VJD_Nを初期状態として、順に、自己診断用の判定しきい値電圧VJD_T、ブースト用の判定しきい値電圧VJD_B、通常用の判定しきい値電圧VJD_Nを選択する。   FIG. 1B is a schematic diagram illustrating an operation example during self-diagnosis in the voltage monitoring circuit of FIG. 1A. As shown in FIG. 1B, in the self-diagnosis, the voltage monitoring circuit VMNC1 controls the selection signal SS1 by a self-diagnosis control circuit (not shown), so that the self-diagnosis mode MD2a, Transition to boost mode MD2b and normal mode MD3. In response to this, the selection circuit SEL1 sets the normal determination threshold voltage VJD_N as an initial state, and sequentially determines the self-diagnosis determination threshold voltage VJD_T, the boost determination threshold voltage VJD_B, and the normal determination threshold voltage VJD_B. The determination threshold voltage VJD_N is selected.

自己診断用の判定しきい値電圧VJD_Tは、図11Bの場合と同様に、監視対象電圧VMIを基準として通常用の判定しきい値電圧VJD_Nとは逆極性の電圧である。一方、ブースト用の判定しきい値電圧VJD_Bは、監視対象電圧VMIを基準として通常用の判定しきい値電圧VJD_Nと同極性の電圧であり、かつ通常用の判定しきい値電圧VJD_Nよりも大きい電位差を備える電圧である。   The determination threshold voltage VJD_T for self diagnosis is a voltage having a polarity opposite to that of the normal determination threshold voltage VJD_N with respect to the monitoring target voltage VMI, as in the case of FIG. 11B. On the other hand, the boost determination threshold voltage VJD_B is a voltage having the same polarity as the normal determination threshold voltage VJD_N with respect to the monitoring target voltage VMI, and is larger than the normal determination threshold voltage VJD_N. A voltage having a potential difference.

図1Bの例では、電圧監視回路VMNC1は、通常時(通常モード時)に、監視対象電圧VMIが通常用の判定しきい値電圧VJD_Nよりも低下したか否か(すなわち下限スペック違反の有無)を検出している。この場合、監視対象電圧VMIを基準として、通常用の判定しきい値電圧VJD_Nおよびブースト用の判定しきい値電圧VJD_Bは負極側に設定され、自己診断用の判定しきい値電圧VJD_Tは正極側に設定される。さらに、監視対象電圧VMIを基準として、ブースト用の判定しきい値電圧VJD_Bの電位差Vbは、通常用の判定しきい値電圧VJD_Nの電位差Vdよりも大きくなっている。   In the example of FIG. 1B, the voltage monitoring circuit VMNC1 determines whether or not the monitoring target voltage VMI is lower than the normal determination threshold voltage VJD_N during normal time (in normal mode) (that is, whether or not a lower limit specification is violated). Is detected. In this case, with reference to the monitoring target voltage VMI, the normal determination threshold voltage VJD_N and the boost determination threshold voltage VJD_B are set to the negative side, and the self-diagnosis determination threshold voltage VJD_T is the positive side. Set to Further, with reference to the monitoring target voltage VMI, the potential difference Vb of the boost determination threshold voltage VJD_B is larger than the potential difference Vd of the normal determination threshold voltage VJD_N.

自己診断用の判定しきい値電圧VJD_Tは、図11Bの場合と同様に、監視対象電圧VMIを基準として十分な電位差が生じる値に設定される。その結果、比較回路CMP1は、自己診断モードMD2aへの遷移が行われた際に、出力信号CMOを‘L’レベルから‘H’レベルへ高速に推移させる。その後、電圧監視回路VMNC1は、自己診断モードMD2aからブーストモードMD2bへ遷移する。ブーストモードMD2bでは、比較回路CMP1へ十分な電位差Vbが入力されるため、比較回路CMP1は、ブーストモードMD2bへの遷移に応じて、出力信号CMOを‘H’レベルから‘L’レベルへ高速に推移させる。その後、ブーストモードMD2bから通常モードMD3への遷移が行われると、比較回路CMP1へ入力される選択電圧VJDSは、ブースト用の判定しきい値電圧VJD_Bから通常用の判定しきい値電圧VJD_Nへ戻る。   The determination threshold voltage VJD_T for self-diagnosis is set to a value that causes a sufficient potential difference with reference to the monitoring target voltage VMI, as in the case of FIG. 11B. As a result, when the transition to the self-diagnosis mode MD2a is performed, the comparison circuit CMP1 changes the output signal CMO from the ‘L’ level to the ‘H’ level at high speed. Thereafter, the voltage monitoring circuit VMNC1 makes a transition from the self-diagnosis mode MD2a to the boost mode MD2b. In the boost mode MD2b, a sufficient potential difference Vb is input to the comparison circuit CMP1, so that the comparison circuit CMP1 increases the output signal CMO from the “H” level to the “L” level at a high speed in response to the transition to the boost mode MD2b. Transition. Thereafter, when the transition from the boost mode MD2b to the normal mode MD3 is performed, the selection voltage VJDS input to the comparison circuit CMP1 returns from the boost determination threshold voltage VJD_B to the normal determination threshold voltage VJD_N. .

このような構成および動作を用いると、図1Bに示されるように、通常モードへの復帰時間Tr1は、図11Bの場合と異なり出力信号CMOの推移時間Tt1に制約されなくなる。その結果、電圧監視回路VMNC1は、選択信号SS1に応じてブーストモードMD2bから通常モードMD3へ遷移した時点で、実効的に通常モードMD3へ復帰することができる。これにより、自己診断に要する時間を短縮可能になり、ひいては、半導体装置の起動時間を短縮することが可能になる。   When such a configuration and operation are used, as shown in FIG. 1B, the return time Tr1 to the normal mode is not restricted by the transition time Tt1 of the output signal CMO unlike the case of FIG. 11B. As a result, the voltage monitoring circuit VMNC1 can effectively return to the normal mode MD3 at the time of transition from the boost mode MD2b to the normal mode MD3 according to the selection signal SS1. As a result, the time required for self-diagnosis can be shortened, and as a result, the startup time of the semiconductor device can be shortened.

なお、図1Bの電位差Vbは、大きいほど推移時間Tt1を短縮することが可能になり、これに応じて、ブーストモードMD2bの時間を短縮することで、通常モードMD3への実効的な復帰時間Tr1も短縮することが可能になる。ただし、電位差Vbが大き過ぎると、場合によっては、選択電圧VJDSがブースト用の判定しきい値電圧VJD_Bから通常用の判定しきい値電圧VJD_Nへ戻る際に、オーバーシュート等が生じる恐れがあるため、これらのトレードオフで定められる。   Note that the transition time Tt1 can be shortened as the potential difference Vb in FIG. 1B increases. Accordingly, the effective return time Tr1 to the normal mode MD3 can be shortened by shortening the time in the boost mode MD2b. Can also be shortened. However, if the potential difference Vb is too large, an overshoot or the like may occur when the selection voltage VJDS returns from the boost determination threshold voltage VJD_B to the normal determination threshold voltage VJD_N. Defined by these trade-offs.

図2は、図1Bとは異なる動作例を示す概略図である。図2において、自己診断用の判定しきい値電圧VJD_Tは、図1Bの場合と同様に、監視対象電圧VMIを基準として通常用の判定しきい値電圧VJD_Nとは逆極性の電圧である。また、ブースト用の判定しきい値電圧VJD_Bも、図1Bの場合と同様に、監視対象電圧VMIを基準として通常用の判定しきい値電圧VJD_Nと同極性の電圧であり、かつ通常用の判定しきい値電圧VJD_Nよりも大きい電位差を備える電圧である。   FIG. 2 is a schematic diagram illustrating an operation example different from FIG. 1B. In FIG. 2, the determination threshold voltage VJD_T for self-diagnosis is a voltage having a polarity opposite to that of the normal determination threshold voltage VJD_N with respect to the monitoring target voltage VMI, as in the case of FIG. 1B. Similarly to the case of FIG. 1B, the boost determination threshold voltage VJD_B is a voltage having the same polarity as the normal determination threshold voltage VJD_N with respect to the monitoring target voltage VMI, and the normal determination. This is a voltage having a potential difference larger than the threshold voltage VJD_N.

ただし、図2の例では、図1Bの場合と異なり、電圧監視回路VMNC1は、通常時(通常モード時)に、監視対象電圧VMIが通常用の判定しきい値電圧VJD_Nよりも上昇したか否か(すなわち上限スペック違反の有無)を検出している。この場合、監視対象電圧VMIを基準として、通常用の判定しきい値電圧VJD_Nおよびブースト用の判定しきい値電圧VJD_Bは正極側に設定され、自己診断用の判定しきい値電圧VJD_Tは負極側に設定される。   However, in the example of FIG. 2, unlike the case of FIG. 1B, the voltage monitoring circuit VMNC1 determines whether or not the monitoring target voltage VMI is higher than the normal determination threshold voltage VJD_N during normal time (in normal mode). (That is, whether there is a violation of the upper limit specification). In this case, with reference to the monitoring target voltage VMI, the normal determination threshold voltage VJD_N and the boost determination threshold voltage VJD_B are set to the positive side, and the self-diagnosis determination threshold voltage VJD_T is the negative side. Set to

図3は、図1Aの電圧監視回路を拡張した構成例を示す概略図である。図3に示す電圧監視回路VMNC2は、図1Aに示した電圧監視回路を2個備えている。一方の電圧監視回路は、選択回路SEL1uおよび比較回路CMP1uを備え、他方の電圧監視回路は、選択回路SEL1lおよび比較回路CMP1lを備える。選択回路SEL1u,SEL1lは、それぞれ、選択信号SS1u,SS1lに基づいて選択動作を行い、選択電圧VJDSu,VJDSlを出力する。   FIG. 3 is a schematic diagram illustrating a configuration example in which the voltage monitoring circuit of FIG. 1A is expanded. The voltage monitoring circuit VMNC2 shown in FIG. 3 includes two voltage monitoring circuits shown in FIG. 1A. One voltage monitoring circuit includes a selection circuit SEL1u and a comparison circuit CMP1u, and the other voltage monitoring circuit includes a selection circuit SEL1l and a comparison circuit CMP1l. The selection circuits SEL1u and SEL1l perform selection operations based on the selection signals SS1u and SS1l, respectively, and output selection voltages VJDSu and VJDSl.

選択回路SEL1lに入力される通常用の判定しきい値電圧VJD_Nlは、監視対象電圧VMIよりも低電位であり、選択回路SEL1uに入力される通常用の判定しきい値電圧VJD_Nuは、監視対象電圧VMIよりも高電位である。これにより、選択回路SEL1lおよび比較回路CMP1lは、通常用の判定しきい値電圧VJD_Nlに基づいて図1Bのような動作を行い、下限スペック違反の検出結果を表す出力信号CMOlを出力する。一方、選択回路SEL1uおよび比較回路CMP1uは、通常用の判定しきい値電圧VJD_Nuに基づいて図2のような動作を行い、上限スペック違反の検出結果を表す出力信号CMOuを出力する。   The normal determination threshold voltage VJD_Nl input to the selection circuit SEL1l is lower than the monitoring target voltage VMI, and the normal determination threshold voltage VJD_Nu input to the selection circuit SEL1u is the monitoring target voltage. The potential is higher than VMI. Thereby, the selection circuit SEL1l and the comparison circuit CMP1l perform the operation as shown in FIG. 1B based on the normal determination threshold voltage VJD_Nl, and output an output signal CMOL representing the detection result of the lower limit specification violation. On the other hand, the selection circuit SEL1u and the comparison circuit CMP1u perform the operation as shown in FIG. 2 based on the normal determination threshold voltage VJD_Nu, and output an output signal CMou indicating the detection result of the upper limit specification violation.

《電圧監視回路(実施の形態1)周りの詳細》
図4は、図1Aの電圧監視回路周りの詳細な構成例を示す回路図である。ここでは、図1Bの動作を行う電圧監視回路を例としている。図4において、基準電圧生成回路VRGは、バンドギャップレファレンス回路BGRと、差動増幅回路DAMP2と、PMOSトランジスタMP5と、抵抗素子Rd1と、選択回路SEL2とを備え、自己診断用、通常用およびブースト用の各判定しきい値電圧(VJD_T,VJD_N,VJD_B)を生成する。
<< Details around Voltage Monitoring Circuit (Embodiment 1) >>
FIG. 4 is a circuit diagram showing a detailed configuration example around the voltage monitoring circuit of FIG. 1A. Here, a voltage monitoring circuit that performs the operation of FIG. 1B is taken as an example. In FIG. 4, the reference voltage generation circuit VRG includes a band gap reference circuit BGR, a differential amplifier circuit DAMP2, a PMOS transistor MP5, a resistance element Rd1, and a selection circuit SEL2, and is used for self-diagnosis, normal use, and boost. Each determination threshold voltage (VJD_T, VJD_N, VJD_B) is generated.

バンドギャップレファレンス回路BGRは、広く知られているように、pn接合の特性を利用して、温度や電源電圧に依存しないバンドギャップ電圧Vbg(例えば、1.2V程度)を生成する。差動増幅回路DAMP2は、バンドギャップ電圧Vbgと、選択回路SEL2からのフィードバック電圧Vfとが一致するように、PMOSトランジスタMP5を駆動する。PMOSトランジスタMP5は、ソースが電源電圧VCC2に結合され、差動増幅回路DAMP2によって駆動されることで、ドレインに基準電圧Vrefを生成する。抵抗素子Rd1は、基準電圧Vrefを適宜抵抗分圧する。   As is widely known, the band gap reference circuit BGR generates a band gap voltage Vbg (for example, about 1.2 V) that does not depend on the temperature or the power supply voltage by using the characteristics of the pn junction. The differential amplifier circuit DAMP2 drives the PMOS transistor MP5 so that the band gap voltage Vbg matches the feedback voltage Vf from the selection circuit SEL2. The PMOS transistor MP5 has a source coupled to the power supply voltage VCC2 and is driven by the differential amplifier circuit DAMP2, thereby generating a reference voltage Vref at the drain. The resistance element Rd1 appropriately divides the reference voltage Vref by resistance.

選択回路SEL2は、トリミング信号TRMに基づいて、抵抗素子Rd1の抵抗分圧ノード(タップ)を適宜選択し、選択したタップの電圧をフィードバック電圧Vfとして出力する。トリミング信号TRMの値は、半導体装置(半導体チップ)の製造段階で各半導体チップ毎に定められ、半導体チップ間でプロセスばらつきが生じた場合でも、基準電圧Vrefが共に同一の電圧値となるような値に定められる。抵抗素子Rd1は、この基準電圧Vrefを適宜抵抗分圧することで、自己診断用、通常用およびブースト用の各判定しきい値電圧(VJD_T,VJD_N,VJD_B)を生成する。   The selection circuit SEL2 appropriately selects the resistance voltage dividing node (tap) of the resistance element Rd1 based on the trimming signal TRM, and outputs the voltage of the selected tap as the feedback voltage Vf. The value of the trimming signal TRM is determined for each semiconductor chip in the manufacturing stage of the semiconductor device (semiconductor chip), and the reference voltage Vref is the same voltage value even when process variation occurs between the semiconductor chips. Determined by value. The resistance element Rd1 appropriately divides the reference voltage Vref by resistance, thereby generating determination threshold voltages (VJD_T, VJD_N, VJD_B) for self diagnosis, normal use, and boost.

電圧監視回路VMNC1aは、選択回路SEL1aと、コンデンサCvと、図12に示したような比較回路CMP1とを備える。コンデンサCvは、比較回路CMP1のNMOSトランジスタMN1のゲート電圧となる選択電圧VJDSを保持する。選択回路SEL1aは、ここでは、CMOSスイッチCSWt,CSWn,CSWbを備える。CMOSスイッチCSWt,CSWn,CSWbは、それぞれ、自己診断用、通常用およびブースト用の各判定しきい値電圧(VJD_T,VJD_N,VJD_B)を、コンデンサCvに伝送するか否かを定める。   The voltage monitoring circuit VMNC1a includes a selection circuit SEL1a, a capacitor Cv, and a comparison circuit CMP1 as shown in FIG. The capacitor Cv holds a selection voltage VJDS that is the gate voltage of the NMOS transistor MN1 of the comparison circuit CMP1. Here, the selection circuit SEL1a includes CMOS switches CSWt, CSWn, and CSWb. The CMOS switches CSWt, CSWn, and CSWb determine whether or not to transmit determination threshold voltages (VJD_T, VJD_N, and VJD_B) for self diagnosis, normal use, and boost to the capacitor Cv, respectively.

CMOSスイッチCSWt,CSWn,CSWbを構成するNMOSトランジスタおよびPMOSトランジスタのゲートは、図示は省略されているが、図1Aに示した選択信号SS1によって制御される。例えば、通常用の判定しきい値電圧VJD_NをコンデンサCvに伝送する(言い換えれば選択電圧VJDSとする)場合、選択信号SS1によって、CMOSスイッチCSWnはオンに制御され、CMOSスイッチCSWt,CSWbはオフに制御される。   Although not shown, the gates of the NMOS transistors and the PMOS transistors constituting the CMOS switches CSWt, CSWn, and CSWb are controlled by the selection signal SS1 shown in FIG. 1A. For example, when the normal determination threshold voltage VJD_N is transmitted to the capacitor Cv (in other words, the selection voltage VJDS), the selection signal SS1 controls the CMOS switch CSWn to turn on and the CMOS switches CSWt and CSWb to turn off. Be controlled.

《半導体装置の概略》
図5は、本発明の実施の形態1による半導体装置の構成例を示す概略図である。図5に示す半導体装置DEVは、一つの半導体チップで構成され、特に限定はされないが、車載用のマイクロコントローラチップ等である。半導体チップDEVは、外部端子PN1〜PN6を含む複数の外部端子を備える。外部端子PN1,PN2,PN3,PN4には、それぞれ、電源電圧VDD,VCC,VCC_PLL,VCC_SYSが供給される。外部端子PN5には、リセット信号RSTが入力され、外部端子PN6には、システムモード信号SMDが入力される。
<Outline of semiconductor device>
FIG. 5 is a schematic diagram showing a configuration example of the semiconductor device according to the first embodiment of the present invention. The semiconductor device DEV shown in FIG. 5 is composed of a single semiconductor chip, and is an in-vehicle microcontroller chip or the like, although not particularly limited thereto. The semiconductor chip DEV includes a plurality of external terminals including external terminals PN1 to PN6. The external terminals PN1, PN2, PN3, and PN4 are supplied with power supply voltages VDD, VCC, VCC_PLL, and VCC_SYS, respectively. The reset signal RST is input to the external terminal PN5, and the system mode signal SMD is input to the external terminal PN6.

半導体装置DEVは、電源管理ユニットPMUと、電源生成ユニットPGUと、PLL(Phase Locked Loop)回路PLLCと、フラッシュメモリFMEMと、ロジック回路LGCと、不揮発性メモリRAMと、IO回路IOCとを備える。電源管理ユニットPMUは、電源電圧VCC_SYSで動作し、半導体装置DEV内で使用される各種電源を管理する。例えば、電源管理ユニットPMUは、リセット信号RSTに応じたパワーオンリセットの制御や、システムモード信号SMDに応じた半導体装置DEVの省電力制御(例えば、各種回路ブロックの活性/不活性化の制御)等を行う。   The semiconductor device DEV includes a power management unit PMU, a power generation unit PGU, a PLL (Phase Locked Loop) circuit PLLC, a flash memory FMEM, a logic circuit LGC, a nonvolatile memory RAM, and an IO circuit IOC. The power management unit PMU operates with the power supply voltage VCC_SYS and manages various power supplies used in the semiconductor device DEV. For example, the power management unit PMU controls power-on reset according to the reset signal RST and power saving control of the semiconductor device DEV according to the system mode signal SMD (for example, activation / inactivation control of various circuit blocks). Etc.

電源生成ユニットPGUは、図4に示したように、基準電圧生成回路VRGと、当該基準電圧生成回路VRGからの各種判定しきい値電圧が入力される複数の電圧監視回路VMNC1[1]〜VMNC1[3]とを備え、加えて、電源生成回路(レギュレータ回路)VGN1〜VGN3を備える。基準電圧生成回路VRGは、電源電圧VCC_SYSで動作する。電源生成回路VGN1〜VGN3は、基準電圧生成回路VRGからの所定の基準電圧と、外部端子からの電源電圧を受けて、各種内部電源電圧を生成する。ここでは、電源生成回路VGN1は、電源電圧VDDを受けて不揮発性メモリRAM用の内部電源電圧VDDI_RAMを生成する。電源生成回路VGN2は、電源電圧VCCを受けて、フラッシュメモリFMEM用の内部電源電圧VCCI_FMを生成する。電源生成回路VGN3は、電源電圧VCC_PLLを受けて、PLL回路PLLC用の内部電源電圧VCCI_PLLを生成する。   As shown in FIG. 4, the power generation unit PGU includes a reference voltage generation circuit VRG and a plurality of voltage monitoring circuits VMNC1 [1] to VMNC1 to which various determination threshold voltages from the reference voltage generation circuit VRG are input. [3], and in addition, power generation circuits (regulator circuits) VGN1 to VGN3. The reference voltage generation circuit VRG operates with the power supply voltage VCC_SYS. The power supply generation circuits VGN1 to VGN3 receive the predetermined reference voltage from the reference voltage generation circuit VRG and the power supply voltage from the external terminal, and generate various internal power supply voltages. Here, the power supply generation circuit VGN1 receives the power supply voltage VDD and generates the internal power supply voltage VDDI_RAM for the nonvolatile memory RAM. The power supply generation circuit VGN2 receives the power supply voltage VCC and generates an internal power supply voltage VCCI_FM for the flash memory FMEM. The power supply generation circuit VGN3 receives the power supply voltage VCC_PLL and generates an internal power supply voltage VCCI_PLL for the PLL circuit PLLC.

電圧監視回路VMNC1[1]は、電源電圧VDDを監視し、電圧監視回路VMNC1[2]は、電源電圧VCCを監視し、電圧監視回路VMNC1[3]は、電源電圧VCC_PLLを監視する。PLL回路PLLCは、半導体装置DEV内で必要とされる各種クロック信号を生成する。ロジック回路LGCは、電源電圧VDDで動作する。ロジック回路LGCには、フラッシュメモリFMEMや不揮発性メモリRAMのデータを用いて所定のプログラム処理を行うMPU(Micro Processing Unit)や、システム全体の状態等を管理するシステム制御回路SYSC等が含まれる。不揮発性メモリRAMは、SRAM(Static Random Access Memory)やDRAM(Dynamic Random Access Memory)等である。IO回路IOCは、半導体装置DEV外部との間の入出力インタフェースを担う。   The voltage monitoring circuit VMNC1 [1] monitors the power supply voltage VDD, the voltage monitoring circuit VMNC1 [2] monitors the power supply voltage VCC, and the voltage monitoring circuit VMNC1 [3] monitors the power supply voltage VCC_PLL. The PLL circuit PLLC generates various clock signals required in the semiconductor device DEV. The logic circuit LGC operates with the power supply voltage VDD. The logic circuit LGC includes an MPU (Micro Processing Unit) that performs predetermined program processing using data in the flash memory FMEM and the nonvolatile memory RAM, a system control circuit SYSC that manages the state of the entire system, and the like. The nonvolatile memory RAM is an SRAM (Static Random Access Memory), a DRAM (Dynamic Random Access Memory), or the like. The IO circuit IOC serves as an input / output interface with the outside of the semiconductor device DEV.

このような構成において、例えば、電源管理ユニットPMUは、自己診断制御回路を搭載している。電源管理ユニットPMU(自己診断制御回路)は、自己診断に際して、電圧監視回路VMNC1[1]〜VMNC1[3]内の各選択回路(例えば図4のSEL1a)を制御することで、当該選択回路に、通常用の判定しきい値電圧VJD_Nを初期状態として、図1Bに示したような順番で各判定しきい値電圧を選択させる。そして、電源管理ユニットPMUは、電圧監視回路VMNC1[1]〜VMNC1[3]の検出結果(図4の出力信号CMO)を受信する。   In such a configuration, for example, the power management unit PMU includes a self-diagnosis control circuit. The power management unit PMU (self-diagnosis control circuit) controls each selection circuit (for example, SEL1a in FIG. 4) in the voltage monitoring circuits VMNC1 [1] to VMNC1 [3] at the time of self-diagnosis. With the normal determination threshold voltage VJD_N as an initial state, the determination threshold voltages are selected in the order shown in FIG. 1B. Then, the power management unit PMU receives the detection results (the output signal CMO in FIG. 4) of the voltage monitoring circuits VMNC1 [1] to VMNC1 [3].

特に限定はされないが、具体的には、電源管理ユニットPMUは、まず、リセット信号RSTに応じたパワーオンリセットの後、電圧監視回路VMNC1[1]の選択信号SS1を図1Bのように制御することで、電圧監視回路VMNC1[1]にスペック違反有りを検出させる。電源管理ユニットPMUは、当該スペック違反有りの検出結果を受信し、ロジック回路LGC内のシステム制御回路SYSCにその旨を通知する。システム制御回路SYSCは、当該通知を受けて、予め定められる所定のエラー処理を実行したのち、電源管理ユニットPMUへ完了通知を行う。電源管理ユニットPMUは、当該完了通知を受けて、例えば、次ぎの電圧監視回路VMNC1[2]を対象として、同様の自己診断を実行する。   Although not particularly limited, specifically, the power management unit PMU first controls the selection signal SS1 of the voltage monitoring circuit VMNC1 [1] as shown in FIG. 1B after power-on reset according to the reset signal RST. As a result, the voltage monitoring circuit VMNC1 [1] is detected to detect that there is a specification violation. The power management unit PMU receives the detection result with the specification violation and notifies the system control circuit SYSC in the logic circuit LGC to that effect. The system control circuit SYSC receives the notification and executes predetermined error processing that is determined in advance, and then notifies the power management unit PMU of completion. Upon receiving the completion notification, the power management unit PMU performs the same self-diagnosis, for example, for the next voltage monitoring circuit VMNC1 [2].

ここで、例えば、電源電圧VDDは、1.25V等であり、電源電圧VCC_SYSは、3.0V程度であり、電源電圧VCC,VCC_PLLは、3.0V〜5.0V程度である。このような場合、特に、電源電圧VDDを狭い範囲で管理することが求められるため、少なくとも、電圧監視回路VMNC1[1]に対して、図1Aの方式を適用することが望ましい。   Here, for example, the power supply voltage VDD is 1.25V, the power supply voltage VCC_SYS is about 3.0V, and the power supply voltages VCC and VCC_PLL are about 3.0V to 5.0V. In such a case, in particular, since it is required to manage the power supply voltage VDD in a narrow range, it is desirable to apply the method of FIG. 1A to at least the voltage monitoring circuit VMNC1 [1].

例えば、電源電圧VDDは、1.25V±0.05Vの範囲等で管理され、下限スペック違反を検出する際の通常用の判定しきい値電圧VJD_Nは、1.2V−ΔV(ΔVは、ばらつきマージン)等に設定される。この場合、自己診断用の判定しきい値電圧VJD_Tは、例えば、1.5V等に設定され、ブースト用の判定しきい値電圧VJD_Bは、例えば、1.0V等に設定される。なお、他の電圧監視回路VMNC1[2],VMNC1[3]に関しては、図1Bの電位差Vdの値によっては、図1Aの方式の代わりに図11Aの方式を適用することも可能である。   For example, the power supply voltage VDD is managed in the range of 1.25V ± 0.05V, and the normal determination threshold voltage VJD_N when detecting the lower limit specification violation is 1.2V−ΔV (ΔV varies) Margin)). In this case, the determination threshold voltage VJD_T for self-diagnosis is set to 1.5 V, for example, and the determination threshold voltage VJD_B for boost is set to 1.0 V, for example. For the other voltage monitoring circuits VMNC1 [2] and VMNC1 [3], the method of FIG. 11A can be applied instead of the method of FIG. 1A depending on the value of the potential difference Vd of FIG. 1B.

《実施の形態1の主要な効果》
以上、実施の形態1の電圧監視回路および半導体装置を用いることで、代表的には、自己診断に要する時間を短縮可能になり、ひいては、半導体装置DEVの起動時間を短縮可能になる。また、図1Aで述べたように、このような効果を、消費電力を増大させずに、また、監視精度を十分に維持した状態で得ることが可能になる。
<< Main effects of the first embodiment >>
As described above, by using the voltage monitoring circuit and the semiconductor device according to the first embodiment, it is possible to typically shorten the time required for self-diagnosis, and thus to shorten the startup time of the semiconductor device DEV. Further, as described with reference to FIG. 1A, such an effect can be obtained without increasing the power consumption and in a state where the monitoring accuracy is sufficiently maintained.

(実施の形態2)
《電圧監視回路(前提)の問題点》
図6は、図4の電圧監視回路を用いた場合に生じる恐れがある問題点の一例を示す概略図である。図6には、図1Bにおいて、ブーストモードMD2bから通常モードMD3へ遷移する際の状況が模式的に示されている。図6に示されるように、選択電圧VJDSをブースト用の判定しきい値電圧VJD_Bから通常用の判定しきい値電圧VJD_Nに切り替えると、コンデンサCvの電荷の移動等に伴い、選択電圧VJDSにオーバシュートやアンダーシュートといったノイズが生じ得る。その結果、図6に示されるように、比較回路CMP1で誤検知が生じる恐れがある。
(Embodiment 2)
<< Problems of voltage monitoring circuit (premise) >>
FIG. 6 is a schematic diagram illustrating an example of a problem that may occur when the voltage monitoring circuit of FIG. 4 is used. FIG. 6 schematically shows a situation when transitioning from the boost mode MD2b to the normal mode MD3 in FIG. 1B. As shown in FIG. 6, when the selection voltage VJDS is switched from the determination threshold voltage VJD_B for boosting to the determination threshold voltage VJD_N for normal use, the selection voltage VJDS exceeds the selection voltage VJDS due to the movement of the charge of the capacitor Cv. Noises such as shoots and undershoots can occur. As a result, as shown in FIG. 6, there is a possibility that erroneous detection occurs in the comparison circuit CMP1.

このノイズは、監視対象電圧VMIとブースト用の判定しきい値電圧VJD_Bとの間の電位差Vbを小さくするほど抑制されるが、そうすると、図1Bでも述べたように、推移時間Tt1(復帰時間Tr1)が長くなる。また、当該ノイズは、図4の選択回路SEL1aおよび抵抗素子Rd1を介して、基準電圧Vrefにも重畳される。この場合、当該ノイズは、図5のように、基準電圧生成回路VRGを共用している複数の電源生成回路VGN1〜VGN3や複数の電圧監視回路VMNC1[1]〜VMNC1[3]に周り込み、これらの回路に悪影響を及ぼす恐れがある。具体的には、例えば、複数の電圧監視回路VMNC1[1]〜VMNC1[3]が並行して自己診断を行っている場合には、それらに誤検知が生じる恐れがあり、また、電源生成回路VGN1〜VGN3によって電源が供給されている起動済みの回路において、誤動作が生じる恐れがある。   This noise is suppressed as the potential difference Vb between the monitoring target voltage VMI and the boost determination threshold voltage VJD_B is reduced. Then, as described in FIG. 1B, the transition time Tt1 (return time Tr1 ) Becomes longer. The noise is also superimposed on the reference voltage Vref through the selection circuit SEL1a and the resistance element Rd1 in FIG. In this case, as shown in FIG. 5, the noise wraps around the plurality of power generation circuits VGN1 to VGN3 and the plurality of voltage monitoring circuits VMNC1 [1] to VMNC1 [3] sharing the reference voltage generation circuit VRG. These circuits can be adversely affected. Specifically, for example, when a plurality of voltage monitoring circuits VMNC1 [1] to VMNC1 [3] perform self-diagnosis in parallel, there is a possibility that erroneous detection occurs in them, and the power generation circuit There is a possibility that malfunction occurs in the activated circuit to which power is supplied by VGN1 to VGN3.

《電圧監視回路(実施の形態2)周りの詳細》
図7は、本発明の実施の形態2による電圧監視回路周りの詳細な構成例を示す回路図である。図7に示す電圧監視回路VMNC1bは、図4の電圧監視回路VMNC1aと比較して次ぎの2点が異なっている。1つ目の相違点として、図7の比較回路CMP2は、図4の比較回路CMP1におけるNMOSトランジスタMN1の代わりに、3個のNMOSトランジスタMN1t,MN1n,MN1bを備える。NMOSトランジスタMN1t,MN1n,MN1bは、ドレインノードが共通に結合される。NMOSトランジスタMN1tは、自己診断用の判定しきい値電圧VJD_Tによって駆動され、NMOSトランジスタMN1nは、通常用の判定しきい値電圧VJD_Nによって駆動され、NMOSトランジスタMN1bは、ブースト用の判定しきい値電圧VJD_Bによって駆動される。
<< Details around Voltage Monitoring Circuit (Embodiment 2) >>
FIG. 7 is a circuit diagram showing a detailed configuration example around the voltage monitoring circuit according to the second embodiment of the present invention. The voltage monitoring circuit VMNC1b shown in FIG. 7 differs from the voltage monitoring circuit VMNC1a shown in FIG. 4 in the following two points. As a first difference, the comparison circuit CMP2 of FIG. 7 includes three NMOS transistors MN1t, MN1n, and MN1b instead of the NMOS transistor MN1 in the comparison circuit CMP1 of FIG. The NMOS transistors MN1t, MN1n, and MN1b have a common drain node. The NMOS transistor MN1t is driven by a self-diagnosis determination threshold voltage VJD_T, the NMOS transistor MN1n is driven by a normal determination threshold voltage VJD_N, and the NMOS transistor MN1b is driven by a boost determination threshold voltage. Driven by VJD_B.

2つ目の相違点として、図7の比較回路CMP2は、図4の選択回路SEL1aの代わりに、比較回路CMP2内に選択回路SEL1bを備えている。選択回路SEL1bは、3個のスイッチ(ここでは共にNMOSトランジスタ)SWt,SWn,SWbを備える。3個のスイッチSWt,SWn,SWbは、一端が共通に結合され、他端が3個のNMOSトランジスタMN1t,MN1n,MN1bにそれぞれ結合される。すなわち、3個のスイッチSWt,SWn,SWbは、それぞれ、3個のNMOSトランジスタMN1t,MN1n,MN1bの電流経路に挿入される。選択回路SEL1bは、例えば、通常用の判定しきい値電圧VJD_Nを選択する場合、スイッチSWnをオンに制御し、残りのスイッチSWt,SWbをオフに制御する。   As a second difference, the comparison circuit CMP2 of FIG. 7 includes a selection circuit SEL1b in the comparison circuit CMP2 instead of the selection circuit SEL1a of FIG. The selection circuit SEL1b includes three switches (both NMOS transistors here) SWt, SWn, and SWb. The three switches SWt, SWn, SWb have one end coupled in common and the other end coupled to three NMOS transistors MN1t, MN1n, MN1b. That is, the three switches SWt, SWn, and SWb are inserted into the current paths of the three NMOS transistors MN1t, MN1n, and MN1b, respectively. For example, when selecting the normal determination threshold voltage VJD_N, the selection circuit SEL1b controls the switch SWn to be on and controls the remaining switches SWt and SWb to be off.

図7のような電圧監視回路VMNC1bを用いると、図6で述べたような電荷の移動が生じないため、ノイズを低減でき、電圧監視回路の誤検知を防止することが可能になる。また、基準電圧Vrefへのノイズの周り込みも生じないため、各電圧監視回路の誤検知や各回路の誤動作を防止することが可能になる。これらの結果、監視対象電圧VMIとブースト用の判定しきい値電圧VJD_Bとの間の電位差Vbをより大きくできる場合があり、これに伴い、自己診断に要する時間をさらに短縮できる場合がある。   When the voltage monitoring circuit VMNC1b as shown in FIG. 7 is used, the charge movement as described in FIG. 6 does not occur, so that noise can be reduced and erroneous detection of the voltage monitoring circuit can be prevented. In addition, since noise does not wrap around the reference voltage Vref, it is possible to prevent erroneous detection of each voltage monitoring circuit and malfunction of each circuit. As a result, the potential difference Vb between the monitoring target voltage VMI and the boost determination threshold voltage VJD_B may be increased, and accordingly, the time required for self-diagnosis may be further shortened.

図8は、図7の電圧監視回路における主要なトランジスタのサイズ関係の一例を示す模式図である。図7の比較回路CMP2では、図4のNMOSトランジスタMN1を3個に分割したため、図4の場合と比較して、回路面積の増大が懸念される。そこで、各トランジスタのサイズを図8のように定めることが有益となる。図8には、各MOSトランジスタの簡略的なレイアウト構成が示され、この例では、各MOSトランジスタのトランジスタサイズは、必ずしも限定はされないが、ゲート長を同一としてゲート幅によって設定される。   FIG. 8 is a schematic diagram showing an example of the size relationship of main transistors in the voltage monitoring circuit of FIG. In the comparison circuit CMP2 of FIG. 7, the NMOS transistor MN1 of FIG. 4 is divided into three, so there is a concern about an increase in circuit area compared to the case of FIG. Therefore, it is useful to determine the size of each transistor as shown in FIG. FIG. 8 shows a simple layout configuration of each MOS transistor. In this example, the transistor size of each MOS transistor is not necessarily limited, but is set by the gate width with the same gate length.

図8において、通常用の判定しきい値電圧VJD_Nで駆動されるNMOSトランジスタMN1nと、これと差動対トランジスタを構成するNMOSトランジスタMN2は、共に同一サイズ(ゲート幅W1)に設定され、プロセスばらつきによる影響(すなわち監視電圧精度の低下)を抑制するため、ある程度大きいサイズに設定される。一方、自己診断用の判定しきい値電圧VJD_Tで駆動されるNMOSトランジスタMN1tと、ブースト用の判定しきい値電圧VJD_Bで駆動されるNMOSトランジスタMN1bは、プロセスばらつきによる影響(すなわち監視電圧精度)は特に問題とならないため、両方共に、又は少なくとも一方は、NMOSトランジスタMN1nよりも小さいサイズに設定される。   In FIG. 8, the NMOS transistor MN1n driven by the normal determination threshold voltage VJD_N and the NMOS transistor MN2 constituting the differential pair transistor are both set to the same size (gate width W1), resulting in process variations. In order to suppress the influence (ie, the deterioration of the monitoring voltage accuracy), the size is set to be somewhat large. On the other hand, the NMOS transistor MN1t driven with the determination threshold voltage VJD_T for self-diagnosis and the NMOS transistor MN1b driven with the determination threshold voltage VJD_B for boost are affected by process variations (that is, monitoring voltage accuracy). Since there is no particular problem, both or at least one of them is set to a size smaller than that of the NMOS transistor MN1n.

この例では、NMOSトランジスタMN1t,MN1bは、両方共にNMOSトランジスタMN1nよりも小さいサイズに設定されている。図7および図8を参照して、NMOSトランジスタMN1tは、自己診断用の判定しきい値電圧VJD_Tによって、ドレインノードの電圧を‘L’レベルに放電できる駆動能力を備えていればよく、その範囲内で可能な限り小さいサイズ(ゲート幅W2)に設定される。   In this example, the NMOS transistors MN1t and MN1b are both set to a size smaller than that of the NMOS transistor MN1n. Referring to FIGS. 7 and 8, NMOS transistor MN1t only needs to have a driving capability capable of discharging the drain node voltage to the 'L' level by self-diagnosis determination threshold voltage VJD_T. Is set to the smallest possible size (gate width W2).

また、NMOSトランジスタMN1tが、強いオン状態によって、‘H’レベルのドレイン電圧を‘L’レベルに放電する役目を担うのに対して、NMOSトランジスタMN1bは、弱いオン状態によって、PMOSトランジスタMP1に‘L’レベルのドレイン電圧を‘H’レベルに充電させる役目を担う。このような役目に伴い、NMOSトランジスタMN1bは、NMOSトランジスタMN1tと比べて、特に駆動能力は必要とされない。したがって、NMOSトランジスタMN1bのサイズ(ゲート幅W3)は、NMOSトランジスタMN1tのサイズ(ゲート幅W2)よりも小さくてよい。   Further, the NMOS transistor MN1t plays a role of discharging the drain voltage of the “H” level to the “L” level by a strong ON state, whereas the NMOS transistor MN1b has a “ON” state due to the weak ON state. It plays the role of charging the drain voltage at the L level to the H level. With such a role, the NMOS transistor MN1b does not require a driving capability as compared with the NMOS transistor MN1t. Accordingly, the size (gate width W3) of the NMOS transistor MN1b may be smaller than the size (gate width W2) of the NMOS transistor MN1t.

このようなトランジスタサイズの設定によって、例えば、NMOSトランジスタMN1t,MN1n,MN1bを全て同一サイズ(ゲート幅W1)で構成する場合と比べて回路面積を低減可能になり、図4の場合と比較しても、回路面積のオーバヘッドを十分に抑制できる。なお、スイッチSWt,SWn,SWbを構成するNMOSトランジスタに関しては、例えば、共に、ゲート幅W1よりも大きいゲート幅等で構成すればよいが、場合によっては、前述したような役目に鑑みて、NMOSトランジスタMN1t,MN1n,MN1bの場合と同様のサイズ比を持たせることも可能である。   By setting the transistor size as described above, for example, the circuit area can be reduced as compared with the case where the NMOS transistors MN1t, MN1n, and MN1b are all configured with the same size (gate width W1). However, the circuit area overhead can be sufficiently suppressed. The NMOS transistors constituting the switches SWt, SWn, and SWb may be configured with a gate width larger than the gate width W1, for example. It is also possible to have the same size ratio as that of the transistors MN1t, MN1n, and MN1b.

《実施の形態2の主要な効果》
以上、実施の形態2の電圧監視回路および半導体装置を用いることで、実施の形態1で述べた各種効果に加えて、さらに、電圧監視回路の誤検知や各種回路の誤動作を防止できることから、信頼性の向上が図れる。また、このような効果を、回路面積のオーバヘッドを抑制しつつ得ることが可能になる。
<< Main effects of the second embodiment >>
As described above, by using the voltage monitoring circuit and the semiconductor device of the second embodiment, in addition to the various effects described in the first embodiment, it is possible to prevent erroneous detection of the voltage monitoring circuit and malfunction of various circuits. Can improve the performance. Further, such an effect can be obtained while suppressing the overhead of the circuit area.

(実施の形態3)
《電圧監視回路(前提)の問題点》
例えば、図4に示したような基準電圧生成回路VRGを用いた場合、基準電圧生成回路VRGの電源電圧VCC2を高くすることが困難となり、生成可能な最大の基準電圧Vrefの値が、例えば、2.0V程度といったように限られる場合がある。例えば、基準電圧生成回路VRG自身の電源電圧VCC2を、自身からの判定しきい値電圧を用いて監視する必要がある場合等で、このような事態が生じ得る。その結果、監視対象電圧が5.0V等といった高い電圧の場合の電圧監視が困難となる恐れがある。
(Embodiment 3)
<< Problems of voltage monitoring circuit (premise) >>
For example, when the reference voltage generation circuit VRG as shown in FIG. 4 is used, it is difficult to increase the power supply voltage VCC2 of the reference voltage generation circuit VRG, and the maximum reference voltage Vref that can be generated is, for example, In some cases, it is limited to about 2.0V. For example, such a situation may occur when it is necessary to monitor the power supply voltage VCC2 of the reference voltage generation circuit VRG itself using the determination threshold voltage from itself. As a result, voltage monitoring may be difficult when the monitoring target voltage is a high voltage such as 5.0V.

《電圧監視回路(実施の形態3)の概略》
図9Aは、本発明の実施の形態3による電圧監視回路の構成例を示す概略図である。図9Aに示す電圧監視回路VMNC3は、図1Aの方式と異なり、判定しきい値電圧VJD側ではなく、監視対象電圧VMI側を降圧しつつ推移させる方式を用いている。当該電圧監視回路VMNC3は、抵抗素子Rd2と、選択回路SEL3と、比較回路CMPとを備える。抵抗素子Rd2は、監視対象電圧VMIを抵抗分圧することで、ブースト用の監視対象電圧VMI_B、通常用の監視対象電圧VMI_Nおよび自己診断用の監視対象電圧VMI_Tを生成する。この際には、抵抗素子Rd2の抵抗値を十分に高くすることで、監視対象電圧VMI(例えば電源電圧)での電力消費を十分に抑制できる。
<< Outline of Voltage Monitoring Circuit (Embodiment 3) >>
FIG. 9A is a schematic diagram illustrating a configuration example of a voltage monitoring circuit according to the third embodiment of the present invention. Unlike the method of FIG. 1A, the voltage monitoring circuit VMNC3 shown in FIG. 9A uses a method in which the monitored voltage VMI side is changed while being stepped down instead of the determination threshold voltage VJD side. The voltage monitoring circuit VMNC3 includes a resistance element Rd2, a selection circuit SEL3, and a comparison circuit CMP. The resistance element Rd2 divides the monitoring target voltage VMI by resistance to generate a boost monitoring target voltage VMI_B, a normal monitoring target voltage VMI_N, and a self-diagnosis monitoring target voltage VMI_T. At this time, by sufficiently increasing the resistance value of the resistance element Rd2, power consumption at the monitoring target voltage VMI (for example, power supply voltage) can be sufficiently suppressed.

選択回路SEL3は、ブースト用の監視対象電圧VMI_B、通常用の監視対象電圧VMI_Nおよび自己診断用の監視対象電圧VMI_Tの中のいずれかを選択する。比較回路CMPは、選択回路SEL3で選択された選択電圧VMISと判定しきい値電圧VJDとを比較することで、スペック違反の有無を検出し、その検出結果を表す出力信号CMOを出力する。   The selection circuit SEL3 selects any one of the boost monitoring target voltage VMI_B, the normal monitoring target voltage VMI_N, and the self-diagnosis monitoring target voltage VMI_T. The comparison circuit CMP compares the selection voltage VMIS selected by the selection circuit SEL3 with the determination threshold voltage VJD to detect the presence or absence of a specification violation and outputs an output signal CMO representing the detection result.

図9Bは、図9Aの電圧監視回路における自己診断時の動作例を示す概略図である。図9Bに示されるように、電圧監視回路VMNC3は、自己診断に際し、図示しない自己診断制御回路によって選択信号SS3が制御されることで、通常モードMD1を初期状態として、順に、自己診断モードMD2a、ブーストモードMD2b、通常モードMD3に遷移する。これに応じて、選択回路SEL3は、通常用の監視対象電圧VMI_Nを初期状態として、順に、自己診断用の監視対象電圧VMI_T、ブースト用の監視対象電圧VMI_B、通常用の監視対象電圧VMI_Nを選択する。   FIG. 9B is a schematic diagram illustrating an operation example during self-diagnosis in the voltage monitoring circuit of FIG. 9A. As shown in FIG. 9B, in the self-diagnosis, the voltage monitoring circuit VMNC3 controls the selection signal SS3 by a self-diagnosis control circuit (not shown), so that the normal mode MD1 is set to the initial state and the self-diagnosis mode MD2a, Transition to boost mode MD2b and normal mode MD3. In response to this, the selection circuit SEL3 selects the monitoring target voltage VMI_T for self-diagnosis, the monitoring target voltage VMI_B for boosting, and the monitoring target voltage VMI_N for normal use in order with the normal monitoring target voltage VMI_N as the initial state. To do.

自己診断用の監視対象電圧VMI_Tは、判定しきい値電圧VJDを基準として通常用の監視対象電圧VMI_Nとは逆極性の電圧である。ブースト用の監視対象電圧VMI_Bは、判定しきい値電圧VJDを基準として通常用の監視対象電圧VMI_Nと同極性の電圧であり、かつ通常用の監視対象電圧VMI_Nよりも大きい電位差を備える電圧である。   The monitoring target voltage VMI_T for self-diagnosis is a voltage having a polarity opposite to that of the normal monitoring target voltage VMI_N with reference to the determination threshold voltage VJD. The boost monitoring target voltage VMI_B is a voltage having the same polarity as the normal monitoring target voltage VMI_N on the basis of the determination threshold voltage VJD, and having a potential difference larger than the normal monitoring target voltage VMI_N. .

図9Bの例では、電圧監視回路VMNC3は、図1Bの場合と同様に、通常時(通常モード時)に、監視対象電圧VMI(すなわち通常用の監視対象電圧VMI_N)が判定しきい値電圧VJDよりも低下したか否か(すなわち下限スペック違反の有無)を検出している。この場合、判定しきい値電圧VJDを基準として、通常用の監視対象電圧VMI_Nおよびブースト用の監視対象電圧VMI_Bは正極側に設定され、自己診断用の監視対象電圧VMI_Tは負極側に設定される。さらに、判定しきい値電圧VJDを基準として、ブースト用の監視対象電圧VMI_Bの電位差Vbは、通常用の監視対象電圧VMI_Nの電位差Vdよりも大きくなっている。   In the example of FIG. 9B, as in the case of FIG. 1B, the voltage monitoring circuit VMNC3 uses the determination threshold voltage VJD as the monitoring target voltage VMI (that is, the normal monitoring target voltage VMI_N) at the normal time (in the normal mode). It is detected whether or not it has fallen below (that is, whether or not the lower limit specification is violated). In this case, with reference to the determination threshold voltage VJD, the normal monitoring target voltage VMI_N and the boost monitoring target voltage VMI_B are set to the positive side, and the self-diagnosis monitoring target voltage VMI_T is set to the negative side. . Furthermore, with reference to the determination threshold voltage VJD, the potential difference Vb of the boost monitoring target voltage VMI_B is larger than the potential difference Vd of the normal monitoring target voltage VMI_N.

《電圧監視回路(実施の形態3)の詳細》
図9Aにおける選択回路SEL3および比較回路CMPに、例えば、図4に示した選択回路SEL1aおよび比較回路CMP1と同様の構成を適用すると、実施の形態2の場合と同様に、ノイズの問題が生じ得る。当該ノイズは、抵抗素子Rd2を介して監視対象電圧VMI(例えば電源電圧)に回り込むため、当該電源電圧で動作する回路の誤動作を招く恐れがある。そこで、実施の形態2の場合と同様に、電圧監視回路VMNC3を図10のような回路で構成することが有益となる。
<< Details of Voltage Monitoring Circuit (Embodiment 3) >>
For example, when the same configuration as the selection circuit SEL1a and the comparison circuit CMP1 shown in FIG. 4 is applied to the selection circuit SEL3 and the comparison circuit CMP in FIG. 9A, a noise problem may occur as in the case of the second embodiment. . Since the noise circulates to the monitoring target voltage VMI (for example, power supply voltage) via the resistance element Rd2, there is a possibility of causing a malfunction of a circuit that operates at the power supply voltage. Therefore, as in the case of the second embodiment, it is beneficial to configure the voltage monitoring circuit VMNC3 with a circuit as shown in FIG.

図10は、図9Aの電圧監視回路の詳細な構成例を示す回路図である。図10に示す電圧監視回路VMNC3aは、抵抗素子Rd2および比較回路CMP3を備え、図7の比較回路CMP2の場合と同様に、比較回路CMP3が選択回路SEL1cを備える構成となっている。ただし、比較回路CMP3は、比較回路CMP2とは異なり、図12のNMOSトランジスタMN1ではなく、NMOSトランジスタMN2の代わりに3個のNMOSトランジスタMN2t,MN2n,MN2bを備える。NMOSトランジスタMN2t,MN2n,MN2bは、ドレインノードが共通に結合される。NMOSトランジスタMN2tは、自己診断用の監視対象電圧VMI_Tによって駆動され、NMOSトランジスタMN2nは、通常用の監視対象電圧VMI_Nによって駆動され、NMOSトランジスタMN2bは、ブースト用の監視対象電圧VMI_Bによって駆動される。   FIG. 10 is a circuit diagram showing a detailed configuration example of the voltage monitoring circuit of FIG. 9A. The voltage monitoring circuit VMNC3a shown in FIG. 10 includes a resistance element Rd2 and a comparison circuit CMP3, and the comparison circuit CMP3 includes a selection circuit SEL1c as in the case of the comparison circuit CMP2 in FIG. However, unlike the comparison circuit CMP2, the comparison circuit CMP3 includes three NMOS transistors MN2t, MN2n, and MN2b instead of the NMOS transistor MN1 in FIG. NMOS transistors MN2t, MN2n, and MN2b have their drain nodes coupled in common. The NMOS transistor MN2t is driven by the self-diagnosis monitoring target voltage VMI_T, the NMOS transistor MN2n is driven by the normal monitoring target voltage VMI_N, and the NMOS transistor MN2b is driven by the boost monitoring target voltage VMI_B.

選択回路SEL1cは、3個のスイッチ(ここでは共にNMOSトランジスタ)SWt,SWn,SWbを備える。3個のスイッチSWt,SWn,SWbは、一端が共通に結合され、他端が3個のNMOSトランジスタMN2t,MN2n,MN2bにそれぞれ結合される。すなわち、3個のスイッチSWt,SWn,SWbは、それぞれ、3個のNMOSトランジスタMN2t,MN2n,MN2bの電流経路に挿入される。3個のNMOSトランジスタMN2t,MN2n,MN2bや、3個のスイッチ(NMOSトランジスタ)SWt,SWn,SWbのトランジスタサイズには、図8の場合のサイズ関係を適用できる。   The selection circuit SEL1c includes three switches (both NMOS transistors here) SWt, SWn, and SWb. The three switches SWt, SWn, SWb have one end coupled in common and the other end coupled to three NMOS transistors MN2t, MN2n, MN2b. That is, the three switches SWt, SWn, and SWb are inserted into the current paths of the three NMOS transistors MN2t, MN2n, and MN2b, respectively. The size relationship in the case of FIG. 8 can be applied to the transistor sizes of the three NMOS transistors MN2t, MN2n, MN2b and the three switches (NMOS transistors) SWt, SWn, SWb.

《実施の形態3の主要な効果》
以上、実施の形態3の電圧監視回路および半導体装置を用いることで、実施の形態1や実施の形態2で述べた各種効果を、監視対象電圧VMIが高い場合であっても得ることが可能になる。なお、ここでは、下限スペック違反を検出する場合を例としたが、勿論、実施の形態1の場合と同様にして、上限スペック違反を検出することや、その両方を検出することも可能である。
<< Main effects of Embodiment 3 >>
As described above, by using the voltage monitoring circuit and the semiconductor device according to the third embodiment, the various effects described in the first and second embodiments can be obtained even when the monitoring target voltage VMI is high. Become. Here, the case where the lower limit specification violation is detected is taken as an example, but it is of course possible to detect the upper limit specification violation or both in the same manner as in the first embodiment. .

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。例えば、前述した実施の形態は、本発明を分かり易く説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施の形態の構成の一部を他の実施の形態の構成に置き換えることが可能であり、また、ある実施の形態の構成に他の実施の形態の構成を加えることも可能である。また、各実施の形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention. For example, the above-described embodiment has been described in detail for easy understanding of the present invention, and is not necessarily limited to one having all the configurations described. Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. . Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

《付記》
監視対象電圧を判定しきい値電圧と比較することで前記監視対象電圧のスペック違反の有無を検出し、かつ自己診断に際し、要求に応じてスペック違反有りの検出結果を出力可能な電圧監視回路と、
前記電圧監視回路を制御する自己診断制御回路と、
前記判定しきい値電圧を生成する基準電圧生成回路と、
を有し、一つの半導体チップで構成される半導体装置であって、
前記電圧監視回路は、
前記監視対象電圧を抵抗分圧することで、第1の監視対象電圧、第2の監視対象電圧および第3の監視対象電圧を生成する抵抗素子と、
前記第1の監視対象電圧、前記第2の監視対象電圧および前記第3の監視対象電圧の中のいずれかを選択する選択回路と、
前記選択回路で選択された選択電圧と前記判定しきい値電圧とを比較することで、前記スペック違反の有無を検出する比較回路と、
を有し、
前記自己診断制御回路は、前記自己診断に際して前記選択回路を制御することで、前記選択回路に、前記第1の監視対象電圧を初期状態として、順に、前記第2の監視対象電圧、前記第3の監視対象電圧、前記第1の監視対象電圧を選択させ、
前記第2の監視対象電圧は、前記判定しきい値電圧を基準として前記第1の監視対象電圧とは逆極性の電圧であり、
前記第3の監視対象電圧は、前記判定しきい値電圧を基準として前記第1の監視対象電圧と同極性の電圧であり、かつ前記第1の監視対象電圧よりも大きい電位差を備える、
半導体装置。
《Appendix》
A voltage monitoring circuit capable of detecting the presence or absence of a specification violation of the monitoring target voltage by comparing the monitoring target voltage with a determination threshold voltage, and outputting a detection result of the specification violation upon request in a self-diagnosis; ,
A self-diagnosis control circuit for controlling the voltage monitoring circuit;
A reference voltage generation circuit for generating the determination threshold voltage;
A semiconductor device composed of one semiconductor chip,
The voltage monitoring circuit includes:
A resistance element that generates a first monitoring target voltage, a second monitoring target voltage, and a third monitoring target voltage by dividing the monitoring target voltage by resistance;
A selection circuit that selects one of the first monitoring target voltage, the second monitoring target voltage, and the third monitoring target voltage;
A comparison circuit that detects the presence or absence of the specification violation by comparing the selection voltage selected by the selection circuit and the determination threshold voltage;
Have
The self-diagnosis control circuit controls the selection circuit at the time of the self-diagnosis so that the first monitoring target voltage is set in the selection circuit as an initial state, and the second monitoring target voltage, The monitoring target voltage, the first monitoring target voltage is selected,
The second monitoring target voltage is a voltage having a polarity opposite to that of the first monitoring target voltage with reference to the determination threshold voltage.
The third monitoring target voltage is a voltage having the same polarity as the first monitoring target voltage with the determination threshold voltage as a reference, and has a potential difference larger than the first monitoring target voltage.
Semiconductor device.

CMP 比較回路
DEV 半導体装置
MD1,MD3 通常モード
MD2a 自己診断モード
MD2b ブーストモード
MN NMOSトランジスタ
MP PMOSトランジスタ
PGU 電源生成ユニット
PMU 電源管理ユニット
PN 外部端子
Rd 抵抗素子
SEL 選択回路
SS 選択信号
SW スイッチ
VDD,VCC 電源電圧
VGN 電源生成回路
VJD 判定しきい値電圧
VJD_B 判定しきい値電圧(ブースト用)
VJD_N 判定しきい値電圧(通常用)
VJD_T 判定しきい値電圧(自己診断用)
VJDS 選択電圧
VMI 監視対象電圧
VMI_B 監視対象電圧(ブースト用)
VMI_N 監視対象電圧(通常用)
VMI_T 監視対象電圧(自己診断用)
VMIS 選択電圧
VMNC 電圧監視回路
VRG 基準電圧生成回路
CMP comparison circuit DEV semiconductor device MD1, MD3 normal mode MD2a self-diagnosis mode MD2b boost mode MN NMOS transistor MP PMOS transistor PGU power generation unit PMU power management unit PN external terminal Rd resistance element SEL selection circuit SS selection signal SW switch VDD, VCC power supply Voltage VGN Power generation circuit VJD determination threshold voltage VJD_B Determination threshold voltage (for boost)
VJD_N Judgment threshold voltage (for normal use)
VJD_T judgment threshold voltage (for self-diagnosis)
VJDS selection voltage VMI monitoring target voltage VMI_B monitoring target voltage (for boost)
VMI_N Voltage to be monitored (for normal use)
VMI_T Monitoring target voltage (for self-diagnosis)
VMIS selection voltage VMNC voltage monitoring circuit VRG reference voltage generation circuit

Claims (20)

監視対象電圧を第1の判定しきい値電圧と比較することで前記監視対象電圧のスペック違反の有無を検出し、かつ自己診断に際し、要求に応じてスペック違反有りの検出結果を出力可能な電圧監視回路であって、
前記第1の判定しきい値電圧と、前記監視対象電圧を基準として前記第1の判定しきい値電圧とは逆極性の電圧である第2の判定しきい値電圧と、前記監視対象電圧を基準として前記第1の判定しきい値電圧と同極性の電圧であり、かつ前記第1の判定しきい値電圧よりも大きい電位差を備える第3の判定しきい値電圧の中のいずれかを選択する選択回路と、
前記選択回路で選択された選択電圧と前記監視対象電圧とを比較することで、前記スペック違反の有無を検出する比較回路と、
を有し、
前記選択回路は、前記自己診断に際し、前記第1の判定しきい値電圧を初期状態として、順に、前記第2の判定しきい値電圧、前記第3の判定しきい値電圧、前記第1の判定しきい値電圧を選択する、
電圧監視回路。
A voltage that can detect whether there is a specification violation of the monitoring target voltage by comparing the monitoring target voltage with the first determination threshold voltage, and can output a detection result with the specification violation upon request in self-diagnosis A monitoring circuit,
The first determination threshold voltage, the second determination threshold voltage having a polarity opposite to that of the first determination threshold voltage with reference to the monitoring target voltage, and the monitoring target voltage As a reference, any one of the third determination threshold voltages having the same polarity as the first determination threshold voltage and having a potential difference larger than the first determination threshold voltage is selected. A selection circuit to
A comparison circuit that detects the presence or absence of the specification violation by comparing the selection voltage selected by the selection circuit and the monitoring target voltage;
Have
In the self-diagnosis, the selection circuit sets the first determination threshold voltage as an initial state, and sequentially selects the second determination threshold voltage, the third determination threshold voltage, and the first determination threshold voltage. Select the judgment threshold voltage,
Voltage monitoring circuit.
請求項1記載の電圧監視回路において、
前記比較回路は、差動対トランジスタとなる第1のトランジスタおよび第2のトランジスタを含む差動増幅回路を有し、
前記第1のトランジスタは、前記選択電圧によって駆動され、
前記第2のトランジスタは、前記監視対象電圧によって駆動される、
電圧監視回路。
The voltage monitoring circuit according to claim 1, wherein
The comparison circuit includes a differential amplifier circuit including a first transistor and a second transistor which are differential pair transistors;
The first transistor is driven by the selection voltage;
The second transistor is driven by the monitored voltage.
Voltage monitoring circuit.
請求項2記載の電圧監視回路において、
前記第1のトランジスタは、一端が共通に結合される第1Aのトランジスタ、第1Bのトランジスタおよび第1Cのトランジスタを備え、
前記第1Aのトランジスタは、前記第1の判定しきい値電圧によって駆動され、
前記第1Bのトランジスタは、前記第2の判定しきい値電圧によって駆動され、
前記第1Cのトランジスタは、前記第3の判定しきい値電圧によって駆動され、
前記選択回路は、
前記第1Aのトランジスタの電流経路に挿入される第1Aのスイッチと、
前記第1Bのトランジスタの電流経路に挿入される第1Bのスイッチと、
前記第1Cのトランジスタの電流経路に挿入される第1Cのスイッチと、
を有する、
電圧監視回路。
The voltage monitoring circuit according to claim 2,
The first transistor includes a first-A transistor, a first-B transistor, and a first-C transistor, one end of which is commonly coupled,
The first A transistor is driven by the first determination threshold voltage,
The first B transistor is driven by the second determination threshold voltage,
The first C transistor is driven by the third determination threshold voltage,
The selection circuit includes:
A 1A switch inserted into the current path of the 1A transistor;
A 1B switch inserted into the current path of the 1B transistor;
A 1C switch inserted in the current path of the 1C transistor;
Having
Voltage monitoring circuit.
請求項3記載の電圧監視回路において、
前記第1Aのトランジスタのサイズは、前記第2のトランジスタのサイズと同等であり、
前記第1Bのトランジスタまたは前記第1Cのトランジスタのサイズは、前記第1Aのトランジスタのサイズよりも小さい、
電圧監視回路。
The voltage monitoring circuit according to claim 3,
The size of the first A transistor is equal to the size of the second transistor,
The size of the first B transistor or the first C transistor is smaller than the size of the first A transistor,
Voltage monitoring circuit.
請求項3記載の電圧監視回路において、
前記第1Aのトランジスタのサイズは、前記第2のトランジスタのサイズと同等であり、
前記第1Bのトランジスタおよび前記第1Cのトランジスタのサイズは、共に、前記第1Aのトランジスタのサイズよりも小さい、
電圧監視回路。
The voltage monitoring circuit according to claim 3,
The size of the first A transistor is equal to the size of the second transistor,
The size of the first B transistor and the first C transistor are both smaller than the size of the first A transistor,
Voltage monitoring circuit.
請求項5記載の電圧監視回路において、
前記第1Cのトランジスタのサイズは、前記第1Bのトランジスタのサイズよりも小さい、
電圧監視回路。
The voltage monitoring circuit according to claim 5,
The size of the first C transistor is smaller than the size of the first B transistor,
Voltage monitoring circuit.
請求項1記載の電圧監視回路において、
前記第1の判定しきい値電圧として、前記監視対象電圧より低電位である第1Aの判定しきい値電圧と、前記監視対象電圧より高電位である第1Bの判定しきい値電圧とが設けられ、
前記選択回路および前記比較回路は、
前記第1Aの判定しきい値電圧に基づいて、前記監視対象電圧が前記第1Aの判定しきい値電圧よりも低下したか否かを検出する第1の選択回路および第1の比較回路と、
前記第1Bの判定しきい値電圧に基づいて、前記監視対象電圧が前記第1Bの判定しきい値電圧よりも上昇したか否かを検出する第2の選択回路および第2の比較回路と、
を有する、
電圧監視回路。
The voltage monitoring circuit according to claim 1, wherein
As the first determination threshold voltage, a 1A determination threshold voltage having a lower potential than the monitoring target voltage and a 1B determination threshold voltage having a higher potential than the monitoring target voltage are provided. And
The selection circuit and the comparison circuit are:
A first selection circuit and a first comparison circuit configured to detect whether or not the monitoring target voltage is lower than the determination threshold voltage of the first A based on the determination threshold voltage of the first A;
A second selection circuit and a second comparison circuit for detecting whether or not the monitoring target voltage is higher than the first B determination threshold voltage based on the first B determination threshold voltage;
Having
Voltage monitoring circuit.
監視対象電圧を判定しきい値電圧と比較することで前記監視対象電圧のスペック違反の有無を検出し、かつ自己診断に際し、要求に応じてスペック違反有りの検出結果を出力可能な電圧監視回路であって、
前記監視対象電圧を抵抗分圧することで、第1の監視対象電圧、第2の監視対象電圧および第3の監視対象電圧を生成する抵抗素子と、
前記第1の監視対象電圧、前記第2の監視対象電圧および前記第3の監視対象電圧の中のいずれかを選択する選択回路と、
前記選択回路で選択された選択電圧と前記判定しきい値電圧とを比較することで、前記スペック違反の有無を検出する比較回路と、
を有し、
前記選択回路は、前記自己診断に際し、前記第1の監視対象電圧を初期状態として、順に、前記第2の監視対象電圧、前記第3の監視対象電圧、前記第1の監視対象電圧を選択し、
前記第2の監視対象電圧は、前記判定しきい値電圧を基準として前記第1の監視対象電圧とは逆極性の電圧であり、
前記第3の監視対象電圧は、前記判定しきい値電圧を基準として前記第1の監視対象電圧と同極性の電圧であり、かつ前記第1の監視対象電圧よりも大きい電位差を備える、
電圧監視回路。
A voltage monitoring circuit that detects the presence or absence of specification violation of the monitoring target voltage by comparing the monitoring target voltage with the judgment threshold voltage, and can output the detection result of specification violation when requested. There,
A resistance element that generates a first monitoring target voltage, a second monitoring target voltage, and a third monitoring target voltage by dividing the monitoring target voltage by resistance;
A selection circuit that selects one of the first monitoring target voltage, the second monitoring target voltage, and the third monitoring target voltage;
A comparison circuit that detects the presence or absence of the specification violation by comparing the selection voltage selected by the selection circuit and the determination threshold voltage;
Have
In the self-diagnosis, the selection circuit selects the second monitoring target voltage, the third monitoring target voltage, and the first monitoring target voltage in order with the first monitoring target voltage as an initial state. ,
The second monitoring target voltage is a voltage having a polarity opposite to that of the first monitoring target voltage with reference to the determination threshold voltage.
The third monitoring target voltage is a voltage having the same polarity as the first monitoring target voltage with the determination threshold voltage as a reference, and has a potential difference larger than the first monitoring target voltage.
Voltage monitoring circuit.
請求項8記載の電圧監視回路において、
前記比較回路は、差動対トランジスタとなる第1のトランジスタおよび第2のトランジスタを含む差動増幅回路を有し、
前記第1のトランジスタは、前記判定しきい値電圧によって駆動され、
前記第2のトランジスタは、前記選択電圧によって駆動される、
電圧監視回路。
The voltage monitoring circuit according to claim 8, wherein
The comparison circuit includes a differential amplifier circuit including a first transistor and a second transistor which are differential pair transistors;
The first transistor is driven by the determination threshold voltage;
The second transistor is driven by the selection voltage;
Voltage monitoring circuit.
請求項9記載の電圧監視回路において、
前記第2のトランジスタは、一端が共通に結合される第2Aのトランジスタ、第2Bのトランジスタおよび第2Cのトランジスタを備え、
前記第2Aのトランジスタは、前記第1の監視対象電圧によって駆動され、
前記第2Bのトランジスタは、前記第2の監視対象電圧によって駆動され、
前記第2Cのトランジスタは、前記第3の監視対象電圧によって駆動され、
前記選択回路は、
前記第2Aのトランジスタの電流経路に挿入される第2Aのスイッチと、
前記第2Bのトランジスタの電流経路に挿入される第2Bのスイッチと、
前記第2Cのトランジスタの電流経路に挿入される第2Cのスイッチと、
を有する、
電圧監視回路。
The voltage monitoring circuit according to claim 9, wherein
The second transistor includes a 2A transistor, a 2B transistor, and a 2C transistor, one end of which is commonly coupled,
The second A transistor is driven by the first monitored voltage,
The second B transistor is driven by the second monitored voltage,
The second C transistor is driven by the third monitored voltage;
The selection circuit includes:
A 2A switch inserted into the current path of the 2A transistor;
A 2B switch inserted into the current path of the 2B transistor;
A 2C switch inserted in the current path of the 2C transistor;
Having
Voltage monitoring circuit.
請求項10記載の電圧監視回路において、
前記第2Aのトランジスタのサイズは、前記第1のトランジスタのサイズと同等であり、
前記第2Bのトランジスタまたは前記第2Cのトランジスタのサイズは、前記第2Aのトランジスタのサイズよりも小さい、
電圧監視回路。
The voltage monitoring circuit according to claim 10, wherein
The size of the second A transistor is equal to the size of the first transistor;
The size of the second B transistor or the second C transistor is smaller than the size of the second A transistor,
Voltage monitoring circuit.
請求項10記載の電圧監視回路において、
前記第2Aのトランジスタのサイズは、前記第1のトランジスタのサイズと同等であり、
前記第2Bのトランジスタおよび前記第2Cのトランジスタのサイズは、共に、前記第2Aのトランジスタのサイズよりも小さい、
電圧監視回路。
The voltage monitoring circuit according to claim 10, wherein
The size of the second A transistor is equal to the size of the first transistor;
The size of the second B transistor and the second C transistor are both smaller than the size of the second A transistor,
Voltage monitoring circuit.
請求項12記載の電圧監視回路において、
前記第2Cのトランジスタのサイズは、前記第2Bのトランジスタのサイズよりも小さい、
電圧監視回路。
The voltage monitoring circuit according to claim 12,
The size of the second C transistor is smaller than the size of the second B transistor,
Voltage monitoring circuit.
監視対象電圧を第1の判定しきい値電圧と比較することで前記監視対象電圧のスペック違反の有無を検出し、かつ自己診断に際し、要求に応じてスペック違反有りの検出結果を出力可能な電圧監視回路と、
前記電圧監視回路を制御する自己診断制御回路と、
前記第1の判定しきい値電圧と、前記監視対象電圧を基準として前記第1の判定しきい値電圧とは逆極性の電圧である第2の判定しきい値電圧と、前記監視対象電圧を基準として前記第1の判定しきい値電圧と同極性の電圧であり、かつ前記第1の判定しきい値電圧よりも大きい電位差を備える第3の判定しきい値電圧とを生成する基準電圧生成回路と、
を有し、一つの半導体チップで構成される半導体装置であって、
前記電圧監視回路は、
前記第1の判定しきい値電圧、前記第2の判定しきい値電圧および前記第3の判定しきい値電圧の中のいずれかを選択する選択回路と、
前記選択回路で選択された選択電圧と前記監視対象電圧とを比較することで、前記スペック違反の有無を検出する比較回路と、
を有し、
前記自己診断制御回路は、前記自己診断に際して前記選択回路を制御することで、前記選択回路に、前記第1の判定しきい値電圧を初期状態として、順に、前記第2の判定しきい値電圧、前記第3の判定しきい値電圧、前記第1の判定しきい値電圧を選択させる、
半導体装置。
A voltage that can detect whether there is a specification violation of the monitoring target voltage by comparing the monitoring target voltage with the first determination threshold voltage, and can output a detection result with the specification violation upon request in self-diagnosis A monitoring circuit;
A self-diagnosis control circuit for controlling the voltage monitoring circuit;
The first determination threshold voltage, the second determination threshold voltage having a polarity opposite to that of the first determination threshold voltage with reference to the monitoring target voltage, and the monitoring target voltage Reference voltage generation for generating a third determination threshold voltage having a potential that is the same polarity as that of the first determination threshold voltage and having a larger potential difference than the first determination threshold voltage. Circuit,
A semiconductor device composed of one semiconductor chip,
The voltage monitoring circuit includes:
A selection circuit that selects any one of the first determination threshold voltage, the second determination threshold voltage, and the third determination threshold voltage;
A comparison circuit that detects the presence or absence of the specification violation by comparing the selection voltage selected by the selection circuit and the monitoring target voltage;
Have
The self-diagnosis control circuit controls the selection circuit at the time of the self-diagnosis, so that the selection circuit has the first determination threshold voltage as an initial state, and the second determination threshold voltage in order. , Selecting the third determination threshold voltage and the first determination threshold voltage,
Semiconductor device.
請求項14記載の半導体装置において、
前記比較回路は、差動対トランジスタとなる第1のトランジスタおよび第2のトランジスタを含む差動増幅回路を有し、
前記第1のトランジスタは、前記選択電圧によって駆動され、
前記第2のトランジスタは、前記監視対象電圧によって駆動される、
半導体装置。
The semiconductor device according to claim 14.
The comparison circuit includes a differential amplifier circuit including a first transistor and a second transistor which are differential pair transistors;
The first transistor is driven by the selection voltage;
The second transistor is driven by the monitored voltage.
Semiconductor device.
請求項15記載の半導体装置において、
前記第1のトランジスタは、一端が共通に結合される第1Aのトランジスタ、第1Bのトランジスタおよび第1Cのトランジスタを備え、
前記第1Aのトランジスタは、前記第1の判定しきい値電圧によって駆動され、
前記第1Bのトランジスタは、前記第2の判定しきい値電圧によって駆動され、
前記第1Cのトランジスタは、前記第3の判定しきい値電圧によって駆動され、
前記選択回路は、
前記第1Aのトランジスタの電流経路に挿入される第1Aのスイッチと、
前記第1Bのトランジスタの電流経路に挿入される第1Bのスイッチと、
前記第1Cのトランジスタの電流経路に挿入される第1Cのスイッチと、
を有する、
半導体装置。
The semiconductor device according to claim 15, wherein
The first transistor includes a first-A transistor, a first-B transistor, and a first-C transistor, one end of which is commonly coupled,
The first A transistor is driven by the first determination threshold voltage,
The first B transistor is driven by the second determination threshold voltage,
The first C transistor is driven by the third determination threshold voltage,
The selection circuit includes:
A 1A switch inserted into the current path of the 1A transistor;
A 1B switch inserted into the current path of the 1B transistor;
A 1C switch inserted in the current path of the 1C transistor;
Having
Semiconductor device.
請求項16記載の半導体装置において、
前記第1Aのトランジスタのサイズは、前記第2のトランジスタのサイズと同等であり、
前記第1Bのトランジスタおよび前記第1Cのトランジスタのサイズは、共に、前記第1Aのトランジスタのサイズよりも小さい、
半導体装置。
The semiconductor device according to claim 16.
The size of the first A transistor is equal to the size of the second transistor,
The size of the first B transistor and the first C transistor are both smaller than the size of the first A transistor,
Semiconductor device.
請求項14記載の半導体装置において、
前記電圧監視回路は、複数の前記監視対象電圧に応じて複数設けられる、
半導体装置。
The semiconductor device according to claim 14.
A plurality of the voltage monitoring circuits are provided according to a plurality of the monitoring target voltages.
Semiconductor device.
請求項14記載の半導体装置において、
前記監視対象電圧は、前記半導体装置の外部から供給される電源電圧である、
半導体装置。
The semiconductor device according to claim 14.
The monitoring target voltage is a power supply voltage supplied from the outside of the semiconductor device.
Semiconductor device.
請求項14記載の半導体装置において、
前記自己診断は、前記半導体装置の起動時に実行される、
半導体装置。
The semiconductor device according to claim 14.
The self-diagnosis is executed when the semiconductor device is activated.
Semiconductor device.
JP2016243988A 2016-12-16 2016-12-16 Voltage monitoring circuit and semiconductor device Active JP6764331B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016243988A JP6764331B2 (en) 2016-12-16 2016-12-16 Voltage monitoring circuit and semiconductor device
US15/729,779 US20180172758A1 (en) 2016-12-16 2017-10-11 Voltage monitoring circuit and semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016243988A JP6764331B2 (en) 2016-12-16 2016-12-16 Voltage monitoring circuit and semiconductor device

Publications (2)

Publication Number Publication Date
JP2018098717A true JP2018098717A (en) 2018-06-21
JP6764331B2 JP6764331B2 (en) 2020-09-30

Family

ID=62561556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016243988A Active JP6764331B2 (en) 2016-12-16 2016-12-16 Voltage monitoring circuit and semiconductor device

Country Status (2)

Country Link
US (1) US20180172758A1 (en)
JP (1) JP6764331B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180093451A (en) * 2017-02-13 2018-08-22 삼성전자주식회사 Reverse voltage monitoring circuit capable of reducing power consumption and Semiconductor device having the same
US10438648B2 (en) * 2018-01-11 2019-10-08 Micron Technology, Inc. Apparatuses and methods for maintaining a duty cycle error counter
US11181560B2 (en) * 2019-05-15 2021-11-23 Infineon Technologies Ag Detecting failure using multiple monitoring modules
US11892862B2 (en) * 2021-08-30 2024-02-06 Micron Technology, Inc. Power supply circuit having voltage switching function

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3512332B2 (en) * 1998-04-07 2004-03-29 富士通株式会社 Internal voltage generation circuit
KR100545711B1 (en) * 2003-07-29 2006-01-24 주식회사 하이닉스반도체 Reference voltage generator that can output various levels of reference voltage using fuse trimming
JP4849164B2 (en) * 2009-09-29 2012-01-11 株式会社デンソー Voltage monitoring device
JP5665571B2 (en) * 2011-01-28 2015-02-04 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit and operation method thereof
JP5333619B2 (en) * 2011-03-30 2013-11-06 株式会社デンソー Voltage detection device and coupling circuit
TWI473425B (en) * 2012-02-13 2015-02-11 Novatek Microelectronics Corp Rc calibration circuit without current mismatch
US9778319B2 (en) * 2014-11-07 2017-10-03 Nxp Usa, Inc. Systems and methods for switch health determination

Also Published As

Publication number Publication date
JP6764331B2 (en) 2020-09-30
US20180172758A1 (en) 2018-06-21

Similar Documents

Publication Publication Date Title
JP4820571B2 (en) Semiconductor device
US8248095B2 (en) Compensating for aging in integrated circuits
US7176740B2 (en) Level conversion circuit
JP4686222B2 (en) Semiconductor device
KR101926000B1 (en) Circuit and method for performing power on reset
US9535473B2 (en) Compensating for aging in integrated circuits
JP6764331B2 (en) Voltage monitoring circuit and semiconductor device
US8125846B2 (en) Internal voltage generating circuit of semiconductor memory device
JPH06266452A (en) Semiconductor integrated circuit
US9236858B2 (en) Semiconductor device
KR100956776B1 (en) Device Generating Negative Voltage
JP2002373942A (en) Semiconductor integrated circuit
US9819332B2 (en) Circuit for reducing negative glitches in voltage regulator
WO2020178552A1 (en) Integrated oscillator
JP2002026260A (en) Semiconductor device
US10120967B2 (en) Methods and apparatuses for SW programmable adaptive bias control for speed and yield improvement in the near/sub-threshold domain
US20060103452A1 (en) Internal voltage generator for semiconductor device
US8810305B2 (en) Semiconductor device
KR100460808B1 (en) Internal voltage down converter in semiconductor memory device
JP2007234206A (en) Semiconductor memory device, power supply detector, and semiconductor device
US7548098B2 (en) Output buffer circuit and method with self-adaptive driving capability
KR100554840B1 (en) Circuit for generating a power up signal
JP5145436B2 (en) Semiconductor device
KR100860976B1 (en) Power-up signal generator
KR100379554B1 (en) Device for Generating Inner Power Voltage Source

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190405

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200319

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200911

R150 Certificate of patent or registration of utility model

Ref document number: 6764331

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150