Skip to content

SmVswrCircle

Draws a constant-VSWR (Voltage Standing Wave Ratio) circle — a circle centred on the chart origin that passes through a given impedance point. All points on the circle share the same VSWR as the specified impedance.

Demo

1 -10.9 -0.90.8 -0.80.7 -0.70.6 -0.60.5 -0.50.4 -0.40.3 -0.30.2 -0.20.1 -0.102 -23 -34 -45 -510 -1020 -2050 -501.2 -1.21.4 -1.41.6 -1.61.8 -1.80.05 -0.050.015 -0.0150.10.20.30.40.50.60.70.80.91.01.21.41.61.82.03.04.05.010.020.050.0
VSWR ≈ 4.266

Usage

html
<SmithChart>
  <SmVswrCircle :res="1" :react="1" stroke="#42b883" />

  <!-- Multiple circles -->
  <SmVswrCircle :res="0.3" :react="-0.5" stroke="blue" stroke-width="3" />

  <!-- Hide the impedance point marker -->
  <SmVswrCircle :res="2" :react="0.5" :show-point="false" stroke="red" />
</SmithChart>

Props

PropTypeDefaultDescription
resNumber | String1Normalised resistance of the impedance point.
reactNumber | String1Normalised reactance of the impedance point.
showPointBooleantrueWhen true, also renders a small marker dot at the impedance point itself.
strokeString'black'Colour of the VSWR circle and the impedance point marker.
strokeWidthNumber | String3Width of the VSWR circle stroke in pixels.

How VSWR is calculated

The radius of the VSWR circle equals the distance from the chart centre to the impedance point in the normalised plane — that is, the magnitude of the reflection coefficient |Γ|:

$$ |\Gamma| = \sqrt{a^2 + b^2} $$

where a and b are the normalised Cartesian coordinates of the impedance point (see SmPoint).

VSWR relates to |Γ| by:

$$ \text{VSWR} = \frac{1 + |\Gamma|}{1 - |\Gamma|} $$

The demo above shows the live-computed VSWR value as you drag the sliders.

Released under the MIT License.