This description relates to electrical circuits, in particular, to circuits and systems implementing a one-shot circuit with current compensation.
Power electronic systems are used in numerous devices. For example, portable electronic devices such as cellphones and laptops include a power electronic component called the converter that converts an input power level to an output power level based on a power requirement for a sub-circuit of the portable electronic device. Due to the vast number of sub-circuits that are present in these complex devices, there is a need to cater to varied voltage requirements that are not the same as the battery or the AC supply that powers the device.
In many electronic devices, the DC current signal applied to a circuit can have a residual AC portion. The AC portion is referred to as the ripple current. The ripple current can lead to increased heating and power dissipation in electronic components. Accordingly, efforts are made to keep ripple current low.
An example circuit includes a current compensation circuit having first and second compensation inputs, and a compensation output, in which the first compensation input is coupled to an input voltage terminal and the second compensation input is coupled to a switching terminal. The circuit further includes a one-shot circuit including a comparator having first and second comparator inputs, and a comparator output, in which the first comparator input is coupled to a voltage reference terminal and the second comparator input is coupled to the compensation output. The one-shot circuit further includes a switch coupled between the second comparator input and a ground terminal. The one-shot circuit also includes a capacitor coupled between the second comparator input and the ground terminal.
Another example circuit includes a current compensation circuit configured to provide a compensated current based on a first voltage and a second voltage, wherein the first voltage is proportional to an input voltage and the second voltage is proportional to an average value of a switching voltage. The circuit further includes a one-shot circuit including a capacitor configured to provide a capacitor voltage based on the compensated current, a comparator configured to provide a comparator signal based on the capacitor voltage and a reference voltage, and a switch configured to discharge the capacitor.
As another example, a system including a converter that includes a high-side switch having first and second high-side terminals, in which the first high-side terminal is coupled to an input voltage terminal and the second high-side terminal is coupled to a switching terminal. The converter further includes a low-side switch having first and second low-side terminals, in which the first low-side terminal is coupled to the switching terminal and the second low-side terminal is coupled to a ground terminal, and an inductor having first and second inductor terminals, in which the first inductor terminal is coupled to the switching terminal and the second inductor terminal is coupled to an output terminal. The system further includes a current compensation circuit having first and second compensation inputs, and a compensation output, in which the first compensation input is coupled to the input voltage terminal and the second compensation input is coupled to the switching terminal. Furthermore, the system includes a one-shot circuit including a comparator having first and second comparator inputs, and a comparator output, in which the first comparator input is coupled to a voltage reference terminal and the second comparator input is coupled to the compensation output. The one-shot circuit further includes a switch coupled between the second comparator input and the ground terminal; and a capacitor having first and second capacitor terminals, in which the first capacitor terminal is coupled to the second comparator input and the second capacitor terminal is coupled to the ground terminal.
This description relates to circuits and systems that implement a one-shot circuit with current compensation, such as can be implemented in power converter modules to provide constant inductor current ripple.
Power converter circuits employ high-frequency power conversion using switches and other passive components like inductors and capacitors to get a desired output voltage. With the need to meet the rapidly shrinking product footprints, power electronic systems are using higher and higher switching frequencies, to take advantage of smaller inductors and capacitors. However, using smaller inductors and capacitors leads to increased input ripple current and noise. For example, the power converter circuits are implemented as power converter modules, for example, DC-DC modules, to be utilized as part of compact electronic devices. In such modules, the value of the inductor is fixed. In other words, the value of the inductor cannot be varied in accordance with the output voltage to be generated. As a result, when the output voltage increases, the inductor ripple current increases. However, the inductor ripple current values have to be limited to meet the system requirements, and as a result only low values of output voltage can be supported by the power converter modules, thereby limiting their performance.
In an example, a circuit includes a current compensation circuit and a one-shot circuit. The one-shot circuit includes a capacitor and a comparator. The comparator is configured to provide an output signal to turn off a high-side switch of the power converter circuit. The current compensation circuit is configured to provide a compensated current, which is proportional to a difference between an input voltage and output voltage of a power converter circuit. The compensated current charges the capacitor of the one-shot circuit and the comparator is configured to turn off the high-side switch of the power converter circuit responsive to the voltage across the capacitor reaching a reference voltage. Therefore, the output of the comparator of the one-shot circuit controls an on-time of the high-side switch of the power converter circuit. The on-time of the high-side switch refers to a continuous time period during which the high-side switch is ON. Controlling the on-time of the high-side switch of the power converter circuit based on constant values of the one-shot circuit, as described below, helps to achieve a constant inductor ripple current in the power converter circuit. As a result, the circuit (e.g., a system on chip (SOC) module), which includes the current compensation circuit and the one-shot circuit, can provide higher output voltages without increasing the inductor ripple current.
The converter control circuit 108 is configured to generate the high-side driving signal and the low-side driving signal based on a feedback voltage VFB (e.g., via a feedback loop) and an output voltage reference signal REF. In particular, the converter control circuit 108 is configured to compare the feedback voltage VFB and the output voltage reference signal REF, in order to generate the high-side driving signal and the low-side driving signal. The feedback voltage VFB is derived based on the output voltage Vout at 104. In some examples, the feedback voltage VFB is equal to the output voltage Vout. However, in other examples, the feedback voltage VFB may be different from the output voltage Vout. For example, the feedback voltage VFB may include a voltage divided version of the output voltage that is proportional to Vout. The converter control circuit 108 also has an input 114 to receive a one shot signal, shown as SHOT. The converter control circuit 108 is configured to control/adjust an on-time Ton of the high-side switch of the converter circuit 102 based on the signal SHOT. For example, the converter control circuit 108 can vary the high-side driving signal and low-side driving signal in accordance with the shot signal SHOT, and thereby control the on-time Ton of the high-side switch of the converter circuit 102.
The circuit 100 further includes a one-shot circuit 132 having an output coupled to the input 114 of the converter control circuit 108. The one-shot circuit 132 is configured to generate the shot signal SHOT. The one-shot circuit 132 includes a comparator 134 that includes a first comparator input 136, a second comparator input 138 and a comparator output 140. The comparator output 140 corresponds to the output of the one short circuit 132, which is coupled to the input 114 of the converter control circuit 108. The first comparator input 136 is coupled to a voltage reference terminal and the second comparator input 138 is coupled to a compensation output 117 of a current compensation circuit 116. The one-shot circuit 132 further includes a switch 142 coupled between the second comparator input 138 and a ground terminal. The switch 142 can be implemented as a semiconductor or other type of switching device, such as a transistor (e.g., field effect transistor (FET), bipolar junction transistor (BJT)), a thyristor or the like. The one-shot circuit 132 further includes a capacitor 144 having a first capacitor terminal 148 and a second capacitor terminal 150, in which the first capacitor terminal 148 is coupled to the second comparator input 138 and the second capacitor terminal 150 is coupled to a ground terminal.
The capacitor 144 is configured to provide a capacitor voltage Vcap based on a compensated current IC. In particular, the capacitor 144 is charged based on the compensated current IC, thereby providing the capacitor voltage Vcap at the first capacitor terminal 148 and at the second comparator input 138. The comparator 134 is configured to provide a comparator signal (e.g., the shot signal SHOT) at the comparator output 140 based on the capacitor voltage Vcap at the second comparator input 138 and a reference voltage Vref at the first comparator input 136. The terms comparator signal and the shot signal SHOT are used interchangeably throughout the description and are construed to be the same. The comparator signal changes states (e.g., polarity) based on a comparison of the capacitor voltage Vcap at the second comparator input 138 and a reference voltage Vref at the first comparator input 136. The comparator signal has a first value/polarity responsive to the capacitor voltage Vcap becoming greater than the reference voltage Vref, and the comparator signal has a second value/polarity responsive to the capacitor voltage Vcap becoming lesser than the reference voltage Vref. The switch 142 is turned on when the comparator signal (e.g., the shot signal SHOT) has the first value/polarity. The switch 142 is configured to discharge the capacitor 144 when the switch 142 is turned on. The turning on and turning off of the switch 142 may be controlled by providing a switching signal 115.
The current compensation circuit 116 includes a first compensation input 118, a second compensation input 120 and a compensation output 117. The first compensation input 118 is coupled to the input voltage terminal 106 of the converter circuit 102 via a voltage sensor circuit 122. The second compensation input 120 is coupled to a switching terminal 107 of the converter circuit 102 via the voltage sensor circuit 122. The current compensation circuit 116 is configured to provide the compensated current IC based on the input signals received at 118 and 120.
The voltage sensor circuit 122 includes a first sensor input 128 and a first sensor output 124, in which the first sensor input 128 is coupled to the input voltage terminal 106 and the first sensor output 124 is coupled to the first compensation input 118. The voltage sensor circuit 122 further includes a second sensor input 130 and a second sensor output 126, in which the second sensor input 130 is coupled to the switching terminal 107 and the second sensor output 126 is coupled to the second compensation input 120. The voltage sensor circuit 122 is configured to provide a first voltage at the first sensor output 124 based on the input voltage Vin at the input voltage terminal 106. The first voltage at 124 is proportional to the input voltage Vin (e.g., Vin/N1, where N1 is a positive value, such as an integer or fractional value). The voltage sensor circuit 122 is also configured to provide a second voltage at the second sensor output 126 based on a switching voltage VSW at the switching terminal 107. The second voltage at 126 is proportional to an average switching voltage VSWavg that constitutes an average value of the switching voltage VSW at 107 (e.g., VSWavg/N2, where N2 is a positive value, such as an integer or fractional value). The values of N1 and N2 can be the same or different. The average switching voltage VSWavg can be equal to the output voltage Vout, and the second voltage at the second sensor output 126 can be proportional to the output voltage Vout. In some examples, the voltage sensor circuit 122 includes a first voltage divider circuit and a second voltage divider circuit configured to provide the respective signals/voltages at 124 and 126.
The current compensation circuit 116 is configured to provide the compensated current IC based on the first voltage Vin/N1 at the first compensation input 118 and the second voltage VSWavg/N2 at the second compensation input 120. For example, the compensated current IC is proportional to a difference between the input voltage Vin and the output voltage Vout. In some examples, the circuit 100 may be implemented as a system-on-chip (SOC) device in a packaging material.
The circuit 100 includes a converter circuit 102 that includes an output terminal 104 and an input voltage terminal 106. In the example of
The converter circuit 102 is configured to provide a switching voltage VSW at the switching terminal 107 between the high-side switch 202 and the low-side switch 204 based on an input voltage Vin at the input voltage terminal 106. The converter circuit 102 further includes an inductor 216 coupled between the switching terminal 107 and the output terminal 104. The inductor 216 includes a first inductor terminal 215 and a second inductor terminal 217. The first inductor terminal 215 is coupled to the switching terminal 107 and the second inductor terminal 217 is coupled to the output terminal 104.
The system 200 further includes an output capacitor 218 coupled between the output terminal 104 and a ground terminal. In some examples, the output capacitor 218 constitutes a part of the buck converter included within the converter circuit 102. In addition, the system 200 includes a voltage divider circuit 220 configured to generate a feedback voltage VFB based on the output voltage Vout. The voltage divider circuit 220 includes a first resistor 222 and a second resistor 224 coupled in series to one another between the output terminal 104 and the ground terminal. The first resistor 222 is coupled between the output terminal 104 and the second resistor 224. The second resistor 225 is coupled between the first resistor 222 and a ground terminal.
The circuit 100 further includes a converter control circuit 108 having a first driver output terminal 110 and a second driver output terminal 112. The converter control circuit 108 is configured to provide a high-side driving signal at the first driver output terminal 110 to drive the high-side switch 202 of the converter circuit 102. The converter control circuit 108 is further configured to provide a low-side driving signal at the second driver output terminal 112 to drive the low-side switch 204 of the converter circuit 102. The converter circuit 102 is configured to provide an output voltage Vout at the output terminal 104 based on the input voltage Vin at an input voltage terminal 106, the high-side driving signal and the low-side driving signal.
The converter control circuit 108 is configured to provide the high-side driving signal at the first driver output terminal 110 and the low-side driving signal at the second driver output terminal 112, based on a comparator output signal COMP and a shot signal SHOT at 114. The converter control circuit 108 in
The converter control circuit 108 in
The one-shot circuit 132 is configured to generate the shot signal SHOT based on the reference voltage Vref at the first comparator input 136 and the capacitor voltage Vcap at the second comparator input 138. The logic circuit 238 is configured to control/adjust an on-time Ton of the high-side switch 202 based on the signal SHOT, as described herein. The circuit 100 further includes a current compensation circuit 116 to provide a compensated current IC. In addition, the circuit 100 includes a voltage sensor circuit 122.
The voltage sensor circuit 300 further includes a second voltage sensor circuit 304 including a second sensor input 130 and a second sensor output 126. The second voltage sensor circuit 304 includes a second voltage divider circuit including a combination of resistors R3, R4, R5 and R6, and capacitors C1 and C2. However, in other examples, the second voltage sensor circuit 304 may be implemented differently. The second voltage sensor circuit 304 is configured to provide a second voltage at the second sensor output 126 based on a switching voltage VSW at the second sensor input 130. The second voltage sensor circuit 304 is also coupled to AVSS. The second voltage is proportional to an average switching voltage VSWavg that constitutes an average value of the switching voltage VSW. For example, the second voltage is VSWavg/N2, where N2 is integer positive value. The resistor R5 and the capacitor C1 form a first RC filter stage, and the resistor R6 and the capacitor C2 form a second RC filter stage. In other examples, there can be more than two RC filter stages. The first RC filter stage and the second RC filter stage are configured to generate VSWavg/N2 based on the voltage at the node between the resistors R3 and R4. The average switching voltage VSWavg can approximate or be equal to an output voltage Vout. For example, during the operation of the converter circuit (e.g., the converter circuit 102 in
The first voltage to current converter 406 is configured to provide a first current I1 at the first current output 410 based on the first voltage Vin/N1 at the first voltage input 408. For example, the first current I1 at the first current output 410 can be given as:
The current compensation circuit 402 further includes a second voltage-to-current converter 416 including a second voltage input 418 and a second current output 420. The second voltage input 418 corresponds to the second compensation input 120 in
The second voltage to current converter 416 is configured to provide a second current I2 at the second current output 420 based on the second voltage VSWavg/N2 at the second voltage input 418. For example, the second current I2 can be given as:
The current compensation circuit 402 further includes a first current mirror network 426 having a first current mirror input 428 and a first current mirror output 430, in which the first current mirror input 428 is coupled to the first current output 410. The first current mirror network 426 is configured to mirror the first current I1 at the first current mirror input 428 to provide the first current I1 (or another current proportional to the first current I1) at the first current mirror output 430. The current compensation circuit 402 further includes a second current mirror network 432 including a second current mirror input 434 and a second current mirror output 436, in which the second current mirror input 434 is coupled to second current output 420. The second current mirror output 436 constitutes a compensation output (e.g., the compensation output 117 in
The second current mirror input 434 is configured to receive a current I3, which is equal to the difference between I1 and I2. For example, the current at the second current mirror input 434 includes a third current I3 given as:
Substituting equation (1) and (2) in equation (3) and assuming that N=N1=N2, provides
Considering R7=R8=R, and VSWavg=Vout, equation (3) becomes:
The second current mirror network 432 is configured to mirror the third current I3 at the second current mirror input 434 to provide a compensated current IC at the second current mirror output 436. In some examples, the compensated current IC at the second current mirror output 436 is equal to the third current I3. However, in other examples, the compensated current IC at the second current mirror output 436 may include a current that is proportional to the third current I3 according to the configuration of the current mirror network 432. The compensated current IC at the second current mirror output 436 corresponds to the compensated current IC in
The one-shot circuit 404 includes a comparator 440 that includes a first comparator input 442, a second comparator input 444 and a comparator output 441. The first comparator input 442 is configured to receive a reference voltage Vref and the second comparator input 444 is coupled to the compensation output 436. The one-shot circuit 404 further includes a switch 446 coupled between the second comparator input 444 and the ground terminal. In the example of
Referring back to
The logic circuit 238 is configured to control turning on of the high-side switch 202 based on the comparator output signal COMP and the SHOT signal. For example, when the feedback voltage VFB at the first voltage comparator input 230 becomes lesser than the output voltage reference REF at the second voltage comparator input 232, the comparator output signal COMP goes low, thereby turning on the high-side switch 202. To better understand the turning on and the turning off of the high-side switch 202,
Referring back to
Therefore, based on the example arrangement shown in
where: IC=the compensated current;
Further substituting equation (6) in equation (8), the value of the on-time Ton can be represented as follows:
Therefore,
As described herein, controlling the on-time Ton of the high-side switch 202 based on the shot signal SHOT enables the circuit 100 to have a constant inductor ripple current across the inductor 216 of the converter circuit 102. In particular, controlling the on-time Ton of the high-side switch 202 based on the shot signal SHOT enables a current through the inductor 216 to have a constant inductor ripple current. For example, voltage across the inductor 216 is given as:
During the on-time Ton of the high-side switch 202, dIL=Ipp which is the inductor ripple current, dt=Ton and VL=Vin−Vout (as the switching voltage VSW becomes equal to Vin when the high-side switch 202 is turned on).
Substituting the above values in equation (11), the equation for inductor ripple current (through the inductor 216) can be expressed as follows:
Where Ipp is a peak to peak inductor ripple current.
Substituting for Ton based on equation (10), the inductor ripple current Ipp can be expressed as follows:
Thus, as can be seen from equation (13), inductor ripple current Ipp depends on all constant factors, which can result in a constant inductor ripple current Ipp across the inductor 216. Advantageously, the inductor ripple current Ipp is independent of the output voltage Vout, and therefore, the inductor ripple current is constant irrespective of the value of the output voltage Vout.
As a result, the current compensation circuit 116 and the one-shot circuit 132 as described herein can be utilized to implement power converter modules (e.g., DC-DC converter SOC modules) over a wide range of output voltages without affecting the inductor ripple current. For example, in power converter modules with a fixed integrated inductor (e.g., inductor 216), both high and low values of output voltage Vout can be supported without a change in the inductor ripple current. Further, this approach enables the use of smaller inductors to achieve a certain voltage level in power converter modules, thereby reducing the overall size and cost of the power converter modules.
In this description, the term “based on” means based at least in part on.
In this description, the term “couple” may cover connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A generates a signal to control device B to perform an action: (a) in a first example, device A is coupled to device B by direct connection; or (b) in a second example, device A is coupled to device B through intervening component C if intervening component C does not alter the functional relationship between device A and device B, such that device B is controlled by device A via the control signal generated by device A.
Also, in this description, a device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or reconfigurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof. Furthermore, a circuit or device described herein as including certain components may instead be configured to couple to those components to form the described circuitry or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors, and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be configured to couple to at least some of the passive elements and/or the sources to form the described structure, either at a time of manufacture or after a time of manufacture, such as by an end user and/or a third party.
Modifications are possible in the described embodiments, and other embodiments are possible, within the scope of the claims.