Errors may occur during the processing, access and transmission of data in a computer system. In order to reduce and avoid such errors, on the one hand, various circuits should be carefully selected, production processes and testing methods should be improved, and the reliability of computer hardware itself should be improved as much as possible; on the other hand, a solution should be found in data coding, that is, a coding method with certain characteristic capabilities should be adopted, and a small amount of additional circuits should be used to enable
it to detect certain errors, and even accurately determine the error location, thereby providing the ability to automatically correct errors.
Data checksum is a commonly used data coding method with the ability to detect certain errors and even with a certain automatic error correction capability. Its implementation principle is to add some (illegal) codes that are not allowed to appear between legal data codes, so that when certain errors occur in legal data codes, they become illegal codes. In this way, the purpose of detecting errors can be achieved by checking the legality of the codes. By rationally designing coding rules and arranging the number of legal and illegal codes, the ability to detect errors can be obtained, and even the purpose of automatically correcting errors can be achieved. The concept of code distance (minimum code distance) is used here. The code distance refers to the number of binary bits that are different between any two legal codes. If only one bit is different, it is called the (minimum code distance) of 1. For example, if four bits of binary are used to represent 16 states, all 16 codes are used. In this case, the code distance is 1. That is to say, if one or more bits of the four-bit code of any coding state are wrong, it will become another legal code, and there is no error detection capability at this time. If four bits are used to represent 8 legal states, only 8 of them can be used to represent them, and the other 8 codes can be used as illegal codes. In this case, the code distance of the legal code can be 2. Generally speaking, the ability to detect errors can be improved by reasonably increasing the code distance, but the number of binary bits used to represent a certain number of legal codes will increase, which increases the complexity of electronic circuits and the amount of data storage and data transmission. When determining and using data check codes, it is usually necessary to consider finding as many errors as possible without increasing hardware overhead, and even automatically correcting some of the most common errors. Commonly used data check codes are parity check codes, Hamming check codes, cyclic redundancy check codes, etc. Error correction coding is a further development and application of error detection coding.
There are two main types of errors that are often encountered in computers: random errors and burst errors. The former refers to an isolated error, while the latter refers to a group of errors that occur continuously (and may be related to each other). The difficulty and complexity of handling them will be very different. In our course, we basically do not involve the inspection and correction of burst errors. Those who are interested can refer to the relevant materials by themselves. The classification scheme of error correction coding is given in Figure 2.1.
Figure 2.1 Classification of error-correcting codes
Reference address:Concepts and implementation ideas of error detection and correction
Data checksum is a commonly used data coding method with the ability to detect certain errors and even with a certain automatic error correction capability. Its implementation principle is to add some (illegal) codes that are not allowed to appear between legal data codes, so that when certain errors occur in legal data codes, they become illegal codes. In this way, the purpose of detecting errors can be achieved by checking the legality of the codes. By rationally designing coding rules and arranging the number of legal and illegal codes, the ability to detect errors can be obtained, and even the purpose of automatically correcting errors can be achieved. The concept of code distance (minimum code distance) is used here. The code distance refers to the number of binary bits that are different between any two legal codes. If only one bit is different, it is called the (minimum code distance) of 1. For example, if four bits of binary are used to represent 16 states, all 16 codes are used. In this case, the code distance is 1. That is to say, if one or more bits of the four-bit code of any coding state are wrong, it will become another legal code, and there is no error detection capability at this time. If four bits are used to represent 8 legal states, only 8 of them can be used to represent them, and the other 8 codes can be used as illegal codes. In this case, the code distance of the legal code can be 2. Generally speaking, the ability to detect errors can be improved by reasonably increasing the code distance, but the number of binary bits used to represent a certain number of legal codes will increase, which increases the complexity of electronic circuits and the amount of data storage and data transmission. When determining and using data check codes, it is usually necessary to consider finding as many errors as possible without increasing hardware overhead, and even automatically correcting some of the most common errors. Commonly used data check codes are parity check codes, Hamming check codes, cyclic redundancy check codes, etc. Error correction coding is a further development and application of error detection coding.
There are two main types of errors that are often encountered in computers: random errors and burst errors. The former refers to an isolated error, while the latter refers to a group of errors that occur continuously (and may be related to each other). The difficulty and complexity of handling them will be very different. In our course, we basically do not involve the inspection and correction of burst errors. Those who are interested can refer to the relevant materials by themselves. The classification scheme of error correction coding is given in Figure 2.1.
Figure 2.1 Classification of error-correcting codes
Previous article:Parity code
Next article:Binary number operations
- Popular Resources
- Popular amplifiers
Latest Analog Electronics Articles
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
MoreSelected Circuit Diagrams
MorePopular Articles
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
MoreDaily News
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
Guess you like
- Selection of current resistance of switching power supply MOS
- What are the precautions for using variable frequency power supply?
- Qorvo frequently promotes 5G and releases chips to make headlines?
- Switching Power Supply Study Group
- Is the Tsinghua virtual student singing a real person AI face replacement? The R&D team responds again!
- Sand built on gold - Qorvo announces acquisition of Cavendish Kinetics
- Can multiple ADCs simultaneously acquiring a signal improve system performance?
- Study of TMS320F28335 ADC module
- C8051F340 delay issue
- Three-axis magnetometer IIS2MDC package code and data sheet