JP7363657B2 - Overvoltage judgment circuit - Google Patents

Overvoltage judgment circuit Download PDF

Info

Publication number
JP7363657B2
JP7363657B2 JP2020075395A JP2020075395A JP7363657B2 JP 7363657 B2 JP7363657 B2 JP 7363657B2 JP 2020075395 A JP2020075395 A JP 2020075395A JP 2020075395 A JP2020075395 A JP 2020075395A JP 7363657 B2 JP7363657 B2 JP 7363657B2
Authority
JP
Japan
Prior art keywords
current
terminal
voltage
circuit
mirror
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020075395A
Other languages
Japanese (ja)
Other versions
JP2021173554A (en
Inventor
悠 藤本
智士 市川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2020075395A priority Critical patent/JP7363657B2/en
Publication of JP2021173554A publication Critical patent/JP2021173554A/en
Application granted granted Critical
Publication of JP7363657B2 publication Critical patent/JP7363657B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、過電圧判定回路に関する。 The present invention relates to an overvoltage determination circuit.

センサ信号検出装置は、例えばガス濃度センサなどの抵抗体を用いたセンサを用いて信号を検出するものがある。この種のセンサ信号検出装置には、過電圧判定回路が組み込まれている。 Some sensor signal detection devices detect signals using a sensor using a resistor, such as a gas concentration sensor. This type of sensor signal detection device incorporates an overvoltage determination circuit.

センサ信号検出装置は、複数の端子にセンサを配線を用いて接続して構成されている。これらの端子に接続される配線の何れかが高圧電源線などにショートすると、複数の端子の何れも異常検出のための閾値を超えることになる。すると、異常状態を検出できても異常箇所を特定できない。このため出願人は、配線異常検出装置を提案している(例えば、特許文献1参照)。 A sensor signal detection device is configured by connecting a sensor to a plurality of terminals using wiring. If any of the wiring connected to these terminals short-circuits to a high-voltage power supply line or the like, any of the plurality of terminals will exceed the threshold for abnormality detection. Then, even if an abnormal state can be detected, the abnormal location cannot be identified. For this reason, the applicant has proposed a wiring abnormality detection device (for example, see Patent Document 1).

特許文献1記載の技術によれば、センサを接続する2つの端子の過電圧を検出する2つの過電圧検出回路、2つの過電圧検出回路の出力電圧をそれぞれ閾値電圧と比較する2つのコンパレータ、2つの過電圧検出回路の出力電圧を差動増幅する差動増幅回路、差動増幅回路の出力電圧を2つの閾値電圧と比較する2つのコンパレータ、を少なくとも備えている。これにより、センサを接続した何れの端子が、高圧電源線にショートしたかを判別できる。 According to the technology described in Patent Document 1, there are two overvoltage detection circuits that detect overvoltage at two terminals connecting sensors, two comparators that compare the output voltages of the two overvoltage detection circuits with threshold voltages, and two overvoltage detection circuits. It includes at least a differential amplifier circuit that differentially amplifies the output voltage of the detection circuit, and two comparators that compare the output voltage of the differential amplifier circuit with two threshold voltages. This makes it possible to determine which terminal to which the sensor is connected is short-circuited to the high-voltage power supply line.

しかしながら、前述したようにコンパレータ、差動増幅回路などトランジスタを多数組み合わせた大規模な回路を多数追加する必要があるため、回路面積が増大し、消費電力が増大する問題を生じる。 However, as described above, it is necessary to add many large-scale circuits that combine many transistors, such as comparators and differential amplifier circuits, resulting in problems of increased circuit area and increased power consumption.

特開2018-84425号公報JP2018-84425A

本発明は、上記事情に鑑みてなされたもので、その目的は、回路面積を極力抑制しつつ消費電力を抑制できるようにした過電圧判定回路を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an overvoltage determination circuit that can suppress power consumption while minimizing the circuit area.

請求項1記載の発明によれば、複数の端子の少なくとも一つ以上の端子が天絡したとき、天絡した端子(以下、天絡端子と称す)の電圧が変動しその他の非天絡端子の電圧が過電圧に至る、又は、当該天絡端子の電圧が一定でもその他の非天絡端子の電圧が過電圧に至る、まで変動する場合に前記天絡端子を判定するための過電圧判定回路を対象としている。 According to the invention set forth in claim 1, when at least one of the plurality of terminals is shorted to power, the voltage of the terminal that has shorted to power (hereinafter referred to as a power shorted terminal) fluctuates, and the voltage of the other terminals that are not shorted to power is changed. The target is an overvoltage determination circuit that determines whether the ground fault terminal is present when the voltage of the ground fault terminal reaches an overvoltage, or even if the voltage of the ground fault terminal is constant, the voltage of other non-ground fault terminals reaches an overvoltage. It is said that

一対の電圧電流変換回路は、複数の端子のうち2つの端子の電圧をそれぞれ電流変換する。一対の電流絶対値比較回路は、一対の電圧電流変換回路の変換電流をそれぞれ基準電流と絶対比較する。電流相対値比較回路は、一対の電圧電流変換回路の変換電流を相対比較する。判定部は、一対の電流絶対値比較回路の比較結果及び電流相対値比較回路の比較結果に基づいて2つの端子のうち何れの端子が天絡端子であるかを判定する。 A pair of voltage-current conversion circuits converts voltages at two terminals among the plurality of terminals into currents, respectively. The pair of current absolute value comparison circuits perform absolute comparisons of the converted currents of the pair of voltage-current conversion circuits with reference currents, respectively. The current relative value comparison circuit relatively compares the converted currents of a pair of voltage-current conversion circuits. The determination unit determines which of the two terminals is the short-to-power terminal based on the comparison result of the pair of current absolute value comparison circuits and the comparison result of the current relative value comparison circuit.

この中で、一対の電流絶対値比較回路及び電流相対値比較回路は、電流基準で比較する回路であるため、コンパレータ、差動増幅回路などの大規模な回路に比較して、少数のトランジスタを組み合わせることで構成でき、使用するトランジスタ数を少なくできる。この結果、回路面積を極力抑制しつつ消費電力を抑制できる。 Among these, the pair of current absolute value comparison circuit and current relative value comparison circuit is a circuit that compares based on current, so compared to large-scale circuits such as comparators and differential amplifier circuits, it requires a small number of transistors. They can be configured by combining them, reducing the number of transistors used. As a result, power consumption can be suppressed while minimizing the circuit area.

第1実施形態に係る過電圧判定回路の構成例Configuration example of overvoltage determination circuit according to the first embodiment 全体構成例を概略的に示すブロック図Block diagram schematically showing an example of overall configuration 過電圧判定回路の電気的構成を概略的に示すブロック図Block diagram schematically showing the electrical configuration of the overvoltage determination circuit 天絡端子判定部による判定基準例を示す真理値表Truth table showing examples of judgment criteria by short-to-ground terminal judgment section 第2実施形態に係る過電圧判定回路の構成例Configuration example of overvoltage determination circuit according to second embodiment 過電圧判定回路の電気的構成を概略的に示すブロック図Block diagram schematically showing the electrical configuration of the overvoltage determination circuit 天絡端子判定部による判定基準例を示す真理値表のその1Part 1 of the truth table showing an example of judgment criteria by the short-to-ground terminal judgment unit 天絡端子判定部による判定基準例を示す真理値表のその2Part 2 of the truth table showing an example of judgment criteria by the short-to-power terminal judgment unit 2つの端子の電圧の関係性と電流ゲインの設定方法例の説明図An explanatory diagram of the relationship between the voltages of two terminals and an example of how to set the current gain 第3実施形態の説明を示すものであり過電圧判定回路を適用可能な回路構成例のその1This is a first example of a circuit configuration to which the overvoltage determination circuit can be applied, which illustrates the explanation of the third embodiment. 過電圧判定回路を適用可能な回路構成例のその2Part 2 of circuit configuration example to which the overvoltage determination circuit can be applied 第4実施形態に係る過電圧判定回路の適用例Application example of the overvoltage determination circuit according to the fourth embodiment

以下、幾つかの実施形態について図面を参照しながら説明する。以下の説明では、各実施形態で説明した構成と同一又は類似機能を備えた構成について同一符号又は類似符号を付し、第2実施形態以降では必要に応じて説明を省略する。 Hereinafter, some embodiments will be described with reference to the drawings. In the following description, components having the same or similar functions as those described in each embodiment will be denoted by the same or similar symbols, and the description of the second embodiment and subsequent embodiments will be omitted as necessary.

(第1実施形態)
図1から図4は、第1実施形態の説明図を示す。図2には、ガス濃度センサの信号処理システム1の電気的構成をブロック図により概略的に示している。信号処理システム1は、車両用エンジン(図示せず)が排出する排気燃焼ガスを被検出ガスとしエンジン排気中の酸素濃度をA/Fセンサ2により検出するための各種制御処理を行う。
(First embodiment)
1 to 4 show explanatory diagrams of the first embodiment. FIG. 2 schematically shows the electrical configuration of the signal processing system 1 of the gas concentration sensor using a block diagram. The signal processing system 1 performs various control processes for detecting the oxygen concentration in the engine exhaust gas using the A/F sensor 2, using exhaust combustion gas discharged by a vehicle engine (not shown) as a gas to be detected.

信号処理システム1は、マイコン3(Micro Control Unit)、及びASIC4(特定用途向けIC)を備える。マイコン3は、CPU、ROMやRAMなどのメモリ(何れも図示せず)を備えており、当該メモリに記憶されたプログラムに基づいて動作する。ASIC4は、その内部のハードウェア構造が各種機能に分かれており、内部電源5、通信部6、信号処理部としても機能する制御部7、ヒータ制御部8、センサ電流検出部9、ダイアグ検出部10、端子駆動部11、及び、クランプ付きの過電圧検出部12(過電圧判定回路相当)としての機能を備える。 The signal processing system 1 includes a microcontroller 3 (Micro Control Unit) and an ASIC 4 (application specific IC). The microcomputer 3 includes a CPU and a memory such as a ROM or a RAM (none of which is shown), and operates based on a program stored in the memory. The internal hardware structure of the ASIC 4 is divided into various functions, including an internal power supply 5, a communication section 6, a control section 7 that also functions as a signal processing section, a heater control section 8, a sensor current detection section 9, and a diagnostic detection section. 10, a terminal drive section 11, and an overvoltage detection section 12 with a clamp (corresponding to an overvoltage determination circuit).

内部電源5は、ASIC4の外部から電源供給を受けて安定した直流電源を生成し、内部構成(主に通信部6、制御部7、ヒータ制御部8、センサ電流検出部9、ダイアグ検出部10、端子駆動部11、過電圧検出部12)に電源供給する。通信部6は、マイコン3と通信可能になっており、マイコン3から各種指令を受信すると制御部7に伝達したり、制御部7からマイコン3に各種情報を伝達する。 The internal power supply 5 receives power supply from the outside of the ASIC 4 and generates a stable DC power supply. , terminal drive section 11, and overvoltage detection section 12). The communication section 6 is capable of communicating with the microcomputer 3, and upon receiving various commands from the microcomputer 3, transmits them to the control section 7, and transmits various information from the control section 7 to the microcomputer 3.

ヒータ制御部8は、マイコン3との間で指令制御線を接続して構成され、マイコン3から指令を受付けると外部のヒータ駆動部13を通じてヒータ14を駆動するように構成されている。ヒータ14は、A/Fセンサ2に近接設置されている。ヒータ制御部8が、ヒータ駆動部13を通じてヒータ14に通電すると、ヒータ14はA/Fセンサ2の環境温度を昇温させるとA/Fセンサ2は昇温する。A/Fセンサ2は、排気ガスのA/F及びセンサ端子PIN1-PIN2の端子間電圧差に応じたセンサ電流を流す。 The heater control section 8 is configured by connecting a command control line to the microcomputer 3, and is configured to drive the heater 14 through an external heater drive section 13 when receiving a command from the microcomputer 3. The heater 14 is installed close to the A/F sensor 2. When the heater control section 8 energizes the heater 14 through the heater drive section 13, the heater 14 raises the environmental temperature of the A/F sensor 2, and the temperature of the A/F sensor 2 increases. The A/F sensor 2 flows a sensor current according to the A/F of the exhaust gas and the voltage difference between the sensor terminals PIN1 and PIN2.

端子駆動部11は、一対のセンサ端子PIN1、PIN2にそれぞれ電圧を印加するバッファアンプ15、16を備える。バッファアンプ15、16は、一対のセンサ端子PIN1、PIN2の間に規定のバイアス電圧Vcom(例えば、2.5V=VDD/2)を印加する。バッファアンプ15の出力と端子PIN1との間には、抵抗17が直列接続されている。抵抗17は、バッファアンプ15の位相補償に用いられる。バッファアンプ16の出力と端子PIN2との間には抵抗18が直列接続されている。抵抗18は、センサ電流検出及び位相補償に用いられる。 The terminal drive unit 11 includes buffer amplifiers 15 and 16 that apply voltages to the pair of sensor terminals PIN1 and PIN2, respectively. Buffer amplifiers 15 and 16 apply a prescribed bias voltage Vcom (for example, 2.5V=VDD/2) between the pair of sensor terminals PIN1 and PIN2. A resistor 17 is connected in series between the output of the buffer amplifier 15 and the terminal PIN1. The resistor 17 is used for phase compensation of the buffer amplifier 15. A resistor 18 is connected in series between the output of the buffer amplifier 16 and the terminal PIN2. Resistor 18 is used for sensor current detection and phase compensation.

抵抗18は、A/Fセンサ2に流れる電流を電圧変換する。バッファアンプ15は、抵抗17及び18、並びに端子PIN1、PIN2を通じて、A/Fセンサ2に通電するように構成される。 The resistor 18 converts the current flowing through the A/F sensor 2 into a voltage. Buffer amplifier 15 is configured to supply current to A/F sensor 2 through resistors 17 and 18 and terminals PIN1 and PIN2.

過電圧検出部12は、クランプ付きの過電圧検出回路を構成するもので、端子PIN1、PIN2の過電圧検出結果を制御部7に出力するように構成される。過電圧検出部12は、A/Fセンサ2の両側に接続された一方の端子PIN1及び他方の端子PIN2の過電圧、天絡の判定を行う過電圧判定回路として機能する。過電圧検出部12は、端子PIN1又は/及びPIN2が過電圧状態となったときの電圧情報をダイアグ検出部10に伝達する。ダイアグ検出部10は、過電圧検出部12によりクランプされた電圧VINT1及びVINT2を入力し、これらの電圧VINT1及びVINT2に基づいてダイアグ情報を検出する。 The overvoltage detection section 12 constitutes an overvoltage detection circuit with a clamp, and is configured to output the overvoltage detection results of the terminals PIN1 and PIN2 to the control section 7. The overvoltage detection unit 12 functions as an overvoltage determination circuit that determines overvoltage and short circuit between one terminal PIN1 and the other terminal PIN2 connected to both sides of the A/F sensor 2. The overvoltage detection section 12 transmits voltage information when the terminal PIN1 and/or PIN2 is in an overvoltage state to the diagnostic detection section 10. The diagnostic detection section 10 receives the voltages VINT1 and VINT2 clamped by the overvoltage detection section 12, and detects diagnostic information based on these voltages VINT1 and VINT2.

センサ電流検出部9は、A/D変換器を内蔵して構成され、シャント抵抗18の両端電圧をA/D変換し、センサ電流のデジタルデータを制御部7に出力する。制御部7は、通信部6を通じてマイコン3から入力される情報、過電圧検出部12により検出される電圧情報、ダイアグ検出部10の検出ダイアグ情報、及び、センサ電流検出部9による検出センサ電流情報に基づいて、端子駆動部11、及び、ヒータ制御部8を統括制御する。 The sensor current detection section 9 is configured with a built-in A/D converter, performs A/D conversion of the voltage across the shunt resistor 18, and outputs digital data of the sensor current to the control section 7. The control unit 7 receives information input from the microcomputer 3 through the communication unit 6, voltage information detected by the overvoltage detection unit 12, diagnostic information detected by the diagnostic detection unit 10, and sensor current information detected by the sensor current detection unit 9. Based on this, the terminal drive section 11 and the heater control section 8 are collectively controlled.

制御部7は、A/Fセンサ2のセンサ電流のデジタルデータをセンサ電流検出部9から入力すると、このセンサ電流のデジタルデータに基づいて、端子駆動部11によりA/Fセンサ2に通電制御する。A/Fセンサ2の素子電流の増減は、空燃比の増減、すなわちリーン/リッチに対応し、例えば空燃比がリーンになれば素子電流は正となり、空燃比がリッチになれば素子電流が負となる。このとき、端子PIN1から端子PIN2に流れる方向が電流の正方向であり、その逆が負方向である。 When the control unit 7 receives digital data of the sensor current of the A/F sensor 2 from the sensor current detection unit 9, the terminal drive unit 11 controls the energization of the A/F sensor 2 based on the digital data of the sensor current. . An increase or decrease in the element current of the A/F sensor 2 corresponds to an increase or decrease in the air-fuel ratio, that is, lean/rich. For example, when the air-fuel ratio becomes lean, the element current becomes positive, and when the air-fuel ratio becomes rich, the element current becomes negative. becomes. At this time, the direction in which the current flows from the terminal PIN1 to the terminal PIN2 is the positive direction, and the opposite direction is the negative direction.

以下、過電圧検出部12の構成例について、図1及び図3を参照して説明する。図3に例示したように、過電圧検出部12は、電圧電流変換回路21、22、電流絶対値比較回路23、24、電流増幅回路25a、25b、電流相対値比較回路26、及び、天絡端子判定部28によりブロック化できる。 Hereinafter, a configuration example of the overvoltage detection section 12 will be described with reference to FIGS. 1 and 3. As illustrated in FIG. 3, the overvoltage detection unit 12 includes voltage-current conversion circuits 21 and 22, current absolute value comparison circuits 23 and 24, current amplification circuits 25a and 25b, current relative value comparison circuit 26, and a power supply terminal. It can be divided into blocks by the determination unit 28.

<電圧電流変換回路21の説明>
図3に示す電圧電流変換回路21は、端子PIN1の電圧が電源電圧VDD(所定電圧相当)を超える過電圧になると過電圧-VDDの値に比例した電流Iout1を生成するように構成される。図1には電圧電流変換回路21を例示している。図1に示した電圧電流変換回路21は、pチャネル型のMOSFET_M1、M3、M5、及び、nチャネル型のMOSFET_M2、M4を図示形態に接続して構成される。
<Description of voltage-current conversion circuit 21>
The voltage-current conversion circuit 21 shown in FIG. 3 is configured to generate a current Iout1 proportional to the value of the overvoltage -VDD when the voltage at the terminal PIN1 becomes an overvoltage exceeding the power supply voltage VDD (equivalent to a predetermined voltage). FIG. 1 illustrates a voltage-current conversion circuit 21. As shown in FIG. The voltage-current conversion circuit 21 shown in FIG. 1 is configured by connecting p-channel type MOSFET_M1, M3, M5 and n-channel type MOSFET_M2, M4 in the illustrated form.

MOSFET_M1、M3は、同サイズで電流ゲインが同一となるように設定されている。MOSFET_M2、M4もまた同サイズで電流ゲインが同一となるように設定されている。 MOSFET_M1 and M3 are set to have the same size and the same current gain. MOSFET_M2 and M4 are also set to have the same size and the same current gain.

MOSFET_M1、M3はゲートを互いに共通接続して構成されると共にその共通接続点にMOSFET_M3のドレインも共通接続して構成される。これにより、MOSFET_M1、M3は第1ミラートランジスタ対を構成し第1カレントミラー回路31を構成する。 MOSFET_M1 and M3 are configured by having their gates commonly connected to each other, and the drains of MOSFET_M3 are also commonly connected to the common connection point. Thereby, MOSFET_M1 and M3 constitute a first mirror transistor pair and constitute a first current mirror circuit 31.

MOSFET_M2、M4もまたゲートを互いに共通接続して構成されると共にその共通接続点にMOSFET_M2のドレインも共通接続して構成される。MOSFET_M2、M4は、それぞれグランド側に通電端子となるソースを接続して構成されている。これにより、MOSFET_M2、M4は第2ミラートランジスタ対を構成し第2カレントミラー回路32を構成する。 MOSFET_M2 and M4 are also configured by having their gates commonly connected to each other, and the drains of MOSFET_M2 are also commonly connected to the common connection point. MOSFET_M2 and M4 are each configured by connecting a source serving as a current-carrying terminal to the ground side. Thereby, MOSFET_M2 and M4 form a second mirror transistor pair and form a second current mirror circuit 32.

第1カレントミラー回路31の第1ミラートランジスタ対M1、M3には第2カレントミラー回路32の第2ミラートランジスタ対M2、M4が直列接続されている。 A second mirror transistor pair M2, M4 of a second current mirror circuit 32 is connected in series to a first mirror transistor pair M1, M3 of the first current mirror circuit 31.

具体的には、MOSFET_M1のドレインとMOSFET_M2のドレインとは共通接続されている。MOSFET_M2のソースはグランドに接続されている。また、第1カレントミラー回路31の第1ミラートランジスタ対M1、M3のうち一方のMOSFET_M1のソースには抵抗R1を通じて端子PIN1が接続されている。 Specifically, the drain of MOSFET_M1 and the drain of MOSFET_M2 are commonly connected. The source of MOSFET_M2 is connected to ground. Furthermore, a terminal PIN1 is connected to the source of one MOSFET_M1 of the first mirror transistor pair M1 and M3 of the first current mirror circuit 31 through a resistor R1.

MOSFET_M3のドレインとMOSFET_M4のドレインとは共通接続されている。MOSFET_M4のソースはグランドに接続されており、第1ミラートランジスタ対M1、M3のうちの他方のMOSFET_M3のソースは電源電圧VDDの供給ノードに接続されており、当該ソースに印加される電圧を電源電圧VDDとしている。これにより、端子PIN1に電源電圧VDDを超える電圧が印加されると、抵抗R1とMOSFET_M1のソースとの共通接続点のノードが電源電圧VDDにクランプされる。 The drain of MOSFET_M3 and the drain of MOSFET_M4 are commonly connected. The source of MOSFET_M4 is connected to the ground, and the source of the other MOSFET_M3 of the first mirror transistor pair M1, M3 is connected to the supply node of the power supply voltage VDD, and the voltage applied to the source is connected to the power supply voltage. It is set to VDD. As a result, when a voltage exceeding the power supply voltage VDD is applied to the terminal PIN1, the node at the common connection point between the resistor R1 and the source of the MOSFET_M1 is clamped to the power supply voltage VDD.

他方、MOSFET_M5は第1カレントミラー回路31にミラー接続されており、ドレイン電流を出力電流Iout1として出力する。このとき、端子PIN1の電圧がVDD以上の過電圧になると、MOSFET_M5は、過電圧の値に比例した電流Iout1を生成出力する。 On the other hand, MOSFET_M5 is mirror-connected to the first current mirror circuit 31 and outputs the drain current as the output current Iout1. At this time, when the voltage of the terminal PIN1 becomes an overvoltage equal to or higher than VDD, MOSFET_M5 generates and outputs a current Iout1 proportional to the value of the overvoltage.

<電圧電流変換回路22の説明>
図3に示す電圧電流変換回路22は、端子PIN2の電圧が電源電圧VDDを超える過電圧になると過電圧-VDDの値に比例した電流Iout2を生成する。図1に示した電圧電流変換回路22は、pチャネル型のMOSFET_M7、M9、M11、及び、nチャネル型のMOSFET_M8、M10を図示形態に接続して構成される。
<Description of voltage-current conversion circuit 22>
The voltage-current conversion circuit 22 shown in FIG. 3 generates a current Iout2 proportional to the value of the overvoltage -VDD when the voltage at the terminal PIN2 becomes an overvoltage exceeding the power supply voltage VDD. The voltage-current conversion circuit 22 shown in FIG. 1 is configured by connecting p-channel type MOSFET_M7, M9, M11 and n-channel type MOSFET_M8, M10 in the illustrated form.

MOSFET_M7、M9は、同サイズで電流ゲインが同一となるように設定されている。MOSFET_M8、M10もまた同サイズで電流ゲインが同一となるように設定されている。 MOSFET_M7 and M9 are set to have the same size and the same current gain. MOSFET_M8 and M10 are also set to have the same size and the same current gain.

MOSFET_M7、M9は、ゲートを互いに共通接続して構成されると共にその共通接続点にMOSFET_M9のドレインも共通接続して構成される。これにより、MOSFET_M7、M9は、第1ミラートランジスタ対、及び、第1カレントミラー回路41を構成する。 MOSFET_M7 and M9 are configured by having their gates commonly connected to each other, and the drains of MOSFET_M9 are also commonly connected to the common connection point. Thereby, MOSFET_M7 and M9 constitute a first mirror transistor pair and a first current mirror circuit 41.

MOSFET_M8、M10もまたゲートを互いに共通接続して構成されると共にその共通接続点にMOSFET_M8のドレインも共通接続して構成される。MOSFET_M8、M10は、それぞれグランド側に通電端子となるソースを接続して構成されている。これにより、MOSFET_M8、M10は、第2ミラートランジスタ対、及び、第2カレントミラー回路42を構成する。 MOSFET_M8 and M10 are also configured with their gates commonly connected to each other, and the drains of MOSFET_M8 are also commonly connected to the common connection point. MOSFET_M8 and M10 are each configured by connecting a source serving as a current-carrying terminal to the ground side. Thereby, MOSFET_M8 and M10 constitute a second mirror transistor pair and a second current mirror circuit 42.

第1カレントミラー回路41の第1ミラートランジスタ対M7、M9には、第2カレントミラー回路42の第2ミラートランジスタ対M8、M10が直列接続されている。 A second mirror transistor pair M8, M10 of a second current mirror circuit 42 is connected in series to a first mirror transistor pair M7, M9 of the first current mirror circuit 41.

具体的には、MOSFET_M7のドレインとMOSFET_M8のドレインとは共通接続されている。MOSFET_M8のソースは、グランドに接続されている。また、第1カレントミラー回路41の第1ミラートランジスタ対M7、M9のうち一方のMOSFET_M7のソースには抵抗R2を通じて端子PIN2が接続されている。 Specifically, the drain of MOSFET_M7 and the drain of MOSFET_M8 are commonly connected. The source of MOSFET_M8 is connected to ground. Furthermore, a terminal PIN2 is connected to the source of one MOSFET_M7 of the first mirror transistor pair M7 and M9 of the first current mirror circuit 41 through a resistor R2.

MOSFET_M9のドレインとMOSFET_M10のドレインとは共通接続されている。MOSFET_M10のソースはグランドに接続されている。第1ミラートランジスタ対M7、M9のうちの他方のMOSFET_M9のソースは、電源電圧VDDの供給ノードに接続されており、当該ソースに印加される電圧を電源電圧VDDとしている。これにより、端子PIN2に電源電圧VDDを超える電圧が印加されると、抵抗R2とMOSFET_M7のソースとの共通接続点のノードが電源電圧VDDにクランプされる。 The drain of MOSFET_M9 and the drain of MOSFET_M10 are commonly connected. The source of MOSFET_M10 is connected to ground. The source of the other MOSFET_M9 of the first mirror transistor pair M7 and M9 is connected to the supply node of the power supply voltage VDD, and the voltage applied to the source is set as the power supply voltage VDD. As a result, when a voltage exceeding the power supply voltage VDD is applied to the terminal PIN2, the node at the common connection point between the resistor R2 and the source of the MOSFET_M7 is clamped to the power supply voltage VDD.

他方、MOSFET_M11は、第1カレントミラー回路41にミラー接続されており、ドレイン電流を出力電流Iout2として出力する。このとき、端子PIN2の電圧がVDD以上の過電圧になると、MOSFET_M11は、過電圧の値に比例した電流Iout2を生成出力する。 On the other hand, MOSFET_M11 is mirror-connected to the first current mirror circuit 41 and outputs the drain current as the output current Iout2. At this time, when the voltage of the terminal PIN2 becomes an overvoltage equal to or higher than VDD, the MOSFET_M11 generates and outputs a current Iout2 proportional to the value of the overvoltage.

