r/AI_PCB_Design_Reviews

STM32H745ZIT6 Flight Controller by r/010010

Headline is wrong, this is a RC Controller, not a flight conroller. thans for the correction r/010010 https://www.reddit.com/user/O1OO1O/ posted for a PCB Design Review and shared his files on github https://github.com/alx-uta/Orthrus-TX/tree/dev/PCB

A number of concerns were raised, the limitation of the 600ma LDO for instance. more attention to the caps needed and the usual issues where type-C shell is not separated from logic GND. Good design has room for improvement. I ran with typical lab setup so limited test points inserted.

Device Rail / Net Observation Severity
LD1 (AP2112K-3.3) LD1_3.3v Output rail supplies the entire STM32H745ZIT6 digital domain, SD card, six ESD arrays, and dozens of pull-up resistors. Aggregate load can approach or exceed the 600 mA rating of the AP2112K-3.3 (DS39724 Rev. 2-2). Thermal dissipation in SOT-23-5 at worst-case headroom is a concern. High
STM32H745ZIT6 VCAP VFBSMPS (pin 17) output capacitor C22 is 4.7 uF. AN4938 Rev 7 (ST) specifies 10 uF minimum with 20 mohm ESR on this node. Insufficient capacitance risks excessive VCORE ripple and SMPS instability. High
STM32H745ZIT6 VLXSMPS AN4938 Rev 7 specifies a 220 pF capacitor between VLXSMPS and GND. No such capacitor is present on the VLXSMPS net. Missing snubber increases switch-node ringing and EMI. High

The full review is here: https://tomachie.com/r/aa8d1d40-a3e4-499e-a949-0faa610402b9/Orthrus-TX_report.html

reddit.com
u/Tomachie — 3 days ago
▲ 1 r/AI_PCB_Design_Reviews+1 crossposts

Great post from Alex Zhavoronkov, Phd and how it relates to PCB design

While my friend Dr. Alex Zhavoronkov is in a very different field, building tools that use AI for drug discovery, his insight after reading "Open to Work" is applicable to PCB schematic capture and design. You may know Roslansky from Microsoft and Raman from LinkedIn. These are quality men with good vision and pulse on industry. and the message is clear, AI won't replace human work, it will AMPLIFY the parts that matter. (Something i have said as well. I receive no money and have no interest in the royalties generated from this book. I am sharing MHO on technology useful to our field) The future belongs to those who combine AI tools with human strengths, judgement, creativity, adaptation, leaving AI to do rudimentary parts, checking construction, noise, EMC, IPC/IEEE/IEC/ISO/CISPER compliance that is very hard for us to remember all the rules on.

Be vary wary of those quick to vote down anything related to PCB Design and AI as "AI Slop". While there is one particular "fluxing" PCB design tool which is buggy and takes on too much with little results, don't throw out the baby with the bath water or you will find yourself jobless. and maybe there are some DIY solutions which are problematic, having hallucinations and other effects, still that does not mean AI can't help. There's even a sub-Reddit r/PrintedCircuitBoard which prevents the discussion of AI, and i think that is unfortunate for a lot of young designers.

Where AI can free you to do other human things, like create, its would be useful to have as a partner in your PCB design journey. Major OEMs are embracing it, given the risks/costs associated with designs which have mistakes or compliance issues. Stay open minded.

https://preview.redd.it/73rerplzr42h1.png?width=961&format=png&auto=webp&s=c8129c6e4baa182ea932a5aa9276c2398f2881c0

reddit.com
u/Tomachie — 4 days ago
▲ 40 r/AI_PCB_Design_Reviews+1 crossposts

[Review Request] iCE40 Single-Board Computer

Hey all, a review for this project would mean the world to me.

The board is designed to hold a soft-core 6502 microprocessor, with plenty of peripherals to mess around with. The BIOS/code for the MCU will be appended above the FPGA config bitstream. The iCE40HX4k is capable of running USB with the nand2mario project, and it also has VGA and HDMI video output. I have used USB-C with a power-negotiation chip to deliver up to 10W, alongside a TPS54386 dual buck converter for deriving the 3.3V and 1.2V power supplies. I also use a diode to get 2.5V since it's flexible unlike the 1.2V supply. PS/2 uses level shifters to translate the 5V bus to 3.3V for the FPGA. I'm also using a 4M x 4B x 16Bit SDRAM for the on-board memory.

I've done my best to follow datasheets and best practices. Feel free to be picky with your review, and tell me anything that might need to get changed.

Thanks!

u/AcanthisittaAnnual27 — 6 days ago
▲ 48 r/AI_PCB_Design_Reviews+2 crossposts

Learning KiCad and PCB Design from CERN White Rabbit example

Hello All,

For those new to KiCad a great example design out there is the CERN White Rabbit VME WREN design. its 73 pages with hierarchy, FPGA and robust power system that is worth looking at to understand the power of KiCad and also give tips on how to design a complex power system for an FPGA.

The WREN (White Rabbit Event Node) is designed in multiple form factors including VME64x, this design is the VME version. It's based on the Zynq UltraScale+ SoC and licensed under the CERN Open Hardware License. White Rabit provides timing in the low 10s of picoseconds for the LHC. I can't say i know all about it but it is quite an acheivement. The original files are here:
https://gitlab.com/kicad/code/kicad/-/tree/5371312c6f945e99bd464769626d83c7111f18ed/demos/vme-wren

