The present disclosure relates to the digital power supply field, and in particular, to a digital power supply protection circuit, and an apparatus.
In a direct current to direct current power conversion circuit, a bridge circuit is a common application circuit, and the bridge circuit includes a full bridge circuit and a half bridge circuit. The bridge circuit periodically works under control of an inceptive impulse clock timing, and each period is divided into the first half period and the second half period. A power switch in the bridge circuit is classified into two groups: a power switch that is switched on at a first time and a power switch that is switched on at a second time, and the two groups of power switches are switched on in different half periods.
As shown in
As shown in
For a bridge circuit, to maintain magnetic balance of a transformer, a DC blocking capacitor (such as the C1 in
In the prior art, in a current period, when an overcurrent signal occurs within a switch-on time duration of a power switch that is switched on at the first time, an active level that controls the power switch that is switched on at the first time to a switch-on state is adjusted to an inactive level according to time of occurrence of the overcurrent signal; when no overcurrent signal occurs within a switch-on time duration of a power switch that is switched on at the second time, or when an overcurrent signal also occurs within the switch-on time duration of the power switch that is switched on at the second time, relative to start time of a switch-on time duration of a power switch, if time of occurrence of the overcurrent signal occurring at the second time is later than the time of occurrence of the overcurrent signal occurring at the first time, an active level that controls the power switch that is switched on at the second time to a switch-on state is also adjusted to an inactive level according to the time of occurrence of the overcurrent signal occurring at the first time, so that when an overcurrent signal occurs, it may be ensured that in the current period, the switch-on time duration of the power switch that is switched on at the first time is equal to the switch-on time duration of the power switch that is switched on at the second time, thereby implementing magnetic balance of a transformer. The active level is used to control a power switch to a switch-on state, and the inactive level is used to control the power switch to a switch-off state. For example, the active level may be at a high level, and the inactive level may be at a low level, which depends on a type of a transistor in the power switch and a specific circuit design of the power switch.
However, in the foregoing implementation process, if no overcurrent signal occurs within the switch-on time duration of the power switch that is switched on at the first time in the current period, but an overcurrent signal occurs within the switch-on time duration of the power switch that is switched on at the second time, to ensure that a bridge circuit is not damaged, only the active level that controls the power switch that is switched on at the second time to a switch-on state and is in the current period is disabled according to time of occurrence of the overcurrent signal, but a subsequent signal is not processed according to the current overcurrent signal, which finally causes duration of the disabled active level of the power switch that is switched on at the second time in the current period to be different from duration of the active level of the power switch that is switched on at the first time in the current period. In addition, the subsequent signal is not further processed subsequently; therefore, magnetic balance of the transformer cannot be ensured, thereby reducing reliability of the bridge circuit.
Embodiments of the present invention provide a digital power supply protection circuit and an apparatus, which are used to ensure magnetic balance of a transformer in a bridge circuit, and improve reliability of the bridge circuit.
To achieve the foregoing objective, the following technical solutions are used in the embodiments of the present invention:
According to a first aspect, an embodiment of the present invention provides a digital power supply protection circuit, where the digital power supply protection circuit is applied to a bridge circuit, and the bridge circuit includes: a power switch that is switched on at a first time and a power switch that is switched on at a second time, the bridge circuit periodically works under control of an inceptive impulse clock timing, and each period is divided into the first half period and the second half period, where the power switch that is switched on at the first time is a power switch that is switched on in the first half period, the power switch that is switched on at the second time is a power switch that is switched on in the second half period, and the inceptive impulse clock timing includes a first inceptive impulse clock timing and a second inceptive impulse clock timing; and the digital power supply protection circuit includes: a signal preprocessing circuit, a signal generation circuit, and a clock timing adjustment circuit, where the signal preprocessing circuit is configured to receive an overcurrent signal and the first inceptive impulse clock timing, perform preprocessing on the overcurrent signal according to the first inceptive impulse clock timing so as to obtain a first reference signal, and send the first reference signal to the signal generation circuit, where the first inceptive impulse clock timing is an inceptive impulse clock timing that controls the power switch that is switched on at the first time in a current period, the overcurrent signal includes a signal that is output when an overcurrent occurs in the bridge circuit within time duration of an active level in the first inceptive impulse clock timing, and a rising edge of the first reference signal indicates a moment when the overcurrent occurs in the bridge circuit within the first inceptive impulse clock timing; the signal generation circuit is configured to receive the first inceptive impulse clock timing, count time duration between a rising edge of the first inceptive impulse clock timing and the rising edge of the first reference signal so as to obtain a first time duration, upon the first time duration is greater than a second time duration, generate a first disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the second time duration, and send the first disabling signal to the clock timing adjustment circuit, where the second time duration is time duration between a switching-on moment of the power switch that is switched on at the second time in a previous period and a moment when the overcurrent occurs in the bridge circuit; and the clock timing adjustment circuit is configured to adjust the first inceptive impulse clock timing from the active level to an inactive level according to the first disabling signal, so that duration of the active level in an adjusted first inceptive impulse clock timing is equal to duration of an active level in a second inceptive impulse clock timing adjusted according to the second time duration, where the second inceptive impulse clock timing is an inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the signal preprocessing circuit is further configured to receive the second inceptive impulse clock timing, perform preprocessing on the overcurrent signal according to the second inceptive impulse clock timing so as to obtain a second reference signal, and send the second reference signal to the signal generation circuit, where the overcurrent signal further includes a signal that is output when an overcurrent occurs in the bridge circuit within time duration of the active level in the second inceptive impulse clock timing, and a rising edge of the second reference signal indicates the moment when the overcurrent occurs in the bridge circuit within the second inceptive impulse clock timing; the signal generation circuit is further configured to receive the second inceptive impulse clock timing, count time duration between a rising edge of the second inceptive impulse clock timing and the rising edge of the second reference signal so as to obtain the second time duration, upon the second time duration is less than a stored third time duration, generate a second disabling signal by delaying the rising edge of the second inceptive impulse clock timing for the second time duration, send the second disabling signal to the clock timing adjustment circuit, and update the stored third time duration to the second time duration, where the third time duration is a switch-on time duration of the power switch that is switched on at the first time in the previous period; and the clock timing adjustment circuit is further configured to adjust the second inceptive impulse clock timing from the active level to an inactive level according to the second disabling signal.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the signal generation circuit is further configured to: upon the first time duration is not greater than the second time duration, generate a third disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the first time duration, and send the third disabling signal to the clock timing adjustment circuit; and the clock timing adjustment circuit is further configured to adjust the first inceptive impulse clock timing from the active level to the inactive level according to the third disabling signal.
With reference to the first or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the clock timing adjustment circuit is further configured to delay the first disabling signal according to a dead time during working of the bridge circuit so as to obtain a first delay signal, and adjust a third inceptive impulse clock timing to an active level according to the first delay signal; and delay the second disabling signal according to the dead time during working of the bridge circuit so as to obtain a second delay signal, and adjust a fourth inceptive impulse clock timing to an active level according to the second delay signal, where the third inceptive impulse clock timing is an inceptive impulse clock timing that controls a first synchronous rectifier corresponding to the power switch that is switched on at the first time in the bridge circuit, and the fourth inceptive impulse clock timing is an inceptive impulse clock timing that controls a second synchronous rectifier corresponding to the power switch that is switched on at the second time in the bridge circuit.
With reference to the first aspect or any one of the first to the third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the signal preprocessing circuit includes a first-base-signal generation circuit and a first logic circuit, where the first-base-signal generation circuit is configured to receive the first inceptive impulse clock timing, generate a first base signal according to the first inceptive impulse clock timing, and send the first base signal to the first logic circuit; and the first logic circuit is configured to receive the overcurrent signal, perform an AND operation on the first base signal and the overcurrent signal to obtain a rising edge so as to obtain the first reference signal, and send the first reference signal to the signal generation circuit.
With reference to any one of the first to the third possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the signal preprocessing circuit further includes a second-base-signal generation circuit and a second logic circuit, where the second-base-signal generation circuit is configured to receive the second inceptive impulse clock timing, generate a second base signal according to the second inceptive impulse clock timing, and send the second base signal to the second logic circuit; and the second logic circuit is configured to receive the overcurrent signal, perform an AND operation on the second base signal and the overcurrent signal to obtain a rising edge so as to obtain the second reference signal, and send the second reference signal to the signal generation circuit.
With reference to the first aspect or any one of the first to the fifth possible implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, the signal generation circuit includes a counter, a latch, and a controller, where the counter is configured to receive the first reference signal, count the time duration between the rising edge of the first inceptive impulse clock timing and the rising edge of the first reference signal so as to obtain the first time duration, and send the first time duration to the controller; the latch is configured to store the second time duration, and send the second time duration to the controller; and the controller is configured to: upon the first time duration is greater than the second time duration, generate the first disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the second time duration, and send the disabling signal to the clock timing adjustment circuit.
With reference to any one of the first to the third possible implementation manners of the first aspect or the fifth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, the signal generation circuit includes a counter, a latch, and a controller, where the counter is configured to receive the second reference signal, count the time duration between the rising edge of the second inceptive impulse clock timing and the rising edge of the second reference signal so as to obtain the second time duration, and send the second time duration to the controller; the latch is configured to store the third time duration, and send the third time duration to the controller; and the controller is configured to: upon the second time duration is less than the third time duration, generate the second disabling signal by delaying the rising edge of the second inceptive impulse clock timing for the second time duration, send the second disabling signal to the clock timing adjustment circuit, and trigger the latch to update the stored third time duration to the second time duration.
According to a second aspect, an embodiment of the present invention provides a digital power supply, where the digital power supply includes a bridge circuit and the foregoing digital power supply protection circuit, where the digital power supply protection circuit is configured to adjust at least one of a first inceptive impulse clock timing or a second inceptive impulse clock timing according to an overcurrent signal, and send at least one of an adjusted first inceptive impulse clock timing or an adjusted second inceptive impulse clock timing to the bridge circuit; and the bridge circuit is configured to control, according to the at least one of the adjusted first inceptive impulse clock timing or the adjusted second inceptive impulse clock timing, at least one of a power switch that is switched on at the first time or a power switch that is switched on at the second time in the bridge circuit.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the digital power supply further includes an output current collection circuit, where the output current collection circuit is configured to collect an output current of the bridge circuit, determine the overcurrent signal according to the output current of the bridge circuit, and send the overcurrent signal to the digital power supply protection circuit.
The embodiments of the present invention provide a digital power supply protection circuit and an apparatus, and the digital power supply protection circuit is applied to a bridge circuit, so that a switch-on time duration of a power switch that is switched on at the second time in a previous period is equal to a switch-on time duration of a power switch that is switched on at the first time in a current period, thereby ensuring magnetic balance of a transformer, and improving reliability of the bridge circuit.
To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely some but not all of the embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
It should be noted that, an active level in all embodiments of the present invention refers to a level at which a related component controlled by the signal properly works, and an inactive level refers to a level at which the related component controlled by the signal does not work. According to different specific circuit implementations, an active signal may be a high level signal, and an inactive signal may be a low level signal; or an active signal may be a low level signal, and an inactive signal is a high level signal.
An embodiment of the present invention provides a digital power supply, and as shown in
The bridge circuit 301 mentioned in this embodiment of the present invention may be either a full bridge circuit or a half bridge circuit in the prior art, as shown in
The bridge circuit 301 periodically works under control of an inceptive impulse clock timing, and each period is divided into the first half period and the second half period, where a power switch that is switched on at a first time is a power switch that is switched on in the first half period, a power switch that is switched on at a second time is a power switch that is switched on in the second half period, and the inceptive impulse clock timing includes a first inceptive impulse clock timing and a second inceptive impulse clock timing.
An output end of the digital power supply protection circuit 302 is connected to the bridge circuit 301.
The digital power supply protection circuit 302 is configured to adjust at least one of the first inceptive impulse clock timing or the second inceptive impulse clock timing according to an overcurrent signal, and send at least one of an adjusted first inceptive impulse clock timing or an adjusted second inceptive impulse clock timing to the bridge circuit 301.
Upon an overcurrent signal occurs relatively late or no overcurrent signal occurs when the power switch that is switched on at the first time is switched on in a current period, the first inceptive impulse clock timing that controls the power switch that is switched on at the first time in the current period is adjusted from the active level to an inactive level according to a switch-on time duration of the power switch that is switched on at the second time in a previous period, so that the switch-on time duration of the power switch that is switched on at the second time in the previous period is equal to a switch-on time duration of the power switch that is switched on at the first time in the current period.
If time of occurrence of an overcurrent within the switch-on time duration of the power switch that is switched on at the second time in the previous period is earlier than time of occurrence of an overcurrent signal occurring within a switch-on time duration of the power switch that is switched on at the first time in the previous period, to ensure that an overcurrent signal occurring within the switch-on time duration of the power switch that is switched on at the second time in the previous period does not damage the bridge circuit, the second inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period is adjusted from the active level to an inactive level according to a second time duration, so as to ensure safety of the bridge circuit.
The bridge circuit 301 is configured to control, according to the at least one of the adjusted first inceptive impulse clock timing or the adjusted second inceptive impulse clock timing, at least one of the power switch that is switched on at the first time or the power switch that is switched on at the second time in the bridge circuit 301.
Specifically, the bridge circuit 301 controls, according to the adjusted first inceptive impulse clock timing, the switch-on time duration of the power switch that is switched on at the first time in the current period, where duration of the active level in the first inceptive impulse clock timing is the switch-on time duration of the power switch that is switched on at the first time in the current period.
The bridge circuit 301 controls, according to the adjusted second inceptive impulse clock timing, the switch-on time duration of the power switch that is switched on at the second time in the previous period, where duration of the active level in the second inceptive impulse clock timing is the switch-on time duration of the power switch that is switched on at the second time in the previous period.
Further, as shown in
An input end of the digital power supply protection circuit 302 is connected to the output current collection circuit 303.
The output current collection circuit 303 is configured to collect an output current of the bridge circuit 301, and generate an overcurrent signal according to the output current of the bridge circuit 301.
Specifically, the output current collection circuit 303 is configured to collect an output current of the full bridge circuit shown in
It should be noted that, a manner in which the output current collection circuit 303 collects the output current of the bridge circuit may be: connecting the output end of the bridge circuit 301 to a resistor whose resistance value is extremely small, collecting a voltage at two ends of the resistor, and obtaining the output current of the bridge circuit by combining a value of the voltage and the resistance value of the resistor. Certainly, the output current of the bridge circuit may also be collected according to any one of methods for collecting a current of a circuit in the prior art, and the present invention sets no limitation thereto.
Further, as shown in
An input end of the signal generation circuit 402 is connected to an output end of the signal preprocessing circuit 401, and an output end of the signal generation circuit 402 is connected to an input end of the clock timing adjustment circuit 403.
The signal preprocessing circuit 401 is configured to receive an overcurrent signal and the first inceptive impulse clock timing, perform preprocessing on the overcurrent signal according to the first inceptive impulse clock timing so as to obtain a first reference signal, and send the first reference signal to the signal generation circuit, where
the first inceptive impulse clock timing is an inceptive impulse clock timing that controls the power switch that is switched on at the first time in the current period, the overcurrent signal includes a signal that is output when an overcurrent occurs in the bridge circuit within time duration of an active level in the first inceptive impulse clock timing, and a rising edge of the first reference signal indicates a moment when the overcurrent occurs in the bridge circuit within the first inceptive impulse clock timing.
The signal generation circuit 402 is configured to receive the first inceptive impulse clock timing, count time duration between a rising edge of the first inceptive impulse clock timing and the rising edge of the first reference signal so as to obtain a first time duration, upon the first time duration is greater than a second time duration, generate a first disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the second time duration, and send the first disabling signal to the clock timing adjustment circuit, where
the second time duration is time duration between a switching-on moment of the power switch that is switched on at the second time in the previous period and a moment when the overcurrent occurs in the bridge circuit.
The clock timing adjustment circuit 403 is configured to adjust the first inceptive impulse clock timing from the active level to the inactive level according to the first disabling signal, so that duration of the active level in an adjusted first inceptive impulse clock timing is equal to duration of an active level in a second inceptive impulse clock timing adjusted according to the second time duration, where
the second inceptive impulse clock timing is an inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period.
It should be noted that, because the power switch that is switched on at the first time and the power switch that is switched on at the second time in the bridge circuit need to be periodically switched on in turn, the active level in the inceptive impulse clock timing that controls the power switch that is switched on at the first time and the active level in the inceptive impulse clock timing that controls the power switch that is switched on at the second time alternately occur. A period is obtained by using time of occurrence of a rising edge of the inceptive impulse clock timing that controls the power switch that is switched on at the first time as start time of the period, and by using time of occurrence of a next rising edge of the inceptive impulse clock timing that controls the power switch that is switched on at the first time as end time of the period. The previous period is a period previous to the current period. The previous period may be the first period in which the bridge circuit controls switch-on and switch-off of a power switch, or may be an intermediate period in which the bridge circuit controls switch-on and switch-off of a power switch, and the present invention sets no limitation thereto.
Specifically, the overcurrent signal received by an input end of the signal preprocessing circuit 401 is a signal that is output by the bridge circuit when the overcurrent occurs within the time duration of the active level in the first inceptive impulse clock timing. Because oscillation is generated instantaneously when a power switch in the bridge circuit is switched on or switched off, a glitch exists in the overcurrent signal. To filter out the glitch, the signal preprocessing circuit 401 delays, according to a width of the glitch, a rising edge of the inceptive impulse clock timing that controls the power switch that is switched on at the first time in the current period, that is, the rising edge of the first inceptive impulse clock timing, and performs logical operation on an inceptive impulse clock timing whose rising edge is delayed and the overcurrent signal, so as to obtain an overcurrent signal in which the glitch is filtered out, that is, the first reference signal, where the rising edge of the first reference signal represents the moment when the overcurrent occurs within the switch-on time duration of the power switch that is switched on at the first time in the current period. In addition, the signal generation circuit 402 receives the first reference signal from the signal preprocessing circuit 401, starts timing from the rising edge of the first inceptive impulse clock timing and stops timing until the rising edge of the first reference signal occurs, so as to obtain time duration between a switching-on moment of the power switch that is switched on at the first time and the moment when the overcurrent occurs, that is, the first time duration, and compares the first time duration with the stored second time duration between the switching-on moment of the power switch that is switched on at the second time in the previous period and the moment when the overcurrent signal occurs. If it is determined that the first time duration is greater than the second time duration, it indicates that time of occurrence of the overcurrent within the switch-on time duration of the power switch that is switched on at the first time in the current period is later than the time of occurrence of the overcurrent within the switch-on time duration of the power switch that is switched on at the second time in the previous period. To ensure that the switch-on time duration of the power switch that is switched on at the first time in the current period is equal to the switch-on time duration of the power switch that is switched on at the second time in the previous period, the switch-on time duration of the power switch that is switched on at the first time in the current period needs to be controlled according to the second time duration. In this case, the signal generation circuit 402 generates the first disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the second time duration. The clock timing adjustment circuit 403 receives the first disabling signal from the signal generation circuit 402, and adjusts the first inceptive impulse clock timing from the active level to the inactive level according to the first disabling signal, so as to control the duration of the active level in the first inceptive impulse clock timing. The second time duration is duration of the active level in the second inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period, that is, the switch-on time duration of the power switch that is switched on at the second time in the previous period, and in this case, the duration of the active level in the first inceptive impulse clock timing is controlled according to the first disabling signal generated from the second time duration, that is, the switch-on time duration of the power switch that is switched on at the first time in this period is controlled according to the second time duration, therefore, the switch-on time duration of the power switch that is switched on at the second time in the previous period is equal to the switch-on time duration of the power switch that is switched on at the first time in the current period, thereby ensuring magnetic balance of a transformer.
It should be noted that, the width of the glitch is related to a feature of a power switch in the bridge circuit, and is generally a reference value obtained according to a test result.
It should be noted that, a method for obtaining the first reference signal by the signal preprocessing circuit 401 may be the foregoing method, or may be another manner in the prior art, which is not limited in the present invention, provided that the rising edge of the first reference signal indicates the moment when the overcurrent occurs in the bridge circuit within the first inceptive impulse clock timing.
It should be noted that, although the overcurrent signal is a signal that is output when the overcurrent occurs in the bridge circuit within the time duration of the active level in the first inceptive impulse clock timing, upon overcurrent determining is not specifically performed on the signal that is output by the bridge circuit, it is not known whether an overcurrent occurs in the bridge circuit. Therefore, a circuit for overcurrent determining may be added behind the bridge circuit, such as the output current collection circuit 303 in
This embodiment of the present invention provides a digital power supply protection circuit 302 that is applied to a bridge circuit and includes a signal preprocessing circuit, a signal generation circuit, and a clock timing adjustment circuit. When receiving an overcurrent signal, the signal preprocessing circuit performs preprocessing on the overcurrent signal according to a first inceptive impulse clock timing so as to obtain a first reference signal. The signal generation circuit counts time duration between a rising edge of the first inceptive impulse clock timing and a rising edge of the first reference signal so as to obtain a first time duration, and upon the first time duration is greater than a second time duration between a switching-on moment of a power switch that is switched on at the second time in a previous period and a moment when an overcurrent occurs, generates a first disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the second time duration. The clock timing adjustment circuit adjusts the first inceptive impulse clock timing from the active level to an inactive level according to the first disabling signal. In this way, when an overcurrent occurs within a switch-on time duration of the power switch that is switched on at the second time in the previous period, to avoid the overcurrent from damaging the bridge circuit, an inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period, that is, a second inceptive impulse clock timing, needs to be adjusted from the active level to an inactive level according to the second time duration. In addition, upon the overcurrent signal occurs relatively late or no overcurrent signal occurs when a power switch that is switched on at the first time is switched on in a current period, an inceptive impulse clock timing that controls the power switch that is switched on at the first time in the current period, that is, the first inceptive impulse clock timing, is adjusted from the active level to the inactive level according to the second time duration, so that the switch-on time duration of the power switch that is switched on at the second time in the previous period is equal to a switch-on time duration of the power switch that is switched on at the first time in the current period, thereby ensuring magnetic balance of a transformer, and improving reliability of the bridge circuit.
Further, the signal preprocessing circuit 401 is further configured to receive the second inceptive impulse clock timing, perform preprocessing on the overcurrent signal according to the second inceptive impulse clock timing so as to obtain a second reference signal, and send the second reference signal to the signal generation circuit 402, where
the overcurrent signal further includes a signal that is output when an overcurrent occurs in the bridge circuit within time duration of an active level in the second inceptive impulse clock timing, and a rising edge of the second reference signal indicates the moment when the overcurrent occurs in the bridge circuit within the second inceptive impulse clock timing.
The signal generation circuit 402 is further configured to receive the second inceptive impulse clock timing, count time duration between a rising edge of the second inceptive impulse clock timing and the rising edge of the second reference signal so as to obtain the second time duration, upon the second time duration is less than a stored third time duration, generate a second disabling signal by delaying the rising edge of the second inceptive impulse clock timing for the second time duration, send the second disabling signal to the clock timing adjustment circuit 403, and update the stored third time duration to the second time duration, where
the third time duration is a switch-on time duration of the power switch that is switched on at the first time in the previous period, and it should be noted that, an overcurrent may occur or may not occur in a switching-on process of the power switch that is switched on at the first time in the previous period.
The clock timing adjustment circuit 403 is further configured to adjust the second inceptive impulse clock timing from the active level to the inactive level according to the second disabling signal.
Specifically, when receiving the overcurrent signal, the signal preprocessing circuit 401 delays, according to the width of the glitch, a rising edge of the inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period, that is, the rising edge of the second inceptive impulse clock timing; and after an AND operation is performed on the inceptive impulse clock timing whose rising edge is delayed and the overcurrent signal to obtain a rising edge, obtains an overcurrent signal in which the glitch is filtered out and that occurs within the time duration of the active level in the second inceptive impulse clock timing, where the rising edge of the second inceptive impulse clock timing represents the moment when the overcurrent occurs within the switch-on time duration of the power switch that is switched on at the second time in the previous period. In addition, the signal generation circuit 402 receives the second reference signal from the signal preprocessing circuit 401, starts timing from the rising edge of the second inceptive impulse clock timing and stops timing until the rising edge of the second reference signal occurs, so as to obtain time duration between the switching-on moment of the power switch that is switched on at the second time and the moment when the overcurrent occurs, that is, the second time duration, and compares the obtained second time duration with the stored switch-on time duration of the power switch that is switched on at the first time in the previous period, that is, the third time duration. If it is determined that the second time duration is less than the third time duration, it indicates that the time of occurrence of the overcurrent within the switch-on time duration of the power switch that is switched on at the second time in the previous period is earlier than the time of occurrence of the overcurrent signal within the switch-on time duration of the power switch that is switched on at the first time in the previous period. In this case, because an inceptive impulse clock timing that controls the power switch that is switched on at the first time in the previous period has been generated, the inceptive impulse clock timing cannot be modified. To ensure that the overcurrent signal occurring within the switch-on time duration of the power switch that is switched on at the second time in the previous period does not damage the bridge circuit, the rising edge of the second inceptive impulse clock timing is delayed for the second time duration to generate the second disabling signal. In this case, the clock timing adjustment circuit 403 receives the second disabling signal from the signal generation circuit 402, and adjusts the second inceptive impulse clock timing from the active level to the inactive level according to the second disabling signal, thereby ensuring safety of the bridge circuit.
Further, the signal generation circuit 402 is further configured to: upon the first time duration is not greater than the second time duration, generate a third disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the first time duration, and send the third disabling signal to the clock timing adjustment circuit 403.
The clock timing adjustment circuit 403 is further configured to adjust the first inceptive impulse clock timing from the active level to the inactive level according to the third disabling signal, so that the overcurrent signal does not damage the bridge circuit.
Specifically, when the first time duration is not greater than the second time duration, it indicates that the time of occurrence of the overcurrent within the switch-on time duration of the power switch that is switched on at the first time in the current period is earlier than or is the same as the time of occurrence of the overcurrent within the switch-on time duration of the power switch that is switched on at the second time in the previous period. In this case, because the inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period has been generated, the inceptive impulse clock timing cannot be modified. To ensure that the overcurrent signal occurring within the switch-on time duration of the power switch that is switched on at the first time in the current period does not damage the bridge circuit, the signal generation circuit 402 generates the third disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the first time duration, and sends the third disabling signal to the clock timing adjustment circuit 403. In this case, the clock timing adjustment circuit 403 receives the third disabling signal from the signal generation circuit 402, and adjusts the first inceptive impulse clock timing from the active level to the inactive level according to the third disabling signal, thereby ensuring safety of the bridge circuit.
Further, the clock timing adjustment circuit 403 is further configured to delay the first disabling signal according to a dead time during working of the bridge circuit so as to obtain a first delay signal, and adjust a third inceptive impulse clock timing to an active level according to the first delay signal; and delay the second disabling signal according to the dead time during working of the bridge circuit so as to obtain a second delay signal, and adjust a fourth inceptive impulse clock timing to an active level according to the second delay signal, where
the third inceptive impulse clock timing is an inceptive impulse clock timing that controls a first synchronous rectifier corresponding to the power switch that is switched on at the first time in the bridge circuit, and the fourth inceptive impulse clock timing is an inceptive impulse clock timing that controls a second synchronous rectifier corresponding to the power switch that is switched on at the second time in the bridge circuit.
It should be noted that, a status of the first synchronous rectifier varies with a status of the power switch that is switched on at the first time. When the power switch that is switched on at the first time is switched on, the first synchronous rectifier does not work; when the power switch that is switched on at the first time is switched off, the first synchronous rectifier works. Correspondingly, when the inceptive impulse clock timing that controls the power switch that is switched on at the first time is at the active level, the third inceptive impulse clock timing that controls the first synchronous rectifier is at the inactive level; when the inceptive impulse clock timing that controls the power switch that is switched on at the first time is at the inactive level, the third inceptive impulse clock timing that controls the first synchronous rectifier is at the active level.
It should be noted that, referring to
Specifically, after receiving the first disabling signal and the second disabling signal, the clock timing adjustment circuit 403 separately delays the first disabling signal and the second disabling signal according to the dead time during working of the bridge circuit, so as to obtain the corresponding first delay signal and second delay signal; adjusts, according to the first delay signal, the inceptive impulse clock timing that controls the first synchronous rectifier in the bridge circuit, that is, the third inceptive impulse clock timing, to the active level, that is, resets the third inceptive impulse clock timing; and adjusts, according to the second delay signal, the inceptive impulse clock timing that controls the second synchronous rectifier in the bridge circuit, that is, the fourth inceptive impulse clock timing, to the active level, that is, resets the fourth inceptive impulse clock timing, so as to prevent the power switch that is switched on at the first time and the power switch that is switched on at the second time from being simultaneously switched on or switched off in the bridge circuit within one period.
Preferably, as shown in
An input end of the first logic circuit 4012 is connected to an output end of the first-base-signal generation circuit 4011, and an output end of the first logic circuit 4012 is connected to a first input end of the signal generation circuit.
The first-base-signal generation circuit 4011 is configured to receive the first inceptive impulse clock timing, generate a first base signal according to the first inceptive impulse clock timing, and send the first base signal to the first logic circuit 4012.
The first logic circuit 4012 is configured to receive the overcurrent signal, perform an AND operation on the first base signal and the overcurrent signal to obtain a rising edge so as to obtain the first reference signal, and send the first reference signal to the signal generation circuit.
Specifically, an input end of the first-base-signal generation circuit 4011 is connected to the output end of the bridge circuit, and is configured to acquire the inceptive impulse clock timing that controls the power switch that is switched on at the first time in the current period, that is, the first inceptive impulse clock timing, delay the rising edge of the first inceptive impulse clock timing according to the width of the glitch generated in the overcurrent signal, so as to obtain a rising edge of the first base signal, and control duration of the first base signal to be less than a half period, so as to obtain a falling edge of the first base signal. Because a first input end of the first logic circuit 4012 is connected to the output end of the first-base-signal generation circuit 4011 and is configured to receive the first base signal, and a second input end of the first logic circuit 4012 is connected to an output end of the output current collection circuit 303 and is configured to receive the overcurrent signal, in this case, the first logic circuit 4012 performs the AND operation on the overcurrent signal and the first base signal to obtain the rising edge so as to obtain the first reference signal. Also, because the output end of the first logic circuit 4012 is connected to the first input end of the signal generation circuit 402, the first reference signal can be output to the signal generation circuit 402.
As shown in
An input end of the second logic circuit 4014 is connected to an output end of the second-base-signal generation circuit 4013, and an output end of the second logic circuit 4014 is connected to a second input end of the signal generation circuit 402.
The second-base-signal generation circuit 4013 is configured to receive the second inceptive impulse clock timing, generate a second base signal according to the second inceptive impulse clock timing, and send the second base signal to the second logic circuit 4014.
The second logic circuit 4014 is configured to receive the overcurrent signal, perform an AND operation on the second base signal and the overcurrent signal to obtain a rising edge so as to obtain the second reference signal, and send the second reference signal to the signal generation circuit.
Specifically, an input end of the second-base-signal generation circuit 4013 is connected to the output end of the bridge circuit, and is configured to acquire the inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period, that is, the second inceptive impulse clock timing, delay the rising edge of the second inceptive impulse clock timing according to the width of the glitch generated in the overcurrent signal, so as to obtain a rising edge of the second base signal, and control duration of the second base signal to be less than a half period, so as to obtain a falling edge of the second base signal. Because a first input end of the second logic circuit 4014 is connected to the output end of the second-base-signal generation circuit 4013 and is configured to receive the second base signal, and a second input end of the second logic circuit 4014 is connected to an output end of the output current collection circuit 303 and is configured to receive the overcurrent signal, in this case, the second logic circuit 4014 performs the AND operation on the overcurrent signal and the second base signal to obtain the rising edge so as to obtain the second reference signal. Also, because the output end of the second logic circuit 4014 is connected to the second input end of the signal generation circuit 402, the second reference signal can be output to the signal generation circuit 402.
Preferably, as shown in
A first input end of the first AND gate 40121 is connected to the output end of the first-base-signal generation circuit 4011, a second input end of the first AND gate 40121 is connected to an output end of a signal collection circuit, an output end of the first AND gate 40121 is connected to an input end of the first rising edge detection circuit 40122, and an output end of the first rising edge detection circuit 40122 is connected to the first input end of the signal generation circuit 402. A first input end of the second AND gate 40141 is connected to the output end of the second-base-signal generation circuit 4014, a second input end of the second AND gate 40141 is connected to the output end of the signal collection circuit, an output end of the second AND gate 40141 is connected to an input end of the second rising edge detection circuit 40142, and an output end of the second rising edge detection circuit 40142 is connected to the second input end of the signal generation circuit 402.
The first AND gate 40121 is configured to perform the AND operation on the first base signal and the overcurrent signal, and output a result of the AND operation to the first rising edge detection circuit 40122, so that the first rising edge detection circuit 40122 obtains the rising edge from the result of the AND operation performed on the first base signal and the overcurrent signal, and generates a timing pulse to obtain the first reference signal. The second AND gate 40141 is configured to perform the AND operation on the second base signal and the overcurrent signal, and output a result of the AND operation to the second rising edge detection circuit 40142, so that the second rising edge detection circuit 40142 obtains the rising edge from the result of the AND operation performed on the second base signal and the overcurrent signal, and generates a timing pulse to obtain the second reference signal.
Exemplarily, as shown in
Preferably, as shown in
A first input end of the counter 4021 is connected to the output end of the first logic circuit 4012, a second input end of the counter 4021 is connected to the output end of the second logic circuit 4014, and an output end of the counter 4021 is connected to input ends of both the controller 4023 and the latch 4022. Output ends of the latch 4022 are respectively connected to the controller and the clock timing adjustment circuit.
The counter 4021 is configured to receive the first reference signal, count the time duration between the rising edge of the first inceptive impulse clock timing and the rising edge of the first reference signal so as to obtain the first time duration, and send the first time duration to the controller 4023.
The latch 4022 is configured to store the second time duration, and send the second time duration to the controller 4023.
The controller 4023 is configured to compare the first time duration with the second time duration stored in the latch 4022; upon the first time duration is greater than the second time duration, generate the first disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the second time duration; and send the disabling signal to the clock timing adjustment circuit.
Further, the counter 4021 is further configured to receive the second reference signal, count the time duration between the rising edge of the second inceptive impulse clock timing and the rising edge of the second reference signal so as to obtain the second time duration, and send the second time duration to the controller 4023.
The latch 4022 is further configured to store the third time duration, and send the third time duration to the controller 4023.
The controller 4023 is configured to compare the second time duration with the third time duration stored in the latch 4022; upon the second time duration is less than the third time duration, generate the second disabling signal by delaying the rising edge of the second inceptive impulse clock timing for the second time duration; send the second disabling signal to the clock timing adjustment circuit; and trigger the latch 4022 to update the stored third time duration to the second time duration.
Exemplarily, as shown in
For the first reference signal fault0, the counter 4021 starts timing from the rising edge of the first inceptive impulse clock timing DPWM0A, keeps timing and stops timing at a location in which an active level occurs in the first reference signal fault0, and in this case, outputs the first time duration obtained by means of timing to the controller 4023. The controller 4023 compares the first time duration with the second time duration stored in the latch 4022, and upon the first time duration is greater than the second time duration, generates the first disabling signal match_fault0 by delaying the rising edge of the first inceptive impulse clock timing DPWM0A for the second time duration. The clock timing adjustment circuit 403 adjusts the first inceptive impulse clock timing DPWM0A from the active level to the inactive level according to the first disabling signal match_fault0, as shown in a dashed line location in the first inceptive impulse clock timing DPWM0A in
It can be learned that, because the first inceptive impulse clock timing that controls the power switch that is switched on at the first time in the current period is disabled according to the second time duration, and the second inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period is also disabled according to the second time duration, duration of an active level in the disabled first inceptive impulse clock timing is equal to duration of an active level in the disabled second inceptive impulse clock timing. For details, reference may be made to a dashed line part in the first inceptive impulse clock timing DPWM0A and a dashed line part in the second inceptive impulse clock timing DPWM1A in
In addition, the clock timing adjustment circuit 403 delays the first disabling signal match_fault0 according to the dead time during working of the bridge circuit so as to obtain the first delay signal fault_set0, and adjusts the third inceptive impulse clock timing DPWM2A to the active level according to a location in which a rising edge of the first delay signal fault_set0 occurs, as shown in a dashed line location in the third inceptive impulse clock timing DPWM2A in
Exemplarily, as shown in
For the first reference signal fault0 the counter 4021 starts timing from the rising edge of the first inceptive impulse clock timing DPWM0A, keeps timing and stops timing at a location in which an active level occurs in the first reference signal fault0 and in this case, outputs the first time duration obtained by means of timing to the controller 4023. The controller 4023 compares the first time duration with the second time duration stored in the latch 4022, and upon the first time duration is not greater than the second time duration, generates the third disabling signal match_fault2 by delaying the rising edge of the first inceptive impulse clock timing for the first time duration. The clock timing adjustment circuit 403 adjusts the first inceptive impulse clock timing DPWM0A from the active level to the inactive level according to the third disabling signal match_fault2, as shown in a dashed line location in the first inceptive impulse clock timing DPWM0A in
It can be learned that, the third disabling signal is generated according to the first time duration, and the first inceptive impulse clock timing is adjusted according to the third disabling signal, thereby ensuring that the overcurrent signal does not damage the bridge circuit.
This embodiment of the present invention provides a digital power supply protection circuit 302 that is applied to a bridge circuit and includes a signal preprocessing circuit, a signal generation circuit, and a clock timing adjustment circuit. When receiving an overcurrent signal, the signal preprocessing circuit performs preprocessing on the overcurrent signal according to a first inceptive impulse clock timing so as to obtain a first reference signal. The signal generation circuit counts time duration between a rising edge of the first inceptive impulse clock timing and a rising edge of the first reference signal so as to obtain a first time duration, and upon the first time duration is greater than a second time duration between a switching-on moment of a power switch that is switched on at the second time in a previous period and a moment when an overcurrent occurs, generates a first disabling signal by delaying the rising edge of the first inceptive impulse clock timing for the second time duration. The clock timing adjustment circuit adjusts the first inceptive impulse clock timing from the active level to an inactive level according to the first disabling signal. In this way, when an overcurrent occurs within a switch-on time duration of the power switch that is switched on at the second time in the previous period, to avoid the overcurrent from damaging the bridge circuit, an inceptive impulse clock timing that controls the power switch that is switched on at the second time in the previous period, that is, a second inceptive impulse clock timing, needs to be adjusted from the active level to an inactive level according to the second time duration. In addition, upon the overcurrent signal occurs relatively late or no overcurrent signal occurs when a power switch that is switched on at the first time is switched on in a current period, an inceptive impulse clock timing that controls the power switch that is switched on at the first time in the current period, that is, the first inceptive impulse clock timing, is adjusted from the active level to the inactive level according to the second time duration, so that the switch-on time duration of the power switch that is switched on at the second time in the previous period is equal to a switch-on time duration of the power switch that is switched on at the first time in the current period, thereby ensuring magnetic balance of a transformer, and improving reliability of the bridge circuit. In addition, the clock timing adjustment circuit further adjusts a third inceptive impulse clock timing to an active level according to a first delay signal, and adjusts a fourth inceptive impulse clock timing to an active level according to a second delay signal, so that the bridge circuit performs rectification according to an adjusted third inceptive impulse clock timing and an adjusted fourth inceptive impulse clock timing, thereby ensuring a dead time during working of the bridge circuit.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware, as described in the foregoing embodiments, or may be implemented in a form of hardware in addition to a software functional unit.
When the foregoing integrated unit is implemented in a form of a software functional unit, the integrated unit may be stored in a computer-readable storage medium which is hardware. The software functional unit is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform some of the steps of the methods described in the embodiments of the present invention. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disc.
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present invention but not for limiting the present invention. Although the present invention is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof, without departing from the spirit and scope of the technical solutions of the embodiments of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2015 1 0220978 | Apr 2015 | CN | national |
This application is a continuation of International Application No. PCT/CN2015/092190, filed on Oct. 19, 2015, which claims priority to Chinese Patent Application No. 201510220978.3, filed on Apr. 30, 2015, the disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
8471091 | Colbert | Jun 2013 | B1 |
9214851 | Mao | Dec 2015 | B1 |
9472255 | Kitagawa | Oct 2016 | B2 |
10025345 | Jeon | Jul 2018 | B2 |
20020135342 | Tomioka | Sep 2002 | A1 |
20110002068 | Hu | Jan 2011 | A1 |
20110175582 | Latham et al. | Jul 2011 | A1 |
20140022684 | Jiang | Jan 2014 | A1 |
20140192560 | Ou | Jul 2014 | A1 |
20150236580 | Jiang | Aug 2015 | A1 |
20150349519 | Li | Dec 2015 | A1 |
20180138797 | Tsu | May 2018 | A1 |
Number | Date | Country |
---|---|---|
101399500 | Apr 2007 | CN |
101599701 | Dec 2009 | CN |
101867299 | Oct 2010 | CN |
101939899 | Jan 2011 | CN |
102751856 | Oct 2012 | CN |
102810974 | Dec 2012 | CN |
103780064 | May 2014 | CN |
103795228 | May 2014 | CN |
104242611 | Dec 2014 | CN |
104466890 | Mar 2015 | CN |
104836209 | Aug 2015 | CN |
9-19170 | Jan 1997 | JP |
2004-357465 | Dec 2004 | JP |
2008228491 | Sep 2008 | JP |
2010161843 | Jul 2010 | JP |
Entry |
---|
Chinese Office action dated Apr. 20, 2017 in corresponding application No. 201510220978.3. |
International Search Report dated Jan. 26, 2016, in International Application No. PCT/CN2015/092190 (4 pages). |
International Search Report dated Jan. 26, 2016, in International Application No. PCT/CN2015/092190 (5 pages). |
Extended European Search Report, dated Nov. 8, 2017, in European Application No. 15890591.9 (19 pp.). |
Number | Date | Country | |
---|---|---|---|
20170338647 A1 | Nov 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2015/092190 | Oct 2015 | US |
Child | 15670648 | US |