SWITCHING POWER STAGE CIRCUIT ARRANGEMENT WITH CYCLE-BY-CYCLE PROTECTION AGAINST OVER-CURRENTS AND CORRESPONDING SWITCHING METHOD

Information

  • Patent Application
  • 20240014729
  • Publication Number
    20240014729
  • Date Filed
    June 27, 2023
    a year ago
  • Date Published
    January 11, 2024
    5 months ago
Abstract
A half bridge switching power stage includes high/low side switches driven in response to a cycle-by-cycle protected driving signal derived from a PWM signal. Signals indicative of detected over-currents at said high/low side switches are processed to output the cycle-by-cycle protected driving signal, when the signal indicative of the detected over-current indicates, during a time interval within which the high/low side switch is turned on, that current flowing in the turned on high/low side switch crosses a given threshold, as an inverted PWM signal by turning off the turned on high/low side switch, and otherwise outputting said cycle-by-cycle protected driving signal as a not inverted PWM signal. An anomaly detection circuit receives the signals indicative of the over-current and switches off both the high/low side switches when an anomaly is detected in a pattern of over-current events in the signals indicative of the over-current.
Description
PRIORITY CLAIM

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.


TECHNICAL FIELD

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.


BACKGROUND

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 FIG. 1A, while FIG. 1B is a time diagram showing the evolution in time t of the main signals of the circuit arrangement of FIG. 1A.


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 FIG. 1B thus the over-current signals OcHsd and OcLSD are represented by pulses P (dotted line) issued when the current in the respective switch is above the given over-current threshold I1, in particular in FIG. 1B it is shown a pulse P in the high side over-current signal OcHsd.


In FIG. 1A with dashed lined are indicated possible paths of short-circuits from the output of the filter 13, to the supply voltage Vdd and to the ground Gnd.


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 FIG. 1B, starting from the pulse P 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, and therefore the low side switch LSD would not be protected.


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 FIG. 2 it is shown a time diagram where the trend of the output current Iout is exemplified in case of: a first anomaly determined by a short-circuit on the load 14, cycle-by-cycle threshold current I1, CBC1 indicates the time of intervention of the cycle-by-cycle protection circuit 15 after a delay CBCD, as shown in FIG. 1A, (controlled current); and a second anomaly determined by a short circuit to the supply voltage Vdd, in this case the current Iout, indicated with Iout* in the figure, can increase in a not controlled way.


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 FIG. 2, which is for instance 20-30% higher than the intervention level of the cycle-by-cycle protection against over-currents circuit 15, i.e., cycle-by-cycle threshold I1. The current Iout* increases, crossing the cycle-by-cycle current threshold I1 a second time at time instant CBC2 and then increasing despite the intervention of the cycle-by-cycle protection circuit 15. When the current Iout* passes the greater current threshold I2, the 3-state signal 3S brings both switches, e.g., transistors, in off condition.


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.


SUMMARY

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.





BRIEF DESCRIPTION OF THE DRAWINGS

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:



FIGS. 1A, 1B and 2 have been already described in the foregoing;



FIG. 3A shows schematically a circuit arrangement according to embodiments;



FIG. 3B represents a time diagram showing signal of the circuit arrangement according to embodiments;



FIG. 4 shows a circuit implementation of the circuit arrangement of FIG. 3A;



FIG. 5A shows the circuit diagram of a variant of circuit arrangement according to embodiments;



FIGS. 5B and 5C represent time diagrams showing signal of the circuit arrangement of FIG. 5A;



FIG. 6A shows the circuit diagram of a further variant of circuit arrangement according to embodiments;



FIG. 6B represents a time diagram showing signal of the circuit arrangement of FIG. 6A;



FIG. 7A shows the circuit diagram of a further variant of circuit arrangement according to embodiments;



FIGS. 7B and 7C represent time diagrams showing signal of the circuit arrangement of FIG. 7A.





