connectorAntenna
Information
Antenna of a radio module of Peripherals.Radio. Two modules (or more) that can hear each other are joined by one wire, antenna to antenna — the air between them. It is not an electrical connection: the wire carries the masked quantities of the radio link.
Each pair (potential, flow) works as a node where every module transmitting pulls the potential towards its own value with a unit conductance, the others with a negligible one: the potential is therefore the mean over the transmitting modules. With one transmitter, it is exactly its value (signal, bit, frequency, modulation, identifier); with none, it is zero; with two at once, the mean of the squared identifiers (idSq) no longer equals the square of their mean (id) — their variance is no longer zero — and the receivers detect the collision. A module whose antenna is connected to nothing simply transmits into the void.
The flow variables are internal to this mechanism: there is nothing to read in them.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | s | Modulated signal on the air (normalised, amplitude 1): mean of the signals of the modules transmitting, 0 when none transmits | |
| Real | iS | Contribution of a module to s (internal) | |
| Real | bit | Masked baseband level: mean of the bits (0 or 1) of the modules transmitting | |
| Real | iBit | Contribution of a module to bit (internal) | |
| Modelica.Units.SI.Frequency | f | Nominal carrier frequency: mean over the modules transmitting | |
| Real | iF | Contribution of a module to f (internal) | |
| Real | modulation | Modulation (Interfaces.Modulation, as an integer): mean over the modules transmitting | |
| Real | iModulation | Contribution of a module to modulation (internal) | |
| Real | id | Identifier of the transmitter (1, 2, 3... one per module): mean over the modules transmitting | |
| Real | iId | Contribution of a module to id (internal) | |
| Real | idSq | Square of the identifier: mean over the modules transmitting - equal to id^2 only when exactly one module transmits | |
| Real | iIdSq | Contribution of a module to idSq (internal) |