Microcontroller Based Linear Power Supply Unit

Aug 28, 2009

This project was sponsored by Türkiye Odalar ve Borsalar Birliği (The Union of Chambers and Commodity Exchanges of Turkey). I would like to thank anyone who contributed to this project for their valuable support.

Building a µController Based Digital DC Bench Power Supply.. all from scratch

Desktop Control Software Desktop Control Software Embedded Software Design Embedded Software Design

Abstract: As modern electronics favor the small, it is becoming more and more significant to design devices occupying least possible space while remaining rock solid. To achieve this, using microcontrollers seems to be the utmost solution. What can be done with discrete electronic circuits inside the devices can now easily be implemented within the embedded software of the µ controller (i.e. a short circuit protection can be implemented with a bulky crowbar circuit or simply with a fast loop in the µC). As a result, this projects aims at putting together a robust microcontroller based power supply unit with easy access lcd screen, 0-30V output range (up to 80W), computer connectivity and control, and with reliable overload protection all implemented with very fast control loops with a 2$ µC (Atmel ATmega8).

Cost Analysis: Eventhough this sort of a device would cost a hefty amount if it was analog, the all-digital approach resulted in a very useful 50$ device! It may sound unbelievable but the most important parts; the regulator + the µC add up to only 30 dollars and all the software tools that I used were open source, so free. I should note that lab equipment used in this sort of a project (oscilloscope, multimeter, etc.) might add up to a couple of thousand dollars (unless you have a sponsor for that, or working in a lab).

1. Overview

As a part of my diploma thesis work for my B.Sc.E. degree, I have built a digital bench power supply unit to be used in our semiconductor lab in automatizing some of the thin plane coating processes. As the project processed and the supply unit turned out to be a very solid one, lab staff decided to build up to 10 more replicates of this unit to further automate processes like thin film coating which uses chemical vapor deposition and ion implementation techniques. In addition to this, T.O.B.B. (The Union of Chambers and Commodity Exchanges of Turkey) become the sponsor of the project as a kind gesture in supporting scientific research in the area.

What made this project such a nice and successful one lies in its completeness. From hardware to software to peripherals, every single part of this unit is very well tested and complete. During my prototyping, I didn’t aim for what was not possible with the provided budget and time (about 2 months). Instead, I have built a nicely packed up unit with all the core functionality in there but no fuss.

2. Resources

As I couldn't find enough time to finish up this online article, I'm posting the full project report below (in .pdf format). If you like, you can download it to get the full insight into the project design, development, and deployment process (click here to download or on the image below):