The present invention relates to the pulse duty-cycle calculation implement scheme. More specifically, the invention relates to high accuracy pulse duty-cycle calculation hardware implementation scheme for several power converter's PWM control apparatus.
In the existing pulse duty-cycle calculation implementation scheme as shown in
Due to a wide and dynamic range of pulse widths, it is hard to implement the integrator and sample-hold circuit with precise accuracy. In general, lots of space is necessary for the integrator and sample-hold circuit. Due to the wide and dynamic range of divider outputs, the analog divider is generally both limited in accuracy and complicated in structure. Currently, implementation of the original pulse duty-cycle calculation scheme is very costly and imprecise.
The present invention discloses a novel “high accuracy pulse duty-cycle calculation hardware implementation scheme” and results in pulse duty-cycle calculation hardware that is simple in circuit, high in accuracy, low in cost and suitable for different IC processes.
The high accuracy pulse duty-cycle calculation hardware implementation scheme is composed of a clock generator block, digital pulse width account block, digital memory block to store pulse width in digital and digital-analog divider block with two digital-analog converters. As shown in
The present invention can fully utilize characteristics of the digital and analog mix signal circuit to simplify analog divider structure with digital circuit and simplify digital divider's complicate structure with analog circuit.
With the present invention, it is possible to implement a wide dynamic range pulse width divider.
With the present invention, the pulse width divider can be high in accuracy, low in cost. With the present invention, it is possible to overcome the error of finite word length through different selected pulse width account methods.
The clock generator block, digital pulse width account block, digital memory block can be implemented with regular digital circuit, that is, with digital clock, digital accouter and register.
The digital-analog divider block is composed of operation amplifier A, MOSFET Q, weight resistor network RA, current mirror ICOUPLE, weight resistor network RB. The operation amplifier A, MOSFET Q and weight resistor network RA consist of a current source. The output current of the current source is determined with a reference voltage VREF over the weight resistor network RA. The current source is coupled through the current mirror ICOUPLE into the weight resistor network RB and generates the related analog voltage, that is, ratio of RB to RA. Both weight resistor network RA and RB are composed of switching resistor network control with a register. The switching resistor network can be changed in binary or another relation based on the selected pulse width account method. It is clear that if the weight resistor network RA and RB are controlled with related digital pulse width TON, TOFF or TS, the output of digital-analog divider block, that is, the voltage on the weight resistor network RB is the ratio of TON/TOFF or TON/TS. The detailed embodiment operation can be as following:
1. To get ratio of the TS/TOFF, here, TS is the cycle of pulse and TOFF is pulse turn-off time. High frequency clock from the clock generator block is used to account pulse width of TS and TOFF separately. The accouter in digital pulse width account block can output related digital value DTS and DTOFF. Digital values of DTS and DTOFF are stored in registers in switching resistor network RA and RB. Due to the same clock to account TA and TOFF, TS/TOFF=DTS/DTOFF. As shown in
In formulas, VREF and k are constant. The output voltage VO is the ratio of DTS to DTOFF and is independent of the resistor R in the switching resistor network.
In the embodiment operation detailed above, if two pulse widths have big difference, in order to avoid error of finite word length and obtain a high enough accuracy, there are several methods to account for two pulse widths. For example, two kinds of clock with k times are used to account each pulse width; that means, higher frequency clock is used to account narrow pulse width and lower frequency clock is used to account wide pulse width. Let I′=k*I, in this way, the output ratio from the divider has been k times and due to higher frequency clock to account the narrow pulse width, the error of finite word length for the narrow pulse width can be lower. In order to get higher accuracy with less power loss, there are other methods to account for the pulse width.
In these formulas, VREF and k are constant. The output voltage VO is the ratio of DTON to DTS and is independent of the resistor R in the switching resistor network.
In the above detail embodiment operation, if two pulse widths are hugely different, there are several methods to account two pulse widths in order to avoid the error of finite word length and obtain high enough accuracy . For example, two kinds of clock with k times are used to account each pulse width; that means, the higher frequency clock is used to account for narrow pulse width and lower frequency clock is used to account for wide pulse width. Let I′=k*I. This way, the output ratio from the divider has been k times and due to higher frequency clock to account the narrow pulse width, the error of finite word length for the narrow pulse width can be lower. In order to get higher accuracy with less power loss, there are other methods to account the pulse width.