<一対の電流絶対値比較回路23、24の説明>
図3に例示した電流絶対値比較回路23は、電流Iout1を基準電流IREFと比較した電流を天絡端子判定部28に出力する。天絡端子判定部28は、入力ハイインピーダンスのコンパレータを備え、入力電流に応じた電圧VO1を「H」又は「L」として受付ける。天絡端子判定部28は電圧VO1を入力することで電流Iout1が基準電流IREFより高いか否かを判定し、電流Iout1が基準電流IREFより高いときに「H」として受付け、電流Iout1が基準電流IREF以下のときに「L」として受付ける。
<Description of the pair of absolute current value comparison circuits 23 and 24>
The current absolute value comparison circuit 23 illustrated in FIG. 3 compares the current Iout1 with the reference current IREF and outputs the current to the short-to-ground terminal determination unit 28. The short-to-power terminal determination unit 28 includes a high-impedance input comparator, and accepts the voltage VO1 according to the input current as "H" or "L". The short-to-ground terminal determining unit 28 determines whether the current Iout1 is higher than the reference current IREF by inputting the voltage VO1, and when the current Iout1 is higher than the reference current IREF, it is accepted as "H", and the current Iout1 is the reference current. It is accepted as "L" when it is below IREF.

図1に例示した電流絶対値比較回路23は、基準電流IREFを生成する電流源33を備える。MOSFET_M5のドレインは電流源33に直列接続されており、MOSFET_M5に流れる電流を基準電流IREFと絶対比較するよう構成されている。 The current absolute value comparison circuit 23 illustrated in FIG. 1 includes a current source 33 that generates a reference current IREF. The drain of MOSFET_M5 is connected in series to the current source 33, and is configured to absolutely compare the current flowing through MOSFET_M5 with reference current IREF.

他方、図3に例示した電流絶対値比較回路24は、電流Iout2を基準電流IREFと比較した電流を天絡端子判定部28に出力する。天絡端子判定部28は、入力ハイインピーダンスのコンパレータを備えており、入力電流に応じた電圧VO2を「H」又は「L」として受付ける。天絡端子判定部28は、電圧VO2を入力することで電流Iout2が基準電流IREFより高いか否かを判定し、電流Iout2が基準電流IREFより高いときに「H」として受付け、電流Iout2が基準電流IREF以下のときに「L」として受付ける。なお、基準電流IREFは、制御部7により任意な基準値に変更可能になっている。 On the other hand, the current absolute value comparison circuit 24 illustrated in FIG. 3 outputs a current obtained by comparing the current Iout2 with the reference current IREF to the power supply terminal determining section 28. The short-to-power terminal determining unit 28 includes a high-impedance input comparator, and accepts the voltage VO2 according to the input current as "H" or "L". The short-to-ground terminal determining unit 28 determines whether the current Iout2 is higher than the reference current IREF by inputting the voltage VO2, and when the current Iout2 is higher than the reference current IREF, it is accepted as "H", and the current Iout2 is the reference current. Accepted as “L” when the current is below IREF. Note that the reference current IREF can be changed to an arbitrary reference value by the control section 7.

図1に例示した電流絶対値比較回路24は、基準電流IREFを生成する電流源43を備える。MOSFET_M11のドレインは電流源43に直列接続されており、MOSFET_M11に流れる電流を基準電流IREFと絶対比較するよう構成されている。 The current absolute value comparison circuit 24 illustrated in FIG. 1 includes a current source 43 that generates a reference current IREF. The drain of MOSFET_M11 is connected in series to a current source 43, and is configured to absolutely compare the current flowing through MOSFET_M11 with a reference current IREF.

<電流相対値比較回路26の説明>
図3に例示した電流相対値比較回路26は、一対の電圧電流変換回路21、22の変換電流を相対比較するもので、電流増幅回路25a、25b、及び、増幅電流相対値比較回路27を備えて構成される。
<Description of current relative value comparison circuit 26>
The current relative value comparison circuit 26 illustrated in FIG. It consists of

図3に例示した電流増幅回路25aは、電流Iout1を入力し電流ゲインα倍に電流増幅した電流Iout1_1を増幅電流相対値比較回路27に出力する。図1に例示したように、電流増幅回路25aは、第1カレントミラー回路31にミラー接続されたpチャネル型のMOSFET_M6により構成され、電流Iout1をα倍に電流増幅して電流Iout1_1として出力する。同様に、図3に例示した電流増幅回路25bは、電流Iout2を入力し電流ゲインα倍に電流増幅した電流Iout2_1を増幅電流相対値比較回路27に出力する。 The current amplification circuit 25a illustrated in FIG. 3 inputs the current Iout1, amplifies the current by a current gain α, and outputs the current Iout1_1 to the amplified current relative value comparison circuit 27. As illustrated in FIG. 1, the current amplification circuit 25a is configured with a p-channel MOSFET_M6 mirror-connected to the first current mirror circuit 31, and amplifies the current Iout1 by α times and outputs the amplified current Iout1_1. Similarly, the current amplification circuit 25b illustrated in FIG. 3 inputs the current Iout2, amplifies the current by a current gain α, and outputs the current Iout2_1 to the amplified current relative value comparison circuit 27.

図1に示したように、電流増幅回路25bは、第1カレントミラー回路41にミラー接続されたMOSFET_M12と、このMOSFET_M12の出力電流に比例した電流をMOSFET_M6の出力電流から引く第3カレントミラー回路44とにより構成される。 As shown in FIG. 1, the current amplification circuit 25b includes a MOSFET_M12 mirror-connected to the first current mirror circuit 41, and a third current mirror circuit 44 that draws a current proportional to the output current of the MOSFET_M12 from the output current of the MOSFET_M6. It is composed of

第3カレントミラー回路44は、nチャネル型のMOSFET_M13及びM14を図示形態に接続して構成され、MOSFET_M12のドレイン電流を引き、電流Iout2をα倍に電流増幅して電流Iout2_1として出力する。 The third current mirror circuit 44 is configured by connecting n-channel type MOSFET_M13 and M14 in the illustrated form, draws the drain current of MOSFET_M12, amplifies the current Iout2 by α times, and outputs the amplified current Iout2_1.

図1に示したように、増幅電流相対値比較回路27は、MOSFET_M6のドレインとMOSFET_M14のドレインとを結線接続して構成される回路であり、第1カレントミラー回路31、41にミラー接続されたMOSFET_M6、M14のドレインにそれぞれ流れる電流Iout1_1及びIout1_2を相対比較、減算比較する。 As shown in FIG. 1, the amplified current relative value comparison circuit 27 is a circuit configured by connecting the drain of MOSFET_M6 and the drain of MOSFET_M14, and is mirror-connected to the first current mirror circuits 31 and 41. The currents Iout1_1 and Iout1_2 flowing through the drains of MOSFET_M6 and M14, respectively, are compared and subtracted.

天絡端子判定部28は、入力ハイインピーダンスのコンパレータを備えており、電流Iout1_1及びIout2_1を相対的に減算した電流に応じた電圧VO3を「H」又は「L」として受付ける。天絡端子判定部28は、電圧VO3を入力することで電流Iout1_1と電流Iout2_1との高低を比較し、電流Iout1_1が電流IOUT2_1より高いときに「H」として受付け、電流Iout1_1が入力電流Iout2_1以下となるときに「L」として受付ける。 The short-to-power terminal determining unit 28 includes a high-impedance input comparator, and accepts the voltage VO3 corresponding to the current obtained by relatively subtracting the currents Iout1_1 and Iout2_1 as "H" or "L". The short-to-ground terminal determining unit 28 inputs the voltage VO3 to compare the levels of the current Iout1_1 and the current Iout2_1, accepts it as "H" when the current Iout1_1 is higher than the current IOUT2_1, and determines that the current Iout1_1 is less than or equal to the input current Iout2_1. It is accepted as "L" when

電流相対値比較回路26が、電流Iout1_1及びIout2_1を相対的に比較することで、たとえ各端子PIN1、PIN2の電圧が、プロセス要因、電源電圧要因、温度要因の所謂PVTばらつきにより変動したとしても正確に判定できる。 The current relative value comparison circuit 26 relatively compares the currents Iout1_1 and Iout2_1, so that even if the voltage of each terminal PIN1, PIN2 fluctuates due to so-called PVT variations due to process factors, power supply voltage factors, and temperature factors, it can be accurately It can be determined that

<天絡端子判定部28の説明>
図4は、天絡端子判定部28による判定基準を真理値表により示している。天絡端子判定部28は、一対の電流絶対値比較回路23、24の比較結果となる電圧VO1、VO2の何れも「L」であるときには、電圧電流変換回路21、22から電流絶対値比較回路23、24にそれぞれ流れ込む電流Iout1、Iout2が何れも基準電流IREFより少ないと判断できる。このため、天絡端子判定部228は、電圧VO1、VO2の何れも「L」であるときには、端子PIN1及びPIN2の何れも天絡していないと判定できる。このとき、電圧VO3はどのような電圧条件であっても良い。
<Description of short-to-power terminal determination unit 28>
FIG. 4 shows the determination criteria by the short-to-ground terminal determining section 28 using a truth table. When the voltages VO1 and VO2, which are the comparison results of the pair of current absolute value comparison circuits 23 and 24, are both “L”, the power supply terminal determination unit 28 selects a current absolute value comparison circuit from the voltage-current conversion circuits 21 and 22. It can be determined that both of the currents Iout1 and Iout2 flowing into 23 and 24 are smaller than the reference current IREF. Therefore, when both the voltages VO1 and VO2 are "L", the shorted-to-power terminal determination unit 228 can determine that neither of the terminals PIN1 and PIN2 is shorted to power. At this time, the voltage VO3 may be under any voltage condition.

また天絡端子判定部28は、電流絶対値比較回路23の比較結果となる電圧VO1が「L」であり、電流絶対値比較回路24の比較結果となる電圧VO2が「H」であるときには、電圧電流変換回路21から電流絶対値比較回路23に流れ込む電流Iout1が基準電流IREFより少なく、電圧電流変換回路22から電流絶対値比較回路24に流れ込む電流Iout2が基準電流IREFより多いと判断できる。したがって、天絡端子判定部28は、電圧VO1が「L」、電圧VO2が「H」であるときには、端子PIN2が天絡しており端子PIN1は天絡していないと判定する。なお、電圧VO1が「L」、電圧VO2が「H」であれば、電流相対値比較回路26が故障していなければ無条件で電圧VO3が「L」となる。 Furthermore, when the voltage VO1 that is the comparison result of the current absolute value comparison circuit 23 is "L" and the voltage VO2 that is the comparison result of the current absolute value comparison circuit 24 is "H", the short-to-power terminal determination unit 28 determines that: It can be determined that the current Iout1 flowing from the voltage-current conversion circuit 21 to the current absolute value comparison circuit 23 is less than the reference current IREF, and the current Iout2 flowing from the voltage-current conversion circuit 22 to the current absolute value comparison circuit 24 is greater than the reference current IREF. Therefore, when the voltage VO1 is "L" and the voltage VO2 is "H", the short-to-power terminal determining unit 28 determines that the terminal PIN2 is short to power and the terminal PIN1 is not short to power. Note that if the voltage VO1 is "L" and the voltage VO2 is "H", the voltage VO3 becomes "L" unconditionally unless the current relative value comparison circuit 26 is out of order.

また天絡端子判定部28は、電流絶対値比較回路23の比較結果となる電圧VO1が「H」であり、電流絶対値比較回路24の比較結果となる電圧VO2が「L」であるときには、電圧電流変換回路21から電流絶対値比較回路23に流れ込む電流Iout1が基準電流IREFより多く、電圧電流変換回路22から電流絶対値比較回路24に流れ込む電流Iout2が基準電流IREFより少ないと判断できる。 Furthermore, when the voltage VO1 that is the comparison result of the current absolute value comparison circuit 23 is "H" and the voltage VO2 that is the comparison result of the current absolute value comparison circuit 24 is "L", the short-to-ground terminal determination unit 28 determines that: It can be determined that the current Iout1 flowing from the voltage-current conversion circuit 21 to the current absolute value comparison circuit 23 is greater than the reference current IREF, and the current Iout2 flowing from the voltage-current conversion circuit 22 to the current absolute value comparison circuit 24 is less than the reference current IREF.

このため、天絡端子判定部28は、電圧VO1が「H」、電圧VO2が「L」であるときには、端子PIN1が天絡しており端子PIN2は天絡していないと判定する。なお、電圧VO1が「H」、電圧VO2が「L」であれば、電流相対値比較回路26が故障していなければ無条件で電圧VO3が「H」となる。 Therefore, when the voltage VO1 is "H" and the voltage VO2 is "L", the short-to-power terminal determining unit 28 determines that the terminal PIN1 is short to power and the terminal PIN2 is not short to power. Note that if the voltage VO1 is "H" and the voltage VO2 is "L", the voltage VO3 becomes "H" unconditionally unless the current relative value comparison circuit 26 is out of order.

本実施形態では、一対の端子PIN1、PIN2の間にはA/Fセンサ2による負荷が接続されており、2つのバッファ15、16を用いて端子PIN1、PIN2を駆動している。この場合、片方の端子PIN1が天絡すると他方の端子PIN2は、A/Fセンサ2のインピーダンス及び抵抗17、18の値に応じて定まるゲインに応じた電圧となる。このため、端子PIN1、PIN2の電圧の絶対値が共に基準の電圧よりも高くなることで、電流絶対値比較回路23、24の比較結果となる電圧VO1、VO2が共に「H」となる場合もある。 In this embodiment, a load by the A/F sensor 2 is connected between the pair of terminals PIN1 and PIN2, and two buffers 15 and 16 are used to drive the terminals PIN1 and PIN2. In this case, when one terminal PIN1 is shorted to power, the other terminal PIN2 becomes a voltage corresponding to a gain determined according to the impedance of the A/F sensor 2 and the values of the resistors 17 and 18. Therefore, when the absolute values of the voltages at the terminals PIN1 and PIN2 both become higher than the reference voltage, the voltages VO1 and VO2, which are the comparison results of the current absolute value comparison circuits 23 and 24, may both become "H". be.

このような条件下において、端子PIN1が天絡しているが、端子PIN2が天絡していない場合、電流Iout1_1>電流Iout2_1となるため、電圧VO3が「H」となる。したがって、天絡端子判定部28は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「H」であるときには、端子PIN1が天絡していると判定できる。 Under such conditions, if the terminal PIN1 is shorted to power, but the terminal PIN2 is not shorted to power, current Iout1_1>current Iout2_1, so voltage VO3 becomes "H". Therefore, when the voltage VO1 is "H", the voltage VO2 is "H", and the voltage VO3 is "H", the short-to-power terminal determination unit 28 can determine that the terminal PIN1 is short to power.

