JP2011191192A - Semiconductor device and testing device of the same - Google Patents

Semiconductor device and testing device of the same Download PDF

Info

Publication number
JP2011191192A
JP2011191192A JP2010057893A JP2010057893A JP2011191192A JP 2011191192 A JP2011191192 A JP 2011191192A JP 2010057893 A JP2010057893 A JP 2010057893A JP 2010057893 A JP2010057893 A JP 2010057893A JP 2011191192 A JP2011191192 A JP 2011191192A
Authority
JP
Japan
Prior art keywords
transistor
sub
current
signal
test
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.)
Pending
Application number
JP2010057893A
Other languages
Japanese (ja)
Inventor
Daiki Yagishima
大輝 柳島
Shinji Fusanobori
真司 房登
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2010057893A priority Critical patent/JP2011191192A/en
Publication of JP2011191192A publication Critical patent/JP2011191192A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To decide whether an over current protection value of a main current is within a normal range without a special test facility. <P>SOLUTION: The semiconductor device 1 includes a main transistor 11 for making the main current I11 flow, a sub-transistor 21 for making the sub-current I21 flow, a control circuit 60 generating a drive signal IN_H common to both the transistors 11 and 21, an overcurrent protection circuit 70 comparing the sub-current I21 with a sub-current threshold and generating an overcurrent protection signal Socp to output it to the controlling circuit 60, and a drive circuit (circuit block group expressed by 41a, 41b, 50, 81 and 91) deciding whether on/off-operations should be applied to both the transistors 11 and 21 according to the drive signal IN_H, or after setting the transistor 11 to be turned off independently of the drive signal IN_H, whether on/off-operations are sould be applied to only the transistor 21 based on a switching signal TEST. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、過電流保護回路を備えた半導体装置及びその試験装置に関するものである。   The present invention relates to a semiconductor device provided with an overcurrent protection circuit and a test apparatus therefor.

図9は、過電流保護回路を備えた半導体装置の一従来例を示す回路ブロック図である。本従来例の半導体装置100において、過電流保護回路70は、メイントランジスタ11及び12とゲートが各々共通化されたサブトランジスタ21及び22に各々流れる微小なサブ電流I21及びI22をセンス抵抗31及び32を用いて検出することにより、メイントランジスタ11及び12に各々流れる大きなメイン電流I11及びI12(ただし、I11=α×I21、I12=β×I22、α及びβはミラー比(例えば1,000))を間接的に検出する構成とされていた。   FIG. 9 is a circuit block diagram showing a conventional example of a semiconductor device provided with an overcurrent protection circuit. In the semiconductor device 100 of the conventional example, the overcurrent protection circuit 70 uses the sub-currents I21 and I22 flowing through the sub-transistors 21 and 22 whose gates are shared with the main transistors 11 and 12, respectively, to sense resistors 31 and 32. Are used to detect large main currents I11 and I12 flowing in the main transistors 11 and 12, respectively (where I11 = α × I21, I12 = β × I22, α and β are mirror ratios (eg, 1,000)). It was set as the structure which detects indirectly.

つまり、過電流保護回路70は、上側サブ電流I21が上側サブ電流用閾値Ith1’を上回ったときに、上側メイン電流I11も上側メイン電流用閾値Ith1(=α×Ith1’)を上回ったと判断し、過電流保護信号Socpを正常時の論理レベルから異常時の論理レベルに変遷させる構成とされていた。また、過電流保護回路70は、下側サブ電流I22が下側サブ電流用閾値Ith2’を上回ったときに、下側メイン電流I12も下側メイン電流用閾値Ith2(=β×Ith2’)を上回ったと判断し、過電流保護信号Socpを正常時の論理レベルから異常時の論理レベルに変遷させる構成とされていた。   That is, the overcurrent protection circuit 70 determines that the upper main current I11 also exceeds the upper main current threshold Ith1 (= α × Ith1 ′) when the upper subcurrent I21 exceeds the upper subcurrent threshold Ith1 ′. The overcurrent protection signal Socp is changed from the normal logic level to the abnormal logic level. The overcurrent protection circuit 70 also sets the lower main current I12 to the lower main current threshold Ith2 (= β × Ith2 ′) when the lower subcurrent I22 exceeds the lower subcurrent threshold Ith2 ′. Therefore, the overcurrent protection signal Socp is changed from the normal logic level to the abnormal logic level.

このような半導体装置100の出荷時テストについては、(1)サブ電流用閾値Ith1’及びIth2’を測定するか、(2)メイン電流用閾値Ith1及びIth2を測定するか、或いは、(3)出荷時テストを行わない、という選択肢があった。   Regarding the shipping test of such a semiconductor device 100, (1) the sub current thresholds Ith1 ′ and Ith2 ′ are measured, (2) the main current thresholds Ith1 and Ith2 are measured, or (3) There was an option to not test at shipping.

