deckle studio
Open the editor
Behavioural mixed-signal modelrf_environment

Radio environment

How radio waves travel between the boards in the World: free space (Friis), a ground reflection (two rays, the far-away loss grows with the 4th power of distance) or indoors (log-distance exponent). Optional fading and shadowing, seeded so a run can be repeated. Applies to every far-field radio of the document (SX1280, Wi-Fi). Without this part the World is free space.

Radio environment
Schematic symbol

Key data

Category
Radio
Simulation model
Behavioural mixed-signal model
Reference prefix
ENV
Pins
0

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
rf_environment
Supply pins
/

Pins 0

PinNameUse

Parameters 9

Propagationmodel
DefaultFree space
Free spaceGround reflection (two-ray)Indoor (log-distance)
Path loss exponent (indoor)n
Default3

2 = free space, 3 = office (ITU-R P.1238), 4–6 = through walls

World floor above the groundfloor
Default0 m

Two-ray model: the ground that reflects lies this far below the World floor (e.g. 1 m for a table). Low antennas lose a lot of range.

Ground permittivity εreps
Default15

Medium dry ground ≈ 15, wet ground ≈ 30, sea water ≈ 70

Ground conductivitysigma
Default0.005 S/m
Fadingfading
DefaultNone
NoneRicianRayleigh
Rician K-factorK
Default6 dB

Power of the direct path over the scattered paths. Open field 10 dB or more, indoors 0–6 dB.

Shadowing σshadow
Default0 dB

Slow, log-normal variation from obstacles; indoors 3–6 dB

Seedseed
Default1

PCB

No land pattern: the part is not placed on the board.