A good, reliable and easy to use dc power supply is probably the most important thing for every electronics hobbyists. Since a proper electronically stabilized power supply is crucial for almost all microcontroller-related diy projects, here we are presenting a simple diy project of an easy to build and very affordable power supply for microcontrollers.
The design is centered around TPS63000 (IC1), the high-efficient single inductor buck-boost converter from Texas Instruments. Here the power supply offers a regulated 3.3V/5.0V output, processed from an input voltage range of 1.8 V to 5.5 V, with up to 96% efficiency. We can use either a USB port power (through J1), a two-cell or three-cell alkaline, NiCd or NiMH battery, or a Li-ion/Li-polymer battery (through J2) as the input of this power supply. Note that the buck-boost conversion of TPS63000 is based on a fixed frequency, pulse width modulation controller using synchronous rectification to obtain maximum efficiency.
Within the TPS6300x family, there are fixed and adjustable output voltage versions available. Here we used its adjustable output version and connected a resistor divider (R2-R4) between VOUT, FB and GND of TPS63000. If the jumper (JP1) is in open condition, the final output voltage (available at J3) is 5 V, and if the jumper is closed, the same output voltage is locked to 3.3 V.
Although implementation of integrated circuits in low-profile and fine-pitch surface-mount packages typically requires high-level skills, the whole circuit can be easily constructed on a piece of small universal SMD prototyping board (of course with the help of a QFN-10 to DIP adapter).
According to the datasheet, as for all switching power supplies, the layout is an important step in the design, the input capacitors (C1 & C2), output capacitors (C3 & C4), and the inductor (L1) should be fitted as close as possible to IC1. Try to use a common ground node for power ground (pin 3) and a different one for control ground (pin 9) to minimize the effects of ground noise (connect these ground nodes at any place close to one of the ground pins of the IC1). The exposed thermal pad of IC1 should be connected to PGND, and the feedback resistor divider (R2-R4) must be placed as close as possible to the control ground pin of IC1.
List of Components (all are SMT components)
- IC1: TPS63000
- D1: 1N5817
- LED1: Red/5mA
- R1: 100R 1%
- R2, R3: 1M 1%
- R4: 220K 1%
- R5: 1K 1%
- C1, C3, C4: 10uF/6.3V Ceramic
- C2: 100nF/6.3V Ceramic
- L1: 4.7uH/2A (<200R)
- J1, J3: USB ‘A’ female socket
- J2: DC jack
- S1: SPST switch
- JP1: 2-pin male Header
(almost all components for this project is available in India from www.sunrom.com)
The prototype was tested on a “dirty” pcb, home-brewed by the author. If you want to make your own pcb at home, follow the tips shown below:
- Refer the datasheet to know more about layout guidelines
- Use toner transfer or your preferred method to make the pcb
- Use a powerful microscope while applying solder flux and loading components
- For the “reflow” process, use a toaster oven or similar device. If you are doing this for the first time, be very careful about the overall solder process