|
Algorithm 1. Signal processing for obtaining the mean signal and RF power. |
|
Input: Spread factor SF; bandwidth BW; sampling rate fs; the number of symbols in each frame Nsym; receiver impedance Z; number of frames FrameNumbers. |
|
Output: histograms of the average chirp’s signal as a power signal. |
| Initialization: SF = 7, BW = 125 [Hz], fs = 5 [SPS], Nsym = 12.25 (C3), FrameNumbers = 100 and Z = 50 [Ω]. |
where SF is the spread factor and BW is the bandwidth in Hertz. where Nsym is the number of symbols in each frame and Tsym is the symbol duration in seconds. where fs is the sample rate in samples per second and TA is the time on air in seconds.
|
-
(2)
Convert the captured I, Q signal from binary to complex:
|
-
(3)
Detect the start of each frame. Convolution is applied to the I, Q signal using the number of samples from (6) as follows:
|
-
(4)
Search the local maximum (peaks) to discard the frames with a considerable attenuation:
-
(5)
Select an empirical threshold (on the peaks) to identify the start of each frame:
The threshold parameter for each distance and height was obtained empirically so that the noise did not significantly affect the analyzed signal. These values are shown in Table 3.
for
end FrameVectorMatrixNS[FrameNumbers]←FrameVector.
-
(8)
Determine the signal power histograms of the mean frame:
-
(9)
Compute the RF power of the mean frame:
|