Although many in the industry believe that analog and digital technologies will soon compete for dominance in the control circuits of power supply regulators , the reality is that when it comes to feedback loop control, the two technologies appear to be coexisting happily.
Indeed, many power management vendors offer different approaches. Some of the original programmable advantages of digital control are now even found in controllers and regulators that use analog feedback loops. Of course, there are still some attractions to digital power.
This article focuses on pulse width modulation (PWM), pulse density modulation (PDM), and pulse frequency modulation (PFM) switching regulators and controller ICs. Some of these integrate the driver that controls the transistor or transistors that actually switch, while others do not. Still others even integrate the switching FETs if they provide the right load. So the question of digital versus analog depends on how the regulator's control loop is closed.
Figure 1 shows variations on the two most common PWM switch topologies, the step-down and step-up ( buck / boost ) converters. In the synchronous configuration, a second transistor replaces the diode . In a sense, the use of pulse-width modulation makes these converters "quasi-digital," at least compared to a 723-type linear regulator based on a series pass element. In fact, PWM makes it possible to use a digital control loop. However, the converters in Figure 1 lack circuitry to control the duty cycle of one or more switches, which can be implemented in the analog or digital domain.
Regardless of whether analog or digital techniques are used, there are two ways to implement a feedback loop: voltage mode and current mode. For simplicity, let's first consider how it is implemented in the analog domain.
Figure 1: A switch-mode DC-DC power supply is quite simple without a controller. Whether used to step up or step down a voltage, its success depends on how the designer arranges some basic components.
In a voltage-mode topology, a sample of the output voltage is subtracted from a reference voltage to create a small error signal that is compared to the oscillator ramp signal (Figure 2). As the circuit output voltage changes, the error voltage also changes, which in turn changes the comparator threshold. This, in turn, causes the output signal width to change. These pulses control the on-time of the regulator's switching transistor. As the output voltage increases, the pulse width decreases.
Figure 2: Voltage-mode feedback (in this case in the analog domain) comprises a control loop.
One advantage of current-mode control is its ability to manage inductor current. A regulator using current-mode control has a current loop nested within a slower voltage loop. This inner loop senses the peak current of the switching transistor and keeps the current constant by controlling the on-time of each transistor on a pulse-by-pulse basis.
At the same time, the outer loop senses the DC output voltage and provides a control voltage to the inner loop. In this circuit, the slope of the inductor current generates a ramp that is compared to the error signal. When the output voltage drops, the controller provides more current to the load (Figure 3).
Figure 3: Current mode feedback uses a nested feedback loop. Unlike voltage mode, it needs to account for the current in the inductor.
In these control topologies, the gain of the control loop cannot exceed unity at any frequency where the phase shift of the loop reaches 360°. The phase shift includes the inherent 180° phase shift caused by feeding the control signal into the inverting input of the feedback op amp, the additional delays of the amplifier and other active components, and the delays introduced by capacitors and inductors (especially the large capacitors of the output filter).
Stabilizing the loop requires compensation for gain variations and phase shifts over a range of frequencies. Traditionally, stabilizing a power supply with analog PWM has usually required an empirical approach: you experiment with different combinations of passive components on an actual board laid out identically to the production board , and observe the circuit's time-domain response as the supply voltage and load demands are varied. Lately, things have gotten much easier. As analog controller companies now implement various "insert a value in a register" features first introduced on digital controllers in their own models.
Digital control loop
Most digital implementations of voltage-mode control include an analog-to-digital converter (ADC), a microcontroller or DSP that implements some control algorithm, and a digital pulse-width modulator (DPWM) that picks up the controller output and produces the signal needed to drive one or more transistors that perform the switching action (Figure 4).
Figure 4: The digital implementation of voltage-mode control eliminates the sawtooth generator. In other respects, they correspond closely to the analog implementation.
First, the ADC generates a digital representation of the output voltage that is fed into the controller. The control algorithm is the familiar proportional-integral (PI) or proportional-integral/differential (PID) algorithm.
In a PID controller (a more complex example), each ADC input is subject to an algorithm based on a series of coefficients. The proportional coefficient is a gain factor that is related to sensitivity. The integer coefficient adjusts the PWM duty cycle according to how long the error occurs. The induction coefficient compensates for the time delay of the loop (phase is more effective). Taken together, the coefficients of the PID algorithm determine the frequency response of the system.
The controller then converts the ADC's output voltage representation into the pulse duration (duty cycle) information required to maintain the desired output voltage. This information is then passed to a DPWM, which performs the same drive signal generation function as the analog PWM.
Note the difference between the analog and digital control schemes in managing the switching transistor. The analog controller triggers the switching transistor to the ON state at the rising edge of the clock and triggers the transistor to the OFF state when the voltage ramp reaches a preset threshold voltage; the PID controller calculates the required duration of the ON and OFF states of the switching transistor.
In theory, analog control can provide a continuous precision output voltage, but the interaction of ADC precision and sampling rate, coupled with the DPWM switching rate, makes things a little complicated.
For example, the DPWM must have a higher precision than the ADC. Otherwise, a 1-LSB change in the ADC output may cause the DPWM to change the output voltage by more than 1-LSB. As a result, the output voltage switches steadily between two values, a state known as "limited cycling."
Avoiding loops is not easy, however. This is because providing a higher precision in the DPWM means increasing its pulse rate (which determines how many bits can be generated in any given period of time). However, the DPWM pulse rate limits the time it has to compress all the bits coming from the controller. The example in the Artesyn white paper presents a hypothetical DPWM with a 1MHz switching rate and a 10-bit ADC. Calculations show that the modulator requires a pulse rate in excess of 1 GHz.
Of course, such high speeds are impractical, so the designer of the digital controller must find an alternative solution. One solution is to introduce some DPWM clock jitter. The regulator output filter averages any pulse train fed into it, which makes it possible to adjust the width of each mth output pulse by the equivalent of 1 LSB.
This increases or decreases the average value of the pulse train by a factor of 1/m with 1 LSB accuracy. If a 1-LSB at the controller input changes the output pulse train by 10mV on average, this will shorten every four pulses by 10mV, and the average output voltage through the filter will be reduced by 10mV/4 or 2.5mV.
Alternative Workaround
While almost all digital controllers use ADCs and program memory controllers, this is not the only possible solution. Last year, Zilker Labs noted that achieving the step response required by the latest Pentium-class processors (hundreds of amps per nanosecond) required a fairly fast and power-hungry DSP in the controller.
As a lower-power alternative, the company introduced a controller based on comparators (rather than ADCs) and state machines (rather than program storage solutions).
Furthermore, the simple buck or boost topology described above is not the only way to achieve digital voltage regulation. Vicor has proposed a completely different solution, which is based on a much more complex regulator topology than the simple buck or boost topology described above and redistributes the basic elements in the power architecture.
Finally, digital control was once a breakthrough technology, but many of the benefits of digital control are now also found in analog controlled regulators.
The inherent 180° phase shift, the added delays of the amplifier and other active components, and the delays introduced by the capacitors and inductors (especially the large capacitors of the output filter).
Stabilizing the loop requires compensation for gain variations and phase shifts over a range of frequencies. Traditionally, stabilizing a power supply with analog PWM has usually required an empirical approach: you experiment with different combinations of passive components on an actual board laid out identically to the production board, and observe the circuit's time-domain response as the supply voltage and load demands are varied. Lately, things have gotten much easier, as analog controller companies now implement various "insert a value in a register" features first introduced on digital controllers in their own models.
Previous article:Medium frequency power supply test system based on AVR microcontroller
Next article:Analysis and discussion on switch electrical anti-trip circuit
- Popular Resources
- Popular amplifiers
- New Technologies and Equipment for Communication Power Supply Series High Frequency Switching Power Supply for Communication
- A 25mA 0.13μm CMOS LDO Regulator with Power- Supply Rejection Better...
- Switching Power Supply Design & Optimization
- Measuring 2nV/√Hz Noise and 120dB Power Supply Rejection on a Linear Regulator
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- UA level constant current source output chip
- Issues with changing MAC when batch flashing blueNRG-1 with BlueNRG-X Flasher Utility
- EEWORLD University Hall ---- Lao Wu's MCU Practice_NO.1 Project Practice
- [NXP Rapid IoT Review] + Rapid IoT Studio online IDE
- I'm studying BQ76940 recently and want to develop a BMS. I've been looking for information and encountered some questions during the process.
- [Sipeed LicheeRV 86 Panel Review] 4. Building a cross-compilation environment
- [Speech and vision module based on ESP32S3] Software development progress - ESP32S3 JPEG encoding performance test
- 【GD32E231 DIY Contest】4. Achieve 60-second timing
- 【DIY Creative LED V2】V2 version
- How to analyze the role of this diode in the MOS tube perfusion circuit?