linkbudget
RF link budget analysis for satellite and terrestrial communication systems.
Features
| Module | Description |
|---|---|
| Transmitter | Output power, gain, EIRP (dBm/dBW) |
| Receiver | Gain, noise temperature, noise figure, SNR, G/T |
| Path Loss | Free space path loss (FSPL) from frequency and distance |
| Link Budget | End-to-end budget: transmitter → path loss → receiver → SNR |
| PHY Rate | Shannon capacity from SNR and bandwidth |
| Orbits | Slant range, circular orbit speed/period |
| Doppler | Doppler shift, received frequency, max radial velocity |
| Power Flux Density | PFD (dBW/m²) and PFD per MHz for regulatory analysis |
| Quantization | ADC/DAC quantization SNR and ENOB |
Example
use ;
let budget = LinkBudget ;
println!;
println!;
println!;
println!;
println!;
Doppler
use doppler;
let freq = 14.0e9; // 14 GHz Ku-band
let radial_velocity = 7000.0; // m/s (LEO satellite)
let shift = doppler_shift_hz;
println!; // ~327 kHz
Power Flux Density
use pfd;
let eirp_dbw = 45.0;
let distance = 550.0e3; // 550 km
let pfd = power_flux_density_dbw_per_m2;
println!;
Quantization
use quantization;
let snr = quantization_snr_db; // 12-bit ADC
println!; // 74.00 dB
let enob = enob_from_snr;
println!; // 10.5 bits
CLI