# Patent

## Title
Duty cycle correction

## Abstract

A duty cycle correction circuit comprises an averaging circuit configured to receive a first signal and a second signal and provide a third signal, a duty restoration circuit configured to receive the third signal and a fourth signal and provide a fifth signal having a duty cycle closer to 50% than the first signal, and a synchronous mirror delay circuit configured to receive the fifth signal and provide the second signal.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a Divisional of U.S. Application Ser. No. 10/836,754, filed on Apr. 30, 2004 now U.S. Pat. No. 7,005,904, and which is incorporated herewith.


BACKGROUND
Digital circuits require a clock signal to operate. Typically, the clock signal is provided by a crystal oscillator and associated circuitry, which usually does not provide a clock signal having a duty cycle of 50%. For example, the clock signal may have a duty cycle of 45%, where the logic high time of the clock signal is 45% of the clock cycle and the logic low time of the clock signal is the remaining 55% of the clock cycle.
One type of circuit that requires a clock signal to operate is memory, such as dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and double data rate synchronous dynamic random access memory (DDR-SDRAM). For memory circuits operating at high frequencies, a clock signal having a duty cycle as close to 50% as possible is desired so that the memory has approximately an equal amount of time on both the logic high and logic low portions of the clock signal for transferring data. A duty cycle of 50% allows the maximum amount of time for latching both rising edge data and falling edge data in a memory circuit.
SUMMARY
One embodiment of the invention provides a duty cycle correction circuit. The duty cycle correction circuit comprises an averaging circuit configured to receive a first signal and a second signal and provide a third signal, a duty restoration circuit configured to receive the third signal and a fourth signal and provide a fifth signal having a duty cycle closer to 50% than the first signal, and a synchronous mirror delay circuit configured to receive the fifth signal and provide the second signal.



BRIEF DESCRIPTION OF THE DRAWINGS
Embodiments of the invention are better understood with reference to the following drawings. The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts.
FIG. 1 is a block diagram illustrating one embodiment of a memory system including a duty cycle correction circuit.
FIG. 2 is a block diagram illustrating one embodiment of a duty cycle correction circuit.
FIG. 3a is a block diagram illustrating one embodiment of a duty restoration circuit.
FIG. 3b is a timing diagram illustrating one embodiment of the timing of signals for the duty restoration circuit.
FIG. 4 is a block diagram illustrating one embodiment of a correction circuit.
FIG. 5a is a block diagram illustrating one embodiment of an averaging circuit.
FIG. 5b is a schematic diagram illustrating one embodiment of the averaging circuit.
FIG. 5c is a timing diagram illustrating one embodiment of the timing of signals for the averaging circuit.
FIG. 5d is a graph illustrating embodiments of the relationship between the delay between the two inputs to the averaging circuit verses the delay between one input and the output of the averaging circuit.
FIG. 6 is a timing diagram illustrating one embodiment of the timing of signals for a synchronous mirror delay circuit.
FIG. 7 is a timing diagram illustrating one embodiment of the timing of signals for the correction circuit.
FIG. 8 is a timing diagram illustrating one embodiment of a portion of the output signal of the correction circuit.
FIG. 9 is a graph illustrating one embodiment of a curve of duty cycle percent verses cycle number for the duty cycle correction circuit.
FIG. 10 is a timing diagram illustrating one embodiment of the timing of signals for the duty cycle correction circuit.
FIGS. 11a and 11b are block diagrams illustrating one embodiment of an improved correction circuit.
FIG. 12 is a graph illustrating one embodiment of a curve of duty cycle percent verses cycle number for the improved correction circuit.
FIG. 13 is a diagram illustrating one embodiment of an improved duty cycle correction circuit.