I inserted test points and generated descriptions of the power and EMC/ESD sections which may help anyone who is debugging the boards or looking to understand the design. There are some comments on things which are marginal or could be done better in a next generation. The new files are here:

https://github.com/ttrain4086-cpu/Kicad-VME-Wren-Update

There are areas of concern with TPS62125, and the PGOOD status is not always brought out to a probable test point such that debug could be a little easier when things go wrong. Here is a short description of the power, for brevity just 1 section of the entire 14 section power description:

The design is a VME-format board built around a Xilinx Zynq UltraScale+ XCZU4CG FPGA (IC14). Two independent backplane power domains feed the board. The P12V rail enters from the VME P1 connector and supplies the core-voltage conversion chain. The P5V_VME rail, also from the P1 connector, feeds the main 3.3 V domain. A separate P3V3_VME rail is present on the backplane but has no on-board consumers.

From P12V, a TPS62125 buck converter (IC32) generates the 5VREG housekeeping rail. 5VREG powers the two Infineon IRPS5401M digital PMICs (IC30, IC31), the TDA21535 power stage (IC29), and the TPS74801 LDO (IC22). IC29 produces the P0V85 core rail for the FPGA. IC30 generates P1V8 (two paralleled channels C and D), VCC_PSPLL (internal LDO), and drives IC29 via its PWM_A output. IC31 generates MGT_1V2, MGT_1V8, P1V2, MGT_0V9, and MGT_0V85 (internal LDO). IC22 post-regulates 5VREG down to P2V5 for DDR4 VPP.

From P5V_VME, the LMZ31704 power module (IC40) produces P3V3, the largest rail on the board with over 600 pins and 225 decoupling capacitors. P3V3 is further filtered through two 220-ohm-at-100-MHz ferrite beads (L13, L14) to create the P3V3_CLK sub-rail for the clock synthesizers (IC18, IC60), the DAC (IC10), and the voltage reference (IC12). The TPS51200 DDR termination regulator (IC24) derives VTT_DDR4-PS from P1V2.

Smaller filtered sub-rails include VCC_PSDDR_PLL and VCC_PSADC, both derived from P1V8 through individual 120-ohm-at-100-MHz ferrite beads (L5, L6), and PSADC_AGND, an isolated analog ground for the FPGA PS-side ADC connected to GND through a 600-ohm-at-100-MHz ferrite bead (L2).

Power sequencing is managed through the enable chain of the IRPS5401M devices. IC32 starts unconditionally when P12V is present (EN tied to VIN). Its PG output on net 5VPG enables IC22 (EN pin). IC30 is enabled by the 5VREG rail through R212 to its EN_L, EN_A, EN_C, and EN_D pins. IC31 is gated by the P1V8AUX_PG signal from IC30 pin PG_D, which drives IC31 EN_L, EN_A, EN_B, EN_C, and EN_D. IC29 EN is tied to P3V3, so it starts once the 3.3 V rail is live. IC24 PGOOD drives the FPGA PS_POR_B pin, establishing the final power-good handshake to the processor. IC40 starts whenever P5V_VME is applied because its INH/UVLO pin is intentionally unconnected, relying on the internal pull-up.

anyway, enjoy see if the explanations help in designing your own power architecture if you're using high end FPGAs.

u/ttrain4086 — 6 days ago

AI PCB Design Review of STM32F765VIT6 design by u/Teusner called Caiman

Wonderful design by u/Teusner called Caiman. https://github.com/Teusner/Caiman. He/she was nice enough to post the KiCad for processing when asking for a review on r/PCB. 168 pages of reports and checks. Caiman received a Tomachie score of 81 out of 100, which is very good. with suggestions on design-for-test improvements.The full AI Assisted overview is here:

https://tomachie.com/r/0f916018-f374-4e59-b553-af2aa1a2918a/caiman_report.html

AI-Assisted: The output inductor L1 is 3.3 uH in a Wuerth MAPI-4020 package. The datasheet recommends 2.2 uH to 10 uH for most applications, so 3.3 uH is within the recommended range. The output capacitance on the +5V rail consists of four 22 uF ceramics (C4, C5, C7, C8 in 0603), four 100 nF ceramics (C47, C49, C50, C51 in 0603), one 10 uF ceramic (C6, 0603), and one 470 uF electrolytic (C48). The total ceramic output capacitance is approximately 98 uF (four times 22 uF plus one 10 uF plus four times 100 nF), which substantially exceeds the datasheet recommended 22 uF minimum. The 470 uF electrolytic provides additional bulk energy storage. This is a well-decoupled output rail.

Some design issues are raised on shield being connected to logic GND, some need of caps near the SD Card interface, consider a different inductor value, and some ESD/EMC compliance issues to review. All and all a very well designed schematic, the layout for the RF is probably the trickiest part of the design. Some excerpts:

AI-Assisted: The design has a flat ground architecture with no separation between chassis ground and signal ground. All four mounting holes (H1 through H4) bond directly to GND. This is acceptable for a small embedded system that operates inside a shielded enclosure, but if the product is used without an enclosure or with a non-conductive housing, the lack of a chassis ground domain means there is no controlled ESD discharge path to earth ground. Per IEC 61000-4-2, the ground reference plane setup is critical for repeatable ESD immunity testing.

The power input at J7 has appropriate TVS protection (D1, SMBJ33CA) consistent with the TI LM74700-Q1 datasheet application circuit. The battery input at J8 and the VCC input at J9 lack TVS protection. If these connectors are user-accessible, transient protection should be investigated.

u/Tomachie — 6 days ago