A bandgap reference stabilization circuit providing refresh logic based on power supply fluctuations
By identifying power supply voltage fluctuations and controlling the clock signal frequency reduction, the problem of jitter in the output signal of the bandgap reference source circuit was solved, thus achieving circuit stability and accuracy.
Patent Information
- Application Number
- CN202110897250.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-05
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-08-05
AI Technical Summary
In low-voltage, low-power chips, the output signal of the bandgap reference source circuit is easily affected by power supply fluctuations, resulting in output signal jitter and errors, which in turn affect the normal operation of the back-end circuits.
By identifying the rising and falling edges of the power supply voltage, corresponding identification signals are generated, and based on these signals, the crystal oscillator and D flip-flop are controlled to generate clock cycle refresh signals, thereby reducing the frequency of the clock signal to stabilize the bandgap reference signal.
It effectively identifies power supply voltage fluctuations, prevents inaccurate stable voltage output from bandgap circuits, ensures the accuracy of bandgap reference signals, and avoids bit errors and malfunctions.
Smart Images

Figure CN115912867B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of integrated circuits, and more specifically, to a bandgap reference stabilization circuit that provides refresh logic based on power supply fluctuations. Background Technology
[0002] In low-voltage, low-power chips, a current pump (CP, charge pump) is typically used to drive the bandgap reference (BG) circuit. This means that if the current pump is constantly operating, the quiescent current of the bandgap reference circuit will gradually increase, leading to increased chip power consumption.
[0003] In existing technologies, fixed refresh logic is typically used to refresh the input signal of a bandgap reference circuit at fixed time intervals, while the stability of the output signal is achieved by slowing down the discharge rate of the charge pump. However, in practical applications, the output signal of the bandgap reference circuit will experience slight jitter due to power supply fluctuations. The delay of this jitter usually exceeds the duration of the high-level refresh signal generated by the fixed refresh logic. This means that when a refresh cycle ends and the refresh signal is at a low level, the bandgap reference circuit cannot receive the input signal, while the jitter at its output signal has not yet recovered. Therefore, according to the characteristics of the bandgap reference circuit, the stable bandgap output signal generated in the next cycle will have a certain error. At the same time, if the power supply voltage also fluctuates significantly, the comparator at the back end of the bandgap reference circuit may malfunction, leading to bit errors and causing serious damage to the back-end circuitry. Therefore, a new auxiliary circuit or method for bandgap reference circuits is urgently needed to enable them to generate accurate bandgap reference signals. Summary of the Invention
[0004] To address the shortcomings of existing technologies, the present invention aims to provide a bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic. By identifying the rising and falling edges of the power supply voltage, the clock signal generated by the crystal oscillator is down-frequencyed, and errors in the bandgap reference signal are avoided through this down-frequency method.
[0005] The present invention adopts the following technical solution.
[0006] A bandgap reference stabilization circuit based on power supply fluctuations provides refresh logic. The circuit includes a rising edge recognition unit, a falling edge recognition unit, a logic triggering unit, and a clock generation unit. The rising edge recognition unit identifies the rising edge of the power supply voltage and generates a first recognition signal. The falling edge recognition unit identifies the falling edge of the power supply voltage and generates a second recognition signal. The logic triggering unit receives the first and second recognition signals from the rising and falling edge recognition units and a clock refresh signal fed back from the clock generation unit, and generates a switch control signal based on the first and second recognition signals. The clock generation unit controls a crystal oscillator and a D flip-flop based on the switch control signal to generate a clock cycle refresh signal.
[0007] Preferably, the rising edge recognition unit includes a first detection capacitor C1, a first detection resistor R1, a first current source I1, and a first field-effect transistor NMOS1; wherein, the first detection capacitor C1 and the first detection resistor R1 are connected in series, and one end of the first detection capacitor C1 is connected to the power supply voltage Vdd, and one end of the first detection resistor R1 is grounded; the first current source I1 is connected in series with the first field-effect transistor NMOS1, and one end of the first current source is connected to the power supply voltage Vdd, and the other end is connected to the drain of the first field-effect transistor, the source of the first field-effect transistor is grounded, and the gate is connected to the other end of the first detection capacitor C1 and the first detection resistor R1 respectively; the connection point between the first current source I1 and the first field-effect transistor NMOS1 serves as the output terminal of the rising edge recognition unit, outputting the first recognition signal of the rising edge recognition unit.
[0008] Preferably, the falling edge recognition unit includes a first PMOS transistor PMOS1, a second PMOS transistor PMOS2, a second current source I2, and a second detection capacitor C2; wherein, the source of the first PMOS transistor PMOS1 is connected to the power supply voltage Vdd, and the drain is connected to the source of the second PMOS transistor PMOS2 and one end of the second detection capacitor C2, respectively; the gates of both the first and second PMOS transistors are connected to the first bandgap voltage Vbp1; the drain of the second PMOS transistor PMOS2 is connected to one end of the second current source I2, and the other end of the second current source I2 is grounded; the other end of the second detection capacitor C2 is grounded; the drain of the second PMOS transistor PMOS2 and one end of the second current source I2 serve as the output terminal of the falling edge recognition unit, outputting the second recognition signal of the falling edge recognition unit.
[0009] Preferably, the logic triggering unit includes a first NOT gate, a NOR gate, a second NOT gate, and an RS flip-flop; wherein, the input of the first NOT gate is connected to the output of the rising edge recognition unit, and the output is connected to one input of the NOR gate; the other input of the NOR gate is connected to the output of the falling edge recognition unit, and the output is connected to the input of the second NOT gate; the input of the second NOT gate is connected to one input of the RS flip-flop, and the other input of the RS flip-flop receives the clock refresh signal fed back by the clock generation unit; the output of the RS flip-flop outputs a switch control signal and is connected to the clock generation unit.
[0010] Preferably, the clock generation unit includes a first input branch, a second input branch, and a crystal oscillator branch; wherein, the first input branch is used to turn the branch on or off based on the switch control signal output by the logic trigger unit, and to provide a portion of the input current I4 to the crystal oscillator branch when the first input branch is on; the second input branch is used to receive the clock signal CLK fed back from the crystal oscillator branch, and to control the magnitude of the branch current I5 based on the feedback, and to provide a portion of the input current I5 to the crystal oscillator branch; the crystal oscillator branch is used to generate the clock signal CLK and the delayed clock refresh signal.
[0011] Preferably, the first input branch includes a third PMOS transistor PMOS3, a fifth PMOS transistor PMOS5, and a third capacitor C3; wherein, the source of the third PMOS transistor PMOS3 is connected to the power supply voltage Vdd, the gate is connected to the second bandgap voltage Vbp2, and the drain is connected to the source of the fifth PMOS transistor PMOS5; the gate of the fifth PMOS transistor PMOS5 is connected to the output terminal of the logic trigger unit to receive the switching control signal output from the logic trigger unit, and the drain is connected to one end of the third capacitor C3; the other end of the third capacitor is grounded.
[0012] Preferably, the second input branch includes a fourth PMOS transistor PMOS4, a sixth PMOS transistor PMOS6, and a second NMOS transistor NMOS2; wherein, the source of the fourth PMOS transistor is connected to the power supply voltage Vdd, the gate is connected to the second bandgap voltage Vbp2, and the drain is connected to the source of the sixth PMOS transistor PMOS6; the drain of the sixth PMOS transistor PMOS6 is connected to the drain of the second NMOS transistor, and the gate of the sixth PMOS transistor PMOS6 is connected to the gate of the second NMOS transistor; the source of the second NMOS transistor is grounded.
[0013] Preferably, the crystal oscillator branch includes a crystal oscillator OSC, a D flip-flop Dffr, and a clock refresh signal processing unit; wherein, the input terminal of the crystal oscillator OSC is connected to the drain of the fifth PMOS transistor PMOS5, one end of the third capacitor C3, the drain of the sixth PMOS transistor PMOS6, and the gate of the second NMOS transistor NMOS2, respectively, and the output terminal is connected to the input terminal of the D flip-flop Dffr; the output terminal of the crystal oscillator OSC is simultaneously connected to the gate of the sixth PMOS transistor PMOS6 and the gate of the second NMOS transistor NMOS2, and is used to feed back the clock signal CLK to the sixth PMOS transistor PMOS6 and the second NMOS transistor NMOS2; the first and second output terminals of the D flip-flop Dffr are respectively connected to the input terminal of the clock refresh signal processing unit; the clock refresh signal processing unit outputs a clock refresh signal, which serves as the input of the RS flip-flop in the logic trigger unit.
[0014] Preferably, the OSC frequency reduction circuit generates an impulse signal Pulse based on the rising and falling edges of the power supply voltage; the RS flip-flop receives the clock refresh signal and the impulse signal Pulse, and generates a switch control signal based on the RS trigger logic.
[0015] Preferably, when the RS flip-flop receives the clock refresh signal and is in the refresh state, and simultaneously receives the impulse signal Pulse, the switch control signal Switch switches the logic state to a high level output until the refresh state of the clock refresh signal Refresh ends.
[0016] Preferably, when the switch control signal is output at a high level, the first input branch is cut off, and the second input branch charges the third capacitor C3; when the switch control signal is output at a low level, the first input branch is turned on, and the first input branch and the second input branch charge the third capacitor C3 simultaneously.
[0017] Preferably, when the clock signal CLK is output at a high level, the sixth PMOS transistor PMOS6 in the second input branch is turned off, the second NMOS transistor NMOS2 is turned on, and the third capacitor C3 is in a discharging state; when the clock signal CLK is output at a low level, the sixth PMOS transistor PMOS6 in the second input branch is turned on, the second NMOS transistor NMOS2 is turned off, and the third capacitor C3 is in a charging state.
[0018] Preferably, a D flip-flop is used to identify the clock signal output from the output terminal of the crystal oscillator OSC and generate a periodic signal that is a set multiple of the clock period.
[0019] Preferably, the clock refresh signal processing unit uses the first and second outputs of the D flip-flop to superimpose clock signals of different frequencies and generate a clock refresh signal based on the parameter requirements of the bandgap reference circuit.
[0020] The beneficial effect of the present invention is that, compared with the prior art, the bandgap reference stabilization circuit based on power supply fluctuations in the present invention can accurately identify the rising and falling edges of the power supply voltage Vdd signal, and control the OSC crystal input terminal according to the identification and clock refresh signal, thereby realizing the frequency reduction of the clock cycle signal. That is, by making the refresh signal time longer, it is ensured that the voltage of the bandgap reference source can be restored to the normal value when the refresh cycle ends.
[0021] The beneficial effects of the present invention also include:
[0022] 1. The method of this invention can accurately and effectively identify the rising and falling edges of the power supply voltage, and adaptively modify the logic of the clock refresh signal based on the identified rising and falling edges. Because the logic of the clock refresh signal is modified, the oscillation process of the bandgap voltage caused by changes in the power supply voltage will not extend into the new cycle of the clock refresh signal, thereby preventing the bandgap circuit from outputting an inaccurate and unstable bandgap voltage.
[0023] 2. Because the present invention uses a crystal oscillator, a D flip-flop and a clock refresh signal operation unit connected in series to realize the logic for the clock refresh signal, and the logic can be adaptively updated and improved based on the characteristics of the bandgap circuit, it has many application scenarios and a wide range of applications. Attached Figure Description
[0024] Figure 1 This is a schematic diagram of a bandgap reference source circuit with current pump refresh logic in the prior art of this invention;
[0025] Figure 2 This is a schematic diagram of a bandgap reference signal based on current refresh logic in the prior art of this invention;
[0026] Figure 3 This is a schematic diagram of the logic structure of a bandgap reference stabilization circuit that provides refresh logic based on power fluctuations in this invention.
[0027] Figure 4 This is a circuit diagram of a bandgap reference stabilization circuit that provides refresh logic based on power fluctuations in this invention.
[0028] Figure 5 This is a schematic diagram of a bandgap reference stabilization circuit that provides refresh logic based on power fluctuations and generates a switching control signal, according to the present invention. Detailed Implementation
[0029] The present application will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, and should not be construed as limiting the scope of protection of the present application.
[0030] Figure 1 This is a schematic diagram of a bandgap reference source circuit with current pump refresh logic in the prior art of this invention. Figure 1 As shown, for low-voltage, low-power circuits, the voltage value of the stable voltage Vreg1 generated is usually small and insufficient to provide enough drive for the normal operation of the back-end circuits. Therefore, a charge pump (CP) is needed to amplify the stable voltage Vreg1 by a factor so that the output stable voltage Vreg2 is large enough.
[0031] In one embodiment of the present invention, when the power supply voltage VDD is below 2V, the voltage regulator output Vreg1 is approximately equal to the power supply voltage VDD, and increases as VDD increases. As the power supply voltage VDD continues to increase, when VDD is greater than 2V, the voltage regulator will clamp the stable voltage Vreg1 within 2V, or allow it to fluctuate slightly around 2V.
[0032] When the stable voltage Vreg1 is input to the charge pump, the charge pump in one embodiment of the present invention can have a 1x amplification factor. Therefore, the stable voltage Vreg2 output by the charge pump will fluctuate between 0 and 4V. With this setting, when the power supply voltage is low, Vreg2 can still maintain a large output, for example, when the power supply voltage is 1V, Vreg2 is 2V. When the power supply voltage is high, Vreg2 can be limited to a smaller range, for example, when the power supply voltage is 5V, Vreg2 is 4V. This not only ensures that the back-end circuit can receive the input of Vreg2 sensitively and thus start the working state, but also ensures that it will not be damaged when the power supply voltage is high.
[0033] Typically, existing technologies also incorporate a bandgap circuit within the circuit that implements the charge pump output voltage Vreg2, further ensuring the stability of Vreg2. This bandgap voltage source receives the input of the output voltage Vreg2 on one hand, and simultaneously feeds back the bandgap voltage Vbg to the circuit that implements Vreg2. Therefore, the feedback loop constructed between the bandgap circuit and the charge pump output circuit effectively guarantees the stability of the bandgap voltage Vbg.
[0034] In this circuit, at a minimum, the required components are a large capacitor and a loop switch. The loop switch is used to turn the circuit on and off based on the loop's refresh logic. Figure 1In this circuit, the refresh logic is implemented using the Refresh signal. Furthermore, the large capacitor ensures the relative stability of the voltage Vbg as the capacitor charges and discharges during the cyclic opening and closing of the switch. Therefore, the large capacitor and the loop switch are essential components in the loop for implementing the basic logic of the bandgap circuit. Figure 2 This is a schematic diagram of a bandgap reference signal based on current refresh logic in the prior art of this invention. For example... Figure 2 As shown, the bandgap reference circuit generates a relatively stable bandgap reference voltage signal as the power supply voltage increases and decreases. Due to the refresh logic in the circuit, during each refresh cycle, the loop switch closes when the refresh signal Refresh is high, discharging to Vbg through Vreg2. Simultaneously, the loop switch opens when the refresh signal Refresh is low, discharging through the large capacitor to maintain the Vbg voltage.
[0035] like Figure 2 As shown, in this circuit, a situation arises where the power supply voltage Vdd changes abruptly. When Vdd suddenly rises or falls, it affects the bandgap voltage signal, causing the bandgap voltage Vbg to oscillate slightly for a very short time. If this oscillation occurs precisely at the end of one refresh cycle and the beginning of the next, the loop switch closes, providing the next input to the bandgap circuit. Because the bandgap voltage fluctuation caused by the power supply voltage change has not yet ended, the stable bandgap voltage Vbg' in the new cycle will be inaccurate. Figure 2 As shown, since Vdd is at the rising edge in the second cycle, the bandgap stabilization voltage in the second cycle is slightly lower than that in the first cycle. In the third cycle, Vdd is at the falling edge, and the bandgap stabilization voltage drops more drastically, potentially causing downstream circuits, such as comparators, to misidentify voltages and malfunction.
[0036] To address the above problems, this invention provides a new solution. Figure 3 This is a schematic diagram of the logic structure of a bandgap reference stabilization circuit that provides refresh logic based on power supply fluctuations, as described in this invention. Figure 3 As shown, this invention discloses a bandgap reference stabilization circuit 100 that provides refresh logic based on power supply fluctuations. The circuit includes a rising edge recognition unit 101, a falling edge recognition unit 102, a logic triggering unit 103, and a clock generation unit 104. Specifically, the output terminals of the rising edge recognition unit 101 and the falling edge recognition unit 102 are respectively connected to the input terminal of the logic triggering unit 103, and the output terminal of the logic triggering unit 103 is used to connect to the clock generation unit to control the clock signal to be down-clocked. In addition, the clock generation unit 104 can also feed back a clock refresh signal to the logic triggering unit 103.
[0037] Preferably, the rising edge recognition unit 101 is used to recognize the rising edge of the power supply voltage and generate a first recognition signal; the falling edge recognition unit 102 is used to recognize the falling edge of the power supply voltage and generate a second recognition signal; the logic trigger unit 103 is used to receive the first and second recognition signals from the rising edge and falling edge recognition units and the clock refresh signal fed back from the clock generation unit 104, and generate a switch control signal based on the first and second recognition signals; the clock generation unit 104 is used to control the crystal oscillator and D flip-flop to generate a clock cycle refresh signal based on the switch control signal.
[0038] Figure 4 This is a circuit diagram of a bandgap reference stabilization circuit that provides refresh logic based on power supply fluctuations, as described in this invention. Figure 4 As shown, preferably, the OSC down-conversion circuit of the present invention includes a rising edge recognition unit. The rising edge recognition unit includes a first detection capacitor C1, a first detection resistor R1, a first current source I1, and a first field-effect transistor NMOS1; wherein, the first detection capacitor C1 and the first detection resistor R1 are connected in series, and one end of the first detection capacitor C1 is connected to the power supply voltage Vdd, and one end of the first detection resistor R1 is grounded; the first current source I1 is connected in series with the first field-effect transistor NMOS1, and one end of the first current source is connected to the power supply voltage Vdd, and the other end is connected to the drain of the first field-effect transistor, the source of the first field-effect transistor is grounded, and the gate is connected to the other end of the first detection capacitor C1 and the first detection resistor R1 respectively; the connection point between the first current source I1 and the first field-effect transistor NMOS1 serves as the output terminal of the rising edge recognition unit, outputting the first recognition signal of the rising edge recognition unit.
[0039] It is understood that the process by which the rising edge recognition unit in this invention detects, recognizes, and generates a corresponding signal for the rising edge of the power supply voltage Vdd is as follows.
[0040] When the power supply voltage Vdd is maintained at a high level, the rising edge recognition unit has a branch consisting of a first detection capacitor C1 and a first detection resistor R1 connected in series. This branch has the function of passing AC and blocking DC, thus keeping the gate voltage of the first NMOS transistor NMOS1 at 0 volts. Due to the gate voltage state of the first NMOS transistor NMOS1, NMOS1 is in the off state, and the voltage at point A is only affected by the first current source I1, thus always remaining at a high voltage.
[0041] When the power supply voltage Vdd is in the falling edge state, although the first detection capacitor C1 is present, the gate voltage of the first NMOS transistor NMOS1 is still low because the power supply voltage Vdd is low at this time. This voltage is insufficient to support the conduction of the first NMOS transistor NMOS1. Therefore, the voltage at point A is still affected by the first current source I1, and thus remains in a high voltage state.
[0042] When the power supply voltage Vdd is maintained at a low level, the gate voltage of the first NMOS transistor NMOS1 remains at 0 volts due to the DC blocking effect of the first sensing capacitor C1 and the first sensing resistor R1 connected in series. At this time, although the power supply voltage Vdd is low, point A is still in a high voltage state under the action of the first current source I1.
[0043] When the power supply voltage Vdd is at its rising edge, it rises rapidly, while the response speed of the first detection capacitor C1 is relatively slow. The gate voltage of the first NMOS transistor NMOS1 is at a high potential under the action of the first detection capacitor C1, increasing the gate-source voltage difference and thus turning on NMOS1. With NMOS1 turned on, the potential at point A is momentarily pulled low, providing a transient impulse signal as a recognition signal for the logic trigger unit.
[0044] Preferably, the falling edge recognition unit includes a first PMOS transistor PMOS1, a second PMOS transistor PMOS2, a second current source I2, and a second detection capacitor C2; wherein, the source of the first PMOS transistor PMOS1 is connected to the power supply voltage Vdd, and the drain is connected to the source of the second PMOS transistor PMOS2 and one end of the second detection capacitor C2, respectively; the gates of both the first and second PMOS transistors are connected to the first bandgap voltage Vbp1; the drain of the second PMOS transistor PMOS2 is connected to one end of the second current source I2, and the other end of the second current source I2 is grounded; the other end of the second detection capacitor C2 is grounded; the drain of the second PMOS transistor PMOS2 and one end of the second current source I2 serve as the output terminal of the falling edge recognition unit, outputting the second recognition signal of the falling edge recognition unit.
[0045] It is understood that the process by which the falling edge recognition unit in this invention detects, recognizes, and generates a corresponding signal for the falling edge of the power supply voltage Vdd is as follows.
[0046] When the power supply voltage Vdd is maintained at a low level, the second detection capacitor C2 continues to discharge. At this time, the source voltage of PMOS2 gradually decreases, and the bandgap reference voltage Vbp1 connected to its gate decreases accordingly according to the decrease of the power supply voltage Vdd. At this time, although the second PMOS transistor PMOS2 is in the conducting state, point B is maintained at a low level under the action of the power supply voltage Vdd and the second current source I2.
[0047] When the power supply voltage Vdd is at its rising edge, the bandgap reference voltage Vbp1 will rise rapidly with the power supply voltage Vdd, resulting in a large current flowing through the two transistors PMOS1 and PMOS2. Nevertheless, since the second sensing capacitor C2 begins to charge and will maintain the source voltage of the second PMOS transistor PMOS2 at a basically constant level, the voltage at point B will continue to be at a low potential.
[0048] When the power supply voltage Vdd is at a high level, and Vdd remains at its rising edge, the second detection capacitor C2 will continue to charge. At this time, due to the effect of the bandgap reference voltage, the branch containing point B is continuously conducting. However, since the conduction current formed by the first PMOS transistor PMOS1 and the second PMOS transistor PMOS2 is relatively small, the potential of point B is pulled down by the relatively large second current source I2, and the voltage of point B remains at a low potential.
[0049] When the power supply voltage Vdd is at the falling edge, due to the discharge effect of the second detection capacitor C2, the source of the second PMOS transistor PMOS2 will briefly maintain its original voltage state. However, the voltage Vbp1 connected to the gate of the PMOS transistor will decrease rapidly as the power supply voltage decreases. At this time, the gate-source voltage Vgs of the second PMOS transistor PMOS2 will become very large, thereby increasing the conduction current of PMOS2. The potential at point B will no longer be at a low potential state due to the small conduction current. Instead, it will be rapidly pulled up as the potential at point B increases, thereby generating an impulse signal corresponding to the falling edge of the power supply voltage.
[0050] Preferably, the logic triggering unit includes a first NOT gate, a NOR gate, a second NOT gate, and an RS flip-flop; wherein, the input of the first NOT gate is connected to the output of the rising edge recognition unit, and the output is connected to one input of the NOR gate; the other input of the NOR gate is connected to the output of the falling edge recognition unit, and the output is connected to the input of the second NOT gate; the input of the second NOT gate is connected to one input of the RS flip-flop, and the other input of the RS flip-flop receives the clock refresh signal fed back by the clock generation unit; the output of the RS flip-flop outputs a switch control signal and is connected to the clock generation unit.
[0051] It is understood that the logic triggering unit in this invention is composed of logic circuits commonly used in the prior art, which can realize frequency reduction control to provide a good clock signal for the clock generation unit, that is, the switch control signal Switch mentioned in this article.
[0052] When the power supply voltage Vdd signal in the circuit of this invention is in a rising edge state, the voltage at point A is low. On the other hand, when the power supply voltage signal is in other states, the voltage at point A is high. The voltage at point A is then input to the first input terminal of the NOR gate after passing through the NOT gate. Therefore, for the first input terminal of the NOR gate, when the power supply voltage is in a rising edge state, the voltage at the first input terminal of the NOR gate is at a high level state, and when the power supply voltage is in other states, the voltage at the first input terminal of the NOR gate is at a low level state.
[0053] On the other hand, when the power supply voltage Vdd signal is in a falling edge state, the voltage at point B is high; when the power supply voltage Vdd signal is in other states, the voltage at point B is low. The voltage at point B then serves as the second input voltage of the NOR gate.
[0054] Figure 5 This is a schematic diagram of a bandgap reference stabilization circuit that provides refresh logic based on power supply fluctuations and generates a switching control signal, as described in this invention. Figure 5 As shown, after passing through the internal logic of the NOR gate, the generated signal changes according to the voltage states at points A and B. Subsequently, it passes through the NOT gate, and the output signal of the NOR gate is inverted. In summary, the generated impulse signal Pulse switches according to the high and low levels of the power supply voltage Vdd. Specifically, when the power supply voltage Vdd is at its rising or falling edge, the output of the short-time impulse signal Pulse is high; when the power supply voltage Vdd is in other states, the output of the short-time impulse signal Pulse is low.
[0055] Preferably, the OSC frequency reduction circuit generates an impulse signal Pulse based on the rising and falling edges of the power supply voltage; the RS flip-flop receives the clock refresh signal and the impulse signal Pulse, and generates a switch control signal based on the RS trigger logic.
[0056] The two inputs of the flip-flop are connected to the impulse signal Pulse and the refresh signal Refresh, respectively. Specifically, the refresh signal can be generated based on methods in existing technology or the method in the clock generation unit of this invention. This signal is typically obtained by adding and subtracting periodic signals of different frequencies. Depending on the needs of the bandgap reference circuit, the period length of the refresh signal and the length of the refresh period can be modified based on different operational parameters.
[0057] In other words, when the refresh signal (Refresh) is in a normal state, it is a high-level signal, and the bandgap reference circuit can generate a bandgap reference voltage based on the voltage provided by this signal. To prevent the bandgap reference voltage from gradually increasing, this refresh logic is provided. Therefore, when the refresh signal (Refresh) is in the refresh state, it is a low-level signal, and the bandgap reference voltage will not rise further but will stabilize. After one cycle, the refresh signal will repeat the above operation.
[0058] When the refresh signal (Refresh) and the impulse signal (Pulse) pass through the RS flip-flop together, the output of the RS flip-flop will output according to its logic. Preferably, when the RS flip-flop receives the clock refresh signal and is in the refresh state, and simultaneously receives the impulse signal (Pulse), the switch control signal (Switch) switches its logic state to a high level until the refresh state of the clock refresh signal (Refresh) ends.
[0059] Specifically, when the refresh signal Refresh is high, after passing through the RS flip-flop, the switch control signal Switch remains low regardless of the position of the impulse signal Pulse. Conversely, when the refresh signal Refresh is low, if the circuit does not detect the impulse signal Pulse, the output Switch signal remains low. If the circuit detects the impulse signal Pulse, the output Switch signal will toggle the refresh signal Refresh, outputting a high-level signal. The signal output through the RS flip-flop is the switch control signal Switch in this invention.
[0060] Preferably, the clock generation unit includes a first input branch, a second input branch, and a crystal oscillator branch; wherein, the first input branch is used to turn the branch on or off based on the switch control signal output by the logic trigger unit, and to provide a portion of the input current I4 to the crystal oscillator branch when the first input branch is on; the second input branch is used to receive the clock signal CLK fed back from the crystal oscillator branch, and to control the magnitude of the branch current I5 based on the feedback, and to provide a portion of the input current I5 to the crystal oscillator branch; the crystal oscillator branch is used to generate the clock signal CLK and the delayed clock refresh signal.
[0061] It is understood that the clock generation unit in this invention can control the period length of the clock cycle signal generated by the crystal oscillator (OSC) in the crystal oscillator branch based on the sum of the currents generated in the first input branch and the second input branch.
[0062] Preferably, the first input branch includes a third PMOS transistor PMOS3, a fifth PMOS transistor PMOS5, and a third capacitor C3; wherein, the source of the third PMOS transistor PMOS3 is connected to the power supply voltage Vdd, the gate is connected to the second bandgap voltage Vbp2, and the drain is connected to the source of the fifth PMOS transistor PMOS5; the gate of the fifth PMOS transistor PMOS5 is connected to the output terminal of the logic trigger unit to receive the switching control signal output from the logic trigger unit, and the drain is connected to one end of the third capacitor C3; the other end of the third capacitor is grounded.
[0063] It is understood that the first input branch in this invention includes two PMOS transistors, PMOS3 and PMOS5, which can be turned on or off according to the second bandgap voltage and the magnitude of the switching control signal. The third capacitor C3 can be charged or discharged depending on whether the two PMOS transistors are in the on state.
[0064] Preferably, when the switch control signal is output at a high level, the first input branch is cut off, and the second input branch charges the third capacitor C3; when the switch control signal is output at a low level, the first input branch is turned on, and the first input branch and the second input branch charge the third capacitor C3 simultaneously.
[0065] Specifically, when PMOS5 is turned on with the switch control signal Switch at a low voltage state, the first input branch will also be turned on, capacitor C3 will be charging, and the current I4 generated by the first input branch will be input to the OSC. When PMOS5 is turned off with the switch control signal Switch at a high voltage state, the first input branch will also be turned off. At this time, only the second input branch is still charging capacitor C3 and simultaneously providing current to the OSC branch.
[0066] Preferably, the second input branch includes a fourth PMOS transistor PMOS4, a sixth PMOS transistor PMOS6, and a second NMOS transistor NMOS2; wherein, the source of the fourth PMOS transistor is connected to the power supply voltage Vdd, the gate is connected to the second bandgap voltage Vbp2, and the drain is connected to the source of the sixth PMOS transistor PMOS6; the drain of the sixth PMOS transistor PMOS6 is connected to the drain of the second NMOS transistor, and the gate of the sixth PMOS transistor PMOS6 is connected to the gate of the second NMOS transistor; the source of the second NMOS transistor is grounded.
[0067] Understandably, the second input branch is also used to supply current to the crystal oscillator branch OSC. Furthermore, the fourth PMOS transistor PMOS4 will turn on according to the second bandgap voltage, while the sixth PMOS transistor PMOS6 and the second NMOS transistor NMOS2 will alternately turn on or off according to the feedback of the clock signal generated by the crystal oscillator OSC.
[0068] Preferably, when the clock signal CLK is output at a high level, the sixth PMOS transistor PMOS6 in the second input branch is turned off, the second NMOS transistor NMOS2 is turned on, and the third capacitor C3 is in a discharging state; when the clock signal CLK is output at a low level, the sixth PMOS transistor PMOS6 in the second input branch is turned on, the second NMOS transistor NMOS2 is turned off, and the third capacitor C3 is in a charging state.
[0069] As the third capacitor repeatedly performs the charging and discharging process, the OSC oscillates, thereby generating a stable CLK clock signal.
[0070] Understandably, when the switch control signal Switch is in a low-voltage state, both the first and second input branches charge capacitor C3. Capacitor C3 charges quickly, and the current received by the OSC is also large. Therefore, the crystal oscillator period generated by the OSC is short, and consequently, the period of the clock signal CLK is short. On the other hand, when the switch control signal Switch is in a high-voltage state and PMOS5 is off, the first input branch is cut off, and no current I4 is generated. At this time, only the second input branch charges capacitor C3, which is slower. Therefore, the crystal oscillator period generated by the OSC is longer, and the period of the CLK clock signal also becomes longer.
[0071] Therefore, during the process of receiving the refresh signal, that is, when Vdd is at the falling edge, the period of the clock signal is extended.
[0072] Preferably, the crystal oscillator branch includes a crystal oscillator OSC, a D flip-flop Dffr, and a clock refresh signal processing unit; wherein, the input terminal of the crystal oscillator OSC is connected to the drain of the fifth PMOS transistor PMOS5, one end of the third capacitor C3, the drain of the sixth PMOS transistor PMOS6, and the gate of the second NMOS transistor NMOS2, respectively, and the output terminal is connected to the input terminal of the D flip-flop Dffr; the output terminal of the crystal oscillator OSC is simultaneously connected to the gate of the sixth PMOS transistor PMOS6 and the gate of the second NMOS transistor NMOS2, and is used to feed back the clock signal CLK to the sixth PMOS transistor PMOS6 and the second NMOS transistor NMOS2; the first and second output terminals of the D flip-flop Dffr are respectively connected to the input terminal of the clock refresh signal processing unit; the clock refresh signal processing unit outputs a clock refresh signal, which serves as the input of the RS flip-flop in the logic trigger unit.
[0073] In summary, based on the analysis of the first and second input branches, it can be seen that when the Switch signal is low, i.e., the power supply voltage is in a stable high or low state, the first input branch is turned on. At this time, the input current received by the OSC signal is I4 + I5.
[0074] When the Switch signal is high, i.e., when the power supply voltage is at its rising or falling edge, the first input branch is cut off. The crystal oscillator (OSC) receives an input current of I5 plus a small current generated by the discharge of the third capacitor C3. At this time, it is known that the current generated by the discharge of the third capacitor C3 will be less than the original current I4, and this discharge current will gradually decrease over time. Therefore, as the input current decreases, the OSC signal gradually decreases, resulting in a reduction in the clock frequency within the current clock cycle.
[0075] Preferably, the D flip-flop is used to identify the clock signal output from the output terminal of the crystal oscillator (OSC) and generate a periodic signal that is a set multiple of the clock period. The D flip-flop in this invention functions the same as the D flip-flops in the prior art; both can identify the rising and falling edges of the clock period and modify the flip-flop's output level based on this information.
[0076] Preferably, the clock refresh signal processing unit uses the first and second outputs of the D flip-flop to superimpose clock signals of different frequencies and generate a clock refresh signal based on the parameter requirements of the bandgap reference circuit.
[0077] like Figure 5 As shown, the Refresh clock signal generates a periodic waveform that remains in a low-level state for a longer period of time as the clock signal decreases in frequency.
[0078] The duration of the signal in the refresh state during this cycle completely covers the oscillation waveform of the bandgap reference voltage signal BG. Therefore, after the bandgap voltage output signal BG is recovered through the refresh process, the bandgap voltage generated in the next cycle will not change significantly. Thus, the method in this invention further stabilizes the bandgap voltage of the bandgap reference source.
[0079] The beneficial effect of this invention lies in that, compared with the prior art, the bandgap reference stabilization circuit based on power supply fluctuations can accurately identify the rising and falling edges of the power supply voltage Vdd signal, and control the OSC crystal oscillator input based on the identification and clock refresh signal. This achieves frequency reduction of the clock cycle signal; that is, by lengthening the refresh signal time, it ensures that the voltage of the bandgap reference source can return to its normal value at the end of one refresh cycle.
[0080] The applicant of this invention has provided a detailed description of the embodiments of the invention in conjunction with the accompanying drawings. However, those skilled in the art should understand that the above embodiments are merely preferred embodiments of the invention. The detailed description is only intended to help readers better understand the spirit of the invention and is not intended to limit the scope of protection of the invention. On the contrary, any improvements or modifications made based on the inventive spirit of the invention should fall within the scope of protection of the invention.
Claims
1. A bandgap reference stabilization circuit that provides refresh logic based on power supply fluctuations, characterized in that: The circuit includes a rising edge recognition unit, a falling edge recognition unit, a logic trigger unit, and a clock generation unit; wherein, The rising edge recognition unit is used to recognize the rising edge of the power supply voltage and generate a first recognition signal; The falling edge recognition unit is used to recognize the falling edge of the power supply voltage and generate a second recognition signal; The logic triggering unit is used to receive the first and second identification signals from the rising edge and falling edge identification unit and the delayed clock refresh signal fed back from the clock generation unit, and to generate a switch control signal based on the first and second identification signals and the delayed clock refresh signal. The clock generation unit is used to control the crystal oscillator and D flip-flop to generate a delayed clock cycle refresh signal based on the switch control signal.
2. The bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 1, characterized in that: The rising edge recognition unit includes a first detection capacitor C1, a first detection resistor R1, a first current source I1, and a first NMOS transistor NMOS1; wherein, The first detection capacitor C1 is connected in series with the first detection resistor R1, and one end of the first detection capacitor C1 is connected to the power supply voltage Vdd, while one end of the first detection resistor R1 is grounded. The first current source I1 is connected in series with the first NMOS transistor NMOS1, and one end of the first current source is connected to the power supply voltage Vdd, and the other end is connected to the drain of the first NMOS transistor NMOS1. The source of the first NMOS transistor NMOS1 is grounded, and the gate is connected to the other end of the first detection capacitor C1 and the first detection resistor R1, respectively. The connection point between the first current source I1 and the first NMOS transistor NMOS1 serves as the output terminal of the rising edge recognition unit, outputting the first recognition signal of the rising edge recognition unit.
3. The bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 1, characterized in that: The falling edge recognition unit includes a first PMOS transistor PMOS1, a second PMOS transistor PMOS2, a second current source I2, and a second detection capacitor C2; wherein... The source of the first PMOS transistor PMOS1 is connected to the power supply voltage Vdd, and the drain is connected to the source of the second PMOS transistor PMOS2 and one end of the second detection capacitor C2, respectively. The gates of the first and second PMOS transistors are both connected to the first bandgap voltage Vbp1. The drain of the second PMOS transistor PMOS2 is connected to one end of the second current source I2, and the other end of the second current source I2 is grounded. The other end of the second detection capacitor C2 is grounded; The drain of the second PMOS transistor PMOS2 and one end of the second current source I2 serve as the output terminal of the falling edge recognition unit, outputting the second recognition signal of the falling edge recognition unit.
4. The bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 1, characterized in that: The logic triggering unit includes a first NOT gate, a NOR gate, a second NOT gate, and an RS flip-flop; wherein, The input terminal of the first NOT gate is connected to the output terminal of the rising edge recognition unit, and the output terminal is connected to one input terminal of the NOR gate; The other input of the NOR gate is connected to the output of the falling edge recognition unit, and the output is connected to the input of the second NOT gate. The input of the second NOT gate is connected to one input of the RS flip-flop, and the other input of the RS flip-flop receives the clock refresh signal fed back by the clock generation unit; The output terminal of the RS flip-flop outputs a switch control signal and is connected to the clock generation unit.
5. The bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 1, characterized in that: The clock generation unit includes a first input branch, a second input branch, and a crystal oscillator branch; wherein... The first input branch is used to turn the branch on or off based on the switch control signal output by the logic trigger unit, and to provide a portion of the input current I4 to the crystal oscillator branch when the first input branch is turned on. The second input branch is used to receive the clock signal CLK fed back from the crystal oscillator branch, and to control the magnitude of the branch current I5 based on the fed-back clock signal CLK, and to provide a portion of the input current I5 to the crystal oscillator branch; The crystal oscillator branch is used to generate the clock signal CLK and the delayed clock refresh signal.
6. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 5, characterized in that: The first input branch includes a third PMOS transistor PMOS3, a fifth PMOS transistor PMOS5, and a third capacitor C3; wherein, The source of the third PMOS transistor PMOS3 is connected to the power supply voltage Vdd, the gate is connected to the second bandgap voltage Vbp2, and the drain is connected to the source of the fifth PMOS transistor PMOS5. The gate of the fifth PMOS transistor PMOS5 is connected to the output terminal of the logic trigger unit to receive the switching control signal output from the logic trigger unit, and the drain is connected to one end of the third capacitor C3. The other end of the third capacitor is grounded.
7. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 5, characterized in that: The second input branch includes a fourth PMOS transistor (PMOS4), a sixth PMOS transistor (PMOS6), and a second NMOS transistor (NMOS2); wherein, The source of the fourth PMOS transistor is connected to the power supply voltage Vdd, the gate is connected to the second bandgap voltage Vbp2, and the drain is connected to the source of the sixth PMOS transistor PMOS6. The drain of the sixth PMOS transistor PMOS6 is connected to the drain of the second NMOS transistor NMOS2, and the gate of the sixth PMOS transistor PMOS6 is connected to the gate of the second NMOS transistor NMOS2. The source of the second NMOS transistor, NMOS2, is grounded.
8. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 6, characterized in that: The crystal oscillator branch includes a crystal oscillator, a D flip-flop, and a clock refresh signal processing unit; wherein... The input terminal of the crystal oscillator is connected to the drain of the fifth PMOS transistor PMOS5, one end of the third capacitor C3, the drain of the sixth PMOS transistor PMOS6, and the gate of the second NMOS transistor NMOS2, respectively, and the output terminal is connected to the input terminal of the D flip-flop. The output terminal of the crystal oscillator is simultaneously connected to the gate of the sixth PMOS transistor PMOS6 and the gate of the second NMOS transistor NMOS2, and is used to feed back the clock signal CLK to the sixth PMOS transistor PMOS6 and the second NMOS transistor NMOS2; The first and second output terminals of the D flip-flop are respectively connected to the input terminals of the clock refresh signal processing unit; The clock refresh signal processing unit outputs a clock refresh signal, which serves as the input to the RS flip-flop in the logic trigger unit.
9. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 4, characterized in that: The first NOT gate, NOR gate, and second NOT gate in the logic triggering unit generate an impulse signal Pulse based on the rising and falling edges of the power supply voltage. The RS trigger receives the clock refresh signal and the impulse signal Pulse, and generates the switch control signal based on the RS trigger logic.
10. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 9, characterized in that: When the RS flip-flop receives the clock refresh signal and is in the refresh state, and simultaneously receives the impulse signal Pulse, the switch control signal switching logic state is high-level output until the refresh state of the clock refresh signal ends.
11. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 6, characterized in that: When the switch control signal is high-level output, the first input branch is cut off, and the second input branch charges the third capacitor C3. When the switch control signal is output at a low level, the first input branch is turned on, and the first input branch and the second input branch simultaneously charge the third capacitor C3.
12. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 6, characterized in that: When the clock signal CLK is fed back as a high-level output, the sixth PMOS transistor PMOS6 in the second input branch is turned off, the second NMOS transistor NMOS2 is turned on, and the third capacitor C3 is in a discharging state. When the clock signal CLK is fed back as a low-level output, the sixth PMOS transistor PMOS6 in the second input branch is turned on, the second NMOS transistor NMOS2 is turned off, and the third capacitor C3 is in a charging state.
13. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 8, characterized in that: The D flip-flop is used to identify the clock signal output from the output terminal of the crystal oscillator and generate a periodic signal that is a set multiple of the clock period.
14. A bandgap reference stabilization circuit based on power supply fluctuations to provide refresh logic as described in claim 8, characterized in that: The clock refresh signal processing unit, based on the first and second outputs of the D flip-flop, superimposes clock signals of different frequencies and generates a clock refresh signal based on the parameter requirements of the bandgap reference circuit.
Citation Information
Patent Citations
Clock synchronous circuit capable of maintaining fixed pulse
CN107979359A
Temperature compensated self refresh circuit
KR1020060104904A