また、端子PIN1が天絡していないが、端子PIN2が天絡している場合、電流Iout1_1<電流Iout2_1となるため、電圧VO3が「L」となる。天絡端子判定部28は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「L」であるときには、端子PIN2が天絡していると判定できる。したがって、端子PIN1及びPIN2の何れか片方のみが天絡する場合であれば、天絡端子を判定できる。 Further, when the terminal PIN1 is not shorted to power supply but the terminal PIN2 is shorted to power supply, current Iout1_1<current Iout2_1, so voltage VO3 becomes "L". The short-to-power terminal determining unit 28 can determine that the terminal PIN2 is short to power when the voltage VO1 is "H", the voltage VO2 is "H", and the voltage VO3 is "L". Therefore, if only one of the terminals PIN1 and PIN2 is shorted to power, it can be determined that the terminal is shorted to power.

<本実施形態のまとめ>
本実施形態によれば、電圧電流変換回路21、22は、各端子PIN1、PIN2の過電圧-VDDに比例した電流を生成している。また、電圧電流変換回路21、22の変換電流を用いて端子PIN1、PIN2の過電圧を比較する回路を追加しているため、各端子PIN1、PIN2の過電圧の検出と天絡端子を判別できる。本形態によれば、従来技術に比較して追加回路を少なくでき、回路構成面積を省スペースで実現でき、低電力にて実現できる。
<Summary of this embodiment>
According to this embodiment, the voltage-current conversion circuits 21 and 22 generate currents proportional to the overvoltage -VDD of the respective terminals PIN1 and PIN2. Further, since a circuit is added that compares the overvoltage of the terminals PIN1 and PIN2 using the converted currents of the voltage-current conversion circuits 21 and 22, it is possible to detect the overvoltage of each of the terminals PIN1 and PIN2 and to determine whether the terminal is short to power. According to this embodiment, the number of additional circuits can be reduced compared to the conventional technology, the circuit configuration area can be saved, and the circuit configuration can be realized with low power consumption.

特に、本実施形態によれば、端子PIN1及びPIN2の何れか片方のみが天絡している場合であれば、天絡端子を判定できる。 In particular, according to this embodiment, if only one of the terminals PIN1 and PIN2 is shorted to power, it can be determined that the terminal is shorted to power.

(第2実施形態)
図5から図10は、第2実施形態の説明図を示す。第1実施形態と同一部分については同一符号を付して説明を省略し、第1実施形態と異なる部分を説明する。
(Second embodiment)
5 to 10 show explanatory diagrams of the second embodiment. The same parts as in the first embodiment are given the same reference numerals and the explanation thereof will be omitted, and the parts different from the first embodiment will be explained.

本実施形態では、第1実施形態で説明した電流相対値比較回路26について電流ゲインを変更した回路を「第1電流相対値比較回路2261」と称する。また、第1電流相対値比較回路2261とは別に追加した電流相対値比較回路2262を「第2電流相対値比較回路2262」と称して説明を行う。 In this embodiment, a circuit in which the current gain is changed in the current relative value comparison circuit 26 described in the first embodiment is referred to as a "first current relative value comparison circuit 2261." Further, a current relative value comparison circuit 2262 added separately from the first current relative value comparison circuit 2261 will be referred to as a "second current relative value comparison circuit 2262" in the description.

<第1電流相対値比較回路2261の説明>
図6に示した第1電流相対値比較回路2261は、一対の電圧電流変換回路21、22の変換電流を相対比較するもので、電流増幅回路25a、25b、及び、増幅電流相対値比較回路27を備える。
<Description of first current relative value comparison circuit 2261>
The first relative current value comparison circuit 2261 shown in FIG. Equipped with

図5に示した電流増幅回路25aは、電流Iout1を電流ゲインα倍(第1ゲイン相当)に電流増幅した電流Iout1_1を増幅電流相対値比較回路27に出力する。図1に示したように、電流増幅回路25aは、第1カレントミラー回路31にミラー接続されたpチャネル型のMOSFET_M6により構成され、電流Iout1をα倍に電流増幅して電流Iout1_1として出力する。 The current amplification circuit 25a shown in FIG. 5 outputs the current Iout1_1 obtained by amplifying the current Iout1 by a current gain α (corresponding to the first gain) to the amplified current relative value comparison circuit 27. As shown in FIG. 1, the current amplification circuit 25a is configured with a p-channel MOSFET_M6 mirror-connected to the first current mirror circuit 31, and amplifies the current Iout1 by α times and outputs it as a current Iout1_1.

同様に、図6に例示した電流増幅回路25bは、電流Iout2を電流ゲインβ倍に電流増幅した電流Iout2_1を増幅電流相対値比較回路27に出力する。本実施形態において、電流ゲインβ(第2ゲイン相当)は、前述の電流ゲインαとは異なる値に設定される。電流ゲインα>電流ゲインβの場合と、電流ゲインα<電流ゲインβの場合があるが、この場合分けに応じて、天絡端子判定部228による天絡端子の判定結果は異なるため、この判定内容は後述する。 Similarly, the current amplification circuit 25b illustrated in FIG. 6 outputs the current Iout2_1, which is obtained by amplifying the current Iout2 by a current gain β times, to the amplified current relative value comparison circuit 27. In this embodiment, the current gain β (corresponding to the second gain) is set to a value different from the above-described current gain α. There are cases where current gain α>current gain β and cases where current gain α<current gain β, but the determination result of the power supply terminal by the power supply terminal determining unit 228 differs depending on the case, so this determination The contents will be explained later.

図5に示したように、電流増幅回路25bは、第1カレントミラー回路41にミラー接続されたMOSFET_M12と、このMOSFET_M12の出力電流に比例した電流をMOSFET_M6の出力電流から引く第3カレントミラー回路44とにより構成される。 As shown in FIG. 5, the current amplification circuit 25b includes a MOSFET_M12 mirror-connected to the first current mirror circuit 41, and a third current mirror circuit 44 that draws a current proportional to the output current of the MOSFET_M12 from the output current of the MOSFET_M6. It is composed of

第3カレントミラー回路44は、nチャネル型のMOSFET_M13及びM14を図示形態に接続して構成され、MOSFET_M12のドレイン電流を引き、電流Iout2を電流ゲインβ倍に電流増幅して電流Iout2_1として出力する。 The third current mirror circuit 44 is configured by connecting n-channel type MOSFET_M13 and M14 in the illustrated form, draws the drain current of MOSFET_M12, amplifies the current Iout2 by a current gain β times, and outputs the amplified current Iout2_1.

図5に示したように、増幅電流相対値比較回路27は、MOSFET_M6のドレインとMOSFET_M14のドレインとを結線接続して構成される回路であり、第1カレントミラー回路31、41にミラー接続されたMOSFET_M6、M14のドレインにそれぞれ流れる電流Iout1_1及びIout2_1を相対比較、減算比較する。 As shown in FIG. 5, the amplified current relative value comparison circuit 27 is a circuit configured by connecting the drain of MOSFET_M6 and the drain of MOSFET_M14, and is mirror-connected to the first current mirror circuits 31 and 41. The currents Iout1_1 and Iout2_1 flowing through the drains of MOSFET_M6 and M14, respectively, are compared and subtracted.

天絡端子判定部228は、入力ハイインピーダンスのコンパレータを備えており、電流Iout1_1及びIout2_1を相対的に減算した電流に応じた電圧VO3を「H」又は「L」として受付ける。天絡端子判定部228は、電圧VO3を入力することにより電流Iout1_1と電流Iout2_1との高低を判定し、電流Iout1_1が電流IOUT2_1より高いときに「H」として受付け、電流Iout1_1が入力電流Iout2_1以下となるときに「L」として受付ける。 The short-to-power terminal determining unit 228 includes a high-impedance input comparator, and accepts the voltage VO3 corresponding to the current obtained by relatively subtracting the currents Iout1_1 and Iout2_1 as "H" or "L". The short-to-ground terminal determination unit 228 determines the level of the current Iout1_1 and the current Iout2_1 by inputting the voltage VO3, accepts it as "H" when the current Iout1_1 is higher than the current IOUT2_1, and determines that the current Iout1_1 is less than or equal to the input current Iout2_1. It is accepted as "L" when

<第2電流相対値比較回路2262の説明>
図6に示した第2電流相対値比較回路2262は、一対の電圧電流変換回路21、22の変換電流を相対比較するもので、電流増幅回路225a、225b、及び、増幅電流相対値比較回路227を備える。
<Description of second current relative value comparison circuit 2262>
The second current relative value comparison circuit 2262 shown in FIG. Equipped with

図6に示した電流増幅回路225aは、電流Iout1を電流ゲインβ倍に電流増幅した電流Iout1_2を増幅電流相対値比較回路227に出力する。図5に示したように、電流増幅回路225aは、第1カレントミラー回路31にミラー接続されたpチャネル型のMOSFET_M15、及び、第4カレントミラー回路34により構成される。 The current amplification circuit 225a shown in FIG. 6 outputs the current Iout1_2 obtained by amplifying the current Iout1 by a current gain β times to the amplified current relative value comparison circuit 227. As shown in FIG. 5, the current amplification circuit 225a includes a p-channel MOSFET_M15 mirror-connected to the first current mirror circuit 31 and a fourth current mirror circuit 34.

第4カレントミラー回路34は、nチャネル型のMOSFET_M16及びM17を図示形態に接続して構成され、MOSFET_M15のドレイン電流を引き、電流Iout1をβ倍に電流増幅して電流Iout1_2として出力する。 The fourth current mirror circuit 34 is configured by connecting n-channel MOSFET_M16 and M17 in the illustrated manner, draws the drain current of MOSFET_M15, amplifies the current Iout1 by β times, and outputs the amplified current Iout1_2.

同様に、図6に例示した電流増幅回路225bは、電流Iout2を電流ゲインα倍に電流増幅した電流Iout2_2を増幅電流相対値比較回路227に出力する。図5に示したように、電流増幅回路225bは、第1カレントミラー回路41にミラー接続されたMOSFET_M18により構成される。MOSFET_M8は、電流Iout2をα倍に電流増幅して電流Iout2_2として出力する。 Similarly, the current amplification circuit 225b illustrated in FIG. 6 outputs the current Iout2_2 obtained by amplifying the current Iout2 by a current gain α times to the amplified current relative value comparison circuit 227. As shown in FIG. 5, the current amplification circuit 225b is configured by MOSFET_M18 mirror-connected to the first current mirror circuit 41. MOSFET_M8 amplifies current Iout2 by α times and outputs it as current Iout2_2.

図5に示したように、増幅電流相対値比較回路227は、MOSFET_M18のドレインとMOSFET_M17のドレインとを結線接続して構成される回路であり、第1カレントミラー回路31、41にミラー接続されたMOSFET_M18、M17のドレインにそれぞれ流れる電流Iout2_2及びIout1_2を相対比較、減算比較する。 As shown in FIG. 5, the amplified current relative value comparison circuit 227 is a circuit configured by connecting the drain of MOSFET_M18 and the drain of MOSFET_M17, and is mirror-connected to the first current mirror circuits 31 and 41. The currents Iout2_2 and Iout1_2 flowing through the drains of MOSFET_M18 and M17, respectively, are compared and subtracted.

要するに、第1電流相対値比較回路2261及び前記第2電流相対値比較回路2262は、それぞれ一対の電圧電流変換回路21、22の変換電流を相対比較するときに、一対の電圧電流変換回路21、22の変換電流の電流ゲインα、βを互いに入れ替えて相対比較することで互いに異なる比較結果を出力している。 In short, when the first relative current value comparison circuit 2261 and the second relative current value comparison circuit 2262 respectively relatively compare the converted currents of the pair of voltage-current conversion circuits 21 and 22, the pair of voltage-current conversion circuits 21, 22, By interchanging the current gains α and β of the 22 converted currents and making a relative comparison, different comparison results are output.

図6に示した天絡端子判定部228は、入力ハイインピーダンスのコンパレータを備えており、電流Iout2_2及びIout1_2を相対的に減算した電流に応じた電圧VO4を「H」又は「L」として受付ける。天絡端子判定部228は、電圧VO4を入力することにより電流I out2_2及び電流IOUT1_2の高低を判定し、電流Iout2_2が電流IOUT1_2より高いときに「H」として受付け、電流Iout2_2が電流Iout1_2以下となるときに「L」として受付ける。 The short-to-power terminal determining unit 228 shown in FIG. 6 includes a high-impedance input comparator, and accepts the voltage VO4 corresponding to the current obtained by relatively subtracting the currents Iout2_2 and Iout1_2 as "H" or "L". The short-to-ground terminal determination unit 228 determines the level of the current I out2_2 and the current IOUT1_2 by inputting the voltage VO4, and when the current Iout2_2 is higher than the current IOUT1_2, it is accepted as "H", and the current Iout2_2 is equal to or less than the current Iout1_2. Sometimes accepted as "L".

第1電流相対値比較回路2261が、電流Iout1_1及びIout2_1を相対的に比較すると共に、第2電流相対値比較回路2262が電流Iout2_2及びIout1_2を相対的に比較することで、たとえ各端子PIN1、PIN2の電圧が、プロセス要因、電源電圧要因、温度要因の所謂PVTばらつきにより変動したとしても正確に判定できる。 The first relative current value comparison circuit 2261 relatively compares the currents Iout1_1 and Iout2_1, and the second relative current value comparison circuit 2262 relatively compares the currents Iout2_2 and Iout1_2. Even if the voltage varies due to so-called PVT variations due to process factors, power supply voltage factors, and temperature factors, accurate determination can be made.

< 電流ゲインα>βにおける天絡端子判定部228の判定動作説明 >
図7は、電流ゲインα>電流ゲインβの条件における天絡端子判定部228の判定基準を真理値表により示している。
<Description of determination operation of short-to-ground terminal determination unit 228 when current gain α>β>
FIG. 7 shows the determination criteria of the power short terminal determining section 228 under the condition of current gain α>current gain β using a truth table.

