RC relaxation oscillator, chip and working method of RC relaxation oscillator

By introducing feedback control circuit and alternating charge and discharge mechanism into the RC relaxation oscillator, the problem of high power consumption of the RC relaxation oscillator in the prior art is solved, and lower energy consumption and more efficient clock signal generation are achieved.

CN119070784APending Publication Date: 2024-12-03RENESAS SEMICON DESIGN BEIJING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411243013.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing RC relaxation oscillators consume high power in portable devices and IoT terminals, which makes it difficult to reduce the energy consumption of clock circuits and affects the performance of equipment.

Method used

An RC relaxation oscillator including a debugging and current circuit, a charge and discharge control switch, a comparator and a feedback control circuit are designed. The output signal of the latch circuit is added to the comparator control logic through the feedback control circuit to reduce the comparator working current. , and alternate charge and discharge are realized through a simple feedback control circuit to reduce additional current and area.

Benefits of technology

It effectively reduces the comparator operating current and overall oscillator current, reduces chip energy consumption, and achieves lower power consumption. It is suitable for high-function portable devices and IoT terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070784A_ABST
    Figure CN119070784A_ABST
Patent Text Reader

Abstract

The invention provides an RC relaxation oscillator, a chip and a working method of the RC relaxation oscillator, and relates to a relaxation oscillator. According to the RC relaxation oscillator, the chip and the working method of the RC relaxation oscillator provided by the invention, the output signal (the clock signal of the existing circuit) of the latch circuit is added into the control logic of the comparator through the feedback control circuit, and a half cycle can be turned off after the comparator completes comparison, so that the working current of the comparator is reduced. The RC relaxation oscillator provided by the invention can be realized only by a simple feedback control circuit, and extra current and area increase are small.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a relaxation oscillator, and in particular to an RC relaxation oscillator, a chip and a working method of the RC relaxation oscillator. Background Art

[0002] RC relaxation oscillator refers to an oscillation circuit composed of an RC frequency selection network.

[0003] like Figure 1 As shown in the figure, the relaxation oscillator circuit composed of the RC frequency selection network is used as an on-chip clock signal generator (OCO: On Chip Oscillator). Due to its low cost, easy integration and fast startup, it is widely used in various chips as a watchdog and timer clock signal, a substitute clock before the crystal oscillator is started, and a system backup clock.

[0004] As the functions of terminal products such as portable devices and the Internet of Things continue to increase, chip power consumption has become an important indicator for evaluating the performance of electronic equipment. The clock inside the chip is an indispensable part of the circuit. Reducing the power consumption of the clock circuit has become a key and difficult point in academic and industrial applications.

[0005] Table 1 Basic performance of existing OCO circuits

[0006] Summary of the invention

[0007] In view of the problems in the prior art, the embodiments of the present application provide an RC relaxation oscillator, a chip and a working method of the RC relaxation oscillator, which can at least partially solve the problems in the prior art.

[0008] On the one hand, an embodiment of the present application provides an RC relaxation oscillator, including:

[0009] The trimming and constant current circuit is connected to two charge and discharge control switches and two comparators, provides charging current for the charge and discharge capacitors connected to the charge and discharge control switches, and provides reference voltage for the two comparators;

[0010] Two charge and discharge control switches, each charge and discharge control switch is respectively connected to the trimming and constant current circuit, a charge and discharge capacitor and an output end of the latch circuit, and each charge and discharge control switch, under the control of the latch circuit, controls the connected charge and discharge capacitor to perform alternate charge and discharge based on the charging current provided by the trimming and constant current circuit;

[0011] Two charging and discharging capacitors, each of which is controlled by a connected charging and discharging control switch and is alternately charged and discharged based on a charging current provided by a trimming and constant current circuit;

[0012] Two comparators, each comparator is connected to one of the charging and discharging capacitors, and each comparator compares the voltage of the connected charging and discharging capacitor with the reference voltage;

[0013] A latch circuit is connected to the two comparators, latches the output signals of the two comparators, and controls the charging and discharging of the charging and discharging capacitors;

[0014] Two feedback control circuits, each feedback control circuit is connected to an output end of the latch circuit, and each feedback control circuit controls a comparator to turn on or off according to an output signal of the latch circuit.

[0015] In some embodiments, the latch circuit includes an RS latch or two sets of RS latches connected in series.