DETAILED DESCRIPTION
FIG. 1 is a block diagram illustrating one embodiment of a memory system 100 including a duty cycle correction circuit. Memory system 100 includes a semiconductor chip 102 and a memory circuit 106. Semiconductor chip 102 is electrically coupled to memory circuit 106 through communication link 104. Semiconductor chip 102 includes duty cycle correction circuit 110. Duty cycle correction circuit 110 is electrically coupled to external clock (CLKEXT) signal path 112, inverted external clock (bCLKEXT) signal path 114, corrected clock (CLKCOR) signal path 116, and inverted corrected clock (bCLKCOR) signal path 118.
Duty cycle correction circuit 110 receives the CLKEXT signal on signal path 112 and the bCLKEXT signal on signal path 114. The duty cycle of the CLKEXT signal and the duty cycle of the corresponding bCLKEXT signal are not 50%. Duty cycle correction circuit 110 corrects the duty cycle by bringing the duty cycle of the CLKEXT signal and duty cycle of the bCLKEXT signal closer to a specified duty cycle, such as 50%, by using a synchronous mirror delay circuit. Duty cycle correction circuit 110 outputs the CLKCOR signal on signal path 116 and the bCLKCOR signal on signal path 118. In one embodiment, duty cycle correction circuit 110 corrects the duty cycle of the clock signal to 50%. The corrected clock signal is used in the operation of memory circuit 106.
Memory circuit 106 communicates with chip 102 through communication link 104. In one embodiment, the CLKCOR signal and the bCLKCOR signal are passed to memory circuit 106 through communication link 104 for use in transferring data between memory circuit 106 and chip 102 or another device. Memory circuit 106 includes a random access memory (RAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR-SDRAM), or other suitable memory. In one embodiment, memory circuit 106 and chip 102 are a single semiconductor chip.
FIG. 2 is a block diagram illustrating one embodiment of duty cycle correction circuit 110. Duty cycle correction circuit 110 includes correction circuits 130 and 136 and duty restoration circuits 134 and 140. The bCLK input of correction circuit 130 is electrically coupled to the CLK input of correction circuit 136 through bCLKEXT signal path 114. The CLK input of correction circuit 130 is electrically coupled to the bCLK input of correction circuit 136 through CLKEXT signal path 112.
The output of correction circuit 130 is electrically coupled to input A of duty restoration circuit 134 and input B of duty restoration circuit 140 through clock out (CLKOUT) signal path 132. The output of correction circuit 136 is electrically coupled to input B of duty restoration circuit 134 and input A of duty restoration circuit 140 through inverted clock out (bCLKOUT) signal path 138. The output of duty restoration circuit 134 is electrically coupled to CLKCOR signal path 116. The output of duty restoration circuit 140 is electrically coupled to bCLKCOR signal path 118. In one embodiment, duty restoration circuit 130 or duty restoration circuit 140 is not included in duty cycle correction circuit 110.
The bCLK input of correction circuit 130 receives the bCLKEXT signal on signal path 114 and the CLK input of correction circuit 130 receives the CLKEXT signal on signal path 112. Correction circuit 130 outputs the CLKOUT signal to input A of duty restoration circuit 134 and input B of duty restoration circuit 140 through CLKOUT signal path 132. The CLKOUT signal has a duty cycle closer to 50% than the CLKEXT signal input into correction circuit 130.
The CLK input of correction circuit 136 receives the bCLKEXT signal on signal path 114 and the bCLK input of correction circuit 136 receives the CLKEXT signal on signal path 112. Correction circuit 136 outputs the bCLKOUT signal to input B of duty restoration circuit 134 and input A of duty restoration circuit 140 through bCLKOUT signal path 138. The bCLKOUT signal has a duty cycle closer to 50% than the bCLKEXT signal input into correction circuit 136.
Input A of duty restoration circuit 134 receives the CLKOUT signal from correction circuit 130 through signal path 132 and input B of duty restoration circuit 134 receives the bCLKOUT signal from correction circuit 136 through signal path 138. Duty restoration circuit 134 outputs the CLKCOR signal on signal path 116 based on the CLKOUT signal and the bCLKOUT signal. The CLKCOR signal has a logic high time equivalent to the time between the rising edge of the CLKOUT signal and the rising edge of the bCLKOUT signal. The CLKCOR signal has a logic low time equivalent to the time between the rising edge of the bCLKOUT signal and the rising edge of the CLKOUT signal.
Input A of duty restoration circuit 140 receives the bCLKOUT signal from correction circuit 136 through signal path 138 and input B of duty restoration circuit 140 receives the CLKOUT signal from correction circuit 130 through signal path 132. Duty restoration circuit 140 outputs the bCLKCOR signal on signal path 118 based on the bCLKOUT signal and the CLKOUT signal. The bCLKCOR signal has a logic high time equivalent to the time between the rising edge of the bCLKOUT signal and the rising edge of the CLKOUT signal. The bCLKCOR signal has a logic low time equivalent to the time between the rising edge of the CLKOUT signal and the rising edge of the bCLKOUT signal.
In operation, the CLKCOR signal has the same cycle time as the CLKEXT signal and a duty cycle closer to 50% than the CLKEXT signal. The bCLKCOR signal has the same cycle time as the bCLKEXT signal and a duty cycle closer to 50% than the bCLKEXT signal.
FIG. 3a is a block diagram illustrating one embodiment of a duty restoration circuit 150. Duty restoration circuit 150 is similar to duty restoration circuit 134 and duty restoration circuit 140. Duty restoration circuit 150 includes duty restoration block 156, input path A 152, input path B 154, and output path C 158.
FIG. 3b is a graph 159 illustrating one embodiment of the timing of signals for duty restoration circuit 150. Graph 159 illustrates signal A 160 on input path A 152, signal B 162 on input path B 154, and signal C 164 on output path C 158. In response to the rising edge 166 of signal A, signal C 164 transitions to a logic high at 168. In response to the rising edge 170 of signal B 162, signal C 164 transitions to a logic low at 172. The time between the rising edge 168 of signal C 164 and the falling edge 172 of signal C 164 equals the time between the rising edge 166 of signal A 160 and the rising edge 170 of signal B 162. In response to the next rising edge 174 of signal A 160, signal C 164 again transitions to a logic high at 176. The process repeats for each rising edge of signal A 160 and each rising edge of signal B 162.
FIG. 4 is a block diagram illustrating one embodiment of a correction circuit 200. Correction circuit 200 is similar to correction circuit 130. Correction circuit 200 is similar to correction circuit 136, except that the bCLKEXT signal and the CLKEXT signal inputs are swapped. Correction circuit 200 includes averaging circuits 210 and 214, duty restoration circuit 204, delay circuit 213, and synchronous mirror delay circuit (SMD) 206. Duty restoration circuit 204 is similar to duty restoration circuit 150.
Inputs A and B of averaging circuit 210 are electrically coupled to bCLKEXT signal path 114. Inputs A and B of averaging circuit 210 are the bCLK inputs of correction circuits 130 and 136. Output C of averaging circuit 210 is electrically coupled to input A of duty restoration circuit 204 through delayed inverted clock (DEL_bCLK) signal path 212. Input A of averaging circuit 214 is electrically coupled to CLKEXT signal path 112 and input B of averaging circuit 214 is electrically coupled to SMD 206 through synchronous mirror delay output (SMD_OUT) signal path 208.
Input A of averaging circuit 210 is the CLK input of correction circuits 130 and 136. Output C of averaging circuit 214 is electrically coupled to input B of duty restoration circuit 204 through average (AVE) signal path 202. Output C of duty restoration circuit 204 is electrically coupled to the input of delay circuit 213 and an input of SMD 206 through clock (CLK) signal path 218. Output C of duty restoration circuit 204 is the output of correction circuits 130 and 136. The output of delay circuit 213 is electrically coupled to SMD 206 through synchronous mirror delay input (SMD_IN) signal path 216.
Inputs A and B of averaging circuit 210 receive the bCLKEXT signal on signal path 114 and output C of averaging circuit 210 outputs the DEL_bCLK signal to input A of duty restoration circuit 204 through signal path 212. The DEL_bCLK signal on signal path 212 is a delayed bCLKEXT signal, where the delay is equal to the delay through averaging circuit 214.
Input A of averaging circuit 214 receives the CLKEXT signal on signal path 112 and input B of averaging circuit 214 receives the SMD_OUT signal from SMD 206 through signal path 208. Output C of averaging circuit 214 outputs the AVE signal to input B of duty restoration circuit 204 through signal path 202. The AVE signal has a rising edge between the rising edge of the CLKEXT signal and the rising edge of the SMD_OUT signal.
Duty restoration circuit 204 functions similar to duty restoration circuit 150. Duty restoration circuit 204 receives the DEL_bCLK signal on signal path 212 and the AVE signal on signal path 202 and outputs the CLK signal to delay circuit 213 and SMD 206 through signal path 218. The CLK signal has a logic high time equal to the time between the rising edge of the DEL_bCLK signal and the rising edge of the AVE signal.
Delay circuit 213 receives the CLK signal and delays the CLK signal to compensate for the delay through averaging circuit 214 and the delay through duty restoration circuit 204. Delay circuit 213 outputs the delayed CLK signal, SMD_IN, to SMD 206 through signal path 216.
SMD 206 receives the CLK signal and the SMD_IN signal and outputs the SMD_OUT signal to input B of averaging circuit 214. The SMD_OUT signal has a rising edge a logic high time of the CLK signal after the falling edge of the CLK signal, as will be described in further detail with respect to FIG. 6.
FIG. 5a is a block diagram illustrating one embodiment of an averaging circuit 220. Averaging circuit 220 is similar to averaging circuit 210 and averaging circuit 214. Averaging circuit 220 includes average circuit 226, input path A 222, input path B 224, and output path C 228.
FIG. 5b is a schematic diagram illustrating averaging circuit 220 in more detail. Averaging circuit 220 includes inverters 230, 234, and 236. The input of inverter 230 is electrically coupled to input path A 222 and the output of inverter 230 is electrically coupled to the input of inverter 236 and the output of inverter 234 through path 232. The input of inverter 234 is electrically coupled to input path B 224. The output of inverter 236 is electrically coupled to output path C 228.
FIG. 5c is a timing diagram 240 illustrating one embodiment of the timing of signals for averaging circuit 220. Timing diagram 240 includes signal A 242 on input path A 222, signal B 244 on input path B 224, and signal C 246 on output path C 228. Signal C 246 has a rising edge 248 between a rising edge 250 of signal A 242 and a rising edge 252 of signal B 244. The time between the rising edge 250 of signal A 242 and the rising edge 248 of signal C 246 is indicated at 254. The time between the rising edge 250 of signal A 242 and the rising edge 252 of signal B 244 is indicated at 256. In one embodiment, the rising edge of signal B 244 leads the rising edge of signal A 242.
FIG. 5d is a graph 260 illustrating three embodiments of the relationship between the time 256 verses the time 254 for averaging circuit 220. The x-axis 256 is the absolute value of the time between the rising edge 250 of signal A 242 and the rising edge 252 of signal B 244 (TIME(A−B)). The y-axis 254 is the time between the rising edge 250 of signal A 242 and the rising edge 248 of signal C 246 (TIME(A−C)). The time 254 is a function of the time 256 based on the design of averaging circuit 220. The function is defined as:

