Rapport Sur Le RTL-SDR
Rapport Sur Le RTL-SDR
Ce qui se passe : L'antenne capte les ondes radio analogiques présentes dans
l’environnement.
Ce qui se passe : Amplifie les signaux faibles avec peu de bruit ajouté.
FM radio stations (like 95.5 FM) transmit audio using frequency modulation.
But there's more than just audio in an FM signal — there are extra signals hidden inside.
When we look at the Power Spectral Density (PSD) after FM demodulation, we see:
🧾 RDS Focus
Where is it placed?
The BPSK signal is centered at 57 kHz, added to the FM signal before transmission.
Then the entire FM signal (audio + RDS + others) is FM modulated and broadcast.
cyclic redundancy check (CRC)
5. Decimation:
o Reduce the sample rate by 10, since we only need the lower-frequency part of the signal
after filtering you only keep samples at the rhythm of the beat — you don’t need the
extra ones anymore, because the melody is already slow and smooth
o take only each 10 element
o
6. Resample to 19 kHz:
o Resample the signal so that we have an integer number of samples per symbol, making it
easier to process. Up and down
o resample_poly ()
o now your signal is no longer sampled at 25 kHz. It’s now 19 kHz! So need to change the sample
rate
7. Time Synchronization:
Use a Mueller and Muller method for symbol-level synchronization, aligning the data stream
correctly.
"Adjust the timing of our sampling so we always grab the signal right at the middle of each
symbol."
How it works mu :In the algorithm, mu is updated with each iteration, allowing the
synchronization process to track the exact position within each symbol.
For instance:
8. Frequency Synchronization:
o Use a Costas loop for fine frequency synchronization, ensuring the signal’s frequency is
correctly adjusted.
o The Costas loop adjusts the frequency of the receiver's local oscillator (LO) to correct any frequency
offset in the received signal.The
o Costas loop is used to correct small frequency and phase errors in a received signal. When a signal is
received, it may have a frequency offset, causing the constellation (a plot of the signal) to spin. The
Costas loop helps sync the signal by adjusting the receiver's local oscillator until the signal’s
frequency and phase match the original one. This stops the spinning and ensures the signal can be
decoded correctly. The process is important for accurate data reception, especially in noisy
environments.
9. BPSK Demodulation:
o Decode the BPSK signal back into the binary 1's and 0's.
o You use the real part of the complex signal (np.real(x)).
o Then, you check whether the real part is greater than 0 (indicating a binary '1') or less
than 0 (indicating a binary '0').
o The astype(int) converts the result from boolean (True/False) to integers (1/0).
o
10. Differential Decoding:
Undo the differential encoding applied during transmission (which encoded the data as changes
between bits), if change then 1 if not then 0 between two bits.
This eliminates the need to worry about phase shifts (such as 180-degree rotations) because the change in
the data is what's important.
bits = (bits[1:] - bits[0:-1]) % 2
bits = bits.astype(np.uint8)
Group the 1’s and 0’s into 8-bit bytes (since each RDS data unit is 8 bytes, or 64 bits).
12. Parse the Data:
Finally, the decoded bytes are parsed into readable output like station name, song title, and other
data
In digital signal processing (DSP), the sample rate refers to how frequently we sample a continuous signal
to convert it into a digital signal.
For example, if you are sampling a continuous waveform, the sample rate tells you how many times
per second you capture a data point.
For BPSK signals, where you transmit discrete symbols (either +1 or -1), sample rate defines how
many discrete samples you take per symbol to represent that signal digitally.
What is AIS?
AIS is used by ships to broadcast information like position, heading, and speed. It uses: