Current Measuring Circuit

20230194595 · 2023-06-22

    Inventors

    Cpc classification

    International classification

    Abstract

    A circuit includes a power transistor having a main current path between a first supply node and an output pin for connecting a load. A resistance formed by a chip metallization is arranged between the main current path of the power transistor and the output pin. The circuit includes a current measuring circuit coupled to the power transistor and including a sense transistor coupled to the power transistor. The current measuring circuit delivers a measurement current representing a load current flowing through the power transistor. An amplifier circuit generates an amplifier output signal representing the voltage across the resistance, and a control circuit outputs a signal representing the measurement current in a first mode and a signal dependent on the amplifier output signal in a second mode.

    Claims

    1. A circuit comprising: a power transistor having a main current path connected between a first supply node and an output pin for connecting a load, wherein a resistance formed by a chip metallization is arranged between the main current path of the power transistor and the output pin; a current measuring circuit coupled to the power transistor and comprising a sense transistor coupled to the power transistor, wherein the current measuring circuit is configured to deliver a measurement current representing a load current flowing through the power transistor; an amplifier circuit configured to generate an amplifier output signal representing a voltage across the resistance; and a control circuit configured, by electronic switches, to output a signal representing the measurement current in a first mode and a signal dependent on the amplifier output signal in a second mode.

    2. The circuit as claimed in claim 1, wherein the control circuit is configured to output the measurement current in the first mode and an output current of the amplifier circuit in the second mode.

    3. The circuit as claimed in claim 1, wherein the control circuit is configured, with a communication interface, to output a digital value representing the measurement current in the first mode and representing the voltage across the resistance or a resistance value of the resistance in the second mode.

    4. The circuit as claimed in claim 1, wherein the resistance formed by the chip metallization is not a locally embodied resistance, but rather is distributed over the chip metallization.

    5. The circuit as claimed in claim 1, wherein the resistance formed by the chip metallization is formed by that part of the metallization which, during operation of the power transistor, is exposed to thermal loading.

    6. The circuit as claimed in claim 1, wherein a first terminal of the resistance is arranged in a vicinity of a chip contact location and a second terminal of the resistance is arranged in a vicinity of the control circuit.

    7. The circuit as claimed in claim 6, wherein a distance between the first terminal of the resistance and a bond wire contact location is smaller than three layer thicknesses of the chip metallization, and wherein a distance between the second terminal of the resistance and the control circuit is smaller than three layer thicknesses.

    8. The circuit as claimed in claim 1, wherein the chip metallization has a layer thickness of 2-50 μm.

    9. The circuit as claimed in claim 1, wherein the current measuring circuit comprises an output transistor coupled to the sense transistor such that substantially the measurement current flows through the sense transistor and the output transistor; and wherein the current measuring circuit comprises an operational amplifier configured to drive the output transistor such that the power transistor and the sense transistor are operated substantially at the same operating point.

    10. The circuit as claimed in claim 1, wherein the current measuring circuit comprises an output transistor coupled to the sense transistor such that substantially the measurement current flows through the sense transistor and the output transistor; and wherein the current measuring circuit comprises an operational amplifier configured to drive the output transistor such that the measurement current is substantially proportional to a load current through the power transistor.

    11. The circuit as claimed in claim 9, wherein the operational amplifier is part of the amplifier circuit in the second mode; and wherein the control circuit is furthermore configured, in the second mode, to couple the operational amplifier to the resistance such that the operational amplifier amplifies the voltage across the resistance.

    12. The circuit as claimed in claim 1, wherein the control circuit is furthermore configured to receive a diagnosis signal via a communication connection and to switch to the first or the second mode depending on the diagnosis signal.

    13. A method comprising: providing a measurement current by a current measuring circuit comprising a sense transistor coupled to a power transistor, outputting a signal representing the measurement current in a first mode of an integrated circuit containing the power transistor and the sense transistor; amplifying a voltage across a resistance arranged between a main current path of the power transistor and an output pin and formed by a chip metallization; and outputting a signal representing the amplified voltage in a second mode of the integrated circuit.

    14. The method as claimed in claim 13, wherein the measurement current is output at a sense pin in the first mode, and wherein a current representing the voltage across the resistance is output at the sense pin in the second mode.

    15. The method as claimed in claim 13, furthermore comprising: receiving a diagnosis signal via a communication connection; and switching to the first or the second mode depending on the diagnosis signal.

    16. The method as claimed in claim 13, furthermore comprising: determining a first value representing the measurement current in the first mode; and determining a second value representing the voltage across the resistance in the second mode, and determining a measurement value representing the resistance based on the first and second values.

    17. The method as claimed in claim 16, wherein the measurement value indicates a degradation of the chip metallization.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0009] Exemplary embodiments are explained in greater detail below with reference to drawings. The illustrations are not necessarily true to scale and the exemplary embodiments are not restricted only to the aspects illustrated. Rather, importance is attached to illustrating the principles underlying the exemplary embodiments. With regard to the drawings:

    [0010] FIG. 1 illustrates one example of a current measuring circuit which uses a sense transistor for current measurement;

    [0011] FIG. 2 illustrates the example from FIG. 1 with additional illustration of the resistance of the chip metallization;

    [0012] FIG. 3 is an image, recorded by means of a microscope, of the surface of a semiconductor chip into which the circuit from FIG. 2 is integrated;

    [0013] FIG. 4 is a schematic cross-sectional illustration through a semiconductor chip;

    [0014] FIG. 5 illustrates a circuit in accordance with a first exemplary embodiment;

    [0015] FIG. 6 illustrates a circuit in accordance with a further exemplary embodiment;

    [0016] FIGS. 7A and 7B shows two equivalent circuit diagrams representing the circuit from FIG. 6 in the first and the second operating mode, respectively;

    [0017] FIG. 8 illustrates a variant of the circuit from FIG. 5 with a communication interface for serial data transmission; and

    [0018] FIG. 9 is a flow diagram for illustrating one example of a method which can be carried out using the circuits described here.

    DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

    [0019] FIG. 1 shows one exemplary implementation of a current measuring circuit comprising a sense transistor. In the example illustrated, an electrical load R.sub.LOAD is switched with the aid of a power transistor T.sub.L. The current flowing through the power transistor T.sub.L and hence also through the load R.sub.LOAD is designated by i.sub.LOAD. The power transistor T.sub.L is embodied as a high-side switch. That is to say that the main current path of the power transistor T.sub.L (drain-source current path in the case of a MOS transistor) is connected between a supply terminal VS and an output (output pin OUT), to which the load R.sub.LOAD can be connected.

    [0020] A current measuring circuit, comprising a sense transistor T.sub.S coupled to the power transistor TL, is coupled to the power transistor T.sub.L. The current measuring circuit is configured to deliver a measurement current i.sub.0 representing the load current i.sub.LOAD flowing through the power transistor T.sub.L. As mentioned in the introduction, the measurement current i.sub.0 is approximately proportional to the load current i.sub.LOAD, i.e. i.sub.0=i.sub.LOAD/K (proportionality factor K). For a current measurement, the transistors T.sub.S and T.sub.L must have a similar characteristic and be operated (approximately) at the same operating point. Therefore, the gate electrodes of the two transistors T.sub.L and T.sub.S are connected to one another. Likewise the drain electrodes. Moreover, the drain electrodes of the transistors T.sub.L and T.sub.S are connected to the supply terminal VS, at which a supply voltage V.sub.S is present during operation. In order that both transistors T.sub.L and T.sub.S are operated at the same operating point, the drain-source voltages at both transistors T.sub.L and T.sub.S must also be identical, in an embodiment. This is achieved with the aid of the operational amplifier OA and the further transistor T.sub.0 which together ensure that the source voltage at the sense transistor T.sub.S is regulated to the same value as the source voltage at the power transistor T.sub.L. This is just one example, however. The operational amplifier is not absolutely necessary, Further concepts are also known for ensuring the (approximate) proportionality between measurement current i.sub.0 and load current i.sub.LOAD. The concrete implementation will depend on the requirements of the application.

    [0021] In the example from FIG. 1, the sense transistor T.sub.S and the further transistor T.sub.0 are connected in series, i.e. their drain-source current paths are connected in series and the same measurement current i.sub.0 flows through both transistors T.sub.S and T.sub.0. In the example illustrated, the transistor T.sub.0 is a p-channel transistor, whereas the transistors T.sub.S and T.sub.L are n-channel transistors. The gate of the transistor T.sub.0 is driven by the output signal of the operational amplifier OA, the inputs of the operational amplifier OA being connected to the source electrodes of the transistors T.sub.S and T.sub.L. It goes without saying that the same circuit can also be constructed with a p-channel transistor as power transistor (and sense transistor).

    [0022] The operational amplifier OA comprises a feedback loop with the transistor T.sub.0. The inverting input of the operational amplifier OA is connected to the source electrode of the sense transistor T.sub.S, and the noninverting input of the operational amplifier OA is connected to the source electrode of the power transistor T.sub.L. If the source voltage at the sense transistor T.sub.S is less than the source voltage at the power transistor T.sub.L, then the voltage at the output of the operational amplifier OA rises, as a result of which the gate-source voltage at the transistor T.sub.0 becomes smaller, which has the effect that the on resistance of the transistor T.sub.0 rises. The feedback loop of the operational amplifier OA is stable and, consequently, the operational amplifier OA drives the transistor T.sub.0 such that the voltages at the source electrodes of the transistors T.sub.L and T.sub.S are substantially identical, i.e. differences in the drain-source voltages of power transistor and sense transistor are compensated for. As a result, sense transistor and power transistor operate substantially at the same operating point.

    [0023] In the example illustrated, the measurement current i.sub.0 is output at a sense pin IS. The current that is output is designated i.sub.S in FIG. 1 (i.sub.S=i.sub.0 in the example from FIG. 1). A measuring resistor R.sub.S can be connected to the sense pin IS. The measuring resistor R.sub.S is usually connected between the sense pin IS and a reference voltage (e.g. ground potential, 0 V). The resulting voltage V.sub.S at the sense pin IS is then equal to the product of measurement current i.sub.S and resistance R.sub.S (V.sub.IS=R.sub.S.Math.i.sub.S=i.sub.LOAD.Math.R.sub.S/K).

    [0024] FIG. 2 illustrates the same circuit as from FIG. 1 with the sole difference that a resistance R.sub.MET is depicted between the source electrode of the power transistor T.sub.L and the output pin OUT. Said resistance R.sub.MET is formed by the chip metallization, inter alia, and may thus be regarded as parasitic resistance. The resistances of the interconnects (e.g. vias/plated-through holes connecting different metallization layers) also contribute to the resistance R.sub.MET. The resistance R.sub.MET is a lateral resistance, i.e. the current through the resistance R.sub.MET passes substantially in a lateral direction (i.e. substantially parallel to the chip surface), whereas the transistors T.sub.L and T.sub.S are vertical transistors (see also FIG. 4), in which the current flows substantially “from top to bottom”, that is to say perpendicularly to the chip surface, through the transistor cell array.

    [0025] FIG. 3 shows an enlarged image (photograph), taken by means of a microscope, of the semiconductor chip 100 containing the circuit from FIG. 2. The image of the semiconductor chip reveals the chip metallization 101 covering the majority of the chip surface. Furthermore, FIG. 3 reveals contact locations 102 for bond wires connecting the chip metallization 101 to the output pin OUT of the chip 100. The output pin OUT itself cannot be seen in FIG. 3 because it is usually arranged on a leadframe on which the chip 100 is mounted.

    [0026] Furthermore, FIG. 3 reveals a circuit part 150 including the majority of the circuits required for driving and for operating the power transistor T.sub.L and for the current measurement by means of the sense transistor. The power and sense transistors can be embodied as vertical transistors and be formed by a multiplicity of transistor cells of a cell array. In the case of vertical transistors, the drain-source current path runs from the top side of the semiconductor chip (visible in FIG. 3), through the chip to the underside of the chip. In the example illustrated in FIG. 3, the chip metallization forming the drain electrode of the transistors T.sub.S and T.sub.L is situated on the underside of the chip, whereas the chip metallization 101 (see FIG. 3) of the source electrode is arranged on the top side.

    [0027] A schematic illustration of the resistance R.sub.MET is superimposed on the image of the semiconductor chip 100. At this point it is important to understand that said resistance R.sub.MET is not a specific component embodied (locally) at a specific location, rather the resistance runs in a lateral direction and is distributed over the entire chip metallization 101 (depending on what current density field forms in the metallization during operation). The chip metallization 101 can be contacted/“tapped” at a plurality of locations. In the example illustrated in FIG. 3, one contact of the resistance R.sub.MET is situated in direct proximity to one of the chip contact locations 102 and a further contact is situated in the vicinity of the circuit part 150, in which for example the operational amplifier OA (or the control circuit 10, see FIG. 6) is also arranged. The layer thickness of the chip metallization can be in the range of approximately 2-50 μm. The contacts of the resistance R.sub.MET are situated at a distance of less than three layer thicknesses away from a chip contact location 102 and the circuit part 150, respectively. The two contacts of the resistance R.sub.MET are at at least a distance of five layer thicknesses. The chip contact locations 102 are for example those locations at which bond wires are connected to the chip metallization (e.g. by means of a wire bonding process). In other exemplary embodiments, clips, ribbons (ribbon bonding) or the like can also be used instead of bond wires. The geometry of the chip contact locations 102 can be different depending on the connection technique used.

    [0028] The chip metallization 101 can be contacted at a plurality of locations. In the example illustrated in FIG. 3, a further contact is illustrated (on the left) in the vicinity of the circuit part 150. The resistance R.sub.MET can then be conceived of in terms of modeling as an electrical parallel connection of two resistances. The resistance value R.sub.MET then represents an average value of different local current paths through the chip metallization 101.

    [0029] As already mentioned, the semiconductor chip—and also the chip metallization 101—experiences a multiplicity of temperature cycles in the course of operation of the integrated circuit. The temperatures may fluctuate more or less regularly, between room temperature and 300° Celsius, for example, during operation. Cyclic temperature fluctuations of more than 200° Celsius are not unusual. The inventors have established that these temperature fluctuations gradually result in microcracks 110 in the chip metallization 101, and the resistance value R.sub.MET gradually increases on account of the increasing number of microcracks. It was furthermore established that during regular monitoring of the resistance value R.sub.MET, in the case of a specific change in the resistance value R.sub.MET (e.g. a rise by 200%), a failure of the semiconductor chip became increasingly likely. Monitoring of the resistance value R.sub.MET therefore allows a prediction that the semiconductor chip is approaching its end of life before the chip actually fails. In the case of safety-critical applications such as e.g. in the case of certain components of autonomously driving vehicles, such a prediction may be a crucial advantage for avoiding greater damage.

    [0030] FIG. 4 is a schematic cross-sectional illustration through the semiconductor chip from FIG. 3. It goes without saying that the illustration in FIG. 4 is not true to scale and only the aspects necessary for understanding the exemplary embodiments are illustrated and will be discussed below. The structure of such a semiconductor chip is known per se to a person skilled in the art.

    [0031] A transistor cell array integrated in the semiconductor chip 100 is illustrated schematically on the left-hand side of FIG. 4. The example illustrated involves vertical DMOS transistors T.sub.S and T.sub.L. The drain electrode is formed by the metallization no at the underside of the chip. The source electrode is formed by the metallization 101 at the top side of the chip 100. The underside metallization no is mounted on a leadframe by means of die bonding. The top-side metallization 101 is connected to the associated chip pin OUT of the leadframe by means of wire bonding. The resistance of the metallization 101 is schematically symbolized by the resistance R.sub.MET (cf. also FIG. 3). The circuit part 150 containing most of the other circuit components is situated on the right-hand side of FIG. 4. The resistance R.sub.MET formed by the chip metallization is formed in particular by that part of the metallization which is exposed to thermal loading during operation of the power transistor T.sub.L and degrades on account of this (cyclic) thermal loading.

    [0032] FIG. 5 illustrates an improved current measuring circuit which makes it possible to measure the resistance R.sub.MET in a simple manner. As mentioned, the resistance value R.sub.MET can deliver an indication of the degradation of the semiconductor chip. The circuit in FIG. 5 is a further development of the circuit from FIG. 2. For this reason, only those additional components in FIG. 5 which are not contained in FIG. 2 will be discussed in greater detail below. For the rest, explanations above concerning FIG. 2 also apply to the example from FIG. 5.

    [0033] Power transistor TL, sense transistor T.sub.S and the resistance R.sub.MET are practically the same as in FIG. 2. In addition, however, provision is made of an amplifier 20 configured to amplify the voltage drop V.sub.RMET across the resistance R.sub.MET. In the present example, the amplifier is a transconductance amplifier which delivers an output current i.sub.2 that is dependent on the input voltage V.sub.RMET. In the present example, it holds true that i.sub.2=G.Math.V.sub.RMET, where G denotes the gain (transconductance) of the amplifier 20. In the example illustrated, the output of the amplifier 20 is connected to the sense pin IS via an electronic switch (e.g. transistor T.sub.2). Said electronic switch can be switched on and off in accordance with the logic signal EN.sub.DEG. In the example illustrated, the signal EN.sub.DEG is fed to the gate electrode of the transistor T.sub.2.

    [0034] A further electronic switch (e.g. transistor T.sub.1) is arranged between the source electrode of the sense transistor T.sub.S and the further transistor T.sub.0. Said electronic switch can be switched on and off in accordance with the logic signal EN.sub.IS. In the example illustrated, the signal EN.sub.IS is fed to the gate electrode of the transistor T.sub.1. The transistor T.sub.1 essentially has the purpose of deactivating the current measurement by means of the sense transistor T.sub.S (temporarily, depending on the operating mode of the circuit). The signals EN.sub.IS and EN.sub.DEG can be generated e.g. via a control logic (see also FIGS. 6 and 8).

    [0035] In a first operating mode (current measurement mode), the transistor T.sub.1 is switched on and the transistor T.sub.2 is switched off. In this case, the output of the differential amplifier 20 is disconnected from the sense pin IS and the circuit operates substantially identically to the circuit from FIG. 2. That is to say that the operational amplifier OA drives the transistor T.sub.0 and thus regulates the source voltage of the sense transistor in such a way that the sense transistor T.sub.S is operated substantially at the same operating point as the power transistor T.sub.L. The current i.sub.0 that flows through the transistors T.sub.S, T.sub.1 and T.sub.0 is output as measurement current i.sub.S at the sense pin IS and, across the resistance R.sub.S connected to the sense pin, generates the voltage drop V.sub.IS=i.sub.0.Math.R.sub.S=i.sub.LOAD.Math.R.sub.S/K.

    [0036] In a second operating mode (resistance measuring mode), the transistor T.sub.1 is switched off (and the sense transistor T.sub.S is thus inactive) and the transistor T.sub.2 is switched on. In this case, the output of the differential amplifier 20 is connected to the sense pin IS, and the output current i.sub.2 of the differential amplifier 20 is output as measurement current i.sub.S at the sense pin IS and, across the resistance R.sub.S connected to the sense pin, generates the voltage drop V.sub.IS=i.sub.2.Math.R.sub.S=G.Math.V.sub.RMET.Math.R.sub.S=G.Math.i.sub.LOAD.Math.R.sub.METR.sub.S. The transconductance G here has the dimension current/voltage (A/V) or 1/resistance (Ω.sup.−1).

    [0037] In order to measure the resistance R.sub.MET, with the load switched on (i.e. power transistor T.sub.L is on), firstly the load current can be measured in the first mode. As mentioned, the associated measurement value V.sub.S,1 is calculated in accordance with the equation V.sub.IS,1=i.sub.LOAD.Math.R.sub.S/K. Afterward, a further measurement is carried out in the second mode. As mentioned, the associated measurement value V.sub.S,2 is calculated in accordance with the equation V.sub.IS,2=G.Math.i.sub.LOAD.Math.R.sub.MET.Math.R.sub.S. The ratio V.sub.IS,2/V.sub.IS,1 of the two measurement values is equal to G.Math.R.sub.MET.Math.K, and the resistance R.sub.MET sought is calculated from the two measurement values as follows:


    R.sub.MET=(V.sub.IS,2/V.sub.IS,1)/(K.Math.G).   (1).

    [0038] In one exemplary embodiment, the measurement values V.sub.S,2 and V.sub.S,1 are digitized for example by an external controller connected to the sense pin IS. The resistance value sought can then be calculated by means of an arithmetic logic unit (ALU, Arithmetic Logic Unit), a programmable processor, a hardwired computing circuit or the like (or a combination of the above options). Depending on the application, it is also not necessary to divide the ratio V.sub.IS,2/V.sub.IS,1 by the product K.Math.G. The information sought is actually already contained in the ratio V.sub.IS,2/V.sub.IS,1, wherein the parameter relevant to the assessment of the degradation of the semiconductor chip 100 is the change in the ratio V.sub.IS,2/V.sub.IS,1 or is dependent on the latter. By way of example, the ratio V.sub.IS,2/V.sub.IS,1 could be normalized to 1 for a new semiconductor chip.

    [0039] FIG. 6 shows a further example of a current measuring circuit which has substantially the same function as the circuit from FIG. 5, but is implemented somewhat differently. The circuit from FIG. 6 can likewise be operated in a first mode (current measuring mode) and a second mode (resistance measuring mode). FIG. 7A shows a simplified equivalent circuit of the example from FIG. 6 in the first mode, and FIG. 7B shows a simplified equivalent circuit of the example from FIG. 6 in the second mode. In the present example, the operational amplifier OA is used in the first mode and in the second mode. In the first mode, the circuit from FIG. 6 (and FIG. 7A) operates substantially the same as in the example from FIG. 5. In the second mode, the operational amplifier OA also performs the function of the differential amplifier (cf. FIG. 5, differential amplifier 20). The use of the same (operational) amplifier in both modes has the advantage that during the calculation of the ratio V.sub.IS,2/V.sub.IS,1 (see equation 1) possible errors that occur as a result of non-ideal properties of the operational amplifier at least partly cancel one another out. The resistance measurement becomes more accurate as a result.

    [0040] In FIG. 6, the transistors T.sub.1 to T.sub.4 serve as electronic switches, with the aid of which the controller 10 (control logic) can reconfigure the topology of the circuit according to a selected operating mode. In the first operating mode (current measurement), the transistors T1 and T.sub.2 are on (logic signal EN.sub.IS has a low level) and the transistors T.sub.3 and T.sub.4 are off (logic signal EN.sub.DEG has a high level). The situation is reversed in the second operating mode. The transistor T.sub.5 is optional and is always on in the present example. The transistor T.sub.5 is used to achieve a better symmetry of the circuit. The controller can select the operating mode for example depending on a signal received at a diagnosis pin and can generate the logic signals EN.sub.IS and EN.sub.DEG accordingly.

    [0041] FIG. 7A is a simplified equivalent circuit of the example from FIG. 6 for the first mode. Those current paths which are inactive on account of the transistors T.sub.3 and T.sub.4 that are switched off in the first mode have been omitted in FIG. 7A. The circuit from FIG. 7A operates very similarly to the circuit from FIG. 5 in the first mode. In accordance with FIG. 7A, the inverting input of the operational amplifier OA is connected to the source electrode of the sense transistor T.sub.S via the drain-source path of the (switched-on) transistor T.sub.2 and the resistance R.sub.METn1. Equally, the noninverting input of the operational amplifier OA is connected to the source electrode of the power transistor T.sub.L via the drain-source path of the (switched-on) transistor T.sub.5 and the resistance R.sub.METp (and R.sub.MET). The circuit is designed such that the on resistance R.sub.ON,T of the transistors T.sub.2 and T.sub.5 is identical and the resistance values R.sub.METn1 and R.sub.METp are also identical. In this way, given non-negligible input currents i.sub.n and i.sub.p (i.sub.p≈i.sub.n), no additional offset voltage is generated (because (R.sub.METn1+R.sub.ON,T).Math.i.sub.n≈(R.sub.METp+R.sub.ON,T).Math.i.sub.p). In practice, operational amplifiers having FET input stages are often used, in which the input currents i.sub.n and i.sub.p are negligibly small. Nevertheless, in practice, a high symmetry of the circuit is taken into consideration in order to compensate for e.g. temperature drifts or similar effects and the like. As already discussed with regard to FIG. 2, the operational amplifier OA will drive the transistor T.sub.0 (and thus set the conductivity of the transistor T.sub.0) such that the source voltages of the transistors T.sub.S and T.sub.L are substantially identical. That means that power transistor T.sub.L and sense transistor T.sub.S operate at the same operating point. In this case, it also holds true that i.sub.S=i.sub.0=i.sub.LOAD/K and the voltage drop V.sub.IS=i.sub.SR.sub.S is proportional to the load current i.sub.LOAD.

    [0042] FIG. 7B is a simplified equivalent circuit of the example from FIG. 6 for the second mode. Those current paths which are inactive on account of the transistors T.sub.1 and T.sub.2 that are switched off in the second mode have been omitted in FIG. 7B. The circuit from FIG. 7B operates similarly to the circuit from FIG. 5 in the second mode, the amplifier 20 shown in FIG. 5 being implemented with the aid of the operational amplifier OA. The inverting input of the operational amplifier OA is connected to a first terminal of the resistance R.sub.MET via the drain-source path of the (switched-on) transistor T.sub.3 and the resistance R.sub.METn2 (circuit node N1). The noninverting input of the operational amplifier OA is connected to a second terminal of the resistance R.sub.MET via the drain-source path of the (switched-on) transistor T.sub.5 and the resistance R.sub.METp (circuit node N2). The sense pin IS is connected to the circuit node N1 via the drain-source paths of the transistors T.sub.0 and T.sub.4 and also via the resistance R.sub.METn2. Assuming that (R.sub.METn1+R.sub.ON,T).Math.i.sub.n≈(R.sub.METp+R.sub.ON,T).Math.i.sub.p (or given negligibly small input currents i.sub.p, i.sub.n), the offset voltages caused by the input currents i.sub.n and i.sub.p cancel one another out and the output current i.sub.S is calculated in accordance with the equation


    i.sub.S=i.sub.0=V.sub.RMET/R.sub.METn1   (2).

    [0043] In this example, the effective transconductance of the differential amplifier circuit is R.sub.METn1.sup.−1. For the resistance measurement, the same explanation given further above with regard to FIG. 5 (cf. equation 1) applies to the example from FIGS. 6, 7A and 7B. The method carried out here for measuring the voltage across the resistance R.sub.MET is also referred to as four-conductor measurement (4T sensing). The contacting of the resistance R.sub.MET is also called Kelvin contacting in this context.

    [0044] The resistances R.sub.METn1, R.sub.METn2 and R.sub.METp are not necessarily resistance components integrated into the semiconductor chip, but rather can be formed by parts of the metallization layers of the semiconductor chip. The transistor T.sub.5 that is always switched on essentially has the purpose of symmetrically connecting the operational amplifier to the circuit nodes N1 and N2. That is to say that the two inputs of the amplifier circuit have approximately the same input resistance R.sub.METp+R.sub.ON,T≈R.sub.METn1+R.sub.ON,T. In some exemplary embodiments, the MOSFETs T.sub.S, T.sub.L are separated from the drive electronics (gate drivers, etc.), i.e. the MOSFETs are arranged “externally” to the drive electronics in separate chip packages. In these cases, the resistances R.sub.METn1, R.sub.METn2 and R.sub.METp also include the resistance of the chip-external connections.

    [0045] The sense pin IS is not necessarily a current output as in the examples described previously. In another exemplary embodiment, the resistor R.sub.S can also be integrated in the semiconductor chip 100 and the voltage V.sub.IS=R.sub.S.Math.i.sub.S can be output at the sense pin. FIG. 8 illustrates one variant of the circuit from FIG. 5 with a communication interface 30 for digital serial data transmission. The circuit from FIG. 8 is substantially identical to the circuit from FIG. 5, but the sense pin IS with the externally connected resistor R.sub.S has been replaced by an analog-to-digital converter 30 having a current input. Instead of outputting—depending on the operating mode—the current i.sub.0 or i.sub.2 at a sense pin, the current value is digitized with the aid of the analog-to-digital converter 30 and the corresponding digital value D.sub.OUT is fed to a communication interface 11.

    [0046] The communication interface 11 can furthermore be connected to a controller (control logic 10, cf. FIG. 6), which generates the logic signals EN.sub.IS and EN.sub.DEG, inter alia. The communication interface 11 can enable for example serial communication in accordance with a standardized serial interface, such as e.g. Serial Peripheral Interface (SPI). Of course, that is just one example and any other digital interface can also be used. Via the interface 11, the control logic 10 can also receive control commands, for example control commands that cause the control logic 10 to operate the circuit in the first mode (current measurement) or the second mode (resistance measurement).

    [0047] In one exemplary embodiment, the control logic 10 can also be configured to switch over regularly between the first mode and the second mode and to determine and to store regularly updated digital values representing the ratio V.sub.IS,2/V.sub.IS,1 (cf. equation 1) and thus also the resistance value R.sub.MET. The control logic can also be configured to respond to a query received via the communication interface 11 with a digital value representing the degradation of the semiconductor chip. Such a value could also be output in analog form, of course, in another exemplary embodiment.

    [0048] One example of a method which can be carried out using the integrated circuits described here is summarized below with reference to the flow diagram from FIG. 9. In accordance with FIG. 9, the method comprises providing a measurement current (cf. FIGS. 5 and 7A, current i.sub.0) by means of a current measuring circuit, comprising a sense transistor coupled to a power transistor (see FIG. 9, step S1). In a first operating mode (current measuring mode), a signal representing the measurement current is output (e.g. at the sense pin IS or via a digital interface) (see FIG. 9, step S2). The signal can be the measurement current i.sub.0 itself, or else a digital representation of the measurement current i.sub.0.

    [0049] The method furthermore comprises amplifying a voltage across a resistance (cf. FIGS. 5 and 7B, resistance R.sub.MET and voltage V.sub.RMET) arranged between a main current path of the power transistor and an output pin and formed by a chip metallization (see also FIG. 3), and generating an output signal that is dependent on the amplified voltage (see FIG. 9, step S3). In a second mode, said output signal is output (see FIG. 9, step S4). Said output signal can represent the voltage V.sub.RMET across the resistance R.sub.ME, the resistance value R.sub.MET or a variable representing the change in the resistance within a certain time period (e.g. since the first start-up of the semiconductor chip).