Академический Документы
Профессиональный Документы
Культура Документы
ABSTRACT
In traditional “Switch Mode Power-Supply” design, topology is the major
determining factor in the design’s capabilities. Output voltage, isolation, and efficiency
are all significantly affected by this single design decision. Choosing the right topology
can mean the difference between success and failure in a design, so making the right
choice is critical.
With the advent of intelligent power-supply design, another major determining factor
has emerged, the level of integration between the microcontroller and the analog power
section of the design. Control, monitoring, communications and possible functions are
all controlled by how the microcontroller connects to the design.
This paper quantifies the levels of integration into four distinct categories that clearly
define capabilities, features and the impact on the analog section of the design. Using the
four categories as a guide, a designer can choose an appropriate level of integration (just
like choosing a topology) that is appropriate for the features and capabilities required of
the design. Armed with this information, designers can make intelligent choices in their
“intelligent power-supply” designs, rightsizing the microcontroller needed, and making
the appropriate changes in the design of the analog section.
INTRODUCTION
Twenty years ago, the most common definition of intelligent power-supply design
was making sure the linear regulator had a sufficient heat sink, and the filter capacitors
were large enough to guarantee the headroom requirement for the regulator. In the years
since then, many aspects of power-supply design have changed. Linear regulators made
way for switching regulators, power factor correction became more important, and
size/cost became a major factor in the design process.
A new aspect of power-supply design is now on the horizon, and it is changing the
definition of intelligent power-supply design. This new aspect is the introduction of
microcontrollers into power-supply design for management and communications. Where
control once meant a stable reference, it now means a programmable output voltage.
Where communications once meant the SHUTDOWN and POWERGOOD signals, it
now means bi-directional serial communications.
As with any great shift in design, there has been a great deal of confusion concerning
power-supply designs that include a microcontroller. This confusion is understandable,
as intelligent power-supply design can include everything from the concept of a
completely digital power supply using a DSP with no analog components, all they way
down to simple point-of-control additions to solve problems like sequencing and softstart.
2
• MONITORING OF OPERATION
Monitoring is simpler and less intrusive than control, in that it only needs to sample
the various control signals within a power-supply design. While it may connect to
several points in a design, it takes no control over the design, so its threat level, as
perceived by analog designers, is thought to be low compared to the introduction of
control functions.
The purpose of monitoring, like control, is two fold. It operates in concert with the
communications system for remote reporting of operational information to a separate
entity, and providing source information to deterministic functions such as failure
detection and prediction, data logging, and load-dictated performance or topology
shifts such as continuous/discontinuous mode switching.
3
Level 1 integration is also the most comfortable for traditional analog designers
because the basic power-supply design is still completely analog in nature. The design
format is familiar, and any reliability and performance issues are still analog based. This
level of integration also still relies largely on traditional analog design expertise, with
only entry-level design knowledge of microcontrollers needed. All of these aspects of a
Level 1 integration make it a logical first step for power-supply designers making their
way into intelligent power-supply design.
Another advantage to Level 1 integration is that it has the potential to actually reduce
complexity in the analog design. Complex combinations of RC networks and
comparators are no longer needed for failure-detection circuits, softstart, power-up
sequencing, and POWERGOOD output indicators. This reduction in complexity helps to
offset the additional cost of the microcontroller in the system.
The added control capability correspondingly expands the ability to remotely control
the operation of the power-supply design, giving the controlling entity the ability to
perform operations such as compensate for system losses between the power supply and
its load, or operate as a secondary feedback loop to compensate for output voltage droop
with increased load current.
Level 2 integration is within the comfort tolerance for analog designers, because the
basic power-supply design is still analog in nature. The design format is still familiar and
most of the reliability and performance issues remain analog based. Digital control has
begun to affect reliability and performance, but the issues are relatively simple and
handled through good programming practice coupled with the normal supervisory
functions such as a Watch Dog Timer and Brown Out Reset – features typically found on
small microcontrollers. The range of digital control can also be limited to restrict the
potential for a runaway program to cause significant damage. The level of digital design
expertise is also still within the realm of entry to mid-level programming experience.
Together, Level 2 forms a logical next step in the evolution of a completely analog
power-supply design, to a design with more digital-control capabilities.
6
Another advantage to Level 2 integration is that it also has the potential to actually
reduce complexity in the analog design. Complex combinations of op amps and one-
percent networks required for temperature compensation can be replaced with a simple
software routine that scales the reference voltage, based on the current temperature and
the stored temperature characteristics of the system voltage reference. The ability to
perform a one-time, non-volatile calibration to an external reference voltage eliminates
the traditional trim potentiometer, and opens up the possibility of calibration at multiple
temperatures during the burn-in process. This reduction in complexity, and potential
increase in system performance, helps to offset the additional cost of the microcontroller
in the system. In fact, small and extremely cost-effective microcontrollers with analog-
to-digital converters, comparators and other integrated analog functions are widely
available, and often result in a lower-cost implementation than a complex circuit of
analog devices.
The added control capability correspondingly expands the ability to remotely control
the operation of the power-supply design, giving the controlling entity the ability to
perform operations such as remote diagnostics and repair, dynamic expansion of current
capability in anticipation of higher loads, and customization of the system dynamics for
load current transients.
Level 3 integration is at the upper end of the comfort tolerance for analog designers,
because the basic power-supply building blocks and overall system design is still analog
in nature. The design format is still familiar and most of the reliability and performance
issues are still analog based. Digital control has more effect on reliability and
performance than a Level 1 or 2 design, but the issues can still be handled through good
programming practices, coupled with the normal supervisory functions such as a Watch
Dog Timer and Brown Out Reset. The default configuration can also be specified
through the use of bias resistors placed to pull the analog steering switches to a safe
operating configuration. The level of digital design expertise is also still within the realm
of mid-level programming experience.
Another advantage to Level 3 integration is that it also has the potential to actually
reduce complexity in the analog design. Complex combinations of switches and control
logic can be replaced with a simple software routine designed to shift the design
configuration based on programmable limits in software. This means that the current
capability of a design can be adjusted by the number of phases in a multi-phase system,
an automated switch from continuous to discontinuous operation, or an automated switch
from diode switching to synchronous switching, based on system-load currents.
Level 4 integration makes a complete switch from analog feedback to digital DSP
feedback in the switching power-supply design. It still allows all the control of Levels 1
through 3, with the exception that switches in feedback and configuration are now a
matter of software configuration instead of hardware changes. This means that the
microcontroller not only has control over the operations, performance, and topology of
the system, but also real-time control over the response characteristics of the feedback
path. The microcontroller has the capability to provide non-linear response
characteristics, Infinite Impulse Response characteristics, and instantaneous offsets in the
error level as an acquisition aide. Figure 4.0 shows a block diagram for a typical Level 4
integration.
8
Level 4 integration is beyond the upper end of the comfort tolerance for most analog
designers, because the power-supply building blocks are completely implemented as DSP
software constructs. The model used to determine loop stability is still familiar, but the
implementation, reliability and performance specifications are entirely digitally based.
Digital control has much greater effect on reliability and performance than in a Level 1,
2, or 3 design, and the issues have to be handled through both hardware and software
safety systems built into the design. The level of digital design expertise is also well
beyond the realm of mid-level programming experience, moving into the realm of
advanced DSP programming. Level 4 is the last logical step in the evolution of a
completely analog power-supply design, representing a complete conversion of the
analog design into a digital replacement.
The digital nature of a Level 4 design does have some attractive aspects, all of the
loop characteristics are controlled by constants in the DSP/PID algorithms and can be
changed in real time. Because the constants are just data in memory, the feedback
characteristics do not change with supply voltage or temperature. And, the equivalent to
the charge present in integrating capacitors is just a data value in memory, so it can be
preset to any level to specify the DC error value in the filter.
9
Another advantage to Level 4 integration is that it removes most, if not all, analog
components in the design. Complex combinations of op amps and feedback networks are
replaced with software routines in the microcontroller. Temperature dependence and
aging are also largely eliminated. The down side of this conversion to software is that the
processing power required in the microcontroller is significantly increased. Hardware
multiply functions are required to handle the filter throughput. And fast, high-resolution
ADC and PWM peripherals are required to drive the remaining analog components.
So, which level of integration is right for a design? Level 1 just gives the
microcontroller on/off control, and Level 4 puts the entire analog feedback system into
the digital realm. What is right for the design? Well, there are several factors that affect
this decision:
1. What are the customer’s requirements? Do they just need on/off control, or
proportional control of the output voltage? Do they need to shift topology to
achieve the output voltage range required? Does the feedback network
require special response characteristics that are impractical or impossible with
RC networks? The answers to these questions determine the minimum level
of integration.
2. What is the designers’ comfort level with digital design? Have the designers
written software before? Have they worked with microcontrollers before?
The answers to these questions determine whether the design group can
handle a high level of integration in the design.
3. What are the reliability requirements of the design? Moving up in integration
shifts reliability issues from analog components to digital components and
software. Software also introduces its own reliability issues that are unique.
This question is another criterion concerning the designer’s experience with
microcontrollers.
4. Is the design to be a one-time design, or is the plan to market the power
supply to several different customers? Adding microcontrollers to a design
allows customization by software at the end of the assembly line. If the
design needs the ability to be customized, increased integration can be
beneficial to the design.
5. What are the cost constraints of the design? Increased integration typically
drives up the cost of the microcontroller needed to handle the greater
throughput. If the purpose is to produce a very inexpensive design, the level
of integration may need to be limited.
If we break out each level in light of these questions, we have a good decision matrix
to determine the appropriate microcontroller for the design.
10
LEVEL 1.
Type of Control: On/Off
Monitoring: Input/Output Voltage/Current
Communications: As Needed
Power-Supply Design: Traditional Analog Feedback Loop
Traditional Designer Comfort: High
Digital Design Experience: Minimal Experience, Entry Level
Cost for Microcontroller: Minimal (communications affect this)
Reliability Issues: Mostly analog with few if any
microcontroller issues.
LEVEL 2.
Type of Control: Level 1 + Proportional Control
Monitoring: Input/Output Voltage/Current
Communications: As Needed
Power-Supply design: Traditional Analog Feedback Loop
With Control of the Reference Signals
Traditional Designer Comfort: Good
Digital Design Experience: Mid-Level Experience
Cost for Microcontroller: Moderate (communications affect this)
Reliability Issues: Mostly analog with default and failsafe
microcontroller issues.
LEVEL 3.
Type of Control: Level 2 + Reconfiguration of Topology
Monitoring: Input/Output Voltage/Current
Communications: As Needed
Power-Supply Design: Traditional Analog Feedback Loop
With Analog Switching for Topology Control
Traditional Designer Comfort: Moderate
Digital Design Experience: Mid-Level Experience
Cost for Microcontroller: Moderate to High (communications affect this)
Reliability Issues: Equally analog and digital with default and failsafe
microcontroller issues.
LEVEL 4.
Type of Control: Full Digital Design
Monitoring: Input/Output Voltage/Current
Communications: As Needed
Power-Supply Design: Analog Feedback Implemented in DSP
Traditional Designer Comfort: Low
Digital Design Experience: DSP Design Experience
Cost for Microcontroller: High (communications affect this)
Reliability Issues: All digital and software, with analog reliability of
MOSFETs, inductor, and capacitor.
11
Once the above matrix has been considered, it then falls to the designer to choose the
level of integration that meets the control needs of the design, while minimizing the cost
and design experience required. This should produce the optimal level of integration for
the needs of the design.
The question of design experience should not be minimized. As with any new
technology, trying to apply it without the proper training will produce frustration, delays,
and a prejudice that are hard to overcome later. Fortunately, microcontroller-based
design is a mature technology, and microcontroller manufacturers are well versed in
training. A designer wishing to learn this new technology need only contact a
microcontroller manufacturer to find training, often near their location. Microcontroller
manufacturers are also well versed in developing robust, reliable hardware/software, and
can provide a wealth of help and training in this area.
All too often, a new technology introduced into an existing design discipline produces
two diametrically opposed viewpoints. Designers either hate the new technology and
apply it only under duress, or they love the technology and try to apply the most complex
version possible to every design. By quantifying the abilities of microcontroller control
to distinct levels of control, designers should be able to apply the appropriate level of
microcontroller integration for the needs of the design.
CONCLUSIONS
So, just as the input/output voltages, power level, and isolation needs of a desired
supply determines the appropriate topology for a power-supply design, knowing control
requirements, cost, and design experience can determine the appropriate level of
microcontroller integration. The challenge is to balance all the requirements such that the
right amount of control is achieved with the minimal impact on cost, both in material and
design time.
###