How to layout the PCB of photovoltaic power supply?[Copy link]
This article discusses the PCB layout for a power supplycircuit that generates a regulated 3.3 V rail from a small solar cell. My goal in this project was to create a very simple, very compact circuit that could power a microcontroller-based embedded system. The circuit will only be effective during the hours when there is ample lighting, as the design does not include capacitors or batteries to store excess energy. In this article, I will walk through the PCB layout of the circuit from the power supply schematic. PCB Layout for a Photovoltaic Power Supply The following figure shows the layout of the top and bottom of the PCB. All the components and most of the traces and copper pours are on the top; the bottom is mostly ground plane. PCB Dimensions The microcontroller is Silicon Labs’ EFM8 Sleepy Bee, with the (relatively) large connector on the left providing a direct connection to the SiLabs USB debug adapter. This connector consumes quite a bit of PCB real estate, making the overall design look larger than it actually is. The image below shows the dimensions of the PCB in inches. The shorter horizontal dimension is my attempt to estimate how small the board could be if the debug connector was removed (and the other components rearranged). So my guess is that a two-layer board with all the components on one side would probably be less than 1.5 square inches. I'd say that's pretty good, especially considering that this is a two-layer PCB we're talking about. Also, I don't think I lost any performance by using two layers instead of four, since the bottom is pretty much a solid ground plane, and there's plenty of room on the top for wide power lines and generous ground connections (also since the microcontroller will be running at a very low frequency). It's compact, but it could be smaller Here are some other ways you could reduce the size of this board:
I chose larger passive componentsICs (0805 and 1206) because they are easier to assemble. If you plan on having the board professionally assembled, you might consider using 0603 or even 0402 (you might be able to find an acceptable 2.2μF capacitor in a 0402 package, but you can definitely use 0402 for the 0.1μF caps and resistors).
I chose a larger package for the microcontroller; it's a 9 mm by 9 mm QFP32. The 32-pin leadless package is significantly smaller (5 mm by 5 mm), and there's also a 24-pin leadless package that's even smaller (4 mm by 4 mm). In my opinion, most applications built around this power supply won't require more than a handful of I/O pins, so the 24-pin package is probably the best choice. I used a 32-pin device because there aren't any other leaded (i.e., non-leaded) packages for this microcontroller.
I sourced a high-precision 32.768 kHz crystal for the real-time clock application; it's about the size of an 0805 component. The microcontroller has an internal low-power oscillator with poor accuracy (±10%), so if you don't need precise timing, you could omit the crystal.
The charge pump switching regulator currently has four 2.2 μF output capacitors, but only one is needed.
The LEDs and their accompanying resistors are only for debugging; they can be omitted in the final design.
You might think you could eliminate all the circuitry associated with the debug power supply (the switch, the LDO, and the two capacitors). I don't recommend this, as solar power is not a convenient power source for firmware development and testing. The last item on the list of how to make it smaller is to have components on the top and bottom of the board. As I was writing this, I began to wonder if the entire circuit would fit in an area corresponding to the size of the solar cell, so that you could design a board with just the solar cell on the top and everything else on the bottom. I decided to remove some of the unnecessary components from the schematic and then try this idea out, here is what I found (dimensions are in inches): https://www.allaboutcircuits.com/uploads/articles/techarticle_SPCP2_4.JPG https://www.allaboutcircuits.com/uploads/articles/techarticle_SPCP2_5.JPG This is a rough approximation, but, as you can see, we are pretty close to our goal of cramming all of the circuitry into the PCB space occupied by the solar cell. To create this component placement, I eliminated three of the four output capacitors, the crystal, the LED, and the resistor for the LED. I also switched the microcontroller package to a QFN24. The passive components are still 1206 and 0805, but these larger packages make up for the fact that you will need some way to connect the microcontroller to the debug adapter. There’s certainly not a lot of room for routing, but if you can get away with a four-layer board (and there’s still plenty of room on the top side under the solar cell), I don’t think it’s a serious hurdle. Conclusion We’ve discussed the PCB layout for a solar-powered microcontroller board I recently designed, and we’ve also looked at an example of a more space-optimized implementation where the dimensions of the PCB approach the dimensions of the solar cell. If you have any experience with space-constrained design for low-power embedded devices, feel free to share your thoughts in the comments.
Are you using a charge pump switching regulator? If there is a circuit schematic, don't use a four-layer board if there is no problem that can be solved with two layers.
Details
Published on 2018-9-3 15:46
Are you using a charge pump switching regulator? If there is a circuit schematic, don't use a four-layer board if there is no problem that can be solved with two layers.