Back

#impedance

2 APIs with this tag

AC Impedance API

AC complex-impedance maths as an API, computed locally and deterministically. The series endpoint computes the impedance of a series R-L-C circuit at a given frequency — the inductive reactance X_L = 2πf·L, the capacitive reactance X_C = 1/(2πf·C), the complex impedance Z = R + j(X_L − X_C), its magnitude |Z| = √(R²+X²) and phase angle φ = atan(X/R) — and classifies the circuit as inductive (current lags), capacitive (current leads) or resistive. The parallel endpoint computes a parallel R-L-C impedance through its admittance Y = 1/R + j(ωC − 1/ωL) and Z = 1/Y, with magnitude and phase. The ac-ohm endpoint applies Ohm's law for AC, I = V / |Z|, to give the RMS current and apparent power from an RMS voltage and an impedance specified either as resistance and reactance or as a magnitude, and the real power when the phase is known. Resistance and reactance are in ohms, inductance in henries, capacitance in farads, frequency in hertz and voltage RMS in volts; phase is in degrees. Everything is computed locally and deterministically, so it is instant and private. Ideal for electronics, audio, RF-filter, power-supply and motor-control app developers, AC-circuit and phasor tools, and electrical-engineering education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is AC complex impedance; for the resonant frequency and reactance alone use a resonance API and for power-factor correction a power-factor API.

api.oanor.com/impedance-api

VSWR & Impedance Match API

VSWR and RF impedance-matching maths as an API, computed locally and deterministically. The vswr endpoint computes the voltage standing-wave ratio and its companion figures — the reflection coefficient Γ = (ZL − Z0)/(ZL + Z0) = √(Pr/Pf), the VSWR = (1+|Γ|)/(1−|Γ|), the return loss −20·log₁₀|Γ| dB, the mismatch loss and the percentage of power reflected and transmitted — from a reflection coefficient, a load and source impedance (Z0 default 50 Ω), or the forward and reflected power. The fromvswr endpoint goes the other way, deriving Γ, return loss and the power split from a VSWR figure. The power endpoint computes the reflected and transmitted power from a forward power and a VSWR or reflection coefficient. Everything is computed locally and deterministically, so it is instant and private. Ideal for RF, antenna, amateur-radio and wireless app developers, antenna-tuning and feedline tools, and electronics education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is RF impedance match; for antenna gain and aperture use an antenna API.

api.oanor.com/vswr-api