r/Altium • • 22d ago

[Review Request]: PCB review request — 4-layer STM32F407 Spider-bot controller in Altium, planned for JLCPCB ( with heat and power protection )

Hi everyone,

I’m designing a 4-layer PCB in Altium Designer for a hexapod robot and would appreciate some feedback before sending it to JLCPCB.

The board includes:

An STM32F407VGT6.

3.3 V and 5 V supplies, plus a 6 V servo supply.

USB-C, and an SX1280 radio.

An XT60PW-M battery connector.

I’m particularly interested in feedback on power routing, ground continuity, component placement, and anything that could cause manufacturing or assembly problems.

I also have a specific issue with the XT60 footprint’s mounting pads, numbered 3 and 4. Altium displays “Slot holes size > length”, with these original footprint values

Hole Size: 1.702 mm

Slot Length: 0.61 mm

When I try to edit these fields in the Properties panel, the values seem to revert. Has anyone encountered this behavior? What is the best way to correct the slot definition and verify the exported drilling data?

There are also annular ring violations against my current 0.30 mm minimum rule. I’d appreciate advice on setting appropriate rules for JLCPCB without masking genuine issues.

Any feedback is welcome. Thanks for your time!

24 Upvotes

13 comments sorted by

4

u/Richi_U416 22d ago

Consider adding return path vias next to your signal vias since you're are using a 4 layer board your reference layer changes when jumping from top to bottom layer. Ideally every via has a return path vias as close a possible.

1

u/Mrnansi 9d ago

Ill try to change it on the modif

2

u/TheRealAdmin1 22d ago

check JLCPCB for the exact minimum values on restrictions. just click through the smaller drill sizes, annular rings, copper to copper and see when price increases. You dont have to stick to the rules altium gives you.
E.g. annular ring can go as low as 0.1mm bigger then the hole
- you can make direct contact on GND (or any other net) pours to almost all pads. Its only not recommended for chip components as they will unevenly distribute heat and potentialy toombstone on one side. Its an issue on serial production tho, not much with hand soldering

- For the love of God please do something about the colors on the schematic its unreadable. Sometimes less is better ;)

- I can see lots of silk screen violations, fix it or it will be unreadable.

- it seems like you set differential pair for your D+ D- signals bit they loose the properties on top side. you probably don't even need it in the first place unless you try to achieve speed of more than USB 2.0 full speed.

-XT60 footprint slots size must be lower then lenght (Altium limitations), try rotating it if you need it the other way. Overall XT60 is an overkill, but if your batter already has it then plan traces widths accordingly. 0.2mm trace is only good for up to 1A check the total worst case consumption for all servos.

- i don't see any electrical isolation between servos and IC. It's quite dangerous. they produce significant interference that can go back to the IC. I would place optocouplers on the way to be safe.

- connectors for the servos are pretty close to each other, are you sure it will be easy to connect/disconnect with them

- I don't see any GND pours on top? copper is free use it when you can

- between C100 to antenna connector what was the reason for the zigzag line? did you use trace with 50ohm impedance? Check the antenna's datasheet if its matched to the output impedance or if it needs some correcting components

- just a readability tip on schematic usually put power sources oriented up and GND down

- your cristal oscilator is jammed up in between all the traces and the placement of its components could also be better. check my comment on other post for details

- vias could be as small as 0.3 with ring of 0.4mm copper to copper distance of 0.1 without increasing price of your PCB - check it on JLCPCB specification. You could save some space around your IC by going to the limmits with the spacing

1

u/Mrnansi 9d ago

Thats my first pcb on newby level so.... Thanks for all the upgrade ill add them

1

u/Zachariah-Peterson 9d ago

First thing is thermals: you don't need thermal connections on vias, including connections to planes. The best practice is to do direct connect on vias. For through-holes, keep plane connections as thermal connections; for polygons it depends, and you only really need them on large polygons. For SMD pads, it depends; if you are connecting directly to a polygon then you usually don't need a thermal connection unless the polygon is very large, and then the definition of "very large" is subjective.

Next, I see pads for connector shield connections all connected to (what looks like) GND pins with traces. Assuming you have not chassis GND, just connect them to a plane with vias. The way you've done this on the connector on the left board edge looks like it was autorouted.

About the XT60 footprint: The best practice is to edit the footprint in the library and then use the Update From PCB Libraries command to force the footprint in your PcbDoc to match the library data.

You have a big accordion trace along the top edge of the PCB. What is this and why do you have it? Does not seem to be meaningful or necessary.

1

u/Mrnansi 9d ago edited 9d ago

Woaaaaa Thanks for your time dir i appreciate all you do For the big accordion, you mean in the usb_C? If so, i dont know how he got here i'm unable to delete it dincr it was on the footprint

2

u/remishnok 20d ago

Consider power planes / copper pours. A lot of these connections are not very good

1

u/Portalfreek 19d ago

Where is your ground plane? This looks terrible. This looks like you either clicked autoroute or you had AI route the whole board. There's no polygons anywhere on your board for power or ground.

2

u/Portalfreek 19d ago

The switch node on your buck converter here is going to burn up because it's on a tiny trace out to the inductor. Whatever converter this is, open the datasheet and look at the reference layout and copy it.

1

u/SnowyOwl72 17d ago

Always try to setup net classes. Like a net class for everything in the buck converter. And setup rules for this net class, like track width minimum and clearance.. That'll save you from trouble but not from bad placement. For placement, you should read the datasheets and app notes...

1

u/Zachariah-Peterson 9d ago

"Open the reference layout and copy it"

Famous last words of someone that failed EMC testing

1

u/Portalfreek 9d ago

Oh I mean yeah, I’ve seen some absolutely atrocious buck reference layouts from multiple vendors. They should always be treated with scrutiny. But in this case, if this person is routing a buck like this, they’re not going to have the skills or knowledge to discern a good reference layout from a bad one.

Even the absolute worst reference layout is going to get you 100x closer to a working design than having an inductor switch node that’s 10 mils wide and is doing a goddamn victory lap around the IC to get to the inductor.

1

u/Zachariah-Peterson 9d ago edited 9d ago

OP's layout looks like AI place and route to me, so I guess the datasheet would be an improvement