Schematic and PCB Review - A very tolerant lightweight PSU
Hello!
I'm working on a project for a fixed-wing drone, and I took to designing the power supply for the avionics package. It's my first real PCB design project, so I could go for some tips.
Roughly, the PCB has a primary power input, and a battery backup. The primary comes in at 12V, is stepped down to 5V through a VR, then run through the battery backup IC to step further down to 3.3V and 1.8V. It uses a master cutoff switch to kill the primary power input, and a connector to handle an external 2S battery. It also has a very large capacitor to handle the switchover time.
Here's the Gerber view of the PCB: http://gerblook.org/pcb/dB8bbq7kqEUtUXDDZzNMkH#front
A PDF of the schematic: https://exeleven.org/drone/psu-pcb-sch.pdf
Screenshot of the front of the board: https://gyazo.com/03752fe4d3eaeed7a730ebfbc6273cec
Screenshot of the back of the board: https://gyazo.com/d8a6a0931f94409846a1d4720a06eb7d
I'd really appreciate any tips you can give. But please, go easy on me, I'm brand new to this.
Thanks in advance!
Posted Sep 20, 2019, 6:35 PM UTC
Okay, two big things that need to be fixed first of all:
You don't actually generate 5V anywhere
It seems like you have a misunderstanding of how that solid state relay actually works, since at them moment it doesn't do anything. You are just connecting your 12V net to itself when it is turned on. Also, your 12V net is not generated anywhere, since the output of your 12V regulator is named differently.
Try to fix the schematic so that every power rail has a source and destination. Also, there is no reason to make this a 2 page schematic; throw it all on one page so it it easier to understand. Just work on getting the schematic to a good place now, you can worry about the layout later.
I generate 5V using U2 (a 12V to 5V switching VR)
And you seem to be right - I didn’t set the solid state relay up properly at all. I’ll fix it and be back!
Edit: U2 disappeared
U2 is back, and I've fixed the solid state relay (I hope). Have I connected it properly, or do I still have a misunderstanding?
Looks good now. I would connect the PAD pin of U2 to ground, as it helps with heat dissipation.
I still don't know why you would have this on two pages, everything would fit on a single page just fine. That eliminates the need for any hierarchical block shenanigans and makes design errors less likely.
As for your U6, you have the schematic laid out in a very confusing way. The way the recommended circuit looks in the datasheet is much nicer looking and easier to read. That would make it easier to catch errors, of which you have at least one that I see: your inductor needs to go between LX and BATT, not to ground.
For some reason, Git deleted U2 on another version of my schematic, so I rewired it properly.
And yeah, U6 was a giant pain. I wasn't too sure how to wire it cleanly, so I've rewired it. I'll upload the updated schematic in a sec here
Looks pretty good now, no problems that I see with the schematic. Just a tip, it makes the schematic much easier to read at a glance if your power symbols always point up and your ground symbols always point down. That makes the functions of different resistors and capacitors much clearer.