DETAILED DESCRIPTION

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 FIGS. 1A, 1B and 2 are denoted by the same references previously used in such figures; the description of such previously described elements will not be repeated in the following in order not to overburden the present detailed description.


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 FIG. 2), which may be per se configured also to detect the first anomaly (i.e., first anomaly determined by a short-circuit on the load 14, CBC threshold current I1 in FIG. 2) to solve the drawbacks indicated above.


In FIG. 3A it is represented schematically, alongside the circuital arrangement 10 of power stage already described with reference to FIG. 1A, a first anomaly detector 25, which is embodied by a logical module receiving the driving PWM signal PWMin, the high side over-current signal OcHsd and the low side over-current signal OcLsd, and then outputting a first anomaly detection signal AD1out, which goes to high logic level, in a latched manner, if: PWMin at logic 1 AND OcLsd at logic 1; or PWMin at logic 0 AND OcHsd at logic 1.


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 FIG. 3B, analogous to FIG. 1A with respect to the quantities there represented, such a condition is the one that may take place in the time interval t1 in case of a short circuit to a supply voltage Vdd of the circuit or an equivalent event. This is an event which is not frequent, since it would take a short circuit which passes from the output at ground level Gnd to the output at supply voltage between the time interval t0 and the time interval t1. As shown in FIG. 3B the time interval t0 is the interval corresponding to a driving PWM signal PWMin and the cycle-by-cycle protected driving signal OutCBC at high logic level, before the issuing of the pulse P, and the beginning of the interval t1, i.e., when the cycle-by-cycle protected driving signal OutCBC is forced to zero logic level (dotted line).


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 FIG. 4 it is shown a CBC protection applied to a bridge architecture, comprising two half bridges, a first half bridge 11 and a second half bridge 11′ controlled by respective drivers, a first driver 12 (with first driving signals HS, LS) and a second driver 12′ (with second driving signals HS′, LS′). The outputs of the two half bridges 11 (with first switches HSD, LSD) and 11′ (with second switches HSD′, LSD′) are coupled to the respective terminals of the load 14 through respective LC filters 13, 13′. The cycle-by-cycle protection against over-currents circuit 15 receives at one input the logic OR (performed in a gate LGH) of the first high side over-current signal OcHsd and of the second low side over-current signal OcLsd′ and at the other input the logic OR (performed in a gate LGL) of the first low side over-current signal OcLsd and of the second high side over-current signal OcHsd′. As mentioned, the cycle-by-cycle protected driving signal OutCBC is brought at the input of the first driver 12, and, inverted in an inverter CF, to the second driver 12′. Also, a double short circuit of the load 14 (dashed lines), i.e., applied to each of its terminals, is indicated in FIG. 4. The first anomaly detection signal AD1out at the output of the first anomaly detector 25 brings the outputs of the half bridges or of the full bridge into the 3-state condition, i.e., all the power switches, HSD, LSD, HSD′, LSD′ are set off.


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 FIG. 2), that of the same switch is sufficient. Thus, the anomaly detection circuit 35 is configured, if a further over-current event is signaled in a given time interval after a previous over-current event of the same switch, to detect an anomaly, i.e., the second anomaly.


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 FIG. 5B it shows the occurrence of an over-current event, pulse P, on the high side over-current signal OCHsd.


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 FIG. 2) which may be dangerously higher (from 20 to 40% higher), using the anomaly detector 35.


The operation of the anomaly detector 35 is the following. In FIG. 5B it is shown a time diagram showing the input driving PWM signal PWMin, the output AD2OUT of detector 35, the high side over-current signal OcHSD, the output CBCout of the cycle-by-cycle protection against over-currents circuit 15 and an observation window TW. Once the cycle-by-cycle protection against over-currents circuit 15 intervenes, indicated by a pulse to high logic level issued following a corresponding pulse P1 (dotted line) in the upon high side over-current signal OcHSD, an observation window TW is activated, having a length of slightly more than a clock CLK period or cycle, for instance 1.5 times the clock CLK period, which is received at the detector 35. If during such clock CLK period, the second anomaly detector 35 does not detect other over-currents, i.e., the over-current signals OcHSD (and OcLSD as well, although not shown) do not present pulses, this identifies the absence of accumulation of current. The second anomaly detection signal AD2OUT of the second anomaly detector 35 stays low.


