RC Oscillator Circuit
The RC oscillation circuit design with inverters, delay circuits, and latches ensures automatic resumption of oscillation after external disturbances, addressing stabilization issues and reducing circuit complexity and power consumption.
Patent Information
- Application Number
- JP2023535999
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-11-05
- Filing Date
- 2022-02-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-02-28
AI Technical Summary
Existing RC oscillation circuits face issues with output stabilization due to external forces causing intermediate levels, leading to loop stoppage and requiring additional hibernation state recovery circuits, increasing cost and power consumption.
An RC oscillation circuit design incorporating a first inverter group, delay circuit, latch, and third inverter group to generate and control signals, ensuring automatic resumption of oscillation without the need for hibernation state recovery circuits.
The circuit automatically resumes oscillation when external forces cause abnormal levels, eliminating the need for additional recovery circuits and reducing circuit area and power consumption.
Smart Images

Figure 0007542748000003 
Figure 0007542748000001 
Figure 0007542748000002
Abstract
Description
[Technical field]
[0001] The present invention relates to the field of electronics, and in particular to RC oscillator circuits. [Background technology]
[0002] At present, the basic principle of an RC oscillator is to periodically charge and discharge a capacitor through a resistor. When the voltage of the capacitor reaches a certain level, the charging switch is turned off and the discharging switch is turned on through feedback. When only one capacitor is charged or discharged, it is generally controlled by one hysteresis comparator. When two sets of capacitors are charged or discharged, feedback control is performed using two comparators. However, the comparators need to judge the level and control the charging and discharging switches.
[0003] In addition, the method of using a comparator to determine the level always has a problem of hibernation in the output. For example, if the output node of the comparator reaches an intermediate level due to an external force, the entire loop may stop oscillating and enter a steady state, and the circuit cannot self-recover from oscillation even if the external force is removed. Therefore, it is necessary to add a hibernation recovery circuit to different circuits. This increases the cost of the circuit area and power consumption, and makes the design more difficult. Summary of the Invention [Problem to be solved by the invention]
[0004] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to solve at least one of the above technical problems and provide an RC oscillator circuit. [Means for solving the problem]
[0005] In order to achieve the above object, the present invention provides a first inverter group, a second inverter group, a latch, a delay circuit, and a third inverter group; the first inverter group is connected to the delay circuit, and is used to generate a first signal A and a second signal B having opposite potentials and input them to the delay circuit; The input terminal of the second inverter group is connected to an enable signal EN, and the output terminal of the second inverter group is connected to the latch, and is used to generate an inverted signal ENB of the enable signal EN and input it to the latch; an output terminal of the delay circuit is connected to the latch, and is used to delay the first signal A and the second signal B, and output a first delay signal DA and a second delay signal DB to the latch; the latch is connected to the third inverter group, includes a first output terminal and a second output terminal, receives the first delay signal DA and the second delay signal DB, and receives a first clock signal FB and a second clock signal FA generated by itself, the first output terminal is connected to the third inverter group, inputs the first clock signal FB to the third inverter group, the first output terminal is further connected to an input terminal of the first inverter group, and the first clock signal FB is the input terminal of the first inverter group; The first clock signal FB is driven by the third inverter group to provide an RC oscillator circuit that outputs an output signal CLK from the output terminal of the third inverter group.
[0006] Preferably, the first inverter group includes two inverters connected in series, and outputs the first signal A and a second signal B having opposite potentials via output terminals of the two inverters, respectively.
[0007] Preferably, the delay circuit includes a first delay circuit and a second delay circuit respectively connected to output terminals of the two inverters.
[0008] Preferably, the latch includes one 3-input NOR gate and one 2-input NOR gate, an output terminal of the first delay circuit is connected to a DA input terminal of the 3-input NOR gate, an output terminal of the second inverter group is connected to an ENB input terminal of the 3-input NOR gate, and an output terminal of the 2-input NOR gate is connected to an FA input terminal of the 3-input NOR gate; The FB input terminal of the two-input NOR gate is connected to the output terminal of the three-input NOR gate, and the DB input terminal of the two-input NOR gate is connected to the output terminal of the second delay circuit.
[0009] Preferably, the second inverter group includes an odd number of inverters.
[0010] Preferably, the number of inverters in the third inverter group is determined according to the load to be connected.
[0011] Preferably, the number of inverters in the third inverter group is determined according to the phase of the output signal CLK.
[0012] In a second aspect, the present invention provides a clock generator including a first inverter group, a latch, a delay circuit, a third inverter group, the first inverter group is connected to the delay circuit, and is used to generate a first signal A and a second signal B having opposite potentials and input them to the delay circuit; an output terminal of the delay circuit is connected to the latch, and is used to delay the first signal A and the second signal B, and output a first delay signal DA and a second delay signal DB to the latch; The latch has an input terminal further connected to an enable signal EN port, an output terminal connected to the third inverter group, and includes a first output terminal and a second output terminal, receives the first delay signal DA and the second delay signal DB, and receives a first clock signal FB and a second clock signal FA generated by itself, the first output terminal is connected to the third inverter group, and inputs the first clock signal FB to the third inverter group, the first output terminal is further connected to the input terminal of the first inverter group, and the first clock signal FB is the input terminal of the first inverter group; The first clock signal FB is driven by the third inverter group to provide an RC oscillation circuit that outputs an output signal CLK from an output terminal of the third inverter group.
[0013] Preferably, the first inverter group includes two inverters connected in series, and outputs the first signal A and a second signal B having opposite potentials through output terminals of the two inverters, respectively, and the delay circuit includes a first delay circuit and a second delay circuit connected to the output terminals of the two inverters, respectively.
[0014] Preferably, the latch includes one 3-input NOR gate and one 2-input NOR gate, an output terminal of the first delay circuit is connected to a DA input terminal of the 3-input NOR gate, an output terminal of the second inverter group is connected to an EN input terminal of the 3-input NOR gate, and an output terminal of the 2-input NOR gate is connected to an FA input terminal of the 3-input NOR gate; The FB input terminal of the two-input NOR gate is connected to the output terminal of the three-input NOR gate, and the DB input terminal of the two-input NOR gate is connected to the output terminal of the second delay circuit. Effect of the Invention
[0015] Compared with the related art, in the embodiment of the present invention, when any node of the RC oscillator becomes an abnormal level due to an abnormal external force, for example, is forced to a high level or forced to a low level, the RC oscillator circuit can automatically resume oscillation once the external force is removed, and there is no need to add any hibernation recovery circuit.
[0016] In order to more clearly describe the technical solutions of the embodiments of the present invention, the following briefly introduces drawings necessary for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without creative labor. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 is a diagram showing the principle of an RC oscillator circuit according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a timing diagram of the RC oscillator circuit according to the embodiment of the present invention. [Diagram 3] FIG. 3 is a diagram showing the principle of an RC oscillator circuit according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Hereinafter, the technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative labor belong to the protection scope of the present invention. EXAMPLES
[0019] As shown in FIG. 1, an embodiment of the present invention provides an RC oscillator circuit including a first group of inverters 10, a second group of inverters 20, a latch 49, a delay circuit 30, and a third group of inverters 50.
[0020] The first inverter group 10 is connected to the delay circuit 30, and is used to generate a first signal A and a second signal B having opposite potentials and input them to the delay circuit 30; the input terminal of the second inverter group 20 is connected to an enable signal EN, and its output terminal is connected to the latch 40, and it generates an inverted signal ENB which is opposite to the enable signal EN and inputs it to the latch 40 to control the circuit to be enabled, and this enable is active at a high level; the output terminal of the delay circuit 30 is connected to the latch 40, and it is used to delay the first signal A and the second signal B, and output the first delay signal DA and the second delay signal DB to the latch 40. The latch 40 is connected to the third inverter group 50, includes a first output terminal and a second output terminal, receives the first delay signal DA and the second delay signal DB, receives the first clock signal FB and the second clock signal FA generated by itself, has a first output terminal connected to the third inverter group 50 and inputs the first clock signal FB to the third inverter group 50, and has a first output terminal further connected to an input terminal 10 of the first inverter group, the first clock signal FB being the input of the first inverter group 10, i.e., the feedback input of the RC oscillator circuit. The first clock signal FB is driven by the third inverter group 50 to output an output signal CLK from the output terminal of the third inverter group 50.
[0021] In this embodiment, the first inverter group 10 includes two inverters connected in series, and outputs the first signal A and a second signal B having opposite potentials via output terminals of the two inverters, respectively.
[0022] In this embodiment, the length of the delay time of the delay circuit 30 can be freely adjusted according to the duty ratio required for the output clock, and the delay circuit 30 includes a first delay circuit 31 and a second delay circuit 32, which are respectively connected to the output terminals of the two inverters, receive the input first signal A and the second signal B, and perform delay processing on the first signal A and the second signal B, respectively. The first delay circuit 31 performs delay processing on the first signal A and then outputs a first delay signal DA, and the second delay circuit 32 performs delay processing on the second signal B and then outputs a second delay signal DB.
[0023] In this embodiment, the latch 40 includes one three-input NOR gate and one two-input NOR gate, the output terminal of the first delay circuit 31 is connected to the DA input terminal of the three-input NOR gate and is used to input the first delay signal DA, the output terminal of the second inverter group 20 is connected to the ENB input terminal of the three-input NOR gate and is used to input the inverted signal ENB, the output terminal of the two-input NOR gate is connected to the FA input terminal of the three-input NOR gate, and the second clock signal FA output from the input NOR gate is input to the FA input terminal of the three-input NOR gate.
[0024] The FB input terminal of the two-input NOR gate is connected to the output terminal of the three-input NOR gate and is used to receive the first clock signal FB output from the three-input NOR gate, and the DB input terminal of the two-input NOR gate is connected to the output terminal of the second delay circuit 32 and is used to receive the second delay signal output from the second delay circuit 32.
[0025] The latch 40 switches the output of the first clock signal FB in response to the high levels of the DA input terminal and DB input terminal, latches the first clock signal FB before it goes to the next high level, and activates its enable signal ENB at a low level.
[0026] 2, the falling edge of the first clock signal FB is generated under the control of the rising edge of the first delay signal DA, the rising edge of the first clock signal FB is triggered by the falling edges generated by the second clock signal FA and the first delay signal DA, and the order of the falling edge of the second clock signal FA and the falling edge of the first delay signal DA is determined by the delay times tDA and tDB of the delay circuit. The falling edge of the second clock signal FA is generated under the control of the rising edge of the second delay signal DB, the rising edge of the second clock signal FA is triggered by the falling edges generated by the first clock signal FB and the second delay signal DB, and the order of the falling edge of the first clock signal FB and the falling edge of the second delay signal DB is determined by the delay times tDA and tDB of the delay circuit.
[0027] In this embodiment, the duty ratio of the output signal CLK is the delay time tDA of the first delay circuit, and the period of the output signal CLK is the sum of the delay times of the first delay circuit and the second delay circuit, i.e., tDA+tDB.
[0028] In this embodiment, the second inverter group 20 includes an odd number of inverters, and specifically includes one inverter for generating an inverted signal ENB that is the inverse of the enable signal EN.
[0029] In one embodiment, the number of inverters in the third inverter group 50 is determined according to the connected load.
[0030] In another embodiment, the number of inverters in the third inverter group may be determined according to the phase of the output signal CLK.
[0031] If any of the nodes EN, ENB, A, B, DA, DB, FA, FB of the RC oscillator becomes abnormal level due to an abnormal external force, for example, forced to be high level or forced to be low level, when the external force is released, the RC oscillator circuit can automatically resume oscillation, and there is no need to add any hibernation recovery circuit. For example, assume that the first clock signal FB is at low level, in this case, the second signal B level is at high level, the first signal A is at low level, and the first clock signal FB is inverted to high level after the two signals are delayed. In this case, the first signal A is made high level by a strong source, and the first delayed signal DA is made high level after passing through the delay circuit, and the first clock signal FB is kept at low level, and the circuit stops oscillating. When the external strong source is released, since the first clock signal FB is at low level, the first signal A becomes low level again, and the circuit returns to normal operation and oscillates again. Other nodes can be analyzed in a similar manner. EXAMPLES
[0032] As shown in FIG. 3, the RC oscillator circuit of this embodiment is different from the first embodiment in that the enable signal EN is active at a low level. At this time, the enable signal can be directly connected to the ENB port of the latch, and there is no need to provide a second inverter group.
[0033] The above description is merely an embodiment of the present invention, and those skilled in the art may make improvements without departing from the creative concept of the present invention, all of which fall within the protection scope of the present invention.
Claims
1. 1. An RC oscillator circuit, comprising: a first inverter group, a second inverter group, a latch, a delay circuit, and a third inverter group; the first inverter group is connected to the delay circuit, and is used to generate a first signal A and a second signal B having opposite potentials and input them to the delay circuit, and includes two inverters connected in series, and outputs the first signal A and the second signal B having opposite potentials via output terminals of the two inverters, respectively; the delay circuit includes a first delay circuit and a second delay circuit respectively connected to output terminals of the two inverters; The input terminal of the second inverter group is connected to an enable signal EN, and the output terminal of the second inverter group is connected to the latch, and is used to generate an inverted signal ENB that is the inverse of the enable signal EN and input it to the latch; an output terminal of the delay circuit is connected to the latch, and is used to delay the first signal A and the second signal B, and output a first delay signal DA and a second delay signal DB to the latch; the latch is connected to the third inverter group, includes a first output terminal, receives the first delay signal DA and the second delay signal DB, and receives a first clock signal FB and a second clock signal FA generated by the latch, the first output terminal is connected to the third inverter group, inputs the first clock signal FB to the third inverter group, the first output terminal is further connected to an input terminal of the first inverter group, and the first clock signal FB is the input terminal of the first inverter group, includes one 3-input NOR gate and one 2-input NOR gate; The first clock signal FB is driven by the third inverter group to output an output signal CLK from an output terminal of the third inverter group; an output terminal of the first delay circuit is connected to a DA input terminal of the three-input NOR gate; an output terminal of the second inverter group is connected to an ENB input terminal of the three-input NOR gate, but is not connected to the two-input NOR gate; an output terminal of the two-input NOR gate is connected to an FA input terminal of the three-input NOR gate; The FB input terminal of the two-input NOR gate is connected to the output terminal of the three-input NOR gate; RC oscillation circuit characterized in that the DB input terminal of the two-input NOR gate is connected to the output terminal of the second delay circuit.
2. 2. The RC oscillator circuit according to claim 1, wherein the second inverter group includes an odd number of inverters.
3. 2. The RC oscillation circuit according to claim 1, wherein the number of inverters in the third inverter group is determined according to a load to be connected.
4. 2. The RC oscillation circuit according to claim 1, wherein the number of inverters in the third inverter group is determined according to the phase of the output signal CLK.
Citation Information
Patent Citations
Oscillation circuit and oscillator
CN206698185U
Oscillation circuit
JP1981129422A
Oscillating circuit
JP1985216625A
Oscillation circuit
JP1988299407A
Timer oscillation circuit
JP1997055643A
