1. Field of Invention
The present invention generally relates to a clock apparatus, and more particularly to the clock apparatus is used to provide a clock signal for a lower power consumption circuit.
2. Description of Prior Art
For nowadays a wireless communication device, standby current is a main factor related to battery life. The lower standby current is, the more working time for the communication device. To keep the communication device in a standby mode, it should have a low power clock to sustain whole system of the communication device. Therefore an oscillator with very low current consumption and stable output frequency is needed and important to whole system of the communication device in the standby mode.
A relaxation oscillator is very suitable for providing a low power clock. Base on RC time constant relaxation and alternate state by the threshold voltage of inverters in the relaxation oscillator, the oscillation frequency of the relaxation oscillator could be well determined. And only the power consumption of inverters should be taken to count, low power purpose could be realized. Besides, a stable operating power is also an important factor to the accuracy of the output frequency.
The present invention provides a clock apparatus for providing a clock signal to a lower power consumption circuit.
The present invention provides the clock apparatus includes a current source, a first resistor, a diode, an amplifier, and an oscillator. The current source provides a current, and the current has a first temperature coefficient. The first resistor has a first end, and the first end is coupled to the current source for receiving the current. The diode has an anode and a cathode. The anode is coupled to a second end of the first resistor, the cathode of the diode is coupled to a reference ground. The diode has a second temperature coefficient. The amplifier is coupled to the first end of the first resistor and the amplifier receives a power source. The amplifier generates an output voltage according to the power source and a voltage on the first end of the first resistor. The oscillator is coupled to the amplifier for receiving the output voltage to be an operating power. Wherein, the first and second temperature coefficients are complementary.
Accordingly, the clock apparatus provides a current source with a first coefficient temperature and a diode with a second temperature coefficient, wherein the first and second temperature coefficients are complementary. That is, a voltage level of the output voltage provided by the amplifier is independent to the environment temperature. The output voltage is provided to the oscillator to be the operating power, and a frequency of the clock signal generated by the oscillator is independent to the environment temperature.
It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the invention as claimed.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Reference will now be made in detail to the present preferred embodiment of the invention, examples of which are illustrated in the accompanying drawings.
Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Referring to
Please notice here, the current I1 has a first temperature coefficient and the diode D1 has a second temperature coefficient, wherein, the first and second temperature coefficients are complementary. That is, a voltage VC on the first end of the resistor R1 may be obtain by the following formula: VC=I1×R1+VD1, wherein, voltage VD1 is a voltage difference between the anode and the cathode of the diode Dl. For example, if the first temperature coefficient is a positive temperature coefficient, and the second temperature coefficient is a negative temperature coefficient. The current I1 is varied in direct proportion to an environment temperature, and the voltage VD1 is varied in an inverse proportion to the environment temperature. That is, the voltage VC on the first end of the resistor R1 may be independent to the environment temperature, and the voltage VC is stable.
The amplifier 120 is coupled to the first end of the resistor R1 for receiving the voltage VC. The amplifier 120 further receives a power source VDD. Furthermore, the amplifier 120 generates an output voltage VSUS according to the power source VDD and the voltage VC on the first end of the resistor R1. Since the voltage VC is stable, the output voltage VSUS generated by the amplifier 120 is independent to the environment.
The oscillator 110 is coupled to the amplifier 120 and a logical circuit 190. The oscillator 110 receives the output voltage VSUS from the amplifier 120. The oscillator 110 may be a relaxation oscillator, and the oscillator 110 receives the output voltage VSUS to be an operating power. Furthermore, the oscillator 110 generates a clock signal CK1, and provides the clock signal CK1 to the logical circuit 190. In this embodiment, the output voltage VSUS is also provided to the logical circuit 190 to be the operating power of the logical circuit 190. The logical circuit 190 may be a circuit worked in a low power consumption mode (such as sleep mode or standby mode).
Referring to
The oscillator 210 includes inverters IV1 and IV2, resistor R2 and capacitor C1. An output end of the inverter IV1 is coupled to an input end of the inverter IV2. The resistor R2 is coupled between the output end of the inverter IV1 and an input end of the inverter IV1. The capacitor C1 is coupled between the output end of the inverter IV2 and the input end of the inverter IV1. The inverters IV1 and IV2 receives the output voltage VSUS from amplifier 220. The output voltage VSUS is used to be the operating power of the inverters IV1 and IV2.
In this embodiment, the voltage VC on a connection end of the resistor R1 and the current source ICS may be presented as follow formula: VC=I1×R1+VD1. The output voltage VSUS may be presented as follow formula: VSUS=VC=I1×R1+VD1−VGS, wherein VGS is a voltage difference between the gate and source of the transistor T1. That is, a voltage level of the output voltage VSUS is smaller than a voltage level of the power source VDD. The oscillator 210 and the logical circuit 290 may operate in a low power consumption status. In additional, the clock signal CK1 may swing between the output voltage VSUS and the reference ground GND.
Referring to
As describe above, the output voltage VSUS is used to provide an operation power to the oscillator 310 and logical circuit 390. A voltage level of the output voltage VSUS may be set by selecting the resistor R1, the current source ICS and the diode D1. Once the voltage level of the output voltage VSUS is low enough, the total power consumption of the oscillator 310 and the logical circuit 390 may be reduced.
Referring to
The transistors M4 and M5 form a current mirror 410. A ratio of the current mirror 410 may be set by choosing a width-length ratio of the transistor M4 or the transistor M5. The ratio of the transistors M4 and M5 may also be set by choosing the width-length ratios of the transistors M4 and M5. Besides, a resistance of the resistor R3 may be selected by a designer. That is, by choosing the ratio of the current mirror 410 and the resistance of the resistor R3, the current I1 generated by the current source is independent to process variation and a voltage variation of the power source VDD. And the current I1 is in direct proportion to the environment temperature.