なお、選択肢(1)を選んだ場合には、図9に示した通り、センス抵抗31及び32の各一端(サブトランジスタ21及び22との接続端)に接続されたテスト用パッドTP1及びTP2(EDS[Electrical Die Sorting]パッド)を用意しておく必要がある。そして、上側サブ電流用閾値Ith1’を測定する際には、メイントランジスタ11及び12、並びに、サブトランジスタ21及び22をいずれもオフとした状態で、外部端子T1からテスト用パッドTP1に向けた任意のテスト電流Itestを流し込み、過電流保護動作が発動したときのテスト電流Itestの電流値を上側サブ電流用閾値Ith1’として測定すればよい。また、下側サブ電流用閾値Ith2’を測定する際には、先述と同様、メイントランジスタ11及び12、並びに、サブトランジスタ21及び22をいずれもオフとした状態で、テスト用パッドTP2から外部端子T3に向けた任意のテスト電流Itestを流し込み、過電流保護動作が発動したときのテスト電流Itestの電流値を下側サブ電流用閾値Ith2’として測定すればよい。   If option (1) is selected, as shown in FIG. 9, test pads TP1 and TP2 (connected to one end of each of the sense resistors 31 and 32 (connection ends to the sub-transistors 21 and 22) ( It is necessary to prepare an EDS [Electrical Die Sorting] pad). When measuring the upper sub-current threshold Ith1 ′, the main transistors 11 and 12 and the sub-transistors 21 and 22 are both turned off, and the arbitrary value from the external terminal T1 toward the test pad TP1. And the current value of the test current Itest when the overcurrent protection operation is activated may be measured as the upper subcurrent threshold Ith1 ′. Further, when the lower sub-current threshold Ith2 ′ is measured, the test transistor TP2 is connected to the external terminal with the main transistors 11 and 12 and the sub-transistors 21 and 22 turned off, as described above. An arbitrary test current Itest directed to T3 may be supplied, and the current value of the test current Itest when the overcurrent protection operation is activated may be measured as the lower subcurrent threshold Ith2 ′.

一方、選択肢(2)を選んだ場合には、先述のテスト用パッドTP1及びTP2が不要となる。そして、上側メイン電流用閾値Ith1を測定する際には、メイントランジスタ11とサブトランジスタ21をいずれもオンとし、メイントランジスタ12とサブトランジスタ22をいずれもオフとした状態で、外部端子T1から外部端子T2に向けた任意のテスト電流Itestを流し込み、過電流保護動作が発動したときのテスト電流Itestの電流値を上側メイン電流用閾値Ith1として測定すればよい。また、下側メイン電流用閾値Ith2を測定する際には、メイントランジスタ11とサブトランジスタ21をいずれもオフとし、メイントランジスタ12とサブトランジスタ22をいずれもオンとした状態で、外部端子T2から外部端子T3に向けた任意のテスト電流Itestを流し込み、過電流保護動作が発動したときのテスト電流Itestの電流値を下側メイン電流用閾値Ith2として測定すればよい。   On the other hand, when the option (2) is selected, the above-described test pads TP1 and TP2 are not necessary. When measuring the upper main current threshold Ith1, the main transistor 11 and the sub-transistor 21 are both turned on, and the main transistor 12 and the sub-transistor 22 are both turned off. An arbitrary test current Itest directed to T2 may be supplied, and the current value of the test current Itest when the overcurrent protection operation is activated may be measured as the upper main current threshold value Ith1. When measuring the lower main current threshold Ith2, the main transistor 11 and the sub-transistor 21 are both turned off, and the main transistor 12 and the sub-transistor 22 are both turned on. An arbitrary test current Itest directed to the terminal T3 may be supplied, and the current value of the test current Itest when the overcurrent protection operation is activated may be measured as the lower main current threshold Ith2.

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

特開2006−287399号公報JP 2006-287399 A

しかしながら、上記従来例の半導体装置100では、その出荷時テストについて、先の選択肢(1)〜(3)いずれを選んだ場合にも各々課題があった。   However, the conventional semiconductor device 100 has a problem when any of the previous options (1) to (3) is selected for the shipping test.

選択肢(1)を選んだ場合には、出力毎に先述のテスト用パッドTP1及びTP2が必要となるため、チップ面積の増大を招き、延いては、チップコストの上昇につながっていた。また、テスト用パッドTP1及びTP2は、リードフレームにワイヤボンディングされない隠しパッドであるため、半導体装置100のパッケージング後には、サブ電流用閾値Ith1’及びIth2’の測定ができなくなっていた。また、サブ電流用閾値Ith1’及びIth2’を測定しても、メイン電流用閾値Ith1及びIth2を直接測定したわけではないため、メイントランジスタ11及び12とサブトランジスタ21及び22とのミラー比α及びβが製品毎にばらついていた場合には、メイン電流用閾値Ith1及びIth2を保証することができなかった。   When the option (1) is selected, the test pads TP1 and TP2 described above are required for each output, leading to an increase in the chip area, leading to an increase in chip cost. Further, since the test pads TP1 and TP2 are hidden pads that are not wire-bonded to the lead frame, the sub-current thresholds Ith1 'and Ith2' cannot be measured after the semiconductor device 100 is packaged. Further, even if the sub-current thresholds Ith1 ′ and Ith2 ′ are measured, the main-current thresholds Ith1 and Ith2 are not directly measured. Therefore, the mirror ratio α between the main transistors 11 and 12 and the sub-transistors 21 and 22 and When β varies from product to product, the main current thresholds Ith1 and Ith2 cannot be guaranteed.

また、選択肢(2)を選んだ場合には、メイン電流用閾値Ith1及びIth2を直接測定することが可能である反面、意図的な過電流保護動作を発動させるために、非常に大きなテスト電流Itestを流さなければならないので、大電流の測定にも耐え得るテスト設備が必要となり、延いては、出荷時テストのコストアップが招かれていた。   When the option (2) is selected, the main current thresholds Ith1 and Ith2 can be directly measured. However, in order to activate the intentional overcurrent protection operation, a very large test current Itest is used. Therefore, a test facility that can withstand the measurement of a large current is required, which in turn increases the cost of testing at the time of shipment.

また、選択肢(3)を選んだ場合には、半導体装置100の出荷時テストを実施していないので、製品のコストダウンには貢献し得るものの、品質の低下(初期不良率の増大)は免れ得なかった。   In addition, when option (3) is selected, the semiconductor device 100 is not tested at the time of shipment, so it can contribute to the cost reduction of the product, but the deterioration in quality (increase in the initial defect rate) is avoided. I didn't get it.

本発明は、上記の問題点に鑑み、特殊なテスト設備を要することなく、メイントランジスタに流れるメイン電流の過電流保護値が正常範囲に収まっているか否かを判定することが可能な半導体装置及びその試験装置を提供することを目的とする。   In view of the above problems, the present invention provides a semiconductor device capable of determining whether an overcurrent protection value of a main current flowing through a main transistor is within a normal range without requiring a special test facility, and An object is to provide the test apparatus.

上記目的を達成するために、本発明に係る半導体装置は、第1外部端子と;第2外部端子と;前記第1外部端子と前記第2外部端子との間に接続され、メイン電流を流すためのメイントランジスタと;前記第1外部端子と前記第2外部端子との間に接続され、前記メイン電流と同様の挙動を示すサブ電流を流すためのサブトランジスタと;前記メイントランジスタと前記サブトランジスタの双方に共通の駆動信号を生成する制御回路と;前記サブ電流と所定のサブ電流用閾値とを比較して過電流保護信号を生成し、これを前記制御回路に出力する過電流保護回路と;前記メイントランジスタと前記サブトランジスタの双方を前記駆動信号に応じてオン/オフさせるか、前記メイントランジスタを前記駆動信号に依らずオフとし、前記サブトランジスタのみを前記駆動信号に応じてオン/オフさせるかを、所定の切替信号に基づいて決定する駆動回路と;を有する構成(第1の構成)とされている。   In order to achieve the above object, a semiconductor device according to the present invention is connected between a first external terminal; a second external terminal; the first external terminal and the second external terminal, and allows a main current to flow. A main transistor for connecting; a sub-transistor connected between the first external terminal and the second external terminal for flowing a sub-current exhibiting the same behavior as the main current; the main transistor and the sub-transistor A control circuit that generates a drive signal common to both of them; an overcurrent protection circuit that compares the subcurrent with a predetermined threshold for subcurrent to generate an overcurrent protection signal and outputs the signal to the control circuit; Both the main transistor and the sub transistor are turned on / off according to the drive signal, or the main transistor is turned off regardless of the drive signal, and the sub transistor It has a configuration having a (first configuration); or registers only turns on / off according to the drive signal, a drive circuit for determining based on a predetermined switching signal.

なお、上記第1の構成から成る半導体装置において、前記駆動回路は、前記切替信号に基づいて、前記駆動信号と、前記メイントランジスタをオフとする論理信号の一方を出力するセレクタと;前記セレクタの出力に応じて前記メイントランジスタを駆動するメインドライバと;前記駆動信号に応じて前記サブトランジスタを駆動するサブドライバと;を有する構成(第2の構成)にするとよい。   In the semiconductor device having the first structure, the drive circuit outputs, based on the switching signal, one of the drive signal and a logic signal for turning off the main transistor; A configuration (second configuration) including: a main driver that drives the main transistor according to an output; and a sub-driver that drives the sub-transistor according to the drive signal.

また、上記第2の構成から成る半導体装置において、前記駆動回路は、前記駆動信号の電圧レベルを前記メインドライバ及び前記サブドライバへの入力に適した電圧レベルに変換するレベルシフタを有する構成(第3の構成)にするとよい。   In the semiconductor device having the second configuration, the drive circuit includes a level shifter that converts the voltage level of the drive signal into a voltage level suitable for input to the main driver and the sub driver (third (Configuration).

また、上記第2または第3の構成から成る半導体装置において、前記駆動回路は、前記サブドライバに入力される前記駆動信号に対して、前記セレクタで生じる信号遅延と同等の信号遅延を与える遅延回路を有する構成(第4の構成)にするとよい。   In the semiconductor device having the second or third configuration, the drive circuit gives a signal delay equivalent to a signal delay generated by the selector to the drive signal input to the sub-driver. (4th configuration).

また、上記第2〜第4いずれかの構成から成る半導体装置において、前記メインドライバは、その入力信号が前記メイントランジスタをオンとする論理レベルとなったときには遅滞なく前記メイントランジスタをオンさせる一方、その入力信号が前記メイントランジスタをオフとする論理レベルとなったときには、その時点から所定時間の経過後に前記メイントランジスタをオフさせ、前記サブドライバは、その入力信号が前記サブトランジスタをオンとする論理レベルとなったときには、その時点から所定時間の経過後に前記サブトランジスタをオンさせる一方、その入力信号が前記サブトランジスタをオフとする論理レベルとなったときには遅滞なく前記サブトランジスタをオフさせる構成(第5の構成)にするとよい。   In the semiconductor device having any one of the second to fourth configurations, the main driver turns on the main transistor without delay when the input signal becomes a logic level for turning on the main transistor. When the input signal becomes a logic level for turning off the main transistor, the main transistor is turned off after a lapse of a predetermined time from that point, and the sub-driver is configured to turn on the sub transistor. When the level is reached, the sub-transistor is turned on after a lapse of a predetermined time from that point, while the sub-transistor is turned off without delay when the input signal becomes a logic level that turns off the sub-transistor 5 configuration).

また、上記第1〜第5いずれかの構成から成る半導体装置において、前記制御回路から前記メイントランジスタに至る信号経路と、前記制御回路から前記サブトランジスタに至る信号経路は、互いに対称性を持って敷設されている構成(第6の構成)にするとよい。   In the semiconductor device having any one of the first to fifth configurations, a signal path from the control circuit to the main transistor and a signal path from the control circuit to the sub-transistor are symmetrical to each other. It is good to use the structure (6th structure) currently laid.

また、上記第1〜第6いずれかの構成から成る半導体装置において、前記駆動回路は、前記メイントランジスタと前記サブトランジスタの双方を前記駆動信号に応じてオン/オフさせる際に、前記メイントランジスタをオンさせてから前記サブトランジスタをオンさせ、また、前記サブトランジスタをオフさせてから前記メイントランジスタをオフさせる構成(第7の構成)にするとよい。   In the semiconductor device having any one of the first to sixth configurations, the drive circuit turns on the main transistor when turning on / off both the main transistor and the sub-transistor according to the drive signal. It is preferable that the sub-transistor is turned on after being turned on, and the main transistor is turned off after the sub-transistor is turned off (seventh configuration).

また、上記第1〜第7いずれかの構成から成る半導体装置において、前記切替信号は、前記制御回路から出力される構成(第8の構成)にするとよい。   In the semiconductor device having any one of the first to seventh configurations, the switching signal may be output from the control circuit (eighth configuration).

また、上記第8の構成から成る半導体装置において、前記制御回路は、前記半導体装置の外部から入力されるテスト命令に基づいて、前記メイントランジスタと前記サブトランジスタの双方を前記駆動信号に応じてオンさせる第1ステップと;前記メイントランジスタを前記駆動信号に依らずオフとし、前記サブトランジスタのみを前記駆動信号に応じてオンさせる第2ステップと;を順不同で実行するように、前記駆動信号及び前記切替信号を生成する構成(第9の構成)にするとよい。   In the semiconductor device having the eighth configuration, the control circuit turns on both the main transistor and the sub-transistor according to the drive signal based on a test command input from the outside of the semiconductor device. And the second step of turning off only the sub-transistor in response to the drive signal, and the second step of turning on only the sub-transistor in response to the drive signal. A configuration for generating a switching signal (a ninth configuration) is preferable.

また、本発明に係る試験装置は、上記第1〜第9いずれかの構成から成る半導体装置に対して前記テスト命令を出力し、前記過電流保護回路の閾値が正常範囲に収まっているか否かを判定する構成(第10の構成)とされている。   Further, the test apparatus according to the present invention outputs the test command to the semiconductor device having any one of the first to ninth configurations, and whether or not the threshold value of the overcurrent protection circuit is within a normal range. It is set as the structure (10th structure) which determines this.

なお、上記第10の構成から成る試験装置は、前記第1外部端子と前記第2外部端子との間に任意のテスト電流を流し込む電流源と;前記第1外部端子と前記第2外部端子との間の電位差を測定する電圧計と;前記テスト命令の生成、前記電流源の駆動制御、前記電圧計の測定値取得、及び、前記過電流保護回路の閾値算出を行うテストシーケンサと;を有する構成(第11の構成)にするとよい。   The test apparatus having the tenth configuration includes a current source for supplying an arbitrary test current between the first external terminal and the second external terminal; the first external terminal and the second external terminal; A test sequencer for generating the test command, driving control of the current source, obtaining a measurement value of the voltmeter, and calculating a threshold value of the overcurrent protection circuit. A configuration (eleventh configuration) is preferable.

また、上記第11の構成から成る試験装置において、前記テストシーケンサは、前記制御回路で前記第1ステップを実行させている間には、前記テスト電流を任意の電流値に設定した状態で前記電圧計の測定値を取得することにより、前記メイン電流が流れるメイン電流経路の抵抗値を算出し;前記制御回路で前記第2ステップを実行させている間には、前記テスト電流を任意の電流値に設定した状態で前記電圧計の測定値を取得することにより、前記サブ電流が流れるサブ電流経路の抵抗値を算出する一方、前記テスト電流を徐々に高めていき、過電流保護動作が発動したときの前記テスト電流の電流値を前記サブ電流用閾値として取得し;最終的には、前記メイン電流経路の抵抗値、前記サブ電流経路の抵抗値、及び、前記サブ電流用閾値に基づいて、前記メイン電流用閾値を算出し、これが正常範囲に収まっているか否かを判定する構成(第12の構成)にするとよい。   In the test apparatus having the eleventh configuration, the test sequencer sets the test current to an arbitrary current value while the control circuit is executing the first step. A resistance value of a main current path through which the main current flows is calculated by obtaining a measurement value of the meter; while the second step is executed by the control circuit, the test current is set to an arbitrary current value. The resistance value of the sub current path through which the sub current flows is calculated by acquiring the measured value of the voltmeter in the state set to, while the test current is gradually increased, and the overcurrent protection operation is activated. Current value of the test current at the time is obtained as the threshold value for the sub current; finally, the resistance value of the main current path, the resistance value of the sub current path, and the threshold value for the sub current Based on, or when the calculated main current threshold, which is to determine configure whether falls within the normal range (12 configuration).

本発明に係る半導体装置及びその試験装置であれば、特殊なテスト設備を要することなく、メイントランジスタに流れるメイン電流の過電流保護値が正常範囲に収まっているか否かを判定することが可能となる。   With the semiconductor device and its test device according to the present invention, it is possible to determine whether or not the overcurrent protection value of the main current flowing through the main transistor is within the normal range without requiring special test equipment. Become.

本発明に係る半導体装置の一構成例を示す図The figure which shows the example of 1 structure of the semiconductor device which concerns on this invention 上側テスト時の外部接続例を示す図Diagram showing an example of external connection during upper test 下側テスト時の外部接続例を示す図Diagram showing an example of external connection during the lower test 上側テスト動作を説明するためのタイミングチャートTiming chart for explaining the upper test operation 下側テスト動作を説明するためのタイミングチャートTiming chart for explaining the lower test operation 素子レイアウトの一例を示す模式図Schematic diagram showing an example of element layout ドライバの一構成例を示す回路図Circuit diagram showing one configuration example of driver ドライバの出力動作を示すタイミングチャートTiming chart showing driver output operation 半導体装置1の第1使用例(同期整流型降圧DC/DCコントローラとしての使用例)を示す図The figure which shows the 1st usage example (use example as a synchronous rectification type | mold step-down DC / DC controller) of the semiconductor device 1. 半導体装置1の第2使用例(非同期整流型降圧DC/DCコントローラとしての使用例)を示す図The figure which shows the 2nd usage example (use example as an asynchronous rectification type | mold step-down DC / DC controller) of the semiconductor device 1. 半導体装置1の第3使用例(非同期整流型昇圧DC/DCコントローラとしての使用例)を示す図The figure which shows the 3rd usage example (use example as an asynchronous rectification type | mold boost DC / DC controller) of the semiconductor device 1. 半導体装置1の第4使用例(モータドライバとしての使用例)を示す図The figure which shows the 4th usage example (use example as a motor driver) of the semiconductor device 1. 過電流保護回路を備えた半導体装置の一従来例を示す図The figure which shows one prior art example of the semiconductor device provided with the overcurrent protection circuit

図1は、本発明に係る半導体装置の一構成例を示す図である。図1に示されているように、本構成例の半導体装置1は、トランジスタ11及び12と、トランジスタ21及び22と、センス抵抗31及び32と、ドライバ41a及び42aと、ドライバ41b及び42bと、レベルシフタ50と、制御回路60と、過電流保護回路70と、セレクタ81及び82と、遅延回路91及び92と、を有する。   FIG. 1 is a diagram showing a configuration example of a semiconductor device according to the present invention. As shown in FIG. 1, the semiconductor device 1 of this configuration example includes transistors 11 and 12, transistors 21 and 22, sense resistors 31 and 32, drivers 41a and 42a, drivers 41b and 42b, A level shifter 50, a control circuit 60, an overcurrent protection circuit 70, selectors 81 and 82, and delay circuits 91 and 92 are included.

また、半導体装置1は、外部との電気的接続を確立するための手段として、外部端子T1〜T5を有しており、その出荷テスト時などには試験装置2が接続され(図2A及び図2Bを参照、詳細については後述)、また、その使用時には用途に応じて適切なディスクリート部品が接続される(図8A〜図8Dを参照、詳細については後述)。   Further, the semiconductor device 1 has external terminals T1 to T5 as means for establishing an electrical connection with the outside, and the test device 2 is connected at the time of the shipping test (FIG. 2A and FIG. 2). 2B, details will be described later), and appropriate discrete components are connected depending on the application during use (see FIGS. 8A to 8D, details will be described later).

トランジスタ11は、外部端子T1と外部端子T2との間に接続されたPチャネル型MOSFET[Metal Oxide Semiconductor Field Effect Transistor]であり、上側メイン電流I11を流すための上側メイントランジスタとして機能する。トランジスタ11のソースは、外部端子T1に接続されている。トランジスタ11のドレインは、外部端子T2に接続されている。トランジスタ11のゲートは、ゲート信号G11の印加端(ドライバ41aの出力端)に接続されている。   The transistor 11 is a P-channel MOSFET (Metal Oxide Semiconductor Field Effect Transistor) connected between the external terminal T1 and the external terminal T2, and functions as an upper main transistor for flowing the upper main current I11. The source of the transistor 11 is connected to the external terminal T1. The drain of the transistor 11 is connected to the external terminal T2. The gate of the transistor 11 is connected to the application terminal of the gate signal G11 (the output terminal of the driver 41a).

トランジスタ12は、外部端子T2と外部端子T3との間に接続されたNチャネル型MOSFETであり、下側メイン電流I12を流すための下側メイントランジスタとして機能する。トランジスタ12のソースは、外部端子T3に接続されている。トランジスタ12のドレインは、外部端子T2に接続されている。トランジスタ12のゲートは、ゲート信号G12の印加端(ドライバ42aの出力端)に接続されている。   The transistor 12 is an N-channel MOSFET connected between the external terminal T2 and the external terminal T3, and functions as a lower main transistor for flowing the lower main current I12. The source of the transistor 12 is connected to the external terminal T3. The drain of the transistor 12 is connected to the external terminal T2. The gate of the transistor 12 is connected to the application terminal of the gate signal G12 (the output terminal of the driver 42a).

このように、トランジスタ11及び12は、いわゆるトーテムポール型の出力段を形成する一対のスイッチ素子であって、半導体装置1の通常動作時には、トランジスタ11及び12が相補的(排他的)にオン/オフ制御される。   Thus, the transistors 11 and 12 are a pair of switch elements forming a so-called totem pole type output stage. During normal operation of the semiconductor device 1, the transistors 11 and 12 are complementarily (exclusively) turned on / off. Controlled off.

なお、本明細書中で用いている「相補的(排他的)に」という表現は、トランジスタ11及び12のオン/オフが完全に逆転している場合のほか、貫通電流防止の観点からトランジスタ11及び12のオン/オフ遷移タイミングに所定の遅延を与えている場合をも含むものとする。   Note that the expression “complementary (exclusively)” used in this specification is not only when the transistors 11 and 12 are turned on / off completely, but also from the viewpoint of preventing through current. And a case where a predetermined delay is given to the on / off transition timing of 12.

トランジスタ21は、外部端子T1と外部端子T2との間に接続されたPチャネル型MOSFETであり、上側メイン電流I11と同様の挙動を示す上側サブ電流I21を流すための上側サブトランジスタとして機能する。トランジスタ21のソースは、センス抵抗31を介して外部端子T1に接続されている。トランジスタ21のドレインは、外部端子T2に接続されている。トランジスタ21のゲートは、ゲート信号G21の印加端(ドライバ41bの出力端)に接続されている。   The transistor 21 is a P-channel MOSFET connected between the external terminal T1 and the external terminal T2, and functions as an upper sub-transistor for flowing an upper sub-current I21 that exhibits the same behavior as the upper main current I11. The source of the transistor 21 is connected to the external terminal T1 through the sense resistor 31. The drain of the transistor 21 is connected to the external terminal T2. The gate of the transistor 21 is connected to the application terminal of the gate signal G21 (the output terminal of the driver 41b).

トランジスタ22は、外部端子T2と外部端子T3との間に接続されたNチャネル型MOSFETであり、下側メイン電流I12と同様の挙動を示す下側サブ電流I22を流すための下側サブトランジスタとして機能する。トランジスタ22のソースは、センス抵抗32を介して外部端子T3に接続されている。トランジスタ22のドレインは、外部端子T2に接続されている。トランジスタ22のゲートは、ゲート信号G22の印加端(ドライバ42bの出力端)に接続されている。   The transistor 22 is an N-channel MOSFET connected between the external terminal T2 and the external terminal T3, and serves as a lower sub-transistor for flowing a lower sub-current I22 that exhibits the same behavior as the lower main current I12. Function. The source of the transistor 22 is connected to the external terminal T3 through the sense resistor 32. The drain of the transistor 22 is connected to the external terminal T2. The gate of the transistor 22 is connected to the application terminal of the gate signal G22 (the output terminal of the driver 42b).

なお、上側サブ電流I21に対する上側メイン電流I11のミラー比α(すなわちI11=α×I21)、並びに、下側サブ電流I22に対する下側メイン電流I12のミラー比β(すなわちI12=β×I22)は、それぞれ、1,000程度に設定すればよい。そのためには、例えば、トランジスタ21及び22のゲート面積をトランジスタ11及び12のゲート面積の1000分の1程度に設計すればよい。   The mirror ratio α of the upper main current I11 with respect to the upper subcurrent I21 (ie, I11 = α × I21) and the mirror ratio β of the lower main current I12 with respect to the lower subcurrent I22 (ie, I12 = β × I22) are Each may be set to about 1,000. For this purpose, for example, the gate areas of the transistors 21 and 22 may be designed to be about 1/1000 of the gate areas of the transistors 11 and 12.

センス抵抗31及び32は、それぞれ、上側サブ電流I21及び下側サブ電流I22を電圧信号に変換して過電流保護回路70に出力する。   The sense resistors 31 and 32 convert the upper subcurrent I21 and the lower subcurrent I22 into voltage signals and output the voltage signals to the overcurrent protection circuit 70, respectively.

ドライバ41aは、セレクタ81の出力に応じてトランジスタ11を駆動するためのゲート信号G11を生成する上側メインドライバとして機能する。   The driver 41a functions as an upper main driver that generates a gate signal G11 for driving the transistor 11 in accordance with the output of the selector 81.

ドライバ42aは、セレクタ82の出力に応じてトランジスタ12を駆動するためのゲート信号G12を生成する下側メインドライバとして機能する。   The driver 42a functions as a lower main driver that generates a gate signal G12 for driving the transistor 12 in accordance with the output of the selector 82.

ドライバ41bは、遅延回路91の出力に応じてトランジスタ21を駆動するためのゲート信号G21を生成する上側サブドライバとして機能する。   The driver 41b functions as an upper sub-driver that generates a gate signal G21 for driving the transistor 21 in accordance with the output of the delay circuit 91.

ドライバ42bは、遅延回路92の出力に応じてトランジスタ22を駆動するためのゲート信号G22を生成する下側サブドライバとして機能する。   The driver 42b functions as a lower sub-driver that generates a gate signal G22 for driving the transistor 22 in accordance with the output of the delay circuit 92.

レベルシフタ50は、制御回路80から出力される上側駆動信号IN_H、下側駆動信号IN_L、及び、切替信号TESTの各電圧レベルをセレクタ81及び82(延いてはドライバ41a及び42a)、並びに、遅延回路91及び92(延いてはドライバ41b及び42b)への入力に適した電圧レベルに変換する。   The level shifter 50 selects the voltage levels of the upper drive signal IN_H, the lower drive signal IN_L, and the switching signal TEST output from the control circuit 80 by selectors 81 and 82 (and thus drivers 41a and 42a), and a delay circuit. 91 and 92 (and thus drivers 41b and 42b) are converted to voltage levels suitable for input.

制御回路60は、トランジスタ11及び21の双方に共通の上側駆動信号IN_H、トランジスタ12及び22の双方に共通の下側駆動信号IN_L、及び、セレクタ81及び82の双方に共通の切替信号TESTを生成するロジック回路である。   The control circuit 60 generates an upper drive signal IN_H common to both transistors 11 and 21, a lower drive signal IN_L common to both transistors 12 and 22, and a switching signal TEST common to both selectors 81 and 82. Logic circuit.

なお、制御回路60は、半導体装置1の通常動作時には、切替信号TESTをローレベルに維持しながら、必要に応じて上側駆動信号IN_Hと下側駆動信号IN_Lを相補的(排他的)にパルス駆動する。   Note that the control circuit 60 pulse-drives the upper drive signal IN_H and the lower drive signal IN_L complementarily (exclusively) as necessary while maintaining the switching signal TEST at a low level during the normal operation of the semiconductor device 1. To do.

一方、制御回路60は、半導体装置1の出荷テスト時などには、外部端子T5を介して半導体装置1の外部から入力される上側テスト命令ないしは下側テスト命令(図2Aないし図2Bを参照)に基づいて、所定のテスト動作を実行するように、予めプログラミングされているテストシーケンスに沿って、上側駆動信号IN_H、下側駆動信号IN_L、及び、切替信号TESTの適宜生成を行う。これについては、後ほど詳細に説明する。   On the other hand, the control circuit 60 performs an upper test command or a lower test command input from the outside of the semiconductor device 1 via the external terminal T5 during a shipping test of the semiconductor device 1 (see FIGS. 2A to 2B). Based on the above, the upper drive signal IN_H, the lower drive signal IN_L, and the switching signal TEST are appropriately generated in accordance with a pre-programmed test sequence so as to execute a predetermined test operation. This will be described in detail later.

また、制御回路60は、過電流保護回路70から入力される過電流保護信号Socpに基づいて、トランジスタ11及び12、並びに、トランジスタ21及び22を強制的にオフするか否かを決定する。より具体的に述べると、制御回路60は、過電流保護信号Socpがハイレベル(異常時の論理レベル)であるときには、トランジスタ11及び12、並びに、トランジスタ21及び22を強制的にオフする。このような構成とすることにより、マイコンなどからのシャットダウン制御を待つことなく、半導体装置1単独で過電流保護動作を行うことが可能となる。   The control circuit 60 determines whether to forcibly turn off the transistors 11 and 12 and the transistors 21 and 22 based on the overcurrent protection signal Socp input from the overcurrent protection circuit 70. More specifically, the control circuit 60 forcibly turns off the transistors 11 and 12 and the transistors 21 and 22 when the overcurrent protection signal Socp is at a high level (logic level at the time of abnormality). With such a configuration, it is possible to perform an overcurrent protection operation by the semiconductor device 1 alone without waiting for shutdown control from a microcomputer or the like.

過電流保護回路70は、上側サブ電流I21と所定の上側サブ電流用閾値Ith1’、及び、下側サブ電流I22と所定の下側サブ電流用閾値Ith2’を各々比較して過電流保護信号Socpを生成し、これを制御回路60に出力する。   The overcurrent protection circuit 70 compares the upper subcurrent I21 with a predetermined upper subcurrent threshold Ith1 ′, and the lower subcurrent I22 with a predetermined lower subcurrent threshold Ith2 ′, respectively, to detect an overcurrent protection signal Socp. Is output to the control circuit 60.

より具体的に述べると、過電流保護回路70は、上側サブ電流I21と下側サブ電流I22のいずれか一方でも所定の上限値(上側サブ電流用閾値Ith1’ないしは下側サブ電流用閾値Ith2’)を越えていれば、過電流状態が生じていると判断して、過電流保護信号Socpをハイレベル(異常時の論理レベル)とする。   More specifically, the overcurrent protection circuit 70 has a predetermined upper limit value (upper subcurrent threshold Ith1 ′ or lower subcurrent threshold Ith2 ′) in either one of the upper subcurrent I21 and the lower subcurrent I22. ), It is determined that an overcurrent state has occurred, and the overcurrent protection signal Socp is set to a high level (logical level at the time of abnormality).

つまり、過電流保護回路70は、上側サブ電流I21が上側サブ電流用閾値Ith1’を上回ったときに、上側メイン電流I11も上側メイン電流用閾値Ith1(=α×Ith1’)を上回ったと判断し、過電流保護信号Socpを正常時の論理レベルから異常時の論理レベルに変遷させる構成とされている。また、過電流保護回路70は、下側サブ電流I22が下側サブ電流用閾値Ith2’を上回ったときに、下側メイン電流I12も下側メイン電流用閾値Ith2(=β×Ith2’)を上回ったと判断し、過電流保護信号Socpを正常時の論理レベルから異常時の論理レベルに変遷させる構成とされている。   That is, the overcurrent protection circuit 70 determines that the upper main current I11 also exceeds the upper main current threshold Ith1 (= α × Ith1 ′) when the upper subcurrent I21 exceeds the upper subcurrent threshold Ith1 ′. The overcurrent protection signal Socp is changed from the normal logic level to the abnormal logic level. The overcurrent protection circuit 70 also sets the lower main current I12 to the lower main current threshold Ith2 (= β × Ith2 ′) when the lower subcurrent I22 exceeds the lower subcurrent threshold Ith2 ′. Therefore, the overcurrent protection signal Socp is changed from the normal logic level to the abnormal logic level.

また、過電流保護回路70は、外部端子T4を介して過電流保護信号Socpを半導体装置1の外部に出力する構成とされている。このような構成とすることにより、過電流保護信号Socpの入力を受け付けたマイコンでは、半導体装置1に異常が生じたことをユーザに報知したり、半導体装置1の動作を強制的にシャットダウンすることができる。   Further, the overcurrent protection circuit 70 is configured to output an overcurrent protection signal Socp to the outside of the semiconductor device 1 through the external terminal T4. With such a configuration, the microcomputer that has received the input of the overcurrent protection signal Socp can notify the user that an abnormality has occurred in the semiconductor device 1 or can forcibly shut down the operation of the semiconductor device 1. Can do.

セレクタ81は、切替信号TESTに基づいて、上側駆動信号IN_Hと、トランジスタ11をオフとするための論理信号(ハイレベル信号)の一方を出力する。より具体的に述べると、セレクタ81は、切替信号TESTがローレベルであるときに、上側駆動信号IN_Hを出力し、切替信号TESTがハイレベルであるときに、トランジスタ11をオフとするための論理信号(ハイレベル信号)を出力する。   The selector 81 outputs one of the upper drive signal IN_H and a logic signal (high level signal) for turning off the transistor 11 based on the switching signal TEST. More specifically, the selector 81 outputs the upper drive signal IN_H when the switching signal TEST is at the low level, and the logic for turning off the transistor 11 when the switching signal TEST is at the high level. A signal (high level signal) is output.

セレクタ82は、切替信号TESTに基づいて、下側駆動信号IN_Lと、トランジスタ12をオフとするための論理信号(ローレベル信号)の一方を出力する。より具体的に述べると、セレクタ82は、切替信号TESTがローレベルであるときに、下側駆動信号IN_Lを出力し、切替信号TESTがハイレベルであるときに、トランジスタ12をオフとするための論理信号(ローレベル信号)を出力する。   The selector 82 outputs one of a lower drive signal IN_L and a logic signal (low level signal) for turning off the transistor 12 based on the switching signal TEST. More specifically, the selector 82 outputs the lower drive signal IN_L when the switching signal TEST is at a low level, and turns off the transistor 12 when the switching signal TEST is at a high level. A logic signal (low level signal) is output.

遅延回路91は、ドライバ41bに入力される上側駆動信号IN_Hに対して、セレクタ81で生じる信号遅延と同等の信号遅延を与える。   The delay circuit 91 gives a signal delay equivalent to the signal delay generated in the selector 81 to the upper drive signal IN_H input to the driver 41b.

遅延回路92は、ドライバ42bに入力される下側駆動信号IN_Lに対して、セレクタ82で生じる信号遅延と同等の信号遅延を与える。   The delay circuit 92 gives a signal delay equivalent to the signal delay generated by the selector 82 to the lower drive signal IN_L input to the driver 42b.

なお、上記構成から成る半導体装置1において、ドライバ41a及び41b、レベルシフタ50、セレクタ81、並びに、遅延回路91は、トランジスタ11及び21の双方を上側駆動信号IN_Hに応じてオン/オフさせるか、それとも、トランジスタ11を上側駆動信号IN_Hに依らずオフとし、トランジスタ21のみを上側駆動信号IN_Hに応じてオン/オフさせるかを切替信号TESTに基づいて決定する上側駆動回路の構成要素に相当する。   In the semiconductor device 1 configured as described above, the drivers 41a and 41b, the level shifter 50, the selector 81, and the delay circuit 91 turn on / off both the transistors 11 and 21 in accordance with the upper drive signal IN_H, or This corresponds to a component of the upper drive circuit that determines whether the transistor 11 is turned off regardless of the upper drive signal IN_H and only the transistor 21 is turned on / off according to the upper drive signal IN_H based on the switching signal TEST.

また、上記構成から成る半導体装置1において、ドライバ42a及び42b、レベルシフタ50、セレクタ82、並びに、遅延回路92は、トランジスタ12及び22の双方を下側駆動信号IN_Lに応じてオン/オフさせるか、それとも、トランジスタ12を下側駆動信号IN_Lに依らずオフとし、トランジスタ22のみを下側駆動信号IN_Lに応じてオン/オフさせるかを切替信号TESTに基づいて決定する下側駆動回路の構成要素に相当する。   In the semiconductor device 1 having the above configuration, the drivers 42a and 42b, the level shifter 50, the selector 82, and the delay circuit 92 turn on / off both the transistors 12 and 22 according to the lower drive signal IN_L. Alternatively, a component of the lower drive circuit that determines whether the transistor 12 is turned off regardless of the lower drive signal IN_L and only the transistor 22 is turned on / off according to the lower drive signal IN_L based on the switching signal TEST. Equivalent to.

図2Aは、半導体装置1の上側テスト(上側メイン電流用閾値Ith1を算出し、これが正常範囲に収まっているか否かを判定するテスト)時の外部接続例を示す図であり、図2Bは、半導体装置1の下側テスト(下側メイン電流用閾値Ith2を算出し、これが正常範囲に収まっているか否かを判定するテスト)時の外部接続例を示す図である。   FIG. 2A is a diagram illustrating an example of an external connection during an upper test of the semiconductor device 1 (a test for calculating an upper main current threshold Ith1 and determining whether or not this is within a normal range). FIG. 6 is a diagram illustrating an example of external connection during a lower test of a semiconductor device 1 (a test for calculating a lower main current threshold Ith2 and determining whether or not this is within a normal range).

図2A及び図2Bに示すように、半導体装置1の上側テストないし下側テストを実施する際には、半導体装置1に試験装置2が外部接続される。試験装置2は、半導体装置1に対して上側テスト命令及び下側テスト命令をシリアル形式のロジック信号として出力し、過電流保護回路70の閾値(上側メイン電流用閾値Ith1及び下側メイン電流用閾値Ith2)が正常範囲に収まっているか否かを判定する装置であり、電流源X1と、電圧計X2と、テストシーケンサX3と、を有する。   As shown in FIGS. 2A and 2B, when performing an upper test or a lower test of the semiconductor device 1, the test device 2 is externally connected to the semiconductor device 1. The test apparatus 2 outputs the upper test command and the lower test command as serial-type logic signals to the semiconductor device 1, and sets the thresholds of the overcurrent protection circuit 70 (upper main current threshold Ith1 and lower main current threshold). It is a device that determines whether or not Ith2) is within the normal range, and includes a current source X1, a voltmeter X2, and a test sequencer X3.