TIME(A−C)=[TIME(A−B)]X  Equation I

where X is slope of a curve in graph 260.
Curves 262a, 262b, and 262c represent three ideal functions for averaging circuit 220 with no delay between input path A 222, input path B 224, and output path C 228. In this case, X=0.4 for curve 262a, X=0.5 for curve 262b, and X=0.6 for curve 262c. 
Curves 266a, 266b, and 266c represent three non-ideal functions for averaging circuit 220 and account for a delay between input path A 222, input path B 224, and output path C 228, indicated at 272. In this case, X=0.4 for curve 266a, X=0.5 for curve 166b, and X=0.6 for curve 266c. Averaging circuit 220 acts as an ideal averaging circuit if TIME(A−B) is low, as indicated at 268. As TIME(A−B) increases, however, averaging circuit 220 does not act ideally, as indicated at 270. Averaging circuit 220 is designed based on the frequency of the clock signal that is going to be corrected and the desired amount of duty cycle correction. In one embodiment, where the rising edge of signal B 244 leads the rising edge of signal A 242, TIME(A−C) is replaced with the time between the rising edge of signal B 244 and the rising edge of signal C 246 (TIME(B−C)).
FIG. 6 is a timing diagram 280 illustrating one embodiment of the timing of signals for synchronous mirror delay circuit 206. Timing diagram 280 includes CLK signal 292 on signal path 218, SMD_IN signal 294 on signal path 216, and SMD_OUT signal 296 on signal path 208. The CLK signal 292 is delayed through delay circuit 213 to provide the SMD_IN signal 294 delayed as indicated at 282. The SMD_OUT signal 296 has a rising edge 288 at a time that is equal to the time of the CLK signal 292 at the falling edge 284 plus the time between the rising edge 298 of the SMD_IN signal 294 and the falling edge 284 of CLK signal 292 as indicated at 286. The time 286 is equivalent to the time indicated at 290. This process is repeated for each cycle of CLK signal 292.
FIG. 7 is a timing diagram 300 illustrating one embodiment of the timing of signals for correction circuit 200. Timing diagram 300 includes CLKEXT signal 302 on signal path 112, bCLKEXT signal 304 on signal path 114, DEL_bCLK signal 306 on signal path 212, SMD_OUT signal 296 on signal path 208, AVG signal 308 on signal path 202, CLK signal 292 on signal path 218, and SMD_IN signal 294 on signal path 216.
The DEL_bCLK signal 306 is generated through averaging circuit 210 from bCLKEXT signal 304. The first rising edge 314 of AVE signal 308 is generated from the rising edge 312 of CLKEXT signal 302. The rising edge 314 of AVE signal 308 generates the rising edge 310 of CLK signal 292 through duty restoration circuit 204. The rising edge 310 of CLK signal 292 generates the rising edge 316 of SMD_IN signal 294 through delay circuit 213. The falling edge 324 of CLK signal 292 is generated through duty restoration circuit 204 from the rising edge 332 of DEL_bCLK signal 306.
The rising edge 318 of SMD_OUT signal 296 occurs after a time 322 from the falling edge 324 of CLK signal 292. Time 322 is equal to time 320, which is the time between the rising edge 316 of SMD_IN signal 294 and the falling edge 324 of CLK signal 292. From the rising edge 318 of SMD_OUT signal 296 and the rising edge 326 of CLKEXT signal 302, averaging circuit 214 generates a rising edge 328 of AVE signal 308. The rising edge 328 of AVE signal 308 generates rising edge 330 of CLK signal 292 through duty restoration circuit 204. The process repeats for each cycle of CLKEXT signal 302.
FIG. 8 is a timing diagram 400 illustrating one embodiment of a portion of CLK signal 292. CLK signal 292 includes logic high time portion THn−1 402, logic high time portion THn 406, time between the rising edge of SMD_OUT signal 296 and the rising edge of CLKEXT signal 302 indicated as Dn 404, time between the rising edge of SMD_OUT signal 296 and the rising edge of CLK signal 292 indicated as Cn 408, and time between the rising edge of CLK signal 292 and the rising edge of CLKEXT signal 302 indicated as Rn 410. The “n” indicates the cycle number for CLK signal 292. The relationships for THn−1, THn, Dn, Cn, and Rn are as follows:

