Low-power-consumption constant-on-time timing circuit design method and timing circuit

10886899 ยท 2021-01-05

Assignee

Inventors

Cpc classification

International classification

Abstract

Provided is a low-power-consumption Constant-On-Time (COT) timing circuit design method and a timing circuit. A Resistor-Capacitor (RC) circuit is adopted for timing, to eliminate static power consumption of a timer. A specific structure includes a fourth P-channel Metal Oxide Semiconductor (MOS) transistor M4 of which a source is connected to an input voltage VIN, a gate is connected to a COT control terminal TON_CONTROL and a drain is connected with one end of a fourth resistor R4. The other end of the fourth resistor R4 is connected with one end of a fourth capacitor C4. The other end of the fourth capacitor C4 is grounded. A negative input of a comparator VCMP is connected with a reference voltage, and a positive input is connected between the fourth capacitor C4 and the fourth resistor R4.

Claims

1. A method for operating a Constant-On-Time (COT) timing circuit, comprising: making a COT timing circuit that is a Resistor-Capacitor (RC) circuit, wherein the RC circuit comprises at least a first stage circuit and a second stage circuit, wherein the first stage circuit comprises a first capacitor and a first resistor, the second stage circuit comprises a second capacitor and a second resistor; and charging the first capacitor with a charging current in a manner that a magnitude of the charging current is equal to a magnitude of a current passing through the resistor, and the charging current and a voltage input to the RC circuit maintains a first-order correlation prior to a voltage output from the first capacitor equals a reference voltage, wherein the reference voltage is proportional to the output voltage of the RC circuit.

2. The method according to claim 1, wherein a magnitude of the charging current is equal to a magnitude of a current passing through the first resistor so that a timing length of the RC circuit and a duty ratio of the RC circuit maintains a first-order correlation.

3. The method according to claim 2, further comprising: connecting a resistor between the first stage circuit and the second stage circuit, wherein a first end of the resistor is connected to a line disposed between the first resistor and the first capacitor, and a second end of the resistor is connected to a line disposed between the second resistor and the second capacitor.

4. The method according to claim 1, wherein the RC circuit comprises a third stage circuit.

5. A low-power-consumption Constant-On-Time (COT) timing circuit, comprising: a first stage circuit, a second stage circuit, a first inter-stage resistor disposed between the first stage circuit and the second stage circuit, and a comparator, wherein the first stage circuit comprises a first P-channel Metal Oxide Semiconductor (PMOS) transistor of which a source is connected to an input voltage, a gate is connected to a COT control terminal (TON_CONTROL), and a drain is connected with a first end of a first resistor, wherein a second end of the first resistor is connected to a first end of a first capacitor, and a second end of the first capacitor is grounded, a negative input of a comparator is connected with a reference voltage, and a positive input of the comparator is connected to a line that connects the second end of the first resistor and the first end of the first capacitor, wherein the second stage circuit comprises a second PMOS transistor of which a source is connected to the input voltage, a gate is connected to the COT control terminal, and a drain is connected with the first end of a second resistor, wherein a second end of the second resistor is connected to the first end of a second capacitor, and the second end of the second capacitor is grounded, wherein a first end of the first inter-stage resistor is connected to the line that connects the second end of the first resistor and the first end of the first capacitor, and a second end of the first inter-stage resistor is connected to a line that connects the second end of the second resistor and the first end of the second capacitor.

6. The low-power-consumption COT timing circuit according to claim 5, further comprising a third stage circuit and a second inter-stage resistor, wherein the third stage circuit comprises a third PMOS transistor of which a source is connected to the input voltage, a gate is connected to the COT control terminal, and a drain is connected with a first end of a third resistor, wherein a second end of the third resistor is connected to the first end of a third capacitor, and a second end of the third capacitor is grounded, wherein a first end the second inter-stage resistor is connected to a line that connects the second end of the second resistor and the first end of the second capacitor, and a second end of the second inter-stage resistor is connected to a line that connects the second end of the third resistor and the first end of the third capacitor.

7. The low-power-consumption COT timing circuit according to claim 5, further comprising a switch connected in parallel with the first capacitor, wherein the switch is connected with the COT control terminal and is controlled to turn off or turn on by the COT control terminal.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is an implementation circuit diagram of a common timer according to the prior art.

(2) FIG. 2 is a schematic diagram of a timing circuit according to an embodiment of the present invention.

(3) FIG. 3 is a schematic diagram of a timing circuit according to an embodiment of the present invention.

(4) FIG. 4 is a schematic diagram of a timing circuit according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