電流源X1は、テストシーケンサX3の指示に基づいて、第1外部端子と第2外部端子との間に任意のテスト電流Itestを流し込む。なお、半導体装置1の上側テスト時には、図2Aに示すように、上記の第1外部端子として外部端子T1が選択され、上記の第2外部端子として外部端子T2が選択される。従って、テスト電流Itestは、トランジスタ11ないしトランジスタ21に流し込まれる。一方、半導体装置1の下側テスト時には、図2Bに示すように、上記の第1外部端子として外部端子T2が選択され、上記の第2外部端子として外部端子T3が選択される。従って、テスト電流Itestは、トランジスタ12ないしトランジスタ22に流し込まれる。   The current source X1 flows an arbitrary test current Itest between the first external terminal and the second external terminal based on an instruction from the test sequencer X3. In the upper test of the semiconductor device 1, as shown in FIG. 2A, the external terminal T1 is selected as the first external terminal, and the external terminal T2 is selected as the second external terminal. Therefore, the test current Itest flows into the transistors 11 to 21. On the other hand, during the lower test of the semiconductor device 1, as shown in FIG. 2B, the external terminal T2 is selected as the first external terminal, and the external terminal T3 is selected as the second external terminal. Therefore, the test current Itest flows into the transistors 12 to 22.

電圧計X2は、上記の第1外部端子と第2外部端子との間の電位差を測定し、その測定電圧VtestをテストシーケンサX3に出力する。なお、半導体装置1の上側テスト時には、先にも述べたように、上記の第1外部端子として外部端子T1が選択され、上記の第2外部端子として外部端子T2が選択される。従って、電圧計X2では、外部端子T1と外部端子T2との間の電位差が測定される。一方、半導体装置1の下側テスト時には、先にも述べたように、上記の第1外部端子として外部端子T2が選択され、上記の第2外部端子として外部端子T3が選択される。従って、電圧計X2では、外部端子T2と外部端子T3との間の電位差が測定される。   The voltmeter X2 measures the potential difference between the first external terminal and the second external terminal, and outputs the measured voltage Vtest to the test sequencer X3. In the upper test of the semiconductor device 1, as described above, the external terminal T1 is selected as the first external terminal, and the external terminal T2 is selected as the second external terminal. Therefore, the voltmeter X2 measures the potential difference between the external terminal T1 and the external terminal T2. On the other hand, during the lower test of the semiconductor device 1, as described above, the external terminal T2 is selected as the first external terminal, and the external terminal T3 is selected as the second external terminal. Therefore, the voltmeter X2 measures the potential difference between the external terminal T2 and the external terminal T3.

テストシーケンサX3は、半導体装置1の外部端子T5に出力する上側テスト命令及び下側テスト命令の生成、電流源X1の駆動制御、電圧計X2の測定値取得、及び、過電流保護回路70の閾値算出(上側メイン電流用閾値Ith1及び下側メイン電流用閾値Ith2の算出)を行うロジック回路である。   The test sequencer X3 generates an upper test command and a lower test command to be output to the external terminal T5 of the semiconductor device 1, drive control of the current source X1, acquisition of a measured value of the voltmeter X2, and a threshold value of the overcurrent protection circuit 70 This is a logic circuit that performs calculation (calculation of the upper main current threshold Ith1 and the lower main current threshold Ith2).

図3は、上側テスト動作を説明するためのタイミングチャートであり、上から順に、切替信号TEST、上側駆動信号IN_H、ゲート信号G11、ゲート信号G21、下側駆動信号IN_L、ゲート信号G21、ゲート信号G22、テスト電流Itest、測定電圧Vtest、及び、過電流保護信号Socpが示されている。   FIG. 3 is a timing chart for explaining the upper side test operation. In order from the top, the switching signal TEST, the upper side drive signal IN_H, the gate signal G11, the gate signal G21, the lower side drive signal IN_L, the gate signal G21, and the gate signal. G22, test current Itest, measurement voltage Vtest, and overcurrent protection signal Socp are shown.

試験装置2から上側テスト命令を受けた制御回路60は、まず、上側テスト動作の第1ステップを実行すべく、切替信号TESTをローレベルとした状態で、上側駆動信号IN_Hを所定期間にわたってローレベルに立ち下げる。これにより、制御回路60は、トランジスタ11及び21の双方を上側駆動信号IN_Hに応じてオンさせる。従って、電流源X1から流し込まれるテスト電流Itestは、ほとんど全てが上側メイン電流I11として流れることになる。なお、上側テスト動作時には、下側駆動信号IN_Lが常にローレベルに維持されており、トランジスタ12及び22はいずれもオフとされている。   Upon receiving the upper test command from the test apparatus 2, the control circuit 60 first sets the upper drive signal IN_H to the low level over a predetermined period in a state where the switching signal TEST is set to the low level in order to execute the first step of the upper test operation. To fall. Thereby, the control circuit 60 turns on both the transistors 11 and 21 in accordance with the upper drive signal IN_H. Therefore, almost all of the test current Itest flowing from the current source X1 flows as the upper main current I11. During the upper test operation, the lower drive signal IN_L is always maintained at a low level, and both the transistors 12 and 22 are turned off.

一方、テストシーケンサX3は、制御回路60で上側テスト動作の第1ステップを実行させている間に、テスト電流Itestを任意の電流値I(0)に設定した状態で、測定電圧Vtestの電圧値V(0)を取得することにより、上側メイン電流I11が流れる上側メイン電流経路(外部端子T1からトランジスタ11を介して外部端子T2に至る電流経路)の抵抗値R11を算出する。抵抗値R11の算出式は、下記(1)式となる。なお、抵抗値R11は、トランジスタ11のオン抵抗値にほぼ等しくなる。

Figure 2011191192
On the other hand, while the test sequencer X3 is executing the first step of the upper test operation by the control circuit 60, the test sequencer X3 sets the test current Itest to an arbitrary current value I (0), and the voltage value of the measurement voltage Vtest. By obtaining V (0), the resistance value R11 of the upper main current path (current path from the external terminal T1 to the external terminal T2 through the transistor 11) through which the upper main current I11 flows is calculated. The equation for calculating the resistance value R11 is the following equation (1). Note that the resistance value R11 is substantially equal to the on-resistance value of the transistor 11.
Figure 2011191192

このとき、テスト電流Itestの電流値I(0)は、過電流保護動作が発動しない電流値であって、かつ、抵抗値R11を正しく算出するために必要十分な大きさの電流値に設定することが望ましい。   At this time, the current value I (0) of the test current Itest is a current value that does not activate the overcurrent protection operation, and is set to a current value that is large enough to correctly calculate the resistance value R11. It is desirable.

次に、制御回路60は、上側テスト動作に第2ステップを実行すべく、切替信号TESTをハイレベルに立ち上げた状態で、上側駆動信号IN_Hを所定期間にわたってローレベルに立ち下げる。これにより、制御回路60は、トランジスタ11を上側駆動信号IN_Hに依らずオフとし、トランジスタ21のみを上側駆動信号IN_Hに応じてオンさせる。従って、電流源X1から流し込まれるテスト電流Itestは、全て上側サブ電流I21として流れることになる。なお、先にも述べた通り、上側テスト動作時には、下側駆動信号IN_Lが常にローレベルに維持されており、トランジスタ12及び22はいずれもオフとされている。   Next, the control circuit 60 lowers the upper drive signal IN_H to a low level for a predetermined period in a state where the switching signal TEST is raised to a high level in order to execute the second step in the upper test operation. Thereby, the control circuit 60 turns off the transistor 11 regardless of the upper drive signal IN_H, and turns on only the transistor 21 according to the upper drive signal IN_H. Therefore, all the test currents Itest flowing from the current source X1 flow as the upper subcurrent I21. As described above, during the upper test operation, the lower drive signal IN_L is always maintained at a low level, and the transistors 12 and 22 are both turned off.

一方、テストシーケンサX3は、制御回路60で上側テスト動作の第2ステップを実行させている間に、テスト電流Itestを任意の電流値I(k)に設定した状態で、測定電圧Vtestの電圧値V(k)を取得することにより、上側サブ電流I21が流れる上側サブ電流経路(外部端子T1からセンス抵抗31とトランジスタ21を介して外部端子T2に至る電流経路)の抵抗値R21を算出する。抵抗値R21の算出式は、下記(2)式となる。なお、抵抗値R21は、トランジスタ21のオン抵抗値とセンス抵抗31の抵抗値を足し合わせた値にほぼ等しくなる。

Figure 2011191192
On the other hand, the test sequencer X3 sets the test current Itest to an arbitrary current value I (k) while the control circuit 60 executes the second step of the upper test operation, and the voltage value of the measurement voltage Vtest. By obtaining V (k), the resistance value R21 of the upper subcurrent path (current path from the external terminal T1 to the external terminal T2 through the sense resistor 31 and the transistor 21) through which the upper subcurrent I21 flows is calculated. The equation for calculating the resistance value R21 is the following equation (2). The resistance value R21 is substantially equal to the sum of the on-resistance value of the transistor 21 and the resistance value of the sense resistor 31.
Figure 2011191192

このとき、テスト電流Itestの電流値I(k)は、過電流保護動作が発動しない電流値であって、かつ、抵抗値R21を正しく算出するために必要十分な大きさの電流値に設定することが望ましい。例えば、後ほど説明するように、テスト電流Itestの電流値I(k)を徐々に高めていくような電流可変制御が行われる場合には、その途中の適切なタイミング(例えば、過電流保護動作が発動する直前、すなわち、テスト電流Itestが電流値I(n−1)に設定されている状態)で、抵抗値R21の算出を行えばよい。   At this time, the current value I (k) of the test current Itest is a current value that does not activate the overcurrent protection operation, and is set to a current value that is large enough to correctly calculate the resistance value R21. It is desirable. For example, as will be described later, when current variable control is performed in which the current value I (k) of the test current Itest is gradually increased, an appropriate timing (for example, overcurrent protection operation is performed). The resistance value R21 may be calculated immediately before activation, that is, in a state where the test current Itest is set to the current value I (n-1).

また、テストシーケンサX3は、制御回路60で上側テスト動作の第2ステップを実行させている間に、テスト電流Itestの電流値I(k)を徐々に高めていき、過電流保護動作が発動したときのテスト電流Itestの電流値I(n)を上側サブ電流用閾値Ith1’として取得する。   The test sequencer X3 gradually increased the current value I (k) of the test current Itest while the control circuit 60 was executing the second step of the upper test operation, and the overcurrent protection operation was activated. Current value I (n) of the test current Itest is obtained as the upper subcurrent threshold Ith1 ′.

そして、テストシーケンサX3は、最終的に、上記の第1ステップと第2ステップで取得された上側メイン電流経路の抵抗値R11、上側サブ電流経路の抵抗値R21、及び、上側サブ電流用閾値Ith1’に基づいて、上側メイン電流用閾値Ith1を算出し、これが正常範囲に収まっているか否かを判定する。なお、上側メイン電流用閾値Ith1の算出式は、下記(3)式となる。   Then, the test sequencer X3 finally has the upper main current path resistance value R11, the upper sub current path resistance value R21, and the upper sub current threshold value Ith1 acquired in the first step and the second step. Based on ', the upper main current threshold Ith1 is calculated, and it is determined whether or not it is within the normal range. The calculation formula for the upper main current threshold Ith1 is the following formula (3).

Figure 2011191192
Figure 2011191192

図4は、下側テスト動作を説明するためのタイミングチャートであり、上から順に、切替信号TEST、上側駆動信号IN_H、ゲート信号G11、ゲート信号G21、下側駆動信号IN_L、ゲート信号G21、ゲート信号G22、テスト電流Itest、測定電圧Vtest、及び、過電流保護信号Socpが示されている。   FIG. 4 is a timing chart for explaining the lower side test operation. In order from the top, the switching signal TEST, the upper side drive signal IN_H, the gate signal G11, the gate signal G21, the lower side drive signal IN_L, the gate signal G21, and the gate A signal G22, a test current Itest, a measurement voltage Vtest, and an overcurrent protection signal Socp are shown.

試験装置2から下側テスト命令を受けた制御回路60は、まず、下側テスト動作の第1ステップを実行すべく、切替信号TESTをローレベルとした状態で、下側駆動信号IN_Lを所定期間にわたってハイレベルに立ち上げる。これにより、制御回路60は、トランジスタ12及び22の双方を下側駆動信号IN_Lに応じてオンさせる。従って、電流源X1から流し込まれるテスト電流Itestは、ほとんど全てが下側メイン電流I12として流れることになる。なお、下側テスト動作時には、上側駆動信号IN_Hが常にハイレベルに維持されており、トランジスタ11及び21はいずれもオフとされている。   The control circuit 60 that has received the lower test command from the test apparatus 2 first sets the lower drive signal IN_L for a predetermined period in a state where the switching signal TEST is at the low level in order to execute the first step of the lower test operation. To a high level. As a result, the control circuit 60 turns on both the transistors 12 and 22 in accordance with the lower drive signal IN_L. Therefore, almost all of the test current Itest flowing from the current source X1 flows as the lower main current I12. During the lower test operation, the upper drive signal IN_H is always maintained at a high level, and both the transistors 11 and 21 are turned off.

一方、テストシーケンサX3は、制御回路60で下側テスト動作の第1ステップを実行させている間に、テスト電流Itestを任意の電流値I(0)に設定した状態で、測定電圧Vtestの電圧値V(0)を取得することにより、下側メイン電流I12が流れる下側メイン電流経路(外部端子T2からトランジスタ12を介して外部端子T3に至る電流経路)の抵抗値R12を算出する。抵抗値R12の算出式は、下記(4)式となる。なお、抵抗値R12は、トランジスタ12のオン抵抗値にほぼ等しくなる。

Figure 2011191192
On the other hand, while the test sequencer X3 is executing the first step of the lower test operation in the control circuit 60, the test sequencer X3 sets the test current Itest to an arbitrary current value I (0) and sets the voltage of the measurement voltage Vtest. By obtaining the value V (0), the resistance value R12 of the lower main current path (current path from the external terminal T2 to the external terminal T3 through the transistor 12) through which the lower main current I12 flows is calculated. The equation for calculating the resistance value R12 is the following equation (4). Note that the resistance value R12 is substantially equal to the on-resistance value of the transistor 12.
Figure 2011191192

このとき、テスト電流Itestの電流値I(0)は、過電流保護動作が発動しない電流値であって、かつ、抵抗値R12を正しく算出するために必要十分な大きさの電流値に設定することが望ましい。   At this time, the current value I (0) of the test current Itest is a current value that does not activate the overcurrent protection operation, and is set to a current value that is large enough to correctly calculate the resistance value R12. It is desirable.

次に、制御回路60は、下側テスト動作に第2ステップを実行すべく、切替信号TESTをハイレベルに立ち上げた状態で、下側駆動信号IN_Lを所定期間にわたってハイレベルに立ち上げる。これにより、制御回路60は、トランジスタ12を下側駆動信号IN_Lに依らずオフとし、トランジスタ22のみを下側駆動信号IN_Lに応じてオンさせる。従って、電流源X1から流し込まれるテスト電流Itestは、全て下側サブ電流I22として流れることになる。なお、先にも述べた通り、下側テスト動作時には、上側駆動信号IN_Hが常にハイレベルに維持されており、トランジスタ11及び21はいずれもオフとされている。   Next, the control circuit 60 raises the lower drive signal IN_L to a high level for a predetermined period in a state where the switching signal TEST is raised to a high level in order to execute the second step in the lower test operation. Accordingly, the control circuit 60 turns off the transistor 12 regardless of the lower drive signal IN_L, and turns on only the transistor 22 according to the lower drive signal IN_L. Therefore, all the test currents Itest flowing from the current source X1 flow as the lower sub-current I22. As described above, during the lower test operation, the upper drive signal IN_H is always maintained at the high level, and the transistors 11 and 21 are both turned off.

一方、テストシーケンサX3は、制御回路60で下側テスト動作の第2ステップを実行させている間に、テスト電流Itestを任意の電流値I(k)に設定した状態で、測定電圧Vtestの電圧値V(k)を取得することにより、下側サブ電流I22が流れる下側サブ電流経路(外部端子T2からトランジスタ22とセンス抵抗32を介して外部端子T3に至る電流経路)の抵抗値R22を算出する。抵抗値R22の算出式は、下記(5)式となる。なお、抵抗値R22は、トランジスタ22のオン抵抗値とセンス抵抗32の抵抗値を足し合わせた値にほぼ等しくなる。

Figure 2011191192
On the other hand, while the test sequencer X3 is executing the second step of the lower test operation by the control circuit 60, the test sequencer X3 sets the test current Itest to an arbitrary current value I (k) and sets the voltage of the measurement voltage Vtest. By obtaining the value V (k), the resistance value R22 of the lower subcurrent path (current path from the external terminal T2 to the external terminal T3 through the transistor 22 and the sense resistor 32) through which the lower subcurrent I22 flows is obtained. calculate. The equation for calculating the resistance value R22 is the following equation (5). The resistance value R22 is substantially equal to the sum of the on-resistance value of the transistor 22 and the resistance value of the sense resistor 32.
Figure 2011191192

このとき、テスト電流Itestの電流値I(k)は、過電流保護動作が発動しない電流値であって、かつ、抵抗値R22を正しく算出するために必要十分な大きさの電流値に設定することが望ましい。例えば、後ほど説明するように、テスト電流Itestの電流値I(k)を徐々に高めていくような電流可変制御が行われる場合には、その途中の適切なタイミング(例えば、過電流保護動作が発動する直前、すなわち、テスト電流Itestが電流値I(n−1)に設定されている状態)で、抵抗値R22の算出を行えばよい。   At this time, the current value I (k) of the test current Itest is a current value that does not activate the overcurrent protection operation, and is set to a current value that is large enough to correctly calculate the resistance value R22. It is desirable. For example, as will be described later, when current variable control is performed in which the current value I (k) of the test current Itest is gradually increased, an appropriate timing (for example, overcurrent protection operation is performed). The resistance value R22 may be calculated immediately before activation, that is, in a state where the test current Itest is set to the current value I (n-1).

また、テストシーケンサX3は、制御回路60で下側テスト動作の第2ステップを実行させている間に、テスト電流Itestの電流値I(k)を徐々に高めていき、過電流保護動作が発動したときのテスト電流Itestの電流値I(n)を下側サブ電流用閾値Ith2’として取得する。   The test sequencer X3 gradually increases the current value I (k) of the test current Itest while the control circuit 60 executes the second step of the lower test operation, and the overcurrent protection operation is activated. The current value I (n) of the test current Itest at that time is acquired as the lower subcurrent threshold Ith2 ′.

そして、テストシーケンサX3は、最終的に、上記の第1ステップと第2ステップで取得された下側メイン電流経路の抵抗値R12、下側サブ電流経路の抵抗値R22、及び、下側サブ電流用閾値Ith2’に基づいて、下側メイン電流用閾値Ith2を算出し、これが正常範囲に収まっているか否かを判定する。なお、下側メイン電流用閾値Ith2の算出式は、下記(6)式となる。   Then, the test sequencer X3 finally obtains the resistance value R12 of the lower main current path, the resistance value R22 of the lower sub current path, and the lower sub current acquired in the first step and the second step. Based on the threshold value Ith2 ′, the lower main current threshold value Ith2 is calculated, and it is determined whether or not this is within the normal range. The formula for calculating the lower main current threshold Ith2 is the following formula (6).

Figure 2011191192
Figure 2011191192

このように、本構成例の半導体装置1は、トランジスタ21ないし22をトランジスタ11ないし12とは独立に駆動可能な構成とされているので、半導体装置1のテスト時には、トランジスタ21ないし22のみをオンさせて、上側サブ電流経路の抵抗値R21と上側サブ電流用閾値Ith1’、ないし、下側サブ電流経路の抵抗値R22と下側サブ電流用閾値Ith2’を測定することができる。   As described above, the semiconductor device 1 of this configuration example is configured such that the transistors 21 to 22 can be driven independently of the transistors 11 to 12, so that only the transistors 21 to 22 are turned on when the semiconductor device 1 is tested. Thus, the resistance value R21 and the upper subcurrent threshold value Ith1 ′ of the upper subcurrent path, or the resistance value R22 of the lower subcurrent path and the threshold value Ith2 ′ of the lower subcurrent path can be measured.

従って、本構成例の半導体装置1であれば、メイン電流用閾値Ith1及びIth2を上回るような過大なテスト電流Itestを流すことなく、先出の(3)式及び(6)式に基づいて、メイン電流用閾値Ith1及びIth2を算出し、これが正常範囲に収まっているか否かを判定することが可能となる。その結果、大電流の測定にも耐え得る特殊なテスト設備が必要なくなるので、出荷時テストのコストダウンを実現することが可能となり、延いては、半導体装置1の全数に対して出荷時テストを実施して、品質の向上(初期不良率の低減)を図ることが可能となる。   Therefore, in the case of the semiconductor device 1 of this configuration example, without passing an excessive test current Itest exceeding the main current thresholds Ith1 and Ith2, based on the above formulas (3) and (6), It is possible to calculate the main current thresholds Ith1 and Ith2 and determine whether they are within the normal range. As a result, special test equipment that can withstand the measurement of large currents is not necessary, so that it is possible to reduce the cost of the test at the time of shipment. It is possible to improve the quality (reducing the initial defect rate).

また、本構成例の半導体装置1であれば、サブ電流用閾値Ith1’及びIth2’の測定結果だけではなく、メイン電流経路の抵抗値R11及びR12と、サブ電流経路の抵抗値R21及びR22を別途取得し、先述の(3)式及び(6)式に基づいて、メイン電流用閾値Ith1及びIth2を算出する構成とされているので、トランジスタ11及び12とトランジスタ21及び22とのミラー比α及びβが製品毎にばらついていた場合であっても、メイン電流用閾値Ith1及びIth2を正しく算出し、その設定値が正常範囲に収まっていることを保証することが可能となる。   In the semiconductor device 1 of this configuration example, not only the measurement results of the sub-current thresholds Ith1 ′ and Ith2 ′ but also the resistance values R11 and R12 of the main current path and the resistance values R21 and R22 of the sub-current path are obtained. Since the main current threshold values Ith1 and Ith2 are calculated separately and calculated based on the above-described equations (3) and (6), the mirror ratio α between the transistors 11 and 12 and the transistors 21 and 22 is obtained. And β vary from product to product, it is possible to correctly calculate the main current thresholds Ith1 and Ith2 and to ensure that the set values are within the normal range.

また、本構成例の半導体装置1であれば、先出の図9で示したテスト用パッドTP1及びTP2を要することなく、サブ電流経路の抵抗値R21及びR22とサブ電流用閾値Ith1’及びIth2’を測定することができるので、チップ面積を縮小することが可能となり、延いては、チップコストの低減を実現することが可能となる。   Further, in the semiconductor device 1 of this configuration example, the resistance values R21 and R22 of the sub current path and the sub current thresholds Ith1 ′ and Ith2 are not required without using the test pads TP1 and TP2 shown in FIG. Since 'can be measured, it is possible to reduce the chip area, and it is possible to reduce the chip cost.

また、本構成例の半導体装置1であれば、外部端子T5から制御回路60にテスト命令を入力することにより、一連のテストシーケンスを実行させることができるので、半導体装置1のパッケージング後に出荷時テストを実施することが可能となる。   In the semiconductor device 1 of this configuration example, a series of test sequences can be executed by inputting a test command from the external terminal T5 to the control circuit 60. Tests can be performed.

なお、図3及び図4では、メイン電流経路の抵抗値R11及びR12を算出(第1ステップ)を先に実行し、これに続いて、サブ電流経路の抵抗値R21及びR22の算出と、サブ電流用閾値Ith1’及びIth2’の測定(第2ステップ)を実行するテストシーケンスを例示したが、第1ステップと第2ステップの順序は逆であっても構わない。   3 and 4, the resistance values R11 and R12 of the main current path are calculated (first step) first, followed by the calculation of the resistance values R21 and R22 of the sub current path, Although the test sequence for executing the measurement of the current threshold values Ith1 ′ and Ith2 ′ (second step) is illustrated, the order of the first step and the second step may be reversed.

次に、半導体装置1の通常動作時において、トランジスタ11及び21の双方を上側駆動信号IN_Hに応じて同時にオン/オフさせ、また、トランジスタ12及び22の双方を下側駆動信号IN_Lに応じて同時にオン/オフさせるための工夫について説明する。   Next, during normal operation of the semiconductor device 1, both the transistors 11 and 21 are simultaneously turned on / off according to the upper drive signal IN_H, and both the transistors 12 and 22 are simultaneously turned on according to the lower drive signal IN_L. A device for turning on / off will be described.

先出の図9に示した従来構成の半導体装置100では、トランジスタ11とトランジスタ21のゲートが互いに共通とされていたので、トランジスタ11及び21の双方は、上側駆動信号IN_Hに応じて必ず同時にオン/オフされていた。同様に、従来構成の半導体装置100では、トランジスタ12とトランジスタ22のゲートも互いに共通とされていたので、トランジスタ12及び22の双方は、下側駆動信号IN_Lに応じて必ず同時にオン/オフされていた。   In the semiconductor device 100 having the conventional configuration shown in FIG. 9, the gates of the transistor 11 and the transistor 21 are common to each other, so that both the transistors 11 and 21 are always turned on at the same time in accordance with the upper drive signal IN_H. / It was off. Similarly, in the semiconductor device 100 having the conventional configuration, the gates of the transistor 12 and the transistor 22 are also common to each other. Therefore, both the transistors 12 and 22 are always turned on / off simultaneously according to the lower drive signal IN_L. It was.

一方、本構成例の半導体装置1では、トランジスタ21をトランジスタ11と独立に駆動可能とするために、トランジスタ11とトランジスタ21のゲートが互いに分離されている。そのため、ゲート信号G11とゲート信号G21との間に意図しない位相差が生じた場合には、一の上側駆動信号IN_Hに対するトランジスタ11及び21のオン/オフタイミングがずれてしまうおそれがあった。同様に、本構成例の半導体装置1では、トランジスタ22をトランジスタ12と独立に駆動可能とするために、トランジスタ12とトランジスタ22のゲートが互いに分離されている。そのため、ゲート信号G12とゲート信号G22との間に意図しない位相差が生じた場合には、一の下側駆動信号IN_Lに対するトランジスタ12及び22のオン/オフタイミングがずれてしまうおそれがあった。   On the other hand, in the semiconductor device 1 of this configuration example, the gates of the transistor 11 and the transistor 21 are separated from each other so that the transistor 21 can be driven independently of the transistor 11. Therefore, when an unintended phase difference occurs between the gate signal G11 and the gate signal G21, the on / off timing of the transistors 11 and 21 with respect to one upper drive signal IN_H may be shifted. Similarly, in the semiconductor device 1 of this configuration example, the gates of the transistor 12 and the transistor 22 are separated from each other so that the transistor 22 can be driven independently of the transistor 12. Therefore, when an unintended phase difference occurs between the gate signal G12 and the gate signal G22, the on / off timing of the transistors 12 and 22 with respect to the one lower drive signal IN_L may be shifted.

そこで、本構成例の半導体装置1では、上記の不具合を解消すべく、制御回路60からトランジスタ11ないし12に至る信号経路と、制御回路60からトランジスタ21ないし22に至る信号経路は、図5(素子レイアウトの一例を示す模式図)に示すように、互いに対称性を持って敷設されている。   Therefore, in the semiconductor device 1 of this configuration example, the signal path from the control circuit 60 to the transistors 11 to 12 and the signal path from the control circuit 60 to the transistors 21 to 22 are shown in FIG. As shown in a schematic diagram showing an example of an element layout, the layers are laid with symmetry.

このような素子レイアウトを採用することにより、制御回路60からトランジスタ11ないし12に至る信号経路と、制御回路60からトランジスタ21ないし22に至る信号経路の配線長をできる限り一致させることができるので、ゲート信号G11とゲート信号G21との間に生じる位相差、ないしは、ゲート信号G12とゲート信号G22との間に生じる位相差を低減することが可能となり、延いては、一の上側駆動信号IN_Hに対するトランジスタ11及び21のオン/オフタイミングのずれ、ないしは、一の下側駆動信号IN_Lに対するトランジスタ12及び22のオン/オフタイミングのずれを低減することが可能となる。   By adopting such an element layout, the wiring length of the signal path from the control circuit 60 to the transistors 11 to 12 and the signal path from the control circuit 60 to the transistors 21 to 22 can be matched as much as possible. It is possible to reduce the phase difference generated between the gate signal G11 and the gate signal G21 or the phase difference generated between the gate signal G12 and the gate signal G22. It is possible to reduce the ON / OFF timing shift of the transistors 11 and 21 or the ON / OFF timing shift of the transistors 12 and 22 with respect to one lower drive signal IN_L.

また、先にも述べたように、本構成例の半導体装置1は、ドライバ41b及び42bに各々入力される上側駆動信号IN_H及び下側駆動信号IN_Lに対して、セレクタ81及び82で各々生じる信号遅延と同等の信号遅延を与える遅延回路91及び92を有する構成とされている。このような構成とすることにより、セレクタ81及び82で各々生じる信号遅延を、遅延回路91及び92で各々生じる信号遅延によって相殺することができるので、ゲート信号G11とゲート信号G21との間に生じる位相差、ないしは、ゲート信号G12とゲート信号G22との間に生じる位相差を低減することが可能となり、延いては、一の上側駆動信号IN_Hに対するトランジスタ11及び21のオン/オフタイミングのずれ、ないしは、一の下側駆動信号IN_Lに対するトランジスタ12及び22のオン/オフタイミングのずれを低減することが可能となる。   In addition, as described above, the semiconductor device 1 of this configuration example has the signals generated by the selectors 81 and 82 with respect to the upper drive signal IN_H and the lower drive signal IN_L respectively input to the drivers 41b and 42b. The delay circuit 91 and the delay circuit 92 provide a signal delay equivalent to the delay. By adopting such a configuration, the signal delays respectively generated in the selectors 81 and 82 can be canceled by the signal delays generated in the delay circuits 91 and 92, respectively, so that they occur between the gate signal G11 and the gate signal G21. It is possible to reduce the phase difference or the phase difference generated between the gate signal G12 and the gate signal G22. As a result, the on / off timing shift of the transistors 11 and 21 with respect to one upper drive signal IN_H, Alternatively, it is possible to reduce a deviation in the on / off timing of the transistors 12 and 22 with respect to one lower drive signal IN_L.

ただし、上記の工夫を凝らしても、一の上側駆動信号IN_Hに対するトランジスタ11及び21のオン/オフタイミングのずれ、ないしは、一の下側駆動信号IN_Lに対するトランジスタ12及び22のオン/オフタイミングのずれが完全に解消されない場合も考えられる。特に、トランジスタ11がオフされた状態でトランジスタ21がオンされた場合には、メイン電流I11としてトランジスタ11に流れるはずの電流がセンス抵抗31に流れ込んでしまい、過電流保護回路70が誤動作を生じるおそれがある。また、トランジスタ12がオフされた状態でトランジスタ22がオンされた場合には、メイン電流I12としてトランジスタ12に流れるはずの電流がセンス抵抗32に流れ込んでしまい、過電流保護回路70が誤動作を生じるおそれがある。   However, even if the above-described device is elaborated, the on / off timing shift of the transistors 11 and 21 with respect to one upper drive signal IN_H or the on / off timing shift of the transistors 12 and 22 with respect to one lower drive signal IN_L. In some cases, the problem cannot be resolved completely. In particular, when the transistor 21 is turned on while the transistor 11 is turned off, a current that should flow through the transistor 11 as the main current I11 flows into the sense resistor 31, and the overcurrent protection circuit 70 may malfunction. There is. Further, when the transistor 22 is turned on while the transistor 12 is turned off, a current that should flow through the transistor 12 as the main current I12 flows into the sense resistor 32, and the overcurrent protection circuit 70 may malfunction. There is.

そこで、本構成例の半導体装置1では、上記の不具合を解消するために、ドライバ41aは、その入力信号がトランジスタ11をオンとする論理レベル(ローレベル)となったときには遅滞なくトランジスタ11をオンさせる一方、その入力信号がトランジスタ11をオフとする論理レベル(ハイレベル)となったときには、その時点から所定時間d11の経過後にトランジスタ11をオフさせるように、ゲート信号G11を生成する構成とされている。また、ドライバ41bは、その入力信号がトランジスタ21をオンとする論理レベル(ローレベル)となったときには、その時点から所定時間d21の経過後にトランジスタ21をオンさせる一方、その入力信号がトランジスタ21をオフとする論理レベル(ハイレベル)となったときには遅滞なくトランジスタ21をオフさせるように、ゲート信号G21を生成する構成とされている。   Therefore, in the semiconductor device 1 of this configuration example, in order to solve the above-described problem, the driver 41a turns on the transistor 11 without delay when the input signal becomes a logic level (low level) that turns on the transistor 11. On the other hand, when the input signal becomes a logic level (high level) for turning off the transistor 11, the gate signal G11 is generated so that the transistor 11 is turned off after a predetermined time d11 elapses from that point. ing. Further, when the input signal becomes a logic level (low level) for turning on the transistor 21, the driver 41b turns on the transistor 21 after a predetermined time d21 has elapsed from that point, while the input signal turns on the transistor 21. The gate signal G21 is generated so that the transistor 21 is turned off without delay when the logic level is turned off (high level).

同様に、ドライバ42aは、その入力信号がトランジスタ12をオンとする論理レベル(ハイレベル)となったときには遅滞なくトランジスタ12をオンさせる一方、その入力信号がトランジスタ12をオフとする論理レベル(ローレベル)となったときには、その時点から所定時間d12の経過後にトランジスタ12をオフさせるように、ゲート信号G12を生成する構成とされている。また、ドライバ42bは、その入力信号がトランジスタ22をオンとする論理レベル(ハイレベル)となったときには、その時点から所定時間d22の経過後にトランジスタ22をオンさせる一方、その入力信号がトランジスタ22をオフとする論理レベル(ローレベル)となったときには遅滞なくトランジスタ22をオフさせるように、ゲート信号G22を生成する構成とされている。   Similarly, the driver 42a turns on the transistor 12 without delay when the input signal becomes a logic level (high level) that turns on the transistor 12, while the driver 42a turns on the logic level (low level) that turns off the transistor 12. (Level), the gate signal G12 is generated so that the transistor 12 is turned off after a predetermined time d12 has elapsed. Further, when the input signal becomes a logic level (high level) for turning on the transistor 22, the driver 42b turns on the transistor 22 after a lapse of a predetermined time d22 from that time, while the input signal turns on the transistor 22. The gate signal G22 is generated so that the transistor 22 is turned off without delay when the logic level (low level) is turned off.

図6は、ドライバ41a、41b、42a、42bの一構成例を示す回路図である。   FIG. 6 is a circuit diagram showing a configuration example of the drivers 41a, 41b, 42a, and 42b.

ドライバ41aは、Pチャネル型MOS電界効果トランジスタP1aと、Nチャネル型MOS電界効果トランジスタN1aと、抵抗R1aと、インバータINV1aと、を有する。トランジスタP1aのソースは、電源端に接続されている。トランジスタP1aのドレインは、インバータINV1aの入力端に接続されている。トランジスタP1aのゲートは、セレクタ81の出力端に接続されている。トランジスタN1aのソースは、接地端に接続されている。トランジスタN1aのドレインは、抵抗R1aを介してインバータINV1aの入力端に接続されている。トランジスタN1aのゲートは、セレクタ81の出力端に接続されている。インバータINV1aの出力端は、トランジスタ11のゲートに接続されている。   The driver 41a includes a P-channel MOS field effect transistor P1a, an N-channel MOS field effect transistor N1a, a resistor R1a, and an inverter INV1a. The source of the transistor P1a is connected to the power supply terminal. The drain of the transistor P1a is connected to the input terminal of the inverter INV1a. The gate of the transistor P1a is connected to the output terminal of the selector 81. The source of the transistor N1a is connected to the ground terminal. The drain of the transistor N1a is connected to the input terminal of the inverter INV1a via the resistor R1a. The gate of the transistor N1a is connected to the output terminal of the selector 81. The output terminal of the inverter INV1a is connected to the gate of the transistor 11.

ドライバ41bは、Pチャネル型MOS電界効果トランジスタP1bと、Nチャネル型MOS電界効果トランジスタN1bと、抵抗R1bと、インバータINV1bと、を有する。トランジスタP1bのソースは、電源端に接続されている。トランジスタP1bのドレインは、抵抗R1bを介してインバータINV1bの入力端に接続されている。トランジスタP1bのゲートは、遅延回路91の出力端に接続されている。トランジスタN1bのソースは、接地端に接続されている。トランジスタN1bのドレインは、インバータINV1bの入力端に接続されている。トランジスタN1bのゲートは、遅延回路91の出力端に接続されている。インバータINV1bの出力端は、トランジスタ21のゲートに接続されている。   The driver 41b includes a P-channel MOS field effect transistor P1b, an N-channel MOS field effect transistor N1b, a resistor R1b, and an inverter INV1b. The source of the transistor P1b is connected to the power supply terminal. The drain of the transistor P1b is connected to the input terminal of the inverter INV1b via the resistor R1b. The gate of the transistor P1b is connected to the output terminal of the delay circuit 91. The source of the transistor N1b is connected to the ground terminal. The drain of the transistor N1b is connected to the input terminal of the inverter INV1b. The gate of the transistor N1b is connected to the output terminal of the delay circuit 91. The output terminal of the inverter INV1b is connected to the gate of the transistor 21.

ドライバ42aは、Pチャネル型MOS電界効果トランジスタP2aと、Nチャネル型MOS電界効果トランジスタN2aと、抵抗R2aと、インバータINV2aと、を有する。トランジスタP2aのソースは、電源端に接続されている。トランジスタP2aのドレインは、抵抗R2aを介してインバータINV2aの入力端に接続されている。トランジスタP2aのゲートは、セレクタ82の出力端に接続されている。トランジスタN2aのソースは、接地端に接続されている。トランジスタN2aのドレインは、インバータINV2aの入力端に接続されている。トランジスタN2aのゲートは、セレクタ82の出力端に接続されている。インバータINV2aの出力端は、トランジスタ12のゲートに接続されている。   The driver 42a includes a P-channel MOS field effect transistor P2a, an N-channel MOS field effect transistor N2a, a resistor R2a, and an inverter INV2a. The source of the transistor P2a is connected to the power supply terminal. The drain of the transistor P2a is connected to the input terminal of the inverter INV2a via the resistor R2a. The gate of the transistor P2a is connected to the output terminal of the selector 82. The source of the transistor N2a is connected to the ground terminal. The drain of the transistor N2a is connected to the input terminal of the inverter INV2a. The gate of the transistor N2a is connected to the output terminal of the selector 82. The output terminal of the inverter INV2a is connected to the gate of the transistor 12.

ドライバ42bは、Pチャネル型MOS電界効果トランジスタP2bと、Nチャネル型MOS電界効果トランジスタN2bと、抵抗R2bと、インバータINV2bと、を有する。トランジスタP2bのソースは、電源端に接続されている。トランジスタP2bのドレインは、インバータINV2bの入力端に接続されている。トランジスタP2bのゲートは、遅延回路92の出力端に接続されている。トランジスタN2bのソースは、接地端に接続されている。トランジスタN2bのドレインは、抵抗R2bを介してインバータINV2bの入力端に接続されている。トランジスタN2bのゲートは、遅延回路92の出力端に接続されている。インバータINV2bの出力端は、トランジスタ22のゲートに接続されている。   The driver 42b includes a P-channel MOS field effect transistor P2b, an N-channel MOS field effect transistor N2b, a resistor R2b, and an inverter INV2b. The source of the transistor P2b is connected to the power supply terminal. The drain of the transistor P2b is connected to the input terminal of the inverter INV2b. The gate of the transistor P2b is connected to the output terminal of the delay circuit 92. The source of the transistor N2b is connected to the ground terminal. The drain of the transistor N2b is connected to the input terminal of the inverter INV2b via the resistor R2b. The gate of the transistor N2b is connected to the output terminal of the delay circuit 92. The output terminal of the inverter INV2b is connected to the gate of the transistor 22.

上記構成から成るドライバ41aにおいて、セレクタ81からの入力信号(上側駆動信号IN_H)がローレベルとなった場合には、トランジスタP1aがオンし、トランジスタN1aがオフする。このとき、インバータINV1aの入力端に印加される電圧は、トランジスタP1aを介して即座にハイレベルとなり、インバータINV1aの出力端から出力されるゲート信号G11は、即座にローレベルとなる。従って、セレクタ81からの入力信号がローレベルとなったときには、遅滞なくトランジスタ11がオンされる。   In the driver 41a configured as described above, when the input signal (upper drive signal IN_H) from the selector 81 becomes a low level, the transistor P1a is turned on and the transistor N1a is turned off. At this time, the voltage applied to the input terminal of the inverter INV1a immediately becomes high level via the transistor P1a, and the gate signal G11 output from the output terminal of the inverter INV1a immediately becomes low level. Therefore, when the input signal from the selector 81 becomes low level, the transistor 11 is turned on without delay.

一方、上記構成から成るドライバ41aにおいて、セレクタ81からの入力信号がハイレベルとなった場合には、トランジスタP1aがオフされ、トランジスタN1aがオンされる。このとき、インバータINV1aの入力端に印加される電圧は、抵抗R1aとトランジスタN1aを介して緩やかにローレベルに立ち下がり、インバータINV1aの出力端から出力されるゲート信号G11は、所定の遅延を持ってハイレベルとなる。従って、セレクタ81からの入力信号がハイレベルとなったときには、その時点から所定時間d11の経過後にトランジスタ11がオフされる。   On the other hand, in the driver 41a configured as described above, when the input signal from the selector 81 becomes high level, the transistor P1a is turned off and the transistor N1a is turned on. At this time, the voltage applied to the input terminal of the inverter INV1a gently falls to a low level via the resistor R1a and the transistor N1a, and the gate signal G11 output from the output terminal of the inverter INV1a has a predetermined delay. Become high level. Therefore, when the input signal from the selector 81 becomes high level, the transistor 11 is turned off after a predetermined time d11 has elapsed since that time.

また、上記構成から成るドライバ41bにおいて、遅延回路91からの入力信号(上側駆動信号IN_H)がローレベルとなった場合には、トランジスタP1bがオンし、トランジスタN1bがオフする。このとき、インバータINV1bの入力端に印加される電圧は、抵抗R1bとトランジスタP1bを介して緩やかにハイレベルに立ち上がり、インバータINV1bの出力端から出力されるゲート信号G21は、所定の遅延を持ってローレベルとなる。従って、遅延回路91からの入力信号がローレベルとなったときには、その時点から所定時間d21の経過後にトランジスタ21がオンされる。   In the driver 41b configured as described above, when the input signal (upper drive signal IN_H) from the delay circuit 91 becomes low level, the transistor P1b is turned on and the transistor N1b is turned off. At this time, the voltage applied to the input terminal of the inverter INV1b gradually rises to a high level via the resistor R1b and the transistor P1b, and the gate signal G21 output from the output terminal of the inverter INV1b has a predetermined delay. Become low level. Therefore, when the input signal from the delay circuit 91 becomes low level, the transistor 21 is turned on after a predetermined time d21 has elapsed since that time.

一方、上記構成から成るドライバ41bにおいて、遅延回路91からの入力信号がハイレベルとなった場合には、トランジスタP1bがオフされ、トランジスタN1bがオンされる。このとき、インバータINV1bの入力端に印加される電圧は、トランジスタN1bを介して即座にローレベルとなり、インバータINV1bの出力端から出力されるゲート信号G11は、即座にハイレベルとなる。従って、遅延回路91からの入力信号がハイレベルとなったときには、遅滞なくトランジスタ21がオフされる。   On the other hand, in the driver 41b having the above configuration, when the input signal from the delay circuit 91 becomes high level, the transistor P1b is turned off and the transistor N1b is turned on. At this time, the voltage applied to the input terminal of the inverter INV1b immediately becomes low level via the transistor N1b, and the gate signal G11 output from the output terminal of the inverter INV1b immediately becomes high level. Therefore, when the input signal from the delay circuit 91 becomes high level, the transistor 21 is turned off without delay.

