A dynamic miller compensation circuit and method for driving buffer without external capacitor
By introducing dynamic miller compensation circuit and multiple selection logic unit into the switching capacitor circuit, the stability and response speed of the drive Buffer are optimized, and the problems of high requirements for reference voltage load capacity and response speed in the prior art are solved, so as to achieve The efficient drive Buffer circuit design without plug-in capacitors saves costs and improves integration.
Patent Information
- Application Number
- CN202010890383.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-29
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-08-29
AI Technical Summary
Existing switching capacitor circuits require reference voltage in the chip, resulting in high requirements for the load capacity and response speed of the reference voltage. In order to provide transient response capabilities, it is usually necessary to increase the off-chip capacitor, but this brings costs, Problems with reliability and PCB wiring and area.
Design a dynamic miller compensation circuit for driving Buffer without external capacitors. By introducing series compensation capacitor Cm and compensation resistor Rm in the Buffer peripheral circuit, and digital programming control is used for multi-channel selection logic unit to optimize the stability and response of the circuit. Speed allows the circuit to maintain stability and fast response when removing off-chip capacitors.
It realizes that the circuit stability and response speed are maintained while removing the off-chip capacitor, saving costs, improving integration, and reducing PCB area.
Smart Images

Figure CN111884627B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drive buffer circuits, and in particular to a dynamic miller compensation circuit and method for a drive buffer without an external capacitor. Background Art
[0002] Switched capacitor circuits are widely used in chips, and they require a reference voltage. Since switched capacitor circuits need to be charged and discharged, there is a behavior of drawing and injecting current into the reference voltage, which places high demands on the load capacity and response speed of the reference voltage.
[0003] Usually, a dedicated driver buffer is designed to generate a reference voltage, and an external capacitor is added to provide sufficient transient response capability. However, the external capacitor brings problems such as cost, reliability, and PCB wiring and area. Summary of the invention
[0004] The object of the present invention is to provide a dynamic miller compensation circuit and method for a driving buffer without external capacitors, which can still maintain good circuit stability and response speed when the external capacitors are removed, and has the advantages of saving costs, improving integration, and reducing PCB area, so as to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solution: a dynamic miller compensation circuit of a drive buffer without an external capacitor, comprising a switch capacitor circuit, a drive buffer circuit and a multi-way selection logic unit, wherein the switch capacitor circuit also includes a switch capacitor peripheral circuit, a total capacitor C1 and a total switch S1; the drive buffer circuit also includes a drive buffer peripheral circuit, a compensation capacitor Cm and a compensation resistor Rm; wherein,
[0006] The switch capacitor peripheral circuit is connected to the total capacitor C1, the total capacitor C1 is connected to the main switch S1, and the main switch S1 is connected to the reference voltage VREFO output by the driving buffer circuit; the driving buffer peripheral circuit is connected to the compensation capacitor Cm and the compensation resistor Rm in series; the digital programming control bit r_sel and the digital programming control bit c_sel output by the multi-way selection logic unit are respectively connected to the compensation capacitor Cm and the compensation resistor Rm.
[0007] The buffer peripheral circuit consists of a gain stage, an output stage, a resistor and a resistor; wherein the negative electrode of the gain stage is connected to a reference voltage VREFI, the positive electrode of the gain stage is connected to resistors R1 and R2 connected in series, the input end of the output stage is connected to the output end of the gain stage 211, the output end of the output stage is connected to resistors R1 and R2 connected in series, and the output reference voltage VREFO.
[0008] Preferably, the switch capacitor circuit and the multi-way selection logic unit are also connected to a clock signal ph at the same time.
[0009] Preferably, the compensation capacitor Cm and the compensation resistor Rm are connected in parallel between the input end and the output end of the output stage.
[0010] A compensation method for a dynamic miller compensation circuit of a driving buffer without an external capacitor, characterized in that it comprises the following steps:
[0011] S1: A miller compensation circuit is connected to the peripheral circuit of the driving buffer, that is, a compensation capacitor Cm and a compensation resistor Rm are connected in series, and the compensation capacitor Cm and the compensation resistor Rm are designed to be adjustable by digital control bits;
[0012] S2: A set of multiplexers is introduced to generate digital control bits of the compensation capacitor Cm and the compensation resistor Rm. Each bit is output by an independent multiplexer and can output any one of the following four waveforms: fixed 0, fixed 1, clock ph, and inverted clock / ph; here ph is the working clock of the switch capacitor circuit 1;
[0013] S3: Jointly simulate the switch capacitor circuit, the drive buffer circuit, and the multiplexer logic unit. The goal is to optimize the stability and settling speed of the drive buffer circuit, and optimize the values of the miller compensation capacitor Cm and the compensation resistor Rm of the drive buffer circuit when the clock ph is 0 and 1 respectively.
[0014] S4: The final optimization result is reflected as a set of values of the multiplexer array of the compensation resistor Rm and the compensation capacitor Cm, which can achieve stable and fast response performance of the driving buffer circuit in each working phase of the switch capacitor circuit 1.
[0015] Compared with the prior art, the present invention has the following beneficial effects:
[0016] The present invention proposes a dynamic miller compensation circuit and method for driving a buffer without an external capacitor. After the off-chip capacitor is removed, a miller compensation circuit is added to the peripheral circuit of the buffer, that is, a compensation capacitor Cm and a compensation resistor Rm are connected in series, so as to compensate for the stability of the circuit and ensure the stability of the circuit. The circuit can still maintain good stability and response speed after the off-chip capacitor is removed, and has the advantages of saving cost, improving integration, and reducing PCB area. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a circuit principle block diagram of the present invention;
[0018] Figure 2 The schematic diagram of the circuit of the driving buffer of the present invention;
[0019] Figure 3 Producing a schematic diagram for the multiplexing logic of the present invention;
[0020] Figure 4 The multi-channel selection logic control waveform of the present invention Figure 1 ;
[0021] Figure 5 The multi-channel selection logic control waveform of the present invention Figure 2 ;
[0022] Figure 6 This is a pole distribution diagram of the driving buffer of the present invention when it is lightly loaded and without miller compensation;
[0023] Figure 7 This is a pole distribution diagram of the driving buffer of the present invention when light load is on and miller compensation is enabled;
[0024] Figure 8 This is a pole distribution diagram when the driver buffer of the present invention is overloaded and Miller compensation is not enabled.
[0025] In the figure: 1. switch capacitor circuit; 11. switch capacitor peripheral circuit; 2. drive buffer circuit; 21. drive buffer peripheral circuit; 211. gain stage; 212. output stage; 3. multi-way selection logic unit. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Embodiment 1:
[0028] See also Figure 1-2 A dynamic miller compensation circuit for a drive buffer without an external capacitor includes a switch capacitor circuit 1, a drive buffer circuit 2 and a multi-way selection logic unit 3. The switch capacitor circuit 1 also includes a switch capacitor peripheral circuit 11, a total capacitor C1 and a total switch S1; the drive buffer circuit 2 also includes a drive buffer peripheral circuit 21, a compensation capacitor Cm and a compensation resistor Rm; wherein,
[0029] The switch capacitor peripheral circuit 11 is connected to the total capacitor C1, the total capacitor C1 is connected to the main switch S1, and the main switch S1 is connected to the reference voltage VREFO output by the driving buffer circuit 2; the driving buffer peripheral circuit 21 is connected to the compensation capacitor Cm and the compensation resistor Rm in series; the digital programming control bit r_sel and the digital programming control bit c_sel output by the multiplexing logic unit 3 are respectively connected to the compensation capacitor Cm and the compensation resistor Rm.
[0030] Since the on-off of the main switch S1 and the logic generation of the multi-way selection logic unit 3 are controlled by the output value of the control clock ph, when the output value of the control clock ph is 0, the switch S1 is disconnected, the capacitor C1 is disconnected from the driving buffer circuit 2, and at this time, the output pole of the driving buffer circuit 2 may be very close to the internal pole of the driving buffer circuit 2. Therefore, the internal pole can be further reduced by enabling the Miller compensation circuit, that is, the compensation capacitor Cm and the compensation resistor Rm connected in series to ensure stability.
[0031] When the output value of the control clock ph is 1, the switch S1 is closed, and the capacitor C1 is connected to the driving buffer circuit 2. At this time, the output pole of the driving buffer circuit 2 becomes the main pole, causing the miller compensation to deteriorate. Therefore, the miller compensation circuit can be closed, that is, the compensation capacitor Cm and the compensation resistor Rm connected in series, to push up the internal pole to ensure stability.
[0032] Therefore, the digital programming control bit r_sel and the digital programming control bit c_sel generated by the multi-way selection logic unit 3 can realize the same-phase linkage or anti-phase linkage control with the control clock ph, which can be adjusted according to different load conditions and can also be adjusted and optimized according to actual test conditions.
[0033] The buffer peripheral circuit 21 consists of a gain stage 211, an output stage 212, a resistor R1 and a resistor R2; wherein the negative electrode of the gain stage 211 is connected to a reference voltage VREFI, the positive electrode of the gain stage 211 is connected to resistors R1 and R2 connected in series, the input end of the output stage 212 is connected to the output end of the gain stage 211, the output end of the output stage 212 is connected to resistors R1 and R2 connected in series, and the output reference voltage VREFO; the compensation capacitor Cm and the compensation resistor Rm are connected in parallel between the input end and the output end of the output stage 212.
[0034] Based on the two-pole structure formed by the gain stage 211 and the output stage 212, and the Miller compensation circuit arranged in the gain stage 211 and the output stage 212, namely the compensation resistor Rm and the compensation capacitor Cm, a technology called "zero-pole splitting" is implemented for circuit stability compensation, so that after removing the off-chip capacitor, good stability and response speed can still be maintained.
[0035] Since the switch capacitor circuit 1 and the multiplexer logic unit 3 are also connected to the clock signal ph at the same time, they can be used to realize the linkage control of the switch capacitor circuit 1 and the drive buffer circuit 2, so that the drive buffer circuit 2 always maintains the best speed and stability.
[0036] In order to better demonstrate the compensation process of the dynamic miller compensation circuit of the driving buffer, this embodiment now proposes a compensation method of the dynamic miller compensation circuit of the driving buffer without an external capacitor, including the following steps:
[0037] S1: A miller compensation circuit is connected to the driving buffer peripheral circuit 21, that is, a compensation capacitor Cm and a compensation resistor Rm are connected in series, and the compensation capacitor Cm and the compensation resistor Rm are designed to be adjustable by digital control bits.
[0038] S2: Introduce a group of multiplexers to generate digital control bits for the compensation capacitor Cm and the compensation resistor Rm. Each bit is output by an independent multiplexer and can output any one of the following four waveforms: fixed 0, fixed 1, clock ph, and inverted clock / ph; here ph is the working clock of the switch capacitor circuit 1.
[0039] S3: Joint simulation is performed on the switch capacitor circuit 1, the driving buffer circuit 2 and the multi-way selection logic unit 3, with the goal of optimizing the stability and the settling speed of the driving buffer circuit 2, and optimizing the values of the miller compensation capacitor Cm and the compensation resistor Rm of the driving buffer circuit 2 when the clock ph is 0 and 1 respectively.
[0040] S4: The final optimization result is reflected as a set of values of the multiplexer array of the compensation resistor Rm and the compensation capacitor Cm, which can achieve stable and fast response performance of driving the Buffer circuit 2 in each working phase of the switch capacitor circuit 1.
[0041] Embodiment 2:
[0042] See also Figure 3 A method for generating and controlling a multiplexed logic, wherein the compensation resistor Rm is set to a 4-bit programmable control bit r_sel, and the compensation capacitor Cm is set to a 4-bit programmable control bit c_sel. Each control bit is output by a MUX4:1 multiplexer, and one of four waveforms, 0, 1, ph, and / ph, can be selected, wherein / ph refers to the inverted clock of ph; if 0 or 1 output is selected, it is a common register configuration, and the bit configuration is set to a fixed 0 or 1; if ph or / ph output is selected, the same-phase linkage or anti-phase linkage control with the control clock ph is realized.
[0043] See also Figure 4-5 , c_sel[3] and c_sel[2] form an anti-phase linkage mapping with ph, while c_sel[1] and c_sel[0] are fixed configuration values; r_sel[3] and r_sel[2] form a same-phase linkage mapping with ph, while r_sel[1] and r_sel[0] are fixed configuration values; assuming that the capacitance controlled by each bit of c_sel is 2pF, 1pF, 0.5pF, and 0.25pF respectively; the resistance controlled by each bit of r_sel is 40k, 20k, 10k, and 5k respectively, then at time t1, the Buffer output is heavily loaded, the corresponding miller compensation is 0pF+70k, and the main pole is at the Buffer output; at time t2, the Buffer output is unloaded, the corresponding miller compensation is 3pF+10k, and the main pole is inside the Buffer.
[0044] See also Figure 6-8 From the stability and compensation principle of the op amp, we know that if a 2-pole op amp is to be stable, the phase margin should be above 60 degrees. At this time, there is only one pole in the unity gain bandwidth, which is called the main pole. In other words, the secondary pole must be set outside the loop bandwidth, and the frequency is usually about 2 to 4 times the unity gain bandwidth.
[0045] like Figure 6 The figure shows the pole distribution diagram when the buffer is lightly loaded and without miller compensation, where p1 is the internal pole and p2 is the external pole. It can be seen that the buffer must be unstable at this time.
[0046] like Figure 7 The figure shows the pole distribution diagram after turning on the Miller compensation when the driving buffer is lightly loaded. The Miller compensation greatly reduces p1 to p1', and also reduces the unity gain bandwidth, so that there is only one pole p1' in the unity gain bandwidth, while the output pole p2 does not change, but is outside the unity gain bandwidth, so the stability is solved.
[0047] like Figure 8 The figure shows the pole distribution diagram when the driver buffer is overloaded and the miller compensation is not turned on. The internal pole p1 does not change, but the external pole p2 is greatly reduced to p2', so that there is only one pole p2' in the unity gain bandwidth, and the internal pole p1 is moved outside the unity gain bandwidth, so the stability is solved.
[0048] In summary: the dynamic miller compensation circuit and method of the driving buffer without external capacitors introduces the control clock ph in the switching circuit into the miller compensation control of the buffer, so that the miller compensation of the buffer is linked with the working timing of the switching capacitor circuit, and this linkage control scheme can be flexibly programmed and modified, so that when the external capacitor is removed, it can still maintain good stability and response speed, thereby effectively solving existing design problems.
[0049] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A dynamic Miller compensation circuit for a drive buffer without external capacitors, comprising a switch capacitor circuit (1), a drive buffer circuit (2) and a multiplexer logic unit (3), characterized in that: The switch capacitor circuit (1) further comprises a switch capacitor peripheral circuit (11), a total capacitor C1 and a total switch S1; the drive buffer circuit (2) further comprises a drive buffer peripheral circuit (21), a compensation capacitor Cm and a compensation resistor Rm; wherein: The switch capacitor peripheral circuit (11) is connected to a total capacitor C1, the total capacitor C1 is connected to a main switch S1, and the main switch S1 is connected to a reference voltage VREFO output by a drive buffer circuit (2); the drive buffer peripheral circuit (21) is connected to a compensation capacitor Cm and a compensation resistor Rm connected in series; the digital programming control bit r_sel and the digital programming control bit c_sel output by the multi-way selection logic unit (3) are connected to the compensation capacitor Cm and the compensation resistor Rm respectively, The buffer peripheral circuit (21) comprises a gain stage (211), an output stage (212), a resistor R1 and a resistor R2; wherein the negative electrode of the gain stage (211) is connected to a reference voltage VREFI, the positive electrode of the gain stage (211) is connected to the resistor R1 and the resistor R2 connected in series, the input end of the output stage (212) is connected to the output end of the gain stage (211), the output end of the output stage (212) is connected to the resistor R1 and the resistor R2 connected in series, and the output reference voltage VREFO is output.
2. The dynamic miller compensation circuit of a driving buffer without external capacitor as claimed in claim 1, characterized in that: The switch capacitor circuit (1) and the multi-way selection logic unit (3) are also connected to a clock signal ph at the same time.
3. The dynamic miller compensation circuit of a driving buffer without external capacitor as claimed in claim 1, characterized in that: The compensation capacitor Cm and the compensation resistor Rm are connected in parallel between the input end and the output end of the output stage (212).
4. A compensation method for a dynamic miller compensation circuit of a drive buffer without external capacitors as claimed in any one of claims 1 to 3, characterized in that: The following steps are included: S1: A miller compensation circuit is connected in the driving buffer peripheral circuit (21), that is, a compensation capacitor Cm and a compensation resistor Rm are connected in series, and the compensation capacitor Cm and the compensation resistor Rm are designed to be adjustable by digital control bits; S2: A set of multiplexers are introduced to generate digital control bits for the compensation capacitor Cm and the compensation resistor Rm. Each bit is output by an independent multiplexer and can output any one of the following four waveforms: fixed 0, fixed 1, clock ph, and inverted clock / ph; where ph is the working clock of the switched capacitor circuit (1); S3: performing joint simulation on the switch capacitor circuit (1), the driving buffer circuit (2) and the multi-way selection logic unit (3), with the goal of optimizing the stability and the settling speed of the driving buffer circuit (2), and optimizing the values of the miller compensation capacitor Cm and the compensation resistor Rm of the driving buffer circuit (2) when the clock ph is 0 and 1 respectively; S4: The final optimization result is reflected as a set of values of the multiplexer array of the compensation resistor Rm and the compensation capacitor Cm, which can achieve stable and fast response performance of driving the buffer circuit (2) in each working phase of the switch capacitor circuit (1).
