Design single-stub matching (distributed)
design_stub_matchDesign single-stub matching networks: compute stub distance and length to match a load to Z0, with physical lengths and bandwidth. Use for microstrip, coax, or textbook Smith chart problems.
Instructions
Single-stub tuner design (Pozar §5.2): find the distance d from the load along the main line and the length ℓ of an open- or short-circuited stub (shunt or series) that matches the load to Z0. Returns all solutions in wavelengths, degrees and — when frequency is given — physical length (with eps_eff / velocity_factor), plus verification and matched bandwidth. Components are returned load → source for analyze_circuit / render_smith_chart. Use for microstrip/coax stub tuners and textbook Smith chart stub problems.
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). | |
| source | No | Source impedance (default = z0, purely resistive). Complex sources are conjugately matched. | |
| eps_eff | No | Effective permittivity of the lines (default 1). | |
| stub_z0 | No | Characteristic impedance of the stub (default = z0). | |
| language | No | Language of the human-readable summary: 'en' (English) or 'tr' (Türkçe). Defaults to the server setting. | |
| frequency | No | Optional: needed for physical lengths and frequency-dependent loads. | |
| placement | No | Shunt (parallel) or series stub. | shunt |
| termination | No | Stub termination to report. | both |
| bandwidth_vswr | No | VSWR limit used to report the matched bandwidth of each solution (default 2 ≈ 9.5 dB return loss). | |
| velocity_factor | No | Velocity factor; overrides eps_eff. |