[0016] In some embodiments, the feedback control circuit includes a NOR gate circuit, two input terminals of the NOR gate circuit respectively receive a comparator enable signal and an output signal of the latch circuit, and the output terminal of the NOR gate circuit is connected to a control terminal of a comparator.

[0017] In some embodiments, the feedback control circuit includes an AND gate circuit and a NOR gate circuit;

[0018] Two input ends of the AND gate circuit receive an intermittent operation enable signal and an output signal of the latch circuit respectively;

[0019] An input end of the NOR gate circuit is connected to the output end of the AND gate circuit, another input end of the NOR gate circuit receives a comparator enable signal, and the output end of the NOR gate circuit is connected to a control end of a comparator.

[0020] In some embodiments, in each working cycle of the RC relaxation oscillator, a feedback control circuit controls one of the comparators to be turned on in the first half of the working cycle and turned off in the second half of the working cycle according to an output signal of the latch circuit, and another feedback control circuit controls another comparator to be turned off in the first half of the working cycle and turned on in the second half of the working cycle according to another output signal of the latch circuit.

[0021] On the other hand, an embodiment of the present application provides a chip, comprising the RC relaxation oscillator described in any of the above embodiments.

[0022] On the other hand, an embodiment of the present application provides a working method of an RC relaxation oscillator, which is applied to the RC relaxation oscillator described in any of the above embodiments, wherein the RC relaxation oscillator performs the following operations in each working cycle:

[0023] In the first half of the working cycle, a charge and discharge control switch controls the connected charge and discharge capacitor to charge based on the charging current provided by the trimming and constant current circuit under the control of an output signal of the latch circuit; another charge and discharge control switch controls the connected charge and discharge capacitor to discharge under the control of another output signal of the latch circuit; a feedback control circuit controls the comparator connected to the charge and discharge capacitor to turn on according to an output signal of the latch circuit and a comparator enable signal, and another feedback control circuit controls another comparator to turn off according to another output signal of the latch circuit and a comparator enable signal, and the turned-on comparator compares the voltage of the connected charge and discharge capacitor with the reference voltage, and the latch circuit latches the output signals of the two comparators;

[0024] In the second half of the working cycle, the one charge and discharge control switch controls the connected charge and discharge capacitor to discharge under the control of an output signal of the latch circuit; the other charge and discharge control switch controls the connected charge and discharge capacitor to charge based on the charging current provided by the trimming and constant current circuit under the control of another output signal of the latch circuit; the one feedback control circuit controls the one comparator to turn off according to an output signal of the latch circuit and a comparator enable signal, and the other feedback control circuit controls the other comparator to turn on according to another output signal of the latch circuit and a comparator enable signal, and the turned-on other comparator compares the voltage of the connected charge and discharge capacitor with the reference voltage, and the latch circuit latches the output signals of the two comparators;

[0025] Wherein, in the first half of the working cycle and the second half of the working cycle, the trimming and constant current circuit provides a reference voltage for the two comparators.

[0026] In some embodiments, the feedback control circuit includes a NOR gate circuit, two input terminals of the NOR gate circuit receive a comparator enable signal and an output signal of the latch circuit respectively, and an output terminal of the NOR gate circuit is connected to a control terminal of a comparator;

[0027] When an output signal of the latch circuit is at a high level and the comparator enable signal is at a low level, a feedback control circuit performs a negation operation on the high level output signal and the low level comparator enable signal and outputs a low level; the comparator connected to the feedback control circuit enters an on state according to the low level;

[0028] At the same time, another output signal of the latch circuit is at a low level, and another feedback control circuit performs an OR operation on the low level output signal and the low level comparator enable signal to output a high level; another comparator connected to the other feedback control circuit enters an off state according to the high level.

[0029] In some embodiments, the feedback control circuit includes an AND gate circuit and a NOR gate circuit, the two input ends of the AND gate circuit respectively receive an intermittent operation enable signal and an output signal of the latch circuit, one input end of the NOR gate circuit is connected to the output end of the AND gate circuit, the other input end of the NOR gate circuit receives a comparator enable signal, and the output end of the NOR gate circuit is connected to a control end of a comparator;

[0030] When an output signal of the latch circuit is at a high level, the comparator enable signal is at a low level, and the intermittent operation enable signal is at a high level,

[0031] An AND gate circuit in a feedback control circuit performs an AND operation on the high-level intermittent operation enable signal and the high-level output signal, and outputs a high level; a NOR gate circuit in the feedback control circuit performs a NOR operation based on the high level output by the AND gate circuit and the low-level comparator enable signal, and outputs a low level; the comparator connected to the feedback control circuit enters an on state based on the low level;

[0032] At the same time, another output signal of the latch circuit is a high level, and the AND gate circuit in another feedback control circuit performs an AND operation on the high level intermittent operation enable signal and the low level output signal, and outputs a low level; the NOR gate circuit in the other feedback control circuit performs an NOR operation based on the low level output by the AND gate circuit and the low level comparator enable signal, and outputs a high level; the other comparator connected to the other feedback control circuit enters the shutdown state based on the high level.

[0033] In some embodiments, the method further comprises:

[0034] The intermittent operation enable signal is at a low level, and both comparators are in an on state during the first half of the operation cycle and the second half of the operation cycle.

[0035] The RC relaxation oscillator, chip and working method of the RC relaxation oscillator provided by the present application add the latch circuit output signal (clock signal of the existing circuit) to the control logic of the comparator through the feedback control circuit, and can shut down half a cycle after the comparator completes the comparison, thereby reducing the comparator working current. And the RC relaxation oscillator provided by the present application only needs a simple feedback control circuit to be implemented, and the additional current and area increase are very small. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0037] Figure 1 This is the working principle diagram of the current RC relaxation oscillator.

[0038] Figure 2 This is a schematic diagram of the structure of the current LOCO circuit.

[0039] Figure 3 This is a working timing diagram of the current LOCO circuit.

[0040] Figure 4 This is a schematic diagram of the operating current composition of a 32MHz OCO in the prior art.

[0041] Figure 5 It is a structural schematic diagram of an RC relaxation oscillator provided in one embodiment of the present application.

[0042] Figure 6 It is a schematic diagram of the working timing of the RC relaxation oscillator provided in one embodiment of the present application.

[0043] Figure 7 This is a schematic diagram of the intermittent operation control logic of the RC relaxation oscillator provided in one embodiment of the present application.

[0044] Figure 8 It is a flowchart of a working method of an RC relaxation oscillator provided in an embodiment of the present application.

[0045] Fig. 9 It is a schematic diagram of the intermittent operating current reduction effect of the RC relaxation oscillator provided in one embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present application and their descriptions are used to explain the present application, but are not intended to limit the present application. It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily arranged with each other.

[0047] The terms “first”, “second”, etc. used in this document do not specifically refer to an order or sequence, nor are they used to limit this application. They are only used to distinguish elements or operations described with the same technical terms.

[0048] The words “include,” “including,” “have,” “contain,” etc. used in this document are open-ended terms, meaning including but not limited to.

[0049] As used herein, "and / or" includes any and all permutations of the items described.

[0050] In order to better understand the present application, the research background of the present application is first introduced in detail below.

[0051] Figure 2 This is a schematic diagram of the current LOCO circuit structure. Taking the existing RC relaxation oscillator circuit as an example, Figure 3 As shown, the working sequence is as follows:

[0052] After the circuit is enabled, CMPA and CMPB enter the on state (FAB_CMP: L on).

[0053] CMPA operation: In the t1 half cycle, SWA is turned on, and Ic charges the AA1 node. When the AA1 potential is higher than the reference voltage VCM, CMPA makes a comparison, and the output AA2 changes from L to H. After the comparator output signal is latched by RS, OUTM changes from H to L, and OUTP changes from L to H. After the charging of the AA1 node is completed, the voltage is reset to 0. In the t2 half cycle, the A side is not charged, and the CMPA is in a maintenance state.

[0054] CMPB operation: In the half cycle t2, SWB is turned on, and Ic charges the BB1 ​​node. When the BB1 ​​potential is higher than the reference voltage VCM, CMPB makes a comparison, and the output BB2 changes from L to H. After the comparator output signal is latched by RS, OUTP changes from H to L, and OUTM changes from L to H. After the charging of the BB1 ​​node is completed, the voltage is reset to 0. In the half cycle t1, the B side is not charged, and CMPB is in a maintenance state.

[0055] The reciprocating action of t1 and t2 forms a clock signal, and the output clock frequency f is calculated as follows:

[0056] t1=C×V CM / I c

