Unit Ii
Unit Ii
For example, an analog clock that has hour, minute, and second
 hands gives information in a continuous form; the movements of the
 hands are continuous. On the other hand, a digital clock that reports
 the hours and the minutes will change suddenly from 8:05 to 8:06.
Signal
              The bandwidth is low.       The bandwidth is high.
 bandwidth
               Temperature, current,
                                            Data storage in computer
                voltage, voice, pressure,
                                            memory is one of the
Examples        and speed are all
                                            examples of digital
                examples of analog
                                            signals.
                signals.
                                            Used in computers,
               Used in landline phones,
                                            keyboards, digital
Applications   thermometers, radios,
                                            watches, and other
               and other devices.
                                            electronics
Sine Wave
The sine wave is the most fundamental form of a periodic analog
 signal. When we visualize it as a simple oscillating curve, its change
 over the course of a cycle is smooth and consistent, a continuous,
 rolling flow. Each cycle consists of a single arc above the time axis
 followed by a single arc below it.
 Peak Amplitude
The peak amplitude of a signal is the absolute value of its highest
 intensity, proportional to the energy it carries. For electric signals,
 peak amplitude is normally measured in volts.
 Phase
The term phase describes the position of the waveform relative to
 time O. If we think of the wave as something that can be shifted
 backward or forward along the time axis, phase describes the amount
 of that shift. It indicates the status of the first cycle. Phase is
 measured in degrees or radians [360° is 2n rad; 1° is 2n/360 rad, and
 1 rad is 360/(2n)]. A phase shift of 360° corresponds to a shift of a
 complete period; a phase shift of 180° corresponds to a shift of one-
 half of a period; and a phase shift of 90° corresponds to a shift of
 one-quarter of a period.
1. A sine wave with a phase of 0° is not shifted.
2. A sine wave with a phase of90° is shifted to the left by ¼ cycle.
 However, note 4 that the signal does not really exist before time O.
3. A sine wave with a phase of 180° is shifted to the left by ½ cycle.
 However, note that the signal does not really exist before time O.
Wavelength
Wavelength is another characteristic of a signal traveling through a
transmission medium. Wavelength binds the period or the frequency
of a simple sine wave to the propagation speed of the medium.
Composite Signals
      Simple sine waves have many applications in daily life. We can
send a single sine wave to carry electric energy from one place to
another. A composite signal is made of many simple sine waves.
A single a frequency sine wave is not useful in data communications;
we need to send a composite signal, a signal made of many simple
sine waves.
Bandwidth
   The range of frequencies contained in a composite signal is its
bandwidth. The bandwidth is normally a difference between two
 numbers. For example, if a composite signal contains frequencies
 between 1000 and 5000, its bandwidth is 5000 - 1000, or4000.
The bandwidth of a composite signal is the difference between the
 highest and the lowest frequencies contained in that signal.
DIGITAL SIGNALS
In addition to being represented by an analog signal, information can
 also be represented by a digital signal. A digital signal can have more
 than two levels. In this case, we can send more than 1 bit for each
 level.
Bit Length
  We discussed the concept of the wavelength for an analog signal: the
distance one cycle occupies on the transmission medium. We can
define something similar for a digital signal: the bit length. The bit
length is the distance one bit occupies on the transmission medium.
Bit length=propagation speed x bit duration
Bit Rate
Most digital signals are non periodic, and thus period and frequency
are not appropriate characteristics. Another term-bit rate (instead
ofjrequency)-is used to describe digital signals. The bit rate is the
number of bits sent in Is, expressed in bits per second (bps)
Transmission Impairment
Causes
There are various causes of transmission impairments −
 Noise
 Distortion
 Attenuation
Noise
 Noise is the major factor for the transmission distortion as any
