This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2014-96881, filed on May 8, 2014, the entire contents of which are incorporated herein by reference.
The present disclosure relates to a variable delay circuit.
In the field of pulse technology, variable delay circuits that can suitably adjust a delay amount when an output signal is generated by delaying an input signal has been conventionally used for various purposes.
Further, in a conventional technology in this technical field, a shift clock may be generated by phase-differential shifting (i.e., delaying) a reference clock. However, this is merely a technique of generating a shift clock without using a high frequency signal, rather than adjusting a delay amount applied to an input signal by using a shift clock. Additionally, a plurality of delay elements needs to be used to adjust a phase difference (i.e., delay amount) of a shift clock, and the same problem as that of the third example mentioned above arises.
The present disclosure provides some embodiments of a variable delay circuit capable of adjusting a delay amount applied to an input signal by a resolving power (i.e., minimum variable unit) shorter than an oscillation signal of a clock signal.
According to one embodiment of the present disclosure, there is provided a variable delay circuit, including an oscillation circuit unit which generates n-phase clock signals, the n-phase clock signals having a same oscillation period and phases of the n-phase clock signals being shifted by 1/n of the oscillation period, wherein n is a natural number equal to or greater than 2; and a delay circuit unit which delays an input signal by using the clock signals to generate an output signal, wherein the delay circuit unit adjusts a delay amount using a phase difference of the clock signals as a minimum variable unit based on a delay amount setting signal (first configuration).
Further, in the variable delay circuit of the first configuration, the delay circuit unit generates the delay amount by adding a main delay amount, for which the oscillation period of the clock signals is set as a variable unit, and a sub-delay amount, for which a phase difference of the clock signals is set as a variable unit (second configuration).
In addition, in the variable delay circuit of the second configuration, the delay circuit unit comprises a dividing unit which divides the delay amount setting signal by n to generate a quotient signal and a remainder signal, where n is a number of phases of the clock signals, and the main delay amount is set based on the quotient signal and the sub-delay amount is set based on the remainder signal (third configuration).
Moreover, in the variable delay circuit of the third configuration, the delay circuit unit further includes an input latch unit which latches the input signal by using the n-phase clock signals to generate n-phase input latch signals; and an input phase detecting unit which monitors the n-phase input latch signals to generate a phase detection signal which is based on a phase of the input signal, wherein the sub-delay amount is set based on the remainder signal and the phase detection signal (fourth configuration).
Additionally, in the variable delay circuit of the fourth configuration, the delay circuit unit further includes a main delay unit which counts a number of pulses of the clock signals up to a count value depending on the quotient signal and delays at least one of the n-phase input latch signals to generate the main delay signal; a sub-delay unit which latches the main delay signal by using the n-phase clock signals to generate sub-delay signals having a plurality of phases; a selection control unit which generates a selection signal based on the remainder signal and the phase detection signal; and a signal selection unit which outputs one of the sub-delay signals having the plurality of phases as the delay signal based on the selection signal, wherein the delay signal or a logical operation signal of the input signal and the delay signal is outputted as the output signal (fifth configuration).
Furthermore, in the variable delay circuit of the first configuration, the oscillation circuit unit includes a ring oscillator formed as n/2 inverter stages connected in a circular form, and outputs and inverted outputs of each stage of the ring oscillator are outputted as the n-phase clock signals (sixth configuration).
Further, in the variable delay circuit of the sixth configuration, each of the inverter stages includes a capacitor; switches configured to charge and discharge the capacitor; and current sources configured to generate charging/discharging currents of the capacitor (seventh configuration).
In addition, in the variable delay circuit of the second configuration, the oscillation circuit unit includes a ring oscillator formed as n/2 inverter stages connected in a circular form, wherein outputs and inverted outputs of each stage of the ring oscillator are outputted as the n-phase clock signals (eighth configuration).
Moreover, in the variable delay circuit of the eighth configuration, each of the inverter stages includes a capacitor; switches configured to charge and discharge the capacitor; and current sources configured to generate charging/discharging currents of the capacitor (ninth configuration).
Additionally, in the variable delay circuit of the third configuration, the oscillation circuit unit includes a ring oscillator formed as n/2 inverter stages connected in a circular form, wherein outputs and inverted outputs of each stage of the ring oscillator are outputted as the n-phase clock signals (tenth configuration).
Furthermore, in the variable delay circuit of the tenth configuration, each of the inverter stages includes a capacitor; switches configured to charge and discharge the capacitor; and current sources configured to generate charging/discharging currents of the capacitor (eleventh configuration).
Further, in the variable delay circuit of the fourth configuration, the oscillation circuit unit includes a ring oscillator formed as n/2 inverter stages connected in a circular form, wherein outputs and inverted outputs of each stage of the ring oscillator are outputted as the n-phase clock signals (twelfth configuration).
In addition, in the variable delay circuit of the twelfth configuration, each of the inverter stages includes a capacitor; switches configured to charge and discharge the capacitor; and current sources configured to generate charging/discharging currents of the capacitor (thirteenth configuration).
Moreover, in the variable delay circuit of the fifth configuration, the oscillation circuit unit includes a ring oscillator formed as n/2 inverter stages connected in a circular form, wherein outputs and inverted outputs of each stage of the ring oscillator are outputted as the n-phase clock signals (fourteenth configuration).
Additionally, in the variable delay circuit of the fourteenth configuration, each of the inverter stages includes a capacitor; switches configured to charge and discharge the capacitor; and current sources configured to generate charging/discharging currents of the capacitor (fifteenth configuration).
Furthermore, there is provided a switch driving circuit, including a simultaneous OFF time adjusting circuit which adjusts a simultaneous OFF time of an upper switch and a lower switch connected in series between two different electric potentials, wherein the simultaneous OFF time adjusting circuit includes the variable delay circuit of the first configuration as a unit for generating an upper switch control signal and a lower switch control signal by applying a delay to an input signal (sixteenth configuration).
Further, there is provided a switching power supply device comprising the switch driving circuit of the sixteenth configuration (seventeenth configuration).
In addition, there is provided a motor driving device comprising the switch driving circuit of the sixteenth configuration (eighteenth configuration).
In addition, there is provided a switch driving circuit, including a simultaneous OFF time adjusting circuit which adjusts a simultaneous OFF time of an upper switch and a lower switch connected in series between two different electric potentials, wherein the simultaneous OFF time adjusting circuit includes the variable delay circuit of the second configuration as a unit for generating an upper switch control signal and a lower switch control signal by applying a delay to an input signal (nineteenth configuration).
Moreover, there is provided a switch driving circuit, including a simultaneous OFF time adjusting circuit which adjusts a simultaneous OFF time of an upper switch and a lower switch connected in series between two different electric potentials, wherein the simultaneous OFF time adjusting circuit comprises the variable delay circuit of the third configuration as a unit for generating an upper switch control signal and a lower switch control signal by applying a delay to an input signal (twentieth configuration).
The oscillation circuit unit 10 generates n-phase clock signals CLK1 to CLKn which have the same oscillation period Tosc and whose phases have been shifted by 1/n of the oscillation period Tosc (where n is a natural number equal to or greater than 2).
The delay circuit unit 20 delays an input signal IN by using the clock signals CLK1 to CLKn to generate an output signal OUT. In particular, the delay circuit unit 20 has a function of adjusting a delay amount which is applied to the input signal IN by using a phase difference (i.e., Tosc/n) of the clock signals CLK1 to CLKn as a minimum variable unit according to the delay amount setting signal DSET.
According to the variable delay circuit 1 in this configuration example, unlike the first example of the conventional variable delay circuit 100 (shown in
In addition, according to the variable delay circuit 1 in this configuration example, since a delay amount which is applied to the input signal IN can be adjusted with a resolving power (Tosc/n) shorter than the oscillation period Tosc of the clock signals CLK1 to CLKn, a fast clock signal is not required, unlike the second example of the variable delay circuit 200 (shown in
Furthermore, according to the variable delay circuit 1 in this configuration example, unlike the third example of the conventional variable delay circuit 300 (shown in
Hereinafter, an internal configuration and an operation of each of the oscillation circuit unit 10 and the delay circuit unit 20 will be described in detail.
Specifically, the output signal S30 (more specifically, a signal obtained by logically inverting the output signal S30 twice via inverters INV1 and INV2) is outputted as the clock signal CLK1. The output signal S20 (more specifically, a signal obtained by logically inverting the output signal S20 twice via inverters INV3 and INV4) is outputted as the clock signal CLK2. The output signal S10 (more specifically, a signal obtained by logically inverting the output signal S10 twice via inverters INV5 and INV6) is outputted as the clock signal CLK3. The inverted output signal S30B (more specifically, a signal obtained by logically inverting the output signal S30 once via the inverter INV1) is outputted as the clock signal CLK4. The inverted output signal S20B (more specifically, a signal obtained by logically inverting the output signal S20 once via the inverter INV3) is outputted as the clock signal CLK5. The inverted output signal S10B (more specifically, a signal obtained by logically inverting the output signal S10 once via the inverter INV5) is outputted as the clock signal CLK6.
The inverter stage INV10 includes a capacitor C11, a P-channel type MOSFET (field effect transistor) P11, an N-channel type MOSFET N11, and current sources I11 and I12. The transistors P11 and N11 serve as switches for charging and discharging the capacitor C11. The current sources I11 and I12 generate charging and discharging currents for the capacitor C11. A source of the transistor P11 is connected to a power source terminal via the current source I11. Drains of both the transistor P11 and N11 are connected to a first terminal of the capacitor C11 (which is an output terminal of the output signal S10). A source of the transistor N11 is connected to a ground terminal via the current source I12. Gates of both the transistors P11 and N11 are connected to an output terminal of the inverter stage INV30 (which is an output terminal of the output signal S30). A second terminal of the capacitor C11 is connected to ground.
The inverter stage INV20 includes a capacitor C21, a P-channel type MOSFET P21, an N-channel type MOSFET N21, and current sources I21 and I22. The transistors P21 and N21 serve as switches for charging and discharging the capacitor C21. The current sources I21 and I22 generate charging and discharging currents for the capacitor C21. A source of the transistor P21 is connected to a power source terminal via the current source I21. Drains of both the transistor P21 and N21 are connected to a first terminal of the capacitor C21 (which is an output terminal of the output signal S20). A source of the transistor N21 is connected to ground via the current source I22. Gates of both the transistors P21 and N21 are connected to an output terminal of the inverter stage INV10 (which is an output terminal of the output signal S10). A second terminal of the capacitor C21 is connected to ground.
The inverter stage INV30 includes a capacitor C31, a P-channel type MOSFET P31, an N-channel type MOSFET N31, and current sources I31 and I32. The transistors P31 and N31 serve as switches for charging and discharging the capacitor C31. The current sources I31 and I32 generate charging and discharging currents for the capacitor C31. A source of the transistor P31 is connected to a power source terminal via the current source I31. Drains of both the transistors P31 and N31 are connected to a first terminal of the capacitor C31 (which is an output terminal of the output signal S30). A source of the transistor N31 is connected to ground via the current source I32. Gates of both the transistors P31 and N31 are connected to an output terminal of the inverter stage INV20 (which is an output terminal of the output signal S20). A second terminal of the capacitor C31 is connected to ground.
According to the oscillation circuit unit 10 of this configuration example, the 6-phase clock signals CLK1 to CLK6 may be generated using the very simple configuration. Further, the oscillation period Tosc of the clock signals CLK1 to CLK6 may be adjusted by adjusting capacitance values of the capacitors C11 to C31 or charging and discharging current values of the current sources I11 to I31 and I12 to I32.
In addition, although it is illustrated that the oscillation circuit unit 10 of this configuration example generates the 6-phase clock signals CLK1 to CLK6, the number of phases of the clock signals is not limited thereto and, for example, in order to generate 10-phase clock signals, five inverter stages may be connected in a ring shape to form a ring oscillator, and outputs and inverted outputs of the respective stages in the ring oscillator may be drawn out. In a generalized manner, in order to generate n-phase clock signals CLK1 to CLKn, n/2 inverter stages may be connected in a ring shape to form a ring oscillator, and outputs and inverted outputs of respective stages in the ring oscillator may be drawn out.
Further, a temperature dependency or a power dependency of the clock signals CLK1 to CLK6 generated in the oscillation circuit unit 10 are sufficiently small, relative to a temperature dependency or a power dependency of a wiring delay. Thus, a period difference or duty difference of the clock signals CLK1 to CLK6 affecting a final delay amount may be almost negligible.
The input latch unit 21 latches the input signal IN using the clock signals CLK1 to CLK6 to generate input latch signals S11 to S16.
The input phase detecting unit 22, in synchronization with the clock signal CLK1, monitors the input latch signals S11 to S16 to generate a phase detection signal S20 which is based on a phase of the input signal IN.
The dividing unit 23 divides a delay amount setting signal DSET by 6, which is the number of phases of the clock signals CLK1 to CLK6, to generate a quotient signal S31 and a remainder signal S32.
The main delay unit 24 counts the number of pulses of the clock signal CLK1 up to a count value based on the quotient signal S31 (more specifically, a count value obtained by reducing the quotient signal S31 by “1”) and generates a main delay signal S40 by delaying the input latch signal S11.
The sub-delay unit 25 latches the main delay signal S40 by using the clock signals CLK1 to CLK6 to generate sub-delay signals S50(1) to S50(11) having a plurality of phases, more specifically, 11 phases (when generalized, 2n−1 phases).
The selection control unit 26 generates a selection signal S60 based on the remainder signal S32 and the phase detection signal S20.
The signal selecting unit 27 outputs one of the sub-delay signals S50(1) to S50(11) as a delay signal S70 based on the selection signal S60.
The logical AND operation unit 28 outputs a logical AND signal of the input signal IN and the delay signal S70, as an output signal OUT. Thus, when both the input signal IN and the delay signal S70 rise to a high level, the output signal OUT is of a high level, and one of the input signal IN and the delay signal S70 falls to a low level, the output signal OUT is of a low level. As such, the output signal OUT is a signal obtained by delaying only a rise of the input signal IN. However, when there is no need for the output signal OUT to fall as the input signal IN falls, the logical AND operation unit 28 may be omitted and the delay signal S70 may be outputted as it is, as the output signal OUT.
The delay circuit unit 20 in this configuration example adds a main delay amount (which corresponds to a delay amount applied to the input latch signal S11 in the main delay unit 24) in which the oscillation period Tosc of the clock signal CLK1 is set as a variable unit and a sub-delay amount (which corresponds to a delay amount applied to the main delay signal S40 in the sub-delay unit 25) in which a phase difference Tosc/6 of the clock signals CLK1 to CLK6 is set as a variable unit to generate a final delay amount (which corresponds to a delay amount applied to the input signal IN). Here, the delay circuit unit 20 sets the main delay amount based on the quotient signal S31, and sets the sub-delay amount based on the remainder signal S32 and the phase detection signal S20. Through this configuration, a delay amount having a variable width ranging from, e.g., 100 ns to 10 μs, may be minutely adjusted by a unit of 10 ns.
In the input latch unit 21 of this configuration example, the D flip-flops FF11 to FF16 latch the input signal IN at rising edges of the clock signals CLK1 to CLK6 to generate the input latch signals S11 to S16, respectively.
In the example of
As illustrated in
In the first input phase (case 1), a rising edge of the input signal IN arrives in a time duration of t11 to t12. In this case, the input latch signal S11 is of a low level until time t17 (which is the timing at which a rising edge of the clock signal CLK1 first arrives after an arrival of the rising edge of the input signal IN). The input latch signal S12 is of a low level until the time t12 and a high level from time t12. The input latch signal S13 is of a low level until time t13 and a high level from time t13. The input latch signal S14 is of a low level until time t14 and a high level from time t14. The input latch signal S15 is of a low level until time t15 and a high level from time t15. The input latch signal S16 is of a low level until time t16 and a high level from time t16. Thus, in the first input phase (case 1), only the input latch signal S11 is of a low level and all of the other input latch signals S12 to S16 is of a high level at time t17.
In the second input phase (case 2), a rising edge of the input signal IN arrives in a time duration of t12 to t13. In this case, the input latch signals S11 and S12 are of a low level until time t17. The input latch signal S13 is of a low level until time t13 and a high level from time t13. The input latch signal S14 is of a low level until time t14 and a high level from time t14. The input latch signal S15 is of a low level until time t15 and a high level from time t15. The input latch signal S16 is of a low level until time t16 and a high level from time t16. Thus, in the second input phase (case 2), the input latch signals S11 and S12 are of a low level and all of the other input latch signals S13 to S16 are of a high level at time t17.
In the third input phase (case 3), a rising edge of the input signal IN arrives in a time duration of t13 to t14. In this case, the input latch signals S11 to S13 are of a low level until time t17. The input latch signal S14 is of a low level until time t14 and a high level from time t14. The input latch signal S15 is of a low level until time t15 and a high level from time t15. The input latch signal S16 is of a low level until time t16 and a high level from time t16. Thus, in the third input phase (case 3), the input latch signals S11 to S13 are of a low level and the other input latch signals S14 to S16 are of a high level at time t17.
In the fourth input phase (case 4), a rising edge of the input signal IN arrives in a time duration of t14 to t15. In this case, the input latch signals S11 to S14 are of a low level until time t17. The input latch signal S15 is of a low level until time t15 and a high level from time t15. The input latch signal S16 is of a low level until time t16 and a high level from time t16. Thus, in the fourth input phase (case 4), the input latch signals S11 to S14 are of a low level and the other input latch signals S15 and S16 are of a high level at time t17.
In the fifth input phase (case 5), a rising edge of the input signal IN arrives in a time duration of t15 to t16. In this case, the input latch signals S11 to S15 are of a low level until time t17. The input latch signal S16 is of a low level until time t16 and a high level from time t16. Thus, in the fifth input phase (case 5), the input latch signals S11 to S15 are of a low level and only the input latch signal S16 is of a high level at time t17.
In the sixth input phase (case 6), a rising edge of the input signal IN arrives in a time duration of t16 to t17. In this case, all of the input latch signals S11 to S16 are of a low level until time t17. Thus, in the sixth input phase (case 6), all of the input latch signals S11 to S16 are of a low level at time t17.
In this manner, logical levels of the input latch signals S11 to S16 differ at time t17 depending on the input phases (e.g., case 1 to case 6).
A data terminal D of the D flip-flop FF20 is connected to an input terminal of an input latch signal S11. Clock terminals of the D flip-flops FF20 to FF26 are connected to the input terminal of the clock signal CLK1. Data terminals D of the D flip-flops FF21 to FF26 are connected to output terminals of the selectors SEL21 to SEL26, respectively. Output terminals Q of the D flip-flops FF21 to FF26 are connected to output terminals of phase detection signals S21 to S26 (which correspond to a first outputted phase detection signal S20), respectively.
A first (inversion) input terminal of the logical AND operator AND21 is connected to the output terminal Q of the D flip-flop FF20. A second (non-inversion) input terminal of the logical AND operator AND21 and a first (inversion) input terminal of the logical AND operator AND22 are connected to the input terminal of the input latch signal S12. A second (non-inversion) input terminal of the logical AND operator AND22 and a first (inversion) input terminal of the logical AND operator AND23 are connected to the input terminal of the input latch signal S13. A second (non-inversion) input terminal of the logical AND operator AND23 and a first (inversion) input terminal of the logical AND operator AND24 are connected to the input terminal of the input latch signal S14. A second (non-inversion) input terminal of the logical AND operator AND24 and a first (inversion) input terminal of the logical AND operator AND25 are connected to the input terminal of the input latch signal S15. A second (non-inversion) input terminal of the logical AND operator AND25 is connected to the input terminal of the input latch signal S16. First to fifth input terminals of the logical NOR operator NOR20 are connected to output terminals of the logical AND operators AND21 to AND25, respectively.
The first input terminals of the selectors SEL21 to SEL26 are connected to output terminals of the logical AND operators AND21 to AND25 and the logical NOR operator NOR20, respectively. Second input terminals of the selectors SEL21 to SEL26 are connected to output terminals Q of the D flip-flops FF21 to FF26, respectively. Control terminals of the selectors SEL21 to SEL26 are connected to the input terminal of the input latch signal S11.
The D flip-flop FF20 latches the input latch signal S11 at a rising edge of the clock signal CLK1. The D flip-flops FF21 to FF26 latch outputs of the selectors SEL21 to SEL26, respectively, at a rising edge of the clock signal CLK1 and output the latched results as phase detection signals S21 to S26.
The logical AND operator AND21 performs a logical AND operation on an output signal from the D flip-flop FF20, which is inversion-inputted, and the input latch signal S12, which is non-inversion-inputted, to output a logical AND signal. The logical AND operator AND22 performs a logical AND operation on the input latch signal S12, which is inversion-inputted, and the input latch signal S13, which is non-inversion-inputted, to output a logical AND signal. The logical AND operator AND23 performs a logical AND operation on the input latch signal S13, which is inversion-inputted, and the input latch signal S14, which is non-inversion-inputted, to output a logical AND signal. The logical AND operator AND24 performs a logical AND operation on the input latch signal S14, which is inversion-inputted, and the input latch signal S15, which is non-inversion-inputted, to output a logical AND signal. The logical AND operator AND25 performs a logical AND operation on the input latch signal S15, which is inversion-inputted, and the input latch signal S16, which is non-inversion-inputted, to output a logical AND signal. The logical NOR operator NOR20 receives the outputs from the logical AND operators AND21 to AND25 to output a logical NOR signal.
When the input latch signal S11 is of a low level, the selectors SEL21 to SEL26 select the outputs of the logical AND operators AND21 to AND25 and the logical NOR operator NOR20, respectively. Otherwise, when the input latch signal S11 is of a high level, the selectors SEL21 to SEL26 select the outputs of the D flip-flops FF21 to FF26. As such, in the input phase detecting unit 22 of this configuration example, only when the input latch signal S11 is of a low level, data updating of the phase detection signal S20 is performed, and when the input latch signal S11 is of a high level, data preservation of the phase detection signal S20 is performed.
Further, the input phase detecting unit 22 of this configuration example is configured to generate the 1-bit phase detection signals S21 to S26 corresponding to the six input phases (case 1 to case 6), respectively, but the configuration of the input phase detecting unit 22 is not limited thereto and, for example, an encoder for generating a 3-bit [2:0] phase detection signal S20 from the input latch signals S11 to S16 may be implemented and an encoded result based on the input phases (case 1 to case 6) may be outputted as the phase detection signal S20, such that “1(001b)” is outputted for the first input phase (case 1), “2(010b)” is outputted for the second input phase (case 2), . . . , and “6(110b)” is outputted for the sixth input phase (case 6).
When the delay amount setting signal DSET has 10 bits [9:0], a maximum value of the signal DST is 1023d (3FFh) (hereinafter, “d” and “h” at the ends of the numbers denote a decimal number and a hexadecimal number, respectively, which applies to the following portion in the same manner). Thus, when the delay amount setting signal DSET is divided by 6, which is the number of the phases of the clock signals CLK1 to CLK6, the quotient signal S31 ranges from 0d (0h) to 170d (AAh) and the remainder signal S32 ranges 0d (0h) to 5d (5h). Accordingly, it appears that 8 bits (0 to 255) are sufficient for the quotient signal S31 and 3 bits (0 to 7) are sufficient for the remainder signal S32.
For example, in the case where the oscillation period Tosc is 62.5 ns (which corresponds to the oscillation frequency f=16 MHz), in the variable delay circuit 1 of this configuration example, the delay amount setting signal DSET is set within a variable range of 6d to 1023d such that the delay amount Td applied to the input signal IN may be suitably adjusted to range from 62.5 ns to 10.6 μs.
For example, in the case where a target value of the delay amount Td is set to 500 ns, 48d (=500 ns/10.417 ns) is inputted as the delay amount setting signal DSET. At this time, the quotient signal S31 is 3d and the remainder signal S32 is 0d.
Further, the main delay unit 24 that receives the quotient signal S31 performs a counting operation on the clock signal CLK1 up to a count value obtained by reducing the quotient signal S31 by “1” in generating the main delay signal S40 (the details of this operation will be described later). Thus, it is prohibited (or invalidated) to set the delay amount setting signal DSET to 0d to 5d such that the result obtained by reducing the quotient signal S31 by “1” may not be a negative value, namely, such that the quotient signal S31 is not 0d (0h).
In addition, in a range where the delay amount Td is smaller than 100 ns, an irregular jitter delay time Td0 (see
In the example of
In this operation, as mentioned above, the main delay unit 24 delays the input latch signal S11 by counting the number of pulses of the clock signal CLK1 up to the count value obtained by reducing the quotient signal S31 by “1,” thereby generating the main delay signal S40. Further, the main delay unit 24 may be easily implemented by using the existing variable delay circuit (see
For example, when the quotient signal S31 is 1d, the count value obtained by reducing the quotient signal S31 by “1” is “0.” Thus, the main delay unit 24 outputs the input latch signal S11 as it is, as the main delay signal S40, without counting the number of pulses of the clock signal CLK1. As such, when the quotient signal S31 is 1d, a main delay signal S40(1) rises to the high level at time t22, like the input latch signal S11.
In the case where the quotient signal S31 is 2d, the count value obtained by reducing the quotient signal S31 by “1” is “1.” Thus, the main delay unit 24 delays the input latch signal S11 by counting one pulse of the clock signal CLK1, thereby generating the main delay signal S40. As such, when the quotient signal S31 is 2d, a main delay signal S40(2) rises to a high level at time t23, at which the number of pulses of the clock signal CLK1 increases by 1 after the input latch signal S11 rises to the high level at time t22. Here, the main delay signal S40(2) is a signal that is generated by applying a delay amount corresponding to one period (Tosc) of the clock signal CLK to the input latch signal S11.
In the case where the quotient signal S31 is 3d, the count value obtained by reducing the quotient signal S31 by “1” is “2.” As such, the main delay unit 24 delays the input latch signal S11 by counting two pulses of the clock signal CLK1, thereby generating the main delay signal S40. As such, when the quotient signal S31 is 3d, a main delay signal S40(3) rises to a high level at time t24, at which the number of pulses of the clock signal CLK1 increases by 2 after the input latch signal S11 rises to the high level at the time t22. Here, the main delay signal S40(3) is a signal that is generated by applying a delay amount corresponding to 2 periods (2×Tosc) of the clock signal CLK to the input latch signal S11.
Thereafter, in the same manner, when the quotient signal S31 is 8d, a main delay signal S40(8) is a signal that is generated by applying a delay corresponding to 7 periods (7×Tosc) of the clock signal CLK to the input latch signal S11 (see time t25). Also, when the quotient signal S31 is 170d, a main delay signal S40(170) is a signal that is generated by applying a delay corresponding to 169 periods (169×Tosc) of the clock signal CLK to the input latch signal S11 (see time t26).
Further, the reason for reducing the quotient signal S31 by “1” for determining a count value of the clock signal CLK1 is because a delay corresponding to one period (Tosc) of the maximum clock signal CLK1 occurs after the input signal IN rises to a high level and before the input latch signal S11 is latched to a high level. Additionally, the corresponding delay amount may vary depending on input phases (i.e., case 1 to case 6), but the variations may be absorbed by adjusting a sub-delay amount applied to the main delay signal S40.
Data terminals D of the D flip-flops FF31a to FF36a are connected to the input terminal of the main delay signal S40. Clock terminals of the D flip-flops FF31a to FF36a are connected to the input terminals of the clock signals CLK1 to CLK6, respectively. Output terminals Q of the D flip-flops FF31a to FF36a are connected to output terminals of sub-delay signals S50(1) to S50(5), respectively. The output terminal Q of the D flip-flop FF31a is connected to an output terminal of the sub-delay signal S50(6).
Data terminals D of the D flip-flops FF32b to FF36b are connected to output terminals Q of the D flip-flops FF32a to FF36a, respectively. Clock terminals of the D flip-flops FF32b to FF36b are connected to output terminals of sub-delay signals S50(7) to S50(11), respectively.
The D flip-flops FF31a to FF36a latch the main delay signal S40 at rising edges of the clock signals CLK1 to CLK6, respectively. The D flip-flops FF32b to FF36b latch outputs from the D flip-flops FF32a to FF36a at rising edges of the clock signals CLK2 to CLK6, respectively.
In
Here, when the main delay signal S40 rises to a high level at time t300, the sub-delay signals S50(1) to S50(11) are latched to high levels at times t301 to t311, respectively. As such, the rising edges of the sub-delay signals S50(1) to S50(11) deviate by the phase difference (Tosc/6) of the clock signals CLK1 to CLK6.
Further, in order to finely adjust a final delay amount based on the remainder signal S32, while absorbing the variations of the delay amount based on the input phases (case 1 to case 6) by adjusting the sub-delay amount applied to the main delay signal S40, 11-phase sub-delay signals S50(1) to S50(11) are required (whose details will be described later).
As mentioned above, the selection control unit 26 generates a selection signal S60 based on the phase detection signal S20 and the remainder signal S32. Here, the selection control unit 26 refers to a signal selection table in which signal values of the phase detection signal S20 and the remainder signal S32 and contents of the selection signal S60 (indication contents for designating which of the sub-delay signals S50(1) to S50(11) the signal selecting unit 27 should select as the delay signal S70) are associated with each other.
As illustrated in
Further, in the case where the phase detection signal S20 is an encoding signal which becomes values from “1” to “6” in every input phase (case 1 to case 6), the selection signal S60 may be generated by arithmetically operating (or adding) the phase detection signal S20 and the remainder signal S32 without using the signal selection table. For example, in the case where the phase detection signal S20 is “x” (where x is an integer of 1 to 6) and the remainder signal S32 is “y” (where y is an integer of 0 to 5), the selection signal S60 may be generated such that the sub-delay signal S50(z) (where z=x+y) is selected as the delay signal S70.
In the example of
Thus, after the input signal IN rises to a high level and before the input latch signal S11 rises to a high level, without being based on the delay amount setting signal DSET, an irregular jitter delay time Td0 (where 0<Td0<Tosc/6) that results from the timing at which the input signal IN rises to the high level (from which timing of t41 to t42 the input signal IN rises to a high level) and the latch delay time Td1 (in the first input phase case 1, Td1=(5/6)×Tosc) depending on the input latch processing occur.
Further, in the case where the delay amount setting signal DSET is 48d, since the quotient signal S31 obtained by dividing 48d by 6, which is the number of phases, is 8d, a count value obtained by the reduction of is “7.” Thus, the main delay unit 24 counts seven pulses of the clock signal CLK1 and delays the input latch signal S11, thereby generating the main delay signal S40. As such, the main delay signal S40 rises to a high level when the pulse number of the clock signal CLK1 increased to 7 at time t44, that is, when the main delay time tae (=7×Tosc) corresponding to 7 periods of the clock signal CLK, has lapsed after the input latch signal S11 rises to a high level at time t43.
Further, when the delay amount setting signal DSET is 48d, the remainder signal S31 obtained by dividing 48d by 6, which is the number of phases, is 0d. Thus, the selection control unit 26 compares the input result that the phase detection signal S20 is “case 1” and the remainder signal S31 is “0” and the signal selection table of
Also, the sub-delay signal S50(1) is latched to a high level when the sub-delay time Td3 (=Tosc/6) corresponding to a phase difference of the clock signals CLK1 to CLK6 has lapsed at time t45 after the main delay signal S40 rises to a high level at time t44. Time t44 and time t45 in
Through the sequential signal delay processing described above, a final delay time td from when the input signal IN rises to a high level until when the output signal OUT rises to a high level is set to a total time of (=8×Tosc+Td0) of the jitter delay time Td0, the latch delay time Td1 (=(5/6)×Tosc), the main delay time Td2 (=7×Tosc), and the sub-delay time Td3 (=Tosc/6).
In this manner, in the variable delay circuit 1 of this configuration example, a desired delay time Td (when DSET=48d, Td=500 ns to 510.417 ns) may be set by appropriately adjusting the main delay time Td2 and the sub-delay time Td3.
The upper switch SW1 and the lower switch SW2 are connected in series between an application terminal of the input voltage Vin and ground. A connection node between the upper switch SW1 and the lower switch SW2 is connected to an output terminal of the output voltage Vout via the inductor L1. The output terminal of the output voltage Vout is connected to ground via the capacitor C1 and also connected to a feedback input terminal of the switch driving circuit X1.
The switch driving circuit X1 includes a control circuit X10 and a simultaneous OFF time adjusting circuit X20. The control circuit X10 drives a pulse of the input signal IN such that an output voltage Vo, which is feedback-inputted, is identical to a predetermined target value. The simultaneous OFF time adjusting circuit X20 generates a first output signal OUT1 and a second output signal OUT2 from the input signal IN, and outputs the first output signal OUT1 and the second output signal OUT2 as control signals of the upper switch SW1 and the lower switch SW2, respectively.
The upper switch SW1 and the lower switch SW2 are complementarily (exclusively) ON/OFF-controlled based on the first output signal OUT1 and the second output signal OUT2. For example, the upper switch SW1 is turned on when the first output signal OUT1 is of a high level and turned off when the first output signal OUT1 is of a low level. Similarly, the lower switch SW2 is turned on when the second output signal OUT2 is of a high level and turned off when the second output signal OUT2 is of a low level.
Through such ON/OFF controlling, a switch voltage in a pulse form is generated in the connection node between the upper switch SW1 and the lower switch SW2, and thus, the switch voltage may be rectified and smoothed to step down the input voltage Vin to thereby obtain the output voltage Vout.
Here, the simultaneous OFF time adjusting circuit X20 serves to generate the first output signal OUT1 and the second output signal OUT2 from the input signal IN to prepare a simultaneous OFF time Td of the upper switch SW1 and the lower switch SW2. Further, the simultaneous OFF time adjusting circuit X20 serves to adjust the simultaneous OFF time Td based on the delay amount setting signal DSET.
In order to implement the foregoing function, the simultaneous OFF time adjusting circuit X20 includes variable delay circuits X21 and X22 and an inverter X23. The variable delay circuit X21 delays a rising edge of the input signal IN by a delay amount based on the delay amount setting signal DSET to generate the first output signal OUT1. The variable delay circuit X22 delays a rising edge of an inverted input signal INB by a delay amount based on the delay amount setting signal DSET to generate the second output signal OUT2. The inverter X23 logically inverts the input signal IN to generate the inverted input signal INB.
Further, as the variable delay circuits X21 and X22, the variable delay circuit 1 described above may be applied. Here, the variable delay circuits X21 and X22 preferably share the oscillation circuit unit 10.
In the example of
The first output signal OUT1 rises to a high level at time t52 delayed by the simultaneous OFF time Td from the time t51 (the timing at which the input signal IN rises), and falls to a low level at time t53 (the timing at which the input signal IN falls). Similarly, the first output signal OUT1 rises to a high level at time t56 delayed by the simultaneous OFF time Td from the time t55 (the timing at which the input signal IN rises) and falls to a low level at time t57 (the timing at which the input signal IN falls).
The second output signal OUT2 falls to a low level at time t51 (the timing at which the inverted input signal INB falls) and rises to a high level at time t54 delayed by the simultaneous OFF time Td from the time t53 (the timing at which the inverted input signal INB rises). Similarly, the second output signal OUT2 falls to a low level at time t55 (the timing at which the inverted input signal INB falls) and rises to a high level at time t58 delayed by the simultaneous OFF time Td from time t55 from time t57 (the timing at which the inverted input signal INB rises).
Through the signal delay processing described above, when ON/OFF states of the upper switch SW1 and the lower switch SW2 are switched, the simultaneous OFF time Td (time duration from t51 to t52, time duration from t53 to t54, time duration from t55 to t56, and time duration from t57 to t58) are inevitably gone through. Thus, generation of a through current through the upper switch SW1 and the lower switch SW2 from the application terminal of the input voltage Vin to the ground terminal may be prevented in advance.
Further, by applying the foregoing variable delay circuit 1 as each of the variable delay circuits X21 and X22, the simultaneous OFF time Td may be suitably adjusted based on the delay amount setting signal DSET. Thus, it is possible to prevent a through current and enhance efficiency such that the simultaneous OFF time Td can be optimized based on the characteristics of the upper switch SW1 and the lower switch SW2.
However, an application subject of the variable delay circuit 1 is not limited to the switch driving circuit X1 of the power supply device X, and may also be applied to a switch driving circuit of a motor driving device, or the like.
The circuit configuration in which the variable delay circuit delays only the rising edge is illustrated above, and a portion of the foregoing circuit configuration may be modified to realize a variable delay circuit of a falling edge or a variable delay circuit of both edges.
For example, the logical AND operation unit 28 of
Further, a variable delay circuit of both edges may be implemented by combining the variable delay circuit of a rising edge and the variable delay circuit of a falling edge. Specifically, the variable delay circuit of both edges may be implemented by connecting the variable delay circuit of a rising edge and the variable delay circuit of a falling edge in series. Here, since a plurality of dividing units 23 overlaps, the dividing units 23 may be integrated.
<Modification without Main Delay Unit>
Further, the configuration in which the main delay unit 24 and the sub-delay unit 25 are separated is illustrated above. In the case where a setting rage of a variable delay amount is narrow (for example, in the case where the delay amount setting signal DSET is 5 bits or less), it may also be configured such that a counting operation by the main delay unit 24 is omitted and the selecting signal S60 is generated directly from the delay amount setting signal DSET.
In addition, the various technical features disclosed in the present disclosure may be differently modified, in addition to the foregoing embodiments, without departing from the spirit and scope of the present disclosure. That is, it is to be considered that the embodiments are not limited and illustrative in all respects, and it is to be understood that the technical scope of the present disclosure is indicated by the accompanying claims, rather than the description of the embodiments, and all changes and modifications that fall within the meaning and scope of equivalents of the claims are included.
The present disclosure can be employed in general application programs, which process a pulse signal (e.g., a pulse width modulation (PWM) signal), in a power supply device, a motor driving device, etc.
According to the present disclosure in some embodiments, it is possible to provide a variable delay circuit capable of adjusting a delay amount given to an input signal by a resolving power shorter than an oscillation signal of a clock signal.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the disclosures. Indeed, the novel methods and apparatuses described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the disclosures. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the disclosures.
Number | Date | Country | Kind |
---|---|---|---|
2014096881 | May 2014 | JP | national |