DC Module 3
DC Module 3
We can tweet anything in seconds and that is worldwide available to read. the
beautiful or funny posts you have uploaded on social media and the comments of
your friends, that late chats and video calls with your friends and family, this blog that
you are reading, that all are possible because of digitalization in communication
system.We are going to see what the science behind this very speedy communication
system is. Firstly, we are going to see the technology and main devices required in it.
Transducer: The diagram starts with the sender, which transmits the data and
receiver receives the information at the end. so, the data can be audio, video, image,
text or any other type. Now, this information may be analog or may be digital. If the
information signal is in an electric signal then it is okay. But, if the information is not in
the electrical signal form, (for example audio, video, image or text) then we need to
convert them into an electric signal. However, the transducer converts the
non-electric signal into an electric signal. So, after the first block the information is
in the form of an electrical signal.
Antennas: Antennas are widely used in the field of digital communication. They
receive an electromagnetic wave and convert it into an electric signal or receive an
electric signal and convert it into an electromagnetic wave.
RECEIVER:
Digital Demodulator and Antenna: By its name that it will demodulate the signal
that is received by the receiver antenna. And again convert the high frequency analog
signal to digital signal.
Source Decoding: Source decoder will convert the digital signal into the analog
signal. And that will again be converted into an information signal by the speaker,
television or any other device.
Advantages and Disadvantages of the digital communication system
Advantages:
Disadvantages:
Serial Ports
Serial Ports provide an interface to connect serial lines to prepare a serial
communication. Serial ports are typically used in modem, mouse, security cameras
etc. A Serial port uses DB-9 connector, a 9 pin D-Shaped Connector which connects
to the transmission line. A serial port provides a serial communication using one line
and thus has no dependency on other wire's speed and its length can be extended as
per the need.
Parallel Ports
Parallel ports provide an interface to connect multiple lines to prepare a parallel
communication to send large data at a time. Parallel ports are used in connecting
printers, hard-drives, CD-drives etc. All lines speed should be the same to avoid error
and cross-talk issues. To avoid such issues, the wires are kept small in length. A
parallel port uses a D-25 connector, a 25 pin D-Shaped connector which connects to
the transmission wires.
Following are the important differences between Serial Ports and Parallel Ports.
Data Sending A serial port sends data bit A parallel port sends data by
6 Mechanism by bit after sending a bit at sending multiple bits in parallel
a time. fashion.
Port Type A serial port uses Male A parallel port uses Female
7
ports. ports.
The tendency today is to change an analog signal to digital data. The following
techniques can be used for Analog to Digital Conversion:
The most common technique to change an analog signal to digital data (digitization)
is called pulse code modulation (PCM). A PCM encoder has the following three
processes:
(i) Ideal Sampling: In ideal Sampling also known as Instantaneous sampling pulses
from the analog signal are sampled. This is an ideal sampling method and cannot be
easily implemented.
● We assume that the signal has amplitudes between Vmax and Vmin
● We divide the range into L zones each of height d where, d= (Vmax- Vmin)/ L.
Eg: assume that we have a sampled signal and the sample amplitudes are
between -20V and +20V. We decide to have eight levels(L=8).
therefore , d= 20 -(-20) /8 =5V
● We assign quantized values of 0 to (L-1) to the midpoint of each zone.
● The value at the top of each sample in the graph shows the actual amplitude.
● The first row is the normalized pulse amplitude modulation(PAM) value for
each sample.The normalized value is calculated using the formula (actual
amplitude/d)
● After this we calculate the quantized value which the process selects from the
middle of each zone.
● The Quantized error is given by the difference between quantised value and
normalised PAM value.
● The Quantization code for each sample based on quantization levels at the left
of the graph.
Quantization level: The choice of L, the number of levels, depends on the range of
the amplitude of the signal and how accurately we need to recover the signal. [If the
amplitude of a signal fluctuates between two values only, we need two levels. In audio
digitizing, L is chosen to 256. In the video it is 1000.] Choosing lower values of L
increases the quantization error.
Encoding – The digitization of the analog signal is done by the encoder. After each
sample is quantized and the number of bits per sample is decided, each sample can
be changed to an n bit code. Encoding also minimizes the bandwidth used.
The number of bits for each sample is determined from the number of quantization
levels. If the number of quantization levels is L , the number of bits is nb = log2 L. The
bit rate can be found from the formula
Bit rate = sampling rate x number of bits per sample
= fs x nb
PCM is a very complex technique. Other techniques have been developed to reduce
the complexity of PCM. The simplest is delta modulation. Delta Modulation finds the
change from the previous value.
Modulator – The modulator is used at the sender site to create a stream of bits from
an analog signal. The process records a small positive change called delta(σ). If the
delta is positive, the process records a 1; if it is negative, the process records a 0.
The modulator builds a second signal that resembles a staircase. The input signal is
then compared with this gradually made staircase signal.
We have the following rules for output:
● At each sampling interval, compare the value of the analog signal with the last
value of the staircase signal.
● If the input analog signal is higher than the last value of the staircase signal,
increase delta by 1, and the bit in the digital data is 1.
● If the input analog signal is lower than the last value of the staircase signal,
decrease delta by 1, and the bit in the digital data is 0.
Demodulator- The demodulator takes the digital data and using the staircase maker
and the delay unit , creates the analog signal.
Data is transferred in the form of bits between two or more digital devices. There are two
methods used to transmit data between digital devices: Parallel transmission and Serial
transmission.
Parallel Transmission:
In Parallel Transmission, many bits flow together simultaneously from one computer to
another computer. When data is sent using parallel transmission, multiple data bits are
transmitted over multiple channels at the same time. Parallel Transmission is faster than
serial transmission to transmit the bits.
The main advantages of parallel transmission are it is easier to program and data sent fast.
Disadvantage is cost: it requires n communication lines just to transmit the data stream and
it is usually limited to short distances.
Parallel Transmission is used when a large amount of data is sent, the data being sent is
time sensitive and the data needs to be sent quickly.
Serial Transmission:
In Serial Transmission, one bit flows another, so we need only one communication channel.
When data is sent or received using serial data transmission, the data bits are organised in
a specific order,since they can only be sent one after another. The order of the data bit is
important. It is a reliable data transmission method because a data bit is only sent if the
previous data bit has already been received. In this transmission, one bit flows at one clock
pulse.
Serial transmission is normally used for long distance data transfer. It is used in cases
where the amount of data being sent is relatively small.
The advantage of serial over parallel transmission is that with only one communication
channel, it reduces the cost of transmission.
In synchronous transmission, the bit stream is combined into longer frames,which may
contain multiple bytes. We send bits one after another without start or stop bits or gaps. It is
the responsibility of the receiver to group the bits. Ie, Data bits are transmitted as a
continuous stream in the time master clock. The data transmitter and receiver both operate
using a synchronized clock frequency.
The above figure gives the schematic illustration of synchronous transmission. We have
drawn in the division between bytes. In reality, that division does not exist;the sender puts its
data into the line as one long string.
Without gaps and start and stop bits,there is no built-in mechanism to help the receiving
device adjust its bits. Timing becomes very important, therefore, because the accuracy of
the received information is completely dependent on the ability of the receiving device to
keep an accurate count of the bits as they come in.
The advantages of synchronous transmission is speed.