A voltage regulator receives an input voltage and produces a regulated, output voltage. One class of voltage regulators includes switching voltage regulators. A switching regulator includes one or more transistors that are switched on and off. At relatively heavy load conditions (higher output current), the switching frequency is above the upper limit of human hearing. The upper limit of human hearing is generally regarded as being approximately 20 KHz. At lighter load conditions (lower output current levels), a switching regulator may maintain the regulation of the output voltage by decreasing the switching frequency. If the switching frequency were within the range of human hearing (e.g., below 20 KHz), such electrical switching noise may be result in audio noise in system that has a speaker. For example, audible noise may be heard through the infotainment system in an automobile, where the infotainment system has a voltage regulator.
In at least one example, a control circuit for a voltage converter includes a timeout circuit that receives a first control signal. The timeout circuit asserts a timeout output signal at the expiration of a predetermined time period following assertion of the first control signal. The control circuit includes a counter circuit having an input coupled to the time output circuit output and having a comparator circuit output. Upon assertion of the first control signal, the counter circuit increments an output count value on the counter circuit output responsive to the timeout output signal being at a first logic state or decrements the output count value on the counter circuit output responsive to the timeout output signal being at a second logic state. A control input of the comparator circuit couples to the counter circuit output. The comparator circuit adjusts a reference signal responsive to the output count value from the counter circuit.
Examples of buck converters are described herein that reduce or eliminate switching noise that may be manifested as audio noise. However, the principles described herein pertain to other types of switching regulators such as a boost converter, a buck-boost converter, etc. The converter examples described herein operate to maintain switching frequencies above the upper limit of human hearing (e.g., above approximately 20 KHz). Such switching voltage regulators thus are referred to as “out-of-audio” regulators (converters).
The buck converter 100 provides a regulated level of VOUT through a wide range of load current. As the current needs of the load decreases, the control logic 110 dynamically adjusts the timing control of the HSD and LSD FETs to maintain a regulated level of VOUT. For higher load conditions, the control logic 110 operates in a continuous conduction mode (CCM) during which the HSD and LSD FETs are continuously and reciprocally toggled on and off—the LSD transistor is turned on when the HSD FET turned off, then the LSD FET is turned off and the HSD FET is turned back on, and so on (with a small “dead time” between switching to avoid a shoot-through current condition). Current continuously flows through the inductor L1 during CCM. At lighter load conditions (e.g., the load enters a sleep state), the control logic may enter a discontinuous conduction mode (DCM). At one point during each switching cycle of the DCM, neither HSD nor LSD FET is on.
The ZC comparator 120 determines when IL reaches 0 amps (time point 208 in
Comparator 122 compares VREF to VFB. When the earlier of VFB falling below VREF or the timer expires (as determined by the control logic 110), the control logic 110 responds by initiating another pulse event to occur. If the LOOPRAW output of comparator 122 caused the control logic 110 to initiate the next pulse event, that pulse event does not start by turning on the LSD FET. Instead, the pulse event begins with turning on the HSD FET. However, if the timer within the control logic expires before LOOPRAW is asserted, then the control logic 110 initiates the next pulse event by turning on the LSD FET.
As explained above, the timer's time period is configured to be approximately equal to the period of a 20 KHz signal, which is the generally regarded as the upper frequency range of human hearing. Thus, the control logic 110 initiates another pulse event when VFB falls too low (below VREF) but, to avoid an audio signal, the control logic 110 ensures that the next pulse event occurs quickly enough to thereby ensure that the pulse events occur at a rate that is faster than 20 KHz, and thus above the audible frequency range.
A ZC comparator 420 is included as well, but, as explained below, is different than ZC comparator 120 in
The control logic 410 includes a PWM circuit 412, a timeout circuit 414, and a counter circuit 416. The output signal from counter circuit 416 is the ZC control signal 450 which is provided to a control input 421 of the ZC comparator 420. As explained below, the ZC control signal 450 causes the ZC comparator 420 to adjust its reference signal for comparison to SW_SNS. Whereas in
The PWM circuit 412 of the control logic 410 generates the HSON signal 411 to the driver 102. Responsive to the logic state of the HSON signal 411, the driver 102 generates a suitable voltage to turn on or off the HSD FET. Similarly, the control logic 410 generates the LSON signal 412 to cause the driver 102 to generate a suitable voltage to turn on or off the LSD FET. The HSON signal 411 also is coupled to the timeout circuit 414. The output of the timeout circuit 414 is coupled to the counter circuit 416 and provides a TIMEOUT signal 415 to the counter circuit 416. The timeout circuit 414 generates the TIMEOUT signal 415 after a fixed time period following the PWM circuit 412 turning off the HSD FET. The fixed time period is approximately the length of a period of a 20 KHz signal (e.g., approximately 50 microseconds). When the PWM circuit 412 controls HSON 411 to turn on the HSD FET, the counter 414 increments its output count value (ZC CTL 450) if, at that moment, the TIMEOUT signal 415 is indicative of the expiration of the timeout circuit's time period (e.g., 50 microseconds). Alternatively stated, if more than 50 microseconds (or whatever time period is configured into the timeout circuit 414) has elapsed since the last pulse event to when the PWM circuit 414 determines it is now time for the next pulse event, the counter 414 increments its count value. If less than 50 microseconds (or whatever time period is configured into the timeout circuit 414) has elapsed since the last pulse event to when the PWM circuit 414 determines it is now time for the next pulse event, the counter 414 decrements its count value. The output count value from the counter 414 is ZC CTL 450 and, in one example, is an m-bit binary value (m is 1 or more). In one example, m is 2 and thus ZC CTL 450 is a two-bit binary value.
The output of NOR gate 502 is coupled to the clock input of the first flip-flop in the chain—flip-flop 506 in this example. The output of AND gate 504 is coupled to the enable inputs of the flip-flops 506, 508. A clock (CLK) is provided to one input of NOR gate 502. In one example, CLK has a frequency in the range of 250 KHz to 2 MHz. The Q output of the last flip-flop in the chain (flip-flop 508 in this example) provides the TIMEOUT signal 415. The TIMEOUT signal 415 is provided to the other input of NOR gate 502. One input of AND gate 504 receives an enable (EN) signal (active low) and the other input of AND gate 504 receives an HSD_OFF signal. In this example, the HSD_OFF signal is asserted low when the HSD FET is off, otherwise HSD_OFF is high. In one example, the PWM circuit 412 generates the EN and HSD_OFF signals.
The timeout circuit 414 is enabled and begins to count pulses of the CLK when EN and HSD_OFF are asserted low by the PWM circuit 412. Initially, TIMEOUT 415 is low and thus, the output of NOR gate 502 toggles between high and low logic levels inversely related to high and low assertions of CLK. Accordingly, the falling edges of CLK cause the flip-flop 506 to change state. The frequency of CLK and the number of flip-flops is application-specific to measure a defined period of time (e.g., 50 microseconds). The cascaded arrangement of flip-flops 506, 508 is a multi-stage timer. The first flip-flop 506 is clocked by the output signal from NOR gate 502. TIMEOUT is initially a 0, and thus the output of NOR gate 502 to the clock input of the first flip-flop 506 has a rising edge upon a falling edge of CLK. Because the D input of flip-flop 506 is a logic 1 (due to Qbar initially being a logic 1), upon being clocked, the Q output of the first flip-flop 506 becomes a logic 1 and the Qbar output of the first flip-flop 506 then becomes a logic 0. The Qbar output of flip-flop 506 is provided to the D input of the first flip-flop. Upon the next falling edge of CLK, the first flip-flop 506 is again clocked and this time the Q output of the first flip-flop 506 becomes a 0 and its Qbar becomes a 1.
This rising edge of Qbar of flip-flop 506 then clocks the next flip-flop in the chain to thereby force the Q output of the second flip-flop to a logic 1 state. The Qbar output of the second flip-flop becomes a logic 0 and is clocked through the D input of the second flip-flop the next time that the first flip-flop's Qbar output again changes from a 0 to 1. Thus, the frequency of the Q output of the second flip-flop is one-half the frequency of the Q output of the first flip-flop 506. This process continues until the last flip-flop in the chain asserts TIMEOUT 415 on its Q output to a logic 1 state. The Q output of each flip-flop in the chain is one-half the frequency of the preceding flip-flop's Q output. Once TIMEOUT 415 is asserted high by the last flip-flop in the chain, the output of NOR gate 502 becomes frozen at a logic low level thereby stopping the chain of flip-flops from continuing to change state and freezing TIMEOUT 415 at a logic high level.
The counter circuit 416 includes an AND gate 518 and an up/down counter 520. The counter has an input (IN), a clock input, and an output. The count value output from the up/down counter 520 is the m-bit ZC_CTL signal. For each rising edge on its clock input (which is the output from AND gate 518), the up/down counter 520 either increments its output count value if TIMEOUT 415 is a 1, or decrements its output count value if TIMEOUT 415 is a 0. The input signals to AND gate 518 are HSON 411 and a blanking signal (BLANK) 517 (with BLANK 517 being inverted as an input to AND gate 518). Assuming BLANK 517 is logic low, upon a low-to-high transition of HSON 411, the up/down counter 520 either increments or decrements ZC_CTL responsive to TIMEOUT 415 being a high or low, respectively. When BLANK 517 is logic high, the up/down counter 520 is prevented from incrementing or decrementing its output count value, ZC_CTL. Accordingly, BLANK 517 and AND gate 518 are operative to gate off HSON 411 to prevent the up-down counter 520 from counting. This functionality is useful for hysteresis purposes as explained below.
Assuming BLANK 517 is low, when HSON 411 is asserted high to turn on the HSD FET, the up/down counter 520 increments its count value upon receipt of a high assertion of the TIMEOUT signal 415. This condition means that the amount of elapsed time from the occurrence of the previous pulse event to the next pulse event has exceeded the time period configured into the timeout circuit 414, which in turn means that the frequency of the pulses is less than, for example, 20 KHz. Conversely, when HSON 411 is asserted high to turn on the HSD FET, the up/down counter 520 decrements its count value upon receipt of a low assertion of the TIMEOUT signal 415. This condition means that the amount of elapsed time from the occurrence of the previous pulse event to the next pulse event is less than the time period configured into the timeout circuit 414, which in turn means that the frequency of the pulses is greater than, for example, 20 KHz.
Because counter 520 is an up and down counter, the counter output might increment and decrement too quickly in the edge condition in which TIMEOUT is high in one cycle, then low in the next cycle, then high in the next, and so on. The use of BLANK 517 to prevent the counter 520 from changing its count value advantageously introduces hysteresis into the converter.
Referring still to
While ZC comparator 420 is referred to as a “zero cross” comparator, because the reference signal is configurable, the ZC comparator 420 compares SW_SNS to a configurable reference signal (not necessarily equal to 0 volts). The ZC comparator 420 thus has a configurable reference value that is controlled by ZC CTL 450 from the counter circuit 416. If TIMEOUT 415 is asserted high when HSON 411 is asserted high (and BLANK is high), the counter 520 increments the binary value of ZC CTL (up or down) to change the configuration of the switches SW1 and SW2 in the ZC comparator 420 to thereby increase the magnitude of the reference signal (PREF) to which SW_SNS is compared. If TIMEOUT 415 is still logic lo when HSON 411 is asserted high (and BLANK is high), the counter 520 does not change the value of ZC CTL 450 and thus the voltage magnitude of the PREF reference signal remains unchanged.
The timeout circuit 414 in this example also includes an AND gate 610 to generate BLANK. Three signals are coupled respective inputs of AND gate 610. One signal is CLK. A second signal is Q1, and third signal is Q2. The BLANK signal in this example is asserted by AND gate 610 when both the first two flip-flops 606 and 607 have been clocked, and upon the next high assertion of CLK. Thus, BLANK is asserted high before TIMEOUT 415 is asserted high. Once BLANK is asserted high, the counter 520 (
One the target frequency is reached, the advancement of ZC CTL ceases and the switching frequency remains at approximately 21.75 KHz. Upon transition to the lighter load condition 811, the switching frequency suddenly drops at 806, but the control logic 410 responds by again advancing the value of ZC CTL (807) to further reduce the magnitude of the PG_GND reference signal for the comparator 530. The switching frequency responds by increasing back to approximately 21.75 KHz (809).
At 820, the load current increases which causes an increase in switching frequency as shown at 821. The counter 520 responds by decrementing the value of ZC CTL as explained above. The ZC comparator 420 responds by increasing the magnitude of its PG_GND reference signal, which results in a decrease in the switching frequency (813).
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.
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 re-configurable) 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.
As used herein, the terms “terminal”, “node”, “interconnection”, “pin” and “lead” are used interchangeably. Unless specifically stated to the contrary, these terms are generally used to mean an interconnection between or a terminus of a device element, a circuit element, an integrated circuit, a device or other electronics or semiconductor component.
A circuit or device that is described herein as including certain components may instead be adapted to be coupled 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 adapted to be coupled 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, for example, by an end-user and/or a third-party.
While the use of particular transistors is described herein, other transistors (or equivalent devices) may be used instead. For example, a p-type metal-oxide-silicon field effect transistor (“MOSFET”) may be used in place of an n-type MOSFET with little or no changes to the circuit. Furthermore, other types of transistors may be used (such as bipolar junction transistors (BJTs)).
Circuits described herein are reconfigurable to include additional or different components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the resistor shown. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in parallel between the same nodes. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series between the same two nodes as the single resistor or capacitor.
Uses of the phrase “ground” in the foregoing description include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of this description. Unless otherwise stated, “about,” “approximately,” or “substantially” preceding a value means+/−10 percent of the stated value. Modifications are possible in the described examples, and other examples are possible within the scope of the claims.
Modifications are possible in the described embodiments, and other embodiments are possible, within the scope of the claims.
This application is a continuation of prior application Ser. No. 17/563,213 filed Dec. 28, 2021, currently pending, which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 17563213 | Dec 2021 | US |
Child | 18500922 | US |