[0057] t2=C×V CM / I c

[0058] V CM =I b ×R……………………………………………………………………①

[0059] T=t1+t2=2×C×V CM / I c

[0060] I c =N×I b ……………………………………………………………………②

[0061]

[0062] T other : CMP delay, RS delay, etc.

[0063] By adjusting C, I c / I b By adjusting R, a clock signal with a frequency range and frequency accuracy that meet the design requirements is obtained.

[0064] Working current I dd The composition is as follows:

[0065] I dd =I b +I c +I CMP +I RS +I other

[0066] I b : Bias current

[0067] I c : Charging current

[0068] I CMP : Comparator operating current

[0069] I CMP =I CMPA +I CMPB , I CMPA =I CMPB

[0070] I RS : RS trigger operating current

[0071] I other : Control logic and adjust the working current of decoding circuits, etc.

[0072] In practical applications, based on specific design requirements, it is necessary to compromise between area and charging current and perform optimal design to obtain a clock signal with frequency accuracy that meets the requirements.

[0073] The comparator delay has a great impact on the clock frequency accuracy. It is necessary to increase the operating current to reduce the comparator delay and improve the frequency accuracy. Therefore, the comparator operating current accounts for a large proportion of the overall operating current. Figure 4 Taking the 32MHz OCO shown as an example, the comparator current accounts for more than half of the overall current.

[0074] like Figure 3 As shown, in the charging half cycle when AA1 / BB1 rises above VCM, the comparator performs a comparison output; in the maintaining half cycle, the comparator does not need to perform a comparison operation, and the comparator wastes the operating current of the half cycle.

[0075] To solve the above problems, the present application provides an RC relaxation oscillator, such as Figure 5 As shown, the RC relaxation oscillator 100 provided in the embodiment of the present application includes:

[0076] The trimming and constant current circuit 001 is connected to the charge and discharge control switch SWA, the charge and discharge control switch SWB and the comparator CMPA and the comparator CMPB, provides a charging current for the two charge and discharge capacitors C connected to the charge and discharge control switch SWA and the charge and discharge control switch SWB, and provides a reference voltage for the comparator CMPA and the comparator CMPB;

[0077] A charge and discharge control switch SWA and a charge and discharge control switch SWB, each charge and discharge control switch SWA / SWB is respectively connected to the trimming and constant current circuit 001, a charge and discharge capacitor C and an output end of the latch circuit 002, and each charge and discharge control switch SWA / SWB controls the connected charge and discharge capacitor C to alternately charge and discharge based on the charging current provided by the trimming and constant current circuit 001 under the control of the latch circuit 002;

[0078] Two charging and discharging capacitors C, each charging and discharging capacitor C is alternately charged and discharged based on the charging current provided by the trimming and constant current circuit 001 under the control of the connected charging and discharging control switch SWA / SWB;

[0079] A comparator CMPA and a comparator CMPB, each comparator CMPA / CMPB is connected to a charge-discharge capacitor C, and each comparator CMPA / CMPB compares the voltage of the connected charge-discharge capacitor C with the reference voltage;

[0080] The latch circuit 002 is connected to the comparator CMPA and the comparator CMPB, latches the output signal AA2 of the comparator CMPA and the output signal BB2 of the comparator CMPB, and controls the charging and discharging of the charging and discharging capacitor C;

[0081] Feedback control circuit 003 and feedback control circuit 004, each feedback control circuit 003 / 004 is connected to an output end of the latch circuit 002, and each feedback control circuit 003 / 004 controls a comparator CMPA / CMPB to turn on or off according to an output signal OUTM / OUTP of the latch circuit 002.

[0082] The RC relaxation oscillator provided in the embodiment of the present application adds the latch circuit output signal (clock signal of the existing circuit) to the control logic of the comparator through the feedback control circuit, and can shut down half a cycle after the comparator completes the comparison, thereby reducing the comparator operating current. And the RC relaxation oscillator provided in the present application only requires a simple feedback control circuit to be implemented, and the additional current and area increase are very small.

[0083] like Figure 5 As shown, in some embodiments, the latch circuit 002 includes two groups of RS latches connected in series.

[0084] like Figure 5 As shown, in some embodiments, the feedback control circuit 003 / 004 includes a NOR gate circuit, the two input ends of the NOR gate circuit respectively receive a comparator enable signal FAB_CMP and an output signal OUTM / OUTP of the latch circuit 002, and the output end of the NOR gate circuit is connected to a control end of a comparator CMPA / CMPB.