Dn=(Tcyc−2·THn−1)  Equation II

Cn=X·Dn  Equation III

Rn=Dn−Cn  Equation IV

THn=δ·Tcyc+Rn  Equation V

where Tcyc is the cycle time of CLKEXT signal 302, δ is the duty cycle of CLKEXT signal 302, and X is the slope of a curve in graph 260 for averaging circuit 220. For example, for a CLKEXT signal with a duty cycle of 40%, δ=0.4, and X=0.4, CLK signal 292 results in: TH0=0.4·Tcyc, TH1=0.52·Tcyc, TH2=0.448·Tcyc, TH3=0.4912·Tcyc, TH4=0.46528·Tcyc, TH5=0.4803·Tcyc TH6=0.4718·Tcyc, etc.
FIG. 9 is a graph 430 illustrating one embodiment of a curve 436 of duty cycle percent 432 verses cycle number 434. Graph 430 indicates the duty cycle of CLK signal 292 after applying Equations II–V. The duty cycle percent 432 of curve 436 oscillates around a center point 438 as the cycle number increases. After several cycles, curve 436 reaches a steady state based on the duty cycle of CLKEXT signal 302, the value of X for averaging circuit 220, and the final value of Rn. The final value of Rn is designated as β. The value for β is calculated as follows:




  
    
      
        β
        =
        
          
            (
            
              1
              -
              
                2
                ·
                δ
              
            
            )
          
          ·
          
            (
            
              
                1
                -
                X
              
              
                2
                -
                X
              
            
            )
          
        
      
    
    
      
        Equation
        ⁢
        
          
        
        ⁢
        VI
      
    
  




