This application claims the priority benefit of Italian Application for Patent No. 102022000014167 filed on Jul. 5, 2022, the content of which is hereby incorporated by reference in its entirety to the maximum extent allowable by law.
Embodiments of the present disclosure relate to solutions of switching power stages with cycle-by-cycle protection against over-currents.
Embodiments of the present disclosure relate in particular to half bridge switching power stage, full bridge switching power stages and class D bridge audio amplifiers.
The protection against over-currents on the output of switching power stages such as power audio amplifiers and other devices operating in a switching mode can be achieved by turning off all the power transistors of the stage (referred to in the art as a 3-state, tri-state, or three state, condition) once an excess of current flowing in them has been detected. Subsequently, a special circuit switches the power stage back on after a time long enough for the output stage to avoid any damage, such as damage from thermal overload.
If the over-currents were not caused by a wrong connection of the outputs, but were the consequence of a normal driving condition just above the safety current threshold, the power output enters the 3-state condition anyway.
When used on audio power amplifiers, this simple and reliable protection causes the sound to be interrupted, and forces to keep a safe over-current threshold evaluating carefully the maximum voltage and the lowest load impedance. Since impedance is frequency dependent, and the over-current threshold may have a tolerance of 10-20%, this results in a huge limitation of the power delivered by the audio system with respect to the ideal case.
It is often preferred to the above solution using the well-known Cycle-By-Cycle protection, which is more complex and theoretically less reliable, but does not involve the effects of “sound interruption”, at least in the event of an over-current due to a load with too low impedance.
A circuit arrangement operating in such manner is shown in the circuit schematic representation of
With the numerical reference 10 is indicated as whole a circuital arrangement comprising a power stage 11 in the form of a half bridge comprising a high side switch HSD, e.g., a MOSFET, and a low side switch LSD, which are driven by respective high side HS and low side LS driving signal issued by a driver circuit 12. At a common node of the high side switch HSD and low side switch LSD, an output current Iout is sent, through a filter 13, e.g., an inductive-capacitive (LC) type filter, as filtered voltage Vout_fil, to a load (LD) 14.
A cycle-by-cycle protection circuit 15 receives a driving PWM signal PWMin and outputs a cycle-by-cycle protected driving signal OutCBC to the driver 12.
The cycle-by-cycle protection circuit 15 receives also a high side over-current signal OcHsd, i.e., a signal indicative of an over-current flowing in the high side switch HSD, i.e. between source and drain, and a corresponding low side over-current signal OcLsd, i.e., a signal indicative of an over-current flowing in the low side switch LSD, i.e. between source and drain. The high side (low side) over-current signal OcHsd (OcLSD) in the example shown is a signal, in particular comprising a pulse P when an over-current occurs, i.e., crosses an over-current threshold I1, obtained by a sensor, e.g. threshold comparator, applied to the current flowing in the switch HSD (LSD), signaling that such current is above such threshold value I1. The sensor in variant embodiments may be comprised in the cycle-by-cycle protection circuit 15. In
In
If, during the time interval in which the high side switch HSD is on, the current flowing in such component crosses the given over-current threshold I1, the output, the cycle-by-cycle protection circuit 15 is configured to invert, the cycle-by-cycle protected driving signal OutCBC, i.e., the current high logic level becomes low logic level, turning off the high side switch HSD and turning on the low side switch LSD, irrespective of the input signal, i.e., the driving PWM signal PWMin.
The high side switch HSD stays switched off until the next transition, in this case from logic zero to logic one, of the driving PWM signal PWMin at input of the cycle-by-cycle protection circuit 15.
In the same way, the operation when the over-current takes places on the low side switch LSD is complementary with respect to that have described previously.
Thus, the cycle-by-cycle protection against over-currents circuit 15 is configured to output said cycle-by-cycle protected driving signal OutCBC as inverted driving PWM signal PWMin, i.e., the same waveform as PWMin with opposite logic levels, if, during the time interval in which one of the high side switch HSD or low side switch LSD is on, the signals indicative of an over-current OcHsd, OcLsd indicate that the current flowing in such switch crosses a given threshold, e.g. I1, turning off the one of the high side switch or low side switch which is on, else the driving PWM signal PWMin is outputted not inverted, i.e., the signal OutCBC coincides with the signal PWMin.
This type of protection can be interesting because, while causing a variation in the output voltage level with respect to the desired one, it does not interrupt operation, as happens instead for the protections which, once a predetermined current threshold is reached, carry both switches, e.g., transistors of output in off condition (upon command of a 3-state signal 3S to the driver 15). This type of protection has however some disadvantage. If an over-current occurs, during the period t1 indicated in
Also, in particular conditions of short circuit towards the supply voltage Vdd or the ground voltage Gnd, the “discharge” of the inductance energy in the filter 13 when the cycle-by-cycle protection circuit 15 intervenes could be lower than the charge when, in the next cycle, the switch HSD, LSD that the cycle-by-cycle protection circuit 15 had turned off turns on again. This causes an uncontrolled tendency to increase the current in the power components, and again the circuit would not be protected.
In
To solve such problems, it is known to use a second detection circuit of the output current, set at the level of a greater protection current threshold I2, indicated in
Such a solution, besides making the sensing circuit more complicated, requires a level of the protection current threshold I2 which is greater of that, I1, of the CBC circuit, which therefore can be more difficult to set to obtain reliability, or, vice versa, set with a value which limits the performance of the amplifier or circuit using the power stage.
On the basis of the foregoing description, the need is felt for solutions which overcome one or more of the previously outlined drawbacks.
According to one or more embodiments, such an object is achieved through a switching power stage circuit arrangement having the features specifically set forth in the claims that follow. Embodiments moreover concern a related method for switching a power stage circuit arrangement.
As mentioned in the foregoing, the present disclosure provides solutions regarding a switching power stage circuit arrangement comprising: at least a half bridge comprising a respective high side switch and low side switch driven by a PWM signal, and a cycle-by-cycle protection against over-currents circuit receiving said driving PWM signal and configured to output a cycle-by-cycle protected driving signal to drive said high side switch and low side switch. The cycle-by-cycle protection against over-currents circuit receives signals indicative of an over-currents detected at said high side switch and low side switch, and is configured to output said cycle-by-cycle protected driving signal as inverted driving PWM signal when, during the time interval in which one of the high side switch or low side switch is on, the signals indicative of an over-current indicate that the current flowing in such switch crosses a given threshold, turning off the one of the high side switch or low side switch which is on, else the driving PWM signal is outputted not inverted. The power stage further comprises an anomaly detection circuit which receives at least the signals indicative of an over-current and is configured to switch off the high side and low side switches if an anomaly is detected in the pattern of over-current events in the signals indicative of an over-current.
In variant embodiments, the anomaly detection circuit is configured, if the pattern of over-current events comprises an over-current event on a switch when the cycle-by-cycle protected driving signal commands it off, to detect an anomaly.
In variant embodiments, the anomaly detection circuit is configured, if a further over-current event is signaled in a given time interval after a previous over-current event of the other switch, to detect an anomaly, in particular by performing a logic OR between the high side and low side over-current signals.
In variant embodiments, the anomaly detection circuit is configured, if a further over-current event is signaled in a given time interval after a previous over-current event for a same switch, to detect an anomaly, in particular by performing a logic OR between the high side and low side over-current signals.
In variant embodiments, the anomaly detection circuit receives a clock signal of the driving PWM signal and it is configured to compute said given time interval of a length longer than a cycle of said clock signal, in particular one time and a half said clock signal.
In variant embodiments, the anomaly detection circuit also receives the cycle-by-cycle protected driving signal and the given time interval ends after an elapsed time which starts from the beginning of the clock cycle subsequent to that in which the previous over-current event has taken place.
In variant embodiments, said power stage circuit arrangement is comprised in a class D bridge audio amplifier.
The present disclosure also provides solutions regarding a method for switching a power stage circuit arrangement comprising: at least a half bridge comprising a respective high side switch and low side switch driven by a PWM signal, and a cycle-by-cycle protection against over-currents circuit receiving said driving PWM signal and configured to output a cycle-by-cycle protected driving signal to drive said high side switch and low side switch. The cycle-by-cycle protection against over-currents circuit receives signals indicative of an over-currents detected at said high side switch and low side switch, and outputs said cycle-by-cycle protected driving signal as inverted driving PWM signal if, during the time interval in which one of the high side switch or low side switch is on, the signals indicative of an over-current indicate that the current flowing in such switch crosses a give threshold, turning off the one of the high side switch or low side switch which is on, else the driving PWM signal is outputted not inverted.
The method further comprises performing an anomaly detection on the basis of at least the signals indicative of an over-current and switching off the high side and low side switches if an anomaly is detected in the pattern of over-current events in the signals indicative of an over-current.
In variant embodiments, if the anomaly detection circuit is configured, if a further over-current event is signaled in a given time interval after a previous over-current event of the other switch, to detect an anomaly.
In variant embodiments, if a further over-current event is signaled in a given time interval (TW) after a previous over-current event of the other switch, to detect an anomaly.
In variant embodiments, if a further over-current event is signaled in a given time interval after a previous over-current event for a same switch, an anomaly is detected.
In variant embodiments, if the pattern of over-current events comprises an over-current event on a switch when the cycle-by-cycle protected driving signal commands it off an anomaly is detected.
In variant embodiments, said anomaly detection operation comprises receiving a clock signal of the driving PWM signal and computing said given time interval of a length longer than a cycle of said clock signal, in particular one time and a half of said clock signal.
In variant embodiments, said anomaly detection operation also comprises receiving the cycle-by-cycle protected driving signal and the given time interval ends after an elapsed time which starts from the beginning of the clock cycle subsequent to that in which the previous over-current event has taken place.
Embodiments of the present disclosure will now be described with reference to the annexed drawings, which are provided purely by way of non-limiting example and in which:
In the following description, numerous specific details are given to provide a thorough understanding of embodiments. The embodiments can be practiced without one or several specific details, or with other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the embodiments.
Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
The headings provided herein are for convenience only and do not interpret the scope or meaning of the embodiments.
Figures parts, elements or components which have already been described with reference to
The solution here described refers to a switching power stage circuit arrangement with cycle-by-cycle protection against over-currents, in particular a switching audio amplifier, which allows to manage anomalies like the second anomaly indicated above, with short-circuit to the power supply, increasing the current in a not controlled way, without requiring a second greater protection current threshold, thus obtaining a reduction in complexity of the circuit and an improvement of the reliability.
Such a solution is directed to a circuit arrangement which main comprise a single anomaly detector module or two anomaly detector modules, which may be in part or entirely digital. Such a circuit arrangement may comprise only an anomaly detector detecting the second anomaly, e.g., short circuit to the positive or negative power supply with an increasing current trend (Iout* in the previous
In
In other words, if the input driving PWM signal PWMin is at the level which turns on the high side switch HSD, in this case high logic or logic one, and receives the low side over-current signal OcLsd, e.g., a pulse P in such signal, from the low side switch LSD. This because for that value or level of input driving PWM signal PWMin the low side switch LSD should be turned off, not causing pulses on the low side over-current signal OcLsd.
Based on the above, thus, if the input driving PWM signal PWMin is at the level which turns on the high side switch HSD, in this case high logic or logic one, and a first overcurrent event is detected in such high side switch, i.e., in response to the current flowing in such high side switch crossing the given over-current threshold I1, a pulse P1 is generated in the high side over-current signal OcHsd.
In response to the pulse P1 generated in the high side over-current signal OcHsd, the cycle-by-cycle protection circuit 15 is configured to invert the cycle-by-cycle protected driving signal OutCBC, i.e., the current high logic level becomes low logic level, thus, turning off the high side switch HSD and turning on the low side switch LSD.
Then, if a further over-current event is detected in the low side switch while the input driving PWM signal PWMin is still at the level which turns on the high side switch HSD, a pulse P2 is generated in the low side over-current signal OcLsd.
Therefore, as previously described, if within a same period wherein the input driving PWM signal PWMin is at the level which turns on the high side switch HSD an over-current event occurs on the high side switch, i.e., leading to a first pulse P1 on the high side over-current signal OcHsd, starting from the pulse P1 of the high side over-current signal OcHsd to the end of the one to zero transition of the driving PWM signal PWMin, at the charge of the low side switch LSD, the circuit cannot (and should not) switch over to turn the high side switch HSD back on.
Therefore, in the described conditions, i.e., when PWMin is set to 1, and when the second pulse P2 is raised on the low side over-current signal OcLsd, i.e., when OcLsd is set to 1, an anomaly is detected by the first anomaly detector 25, setting to a high logic level the first anomaly detection signal AD1out.
Similarly, when PWMin is set to 0, and when the second pulse P2 is raised on the high side over-current signal OcHsd, i.e., when OcHsd is set to 1, an anomaly is detected by the first anomaly detector 25, setting to a high logic level the first anomaly detection signal AD1out. With reference to the time diagram of
This however is what may happen if there is a bridge circuit with the two half bridges driven by the same cycle-by-cycle protected driving signal OutCBC with opposite phases and a short circuit of both the outputs to the ground or to the supply voltages.
In
A 1.5 PWM clock cycles second anomaly detector 35, which receives a clock signal CLK, that may operate at a frequency fCLK which is greater or multiple of the frequency fPWM, and the high side over-current signal OcHsd and low side over-current signal OcLsd outputting a second anomaly detection signal AD2out. The clock signal CLK is, in general, an unmodulated signal, operating at frequency, i.e., fCLK, usually higher than that of the PWM signal. Its purpose is to determine, for instance using counters, the observation interval with sufficient precision. For example, in the exemplary circuit, fPWM is 2 MHz and fCLK is 16 MHz.
The logic module which embodies the second anomaly detector 35 is configured to set such second detection signal AD2out at high logic level, or logic one, (latched) if within a time comprised between 1 to 1.5 PWM clock cycles, i.e., cycles of the clock CLK, after a first over-current event, identified in particular by a pulse, a second over-current occurs on the same switch, e.g., the same high side switch. For the case of a short circuit to the positive or negative power supply with an increasing current trend (Iout* in
However, in variant embodiments the anomaly detection circuit 35 may be configured, if a further over-current event is signaled in a given time interval after a previous over-current event of the other switch, to detect an anomaly, i.e., the first anomaly. This may be obtained for instance by performing a logic OR between the high side and low side over-current signals, so that the circuit is able to detect the anomalies, e.g., first anomaly, detected by the anomaly detector 25.
Considering the output current in case of cycle-by-cycle protection and over-current due to a low value load coupled between the filtered output Vout_fil and a potential around half of the supply voltage Vdd, in
If the output Vout is at supply voltage, when the cycle-by-cycle protection against over-currents circuit 15 intervenes, the high side switch HDS is turned off and the low side switch LSD is turned on. The output Vout goes to low logic value, e.g. zero. The voltage on the inductor in the filter 13 is inverted, thus the current flowing in the inductor decreases with a sharp slope, given by the ratio of the voltage drop on the inductor to the inductance value of the inductor.
Also, in the case output Vout is at supply voltage Vdd, if a short circuit between the filtered output Vout_fil and ground takes place, this determines the activation of the cycle-by-cycle protection against over-currents circuit 15, which turns off the high side switch HSD and turns on the low side switch LSD. The voltage drop on the inductor in the load 13 decreases to low values (e.g., hundredth of mV) and the slope of the current flowing in such inductor as a function of time is also low.
In such circumstances, as mentioned it may happen that during a cycle of PWM modulation, even with the action of the cycle-by-cycle protection against over-currents circuit 15 the energy stored in the inductor when the high side switch HSD is on cannot be entirely discharged during the following cycle, so that the current keeps on increasing at each cycle.
By using the signals CLK, OcHSD and OcLSD it is possible to detect this type of over-current event (i.e., second anomaly) without the necessity of a further over-current detection circuit intervening at a current level (e.g., I2 in
The operation of the anomaly detector 35 is the following. In
However, as shown in
The behavior described hereabove with reference to
In this case, the fault is considered to be a short circuit to ground Gnd. The over-current is identified in the high side over-current signal OcHSD. If there is an over-current in the low side switch LSD, the anomaly detector 15 is activated.
For the correct operation of the solution here described it may preferably be required that: the PWM output signal OutCBC switches at the frequency Fpwm frequency (fixed); and the load 14 has an impedance behavior with maximum phase shifts around 60 degrees and with points of minimum impedance essentially of the resistive type. These characteristics are those commonly found in loads such as speakers.
In some cases, for instance to maximize the output power in the audio devices, it is provided that the half bridge can skip some pulses, operating thus at Fpwm/2, Fpwm/4, etc.
Therefore, it may be beneficial to use in connection with the second anomaly detector 35 a circuit as described in U.S. Pat. No. 11,251,754 (corresponding to European patent publication EP 3703255 A1), incorporated herein by reference, in order to force the PWM generator feeding the driving PWM signal PWMin to output a PWM signal switching at the frequency Fpwm.
This may be obtained by a circuit comparing the driving PWM signal PWMin and cycle-by-cycle protected driving signal OutCBC, and, if the driving PWM signal PWMin is found different with respect to the cycle-by-cycle protected driving signal OutCBC it is decided that the cycle-by-cycle protection against over-currents circuit 15 has intervened. A reset forcing signal LRFask to reset the switching at frequency Fpwm is issued. As shown in
In the exemplary embodiment of the second anomaly detector 35 shown above, the time constant which determines the duration of the observation window TW after the first over-current may be set with precision using the clock CLK signal, which can be the signal defining the frequency Fpwm of the driving PWM signal PWMin or a signal with a higher, in particular multiple, frequency.
In variant embodiments, the duration of the observation window TW may be set with less precision using a circuit with a RC time constant as time reference, e.g., measuring the time a voltage or current in a RC circuit, e.g., series resistor parallel capacitor, takes to reach a given level, e.g., the tau or τ time constant of the RC circuit, i.e., the RC product. In this case, there is no need for inputting the clock signal CLK to the second anomaly detector 35.
In further variant embodiments, the duration of the observation window TW is not fixed. The observation window TW ends after an elapsed time Tdel, which starts from the beginning of the clock cycle subsequent to that in which the over-current event has taken place. In such a case, the second anomaly detector, here indicated with 35′, also receives the cycle-by-cycle protected driving signal OutCBC, further to the clock signal CLK and the over-current signals. As shown in
In this case less restrictions are applied to the type of load which can be used.
Also in this case, if a high precision is not needed, a RC circuit may be used to count the elapsed time Tdel, thus it is not necessary to provide the clock signal CLK as input to the second anomaly detector 35′.
It is underlined that preferably the switching power stage circuit arrangement here described preferably makes use of the second detector 35, or 35′, while the power circuit arrangement here described may be further configured to detect also the first anomaly, either by, as mentioned, modifying the second detector 35 or 35 or by adding the first anomaly detector 25.
It is here underlined however that the description is here directed also to a switching power stage circuit arrangement like the one described in
It is further underlined that detectors 25, 35, and 35′ as disclosed herein are configured to allow at least an over-current event P, P1 before detecting an anomaly, i.e., a further over-current event P2 is needed in the pattern of events before that the anomaly detection circuits signal to enter the 3-state condition.
Thus, from the description here above the advantages of the described solution are clear.
The solution proposed simplify the “dual threshold CBC concept” and improves the reliability because reduces the maximum threshold current.
Advantageously, the solution here described is directed to a switching power stage circuit arrangement with cycle-by-cycle protection against over-currents, in particular a switching audio amplifier, which allows to solve the prior art drawbacks without requiring a second greater protection current threshold, thus obtaining a reduction in complexity of the circuit and an improvement of the reliability.
The circuit arrangement described thus simplifies and improves the reliability of the Cycle-by-cycle protection. The processing of the over-currents and clock signals are sufficient to protect the PWM system also in case of short circuits causing an energy accumulation in the output coil.
The claims are an integral part of the technical teaching of the disclosure provided herein.
Of course, without prejudice to the principle of the invention, the details of construction and the embodiments may vary widely with respect to what has been described and illustrated herein purely by way of example, without thereby departing from the scope of the present invention, as defined by the ensuing claims.
Number | Date | Country | Kind |
---|---|---|---|
102022000014167 | Jul 2022 | IT | national |