Range Equation
Radar and one-way link range equations.
Implements the two-way radar range equation (received signal power and SNR) and the one-way Friis transmission equation used for jammer link budgets.
min_target_detection_range(Pt, Gt, Gr, sigma, wavelength, SNR_thresh, B, F, L, T)
Calculate the maximum detectable range for a single uncoded pulse given an SNR threshold. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
SNR_thresh
|
float
|
Minimum SNR required for detection [unitless] |
required |
B
|
float
|
Receiver bandwidth [Hz] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Maximum detection range [m] |
Source code in src/rad_lab/range_equation.py
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | |
min_target_detection_range_bpsk_cp(Pt, Gt, Gr, sigma, wavelength, SNR_thresh, B, F, L, T, n_p, n_c)
Calculate the maximum detectable range for coherently processed BPSK pulses. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
SNR_thresh
|
float
|
Minimum SNR required for detection [unitless] |
required |
B
|
float
|
Receiver bandwidth [Hz] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
n_p
|
float
|
Number of pulses coherently processed [unitless] |
required |
n_c
|
float
|
Number of binary chips per pulse [unitless] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Maximum detection range [m] |
Source code in src/rad_lab/range_equation.py
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | |
min_target_detection_range_dutyfactor_cp(Pt, Gt, Gr, sigma, wavelength, SNR_thresh, F, L, T, Tcpi, tau_df)
Calculate the maximum detectable range for coherently processed pulses using duty factor parameters. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Peak transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
SNR_thresh
|
float
|
Minimum SNR required for detection [unitless] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
Tcpi
|
float
|
Total coherent processing interval duration [s] |
required |
tau_df
|
float
|
Radar duty factor [0 to 1] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Maximum detection range [m] |
Source code in src/rad_lab/range_equation.py
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | |
noise_power(B, F, T)
Calculate the thermal noise power of the receiver.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
B
|
float
|
Receiver bandwidth [Hz] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Noise power [W] |
Source code in src/rad_lab/range_equation.py
54 55 56 57 58 59 60 61 62 63 64 65 66 | |
signal_range_eqn(Pt, Gt, Gr, sigma, wavelength, R, L)
Calculate the received signal power for a radar system.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
R
|
float
|
Range to the target [m] |
required |
L
|
float
|
System losses [unitless] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Received signal power [W] |
Source code in src/rad_lab/range_equation.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
signal_range_eqn_one_way(Pt, Gt, Gr, wavelength, R, L)
Calculate the received power for a one-way communication link (Friis equation).
Models a transmitter and receiver with no target reflection — e.g. an EA platform retransmitting a stored pulse directly to the radar receiver.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
R
|
float
|
Range between transmitter and receiver [m] |
required |
L
|
float
|
System losses [unitless] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Received power [W] |
Source code in src/rad_lab/range_equation.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
snr_range_eqn(Pt, Gt, Gr, sigma, wavelength, R, B, F, L, T, time_bandwidth_prod)
Calculate the single-pulse Signal-to-Noise Ratio (SNR) for a pulse with pulse compression. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
R
|
float
|
Range to the target [m] |
required |
B
|
float
|
Receiver bandwidth [Hz] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
time_bandwidth_prod
|
float
|
Pulse compression ratio (time-bandwidth product) [unitless] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Signal-to-Noise Ratio [unitless] |
Source code in src/rad_lab/range_equation.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
snr_range_eqn_bpsk_cp(Pt, Gt, Gr, sigma, wavelength, R, B, F, L, T, n_p, n_c)
Calculate the Signal-to-Noise Ratio (SNR) for Binary Phase Shift Keying (BPSK) pulses after coherent processing. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
R
|
float
|
Range to the target [m] |
required |
B
|
float
|
Receiver bandwidth [Hz] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
n_p
|
float
|
Number of pulses coherently integrated [unitless] |
required |
n_c
|
float
|
Number of binary chips per pulse [unitless] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Integrated Signal-to-Noise Ratio [unitless] |
Source code in src/rad_lab/range_equation.py
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | |
snr_range_eqn_cp(Pt, Gt, Gr, sigma, wavelength, R, B, F, L, T, n_p, time_bandwidth_prod)
Calculate the Signal-to-Noise Ratio (SNR) after coherent processing of multiple pulses. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
R
|
float
|
Range to the target [m] |
required |
B
|
float
|
Receiver bandwidth [Hz] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
n_p
|
float
|
Number of pulses coherently integrated [unitless] |
required |
time_bandwidth_prod
|
float
|
Pulse compression ratio [unitless] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Integrated Signal-to-Noise Ratio [unitless] |
Source code in src/rad_lab/range_equation.py
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | |
snr_range_eqn_duty_factor_pulses(Pt, Gt, Gr, sigma, wavelength, R, F, L, T, Tcpi, tau_df)
Calculate the Signal-to-Noise Ratio (SNR) using the duty factor and coherent processing interval. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Peak transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
R
|
float
|
Range to the target [m] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
Tcpi
|
float
|
Total coherent processing interval (CPI) duration [s] |
required |
tau_df
|
float
|
Radar duty factor [0 to 1] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Integrated Signal-to-Noise Ratio [unitless] |
Source code in src/rad_lab/range_equation.py
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | |
snr_range_eqn_uncoded(Pt, Gt, Gr, sigma, wavelength, R, B, F, L, T)
Calculate the single-pulse Signal-to-Noise Ratio (SNR) for an uncoded pulse. All gain and loss factors must be in linear (unitless) form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Pt
|
float
|
Transmit power [W] |
required |
Gt
|
float
|
Transmit antenna gain [unitless] |
required |
Gr
|
float
|
Receive antenna gain [unitless] |
required |
sigma
|
float
|
Radar cross section [m^2] |
required |
wavelength
|
float
|
Wavelength of the carrier signal [m] |
required |
R
|
float
|
Range to the target [m] |
required |
B
|
float
|
Receiver bandwidth [Hz] |
required |
F
|
float
|
Receiver noise factor [unitless] |
required |
L
|
float
|
System losses [unitless] |
required |
T
|
float
|
System noise temperature [Kelvin] |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Signal-to-Noise Ratio [unitless] |
Source code in src/rad_lab/range_equation.py
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |