
Wall Industries SMPS and Microcontrollers 2
controlled (even modulated for noise
reduction pusposes), or give fault
information directly to the controller
firmware. Other alternates to complete
digital control include control element
tuning and hybrid control where the
slower outer voltage loop is digital but
the fast inner current loop is still analog.
While microcontrollers can replace
existing analog circuitry, they can also
add some functions to a power supply
that have normally been reserved for
higher end systems due to cost
considerations. Now with powerful in-
expensive microcontrollers available,
even the simplest converters can get
advanced digital capabilities like
communication and logging. These
improvements are allowing computer
systems to communicate with its power
systems and gather information and
control behavior. It is even possible now
to log into a power supply to check its
statistics.
Indirect Advantages
The advantage of adding microcon-
trollers to our products goes beyond the
new capabilities that microcontrollers
will now facilitate. While new features
are important, solving issues associated
with traditional design methods are
critical. Adding microcontrollers can
have several indirect advantages
including cost, reliability, and flexibility.
Direct costs can be reduced because
many analog components such as
window detectors, comparators and
latches can be replaced with a single
microcontroller. Integrating many com-
ponents into one increases reliability, but
also saves board space. This extra board
space can be used to save costs by
producing a smaller product. It can also
be used to improve the performance of
the power supply by increasing current
carrying copper or the size of the
magnetics.
Since the software is flexible, a single
design can accommodate several part
types saving money. For example, one
hardware design can handle positive or
negative enable logic, latching or hiccup
behavior. Custom behavior can be added
with no added manufacturing costs.
Having a programmable micro also
allows us to quickly meet changing
customer requirements. Before using
microcontrollers, a small change in a
timing specification or recovery
behavior would require a change in the
bill of materials, PCB change or even a
new design. Now many of the changes
can be handled with only a firmware
update. These changes are quicker,
cheaper and can be performed on
existing hardware either in the factory or
sometimes in the customer’s box.
Types and C apabilities
While there are many semiconductor
manufacturers of microcontrollers (e.g.
Atmel, Cypress Microsystems, Freescale
Semiconductors, Texas Instruments), in
the interest of brevity, we will focus now
only on Microchip’s PIC micro-
controller line
(www.microchip.com). The
extensive PIC line microcontrollers can
be roughly divided into three groups:
basic, advanced and high-end. As the
microcontroller capabilities increase and
cost decreases each year, what functions
are included in each of these categories
changes. The following is a current
snapshot.