Linear voltage stabilizing circuit, method and device, electronic equipment and storage medium
By introducing reference voltage modules, frequency compensation modules and error amplifiers into linear voltage regulators, the problems of insufficient phase margin and poor frequency response during rapid voltage changes and load fluctuations are solved, and higher phase margin and frequency stability are achieved.
Patent Information
- Application Number
- CN202510081657.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-05-06
AI Technical Summary
Traditional linear regulators with negative feedback control may have problems such as insufficient phase margin and poor frequency response when dealing with rapid voltage changes and load fluctuations.
A linear voltage stabilization circuit is designed, including a reference voltage module, a frequency compensation module and an error amplifier. The voltage is adjusted in real time by the error amplifier to ensure the voltage stability; the frequency compensation module adjusts the output resistance according to the target load current, and moves the low-frequency pole at the error amplifier to the high frequency.
Improves the phase margin and frequency stability of the linear voltage regulator circuit, ensuring a stable voltage supply when voltage changes and load fluctuations.
Smart Images

Figure CN119937707A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electrical technology, and in particular to a linear voltage stabilization circuit and method, a device, an electronic device and a storage medium. Background Art
[0002] In modern electronic circuit design, the performance of chips used in clock generation, frequency synthesis, and data communication is extremely sensitive to fluctuations in the supply voltage. Changes in the supply voltage may cause the chip output frequency to shift, thereby affecting the stability and performance of the entire system. In order to reduce the impact of the supply voltage on the circuit, linear regulators are usually used to provide a stable voltage supply. Linear regulators have low output noise and good load adjustment capabilities, making them an ideal choice for powering high-precision analog circuits.
[0003] Linear regulators are mainly used to provide a stable DC output voltage. Linear regulators monitor the output voltage in real time and compare it with a reference voltage. When a deviation in the output voltage is detected, the error amplifier outputs a corresponding error signal. The error signal adjusts the conduction degree of the series pass element, thereby changing the current flowing through the load to correct the deviation in the output voltage.
[0004] However, existing linear voltage regulation technologies mainly focus on improving the efficiency of linear voltage regulators and reducing output noise. When dealing with rapid voltage changes and load fluctuations, traditional negative feedback controlled linear voltage regulators may suffer from insufficient phase margin and poor frequency response. Summary of the invention
[0005] The present disclosure provides a linear voltage stabilization circuit and method, device, electronic device and storage medium, which are mainly intended to solve the problem of insufficient phase margin and poor frequency response of a conventional negative feedback controlled linear voltage regulator when dealing with rapid voltage changes and load fluctuations.
[0006] According to a first aspect of the present disclosure, a linear voltage stabilization circuit is provided, characterized in that it comprises: a reference voltage module, a frequency compensation module, and an error amplifier.
[0007] The reference voltage module is used to perform voltage stabilization processing on the input voltage to obtain a reference voltage;
[0008] The error amplifier is used to compare the reference voltage with the sampled voltage to obtain a voltage comparison result, and to correct the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage;
[0009] The frequency compensation module is used to adjust the output resistance according to the target load current after determining the target output voltage, so as to move the low-frequency pole at the error amplifier to the high frequency; wherein the output resistance is the output resistance inside the frequency compensation module, and the target load current is obtained by current adjustment by the frequency compensation module.
[0010] Optionally, the inverting input terminal of the error amplifier is connected to the reference voltage, and the non-inverting input terminal of the error amplifier is connected to the sampling voltage;
[0011] Wherein, the error amplifier is also used for:
[0012] When it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage, the initial output voltage is determined as the target output voltage;
[0013] When it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage, obtaining a voltage error between the reference voltage and the sampled voltage, and performing error amplification processing on the voltage error to obtain an amplified voltage error;
[0014] The initial voltage is corrected based on the amplified voltage error to obtain the target output voltage.
[0015] Optionally, the circuit further includes: an output power tube, a resistor,
[0016] The output power tube and the resistor are used to ensure the stability of the linear voltage stabilization circuit;
[0017] The frequency compensation module is also used to split the low-frequency pole at the error amplifier to obtain a first pole and a second pole.
[0018] Optionally, the frequency compensation module includes: a plurality of transistors,
[0019] The plurality of transistors include at least a first transistor and a second transistor;
[0020] The gate of the first transistor and the gate of the output power tube are connected in parallel to obtain a parallel structure; the frequency compensation module performs current adjustment including: reducing the load resistance of the compensation module through the parallel structure to increase the current and obtain the target load current;
[0021] The first transistor is used to perform mirror processing on the target load current to obtain a mirror current, and transmit the mirror current to the second transistor;
[0022] The second transistor is used to reduce the output resistance according to the mirror current to move the first pole and the second pole to a high frequency; wherein the output resistance is the resistance of the second transistor.
[0023] According to a second aspect of the present disclosure, a linear voltage stabilization method is provided, wherein the method is applied to the linear voltage stabilization circuit described in the first aspect, comprising:
[0024] Perform voltage stabilization processing on the input voltage to obtain a reference voltage;
[0025] Comparing the reference voltage with the sampled voltage to obtain a voltage comparison result, and correcting the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage;
[0026] After determining the target output voltage, a current adjustment process is performed by a frequency compensation module in the linear voltage stabilization circuit to obtain a target load current;
[0027] The output resistance is adjusted according to the target load current to move the low-frequency pole at the error amplifier toward the high frequency, wherein the output resistance is the output resistance inside the frequency compensation module.
[0028] Optionally, the correcting the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain the target output voltage includes:
[0029] When it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage, the initial output voltage is determined as the target output voltage;
[0030] When it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage, obtaining a voltage error between the reference voltage and the sampled voltage, and performing error amplification processing on the voltage error to obtain an amplified voltage error;
[0031] The initial voltage is corrected based on the amplified voltage error to obtain the target output voltage.
[0032] Optionally, adjusting the output resistance according to the target load current to move the low-frequency pole at the error amplifier toward a high frequency includes:
[0033] Splitting the low-frequency pole to obtain a first pole and a second pole;
[0034] Performing mirror processing on the target load current to obtain a mirror current;
[0035] The output resistance is reduced by a preset resistance algorithm according to the mirror current, so as to move the first pole and the second pole toward a high frequency.
[0036] According to a third aspect of the present disclosure, there is provided a linear voltage stabilization device, comprising:
[0037] A stabilization unit, used for performing voltage stabilization processing on the input voltage to obtain a reference voltage;
[0038] A comparison unit, used for comparing the reference voltage with the sampled voltage to obtain a voltage comparison result;
[0039] A correction unit, used for correcting the initial output voltage of the linear voltage stabilization circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage;
[0040] An adjustment unit, configured to, after determining the target output voltage, perform current adjustment processing through a frequency compensation module in the linear voltage stabilization circuit to obtain a target load current;
[0041] A processing unit is used to adjust the output resistance according to the target load current to move the low-frequency pole at the error amplifier to the high frequency, wherein the output resistance is the output resistance inside the frequency compensation module.
[0042] Optionally, the correction unit includes:
[0043] a determination module, configured to determine the initial output voltage as the target output voltage when it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage;
[0044] an acquisition module, configured to acquire a voltage error between the reference voltage and the sampled voltage when it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage;
[0045] an amplification module, used for performing error amplification processing on the voltage error to obtain an amplified voltage error;
[0046] The correction module is used to correct the initial voltage based on the amplified voltage error to obtain the target output voltage.
[0047] Optionally, the processing unit includes:
[0048] A splitting module, used for splitting the low-frequency pole to obtain a first pole and a second pole;
[0049] A mirror module, used for performing mirror processing on the target load current to obtain a mirror current;
[0050] A calculation module is used to reduce the output resistance through a preset resistance algorithm according to the mirror current, so as to move the first pole and the second pole to a high frequency.
[0051] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:
[0052] at least one processor; and
[0053] a memory communicatively connected to the at least one processor; wherein,
[0054] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in the second aspect.
[0055] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the second aspect.
[0056] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method described in the second aspect is implemented.
[0057] The linear voltage stabilization circuit and method, device, electronic device and storage medium provided by the present disclosure include: a reference voltage module, a frequency compensation module, and an error amplifier, wherein the reference voltage module is used to perform voltage stabilization processing on the input voltage to obtain a reference voltage; the error amplifier is used to compare the reference voltage with the sampling voltage to obtain a voltage comparison result, and based on the voltage comparison result, correct the initial output voltage of the linear voltage stabilization circuit to obtain a target output voltage; wherein the sampling voltage is obtained by sampling the initial output voltage; the frequency compensation module is used to adjust the output resistance according to the target load current after determining the target output voltage, so as to move the low-frequency pole at the error amplifier to a high frequency; wherein the output resistance is the output resistance inside the frequency compensation module, and the target load current is obtained by current adjustment by the frequency compensation module. Compared with the related art, the embodiment of the present disclosure can ensure the stability of the voltage by adjusting the voltage in real time through the error amplifier. The frequency compensation module can convert the low-frequency pole into a high-frequency pole when the voltage changes and the load fluctuates, thereby improving the phase margin of the linear voltage regulator circuit. Therefore, the embodiment of the present disclosure can provide a stable voltage supply and improve the phase margin and frequency stability of the linear voltage regulator circuit.
[0058] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0060] Figure 1 A schematic diagram of the structure of a linear voltage stabilization circuit provided by an embodiment of the present disclosure;
[0061] Figure 2 A basic principle architecture diagram of a linear voltage stabilization circuit provided by an embodiment of the present disclosure;
[0062] Figure 3 A schematic diagram of the structure of an error amplifier provided by an embodiment of the present disclosure;
[0063] Figure 4 A schematic diagram of the structure of a frequency compensation module provided by an embodiment of the present disclosure;
[0064] Figure 5 A schematic diagram of a flow chart of a linear voltage stabilization method provided by an embodiment of the present disclosure;
[0065] Figure 6 A schematic diagram of the structure of a linear voltage stabilization device provided in an embodiment of the present disclosure;
[0066] Figure 7 A schematic diagram of the structure of another linear voltage stabilization device provided by an embodiment of the present disclosure;
[0067] Figure 8 A schematic block diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0068] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0069] The linear voltage stabilization circuit method, device, electronic device and storage medium according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.
[0070] Figure 1 A schematic diagram of the structure of a linear voltage stabilization circuit provided in an embodiment of the present disclosure.
[0071] like Figure 1 As shown, the circuit includes: a reference voltage module 11, a frequency compensation module 12, and an error amplifier 13.
[0072] The reference voltage module 11 is used to perform voltage stabilization processing on the input voltage to obtain a reference voltage;
[0073] The error amplifier 13 is used to compare the reference voltage with the sampled voltage to obtain a voltage comparison result, and to correct the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage;
[0074] The frequency compensation module 12 is used to adjust the output resistance according to the target load current after determining the target output voltage, so as to move the low-frequency pole at the error amplifier to the high frequency; wherein the output resistance is the output resistance inside the frequency compensation module, and the target load current is obtained by current adjustment by the frequency compensation module.
[0075] In order to further describe the structure and working mode of the embodiment of the present disclosure in detail, the embodiment of the present disclosure also provides a basic principle architecture diagram of a linear voltage regulator circuit, such as Figure 2 As shown, it includes a reference voltage, a frequency compensation module, an error amplifier (EA), and a feedback network composed of an output power tube and a resistor. Figure 2 In the embodiment, the reference voltage corresponds to the reference voltage module 11 , EA corresponds to the error amplifier 13 , and the frequency compensation module corresponds to the frequency compensation module 12 .
[0076] Among them, the linear voltage regulator circuit samples the output voltage, that is, samples the initial output voltage to obtain a sampled voltage. The circuit used inside the error amplifier 13 includes but is not limited to: a fully differential amplifier circuit. Specifically, the embodiment of the present disclosure does not limit the circuit used inside the error amplifier 13.
[0077] Furthermore, when the linear voltage stabilization circuit is stable, the error amplifier 13 is considered to be virtually shorted, that is, the voltage difference between the two input terminals of the error amplifier 13 is zero, indicating that the sampling voltage is equal to the reference voltage. When the linear voltage stabilization circuit works normally, the gate voltage of the inverting input terminal of the error amplifier 13 is the same as the reference voltage, and the gate voltage of the non-inverting input terminal of the error amplifier 13 is the same as the sampling voltage. At this time, by comparing the sampling voltage with the reference voltage, amplifying the error through the error amplifier, and correcting it through negative feedback, the output voltage of the linear voltage stabilization circuit can be kept stable.
[0078] At the same time, due to the influence of load impedance and output capacitance, a low-frequency pole will appear at low frequency. The low-frequency pole is easy to destroy the phase margin of the circuit, resulting in the stability of the circuit being affected. The frequency compensation module 12 can eliminate the influence of the low-frequency pole. The frequency compensation module 12 can split the pole at the error amplifier 13 into two poles, and adjust the output resistance according to the change of load current to convert the low-frequency pole into a high-frequency pole, so that the secondary pole will not affect the stability of the loop, thereby improving the phase margin of the linear voltage regulation circuit.
[0079] The reference voltage module 11 is a module that converts the input voltage of the linear voltage stabilization circuit into a reference voltage. Voltage stabilization processing of the input voltage refers to the process of converting the input voltage of the linear voltage stabilization circuit into a stable and accurate voltage value. The reference voltage can provide a stable reference point to ensure that the linear voltage stabilization circuit can output an accurate and stable voltage. The structure of the reference voltage module 11 includes but is not limited to: a Zener diode (Zener Diode), a voltage reference integrated circuit (Voltage Reference IC), a band gap reference voltage source, etc. Specifically, the reference voltage module 11 is not limited in the embodiments of the present disclosure.
[0080] The linear voltage stabilization circuit provided by the present disclosure includes: a reference voltage module, a frequency compensation module, and an error amplifier, wherein the reference voltage module is used to perform voltage stabilization processing on an input voltage to obtain a reference voltage; the error amplifier is used to compare the reference voltage with a sampled voltage to obtain a voltage comparison result, and based on the voltage comparison result, correct the initial output voltage of the linear voltage stabilization circuit to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage; the frequency compensation module is used to adjust the output resistance according to a target load current after determining the target output voltage, so as to move the low-frequency pole at the error amplifier to a high frequency; wherein the output resistance is the output resistance inside the frequency compensation module, and the target load current is obtained by current adjustment by the frequency compensation module. Compared with the related art, the embodiment of the present disclosure can ensure the stability of the voltage by adjusting the voltage in real time through the error amplifier. The frequency compensation module can convert the low-frequency pole into a high-frequency pole when the voltage changes and the load fluctuates, thereby improving the phase margin of the linear voltage regulator circuit. Therefore, the embodiment of the present disclosure can provide a stable voltage supply and improve the phase margin and frequency stability of the linear voltage regulator circuit.
[0081] In an implementable manner of the embodiment of the present disclosure, the inverting input terminal of the error amplifier 13 is connected to the reference voltage, and the non-inverting input terminal of the error amplifier 13 is connected to the sampling voltage;
[0082] Wherein, the error amplifier 13 is also used for:
[0083] When it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage, the initial output voltage is determined as the target output voltage;
[0084] When it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage, obtaining a voltage error between the reference voltage and the sampled voltage, and performing error amplification processing on the voltage error to obtain an amplified voltage error;
[0085] The initial voltage is corrected based on the amplified voltage error to obtain the target output voltage.
[0086] Among them, regarding the error amplifier 13, the embodiment of the present disclosure also provides a structural schematic diagram of an error amplifier, such as Figure 3 As shown, the reference voltage is M N3 The gate voltage is M N4 The gate voltage, M N3 is the inverting input terminal of the error amplifier 13, M N4 is the non-inverting input terminal of the error amplifier 13.
[0087] For further information, see Figure 2 , Figure 3 , which includes a reference voltage, a frequency compensation module, an error amplifier (EA), and a feedback network composed of an output power tube and a resistor.
[0088] When the linear voltage regulator circuit samples the output voltage, the sampling can be performed by, but not limited to, formula (1):
[0089]
[0090] Among them, V FB is the sampling voltage, V OUT is the initial output voltage, is a formula constructed based on the resistor (the resistor is Figure 2 Taking the resistor in as an example, the formula constructed), specifically, the formula constructed according to the resistor can be determined according to the actual situation of the circuit, and is not limited here.
[0091] like Figure 2 As shown, the sampling voltage V FB The sampling voltage is connected to the non-inverting input terminal of the error amplifier 13, and the inverting input terminal is connected to the reference voltage, which forms a negative feedback loop with the linear voltage regulation loop. When the linear voltage regulation circuit is stable, the relationship between the sampling voltage and the reference voltage can be expressed by, but not limited to, formula (2):
[0092] V FB ≈V REF Formula (2)
[0093] Among them, V REF is the reference voltage.
[0094] At the same time, when the linear voltage regulator circuit is stable, the relationship between the initial output voltage and the reference voltage can be expressed by, but not limited to, formula (3):
[0095]
[0096] Among them, A EA is the gain of the error amplifier (an inherent property of the error amplifier), A POW is the amplification factor of the output power tube (an inherent property of the output power tube). Specifically, regarding A EA and A POW , which can be determined according to actual conditions and is not limited in the embodiments of the present disclosure.
[0097] When the loop gain is large enough, formula (3) can be simplified to formula (4):
[0098]
[0099] like Figure 3 As shown, when the linear regulator is working normally, the reference voltage is M N3 The gate voltage is M N4 The gate voltage, M N3 is the inverting input terminal of the error amplifier 13, M N4 is the non-inverting input terminal of the error amplifier 13.
[0100] By comparing the sampled voltage with the reference voltage, amplifying the error through the error amplifier, and correcting it through negative feedback, the output voltage of the linear voltage regulator circuit can be kept stable.
[0101] In one possible implementation of the embodiment of the present disclosure, the circuit further includes: an output power tube 14, a resistor 15,
[0102] The output power tube 14 and the resistor 15 are used to ensure the stability of the linear voltage stabilization circuit;
[0103] The frequency compensation module 12 is further used to split the low-frequency pole at the error amplifier to obtain a first pole and a second pole.
[0104] The resistor 15 may include multiple resistors, such as Figure 2R1, R2, and RL together constitute the resistor 15, and the output power tube 14 is a P-channel metal-oxide-semiconductor field-effect transistor (P-Channel Metal-Oxide-Semiconductor Field-Effect Transistor). Figure 2 Medium MPOW.
[0105] The resistor 15 can be used to set and adjust voltage, limit current, provide bias, participate in feedback control and filtering to ensure the stability of the output voltage and the normal operation of the circuit. The output power tube 14 can be used as a variable resistor to adjust the output voltage by changing its conduction degree to maintain a stable output voltage even if the input voltage or load current changes.
[0106] In one possible implementation of the embodiment of the present disclosure, the frequency compensation module 12 includes: a plurality of transistors,
[0107] The plurality of transistors at least include a first transistor 121 and a second transistor 122;
[0108] The gate of the first transistor 121 is connected in parallel with the gate of the output power tube 14 to obtain a parallel structure; the frequency compensation module 12 performs current adjustment including: reducing the load resistance of the compensation module 12 through the parallel structure to perform current increase processing to obtain the target load current;
[0109] The first transistor 121 is used to perform mirror processing on the target load current to obtain a mirror current, and transmit the mirror current to the second transistor 122;
[0110] The second transistor 122 is further configured to reduce the output resistance according to the mirror current so as to move the first pole and the second pole toward a high frequency; wherein the output resistance is the resistance of the second transistor.
[0111] Among them, the multiple transistors can be multiple MOS tubes, that is, Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET), and the types of the multiple transistors include but are not limited to: P-type MOS tubes, and the first transistor 121 and the second transistor 122 are custom-determined transistors based on the structure in the frequency compensation module 12.
[0112] Regarding the frequency compensation module 12, the embodiment of the present disclosure also provides a structural diagram of a frequency compensation module, such as Figure 4As shown, the multiple transistors include M1, M2, and M3, the first transistor 121 is M3, and the second transistor 122 is M2.
[0113] The output resistance of the second transistor 122 is approximately the inverse of the transconductance and is inversely proportional to the current. When the output load current increases, the output resistance of the frequency compensation module can be reduced, so that the two sub-poles P1 (first pole) and P2 (second pole) at the output end of the error amplifier 13 will move toward high frequency. This prevents the sub-poles P1 and P2 from entering the frequency range of the unity gain bandwidth and ensures the stability of the linear voltage regulator circuit.
[0114] For further information, see Figure 2 , Figure 4 Due to the influence of load impedance and output capacitance, low-frequency poles will appear at low frequencies, one at the output end of the error amplifier 13 and the other at the output end of the linear voltage regulator circuit. Because the two low-frequency poles are easy to destroy the phase margin of the circuit, the stability of the circuit is affected. Therefore, a frequency compensation module is needed to eliminate the influence of the low-frequency poles. The frequency compensation module is as follows: Figure 4 As shown, the frequency compensation module can split the pole at the error amplifier 13 into two poles to update the transfer function of the linear voltage regulator circuit. Further, the low-frequency pole is converted into a high-frequency pole according to the change of the load current, so that the secondary pole will not affect the stability of the loop, thereby improving the phase margin of the linear voltage regulator circuit.
[0115] Specifically, the update of the transfer function of the linear voltage regulator circuit can be expressed by, but not limited to, formula (5):
[0116]
[0117] Among them, H C (s) is the updated transfer function, p1 is the first pole, p2 is the second pole, K is the gain of the frequency compensation module, and s is a complex variable used to describe the transformation of the system from the time domain to the complex frequency domain under the framework of Laplace transform.
[0118] For further information, see Figure 2 , Figure 4 In the process of moving the low frequency pole at the error amplifier to the high frequency through the frequency compensation module 12, it can be implemented in the following manner but not limited to: wherein the structure of the frequency compensation module 12 is referenced Figure 4 , the first transistor is Figure 4 For example, the second transistor is Figure 4Taking M2 in the figure as an example, when the low-frequency pole moves to the high frequency, the tail current of the frequency compensation module can be dynamically changed by mirroring the initial output current of the M3 tube, thereby reducing the output resistance of the linear voltage regulator circuit. The smaller output resistance will also cause the secondary pole generated at the gate of the output power tube to be extrapolated to a higher frequency, which can more accurately convert the low-frequency pole into a high-frequency pole, so that the secondary pole will not affect the stability of the loop and improve the phase margin of the linear voltage regulator circuit.
[0119] Specifically, since the gate of the M3 tube is connected in parallel with the gate of the output power tube (MPOW) of the subsequent stage, the load impedance of the frequency compensation module 12 is reduced, the load current is increased, and the M3 tube mirrors the target load current, then the current of the dynamically biased M3 tube increases with the load current. The current of the M2 tube flows out through M3, so the current of the M2 tube will increase at the same time, and the output resistance of the M2 tube is approximately the inverse of the transconductance, which is inversely proportional to the current, so the output resistance of the frequency compensation module will decrease, which also represents the reduction of the output resistance of the linear voltage regulator circuit, so that the two secondary poles P1 and P2 at the output end of the error amplifier will move to high frequency. This prevents the secondary poles P1 and P2 from entering the frequency range of the unit gain bandwidth and ensures loop stability.
[0120] In a voltage stabilization circuit, changes in the output load current will affect the loop gain and stability of the circuit. When the output load current decreases, the loop gain of the circuit may increase, which may cause the low-frequency pole to move to the left, thereby affecting the stability of the circuit. In order to convert the low-frequency pole into a high-frequency pole, the following method may be used but is not limited to: the low-frequency pole at the error amplifier is split to obtain a first pole and a second pole, and the first pole is pushed to a high-frequency position through the second pole to move the low-frequency pole at the error amplifier to a high frequency.
[0121] Among them, by adding a pole in the frequency compensation module, the left shift of the pole caused by the reduction of the load current can be offset. While reducing the loop gain, the pole can be pushed to a higher frequency to further ensure that the pole will not affect the stability of the loop and improve the phase margin of the linear voltage regulator circuit.
[0122] Figure 5 A schematic diagram of a linear voltage stabilization method provided by an embodiment of the present disclosure. The linear voltage stabilization method is applied to Figure 1-Figure 4 The linear voltage regulator circuit shown in Figure 5 As shown, the method comprises the following steps:
[0123] Step 501, performing voltage stabilization processing on the input voltage to obtain a reference voltage.
[0124] In the embodiment of the present disclosure, voltage stabilization processing of the input voltage refers to the process of converting the input voltage of the linear voltage stabilization circuit into a stable and accurate voltage value. The reference voltage can provide a stable reference point to ensure that the linear voltage stabilization circuit can output an accurate and stable voltage.
[0125] Methods or devices for performing voltage stabilization processing on the input voltage include, but are not limited to: Zener diodes, voltage reference integrated circuits, band gap reference voltage sources, etc., and are not limited in specific embodiments of the present disclosure.
[0126] Step 502, compare the reference voltage with the sampled voltage to obtain a voltage comparison result, and correct the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage.
[0127] In the embodiment of the present disclosure, when the linear voltage stabilization circuit is stable, it means that the sampling voltage is equal to the reference voltage. When the sampling voltage is different from the reference voltage, the initial output voltage needs to be adjusted to ensure the stability of the voltage in the circuit.
[0128] By comparing the sampled voltage with the reference voltage, amplifying the error through the error amplifier, and correcting it through negative feedback, the output voltage of the linear voltage regulator circuit can be kept stable.
[0129] Among them, the content form of the comparison result includes but is not limited to: the sampling voltage is equal to the reference voltage, the error is 0, the sampling voltage is greater than the reference voltage, and the error is A, the sampling voltage is less than the reference voltage, and the error is B, etc. The error between the sampling voltage and the reference voltage can be accurately determined through the comparison result, and the initial output voltage can be adjusted based on the error later.
[0130] Step 503: After determining the target output voltage, a current adjustment process is performed through a frequency compensation module in the linear voltage stabilization circuit to obtain a target load current.
[0131] In the embodiments of the present disclosure, the load current can be directly calculated based on the voltage. Specifically, the method for calculating the current can be customized, for example: Ohm's law, power formula, Kirchhoff's voltage law, phase analysis method, operational amplifier circuit, etc. Specifically, the method for calculating the load current can be determined according to actual conditions, and the embodiments of the present disclosure do not limit it.
[0132] When the current adjustment process is performed, the current adjustment can be performed by, but not limited to, the connection structure of the frequency compensation module itself, for example, the frequency compensation module is connected in parallel in the linear voltage stabilization circuit, etc. Specifically, the embodiments of the present disclosure are not limited.
[0133] Step 504 , adjusting the output resistance according to the target load current to move the low-frequency pole at the error amplifier toward the high frequency, wherein the output resistance is the output resistance inside the frequency compensation module.
[0134] In the disclosed embodiment, due to the influence of load impedance and output capacitance, low-frequency poles will appear at low frequencies, one located at the output end of the error amplifier of the linear voltage regulator circuit, and the other located at the output end of the linear voltage regulator circuit. Because the two low-frequency poles are easy to destroy the phase margin of the circuit, the stability of the circuit is affected. Therefore, it is necessary to eliminate the influence of the low-frequency poles through frequency compensation. The pole at the error amplifier is split into two poles to update the transfer function of the linear voltage regulator circuit. Furthermore, the low-frequency pole is converted into a high-frequency pole according to the change of load current, so that the secondary pole will not affect the stability of the loop, thereby improving the phase margin of the linear voltage regulator circuit.
[0135] The embodiment of the present disclosure can ensure voltage stability by adjusting the voltage in real time through the error amplifier. The frequency compensation module can convert the low-frequency pole into a high-frequency pole when the voltage changes and the load fluctuates, thereby improving the phase margin of the linear voltage regulator circuit. Therefore, the embodiment of the present disclosure can provide a stable voltage supply and improve the phase margin and frequency stability of the linear voltage regulator circuit.
[0136] In one implementable manner of the embodiment of the present disclosure, when the initial output voltage of the linear voltage regulator circuit is corrected, it can also be implemented in but not limited to the following manner: when it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage, the initial output voltage is determined as the target output voltage; when it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage, the voltage error between the reference voltage and the sampled voltage is obtained, and the voltage error is amplified to obtain an amplified voltage error; based on the amplified voltage error, the initial voltage is corrected to obtain the target output voltage.
[0137] In the embodiment of the present disclosure, the manner of amplifying the voltage error includes, but is not limited to: amplifying the error through a fully differential amplifier circuit. Specifically, the embodiment of the present disclosure does not limit the manner of amplifying the error.
[0138] Furthermore, when the sampling voltage is equal to the reference voltage, it indicates that the linear voltage regulator circuit is stable. When there is an error between the reference voltage and the sampling voltage, it indicates that the voltage of the linear voltage regulator circuit is unstable. By comparing the sampling voltage with the reference voltage to obtain the voltage error, the error is amplified by the error amplifier, and corrected by negative feedback, the output voltage of the linear voltage regulator circuit can be kept stable.
[0139] In one implementable method of the embodiment of the present disclosure, the process of reducing the output resistance to move the low-frequency pole at the error amplifier to the high frequency can be implemented by but not limited to the following methods: splitting the low-frequency pole to obtain a first pole and a second pole; mirroring the target load current to obtain a mirror current; reducing the output resistance through a preset resistance algorithm based on the mirror current to move the first pole and the second pole to the high frequency.
[0140] In the disclosed embodiment, the low-frequency pole is split to offset the left shift of the pole caused by the reduction of the load current. The pole can be pushed to a higher frequency while reducing the loop gain to further ensure that the pole does not affect the stability of the loop and improve the phase margin of the linear voltage regulator circuit.
[0141] At the same time, by mirroring the initial output current to dynamically change the tail current of the frequency compensation module, the output resistance of the linear voltage regulator circuit is reduced. The smaller output resistance will also cause the secondary pole generated at the gate of the output power tube to be extrapolated to a higher frequency, which can more accurately convert the low-frequency pole into a high-frequency pole, so that the secondary pole will not affect the stability of the loop and improve the phase margin of the linear voltage regulator circuit.
[0142] Corresponding to the above-mentioned linear voltage stabilization method, the present invention also provides a linear voltage stabilization device. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, the details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.
[0143] Figure 6 A schematic diagram of the structure of a linear voltage stabilization device provided in an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, including:
[0144] The stabilization unit 61 is used to perform voltage stabilization processing on the input voltage to obtain a reference voltage;
[0145] A comparison unit 62, used for comparing the reference voltage with the sampled voltage to obtain a voltage comparison result;
[0146] A correction unit 63, configured to correct the initial output voltage of the linear voltage stabilization circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage;
[0147] An adjustment unit 64, configured to, after determining the target output voltage, perform current adjustment processing through a frequency compensation module in the linear voltage stabilization circuit to obtain a target load current;
[0148] The processing unit 65 is used to adjust the output resistance according to the target load current to move the low-frequency pole at the error amplifier to the high frequency, wherein the output resistance is the output resistance inside the frequency compensation module.
[0149] The embodiment of the present disclosure can ensure voltage stability by adjusting the voltage in real time through the error amplifier. The frequency compensation module can convert the low-frequency pole into a high-frequency pole when the voltage changes and the load fluctuates, thereby improving the phase margin of the linear voltage regulator circuit. Therefore, the embodiment of the present disclosure can provide a stable voltage supply and improve the phase margin and frequency stability of the linear voltage regulator circuit.
[0150] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 7 As shown, the correction unit 63 includes:
[0151] A determination module 631, configured to determine the initial output voltage as the target output voltage when it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage;
[0152] An acquisition module 632, configured to acquire a voltage error between the reference voltage and the sampled voltage when it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage;
[0153] an amplification module 633, configured to perform error amplification processing on the voltage error to obtain an amplified voltage error;
[0154] The correction module 634 is used to correct the initial voltage based on the amplified voltage error to obtain the target output voltage.
[0155] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 7 As shown, the processing unit 65 includes:
[0156] A splitting module 651 is used to split the low-frequency pole to obtain a first pole and a second pole;
[0157] A mirror module 652, configured to perform mirror processing on the target load current to obtain a mirror current;
[0158] The calculation module 653 is used to reduce the output resistance through a preset resistance algorithm according to the mirror current, so as to move the first pole and the second pole to a high frequency.
[0159] It should be noted that the above explanation of the method embodiment is also applicable to the device of the embodiment of the present disclosure, and the principle is the same, which is no longer limited in the embodiment of the present disclosure.
[0160] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0161] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0162] like Figure 8 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 802 or a computer program loaded from a storage unit 808 to a RAM (Random Access Memory) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An I / O (Input / Output) interface 805 is also connected to the bus 804.
[0163] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0164] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as a linear voltage regulator circuit method. For example, in some embodiments, the linear voltage regulator circuit method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the aforementioned linear voltage regulator circuit method in any other appropriate manner (for example, by means of firmware).
[0165] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a special purpose or general purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0166] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0167] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or a flash memory, an optical fiber, a CD-ROM (Compact Dis sc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0168] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0169] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.
[0170] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0171] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.
[0172] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0173] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A linear voltage regulator circuit, It is characterized in that Including: reference voltage module, frequency compensation module, error amplifier, The reference voltage module is used to perform voltage stabilization processing on the input voltage to obtain a reference voltage; The error amplifier is used to compare the reference voltage with the sampled voltage to obtain a voltage comparison result, and to correct the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage; The frequency compensation module is used to adjust the output resistance according to the target load current after determining the target output voltage, so as to move the low-frequency pole at the error amplifier to the high frequency; wherein the output resistance is the output resistance inside the frequency compensation module, and the target load current is obtained by current adjustment by the frequency compensation module.
2. The circuit according to claim 1, characterized in that The inverting input terminal of the error amplifier is connected to the reference voltage, and the non-inverting input terminal of the error amplifier is connected to the sampling voltage; Wherein, the error amplifier is also used for: When it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage, the initial output voltage is determined as the target output voltage; When it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage, obtaining a voltage error between the reference voltage and the sampled voltage, and performing error amplification processing on the voltage error to obtain an amplified voltage error; The initial voltage is corrected based on the amplified voltage error to obtain the target output voltage.
3. The circuit according to claim 1, characterized in that The circuit also includes: an output power tube, a resistor, The output power tube and the resistor are used to ensure the stability of the linear voltage stabilization circuit; The frequency compensation module is also used to split the low-frequency pole at the error amplifier to obtain a first pole and a second pole.
4. The circuit according to claim 3, characterized in that The frequency compensation module includes: a plurality of transistors, The plurality of transistors include at least a first transistor and a second transistor; The gate of the first transistor and the gate of the output power tube are connected in parallel to obtain a parallel structure; the frequency compensation module performs current adjustment including: reducing the load resistance of the compensation module through the parallel structure to increase the current and obtain the target load current; The first transistor is used to perform mirror processing on the target load current to obtain a mirror current, and transmit the mirror current to the second transistor; The second transistor is used to reduce the output resistance according to the mirror current to move the first pole and the second pole to a high frequency; wherein the output resistance is the resistance of the second transistor.
5. A linear voltage stabilization method, characterized in that: The method is applied to the linear voltage stabilization circuit described in claims 1 to 4, comprising: Perform voltage stabilization processing on the input voltage to obtain a reference voltage; Comparing the reference voltage with the sampled voltage to obtain a voltage comparison result, and correcting the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage; After determining the target output voltage, a current adjustment process is performed through a frequency compensation module in the linear voltage stabilization circuit to obtain a target load current; The output resistance is adjusted according to the target load current to move the low-frequency pole at the error amplifier toward the high frequency, wherein the output resistance is the output resistance inside the frequency compensation module.
6. The method according to claim 5, characterized in that The correcting the initial output voltage of the linear voltage regulator circuit based on the voltage comparison result to obtain the target output voltage includes: When it is determined according to the comparison result that there is no error between the reference voltage and the sampled voltage, the initial output voltage is determined as the target output voltage; When it is determined according to the comparison result that there is an error between the reference voltage and the sampled voltage, obtaining a voltage error between the reference voltage and the sampled voltage, and performing error amplification processing on the voltage error to obtain an amplified voltage error; The initial voltage is corrected based on the amplified voltage error to obtain the target output voltage.
7. The method according to claim 5, characterized in that The adjusting the output resistance according to the target load current to move the low frequency pole at the error amplifier to the high frequency comprises: Splitting the low-frequency pole to obtain a first pole and a second pole; Performing mirror processing on the target load current to obtain a mirror current; The output resistance is reduced by a preset resistance algorithm according to the mirror current, so as to move the first pole and the second pole toward a high frequency.
8. A linear voltage stabilizing device, characterized in that: include: A stabilization unit, used for performing voltage stabilization processing on the input voltage to obtain a reference voltage; A comparison unit, used for comparing the reference voltage with the sampled voltage to obtain a voltage comparison result; A correction unit, used for correcting the initial output voltage of the linear voltage stabilization circuit based on the voltage comparison result to obtain a target output voltage; wherein the sampled voltage is obtained by sampling the initial output voltage; An adjustment unit, configured to, after determining the target output voltage, perform current adjustment processing through a frequency compensation module in the linear voltage stabilization circuit to obtain a target load current; A processing unit is used to adjust the output resistance according to the target load current to move the low-frequency pole at the error amplifier to the high frequency, wherein the output resistance is the output resistance inside the frequency compensation module.
9. An electronic device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 5 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 5-7.