However, as shown in FIG. 5C, if in the same clock CLK period a second pulse P2 in the high side over-current signal OcHSD is detected by the detector 35, this means that the situation is critical, thus the second anomaly detector 35 generates a high level in the second anomaly detection signal A2DOUT (latched) which bring the half bridge or the full bridge in the 3-state condition, i.e., the high level second anomaly detection signal A2DOUT is supplied to 3-state input 3S and activate bringing the half bridge or the full bridge in the 3-state condition, i.e., both switches go off determining an high impedance state of the bridge.


The behavior described hereabove with reference to FIGS. 5B, 5C can be obtained for instance by using in the detector 35 a pulse detector, for instance receiving the high side over-current signal OcHsd, which upon receiving the pulse P1 starts a counter, clocked by signal CLK, while receiving a second pulse P2 generates a stop signal for the counter. If the counted time by the counter is less that the observation window TW the second anomaly detection signal AD2OUT is raised. Of course, many other implementations are possible to obtain checking if two overcurrent events in the high side over-current signal OcHsd takes place within the observation window TW.


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 FIG. 6A, a circuit 45 configured to force a PWM signal switching at the frequency Fpwm may be implemented by an EXOR gate 451 followed by a hold circuit 452 configured to hold the output of the EXOR gate 451 for one clock period, thus outputting the forcing signal LRFask. This is shown in the time diagram of FIG. 6B, where when a pulse is present in the high side over-current signal OcHSD, the cycle-by-cycle protected driving signal OutCBC goes low due to the action of the cycle-by-cycle protection against over-currents circuit 15 while the driving PWM signal PMWin stays at high logic level. A signal exor out, i.e., the output of the EXOR gate 451 and the input of the hold circuit 452, thus goes high till the next transition of the signal PMWin. The hold circuit 452, forcing signal LRFask, however maintains the high logic level until the end of the clock CLK cycle. 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 first anomaly detector 25 is activated.


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 FIG. 7B which represents a time diagram of the signals, after the first over-current (pulse P1) the observation window TW is opened, but after the elapsed time Tdel from the beginning of the next cycle of the driving PWM signal PWMin the observation window TW is closed, i.e., the signal TW goes low, thus the second detection signal AD2OUT stays low all the time.



FIG. 7C then shows that if within the elapsed time Tdel after next clock cycle a second over-current (pulse P2) takes place, then the second anomaly detector 35′ sets such second detection signal AD2out at high logic level or logic one (latched).


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 FIG. 1A which further comprises only the first anomaly detector 25.


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.

