⧭ Today we will discuss about the technique to find sequence of redundant bit in any message. Cyclic Redundancy Checker technique is used to detecting redundant bit. Let we know more about CRC (Cyclic Redundancy Checker technique).
CRC GENERATOR:
➧ CRC is redundancy checking technique.
➧ CRC is based on binary division.
➧ In CRC instead of adding bit together to achieve a desired parity , a sequence of redundant bit is called CRC or the CRC remainder is appanded to the end of data unit.So that the resulting data unit become exactly divisible by a second, predetermined binary number.
➧ At its destination the incoming data unit is divided by same number.
➧ If at this step there is no remainder the data unit is assumed to be intact and is therefore accepted.
➧ A remainder indicate that the data unit has been damaged in transit and therefore must be rejected.
➧ CRC must have two qualities:
⧪ It must have one less bit than the divisor.
⧪ Appending it to the end of the data string must make the resulting bit sequence exactly divisible by divisor.
⧭ Let we first understand CRC Generator:
From the above diagram CRC=001
⧭ Let we understand the procedure of finding CRC by the help of above example:
Given :
➧Divisor : 1101
➧Data : 100100
➧Quotient : 111101
➧Remainder : 001
➧Method Used : Binary Division / Modulo-2 division is used
⧭ In this method "000" is used at the end of data part i.e "100100" we get "100100000"
Now the new data is "100100000"
⧭ In this method XOR-ing is used in this division such as:
➧Here after XOR operation between (11001 & 1101) we get "0100" so same method is apply in complete division.
⧭ Note from "0100" left most 0 will we neglected.
➧XOR table is given in above diagram for reference.
A question arise in our mind, why only three 0's are added in data part ? so the formula is:
➧Extra Bit = Divisor bits - 1
⧭ For example here number of bits in divisor is 4 so the extra bit will be (4-1=3) that's why we will add three bit i.e three 0's.
⧭ Note : CRC bit = Remainder i.e what we will get remainder is called CRC bits.
No comments:
Post a Comment