[0085] like Figure 7 As shown, in some embodiments, the feedback control circuit 003 includes an AND gate circuit and a NOR gate circuit; the two input ends of the AND gate circuit respectively receive the intermittent operation enable signal MODE_EN and an output signal OUTM of the latch circuit 002; one input end of the NOR gate circuit is connected to the output end of the AND gate circuit, the other input end of the NOR gate circuit receives the comparator enable signal FAB_CMP, and the output end of the NOR gate circuit is connected to the control end FAB_CMPA of a comparator CMPA.

[0086] like Figure 7 As shown, in some embodiments, the feedback control circuit 004 includes an AND gate circuit and a NOR gate circuit; the two input ends of the AND gate circuit respectively receive the intermittent operation enable signal MODE_EN and an output signal OUTP of the latch circuit 002; one input end of the NOR gate circuit is connected to the output end of the AND gate circuit, the other input end of the NOR gate circuit receives the comparator enable signal FAB_CMP, and the output end of the NOR gate circuit is connected to the control end FAB_CMPB of a comparator CMPB.

[0087] In some embodiments, in each working cycle of the RC relaxation oscillator, a feedback control circuit 003 controls a comparator CMPA to be turned on in the first half of the working cycle and turned off in the second half of the working cycle according to an output signal OUTM of the latch circuit 002, and another feedback control circuit 004 controls another comparator CMPB to be turned off in the first half of the working cycle and turned on in the second half of the working cycle according to another output signal OUTP of the latch circuit 002.

[0088] Based on the same inventive concept, the present application also provides a chip, which includes the RC relaxation oscillator described in any of the above embodiments.

[0089] The chip proposed in the embodiment of the present application has an RC relaxation oscillator on the chip with lower energy consumption, thereby reducing the energy consumption of the entire chip.

[0090] Based on the same inventive concept, the present application also provides a working method of an RC relaxation oscillator, which is applied to the RC relaxation oscillator described in any of the above embodiments, such as Figure 8 As shown, the RC relaxation oscillator performs the following operations in each working cycle:

[0091] S100, in the first half of the working cycle, a charge and discharge control switch controls the connected charge and discharge capacitor to charge based on the charging current provided by the trimming and constant current circuit under the control of an output signal of the latch circuit; another charge and discharge control switch controls the connected charge and discharge capacitor to discharge under the control of another output signal of the latch circuit; a feedback control circuit controls the comparator connected to the charge and discharge capacitor to turn on according to an output signal of the latch circuit and a comparator enable signal, and another feedback control circuit controls another comparator to turn off according to another output signal of the latch circuit and a comparator enable signal, the turned-on comparator compares the voltage of the connected charge and discharge capacitor with the reference voltage, and the latch circuit latches the output signals of the two comparators;

[0092] S200. In the second half of the working cycle, the one charge and discharge control switch controls the connected charge and discharge capacitor to discharge under the control of an output signal of the latch circuit; the other charge and discharge control switch controls the connected charge and discharge capacitor to charge based on the charging current provided by the adjustment and constant current circuit under the control of another output signal of the latch circuit; the one feedback control circuit controls the one comparator to turn off according to an output signal of the latch circuit and a comparator enable signal, and the other feedback control circuit controls the other comparator to turn on according to another output signal of the latch circuit and a comparator enable signal. The turned-on other comparator compares the voltage of the connected charge and discharge capacitor with the reference voltage, and the latch circuit latches the output signals of the two comparators.

[0093] Wherein, in the first half of the working cycle and the second half of the working cycle, the trimming and constant current circuit provides a reference voltage for the two comparators.

[0094] The working method of the RC relaxation oscillator proposed in the embodiment of the present application adds the output signal of the latch circuit to the control logic of the comparator through the feedback control circuit, and turns off half a cycle after the comparator completes the comparison, thereby reducing the working current of the comparator. And the RC relaxation oscillator provided by the present application only needs a simple feedback control circuit to be implemented, and the additional current and area increase are very small.

[0095] like Figure 5 As shown, in some embodiments, the feedback control circuit 003 / 004 includes a NOR gate circuit, the two input ends of which receive the comparator enable signal FAB_CMP and an output signal of the latch circuit 002 respectively, and the output end of the NOR gate circuit is connected to the control end of a comparator CMPA / CMPB. At this time,