天絡端子判定部228は、一対の電流絶対値比較回路23、24の比較結果となる電圧VO1、VO2の何れも「L」であるときには、電圧電流変換回路21、22から電流絶対値比較回路23、24にそれぞれ流れ込む電流Iout1、Iout2が何れも基準電流IREFより少ないと判断できる。このため、天絡端子判定部228は、電圧VO1、VO2の何れも「L」であるときに、端子PIN1及びPIN2の何れも天絡していないと判定できる。このとき、電圧VO3、VO4はどのような電圧条件であっても良い。 When the voltages VO1 and VO2, which are the comparison results of the pair of current absolute value comparison circuits 23 and 24, are both "L", the power supply terminal determination unit 228 selects a current absolute value comparison circuit from the voltage current conversion circuits 21 and 22. It can be determined that both of the currents Iout1 and Iout2 flowing into 23 and 24 are smaller than the reference current IREF. Therefore, the short-to-power terminal determination unit 228 can determine that neither of the terminals PIN1 and PIN2 is short-circuited to power when both the voltages VO1 and VO2 are "L". At this time, voltages VO3 and VO4 may be under any voltage conditions.

また天絡端子判定部228は、電流絶対値比較回路23の比較結果となる電圧VO1が「L」であり、電流絶対値比較回路24の比較結果となる電圧VO2が「H」であるときには、電圧電流変換回路21から電流絶対値比較回路23に流れ込む電流Iout1が基準電流IREFより少なく、電圧電流変換回路22から電流絶対値比較回路24に流れ込む電流Iout2が基準電流IREFより多いと判断できる。 Furthermore, when the voltage VO1 that is the comparison result of the current absolute value comparison circuit 23 is “L” and the voltage VO2 that is the comparison result of the current absolute value comparison circuit 24 is “H”, the short-to-power terminal determination unit 228 determines that: It can be determined that the current Iout1 flowing from the voltage-current conversion circuit 21 to the current absolute value comparison circuit 23 is less than the reference current IREF, and the current Iout2 flowing from the voltage-current conversion circuit 22 to the current absolute value comparison circuit 24 is greater than the reference current IREF.

このため、天絡端子判定部228は、電圧VO1が「L」、電圧VO2が「H」であるときには、端子PIN2が天絡しており端子PIN1は天絡していないと判定する。なお、電圧VO1が「L」、電圧VO2が「H」である場合、第1電流相対値比較回路2261及び前記第2電流相対値比較回路2262が共に故障していなければ無条件で電圧VO3が「L」、電圧VO4が「H」となる。 Therefore, when the voltage VO1 is "L" and the voltage VO2 is "H", the short-to-power terminal determining unit 228 determines that the terminal PIN2 is short to power and the terminal PIN1 is not short to power. Note that when the voltage VO1 is "L" and the voltage VO2 is "H", if both the first relative current value comparison circuit 2261 and the second relative current value comparison circuit 2262 are not malfunctioning, the voltage VO3 is unconditionally "L" and voltage VO4 becomes "H".

また天絡端子判定部228は、電流絶対値比較回路23の比較結果となる電圧VO1が「H」であり、電流絶対値比較回路24の比較結果となる電圧VO2が「L」であるときには、電圧電流変換回路21から電流絶対値比較回路23に流れ込む電流Iout1が基準電流IREFより多く、電圧電流変換回路22から電流絶対値比較回路24に流れ込む電流Iout2が基準電流IREFより少ないと判断できる。 Furthermore, when the voltage VO1 that is the comparison result of the current absolute value comparison circuit 23 is "H" and the voltage VO2 that is the comparison result of the current absolute value comparison circuit 24 is "L", the short-to-power terminal determination unit 228 determines that: It can be determined that the current Iout1 flowing from the voltage-current conversion circuit 21 to the current absolute value comparison circuit 23 is greater than the reference current IREF, and the current Iout2 flowing from the voltage-current conversion circuit 22 to the current absolute value comparison circuit 24 is less than the reference current IREF.

このため、天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「L」であるときには、端子PIN1が天絡しており端子PIN2は天絡していないと判定する。なお、電圧VO1が「H」、電圧VO2が「L」である場合、第1電流相対値比較回路2261及び前記第2電流相対値比較回路2262が共に故障していなければ無条件で電圧VO3が「H」、電圧VO4が「L」となる。 Therefore, when the voltage VO1 is "H" and the voltage VO2 is "L", the short-to-power terminal determining unit 228 determines that the terminal PIN1 is short to power and the terminal PIN2 is not short to power. Note that when the voltage VO1 is "H" and the voltage VO2 is "L", if both the first relative current value comparison circuit 2261 and the second relative current value comparison circuit 2262 are not malfunctioning, the voltage VO3 is unconditionally "H" and voltage VO4 becomes "L".

また、端子PIN1、PIN2の電圧の絶対値が共に基準の電圧よりも高くなっていれば、電流絶対値比較回路23、24の比較結果となる電圧VO1、VO2が共に「H」となる場合もある。 Furthermore, if the absolute values of the voltages at the terminals PIN1 and PIN2 are both higher than the reference voltage, the voltages VO1 and VO2, which are the comparison results of the current absolute value comparison circuits 23 and 24, may both be "H". be.

このとき、端子PIN1が天絡していないが、端子PIN2が天絡している場合、電流Iout1_1<電流Iout2_1となると共に、電流Iout2_2>電流Iout1_2となるため、電圧VO3が「L」、VO4が「H」となる。 At this time, if terminal PIN1 is not shorted to power but terminal PIN2 is shorted to power, current Iout1_1<current Iout2_1 and current Iout2_2>current Iout1_2, so voltage VO3 is "L" and VO4 is It becomes "H".

このため天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「L」、電圧VO4が「H」であるときには、端子PIN2が天絡しており、端子PIN1は天絡していないと判定する。 Therefore, when the voltage VO1 is "H", the voltage VO2 is "H", the voltage VO3 is "L", and the voltage VO4 is "H", the short-to-power terminal determining unit 228 determines that the terminal PIN2 is short to power, It is determined that the terminal PIN1 is not shorted to power.

電流ゲインα>電流ゲインβの条件下で考慮する。端子PIN1が天絡しているが、端子PIN2が天絡していない場合、電流Iout1_1>電流Iout2_1となると共に、電流Iout2_2<電流Iout1_2となるように電流ゲインα及びβを設定することで、電圧VO3が「H」、VO4が「L」となる。このため、天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「H」、電圧VO4が「L」であるときには、端子PIN1が天絡しており端子PIN2は天絡していないと判定する。 Consider the condition of current gain α > current gain β. When the terminal PIN1 is shorted to power supply but the terminal PIN2 is not shorted to power supply, the voltage VO3 becomes "H" and VO4 becomes "L". Therefore, when the voltage VO1 is "H", the voltage VO2 is "H", the voltage VO3 is "H", and the voltage VO4 is "L", the short-to-power terminal determination unit 228 determines that the terminal PIN1 is short to power. It is determined that the terminal PIN2 is not shorted to power.

両端子PIN1及びPIN2が天絡した場合、電流Iout1_1>電流Iout2_1となると共に、電流Iout2_2>電流Iout1_2となるように電流ゲインα及びβを設定することで、電圧VO3、電圧VO4が「H」となる。このため、天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「H」、電圧VO4が「H」であるときには、端子PIN1及びPIN2が天絡していると判定する。 When both terminals PIN1 and PIN2 are shorted to power, by setting current gains α and β so that current Iout1_1>current Iout2_1 and current Iout2_2>current Iout1_2, voltage VO3 and voltage VO4 become "H". Become. Therefore, when the voltage VO1 is "H", the voltage VO2 is "H", the voltage VO3 is "H", and the voltage VO4 is "H", the short-to-power terminal determining unit 228 determines that the terminals PIN1 and PIN2 are short to power. It is determined that the

<電流ゲインα<βにおける天絡端子判定部228の判定動作説明>
また図8は、電流ゲインα<電流ゲインβの条件における天絡端子判定部228の判定基準を真理値表により示している。天絡端子判定部228は、電圧VO1、VO2の何れも「L」であるときには、前述した図7の説明と同様の理由から端子PIN1及びPIN2の何れも天絡していないと判定する。このとき、電圧VO3、VO4はどのような電圧条件であっても良い。
<Explanation of the judgment operation of the short-to-ground terminal judgment unit 228 when the current gain α<β>
Further, FIG. 8 shows the determination criteria of the shorted-to-ground terminal determining section 228 under the condition of current gain α<current gain β using a truth table. When both the voltages VO1 and VO2 are "L", the short-to-power terminal determination unit 228 determines that neither of the terminals PIN1 and PIN2 is short-circuited to power for the same reason as explained in FIG. 7 above. At this time, voltages VO3 and VO4 may be under any voltage conditions.

また天絡端子判定部228は、電流絶対値比較回路23の比較結果となる電圧VO1が「L」であり、電流絶対値比較回路24の比較結果となる電圧VO2が「H」であるときには、電圧電流変換回路21から電流絶対値比較回路23に流れ込む電流Iout1が基準電流IREFより少なく、電圧電流変換回路22から電流絶対値比較回路24に流れ込む電流Iout2が基準電流IREFより多いと判断できる。 Furthermore, when the voltage VO1 that is the comparison result of the current absolute value comparison circuit 23 is “L” and the voltage VO2 that is the comparison result of the current absolute value comparison circuit 24 is “H”, the short-to-power terminal determination unit 228 determines that: It can be determined that the current Iout1 flowing from the voltage-current conversion circuit 21 to the current absolute value comparison circuit 23 is less than the reference current IREF, and the current Iout2 flowing from the voltage-current conversion circuit 22 to the current absolute value comparison circuit 24 is greater than the reference current IREF.

天絡端子判定部228は、電圧VO1が「L」、電圧VO2が「H」であるときには、端子PIN2が天絡しており端子PIN1は天絡していないと判定する。なお、電圧VO1が「L」、電圧VO2が「H」である場合、第1電流相対値比較回路2261及び前記第2電流相対値比較回路2262が共に故障していなければ無条件で電圧VO3が「L」、電圧VO4が「H」となる。 When the voltage VO1 is "L" and the voltage VO2 is "H", the short-to-power terminal determining unit 228 determines that the terminal PIN2 is short to power and the terminal PIN1 is not short to power. Note that when the voltage VO1 is "L" and the voltage VO2 is "H", if both the first relative current value comparison circuit 2261 and the second relative current value comparison circuit 2262 are not malfunctioning, the voltage VO3 is unconditionally "L" and voltage VO4 becomes "H".

また天絡端子判定部228は、電流絶対値比較回路23の比較結果となる電圧VO1が「H」であり、電流絶対値比較回路24の比較結果となる電圧VO2が「L」であるときには、電圧電流変換回路21から電流絶対値比較回路23に流れ込む電流Iout1が基準電流IREFより多く、電圧電流変換回路22から電流絶対値比較回路24に流れ込む電流Iout2が基準電流IREFより少ないと判断できる。 Furthermore, when the voltage VO1 that is the comparison result of the current absolute value comparison circuit 23 is "H" and the voltage VO2 that is the comparison result of the current absolute value comparison circuit 24 is "L", the short-to-power terminal determination unit 228 determines that: It can be determined that the current Iout1 flowing from the voltage-current conversion circuit 21 to the current absolute value comparison circuit 23 is greater than the reference current IREF, and the current Iout2 flowing from the voltage-current conversion circuit 22 to the current absolute value comparison circuit 24 is less than the reference current IREF.

このため、天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「L」であるときには、端子PIN2が天絡しており端子PIN1は天絡していないと判定する。なお、電圧VO3が「H」、電圧VO4が「L」であれば、第1電流相対値比較回路2261及び前記第2電流相対値比較回路2262が共に故障していなければ無条件で電圧VO3が「H」、電圧VO4が「L」となる。 Therefore, when the voltage VO1 is "H" and the voltage VO2 is "L", the short-to-power terminal determining unit 228 determines that the terminal PIN2 is short to power and the terminal PIN1 is not short to power. Note that if the voltage VO3 is "H" and the voltage VO4 is "L", if both the first relative current value comparison circuit 2261 and the second relative current value comparison circuit 2262 are not malfunctioning, the voltage VO3 is unconditionally "H" and voltage VO4 becomes "L".

本実施形態において、一対の端子PIN1、PIN2の間にはA/Fセンサ2による負荷が接続されており、2つのバッファ15、16を用いて端子PIN1、PIN2を駆動している。A/Fセンサ2のインピーダンスを介して端子PIN1の電圧が上昇すれば、端子PIN2の電圧も上昇する。この場合、片方の端子PIN1が天絡すると、他方の端子PIN2は、A/Fセンサ2のインピーダンス及び抵抗17、18の値に応じて定まるゲインに依存して変化する電圧となる。このため、端子PIN1、PIN2の電圧の絶対値が共に基準の電圧よりも高くなることで、電流絶対値比較回路23、24の比較結果となる電圧VO1、VO2が共に「H」となる場合もある。 In this embodiment, a load by an A/F sensor 2 is connected between a pair of terminals PIN1 and PIN2, and two buffers 15 and 16 are used to drive the terminals PIN1 and PIN2. If the voltage at the terminal PIN1 increases via the impedance of the A/F sensor 2, the voltage at the terminal PIN2 also increases. In this case, when one terminal PIN1 shorts to power, the other terminal PIN2 becomes a voltage that changes depending on the gain determined according to the impedance of the A/F sensor 2 and the values of the resistors 17 and 18. Therefore, when the absolute values of the voltages at the terminals PIN1 and PIN2 both become higher than the reference voltage, the voltages VO1 and VO2, which are the comparison results of the current absolute value comparison circuits 23 and 24, may both become "H". be.

端子PIN1、PIN2が共に天絡している場合、電流ゲインα<電流ゲインβの条件下では、電流Iout1_1<電流Iout2_1となると共に、電流Iout2_2<電流Iout1_2となるため、電圧VO3が「L」、電圧VO4が「L」となる。 When terminals PIN1 and PIN2 are both shorted to power, under the condition of current gain α<current gain β, current Iout1_1<current Iout2_1 and current Iout2_2<current Iout1_2, so voltage VO3 becomes "L", Voltage VO4 becomes "L".

このため、天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「L」、電圧VO4が「L」であるときには、端子PIN1及びPIN2が共に天絡していると判定する。 Therefore, when the voltage VO1 is "H", the voltage VO2 is "H", the voltage VO3 is "L", and the voltage VO4 is "L", the short-to-power terminal determining unit 228 determines that both the terminals PIN1 and PIN2 are short-to-power. It is determined that the

