Implementing netclass to netclass constraints using custom DRC
summary
KiCAD is used to enforce per‑netclass clearances for an offline flyback converter by mapping six net classes in a spreadsheet and turning each pairwise clearance (examples: 5 mm primary‑to‑secondary, 150 µm secondary‑to‑secondary, 1.5–2.5 mm for specific pairs, 150 µm internal) into custom DRC rules. Rules are pasted into KiCAD’s custom DRC; the interactive router and zone fills respect them. A Python/CSV generator is suggested to automate rule creation from the netclass-to-netclass matrix.
AI-written summary · about
chapters (8)
- 0:00Introduction and speaker background
- 2:33What are constraints in PCB design
- 12:03Net class to net class constraints explained
- 16:35Offline converter design overview
- 19:48Setting up net class constraints step-by-step
- 27:13Creating custom DRC rules
- 30:22Live demo of constraints in action
- 31:58Q&A and audience questions