[0096] When an output signal OUTM of the latch circuit 002 is at a high level and the comparator enable signal FAB_CMP is at a low level, a feedback control circuit 003 performs a NOR operation on the high level output signal and the low level comparator enable signal FAB_CMP and outputs a low level; the comparator CMPA connected to the feedback control circuit 003 enters an on state according to the low level;

[0097] At the same time, another output signal of the latch circuit 002 is at a low level, and another feedback control circuit 004 performs an OR operation on the low-level output signal and the low-level comparator enable signal FAB_CMP, and outputs a high level; another comparator CMPB connected to the other feedback control circuit 004 enters the shutdown state according to the high level.

[0098] Specifically, the working method of the RC relaxation oscillator proposed in this embodiment obtains the control signal (L on) of CMPA by the exclusive OR logic (NOR) of OUTM and FAB_CMP signals, and obtains the control signal (L on) of CMPB by the exclusive OR logic (NOR) of OUTP and the control signal. After the intermittent working scheme is installed, refer to Figure 6 , the specific working sequence of the RC relaxation oscillator 100 is as follows:

[0099] CMPA operation: In the half cycle t1, FAB_CMPA changes from H to L, and CMPA is turned on before AA1 and VCM are compared. After SWA is turned on, Ic charges the AA1 node. When the AA1 potential is higher than the reference voltage VCM, CMPA makes a comparison, and the output AA2 changes from L to H. After the comparator output signal is latched by RS, OUTM changes from H to L, and OUTP changes from L to H. After the charging of the AA1 node is completed, the voltage is reset to 0. FAB_CMPA changes from L to H, and CMPA is turned off in the half cycle t2.

[0100] CMPB works: Entering the t2 half cycle, FAB_CMPB changes from H to L, and CMPB is turned on before BB1 ​​and VCM are compared. After SWB is turned on, Ic charges the BB1 ​​node. When the BB1 ​​potential is higher than the reference voltage VCM, CMPB makes a comparison, and the output BB2 changes from L to H. After the comparator output signal is latched by RS, OUTP changes from H to L, and OUTM changes from L to H. After the BB1 ​​node is charged, the voltage is reset to 0. FAB_CMPB changes from L to H, and CMPB is turned off in the t1 half cycle.

[0101] It can be seen that the intermittent working scheme proposed by this embodiment reduces the working current of the comparator during the holding state, thereby reducing the overall working current of the oscillator.

[0102] like Figure 7 As shown, in other embodiments, the feedback control circuit 003 includes an AND gate circuit and a NOR gate circuit; the two input ends of the AND gate circuit receive the intermittent work enable signal MODE_EN and an output signal OUTM of the latch circuit 002 respectively; one input end of the NOR gate circuit is connected to the output end of the AND gate circuit, the other input end of the NOR gate circuit receives the comparator enable signal FAB_CMP, and the output end of the NOR gate circuit is connected to the control end FAB_CMPA of a comparator CMPA. The feedback control circuit 004 includes an AND gate circuit and a NOR gate circuit; the two input ends of the AND gate circuit receive the intermittent work enable signal MODE_EN and an output signal OUTP of the latch circuit 002 respectively; one input end of the NOR gate circuit is connected to the output end of the AND gate circuit, the other input end of the NOR gate circuit receives the comparator enable signal FAB_CMP, and the output end of the NOR gate circuit is connected to the control end FAB_CMPB of a comparator CMPB. At this time,

[0103] When an output signal OUTM of the latch circuit 002 is at a high level, the comparator enable signal FAB_CMP is at a low level, and the intermittent operation enable signal MODE_EN is at a high level,

[0104] The AND gate circuit in a feedback control circuit 003 performs an AND operation on the high-level intermittent operation enable signal MODE_EN and the high-level output signal, and outputs a high level; the NOR gate circuit in the feedback control circuit 002 performs a NOR operation according to the high level output by the AND gate circuit and the low-level comparator enable signal FAB_CMP, and outputs a low level; the comparator CMPA connected to the feedback control circuit 002 enters an on state according to the low level;