Using Equations II–VI, the final amount of duty cycle correction can be determined. For example, for a CLKEXT signal with a duty cycle of 40%, δ=0.4, and an averaging circuit with X=0.6, the duty cycle of the CLKEXT signal can be corrected to 45.7%. The corresponding bCLKEXT signal with a duty cycle of 60%, δ=0.6, and an averaging circuit with X=0.6 can be corrected to 54.3%.
FIG. 10 is a timing diagram 450 illustrating one embodiment of the timing of signals for duty cycle correction circuit 110. Timing diagram 450 includes CLKEXT signal 302 on signal path 112, CLKOUT signal 452 on signal path 132, bCLKEXT signal 304 on signal path 114, bCLKOUT signal 454 on signal path 138, and CLKCOR signal 456 on signal path 116. For this embodiment, X=0.6 for the averaging circuit of correction circuit 130 and the averaging circuit of correction circuit 136. The duty cycle of CLKEXT signal 302 is 40% and the corresponding duty cycle of bCLKEXT signal 304 is 60%.
The CLKEXT signal 302 having a duty cycle of 40% is corrected to generate CLKOUT signal 452 having a duty cycle of 45.7% through correction circuit 130. The bCLKEXT signal 304 having a duty cycle of 60% is corrected to generate bCLKOUT signal 454 having a duty cycle of 54.3% through correction circuit 136. The rising edge 458 of CLKOUT signal 452 generates the rising edge 460 of CLKCOR signal 456 through duty restoration circuit 134. The rising edge 462 of bCLKOUT signal 454 generates the falling edge 464 of CLKCOR signal 456 through duty restoration circuit 134. The process repeats for each cycle of CLKEXT signal 302. The duty cycle of CLKCOR signal 456 is 50%.
FIGS. 11a and 11b are block diagrams illustrating one embodiment of an improved correction circuit 500. Improved correction circuit 500 can be used in place of correction circuit 130. Improved correction circuit 500 can be used in place of correction circuit 136 by swapping the bCLKEXT signal and CLKEXT signal inputs. Improved correction circuit 500 includes correction circuits 502 and 504 and averaging circuit 510. Correction circuit 502 and correction circuit 504 are similar to correction circuit 200. Averaging circuit 510 is similar to averaging circuit 220.
The bCLK input of correction circuit 502 is electrically coupled to bCLKEXT signal path 114 and the CLK input of correction circuit 502 is electrically coupled to CLKEXT signal path 112. The output of correction circuit 502 is electrically coupled to input A of averaging circuit 510 through CLK1OUT signal path 506. The bCLK input of correction circuit 504 is electrically coupled to bCLKEXT signal path 114 and the CLK input of correction circuit 504 is electrically coupled to CLKEXT signal path 112. The output of correction circuit 504 is electrically coupled to input B of averaging circuit 510 through CLK2OUT signal path 508. The output of averaging circuit 510 is electrically coupled to signal path 512.
Correction circuit 504 is enabled one clock cycle after correction circuit 502. The CLKEXT signal is duty cycle corrected by correction circuit 502 to output the CLK1OUT signal to averaging circuit 510 through signal path 506. The CLKEXT signal is also duty cycle corrected by correction circuit 504 to output the CLK2OUT signal to averaging circuit 510 through signal path 508. The CLK2OUT signal is similar to the CLK1OUT signal, but is delayed one clock cycle to the CLK1OUT signal. The CLK1OUT signal and the CLK2OUT signal are averaged by averaging circuit 510. Averaging circuit 510 outputs a corrected clock signal on signal path 512. Improved correction circuit 500 can be used in place of correction circuit 136 to correct the duty cycle of the bCLKEXT signal by swapping the bCLKEXT signal and CLKEXT signal inputs.
FIG. 12 illustrates a graph 550 illustrating one embodiment of a curve 560 of duty cycle percent 552 verses cycle number 554 for improved correction circuit 500. Curve 556 indicates the duty cycle 552 of the CLK1OUT signal on signal path 506. Curve 556 oscillates around a center point 562, such as 50%. Curve 558 indicates the duty cycle 552 of the CLK2OUT signal on signal path 508. Curve 558 also oscillates around center point 562. Curve 558 is similar to curve 556 but is delayed by one clock cycle. Curve 560 indicates the duty cycle 552 of the output signal of averaging circuit 510 on signal path 512. Curve 560 is close to the center point 562. Improved correction circuit 500 results in less jitter in the output signal on signal path 512.
FIG. 13 is a block diagram illustrating one embodiment of an improved duty cycle correction circuit 600. Improved duty cycle correction circuit 600 includes duty cycle correction circuits 110a and 110b. Duty cycle correction circuits 110a and 110b are similar to duty cycle correction circuit 110.
The bCLK input of duty cycle correction circuit 110a is electrically coupled to bCLKEXT signal path 114 and the CLK input of duty cycle correction circuit 110a is electrically coupled to CLKEXT signal path 112. The CLKCOR output of duty cycle correction circuit 110a is electrically coupled to the bCLK input of duty cycle correction circuit 110b through signal path 602. The bCLKCOR output of duty cycle correction circuit 110a is electrically coupled to the CLK input of duty cycle correction circuit 110b through signal path 604. The CLKCOR output of duty cycle correction circuit 110b is electrically coupled to CLKCOR signal path 116 and the bCLKCOR output of duty cycle correction circuit 110b is electrically coupled to bCLKCOR signal path 118.
Any suitable number of duty cycle correction circuits 110 can be coupled together as duty cycle correction circuit 110a and duty cycle correction circuit 110b to provide an improved duty cycle correction circuit. Each successive duty cycle correction circuit 110 further improves on the duty cycle correction of the previous duty cycle correction circuit 110.