unwanted signal gets added to the transmitted signal by which the
resulting transmitted signal gets modified and at the receiver side it is
difficult to remove the unwanted noise signal. These noises are
various kinds like shot noise, impulse noise, thermal noise etc.
Noise is diagrammatically represented as follows −
At the receiver side the sender signal combine with noise and
represented as follows −
Sources of Noise
The different sources of Noise are as follows −
 Thermal noise
 Intermodulation noise
 Crosstalk
 Impulse noise
Thermal noise
      A kind of noise where the irregular electron movement in wire
 produces an additional signal. It is also called as white noise because
 the frequency encompasses over a broad range of frequencies.
Intermodulation noise
Here the signal transmission channel can share more than one signal
 and the intermodulation noise is generated.
For instance, consider two signals S1 and S2 generate signals of
 frequencies (S1 + S2) and (S1 - S2) that may interfere with the signals
 of the same frequencies sent by the sender. In any part of the
 communication system, intermodulation noise is introduced because
 of this situation.
Cross talk
Cross talk is an effect of one wire on another wire. One wire acts as a
 sending antenna and the other (transmission medium) acts as the
 receiving antenna.
For example − telephone systems, it is a common experience to hear
 conversation of other people in the background. This is known as cross
 talk.
Impulse noise
Impulse noise is irregular pulses or spikes generated by phenomena of
 power lines, lightning spark due to loss of contact in electric circuits
 and so on. It is a primary source of error in digital data.
Distortion
    This kind of distortion is mainly appearing in case of composite
signals in which a composite signal has various frequency components
in it and each frequency component has some time constraint which
makes a complete signal.
But while transmitting this composite signal, if a certain delay happens
between the frequencies components, then there may be the chance
that the frequency component will reach the receiver end with a
different delay constraint from its original which leads to the change in
shape of the signal. The delay happens due to environmental
parameters or from the distance between transmitter and receiver
etc.
Distortion is diagrammatically represented as follows −
Attenuation
Attenuation is generally decreased in signal strength, by which the
received signal will be difficult to receive at the receiver end. This
attenuation happens due to the majority factor by environment as
environment imposes a lot of resistance and the signal strength
decreases as it tries to overcome the resistance imposed.
The above picture shows that the signal loses power at its travels time.
Attenuation is diagrammatically represented as follows −
PERFORMANCE
    The performance of a network pertains to the measure of service
  quality of a network as perceived by the user. There are different
  ways to measure the performance of a network, depending upon the
  nature and design of the network. Finding the performance of a
  network depends on both quality of the network and the quantity of
  the network.
 Bandwidth
 Latency (Delay)
 Bandwidth – Delay Product
 Throughput
 Jitter
Bandwidth
  One characteristic that measures network performance is
bandwidth. However, the term can be used in two different contexts
with two different measuring values: bandwidth in hertz and
bandwidth in bits per second.
Bandwidth in Hertz
   We have discussed this concept. Bandwidth in hertz is the range of
frequencies contained in a composite signal or the range off
requencies a channel can pass. For example, we can say the
bandwidth of a subscriber telephone line is 4 kHz.
Relationship
   There is an explicit relationship between the bandwidth in hertz and
bandwidth in bits per seconds. Basically, an increase in bandwidth in
hertz means an increase in bandwidth in bits per second. The
relationship depends on whether we have baseband transmission or
transmission with modulation.
Throughput
    The throughput is a measure of how fast we can actually send data
through a network. Although, at first glance, bandwidth in bits per
second and throughput seem the same, they are different. A link may
have a bandwidth of B bps, but we can only send T bps through this
link with T always less than B. In other words, the bandwidth is a
potential measurement of a link; the throughput is an actual
measurement of how fast we can send data.
    For example, we may have a link with a bandwidth of 1 Mbps, but
the devices connected to the end of the link may handle only 200
kbps. This means that we cannot send more than 200 kbps through
this link. Imagine a highway designed to transmit 1000 cars per
minute from one point to another. However, if there is congestion on
the road, this figure may be reduced to 100 cars per minute. The
bandwidth is 1000 cars per minute; the throughput is 100 cars per
minute.
Latency (Delay)
    The latency or delay defines how long it takes for an entire
 message to completely arrive at the destination from the time the first
 bit is sent out from the source. We can say that latency is made of
 four components: propagation time, transmission time, queuing time
 and processing delay.
Propagation Time
Propagation time measures the time required for a bit to travel from
 the source to the destination. The propagation time is calculated by
 dividing the distance by the propagation speed.
               Propagation time = Distance /Propagation speed
The propagation speed of electromagnetic signals depends on the
 medium and on the frequency of the signal. For example, in a
 vacuum, light is propagated with a speed of 3 x 10^8 mfs. It is lower
 in air; it is much lower in cable.
Transmission Time
In data communications we don't send just 1 bit, we send a message.
 The first bit may take a time equal to the propagation time to reach its
destination; the last bit also may take the same amount of time.
However, there is a time between the first bit leaving the sender and
the last bit arriving at the receiver. The first bit leaves earlier and
arrives earlier; the last bit leaves later and arrives later. The time
required for transmission of a message depends on the size of the
message and the bandwidth ofthe channel.
              Transmission time=Message size /Bandwidth
Queuing Time
    The third component in latency is the queuing time, the time
needed for each intermediate or end device to hold the message
before it can be processed. The queuing time is not a fixed factor; it
changes with the load imposed on the network. When there is heavy
traffic on the network, the queuing time increases. An intermediate
device, such as a router, queues the arrived messages and processes
them one by one. If there are many messages, each message will
have to wait.
Bandwidth-Delay Product
  Bandwidth and delay are two performance metrics of a link.
However, as we will see in this chapter and future chapters, what is
very important in data communications is the product of the two, the
bandwidth-delay product
Jitter
Another performance issue that is related to delay is jitter. We can
 roughly say that jitter is a problem if different packets of data
 encounter different delays and the application using the data at the
 receiver site is time-sensitive (audio and video data, for example). If
 the delay for the first packet is 20 ms, for the second is 45 ms, and for
 the third is 40 ms, then the real-time application that uses the packets
 endures jitter.
Multiplexing
   Multiplexing is a technique used to combine and send the multiple
data streams over a single medium. The process of combining the
data streams is known as multiplexing and hardware used for
multiplexing is known as a multiplexer.
Multiplexing is achieved by using a device called Multiplexer (MUX)
that combines n input lines to generate a single output line.
Multiplexing follows many-to-one, i.e., n input lines and one output
line.
Demultiplexing is achieved by using a device called Demultiplexer
(DEMUX) available at the receiving end. DEMUX separates a signal
into its component signals (one input and n outputs). Therefore, we
can say that demultiplexing follows the one-to-many approach.
Why Multiplexing?
o     The transmission medium is used to send the signal from sender
 to receiver. The medium can only have one signal at a time.
o     If there are multiple signals to share one medium, then the
 medium must be divided in such a way that each signal is given some
 portion of the available bandwidth. For example: If there are 10
 signals and bandwidth of medium is100 units, then the 10 unit is
 shared by each signal.
o     When multiple signals share the common medium, there is a
 possibility of collision. Multiplexing concept is used to avoid such
 collision.
o     Transmission services are very expensive.
History of Multiplexing
o    Multiplexing technique is widely used in telecommunications in
 which several telephone calls are carried through a single wire.
o    Multiplexing originated in telegraphy in the early 1870s and is now
 widely used in communication.
o    George Owen Squier developed the telephone carrier
 multiplexing in 1910.
Concept of Multiplexing
o   The 'n' input lines are transmitted through a multiplexer and
 multiplexer combines the signals to form a composite signal.
o   The composite signal is passed through a Demultiplexer and
 demultiplexer separates a signal to component signals and transfers
 them to their respective destinations.
Advantages of Multiplexing:
o  More than one signal can be sent over a single medium.
o  The bandwidth of a medium can be utilized effectively.
Multiplexing Techniques
Multiplexing techniques can be classified as:
o    It is an analog technique.
o    Frequency Division Multiplexing is a technique in which the
 available bandwidth of a single transmission medium is subdivided
 into several channels.
o    In the above diagram, a single transmission medium is subdivided
 into several frequency channels, and each frequency channel is given
 to different devices. Device 1 has a frequency channel of range from 1
 to 5.
o    The input signals are translated into frequency bands by using
 modulation techniques, and they are combined by a multiplexer to
 form a composite signal.
o    The main aim of the FDM is to subdivide the available bandwidth
 into different frequency channels and allocate them to different
 devices.
o    Using the modulation technique, the input signals are transmitted
 into frequency bands and then combined to form a composite signal.
o    The carriers which are used for modulating the signals are known
 as sub-carriers. They are represented as f1,f2..fn.
o    FDM is mainly used in radio broadcasts and TV networks.
Advantages of FDM:
o    FDM is used for analog signals.
o    FDM process is very simple and easy modulation.
o    A Large number of signals can be sent through an FDM
 simultaneously.
o    It does not require any synchronization between sender and
 receiver.
Disadvantages of FDM:
o    FDM technique is used only when low-speed channels are
 required.
o    It suffers the problem of crosstalk.
o    A Large number of modulators are required.
o    It requires a high bandwidth channel.
Applications Of FDM:
o     FDM is commonly used in TV networks.
o     It is used in FM and AM broadcasting. Each FM radio station has
 different frequencies, and they are multiplexed to form a composite
 signal. The multiplexed signal is transmitted in the air.
In the above diagram, there are 4 devices, but only two devices are
 sending the data, i.e., A and C. Therefore, the data of A and C are only
 transmitted through the transmission line.
Frame of above diagram can be represented as:
The above figure shows that the data part contains the address to
 determine the source of the data.
Transmission media
o    Transmission media is a communication channel that carries the
 information from the sender to the receiver. Data is transmitted
 through the electromagnetic signals.
o    The main functionality of the transmission media is to carry the
 information in the form of bits through LAN(Local Area Network).
o    It is a physical path between transmitter and receiver in data
 communication.
o    In a copper-based network, the bits in the form of electrical
 signals.
o    In a fibre based network, the bits in the form of light pulses.
o    In OSI(Open System Interconnection) phase, transmission media
 supports the Layer 1. Therefore, it is considered to be as a Layer 1
 component.
o    The electrical signals can be sent through the copper wire, fibre
 optics, atmosphere, water, and vacuum.
o    The characteristics and quality of data transmission are
 determined by the characteristics of medium and signal.
o    Transmission media is of two types are wired media and wireless
 media. In wired media, medium characteristics are more important
 whereas, in wireless media, signal characteristics are more important.
o    Different transmission media have different properties such as
 bandwidth, delay, cost and ease of installation and maintenance.
o    The transmission media is available in the lowest layer of the OSI
 reference model, i.e., Physical layer.
Guided Media
 It is defined as the physical medium through which the signals are
transmitted. It is also known as Bounded media.
Coaxial Cable
o    Coaxial cable is very commonly used transmission media, for
 example, TV wire is usually a coaxial cable.
o    The name of the cable is coaxial as it contains two conductors
 parallel to each other.
o    It has a higher frequency as compared to Twisted pair cable.
o    The inner conductor of the coaxial cable is made up of copper, and
 the outer conductor is made up of copper mesh. The middle core is
 made up of non-conductive cover that separates the inner conductor
 from the outer conductor.
o    The middle core is responsible for the data transferring whereas
 the copper mesh prevents from the EMI(Electromagnetic
 interference).
Fibre Optic
o    Fibre optic cable is a cable that uses electrical signals for
 communication.
o    Fibre optic is a cable that holds the optical fibres coated in plastic
 that are used to send the data by pulses of light.
o    The plastic coating protects the optical fibres from heat, cold,
 electromagnetic interference from other types of wiring.
o    Fibre optics provide faster data transmission than copper wires.
Diagrammatic representation of fibre optic cable:
Switching techniques
   In large networks, there can be multiple paths from sender to
 receiver. The switching technique will decide the best route for data
 transmission.
Switching technique is used to connect the systems for making one-to-
 one communication.
Circuit Switching
o    Circuit switching is a switching technique that establishes a
 dedicated path between sender and receiver.
o    In the Circuit Switching Technique, once the connection is
 established then the dedicated path will remain to exist until the
 connection is terminated.
o    Circuit switching in a network operates in a similar way as the
 telephone works.
o    A complete end-to-end path must exist before the communication
 takes place.
o    In case of circuit switching technique, when any user wants to
 send the data, voice, video, a request signal is sent to the receiver
 then the receiver sends back the acknowledgment to ensure the
 availability of the dedicated path. After receiving the
 acknowledgment, dedicated path transfers the data.
o    Circuit switching is used in public telephone network. It is used for
 voice transmission.
o    Fixed data can be transferred at a time in circuit switching
 technology.
Crossbar Switch
The Crossbar switch is a switch that has n input lines and n output
 lines. The crossbar switch has n2 intersection points known
 as crosspoints.
Disadvantage of Crossbar switch:
The number of crosspoints increases as the number of stations is
 increased. Therefore, it becomes very expensive for a large switch.
 The solution to this is to use a multistage switch.
Multistage Switch
o    Multistage Switch is made by splitting the crossbar switch into the
 smaller units and then interconnecting them.
o    It reduces the number of crosspoints.
o    If one path fails, then there will be an availability of another path.
Advantages of Circuit Switching:
o    In the case of Circuit Switching technique, the communication
 channel is dedicated.
o    It has fixed bandwidth.
Disadvantages of Circuit Switching:
o    Once the dedicated path is established, the only delay occurs in
 the speed of data transmission.
o    It takes a long time to establish a connection approx 10 seconds
 during which no data can be transmitted.
o    It is more expensive than other switching techniques as a
 dedicated path is required for each connection.
o    It is inefficient to use because once the path is established and no
 data is transferred, then the capacity of the path is wasted.
o    In this case, the connection is dedicated therefore no other data
 can be transferred even if the channel is free.
Message Switching
o    Message Switching is a switching technique in which a message is
 transferred as a complete unit and routed through intermediate nodes
 at which it is stored and forwarded.
o    In Message Switching technique, there is no establishment of a
 dedicated path between the sender and receiver.
o    The destination address is appended to the message. Message
 Switching provides a dynamic routing as the message is routed
 through the intermediate nodes based on the information available in
 the message.
o    Message switches are programmed in such a way so that they can
 provide the most efficient routes.
o     Each and every node stores the entire message and then forward
 it to the next node. This type of network is known as store and
 forward network.
o     Message switching treats each message as an independent entity.
Packet Switching
o    The packet switching is a switching technique in which the
 message is sent in one go, but it is divided into smaller pieces, and
 they are sent individually.
o    The message splits into smaller pieces known as packets and
 packets are given a unique number to identify their order at the
 receiving end.
o    Every packet contains some information in its headers such as
 source address, destination address and sequence number.
o    Packets will travel across the network, taking the shortest path as
 possible.
o    All the packets are reassembled at the receiving end in correct
 order.
o   If any packet is missing or corrupted, then the message will be
 sent to resend the message.
o   If the correct order of the packets is reached, then the
 acknowledgment message will be sent.
Node takes routing decisions to   Node does not take any routing
forward the packets.              decision.
Congestion cannot occur as all    Congestion can occur when the node is
the packets travel in different   busy, and it does not allow other
directions.                       packets to pass through.