また、上記構成から成るドライバ42aにおいて、セレクタ82からの入力信号(下側駆動信号IN_L)がローレベルとなった場合には、トランジスタP2aがオンし、トランジスタN2aがオフする。このとき、インバータINV2aの入力端に印加される電圧は、抵抗R2aとトランジスタP2aを介して緩やかにハイレベルに立ち上がり、インバータINV2aの出力端から出力されるゲート信号G12は、所定の遅延を持ってローレベルとなる。従って、セレクタ82からの入力信号がローレベルとなったときには、その時点から所定時間d12の経過後にトランジスタ12がオフされる。   Further, in the driver 42a configured as described above, when the input signal (lower drive signal IN_L) from the selector 82 becomes low level, the transistor P2a is turned on and the transistor N2a is turned off. At this time, the voltage applied to the input terminal of the inverter INV2a gradually rises to a high level via the resistor R2a and the transistor P2a, and the gate signal G12 output from the output terminal of the inverter INV2a has a predetermined delay. Become low level. Therefore, when the input signal from the selector 82 becomes a low level, the transistor 12 is turned off after a predetermined time d12 has elapsed since that time.

一方、上記構成から成るドライバ42aにおいて、セレクタ82からの入力信号がハイレベルとなった場合には、トランジスタP2aがオフされ、トランジスタN2aがオンされる。このとき、インバータINV2aの入力端に印加される電圧は、トランジスタN2aを介して即座にローレベルとなり、インバータINV2aの出力端から出力されるゲート信号G12は、即座にハイレベルとなる。従って、セレクタ82からの入力信号がハイレベルとなったときには、遅滞なくトランジスタ12がオンされる。   On the other hand, in the driver 42a configured as described above, when the input signal from the selector 82 becomes high level, the transistor P2a is turned off and the transistor N2a is turned on. At this time, the voltage applied to the input terminal of the inverter INV2a immediately becomes low level via the transistor N2a, and the gate signal G12 output from the output terminal of the inverter INV2a immediately becomes high level. Therefore, when the input signal from the selector 82 becomes high level, the transistor 12 is turned on without delay.

また、上記構成から成るドライバ42bにおいて、遅延回路92からの入力信号(下側駆動信号IN_H)がローレベルとなった場合には、トランジスタP2bがオンし、トランジスタN2bがオフする。このとき、インバータINV2bの入力端に印加される電圧は、トランジスタP2bを介して即座にハイレベルとなり、インバータINV2bの出力端から出力されるゲート信号G22は即座にローレベルとなる。従って、遅延回路92からの入力信号がローレベルとなったときには、遅滞なくトランジスタ22がオフされる。   In the driver 42b having the above-described configuration, when the input signal (lower drive signal IN_H) from the delay circuit 92 becomes low level, the transistor P2b is turned on and the transistor N2b is turned off. At this time, the voltage applied to the input terminal of the inverter INV2b immediately becomes high level via the transistor P2b, and the gate signal G22 output from the output terminal of the inverter INV2b immediately becomes low level. Therefore, when the input signal from the delay circuit 92 becomes low level, the transistor 22 is turned off without delay.

一方、上記構成から成るドライバ42bにおいて、遅延回路92からの入力信号がハイレベルとなった場合には、トランジスタP2bがオフされ、トランジスタN2bがオンされる。このとき、インバータINV2bの入力端に印加される電圧は、抵抗R2bとトランジスタN2bを介して緩やかにローレベルに立ち下がり、インバータINV2bの出力端から出力されるゲート信号G22は、所定の遅延を持ってハイレベルとなる。従って、遅延回路92からの入力信号がハイレベルとなったときには、その時点から所定時間d22の経過後にトランジスタ22がオンされる。   On the other hand, in the driver 42b having the above configuration, when the input signal from the delay circuit 92 becomes high level, the transistor P2b is turned off and the transistor N2b is turned on. At this time, the voltage applied to the input terminal of the inverter INV2b gently falls to a low level via the resistor R2b and the transistor N2b, and the gate signal G22 output from the output terminal of the inverter INV2b has a predetermined delay. Become high level. Accordingly, when the input signal from the delay circuit 92 becomes a high level, the transistor 22 is turned on after a predetermined time d22 has elapsed since that time.

図7は、上記で説明したドライバ41a、41b、42a、42bの各出力動作を示すタイミングチャートであり、上から順に、上側駆動信号IN_H、ゲート信号G11、ゲート信号G21、下側駆動信号IN_L、ゲート信号G12、及び、ゲート信号G22が示されている。   FIG. 7 is a timing chart showing the output operations of the drivers 41a, 41b, 42a, and 42b described above. From the top, the upper drive signal IN_H, the gate signal G11, the gate signal G21, the lower drive signal IN_L, A gate signal G12 and a gate signal G22 are shown.

図7のタイミングチャートでも明示されているように、本構成例の半導体装置1において、ドライバ41a及び42aを含む上側駆動回路は、トランジスタ11とトランジスタ21の双方を上側駆動信号IN_Hに応じてオン/オフさせる際に、トランジスタ11をオンさせてからトランジスタ21をオンさせ、また、トランジスタ21をオフさせてからトランジスタ11をオフさせる構成とされている。また、ドライバ41b及び42bを含む下側駆動回路は、トランジスタ12とトランジスタ22の双方を下側駆動信号IN_Lに応じてオン/オフさせる際に、トランジスタ12をオンさせてからトランジスタ22をオンさせ、また、トランジスタ22をオフさせてからトランジスタ12をオフさせる構成とされている。   As clearly shown in the timing chart of FIG. 7, in the semiconductor device 1 of this configuration example, the upper drive circuit including the drivers 41a and 42a turns both the transistor 11 and the transistor 21 on / off according to the upper drive signal IN_H. When turning off, the transistor 11 is turned on and then the transistor 21 is turned on, and the transistor 21 is turned off and then the transistor 11 is turned off. The lower drive circuit including the drivers 41b and 42b turns on the transistor 22 after turning on the transistor 12 when turning on / off both the transistor 12 and the transistor 22 according to the lower drive signal IN_L. In addition, the transistor 12 is turned off after the transistor 22 is turned off.

このような構成とすることにより、一の上側駆動信号IN_Hに対するトランジスタ11及び21のオン/オフタイミングのずれ、ないしは、一の下側駆動信号IN_Lに対するトランジスタ12及び22のオン/オフタイミングのずれが完全に解消されない場合であっても、トランジスタ11ないしがオフされた状態でトランジスタ21ないし22がオンされる状況は生じ得ないので、過電流保護回路70の誤動作を回避することができる。   With such a configuration, a shift in the on / off timing of the transistors 11 and 21 with respect to one upper drive signal IN_H or a shift in the on / off timing of the transistors 12 and 22 with respect to one lower drive signal IN_L. Even if it is not completely eliminated, a situation in which the transistors 21 to 22 are turned on in a state where the transistors 11 to 11 are turned off cannot occur, so that the malfunction of the overcurrent protection circuit 70 can be avoided.

最後に、半導体装置1の使用例について、図8A〜図8Dを参照して説明する。   Finally, usage examples of the semiconductor device 1 will be described with reference to FIGS. 8A to 8D.

図8Aは、半導体装置1の第1使用例(同期整流型降圧DC/DCコントローラとしての使用例)を示す図である。この第1使用例において、外部端子T1は、入力電圧Vinの入力端に接続される。外部端子T2は、コイルL1の第1端に接続される。外部端子T3は、接地端に接続される。コイルL1の第2端は、出力電圧Voutの出力端に接続される。コンデンサC1の第1端は、出力電圧Voutの出力端に接続される。コンデンサC1の第2端は、接地端に接続される。なお、本図には示されていないが、出力電圧Voutを所定の目標値に維持するためには、制御回路60を用いた出力帰還制御を行う必要があるが、これについては周知技術を適用すれば足りるため、詳細な説明は割愛する。   FIG. 8A is a diagram illustrating a first usage example (usage example as a synchronous rectification step-down DC / DC controller) of the semiconductor device 1. In this first usage example, the external terminal T1 is connected to the input terminal of the input voltage Vin. The external terminal T2 is connected to the first end of the coil L1. The external terminal T3 is connected to the ground terminal. The second end of the coil L1 is connected to the output end of the output voltage Vout. The first end of the capacitor C1 is connected to the output end of the output voltage Vout. The second end of the capacitor C1 is connected to the ground end. Although not shown in the figure, in order to maintain the output voltage Vout at a predetermined target value, it is necessary to perform output feedback control using the control circuit 60, and a known technique is applied to this. A detailed explanation is omitted because it is sufficient.

図8Bは、半導体装置1の第2使用例(非同期整流型降圧DC/DCコントローラとしての使用例)を示す図である。この第2使用例において、外部端子T1は、入力電圧Vinの入力端に接続される。外部端子T2は、コイルL2の第1端とダイオードD1のカソードに接続される。外部端子T3は、接地端とダイオードD1のアノードに接続される。コイルL2の第2端は、出力電圧Voutの出力端に接続される。コンデンサC2の第1端は、出力電圧Voutの出力端に接続される。コンデンサC2の第2端は、接地端に接続される。なお、半導体装置1の第2使用例では、トランジスタ12とこれに関連する回路要素(トランジスタ22、ドライバ42a及び42b、セレクタ82、並びに、遅延回路92)が不要となる。また、先述の第1使用例と同じく、出力電圧Voutを所定の目標値に維持するためには、制御回路60を用いた出力帰還制御を行う必要があるが、これについては周知技術を適用すれば足りるため、詳細な説明は割愛する。   FIG. 8B is a diagram illustrating a second usage example (usage example as an asynchronous rectification step-down DC / DC controller) of the semiconductor device 1. In this second usage example, the external terminal T1 is connected to the input terminal of the input voltage Vin. The external terminal T2 is connected to the first end of the coil L2 and the cathode of the diode D1. The external terminal T3 is connected to the ground terminal and the anode of the diode D1. The second end of the coil L2 is connected to the output end of the output voltage Vout. The first end of the capacitor C2 is connected to the output end of the output voltage Vout. The second end of the capacitor C2 is connected to the ground end. In the second usage example of the semiconductor device 1, the transistor 12 and related circuit elements (the transistor 22, the drivers 42 a and 42 b, the selector 82, and the delay circuit 92) are unnecessary. In addition, as in the first usage example described above, in order to maintain the output voltage Vout at a predetermined target value, it is necessary to perform output feedback control using the control circuit 60. For this, a known technique is applied. Detailed explanation is omitted.

図8Cは、半導体装置1の第3使用例(非同期整流型昇圧DC/DCコントローラとしての使用例)を示す図である。この第3使用例において、外部端子T1は、入力電圧Vinの入力端とコイルL3の第1端に接続される。外部端子T2は、コイルL3の第2端とダイオードD2のアノードに接続される。外部端子T3は、接地端に接続される。ダイオードD2のカソードは、出力電圧Voutの出力端に接続される。コンデンサC3の第1端は、出力電圧Voutの出力端に接続される。コンデンサC3の第2端は、接地端に接続される。なお、半導体装置1の第3使用例では、トランジスタ11とこれに関連する回路要素(トランジスタ21、ドライバ41a及び41b、セレクタ81、並びに、遅延回路91)が不要となる。また、先述の第1使用例及び第2使用例と同じく、出力電圧Voutを所定の目標値に維持するためには、制御回路60を用いた出力帰還制御を行う必要があるが、これについては周知技術を適用すれば足りるため、詳細な説明は割愛する。   FIG. 8C is a diagram illustrating a third usage example of the semiconductor device 1 (usage example as an asynchronous rectification step-up DC / DC controller). In the third usage example, the external terminal T1 is connected to the input end of the input voltage Vin and the first end of the coil L3. The external terminal T2 is connected to the second end of the coil L3 and the anode of the diode D2. The external terminal T3 is connected to the ground terminal. The cathode of the diode D2 is connected to the output terminal of the output voltage Vout. A first terminal of the capacitor C3 is connected to an output terminal of the output voltage Vout. The second end of the capacitor C3 is connected to the ground end. In the third usage example of the semiconductor device 1, the transistor 11 and circuit elements related thereto (transistor 21, drivers 41 a and 41 b, selector 81, and delay circuit 91) are not necessary. Further, as in the first usage example and the second usage example described above, in order to maintain the output voltage Vout at a predetermined target value, it is necessary to perform output feedback control using the control circuit 60. Since it is sufficient to apply a known technique, a detailed description is omitted.

図8Dは、半導体装置1の第4使用例(DCモータドライバとしての使用例)を示す図である。なお、DCモータドライバとして半導体装置1を用いる場合には、本図に示すように、半導体装置1にモータコイルL4の両端が各々接続される2つの外部端子T2x及びT2yを用意しておき、さらに、半導体装置1の内部には、モータコイルL4に対してHブリッジ型に接続される出力段(トランジスタ11x及び12xと、トランジスタ11y及び12y)を内蔵しておけばよい。すなわち、半導体装置1の第4使用例では、2系統の外部端子T2x及びT2yが設けられたことに伴い、先出の図1で示した回路要素も基本的に2系統分必要となる。ただし、センス抵抗31及び32、レベルシフタ50、制御回路60、及び、過電流保護回路70については、両系統で共通に設けてもよい。   FIG. 8D is a diagram illustrating a fourth usage example (usage example as a DC motor driver) of the semiconductor device 1. When the semiconductor device 1 is used as a DC motor driver, two external terminals T2x and T2y to which both ends of the motor coil L4 are respectively connected are prepared for the semiconductor device 1 as shown in FIG. In the semiconductor device 1, an output stage (transistors 11x and 12x and transistors 11y and 12y) connected to the motor coil L4 in an H-bridge type may be incorporated. That is, in the fourth usage example of the semiconductor device 1, the two circuit terminals shown in FIG. 1 are basically required for the two external terminals T2x and T2y. However, the sense resistors 31 and 32, the level shifter 50, the control circuit 60, and the overcurrent protection circuit 70 may be provided in common in both systems.

なお、上記の第1使用例から第4使用例は、あくまでも例示であって、半導体装置1の用途は上記に限定されるものではなく、その用途に応じて、半導体装置1の回路構成に種々の変形を加えることができることは言うまでもない。   The first to fourth usage examples described above are merely examples, and the use of the semiconductor device 1 is not limited to the above. Various circuit configurations of the semiconductor device 1 can be used depending on the use. It goes without saying that the deformation of can be added.