## Claims

1. A duty cycle correction system comprising:
a first circuit configured to receive a clock signal and output a corrected clock signal having a first duty cycle closer to 50% than the clock signal;
a second circuit configured to receive an inverted clock signal and output a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal; and
a third circuit configured to receive the corrected clock signal and the corrected inverted clock signal and provide a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal;
wherein the first circuit comprises:
an averaging circuit configured to receive the clock signal and a second signal and provide a third signal;
a duty restoration circuit configured to receive the third signal and the inverted clock signal and provide the corrected clock signal; and
a synchronous mirror delay circuit configured to receive the corrected clock signal and provide the second signal.

2. A duty cycle correction system comprising:
a first circuit configured to receive a clock signal and output a corrected clock signal having a first duty cycle closer to 50% than the clock signal;
a second circuit configured to receive an inverted clock signal and output a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal; and
a third circuit configured to receive the corrected clock signal and the corrected inverted clock signal and provide a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal;
wherein the second circuit comprises:
an averaging circuit configured to receive the inverted clock signal and a second signal and provide a third signal;
a duty restoration circuit configured to receive the third signal and the clock signal and provide the corrected inverted clock signal; and
a synchronous mirror delay circuit configured to receive the corrected inverted clock signal and provide the second signal.

3. The duty cycle correction system of claim 1, wherein the third circuit is configured to provide the first signal having a first transition on a transition of the corrected clock signal and a second transition on a transition of the corrected inverted clock signal.

