iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

History Of The Computer - Memory Error Correction Codes Part 1 Of 2

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Tony Stockill

We have mentioned before, in the history of the computer series, that various forms of error correction are used, in cases where the medium is unreliable. This applies mainly to magnetic tape and disks. The magnetic coating on the recording surfaces is subject to wear, various codes such as CRC (Cyclic Redundancy Check) have been developed. Data transmission now also uses error correction, previously error detection would cause a re-transmission.

The need for error correction in memories became more pressing when semiconductor, or chip memories were introduced in the 1970s. Although they promised much larger capacity in much less space, for a better cost, the early chips were susceptible to failures.

The early introduction of these memory types in mainframes saw the re-introduction of the Hamming code. Richard Hamming, a mathematician who had worked on the Manhattan Project in WWII, worked on early computers, and devised the code in 1950.

The code was used in chip memories to improve the performance of the computers so that they could be used without too many failures! It was able to correct a single bit error (SBE). Thus, if one of the bits in a word read out of memory was a 1 instead of a 0, it could be changed back to a 0, on the fly. This operation was transparent to the user. It could also detect, but not correct Multiple Bit Errors (MBE), also known as MUE (Multiple Uncorrectable Errors).

Multiple bit errors caused a recovery process to be initiated, causing lost time, a situation frowned upon in computer circles! It was therefore important for the engineers to keep a watchful eye on the error logs.

A repeat occurrence of a particular bit in error indicated a potential failure of multiple bits, as another bit failure at the same address, at the same time would cause problems. For this reason a chip showing a single bit error would be replaced at the next maintenance session.

How does the Hamming code work? It can be seen as an extension of a simple parity code, which we have mentioned before. Odd parity counts the number of 1 bits in a character, or word, and sets to 1 or 0 to make the total count odd. For example 1011010 has an even number of bits, so a parity bit of 1 would be added to the data written to memory - 11011010. Now we can check the data read out of memory to see if the total number of bits is odd or even. If it is even there is an error.

P101 1010 = even # of bits
1101 1010 = odd # of bits with a parity bit.

We now go to the next step, and devise a code which will identify the location of a failing bit. The way we do this is to consider a series of sets of bits so that the checks overlap. We choose this steps in accordance with the binary bit values, or powers, 1,2,4,8 etc. taking as many bits as we need to cover the word length. These check bits are inserted in the word written to memory in the appropriate bit positions.

D7-D6-D5 C8-D4-D3-D2 C4-D1-C2-C1

D1 to D7 are the original data bits in sequence
C1 to C4 are the check bits in the decimal value positions.

In Part 2 we will use an example of a bit failure to illustrate the operation.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

Tony is an experienced computer engineer. He is currently webmaster and contributor to http://www.what-why-wisdom.com. A set of diagrams accompanying these articles may be seen at http://www.what-why-wisdom.com/history-of-the-computer-0.html. RSS feed also available - use http://www.what-why-wisdom.com/Educational.xml
Article Tags: bit [See Dictionary], error [See Dictionary], code [See Dictionary]
Got a question about this article? Ask the community!
Article published on March 27, 2006 at Isnare.com
 
Rate this article:

History Of The Computer - Redundancy - Part 2 Of 2
Submitted by: Tony Stockill

Can you see what's coming next What happens if the controller fails...

History Of The Computer - Memory Error Correction Codes Part 2 Of 2
Submitted by: Tony Stockill

32 bit or 64 bit words are common, but for illustration purposes, we will use our 7 bit word from the example above, without the parity bit...

History Of The Computer - Real-Time Systems - Part 1 Of 2
Submitted by: Tony Stockill

We have mentioned before, in the history of the computer series, that digital computers have been developed as general purpose machines...

History Of The Computer - Real-Time Systems - Part 2 Of 2
Submitted by: Tony Stockill

The computer is used to maintain the stock of parts at the lowest possible level, and to do this is able to alert suppliers, or repair shops on the base, when a replacement part is required...

History Of The Computer - Redundancy Part 1 Of 2
Submitted by: Tony Stockill

We have mentioned previously, in history of the computer, that mainframes are large scale devices We have also mentioned various forms of error correction...

History Of The Computer - Mass Storage Part 1 Of 3
Submitted by: Tony Stockill

We have mentioned mass storage in passing previously, in the history of the computer series The term mass storage is applied to a group of media, including drums magnetic tape and disks...

History Of The Computer - Mass Storage Part 2 Of 3
Submitted by: Tony Stockill

MAGNETIC DISK STORAGE Magnetic disks used a similar recording system to the drums, but arranged on magnetic coated platters, made of aluminum, approximately 1ft in diameter...

History Of The Computer - Mass Storage Part 3 Of 3
Submitted by: Tony Stockill

MAGNETIC TAPE STORAGE Beginning in the 1950s, magnetic tape has progressed from the original half inch wide ferrite coated tape on open reels 10inch diameter and 2400ft long to the current cassettes mounted on drives in stacks...