すなわち、本発明の構成は、上記実施形態のほか、発明の主旨を逸脱しない範囲で種々の変更を加えることが可能である。このように、上記実施形態は、全ての点で例示であって、制限的なものではないと考えられるべきであり、本発明の技術的範囲は、上記実施形態の説明ではなく、特許請求の範囲によって示されるものであり、特許請求の範囲と均等の意味及び範囲内に属する全ての変更が含まれると理解されるべきである。   That is, the configuration of the present invention can be variously modified in addition to the above-described embodiment without departing from the spirit of the invention. As described above, the above embodiments are examples in all respects and should not be considered to be restrictive, and the technical scope of the present invention is not the description of the above embodiments, but the claims. It is to be understood that all changes that come within the scope of the claims, are equivalent in meaning to the claims, and fall within the scope of the claims.

本発明は、例えば、過電流保護回路を備えた半導体装置(スイッチングレギュレータICやモータドライバICなど)に利用することが可能である。   The present invention can be used, for example, in a semiconductor device (such as a switching regulator IC or a motor driver IC) provided with an overcurrent protection circuit.

1 半導体装置
11、11x、11y 上側メイントランジスタ(PMOSFET)
12、12x、12y 下側メイントランジスタ(NMOSFET)
21 上側サブトランジスタ(PMOSFET)
22 下側サブトランジスタ(NMOSFET)
31、32 センス抵抗
41a 上側メインドライバ
41b 下側メインドライバ
42a 上側サブドライバ
42b 下側サブドライバ
50 レベルシフタ
60 制御回路(ロジック回路)
70 過電流保護回路
81、82 セレクタ
91、92 遅延回路
T1〜T5、T2x、T2y 外部端子
2 試験装置
X1 電流源
X2 電圧計
X3 テストシーケンサ
P1a、P1b、P2a、P2b PMOSFET
N1a、N1b、N2a、N2b NMOSFET
R1a、R1b、R2a、R2b 抵抗
INV1a、INV1b、INV2a、INV2b インバータ
L1、L2、L3、L4 コイル
C1、C2、C3 コンデンサ
D1、D2 ダイオード
1 Semiconductor device 11, 11x, 11y Upper main transistor (PMOSFET)
12, 12x, 12y Lower main transistor (NMOSFET)
21 Upper sub-transistor (PMOSFET)
22 Lower sub-transistor (NMOSFET)
31, 32 Sense resistor 41a Upper main driver 41b Lower main driver 42a Upper sub driver 42b Lower sub driver 50 Level shifter 60 Control circuit (logic circuit)
70 Overcurrent protection circuit 81, 82 Selector 91, 92 Delay circuit T1 to T5, T2x, T2y External terminal 2 Test device X1 Current source X2 Voltmeter X3 Test sequencer P1a, P1b, P2a, P2b PMOSFET
N1a, N1b, N2a, N2b NMOSFET
R1a, R1b, R2a, R2b Resistor INV1a, INV1b, INV2a, INV2b Inverter L1, L2, L3, L4 Coil C1, C2, C3 Capacitor D1, D2 Diode

Claims (12)

第1外部端子と;
第2外部端子と;
前記第1外部端子と前記第2外部端子との間に接続され、メイン電流を流すためのメイントランジスタと;
前記第1外部端子と前記第2外部端子との間に接続され、前記メイン電流と同様の挙動を示すサブ電流を流すためのサブトランジスタと;
前記メイントランジスタと前記サブトランジスタの双方に共通の駆動信号を生成する制御回路と;
前記サブ電流と所定のサブ電流用閾値とを比較して過電流保護信号を生成し、これを前記制御回路に出力する過電流保護回路と;
前記メイントランジスタと前記サブトランジスタの双方を前記駆動信号に応じてオン/オフさせるか、前記メイントランジスタを前記駆動信号に依らずオフとし、前記サブトランジスタのみを前記駆動信号に応じてオン/オフさせるかを、所定の切替信号に基づいて決定する駆動回路と;
を有することを特徴とする半導体装置。
A first external terminal;
A second external terminal;
A main transistor connected between the first external terminal and the second external terminal for flowing a main current;
A sub-transistor connected between the first external terminal and the second external terminal for passing a sub-current that exhibits the same behavior as the main current;
A control circuit for generating a drive signal common to both the main transistor and the sub-transistor;
An overcurrent protection circuit that compares the subcurrent with a predetermined threshold for subcurrent to generate an overcurrent protection signal and outputs the signal to the control circuit;
Both the main transistor and the sub-transistor are turned on / off according to the drive signal, or the main transistor is turned off regardless of the drive signal, and only the sub-transistor is turned on / off according to the drive signal. A driving circuit for determining whether or not based on a predetermined switching signal;
A semiconductor device comprising:
前記駆動回路は、
前記切替信号に基づいて、前記駆動信号と、前記メイントランジスタをオフとする論理信号の一方を出力するセレクタと;
前記セレクタの出力に応じて前記メイントランジスタを駆動するメインドライバと;
前記駆動信号に応じて前記サブトランジスタを駆動するサブドライバと;
を有することを特徴とする請求項1に記載の半導体装置。
The drive circuit is
A selector that outputs one of the drive signal and a logic signal for turning off the main transistor based on the switching signal;
A main driver for driving the main transistor in accordance with the output of the selector;
A sub-driver for driving the sub-transistor in response to the drive signal;
The semiconductor device according to claim 1, comprising:
前記駆動回路は、前記駆動信号の電圧レベルを前記メインドライバ及び前記サブドライバへの入力に適した電圧レベルに変換するレベルシフタを有することを特徴とする請求項2に記載の半導体装置。   The semiconductor device according to claim 2, wherein the drive circuit includes a level shifter that converts a voltage level of the drive signal into a voltage level suitable for input to the main driver and the sub driver. 前記駆動回路は、前記サブドライバに入力される前記駆動信号に対して、前記セレクタで生じる信号遅延と同等の信号遅延を与える遅延回路を有することを特徴とする請求項2または請求項3に記載の半導体装置。   4. The delay circuit according to claim 2, wherein the drive circuit includes a delay circuit that gives a signal delay equivalent to a signal delay generated by the selector to the drive signal input to the sub-driver. Semiconductor device. 前記メインドライバは、その入力信号が前記メイントランジスタをオンとする論理レベルとなったときには、遅滞なく前記メイントランジスタをオンさせる一方、その入力信号が前記メイントランジスタをオフとする論理レベルとなったときには、その時点から所定時間の経過後に前記メイントランジスタをオフさせ、
前記サブドライバは、その入力信号が前記サブトランジスタをオンとする論理レベルとなったときには、その時点から所定時間の経過後に前記サブトランジスタをオンさせる一方、その入力信号が前記サブトランジスタをオフとする論理レベルとなったときには、遅滞なく前記サブトランジスタをオフさせる、
ことを特徴とする請求項2〜請求項4のいずれかに記載の半導体装置。
The main driver turns on the main transistor without delay when the input signal becomes a logic level for turning on the main transistor, while the input signal becomes a logic level for turning off the main transistor. The main transistor is turned off after a lapse of a predetermined time from that point,
When the input signal becomes a logic level for turning on the sub-transistor, the sub-driver turns on the sub-transistor after a lapse of a predetermined time from that point, while the input signal turns off the sub-transistor. When the logic level is reached, the sub-transistor is turned off without delay.
The semiconductor device according to claim 2, wherein:
前記制御回路から前記メイントランジスタに至る信号経路と、前記制御回路から前記サブトランジスタに至る信号経路は、互いに対称性を持って敷設されていることを特徴とする請求項1〜請求項5のいずれかに記載の半導体装置。   6. The signal path from the control circuit to the main transistor and the signal path from the control circuit to the sub-transistor are laid with symmetry to each other. A semiconductor device according to claim 1. 前記駆動回路は、前記メイントランジスタと前記サブトランジスタの双方を前記駆動信号に応じてオン/オフさせる際、前記メイントランジスタをオンさせてから前記サブトランジスタをオンさせ、また、前記サブトランジスタをオフさせてから前記メイントランジスタをオフさせることを特徴とする請求項1〜請求項6のいずれかに記載の半導体装置。   The drive circuit turns on the sub-transistor after turning on the main transistor and turns off the sub-transistor when turning on / off both the main transistor and the sub-transistor according to the drive signal. The semiconductor device according to claim 1, wherein the main transistor is turned off after that. 前記切替信号は、前記制御回路から出力されることを特徴とする請求項1〜請求項7のいずれかに記載の半導体装置。   The semiconductor device according to claim 1, wherein the switching signal is output from the control circuit. 前記制御回路は、
前記半導体装置の外部から入力されるテスト命令に基づいて、
前記メイントランジスタと前記サブトランジスタの双方を前記駆動信号に応じてオンさせる第1ステップと;
前記メイントランジスタを前記駆動信号に依らずオフとし、前記サブトランジスタのみを前記駆動信号に応じてオンさせる第2ステップと;
を順不同で実行するように、前記駆動信号及び前記切替信号を生成することを特徴とする請求項8に記載の半導体装置。
The control circuit includes:
Based on a test command input from the outside of the semiconductor device,
A first step of turning on both the main transistor and the sub-transistor according to the drive signal;
A second step of turning off the main transistor regardless of the drive signal and turning on only the sub-transistor according to the drive signal;
The semiconductor device according to claim 8, wherein the drive signal and the switching signal are generated so as to be executed in any order.
請求項1〜請求項9のいずれかに記載の半導体装置に対して前記テスト命令を出力し、前記過電流保護回路の閾値が正常範囲に収まっているか否かを判定することを特徴とする試験装置。   10. A test comprising: outputting the test command to the semiconductor device according to claim 1 to determine whether or not a threshold value of the overcurrent protection circuit is within a normal range. apparatus. 前記第1外部端子と前記第2外部端子との間に任意のテスト電流を流し込む電流源と;
前記第1外部端子と前記第2外部端子との間の電位差を測定する電圧計と;
前記テスト命令の生成、前記電流源の駆動制御、前記電圧計の測定値取得、及び、前記過電流保護回路の閾値算出を行うテストシーケンサと;
を有することを特徴とする請求項10に記載の試験装置。
A current source for supplying an arbitrary test current between the first external terminal and the second external terminal;
A voltmeter for measuring a potential difference between the first external terminal and the second external terminal;
A test sequencer for generating the test command, driving control of the current source, obtaining a measurement value of the voltmeter, and calculating a threshold value of the overcurrent protection circuit;
The test apparatus according to claim 10, further comprising:
前記テストシーケンサは、
前記制御回路で前記第1ステップを実行させている間には、前記テスト電流を任意の電流値に設定した状態で前記電圧計の測定値を取得することにより、前記メイン電流が流れるメイン電流経路の抵抗値を算出し;
前記制御回路で前記第2ステップを実行させている間には、前記テスト電流を任意の電流値に設定した状態で前記電圧計の測定値を取得することにより、前記サブ電流が流れるサブ電流経路の抵抗値を算出する一方、前記テスト電流を徐々に高めていき、過電流保護動作が発動したときの前記テスト電流の電流値を前記サブ電流用閾値として取得し;
最終的には、前記メイン電流経路の抵抗値、前記サブ電流経路の抵抗値、及び、前記サブ電流用閾値に基づいて、前記メイン電流用閾値を算出し、これが正常範囲に収まっているか否かを判定することを特徴とする請求項11に記載の試験装置。
The test sequencer
While the first step is executed by the control circuit, a main current path through which the main current flows is obtained by acquiring a measurement value of the voltmeter in a state where the test current is set to an arbitrary current value. Calculate the resistance value of
While the second step is executed by the control circuit, a sub current path through which the sub current flows is obtained by acquiring a measurement value of the voltmeter in a state where the test current is set to an arbitrary current value. While gradually increasing the test current to obtain the current value of the test current when the overcurrent protection operation is activated as the sub-current threshold value;
Finally, the main current threshold value is calculated based on the resistance value of the main current path, the resistance value of the sub current path, and the threshold value for the sub current, and whether or not this is within the normal range. The test apparatus according to claim 11, wherein:
JP2010057893A 2010-03-15 2010-03-15 Semiconductor device and testing device of the same Pending JP2011191192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010057893A JP2011191192A (en) 2010-03-15 2010-03-15 Semiconductor device and testing device of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010057893A JP2011191192A (en) 2010-03-15 2010-03-15 Semiconductor device and testing device of the same

Publications (1)

Publication Number Publication Date
JP2011191192A true JP2011191192A (en) 2011-09-29

Family

ID=44796280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010057893A Pending JP2011191192A (en) 2010-03-15 2010-03-15 Semiconductor device and testing device of the same

Country Status (1)

Country Link
JP (1) JP2011191192A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015069993A (en) * 2013-09-26 2015-04-13 日本電気株式会社 Measurement device, semiconductor device, and impedance adjustment method
CN108152567A (en) * 2017-12-24 2018-06-12 佛山中锦微电科技有限公司 Power driving circuit overcurrent protection function lossless detection method and over-current detection module

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015069993A (en) * 2013-09-26 2015-04-13 日本電気株式会社 Measurement device, semiconductor device, and impedance adjustment method
US9702942B2 (en) 2013-09-26 2017-07-11 Nec Corporation Measurement device, semiconductor device and impedance adjustment method
CN108152567A (en) * 2017-12-24 2018-06-12 佛山中锦微电科技有限公司 Power driving circuit overcurrent protection function lossless detection method and over-current detection module
CN108152567B (en) * 2017-12-24 2020-04-14 佛山中锦微电科技有限公司 Nondestructive testing method for overcurrent protection function of power driving circuit

Similar Documents

Publication Publication Date Title
JP5267053B2 (en) Semiconductor test equipment
US8836305B2 (en) DC/DC converter
US8072195B2 (en) Voltage converter
TW201339783A (en) Power supply controlling circuit and loop analyzer using same
US20130106470A1 (en) Control device
US8519730B2 (en) Circuit, system, and method for degradation detection
US8587291B2 (en) Apparatus for diagnosing DC-DC converter and method thereof
US10101369B2 (en) Highly accurate current measurement
EP2950110A1 (en) Broad-range current measurement using duty cycling
EP2952915A1 (en) Broad-range current measurement using variable resistance
JP2011191192A (en) Semiconductor device and testing device of the same
CN106533322B (en) The calculating of switch mosfet temperature in motor control
EP2587888A1 (en) Shunt protection module and method for series connected devices
TWI440292B (en) Switching regulator and control circuit thereof and input voltage detection method therefor
JP5976565B2 (en) Electronic component inspection equipment
US8217673B2 (en) Method and circuit for testing integrated circuit
CN111077382A (en) Reliability test device of coil
JP4989901B2 (en) Semiconductor device and on-resistance measuring method
TW202011034A (en) Current sensor
US11469586B2 (en) Over-current protection circuit
JP6197573B2 (en) Switching element inspection method and electronic circuit unit
JP2004140907A (en) Excess current protection circuit, semiconductor device comprising the same, and method for operation test thereof
JP2008060494A (en) Semiconductor integrated circuit
CN109521350B (en) Measuring apparatus and measuring method
US9870011B2 (en) Circuit arrangement and a method for operating a circuit arrangement