This application claims the priority benefit of Taiwan application serial no. 101217204, filed on Sep. 6, 2012. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Technical Field
The disclosure relates to a voltage converting apparatus, and especially to a sub-harmonic detector of the voltage converting apparatus.
2. Related Art
Referring to
The resistor RS is used for detecting a current flowing from a source terminal of the power transistor PM, and thereby generating a detected voltage VCS. In the conventional technical field, a comparison of the detected voltage voltage VCS and a reference voltage VCL is performed through the comparator CMP2, and a result of comparison generated by the comparator CMP2 is provided to the OR gate 120 as a basis for generating the PWM signal PWM by the SR latch. More specifically, the comparator CMP2 may be used for preventing from the condition that an excessive current flows from the source terminal of the power transistor PM.
Referring to both
A sub-harmonic detector of a pulse width modulation (PWM) signal is provided herein for effectively detecting a sub-harmonic condition in the PWM signal.
A voltage converting apparatus is provided herein for detecting a sub-harmonic condition in a PWM signal thereof.
The sub-harmonic detector of a PWM signal is introduced herein, suitable for a voltage converting apparatus, including a pulse eliminating circuit, a counter and a comparator. The pulse eliminating circuit receives and a reference PWM signal having a same period with the PWM signal and receives the PWM signal from the voltage converting apparatus. The PWM signal has a plurality of pulses, and the reference PWM signal has a plurality of reference pulses. The pulse eliminating circuit subtracts each of the corresponding reference pulses from each of the pulses and generates a processed signal. The counter receives and counts the processed signal and the PWM signal during a time period to obtain first and second counting values. The comparator is coupled to the counter and compares the first and second counting values for detecting whether a sub-harmonic condition happens or not in the PWM signal.
In an embodiment herein, a rising edge of each of the reference pulses is synchronous with or prior to a rising edge of each of the corresponding pulses.
In an embodiment herein, the pulse eliminating circuit is a logical operation circuit.
In an embodiment herein, the pulse eliminating circuit includes an inverter and a NOR gate. An input terminal of the inverter receives the PWM signal. A first input terminal of the NOR gate receives the reference PWM signal, and a second input terminal thereof is coupled to an output terminal of the inverter, wherein an output terminal of the NOR gate generates the processed signal.
In an embodiment herein, the pulse eliminating circuit includes an AND gate and an inverter. An input terminal of the inverter receives the reference PWM signal, a first input terminal of the AND gate receives the PWM signal, and a second input terminal thereof is coupled to an output terminal of the inverter, wherein an output terminal of the AND gate generates the processed signal.
The voltage converting apparatus is introduced herein, including a power transistor, a transforming and rectifying circuit, a current detector, a PWM signal generator and a sub-harmonic detector. A control terminal of the power transistor receives a PWM signal, and the transforming and rectifying circuit is coupled to a first terminal of the power transistor and an operating voltage for transforming and rectifying the voltage on the first terminal of the power transistor in order to generate an output voltage. The current detector is coupled to a second terminal of the power transistor for generating a detected voltage according to a detected current flowing from the second terminal of the power transistor. The PWM signal generator is coupled to the power transistor and the current detector for generating a PWM signal according to the detected voltage, and the PWM signal generator further generates a reference PWM signal, wherein periods of the reference PWM signal and the PWM signal are the same. The sub-harmonic detector is coupled to the PWM signal generator for receiving the reference PWM signal and the PWM signal. The sub-harmonic detector includes a pulse eliminating circuit, a counter and a comparator. The pulse eliminating circuit receives the reference PWM signal having a same period with the PWM signal, and receives the PWM signal from the voltage converting apparatus. The PWM signal has a plurality of pulses, and the reference PWM signal has a plurality of reference pulses, wherein the pulse eliminating circuit eliminates a part of the pulses overlapping with the reference pulses respectively and generates a processed signal. The counter counts the processed signal and the PWM signal during a time period to obtain first and second counting values respectively. The comparator is coupled to the counter and compares the first and second counting values for detecting whether a sub-harmonic condition happens or not in the PWM signal.
In an embodiment herein, the voltage converting apparatus further includes a reference voltage generator. The reference voltage generator is coupled to a first comparator for providing a reference voltage, wherein the reference voltage rises with time within a single period of a clock signal according to a rising slope.
In an embodiment of the disclosure, the sub-harmonic detector further transmits a sub-harmonic detection result to the reference voltage generator for adjusting the rising slope.
Based on the above, the disclosure eliminates the pulses of the PWM signal with the reference pulses of the reference PWM signal by means of the pulse eliminating circuit, and thereby generates the processed signal. The disclosure also calculates the number of pulses of the processed signal and the PWM signal in a same time period for detecting whether the sub-harmonic condition happens or not in the PWM signal. Thus, whether the sub-harmonic condition happens or not in the PWM signal is effectively detected. The designer may also make adequate adjustment to the PWM signal according to the detection result of the sub-harmonic condition.
In order to make the aforementioned and other features and advantages of the disclosure more comprehensible, several embodiments accompanied with figures are described in detail below.
The accompanying drawings are included to provide further understanding, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments and, together with the description, serve to explain the principles of the disclosure.
Referring to
The counter 320 is coupled to the pulse eliminating circuit 310 for receiving and counting the processed signal SPWM and the PWM signal PWM within a same time period to obtain two counting values R1 and R2 respectively. The comparator 330 is coupled to the counter 320. The comparator 330 compares the counting values R1 and R2 to detect whether the sub-harmonic condition happens or not in the PWM signal PWM.
More specifically, referring to
It is worth noting that the reference PWM signal PWMref is a signal with a fixed period and a fixed duty cycle. Besides, rising edges of the reference pulses P11-P13 of the reference PWM signal PWMref are synchronous with rising edges of the pulses P21-P23 of the PWM signal PWM. In addition, in
Referring further to
Accordingly, in
Referring to
In
It is worth noting from the implementations in
Referring to
The counting circuit 620 includes a plurality of T-flip flops TFF21-TFF2N. A clock terminal CK of a first-level T-flip flop TFF21 receives the processed signal SPWM. Output terminals Q of each level of T-flip flops TFF21-TFF2N are coupled to clock terminals CK of lower-level T-flip flops TFF21-TFF2N, and the output terminals Q of each level of T-flip flops TFF21-TFF2N generate a plurality of bits R21-R2N of another counting value respectively.
Moreover, reset terminals R of the T-flip flops TFF11-TFF1N and TFF21-TFF2N in
Referring to
The current detector 720 includes a resistor RS, and the resistor RS is serially connected between a second terminal (the source) of the power transistor and a ground potential GND. The resistor RS is used for receiving a current from the source of the power resistor PM and generating a detected voltage VCS at a terminal where the resistor RS is coupled to the power transistor PM.
The PWM signal generator 730 is coupled to the power transistor PM and the current detector 720. The PWM signal generator 730 generates the PWM signal PWM according to the detected voltage VCS, and the PWM signal generator 730 further generates the reference PWM signal PWMref, wherein periods of the reference PWM signal PWMref and the PWM signal PWM are the same. Note that in the embodiment, the PWM signal generator 730 includes a reference voltage generator 731, an SR latch 732, an oscillator 733, an OR gate 734 and comparators CMP1 and CMP2. Therein, the comparator CMP2 receives and compares the detected voltage VCS and a reference voltage VCL, and the comparator CMP1 receives and compares the detected voltage VCS and a feedback voltage VFB. The OR gate 734 receives the result of comparison from the comparators CMP1 and CMP2 to perform an OR logical operation, and provides the result of operation to a reset terminal R of the SR latch 732. The oscillator 733 is coupled to a setting terminal S of the SR latch 732, and provides a clock signal CLK to the setting terminal S of the SR latch 732. In the embodiment, the oscillator 733 also provides the clock signal CLK to the sub-harmonic detector 740 as the reference PWM signal PWMref.
The detailed implementation and operation of the sub-harmonic detector 740 in the embodiment is the same as the sub-harmonic detector in the above embodiment and implementation, and therefore no elaboration is provided herein.
It is worth noting that the sub-harmonic detector 740 transmits a detected result DR of whether the sub-harmonic condition happens or not in the PWM signal PWM to the reference voltage generator 731. The reference voltage generator 731 further releases the sub-harmonic condition generated in the PWM signal PWM by changing the generated reference voltage VCL when the detected result DR points out that the sub-harmonic condition happens in the PWM signal PWM. For instance, if the reference voltage generator 731 generates the reference voltage VCL rising with time within a single period of the clock signal CLK according to a rising slope, the reference voltage generator 731 releases the sub-harmonic condition generated in the PWM signal PWM by adjusting the rising slope when the detected result DR points out that the sub-harmonic condition happens in the PWM signal PWM.
Moreover, the feedback signal VFB may usually be obtained by performing a voltage division on the output voltage. The feedback voltage VFB provides information on whether the output voltage VOUT generated by the voltage converting apparatus 700 has reached a predetermined target value.
In light of the above, the disclosure eliminates the overlapping part of the pulses and the reference pulses in the PWM signal and the reference PWM signal for generating the processed signal. It is detected whether the sub-harmonic condition happens or not in the PWM signal through calculating the number of pulses of the PWM signal and the processed signal within the same time period. That is to say that the disclosure utilizes a simple circuit to effectively detect the sub-harmonic condition happening in the PWM signal, and further performs a compensation for the sub-harmonic condition in the PWM signal for enhancing the work efficiency of the voltage converting apparatus.
Although the disclosure has been described with reference to the embodiments thereof, it will be apparent to one of the ordinary skills in the art that variations and modifications to the described embodiments may be made without departing from the spirit and scope of the disclosure. Accordingly, the scope of the disclosure will be defined by the attached claims, not by the above detailed description.
Number | Date | Country | Kind |
---|---|---|---|
101217204 A | Sep 2012 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6417707 | Underhill et al. | Jul 2002 | B1 |
6674656 | Yang et al. | Jan 2004 | B1 |
7368897 | Qahouq et al. | May 2008 | B2 |
8030908 | Huang | Oct 2011 | B2 |
8045351 | Hsueh et al. | Oct 2011 | B2 |
8558483 | Lee et al. | Oct 2013 | B2 |
8614595 | Acatrinei | Dec 2013 | B2 |
Number | Date | Country | |
---|---|---|---|
20140063856 A1 | Mar 2014 | US |