This Application claims priority benefit of European Patent Application EP12185257, which was filed on Sep. 20, 2012. The entire contents of the indicated European Patent Application are hereby incorporated herein by reference.
The present invention relates to the field of semiconductor devices and methods for operating such devices, particularly to power semiconductor devices including a fault detection capability for detecting faulty operating states that lead to a rise in temperature such as, for example, short circuits.
Semiconductor devices, especially power semiconductor devices such as power semiconductor switches, often include a current and temperature measurement functionality for detecting faulty or undesired modes of operation during which undesirably high currents or temperatures occur. Such faulty or undesired modes of operation may be, inter alia, an over-load, or a short circuit.
Power semiconductor switches capable of detecting over-temperature, over-load, short-circuits, etc. are often referred to as “smart switches”. Typically such smart switches include at least one power transistor (e.g. a DMOS high-side switch) and an over-current detection circuit for each power transistor that compares a measured signal that represents the load current flowing through the transistor with a defined threshold value that represent a maximum current. When the load current reaches or exceeds the maximum current, the load current is switched off in order to protect the device.
However, in many applications smart switches have to handle high inrush currents. This may be the case, e.g., when switching on incandescent lamps, electric motors or the like. The inrush currents are typically much higher than the maximum current, yet the high inrush currents are transient and usually do not cause a dangerous over-temperature. However, the over-current protection circuit included in the smart switch needs to distinguish between high inrush currents and over-currents resulting from a short circuit. For this reason the threshold, which determines the maximum current, is set to a higher value (higher than during normal operation) during a start-up phase in which transient inrush currents may occur. This start-up phase is usually defined as a fixed time interval, e.g., 10 ms. When this time interval has elapsed, the threshold, which determines the maximum current, is reset to the lower—nominal—value.
When an over-current is detected (i.e. when an over-current event occurs) the device may be deactivated. That is, the device is latched in an inactive state in which the load current is switched off. However, to avoid a deactivation during the start-up phase the device is re-activated after an over-current event for a defined number of times (e.g. 32 times). That is, the device is finally deactivated (and not re-activated) when the maximum number of over-current events occurs during the start-up phase. After the start-up phase, a single over-current event is sufficient for latching the device in an off-state.
The “switching” between the start-up phase with a high maximum current threshold and the normal operation with a low maximum current threshold is usually implemented digitally with a finite state machine (FSM). A further problem arises when the smart switch is supplied via a long supply line. For example, in automotive applications the supply line may be up to 5 meters long or even longer, resulting in a line resistance of about 100 mΩ and a line inductance of about μH. As a consequence the voltage drop across the supply line may be rather high due to the high inrush currents during the start-up phase. In fact, the voltage drop across the supply line may be high enough to trigger the under-voltage detection. When an under-voltage is detected (i.e. in case of an under-voltage event) the state-machine and thus the counter, which counts the over-current events during the start-up phase, is reset. As a consequence, the over-current event counter will never reach the maximum number as the supply voltage drops and thus the counter is reset every time the switch is closed and the inrush current starts to rise.
The problem to be solved by the present invention is to provide a semiconductor device including an over-current protection which can handle transient voltage drops across the supply line.
A semiconductor device is described herein. In accordance with a first aspect of the invention the semiconductor device includes a semiconductor chip having a load current path operable to carry—in accordance with an input signal—a load current from a supply terminal having a supply voltage to an output circuit node. The device further includes a voltage comparator that is configured to compare the supply voltage with a voltage threshold and to signal a low supply voltage when the supply voltage reaches or falls below the voltage threshold. An over-current detector is configured to compare a load current signal that represents the load current with an over-current threshold and to signal an over-current when the load current signal reaches or exceeds the over-current threshold. Furthermore, the semiconductor device includes a control logic unit that is configured to deactivate the load current flow when an over-current is signalled and to reduce the over-current threshold from a first value to a lower second value as long as the voltage comparator signals a low supply voltage.
Furthermore, a method for controlling a power semiconductor transistor to activate or deactivate a load current, which passes through the transistor from a supply terminal providing a supply voltage to an output circuit node is described. In accordance with another aspect of the invention the method includes monitoring the supply voltage and signalling a low supply voltage when the supply voltage reaches or falls below a first voltage threshold. It further includes monitoring the load current and signalling an over-current when the load current reaches or exceeds an adjustable over-current threshold. The over-current threshold is reduced from an from an initially higher first value to a lower second value when and as long as a low supply voltage is signalled. The transistor and thus the load current passing through the transistor is at least temporarily deactivated when an over-current is signalled.
The various embodiments can be better understood with reference to the following drawings and descriptions. The components in the figures are not necessarily to scale, instead emphasis is placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts. In the drawings:
As discussed in the introductory part, high inrush currents may occur after activation of the considered semiconductor device. The semiconductor device may be a, for example, a power transistor (e.g. a DMOS n-channel high-side transistor) that controls the switching state of a lamp. When switching on a cold lamp the inrush currents (generally the load current iL) may be a multiple of the nominal load current. A very short time after switching on the lamp, the load current flowing through the load current path of the transistor (i.e., through the active area of the semiconductor device) will rise above a specific limit (i.e. a pre-defined over-current threshold value) which would be unacceptable for a longer period of time since such high currents might lead to an undesired degradation of the device or even to the thermal destruction of the device.
The smart switch 10 includes an over-current detector associated with the power transistor T1 which is configured to detect whether the load current iL flowing through the power transistor T1 exceeds a specific maximum current. In the present example the over-current detector includes a current measurement circuit 14 that is configured to provide a current measurement signal SC, which represents the load current iL, and a comparator 15 which receives, as input signal, the current measurement signal SC and an over-current threshold STH, which determines the maximum current, and which is configured to compare the input signals and to generate an over-current signal SOC. The over-current signal is indicative of whether, or not, the current measurement signal SC is higher than the over-current threshold STH. The over-current signal may be a binary signal, wherein, e.g., a high logic level may indicate an over-current.
A control logic circuit 12 may be provided for controlling the switching behavior of the transistor T1. The control logic receives an input signal IN1 and generates the corresponding control signal SON1 dependent on the input signal IN1 and the over current signal (SOC). In case of a multi-channel smart switch an input signal and a respective control signal as well as an over current signal is provided for each channel. The control logic 12 may be formed using discrete logic circuit components such as timers, counters, gates, etc. Alternatively, a micro controller may be used that executes software appropriate to perform the same function. Further, the control logic 12 may be partly implemented using discrete circuit components and partly using a micro controller. The function of the control logic 12 may be implemented as a finite state machine (FSM) which is described below with reference to
When the semiconductor device (the smart switch in the present example) is powered on, that is when the supply voltage VS applied to the supply terminal SUP rises above a minimum level, the finite state machine starts with state X0 in which the load current iL is switched off and all timers and counters are reset to appropriate initial values. When the input signal IN1 indicates that the load current iL is to be switched on, then the corresponding control signal SON1 is set to a logic level appropriate to switch on the transistor T1 (e.g. SON1=1) and a timer is started (timer value TON). At the same time the finite state machine changes to state X1 which represents the start-up phase, during which high inrush currents may occur. In this state X1 the over-current threshold STH is set to a first, comparably high threshold value (STH=SHI). When the over-current signal SOC indicates an over-current, then the finite state machine changes to state X3, in which an over-current counter countOC is incremented. When (after incrementing the over-current counter countOC) the number of over-current events indicated by the counter countOC is smaller than a maximum number
(countOC<maxOC), then—after a fixed delay time (blanking time, e.g. TBLANK=100 μs)—the finite state machine falls back to state X1. Otherwise (i.e. when the maximum number of over-current events have been detected), the finite state machine changes to failure state X4 and, as a result, the load current is finally switched off, e.g., by setting SON1=0.
During the start-up period the inrush current may trigger an over-current event several times and thus the finite state machine will toggle between the state X1 and state X3 unless the maximum number maxOC of over-current events is reached (e.g. maxOC=32). If the load is an incandescent lamp, the finite state machine might toggle between states X1 and X3, e.g. 15 times and then remain in the state X1 until the timer value TON indicates that a fixed time interval defining the start-up phase is over. The finite state machine then changes to state X2 and the over-current threshold STH is set to a second, lower threshold value (STH=SLO). This state X2 represents the normal operation of the smart switch. The finite state machine will remain in this state until either the input signal IN1 indicates that the load current is to be switched off (e.g. IN1=0) or an over-current (using the lower threshold, however) is detected. In the first case, the finite state machine falls back to state X0 (leading to a reset of all timers and counters) and, in the second case, the finite state machine changes to the failure state X4 without allowing any toggling. Once in the failure state X4, an external reset command or a new power-on is required to bring the state machine back to the state X0.
Referring again to
As mentioned in the introductory part an under-voltage may lead to a reset of the finite state machine (FSM) and thus to a reset of the counter countOC and the timer TM mentioned above in the context of the state machine described with reference to
One can see that, in the present example, an under-voltage event is caused every time the power transistor T1 is activated (i.e. switched on). In case of a short-circuited load the over-current detection would signal an over-current every time the transistor T1 is activated. However, the low-voltage detectior 16 will signal an under-voltage also every time the MOS transistor T1 is activated. As the over-current counter countOC will be reset every time an under-voltage is detected, the counter countOC will never reach the maximum number maxOC and, consequently, the smart switch may toggle on and off ad infinitum. As a result, local over-temperatures may occur in the silicon chip which may lead to a degradation of the device or even to thermal destruction. Although an over-temperature protection circuit may be provided, this over-temperature protection may not be fast enough to detect local overheating (so-called “hot spots”) on the chip, and thus the over-temperature protection mechanism might be ineffective.
To solve or at least alleviate the above-mentioned problem, the control logic 12, which controls the function of the smart switch 10 illustrated in
The state machine of
Continuing with a previous example, it is assumed that the lower, second over-current threshold is about 19 A (that is about 70% of the upper threshold of 27 A). As a consequence, the maximum current-swing (which will occur when the load is short-circuited) is reduced from 27 A to 19 A and thus the voltage drop across the supply line is reduced to 1.9V due to the resistance of the supply line and to 1.9V due to the inductance of the supply line, that is, a total voltage drop of 3.8V (instead of 5V in the previous case). Consequently, assuming a minimum nominal supply voltage of VSNOM=8V, the supply voltage will not fall below 4.2V (8V−3.8V) and thus an under-voltage event (VS<VUV, UV=1) is not caused (as VUV=3.5V). When the low-voltage detection circuit 16 indicates that the supply voltage is again above the second voltage threshold VLV, then the over-current threshold STH may be switched back to the higher current threshold STH=SHI again.
Using the state machine of
Referring to the top diagram of
At the time t1 the cycle starts over. The state machine will toggle between state X0 and X3 until either the counter countOC reaches maxOC (e.g. maxOC=32), which would cause the state machine to change to the failure state X4, or the load current gradually decreases so that no further over-current events are caused. In this case, the state machine would change to state X2 and remain there (unless another over-current event occurs) until a switch-off of the transistor is initiated by a low input signal IN1 (IN1=0).
Below some important general aspects of the above-described exemplary embodiments are summarized. However, the following is not regarded to be complete or exhaustive. Accordingly, the semiconductor device described herein may include a semiconductor chip with an integrated power transistor T1 which has a load current path operable to carry, in accordance with an input signal, a load current. The transistor T1 is coupled between a supply terminal SUP to be supplied with a supply voltage VS and an output circuit node OUT1. Thus, the load current iL can flow from the supply terminal SUP to the output circuit node OUT1. The device further includes a voltage comparator 16 that is configured to compare the supply voltage VS with a voltage threshold VLV and to signal a low supply voltage (e.g. by setting a flag LV=1) when the supply voltage VS reaches or falls below the voltage threshold VLV. Furthermore, an over-current detector is coupled to the transistor T1 and configured to compare (comparator 15) a load current signal SC (current measurement circuit 14) that represents the load current with an over-current threshold STH and to signal an over-current (e.g. by setting a flag OC=1) when the load current signal SC reaches or exceeds the over-current threshold STH, e.g. when SC≧STH. A control logic unit 12 is configured to deactivate the transistor T1 (e.g. via the gate driver 11) and thus the load current flow when an over-current is signalled. The control logic circuit 12 can further reduce the over-current threshold STH from a (first) higher value SHI to a (second) lower value SLO when and as long as the voltage comparator 16 signals a low supply voltage (LV=1). As explained above, the reduction of the over-current threshold STH when the supply voltage is already low (due to the voltage drop across the supply lines) prevents the supply voltage from dropping below an under-voltage limit, which would cause a complete reset of the logic circuitry of the device.
The control logic circuit 12 may be operable in a first mode (start-up phase) and a second mode (normal operation). The mentioned reduction reduce of the over-current threshold STH from the first value SHI to the second value SLO is done in the first mode (i.e. during the start-up phase), whereas the over-current threshold STH is generally set to the lower value SLO in the second mode (i.e. during normal operation). Furthermore, in the first mode the load current flow is deactivated by the control logic circuit 12 when an over-current is signalled (OC=1) and, furthermore, reactivated after a blanking time TBLANK unless a maximum number maxOC of over-current events have been signalled.
The control logic changes from the first mode (start-up phase) to the second mode (normal operation) after a start-up time TON has elapsed. In the second mode, the control logic unit may be configured to set the over-current threshold STH to a third value that is lower than the higher first value SHI or equal to the lower second value SLO. In the second mode the load current flow is deactivated when an over-current is signalled without performing any “retries”, i.e. without prior re-activation. Thus, the load current is maintained inactive until a reset signal is received.
The voltage comparator 16 may be further configured to compare the supply voltage VS with a further voltage threshold VUV, which corresponds to a minimum supply voltage that is required for operating the device. An under-voltage is signalled (e.g. by setting a flag UV=1) when the supply voltage (VS) reaches or falls below the minimum supply voltage VUV. Generally, the voltage threshold VLV may be chosen higher than the minimum supply voltage VUV but lower than a nominal supply voltage of the device.
The control logic circuit 12 may include a counter countOC that is configured to count the number of times an over-current is signalled. The counter countOC is reset while the input signal IN1 indicates that the load current is inactive (IN1=0) or in response to a transition in the input signal IN1 indicating to activate the load current. Furthermore, the control logic circuit 12 may include a timer configured to measure the start-up time TON, the timer being reset while the input signal IN1 indicates that the load current is inactive or in response to a transition in the input signal IN1 indicating to activate the load current.
Generally, a serial bus interface 13 may be coupled to the control logic circuit 12 and configured to enable a data exchange between the control logic circuit 12 and an external device, for example an external controller. Particularly the mentioned reset command may be received via the serial bus. Also the input signal IN1 could be transferred via the serial bus.
Another aspect of the invention relates to a method for controlling the power semiconductor transistor T1 to activate or inactivate a load current iL passing through the transistor T1 from a supply terminal SUP providing a supply voltage VS to an output circuit node OUT1. The method may include monitoring the supply voltage VS and signalling a low supply voltage (e.g. by setting the flag LV=1) when the supply voltage VS reaches or falls below a first voltage threshold (i.e. when VS≦LV). The method may further include monitoring the load current iL and signalling an over-current (e.g. by setting the flag OC=1) when the load current reaches or exceeds an adjustable over-current threshold. The over-current threshold STH is reduced from an from an initially higher first value SHI to a lower second value SLO when and as long as a low supply voltage is signalled (LV=1). The transistor and thus the load current passing through the transistor is at least temporarily deactivated when an over-current is signalled.
Although various exemplary embodiments have been disclosed, it will be apparent to those skilled in the art that changes and modifications can be made according to a specific implementation of the various embodiments and without departing from the spirit and scope of the invention. It will be obvious to those reasonably skilled in the art that other components performing the same functions may be suitably substituted. Particularly, signal processing functions may be performed either in the time domain or in the frequency domain while achieving substantially equal results. It should be mentioned that features explained with reference to a specific figure may be combined with features of other figures, even where not explicitly mentioned. Further, the methods of the invention may be achieved in either all software implementations, using the appropriate processor instructions, or in hybrid implementations that utilize a combination of hardware logic and software logic to achieve the same results. Such modifications to the concept are intended to be covered by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
12185257 | Sep 2012 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
5959537 | Banting et al. | Sep 1999 | A |
6985343 | Mirowski et al. | Jan 2006 | B2 |
7554783 | Heath et al. | Jun 2009 | B2 |
Number | Date | Country | |
---|---|---|---|
20140078629 A1 | Mar 2014 | US |