Analyze a ladder / matching circuit
analyze_circuitAnalyze cascaded RF circuits to compute impedance, reflection coefficient, and VSWR at each node, plus input impedance and tolerance analysis. Use for matching network and antenna tuner verification.
Instructions
Analyze a cascaded RF circuit (load → components → source) the way a Smith chart does: returns the impedance, Γ and VSWR at every node, the final input impedance with return/mismatch loss, an optional frequency sweep (S11 in dB, VSWR vs. frequency), matched bandwidth for a VSWR limit, and Monte-Carlo-free tolerance corner analysis (± tolerance_pct on each component). Supported elements: inductor, capacitor, resistor (series or shunt, with Q/ESR/ESL), series/parallel RLC, custom impedance or Z(f) table, transmission line (lossy, εeff/velocity factor), open/short stubs (shunt or series), ideal transformer and coupled inductors. The load may be a constant Z, a Γ, a Z(f) table or a measured .s1p file (antenna). Use to verify a matching network, check an antenna tuner, or answer 'what impedance does the source see?'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z0 | No | Reference (system) characteristic impedance Z0 in Ω. Default 50. | |
| load | Yes | The load (termination) at the far end of the circuit. Give exactly one of: z, gamma, table, or a 1-port Touchstone (.s1p) via touchstone_path / touchstone_content (e.g. a measured antenna). | |
| sweep | No | Frequency sweep: give start+stop, or span (centred on frequency). | |
| language | No | Language of the human-readable summary: 'en' (English) or 'tr' (Türkçe). Defaults to the server setting. | |
| frequency | Yes | Design / analysis frequency. Electrical lengths (λ, deg) are defined at this frequency. | |
| components | No | Circuit elements ordered from the LOAD towards the SOURCE (the first element is connected directly to the load). Empty = bare load. | |
| bandwidth_vswr | No | Report the contiguous bandwidth around frequency where VSWR ≤ this value (e.g. 2). |