Clock generation circuit, switching power supply device, and semiconductor device
10910026 ยท 2021-02-02
Assignee
Inventors
Cpc classification
G11C7/222
PHYSICS
G11C5/063
PHYSICS
H03L7/14
ELECTRICITY
G06F1/04
PHYSICS
International classification
G11C7/22
PHYSICS
G05F1/00
PHYSICS
G06F1/04
PHYSICS
Abstract
A clock generation circuit, which generates an output clock using an external clock as a target clock, includes a circuit arranged to change the output clock to high level in synchronization with an up edge of the target clock, circuits arranged to generate first and second ramp voltages with a period of interval between neighboring up edges of the target clock, and a circuit arranged to hold a comparison voltage corresponding to a second ramp voltage when an up edge of the target clock occurs. The level of the output clock is changed from high level to low level based on a comparison result between the first ramp voltage and the comparison voltage.
Claims
1. A clock generation circuit comprising: an external clock input terminal to which an external clock is input or not input; an internal clock generation unit arranged to generate an internal clock, the clock generation circuit generating an output clock based on the external clock or the internal clock, wherein when the external clock is input to the external clock input terminal, regardless of a duty ratio of the external clock, a duty ratio of the output clock is set to a reference duty ratio, when the external clock is not input to the external clock input terminal, the output clock is generated to have a reference frequency and the reference duty ratio based on the internal clock, and when the external clock having a first frequency and a first duty ratio is input to the external clock input terminal, regardless of whether or not the first frequency is equal to the reference frequency and regardless of whether or not the first duty ratio is equal to the reference duty ratio, the output clock is generated to have the first frequency and the reference duty ratio based on the external clock.
2. The clock generation circuit according to claim 1, wherein when the external clock having a second frequency and a second duty ratio is input to the external clock input terminal, regardless of whether or not the second frequency is equal to the reference frequency and regardless of whether or not the second duty ratio is equal to the reference duty ratio, the output clock is generated to have the second frequency and the reference duty ratio based on the external clock, the first and second frequencies are different from each other, and the first and second duty ratios are different from each other.
3. The clock generation circuit according to claim 1, wherein when the external clock is input to the external clock input terminal, level of the output clock is changed from a first level to a second level in synchronization with a predetermined level change of the external clock and thereafter, based on a ramp voltage corresponding to the external clock, the level of the output clock is changed from the second level to the first level.
4. The clock generation circuit according to claim 1, wherein when the external clock is input to the external clock input terminal, the clock generation circuit uses the external clock as a target clock and generates the output clock from the target clock, and the clock generation circuit includes: a clock output circuit arranged to change level of the output clock from a first level to a second level in synchronization with a predetermined level change of the target clock; and a ramp voltage generation circuit arranged to generate a first ramp voltage and a second ramp voltage whose respective voltage values change with a period of interval between neighboring predetermined level changes of the target clock, and the clock output circuit changes the level of the output clock from the second level to the first level based on a signal corresponding to the first and second ramp voltages.
5. The clock generation circuit according to claim 4, wherein when the external clock is not input to the external clock input terminal, the internal clock is used as the target clock to generate the output clock.
6. A switching power supply device comprising the clock generation circuit according to claim 1, wherein the output clock generated by the clock generation circuit is used to switch an input voltage, thereby to generate an output voltage.
7. A switching power supply device according to claim 6, further comprising a plurality of output stage circuits arranged to switch the input voltage, wherein the plurality of output stage circuits are used to generate one or more output voltages, and the output clock is used to drive the plurality of output stage circuits at different phases.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(21) Hereinafter, examples of embodiment of the present invention are specifically described with reference to the drawings. In the drawings that are referred to, the same part is denoted by the same numeral or symbol so that overlapping description of the same part is omitted as a rule. Note that in this specification, for simple description, name of information, signal, physical quantity, member, or the like may be omitted or abbreviated by using numeral or symbol of the information, signal, physical quantity, member, or the like. For instance, an external clock input terminal denoted by EX in later description may be referred to as an external clock input terminal EX or may be abbreviated as an input terminal EX, both of which indicate the same thing.
(22) First, some technical terms used in this embodiment are defined below.
(23) A ground means a conductive part at a reference potential of 0 V (zero volts) or the reference potential itself. In each embodiment, a voltage without a specific reference indicates a potential with respect to the ground.
(24) A line has the same meaning as wiring.
(25) A level means a potential level. Regarding an arbitrary signal or voltage, high level means a potential higher than low level.
(26) In an arbitrary signal or voltage, switching from low level to high level is referred to as an up edge, and timing of switching from low level to high level is referred to as up edge timing. Similarly, in an arbitrary signal or voltage, switching from high level to low level is referred to as a down edge, and timing of switching from high level to low level is referred to as down edge timing.
(27) An arbitrary clock such as an external clock, an internal clock, or an output clock described later is a rectangular wave signal that periodically becomes high level and low level. A ratio of a high level length to one period length in each period of an arbitrary clock is referred to as a duty ratio.
(28) In an arbitrary transistor constituted as a field-effect transistor (FET), ON state means a conductive state between drain and source of the transistor, while OFF state means a non-conductive state (cutoff state) between drain and source of the transistor.
(29) An arbitrary switch is constituted of one or more field-effect transistors (FET). When a certain switch is in ON state, the terminals of the switch are conductive. In contrast, when a certain switch is in OFF state, the terminals of the switch are non-conductive. In the following description, for an arbitrary transistor or switch, ON state and OFF state may be simply referred to as ON and OFF, respectively.
(30) In an arbitrary transistor or switch, switching from OFF state to ON state is referred to as turning on, while switching from ON state to OFF state is referred to as turning off.
(31)
(32)
(33) In
(34) Although it is supposed that the fixed duty ratio is 50% in
(35) As a structure, out of two input terminals 3a and 3b provided to the selection circuit 3, the input terminal 3a is connected to the input terminal EX, and the input terminal 3b is supplied with the internal clock generated by the internal clock generation unit 2. A clock selection signal, which is generated by a selection signal generation circuit (not shown) in the clock generation circuit 1, is input to the selection circuit 3, and the selection circuit 3 selects one of the clocks supplied to the input terminals 3a and 3b in accordance with the clock selection signal, and outputs the selected clock from its output terminal 3c. In the following description, including the drawings to be referred to, the clock selection signal may be denoted by symbol SEL. The fixed duty ratio generation unit 4 acts to generate the output clock CLK having the same frequency as the clock output from the selection circuit 3 and the fixed duty ratio. Note that
(36) Basically, the clock selection signal SEL has value 1 when the external clock CK_EX is input to the input terminal EX, while the clock selection signal SEL has value 0 when the external clock CK_EX is not input to the input terminal EX. In the following description, an interval in which the external clock CK_EX is input to the input terminal EX is referred to as an input interval of the external clock CK_EX, and an interval in which the external clock CK_EX is not input to the input terminal EX is referred to as a non-input interval of the external clock CK_EX (although symbol CK_EX may be omitted).
(37) More specifically, as illustrated in
(38)
(39) The constant current circuit 11 generates a constant current I1 based on a power supply voltage VDD and supplies the constant current I1 to a line LN1. The constant current circuit I2 generates a constant current I2 based on the power supply voltage VDD and supplies the constant current I2 to a line LN2. The constant currents I1 and I2 have positive predetermined current values. The power supply voltage VDD and a reference voltage V.sub.REF described later are generated by a regulator circuit (not shown) based on a DC voltage supplied from an external device (not shown) of the clock generation circuit 1. The regulator circuit may be disposed in the clock generation circuit 1 or may be disposed in a device including the clock generation circuit 1 (e.g. a switching power supply device described later).
(40) A first terminal of the capacitor C1 is connected to the line LN1, and a second terminal of the capacitor C1 is connected to the ground. In addition, a first terminal and a second terminal of the switch SW1 are connected to the first terminal and the second terminal of the capacitor C1, respectively. Therefore, when the switch SW1 is in ON state, the terminals of the capacitor C1 are short circuited so that a voltage between terminals of the capacitor C1 becomes zero volts. When the switch SW1 is in OFF state, the charge supplied by the constant current I1 is stored in the capacitor C1 so that the voltage at the line LN1 is monotonously increased.
(41) A first terminal of the capacitor C2 is connected to the line LN2, and a second terminal of the capacitor C2 is connected to the ground. A first terminal of the capacitor C3 is connected to a line LN3, and a second terminal of the capacitor C3 is connected to the ground. A first terminal of the switch SW2 is connected to the line LN2 (therefore is connected to the first terminal of the capacitor C2), and a second terminal of the switch SW2 is connected to the line LN3 (therefore is connected to the first terminal of the capacitor C3). In addition, a first terminal and a second terminal of the switch SW3 are connected to the first terminal and the second terminal of the capacitor C3, respectively.
(42) Therefore, during an interval in which the switch SW2 is in OFF state, the charge supplied by the constant current I2 is stored in the capacitor C2 so that the voltage at the line LN2 is monotonously increased. When the switch SW3 is in ON state, the terminals of the capacitor C3 are short circuited so that the voltage between terminals of the capacitor C3 becomes zero volts. When the switch SW2 is in ON state, the lines LN2 and LN3 are connected via the switch SW2, and the capacitors C2 and C3 are connected in parallel. The switch SW2 is periodically turned on in the operation of the clock generation circuit 1, but a time length during which the switch SW2 is in ON state is sufficiently short. Therefore, in the following description, charging of the capacitor C3 by the constant current I2 when the switch SW2 is in ON state is ignored. Note that the second terminals of the capacitors C1 to C3 may be connected to a potential terminal having a DC potential other than zero volts.
(43) In the following description, voltages of the lines LN1, LN2, and LN3 are denoted by Va, Vb, and Vc, respectively. The voltages Va and Vb are first and second ramp voltages, which increase at predetermined gradients along with increases of stored charges in the capacitors C1 and C2 by the constant currents I1 and I2 when the switches SW1 and SW2 are in OFF state.
(44) The comparator 13 compares the voltage Va with the predetermined reference voltage V.sub.REF and outputs a signal CK_P1 as a binary signal indicating the comparison result. The reference voltage V.sub.REF has a predetermined positive DC voltage value. Specifically, a non-inverting input terminal of the comparator 13 is connected to the line LN1 and is supplied with the voltage Va, while an inverting input terminal of the comparator 13 is supplied with the reference voltage V.sub.REF. Therefore the comparator 13 outputs the signal CK_P1 at high level when the voltage Va is higher than the reference voltage V.sub.REF, and it outputs the signal CK_P1 at low level when the voltage Va is lower than the reference voltage V.sub.REF. Although the level of the signal CK_P1 can be unstable when the voltage Va is just equal to the reference voltage V.sub.REF, it is supposed that the level of the signal CK_P1 is at high level in that case.
(45) The comparator 14 compares the voltage Va with the voltage Vc and outputs a signal CK_N1 as a binary signal indicating the comparison result. Specifically, a non-inverting input terminal of the comparator 14 is connected to the line LN1 and is supplied with the voltage Va, while an inverting input terminal of the comparator 14 is connected to the line LN3 and is supplied with the voltage Vc. Therefore the comparator 14 outputs the signal CK_N1 at high level when the voltage Va is higher than the voltage Vc, and it outputs the signal CK_N1 at low level when the voltage Va is lower than the voltage Vc. Although the level of the signal CK_N1 can be unstable when the voltage Va is just equal to the voltage Vc, it is supposed that the level of the signal CK_N1 is at high level in that case.
(46) The selection circuit 15 is constituted of a two-input multiplexer having an input terminal 15a, an input terminal 15b, and an output terminal 15c. The selection circuit 15 corresponds to the selection circuit 3 of
(47) The one-shot pulse circuit 16 outputs a signal CK_P2 based on an output signal CK_P1 of the selection circuit 15. The signal CK_P2 is a binary signal having low level or high level and basically has low level. As illustrated in
(48) The one-shot pulse circuit 17 outputs a signal CK_N2 based on the output signal CK_N1 of the comparator 14. The signal CK_N2 is a binary signal having low level or high level and basically has low level. As illustrated in
(49) The RS flip-flop 18 (hereinafter referred to as FF 18) has a set terminal (S), a reset terminal (R), and an output terminal (Q), and the signals CK_P2 and CK_N2 are input to the set terminal and the reset terminal, respectively. An output signal 18.sub.Q from the output terminal (Q) of the FF 18 corresponds to the output clock CLK of the clock generation circuit 1.
(50) In the signals CK_P2, CK_N2, and 18.sub.Q the high level is assigned with a logical value 1, and the low level is assigned with a logical value 0. When logical values of the signals CK_P2 and CK_N2 are 1 and 0, respectively, the FF 18 latches the logical value 1 and sets the output signal 18.sub.Q to high level in response to the latched logical value 1. When the logical values of the signals CK_P2 and CK_N2 are 0 and 1, respectively, the FF 18 latches the logical value 0 and sets the output signal 18.sub.Q to low level in response to the latched logical value 0. When the logical values of the signals CK_P2 and CK_N2 are both 0, the FF 18 sets a level corresponding to the latched logical value as the level of the output signal 18.sub.Q. In an actual operation, the up edge of the signal CK_P2 and the up edge of the signal CK_N2 occur alternately. The up edge of the output clock CLK occurs in synchronization with the up edge of the signal CK_P2, and the down edge of the output clock CLK occurs in synchronization with the up edge of the signal CK_N2.
(51) On and off of the switches SW1 and SW2 are controlled in accordance with the signal CK_P2. Specifically, when the signal CK_P2 is at high level, the switches SW1 and SW2 are in ON state, while when the signal CK_P2 is at low level, the switches SW1 and SW2 are in OFF state. On and off of the switch SW3 are controlled in accordance with the signal CK_N2. Specifically, when the signal CK_N2 is at high level, the switch SW3 is in ON state, while when the signal CK_N2 is at low level, the switch SW3 is in OFF state.
(52) The above description in this embodiment is referred to as a basic example for convenience sake. Operation examples, application examples, and the like of the clock generation circuit 1 based on the structure and operation described above are described in a plurality of examples below. The above description in the basic example is applied to each example below unless otherwise noted and unless any contradiction occurs, and description in each example has a priority over the above description in the basic example if there is a contradiction between them. As long as there is no contradiction, description in an arbitrary example among the examples described below can be applied to another arbitrary example (i.e. arbitrary two or more examples among the examples can be combined).
First Example
(53) A first example is described below. In the first example, as illustrated in
(54)
(55) At timing T.sub.A1, an up edge (i.e. switch from low level to high level) occurs in the external clock CK_EX. Then in synchronization with the up edge, the one-shot pulse circuit 16 generates a pulse signal on the signal CK_P2 so that an up edge occurs in the signal CK_P2. Further, in synchronization with the up edge of the signal CK_P2, an up edge is generated also in the output clock CLK by the FF 18 (see circled numerals 1 to 3 in
(56) In addition, just before occurrence of the up edge of the signal CK_P2, voltage values of the voltages Va and Vb have positive predetermined voltage value VAL.sub.A, and the voltage Vc is zero. Therefore the signal CK_N1 is at high level, and the signal CK_N2 is at low level. The voltage value VAL.sub.A is determined depending on the period of the external clock CK_EX, a value of the constant current I1, and the like. The timing T.sub.A1 is regarded as a starting point, and the output pulse signal of the one-shot pulse circuit 16 makes the signal CK_P2 be at high level for the micro time t1 (see
(57) After that, the signal CK_P2 returns to low level at timing T.sub.A2, and then the switches SW1 and SW2 are turned off. Therefore the constant current I1 charges the capacitor C1 so that the voltage Va starts to increase from zero volts as a first initial voltage, and the constant current I2 charges the capacitor C2 so that the voltage Vb starts to increase from VAL.sub.A/2 as a second initial voltage (see circled numerals 5 and 6 in
(58) After timing T.sub.A2 until timing T.sub.A3, Va<Vc holds, and the signal CK_N1 is at low level. The increase of voltage Va from timing T.sub.A2 as a starting point causes a value of the voltage Va to reach the voltage value VAL.sub.A/2 held by the capacitor C3 at timing T.sub.A3, and the comparator 14 operates to generate an up edge in the signal CK_N1 (see circled numerals 7 and 8 in
(59) After timing T.sub.A4, timing T.sub.A5 comes. The length between timing T.sub.A1 and timing T.sub.A5 is equal to the period of the external clock CK_EX, and an up edge occurs again in the external clock CK_EX at timing T.sub.A5. Although a down edge occurs in the external clock CK_EX at timing after timing T.sub.A1 and before timing T.sub.A5, the down edge timing does not affect the operation of the clock generation circuit 1. The operation in one period of the external clock CK_EX starting from timing T.sub.A1 is the same as the operation in one period of the external clock CK_EX starting from timing T.sub.A5, and the same operation is repeated after that.
(60) In
(61) Note that just after the clock generation circuit 1 is activated, charging of the voltage Vb is started from zero volts, and hence the value of the voltage Vb just before the switch SW2 is turned on does not become VAL.sub.A, but after the clock generation circuit 1 operates for a certain period, the value of the voltage Vb just before the switch SW2 is turned on is converged to VAL.sub.A. The above description with reference to
Second Example
(62) A second example is described. In the second example, as illustrated in
(63)
(64) In a period just before one period of the internal clock starting from timing T.sub.B1, the constant current I1 charges the capacitor C1 so that the voltage Va increases monotonously, and the voltage Va, which satisfied Va<V.sub.REF before timing T.sub.B1, reaches the reference voltage V.sub.REF at timing T.sub.B1 (see circled numeral 0 in
(65) In addition, just before the up edge occurs in the signal CK_P2, the voltage values of the voltages Va and Vb are equal to the positive voltage value VAL.sub.B, and the voltage Vc is zero. Therefore the signal CK_N1 is at high level, and the signal CK_N2 is at low level. From timing T.sub.B1 as a starting point, the output pulse signal of the one-shot pulse circuit 16 causes the signal CK_P2 to be at high level for the micro time t1 (see
(66) After that, the signal CK_P2 returns to low level at timing T.sub.B2, and hence the switches SW1 and SW2 are turned off. Therefore, the constant current I1 charges the capacitor C1 so that the voltage Va starts to increase from zero volts as the first initial voltage, and the constant current I2 charges the capacitor C2 so that the voltage Vb starts to increase from VAL.sub.B/2 as the second initial voltage (see circled numerals 5 and 6 in
(67) After timing T.sub.B2, until timing T.sub.B3, Va<Vc holds, and the signal CK_N1 is at low level. The increase of the voltage Va from timing T.sub.B2 as a starting point causes the value of the voltage Va to reach the voltage value VAL.sub.B/2 held in the capacitor C3 at timing T.sub.B3, and the comparator 14 operates to generate an up edge in the signal CK_N1 (see circled numerals 7 and 8 in
(68) After timing T.sub.B4, timing T.sub.B5 comes. The length between timing T.sub.B1 and timing T.sub.B5 is equal to the period of the internal clock, and at timing T.sub.B5, an up edge occurs in the internal clock (i.e. signal CK_P1) again. The operation in one period of the internal clock starting from timing T.sub.B1 is the same as the operation in one period of the internal clock starting from timing T.sub.B5, and after that, the same operation is repeated.
(69) In
(70) Note that just after the clock generation circuit 1 is activated, charging of the voltage Vb is started from zero volts, and hence the value of the voltage Vb just before the switch SW2 is turned on does not become VAL.sub.B, but after the clock generation circuit 1 operates for a certain period, the value of the voltage Vb just before the switch SW2 is turned on is converged to VAL.sub.B. The above description with reference to
Third Example
(71) A third example is described. In the third example, as illustrated in
(72)
(73) An up edge (i.e. switch from low level to high level) occurs in the external clock CK_EX at timing T.sub.C1, and in synchronization with the up edge, the one-shot pulse circuit 16 generates a pulse signal on the signal CK_P2 so that an up edge occurs in the signal CK_P2. Further in synchronization with the up edge of the signal CK_P2, an up edge is generated also in the output clock CLK by the FF 18 (see circled numerals 1 to 3 in
(74) In addition, just before the up edge occurs in the signal CK_P2, the voltage value of the voltage Va is a positive predetermined voltage value VAL.sub.C, the voltage value of the voltage Vb is VAL.sub.C, and the voltage Vc is zero. Therefore the signal CK_N1 is at high level, and the signal CK_N2 is at low level. The voltage value VAL.sub.C is determined depending on the period of the external clock CK_EX, a value of the constant current I1, and the like. The timing T.sub.C1 is regarded as a starting point, and the output pulse signal of the one-shot pulse circuit 16 makes the signal CK_P2 be at high level for the micro time t1 (see
(75) After that, the signal CK_P2 returns to low level at timing T.sub.C2, and then the switches SW1 and SW2 are turned off. Therefore the constant current I1 charges the capacitor C1 so that the voltage Va starts to increase from zero volts as a first initial voltage, and the constant current I2 charges the capacitor C2 so that the voltage Vb starts to increase from VAL.sub.C/3 as the second initial voltage (see circled numerals 5 and 6 in
(76) After timing T.sub.C2 until timing T.sub.C3, Va<Vc holds, and the signal CK_N1 is at low level. The increase of voltage Va from timing T.sub.C2 as a starting point causes the value of the voltage Va to reach the voltage value VAL.sub.C/3 held by the capacitor C3 at timing T.sub.C3, and the comparator 14 operates to generate an up edge in the signal CK_N1 (see circled numerals 7 and 8 in
(77) After timing T.sub.C4, timing T.sub.C5 comes. The length between timing T.sub.C1 and timing T.sub.C5 is equal to the period of the external clock CK_EX, and an up edge occurs again in the external clock CK_EX at timing T.sub.C5. Although a down edge occurs in the external clock CK_EX at timing after timing T.sub.C1 and before timing T.sub.C5, the down edge timing does not affect the operation of the operation of clock generation circuit 1. The operation in one period of the external clock CK_EX starting from timing T.sub.C1 is the same as the operation in one period of the external clock CK_EX starting from timing T.sub.C5, and the same operation is repeated after that.
(78) In
(79) Note that just after the clock generation circuit 1 is activated, charging of the voltage Vb is started from zero volts, and hence the value of the voltage Vb just before the switch SW2 is turned on does not become VAL.sub.C, but after the clock generation circuit 1 operates for a certain period, the value of the voltage Vb just before the switch SW2 is turned on is converged to VAL.sub.C. The above description with reference to
Fourth Example
(80) A fourth example is described. A ratio of the constant current I1 to the constant current I2 is different between the first example and the third example, and the fixed duty ratio can be changed by changing the above-mentioned ratio. Similarly, in the second example, the fixed duty ratio can be set to a desired value by adjusting a ratio between the constant currents I1 and I2.
(81) Extended thinking can derive the following. By setting a proportional relationship indicated by the following equation (1) between value VAL.sub.I1 of the constant current I1 and value VAL.sub.I2 of the constant current I2, and by adjusting the proportionality factor k.sub.I, it is possible to set the fixed duty ratio to a desired value (see variation to the third example viewed from the first example).
VAL.sub.I1=k.sub.IVAL.sub.I2(1)
(82) In addition, also by setting a proportional relationship indicated by the following equation (2) between capacitance value VAL.sub.C1 of the capacitor C1, capacitance value VAL.sub.C2 of the capacitor C2, and capacitance value VAL.sub.C3 of the capacitor C3, and by adjusting the proportionality factors k.sub.C1 and k.sub.C2, it is possible to set the fixed duty ratio to a desired value.
VAL.sub.C1=k.sup.C2VAL.sub.C2=k.sup.C3VAL.sub.C3(2)
(83) Each of the proportionality factors k.sub.C2 and k.sub.C3 may be one or may not be one. The proportionality factors k.sub.C2 and k.sub.C3 can be equal to each other or can be different from each other. Although the proportionality factor k.sub.I is not one in the first to third examples, but the proportionality factor k.sub.I can be one depending on values of the proportionality factors k.sub.C2 and k.sub.C3. For instance, in order to set the fixed duty ratio to 50% when k.sub.C2=k.sub.C3=2 holds, it is sufficient that k.sub.I=1 holds.
Fifth Example
(84) A fifth example is described. An arbitrary switching power supply device can be constituted using the clock generation circuit 1. For instance, a switching power supply device 100 as illustrated in
(85) The switching power supply device 100 includes a first channel circuit, a second channel circuit, and a clock generation circuit 101 that is the clock generation circuit 1. The first channel circuit includes an output stage circuit 110, a driver 111, a PWM control unit 112, a coil 113, a capacitor 114, and a voltage divider circuit 115. The second channel circuit includes an output stage circuit 120, a driver 121, a PWM control unit 122, a coil 123, a capacitor 124, and a voltage divider circuit 125. PWM stands for pulse width modulation. Each of the output stage circuits 110 and 120 includes a half bridge circuit consisting of a high-side transistor and a low-side transistor connected in series. The high-side transistor is disposed on a high voltage side, while the low-side transistor is disposed on a low voltage side, and in this state the input voltage V.sub.IN is applied to the half bridge circuit. The high-side transistor and the low-side transistor in the output stage circuit 110 are transistors 110H and 110L, respectively. The high-side transistor and the low-side transistor in the output stage circuit 120 are transistors 120H and 120L, respectively. Each transistor in the output stage circuits 110 and 120 is constituted of a metal-oxide-semiconductor field-effect transistor (MOSFET) or the like.
(86) An operation of the first channel circuit is described. The PWM control unit 112 generates a PWM signal S.sub.PWM1 to stabilize the output voltage V.sub.OUT1 at a desired target voltage based on a feedback voltage V.sub.FB1 obtained by dividing the output voltage V.sub.OUT1 with the voltage divider circuit 115. The PWM signal S.sub.PWM1 designates an ON interval during which the transistor 110H is in ON state and an OFF interval during which the transistor 110H is in OFF state. It is supposed that the interval during which the PWM signal S.sub.PWM1 is at high level corresponds to an ON interval of the transistor 110H and that the interval during which the PWM signal S.sub.PWM1 is at low level corresponds to the OFF interval of the transistor 110H. Omitting dead time for preventing occurrence of through current, when the transistor 110H is in ON state, the transistor 110L is in OFF state, and when the transistor 110H is in OFF state, the transistor 110L is in ON state. The driver 111 alternately turns on and off the transistors 110H and 110L according to the PWM signal S.sub.PWM1, so as to perform switching of the input voltage V.sub.IN. A rectangular wave-like switching voltage obtained by switching with the output stage circuit 110 (i.e. a signal obtained by pulse width modulation of the input voltage V.sub.IN with the PWM signal S.sub.PWM1) appears at the connection node between the transistors 110H and 110L. This switching voltage is rectified and smoothed by a rectifying and smoothing circuit including the coil 113 and the capacitor 114 so that the output voltage V.sub.OUT1 is obtained.
(87) An operation of the second channel circuit is described. The PWM control unit 122 generates a PWM signal S.sub.PWM2 to stabilize the output voltage V.sub.OUT2 at a desired target voltage based on a feedback voltage V.sub.FB2 obtained by dividing the output voltage V.sub.OUT2 with the voltage divider circuit 125. The PWM signal S.sub.PWM2 designates an ON interval during which the transistor 120H is in ON state and an OFF interval during which the transistor 120H is in OFF state. It is supposed that the interval during which the PWM signal S.sub.PWM2 is at high level corresponds to an ON interval of the transistor 120H and that the interval during which the PWM signal S.sub.PWM2 is at low level corresponds to the OFF interval of the transistor 120H. Omitting dead time for preventing occurrence of through current, when the transistor 120H is in ON state, the transistor 120L is in OFF state, and when the transistor 120H is in OFF state, the transistor 120L is in ON state. The driver 121 alternately turns on and off the transistors 120H and 120L according to the PWM signal S.sub.PWM2, so as to perform switching of the input voltage V.sub.IN. A rectangular wave-like switching voltage obtained by switching with the output stage circuit 120 (i.e. a signal obtained by pulse width modulation of the input voltage V.sub.IN with the PWM signal S.sub.PWM2) appears at the connection node between the transistors 120H and 120L. This switching voltage is rectified and smoothed by a rectifying and smoothing circuit including the coil 123 and the capacitor 124 so that the output voltage V.sub.OUT2 is obtained.
(88) The PWM control units 112 and 122 are supplied with the output clock CLK of the clock generation circuit 101, and each of the PWM control units 112 and 122 generates a PWM signal having the same frequency as the output clock CLK (i.e. the pulse width modulation is performed on the input voltage V.sub.IN at the frequency of the output clock CLK in each channel). However, in this case, the PWM control units 112 and 122 generate the PWM signals S.sub.PWM1 and S.sub.PWM2 so that a phase shift occurs between the PWM signals S.sub.PWM1 and S.sub.PWM2.
(89) More specifically, for example, as illustrated in
(90) By shifting phases of the output stage circuits 110 and 120 in PWM drive from each other by 180 degrees, it is possible to reduce mutual interference between channels. For instance, it is possible to obtain effects of reduction of a peak value of noise generated from the entire switching power supply device 1, reduction of ripple in the input voltage V.sub.IN, and the like. In this case, by using the clock generation circuit according to the present invention, the above-mentioned effect can be obtained regardless of a duty ratio of the input external clock CK_EX, and even if the external clock CK_EX is not input.
Sixth Example
(91) A sixth example is described. The clock generation circuit 1 according to the present invention can also be used to constitute a multiphase DC/DC converter.
(92) The switching power supply device 150 includes a first phase circuit, a second phase circuit, a PWM control unit 152 arranged to supply these circuits with PWM signals, the clock generation circuit 101 as the clock generation circuit 1, coils 161 and 162, a capacitor 163, and a voltage divider circuit 164. The first phase circuit is constituted of the output stage circuit 110 and the driver 111, and the second phase circuit is constituted of the output stage circuit 120 and the driver 121. Structures of the output stage circuits 110 and 120 are the same as those described above in the fifth example. However, in the switching power supply device 150, it is supposed that the connection node between the transistors 110H and 110L of the output stage circuit 110 is connected to a line 165 applied with the output voltage V.sub.OUT via the coil 161, and that the connection node between the transistors 120H and 120L of the output stage circuit 120 is connected to the line 165 via the coil 162. The line 165 is connected to the ground via the capacitor 163.
(93) The PWM control unit 152 generates the PWM signals S.sub.PWM1 and S.sub.PWM2 to stabilize the output voltage V.sub.OUT at a desired target voltage, based on a feedback voltage V.sub.FB obtained by dividing the output voltage V.sub.OUT with the voltage divider circuit 164. The significance of the PWM signals S.sub.PWM1 and S.sub.PWM2 is as described above in the fifth example, and the operation of the driver 111 and the output stage circuit 110 based on the PWM signal S.sub.PWM1 and the operation of the driver 121 and the output stage circuit 120 based on the PWM signal S.sub.PWM2 are also as described above in the fifth example. Therefore the switching by the output stage circuit 110 based on the PWM signal S.sub.PWM1 generates a rectangular wave-like switching voltage (i.e. a signal obtained by pulse width modulation of the input voltage V.sub.IN with the PWM signal S.sub.PWM1) at the connection node between the transistors 110H and 110L, and the switching by the output stage circuit 120 based on the PWM signal S.sub.PWM2 generates a rectangular wave-like switching voltage (i.e. a signal obtained by pulse width modulation of the input voltage V.sub.IN with the PWM signal S.sub.PWM2) at the connection node between the transistors 120H and 120L. These switching voltages are rectified and smoothed by the rectifying and smoothing circuit including the coil 161, the coil 162, and the capacitor 163, so that the output voltage V.sub.OUT is obtained.
(94) The PWM control unit 152 is supplied with the output clock CLK of the clock generation circuit 101, so as to generate the PWM signals S.sub.PWM1 and S.sub.PWM2 having the same frequency as the output clock CLK. However, in this case, the PWM control unit 152 generates the PWM signals S.sub.PWM1 and S.sub.PWM2 so that a phase shift occurs between the PWM signals S.sub.PWM1 and S.sub.PWM2.
(95) More specifically, for example, similarly to the fifth example (see
(96) By shifting phases of the output stage circuits 110 and 120 in PWM drive from each other by 180 degrees, it is possible to appropriately obtain effects of adopting the multiphase method (increase of output current that can be drawn, reduction of ripple in the output voltage V.sub.OUT, and the like). In this case, by using the clock generation circuit according to the present invention, the above-mentioned effect can be obtained regardless of a duty ratio of the input external clock CK_EX, and even if the external clock CK_EX is not input.
Seventh Example
(97) A seventh example is described. The clock generation circuit 1 of
(98) It may be possible to dispose a plurality of sets of the fixed duty ratio generation unit 40 and the FF 18 in the clock generation circuit.
(99) A connection relationship between the common circuit portion and the fixed duty ratio generation unit 40[1] and the FF 18[1] is as described above in the basic example and the first to fourth examples. The operation of obtaining the output clock CLK (CLK[1]) from the FF 18[1] by using the common circuit portion, the fixed duty ratio generation unit 40[1] and the FF 18[1] is as described above in the basic example and the first to fourth examples. A connection relationship between the common circuit portion and the fixed duty ratio generation unit 40[2] and the FF 18[2] is as described above in the basic example and the first to fourth examples. The operation of obtaining the output clock CLK (CLK[2]) from the FF 18[2] by using the common circuit portion, the fixed duty ratio generation unit 40[2] and the FF 18[2] is as described above in the basic example and the first to fourth examples.
(100) Therefore, for example, the voltage Va generated by the common circuit portion is commonly input to the non-inverting input terminals of the comparators 14 of the generation units 40[1] and 40[2], and the signal CK_P2 generated by the common circuit portion commonly controls ON and OFF of the switches SW2 of the generation units 40[1] and 40[2].
(101) Further, the signal CK_P2 generated by the common circuit portion is commonly input to the set terminals of the FF 18[1] and FF 18[2]. In this way, the output clocks CLK[1] and CLK[2] have the same up edge timing.
(102) On the other hand, the output signal CK_N2 of the one-shot pulse circuit 17 in the generation unit 40[1] is input to the reset terminal of the FF 18[1], and the output signal CK_N2 of the one-shot pulse circuit 17 in the generation unit 40[2] is input to the reset terminal of the FF 18[2]. Further, for example, the capacitance value of the capacitor C1 in the common circuit portion and capacitance values of the capacitors C2 and C3 in the generation units 40[1] and 40[2] are all set to the same value, while the value of the constant current I2 is set to different values between the generation units 40[1] and 40[2]. Then, the output clocks CLK[1] and CLK[2] have different duty ratios. As a matter of course, as described above in the fourth example, the duty ratios of the output clocks CLK[1] and CLK[2] can be individually set to desired duty ratios also by adjusting the capacitance values of the capacitors C2 and C3 instead of the value of the constant current I2.
(103)
(104) Using the clock generation circuit 1A and the method described above in the fifth example, it is possible to constitute a multi-channel output type switching power supply device that generates three channels of output voltages V.sub.OUT1 to V.sub.OUT3 from the input voltage V.sub.IN. In this case, a third channel circuit having the same structure as the first channel circuit is added to the switching power supply device 100 of
(105) In addition, it is also possible to dispose three or more sets of the fixed duty ratio generation unit 40 and the FF 18 in the clock generation circuit, so as to generate three or more output clocks having different duty ratios. By applying this to a multi-channel output type switching power supply device, it is possible to drive four or more output stage circuits at different phases so as to obtain four or more channels of output voltages.
(106) Using the clock generation circuit 1A and the method described above in the sixth example, it is possible to constitute a multiphase DC/DC converter that generates three phases of outputs from the input voltage V.sub.IN. In this case, a third phase circuit having the same structure as the first phase circuit is added to the switching power supply device 150 of
(107) In addition, it is also possible to dispose three or more sets of the fixed duty ratio generation unit 40 and the FF 18 in the clock generation circuit, so as to generate three or more output clocks having different duty ratios. By applying this to a multiphase DC/DC converter, it is possible to generate output voltages (V.sub.OUT) from four or more output stage circuits driven at different phases.
Eighth Example
(108) An eighth example is described.
(109) In automotive applications, in order to satisfy noise performance, the switching frequency of the switching power supply device may be designated by the vehicle side in many cases. This designation is realized when supplying the external clock, and in this case, it is required to set the duty ratio of the output clock to a desired duty ratio regardless of the duty ratio of the external clock. The clock generation circuit and the switching power supply device according to the present invention can support this requirement.
(110) In the car navigation device 300, it is considered that the DC/DC converter 302 and the function block 303 are loads to the switching power supply device 301. As a matter of course, the switching power supply device 301 may be mounted in an arbitrary device including an arbitrary load, without limiting to the car navigation device. For instance, the switching power supply device 301 may be applied to a motor driver whose load is a motor or an LED driver whose load is a light emitting diode (LED).
(111) In addition, the output clock of the clock generation circuit according to the present invention may be used for constituting a PWM output circuit that generates a PWM signal. It is possible to consider that the PWM control units 112 and 122 of
Ninth Example
(112) A ninth example is described.
(113) An arbitrary switching power supply device such as the switching power supply devices 100 and 150 of
(114) Concerning an arbitrary electronic apparatus equipped with an arbitrary switching power supply device such as the switching power supply devices 100 and 150 of
(115) Concerning an arbitrary signal or voltage, relationship between high level and low level of the signal or voltage may be inverted without losing the point described above.
(116) <<Consideration of Present Invention>>
(117) The structure of the present invention implemented in the embodiment described above is considered. It can be said that the clock generation circuit according to the present invention is capable of generating the output clock by using the external clock when the external clock is input, and by using the internal clock when the external clock is not input. Out of the external clock and the internal clock, the clock that is used for generating the output clock is referred to as a target clock for convenience sake.
(118) A clock generation circuit W according to the present invention is a clock generation circuit capable of generating the output clock from the target clock by using the external clock as the target clock when the external clock is input. The clock generation circuit W includes a clock output circuit arranged to change level of the output clock from a first level to a second level in synchronization with a predetermined level change of the target clock (e.g. a change from low level to high level), a first ramp voltage generation circuit arranged to generate a first ramp voltage (Va) whose voltage value changes with a period of interval between neighboring predetermined level changes of the target clock, a second ramp voltage generation circuit arranged to generate a second ramp voltage (Vb) whose voltage value changes with a period of the interval, a comparison voltage holding circuit arranged to hold a comparison voltage (Vc) corresponding to the second ramp voltage when the predetermined level change occurs, and a comparator (14) arranged to compare the first ramp voltage with the comparison voltage. The clock output circuit changes the level of the output clock from the second level to the first level based on a comparison result of the comparator.
(119) In this way, it is possible to generate the output clock that is synchronized with the external clock and has a desired duty ratio regardless of the duty ratio of the external clock. In this case, a PLL circuit is not necessary, and hence reduction of the circuit scale can be expected.
(120) In the structure of
(121) The first ramp voltage generation circuit is constituted to include the constant current circuit 11 and the capacitor C1 in the structure of
(122) The second ramp voltage generation circuit is constituted to include the constant current circuit I2 and the capacitor C2 in the structure of
(123) The comparison voltage holding circuit is constituted to include the capacitor C3 in the structure of
(124) The language interval between neighboring predetermined level changes of the target clock means an interval of one period of the target clock, and for example it corresponds to an interval from an up edge to the next up edge in the target clock (or it may correspond to an interval from a down edge to the next down edge in the target clock). In other words, an example of the interval between neighboring predetermined level changes of the target clock is the interval between timing T.sub.A1 and timing T.sub.A5 in
(125) In the clock generation circuit W, for example, after the predetermined level change of the target clock (e.g. after timing T.sub.A1, in response to a signal output from the comparator indicating that high and low relationship between the first ramp voltage and the comparison voltage is reversed (e.g. corresponding to an up edge of the signal CK_N1), the clock output circuit preferably changes a level of the output clock from the second level to the first level.
(126) More specifically, for example, in the clock generation circuit W, the first ramp voltage generation circuit includes a first capacitor (C1) and a first constant current circuit (11) that supplies a first constant current to the first capacitor. In each period, when being supplied with the first constant current, the first ramp voltage generation circuit changes the terminal voltage of the first capacitor from a predetermined first initial voltage so as to generate the first ramp voltage (Va) from the terminal voltage of the first capacitor. The second ramp voltage generation circuit includes a second capacitor (C2) and a second constant current circuit (12) that supplies a second constant current to the second capacitor. In each period, when being supplied with the second constant current, the second ramp voltage generation circuit changes the terminal voltage of the second capacitor from a predetermined second initial voltage so as to generate the second ramp voltage (Vb) from the terminal voltage of the second capacitor. The comparison voltage holding circuit includes a third capacitor and holds a terminal voltage of the third capacitor as the comparison voltage in each period. A switch (SW2) is disposed between the second capacitor and the third capacitor. In response to the predetermined level change of the target clock, a part of stored charge of the second capacitor is supplied to the third capacitor via the switch, and hence the comparison voltage is preferably generated in the third capacitor.
(127) Note that the first initial voltage is zero volts in each example described above, but the first initial voltage may be other than zero volts.
(128) Further, specifically, for example, the following structure is preferred. The clock generation circuit W further includes a first pulse output circuit (16), which outputs a first pulse signal (a pulse signal of the micro time t1 contained in the signal CK_P2) in response to the predetermined level change of the target clock, and a second pulse output circuit (17), which outputs a second pulse signal (a pulse signal of the micro time t2 contained in the signal CK_N2) when receiving from the comparator a signal indicating that high and low relationship between the first ramp voltage and the comparison voltage is reversed, after the predetermined level change of the target clock. The first ramp voltage generation circuit is provided with a first capacitor discharge circuit (SW1) capable of discharging the first capacitor, and the comparison voltage holding circuit is provided with a third capacitor discharge circuit (SW3) capable of discharging the third capacitor. In response to the output of the first pulse signal, the first capacitor discharge circuit discharges the first capacitor, and when the switch is turned on, the second capacitor and the third capacitor are connected in parallel via the switch. In response to the output of the second pulse signal, the third capacitor discharge circuit discharges the third capacitor.
(129) The embodiment of the present invention can be appropriately and variously modified within the scope of the technical concept defined in the claims. The embodiment described above is merely an example of the embodiment of the present invention, and meanings of the present invention and the structural elements are not limited to those described in the embodiment described above. Specific values described in the above description are merely examples, and they can be changed into various values as a matter of course.