Power Electronics About Power Electronics Technology | For Advertisers | Contact Us | Subscribe| HOME




Low-Cost Microcontroller Dithers Switching Frequency

Mar 1, 2006 12:00 PM
By Justin Milks, Applications Engineer, and Keith Curtis, Principle Applications Engineer, Microchip



For the PDF version of this article, click here.

Because of the high level of output power that switching power-supply designs have, systems designers are challenged to develop designs that meet consumer demands for greater functionality and, at the same time, meet regulatory agency requirements for electromagnetic compliance.

Fixed switching frequency is a main component of conducted and radiated noise. A spectrum analyzer reveals a high amplitude peak at the switching frequency of the supply. Designers are often forced to add additional shielding, snubbing and filtering to designs in order to control the noise. While these protections may help systems meet electromagnetic compatibility (EMC) requirements, they require larger circuits and the addition of components, thus increasing overall design costs.

The good news is that, based on the spread-spectrum communications concept, it is possible to vary a power supply's switching frequency over time. This technique, known as “dithering,” reduces the noise at any single frequency by spreading it out over a range of frequencies. As long as the switching frequency changes rapidly, the amplitude of the spectral peaks will decrease.

Rather than using a voltage-controlled oscillator and the randomly fluctuating voltage across a noise diode, a pseudo-random clock generator is easily created using the tunable oscillator of a small, low-cost microcontroller such as Microchip Technology's PIC10F206. This microcontroller has the ability to provide the instruction clock as an output.

Furthermore, the frequency of the microcontroller's internal oscillator is tunable via the oscillator calibration (OSCCAL) register. Loading the OSCCAL register with a new value causes the frequency of Microchip Technology's PIC microcontroller to shift until it reaches the desired value. By continuously updating the calibration register with a new, pseudo-random value, the oscillator frequency continuously shifts between frequencies. This effect is shown in Fig. 1, which displays spectral plots of the clock output for both the dithered and nondithered clocks.

Using the full 7-bit calibration range of the OSCCAL register allows for frequency values as low as 600 kHz and as high as 1.2 MHz. Although these minimum and maximum frequencies are not guaranteed, a significant frequency shift is obtained using this technique. Additionally, by modifying the pseudo-random number-generation routine, it is possible to determine the mean center frequency and frequency deviation.

Besides dithering, microcontrollers can implement useful power-supply functions such as undervoltage protection (using an onboard comparator and reference), shutdown (using a digital input with internal pull-ups), soft-start (using a software pulse-width-modulation routine) and overtemperature protection (using an analog temperature sensor and comparator). An example schematic is shown in Fig. 2.

For more information on clock dithering and example software for pseudo-random number generation, see Microchip Technology Application Note AN544, available at www.microchip.com/AN544.


April 2008
power electronics technology magazine current issue cover
Advertisement




Power Systems News

Power-One Wins Permanent Injunction Against Artesyn

Audax Group Acquires Astrodyne

Studies Examine How Plug-In Hybrids Will Affect Power Grid

12-A POLs are DOSA Compliant

Company Will Supply Components For 3-MW Wind Turbines

 
Back to Top

Topic Index

Discrete Semis
Bipolar Transistors
IGBTs
Power Modules
Power MOSFETs
Rectifiers/Diodes
Thyristors

Power Management
Digital Power Control
High-Voltage Devices
LED Drivers
Lighting Power Management
Motor Power Management
Power ICs
PWM Controllers
Regulator ICs

Portable Power Management
Batteries
Battery Charger ICs
Fuel Gauges Controllers and Regulators
Micro Fuel Cells

Passives/Packaging
Capacitors
Circuit Protection Devices
Connectors
Magnetics
Packaging
Printed Circuit Boards
Resistors
Sensors & Transducers
Switches & Electromagnetic Relays

Topic Pages
Wind Power
Flyback Transformers

Thermal Management
Fans
Heatpipes & Spreaders
Heatsinks
Liquid Cooling
Thermal Interface Materials
Thermal Management Simulation

Power Systems
DC-DC Converters
Distributed Power Architectures
EMI & EMC
Linear Power Supplies
Safety/Environmental Approvals
Simulation/Modeling
Switch-Mode Power Supplies
Test & Measurement Uninterruptible Power Supplies

Digital Power
Commentaries
Digital Power News
Digital Power Products
Design Features


Contact Us  For Advertisers  For Search Partners  Privacy Policy  Subscribe
© 2007 Penton Media, Inc. All rights reserved.