The transform is 1:1, so any signal has essentially two forms.
The bandwidth of an analog signal is the range of frequencies
present.
Sending digital data.
You can data faster by using more levels.
Using n levels, you can send log2n bits at a time.
Why can't we just use 10000 levels and just rush it through?
Must be far enough apart for the receiver to tell which.
In practice, you can only have a few levels.
You can send data faster by holding each symbol a shorter time.
So why can't we just hold each one for a ns and rush it through?
Must stay long enough for the receiver to notice.
The maximum rate at which the changes can be detected is called
the baud rate.
For n levels over a digital channel with baud rate b, the
data rate d, in bits per second is:
d=b⌊log2n⌋
Of course, the endpoints must agree on the number and assignment
of levels, bit time, and many other details.
Line Coding. How to represent the bits in the signal.
Common to assign bits to changes rather than levels.
Faster to detect.
Manchester encoding.
Bits are recognized in the middle of a bit period.
Upward transition is 1
Downward transition is a 0.
To send repeats, an extra transition is performed to get ready.
Differential Manchester
Bits are still recognized in the middle of a bit period.
A transition in the opposite direction from the last is a 1.
A transition in the same direction from the last is a 0.
Extras are needed to send zeros.
NRZ-I. The signal changes for one bits and stays the same for zero.
Changes tell the receiver when the sender thinks bit periods start
and end. NRZ-I needs some extra synchronization mechanism if it
must send a long run of zeros.
Digitizing analog sources.
Periodically sample (measure) the value of the analog signal.
Result is a series of measurements.
Sometimes take multiple measurements (three say), and report
the mean of each. Reduces transient distortions.
“Pulse-Code Modulation”: Report the measurements.
“Delta Modulation”: Report the first measurement, then differences.
Differences are smaller, use less space.
Suffers more from transmission errors.
Sampling
Larger sample size is more accurate, but generates more data.
More frequent sampling is more accurate, but generates more data.
Nyquist Theorem: Sample at twice the highest frequency you
wish to retain: two samples for each wave.
Follows from the fact that the signal is the sum of sine
waves.
If you have y=Asin(2πft), two points
within the same cycle determine f and A.