Repository navigation
Expand file tree
/
Copy pathhelp.html
More file actions
30 lines (30 loc) · 17.2 KB
/
Copy pathhelp.html
File metadata and controls
30 lines (30 loc) · 17.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!doctype html><html lang="en"><meta charset="utf-8"><title>WayriCAD Trace, Via and Plane RLC</title>
<style>body{font:16px Segoe UI,Arial;max-width:1040px;margin:28px auto;padding:0 20px;color:#25282c;line-height:1.55}h1,h2{color:#263d4b}code{background:#f0f2f4;padding:2px 4px}img{display:block;max-width:100%;border:1px solid #ddd}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid #ddd;padding:9px;text-align:left}</style>
<body><h1>Trace, Via and Plane RLC</h1>
<h2>4.8.5 via and topology safeguards</h2><p>Via sections retain physical layer endpoints, traversed path span and remaining barrel candidates separately. Remaining barrel may be an open stub or connected branch; its termination, capacitance, input impedance and resonance stay unknown. It is not added to the route's series R/L. Bulk barrel slices have no terminal-defined stub classification. Physical length needs saved stackup thickness, not assumed equal spacing. Blind/buried spans are retained; microvia taper is not modeled and stepped/backdrilled barrels are rejected.</p><p>Branch/alternate-path ambiguity, overlapping references and unverified non-ground reference roles cannot establish a passing uniform route. Duplicate endpoint labels are rejected rather than joining separate pads. Zone models remain finite-width corridor/overlap estimates, not arbitrary-copper full-wave extraction. <a href="RLC_ZONE_VIA_AUDIT.md">Implemented coverage, limits and validation audit</a>.</p>
<h2>RLC result completeness</h2><p>Summary values marked modeled subtotal cover only the modeled sections. The JSON quantity_coverage field includes modeled and omitted counts and a complete total when supported. Isolated via barrel partial inductance is reported separately. Without a return-loop model, a via does not supply series reactance or magnitude for the frequency sweep. Conductor-loss curves remain available.</p>
<h2>Use selections from PCB Editor</h2>
<p>Select pads, tracks, vias or zones in the PCB Editor that opened the analyzer and click <b>Use PCB selection</b>. In a path study, two same-net pads set both endpoints; one sets Start. Tracks, vias and zones set the net with endpoints left open. Use <b>More → Select net on PCB</b> to locate a chosen net in that editor. In <b>All nets / Bundles…</b>, <b>Use PCB selection</b> checks the distinct selected nets. Run the analysis when the inputs are ready.</p>
<p>The PCM action matches item UUIDs against the saved PCB. Saving the PCB, project or custom rules reloads the path workspace and clears results from manual analysis. Endpoint pad UUIDs survive renames. Review any empty endpoints, reference layer, mate or zone island before running Analyze again. Enable <b>Follow PCB selection</b> to highlight selected copper in the route preview. Double-click a section row to locate its exact copper item in the originating editor. <b>More → Reload saved PCB</b> retries a failed reload.</p>
<h2>Live path analysis</h2>
<p>Choose the net, endpoints, frequency and reference, then enable <b>Live path analysis</b>. When the originating PCB Editor supports live geometry, the same path runs in the background after changes to its net or differential mate settle. It includes unsaved edits and uses a read-only editor copy. Selection changes and edits on other nets do not rerun the path. Changes to saved project or custom rules also refresh it. Changing the analysis setup stops the watch. Re-enable it to watch the new setup. To export CSV, save the PCB, turn off live analysis and run <b>Analyze</b> on the saved board.</p>
<p>Use manual analysis for filled-island, bulk, protocol and standalone workflows. Rerun manually after editing relevant return copper on other nets, and refill zones in KiCad to update their modeled coverage.</p>
<h2>Protocol discovery and automatic screening</h2>
<p>Save the PCB, then choose <b>Protocol scan...</b> and <b>Discover and check</b>. Sort candidates by clicking column headers; select a row to read its matching evidence, physical blockers and corrective suggestions. Double-click to load the net into the parent analyzer for terminal selection. Saved-board sessions cannot highlight an unrelated live editor.</p>
<p>Families include USB, CAN, RS485, Ethernet MDI/RGMII/SGMII, DDR, PCI/PCIe, SerDes, GTH/GTY/GTX/GTP, RF and peripheral buses. Fuzzy or ambiguous identities require review. Expand custom rules to enter JSON wildcard/regex rules and exact-net/profile impedance targets. The frequency and tolerance are explicit screening inputs, not inferred bit rates or standards limits.</p>
<p>Missing mates, incomplete references, possible branches/stubs, via discontinuities and unsupported terms remain visible. Supported single-ended section Z0 is checked against the target; differential coupling, timing/eye masks and protocol compliance are not solved. No tracks or rules are changed. Cancellation and native worker failures leave the parent open. Source changes invalidate exports. Export includes HTML and paired JSON with source fingerprints.</p>
<p>CLI: <code>wayricad-rlc protocol-profiles</code> and <code>wayricad-rlc protocols Example.kicad_pcb --output protocol-screen.json</code>. Add <code>--rules rules.json --targets targets.json</code> for custom names/targets. Exit 2 reports target violations; 3 reports review/incomplete/no candidates; 1 reports input/runtime errors. Exit 0 is a supported screening result, never protocol certification. <a href="PROTOCOL_SCANNING.md">Complete setup, rule examples, families, limits and troubleshooting</a>.</p>
<p><b>Newer saved boards:</b> read-only analysis uses a strict private conversion for boards newer than KiCad 10. The launching editor supplies its matching CLI; standalone runs can select it with <code>KICAD_CLI</code>. Unsupported conversion stops the run. The original PCB, project and rules stay unchanged. Converted results retain source and converter provenance; this does not establish editing or DRC equivalence. Reopen or reload and rerun after source, rules or converter changes.</p><p>Choose a net and two terminals. Analyze a connected path or a filled zone, then inspect each section's geometry and reference.</p>
<h2>Current workspace and evidence</h2><img src="help-path-3.6.38.png" width="800" height="451" alt="Current native RLC path and linked section rows"><img src="help-results-3.6.38.png" width="800" height="451" alt="Current native RLC totals and unresolved values"><p>Actual saved-board Marble run: /ETH_PHY/MII_MDC, U6.8 to U54.16, 253.670 mm, three vias and three layer changes. R DC is 0.978676 ohm. Status remains PARTIAL: missing reference coverage and via antipad capacitance are not replaced by guessed values; this mixed route has no uniform Z0. The frequency is 100 MHz; via plating defaults to an assumed 25 um. L/C totals contain modeled sections only, not a complete return-loop model.</p><p><b>Copper sections</b> links the actual route to section rows. <b>Results</b> retains totals/unknowns; <b>Board Stackup</b> and <b>Engineering Notes</b> expose material sources and blockers. <b>Line cross section</b> and <b>AC loss sweep</b> have their own assumptions. Drag the horizontal divider to enlarge the active view. The earlier examples below are retained; <a href="https://github.com/wayri/WayriCAD/blob/develop/docs/audits/QUICK_TOOL_VISUALS_3.6.38.md">current capture provenance</a> records source hashes and limitations.</p><h2>Connected path</h2><img src="help-workflow.png" alt="Marble route with pads, tracks, vias and per-section layer transitions">
<ol><li>Save and refill in KiCad before launch. The PCM action reloads its saved snapshot after changes. A native loading window appears while KiCad reads a large saved board. Closing it cancels opening after the current read finishes, without changing the board. Select the net and start/end pads.</li><li>Choose Path. Leave reference at Auto, or expand options to choose a layer.</li><li>Analyze and inspect the route and section table. Partial means some electrical terms are unknown.</li><li>Export the result with its assumptions and stackup source.</li></ol>
<h2>Zone or plane</h2><img src="help-marble-plane.png" alt="Marble filled zone and terminal-corridor analysis">
<p>Choose Zone/plane, a filled island and two terminals on that island's layer. Set the assumed current-corridor width under options. A corridor must fit inside the filled polygon, preserving holes and isolated islands. Complex routes around obstacles can remain unresolved.</p>
<table><tr><th>Result</th><th>Meaning</th></tr><tr><td>Trace R/L/C/Z0</td><td>Conductor and closed-form transmission-line estimates where stackup and reference coverage support the model.</td></tr><tr><td>Via R/L</td><td>Barrel resistance with assumed 25 µm plating and isolated partial inductance. Antipad capacitance is unknown.</td></tr><tr><td>Plane R/L</td><td>Terminal-dependent corridor estimate, not a solved spreading-current distribution.</td></tr><tr><td>Plane C</td><td>Parallel-plate estimate from actual filled-island/reference overlap. Do not combine it with corridor R/L as a single series circuit.</td></tr></table>
<h2>Grounds and layers</h2><p>Auto recognizes common ground net names and checks adjacent filled-copper coverage. An explicit reference layer still requires copper coverage. Analysis follows existing transitions through vias and plated pads; it does not move copper. Different-layer crossings cannot create a connection. In the native editor window, More → Refresh stackup rereads the saved stackup, preserves an available reference choice, and clears the previous result and AC sweep. Analyze again before exporting.</p>
<h2>Interpreting partial results</h2><p>Partial totals contain modeled sections only. A mixed path has section impedances, not one uniform characteristic impedance. Disconnected terminals stay unresolved; there is no aggregate-net fallback. Automatic line estimates require saved dielectric thickness and Er between the signal and reference layers; missing values remain structured blockers and are never replaced by generic FR-4 dimensions. Embedded stackup values may disagree with separate manufacturing documents. Check the reported source and blocker actions.</p>
<p>These estimates omit full field/current distribution, pad and thermal-spoke impedance, solder mask, roughness, dielectric loss, and connector/package effects. Automatic board sections use corrected EMerge quasi-static microstrip or centered-stripline equations only when reference geometry is verified. The pair view reports separate paths and skew; it does not calculate board-extracted differential impedance. Nearby same-layer copper makes plain-microstrip Z0 unresolved.</p>
<h2>Line cross section</h2><p>Enter measured trace width, reference separation, dielectric Er and, where needed, lateral-ground slot or pair gap. The diagram updates with the selected topology. CPW and grounded CPW give single-ended Z0; edge-coupled centered stripline gives differential Z0. These manual modes assume zero copper thickness, homogeneous dielectric and continuous symmetric grounds. They do not prove that the selected board route has those dimensions. Differential CPW, edge-coupled microstrip and protocol compliance remain unresolved.</p>
<p>For a boardless JSON estimate use <code>wayricad-rlc cross-section --topology grounded-cpw --width-mm 1.5 --gap-mm 0.3 --height-mm 1.53 --er 4.5</code>. See the full guide for other topologies and model limits.</p>
<h2>Series route discovery</h2><p><code>wayricad-rlc infer-series Example.kicad_pcb --start J1.1 --end J2.1 --output candidates.json</code> proposes net chains, parallel banks and exact pin groups for review. Enter component values in Quick PI Series. This discovery does not combine segment RLC estimates into a solved circuit. <a href="ReadMe.md">CLI details and limits</a>.</p><h2>Automation</h2><p><code>wayricad-rlc inspect</code>, <code>path</code> and <code>zone</code> provide read-only JSON with board hashes and per-section status. Run using KiCad 10's native Python. See <a href="ReadMe.md">the full guide</a> for arguments and exit codes.</p><h2>Visual AC loss review</h2><img src="help-ac-geometry.png" alt="Actual copper coloured by AC resistance with linked section rows"><p>Colour the actual copper by layer, DC/AC resistance contribution or model coverage. Select a section to highlight its geometry; click a route/via marker to inspect its section. Changing settings clears stale results.</p><p>The <b>AC loss sweep</b> tab shows a logarithmic frequency axis, one/two-face sheet-current assumptions and CSV export. Trace, zone-corridor and plated-via contributions are included. This is continuous skin diffusion, not an extraction of arbitrary neighboring-conductor proximity, roughness, edge crowding or return-plane loss. The two curves are not rigorous bounds. Via plating defaults to 25 um.</p><img src="help-ac-sweep.png" alt="Native AC resistance versus frequency plot on a Marble signal path"><p>Add <code>--sweep-mhz 0.001 1000</code> to CLI path/zone analysis for the same JSON results. Series R+jωL is a lumped contribution estimate, not Z0 or terminated channel input impedance. Missing inductance remains unknown.</p><h2>Automatic reports and KiCad jobsets</h2><p>Install the WayriCAD CLI wheel alongside the GUI plugins. In the saved project folder, run <code>wayricad jobs init --preset inventory</code>, then <code>wayricad jobs run --keep-going</code>. Reports, logs and a linked HTML summary go into a fresh <code>reports/wayricad/</code> run folder. Inventory lists available nets and paths; choose the electrical preset and explicit terminals for numerical analysis.</p><p>Use <code>wayricad jobs jobset --output analysis.kicad_jobset</code> to create a native KiCad jobset. Use <code>--merge existing.kicad_jobset --position 1</code> to insert into an existing sequence, writing a new file. Open the resulting jobset in KiCad's Jobsets manager and run it. Nonzero tool exits and missing reports fail the sequence; successful execution is not engineering approval. <a href="https://github.com/wayri/WayriCAD/blob/develop/wayricad_runtime/JOBSETS.md">Complete setup, presets and automation guide</a>.</p>
<section><h2>Resize and read the workspace</h2><p>Drag the horizontal divider below path settings to enlarge settings or results. Expanded reference and pair controls scroll within their own area. The workflow Help button opens this guide.</p></section>
<h2>HTML and PDF reports</h2><p>Export HTML for interactive board views and exact probes. Use Print / save as PDF for browser printing. For a static PDF without a browser, run <code>python -m wayricad_runtime.tool_cli report-pdf review.html --output review.pdf --evidence review.json</code> after installing <code>wayricad[reports]</code>. The exporter retains text, tables and embedded PNG/JPEG figures. Canvas, SVG and unsupported views are explicitly listed as retained in HTML. Any tool JSON can use <code>python -m wayricad_runtime.tool_cli report result.json --html review.html --pdf review.pdf</code>; no analysis is recomputed.</p><h2>Whole-board sections and net bundles</h2><p>In the native analyzer choose <b>All nets / Bundles…</b>, then all nets, checked nets or bundle members. Set the frequency, section budget and filled-copper reference inference option; <b>Extract sections</b> uses a private saved-board worker. Cancel takes effect after the current native read/section. Select a net to inspect its copper; table and preview selection are linked. <b>Select section in PCB</b> confirms UUID selection in the originating IPC editor rather than choosing an arbitrary window. PCB/project/custom-rule changes invalidate evidence.</p><p><b>Load bundles…</b> and <b>Save bundles…</b> retain exact names. HTML/PDF exports include complete per-net pin groups, section metrics/units, candidate references and unknowns, with paired JSON evidence. HTML uses inline SVG and PDF uses lossless PNG geometry. The shared optional PDF runtime is required; this workspace never installs dependencies.</p><p>Run <code>wayricad-rlc bulk Example.kicad_pcb --output board-sections.json</code> for all saved nets, or repeat <code>--net</code> for an exact selection. Every trace/arc and via section retains its item UUID and geometry; branches are not reduced to an arbitrary terminal pair or one net impedance. Zones remain unknown until reviewed with explicit terminals/corridor.</p><p>A <code>--bundles bundles.json</code> file uses <code>{"schema":"wayricad.rlc-bundles/v1","bundles":[{"name":"Data bus","nets":["D0","D1"]}]}</code>. Exact net groups share per-net results without duplicate extraction. Grouping does not solve coupling, crosstalk, differential impedance or terminations.</p><p>Reference inference requires full corridor coverage in actual adjacent saved filled copper and records net/layer/island candidates. Non-ground-named planes retain an unverified electrical-return role; overlapping candidates are ambiguous. <code>--named-ground-only</code> restricts candidates to ground-like names while still requiring geometry. Missing stackup data and unsupported field models remain partial.</p><p><code>--max-sections</code> defaults to 20000. Budget exhaustion/cancellation lists omitted item UUIDs and cannot pass. The source hash is verified before and after extraction; JSON is written separately. This is per-section quasi-static screening, not a whole-board field solve.</p></body></html>