Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/12/06 07:02
Read: times


 
Msg Score: +1
 +1 Informative
#122116 - Maybe it is X^5+X^4+X^3+X^2+X+1
Responding to: ???'s previous message
From the datasheet of the encoder, the data bits seems to be 18bits (1bit Alarm + 17bit angle) + 5bits (CRC).
"EnDat2.1 - Transfer of Position Values" (p48)
http://www.heidenhain.com/wcmsmimef..._15078.pdf

Then the CRC polynomial is
G(X) = X5 + a4X4 + a3X3 + a2X2 + a1X + 1 (a1-a4: 0, 1)

The candidates are 24 = 16 polynomials.

As G(x) is a generator polynomial, X18 - 1 must be divisible by G(X).
a) Calculate (X18 - 1) / G(X) as an usual decimal polynomial with a symbolic calculation software, such as Mathematica.
http://www.wolfram.com/products/...ex.en.html

b) Select the polynomial that brings all of the parameter of the remainder polynomial are even.

Applying this criteria to G(X) candidates, this polynomial is selected. No other candidate passed this criteria.

G(X) = X5 + X4 + X3 + X2 + X + 1

Tsuneo

List of 36 messages in thread
TopicAuthorDate
5 bit CRC polynomial            01/01/70 00:00      
   there are several            01/01/70 00:00      
   what does "no success" mean?            01/01/70 00:00      
      He said            01/01/70 00:00      
         maybe we need a new 'forum' where            01/01/70 00:00      
      They said            01/01/70 00:00      
         This must be a very smart shaft encoder            01/01/70 00:00      
            competitor like Kuebler            01/01/70 00:00      
         This must be a very smart shaft encoder            01/01/70 00:00      
         Brute force it.            01/01/70 00:00      
            Yes this is what we were doing            01/01/70 00:00      
   can you find it in the pascal here? -- Kai            01/01/70 00:00      
      zyklische Redundanzprüfung            01/01/70 00:00      
      I searched all their site            01/01/70 00:00      
         did you search the pascal code examples            01/01/70 00:00      
            Where?            01/01/70 00:00      
               I did not look at it all, but there is much here            01/01/70 00:00      
                  I downloaded them all            01/01/70 00:00      
                     what about all the .pas            01/01/70 00:00      
      Found a document name            01/01/70 00:00      
         I feel your pain            01/01/70 00:00      
            This is how we get experienced            01/01/70 00:00      
               CRC time            01/01/70 00:00      
                  FPGA option            01/01/70 00:00      
                  SiLabs            01/01/70 00:00      
               have you seen this?            01/01/70 00:00      
                  Maybe it is X^5+X^4+X^3+X^2+X+1            01/01/70 00:00      
   rather than all that processing            01/01/70 00:00      
      The thing is            01/01/70 00:00      
         USB 5bit CRC            01/01/70 00:00      
         implementing other crc using crc package            01/01/70 00:00      
            impressive            01/01/70 00:00      
   rather than all that processing            01/01/70 00:00      
   Initial value?            01/01/70 00:00      
      and the final value            01/01/70 00:00      
   Friends            01/01/70 00:00      

Back to Subject List