Claims
- 1. A method for tuning a filter to a desired frequency, the method comprising:
providing a filter having a bank of elements, each element being selectable by a bit in a control code wherein various combinations of selected elements produce various oscillation frequencies of the filter; and tuning the filter to the desired frequency using an algorithm based on successive approximation.
- 2. The method of claim 1 wherein the filter is tuned to the desired frequency with a maximum error of 1 least significant bit of the control code.
- 3. The method of claim 1 wherein the filter is used in a television tuner.
- 4. The method of claim 3 wherein the method further comprises, after tuning the filter:
using the filter for a filtering function in the television tuner.
- 5. The method of claim 1 wherein the tuning comprises:
a) setting all bits in the control code to 0, the control code being comprised of a plurality of bits having positions numbered from L to M, where M has a greater value than L; b) setting a current bit number to equal M; and c) setting the bit having a position in the control code at the current bit number to 1 in order to produce a current control code.
- 6. The method of claim 5 wherein the tuning further comprises:
d) determining whether a current oscillation frequency of the filter produced by the current control code is greater than the desired frequency; e) setting the bit having a position in the control code at the current bit number to 0 if the current oscillation frequency of the filter is greater than the desired frequency; f) decrementing the current bit number by 1; g) setting the bit having a position in the control code at the current bit number to 1 to produce the current control code; h) checking if the value of the current bit number is equal to L minus 1; and i) repeating steps d, e, f, g, and h until the value of the current bit number is equal to L minus 1.
- 7. The method of claim 6 wherein the filter is comprised of a capacitor and a resistive bank having a plurality of resistors where each resistor is selectable by a bit in the control code.
- 8. The method of claim 6 wherein the filter monotonically increases in oscillation frequency as the value of the control code increases.
- 9. The method of claim 5 wherein the tuning further comprises:
d) determining whether a current oscillation frequency of the filter produced by the current control code is less than the desired frequency; e) setting the bit having a position in the control code at the current bit number to 0 if the current oscillation frequency of the filter is less than the desired frequency; f) decrementing the current bit number by 1; g) setting the bit having a position in the control code at the current bit number to 1 to produce the current control code; h) checking if the value of the current bit number is equal to L minus 1; and i) repeating steps d, e, f, g, and h until the value of the current bit number is equal to L minus 1.
- 10. The method of claim 9 wherein the filter is comprised of an inductor and a capacitive bank having a plurality of capacitors where each capacitor is selectable by a bit in the control code.
- 11. The method of claim 10 wherein the filter monotonically decreases in oscillation frequency as the value of the control code increases.
- 12. The method of claim 5 wherein the tuning further comprises:
d) inverting each bit in the current control code; e) determining whether a current oscillation frequency of the filter produced by the current control code is greater than the desired frequency; f) setting the bit having a position in the control code at the current bit number to 0 if the current oscillation frequency of the filter is greater than the desired frequency; g) decrementing the current bit number by 1; h) setting the bit having a position in the control code at the current bit number to 1 to produce the current control code; i) inverting each bit in the current control code; j) checking if the value of the current bit number is equal to L minus 1; and k) repeating steps e, f, g, h, i, and j until the value of the current bit number is equal to L minus 1.
- 13. The method of claim 12 wherein the filter is comprised of an inductor and a capacitive bank having a plurality of capacitors where each capacitor is selectable by a bit in the control code.
- 14. The method of claim 12 wherein the filter monotonically decreases in oscillation frequency as the value of the control code increases.
CROSS-REFERENCES TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 60/384,290, filed May 29, 2002, entitled “Fast Tuning Algorithm for TV Reception.”
Provisional Applications (1)
|
Number |
Date |
Country |
|
60384290 |
May 2002 |
US |