CPC G01R 29/023 (2013.01) [G01R 25/005 (2013.01); H03K 3/037 (2013.01); H03K 5/00 (2013.01); H03K 19/21 (2013.01); H03K 2005/00058 (2013.01)] | 20 Claims |
1. A method for outputting a duty cycle value of a periodic input signal, the method comprising:
receiving the periodic input signal at a delay circuit configured to delay the periodic input signal based on a digital control word and to generate a delayed version of the periodic input signal, wherein each of the periodic input signal and the delayed version of the periodic input signal includes a plurality of periods, each period having high and low portions;
generating a first digital control word used to delay the periodic input signal a first amount of time corresponding to a period of the periodic input signal such that a duration of a high or low portion of a period of a first delayed version of the periodic input signal is substantially equal to a total duration of high and low portions of a period of the periodic input signal;
generating a second digital control word used to delay the periodic input signal a second amount of time corresponding to a portion of the period that the periodic input signal has a logic-level high value;
generating a third digital control word used to delay the periodic input signal a third amount of time corresponding to a portion of the period that the periodic input signal has a logic-level low value;
calculating a value of a duty cycle of the periodic input signal based on the first, second, and third digital control words; and
outputting the calculated duty cycle value.
|