(5) In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will further be described below in combination with the accompanying drawings and embodiments in detail. It should be understood that the specific embodiments described here are only adopted to explain the present invention and not intended to limit the present invention.

(6) Any characteristic disclosed in the description (including the abstract and the accompanying drawings) may be replaced with another equivalent or alternative characteristic with a similar purpose, unless otherwise stated. That is, each characteristic is merely an example in a series of equivalent or similar characteristics, unless otherwise stated.

(7) For a low-power-consumption COT timing circuit design method, a core thought of the present invention is specifically as follows: an RC circuit is adopted for timing, to eliminate static power consumption of a timer. A low-power-consumption timer adopts the RC circuit for timing. In such a manner, the static power consumption of the timer is eliminated by the circuit, and only switching loss in a resistor R during charging of a capacitor is required to be considered.

(8) However, since there is no first-order correlation between time t required by the RC circuit to charge the capacitor to a voltage V.sub.OUT*K2 and a duty ratio

(9) V OUT V IN ,
a COT working frequency determined by the timer decreases along with increase of the duty ratio to further bring the hazard of audible noise.

(10) For overcoming this shortcoming, the method further includes that a current is injected a capacitor of the RC circuit in a manner that a magnitude of the injected current is equal to a magnitude of a current passing through R in the RC circuit, thereby implementing first-order strong correlation between a timing length of an RC timer and a duty ratio and further achieving independence between the working frequency and the duty ratio.

(11) Another relatively specific method includes that: the RC circuit adopts an N-stage RC circuit including an RC circuit of the first stage and RC circuits of other stages except the RC circuit of the first stage, and the RC circuits of other stages compensate a capacitor charging and discharging circuit of the RC circuit of the first stage to keep first-order correlation between a capacitor charging current and VIN before capacitor voltage output of the RC circuit of the first stage is V.sub.OUT*K2, thereby achieving independence between the working frequency and the duty ratio, N being a natural number greater than or equal to 2.

(12) More specifically, as a solution, a specific method for keeping first-order correlation between the capacitor charging current and VIN before the capacitor voltage output of the RC circuit of the first stage is V.sub.OUT*K2 includes that a current is injected into a capacitor of the RC circuit of the first stage in a manner that a magnitude of the injected current is equal to a magnitude of a current passing through R in the RC circuit of the first stage, thereby implementing first-order strong correlation between the timing length of the RC timer and the duty ratio and further achieving independence between the working frequency and the duty ratio.

(13) As a specific solution, a specific method for injecting the current into the capacitor of the RC circuit of the first stage in a manner that the magnitude of the injected current is equal to the magnitude of the current passing through R in the RC circuit of the first stage includes that the current is injected into the capacitor of the RC circuit of the first stage through a resistor of which two ends are connected between R and C of the RC circuit of one stage and between R and C of the RC circuit of the other stage between the RC circuits of two adjacent stages in a manner that the magnitude of the injected current is equal to the magnitude of the current passing through R in the RC circuit of the first stage.

(14) In the technical solutions of the present invention, N is equal to 2 or 3.

(15) Based on the design method, the present invention provides a low-power-consumption COT timing circuit, which includes a fourth PMOS transistor M4 of which a source is connected to an input voltage VIN, a gate is connected to a COT control terminal TON_CONTROL and a drain is connected with one end of a fourth resistor R4. The other end of the fourth resistor R4 is connected with one end of a fourth capacitor C4. The other end of the fourth capacitor C4 is grounded. A negative input of a comparator VCMP is connected with a reference voltage, and a positive input is connected between the fourth capacitor C4 and the fourth resistor R4.

(16) As shown in FIG. 2, a step signal from TON_CONTROL to GND is equivalent to a step signal of adding VIN to the fourth resistor R4, an output voltage V.sub.O=V.sub.OUT*K2 of the fourth capacitor C4 meets (source and drain voltage drops of the MOS transistor are neglected):

(17) V O = V IN ( 1 - e - t R 4 .Math. C 4 ) , Formula 3
and

(18) time t required by the fourth capacitor C4 to output a voltage V.sub.O meets:

(19) t = - R 4 .Math. C 4 .Math. ln ( 1 - V O V IN ) . Formula 4

(20) Taylor expansion is performed on Formula 4 to obtain:

(21) t = - R 4 .Math. C 4 .Math. .Math. n = 1 ( - 1 ) 2 n + 1 n ( V O V IN ) n = R 4 .Math. C 4 .Math. [ V O V IN + 1 2 ( V O V IN ) 2 + 1 3 ( V O V IN ) 3 + .Math. + 1 n ( V O V IN ) n ] . Formula 5

(22) A working frequency f is:

