Spread Spectrum Modulation and Demodulation

  Переглядів 7,691

All Electronics Channel

All Electronics Channel

2 роки тому

An explanation about DSSS Spread Spectrum Modulation and Demodulation.
In this video, Gregory explains the full topology of a Spread Spectrum demodulator, showing how the bitstream is recovered, how the code sequence is acquired, synchronized and carrier phase/offset is compensated.
Spread Spectrum modulation spreads the data signal in a larger bandwidth, using a PRBS sequence, with statistical noise like characteristics.
The process of demodulation needs precise synchronization of the local code sequence. The code phase is first acquired, in the acquisition step, and then tracked, aligning the local PRBS/LFSR using an early/late correlation topology.
Carrier phase/offset is compensated using phasor rotation in a Costas Loop like topology. The carrier phase/offset NCO is controlled by a PI Controller fed from an error detector, that forces corrections to align the constellation to the correct position.
The continuous recovered bitstream/IQ constellation can now be sampled, to determine the data symbol. A NCO running at the baudrate and a Gardner Time Error Detector in conjunction with a PI controller corrects the sampling interval/point.
Support the channel, become a Patron!
/ allelectronics
Learn about FSK Modulation and Demodulation:
• FSK Modulation and Dem...
A related video about Clock Recovery PLL:
• Clock Recovery and Syn...
Learn how a Costas Loop demodulator works for PSK modulations:
• Costas Loop Demodulator
Article about how DFT works:
gusbertianalog.com/understand...
00:20 - Introduction
02:20 - Modulation details
03:30 - Theoretical Spread Spectrum receiver
05:38 - Real quadrature demodulator
06:20 - DSSS signal waveforms
08:28 - Code Acquisition
11:14 - How the correlator works
12:30 - Code Tracking
15:20 - Simulations
19:15 - Carrier phase/offset compensation
21:45 - Time recovery/synchronization
Subscribe to receive more videos.

