RC OSCILLATOR
20220123691 · 2022-04-21
Assignee
Inventors
- Yanqin CHEN (Shanghai, CN)
- Chunbiao WU (Shanghai, CN)
- Yongwang LIU (Shanghai, CN)
- Bingzhao ZHANG (Shanghai, CN)
Cpc classification
H03B5/26
ELECTRICITY
H03L7/02
ELECTRICITY
H03K3/013
ELECTRICITY
International classification
Abstract
Embodiments of this application disclose an RC oscillator. The RC oscillator may amplify a difference between a first voltage and a second voltage by using a first amplifier and a second amplifier. The first amplifier may include a first amplification circuit and a second amplification circuit. The first amplification circuit and the second amplification circuit may share a same voltage-current conversion circuit. The RC oscillator disclosed in the embodiments of this application can not only avoid noise introduced by the first amplifier, but also reduce internal noise of the RC oscillator. This reduces a jitter of a clock signal.
Claims
1. An integrated circuit, wherein the integrated circuit comprises a first amplifier and a second amplifier, wherein the first amplifier comprises a first input terminal, a second input terminal, a first amplification circuit, a second amplification circuit, a first output terminal, and a second output terminal, wherein the first input terminal is configured to input a first voltage (V.sub.REF), and the second input terminal is configured to input a second voltage (V.sub.PERIOD); the first output terminal is configured to output a third voltage (V.sub.P), wherein the third voltage (V.sub.P) is a voltage obtained after the first voltage (V.sub.REF) passes through the first amplification circuit; and the second output terminal is configured to output a fourth voltage (V.sub.N), wherein the fourth voltage (V.sub.N) is a voltage obtained after the second voltage (V.sub.PERIOD) passes through the second amplification circuit, wherein the first amplification circuit and the second amplification circuit share a voltage-current conversion circuit; and the second amplifier comprises a third input terminal, a fourth input terminal, and a third output terminal, wherein the third input terminal is configured to input the third voltage (V.sub.P); the fourth input terminal is configured to input the fourth voltage (V.sub.N); and the third output terminal is configured to output a fifth voltage (V.sub.OUT).
2. The integrated circuit according to claim 1, wherein the integrated circuit further comprises a low-pass filter and a voltage-controlled oscillator, wherein a control voltage (V.sub.CTRL) is obtained after the fifth voltage (V.sub.OUT) passes through the low-pass filter; and a clock signal is obtained after the control voltage (V.sub.CTRL) passes through the voltage-controlled oscillator.
3. The integrated circuit according to claim 2, wherein the integrated circuit further comprises a pulse generator, wherein the pulse generator is configured to generate, based on the clock signal, a control signal used to control the first amplifier.
4. The integrated circuit according to claim 3, wherein the control signal comprises a first clock signal, a second clock signal, and a reset signal; and the voltage-current conversion circuit comprises a first switch (S15), a second switch (S16), a first capacitor (C14), and a MOS transistor (N11), wherein both the first switch (S15) and the second switch (S16) are switches turned on by using a high level, and both the first switch (S15) and the second switch (S16) are controlled by the reset signal; the first capacitor is connected in parallel to the second switch (S16), a first terminal of the first capacitor (C14) is connected to a source of the MOS transistor (N11), and a second terminal of the first capacitor (C14) is grounded; and a gate of the MOS transistor (N11) is grounded through the first switch (S15).
5. The integrated circuit according to claim 4, wherein the control signal further comprises a first sampling signal; and the first amplification circuit comprises a third switch (S14), the voltage-current conversion circuit, a fourth switch (S17), a fifth switch (S19), a sixth switch (S21), a second capacitor (C18), and a third capacitor (C16), wherein the third switch (S14), the fourth switch (S17), the fifth switch (S19), and the sixth switch (S21) are all switches turned on by using a high level, both the third switch (S14) and the fourth switch (S17) are controlled by the first clock signal, the fifth switch (S19) is controlled by the first sampling signal, and the sixth switch (S21) is controlled by the reset signal; the first input terminal is connected to the gate of the MOS transistor (N11) through the third switch (S14); a drain of the MOS transistor (N11) is connected to a first terminal of the second capacitor (C18) through the fourth switch (S17), and a second terminal of the second capacitor (C18) is grounded; the third capacitor (C16) is connected in parallel to the sixth switch (S21), a first terminal of the third capacitor (C16) is connected to a power supply, and a second terminal of the third capacitor (C16) is connected to the first terminal of the second capacitor (C18); and the fifth switch (S19) is connected to the first terminal of the second capacitor (C18), and when the fifth switch (S19) is closed, a voltage at the first terminal of the second capacitor (C18) is the third voltage (V.sub.P).
6. The integrated circuit according to claim 5, wherein the control signal further comprises a second sampling signal; and the second amplification circuit comprises a seventh switch (S13), the voltage-current conversion circuit, an eighth switch (S18), a ninth switch (S20), a tenth switch (S22), a fourth capacitor (C15), and a fifth capacitor (C17); the seventh switch (S13), the eighth switch (S18), the ninth switch (S20), and the tenth switch (S22) are all switches turned on by using a high level, both the seventh switch (S13) and the eighth switch (S18) are controlled by the second clock signal, the ninth switch (S20) is controlled by the second sampling signal, and the tenth switch (S22) is controlled by the reset signal; the second input terminal is connected to the gate of the MOS transistor (N11) through the seventh switch (S13); the drain of the MOS transistor (N11) is connected to a first terminal of the fourth capacitor (C15) through the eighth switch (S18), and a second terminal of the fourth capacitor (C15) is grounded; the fifth capacitor (C17) is connected in parallel to the tenth switch (S22), a first terminal of the fifth capacitor (C17) is connected to the power supply, and a second terminal of the fifth capacitor (C17) is connected to the first terminal of the fourth capacitor (C15); and the ninth switch (S20) is connected to the first terminal of the fourth capacitor (C15), and when the ninth switch (S20) is closed, a voltage at the first terminal of the fourth capacitor (C15) is the fourth voltage (V.sub.N).
7. The integrated circuit according to claim 5, wherein the integrated circuit further comprises a second voltage generator; the pulse generator is further configured to generate, based on the clock signal, a charging signal and a discharging signal that are used to control the second voltage generator; and the second voltage generator comprises a first resistor (R13), a sixth capacitor (C13), an eleventh switch (S11), and a twelfth switch (S12), wherein both the eleventh switch (S11) and the twelfth switch (S12) are switches turned on by using a high level, the eleventh switch (S11) is controlled by the charging signal, and the twelfth switch (S12) is controlled by the discharging signal; a first terminal of the first resistor (R13) is connected to the power supply through the eleventh switch (S11), a second terminal of the first resistor (R13) is connected to a first terminal of the sixth capacitor (C13), and the sixth capacitor (C13) is connected in parallel to the twelfth switch (S12); and the second voltage V.sub.PERIOD is a voltage at the first terminal of the sixth capacitor (C13).
8. The integrated circuit according to claim 7, wherein the second voltage generator further comprises a seventh capacitor (C12) and a thirteenth switch (S10), wherein the thirteenth switch (S10) is a switch turned on by using a high level, and the thirteenth switch (S10) is controlled by the second clock signal; and a first terminal of the seventh capacitor (C12) is connected to a second terminal of the sixth capacitor (C13), and a second terminal of the seventh capacitor (C12) is connected to the first terminal of the first resistor (R13) through the thirteenth switch (S10).
9. The integrated circuit according to claim 7, wherein a high-level pulse width of the discharging signal is less than a low-level pulse width of the charging signal.
10. The integrated circuit according to claim 7, wherein a high-level pulse width of the first clock signal is equal to a high-level pulse width of the second clock signal; and both the high-level pulse width of the first clock signal and the high-level pulse width of the second clock signal are less than a high-level pulse width of the charging signal.
11. The integrated circuit according to claim 6, wherein both a high-level pulse width of the first sampling signal and a high-level pulse width of the second sampling signal are less than the high-level pulse width of the first clock signal.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
DESCRIPTION OF EMBODIMENTS
[0047] The technical solutions in the embodiments of this application are clearly described in detail in the following with reference to the accompanying drawings.
[0048] First, refer to
[0049] As shown in
[0050] The first voltage generator 110 may be configured to generate a first voltage V.sub.REF.
[0051] The second voltage generator 120 may be configured to generate a second voltage V.sub.PERIOD. The second voltage generator 120 may include, but is not limited to, a resistor and a capacitor. The second voltage may be a voltage that is related to a charging/discharging frequency and that is generated by charging/discharging the resistor and the capacitor.
[0052] The first amplifier 130 and the second amplifier 140 may be configured to amplify a difference between the first voltage and the second voltage, to output a fifth voltage V.sub.OUT.
[0053] The low-pass filter 150 may be configured to filter out high-frequency noise in the fifth voltage V.sub.OUT, to obtain a control voltage V.sub.CTRL.
[0054] The voltage-controlled oscillator 160 may be configured to output a clock signal CLK based on the control voltage V.sub.CTRL. A frequency of the clock signal CLK is directly proportional to a value of the control voltage V.sub.CTRL.
[0055] The pulse generator 170 may be configured to output, based on the clock signal CLK, a signal used to control the second voltage generator 120 and a signal used to control the first amplifier 130.
[0056] Specifically, the signal used to control the second voltage generator 120 may include a charging signal and a discharging signal. Further, the signal used to control the second voltage generator 120 may include a second clock signal.
[0057] The signal used to control the first amplifier 130 may include a first clock signal, a second clock signal, a first sampling signal, a second sampling signal, and a reset signal.
[0058] When the frequency of the clock signal output by the RC oscillator 10 is increased and charging time of the charging signal is reduced, the second voltage V.sub.PERIOD is reduced. After the second voltage V.sub.PERIOD passes through the first amplifier 130, a fourth voltage V.sub.N is increased. If a third voltage V.sub.P is a fixed value, a difference between the third voltage V.sub.P and the fourth voltage V.sub.N is reduced. After the difference is amplified by the second amplifier 140, the fifth voltage V.sub.OUT is reduced. After the fifth voltage V.sub.OUT passes through the low-pass filter 150, the control voltage V.sub.CTRL is reduced. Because the frequency of the clock signal CLK is directly proportional to the value of the control voltage V.sub.CTRL, when the control voltage V.sub.CTRL is reduced, the frequency of the clock signal output by the voltage-controlled oscillator 160 is reduced, and a negative feedback is formed. This stabilizes the frequency.
[0059] When the frequency of the clock signal output by the RC oscillator 10 is reduced and the charging time of the charging signal is increased, the second voltage V.sub.PERIOD is increased. After the second voltage V.sub.PERIOD passes through the first amplifier 130, the fourth voltage V.sub.N is reduced. If the third voltage V.sub.P is a fixed value, a difference between the third voltage V.sub.P and the fourth voltage V.sub.N is increased. After the difference is amplified by the second amplifier 140, the fifth voltage V.sub.OUT is increased. After the fifth voltage V.sub.OUT passes through the low-pass filter 150, the control voltage V.sub.CTRL is increased. Because the frequency of the clock signal CLK is directly proportional to the value of the control voltage V.sub.CTRL, when the control voltage V.sub.CTRL is increased, the frequency of the clock signal output by the voltage-controlled oscillator 160 is increased, and a negative feedback is formed. This stabilizes the frequency.
[0060] The following describes a relationship between the clock signal, the charging signal, the discharging signal, the first clock signal, the second clock signal, the first sampling signal, the second sampling signal, and the reset signal.
[0061]
[0062] As shown in
[0063] It is assumed that a period of the clock signal is 20.83 ns, and periods of the charging signal and the discharging signal may be 41.6 ns (twice the period of the clock signal). The preset duration in which both the charging signal and the discharging signal are at a low level may be 10 ns.
[0064] That the charging signal changes from a low level to a high level may trigger the first clock signal to change from a low level to a high level. That the charging signal changes from a high level to a low level may trigger the second clock signal to change from a low level to a high level. Specifically, a sum of duration in which the second clock signal is at a high level and duration in which the second sampling signal is at a high level is less than or equal to duration in which both the charging signal and the discharging signal are at a low level, that is, the preset duration. A high-level pulse width of the first clock signal may be equal to a high-level pulse width of the second clock signal, and both the high-level pulse width of the first clock signal and the high-level pulse width of the second clock signal are less than a high-level pulse width of the charging signal. For example, the high-level pulse width of the first clock signal or the high-level pulse width of the second clock signal may be one eighth of the period of the charging signal.
[0065] That the first clock signal changes from a high level to a low level may trigger the first sampling signal to change from a low level to a high level. That the second clock signal changes from a high level to a low level may trigger the second sampling signal to change from a low level to a high level. Specifically, the sum of the duration in which the second clock signal is at a high level and the duration in which the second sampling signal is at a high level is less than or equal to the duration in which both the charging signal and the discharging signal are at a low level, that is, the preset duration. A high-level pulse width of the first sampling signal may be equal to a high-level pulse width of the second sampling signal. Both the high-level pulse width of the first sampling signal and the high-level pulse width of the second sampling signal may be less than the high-level pulse width of the first clock signal. Further, the high-level pulse width of the first sampling signal and the high-level pulse width of the second sampling signal may be one tenth of the period of the clock signal.
[0066] When both the first clock signal and the second clock signal are at a low level, the reset signal is at a high level. A frequency of the reset signal may be equal to the frequency of the clock signal.
[0067] Based on the time sequence relationship between the foregoing signals, the following describes a circuit structure of each component included in the RC oscillator 10.
[0068] First, refer to
[0069] As shown in
[0070] Specifically, the first voltage V.sub.REF is generated by dividing a voltage of the power supply by the resistor R11 and the resistor R12. The capacitor C11 is a filter capacitor, and may be configured to filter out high-frequency noise of the power supply.
[0071]
[0072] As shown in
[0073] Specifically, both the eleventh switch S11 and the twelfth switch S12 are switches turned on by using a high level. The eleventh switch S11 is controlled by the charging signal, and the twelfth switch S12 is controlled by the discharging signal.
[0074] To be specific, the eleventh switch S11 is closed when the charging signal is at a high level, and the eleventh switch S11 is opened when the charging signal is at a low level. The twelfth switch S12 is closed when the discharging signal is at a high level, and the twelfth switch S12 is opened when the discharging signal is at a low level.
[0075] Possibly, the eleventh switch S11 and the twelfth switch S12 may be NPN transistors. When a base of the NPN transistor is at a high level, the NPN transistor is turned on.
[0076] Possibly, the eleventh switch S11 and the twelfth switch S12 may be NMOS transistors. When a gate of the NMOS transistor is at a high level, the NMOS transistor is turned on.
[0077] Specifically, a first terminal of the first resistor R13 is connected to the power supply through the eleventh switch S11, a second terminal of the first resistor R13 is connected to a first terminal of the sixth capacitor C13, and the sixth capacitor C13 is connected in parallel to the twelfth switch S12. The second voltage V.sub.PERIOD is a voltage at the first terminal of the sixth capacitor C13.
[0078] Specifically, when the charging signal is at a high level, the discharging signal is at a low level. In this case, the eleventh switch S11 is closed, and the twelfth switch S12 is opened. The power supply may charge the sixth capacitor C13 by using the first resistor R13, where charging time is one clock period (the charging signal is a divide-by-2 signal of the clock signal). When one clock period ends, the charging signal is at a low level, and the eleventh switch is opened. The voltage at the first terminal of the sixth capacitor C13 remains unchanged and waits to be sampled by a post-stage circuit (that is, the first amplifier 130). The voltage at the first terminal of the sixth capacitor C13 is the second voltage V.sub.PERIOD. A formula for calculating V.sub.PERIOD is as follows:
[0079] V.sub.power supply represents a voltage value of the power supply, period represents duration in which the charging signal is at a high level (the duration is equal to the period of the clock signal), R13 represents a resistance value of the first resistor, and C13 represents a capacitance value of the sixth capacitor.
[0080] In a sampling process, both the charging signal and the discharging signal are at a low level. Duration in which both the charging signal and the discharging signal are at a low level may be referred to as preset duration.
[0081] After the post-stage circuit completes sampling, the discharging signal changes from a low level to a high level, the twelfth switch S12 is closed, the sixth capacitor C13 starts to discharge, and the voltage on the sixth capacitor C13 may change to 0. When a next charging period arrives, the discharging signal may change from a high level to a low level, and the charging signal may change from a low level to a high level.
[0082] Further,
[0083] As shown in
[0084] The thirteenth switch S10 is similar to the eleventh switch S11 and the twelfth switch S12, and may be a switch turned on by using a high level. The thirteenth switch S10 is controlled by the second clock signal.
[0085] To be specific, the thirteenth switch S10 is closed when the second clock signal is at a high level, and the thirteenth switch S10 is opened when the second clock signal is at a low level.
[0086] Specifically, it can be learned from the time sequence relationship between the signals shown in
[0087]
[0088] As shown in
[0089] The first input terminal is connected to the first voltage generator 110, and is configured to input the first voltage V.sub.REF generated by the first voltage generator 110.
[0090] The second input terminal is connected to the second voltage generator 120, and is configured to input the second voltage V.sub.PERIOD generated by the second voltage generator 120.
[0091] The first output terminal is configured to output the third voltage V.sub.P. The third voltage V.sub.P is a voltage output after the first voltage V.sub.REF passes through the first amplification circuit.
[0092] The second output terminal is configured to output the fourth voltage V.sub.N. The fourth voltage V.sub.N is a voltage output after the second voltage V.sub.PERIOD passes through the second amplification circuit.
[0093] The following first describes structures of the voltage-current conversion circuit, the first amplification circuit, and the second amplification circuit in sequence, and then describes a working process of the first amplifier with reference to the structures of the voltage-current conversion circuit, the first amplification circuit, and the second amplification circuit, and the time sequence relationship between the signals shown in
[0094] Refer to
[0095] Both the first switch S15 and the second switch S16 are switches turned on by using a high level. Both the first switch S15 and the second switch S16 are controlled by the reset signal.
[0096] To be specific, both the first switch S15 and the second switch S16 are closed when the reset signal is at a high level, and both the first switch S15 and the second switch S16 are opened when the reset signal is at a low level.
[0097] The first capacitor C14 is connected in parallel to the second switch S16, a first terminal of the first capacitor C14 is connected to a source of the MOS transistor N11, and a second terminal of the first capacitor C14 is grounded. A gate of the MOS transistor N11 is grounded through the first switch S15.
[0098] The MOS transistor N11 may be an N-type MOS transistor.
[0099] Still refer to
[0100] The third switch S14, the fourth switch S17, the fifth switch S19, and the sixth switch S21 are all switches turned on by using a high level. Both the third switch S14 and the fourth switch S17 are controlled by the first clock signal, the fifth switch S19 is controlled by the first sampling signal, and the sixth switch S21 is controlled by the reset signal.
[0101] To be specific, both the third switch S14 and the fourth switch S17 are closed when the first clock signal is at a high level, and both the third switch S14 and the fourth switch S17 are opened when the first clock signal is at a low level. The fifth switch S19 is closed when the first sampling signal is at a high level, and the fifth switch S19 is opened when the first sampling signal is at a low level. The sixth switch S21 is closed when the reset signal is at a high level, and the sixth switch S21 is opened when the reset signal is at a low level.
[0102] The first input terminal is connected to the gate of the MOS transistor N11 through the third switch S14. A drain of the MOS transistor N11 is connected to a first terminal of the second capacitor C18 through the fourth switch S17, and a second terminal of the second capacitor C18 is grounded.
[0103] The third capacitor C16 is connected in parallel to the sixth switch S21, a first terminal of the third capacitor C16 is connected to the power supply, and a second terminal of the third capacitor C16 is connected to the first terminal of the second capacitor C18. When the fifth switch S19 is closed, a voltage at the first terminal of the second capacitor C18 is the third voltage V.sub.P.
[0104] Still refer to
[0105] The seventh switch S13, the eighth switch S18, the ninth switch S20, and the tenth switch S22 are all switches turned on by using a high level. Both the seventh switch S13 and the eighth switch S18 are controlled by the second clock signal, the ninth switch S20 is controlled by the second sampling signal, and the tenth switch S22 is controlled by the reset signal.
[0106] To be specific, both the seventh switch S13 and the eighth switch S18 are closed when the second clock signal is at a high level, and both the seventh switch S13 and the eighth switch S18 are opened when the second clock signal is at a low level. The ninth switch S20 is closed when the second sampling signal is at a high level, and the ninth switch S20 is opened when the second sampling signal is at a low level. The tenth switch S22 is closed when the reset signal is at a high level, and the tenth switch S22 is opened when the reset signal is at a low level.
[0107] The second input terminal is connected to the gate of the MOS transistor N11 through the seventh switch S13. The drain of the MOS transistor N11 is connected to a first terminal of the fourth capacitor C15 through the eighth switch S18, and a second terminal of the fourth capacitor C15 is grounded.
[0108] The fifth capacitor C17 is connected in parallel to the tenth switch S22, a first terminal of the fifth capacitor C17 is connected to the power supply, and a second terminal of the fifth capacitor C17 is connected to the first terminal of the fourth capacitor C15. When the ninth switch S20 is closed, a voltage at the first terminal of the fourth capacitor C15 is the fourth voltage V.sub.N.
[0109] A capacitance value of the second capacitor C18 is equal to a capacitance value of the fourth capacitor C15, and a capacitance value of the third capacitor C16 is equal to a capacitance value of the fifth capacitor C17.
[0110] The following describes the working process of the first amplifier with reference to the structures of the voltage-current conversion circuit, the first amplification circuit, and the second amplification circuit, and the time sequence relationship between the signals shown in
[0111] Still refer to
[0112] After the first clock signal changes from a high level to a low level, the third switch S14 and the fourth switch S17 are opened, charging the first capacitor C14 is stopped, and discharging the second capacitor C18 and the third capacitor C16 is stopped. The first sampling signal changes from a low level to a high level. In this case, the voltage at the first terminal of the second capacitor C18 is the third voltage V.sub.P. After the first sampling signal changes back to a low level, the fifth switch S19 is opened, and the third voltage V.sub.P is maintained. In this case, the second clock signal has not changed to a high level, the reset signal changes to a high level, the first switch S15 is closed, and the voltage V.sub.GATE at the gate of the MOS transistor N11 changes to 0. The second switch S16 is closed to reset electric quantity on the first capacitor C14, and the sixth switch S21 is closed to reset electric quantity on the third capacitor C16.
[0113] When the second clock signal is at a high level, both the reset signal and the second sampling signal are at a low level. In this case, the seventh switch S13 and the eighth switch S18 are closed, and the first switch S15, the second switch S16, the tenth switch S22, and the ninth switch S20 are all opened. The voltage V.sub.GATE at the gate of the MOS transistor N11 is the second voltage V.sub.PERIOD. The MOS transistor N11 may convert the second voltage V.sub.PERIOD into a current, and output the current from the drain. The MOS transistor N11 charges the first capacitor C14. In this case, the eighth switch S18 is closed, so that the current of the MOS transistor N11 discharges the fourth capacitor C15 and the fifth capacitor C17.
[0114] After the second clock signal changes from a high level to a low level, S13 and S18 are opened, charging the first capacitor C14 is stopped, and discharging the fourth capacitor C15 and the fifth capacitor C17 is stopped. The second sampling signal changes from a low level to a high level. In this case, the voltage at the first terminal of the fourth capacitor C15 is the fourth voltage V.sub.N. After the second sampling signal changes back to a low level, the ninth switch S20 is opened, and the fourth voltage V.sub.N is maintained. In this case, the first clock signal has not changed to a high level, the reset signal changes to a high level, the first switch S15 is closed, and the voltage V.sub.GATE at the gate of the MOS transistor N11 changes to 0. The second switch S16 is closed to reset the electric quantity on the first capacitor C14, and the tenth switch S22 is closed to reset electric quantity on the fifth capacitor C17.
[0115] If there is a difference between the first voltage V.sub.REF and the second voltage V.sub.PERIOD, there is a difference in discharging the second capacitor C18 and the fourth capacitor C15 by the MOS transistor N11. Therefore, there is a difference between the third voltage V.sub.P and the fourth voltage V.sub.N.
[0116] Specifically, a gain A.sub.1 of the first amplifier 130 is defined as follows:
[0117] A specific expression of the gain A.sub.1 of the first amplifier 130 is as follows:
[0118] ∂ represents a ratio of duration in which the first clock signal is at a high level to a period of the first clock signal, or ∂ represents a ratio of duration in which the second clock signal is at a high level to a period of the second clock signal; Gm represents transconductance (a current change value generated based on a unit voltage change) of the MOS transistor N11; Freq represents a frequency of the first clock signal or the second clock signal; and Cap represents the capacitance value of the third capacitor C16 or the fifth capacitor C17.
[0119] When a low-frequency noise voltage exists in the MOS transistor N11, a noise current generated by the MOS transistor N11 generates a same voltage change for the third voltage V.sub.P and the fourth voltage V.sub.N.
[0120] The second amplifier 140 is a differential amplifier, and is configured to amplify a difference between the third voltage V.sub.P and the fourth voltage V.sub.N. The second amplifier 140 may include a third input terminal, a fourth input terminal, and a third output terminal. The third input terminal may be connected to the first output terminal of the first amplifier 130, and is configured to input the third voltage V.sub.P. The fourth input terminal may be connected to the second output terminal of the first amplifier 130, and is configured to input the fourth voltage V.sub.N. The third output terminal may be configured to output the fifth voltage V.sub.OUT.
[0121] When the second amplifier 140 differentially amplifies the third voltage V.sub.P and the fourth voltage V.sub.N, noise generated by the MOS transistor N11 may be canceled out in a V.sub.P-V.sub.N operation.
[0122] Closed-loop noise N of the second amplifier 140, the low-pass filter 150, and the voltage-controlled oscillator 160 in a loop may be expressed as follows:
[0123] Noise represents equivalent input noise of the second amplifier 140, the low-pass filter 150, and the voltage-controlled oscillator 160 input to the input terminal of the second amplifier, T represents a loop gain, A.sub.RC represents a gain of the second voltage generator, and A.sub.1 represents the gain of the first amplifier 130.
[0124] It can be seen from the formula (4) that a higher gain of the first amplifier 130 indicates lower noise N of the second amplifier 140.
[0125] Therefore, the first amplifier 130 can not only avoid noise introduced by the first amplifier 130, but also reduce noise of the second amplifier 140, the low-pass filter 150, and the voltage-controlled oscillator 160. This reduces internal noise of the RC oscillator, and reduces a jitter of the clock signal.
[0126]
[0127] As shown in
[0128] A first terminal of the resistor R15 is connected to the third output terminal of the second amplifier 140, and is configured to input the fifth voltage V.sub.OUT. A second terminal of R15 may be connected to a first terminal of the capacitor C19, a second terminal of the capacitor C19 may be connected to a first terminal of the capacitor C20, and a second terminal of the capacitor C20 may be connected to the first terminal of R15. The second terminal of the capacitor C20 may be connected to the first terminal of the resistor R15. The second terminal of the capacitor C20 may be connected to the voltage-controlled oscillator 160, and a voltage at the second terminal of the capacitor C20 is the control voltage V.sub.CTRL.
[0129] Specifically, the capacitor C19 is a main filter capacitor and provides a dominant pole for the RC oscillator 10. Because there are two amplifiers in the RC oscillator 10, that is, the first amplifier 130 and the second amplifier 140, the RC oscillator 10 generates two poles. To ensure stability of the RC oscillator 10, a zero is generated by connecting the capacitor C19 and the resistor R15 in series, and the zero can be used to cancel out a dominant pole generated by the first amplifier 130. A high-frequency pole is generated by using the capacitor C20 and the resistor R15 (this pole is far outside system bandwidth and does not affect loop stability), and can be used to filter out a high-frequency ripple in the RC oscillator 10.
[0130] The switches in the foregoing embodiments of this application are all switches turned on by using a high level. This is not limited thereto. The switch in the embodiments of this application may alternatively be a switch turned on by using a low level.
[0131] Possibly, the switch turned on by using a low level may be a PNP transistor. When a base of the PNP transistor is at a low level, the PNP transistor is turned on.
[0132] Possibly, the switch turned on by using a low level may alternatively be a PMOS transistor. When a gate of the PMOS transistor is at a low level, the PMOS transistor is turned on.
[0133] A level of each signal generated by the pulse generator 170 when the switches are all switches turned on by using a low level is opposite to a level of the signal generated by the pulse generator 170 when the switches are switches turned on by using a high level. To be specific, if a signal generated by the pulse generator 170 is at a high level when a switch is a switch turned on by using a high level, the signal is at a low level when the switch is a switch turned on by using a low level. If a signal generated by the pulse generator 170 is at a low level when the switch is a switch turned on by using a high level, the signal is at a high level when the switch is a switch turned on by using a low level. Details are not described herein.
[0134] The MOS transistor N11 in the foregoing embodiments of this application is an N-type MOS transistor. This is not limited thereto. The MOS transistor N11 in the embodiments of this application may alternatively be a P-type MOS transistor.
[0135] When the MOS transistor N11 is a P-type MOS transistor, except that the source of the MOS transistor N11 is connected to the power supply through the first capacitor C14, and the first terminal of the third capacitor C16 or the fifth capacitor C17 is grounded, other components in the first amplifier 130 and a connection relationship between the components are the same as those shown in
[0136] The foregoing descriptions are merely specific implementations of the embodiments, but are not intended to limit the protection scope of the embodiments. Any variation or replacement within the technical scope disclosed in the embodiments shall fall within the protection scope of the embodiments. Therefore, the protection scope of the embodiments shall be subject to the protection scope of the claims.