This application claims the benefit of Taiwan application Serial No. 101145744, filed Dec. 5, 2012, the disclosure of which is incorporated by reference herein in its entirety.
The disclosure relates in general to an electronic device and control method thereof, and more particularly to a frequency converter and switching method thereof.
Total harmonic distortion is one of the critical specifications in safety standards in products associated with frequency converters, and a switching strategy is the mainly cause of effecting the harmonic distortion. A common frequency converter operates on a switching strategy of a pulse width modulator (PWM). The switching number and tracking accuracy of the modulator are positively correlated. In order to improve tracking accuracy, the switching frequency of the frequency converter is often increased, so that the system switching loss is increased.
Therefore, there is a need for switching strategy circuit having an enhanced system tracking accuracy without increasing the switching frequency.
The disclosure is directed to a frequency converter and switching method thereof.
According to one embodiment, a switching method for a frequency converter is provided. The switching method includes the following steps. A reference voltage signal and then a triangle wave signal are received by a comparator. A switching signal is outputted by the comparator. The switching signal is fed back to calculate an error signal by computing the reference voltage signal and the switching signal. The triangle wave signal or the reference signal is calibrated according to the error signal.
According to another embodiment, a frequency converter is provided. The frequency converter includes a comparator, an error computation unit and a calibration unit. The comparator receives a voltage reference signal and a triangle wave signal, and outputs a switching signal. The switching signal is fed back to the error computation unit to calculate an error signal by computing the reference voltage signal and the switching signal. The calibration unit calibrates the triangle wave signal or the reference voltage signal according to the error signal.
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawing.
Referring to
The error computation unit 120 calculates an error between the signals at two input ends. The calibration unit 130 calibrates the signal at one input end according to the signal at the other input end. For example, the error computation unit 120 and the calibration unit 130 are a chip, a firmware circuit or a storage medium storing multiple codes. In one embodiment, the error computation unit 120 and the calibration unit 130 may be integrated into one component.
Through the feedback computation and calibration of the first embodiment, the frequency converter 100 may be prevented from generating total harmonic distortion while also reducing switching losses. A switching method for the frequency converter 100 shall be described in detail with reference to a flowchart below.
Referring to
In step S102, a starting value of a feedback number is set to 1.
In step S103, a reference voltage signal is received by the comparator 110. Referring to
In step S104, a triangle wave signal S1 is received by the comparator 110. Before being fed back and calibrated, the triangle wave signal S1 is predetermined as a symmetrical and periodical changing form.
In the embodiment, the switching frequency of the triangle wave signal S1 is a constant frequency.
In step S105, a switching signal U1 is outputted by the comparator 110. Before feeding back and calibrating the triangle wave signal S1, the switching signal U1 outputted for the first time has a less satisfactory accuracy and contains total harmonic distortion.
In step S106, the switching signal U1 is fed back to the error computation unit 120 to calculate a first error signal E1 by computing the reference voltage signal R1 and the switching signal U1.
In the embodiment, the computation frequency of the error computation unit 120 is a constant frequency greater than the frequency of the triangle wave signal S1. For example, the computation frequency of the error computation unit 120 is an integral multiple of the frequency of the triangle wave signal S1.
In step S107, the calibration unit 130 calibrates the triangle wave signal S1 according to the first error signal E1 into a calibrated triangle wave signal S1′. The calibration procedure performed by the calibration unit 130 may be an inverse function of the computation procedure performed by the error computation unit 120. For example, the error computation unit 120 performs subtraction, and the calibration unit 130 correspondingly performs addition.
In step S108, it is determined whether the feedback number is greater than or equal to k. That is to say, it is determined whether the feedback number reaches k. Step S110 is performed when the feedback number is greater than or equal to k, or else step S109 is performed and backed to step S104 when the feedback number is not greater than or equal to k.
In step S109, the feedback number is added by 1, and step S104 is iterated. Step S105 of outputting the switching signal U1, step S106 of feeding back the switching signal U1 and calculating the first error signal E1, and step S107 of calibrating the triangle wave signal S1 are repeated for a k number of times. Step S110 is only performed when the feedback number is greater than or equal to k.
In steps S110 to S111, a pulse width of the switching signal U1 is continuously calculated, and a logic signal is generated to the switching circuit to complete the process of the frequency converter 100.
With the frequency converter 100 and the switching method thereof, the switching signal U1 may provide an enhanced accuracy through the feedback and calibration procedures. While enhancing the accuracy of the switching signal U1, neither the switching frequency of the triangle wave signal S1 nor switching losses are increased. Thus, the frequency converter 100 may satisfy both high accuracy and low switching loss requirements.
Referring to
As shown in
In step S206, the switching signal U2 is fed back to an error computation unit 220 to calculate a second error signal E2 by computing a reference voltage signal R2 and the switching signal U2.
In step S207, a calibration unit 230 calibrates the reference voltage signal R2 according to the second error signal E2 into a calibrated reference voltage signal R2′.
Step S105 of outputting the switching signal U2, step S206 of feeding back the switching signal U2 and calculating the second error signal E2, and step S207 of calibrating the reference voltage signal R2 are repeated for a k number of times. Steps S110 and S111 are performed when the feedback number is greater than or equal to k.
With the frequency converter 200 and the switching method thereof, the switching signal U2 may be provided with an enhanced accuracy through the feedback and calibration procedures. While enhancing the accuracy of the switching signal U2, neither the switching frequency of the triangle wave signal S2 nor switching losses are increased. Thus, the frequency converter 100 may satisfy both high accuracy and low switching loss requirements.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
101145744 | Dec 2012 | TW | national |