電流ゲインα<電流ゲインβの条件下で考慮する。端子PIN1が天絡しているが、端子PIN2が天絡していない場合、電流Iout1_1>電流Iout2_1となると共に、電流Iout2_2<電流Iout1_2となるように電流ゲインα及びβを設定すると、電圧VO3が「H」、電圧VO4が「L」となる。このため、天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「H」、電圧VO4が「L」であるときには、端子PIN1が天絡しており端子PIN2は天絡していないと判定する。 Consider the condition of current gain α < current gain β. When terminal PIN1 is shorted to power supply but terminal PIN2 is not shorted to power supply, if current gains α and β are set so that current Iout1_1>current Iout2_1 and current Iout2_2<current Iout1_2, voltage VO3 increases. "H" and voltage VO4 becomes "L". Therefore, when the voltage VO1 is "H", the voltage VO2 is "H", the voltage VO3 is "H", and the voltage VO4 is "L", the short-to-power terminal determination unit 228 determines that the terminal PIN1 is short to power. It is determined that the terminal PIN2 is not shorted to power.

逆に、端子PIN1が天絡していないが、端子PIN2が天絡している場合、電流Iout1_1<電流Iout2_1となると共に、電流Iout2_2>電流Iout1_2となるように電流ゲインα及びβを設定すると、電圧VO3が「L」、電圧VO4が「H」となる。このため、天絡端子判定部228は、電圧VO1が「H」、電圧VO2が「H」、電圧VO3が「L」、電圧VO4が「H」であるときには、端子PIN2が天絡しており端子PIN1は天絡していないと判定する。 Conversely, if terminal PIN1 is not shorted to power but terminal PIN2 is shorted to power, if current gains α and β are set so that current Iout1_1<current Iout2_1 and current Iout2_2>current Iout1_2, Voltage VO3 becomes "L" and voltage VO4 becomes "H". Therefore, when the voltage VO1 is "H", the voltage VO2 is "H", the voltage VO3 is "L", and the voltage VO4 is "H", the short-to-power terminal determination unit 228 determines that the terminal PIN2 is short to power. It is determined that the terminal PIN1 is not shorted to power.

したがって、電流ゲインαと電流ゲインβとが互いに異なっていれば、天絡端子判定部228は、端子PIN1及びPIN2の何れか一方が天絡したか、又は、端子PIN1及びPIN2の双方が天絡したかを判定できる。また電流ゲインαと電流ゲインβとは、その絶対値が同一でないゲインに設定することが望ましい。 Therefore, if current gain α and current gain β are different from each other, short-to-power terminal determination unit 228 determines whether one of terminals PIN1 and PIN2 has shorted to power, or both terminals PIN1 and PIN2 have shorted to power. You can determine whether Further, it is desirable that the current gain α and the current gain β are set to values whose absolute values are not the same.

<本実施形態のまとめ>
本実施形態によれば、前述実施形態と同様の作用効果を奏する。また、両端子PIN1、PIN2が共に天絡したときには、電圧VO3、VO4の論理が共に「L」又は「H」で一致するように、互いに異なる電流ゲインα、βで電流を増幅している。このため、天絡端子判定部228は、端子PIN1及びPIN2の何れか一方が天絡したか、又は、端子PIN1及びPIN2の双方が天絡したかを判定できる。
<Summary of this embodiment>
According to this embodiment, the same effects as those of the embodiment described above are achieved. Further, when both terminals PIN1 and PIN2 are shorted to power, the currents are amplified with different current gains α and β so that the logics of voltages VO3 and VO4 are both “L” or “H” and match. Therefore, the short-to-power terminal determination unit 228 can determine whether one of the terminals PIN1 and PIN2 has shorted to power, or whether both terminals PIN1 and PIN2 have shorted to power.

以下、電流ゲインα、βの設定方法の一例を説明する。一方の端子(例えば、PIN1)が天絡した場合には、端子PIN1及びPIN2の間に接続されるA/Fセンサ2のインピーダンスと抵抗17、18による分圧により他方の端子(例えば、PIN2)の電圧の最大値が決まる。
このため、非天絡端子(例えば、PIN2)の電圧が最大となる条件下において、電圧VO3か電圧VO4の何れか一方が、両端子PIN1及びPIN2の天絡時の電圧VO3、VO4の条件と論理反転するように、電流ゲインα、βを設定することが望ましい。
An example of how to set the current gains α and β will be described below. If one terminal (for example, PIN1) is shorted to power, the other terminal (for example, PIN2) is The maximum value of the voltage is determined.
Therefore, under the condition where the voltage of the non-short-to-power terminal (for example, PIN2) is the maximum, either voltage VO3 or voltage VO4 will match the condition of voltages VO3 and VO4 when both terminals PIN1 and PIN2 are short-circuited to power. It is desirable to set the current gains α and β so that the logic is inverted.

端子PIN1及び端子PIN2の間には、A/Fセンサ2が接続されているが、A/Fセンサ2は、抵抗によるインピーダンス素子に模擬可能である。ここでは端子PIN1、PIN2の電圧を、それぞれ端子電圧VP1、VP2と定義する。 An A/F sensor 2 is connected between the terminal PIN1 and the terminal PIN2, and the A/F sensor 2 can be simulated as an impedance element using a resistance. Here, the voltages of the terminals PIN1 and PIN2 are defined as terminal voltages VP1 and VP2, respectively.

図9には、通常動作時、両端子天絡時、片端子天絡時における各端子PIN1、PIN2の端子電圧VP1、VP2の取り得る範囲を示している。範囲RA1は、通常動作範囲であり、端子電圧VP1、VP2は電源電圧VDD以下の電圧となる。線RA2は、両方の端子PIN1、PIN2が天絡している場合の各端子電圧VP1、VP2の取り得る値を示す。この場合、端子電圧VP1=端子電圧VP2=天絡電圧となる。 FIG. 9 shows possible ranges of the terminal voltages VP1 and VP2 of the terminals PIN1 and PIN2 during normal operation, when both terminals are shorted to power, and when one terminal is shorted to power. The range RA1 is a normal operating range, and the terminal voltages VP1 and VP2 are lower than the power supply voltage VDD. A line RA2 indicates possible values of the terminal voltages VP1 and VP2 when both terminals PIN1 and PIN2 are shorted to power. In this case, terminal voltage VP1=terminal voltage VP2=short-circuit voltage.

<端子PIN1の天絡>
範囲RA3は、端子PIN1のみ天絡し、A/Fセンサ2の抵抗が無限大、すなわちオープンとなる場合の端子PIN2の端子電圧VP2の取り得る範囲を示す。この場合、端子PIN1の天絡の影響が端子PIN2に与えられることがなく、端子電圧VP2は端子電圧VP1に依存することなく、端子電圧VP2は通常動作範囲と同等範囲となる。
<Terminal PIN1 short-circuit>
The range RA3 indicates the possible range of the terminal voltage VP2 of the terminal PIN2 when only the terminal PIN1 is shorted to power and the resistance of the A/F sensor 2 is infinite, that is, it is open. In this case, the influence of the short-to-power supply of the terminal PIN1 is not applied to the terminal PIN2, and the terminal voltage VP2 does not depend on the terminal voltage VP1, and the terminal voltage VP2 is in a range equivalent to the normal operating range.

範囲RA4は、端子PIN1のみ天絡し、A/Fセンサ2の抵抗が有限値となる場合の端子PIN2の端子電圧VP2の取り得る範囲を示している。A/Fセンサ2の抵抗の値が低下するほど、天絡した端子PIN1の端子電圧VP1の影響を受けて端子電圧VP2は上昇する。線RA5は、端子PIN1のみ天絡し、A/Fセンサ2の抵抗が想定される値の中で最小値となる場合の端子電圧VP2の取り得る境界線を示している。 The range RA4 indicates the possible range of the terminal voltage VP2 of the terminal PIN2 when only the terminal PIN1 is shorted to power and the resistance of the A/F sensor 2 is a finite value. As the resistance value of the A/F sensor 2 decreases, the terminal voltage VP2 increases under the influence of the terminal voltage VP1 of the terminal PIN1 which is shorted to power. A line RA5 indicates a possible boundary line of the terminal voltage VP2 when only the terminal PIN1 is shorted to power and the resistance of the A/F sensor 2 is the minimum value among the assumed values.

<端子PIN2の天絡>
範囲RA6は、端子PIN2のみ天絡し、A/Fセンサ2の抵抗が無限大、すなわちオープンとなる場合の端子PIN1の端子電圧VP1の取り得る範囲を示す。この場合、端子PIN2の天絡の影響が端子PIN1に与えられることがなく、端子電圧VP1は端子電圧VP2に依存することなく、端子電圧VP1は通常動作範囲と同等範囲となる。
<Terminal PIN2 short to power>
The range RA6 indicates the possible range of the terminal voltage VP1 of the terminal PIN1 when only the terminal PIN2 is shorted to power and the resistance of the A/F sensor 2 is infinite, that is, it is open. In this case, the influence of the short-to-power supply of the terminal PIN2 is not exerted on the terminal PIN1, and the terminal voltage VP1 does not depend on the terminal voltage VP2, and the terminal voltage VP1 is in a range equivalent to the normal operating range.

範囲RA7は、端子PIN2のみ天絡し、A/Fセンサ2の抵抗が有限値となる場合の端子電圧VP1の取り得る範囲を示している。A/Fセンサ2の抵抗の値が低下するほど、天絡した端子PIN1の端子電圧VP2の影響を受けて端子電圧VP1は上昇する。線RA8は、端子PIN2のみ天絡し、A/Fセンサ2の抵抗が想定される値の中で最小値となる場合の端子電圧VP1の取り得る境界線を示している。 The range RA7 indicates the possible range of the terminal voltage VP1 when only the terminal PIN2 is shorted to power and the resistance of the A/F sensor 2 is a finite value. As the resistance value of the A/F sensor 2 decreases, the terminal voltage VP1 increases under the influence of the terminal voltage VP2 of the terminal PIN1 which is shorted to power. A line RA8 indicates a possible boundary line of the terminal voltage VP1 when only the terminal PIN2 is shorted to power and the resistance of the A/F sensor 2 is the minimum value among the assumed values.

範囲RA9は、端子PIN1のみ天絡した場合と、両端子PIN1及びPIN2の天絡した場合と、を判定するための端子電圧VP1及びVP2の関係性の設定範囲を示す。
また範囲RA10は、端子PIN2のみ天絡した場合と、両端子PIN1及びPIN2が天絡した場合と、を判定するための端子電圧VP1及びVP2の関係性の設定範囲を示す。
Range RA9 indicates a setting range of the relationship between terminal voltages VP1 and VP2 for determining whether only terminal PIN1 is shorted to power or both terminals PIN1 and PIN2 are shorted to power.
Further, range RA10 indicates a setting range of the relationship between terminal voltages VP1 and VP2 for determining whether only terminal PIN2 is shorted to power or both terminals PIN1 and PIN2 are shorted to power.

すなわち、電流ゲインα:βを設定して過電圧検出部12の中の各素子のパラメータを設計する際には、下記のように設計することが望ましい。
電流ゲインα、βの条件がα>β、且つ、端子PIN1のみが天絡する状態を想定した場合、A/Fセンサ2の抵抗の値をその変動可能範囲で変化させたときに、端子電圧VP1及びVP2の関係性が範囲RA9の内側において、電流Iout1_2と電流Iout2_2が等しくなるように電流ゲインα及びβを設定する。つまり、電圧VO4の閾値が範囲RA9の内側になるように設定すると良い。電流ゲインα、βの条件がα<β、且つ、端子PIN1のみが天絡する状態を想定した場合は、同様に、電圧VO3の閾値が範囲RA9の内側になるように設定すると良い。
That is, when setting the current gain α:β and designing the parameters of each element in the overvoltage detection section 12, it is desirable to design as follows.
Assuming that the conditions of current gains α and β are α>β and that only terminal PIN1 is shorted to power, when the value of the resistance of A/F sensor 2 is changed within its variable range, the terminal voltage The current gains α and β are set so that the current Iout1_2 and the current Iout2_2 are equal when the relationship between VP1 and VP2 is within the range RA9. In other words, it is preferable to set the threshold value of the voltage VO4 to be inside the range RA9. If it is assumed that the conditions of the current gains α and β are α<β and only the terminal PIN1 is shorted to power, the threshold value of the voltage VO3 may be similarly set to be inside the range RA9.

また同様に、電流ゲインα、βの条件がα>β、且つ、端子PIN2のみが天絡する状態を想定した場合、A/Fセンサ2の抵抗の値をその変動可能範囲で変化させたときに、端子電圧VP1及びVP2の関係性が範囲RA10の内側において、電流Iout1_1と電流Iout2_1が等しくなるように電流ゲインα及びβを設定する。つまり、電圧VO3の閾値が範囲RA10の内側になるように設定すると良い。電流ゲインα、βの条件がα<β、且つ、端子PIN2のみが天絡する状態を想定した場合は、同様に、電圧VO4の閾値が範囲RA10の内側になるように設定すると良い。
これにより、端子PIN1のみ、端子PIN2のみが天絡した場合にも、この天絡状態を判別できる。
Similarly, assuming that the conditions of current gains α and β are α>β and that only terminal PIN2 is shorted to power, when the value of the resistance of A/F sensor 2 is changed within its variable range. In addition, the current gains α and β are set so that the current Iout1_1 and the current Iout2_1 are equal when the relationship between the terminal voltages VP1 and VP2 is within the range RA10. In other words, it is preferable to set the threshold value of the voltage VO3 to be inside the range RA10. If it is assumed that the conditions of the current gains α and β are α<β and only the terminal PIN2 is shorted to power, the threshold value of the voltage VO4 may be similarly set to be inside the range RA10.
Thereby, even if only the terminal PIN1 or only the terminal PIN2 is shorted to power, the short-to-power state can be determined.

(第3実施形態)
図10及び図11は、第3実施形態の説明図を示す。本実施形態では、様々な適用例を説明する。前述実施形態で説明した過電圧検出部12は、図10に例示した電流検出アンプ51の集積回路装置52に適用しても良い。このとき、過電圧検出部12を集積回路装置52の入力端子PIN4、PIN5に接続すると良い。
(Third embodiment)
10 and 11 show explanatory diagrams of the third embodiment. In this embodiment, various application examples will be described. The overvoltage detection section 12 described in the above embodiment may be applied to the integrated circuit device 52 of the current detection amplifier 51 illustrated in FIG. At this time, it is preferable to connect the overvoltage detection section 12 to the input terminals PIN4 and PIN5 of the integrated circuit device 52.

