Digital power has experienced rapid growth over the last five years, taking advantage of the many benefits that digital control can bring to a traditionally analogue domain. The increasing adoption of digital control has been supported by the many new products from microcontroller vendors which specifically target the digital power market.
In a traditional analogue power supply, control is implemented using a control integrated circuit (IC) consisting of operational amplifiers and comparators combined with a series of carefully selected external capacitors and resistors to form the compensation network. This compensation network is designed to give the power supply the desired regulation, transient load performance and stability in the frequency or s-domain. The compensation network is fixed and often compromised by the presence of the bandwidth limiting optocoupler in the feedback loop. This is shown in Fig. 1.
Digital power means a digital control loop which regulates and stabilises the power supply replacing the analogue control ICs which have traditionally been used in switch mode power supplies. In the digital power supply shown in Fig. 2, the analogue control IC and its associated analogue compensation network has been replaced by the microcontroller.
Clik here to view.

Fig. 1: An analogue controlled power supply
The microcontroller is used to close the feedback loop of the power supply. In a typical digitally-controlled power supply, an analogue-to-digital converter (ADC) module on-board the microcontroller samples the output voltage or current which is compared to a demand reference value with the result being an error term. The error term is used as the input to the discrete time controller. The discrete time controller is executed at exact, predefined, intervals each time there is a new ADC sample available. Just like the analogue compensators in the s-domain, the discrete time controller has a frequency response in the time or z-domain. The controller coefficients determine the frequency response and stability of the power supply and must be analytically calculated to stabilise the power supply.
Microcontrollers have been used in the power supply field for many years for the purposes of implementing basic functionality such as serial interfaces and fan speed control, using relatively simple and low-cost microcontrollers. Full digital control has previously been most prevalent in the server and telecoms market with uptake in the industrial and medical markets lagging.
The predominant prohibiting factor to the switch to digital control has been the combination of the cost and complexity associated with digital power. The cost of a modern microcontroller with the digital signal processor (DSP) functionality needed to implement full digital control has decreased dramatically in recent years but the complexity remains an issue, stemming from the need for a mixed domain approach to designing the power supply, where engineers must combine their power supply design skills with the ability to write efficient code and stabilise the discrete time control loop.
Clik here to view.

Fig. 2: A digital controlled power supply
The development of robust and efficient firmware for a power supply can take a significant amount of time depending on the complexity of the design. The verification, testing and documentation required for various safety approvals results in substantial resources being required to develop a robust and reliable digital power supply. Of course, once the initial investment has been made, one of the benefits of digital power is the ability to reuse firmware across many different products, the change in firmware for products with different output voltages within one series may be a simple case of changing the controller coefficients.
The digital control loop has many advantages over its analogue counterpart. It is insensitive to the environment, temperature, ageing and tolerances of the control loop components. It allows the system to monitor the performance of the power supply in real time and adjust parameters to tune the performance as required. Furthermore, advanced discrete time control techniques allow us to achieve higher performance compared to analogue compensators, recovering from transients in a matter of a few switching periods, which is of particular interest in the point of load (POL) converter market which was an early adopter of digital power.
The ever-increasing demand for high efficiency power converters is a key area where digital power offers solutions beyond the capability of typical analogue control schemes. This may involve adjusting the operation of the power supply unit to achieve optimal zero voltage or zero current switching – reducing losses and increasing efficiency.
The latest microcontrollers for digital power applications contain DSP functionality that allows the digital control loop to execute within a fraction of a single pulse width modulation (PWM) switching period, every switching period. Fig. 3 shows the PWM switching period of a typical digital power supply. In this simple example, the output voltage is sampled once per switching cycle. An ADC conversion time of a few hundred nanoseconds is typical for a microcontroller designed for digital power applications. Following the ADC conversion, the interrupt service routine is called to execute the discrete time controller. This is a time critical routine.
Clik here to view.

Fig. 3: Typical control loop duration vs PWM switching period
As shown in Fig. 3, for this example, the time that the microcontroller unit (MCU) does not spend executing the controller is spare bandwidth. This spare bandwidth can be used to perform other tasks or functions specific to an application. Any low priority tasks are run in a slow loop and will be interrupted whenever the high priority tasks occur, such as the ADC interrupt to run the control loop code.
Given the flexibility that a microcontroller adds to the design, digital power lends itself well to custom or modified standard power applications where the standard product may not satisfy every aspect of the customer’s requirements. There may be specific communication requirements such as controlling the power supply over USB, I2C or EtherCAT. The customer may require the output voltage or current limits to be adjusted or require real-time monitoring, power rail sequencing or accurate current share between output modules. Application specific requirements that may have traditionally required hardware changes can often be implemented in firmware.
For sure, the high-performance microcontroller used for digital power will be costlier than the analogue IC it replaces. However, the digital controller opens the opportunity to implement other functionality within the MCU rather than using discrete components. This can lead to a reduced component count and more compact solutions, especially for designs with complex signal requirements or multiple power rails which could be controlled using one microcontroller. The result may be an overall solution that is more cost effective. Of course, for some complex requirements, going digital may be the only realistic solution.
Contact Vepac Electronics, Tel 011 454-8053, info@vepac.co.za
The post Digital power: Challenges and opportunities for power designs appeared first on EE Publishers.