4. The duty cycle correction system of claim 3, wherein the first transition is a rising edge, the second transition is a falling edge, the transition of the corrected clock signal is a rising edge, and the transition of the corrected inverted clock signal is a rising edge.

5. A duty cycle correction system comprising:
a first circuit configured to receive a clock signal and output a corrected clock signal having a first duty cycle closer to 50% than the clock signal;
a second circuit configured to receive an inverted clock signal and output a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal; and
a third circuit configured to receive the corrected clock signal and the corrected inverted clock signal and provide a first signal having a third duty cycle closet to 50% than the corrected clock signal and the corrected inverted clock signal;
wherein the first circuit comprises:
a first averaging circuit configured to receive the clock signal and a second signal and provide a third signal;
a first duty restoration circuit configured to receive the third signal and the inverted clock signal and provide a fourth signal;
a first synchronous mirror delay circuit configured to receive the fourth signal and provide the second signal;
a second averaging circuit configured to receive the clock signal and a fifth signal and provide a sixth signal;
a second duty restoration circuit configured to receive the sixth signal and the inverted clock signal and provide a seventh signal;
a second synchronous minor delay circuit configured to receive the seventh signal and provide the fifth signal; and
a third averaging circuit configured to receive the fourth signal and the seventh signal and provide the corrected clock signal,
wherein the second averaging circuit, the second duty restoration circuit, and the second synchronous mirror delay circuit are enabled one clock cycle after the first averaging circuit, the first duty cycle correction circuit, and the first synchronous mirror delay circuit.

6. A duty cycle correction system comprising:
a first circuit configured to receive a clock signal and output a corrected clock signal having a first duty cycle closer to 50% than the clock signal;
a second circuit configured to receive an inverted clock signal and output a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal; and
a third circuit configured to receive the corrected clock signal and the corrected inverted clock signal and provide a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal;
wherein the second circuit comprises:
a first averaging circuit configured to receive the inverted clock signal and a second signal and provide a third signal;
a first duty restoration circuit configured to receive the third signal and the clock signal and provide a fourth signal;
a first synchronous mirror delay circuit configured to receive the fourth signal and provide the second signal;
a second averaging circuit configured to receive the inverted clock signal and a fifth signal and provide a sixth signal;
a second duty restoration circuit configured to receive the sixth signal and the clock signal and provide a seventh signal;
a second synchronous mirror delay circuit configured to receive the seventh signal and provide the fifth signal; and
a third averaging circuit configured to receive the fourth signal and the seventh signal and provide the corrected inverted clock signal,
wherein the second averaging circuit, the second duty restoration circuit, and the second synchronous mirror delay circuit are enabled one clock cycle after the first averaging circuit, the first duty cycle correction circuit, and the first synchronous mirror delay circuit.

7. A duty cycle correction system comprising:
a first circuit configured to receive a clock signal and output a corrected clock signal having a first duty cycle closer to 50% than the clock signal;
a second circuit configured to receive an inverted clock signal and output a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal;
a third circuit configured to receive the corrected clock signal and the corrected inverted clock signal and provide a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal;
a fourth circuit configured to receive the corrected clock signal and output a second corrected clock signal having a fourth duty cycle closer to 50% than the corrected clock signal;
a fifth circuit configured to receive the corrected inverted clock signal and output a second corrected inverted clock signal having a fifth duty cycle closer to 50% than the corrected inverted clock signal; and
a sixth circuit configured to receive the second corrected clock signal and the second corrected inverted clock signal and output a second signal having a sixth duty cycle closer to 50% than the second corrected clock signal and the second corrected inverted clock signal.

8. The duty cycle correction system of claim 1, wherein the duty cycle of the first signal is 50%.

9. A method for correcting the duty cycle of a clock signal, the method comprising:
receiving a clock signal;
providing a corrected clock signal having a first duty cycle closer to 50% than the clock signal in response to the clock signal;
receiving an inverted clock signal;
providing a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal in response to the inverted clock signal; and
providing a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal in response to the corrected clock signal and the corrected inverted clock signal;
wherein providing the corrected clock signal comprises:
averaging the clock signal and a second signal to provide a third signal;
generating the corrected clock signal in response to the third signal and the inverted clock signal; and
synchronous mirror delaying the corrected clock signal to provide the second signal.

