DCS Doc
DCS Doc
Aim: The aim of this question is to describe briefly about information, information theory,
entropy of the information and demonstrate it using an example.
Theory:
Information theory is based on probability theory and statistics. Information theory often
concerns itself with measures of information of the distributions associated with random
variables. Important quantities of information are entropy and mutual information.
Let there be any source with i number of symbols, S = {x 1, x2, x3,,xn}. Then the information of
the source would be, I(xi) = -logb P(xi) (i)
H= pi log 2 ( pi )
single random variable. It is calculated as, i
.. (ii)
This equation gives the entropy in the units of "bits" (per symbol) because it uses a logarithm of
base 2, and this base-2 measure of entropy has sometimes been called the "Shannon" in his
honor.
For example, we consider a string 10101. The alphabet of symbols in the string is 0 and 1.
Frequencies of alphabet symbols:
0 = 0.4 1 = 0.6
Aim: The aim of this question is to describe the channel models along with
their capacities with the help of diagrams for better understanding of the
concept.
Theory:
Channel capacity: The transfer capability of a channel to transmit information
in the presence of noise is known as channel capacity. It can be formulated as
S
( )
follows: C=B log 2 1+ N b / s (iii)
Lossless channel:
Deterministic channel:
Fig2. Channel diagram and channel matrix of a deterministic channel
For a deterministic channel, H(Y|X) = 0 and I(X;Y) = H(Y)
So, Cs = max H(Y) = log2 n; where n = number of symbols in Y.
Noiseless channel:
Fig3. Channel diagram and channel matrix of a noiseless channel
Since a noiseless channel is both lossless and deterministic, I(X|Y) = H(X) =
H(Y). So Cs = log2 m = log2 n
Theory:
1. Facilitates multiple access: By translating the baseband spectrum of signals from various
users to different frequency bands, multiple users can be accommodated within a band of
the electromagnetic spectrum.
2. Increase the range of communication: Low frequency baseband signals suffer from
attenuation and hence cannot be transmitted over long distances. So translation to a
higher frequency band results in long distance transmission.
3. Reduction antenna size: The antenna height and aperture is inversely proportional to the
radiated signal frequency and hence high frequency signal radiation result in smaller
antenna size.
The difference between the analog and digital modulation techniques are
given below:
Table1. Difference between analog and digital modulation techniques
Aim: The aim of this question is to describe the channel coding theory and its
various types. The methods should be elaborated using algorithms and also it
is required to describe the algorithms along with examples to demonstrate the
coding methods.
Theory: Coding theory is the study of the properties of codes and their fitness
for a specific application. Codes are used for data compression, cryptography,
error-correction and more recently also for network coding. This typically
involves the removal of redundancy and the correction (or detection) of errors
in the transmitted data. There are mainly two types of coding:
1. Shannon-Fano Coding
2. Huffman Coding
3.
7.
8. Fig4. Shannon Fano Coding method
1. We build this tree from bottom. We arrange the probabilities in descending order.
2. Now we create a leaf node for each unique character and build a min heap of all leaf nodes.
3. Then we extract two nodes with the minimum frequency from the min heap. We then create
a new internal node with frequency equal to the sum of the two nodes frequencies.
4. We make the first extracted node as its left child and the other extracted node as its right
child and add this node to the min heap.
5. We then repeat steps 2 and 3 until the heap contains only one node. Then we have the codes
corresponding each symbol.
11.
45. The adjustment in code size from the Shannon-Fano to the Huffman encoding scheme
results in an increase of 7 bits to encode B, but a saving of 14 bits when coding the A
symbol, for a net savings of 7 bits.
46. In general, Shannon-Fano and Huffman coding will always be similar in size. However,
Huffman coding will always at least equal the efficiency of the Shannon-Fano method, and
thus has become the preferred coding method of its type.
e. Explain the applications where digital modulation techniques are used with the help of
diagram.
47. Aim: The aim of this question is to mention various applications of digital modulation
techniques with the help of their diagrams for better understanding of the concept.
48. Voice grade modems: In order to convert the digital data into an analog signal which is
compatible to the telephone line, some sort of modulation is needed.
BFSK is referred for modems where simplicity and economy are of more importance.
DPSK is used for a rate of 2400bits per second (4 phase DPSK) and 4800 bit per second (8
phase DPSK). One disadvantage is that it is susceptible to phase jitter problem.
Phase jitter problems are solved using 16-QAM. The bit rate is extended up to 9600 bits per
second.
49.
51. Digital radio: The radio transmission is known as analog transmission. It can either be Am
or FM. In digital radio the information obtained from a source is transmitted to the receiver
by using some kind of modulation technique. The microwave links are used for
communication and line of sight path propagation is used. It is described using the figure
below:
52.
54. Digital communication by satellite: The broadcast capability of a satellite channel can be
exploited by using multiple access techniques. One of the most common and well known is
the CDMA technology which is used in mobile phones. The TDMA is used for enabling to
access a satellite in different time slots which is described using the figure below:
(Sanjay Sharma, 2015)
55.
57. CONCLUSION:
58. This question was designed to describe the basic concepts of digital communication system
using various theories such as information, information theory, various channel models and
their capacities, entropy of the information, modulation techniques and difference between
the analog and digital modulation techniques, channel coding systems and its various types
and the most important, the wide application areas of modulation techniques.
59.
60. Q2. Write a MATLAB program to determine the free space path loss and power
received by antenna.
61. Aim: The aim of this question is to demonstrate the theory of free space path loss with the
help of diagrams and draft a MATLAB code for calculating the loss. Also it is required to
plot a graph for showing the degradation in signal strength.
62. Theory: The free space path loss, also known as FSPL is the loss in signal strength that
occurs when an electromagnetic wave travels over a line of sight path in free space. In these
circumstances there are no obstacles that might cause the signal to be reflected refracted, or
that might cause additional attenuation. The free space path loss calculations only look at
the loss of the path itself and do not contain any factors relating to the transmitter power,
antenna gains or the receiver sensitivity levels.
63. To understand the reasons for the free space path loss, it is possible to imagine a signal
spreading out from a transmitter. It will move away from the source spreading out in the
form of a sphere. As it does so, the surface area of the sphere increases. As this will follow
the law of the conservation of energy, as the surface area of the sphere increases, so the
intensity of the signal must decrease.
64.
66. As a result of this it is found that the signal decreases in a way that is inversely proportional
to the square of the distance from the source of the radio signal in free space. So it can be
1
signal=
concluded that the signal follows the inverse square law. distance 2
. (iv)
4 d
67. Thus the formula for free space path loss is given by: .. (v)
FSPL=
68. Where: FSPL is the Free space path loss, is the signal wavelength (metres), d is the
distance of the receiver from the transmitter (metres).
70. Most RF comparisons and measurements are performed in decibels. This gives an easy and
consistent method to compare the signal levels present at various points. Accordingly, it is
very convenient to express the free space path loss formula, FSPL, in terms of decibels.
72. Where: d is the distance of the receiver from the transmitter (km), f is the signal frequency
(MHz)
73. Algorithm:
74. By following the below mentioned steps we can calculate the free space path loss:
1. We need to define the distance for which we need to transmit the power.
2. Having the frequency and transmitters gain we need to find out the receivers gain.
3. We then transmit the power which was intended to be sent.
4. At the receivers end we calculate the power received, and thus we calculate the loss
suffered.
5. We use the formula given above to find out the Free space path loss.
6. By calculating the loss suffered we can know about the transferability of the signal by using
graphs and charts.
91. RESULT:
Frequency in MHz 15
Transmitted power 35
Gain of transmitter antenna 75
Gain of reciever antenna 65
The path loss is: 9.596183e+001 db = 26.085 db
The recieved power is: 8.013412e+007 watts = 28.783 watts.
92.
94. CONCLUSION: This question has demonstrated that the signal strength reduces when it
travels the prescribed distance. It was concluded from the coding that the transmitted power
of 35 units got reduced by 17.76 units.
95. Q3. Write a MATLAB code for BPSK, QPSK, & 16QAM digital modulation schemes.
96. Aim: The aim of this question is to study in detail about the various digital modulation
schemes along with their MATLAB codes and verify the theoretical results with the
simulation results.
97. Theory:
98. The simplest PSK technique is called binary phase-shift keying (BPSK). It uses two
opposite signal phases (0 and 180 degrees). The digital signal is broken up timewise into
individual bits (binary digits). The state of each bit is determined according to the state of
the preceding bit. If the phase of the wave does not change, then the signal state stays the
same (0 or 1). If the phase of the wave changes by 180 degrees -- that is, if the phase
reverses -- then the signal state changes (from 0 to 1, or from 1 to 0). Because there are two
possible wave phases, BPSK is sometimes called bi-phase modulation.
99. In this process the phase of the sinusoidal career is changed according to the data bit to be
transmitted.
103.
107. The below given block diagram will demonstrate the algorithm.
108.
109. Fig12. Generation of BPSK
143.
145. CONCLUSION:
146. From this question it was concluded that for BPSK signals, they have very high
system complexity and are very suitable for high bit rates, phases are their variable
characteristic, they have high noise immunity and low probability of error.
Quadrature Phase Shift Keying
147. Theory:
148. QPSK (Quadrature Phase Shift Keying) is type of phase shift keying. Unlike BPSK
which is a DSBCS modulation scheme with digital information for the message, QPSK is
also a DSBCS modulation scheme but it sends two bits of digital information a time
(without the use of another carrier frequency). The amount of radio frequency spectrum
required to transmit QPSK reliably is half that required for BPSK signals, which in turn
makes room for more users on the channel. The figure below shows a QPSK modulated
waveform.
149.
151. Algorithm:
153. The below given block diagram will demonstrate the algorithm.
154.
215.
216. RESULT:
217.
219. CONCLUSION:
220. From this simulation, it could be concluded that for QPSK, phase is the variable
characteristic of the carrier, it is very complex to design and its application areas are suitable
for very high bit rates.
221. Theory:
222. Quadrature Amplitude Modulation, QAM is a signal in which two carriers shifted in
phase by 90 degrees are modulated and the resultant output consists of both amplitude and
phase variations. In view of the fact that both amplitude and phase variations are present it
may also be considered as a mixture of amplitude and phase modulation. Quadrature
amplitude modulation, QAM may exist in what may be termed either analogue or digital
formats. The analogue versions of QAM are typically used to allow multiple analogue
signals to be carried on a single carrier. Digital formats of QAM are often referred to as
"Quantised QAM" and they are being increasingly used for data communications often
within radio communications systems.
223.
224. Algorithm:
1. We use a single channel as two separate channels that are orthogonal to each other.
2. The information is divided into Inphase and Quadrature components.
3. The outputs of both modulators are algebraically summed and the result is then transmitted.
226. The below given block diagram will demonstrate the algorithm.
227.
269. RESULT:
270.
Constellation Diagram:
272.
273. Fig19. Constellation diagram
274. CONCLUSIONS:
275. In QAM two DSB signals are transmitted using the carrier of the same frequency but
in Phase Quadrature. Both the halves are used, thus the bandwidth efficiency is increased.
With this scheme signals can be transmitted at twice the symbol rate as compared to a
simple base band communication system.
276. Q4. Generate the constant-envelope PSK signal waveform for M=8, for
convenience the signal Amplitude is normal to unity.
277. In the mobile radio, since the multipath fading distorts the amplitude of the carrier,
the signal is sent by modulating the phase or frequency of the carrier, which has no impact
on the amplitude. We call those modulations constant envelope modulations; that is, no
signal is modulated on the amplitude.
278. The distortion of carrier amplitude by other factors such as fading or nonlinear
amplification will not affect the signal. Therefore, it is possible to use a nonlinear amplifier.
Although, the non-linear amplifier can distort the amplitude but not the phase.
279.
280. Algorithm:
281. The following steps are needed to generate a constant envelope PSK signal:
1. First of all, we need to assign a fixed value of amplitude for the signal.
2. Then we input the carrier signal and message signal frequency.
3. Then the message signal is multiplied with a square wave.
4. Then at the receivers site we obtain the modulated signal without any changes in the
amplitude.
319.
322.
323. REFERENCES
324.