This invention relates generally to clock generation circuits, and more specifically to a digital clock generation circuit without reference clock, and more specifically to a clock generation circuit adjusted by external resistor and capacitor.
Clock generation circuits are commonly used in digital data processing devices. In general, a phase-locked loop is used to generate this clock signal. Phase-locked loop designs typically rely on external reference clock signals, and internally use voltage controlled oscillators (VCO). In U.S. Pat. No. 5,173,617, the PLL-based clock generator does not rely on VCO, but still depends on external reference clock. External reference clocks driven by digital I/O pad oscillating at high frequencies wastes power, and are fragile and vulnerable to vibration or other environmental hazards. In Linear Technology's LTC6905 resistor set oscillator, the external clock is replaced with a resistor. The analog voltage differential across the resistor is used to control internal oscillation frequency. However, the LTC6905 uses analog circuit elements. It would be of significant benefit and convenience if a clock generator could be designed without requiring use of external reference clock, and without any analog design involved.
One object of the present invention is to provide an entirely digital clock generation method that does not use external reference clock. This object is achieved by using external charging circuit, typically resistor with capacitor (RC circuit) connected to normal digital I/O pad, to change width of an internally generated pulse. The external charging circuit can be enabled only when the frequency settings changes, otherwise conserving power while disabled. This pulse width is measured, with the result subsequently used to select desired output clock signal from a recirculation chain of delay elements. The resulting output clock signal is proportional to pulse width.
Another object of the present invention is to provide an entirely digital clock generation method, with an external reference clock only selectively enabled for calibration of the internal reference clock when needed.
When initialized, A 110 is 0 with Enable 150 set to 1. When Enable 150 changes to 0, Output Buffer 100 is disabled, and A 110 starts to increase due to positive voltage charge VCC 106 through Resistor R 130. The rate at which A 110 rises depends on value of Resistor R 130. When A 110 reaches threshold voltage of Input Buffer 104, then output B 140 changes from 0 to 1. The timing of the rising edge of output B 140 is therefore also dependent on value of Resistor 130.
C 160 is a pulse, with the width D 175 determined by lag between falling edge of Enable 150 to rising edge of B 140. Therefore, the pulse width of C 160 can be adjusted by change variable Resistor 130. Pulse width D 175 can be measured using Pulse Width Measurement Circuit 170. Delay selection E 182 is a function of D 175. Changing pulse width D 175 by adjusting variable Resistor R130, allows the frequency of the output Clock 190 to be changed.
Voltage at A 110, when Enable 150 is disabled, is dependent on charging of capacitor CAP 120. The equation for this voltage when charging is as follows:
V(t)=Vcc*(1−et/rc)
Assume threshold voltage of buffer 104 is 1.5 v, and Vcc 106 is 3 v, than we have
0.5=1−et/rc than
e−t/rc=0.5 than
−t/rc=ln □0.5□=−0.69
t=0.69*RC
For fixed c=CAP 120, the time required to reach threshold voltage of input Buffer 104 is linear to value of R 130. This also means the pulse width D 175 is linear to value of R 130.
This application claims the benefit of provisional patent Appl No. 60/798,505 filed 2006 May 08 by the present inventor.
| Number | Date | Country | |
|---|---|---|---|
| 60798505 | May 2006 | US |