What is the Purpose of Pulse Width Modulation (PWM)?
Switch-mode converters employ a power semiconductor switch (usually a MOSFET) to drive a magnetic element (transformer or inductor) whose rectified output produces a dc voltage. Efficiencies exceeding 90% are common, about twice that of a linear regulator.
A switch-mode converter varies its dc output current in response to load changes. One widely-used approach is pulse width modulation (PWM) that controls the power switch output power by varying its ON and OFF times. The ratio of ON time to the switching period time is the duty cycle. Fig. 1 shows three different variations of the PWM duty cycle: 10%, 50%, and 90%. The duty cycle and power handling rarely have anything to do with each other. Instead, the duty cycle is adjusted to regulate the output voltage.
What is the configuration of a PWM circuit?
Fig. 2 shows a simplified PWM controller employed in a switch-mode converter. In operation, a fraction of the dc output voltage feeds back to the error amplifier, which causes the comparator to control the PWM ON and OFF times. If the power MOSFET’s filtered output changes, the feedback adjusts the duty cycle to maintain the output voltage at the desired level.
To generate the PWM signal, the error amplifier accepts the feedback signal input and a stable voltage reference to produce a output related to the difference of the two inputs. The comparator compares the error amplifier’s output voltage with the ramp (sawtooth) from the oscillator, producing a modulated pulsewidth.. The comparator output is applied to the switching logic, whose output goes to the output driver for the external power MOSFET. The switching logic provides the capability to enable or disable the PWM signal applied to the power MOSFET.
Why Do PWM Circuit Need Slope compensation?
PWM duty cycles above 50% require a compensating ramp, called slope-compensation, to avoid instability. Higher duty cycles require even greater slope compensation. That is, if the PWM switch is turned on for more than 50% of the switching period, slope compensation must be used to keep the system stable. With traditional slope compensation, the switching converter may become unstable for duty cycles approaching 100%, so a special slope compensation must be employed. Figure 3 shows a PWM controller that employs slope compensation.
What function does the UVLO circuit perform?
The undervoltage lockout (UVLO) circuit sets the operational dc input voltage range of the PWM controller. There are two UVLO thresholds. When the UVLO turn-on threshold is exceeded, the PWM controller turns ON. If dc input voltage falls below the UVLO’s turn-off threshold, the PWM controller turns off.
What output configurations are available with PWM controllers?
PWM controllers may have single-ended or dual outputs. Dual output types are intended for either for push-pull, bridge or synchronous rectifier MOSFETs. In these configurations the PWM controller must either accurately set the two outputs dead time or prevent their overlap. If both outputs were allowed to be ON simultaneously it would increase power dissipation and EMI. Some PWM controllers include special circuits to control dead time or overlap.
What is the purpose of current sensing?
Most PWM controller ICs provide current limiting protection by sensing the output current. If the current sense input exceeds a specific threshold it terminates the present cycle (cycle-by-cycle current limit).
Circuit layout is critical when using a current sense resistor, which must be a low inductance type. Locate it and the current sense filter capacitor very close to and connected directly to the PWM IC pin. Also, all the noise sensitive low power ground connections should be connected together near the IC ground and a single connection should be made to the power ground (sense resistor ground point).
Is the PWM frequency variable?
In most PWM controller ICs a single external resistor or capacitor sets the oscillator frequency. To set a desired oscillator frequency, use the equation in the controller datasheet to calculate the resistor value..
Can the PWM frequency be synchronized to an external clock?
Some PWM converters include the ability to synchronize the oscillator to an external clock with a frequency that is either higher or lower than the frequency of the internal oscillator. If there is no requirement for synchronization, connect the sync pin to ground to prevent noise interference.
What is the purpose of the soft-start circuit?
The soft-start feature allows the power converter to gradually reach the initial steady state operating point, thus reducing start-up stresses and surges. In most PWM ICs an external capacitor establishes the soft-start time.
What are some of the current Pulse Width Modulator ICs?
High-Speed, Pulse Width Modulator
Microchip Technology’s MCP1631 and MCP1631V are high-speed analog PWMs.. When combined with a microcontroller, the MCP1631/MCP1631V can control the power system duty cycle providing output voltage or current regulation. The microcontroller can be used to adjust output voltage or current, switching frequency and maximum duty cycle while providing additional features making the power system more intelligent, robust and adaptable.
The MCP1631(current mode control) and MCP1631V (voltage mode control) contain the PWM, MOSFET driver, current sense amplifier, voltage sense amplifier, and overvoltage comparator. These ICs operate with a 3.0 V to 5.5V input. Additional features include shutdown, undervoltage lockout (UVLO), and overtemperature protection.
For applications that operate from a high voltage input, the MCP1631HV and MCP1631VHV can operate directly from a +3.5V to +16V input. For these applications, an additional low drop out +5V or +3.3V regulated output is available and can provide current up to 250 mA to power a microcontroller and auxiliary circuits
The internal PWM of the MCP1631/MCP1631V consists of an error amplifier, high-speed comparator and latch. The output of the amplifier is compared with either the MCP1631 CS (primary current sense input) or the MCP1631V VRAMP (voltage mode ramp input) of the high speed comparator. When the CS or VRAMP signal reach the level of the error amplifier output, the on cycle is terminated and the external switch is latched off until the beginning of the next cycle.
Among typical applications for the MCP1631/MCP1631V include programmable switch mode battery chargers capable of charging multiple chemistries, like Li-Ion, NiMH, NiCd and Pb-Acid configured as single or multiple cells. By combining with a small microcontroller, intelligent LED lighting designs and programmable SEPIC topology voltage and current sources can also be developed.
The MCP1631/MCP1631V inputs can be attached to the I/O pins of a microcontroller for design flexibility. Additional features integrated into the MCP1631HV/MCP1631VHV provide signal conditioning and protection features for battery charger or constant current source applications.
Current Mode Boost Controller
Shown in Figure 3 is Texas Instruments TPS40210 and TPS40211 wide-input voltage (4.5 V to 52 V), non-synchronous boost controllers. They are suitable for topologies that require a grounded source N-channel FET including boost, flyback, SEPIC and various LED Driver applications.
Device features include programmable soft start, overcurrent protection with automatic retry and programmable oscillator frequency. Current mode control provides improved transient response and simplified loop compensation. The main difference between the two parts is the reference voltage to which the error amplifier regulates the FB pin.
A resistor and capacitor connected to the RC pin determine the oscillator frequency. The capacitor charges to about VVDD/20 by current flowing through the resistor and is then discharged by a transistor internal to the TPS40210. You can synchronize the TPS40210 and TPS40211 to an external clock whose frequency must be higher than the converter’s free running frequency.
The tps40210 and TPS40211 are current mode controllers and use a resistor in series with the source terminal power FET to sense current for both the current mode control and overcurrent protection. The current sense resistor serves as both a current limiter and current mode control sense, so it must be selected based on both the stability (current mode control limitation) and current limit (device limitation).
Standard boost converter have no method to limit current from the input to the output in the event of an output short circuit. If protection from this type of event is desired, it is necessary to use some secondary protection scheme.
A characteristic of peak current mode control is a condition where the current control loop becomes unstable. The voltage loop maintains regulation, but the output ripple voltage increases. and oscillates at one-half the switching frequency.
The remedy for this condition is to apply a compensating ramp from the oscillator to the signal going to the pulse width modulator. In the TPS40210/11 the oscillator ramp is applied in a fixed amount to the pulse width modulator. To ensure that the converter does not enter into sub-harmonic instability, the slope of the compensating ramp signal must be at least half of the down slope of the current ramp signal. Because the compensating ramp is fixed, it places a constraint on the selection of the current sense resistor. The slope compensation ramp must be at least half, and preferably equal to the down slope of the current sense waveform seen at the pulse width modulator, a maximum value is placed on the current sense resistor when operating in continuous mode at 50% duty cycle or greater.
For design purposes, some margin should be applied to the actual value of the current sense resistor. As a starting point, the actual resistor chosen should be 80% or less than the resistor value that makes the slope compensation ramp equal to one half of the current ramp down slope.
Synchronous Buck PWM DC-to-DC Controller
The ADP1828 is a versatile and synchronous PWM voltage mode buck controller. It drives an all N-channel power stage to regulate an output voltage as low as 0.6 V to 85% of the input voltage and is sized to handle large MOSFETs for point-of-load regulators. The ADP1828 is ideal for a wide range of high power applications, such as DSP and processor core I/O power, and general-purpose power in telecommunications, medical imaging, PC, gaming, and industrial applications.
Shown in Fig. 4, the ADP1828 operates from input bias voltages of 3 V to 18 V with an internal LDO that generates a 5 V output for input bias voltages greater than 5.5 V. The control circuits, gate drivers, and the external boost capacitor operate from the LDO output for an input between 5.5 V and 18 V. PV powers the low-side MOSFET gate drive (DL), and IN powers the internal control circuitry. Bypass PV to PGND with a 1 μF or greater capacitor, and bypass IN to GND with a 0.1 μF or greater capacitor. Bypass the power input to PGND with a suitably large capacitor.
The switching frequency can also be synchronized to an external clock up to 2× the part’s nominal oscillator frequency. The clock output can be used for synchronizing additional ADP1828s (or the ADP1829 controllers), thus eliminating the need for an external clock source.
The ADP1828 includes soft start protection to limit any inrush current from the input supply during startup, reverse current protection during soft start for a pre-charged output, as well as an adjustable lossless current-limit scheme utilizing external MOSFET RDS(ON) sensing. For applications requiring power-supply sequencing, the ADP1828 provides a tracking input that allows the output voltage to track during startup, shutdown, and faults. The additional supervisory and control features include thermal overload, undervoltage lockout, and power good.
The ADP1828 operates over the −40°C to +125°C junction temperature range and is available in a 20-lead QSOP