この図10に例示した回路は、電源電圧VDDが印加される負荷302a、302bの間に所定のインピーダンスの電流検出抵抗317を接続して構成される。電流検出アンプ51は、電流検出抵抗317に流れる電流を、一対の端子PIN4、PIN5を通じて検出する。 The circuit illustrated in FIG. 10 is configured by connecting a current detection resistor 317 with a predetermined impedance between loads 302a and 302b to which power supply voltage VDD is applied. The current detection amplifier 51 detects the current flowing through the current detection resistor 317 through a pair of terminals PIN4 and PIN5.

電流検出アンプ51の両入力端子PIN4、PIN5の間には、電流検出抵抗317が接続されている。このため、一方の端子PIN4の電圧が変動すれば、他方の端子PIN5の電圧も一方の端子PIN4の電圧変動に依存して変動する。前述実施形態のように、過電圧検出部12が、これらの端子PIN4、PIN5の電圧を検出することで、前述実施形態と同様に、両端子PIN4、PIN5が天絡していないか、一方の端子(例えばPIN4)が天絡しているか、又は、両端子PIN4及びPIN5が天絡しているか判定できる。 A current detection resistor 317 is connected between both input terminals PIN4 and PIN5 of the current detection amplifier 51. Therefore, if the voltage at one terminal PIN4 fluctuates, the voltage at the other terminal PIN5 also fluctuates depending on the voltage fluctuation at one terminal PIN4. As in the above-mentioned embodiment, the overvoltage detection unit 12 detects the voltage of these terminals PIN4 and PIN5 to check whether both terminals PIN4 and PIN5 are shorted to power or whether one terminal is It can be determined whether the terminal (for example, PIN4) is shorted to power, or whether both terminals PIN4 and PIN5 are shorted to power.

また、前述実施形態で説明した過電圧検出部12は、図11に例示したように、シリーズレギュレータ61、62を組み込んだ集積回路装置63にも適用しても良い。このとき、過電圧検出部12を集積回路装置63の出力端子PIN6、PIN7に接続すると良い。図11に例示した集積回路装置63には、直流電源Vinを入力して安定化電源を生成し、当該安定化電源電圧を端子PIN6、PIN7からそれぞれコンデンサ64、65に出力するシリーズレギュレータ61、62が構成されている。 Further, the overvoltage detection section 12 described in the above embodiment may also be applied to an integrated circuit device 63 incorporating series regulators 61 and 62, as illustrated in FIG. At this time, it is preferable to connect the overvoltage detection section 12 to the output terminals PIN6 and PIN7 of the integrated circuit device 63. The integrated circuit device 63 illustrated in FIG. 11 has series regulators 61 and 62 that input a DC power supply Vin to generate a stabilized power supply, and output the stabilized power supply voltage from terminals PIN6 and PIN7 to capacitors 64 and 65, respectively. is configured.

直流電源Vinの入力側に構成されたシリーズレギュレータ61は、オペアンプOP1と出力パストランジスタM41と抵抗R41及びR42とを図示形態に組み合わせて構成され、直流電圧を端子PIN6を通じて出力する。出力パストランジスタM41は、pチャネル型のMOSFETにより構成され、ドレイン-ソース間にボディダイオードが寄生素子として存在する。 The series regulator 61 configured on the input side of the DC power supply Vin is configured by combining an operational amplifier OP1, an output pass transistor M41, and resistors R41 and R42 in the illustrated form, and outputs a DC voltage through a terminal PIN6. The output pass transistor M41 is composed of a p-channel MOSFET, and has a body diode as a parasitic element between the drain and the source.

また出力側に構成されたシリーズレギュレータ62は、オペアンプOP2と出力パストランジスタM42と抵抗R43及びR44とを図示形態に組み合わせて構成され、シリーズレギュレータ61の出力電圧を入力して直流電圧を生成し端子PIN7を通じて出力する。出力パストランジスタM42は、pチャネル型のMOSFETにより構成され、ドレイン-ソース間にボディダイオードが寄生素子として存在する。 Further, the series regulator 62 configured on the output side is configured by combining an operational amplifier OP2, an output pass transistor M42, and resistors R43 and R44 in the illustrated form, and inputs the output voltage of the series regulator 61 to generate a DC voltage. Output through PIN7. The output pass transistor M42 is composed of a p-channel MOSFET, and has a body diode as a parasitic element between the drain and the source.

このとき、一方の端子PIN7の電圧が何らかの影響で上昇すると、出力パストランジスタM42のドレインと基板との間のpn接合を介してボディダイオードの順方向に電流が流れるため、他方の端子PIN6の電圧もまた上昇する。このため、端子PIN7の電圧が変化することで端子PIN6の電圧も端子PIN7の電圧変化に応じて変化する。 At this time, if the voltage at one terminal PIN7 increases for some reason, a current flows in the forward direction of the body diode through the pn junction between the drain of the output pass transistor M42 and the substrate, so the voltage at the other terminal PIN6 increases. will also rise. Therefore, when the voltage at the terminal PIN7 changes, the voltage at the terminal PIN6 also changes in accordance with the change in the voltage at the terminal PIN7.

前述実施形態において説明したように、過電圧検出部12が両端子PIN6及びPIN7の電圧を検出することで、前述実施形態と同様に、両端子PIN6、PIN7が天絡していないか、一方の端子(例えば、PIN6)が天絡しているか、又は、両端子PIN6及びPIN7が共に天絡しているか判定できる。
したがって、例えば端子PIN6が天絡したとき、天絡端子PIN6の電圧が変動したときに非天絡端子PIN7の電圧が過電圧に至るまで変動した場合であっても、前述同様に一方の端子(例えば、PIN6)が天絡しているか、又は、両端子PIN6及びPIN7が共に天絡しているか判定できる。
As explained in the above embodiment, the overvoltage detection section 12 detects the voltage of both terminals PIN6 and PIN7, and as in the above embodiment, whether both terminals PIN6 and PIN7 are shorted to power or whether one terminal It can be determined whether the terminal (for example, PIN6) is shorted to power, or whether both terminals PIN6 and PIN7 are shorted to power.
Therefore, for example, when the terminal PIN6 is shorted to power supply, even if the voltage of the power supply terminal PIN6 fluctuates and the voltage of the non-power supply terminal PIN7 fluctuates to the point of overvoltage, one terminal (for example, , PIN6) are shorted to power, or both terminals PIN6 and PIN7 are shorted to power.

(第4実施形態)
図12は、第4実施形態の説明図を示す。前述実施形態で説明したように、過電圧検出部12は、一対の端子PIN1、PIN2のうちの一方又は双方が天絡しているか否かを判定するように構成されている。図12に例示したように、過電圧検出部412a~412cの構成を2つ以上組み合わせることで、3つ以上の端子PIN1、PIN2、PIN3の何れが天絡しているか判定することもできる。図12に例示した構成において、過電圧検出部412a~412cは、過電圧検出部12と同様の構成である。
(Fourth embodiment)
FIG. 12 shows an explanatory diagram of the fourth embodiment. As described in the above embodiment, the overvoltage detection unit 12 is configured to determine whether one or both of the pair of terminals PIN1 and PIN2 is shorted to power. As illustrated in FIG. 12, by combining two or more configurations of the overvoltage detection units 412a to 412c, it is also possible to determine which of the three or more terminals PIN1, PIN2, and PIN3 is shorted to power. In the configuration illustrated in FIG. 12, overvoltage detection units 412a to 412c have the same configuration as overvoltage detection unit 12.

図12に例示した構成では、過電圧検出部412aが、端子PIN1、PIN2の何れか又は双方が天絡しているか否かを判定し、過電圧検出部412bが、端子PIN2、PIN3の何れか又は双方が天絡しているか否かを判定し、過電圧検出部412cが、端子PIN1、PIN3の何れか又は双方が天絡しているか否かを判定する。これにより、端子PIN1~PIN3の何れの端子が天絡しているか、信頼性良く判定できる。 In the configuration illustrated in FIG. 12, the overvoltage detection section 412a determines whether one or both of the terminals PIN1 and PIN2 is shorted to power, and the overvoltage detection section 412b determines whether one or both of the terminals PIN2 and PIN3 is shorted to power. The overvoltage detection unit 412c determines whether either or both terminals PIN1 and PIN3 are shorted to power. Thereby, it is possible to determine with high reliability which one of the terminals PIN1 to PIN3 is shorted to power.

すなわち、3端子以上の端子PIN1~PIN3を備えた装置に対しても、当該複数の端子PIN1~PIN3の少なくとも一つ以上の端子が天絡しているか否かを信頼性良く判定できる。 That is, even for a device having three or more terminals PIN1 to PIN3, it can be determined with high reliability whether at least one or more of the plurality of terminals PIN1 to PIN3 is shorted to power.

(他の実施形態)
前述実施形態に限定されるものではなく、例えば、以下に示す変形又は拡張が可能である。
端子PIN1、PIN2等に接続される回路は、A/Fセンサ2などのセンサ素子に関係する回路に限ることはない。特に、リーク電流の発生を極力抑制することを目的として、過電圧検出を行う用途の回路に好適である。
(Other embodiments)
The present invention is not limited to the above-mentioned embodiment, and for example, the following modifications or expansions are possible.
The circuits connected to the terminals PIN1, PIN2, etc. are not limited to circuits related to sensor elements such as the A/F sensor 2. In particular, it is suitable for a circuit used to detect overvoltage in order to suppress the occurrence of leakage current as much as possible.

天絡した端子(例えば、PIN1)の電圧が一定でもその他の端子、すなわち非天絡端子、の電圧が過電圧に至るまで変動する場合にも過電圧検出部12を設けることで同様に適用でき、過電圧を生じている端子(例えば、PIN1のみ、又は、PIN1及びPIN2)を判定できる。 Even if the voltage of a terminal (for example, PIN1) that is shorted to power is constant, but the voltage of other terminals, that is, non-shorted to power terminals, fluctuates to the point of overvoltage, the provision of the overvoltage detection section 12 can be similarly applied, and the overvoltage can be detected. It is possible to determine which terminal is causing the error (for example, only PIN1 or PIN1 and PIN2).

前述実施形態では、トランジスタとしてMOSFETを用いた形態を説明したが、MOSFETに代えてバイポーラトランジスタを用いて過電圧検出部12を構成しても良い。過電圧検出部12は、必ずしもICとして構成する必要はない。
第1実施形態では、電流増幅回路25a、25bを設けた形態を示したが、必要に応じて電流増幅回路25a、25bを省いても良い。
In the above-described embodiment, a configuration using a MOSFET as a transistor has been described, but the overvoltage detection section 12 may be configured using a bipolar transistor instead of a MOSFET. The overvoltage detection section 12 does not necessarily need to be configured as an IC.
In the first embodiment, the current amplification circuits 25a and 25b are provided, but the current amplification circuits 25a and 25b may be omitted if necessary.

前述した複数の実施形態を組み合わせて構成しても良い。また、特許請求の範囲に記載した括弧内の符号は、本発明の一つの態様として前述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。前述実施形態の一部を、課題を解決できる限りにおいて省略した態様も実施形態と見做すことが可能である。また、特許請求の範囲に記載した文言によって特定される発明の本質を逸脱しない限度において、考え得るあらゆる態様も実施形態と見做すことが可能である。 The configuration may be configured by combining the plurality of embodiments described above. Further, the reference numerals in parentheses described in the claims indicate correspondence with the specific means described in the embodiment described above as one aspect of the present invention, and do not indicate the technical scope of the present invention. It is not limited. A mode in which a part of the above embodiment is omitted as long as the problem can be solved can also be regarded as an embodiment. In addition, all possible aspects can be regarded as embodiments as long as they do not depart from the essence of the invention as specified by the words set forth in the claims.

本発明は、前述した実施形態に準拠して記述したが、本発明は当該実施形態や構造に限定されるものではないと理解される。本発明は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本発明の範畴や思想範囲に入るものである。 Although the present invention has been described based on the embodiments described above, it is understood that the present invention is not limited to the embodiments or structures. The present invention also includes various modifications and equivalent modifications. In addition, various combinations and configurations, as well as other combinations and configurations that include one, more, or fewer elements, fall within the scope and spirit of the present invention.

図面中、12は過電圧検出部(過電圧判定回路)、21、22は電圧電流変換回路、23、24は電流絶対値比較回路、26、2261、2262は電流相対値比較回路、28、228は天絡端子判定部、を示す。 In the drawing, 12 is an overvoltage detection section (overvoltage judgment circuit), 21 and 22 are voltage-current conversion circuits, 23 and 24 are current absolute value comparison circuits, 26, 2261, and 2262 are current relative value comparison circuits, and 28 and 228 are current comparison circuits. A fault terminal determination section is shown.

Claims (6)

