Changes between Version 71 and Version 72 of Other/Summer/2024/signal


Ignore:
Timestamp:
Aug 6, 2024, 10:02:35 PM (4 months ago)
Author:
wesleychen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Other/Summer/2024/signal

    v71 v72  
    5353[[Image(Screen Shot 2024-08-06 at 3.01.51 PM.png, 400px)]]
    5454
     55----
     56
    5557**Complex Signals**
    5658
     
    6567
    6668The complex signal representation also leads to something known as IQ plots, shown above. This is simply a plot of all points (I(t), Q(t)), placing I(t) on the horizontal/real axis and Q(t) on the vertical/imaginary axis. This graph can also be created by observing the 3 dimensional graph from the front face.
     69
     70----
    6771
    6872**Modulation**
     
    8084Example of a sine wave modulated by a square wave (right). The square wave (middle) switches between 1 and -1 causing the sine wave (left) the flip over and over again.
    8185
     86----
     87
    8288**BPSK**
    8389
     
    8894A BPSK signal has been received, on the top is frequency domain of the signal and on the bottom, the message "hiii".
    8995
     96----
     97
    9098**OFDM**
    9199
     
    93101
    94102[[Image(Screen Shot 2024-08-06 at 3.20.03 PM.png, 400px)]]
     103
     104----
    95105
    96106**Synchronization**
     
    107117[[Image(Screen Shot 2024-08-06 at 5.44.33 PM.png​, 400px)]]
    108118
     119The solution to this is to add something known as a barker code to the beginning of our signal. This is a special code that is "random," but both receiver and transmitter know what it is. So, at the transmitter, we compare the barker code to every timestamp in the signal and see which timestamps match the closest. We then know that the barker code occurred at those locations. Knowing one barker code can tell us where the signal starts. Knowing two can tell us the frequency offset based on the time difference between the two.
     120
     121[[Image()]]
     122
     123In reality this is done using a mathematical tool called correlation which compares multiplies the two signals at every time point (you can imagine the shorter barker code scrolling across the longer signal) and takes the integral/area under curve. After correlating with both I and Q, the result of each is squared and added together. The final correlation is shown below
     124
     125[[Image()]]
     126
     127After finding the frequency offset and phase, we can multiply each IQ sample by some exponential e^(-''i''<delta>) where <delta> stands in for the error / angle offset of that sample. When multiplying numbers in the complex plane, the angle of the two are added allowing us to easily correct every sample. Now we see why complex numbers are useful. The corrected IQ samples are shown below.
     128
     129[[Image()]]
     130
    109131== Architecture
    110132