КОМЕНТАРІ: 37
@AllElectronicsChannel
@AllElectronicsChannel 2 роки тому
Support the channel becoming a Patron: patreon.com/allelectronics
@dominikgs
@dominikgs 2 роки тому
Very nice explanation! Especially the recovery of the phases which is often left out on literature. Thanks for explaining the concept of phase recovery 👍 Perhaps you should make another video orthogonality of the spreading sequences. Multiplexing in Frequency only works if your spreading codes are orthogonal to each other. In the end it is the same principle of mixing one signal with sine and one with cosine of the same frequency. The signals can only be recovered out of the sumsignal because sine and cosine are orthogonal to each other. Nevertheless a brilliant video 👍👍👍 Learned something.
@AllElectronicsChannel
@AllElectronicsChannel 2 роки тому
Thanks!! A video about orthogonality and how the LFSR works is a good idea!
@camodude9224
@camodude9224 Рік тому
I've always wondered how correlation worked in DSSS, with your great explanation I now know how they work...a major thank you. Now its on to the Costas Loop.🙂
@AllElectronicsChannel
@AllElectronicsChannel Рік тому
Thank you!!
@laurentcadet6523
@laurentcadet6523 2 роки тому
Your videos are mindblowing !!! The way you explain things is absolutely marvelous !! Moreover, I would like to know in which case the SSM is used, based on its complexity, it should be somewhat interesting (or it would not exists....). But why is it used ? If the PRBS signal is acting like a noise, what happens if you add real white noise on top of it ? will it be still recoverable ?
@AllElectronicsChannel
@AllElectronicsChannel 2 роки тому
Thanks!! The spread Spectrum modulation has some magical aspects. Think with me: what happens if we have an interfering signal close to our signal? The process of despreading in the receiver will transform this signal into noise!!! And our desired signal will come from noise and appear clear! So, non linear distortion, IP3, spurious, all affect the receiver equal no thermal noise! Over all that, we can have multiple transmitter with different code sequences, transmitting at the same frequency. The receiver will despread only the signal of interest. GPS uses spread Spectrum. All satelites transmits at the same frequency, each one with a different code! And it even more fun, it connects to multiple satellites using paralel receivers, despreading each one with the correct code. The phase different of the codes relative to each other is the difference distance between you and the satelites!! This is what is used to decode your position!
@laurentcadet6523
@laurentcadet6523 2 роки тому
@@AllElectronicsChannel very interesting ! Thank you for your reply ! And I like this format, don't change it (simulation and signal path explanation) !!!
@BalticLab
@BalticLab 2 роки тому
Great video, Gregory!
@AllElectronicsChannel
@AllElectronicsChannel 2 роки тому
Let's thing in a topic to make a colab! 😄😄 I follow you since your beginning
@BalticLab
@BalticLab 2 роки тому
@@AllElectronicsChannel I sent you an eMail ;)
@CallistoPili
@CallistoPili Рік тому
fantastic explanation, well done. I always loved to understand this such topics in deep. Even if I studied this stuff I've never find the way to use as practical daily basis. I want to make from scratch one on these intricated spread spectrum systems!!!!
@AllElectronicsChannel
@AllElectronicsChannel Рік тому
Excellent!
@spawnofdawnacle
@spawnofdawnacle 2 роки тому
always an education. hope everything is going great for you.
@AllElectronicsChannel
@AllElectronicsChannel 2 роки тому
Thanks Ted!
@Confucij
@Confucij 6 днів тому
Great video! Unfortunately for me, I'm still missing the point at which the spreading sequence applies. Will it matter if we apply the spreading sequence to the data stream - as what was shown on a slide at 6:26 - first and then mix it with the carrier or we should first get the modulated data stream signal and then apply the spreading sequence? As I see it it should produce the same result, shouldn't it?
@AllElectronicsChannel
@AllElectronicsChannel 4 дні тому
Yes, absolutely!
@southpark4151
@southpark4151 Місяць тому
Nice vid! The incoming pn sequence in the spread spectrum signal is running at chip rate. For your correlation procedure with the local pn sequence, what sampling frequency do you use? eg. 10 times the chip rate? Thanks!!
@AllElectronicsChannel
@AllElectronicsChannel Місяць тому
Hey! For this example, I don't remember. I think anything higher than 5x should work fine. Probably the first systems used 2x...
@southpark4151
@southpark4151 Місяць тому
@@AllElectronicsChannel Thanks very much for your reply, and for mentioning higher than 5X should work. Best regards.
@Mr_ASIC
@Mr_ASIC Рік тому
thank you very much
@AllElectronicsChannel
@AllElectronicsChannel Рік тому
🤓🤓🤓
@varjagg
@varjagg 5 місяців тому
Thanks for the educating video. What's the advantage of re-mixing a BPSK with spreading sequence instead of doing that earlier in digital domain?
@AllElectronicsChannel
@AllElectronicsChannel 5 місяців тому
Today all the topology is commonly implemented in the digital domain! I have a video where I design a DSSS beacon, take a look. All the steps are done inside the AVR uC.
@varjagg
@varjagg 5 місяців тому
@@AllElectronicsChannel Fantastic, thanks!
@Sebas_Cba_82
@Sebas_Cba_82 2 роки тому
Excelente explicación, (debo traducirlo), sobre temas poco difundidos. Que libro recomienda que hable de estos temas? Ya que algunos son muy generales como el de Wayne Tomassi. Saludos desde Córdoba, Argentina
@AllElectronicsChannel
@AllElectronicsChannel 2 роки тому
Thank you!
@mjs825
@mjs825 Рік тому
Let's assume that the receiver PRBS generator is not the same as the transmitter's, how would you change the receiver's PRBS in real time?
@AllElectronicsChannel
@AllElectronicsChannel Рік тому
You only need to change the PRBS generator. If it is a table you change it, if it is a LFSR you change the taps
@user-vm4jn7oy2i
@user-vm4jn7oy2i 7 місяців тому
I have subscribed, but did not find simulation files. Explanation is very good but have the simulation files would make this great.
@AllElectronicsChannel
@AllElectronicsChannel 7 місяців тому
Hi man, I attached in the post about this video on Patreon. Did you search there ?
@user-vm4jn7oy2i
@user-vm4jn7oy2i 7 місяців тому
Yes, I subscribed and searched that area. I could not locate the video posted here or simulation files. @@AllElectronicsChannel
@AllElectronicsChannel
@AllElectronicsChannel 7 місяців тому
Send a message to me on Patron
@user-vm4jn7oy2i
@user-vm4jn7oy2i 7 місяців тому
The message interface does not appear to be active on Patreon. Maybe a firewall issue on my end.(??) @@AllElectronicsChannel
@AllElectronicsChannel
@AllElectronicsChannel 7 місяців тому
I replied there 🙂
@mancio92M
@mancio92M 2 роки тому
what are the advantages in a spread spectrum system?
@AllElectronicsChannel
@AllElectronicsChannel 2 роки тому
The spread Spectrum modulation has some magical aspects. Think with me: what happens if we have an interfering signal close to our signal? The process of despreading in the receiver will transform this signal into noise!!! And our desired signal will come from noise and appear clear! So, non linear distortion, IP3, spurious, all affect the receiver equal no thermal noise! Over all that, we can have multiple transmitter with different code sequences, transmitting at the same frequency. The receiver will despread only the signal of interest. GPS uses spread Spectrum. All satelites transmits at the same frequency, each one with a different code! And it even more fun, it connects to multiple satellites using paralel receivers, despreading each one with the correct code. The phase different of the codes relative to each other is the difference distance between you and the satelites!! This is what is used to decode your position!
How LoRa Modulation really works - long range communication using chirps
27:38
FSK Modulation and Demodulation
21:25
All Electronics Channel
Переглядів 9 тис.
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Переглядів 400 тис.
Quadrature Mixers, IQ Demodulation, and the Tayloe Detector
34:09
devttys0
Переглядів 152 тис.
Costas Loop Demodulator
15:22
All Electronics Channel
Переглядів 6 тис.
DSSS - Direct Sequence Spread Spectrum
6:41
Sunny Classroom
Переглядів 138 тис.
LoRa CHIRP
3:51
Richard Wenner
Переглядів 89 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 13 тис.
The simplest BPSK DSSS Radio Beacon with SDR demodulation
21:28
All Electronics Channel
Переглядів 4,5 тис.
How does an Antenna work? | ICT #4
8:02
Lesics
Переглядів 7 млн
ЭТО САМЫЙ МОЩНЫЙ ИГРОВОЙ СМАРТФОН ЗА 270$ 🔥
13:33
Thebox - о технике и гаджетах
Переглядів 18 тис.
Как часто вы чистите свой телефон
0:33
KINO KAIF
Переглядів 274 тис.
Самый маленький игровой ПК
0:46
ITMania - Сборка ПК
Переглядів 149 тис.
How to get a message from a developer? #standoff #system #scam
0:53
Standoff 2 Live
Переглядів 506 тис.