VARIABLE FREQUENCY RC OSCILLATOR
20170257065 ยท 2017-09-07
Inventors
Cpc classification
H03B5/26
ELECTRICITY
H03L7/099
ELECTRICITY
International classification
Abstract
An oscillator circuit having a programmable output frequency may include a first delay section having a negative gain and a variable delay that is set by a control signal provided to the first delay section. A second delay section having a negative gain and a fixed delay may be connected in series with the first delay section. The oscillator circuit may include an output comprising the output of the second delay section having a frequency that is dependent on the delay of the first delay section and the delay of second delay section.
Claims
1. An oscillator circuit having a programmable output frequency comprising: a first delay section having an input end and an output end, the first delay section having a negative gain between the input end and the output end, the first delay section having a variable delay that is set by a control signal provided to the first delay section; a second delay section electrically connected in series with the first delay section, the second delay section having an input end and an output end, the second delay section having a negative gain between the input end and the output end, the second delay section having a fixed delay; and a circuit output for an output signal having a frequency that is a function of the delay due to the first delay section and the second delay section, the circuit output comprising the output end of the second delay section.
2. The circuit of claim 1, wherein the first delay section comprises: a first RC network comprising a resistor and a variable capacitor; and a second RC network connected in series with the first RC network and comprising a resistor and a variable capacitor, a delay of the first delay section determined based on capacitances of the variable capacitors of the first and second RC networks.
3. The circuit of claim 2 wherein the control signal sets the capacitance of the variable capacitor of the first RC network, and an additional control signal sets the capacitance of the variable capacitor of the second RC network.
4. The circuit of claim 1, wherein the first delay section comprises an RC network comprising a resistor and a variable capacitor, wherein the control signal provided to the first delay section sets a capacitance of the variable capacitor of the first RC network, a delay of the first delay section determined based on the capacitance of the variable capacitor.
5. The circuit of claim 1, wherein the first delay section comprises a plurality of switched capacitors, wherein the control signal selectively sets each of the plurality of switched capacitors to an ON state or an OFF state.
6. The circuit of claim 5, wherein when a switched capacitor is in the ON state, the switched capacitor has a node electrically connected to a DC voltage.
7. The circuit of claim 5, wherein when a switched capacitor is in the ON state, the switched capacitor has a node electrically connected to ground potential.
8. The circuit of claim 5, wherein the control signal is an n-bit word.
9. The circuit of claim 1, wherein the second delay section comprises an RC network comprising a fixed value resistive component and a fixed value capacitive component.
10. The circuit of claim 9, wherein at least one node of the fixed value capacitive component swings above supply voltage of the oscillator circuit.
11. The circuit of claim 10, wherein the at least one node of the fixed value capacitive component swings below ground potential.
12. The circuit of claim 1, wherein the first delay section is electrically connected to the circuit output via the second delay section in a feedback loop.
13. An oscillator circuit comprising: a first delay section having an input end and an output end, the first delay section having a negative gain between the input end and the output end, the first delay section comprising a first RC network comprising a resistor and a variable capacitor and a second RC network connected in series with the first RC network and comprising a resistor and a variable capacitor; at least one control signal provided to at least the variable capacitor of the first RC network to set a delay of the first delay section; a second delay section electrically connected in series with the first delay section, the second delay section having an input end and an output end, second delay section having a negative gain between the input end and the output end, the second delay section having a fixed delay; and a circuit output for an output signal having a frequency that is a function of the delay due to the first delay section and the second delay section, the circuit output comprising the output end of the second delay section.
14. The circuit of claim 13, wherein each of the variable capacitors in the first and second RC networks in the first delay section comprises a plurality of switched capacitors, wherein the control signal provided to the programmable delay stage selectively sets each of the plurality of switched capacitors to an ON state or an OFF state.
15. The circuit of claim 14, wherein when a switched capacitor is in the ON state, a node of the switched capacitor is electrically connected to a DC voltage.
16. The circuit of claim 14, wherein when a switched capacitor is in the ON state, a node of the switched capacitor is electrically connected to ground potential.
17. The circuit of claim 13, wherein the control signal is provided to the variable capacitor in the first RC network, the circuit further comprising an additional control signal provided to the variable capacitor in the second RC network.
18. The circuit of claim 13, wherein the first delay section further comprises at least a third RC network connected in series with the second RC network and comprising a resistor and a variable capacitor.
19. The circuit of claim 13, wherein the second delay section comprises an RC network comprising a fixed value resistive component and a fixed value capacitive component, wherein at least one node of the capacitive component swings above supply voltage of the oscillator circuit.
20. The circuit of claim 19, wherein the at least one node of the capacitive component swings below ground potential.
21. An oscillator circuit comprising: a first inverter stage; a second inverter stage having an input electrically connected to an output of the first inverter stage, the second inverter stage having an output for an output signal of the oscillator circuit; an RC circuit comprising a resistor element connected to a capacitive element, the RC circuit electrically connected between the input and output of the second inverter stage, wherein at least one node of the capacitive element of the RC circuit swings above supply voltage of the oscillator circuit and below ground potential; and at least one variable delay stage having a delay that is set by a control signal provided to the at least one variable delay stage, the at least one variable delay stage electrically connected between a node in the RC circuit that connects the resistor element and the capacitive element and an input of the first inverter stage, a frequency of the output signal being dependent on a delay of the at least one variable delay stage.
22. The circuit of claim 21, further comprising at least one additional variable delay stage connected in series with the at least one variable delay stage, and having a delay that is dependent on a control signal provided to the at least one additional variable delay stage.
23. The circuit of claim 21, wherein the at least one node of the capacitive element corresponds to a node that connects the resistor element and the capacitor element.
24. The circuit of claim 21, wherein the at least one variable delay stage comprises a resistor and a variable capacitor, wherein the control signal provided to the at least one variable delay stage sets a capacitance of the variable capacitor, wherein the delay of the at least one variable delay stage is dependent on the capacitance of the variable capacitor.
25. The circuit of claim 21, wherein the at least one variable delay stage comprises a plurality of switched capacitors, wherein the control signal sets each of the plurality of switched capacitors to an ON state or an OFF state.
26. The circuit of claim 25, wherein when a switched capacitor is in the ON state, a node of the switched capacitor is electrically connected to a DC voltage or to ground potential.
27. (canceled)
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0023] With respect to the discussion to follow and in particular to the drawings, it is stressed that the particulars shown represent examples for purposes of illustrative discussion, and are presented in the cause of providing a description of principles and conceptual aspects of the present disclosure. In this regard, no attempt is made to show implementation details beyond what is needed for a fundamental understanding of the present disclosure. The discussion to follow, in conjunction with the drawings, makes apparent to those of skill in the art how embodiments in accordance with the present disclosure may be practiced. Similar or same reference numbers may be used to identify or otherwise refer to similar or same elements in the various drawings and supporting descriptions. In the accompanying drawings:
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
DETAILED DESCRIPTION
[0031] In the following description, for purposes of explanation, numerous examples and specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be evident, however, to one skilled in the art that the present disclosure as expressed in the claims may include some or all of the features in these examples, alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.
[0032]
[0033] The oscillator 102 may comprise a first delay section 104 and a second delay section 106 electrically connected in series with the first delay section 104. In accordance with the present disclosure, the first delay section 104 may be characterized by a negative gain between the input end of the first delay section 104 and the output end of the first delay section 104. With reference to
[0034] The input end of the first delay section 104 may be defined by the input side of delay stage 126. The output end of the first delay section 104 may be defined by the output of the inversion stage 122. It will be clear from the discussion below that the gain of delay stage 126 is positive. The inversion stage 122 has a negative gain, and so the first delay section 104 has a negative gain. In some embodiments, the inversion stage 122 may comprise a single inverter as shown in
[0035] The second delay section 106 may likewise be characterized by a negative gain between its input end and its output end. In some embodiments, the second delay section 106 may include an inversion stage 124 connected across (in parallel with) a delay stage 128; for example, at terminals and of delay stage 128. The input and output ends of the second delay section 106 may be the input and output, respectively, of the inversion stage 124. The inversion stage 124 has a negative gain, and so the second delay section 106 has a negative gain. In some embodiments, the inversion stage 124 may comprise a single inverter as shown in
[0036] The first delay section 104 may be connected to the output 114 via the second delay section 106 to define a feedback loop around which oscillations can propagate to produce the clock signal 132. The frequency f.sub.CLOCK of the clock signal 132 is generally a function of the delay .sub.1 of the delay stage 128 and the delay .sub.2 of the delay stage 126. The clock signal 132 may be tapped out or otherwise produced at the output of the second inversion stage 124, as depicted in
[0037] Referring to
[0038] It is noted that node V.sub.X is not connected to ground potential, as compared to other elements in the oscillator circuit 102 (e.g., inversion stages 122, 124, delay stage 126). Rather, node V.sub.X is a floating node, which means that the potential at node V.sub.X may vary as the voltage across capacitor C varies during operation of the oscillator circuit 102. For example, during operation the voltage at node V.sub.X may swing above and below the supply voltage in one half of a cycle of the clock signal 132 at the output 114, and may swing above and below ground potential in the other half of the cycle. This aspect of the present disclosure is discussed below.
[0039] Returning to
[0040] The frequency of oscillation in oscillator circuit 102 may be controlled according to the delays .sub.1 and .sub.2. The delay .sub.1 may be determined, for example, during the design phase by selecting appropriate element values for resistor R and capacitor C in the delay stage 128. The delay of .sub.2 may be set by providing a suitable selector input 112 to the delay stage 126. Since the delay .sub.2 of the delay stage 126 may be set on-the-fly, the frequency of clock signal 132 produced by oscillator circuit 102 may likewise be set on-the-fly, namely by providing a suitable selector input 112 to the delay stage 126.
[0041]
[0042] The variable RC network 204 may comprise a resistor R.sub.1 and a variable capacitor C.sub.1. The selector input 112 may be an n-bit signal bus that can be provided to the variable capacitor C.sub.1 to select or otherwise set a capacitance for the variable capacitor C.sub.1. The delay .sub.2 of delay stage 126 may be determined based on a time constant defined as RC, which are respective values of resistor R.sub.1 and variable capacitor C.sub.1. The delay .sub.2 may therefore be set depending on the capacitance setting of variable capacitor C.sub.1.
[0043] One of ordinary skill will appreciate that any suitable delay circuitry may be used for the delay stage 126. Merely to illustrate the point, in other embodiments for example, the delay stage 126 may employ a tunable current source to charge a fixed capacitor. The delay stage 126 may use a current starved inverter with a tunable current source and/or a tunable capacitor, and so on.
[0044]
[0045] The capacitive elements C.sub.x may be realized using any semiconductor technology suitable for a given application of the oscillator circuit 102. Merely to illustrate this point, in various embodiments, capacitive elements C.sub.x may be PN junction capacitors, MOSFET gate capacitors, metal-insulator-metal (MIM) capacitors, metal-oxide-metal (MOM) capacitors, and so on. The capacitive elements C.sub.x may be based on the same semiconductor technology, or they may be based on different technologies. In some embodiments, each of the capacitive elements C.sub.x may have the same capacitance. In other embodiments, the capacitive elements C.sub.x may have different capacitances.
[0046] The capacitive elements C.sub.x may be selectively switched to ground potential via a set of corresponding switches M.sub.0-M.sub.n-1. The switches M.sub.0-M.sub.n-1 may be any suitable switching device. In some embodiments, for example, the switches M.sub.0-M.sub.n-1 may be semiconductor switches such as NMOS transistors shown in
[0047] In accordance with the present disclosure, the nodes of capacitive elements C.sub.x in
[0048] In operation, any one or more of the n signal lines in the selector input 112 may be asserted to turn ON their corresponding switches M.sub.0-M.sub.n-1, and hence the corresponding capacitive element C.sub.x. A switch (e.g., M.sub.0) that is in the ON state connects its corresponding capacitive element C.sub.x to the RC network 204 (switched on), and conversely a switch that is in the OFF state disconnects its corresponding capacitive element C.sub.x from the RC network 204 (switched off). If the capacitive elements C.sub.x are connected in parallel, as shown in
[0049] In some embodiments, resistor R.sub.1 may be a fixed value element such as shown in
[0050] Referring to
[0051] The additional delay stage 326 may include a variable RC network 304 comprising a resistor R.sub.2 and a variable capacitor C.sub.2. A selector input 312 may comprise an m-bit signal bus that can be provided to the variable capacitor C.sub.2 to select or otherwise set a capacitance for the variable capacitor C.sub.2. The additional delay stage 326 may provide a delay .sub.3 that may be determined based on a time constant defined as RC, which are respective values of resistor R.sub.2 and variable capacitor C.sub.2. The delay .sub.3 provided by additional delay stage 326 may therefore be set depending on the capacitance setting of variable capacitor C.sub.2.
[0052]
[0053] The capacitive elements C.sub.y may be realized using any semiconductor technology suitable for a given application of the oscillator circuit 102. Merely to illustrate this point, in various embodiments, capacitive elements C.sub.y may be PN junction capacitors, MOSFET gate capacitors, metal-insulator-metal (MIM) capacitors, metal-oxide-metal (MOM) capacitors, and so on. The capacitive elements C.sub.y may be based on the same semiconductor technology, or they may be based on different technologies. In some embodiments, each of the capacitive elements C.sub.y may have the same capacitance. In other embodiments, the capacitive elements C.sub.y may different capacitances.
[0054] The capacitive elements C.sub.y may be selectively switched to ground potential via a set of corresponding switches M.sub.0-M.sub.m-1. The switches M.sub.0-M.sub.m-1 may be any suitable switching device. In some embodiments, for example, the switches M.sub.0-M.sub.m-1 may be semiconductor switches such as PNP transistors shown in
[0055] In accordance with the present disclosure, the nodes of capacitive elements C.sub.y in
[0056] In operation, any one or more of the m signal lines in the selector input 312 may be asserted to turn ON their corresponding switches M.sub.0-M.sub.m-1. A switch (e.g., M.sub.0) that is in the ON state connects its corresponding capacitive element (switched on) to the RC network 304, and conversely a switch that is in the OFF state disconnects its corresponding capacitive element (switched off) from the RC network 304. If the capacitive elements C.sub.y are connected in parallel, as shown in
[0057] In some embodiments, resistor R.sub.2 may be a fixed value element such as shown in
[0058] In some embodiments, the selector inputs 112, 312 of respective delay stages 126, 326 may receive the same selection input; e.g., the same n-bit code may be provided to each selector input 112, 312. In other embodiments, each selector input 112, 312 may receive different selection inputs.
[0059] The frequency of oscillation in oscillator circuit 102 may be controlled according to the delays .sub.1, .sub.2, and .sub.3. As explained above, the delay .sub.1 in delay stage 128 may be fixed for resistor R and capacitor C. The delay .sub.2 of the delay stage 126 may be set by asserting appropriate bit lines that comprise selector input 112 for the delay stage 126. Likewise, the delay .sub.3 in delay stage 326 may be set by asserting appropriate bit lines that comprise selector signal 312. Accordingly, the frequency of the clock signal 132 may be selected as a function of the variable delays .sub.2 and .sub.3.
[0060] In some embodiments in accordance with the present disclosure, the first delay section 104 may comprise several additional delay stages connected in series.
[0061]
Technical Effect and Advantages
[0062] A conventional RC oscillator design, such as shown in
[0063] The present disclosure provides an oscillator circuit having the capability of a programmable frequency to further improve the utility of RC oscillators. As shown in
[0064] However, the method of making R or C may not be practical. Programmable resistors can be difficult to provide. High programmability requires the ability to modify the total R in small increments. This necessitates a large network of resistors and a large number of switches that have low ON resistance. Furthermore, the voltage across a switch can vary over the oscillation cycle thereby complicating the switch design. Using switched resistors to build a variable resistor may not practical.
[0065] Programmable capacitors can be difficult, since the capacitor C is a floating capacitor because of the behavior at node V.sub.X. As explained above, the node V.sub.X is a floating node because the voltage at node V.sub.X may swing above and below the supply voltage in one half of a cycle of the output and above and below ground potential in the other half of the cycle. Programmable capacitors typically comprise a bank of switched capacitor elements. When the source (or drain) of a switch is connected at the node V.sub.X, the state of the switch can become forward biased during portions of the cycle and conduct when it is supposed to be in an OFF (non-conducting) state. The presence of the floating node V.sub.X presents a challenge in using a variable capacitor at this location to provide a variable delay RC network and hence a variable frequency oscillator circuit. Thus, replacing C with a bank of switched capacitors to build a variable capacitor may not be easily accomplished.
[0066] Oscillator circuits in accordance with the present disclosure can overcome this challenge. As shown in
[0067] The above description illustrates various embodiments of the present disclosure along with examples of how aspects of the particular embodiments may be implemented. The above examples should not be deemed to be the only embodiments, and are presented to illustrate the flexibility and advantages of the particular embodiments as defined by the following claims. Based on the above disclosure and the following claims, other arrangements, embodiments, implementations and equivalents may be employed without departing from the scope of the present disclosure as defined by the claims.