Claims
  • 1. A switching power stage circuit arrangement, comprising: a half bridge comprising a high side switch and low side switch; anda cycle-by-cycle protection against over-currents circuit configured to receive a PWM signal and output a cycle-by-cycle protected driving signal for controlling driving of said high side switch and low side switch;wherein said cycle-by-cycle protection against over-currents circuit is configured to: receive signals indicative of a detected over-current at said high side switch and low side switch; andoutput said cycle-by-cycle protected driving signal, in response to the signals indicative of the detected over-current indicating that current flowing in the turned on high side switch or low side switch crosses a given threshold during a time interval within which the high side switch or low side switch is turned on, as an inverted PWM signal by turning off the turned on high side switch or low side switch, and otherwise output said cycle-by-cycle protected driving signal as a not inverted PWM signal; andwherein said power stage further comprises an anomaly detection circuit configured to receive the signals indicative of the detected over-current and switch off both the high side switch and low side switch when an anomaly is detected in a pattern of over-current events indicated by the signals indicative of the detected over-current.
  • 2. The switching power stage circuit arrangement according to claim 1, wherein the anomaly detected by the anomaly detection circuit is a further over-current event signaled within a given time interval after a previous over-current event for a same switch.
  • 3. The switching power stage circuit arrangement according to claim 2, wherein said given time interval has a length longer than a cycle of a frequency of the PWM signal as determined from a clock signal having a frequency that is equal to or greater than the frequency of the PWM signal.
  • 4. The switching power stage circuit arrangement according to claim 3, wherein the anomaly detection circuit is configured to receive the cycle-by-cycle protected driving signal and the given time interval ends after an elapsed time which starts from a beginning of the driving PWM signal cycle subsequent to that in which the previous over-current event has taken place.
  • 5. The switching power stage circuit arrangement according to claim 1, wherein the anomaly detected by the anomaly detection circuit is a further over-current event of one switch signaled within a given time interval after a previous over-current event of another switch.
  • 6. The switching power stage circuit arrangement according to claim 5, further including a logic circuit configured to perform a logic OR between the signal indicative of the detected over-current at said high side switch and the signal indicative of the detected over-current at said low side switch.
  • 7. The switching power stage circuit arrangement according to claim 5, wherein said given time interval has a length longer than a cycle of a frequency of the PWM signal as determined from a clock signal having a frequency that is equal to or greater than the frequency of the PWM signal.
  • 8. The switching power stage circuit arrangement according to claim 7, wherein the anomaly detection circuit is configured to receive the cycle-by-cycle protected driving signal and the given time interval ends after an elapsed time which starts from a beginning of the driving PWM signal cycle subsequent to that in which the previous over-current event has taken place.
  • 9. The switching power stage circuit arrangement according to claim 1, wherein the anomaly detected by the anomaly detection circuit is a pattern of over-current events including an over-current event on one switch when the cycle-by-cycle protected driving signal commands said one switch to be turned off.
  • 10. The switching power stage circuit arrangement according to claim 1, wherein said power stage circuit arrangement is comprised in a class D bridge audio amplifier.
  • 11. A method for switching a power stage circuit arrangement, comprising: generating a cycle-by-cycle protected driving signal in response to a PWM signal;driving a half bridge comprising a high side switch and low side switch in response to the cycle-by-cycle protected driving signal;detecting over-currents at said high side switch and low side switch and generating signals indicative of the over-currents detected at said high side switch and low side switch,outputting said cycle-by-cycle protected driving signal, in response to the signals indicative of the detected over-current indicating that current flowing in the turned on high side switch or low side switch crosses a given threshold during a time interval within which the high side switch or low side switch is turned on, as an inverted PWM signal by turning off the turned on high side switch or low side switch, and otherwise outputting said cycle-by-cycle protected driving signal as a not inverted PWM signal;performing an anomaly detection on the basis of at least the signals indicative of the detected over-current; andswitching off both the high side switch and low side switch when the anomaly is detected in a pattern of over-current events in the signals indicative of the detected over-current.
  • 12. The method according to claim 11, wherein the anomaly is detected when a further over-current event is signaled in a given time interval after a previous over-current event for a same switch.
  • 13. The method according to claim 12, wherein said given time interval has a length longer than a cycle of a frequency of the PWM signal as determined from a clock signal having a frequency that is equal to or greater than the frequency of the PWM signal.
  • 14. The method according to claim 13, wherein the given time interval ends after an elapsed time which starts from a beginning of the driving PWM signal cycle subsequent to that in which a previous over-current event has taken place.
  • 15. The method according to claim 11, wherein the anomaly is detected when a further over-current event in one switch is signaled in a given time interval after a previous over-current event of another switch.
  • 16. The method according to claim 15, wherein said given time interval has a length longer than a cycle of a frequency of the PWM signal as determined from a clock signal having a frequency that is equal to or greater than the frequency of the PWM signal.
  • 17. The method according to claim 16, wherein the given time interval ends after an elapsed time which starts from a beginning of the driving PWM signal cycle subsequent to that in which a previous over-current event has taken place.
  • 18. The method according to claim 11, wherein the anomaly detected is a pattern of over-current events including an over-current event on one switch when the cycle-by-cycle protected driving signal commands said one switch to be turned off.
Priority Claims (1)
Number Date Country Kind
102022000014167 Jul 2022 IT national