(23) f = 1 t / D = V IN / V O - R 4 .Math. C 4 .Math. .Math. n = 1 ( - 1 ) 2 n + 1 n ( V O V IN ) n = 1 R 4 .Math. C 4 .Math. .Math. n = 1 1 n ( V O V IN ) n - 1 . Formula 6

(24) Herein, n is a natural number.

(25) Timing of such a timer with a single RC delay circuit of one stage does not form first-order correlation with a duty ratio, so that the working frequency f is negatively correlated with the duty ratio.

(26) As a further improvement of the circuit, as shown in FIG. 3, the circuit further includes a fifth PMOS transistor M5 of which a source is connected to the input voltage VIN, a gate is connected to the COT control terminal TON_CONTROL and a drain is connected with one end of a fifth resistor R5. The other end of the fifth resistor R5 is connected with one end of a fifth capacitor C5. The other end of the fifth capacitor C5 is grounded. The timing circuit further includes a first-stage current injection resistor R_C4 of which one end is connected between the fifth resistor R5 and the fifth capacitor C5 and the other end is connected between the fourth resistor R4 and the fourth capacitor C4.

(27) Time required by the one-stage RC timer to charge the fourth capacitor C4 to V.sub.OUT*K2 does not form first-order correlation with the duty ratio because a charging current I.sub.R4 of the fourth capacitor C4 is exponentially attenuated with time. If a current I.sub.R_C4 is injected into the fourth capacitor C4 through the first-stage current injection resistor R_C4 and its magnitude is equal to a magnitude of the current I.sub.R4 attenuated with time, a timing length of the RC timer may form first-order strong correlation with the duty ratio, thereby achieving independence between the working frequency and the duty ratio.

(28) Timing t of a two-stage RC timer shown in FIG. 3 is analyzed (the source and drain voltage drops of the MOS transistor are neglected):

(29) I R 4 = V IN - V O R 4 = V IN - V IN ( 1 - e - t R 4 .Math. C 4 ) R 4 = V IN R 4 .Math. e - t R 4 .Math. C 4 . Formula 7

(30) Taylor expansion is performed and a cubic term is kept to obtain:

(31) I R 4 = V IN R 4 .Math. e - t R 4 .Math. C 4 = V IN R 4 .Math. .Math. n = 0 ( - - t R 4 .Math. C 4 ) n n ! = V IN R 4 .Math. ( 1 - t R 4 .Math. C 4 + 1 2 ( t R 4 .Math. C 4 ) 2 - 1 6 ( t R 4 .Math. C 4 ) 3 ) . Formula 8

(32) A voltage of a node V2 between the fifth resistor R5 and the fifth capacitor C5 is still considered as VIN to charge C2 through R2 without considering influence of the circuit on a node voltage of C5 from R_C4, and then:

(33) V 2 = V IN ( 1 - e - t R 5 .Math. C 5 ) . Formula 9

(34) Formula 9 and Formula 3 may be combined to obtain:

(35) 0 I R_C 4 = V 2 - V O R_C 4 = V IN R_C 4 ( e - t R 4 .Math. C 4 - e - t R 5 .Math. C 5 ) . Formula 10

(36) The charging current of the capacitor C4 is a superposition of I.sub.R4 and I.sub.R_C4: it is set that R_C4=R4, and

(37) I C 4 = I R 4 + I R_C 4 = V IN R 4 ( 2 .Math. e - t R 4 .Math. C 4 - e - t R 5 .Math. C 5 ) . Formula 11

(38) Taylor expansion is performed and a cubic term is kept to obtain:

(39) I C 4 = V IN R 4 ( 2 .Math. ( 1 - t R 4 .Math. C 4 + 1 2 ( t R 4 .Math. C 4 ) 2 - 1 6 ( t R 4 .Math. C 4 ) 3 ) - ( 1 - t R 5 .Math. C 5 + 1 2 ( t R 5 .Math. C 5 ) 2 - 1 6 ( t R 5 .Math. C 5 ) 3 ) ) . Formula 12

(40) Compilation is performed to obtain:

(41) I C 4 = V IN R 4 ( 1 + t ( - 2 R 4 .Math. C 4 + 1 R 5 .Math. C 5 ) + t 2 ( ( 1 R 4 .Math. C 4 ) 2 - 1 2 ( 1 R 5 .Math. C 5 ) 2 ) + t 3 ( - 1 3 ( 1 R 4 .Math. C 4 ) 3 + 1 6 ( 1 R 5 .Math. C 5 ) 3 ) ) . Formula 13

(42) It is set that R5.Math.C5=R4.Math.C4/2, and then a first-order term of t is eliminated to obtain:

