Voltage regulator
The voltage regulator with dynamic voltage and frequency tracking function automatically adjusts the output voltage and frequency, solving the problem of balancing power efficiency and response time, and achieving stable operation and efficient adaptation of the load when the frequency changes.
Patent Information
- Application Number
- CN202310036007.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-11-21
- Filing Date
- 2023-01-10
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-01-10
AI Technical Summary
How to design a voltage regulator that balances power efficiency and response time, especially to avoid operational failures when the load frequency changes.
A voltage regulator with dynamic voltage and dynamic frequency tracking functions is used. Through power switches, loop controllers, voltage comparators and target voltage generators, the output voltage and frequency are automatically adjusted according to the difference between the critical path relevant frequency and the target frequency of the load to match the working requirements of the load.
It achieves stable operation under load frequency variations, improves power efficiency and response time, avoids operational failures, and adapts to different load operating modes and process, voltage, and temperature variations.
Smart Images

Figure CN116449900B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention generally relate to voltage regulation technology, and more specifically, to a voltage regulator with dynamic voltage and frequency tracking capabilities. Background Technology
[0002] A voltage regulator controls a power switch to convert the input voltage into the output voltage.
[0003] Designing voltage regulators that balance power efficiency and response time is an important topic in this field. Summary of the Invention
[0004] The following summary is illustrative only and is not intended to be limiting in any way. That is, it provides an overview to introduce the concepts, key points, benefits, and advantages of the novel and non-obvious techniques described herein. Selected embodiments are further described in the detailed description below. Therefore, the following summary is neither intended to identify the essential features of the claimed subject matter nor to define the scope of the claimed subject matter.
[0005] This invention provides a voltage regulator with dynamic voltage and dynamic frequency tracking functions.
[0006] A voltage regulator (e.g., for generating a dynamic voltage for a load) according to an embodiment of the present invention includes a power switch, a loop controller, a voltage comparator, and a target voltage generator. The power switch converts an input voltage into an output voltage; the loop controller is coupled to the power switch to control the power switch to perform voltage regulation; the voltage comparator compares the output voltage with a target voltage to generate a first control signal to control the loop controller; and the target voltage generator generates the target voltage for the voltage comparator based on the frequency difference between a target frequency and a critical path-dependent frequency, wherein the critical path-dependent frequency depends on the output voltage.
[0007] In some embodiments, when the critical path correlation frequency is lower than the target frequency, the target voltage generator increases the target voltage to increase the critical path correlation frequency; and when the critical path correlation frequency is higher than the target frequency, the target voltage generator decreases the target voltage to decrease the critical path correlation frequency.
[0008] In some embodiments, the voltage regulator further includes a clock generator powered by the output voltage to generate the critical path-dependent frequency that depends on the output voltage.
[0009] In some embodiments, the clock generator is configured such that the higher the output voltage, the higher the critical path-dependent frequency.
[0010] In some embodiments, the target voltage generator includes a dynamic voltage scaler for generating a reference voltage, wherein the reference voltage is adjusted based on the frequency difference between the target frequency and the critical path-related frequency, and thus generates the target voltage.
[0011] In some embodiments, the target voltage generator further includes: a phase frequency detector for receiving the target frequency and the critical path-dependent frequency to obtain a frequency difference between the target frequency and the critical path-dependent frequency; and a reference voltage adjustment circuit controlled by the frequency difference obtained by the phase frequency detector to generate a correction voltage for adjusting the reference voltage to the target voltage.
[0012] In some embodiments, the phase frequency detector also generates a second control signal to the loop controller based on the frequency difference between the target frequency and the critical path-related frequency, wherein the second control signal is transmitted to the loop controller without passing through the reference voltage adjustment circuit or the voltage comparator.
[0013] In some embodiments, the digital loop code of the loop controller is adjusted based on the second control signal transmitted to the loop controller without passing through the reference voltage adjustment circuit or the voltage comparator.
[0014] In some embodiments, the dynamic voltage scaler is controlled by a target decision module to match the reference voltage with the load driven by the voltage regulator.
[0015] In some embodiments, when the target decision module controls the dynamic voltage scaler to match the reference voltage with the load, the target decision module also adjusts the gain provided by the reference voltage adjustment circuit to amplify the frequency difference between the target frequency and the critical path-related frequency.
[0016] In some embodiments, when the target decision module controls the dynamic voltage scaler to match the reference voltage with the load, the target decision module disables the gain provided by the reference voltage adjustment circuit to amplify the frequency difference between the target frequency and the critical path-related frequency.
[0017] In some embodiments, the target decision module controls the dynamic voltage scaler so that the reference voltage is correlated with the target frequency.
[0018] In some embodiments, the target decision module sets the target frequency to match the load driven by the voltage regulator.
[0019] In some embodiments, the target decision module searches a lookup table based on the target frequency to control the dynamic voltage scaler based on the search results.
[0020] In some embodiments, the target decision module controls the dynamic voltage scaler such that the reference voltage covers the critical case of the target frequency that matches the load driven by the voltage regulator.
[0021] These and other objects of the invention will be readily understood by those skilled in the art upon reading the following detailed description of the preferred embodiments illustrated in the accompanying drawings. A detailed description will be given in the following embodiments with reference to the accompanying drawings. Attached Figure Description
[0022] The accompanying drawings (in which the same numerals denote the same components) illustrate embodiments of the invention. The included drawings are used to provide a further understanding of the embodiments of the invention, and are incorporated in and constitute a part of the embodiments of the invention. The drawings illustrate implementations of the embodiments of the invention and, together with the description, serve to explain the principles of the embodiments of the invention. It is understood that the drawings are not necessarily drawn to scale, as some components may be shown out of proportion to actual dimensions in order to clearly illustrate the concepts of the embodiments of the invention.
[0023] Figure 1 A voltage regulator 100 according to an exemplary embodiment of the present invention is shown.
[0024] Figure 2 A waveform diagram of the reference voltage VREF and the target voltage Vtarget according to an exemplary embodiment of the present invention is shown.
[0025] Figure 3 A waveform representing the response time of voltage regulation is shown in an exemplary embodiment of the present invention.
[0026] In the following detailed description, numerous specific details are set forth for illustrative purposes so that those skilled in the art can more thoroughly understand the embodiments of the invention. However, it will be apparent that one or more embodiments may be practiced without these specific details, and different embodiments may be combined as needed, and should not be limited to the embodiments illustrated in the accompanying drawings. Detailed Implementation
[0027] The following description illustrates preferred embodiments of the present invention and is intended only to exemplify the technical features of the invention, not to limit the scope of the invention. Throughout this specification and claims, certain terms are used to refer to specific elements. Those skilled in the art should understand that manufacturers may use different names for the same element. Therefore, this specification and claims do not distinguish elements by differences in name, but rather by differences in function. The terms "element," "system," and "device" used in this invention can refer to computer-related entities, where the computer can be hardware, software, or a combination of hardware and software. The terms "comprising" and "including" as used in the following description and claims are open-ended terms and should be interpreted as "comprising, but not limited to...". Furthermore, the term "coupled" refers to an indirect or direct electrical connection. Therefore, if a device is described as coupled to another device, it means that the device can be directly electrically connected to the other device, or indirectly electrically connected to the other device through other devices or connection means.
[0028] Unless otherwise indicated, the corresponding numbers and symbols in the various figures generally refer to the corresponding parts. The figures are drawn to clearly illustrate the relevant parts of the embodiments and are not necessarily drawn to scale.
[0029] The terms "basically" or "roughly" as used in this document mean that, within an acceptable range, a person skilled in the art can solve the technical problem to be solved and basically achieve the desired technical effect. For example, "roughly equal to" means a method that a person skilled in the art can accept with a certain margin of error from "exactly equal to" without affecting the correctness of the result.
[0030] Figure 1A voltage regulator 100 according to an exemplary embodiment of the present invention is shown. The voltage regulator 100 includes a power switch 102, a loop controller 104, a voltage comparator 106, and a target voltage generator 108. The power switch 102 converts an input voltage VIN into an output voltage VOUT. The loop controller 104 is coupled to the power switch 102 and controls the power switch 102 to perform voltage regulation. The voltage comparator 106 compares the output voltage VOUT with a target voltage Vtarget to generate a first control signal CS1 to control the loop controller 104. In one embodiment, the loop controller 104 generates a switch control signal based on the first control signal CS1 to control the power switch 102 to turn on and / or off, thereby achieving voltage regulation. For example, the power switch 102 is composed of multiple power switch units, and the loop controller 104 generates the switch control signal to control the number of power switch units that are turned on. The target voltage generator 108 generates a target voltage Vtarget for the voltage comparator 106 based on the frequency difference between the target voltage FTAR and the critical-path-related frequency FCP, wherein the critical-path-related frequency FCP depends on the output voltage VOUT. The applicant recognizes that when the load 120 (e.g., a CPU, but not limited thereto) is powered by the output voltage VOUT, structures or paths within the load 120 may fail as the operating frequency increases. Therefore, to enable the load 120 to adapt to increased operating frequencies or operate normally at various frequencies, the voltage regulator 100 provided in this embodiment of the invention can generate different supply voltages corresponding to the various frequencies at which the load 120 may operate. In other words, the voltage regulator 100 provided in this embodiment of the invention has dynamic voltage and dynamic frequency tracking functions. For example, the voltage regulator 100 automatically adjusts to an appropriate voltage so that the frequency FCP of the output clock signal equals the target frequency FTAR, and since FOUT is simply proportional to FCP, FOUT is the desired operating frequency of the load 120.Understandably, a path within load 120 susceptible to operational failure can be described as a critical path, and clock generator 110 is associated with this critical path within load 120. For example, the clock signal FCP generated by clock generator 110 can mimic / track the timing of signals along this critical path. Figure 1 In this configuration, the voltage feedback control performed by the voltage comparator 106 further considers frequency variations (where the target voltage Vtarget is generated based on the frequency difference between the target frequency FTAR and the critical path-dependent frequency FCP). The voltage regulator 100 can provide better power efficiency and shorter response time.
[0031] In an exemplary embodiment, when the critical path correlation frequency (FCP) is lower than (or can be described as "less than") the target frequency (FTAR) (e.g., Figure 1 As shown, when the phase frequency detector 114 receives a signal with frequency FCP and a signal with frequency FTAR, the target voltage generator 108 increases the target voltage Vtarget to increase the critical path-dependent frequency FCP. When the critical path-dependent frequency FCP is higher than the target frequency FTAR, the target voltage generator 108 decreases the target voltage Vtarget to decrease the critical path-dependent frequency FCP. Thus, in a steady state, through loop control (e.g., a loop that generates a control signal CS1 to the loop controller 104 based on the frequency difference to control the power switch 102 to adjust the output voltage VOUT, or a loop that generates a control signal CS2 to the loop controller 104 based on the frequency difference to control the power switch 102 to adjust the output voltage VOUT), the frequency FCP is locked at the target frequency FTAR, i.e., the frequency FCP is controlled to be the same as the target frequency FTAR. Understandably, under steady-state conditions, frequency FOUT and frequency FCP are usually multiples of each other; for example, frequency FOUT is n times frequency FCP (e.g., n>1).
[0032] The voltage regulator 100 also has a clock generator 110, which is powered by the output voltage VOUT to generate a critical path dependent frequency FCP that depends on the output voltage VOUT.
[0033] In an exemplary embodiment, the clock generator 110 makes the output voltage VOUT larger, resulting in a higher critical path correlation frequency (FCP).
[0034] The target voltage generator 108 also includes a dynamic voltage scaler (also described as a "dynamic voltage regulator") 112, which generates a reference voltage VREF. The reference voltage VREF is adjusted based on the frequency difference between the target frequency FTAR and the critical path-related frequency FCP. Thus, the reference voltage VREF is adjusted to the target voltage Vtarget. Figure 1 In the example, the target voltage Vtarget is generated based on the reference voltage VREF and the frequency difference between the target frequency FTAR and the critical path-related frequency FCP.
[0035] The target voltage generator 108 also includes a phase frequency detector 114 and a reference voltage adjusting circuit 116. The phase frequency detector 114 receives the target frequency FTAR and the critical path dependent frequency FCP to obtain the frequency difference between the target frequency FTAR and the critical path dependent frequency FCP. The reference voltage adjusting circuit 116 is controlled by the frequency difference obtained by the phase frequency detector 114. The reference voltage adjusting circuit 116 generates a correction voltage ΔV based on this frequency difference to adjust the reference voltage VREF to the target voltage Vtarget.
[0036] In this embodiment of the invention, there is an optional path for controlling the loop controller 104 based on the frequency difference between the target frequency FTAR and the critical path-related frequency FCP. For example... Figure 1 As shown, the phase frequency detector 114 can also generate a second control signal CS2 for the loop controller 104 based on the frequency difference between the target frequency FTAR and the critical path dependent frequency FCP. The second control signal CS2 is transmitted directly to the loop controller 104 without passing through the reference voltage adjustment circuit 116 or the voltage comparator 106. Embodiments that control the loop controller 104 according to the control signal CS2 will have a faster response.
[0037] In an exemplary embodiment, the digital loop code of the loop controller 104 is adjusted based on a second control signal CS2 transmitted to the loop controller 104 without passing through the reference voltage adjustment circuit 116 or the voltage comparator 106. Understandably, the switching control signal generated by the loop controller 104 to control the power switch 102 is related to this digital loop code. Therefore, in this embodiment of the invention, the loop controller 104 can generate a digital loop code and / or a switching control signal based on the first control signal CS1 or the second control signal CS2 to control the on / off state of the power switch 102.
[0038] In an exemplary embodiment, the dynamic voltage scaler 112 is controlled by the target decision module 118 such that the reference voltage VREF is matched to the load 120 driven by the voltage regulator 100 (which is driven by the output voltage VOUT or using the output clock signal FOUT). For example, the reference voltage VREF is set to be the same as the currently desired operating voltage of the load 120.
[0039] In an exemplary embodiment, when the target decision module 118 controls the dynamic voltage scaler 112 to match the reference voltage VREF with the load 120, the target decision module 118 also adjusts the gain provided by the reference voltage adjustment circuit 116 to amplify the frequency difference between the target frequency FTAR and the critical path related frequency FCP.
[0040] In an exemplary embodiment, when the target decision module 118 controls the dynamic voltage scaler 112 to match the reference voltage VREF with the load 120, the target decision module 118 disables the gain provided by the reference voltage adjustment circuit 116 for amplifying the frequency difference between the target frequency FTAR and the critical path dependent frequency FCP. In this exemplary embodiment, the correction voltage ΔV is zero to turn off control based on the frequency difference between the target frequency FTAR and the critical path dependent frequency FCP.
[0041] In an exemplary embodiment, the target decision module 118 controls the dynamic voltage scaler 112 to correlate the reference voltage VREF with the target frequency FTAR.
[0042] In an exemplary embodiment, the target decision module 118 sets a target frequency FTAR to match the load 120 driven by the voltage regulator 100. For example, the target frequency FTAR may be a multiple of the desired operating frequency F of the load 120, such as frequency F being n times the target frequency FTAR. In this embodiment, the load 120 (e.g., CPU) typically has different operating modes depending on the operating conditions. For example, in a first operating mode and a second operating mode, the desired operating voltage (e.g., provided by the output voltage VOUT) and desired operating frequency (e.g., output frequency FOUT) of the load 120 are different. For example, the desired operating frequency in the first operating mode may be a first frequency (e.g., high frequency band) and a first voltage, while the desired operating frequency in the second operating mode may be a second frequency (e.g., low frequency band) lower than the first frequency and a second voltage lower than the first voltage. Thus, the target decision module 118 controls the dynamic voltage scaler 112 to generate a reference voltage VREF associated with the target frequency FTAR according to the actual situation, wherein the target frequency FTAR is matched with the load 120, for example, the target frequency is related to the desired operating frequency of the load 120.
[0043] In an exemplary embodiment, the target decision module 118 searches the lookup table 122 according to the target frequency FTAR to control the dynamic voltage scaler 112, thereby causing the dynamic voltage scaler 112 to generate a reference voltage VREF that matches the target frequency FTAR. Understandably, the lookup table contains multiple entries, each containing a frequency and the corresponding voltage. Thus, after determining the desired operating frequency of the load 120 based on the actual situation, the target decision module 118 can determine the target frequency FTAR. For example, the target frequency FTAR is 1 / n of the desired operating frequency. Then, based on the determined target frequency FTAR, the lookup table is searched to control the dynamic voltage scaler 112 to set the reference voltage VREF to the voltage in the lookup table corresponding to the target frequency FTAR. In this embodiment, by locking the frequency FCP to the FTAR, the load 120 can operate at the desired operating voltage and frequency, providing dynamic voltage and frequency tracking functionality, thereby avoiding operational failures caused by a constant operating voltage but a higher operating frequency.
[0044] In an exemplary embodiment, the target decision module 118 controls the dynamic voltage scaler 112 to ensure that the reference voltage VREF covers the target frequency FTAR (wherein the target frequency FTAR is matched to the load 120) in a corner case. This avoids the impact of differences caused by PVT (process, voltage, temperature) variations.
[0045] The target decision module 118 and the lookup table 122 can be implemented by computing hardware.
[0046] Figure 2 The waveforms of the reference voltage VREF and the target voltage Vtarget according to an exemplary embodiment of the present invention are shown. The reference voltage VREF satisfies the critical condition of the target frequency FTAR (which is matched with the load 120). After the reference voltage VREF is adjusted by a correction voltage ΔV (ΔV varies according to the frequency difference between the target frequency FTAR and the critical path related frequency FCP), a target voltage Vtarget with higher power efficiency is generated. The output voltage VOUT adapts to the state of the load 120. For example, when the target frequency FTAR changes from a first frequency to a second frequency according to the state of the load, the frequency FCP will differ from the updated value of the target frequency FTAR (the second frequency). Therefore, the voltage regulator will adaptively adjust the output voltage VOUT so that the frequency FCP is locked at the target frequency FTAR, which is equivalent to adjusting the output frequency FOUT (e.g., the output frequency FOUT is a multiple of the frequency FCP). Therefore, in a steady state, both the output voltage VOUT and the output frequency FOUT are matched with the load, that is, the output voltage VOUT and the output frequency FOUT can adapt to the state of the load.
[0047] Figure 3 According to an exemplary embodiment of the present invention, waveforms representing the response time of voltage regulation are shown. Waveform 302 corresponds to the case where voltage regulation is based on controlling the frequency of the output voltage to be close to the target frequency without applying voltage feedback. Waveform 304 corresponds to... Figure 1 The voltage regulator 100. It can be observed that the transient response of the voltage regulator 100 is improved.
[0048] The use of ordinal terms such as “first,” “second,” and “third” in the claims to modify claim elements does not in itself indicate any priority, precedence, or order of one claim element relative to another claim element, or the chronological order of the execution of method actions. Rather, it is merely used as a marker to distinguish one claim element with the same name from another element with the same name.
[0049] While the invention has been described by way of example and according to preferred embodiments, it should be understood that the invention is not limited to the disclosed embodiments. Rather, it is intended to cover various variations and similar structures (as will be apparent to those skilled in the art), such as combinations or substitutions of different features in different embodiments. Therefore, the scope of the appended claims should be given the broadest interpretation to cover all such variations and similar structures.
Claims
1. A voltage regulator, characterized in that, The voltage regulator includes: A power switch is used to convert an input voltage into an output voltage, which is used to power a load. A loop controller, coupled to the power switch, controls the power switch to perform voltage regulation; A voltage comparator is used to compare the output voltage with a target voltage to generate a first control signal to control the loop controller; and, A target voltage generator is configured to generate a correction voltage based on the frequency difference between a target frequency and a critical path-dependent frequency, and to generate a target voltage for the voltage comparator based on the correction voltage and a reference voltage matched with the target frequency, so that the voltage regulator adaptively adjusts the output voltage according to different target frequencies; wherein the critical path-dependent frequency is related to the frequency of the clock signal used by the load, and the target frequency is related to the desired operating frequency of the load.
2. The voltage regulator as described in claim 1, characterized in that: When the critical path correlation frequency is lower than the target frequency, the target voltage generator increases the target voltage to increase the critical path correlation frequency; and, When the critical path correlation frequency is higher than the target frequency, the target voltage generator reduces the target voltage to reduce the critical path correlation frequency.
3. The voltage regulator as described in claim 2, characterized in that, The voltage regulator also includes: A clock generator, powered by the output voltage, generates the critical path-dependent frequency that depends on the output voltage.
4. The voltage regulator as described in claim 3, characterized in that, The clock generator ensures that the higher the output voltage, the higher the critical path correlation frequency.
5. The voltage regulator as described in claim 4, characterized in that, The target voltage generator includes: A dynamic voltage scaler is used to generate a reference voltage, wherein the reference voltage is adjusted according to the frequency difference between the target frequency and the critical path-related frequency, and thus the target voltage is generated.
6. The voltage regulator as described in claim 5, characterized in that, The target voltage generator also includes: A phase-frequency detector is used to receive the target frequency and the critical path-related frequency to obtain the frequency difference between the target frequency and the critical path-related frequency; and... The reference voltage adjustment circuit, controlled by the frequency difference obtained by the phase frequency detector, generates a correction voltage for adjusting the reference voltage to the target voltage.
7. The voltage regulator as described in claim 6, characterized in that: The phase frequency detector also generates a second control signal for the loop controller based on the frequency difference between the target frequency and the critical path-related frequency. The second control signal is transmitted to the loop controller without passing through the reference voltage adjustment circuit or the voltage comparator.
8. The voltage regulator as described in claim 7, characterized in that: The digital loop code of the loop controller is adjusted based on the second control signal transmitted to the loop controller without passing through the reference voltage adjustment circuit or the voltage comparator.
9. The voltage regulator as described in claim 6, characterized in that: The dynamic voltage scaler is controlled by the target decision module to match the reference voltage with the load driven by the voltage regulator.
10. The voltage regulator as described in claim 9, characterized in that: When controlling the dynamic voltage scaler to match the reference voltage with the load, the target decision module also adjusts the gain provided by the reference voltage adjustment circuit to amplify the frequency difference between the target frequency and the critical path-related frequency.
11. The voltage regulator as claimed in claim 10, characterized in that: When the target decision module controls the dynamic voltage scaler to match the reference voltage with the load, the target decision module disables the gain provided by the reference voltage adjustment circuit to amplify the frequency difference between the target frequency and the critical path-related frequency.
12. The voltage regulator as described in claim 9, characterized in that: The target decision module controls the dynamic voltage scaler so that the reference voltage is correlated with the target frequency.
13. The voltage regulator as described in claim 12, characterized in that: The target decision module sets the target frequency to match the load driven by the voltage regulator.
14. The voltage regulator as described in claim 13, characterized in that: The target decision module searches a lookup table based on the target frequency to control the dynamic voltage scaler according to the search results.
15. The voltage regulator as described in claim 13, characterized in that: The target decision module controls the dynamic voltage scaler so that the reference voltage covers the critical condition of the target frequency that matches the load driven by the voltage regulator.
Citation Information
Patent Citations
Switch type regulator and control method thereof
CN101795068A
Self adaptive voltage adjuster based on PSM (pulse slope modulation) mode
CN104076855A
Vehicle lamp, illumination circuit for same, current driver circuit
CN109788614A
Electronic ballast for a discharge lamp
CN1596564A
Constant on-time converter with frequency control
US10418902B1
