I’m learning KiCad and board design. I know at the frequencies I am working with, I probably can make a lot of mistakes, but I want to learn good procedure. This circuit takes an 8kHz square wave input (18V peak max), rectifies it (pins coming in from the left), regulates it (the big area in the middle for a AMS117 5V regulator), charges a capacitor for a “keep-alive” (the next 2 pins that are vertical), and powers a few LEDs or similar up to 1A. Bottom layer is a ground pour, top layer is a Vdd pour. The grounds from the bridge rectifier, 5V regulator and 1000uF capacitor need to be via’d to the ground side. What is the right way to connect these? Can a create a polygon of some kind connecting the close-by grounds and put a via or 2 or inside them? Can I do it like I have with vias and traces to connect things together? I have made only to top, Vdd layer in red visible for clarity. Thank you.
EDIT: Great stuff! This is a very simple circuit. Someone else’s. I wanted to model it and design the PCB for it. All it does is take a bi-polar digital signal from a model train track, rectify it, regulate it charge a capacitor, and run a few leds for lighting in the train. Dirty wheels, dirty track, etc. mean for dropouts. So this is just so that the capacitor can power the LEDs for fractions of a second when these dropouts occur. I also questioned the design, because I don’t think it accounts for the voltage that appears at the bridge. First one rail is 12-18v with respect to the other, then it switches. 8kHz pulsed with 58us and 116us pulses. The bridge would see that as up to 18-1.2 = 16.8V. So 16.8 -5V is 11.8V wasted as heat. Here is the schematic: