kids encyclopedia robot

Forward error correction facts for kids

Kids Encyclopedia Facts

In telecommunications, Forward Error Correction (FEC) is a clever way to make sure data sent over a network arrives correctly. It's like adding a special safety net to your messages. The sender adds extra bits of data, which is called redundancy. This extra information helps the receiver spot and even fix mistakes that might happen during sending, without needing the sender to send the data again.

How FEC Works

FEC adds extra information to the data being sent. It uses a special set of rules, called an algorithm, to create this extra data. Each extra piece of data is made from many of the original pieces.

Sometimes, the original message is still directly included in the new, longer message that gets sent. These are called systematic codes. If the original message isn't directly there, they are nonsystematic codes.

A Simple Example: Majority Vote

Imagine you want to send a simple "0" or "1". Instead of sending it just once, you send it three times. So, if you want to send a "0", you send "000". If you want to send a "1", you send "111".

Now, let's say there's a small mistake during sending. If the receiver gets "001", it sees two "0"s and one "1". Since "0" appears more often, the receiver guesses the original message was a "0". This is like a "majority vote" system.

Here's how the receiver would interpret what it gets:

What was received What it means
000 0
001 0
010 0
100 0
111 1
110 1
101 1
011 1

This simple method can fix one error in every three bits. However, it's not very efficient. Real FEC codes are much more complex. They look at dozens or even hundreds of bits to figure out how to correct errors. This "triple modular redundancy" is a basic form of FEC and is used in many places.

Images for kids

See also

Kids robot.svg In Spanish: Corrección de errores hacia adelante para niños

kids search engine
Forward error correction Facts for Kids. Kiddle Encyclopedia.