1. Field
The present disclosure relates generally to electronic circuits, and more particularly, to a resistance-capacitance (RC) oscillator.
2. Background
An oscillator finds applications in numerous electronic apparatuses including, e.g., wireless devices. A wireless device (e.g., a cellular phone or a smartphone) may transmit and receive data for two-way communication with a wireless communication system. The wireless device may include a transmitter for data transmission and a receiver for data reception. Moreover, the wireless device have grown in complexity and now commonly include multiple processors (e.g., baseband processor and application processor) and other resources that allow mobile device users to execute complex and power intensive software applications (e.g., music players, web browsers, video streaming applications, etc.).
As an example, the oscillator may be used to generate various clocks used in the wireless device. For example, the oscillator may be used to generate a processor clock for operating the baseband processor or the application processor. Each of the processors may further include oscillators to generate clocks for portions of the processor. In the example set forth above, the operations of the processors may depend on the oscillator to provide a consistent and accurate oscillating signal. An RC oscillator generates an oscillating signal at a frequency based on an RC constant. Compared to other types of oscillators, the RC constant (and therefore the frequency) of RC oscillators is easier to adjust, and may be more constant over voltage, process, and temperature variations.
Aspects of an oscillator are disclosed. The oscillator includes an oscillating circuit having an input and an output configured to oscillate between a first state and a second state. The oscillating circuit includes a resistor-capacitor circuit configured to bias the oscillating circuit input towards a target voltage. The oscillating circuit is configured to transition the oscillating circuit output from the first state to the second state in response to the oscillating circuit input reaching a threshold voltage before the oscillating circuit input reaches the target voltage.
Aspects of another oscillator are disclosed. The oscillator includes an oscillating circuit having an input and an output configured to oscillate between the first state and the second state. The oscillating circuit is configured to transition the oscillating circuit output from the first state to the second state in response to the oscillating circuit input reaching a threshold voltage. A starting circuit configured to set the oscillating circuit input to the threshold voltage to start the oscillating circuit.
Aspects of a method for operating an oscillating circuit are disclosed. The method includes oscillating between a first state and a second state at an oscillating circuit output. The method further includes biasing an oscillating circuit input towards a target voltage. The oscillating between the first state and the second state includes transitioning the oscillating circuit output from the first state to the second state in response to the oscillating circuit input reaching a threshold voltage before the oscillating circuit input reaches the target voltage.
Aspects of a method for operating an oscillating circuit are disclosed. The method includes oscillating between a first state and a second state at an oscillating circuit output. The oscillating between the first state and the second state includes transitioning the oscillating circuit output from the first state to the second state in response to an oscillating circuit input reaching a threshold voltage. The method further includes setting the oscillating circuit input to the threshold voltage to start the oscillating between the first state and the second state.
It is understood that other aspects of apparatus, circuits and methods will become readily apparent to those skilled in the art from the following detailed description, wherein various aspects of apparatus, circuits and methods are shown and described by way of illustration. As will be realized, these aspects may be implemented in other and different forms and its several details are capable of modification in various other respects. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not as restrictive.
Various aspects of apparatus, circuits and methods will now be presented in the detailed description by way of example, and not by way of limitation, with reference to the accompanying drawings, wherein:
The detailed description set forth below in connection with the appended drawings is intended as a description of various exemplary embodiments of the present invention and is not intended to represent the only embodiments in which the present invention may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the present invention. Acronyms and other descriptive terminology may be used merely for convenience and clarity and are not intended to limit the scope of the invention.
The word “exemplary” is used herein to mean serving as an example, instance, or illustration. Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments. Likewise, the term “embodiment” of an apparatus, circuit or method does not require that all embodiments of the invention include the described components, structure, features, functionality, processes, advantages, benefits, or modes of operation.
The terms “connected,” “coupled,” or any variant thereof, mean any connection or coupling, either direct or indirect, between two or more elements, and can encompass the presence of one or more intermediate elements between two elements that are “connected” or “coupled” together. The coupling or connection between the elements can be physical, logical, or a combination thereof. As used herein, two elements can be considered to be “connected” or “coupled” together by the use of one or more wires, cables and/or printed electrical connections, as well as by the use of electromagnetic energy, such as electromagnetic energy having wavelengths in the radio frequency region, the microwave region and the optical (both visible and invisible) region, as several non-limiting and non-exhaustive examples.
Any reference to an element herein using a designation such as “first,” “second,” and so forth does not generally limit the quantity or order of those elements. Rather, these designations are used herein as a convenient method of distinguishing between two or more elements or instances of an element. Thus, a reference to first and second elements does not mean that only two elements can be employed, or that the first element must precede the second element.
As used herein, the terms “comprises”, “comprising,”, “includes” and/or “including”, when used herein, specify the presence of the stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof
Various aspects of an RC oscillator will now be presented. While the embodiments of the RC oscillator are presented in reference to wireless communication applications, as those skilled in the art will readily appreciate, such aspects may be extended to other applications and devices. By way of example, various aspects of the present invention may be used in applications where an oscillating signal starts to oscillate at a target oscillating frequency. Such applications may include an imager or ultrasonic imager where the oscillator turns on and off precisely in synchronization with an asynchronous signal (e.g., operating without clocks). Persons of ordinary skill in the art would readily recognize that aspects of the RC oscillator would find uses in a wide differential of applications.
The wireless device 100 includes a baseband processor 102, a wireless transceiver 104, and an antenna 106. The wireless transceiver 104 may employ various aspects of phase locked loops presented throughout this disclosure to generate one or more LO signals to support both a transmitting and receiving function. The wireless transceiver 104 performs the transmitting function by modulating one or more carrier signals with a data generated by the baseband processor 102 for transmission over a wireless channel through the antenna 106. The wireless transceiver 104 performs a receiving function by demodulating one or more carrier signals received from the wireless channel through the antenna 106 to recover data for further processing by the baseband processor 102. The baseband processor 102 provides the basic protocol stack required to support wireless communications, including for example, a physical layer for transmitting and receiving data in accordance with the physical and electrical interface to the wireless channel, a data link layer for managing access to the wireless channel, a network layer for managing source to destination data transfer, a transport layer for managing transparent transfer of data between end users, and any other layers necessary or desirable for establishing or supporting a connection to a network through the wireless channel. The baseband processor 102 communicates with the application processor 108, which is configured to run the various applications of the wireless device 100 (e.g., music players, web browsers, video streaming applications, etc.).
The RC oscillator 300 further includes a starting circuit 310 selectively coupling a power source VDD to the input of the oscillating circuit 320 (the INPUT node). In one example, the power source VDD is a voltage supply that provides a supply voltage. The starting circuit 310 provides the means for providing a threshold voltage to an input to the oscillating circuit 320 in a standby mode. In one example, the starting circuit 310 charges or sets the input (the INPUT node) of the oscillating circuit 320 to a threshold voltage in the standby mode. In one configuration, the starting circuit 310 includes a switching circuit that couples a supply voltage (e.g., VDD) to the INPUT node of the oscillating circuit 320, which sets the input (the INPUT node) of the oscillating circuit 320 to a threshold voltage in the standby mode as described below. In one configuration, the starting circuit 310 may be configured to couple the supply voltage (e.g., VDD) from the INPUT node of the oscillating circuit 320 in the standby mode or to decouple the supply voltage (e.g., VDD) from the INPUT node of the oscillating circuit 320 to start the oscillating circuit 320, in response to the ENABLE signal. In one example, an activation of the ENABLE signal (e.g., going to a high state) may decouple the supply voltage (e.g., VDD) from the INPUT node of the oscillating circuit 320 and exit the standby mode. The ENABLE signal may be an asynchronous signal.
As described below, the oscillating circuit 320 is configured to initialize the oscillation of the oscillating signal 340 in synchronization with the ENABLE signal changing states, and initialize the oscillation at the oscillation frequency. The starting circuit 310 may be configured to set the INPUT node (the oscillating circuit input) to the threshold voltage to start the oscillating circuit 320. In one example, the RC oscillator 300 may thus be able to generate a precise clock at a known and stable frequency from the start, effectively providing “instant-start” of the RC oscillator 300. In another example, a charge pump controlling the RC oscillator 300 may exercise precise control of the charges to be inputted into the voltage input (for operating a VCO).
In one example, the starting circuit 310, by operating with the oscillating circuit 320, sets the input (the INPUT node) of the oscillating circuit 320 to a first threshold voltage in the standby mode and sets the oscillating signal 340 to a high state (e.g., VDD). The INPUT node does not have a target voltage in the standby mode as the RC oscillator 300 is in a stable or non-oscillating state. In the operating mode, at P1, the oscillating circuit 320 (e.g., via the resistor-capacitor circuit 321) bias the INPUT node toward a low target voltage (“L”), as a result of the oscillating signal 340 being at the high state. In one example, a target voltage is a final or settled voltage of the INPUT node if, e.g., the INPUT node is disconnected from the input of the oscillating circuit 320. The INPUT node voltage starts to drop toward the low target voltage. For example, the oscillating circuit 320 discharges the INPUT node toward the low target voltage (“L”). Because the INPUT node is set to the first threshold voltage in the standby mode, the INPUT node drops to below first threshold voltage almost instantaneously in the operating mode at P1, and, in response, the oscillating circuit 320 transitions the oscillating signal 340 to a low state (e.g., GND). At P2, in response to the oscillating signal 340 transitioning to the low state, the oscillating circuit 320 (e.g., via the resistor-capacitor circuit 321) bias the target voltage of the INPUT node toward a high voltage (“H”). The voltage of the INPUT node follows the high target voltage and rises toward the target voltage. For example, the oscillating circuit 320 charges the INPUT node toward the high target voltage (“H”). The rise of the voltage of the INPUT node is subject to the RC constant based in part on the capacitance of the capacitor 330. The oscillating signal 340 remains at the low state while the voltage of the INPUT node is in transition. At P3, the voltage of the INPUT node reaches the second threshold voltage (but before reaching the high target voltage H). In response, the oscillating circuit 320 transitions the oscillating signal 340 to the high state. At P4, in response to transitioning the oscillating signal 340 to the high state, the oscillating circuit 320 (e.g., via the resistor-capacitor circuit 321) bias the target voltage of the INPUT node toward the low target voltage (“H”). The voltage of the INPUT node follows the low target voltage and discharges toward the target voltage. For example, the oscillating circuit 320 discharges the INPUT node toward the low target voltage (“L”). The discharge of the voltage of the INPUT node is subject to the RC constant based in part on the capacitance of the capacitor 330. The oscillating signal 340 remains at the high state while the voltage of the INPUT node is in transition. Subsequently, the operation of the RC oscillator 300 returns to P1.
The oscillating circuit 320 includes an inverter (e.g. inverting circuit) 422 and an inverter 426 coupled via an AND gate 424. In one example, the inverter 422 may include several inverters in series. There may be multiple stages of logic elements and gates (not shown) between the inverter 422 and the inverter 426 at least for timing purpose. The inverter 422 receives input at node A. In this example, the inverter 422 is configured to have a switch point at a midpoint of VDD (VDD/2). In combination with the resistors 432 and 436, the INPUT node causes the inverter 422 to change state at a first threshold voltage of VDD×¼R and a second threshold voltage of VDD×¾R (e.g., the inverter 422 switches states when the INPUT node reaches the threshold voltages). When the INPUT node reaches the first threshold voltage VDD×¼R while discharging, the output of the AND gate 424 is switched to a high state (e.g., VDD), and the oscillating signal 340 is switched to a low state (e.g., GND). When the INPUT node reaches the second threshold voltage VDD×¾R while charging, the output of the AND gate 424 is switched to a low state (e.g., GND), and the oscillating signal 340 is switched to a high state (e.g., VDD). The AND gate 424 receives input from the ENABLE signal and the inverter 422, and outputs to the node B. The inverter 426 receives input from node B and outputs the oscillating signal 340.
The oscillating circuit 320 includes the resistor-capacitor circuit 321, via which the inverter 422 and the inverter 426 are coupled to the INPUT node (and capacitor 330). In one example, the resistor-capacitor circuit 321 is passive as the circuit itself is not coupled to any active power supply; the resistor-capacitor circuit 321 is only coupled to the power supply VDD via other circuits, such as the starting circuit 310 and the inverters 422 and 426. The resistor-capacitor circuit 321 includes resistors (resistive elements) 432, 436, and 434. In the example, the resistor 432 has a resistance of 2R; the resistor 436 has a resistance of 4R; and the resistor 434 has a resistance of R. The oscillating signal 340 is coupled to the INPUT node (and capacitor 330) via the resistors 432 and 436 arranged in series. The input of the inverter 422 is coupled to both the resistors 432 and 436 at node A. The output of the inverter 422 is coupled to the INPUT node (and capacitor 330) via node B and the resistor 434.
The starting circuit 310, by operating with the oscillating circuit 320, sets the input (the INPUT node) of the oscillating circuit 320 to a first threshold voltage in the standby mode. In the standby mode, the oscillating signal 340 is in a high state (e.g., VDD), and the node B is in a low state (e.g., GND). In this configuration, the resistor-capacitor circuit 321, in combination with the starting circuit 310, operates as a voltage divider. The power source VDD is coupled to the INPUT node via the inverter 426 and the oscillating signal 340. Further, the power source VDD from the oscillating signal 340 to the INPUT node has a resistance of 6R (the resistance 2R of the resistor 432 plus the resistance 4R of the resistor 436). In parallel, the power source VDD is coupled to the INPUT node via the resistance of 6R of the resistor 414 of the starting circuit 310. Thus, the power source VDD is coupled to the INPUT node at an equivalent resistance of 3R. The INPUT node is also coupled to GND via a resistance of R (resistor 434). Accordingly, the total resistance from VDD to GND in the standby mode is 4R (the equivalent resistance 3R plus the resistance R of the resistor 434). Thus, in the standby mode, the INPUT node is charged to VDD×¼R, which corresponds to the first threshold voltage.
At P2, in response to the low state of the oscillating signal 340, the oscillating circuit 320 (e.g., via the resistor-capacitor circuit 321) bias the target voltage of the INPUT node toward a high voltage 512 (a high target voltage), as described below. When the oscillating signal 340 is at the low state or GND, the node B is at the high state or VDD. The power source VDD at node B is thus coupled to the INPUT node (and the capacitor 330) via a resistance of R of the resistor 434. The INPUT node (and the capacitor 330) is coupled to GND at the oscillating signal 340 via a resistance of 6R (the resistance 2R of the resistor 432 plus the resistance 4R of the resistor 436). Thus, the total resistance from VDD to GND is 7R, and the voltage divider of the resistors 432, 434, and 436 sets the target voltage at the INPUT node at VDD× 6/7R. Thus, the high target voltage of the INPUT node is higher than the second threshold voltage. The voltage of the INPUT node follows the high target voltage and rises toward the target voltage. For example, the oscillating circuit 320 charges the INPUT node (e.g., via the AND gate 424). The rise of the voltage of the INPUT node is subject to the RC constant based in part on the capacitance of the capacitor 330. The oscillating signal 340 remains at the low state while the voltage of the INPUT node is in transition.
At P3, the voltage of the INPUT node reaches the second threshold voltage VDD×¾R (e.g., crosses the first threshold voltage) before reaching the high target voltage. In response, the oscillating circuit 320 transitions the oscillating signal 340 to the high state. At P4, in response to transitioning the oscillating signal 340 to the high state, the oscillating circuit 320 (e.g., via the resistor-capacitor circuit 321) bias the target voltage of the INPUT node toward a low voltage 514 (the low target voltage), as described below.
When the oscillating signal 340 is at the high state or VDD, the node B is at the low state or GND. The power source VDD at the oscillating signal 340 is thus coupled to the INPUT node (and the capacitor 330) via a resistance of 6R (the resistance 2R of the resistor 432 plus the resistance 4R of the resistor 436). The INPUT node (and the capacitor 330) is coupled to GND at the node B via a resistance of R of the resistor 434. Thus, the total resistance from VDD to GND is 7R, and the voltage divider of the resistors 432, 434, and 436 sets the target voltage at the INPUT node at VDD× 1/7R. The voltage of the INPUT node follows the low target voltage and discharges toward the target voltage. For example, the oscillating circuit 320 discharges the INPUT node by (e.g., via the AND gate 424). The rise of the voltage of the INPUT node is subject to the RC constant based in part on the capacitance of the capacitor 330. The oscillating signal 340 remains at the high state while the voltage of the INPUT node is in transition. Subsequently, the operation of the RC oscillator 300 returns to P1.
As shown above, in one aspect, the voltage at the INPUT node and the capacitor 330 oscillates between the first threshold voltage and the second threshold voltage. Because the starting circuit 310 sets the voltage at the INPUT node to the first threshold voltage (in combination with operating the oscillating circuit 320), the oscillating circuit 320 starts the oscillation at the operating oscillating frequency. As illustrated in
At 612, the oscillating circuit output is transitioned from the first state to the second state in response to the oscillating circuit input reaching the threshold voltage before it reaches the target voltage. See, e.g.,
At 620, the oscillating circuit input is biased toward a second target voltage in response to the transitioning the oscillating circuit output from the first state to the second state. See, e.g.,
The specific order or hierarchy of blocks in the method of operation described above is provided merely as an example. Based upon design preferences, the specific order or hierarchy of blocks in the method of operation may be re-arranged, amended, and/or modified. The accompanying method claims include various limitations related to a method of operation, but the recited limitations are not meant to be limited in any way by the specific order or hierarchy unless expressly stated in the claims.
The previous description is provided to enable any person skilled in the art to fully understand the full scope of the disclosure. Modifications to the various exemplary embodiments disclosed herein will be readily apparent to those skilled in the art. Thus, the claims should not be limited to the various aspects of the disclosure described herein, but shall be accorded the full scope consistent with the language of claims. All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim element is to be construed under the provisions of 35 U.S.C. §112(f) unless the element is expressly recited using the phrase “means for” or, in the case of a method claim, the element is recited using the phrase “step for.”