UNIT 4 (1)
UNIT 4 (1)
COMMUNICATION SYSTEMS:
Introduction, Elements of Communication system, Modulation- AM, FM (Only
concepts, working principle, waveform and Comparison), Super heterodyne receiver,
Digital Communication block diagram.
INTRODUCTION TO MICROPROCESSOR AND MICROCONTROLLER:
Microprocessor, Microcontroller (Only concepts, working principle, and Comparison)
Introduction:
All electrical and electronic signals that radiate into free space fall into the electromagnetic spectrum.
Not included are signals carried by cables. Signals carried by cable
may share the same frequencies of similar signals in the spectrum, but they are not radio
signals. Fig. 1 shows the entire electromagnetic spectrum, giving both frequencies and
wavelength. Within the middle ranges are located the most commonly used radio frequencies for two-
way communication, TV, cell phones, wireless LANs, radar, and other
applications. At the upper end of the spectrum is infrared and visible light. Fig. 2
is a listing of the generally recognized segments in the spectrum used for electronic
communication and other applications.
The first step in sending a message is to convert it into electronic form suitable for
transmission. For voice messages, a microphone is used to translate the sound into an
electronic audio signal. For TV, a camera converts the light information in the scene to a
video signal. In computer systems, the message is typed on a keyboard and converted to
binary codes that can be stored in memory or transmitted serially. Transducers convert
physical characteristics (temperature, pressure, light intensity, and so on) into electrical
signals.
The communication channel is the medium by which the electronic signal is sent from one
place to another. Many different types of media are used in communication systems,
including wire conductors, fiber-optic cable, and free space.
Receivers
A receiver is a collection of electronic components and circuits that accepts the transmitted
message from the channel and converts it back to a form understandable by humans.
Receivers contain amplifiers, oscillators, mixers, tuned circuits and filters, and a demodulator
or detector that recovers the original intelligence signal from the modulated carrier. The
output is the original signal, which is then read out or displayed. It may be a voice signal sent
to a speaker, a video signal fed to an LCD screen for display, or binary data received by a
computer and then printed out or displayed on a video monitor.
Attenuation
Thus considerable signal amplification, in both the transmitter and the receiver, is required
for successful transmission.
Noise
Noise is mentioned here because it is the bane of all electronic communications. Its effect is
experienced in the receiver part of any communications system. While some noise can be
filtered out, the general way to minimize noise is to use components that contribute less noise
and to lower their temperatures.
2. Operating Range: The higher- frequency signals radiate into space more efficiently
than the low frequency signals. The high frequency electromagnetic signals are able
to travel through space for long distances, since they undergo less attenuation.
4. Avoids mixing of the signals, allows multiplexing of the signal: The use of
modulation also permits another technique, known as multiplexing, to be used.
Multiplexing is the process of allowing two or more signals to share the same medium
or channel.
Significance of Bandwidth
Types of modulation-
1. Amplitude modulation
2. Frequency modulation
3. Phase modulation
The three ways to make the baseband signal change the career sine wave are to vary its
amplitude, vary its frequency or vary its phase angle. The two most common methods of
modulation are amplitude modulation (AM) and frequency modulation (FM). In AM, the
baseband information signal called modulating signal varies the amplitude of the high
frequency carrier signal as shown in fig. 6.a. In FM, the information signal varies the
frequency of the carrier, as shown in fig. 6.b.
Amplitude modulation:
When the amplitude of a high-frequency carrier wave is changed in accordance with the
intensity of the signal, it is called amplitude modulation.
The following points are to be noted in amplitude modulation.
1. The amplitude of the carrier wave changes according to the instantaneous
amplitude of the message signal.
2. The amplitude variations of the carrier wave are at the signal frequency fm.
3. The frequency of the amplitude-modulated wave remains the same as the
unmodulated carrier frequency fC.
es
Modulating signal
t
ec
Carrier Wave
t
Fig. 7 (a) Message signal (b) AM signal
AM derivation
c (t )= A c sin ωc t
A sine wave carrier signal is of the form and a sine wave message signal
m(t )= A m sin ω m t
is of the form .
Notice that the amplitude of the high frequency carrier takes on the shape of the lower
frequency modulation signal forming what is called a modulation envelope.
The modulation index is defined as the ratio of the modulation signal amplitude to the carrier
Am
m=
Ac 0≤m≤1
signal amplitude. where . The overall signal can be described by:
The product of two sine waves produces sum and difference frequencies:
1 1
sin ω 1 t sin ω 2 t= cos ( ω 1−ω2 ) t− cos ( ω 1 +ω 2 ) t
2 2
LSB USB
From this we observe that upper and lower sidebands are created when using amplitude
mA c
2
modulation. The sideband amplitude is: , and the total occupied spectrum is twice the
2f m
bandwidth of the modulation signal or .
AM signals are often characterized in terms of power, since it is power, which is used to
drive antennas. The total power in a 1 Ω resistor is given by:
PT =P C + P LSB + PUSB
( ) ( )
2 2
2 mA c mA c
¿ Ac + +
2 2
m2 m2
¿ Pc + Pc+ Pc
4 4
( )
2
m
¿ Pc 1+
2
From this we observe that with a modulation index of 0, the transmitted power is equal to the
carrier power. However, when the modulation index is 1, the total transmitted power
increases to 1.5 times the carrier power.
At 100% modulation, only 1/3 of the total power is in the sidebands or only 1/2 of the
carrier power is in the sidebands.
V T =V c 1+
√ m2
2
I T =I c 1+
2√
m2
If the carrier is modulated by a complex signal, the effective modulation can be determined
by the combining the modulation index of each component.
Modulation Index
Modulation factor is very important since it determines the strength and quality of the
transmitted signal. The greater the degree of modulation, the stronger and clearer will be
the audio signal. It should be noted that if the carrier is over modulated (ie m>1)
distortion will occur at reception. Typically m lies between 0 and 1.
2. Low efficiency- In AM useful power is in the sidebands as they contain the signal.
An AM wave has low sideband power.
For example even if modulation is 100% ie m=1, the efficiency is 33.33%.
Practically efficiency will be lesser than 33.33%.
The carrier itself conveys no information. The carrier can be transmitted and received,
but unless modulation occurs, no information will be transmitted. When modulation
occurs, sidebands are produced. It is easy to conclude, therefore, that all the
transmitted information is contained within the sidebands. Only one-third of the total
transmitted power is allotted to the sidebands, and the remaining two-thirds is literally
wasted on the carrier.
3. Lack of audio quality- The audio signals that are AM modulated has poor audio
quality.
4. Low Spectrum efficiency- The real information is contained within the sidebands.
One way to improve the spectral efficiency of amplitude modulation is to suppress
the carrier and eliminate one sideband.
Frequency modulation:
When the frequency of carrier wave is changed in accordance with the intensity of the
signal, it is called frequency modulation.
Fig. 8: Frequency modulation waveforms
● Here the amplitude of the modulated wave remains the same ie carrier wave
amplitude.
● The frequency variations of carrier wave depend upon the instantaneous amplitude
of the signal.
● When the signal approaches positive peaks, the carrier frequency is increased to
maximum and during negative peak, the carrier frequency is reduced to minimum
as shown by widely spaced cycles.
Advantages of FM
1. It gives noiseless reception.
2. The operating range is quite large.
3. The efficiency of transmission is very high.
Amplitude of the carrier varies while its Frequency of the carrier varies while its
frequency remain constant Amplitude remain constant
Modulation index can have values from 0 Modulation index is much greater than one
to 1 only
AM has only two side bands FM has infinite side bands
Range: Range:
Requires less complex and less expensive Requires more complex equipment
equipment
The nonuniform selectivity of the TRF led to the development of the superheterodyne receiver near
the end of World War I. Although the quality of the superheterodyne receiver has improved greatly
since its original design, its basic configuration has not changed much, and it is still used today for a
wide variety of radio communications services. The superheterodyne receiver has remained in use
because its gain, selectivity, and sensitivity characteristics are superior to those of other receiver
configurations. Heterodyne means to mix two frequencies together in a nonlinear device or to
translate one frequency to another using nonlinear mixing.
Heterodyning
1. It is difficult to design a RF amplifier with high gain and high band width.
2. It is relatively easier to design a high gain IF amplifier having uniform gain over a
narrow band of comparatively lower intermediate frequencies (IF).
1. The sum component with frequency f1+f2 which is filtered out using a bandpass
filter.
Essentially, there are five sections to a superheterodyne receiver: the RF section, the
mixer/converter section, the IF section audio detector section, and the audio amplifier section.
RF section: The RF section generally consists of a preselector and an amplifier stage. They
can be separate circuits or a single combined circuit. The preselector is a broad bandpass
filter with an adjustable centre frequency that is tuned to the desired carrier frequency The
primary purpose of the preselector is to provide enough initial band limiting to prevent
unwanted radio frequency, called the image frequency, from entering the receiver (frequency
is explained later in this section). The preselector also reduces the noise bandwidth the
receiver and provides the initial step toward reducing the overall receiver bandwidth
minimum bandwidth required to pass the information signals. The RF amplifier determine
sensitivity of the receiver (i.e., sets the signal threshold). Also, because the RF amplifier first
active device encountered by a received signal, it is the primary contributor of not therefore, a
predominant factor in determining the noise figure for the receiver. A receiver has one or
more RF amplifiers, or it may not have any, depending on the desired sensitivity: Several
advantages of including RF amplifiers in a receiver are as follows:
IF section: The IF section consists of a series of IF amplifiers and the filters and is often
called the IF strip. Most of the receiver gain and selectivity is act the IF section. The IF center
frequency and bandwidth are constant for all stations. So that their frequency is less than any
of the RF signals to be received. The IF is lower in frequency than the RF because it is easier
and less expensive to construct hi stable amplifiers for the low-frequency signals. Also, low-
frequency IF amplifiers likely to oscillate than their RF counterparts.
Detector section: The purpose of the detector section is to convert signals back to the
original source information. The detector is generally called detector or the second detector in
a broadcast-band receiver because the inform signals are audio frequencies. The detector can
be as simple as a single diode or as a phase-locked loop or balanced demodulator.
Audio amplifier section: The audio section comprises several audio amplifiers and one or
more speakers. The number of amplifiers used depend audio signal power desired.
Input Transducer: This is a transducer which takes a physical input and converts it to an
electrical signal (Example: microphone). This block also consists of an analog to digital
converter where a digital signal is needed for further processes. A digital signal is generally
represented by a binary sequence.
Source Encoder: The source encoder compresses the data into minimum number of bits.
This process helps in effective utilization of the bandwidth. It removes the redundant bits
(unnecessary excess bits, i.e., zeroes).
Channel Encoder: The channel encoder, does the coding for error correction. During the
transmission of the signal, due to the noise in the channel, the signal may get altered and
hence to avoid this, the channel encoder adds some redundant bits to the transmitted data.
These are the error correcting bits.
Digital Modulator: The signal to be transmitted is modulated here by a carrier. The signal is
also converted to analog from the digital sequence, in order to make it travel through the
channel or medium.
Channel: The channel or a medium, allows the analog signal to transmit from the transmitter
end to the receiver end.
Digital Demodulator: This is the first step at the receiver end. The received signal is
demodulated as well as converted again from analog to digital. The signal gets reconstructed
here.
Channel Decoder: The channel decoder, after detecting the sequence, does some error
corrections. The distortions which might occur during the transmission are corrected by
adding some redundant bits. This addition of bits helps in the complete recovery of the
original signal.
Source Decoder: The resultant signal is once again digitized by sampling and quantizing so
that the pure digital output is obtained without the loss of information. The source decoder
recreates the source output.
Output Transducer: This is the last block which converts the signal into the original
physical form, which was at the input of the transmitter. It converts the electrical signal into
physical output (Example: loud speaker).
Output Signal:
This is the output which is produced after the whole process. Example The sound signal rec
CONTROLLERS
Microcontroller is a single chip microcomputer which consists of CPU, Memory, I/O ports,
timers and other peripherals. The difference between microprocessor and microcontroller is
microprocessor is a single integrated CPU whereas microcontroller is single chip
microcomputer. The world leaders of manufacturing of microprocessor and microcontroller
are Intel, Motorola, IBM, Cyrix etc. In 1981 Intel Corporation introduced an 8 bit
microcontroller called 8051.This microcontroller had 128 bytes of RAM, 4K bytes of on-chip
ROM, two timers, one serial port and four ports (each 8bit wide) all on a single chip.
RISC AND CISC CPU ARCHITECTURES
Microcontrollers with small instruction set are called reduced instruction set computer
(RISC) machines and those with complex instruction set are called complex instruction set
computer (CISC). Intel 8051 is an example of CISC machine whereas microchip PIC 18F87X
is an example of RISC machine.
RISC CISC
Only load/store instructions are used to In addition to load and store instructions,
access memory memory access is possible with other
instructions also
A set of instructions written in a specific sequence for the computer to solve a specific task is
called a program and software is a collection of such programs. The program stored in the
computer memory in the form of binary numbers is called machine instructions. The machine
language program is called object code. An assembly language is a mnemonic representation
of machine language. Machine language and assembly language are low level languages and
are processor specific. The assembly language program the programmer enters is called
source code. The source code (assembly language) is translated to object code (machine
language) using assembler. Programs can be written in high level languages such as C, C++
etc. High level language will be converted to machine language using compiler or interpreter.
Compiler reads the entire program and translate into the object code and then it is executed
by the processor. Interpreter takes one statement of the high level language as input and
translate it into object code and then executes.
• 32 bi directional I/O lines (can be used as four 8 bit ports or 32 individually addressable I/O
lines)
• 8051 CPU consists of 8 bit ALU with associated registers like accumulator ‘A’ , B register,
• Accumulator is an 8 bit register widely used for all arithmetic and logical operations.
Accumulator is also used to transfer data between external memory. B register is used along
with Accumulator for multiplication and division. A and B registers together is also called
MATH registers.
• PSW (Program Status Word). This is an 8 bit register which contains the arithmetic status of
ALU and the bank select bits of register banks.
CY - carry flag
OV - overflow
P – parity
• Stack Pointer (SP) – it contains the address of the data item on the top of the stack. Stack
may reside anywhere on the internal RAM. On reset, SP is initialized to 07 so that the default
stack will start from address 08 onwards.
• Data Pointer (DPTR) – DPH (Data pointer higher byte), DPL (Data pointer lower byte).
This is a 16 bit register which is used to furnish address information for internal and external
program memory and for external data memory.
• Program Counter (PC) – 16 bit PC contains the address of next instruction to be executed.
On reset PC will set to 0000. After fetching every instruction PC will increment by one.
The main difference between the serial and parallel interfaces is how they transmit data. In
serial interface the data is sent or received one bit at a time over a series of clock pulses. In
parallel mode the interface sends and receives 4 bits, 8 bits, or 16 bits of data at a time over
multiple transmission lines.