複数の端子の少なくとも一つ以上の端子が天絡したとき、天絡した端子(以下、天絡端子と称す)の電圧が変動しその他の非天絡端子の電圧が過電圧に至る、又は、当該天絡端子の電圧が一定でもその他の非天絡端子の電圧が過電圧に至る、まで変動する場合に前記天絡端子を判定するための過電圧判定回路であって、
前記複数の端子のうち2つの端子の電圧をそれぞれ電流変換する一対の電圧電流変換回路(21:22)と、
前記一対の電圧電流変換回路の変換電流をそれぞれ基準電流と絶対比較する一対の電流絶対値比較回路(23:24)と、
前記一対の電圧電流変換回路の変換電流を相対比較する電流相対値比較回路(26;2261、2262)と、
前記一対の電流絶対値比較回路の比較結果及び前記電流相対値比較回路の比較結果に基づいて前記2つの端子のうち何れの端子が前記天絡端子であるかを判定する天絡端子判定部(28;228)と、
を備える過電圧判定回路。
When at least one of multiple terminals is shorted to power, the voltage of the terminal that has shorted to power (hereinafter referred to as the power shorted terminal) fluctuates and the voltage of other non-power-faulted terminals reaches overvoltage, or An overvoltage determination circuit for determining the power supply terminal when the voltage at the power supply terminal is constant but the voltage at other non-power supply terminals fluctuates to reach an overvoltage, the circuit comprising:
a pair of voltage-current conversion circuits (21:22) that converts the voltages of two terminals among the plurality of terminals into currents, respectively;
a pair of current absolute value comparison circuits (23:24) that absolutely compare the converted currents of the pair of voltage-current conversion circuits with a reference current, respectively;
a current relative value comparison circuit (26; 2261, 2262) that relatively compares the converted currents of the pair of voltage-current conversion circuits;
a ground fault terminal determination unit ( 28; 228) and
An overvoltage determination circuit equipped with.
前記一対の電圧電流変換回路(21:22)は、それぞれ、
第1ミラートランジスタ対(M1、M3:M7、M9)による第1カレントミラー回路(31:41)と、前記第1カレントミラー回路の第1ミラートランジスタ対に直列接続されグランド側にソース端子又はエミッタ端子を接続した第2ミラートランジスタ対(M2、M4:M8、M10)による第2カレントミラー回路(32:42)と、を備え、前記第1カレントミラー回路の第1ミラートランジスタ対の一方の第1トランジスタ(M1:M7)のソース端子又はエミッタ端子にはそれぞれ抵抗(R1:R2)を通じて前記2つの端子(PIN1:PIN2)のそれぞれに接続され、前記第1ミラートランジスタ対の他方の第2トランジスタのソース端子又はエミッタ端子に印加される電圧を所定電圧(VDD)とし、
前記一対の電流絶対値比較回路(23:24)は、それぞれ、
前記基準電流を生成する電流源(33:43)と、前記電流源に直列接続されると共に前記第1カレントミラー回路にミラー接続される第3トランジスタ(M5:M11)と、を備え、前記第3トランジスタ(M5:M11)に流れる電流を前記基準電流と絶対比較するように構成され、
前記電流相対値比較回路(26)は、
前記一対の電圧電流変換回路の前記第1カレントミラー回路(31:41)にミラー接続された第4トランジスタ(M6:M14)に流れる電流を減算比較する請求項1記載の過電圧判定回路。
The pair of voltage-current conversion circuits (21:22) each include:
A first current mirror circuit (31:41) consisting of a first mirror transistor pair (M1, M3: M7, M9) and a source terminal or emitter connected in series to the first mirror transistor pair of the first current mirror circuit and connected to the ground side. a second current mirror circuit (32:42) including a second mirror transistor pair (M2, M4: M8, M10) whose terminals are connected ; The source terminal or emitter terminal of one transistor (M1:M7) is connected to each of the two terminals (PIN1:PIN2) through a resistor (R1:R2), and the other second transistor of the first mirror transistor pair The voltage applied to the source terminal or emitter terminal of is a predetermined voltage (VDD),
The pair of current absolute value comparison circuits (23:24) each have
A current source (33:43) that generates the reference current; a third transistor (M5:M11) connected in series to the current source and mirror-connected to the first current mirror circuit ; configured to absolutely compare the current flowing through the three transistors (M5:M11) with the reference current,
The current relative value comparison circuit (26)
The overvoltage determination circuit according to claim 1, wherein currents flowing through fourth transistors (M6:M14) mirror-connected to the first current mirror circuit (31:41) of the pair of voltage-current conversion circuits are subtracted and compared.
前記複数の端子のうちの前記2つの端子として、センサ素子(2)の両側に接続された一方の端子(PIN1)及び他方の端子(PIN2)を適用した場合、
前記電流相対値比較回路として、第1電流相対値比較回路(2261)及び第2電流相対値比較回路(2262)を備え、
前記第1電流相対値比較回路及び前記第2電流相対値比較回路がそれぞれ前記一対の電圧電流変換回路の変換電流を相対比較するときに、前記一対の電圧電流変換回路の変換電流のゲインを互いに入れ替えて相対比較することで互いに異なる比較結果を出力し、
前記天絡端子判定部は、前記一対の電流絶対値比較回路の比較結果、前記第1電流相対値比較回路の比較結果、及び前記第2電流相対値比較回路の比較結果に基づいて、前記一方の端子及び前記他方の端子のうち何れか一方が天絡したか、又は、当該一方の端子及び前記他方の端子の双方が天絡したかを判定する請求項1記載の過電圧判定回路。
When one terminal (PIN1) and the other terminal (PIN2) connected to both sides of the sensor element (2) are applied as the two terminals among the plurality of terminals,
The current relative value comparison circuit includes a first relative current value comparison circuit (2261) and a second relative current value comparison circuit (2262),
When the first relative current value comparison circuit and the second relative current value comparison circuit respectively relatively compare the converted currents of the pair of voltage-current conversion circuits, the gains of the converted currents of the pair of voltage-current conversion circuits are mutually compared. By swapping and performing relative comparisons, different comparison results are output,
The short-to-ground terminal determination section determines whether the one of the current absolute value comparison circuits is the one based on the comparison results of the pair of current absolute value comparison circuits, the comparison result of the first current relative value comparison circuit, and the comparison result of the second current relative value comparison circuit. 2. The overvoltage determination circuit according to claim 1, which determines whether one of the terminal and the other terminal has shorted to power, or whether both the one terminal and the other terminal have shorted to power.
前記一対の電圧電流変換回路は、それぞれ、
第1ミラートランジスタ対(M1、M3:M7、M9)による第1カレントミラー回路(31:41)と、前記第1カレントミラー回路の第1ミラートランジスタ対に直列接続されグランド側にソース端子又はエミッタ端子を接続した第2ミラートランジスタ対による第2カレントミラー回路(32:42)と、を備え、前記第1カレントミラー回路の第1ミラートランジスタ対の一方の第1トランジスタ(M1:M7)のソース端子又はエミッタ端子には抵抗(R1:R2)を通じて前記一方の端子及び前記他方の端子(PIN1:PIN2)がそれぞれ接続され、前記第1ミラートランジスタ対の他方の第2トランジスタのソース端子又はエミッタ端子に印加される電圧を所定電圧(VDD)とし、
前記一対の電流絶対値比較回路(23:24)は、それぞれ、
前記基準電流を生成する電流源(33:43)と、前記電流源に直列接続されると共に前記第1カレントミラー回路にミラー接続される第3トランジスタ(M5:M11)と、を備え、前記第3トランジスタ(M5:M11)に流れる電流を前記基準電流と絶対比較するように構成され、
前記第1電流相対値比較回路(2261)は、
前記一対の電流絶対値比較回路のうち一方の前記第1カレントミラー回路(31)にミラー接続される第5トランジスタ(25a)の電流ゲインを第1ゲインとすると共に、前記一対の電流絶対値比較回路のうち他方の前記第1カレントミラー回路(41)にミラー接続される第6トランジスタ(25b)の電流ゲインを前記第1ゲインとは異なる任意の第2ゲインとして互いの電流を減算することで相対比較し、
前記第2電流相対値比較回路は、
前記一対の電流絶対値比較回路のうち一方の前記第1カレントミラー回路(31)にミラー接続される第7トランジスタ(225a)の電流ゲインを前記第2ゲインとすると共に、前記一対の電流絶対値比較回路のうち他方の前記第1カレントミラー回路(41)にミラー接続される第8トランジスタ(225b)の電流ゲインを前記第1ゲインとして互いの電流を減算することで相対比較する請求項3記載の過電圧判定回路。
The pair of voltage-current conversion circuits each include:
A first current mirror circuit (31:41) consisting of a first mirror transistor pair (M1, M3: M7, M9) and a source terminal or emitter connected in series to the first mirror transistor pair of the first current mirror circuit and connected to the ground side. a second current mirror circuit (32:42) including a second pair of mirror transistors whose terminals are connected; a source of one first transistor (M1:M7) of the first pair of mirror transistors of the first current mirror circuit; The one terminal and the other terminal (PIN1: PIN2) are respectively connected to the terminal or emitter terminal through a resistor (R1:R2), and the source terminal or emitter terminal of the other second transistor of the first mirror transistor pair is connected to the terminal or emitter terminal. The voltage applied to is a predetermined voltage (VDD),
The pair of current absolute value comparison circuits (23:24) each have
A current source (33:43) that generates the reference current; a third transistor (M5:M11) connected in series to the current source and mirror-connected to the first current mirror circuit ; configured to absolutely compare the current flowing through the three transistors (M5:M11) with the reference current,
The first current relative value comparison circuit (2261)
The current gain of the fifth transistor (25a) mirror-connected to one of the first current mirror circuits (31) of the pair of current absolute value comparison circuits is set as the first gain, and the pair of current absolute value comparison circuits are compared. By setting the current gain of the sixth transistor (25b) mirror-connected to the other first current mirror circuit (41) in the circuit as an arbitrary second gain different from the first gain, and subtracting the currents from each other. relative comparison,
The second current relative value comparison circuit includes:
The current gain of the seventh transistor (225a) mirror-connected to one of the first current mirror circuits (31) of the pair of current absolute value comparison circuits is set as the second gain, and the current gain of the pair of current absolute values is set as the second gain. 4. A relative comparison is made by subtracting each other's currents by using the current gain of an eighth transistor (225b) mirror-connected to the other first current mirror circuit (41) as the first gain in the comparison circuit. overvoltage judgment circuit.
前記第1ゲインと前記第2ゲインとは絶対値が同一でないゲインに設定されている請求項4記載の過電圧判定回路。 5. The overvoltage determination circuit according to claim 4, wherein the first gain and the second gain are set to have different absolute values. 前記2つの端子を、被検出ガスのガス濃度を検出するガス濃度センサを接続する端子に適用し、
前記天絡端子判定部(28;228)は、前記一対の電流絶対値比較回路の比較結果及び前記電流相対値比較回路の比較結果に基づいて前記ガス濃度センサが接続される前記2つの端子のうち何れの端子が前記天絡端子であるかを判定する請求項1から5の何れか一項に記載の過電圧判定回路。
Applying the two terminals to a terminal connecting a gas concentration sensor that detects the gas concentration of the detected gas ,
The short-to-power terminal determination section (28; 228) determines whether the two terminals to which the gas concentration sensor is connected are based on the comparison results of the pair of absolute current value comparison circuits and the comparison results of the current relative value comparison circuit. The overvoltage determination circuit according to any one of claims 1 to 5 , which determines which terminal is the short-to-power terminal .
JP2020075395A 2020-04-21 2020-04-21 Overvoltage judgment circuit Active JP7363657B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020075395A JP7363657B2 (en) 2020-04-21 2020-04-21 Overvoltage judgment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020075395A JP7363657B2 (en) 2020-04-21 2020-04-21 Overvoltage judgment circuit

Publications (2)

Publication Number Publication Date
JP2021173554A JP2021173554A (en) 2021-11-01
JP7363657B2 true JP7363657B2 (en) 2023-10-18

Family

ID=78281519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020075395A Active JP7363657B2 (en) 2020-04-21 2020-04-21 Overvoltage judgment circuit

Country Status (1)

Country Link
JP (1) JP7363657B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023073802A1 (en) * 2021-10-26 2023-05-04 三菱電機株式会社 Semiconductor integrated circuit device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005331310A (en) 2004-05-19 2005-12-02 Denso Corp Gas concentration detector
JP2010256233A (en) 2009-04-27 2010-11-11 Denso Corp Sensor controller and sensor unit
JP2013108819A (en) 2011-11-21 2013-06-06 Denso Corp Detection circuit
WO2020013044A1 (en) 2018-07-13 2020-01-16 日立オートモティブシステムズ株式会社 Sensor control device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4830676B2 (en) * 2006-07-06 2011-12-07 トヨタ自動車株式会社 Failure diagnosis device for exhaust gas sensor
JP2017005609A (en) * 2015-06-15 2017-01-05 株式会社デンソー Overvoltage detection circuit
JP6552296B2 (en) * 2015-06-24 2019-07-31 株式会社デンソーテン Abnormality detection circuit and abnormality detection method
JP6612583B2 (en) * 2015-10-22 2019-11-27 新日本無線株式会社 Open / Circuit detection circuit
JP6819238B2 (en) * 2016-11-21 2021-01-27 株式会社デンソー Wiring abnormality detection device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005331310A (en) 2004-05-19 2005-12-02 Denso Corp Gas concentration detector
JP2010256233A (en) 2009-04-27 2010-11-11 Denso Corp Sensor controller and sensor unit
JP2013108819A (en) 2011-11-21 2013-06-06 Denso Corp Detection circuit
WO2020013044A1 (en) 2018-07-13 2020-01-16 日立オートモティブシステムズ株式会社 Sensor control device

Also Published As

Publication number Publication date
JP2021173554A (en) 2021-11-01

Similar Documents

Publication Publication Date Title
KR100957062B1 (en) Constant voltage circuit
KR19980018101A (en) Internal power circuit
CN110928348B (en) Voltage regulator and test method of voltage regulator
KR102234238B1 (en) Apparatus and method for load current control circuit for source follower voltage regulator
US20080191673A1 (en) Series regulator circuit
US7834680B2 (en) Internal voltage generation circuit for generating stable internal voltages withstanding varying external conditions
US6940290B2 (en) Sensor output processing device having self-diagnosis function
JP7363657B2 (en) Overvoltage judgment circuit
US7208925B2 (en) Voltage regulator controller power good indicator circuitry
US8618839B2 (en) Utilizing a sense amplifier to select a suitable circuit
US7250883B2 (en) A/D converter
US8237505B2 (en) Signal amplification circuit
US7928711B2 (en) Linear voltage regulator with accurate open load detection
JP5022377B2 (en) Measurement circuit and test equipment
US10094857B2 (en) Current detection circuit
JP4255632B2 (en) Electrical load disconnection detector
US20190235006A1 (en) Wiring line abnormality detecting device
CN111026226A (en) Voltage regulator
US20220069831A1 (en) Flash analog to digital converter and calibration method
US10578664B2 (en) Drive circuit for insulated-gate semiconductor element
US10393607B2 (en) Semiconductor sensing device
US7332958B2 (en) Analog-differential-circuit test device
US7164320B2 (en) Current threshold circuit
JP3385849B2 (en) Comparator with hysteresis adjustment function and current detection circuit
JP5397065B2 (en) Operational amplifier evaluation circuit and evaluation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230425

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230614

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230918

R151 Written notification of patent or utility model registration

Ref document number: 7363657

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151