Adjusting circuit of duty cycle and its method
Granted 27 Aug 2013 · 1 office action
Assignee: IPGoal Microelectronics (SiChuan) Co., Ltd.
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Guojun Zhu · Examiner: Cassandra Cox · AU 2816 · TC 2800
Life of the application
8 dated eventsAbstract
An adjusting circuit of duty cycle includes an edge detecting circuit, a flip-flop connected to the edge detecting circuit, a feedback control circuit connected to the flip-flop and a charge pump circuit connected to the feedback control circuit. The edge detecting circuit detects an edge of an inputted clock signal. The flip-flop sets an outputting terminal thereof at a first level according to a clock signal outputted by the edge detecting circuit. The charge pump circuit controls a duration of the first level outputted the outputting terminal of the flip-flop by charging and discharging a capacitor. The flip-flop sets the outputting terminal thereof at a second level contrary to the first level according to a clock signal outputted by the feedback control circuit. An adjusting method of duty cycle is also disclosed. The adjusting circuit of duty cycle has a simple structure, a stable performance and a fast speed.
Description
5 parts›BACKGROUND OF THE PRESENT INVENTION
1. Field of Invention
The present invention relates to an adjusting circuit and its method, and more particularly to an adjusting circuit of duty cycle able to produce an arbitrary duty cycle and a method thereof.
2. Description of Related Arts
The adjusting circuit of duty cycle plays an important role in the transmission of high-speed clock signals. The conventional adjusting circuits of duty cycle function through adjusting the turn thresholds of signal transmission, wherein the duty cycle is adjusted by raising or reducing the turn threshold to change the pulse widths of high and low levels.
However, the conventional adjusting circuit of duty cycle usually has a complicated structure and needs peripheral circuits to provide biasing, which complicates the clock path and brings difficulty to the overall arrangement of the integrated circuit.
›SUMMARY OF THE PRESENT INVENTION
Thus it is necessary to provide an adjusting circuit of duty cycle which has a simple structure and is able to produce an arbitrary duty cycle and a method thereof.
The adjusting circuit of duty cycle comprises an edge detecting circuit, a flip-flop connected to the edge detecting circuit, a feedback control circuit connected to the flip-flop and a charge pump circuit connected to the feedback control circuit. The edge detecting circuit is for detecting an edge of an inputted clock signal. An outputting terminal of the flip-flop is set at a first level by the flip-flop according to a clock signal outputted by the edge detecting circuit. The charge pump circuit controls a duration of the first level outputted by the outputting terminal of the flip-flop by charging and discharging a capacitor. The outputting terminal of the flip-flop is provided at a second level contrary to the first level by the flip-flop according to a clock signal outputted by the feedback control circuit.
An adjusting method of duty cycle comprises following steps of:
inputting a first clock signal into an edge detecting circuit by a clock signal inputting terminal;
detecting an edge of the first clock signal, outputting a second clock signal corresponding to the first clock signal and sending the second clock signal into a flip-flop by the edge detecting circuit;
according to the second clock signal, setting an outputting terminal of the flip-flop at a first level by the flip-flop; and
charging and discharging a capacitor by a charge pump circuit so as to control a duration of the first level of the outputting terminal of the flip-flop, setting the outputting terminal of the flip-flop at a second level contrary to the first level by the flip-flop according to a clock signal outputted by a feedback control circuit.
Compared to conventional arts, the adjusting circuit of duty cycle and its method according to the present invention control the duration of the first level and a duration of the second level of the outputted clock signals through detecting the edge of the inputted clock signal by the edge detecting circuit and controlling proportions of a charging current and a discharging current of the charge pump circuit, so as to control a duty cycle of the outputted clock signals. The adjusting circuit of duty cycle of the present invention has a simple structure, a stable adjusting performance and a fast operation speed.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an adjusting circuit of duty cycle according to a preferred embodiment of the present invention.
FIG. 2 is a sketch view of the adjusting circuit of duty cycle according to the preferred embodiment of the present invention.
FIG. 3 is a flow chart of an adjusting method of duty cycle according to the preferred embodiment of the present invention.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT · 1 of 2
Referring to FIG. 1 and FIG. 2 of the drawings, according to a preferred embodiment of the present invention, an adjusting circuit of duty cycle comprises a clock signal inputting terminal CLKI, an edge detecting circuit connected to the clock signal inputting terminal CLKI, a flip-flop connected to the edge detecting circuit, a first outputting terminal CLKO connected to the flip-flop, a second outputting terminal CLKO_N, a feedback control circuit and a charge pump circuit connected to the feedback control circuit. The edge detecting circuit comprises an inverter INV, an exclusive-OR gate (XOR) connected to the inverter INV. The feedback control circuit comprises a first switching element connected to the first outputting terminal CLKO, a second switching element, a third switching element, a fourth switching element, a fifth switching element and a sixth switching element. The charge pump circuit comprises a charging current source I_charge, a discharging current source I_discharge, a seventh switching element connected to the second outputting terminal CLKO_N, an eighth switching element connected to the second outputting terminal CLKO_N and a capacitor C connected to the seventh switching element and the eighth switching element.
According to the preferred embodiment of the present invention, the flip-flop is a RS flip-flop; the first switching element is a first field effect transistor (FET) MP 1 ; the second switching element is a second FET MP 2 ; the third switching element is a third FET MP 3 ; the fourth switching element is a fourth FET MN 1 ; the fifth switching element is a fifth FET MN 2 ; the sixth switching element is a sixth FET MN 3 ; the seventh switching element is a seventh FET MP 4 ; the eighth switching element is an eighth switching FET MN 4 . The first FET MP 1 , the second FET MP 2 , the third FET MP 3 and the seventh FET MP 4 are p-channel metal-oxide-semiconductor (PMOS) FETs. The fourth FET MN 1 , the fifth FET MN 2 , the sixth FET MN 3 and the eighth FET MN 4 are n-channel metal-oxide-semiconductor (NMOS) FETs. The switching elements can be other switching devices or circuits having similar functions based on practical needs in other preferred embodiments of the present invention.
The edge detecting circuit is for detecting an edge of a first clock signal inputted by the clock signal inputting terminal CLKI, outputting a second clock signal corresponding to the first clock signal and sending the second clock signal into the RS flip-flop. The RS flip-flop receives the second clock signal through a terminal R and sets a non-inverting outputting terminal Q at a first level according to the second clock signal. Then the RS flip-flop receives a clock signal outputted by the feedback control circuit through a terminal S and sets the terminal Q at a second level contrary to the first level according to the clock signal outputted by the feedback control circuit. The feedback control circuit is for controlling a switching between the first level and the second level of clock signals outputted by the terminal Q of the RS flip-flop. The charge pump circuit is for detecting a duty cycle of the clock signal outputted by the terminal Q of the RS flip-flop, converting the detected duty cycle into a voltage signal and then controlling durations of the first level and the second level of the clock signals outputted by the terminal Q through the feedback control circuit. The clock signal outputted by the terminal Q of the RS flip-flop and a clock signal outputted by an inverting inputting terminal Qn are mutually a pair of differential signals.
According to the preferred embodiment of the present invention, the edge detecting circuit detects a leading edge of the first clock signal inputted by the clock signal inputting terminal CLKI, outputs the second clock signal and sends the second clock signal into the RS flip-flop; the RS flip-flop receives the second clock signal through the R terminal and sets the terminal Q at a high level according to the second clock signal; then the RS flip-flop receives the clock signal outputted by the feedback control circuit through the terminal S and sets the terminal Q at a low level according to the clock signal outputted by the feedback control circuit; the feedback control circuit controls a switching between the high level and the low level of the clock signals outputted by the terminal Q of the RS flip-flop; the charge pump circuit detects the duty cycle of the clock signal outputted by the terminal Q of the RS flip-flop, converts the detected duty cycle into the voltage signal and controls a duration of the high level of the clock signal outputted by the terminal Q through the feedback control circuit.
According to the preferred embodiment of the present invention, specific connections of the adjusting circuit of duty cycle are following. An inputting terminal of the inverter INV of the edge detecting circuit and a first inputting terminal of the XOR gate XOR are connected to the clock signal inputting terminal CLKI; an outputting terminal of the inverter INV is connected to a second inputting terminal of the XOR gate XOR; an outputting terminal of the XOR gate XOR is connected to a first inputting terminal R of the RS flip-flop; a non-inverting outputting terminal Q of the RS flip-flop is connected to the first outputting terminal CLKO; an inverting outputting terminal Qn of the RS flip-flop is connected to the second outputting terminal CLKO_N. A grid electrode of the seventh FET MP 4 and a grid electrode of the eighth FET MN 4 are connected to the second outputting terminal CLKO_N; a source electrode of the seventh FET MP 4 is connected to a first terminal of the charging current source I_charge; a drain electrode of the seventh FET MP 4 is connected to a drain electrode of the eighth FET MN 4 , a first terminal of the capacitor C and a grid electrode of the fourth FET MN 1 ; a source electrode of the eighth FET MN 4 is connected to a first terminal of the discharging current source I_discharge. A grid electrode of the first FET MP 1 is connected to the first outputting terminal CLKO; a drain electrode of the first FET MP 1 is connected to a grid electrode of the second FET MP 2 , a grid electrode of the fifth FET MN 2 and a drain electrode of the fourth FET MN 1 ; a drain electrode of the second FET MP 2 is connected to a grid electrode of the third FET MP 3 , a grid electrode of the sixth FET MN 3 and a drain electrode of the fifth FET MN 2 ; a drain electrode of the third FET MP 3 is connected to a second inputting terminal S of the RS flip-flop and a drain electrode of the sixth FET MN 3 . A second terminal of the charging current source I_charge, a source electrode of the first FET MP 1 , a source electrode of the second FET MP 2 and a source electrode of the third FET MP 3 are all connected to a power source terminal AVD; a second terminal of the discharging current source I_discharge, a second terminal of the capacitor C, a source electrode of the fourth FET MN 1 , a source electrode of the fifth FET MN 2 and a source electrode of sixth FET MN 3 are all connected to an earth terminal AVS.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT · 2 of 2
According to the preferred embodiment of the present invention, working principles of the adjusting circuit of duty cycle are following. The edge detecting circuit detects a leading edge of a clock signal inputted by the clock signal inputting terminal CLKI. The edge detecting circuit outputs a short pulse relative to the leading edge of the inputted clock signal. When the edge detecting circuit outputs a clock signal having a high level and the terminal R of the RS flip-flop is high, a clock signal outputted by the terminal Q keeps at a high level, i.e., the RS flip-flop receives the clock signal outputted by the edge detecting signal through the terminal R and sets the terminal Q at a high level according to the clock signal outputted by the edge detecting circuit. The charge pump circuit detects a duty cycle of the clock signal outputted by the terminal Q of the RS flip-flop by charging and discharging the capacitor C, converts the detected duty cycle into a voltage signal and controls a duration of the high level of the clock signal outputted by the terminal Q through the feedback control circuit. When the first outputting terminal CLKO is at a high level and the second outputting terminal CLKO_N is at a low level, the charge pump circuit charges the capacitor C; a voltage of the grid electrode of the third FET MN 1 increases and a voltage of the drain electrode thereof decreases. When the voltage of the drain electrode of the third FET MN 1 decreases to a level of an inverting voltage of the inverter INV comprising the second FET MP 2 and the fifth FET MN 2 , the terminal S of the RS flip-flop is 0 and the clock signal outputted by the first outputting terminal CLKO changes from a high level into a low level.
The charge pump circuit has a charging current source I_charge and a discharging current source I_discharge. Supposing that the duration of the high level of the clock signal outputted by the first outputting terminal CLKO is Th and the duration of the low level thereof is T 1 , when the adjusting circuit of duty cycle is working stably,
I _charge* Th=I _discharge* T 1
Thus the duty cycle of the outputted clock signal is
Th /( Th+T 1)= I _discharge/( I _discharge+ I _charge)
Thus the adjusting circuit of duty cycle is able to produce an outputting clock having an arbitrary duty cycle by controlling proportions of a charging current and a discharging current.
Referring to FIG. 3 , according to the preferred embodiment of the present invention, the adjusting method of duty cycle comprises following steps of:
step one, inputting a first clock signal into an edge detecting circuit by a clock signal inputting terminal CLKI;
step two, detecting an edge of the first clock signal, outputting a second clock signal corresponding to the first clock signal and sending the second clock signal into a RS flip-flop by the edge detecting circuit;
step three, setting a terminal Q of the RS flip-flop at a first level by the RS flip-flop according to the second clock signal;
step four, charging and discharging a capacitor C by a charge pump circuit, controlling a duration of the first level outputted by the terminal Q of the RS flip-flop through a feedback control circuit and setting the terminal Q at a second level contrary to the first level by the RS flip-flop according to a clock signal outputted by the feedback control circuit;
step five, adjusting proportions of currents of a charging current source I_charge and a discharging current source I_discharge to produce an outputting clock signal having a required duty cycle.
The adjusting circuit of duty cycle and its method according to the present invention control the durations of the first level and the second level of the outputted clock signal through detecting the edge of the inputted clock signal by the edge detecting circuit and controlling the proportions of the charging current and discharging current of the charge pump circuit, so as to control the duty cycle of the outputted clock signal. The adjusting circuit of duty cycle of the present invention has a simple structure, a stable adjusting performance and a fast operation speed.
Claims as granted
9 claimsLog in to read the claims of this application.
Log in to unlockClassifications
3 codes- H03K3/017
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock