LAB 3 (Line Coding)
LAB 3 (Line Coding)
2) Equipment Required
3) Theory
Information sources that provide digital data deliver numbers that are not suitable for
transmission. The data must be formatted in a proper way to make them suitable for
transmission through a communication channel. Line coding is the process of
converting binary data (a sequence of bits) into voltage pulses that represent the
information. When a pulse is used to represent each bit it is called binary
communication. If a pulse is used to represent multiple bits it is called m-ary
communication.
(a) Error detection capability: The receiver needs to be able to distinguish the
waveform associated with a “high” from the waveform associated with a “low”,
even if there is a considerable amount of noise and distortion in the channel.
(c) Power Spectrum & Bandwidth: The power spectrum and bandwidth of the
transmitted signal should be matched to the frequency response of the channel to
avoid significant distortion. The bandwidth should be minimized as much as
possible to improve efficiency.
(d) Self-synchronization: The waveform produced by the line code should contain
enough timing information such that the receiver can synchronize with the
transmitter and decode the received signal properly. This can be achieved if there
are transitions in the signal that alert the receiver to the beginning, middle, or end
of the pulse.
Bit 1 = Positive voltage for 1st half of bit interval, then returns to zero voltage for
2nd half of bit interval
Bit 1 = Positive voltage for 1st half of bit interval, then returns to zero voltage for
2nd half of bit interval
Bit 0 = Negative voltage for 1st half of bit interval, then returns to zero voltage for
2nd half of bit interval
(2) On the Data Source Module (ED – 2970 A) make the following connections:
(2.1) Connect the 160 KHz output to the “Clock In” socket
(2.2) Place the switch on the “Data Source” position
(2.3) Provide a “Ground” connection
(a) Observe and sketch the bit clock pattern on the oscilloscope. Calculate the bit
interval (Tb) and the transmission rate (Rb) in bits per second (bps). Calculate
the frequency of the bit clock pattern.
(b) Observe and sketch the word clock pattern on the oscilloscope. Calculate the
frequency of the word clock pattern. How is the word clock pattern related to
the bit clock pattern?
(3) Connect the Data Source Module (ED – 2970 A) and the Data Format Module
(ED – 2970 B) together as follows:
(4) Provide the following binary sequence from the Data Source Module (ED – 2970
A) and observe the output of the Bit Clock and the following Line Codes on the
oscilloscope.