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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/07/03 02:16
Read: times


 
#38427 - WDT Protocol - Hamming Code
Responding to: ???'s previous message

Hi Mohd,

Recently I had used a 433Mhz Industrial Radio Remote and the Tx-Rx set was bought as a set and the manual had this to say. Hope it can give some guidelines :

Hamming Code

1. This document describes the purpose and logic of Hamming code that is used for error -detection in Radio remote control units.

2. Definition:

Hamming Code is a kind of Code Word that used on the “Error-Control Coding” theory of computer system. Incorporating the Control Data Code of Radio Remote Controller

and the “error-detection/error-correction” principle (concept) of Hamming Distance to edit “Code Word”. This Code Word (we called Hamming Code) is designed to detect and
correct the error data message automatically during data procession. In general, Hamming Distance means the capability of error-detection and error-correction.

3. Description:

Hamming Distance is a countable number and defined as any two word with their different bits arranged respectively (for example: if X = 11001100, Y = 10101000, then the

Hamming Distance = 3). According to Error-Control Coding theory, the more big number of Hamming Distance of Code Word has the more capability of Error-Detection and
Error-Correction. For example, Hamming Distance is equal to 4 that means 2 erroneous bits can be detected maximum and 1 bit can be corrected. Hamming Distance is
equal to 6 that means 3 erroneous bits can be detected and 2 bits can be corrected; or 4 erroneous bits can be detected and 1 bit can be corrected; or 5 erroneous bits can
be detected.
Additionally, the method of Code Word arrangement will influence both functions of Error Detection and Error Correction. For example, data A is the Code Word formed by
the Hamming Distance which is equal to 6 and word length is 128bits, so it may perform 3 bits Error Detection and 2 bits Error Correction. The other data message B has
the same bit number of 128 bits as data A. But this data message B combined with 16 Code Word, word length of each Code Word is 8 bits and this Code Word is formed
by the Hamming Distance is equal to 4, so every Code Word may perform 2 bits Error Detection and 1 bit Error Correction. Comparing between data A and data B may find
that the Hamming Distance of data A is better than data message B, but data A may cause over 3 bits are erroneous due to it word length is too long to easily be interfered by successive noise. On the contrary, though the Hamming Distance of data message B is only 4, but more effective than data A in the field of anti-nterference due to performing Error Detection and Error Correction by 16 individual Code Word. Therefore, which is better in performing Error Detection and Error Correction, the method of different Code Word arrangement also have to be compared except in comparison of Hamming Distance.
Theoretically, the more big number of Hamming Distance is better but might affect CPU as well as slow down data transmission, consequently. Hence, Hamming Distance
has to be selected upon actual requirement but be chose arbitrarily.

4. Conclusion:

In order to ensure the safety of Radio Remote Controller operating, we have to make sure the control data is accurate in process of transmission and if it is equipped with
automatic function of Error-Detection and Error-Correction. Therefore, in design of Radio Remote Controller, theory of Error-Control Coding is practically applied on the MCU circuit. And after evaluating and analyzing those factors including the specification of CPU, the response time of Radio Remote Controller, the environmental condition for data transmission, Hamming Distance is more and equal to 4 is adopted to our design in Radio Remote Controller. Certainly, the above design after a long term of test and verification under diverse environment not only make operators to have their own way to control every kind of equipment but also may effectively perform in Error-Detection and Error-Correction as a result of operating smoothly.





List of 24 messages in thread
TopicAuthorDate
Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
   RE: WirelessTransfer Protocol / Dan            01/01/70 00:00      
      RE: WirelessTransfer Protocol / Dan            01/01/70 00:00      
         RE: WirelessTransfer Protocol -- Jez            01/01/70 00:00      
            RE: WirelessTransfer Protocol -- Jez            01/01/70 00:00      
      RE: WirelessTransfer Protocol -- Michael            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
      WDT Protocol - Hamming Code            01/01/70 00:00      
         RE: WDT Protocol - Hamming Code            01/01/70 00:00      
            RE: WDT Protocol - Hamming Code            01/01/70 00:00      
   RE: Wireless Data Transfer Protocol            01/01/70 00:00      
       Wireless Data Transfer Protocol - babar            01/01/70 00:00      
         RE: Wireless Data Transfer Protocol - b            01/01/70 00:00      
         RE: Wireless Data Transfer Protocol - babar            01/01/70 00:00      
            RE: Wireless Data Transfer Protocol            01/01/70 00:00      
               RE: Wireless Data Transfer Protocol            01/01/70 00:00      
                  Mr Shannon says.......            01/01/70 00:00      

Back to Subject List