Lab 2
Lab 2
Group No.: 6
Experiment No: 2
INTRODUCTION:
Brief Theory:
In the figure, the output xk is binary (0 or 1), and so are the constants hj, j=0,1,…n,
and ⊕
denotes the XOR operation. This means that xk is given by:
xk = h1xk-1⊕……⊕ hnxk-n
where h(D) = 1 ⊕ h1D⊕……⊕ hnDn and D denotes a unit delay (xkDj =xk-j for any j).
Note that the “1” in the polynomial does not correspond to a tap.
Properties of PN sequence:
Component Details:
● IC 7495 (4-bit shift register)
● IC 7486 (XOR)
● IC 7432 (OR)
● IC 7402 (NOR)
● IC 7408 (AND)
● Connecting wires
● Digital multimeter
● Digital Signal Oscilloscope
● Signal generator
● Bread board(x1)
● DC supply voltages of +5V, 0V
First polynomial:1+x^3+x^4
A B C D Output
1 1 1 1 0
0 1 1 1 0
0 0 1 1 0
0 0 0 1 1
1 0 0 0 0
0 1 0 0 0
0 0 1 0 1
1 0 0 1 1
1 1 0 0 0
0 1 1 0 1
1 0 1 1 0
0 1 0 1 1
1 0 1 0 1
1 1 0 1 1
1 1 1 0 1
PN sequence of length 15
Number of 1’s = 8 and number of 0’s = 7, so balance property is satisfied.
It satisfies Run length property also, so it is a PN sequence.
Polynomial 2 : 1+x+x^2+x^3+x^4
A B C D Output
1 1 1 1 0
0 1 1 1 1
1 0 1 1 1
1 1 0 1 1
1 1 1 0 1
A sequence of length 5
Sequence does not satisfy balance property because number of zeros is much
lesser than number of ones, therefore it is not a PN sequence.
Polynomial 3 : 1+x^4+x^2
A B C D Output
1 1 1 1 0
0 1 1 1 0
0 0 1 1 1
1 0 0 1 1
1 1 0 0 1
1 1 1 0 1
A sequence of length 6
Sequence does not satisfy balance property because number of zeros is much
lesser than number of ones, therefore it is not a PN sequence
Part B:
Correlation Property: Correlation is a measure of similarity between two
sequences. When the two sequences compared are different it is the ‘cross
correlation’ and when they are the same it is the ‘autocorrelation’. Consider a PN
sequence x(·) of length-N which takes value +1 for ‘1’ and −1 for ‘0’. Then, the
autocorrelation function Rx(k)
The first polynomial (1 + x^3 + x^4) produced a PN sequence of length 15. The
sequence satisfied both the balance and run length properties, confirming its
nature as a PN sequence. The second polynomial (1 + x + x^2 + x^3 + x^4)
resulted in a sequence of length 5, which did not satisfy the balance property and
was identified as not a PN sequence. Similarly, the third polynomial (1 + x^4 +
x^2) produced a sequence of length 6 that did not meet the balance property
criteria, leading to the conclusion that it was not a PN sequence.
**Conclusion:**