(43) I C 4 = V IN R 4 ( 1 - ( 1 R 4 .Math. C 4 ) 2 t 2 + ( 1 R 4 .Math. C 4 ) 3 t 3 ) . If t R 4 .Math. C 4 , I C 4 = V IN R 4 ( 1 - ( 1 R 4 .Math. C 4 ) 2 t 2 + ( 1 R 4 .Math. C 4 ) 3 t 3 ) , Formula 14
I.sub.C4 in Formula 14 is approximately considered as a constant, and the time t required by the fourth capacitor C4 to charge the voltage to V.sub.OUT*K2 meets, if tR4.Math.C4:

(44) t = V OUT .Math. K 2 .Math. C 4 V IN R 4 ( 1 - ( 1 R 4 .Math. C 4 ) 2 t 2 + ( 1 R 4 .Math. C 4 ) 3 t 3 ) V OUT .Math. K 2 .Math. R 4 .Math. C 4 V IN . Formula 15

(45) If the duty ratio is

(46) V OUT V IN ,
a period T corresponding to the COT working frequency f determined by the timing circuit meets:

(47) T = t D = V OUT .Math. K 2 .Math. C 4 V IN R 4 ( 1 - ( 1 R 4 .Math. C 4 ) 2 t 2 + ( 1 R 4 .Math. C 4 ) 3 t 3 ) .Math. V IN V OUT = K 2 .Math. R 4 .Math. C 4 ( 1 - ( 1 R 4 .Math. C 4 ) 2 t 2 + ( 1 R 4 .Math. C 4 ) 3 t 3 ) .Math. R 4. Formula 16

(48) A relationship between period accuracy and

(49) V OUT .Math. K 2 V IN
is analyzed in combination with Formula 15 and Formula 16:

(50) T = K 2 .Math. R 4 .Math. C 4 ( 1 - ( V OUT .Math. K 2 V IN ) 2 + ( V OUT .Math. K 2 V IN ) 3 ) . Formula 17

(51) R5.Math.C5<R4.Math.C4/2 of the two-stage RC timer may bring the following condition.

(52) At the start of charging of the capacitor C4, a current for compensation from R_C4 to C4 is excessively high, and charging is accelerated. Therefore, a third-stage RC branch circuit is added to the circuit, current division is performed from the node V2 at the start of charging of C4, and output ranges, linearly related to time, of the current for compensation from R_C4 to C4 and V.sub.O is reduced. As shown in FIG. 4, a specific circuit structure is as follows.

(53) The circuit further includes a sixth PMOS transistor M6 of which a source is connected to the input voltage VIN, a gate is connected to the COT control terminal TON_CONTROL and a drain is connected with one end of a sixth resistor R6. The other end of the sixth resistor R6 is connected with one end of a sixth capacitor C6. The other end of the sixth capacitor C6 is grounded. The timing circuit further includes a second-stage current division resistor R_C5 of which one end is connected between the sixth resistor R6 and the sixth capacitor C6 and the other end is connected between the fifth resistor R5 and the fifth capacitor C5.

(54) The circuit further includes a fourth switch K4 connected in parallel with the fourth capacitor C4, and the fourth switch K4 is connected with the COT control terminal TON_CONTROL, and is controlled to turn off or turn on by the COT control terminal TON_CONTROL to rapidly discharge voltages at the two ends of the fourth capacitor C4.

(55) In addition, as a further improvement, the circuit further includes a fifth switch K5 connected in parallel with the fifth capacitor C5, and the fifth switch K5 is connected with the COT control terminal TON_CONTROL, and is controlled to turn off or turn on through the COT control terminal TON_CONTROL to rapidly discharge voltages at the two ends of the fifth capacitor C5.

(56) In addition, as a further improvement, the circuit further includes a sixth switch K6 connected in parallel with the sixth capacitor C6, and the sixth switch K6 is connected with the COT control terminal TON_CONTROL, and is controlled to turn off or turn on through the COT control terminal TON_CONTROL to rapidly discharge voltages at the two ends of the sixth capacitor C6.

(57) Three specific circuit structures are described above, including a timing circuit with a single RC circuit of one stage, a timing circuit with RC circuits of two stages and a timing circuit with RC circuits of three stages. All of them are specific circuit structures designed on the basis of the low-power-consumption COT timing method. Those skilled in the art may also design circuit structures in other forms according to various circuit theories in combination with the low-power-consumption COT timing method. Circuits, in specific forms, designed on the basis of the design thought of the low-power-consumption COT timing method of the present invention shall all fall within the scope of protection of the present invention.