[0105] At the same time, the other output signal OUTP of the latch circuit 002 is at a high level, and the AND gate circuit in the other feedback control circuit 004 performs an AND operation on the high-level intermittent operation enable signal MODE_EN and the low-level output signal, and outputs a low level; the NOR gate circuit in the other feedback control circuit 004 performs an NOR operation based on the low level output by the AND gate circuit and the low-level comparator enable signal FAB_CMP, and outputs a high level; the other comparator CMPB connected to the other feedback control circuit 004 enters the off state based on the high level.

[0106] In the above embodiment, the method may further include: the intermittent operation enable signal MODE_EN is at a low level, and in the first half of the working cycle and the second half of the working cycle, the comparator CMPA and the comparator CMPB are both in an on state.

[0107] Specifically, when the feedback control circuit 003 and the feedback control circuit 004 include an AND gate circuit and a NOR gate circuit respectively, the intermittent operation truth value table of the RC relaxation oscillator can be as shown in Table 2 below:

[0108] FAB_CMP: comparator enable signal, which can use the original comparator enable signal before the RC relaxation oscillator is modified.

[0109] MODE_EN: Intermittent work enable signal. You can choose whether to turn on the intermittent work function.

[0110] L: Intermittent working function is off; H: Intermittent working function is on.

[0111] Table 2: Intermittent work truth value table

[0112]

[0113] *: represents 0 or 1

[0114] Through the above feedback control circuit, the comparator is turned off to maintain half-cycle operation, reducing the operating current of the comparator by half.

[0115] When intermittent action is closed, the total working current is: I dd =I b +I c +I CMP +I RS +I other

[0116] When intermittent action is turned on, the total working current is: I dd =I b +I c +0.5*I CMP +I RS+I other

[0117] The intermittent working scheme of the RC relaxation oscillator provided in this embodiment is shown in Table 3 and Fig. 9 As shown, under the premise of keeping the area and other performance unchanged, the comparator operating current can be reduced by more than 45%, and the overall operating current can be reduced by more than 24%.

[0118] Table 3 Experimental data

[0119]

[0120]

[0121] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0122] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. An RC relaxation oscillator, characterized in that: include: The trimming and constant current circuit is connected to two charge and discharge control switches and two comparators, provides charging current for the charge and discharge capacitors connected to the charge and discharge control switches, and provides reference voltage for the two comparators; Two charge and discharge control switches, each charge and discharge control switch is respectively connected to the trimming and constant current circuit, a charge and discharge capacitor and an output end of the latch circuit, and each charge and discharge control switch, under the control of the latch circuit, controls the connected charge and discharge capacitor to perform alternate charge and discharge based on the charging current provided by the trimming and constant current circuit; Two charging and discharging capacitors, each of which is controlled by a connected charging and discharging control switch and is alternately charged and discharged based on a charging current provided by a trimming and constant current circuit; Two comparators, each comparator is connected to one of the charging and discharging capacitors, and each comparator compares the voltage of the connected charging and discharging capacitor with the reference voltage; A latch circuit is connected to the two comparators, latches the output signals of the two comparators, and controls the charging and discharging of the charging and discharging capacitors; Two feedback control circuits, each feedback control circuit is connected to an output end of the latch circuit, and each feedback control circuit controls a comparator to turn on or off according to an output signal of the latch circuit.

2. The RC relaxation oscillator according to claim 1, characterized in that: The latch circuit includes one RS latch or two groups of RS latches connected in series.

3. The RC relaxation oscillator according to claim 1, characterized in that: The feedback control circuit comprises a NOR gate circuit, two input ends of the NOR gate circuit respectively receive a comparator enable signal and an output signal of the latch circuit, and an output end of the NOR gate circuit is connected to a control end of a comparator.

4. The RC relaxation oscillator according to claim 1, characterized in that: The feedback control circuit includes an AND gate circuit and a NOR gate circuit; Two input ends of the AND gate circuit receive an intermittent operation enable signal and an output signal of the latch circuit respectively; An input end of the NOR gate circuit is connected to the output end of the AND gate circuit, another input end of the NOR gate circuit receives a comparator enable signal, and the output end of the NOR gate circuit is connected to a control end of a comparator.

5. The RC relaxation oscillator according to any one of claims 1 to 4, characterized in that: In each working cycle of the RC relaxation oscillator, a feedback control circuit controls one of the comparators to turn on in the first half of the working cycle and turn off in the second half of the working cycle according to an output signal of the latch circuit, and another feedback control circuit controls another comparator to turn off in the first half of the working cycle and turn on in the second half of the working cycle according to another output signal of the latch circuit.

