The invention relates to an integrated circuit comprising a first pair of switching devices arranged in series between positive and negative supply terminals and to a method of testing such an integrated circuit.
Class-D amplifiers are commonly used as speaker drivers in consumer, automotive and mobile applications. An essential part of a class-D amplifier is the output stage, a typical example of which is shown in
The gate of the low-side power transistor 2 is controlled by a gate driver 3 that charges the gate to a maximum voltage VGLon to switch it on or shorts the gate to the source to switch it off. The gate driver 4 of the high-side power transistor 1 is complementary. The gate drivers are controlled by a switch control logic circuit 5.
Also shown in
Similar circuits to this output stage are also used in switch mode power supply controller devices.
Integrated circuits comprising this kind of output stage are produced in high volumes and in order to guarantee the quality of each product they are industrially tested on wafer, i.e. before sawing and packaging. Industrial testing is done with dedicated test equipment, known as a tester, that includes programmable signal and supply generators, voltage and current meters and digital interfaces. The individual integrated circuits are contacted with needle probes that are precisely arranged on a so-called probe card to exactly match the positions of the bonding pads of the integrated circuits under test.
The power transistors in a class-D output stage cover a substantial chip area and are tested thoroughly for gate-leakage and on-resistance. For the on-resistance test the power transistor to be tested is switched on and the drain-source voltage is measured while a large current is applied. Preferably, the current is equal or close to the over-current threshold. This makes the measurement representative of a realistic application and allows for testing of the over-current detection circuitry. However, the maximum current that can be handled by the needle probes is usually less than the over-current threshold of the power transistors. This problem is solved by splitting the power transistor into M smaller sections that can be tested sequentially at M times a smaller current. The measurement current is controlled by using an array of external resistors that can be switched using relays.
In a typical case, the power transistor has 8 sections that are switched on one at a time. The current is increased stepwise by closing relays until the over-current detection is triggered. The external current is supplied and measured by an instrument known as a controlled voltage-current source-meter (CVI). The drain-source voltage is measured by means of an analogue multiplexer that connects the drain and source of the power transistor to a test pin or pad. The resistors and relays are assembled on a circuit board called a handler that also contains the probe card and serves as an interface between the device under test (DUT) and the tester.
The cost of the industrial test is a significant part of the total product price and is proportional to the total time of the test. In order to speed up test time it is advantageous to test DUTs in parallel. Preferably, multiple DUTs are contacted with one single probe card to enable parallel testing of devices. However, the amount of space on the handler is limited. In some cases this means that the external hardware required to do the on-resistance measurements is actually the limiting factor in the number of devices that can be tested in parallel.
Another problem relates to the speed and accuracy of measurement. The procedure of decreasing the external resistance by subsequently closing relays is relatively slow and has limited resolution.
According to a first aspect of the invention, there is provided an integrated circuit comprising a first pair of switching devices arranged in series between positive and negative supply terminals, wherein the integrated circuit is switchable between an operational mode, in which the first pair of switching devices are driven to couple either the positive or negative supply terminal to an output terminal, and a test mode, in which a current source on the integrated circuit is driven to cause a desired current to flow in a first one of the first pair of switching devices.
By making use of an integrated current source instead of using external switchable resistors, the invention overcomes the problems set out above as all external components on the handler can be eliminated. Furthermore, the use of relays is avoided, thereby speeding up the testing procedure.
Typically, the current source is the second one of the first pair of switching devices. Thus, the complementary power transistor may be used as the current source to cause the desired current to flow in the first one of the first pair of switching devices.
Alternatively, the current source is one of a second pair of switching devices on the integrated circuit. In this case, an external connection will be provided that connects the output terminals of the first and second pairs of switching devices so that a current path exists between the two. This has the advantage that the connection to the output terminals is also stressed and tested.
In another embodiment, the current source is a plurality of switching devices, each forming one of a plurality of pairs of switching devices on the integrated circuit. This has the advantage that the power dissipation in the current source during the test is distributed over a larger area, which reduces the temperature increase.
Typically, the first pair of switching devices is a pair of complementary MOSFET transistors.
The integrated circuit may further comprise an over-current detection circuit adapted to detect an excessive current flowing in the first one of the first pair of switching devices when in the operational mode and to drive the current source to cause the desired current to flow when in the test mode. By “excessive current”, we mean a current in excess of an over-current limit or threshold. The current can be regulated to the desired current by using the over-current detection circuit as error amplifier in a feedback loop. By regulating the desired current to a level just below and subsequently just above the over-current threshold the functionality of the over-current detection is tested without the need for a sequence in the test program to determine this level by switching a resistor bank.
The over-current detection circuit preferably comprises a transconductance amplifier configured, when in the test mode, to drive the current source with a signal representing the difference between the voltage at the output terminal and a reference voltage, and a voltage offset circuit controllable to add or subtract an offset voltage from the difference.
The transconductance amplifier and voltage offset circuit are typically configured to enter a high impedance state when in the operational mode.
The integrated circuit normally further comprises a driver circuit for driving the second one of the first pair of switching devices when in the operational mode, wherein the driver circuit is configured to enter a high impedance state when in the test mode.
The integrated circuit may further comprise an analogue multiplexer for measuring the voltage across the first one and/or the second one of the first pair of switching devices. The on-resistance can be calculated as the ratio of the measured voltage (e.g. the drain-source voltage when the switching devices are MOSFETs) and the supply current.
The first pair of switching devices typically forms part of a class-D audio amplifier or of a switch mode power supply controller.
In accordance with a second aspect of the invention, there is provided a method of testing an integrated circuit according to the first aspect of the invention, the method comprising switching the integrated circuit into the test mode, driving the current source on the integrated circuit to cause the desired current to flow in the first one of the first pair of switching devices, and analysing an output signal in accordance with a predetermined test protocol.
In one embodiment, the desired current is in excess of an over-current limit and the output signal is an over-current detection signal indicating that an excessive current is flowing in the first one of the first pair of switching devices.
In another embodiment, the output signal is the voltage across the first one of the first pair of switching devices. This enables the on-resistance to be calculated from the output signal representing the voltage across the first one of the first pair of switching devices and the current supplied to the first one of the first pair of switching devices.
Examples of the invention will now be described in detail with reference to the accompanying drawings, in which:
In
In the test mode, the PMOS power transistor 11 is biased by a voltage source 13, also on the integrated circuit, to act as a current source for use in on-resistance measurement of the NMOS power transistor 12. The path of the current is shown in
There are various ways in which the appropriate control voltage Vctrl can be generated to drive the gate of the PMOS power transistor 11. A particularly advantageous way is to use an over-current detection circuit integrated with the NMOS power transistor 12 as shown in
The over-current detection circuit comprises an NMOS reference transistor 17 that has a width to length aspect ratio N times smaller than that of NMOS power transistor 12 and a reference current source 18 in series with the reference transistor 17. The reference current, IREF, is selected to be N times smaller than the over-current limit or threshold of NMOS power transistor 12 such that the drain-source voltage of both the NMOS power transistor 12 and the NMOS reference transistor 17 will be the same when the current flowing through the NMOS power transistor 12 reaches the over-current limit. A linear amplifier 19 amplifies the voltage difference between VOUT (the drain voltage of the NMOS power transistor 12) and VREF (the drain voltage of the NMOS reference transistor 17). The output from the linear amplifier 19 is coupled to a comparator 20 that is triggered when VOUT exceeds VREF and causes the driver circuit to shut down to prevent NMOS power transistor 12 from being damaged.
The amplified voltage difference at the output of linear amplifier 19 is also used to drive an operational transconductance amplifier (OTA) 21 that controls the gate voltage of the PMOS power transistor 11. An offset circuit 22 applies a small offset voltage VOFFSET to the input of OTA 21. The polarity of VOFFSET can be switched. Thus, the current through PMOS power transistor 11 is, depending on the sign of VOFFSET, set to just below or just above the over-current threshold N*IREF. In this way, the functionality of the over-current detection circuit can be tested.
The stability of the feedback loop formed by the addition of OTA 21 and offset circuit 22 to the over-current detection circuit is guaranteed by a dominant pole formed by OTA 21 and the very large input capacitance of PMOS power transistor 11.
Clearly, a complementary loop can be used to measure the on-resistance and over-current threshold level of the PMOS power transistor 11. In this case the NMOS power transistor 12 is used as the current source.
When in the test mode as shown in
A very simple circuit for an OTA that has a controllable offset voltage is shown in
As an alternative to the configuration shown in
Another alternative is to use the PMOS power transistors of all available class-D output stages together as a single current source. This has the advantage that the dissipation in the PMOS power transistors during the test is distributed over a larger area, which reduces the temperature increase.
This type of half-bridge is found in class-D audio amplifiers and DC-DC converters, and the invention can be applied in both types of circuit.
Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practising the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measured cannot be used to advantage. Any reference signs in the claims should not be construed as limiting the scope.
Number | Date | Country | Kind |
---|---|---|---|
11178768.5 | Aug 2011 | EP | regional |