10. A method for correcting the duty cycle of a clock signal, the method comprising:
receiving a clock signal;
providing a corrected clock signal having a first duty cycle closer to 50% than the clock signal in response to the clock signal;
receiving an inverted clock signal;
providing a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal in response to the inverted clock signal; and
providing a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal in response to the corrected clock signal and the corrected inverted clock signal;
wherein providing the corrected inverted clock signal comprises:
averaging the inverted clock signal and a second signal to provide a third signal;
generating the corrected inverted clock signal in response to the third signal and the clock signal; and
synchronous mirror delaying the corrected inverted clock signal to provide the second signal.

11. The method of claim 9, wherein providing the first signal comprises providing the first signal having a first transition in response to a transition of the corrected clock signal and a second transition in response a transition of the corrected inverted clock signal.

12. The method of claim 11, wherein providing the first signal comprises providing the first signal having a rising edge in response to a rising edge of the corrected clock signal and a falling edge in response to a rising edge of the corrected inverted clock signal.

13. A method for correcting the duty cycle of a clock signal, the method comprising:
receiving a clock signal;
providing a corrected clock signal having a first duty cycle closer to 50% than the clock signal in response to the clock signal;
receiving an inverted clock signal;
providing a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal in response to the inverted clock signal; and
providing a first signal having a third duty cycle closer to 50% tan the corrected clock signal and the corrected inverted clock signal in response to the corrected clock signal and the corrected inverted clock signal;
wherein providing the corrected clock signal comprises;
averaging the clock signal and a second signal to provide a third signal;
generating a fourth signal in response to the third signal and the inverted clock signal;
synchronous mirror delaying the fourth signal to provide the second signal;
averaging the clock signal and a fifth signal to provide a sixth signal one clock cycle after averaging the clock signal and the second signal;
generating a seventh signal in response to the sixth signal and the inverted clock signal one clock cycle after generating the fourth signal;
synchronous mirror delaying the seventh signal to provide the fifth signal; and
averaging the fourth signal and the seventh signal to provide the corrected clock signal.

14. A method for correcting the duty cycle of a clock signal, the method comprising:
receiving a clock signal;
providing a corrected clock signal having a first duty cycle closer to 50% than the clock signal in response to the clock signal;
receiving an inverted clock signal;
providing a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal in response to the inverted clock signal; and
providing a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal in response to the corrected clock signal and the corrected inverted clock signal;
wherein providing the corrected inverted clock signal comprises:
averaging the inverted clock signal and a second signal to provide a third signal;
generating a fourth signal in response to the third signal and the clock signal;
synchronous minor delaying the fourth signal to provide the second signal;
averaging the inverted clock signal and a fifth signal to provide a sixth signal one clock cycle after averaging the inverted clock signal and the second signal;

generating a seventh signal in response to the sixth signal and the clock signal one clock cycle after generating the fourth signal;
synchronous mirror delaying the seventh signal to provide the fifth signal; and
averaging the fourth signal and the seventh signal to provide the corrected inverted clock signal.

15. A method for correcting the duty cycle of a clock signal, the method comprising:
receiving a clock signal;
providing a corrected clock signal having a first duty cycle closer to 50% than the clock signal in response to the clock signal;
receiving an inverted clock signal;
providing a corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal in response to the inverted clock signal;
providing a first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal in response to the corrected clock signal and the corrected inverted clock signal;
providing a second corrected clock signal having a fourth duty cycle closer to 50% than the corrected clock signal in response to the corrected clock signal;
providing a second corrected inverted clock signal having a fifth duty cycle closer to 50% than the corrected inverted clock signal in response to the corrected inverted clock signal; and
providing a second signal having a sixth duty cycle closer to 50% than the second corrected clock signal and the second corrected inverted clock signal in response to the second corrected clock signal and the second corrected inverted clock signal.

16. The method of claim 9, wherein providing the first signal comprises providing the first signal having a duty cycle of 50%.

17. A duty cycle correction system comprising:
means for generating a corrected clock signal in response to a clock signal, the corrected clock signal having a first duty cycle closer to 50% than the clock signal;
means for generating a corrected inverted clock signal in response to an inverted clock signal, the corrected inverted clock signal having a second duty cycle closer to 50% than the inverted clock signal; and
means for generating a first signal in response to the corrected clock signal and the corrected inverted clock signal, the first signal having a third duty cycle closer to 50% than the corrected clock signal and the corrected inverted clock signal;
wherein the means for generating the corrected clock signal comprises:
means for averaging the clock signal and a second signal to provide a third signal;
means for restoring a duty cycle based on the third signal and the inverted clock signal to provide the corrected clock signal; and
means for synchronous mirror delaying the corrected clock signal to provide the second signal.

18. The duty cycle correction system of claim 17, wherein the third duty cycle is approximately 50%.