6. A chip, characterized in that: The RC relaxation oscillator comprises the RC relaxation oscillator as claimed in any one of claims 1 to 5.

7. A method for operating an RC relaxation oscillator, characterized in that: Applied to the RC relaxation oscillator according to any one of claims 1 to 5, the RC relaxation oscillator performs the following operations in each working cycle: In the first half of the working cycle, a charge and discharge control switch controls the connected charge and discharge capacitor to charge based on the charging current provided by the trimming and constant current circuit under the control of an output signal of the latch circuit; another charge and discharge control switch controls the connected charge and discharge capacitor to discharge under the control of another output signal of the latch circuit; a feedback control circuit controls the comparator connected to the charge and discharge capacitor to turn on according to an output signal of the latch circuit and a comparator enable signal, and another feedback control circuit controls another comparator to turn off according to another output signal of the latch circuit and a comparator enable signal, and the turned-on comparator compares the voltage of the connected charge and discharge capacitor with the reference voltage, and the latch circuit latches the output signals of the two comparators; In the second half of the working cycle, the one charge and discharge control switch controls the connected charge and discharge capacitor to discharge under the control of an output signal of the latch circuit; the other charge and discharge control switch controls the connected charge and discharge capacitor to charge based on the charging current provided by the trimming and constant current circuit under the control of another output signal of the latch circuit; the one feedback control circuit controls the one comparator to turn off according to an output signal of the latch circuit and a comparator enable signal, and the other feedback control circuit controls the other comparator to turn on according to another output signal of the latch circuit and a comparator enable signal, and the turned-on other comparator compares the voltage of the connected charge and discharge capacitor with the reference voltage, and the latch circuit latches the output signals of the two comparators; Wherein, in the first half of the working cycle and the second half of the working cycle, the trimming and constant current circuit provides a reference voltage for the two comparators.

8. The method according to claim 7, characterized in that The feedback control circuit comprises a NOR gate circuit, two input ends of the NOR gate circuit respectively receive a comparator enable signal and an output signal of the latch circuit, and an output end of the NOR gate circuit is connected to a control end of a comparator; When an output signal of the latch circuit is at a high level and the comparator enable signal is at a low level, a feedback control circuit performs a negation operation on the high level output signal and the low level comparator enable signal and outputs a low level; the comparator connected to the feedback control circuit enters an on state according to the low level; At the same time, another output signal of the latch circuit is at a low level, and another feedback control circuit performs an OR operation on the low level output signal and the low level comparator enable signal to output a high level; another comparator connected to the other feedback control circuit enters an off state according to the high level.

9. The method according to claim 7, characterized in that: The feedback control circuit comprises an AND gate circuit and a NOR gate circuit, wherein two input ends of the AND gate circuit receive an intermittent operation enable signal and an output signal of the latch circuit respectively, an input end of the NOR gate circuit is connected to the output end of the AND gate circuit, another input end of the NOR gate circuit receives a comparator enable signal, and the output end of the NOR gate circuit is connected to a control end of a comparator; When an output signal of the latch circuit is at a high level, the comparator enable signal is at a low level, and the intermittent operation enable signal is at a high level, An AND gate circuit in a feedback control circuit performs an AND operation on the high-level intermittent operation enable signal and the high-level output signal, and outputs a high level; a NOR gate circuit in the feedback control circuit performs a NOR operation based on the high level output by the AND gate circuit and the low-level comparator enable signal, and outputs a low level; the comparator connected to the feedback control circuit enters an on state based on the low level; At the same time, another output signal of the latch circuit is a high level, and the AND gate circuit in another feedback control circuit performs an AND operation on the high level intermittent operation enable signal and the low level output signal, and outputs a low level; the NOR gate circuit in the other feedback control circuit performs an NOR operation based on the low level output by the AND gate circuit and the low level comparator enable signal, and outputs a high level; the other comparator connected to the other feedback control circuit enters the shutdown state based on the high level.

10. The method according to claim 9, characterized in that The method further comprises: The intermittent operation enable signal is at a low level, and both comparators are in an on state during the first half of the operation cycle and the second half of the operation cycle.

Citation Information

Cited By

  • Three-mode radiation-proof clock circuit

    CN120263148A