History Of The Computer - Data Handling Peripherals Part 3 Of 3
Submitted by: Tony Stockill

TELETYPE MACHINES Developed for telegraph 'hard copy' communication over the telephone network, a teletype machine was suited to adoption by the rapidly expanding computer market, with its demand for hardware and technology to run it...

History Of The Computer - Data Handling Peripherals Part 2 Of 3
Submitted by: Tony Stockill

SYSTEM AND WORKSTATION PRINTERS The line printer used on mainframes was variously a drum printer, where all the characters are etched on a spinning drum, a band printer with an oscillating or circulating print band, or a shuttle printer, all of these using print hammers to transfer ink from a ribbon to continuous sprocket feed paper...

History Of The Computer - Data Handling Peripherals Part 1 Of 3
Submitted by: Tony Stockill

We have discussed, in the History of the Computer series, the operation and development of the computer and changes in the technology...

History Of The Computer - The Bootstrap
Submitted by: Tony Stockill

In previous articles in the History of the Computer series we discussed machine codes, programs, and memories...

History Of The Computer - Codes For Data Transfer, Part 1 Of 3
Submitted by: Tony Stockill

We have seen, in the History of the Computer series, how machine code is used to operate a computer so that it can use 1s and 0s to interpret a program's intentions...

History Of The Computer - Codes For Data Transfer, Part 2 Of 3
Submitted by: Tony Stockill

COMPUTER CODES Various codes have been used in computing, EBCDIC, Fieldata etc, with various bit combinations, and total bits between 5 and 8...

History Of The Computer - Codes For Data Transfer, Part 3 Of 3
Submitted by: Tony Stockill

DATA TRANSMISSION CODES We have mentioned teletype machines, these were the backbone of operator communication with the computer, but were also used for remote input of data...

Hightech Cameras Making Sport Training Easier
Submitted by: Jesse Akre

Lately, the advances in commonly used everyday items has increased dramatically We have cell phones that can double as MP3 players, as well as having internet capabilities, video consultations on our computers, digital cameras that can download right to the computer and then be sent in for printing, and so on...

Martin Yale 1217A Autofolder Review
Submitted by: Jeff McRitchie

For years the standard in paper folding machines, the Martin Yale Intimus 1217A is well-known in the small print industry for being a solid and flexible machine...

It’s a Mod Chip World!
Submitted by: Michiel Van Kets

No Nintendo Wii game console seems complete without a mod chip installation and with today’s latest mod chip innovations it’s easier than ever to buy and install your own Wii modification chip...

Martin Yale 400 Paper Jogging Machine Review
Submitted by: Jeff McRitchie

Any business that produces and binds a lot of documents on a regular basis should have a paper jogging machine on hand...

Laminating Film For Beginners
Submitted by: Jeff McRitchie

Roll laminators are awesome machines, but sometimes it can be difficult to know what supplies you need to use with your new laminating system...

PC200 Spiral Coil Binding Machine Review
Submitted by: Jeff McRitchie

The PC200 is positioned as a low-cost spiral coil binding solution for low volume users Here we take a look at this machine and examine its strengths and weaknesses...

Martin Yale 700E Paper Cutter Review
Submitted by: Jeff McRitchie

A commercial-quality paper cutter, the Martin Yale 700E is meant to be used in smaller print shops or in-house production floors for medium to large businesses...

Rhino Tuff CI 3000 Coil Inserter Review
Submitted by: Jeff McRitchie

Rhino's CI 3000 features a unique design that purports to make it easier to do spiral coil book binding...

Lamitek PhotoPro 13 Laminator Review
Submitted by: Jeff McRitchie

There are many laminators available and sometimes it is hard to know which one you should buy It is always a good idea to get a versatile machine, such as one that can do both hot and cold lamination, while also providing a crystal-clear finish...

Lamitek Photosmart 13 Laminator Review
Submitted by: Jeff McRitchie

The emergence and increasing numbers if digital printers has sparked an interest in laminating machines that can work with high-quality photos and/or glossier printed pages...

PC200E Spiral Coil Binding Machine Review
Submitted by: Jeff McRitchie

As the least expensive spiral coil binding machine that offers disengageable dies and an electric coil inserter, the PC200E is well positioned in the marketplace...

Be Careful When Buying Cheap Adobe Software
Submitted by: Adrianna Noton

When individuals are looking to buy software they always love finding cheap Adobe software However are these really great prices too good to be true...

What is the Difference Between Standard and High Yield Toner Cartridges?
Submitted by: Adriana N

There have been improvements in the manufacturing of printer toner cartridges Toner found in a cartridge is dry powder blended with a polymer that sticks on to the paper as printing takes place...

Inverted Microscope: A Great Tool For Studying Living Cells
Submitted by: Edison Rammsey

When you hear the term inverted microscope, you probably think of observing samples from under a microscope...

Digital Microscope: Eight Reasons Why You Must Have it Now!
Submitted by: Edison Rammsey

Welcome the Digital Age through a digital microscope With its eight benefits to be enjoyed, all other microscope will look small in comparison, pun intended...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy