Saturday, June 16, 2007

Other Storage Devices

Other storage devices include:

  • DVD Drive - DVD stands for Digital Video Disk. Most DVD drives use the ATAPI interface. They are available as internal or external devices. They can operate at up to 16X speeds but 8X is more common. They are primarily used for video storage but they can be used to hold audio and computer data. DVD is categorized into DVD-Video and DVD-ROM devices. The DVD-ROM device is for computer data storage.

  • Zip drives - A removable cartridge storage device that may be used to store compressed data as a data back up method. A zip drive has between a 100Mb to 2G storage capacity. Cost is usually between $45 and $350. Some zip drives can also be used to read standard 3.5 inch floppy diskettes.

  • Tape drive backup kits - Their capacity 3G to 40G. The cost range is from $200 to $1000.

More about DVD-ROM

There are five recordable versions of DVD-ROM. They can all can read DVD-ROM and DVD-Video discs, but different type of disc is used by each one for recording.

  1. DVD-R/authoring - Can record data once.

  2. DVD-R/general, - Can record data once. The capacity is 3.95 Gb or 4.7 Gb.

  3. DVD-RAM - It is not compatible with current drives. It has a storage capacity of 2.58 Gb It can be rewritten about 100,000 times The discs are expected to hold data for 30 years or more.

  4. DVD-RW - The capacity is 4.7 Gb. It can be rewritten about 1,000 times.

  5. DVD+RW - It will become available in early 2001.

Friday, June 15, 2007

Motherboard



History

Prior to the advent of the Apple II in 1977, a computer was usually built in a case or mainframe with components connected by a backplane consisting of a set of slots themselves connected with wires. The CPU, memory and I/O peripherals were housed on individual PCBs or cards which plugged into the backplane.

With the arrival of the microprocessor, it became more cost-effective to place the backplane connectors, processor and glue logic onto a single "mother" board, with video, memory and I/O functions on "child" cards — hence the terms "motherboard" and daughterboard. The Apple II

computer featured a motherboard with 8 expansion slots.

During the late 1980 and 1990s, it became economical to move an increasing number of peripheral functions onto the motherboard (see above). In the late 1980s, motherboards began to include single ICs (called Super I/O chips) capable of supporting a set of low-speed peripherals: keyboard, mouse, floppy disk drive, serial ports, and parallel ports. As of the early 2000s, many motherboards support a full range of audio, video, storage, and networking functions without the need for any expansion cards at all; higher-end systems for 3D gaming and computer graphics typically retain only the graphics card as a separate component.

The early pioneers of motherboard manufacturing were Micronics, Mylex, AMI, DTK, Hauppauge, Orchid Technology, Elitegroup, DFI, and a number of Taiwan-based manufacturers.

Intro to the Motherboard

A motherboard is the central or primary circuit board making up a complex electronic system, such as a modern computer. It is also known as a mainboard, baseboard, system board, or, on Apple computers, a logic board, and is sometimes abbreviated as mobo.[1]

The basic purpose of the motherboard is to provide the electrical and logical connections by which the other components of the system communicate.

A typical desktop computer is built with the microprocessor, main memory, and other essential components on the motherboard. Other components such as external storage, controllers for video display and sound, and peripheral devices are typically attached to the motherboard via edge connectors and cables, although in modern computers it is increasingly common to integrate these "peripherals" into the motherboard.

Components

The 2004 K7VT4A Pro motherboard by ASRock.  The chipset on this board consists of northbridge and southbridge chips.
The 2004 K7VT4A Pro motherboard by ASRock. The chipset on this board consists of northbridge and southbridge chips.

The motherboard of a typical desktop consists of a large PCB. It holds electronic components and interconnects, as well as physical connectors (sockets, slots, and headers) into which other computer components may be inserted or attached.

Most motherboards include, at a minimum:

  • Socket
  • The CPU and working storage (the RAM modules)
  • Expansion cards, also called adapters (PCI, AGP and AMR slots, etc.)
  • slots into which the system's main memory is installed (typically in the form of DIMM modules containing DRAM chips)
  • a chipset which forms an interface between the CPU's front-side bus, main memory, and peripheral buses
  • non-volatile memory chips (usually Flash ROM in modern motherboards) containing the system's firmware or BIOS
  • a clock generator which produces the system clock signal to synchronize the various components
  • Plugs, connectors and port
  • The motherboard also contains a number of inputs and outputs, to which various equipment can be connected. Most ports (also called I/O ports) can be seen where they end in a connector at the back of the PC.
  • power connectors which receive electrical power from the computer power supply and distribute it to other components

Additionally, nearly all motherboards include logic and connectors to support commonly-used input devices, such as PS/2 connectors for a mouse and keyboard. Early personal computers such as the Apple II or IBM PC included only this minimal peripheral support on the motherboard. Additional peripherals such as disk controllers and serial ports were provided as expansion cards.

Given the high thermal design power of high-speed computer CPUs and components, modern motherboards nearly always include heatsinks and mounting points for fans to dissipate excess heat.

Integrated peripherals

Diagram of a modern motherboard, which supports many on-board peripheral functions as well as several expansion slots.
Diagram of a modern motherboard, which supports many on-board peripheral functions as well as several expansion slots.

With the steadily declining costs and size of integrated circuits, it is now possible to include support for many peripherals on the motherboard. By combining many functions on one PCB, the physical size and total cost of the system may be reduced; highly-integrated motherboards are thus especially popular in small form factor and budget computers.

For example, the ECS RS485M-M, a typical modern budget motherboard for computers based on AMD processors, has on-board support for a very large range of peripherals:

Expansion cards to support all of these functions would have cost hundreds of dollars even a decade ago, however as of April 2007 such highly-integrated motherboards are available for as little as $30 in the USA.

Form factors

Motherboards are produced in a variety of form factors, some of which are specific to individual computer manufacturers. However, the motherboards used in IBM-compatible commodity computers have been standardized to fit various case sizes. As of 2007, most desktop computer motherboards use one of these standard form factors—even those found in Macintosh and Sun

computers which have not traditionally been built from commodity components.

These are some of the more popular motherboard form factors:

  • PC/XT - created by IBM for the IBM PC, its first home computer. As the specifications were open, many clone motherboards were produced and it became a de facto standard.
  • AT form factor (Advanced Technology) - created by IBM for its PC/XT successor, the AT. Also known as Full AT, it was popular during the era of the Intel 80386 microprocessor. Superseded by ATX.
  • Baby AT - IBM's 1985 successor to the AT motherboard. Functionally equivalent to the AT, it became popular due to its significantly smaller size.
  • ATX - created by Intel in 1995. As of 2007, it is the most popular form factor for commodity motherboards.
  • ETX - used in embedded systems and single board computers.
  • microATX - a smaller variant of the ATX form factor (about 25% shorter). It is compatible with most ATX cases, but supports fewer expansion slots due to its smaller size. Very popular for desktop and small form factor computers as of 2007.
  • FlexATX - a subset of microATX developed by Intel in 1999. Allows more flexible motherboard design, component positioning and shape.
  • LPX - based on a design by Western Digital, it allowed smaller cases than the AT standard, by putting the expansion card slots on a riser (image). LPX was never standardized and generally only used by large OEMs.
  • NLX - a low-profile design released in 1997. It also incorporated a riser for expansion cards, and never became popular.
  • BTX (Balanced Technology Extended) - a standard proposed by Intel as a successor to ATX in the early 2000s.
  • Mini-ITX - a small, highly-integrated form factor created by VIA in 2001. Mini-ITX was designed for small devices such as thin clients and set-top boxes.
  • WTX - created by Intel in 1998. A large design for servers and high-end workstations featuring multiple CPUs and hard drives.

Laptop computers generally use highly integrated, miniaturized, and customized motherboards. This is one of the reasons that laptop computers are difficult to upgrade and expensive to repair. Often the failure of one laptop component requires the replacement of the entire motherboard, which is usually more expensive than a desktop motherboard due to the large number of integrated components.

Thursday, June 14, 2007

Power Supply

A power supply (sometimes known as a power supply unit or PSU) is a device or system that supplies electrical or other types of energy to an output load or group of loads. The term is most commonly applied to electrical energy supplies, less often to mechanical ones, and rarely to others.

Electrical power supplies

This term covers the mains power distribution system together with any other primary or secondary sources of energy such as:

Constraints that commonly affect power supplies are the amount of power they can supply, how long they can supply it for without needing some kind of refueling or recharging, how stable their output voltage or current is under varying load conditions, and whether they provide continuous power or pulses.

The regulation of power supplies is done by incorporating circuitry to tightly control the output voltage and/or current of the power supply to a specific value. The specific value is closely maintained despite variations in the load presented to the power supply's output, or any reasonable voltage variation at the power supply's input. This kind of regulation is commonly categorised as a Stabilized power supply.

Computer power supply

Main article: Computer power supply

A computer power supply typically is designed to convert 110-240 V AC power from the mains, to several low-voltage DC power outputs for the internal components of the computer. The most common computer power supplies are built to conform to the ATX form factor. The wattage rating of a PC power supply is not officially certified and is self-claimed by each manufacturer. The more reputable makers advertise "True Wattage Rated" to give consumers the idea that they can trust the wattage advertised.

Domestic mains adapter

A linear or switchmode power supply (or in some cases just a transformer) that is built into the top of a plug is known as a "wall wart'", "power brick", "plug-in adapter", "adaptor block", "AC adaptor" or just "power adapter". They are even more diverse than their names; often with either the same kind of DC plug offering different voltage or polarity, or a different plug offering the same voltage. Because they consume Standby power, they are sometimes known as "electricity vampires" and may be plugged into a power strip to allow turning them off. Expensive switchmode power supplies can cutoff leaky electrolyte-capacitors, use powerless MOSFETs, and reduce their working frequency to get a gulp of energy once in a while to power for example a clock, which would otherwise need a battery.

This type of power supply is popular among manufacturers of low cost electrical items because

  1. Devices sold in the global marketplace don't need to be individually configured for 120 volt or 230 volt operation. Just sold with the appropriate AC adapter.
  2. The device itself doesn't need to be tested for compliance with electrical safety regulations. Only the adapter needs to be tested.

Linear power supply

A simple AC powered linear power supply usually uses a transformer to convert the voltage from the wall outlet (mains) to a different, usually a lower voltage. If it is used to produce DC a rectifier circuit is employed either as a single chip, an array of diodes sometimes called a diode bridge or Bridge Rectifier, both for fullwave rectification or a single diode yielding a half wave (pulsating) output. More elaborate configurations rectify the AC voltage at first to pulsating DC. Then a capacitor smooths out part of the pulses giving a type of DC voltage. The smaller pulses remaining are known as ripple. Because of a fullwave rectification they occur at twice the mains frequency (in USA it's 60 Hz doubled to 120 Hz). Finally, depending on the requirements of the load, a linear regulator may be used to reduce the ripple sometimes also allowing for adjustment of the output to the desired but lower voltage. More elaborate versions used by circuit designers are adjustable up to 30 volts and up to 5 amperes output. These often employ current limiting. Some can be driven by an external signal, for example, for applications requiring a pulsed output.

In the simplest case a single diode is connected directly to the mains and uses a resistor in series with a more or less fixed load to recharge a battery. This circuit is common in rechargeable flashlights.

Power conversion

The term "power supply" is sometimes restricted to those devices that convert some other form of energy into electricity (such as solar power and fuel cells and generators). A more accurate term for devices that convert one form of electric power into another form (such as transformers and linear regulators) is power converter.


Wednesday, June 13, 2007

Pointing Devices



A pointing device is an external tool that is used to move objects around and also to select options from menus. The pointing device is an element of the graphical user interface. It manipulates on screen objects to issue commands. Examples of pointing devices include the mouse, trackball, light pen, pen for graphic tablet, joystick, touch screen, wand, head mounted display, virtual reality glasses, and 3-D mouse.

The concept of the pointing device was developed in 1970 by Douglas Engelbart as another way to input information into the computer other than through the keyboard. This input device has become popular and with the growth of the graphical user interface it has become one of the most necessary and important tools of the computer.

The mouse is included in almost every computer that is sold today. Besides becoming an important input tool, it has provided access to the computer for many individuals with disabilities that might not otherwise have the opportunity to use the computer.

The pointing device also lets you double click on an icon to start a program application; and in the WINDOWS 95 operating system you can use the mouse to drag a file or document to the Recycling Bin to delete a file.

How Does It Work?

Mousing Around

The computer mouse moves by way of a roller and ball system. When you move the mouse across the desktop, the ball underneath rolls. This ball corresponds to the position of what is called a pointer on the screen. The pointer is usually shaped like an arrow, though some people like to change their pointer to look like objects. (One person in our group has changed his pointer to an ink pen icon.) When you move the pointer around it is called mousing. The speed of the mouse can be managed by your computer operating system software, or a commercial application program for your mouse. You can drag objects on the screen by clicking on the object, holding down on the mouse button, and rolling the mouse across the desktop until you get the object to a new location. When you reach the spot that you want, let go of the mouse button.

Most mice come with two buttons. You use the left button on the mouse to do most selecting of objects. The right button can be used for some menu actions. This is especially true when using browser software to examine and manipulate pictures and graphics on the Internet. There is a three button mouse and the middle button can be programmed for specific application software, but usually the two button mouse is used the most. If you are left handed, you can change to a left-handed mouse option in your software so that you can use your mouse in your left hand.

Types Of Pointing Devices

Pen- The pen lets you draw on what is called a digitizing tablet that mirrors the surface area of the computer screen. The pen can be used as a standard mouse (without wires connected to it) or also as a free flowing drawing device. The pen is useful for drawing since drawing graphics with a mouse tends to be somewhat difficult.

Mouse - The mouse is a hand held device that lets you point to and selected items on your screen. In a PC mouse there are mostly 2-3 buttons and on a Mac there is one. A ball under the mouse senses movement. To ensure smooth motion your should remove the ball and clean it regularly.

Cordless Mouse - The cordless mouse is a lot better than a normal mouse thus by reducing the clutter of the work space needed to move the mouse around. This mouse runs on a battery. When you move the mouse it sends an infrared beam to a sensor which interprets it causing it to move.

Trackball - The trackball is an upside-down mouse that remains stationary on your desk. It is the same principle as the mouse except that the rollers are reversed and the ball is on top. This ball does not need as much attention as the normal mouse because the only thing that touches it is your hand as the normal mouse touches a surface.

Touchpad - The touchpad has sensors that sense your touch. When they sense your touch they send a signal to the computer to move the mouse pointer to that location on the screen.

Joystick- The joystick allows the user to move quickly in computer games.

Light pen- The light pen system allows the user to touch the computer screen with a lighted pen to activate commands and make selections.

Touch Screen- The touch screen lets the user touch the area to be activated by using the finger or hand.

Head Mounted Virtual Reality Displays, Wands, Special Trackballs, Data Gloves, and Special 3-D Flying Mice that can go in six different directions- These devices are currently the newest pointing devices.


Tuesday, June 12, 2007

Microprocessor

The microprocessor is the center of your computer. It processes instructions and communicates with outside devices, controlling most of the operation of the computer. The microprocessor usually has a large heat sink attached to it. Some microprocessors come in a package with a heat sink and a fan included as a part of the package. Other microprocessors require you to install the heat sink and fan separately. This is not a difficult problem, but can be a bit daunting when the buyer wants to make sure they get the correct parts to fit their microprocessor. Also the buyer needs to make sure they will get the motherboard that their microprocessor will work with. This section will explain some of the differences in microprocessors and ways to be sure your parts match.

Microprocessors and Mounting

The mounting method refers to the type of connection the microprocessor makes with the motherboard. The following table lists the various mounting packages and some of the well known microprocessors that are mounted for that package.

  • Socket 7 - AMD K5, K6, Intel Pentium 75-200Mhz, IBM
  • Socket 370 - Some Intel Celerons
  • Slot 1 - Intel Pentium II, Pentium III, Some Celeron 266-533
  • Slot II - Intel Xeon
  • Slot A - AMD Athlon
The Socket 7 processors are becoming less popular. We recommend socket 370, through slot A microprocessors at the current time. The prices on Socket 370 microprocessors are currently very low considering the performance of the systems. I recently bought a Celeron 500Mhz microprocessor with 66Mhz sidebus for under $120 with a motherboard for $84. When buying a microprocessor, make sure you get the type of socket you think since some processors are made for different sockets such as the Celeron. Be sure of one of the following.
  1. The socket type is stated at the vendors website.
  2. There is a microprocessor part number stated at the vendors website that can be traced to the manufacturers website which specifies the mounting package you want.

It would be no fun to get a Slot 1 motherboard and a socket 370 Microprocessor.

Microprocessor heat sinks and fans.

Being sure you get the correct heat sink and fan for your microprocessor can be a bit daunting. Who wants to get a $300 microprocessor, and risk it with an incorrect mounting of a heatsink or fan? Who wants to find out that they have purchased the wrong heatsink for their processor and spend days or weeks trying to sort it out? My solution is to purchase the microprocessor with the heatsink in the same package. Usually you get a better warranty and return policy this way and you don't need to worry about whether the two are compatible. I do not believe you can save enough money buying the heatsink and fan from anyone other then the vendor selling the microprocessor because of the time it takes for the additional research required and the potential trouble. The best solution to this problem is simply to buy a slot1, slot II or slot A microprocessor with the package that includes the fan and heatsink. These would be one of the Pentium II, Pentium III, Athlon, or Xeon packages. All that is required in this case is to slide the microprocessor carefully into its slot. With the exception of processors such as the Athlon which have a larger heat sink, requiring an extra plastic clip mechanism to help stabilize the heatsink, it is easier to install one of these processors than it is to install the computer's RAM memory or a hard drive.


Monday, June 11, 2007

Keyboard


What is it?

The keyboard is an input device. It has letter and number keys, and what are called function keys, computer specific task keys, that allow you, the user, to use an English-like language to issue instructions to an electronic environment. It is the primary input device. It uses a cursor to keep your place on the screen and to let you know where to begin typing. You are able to input commands, type data into documents, compose documents, draw pictures with use of certain keys, pull down menus, and respond to prompts issued by the computer. Almost all computers require you to use a keyboard unless, of course, it is adapted for individuals with disabilities or for a specified alternative input devices.

The keyboard contains special keys to manipulate the user interface. When a key is touched, an electrical impulse is sent through the device which is picked up by the operating system software, and sent through the computer to be processed.

The keyboard operates as a typical typewriter and uses a standard "QWERTY" keyboard. QWERTY is the way the keyboard is set up for typing. If you look at the keyboard under the top number row, you will see that the alphabet top row begins with QWERTY.

Special Features

Special features of the keyboard include:

numeric key pad Numeric keypad: This portion of the keyboard allows you to use the keyboard like a calculator and input numbers into application programs. It has a Num lock key that when depressed, will activate that portion of the keyboard so that numbers can be entered. When the lock key is not on, there are arrow keys on the keys which then work to move the cursor in different directions. The "NUM LOCK" key is a toggle key which switches back and forth between these two modes.

Caps Lock: The "CAP LOCKS" key works in this same manner as the "NUM LOCK" key. If the Cap Lock is lit on your screen the keyboard will type only in capitals. If the Cap Lock light is not lit it will type only in small letters.

Function Keys: The function keys are used to initiate commands on help menus or database programs especially before the development and use of computer pointing devices. They are still used extensively today as options on the keyboard to pull down menus or to be programmed to do specific functions in application programs. Ctrl or Shift keys also work with Function keys to add more commands to programs and what are called shortcuts, ways to operate functions like saving and deleting without going through elaborate features and steps. Short cuts speed up typing and input into the computer.

Escape Key: One of the most important keys is the escape key. It usually cancels the last command or takes you back to the previous step in a program.

Types

Main Types of Keyboards:

Keyboards come in may shapes and sizes. They can be large and small, almost like a custom car. They come in various colors and can be designed specifically for the user, especially in the case of the disabled.

QWERTY: The most popular is the standard QWERTY keyboard. The newer keyboards can have a trackball built into the keyboard. This allows the user the convenience of a built in pointing device. The trackball acts as the mouse and saves time and space in the work area.

Ergonomic: This keyboard is built so that the keyboard is divided into two parts. One half fits the right hand and the other half fits the left hand. This split keyboard arrangement is built to fit the natural positioning of the hand and to help with repetitive motion hand injury which occurs when a job is carried out over and over again, such as in keyboarding.

Sunday, June 10, 2007

Monitor

Monitors are used to view your data on a computer. The characteristics of your monitor are very important for your system performance since the quality of your video will significantly affect your computing experience.

Components

Most monitors today consist of a picture tube and electronic control circuitry which are used to transfer the signal to the screen. There are some monitors that do not use a picture tube, but use electronics to display information. These monitors are more expensive and are not usually very large, but are primarily used for smaller computers such as notebooks and laptop computers. We will not discuss the flat video displays in this section at this point in time.

The primary and most expensive component in a standard monitor is its picture tube. The most important characteristics of a monitor generally refer to picture tube specifications although other circuitry can also be important in providing picture clarity. A picture tube is basically a large vacuum tube with a phosphorescent coating on the front of it. At the back of the picture tube is a large electron gun ( actually 3 guns ) which shoot(s) electrons onto the phosphorescent coating at the front of the tube. When the electrons strike the coating, the coating glows. The coating provides the primary colors which are green, red, and blue. These component colors and their combinations can be used to make every other possible color combination. There is other circuitry which works with the gun to direct the electron gun to the proper color at the correct time, and to direct the gun to the correct location on the screen depending on the phase of the

video signal that is being sent to the monitor. There is magnetic circuitry which is used to bend the electron beam to strike the appropriate area on the screen. This is referred to as deflection.

The yoke is an electromagnetic coil used to guide the beam to its intended location. The color pattern on the phosphorous appears like the three colored circles shown on the left side of the drawing below. There are many of these color patterns on the screen. The closer the groups of these three patterns are, the better the resolution of the monitor can be. Monitor resolutions refers to the number of lines per inch that can be seen on the screen. It is rated in vertical (up and down the screen) and horizontal (left and right) terms.

Important Specifications

Some of the most important specifications on the monitor are:

  1. Screen size - Expressed in inches, it is the approximate size of the picture tube when measured from the lower left corner to the upper right corner.
  2. Spacing - Expressed in dot pitch. This is the description of how close the three color patterns are spaced apart in the screen. The smaller number, the better.
  3. Maximum resolution at a specific frequency. This refers to the amount of pixel resolution viewable on the screen at a specific scan frequency. The higher the pixel resolution at a higher given scan frequency, the better the monitor is. Generally I look for 19 inch monitors that will support 1200X1600 pixel video resolution at 80Hz. Currently a good monitor for the price is the LG Electronics 995E for under $300.00 at pcnation.com.

How dot pitch spacing can be deceiving

Different manufacturers and vendors rate dot pitch different ways. There are actually three characteristics of dot pitch. They are:

  1. Horizontal
  2. Vertical
  3. Diagonal

As you can see depending on how the dot pitch is measured, you may get different numbers. You will need to carefully check manufacturer's specifications to be sure the monitor you buy has the spacing you think it has. I was once interested in purchasing a monitor that according to the article I read had a dot pitch spacing of .22 mm. When I looked at the vendor website for that model, it stated .26 mm. I went to the manufacturer's website and it stated .22mm horizontal and .22mm vertical. So I did the math.

.22 squared +.22 squared = .26 squared

Also read the reviews on the monitors to see which ones have the best performance.

Saturday, June 9, 2007

CD-ROM

The storage capacity of most CD-ROMs is about 650Mb of data. Originally CD-ROMS were read only devices, but now read/write technology has been developed.

Interface

Many CD-ROMs are interface to the computer using the ATAPI interface. This is ATA Packet Interface which is a IDE interface. This is designed for extra drives like CD-ROM's and tape drives that connect to an ATA connector. The ATAPI interface is the standard interface for IDE controlled CD-ROMS. If your CD-ROM uses an a ATAPI interface, it should be supported by all available software. If you are using a SCSI controller, you should probably use a SCSI CD-ROM. There are two primary types of CD-ROMs today.

  1. Read only
  2. Read and Write CD-ROM

These are primarily available as an internally mounted drive, but can also be purchased as an external device. There are some CD-ROM drives that interface through the parallel printer port.

Speed

The primary performance concern of CD-ROM drives is their speed. Speeds are expressed in terms of 1X, 2X, 4X, which is the number of times the drive is than the standard CD-ROM reader. Of the read only type, speeds have exceeded 50X. CD-ROMS of up to 40X speeds and beyond can be purchased today for a reasonably low price.

The read/write type of CD-ROM speeds are expressed with three values. They are read, write, and rewrite. Current speeds of these devices are 32X, 10X, 4X. Currently 32X by 8X by 4X are priced reasonably at around $220. This compares to a 40X read CD-ROM drive at around $30-40. Therefore we recommend you do not rely upon your read/write CD-ROM drive for reading normal CDs especially where playing games in concerned. You could wear out your expensive CD-ROM performing read operations which costs a great deal more than a read only CD-ROM!

Friday, June 8, 2007

Hard Drive

Hard disks, ATA and SATA

I am now finally going to describe the ATA interface, which has been mentioned several times earlier in the guide. The ATA interface is used for hard disks (as in Fig. 20, and the motherboard’s ATA controller is built into the chipset’s south bridge, as shown in Fig. 195.

We have also seen, that ATA devices use bus mastering to exchange data directly with RAM. But what does this interface actually consist of? And why do new standards for hard disks keep coming out? We are going to look at that now.

History of the hard disk

It is critical that we have a place to save our programs and data when the PC is switched off. Otherwise it is useless. Twenty years ago, diskettes were used, but their capacity is very limited.

Right back in 1957, IBM introduced the first “fixed disk storage”. It was a big thing with 50 disks that were 24 inches in diameter. This very early hard disk had a capacity of 5 MB – a huge storage space at the time, which cost $35,000 a year to lease. One of IBM’s models was called the 3030, and in the weapons-conscious USA, this led to the hard disk being given the nickname, Winchester disk (a Winchester 3030 was a popular rifle) – a nickname that was also used in Europe for many years.

The first computer with a hard disk was IBM’s RAMAC, which was used during the 1960 Olympics to calculate sports results. A bit later, in 1962, removable disk packs were developed – a forerunner of the floppy disk. In 1964, the CRC algorithm was introduced. It provided greater security by checking and comparing data before and after it was written to the disk. In 1971, the first 8-inch diskettes came onto the market.

But it wasn’t until the middle of the 1980’s that people began to use hard disks in more standard PC’s, and since then development has surged ahead. The capacity of a standard hard disk has actually become a thousand times greater in the period 1990-2000.

The standard user’s need for disk space (e.g. for digital photos, video and music) has grown in step with this, so that 120-250 GB of disk space or more is normal in many PC’s – a figure which will double over the next few years.

Hard disks are constantly being developed which have greater capacity and speed (the two go together, as we shall see), and there is therefore a constant need for new types of hard disk controllers. The companies leading the development are Maxtor, Western Digital, IBM/Hitachi and Seagate.

An SATA-hard disk (here 160 gigabytes). This is a standard product, which you can buy anywhere.

The physical disk

Hard disks consist of one or more magnetic plates mounted in a metal box. The standard size (as in Fig. 213) is about 10 x 14.5 x 2.5 cm, and such a device can contain hundreds of gigabytes of data. Inside the box, a number of glass or metal plates whir around at, for example, 5400 or 7200 revolutions per minute ­– these being the two most common speeds.

The read/write heads hover over the magnetic plates, and can transfer data at a tremendous speed:

One of the read/write heads, which can swing across the plates.

The actual read/write head is a tiny electromagnet. The magnet ends in a C-shaped head, the shape of which ensures that it virtually hovers above the magnetic plate. Under the read/write head are the disk tracks. These are thin rings packed with magnetic particles. These magnetic particles can be arranged in patterns of bits, which are translated into 0’s and 1’s by the electronics of the hard disk:

The data on the hard disk is created using electrical induction.

When the disk moves under the read/write head, it can either read the existing data or write new data to the disk:

If current is supplied to the coil, the head will become magnetic. This magnetism will reorganise the tiny magnetic bits in the track, so they represent new values. Thus data is written.

If the head is moved over the track without any current applied, it will gather up the magnetic pattern from the disk. This magnetism will induce current in the coil, and this “current” contains the track’s data, which is thus read.

A peek inside the hard disk reveals the magnetic plates, which have a diameter of 3½ inches.

The read/write heads are the most expensive part of the hard disk. When the disk is switched off, the heads are parked in a special area, so that they will not be damaged during transport. In Fig. 216, the cover has been removed from a hard disk, and you can see the uppermost arm with its read/write head.

Tracks and sectors

Each hard disk plate is divided into tracks. Each track is subdivided into a number of sectors, the disk’s smallest unit. A sector normally holds 512 bytes of data.

The individual files are written across a number of disk sectors (at least one), and this task is handled by the file system.

The file system is part of the operating system, which the disk has to formatted with. In Windows 98, the FAT32 file system is used. In Windows 2000/XP, you can also use NTFS. They are different systems for organising files and folder structures on the hard disk. You can read more about the file system in my guide, ”Do it yourself DOS”.


Hard disks are made of a number of disks, each side of which is divided into a large number of tracks. Each track contains numerous sectors, the smallest unit on a disk. In order to be able to use the sectors, the disk has to be formatted with a file system.

Hard disk development

New hard disk models are constantly being developed, and for each new generation, the capacity becomes greater. This is possible due to new read/write heads and magnetic plates which are more dense. When the magnetic density is increased, hard disks can be produced which have greater capacity for the same number of plates.

Another consequence of higher density is that the disks become faster, since they can transfer more data per rotation. There are simply more bits hidden in each track.

All hard disks have a certain amount of cache installed as 2 or 8 MB of fast RAM, which functions as a buffer. The cache helps ensure that the data gathered by the mechanics of the disk is optimally exploited.

The new and faster hard disks are always followed by new types of interface, since the controller principles have to be upgraded as well in order to handle the large amounts of data. At the time of writing, the fastest ATA interface is called ATA/133, but it is about to be replaced with Serial ATA (see Fig. 221).

The hard disk’s interface

The hard disk is managed by a controller built into the actual unit. This controller works together with a similar controller linked to the PC’s I/O bus (on the motherboard). I showed this setup in Fig. 20, in order to explain the concept of “interface”.

The interface’s job is to move data between the hard disk sectors and the I/O bus as fast as possible. It consists of:

  • A controller which controls the hard disk.
  • A controller which connects the hard disk to the motherboard.
  • A cable between the two controllers.
In the ”old days”, interfaces such as ST-506 and ESDI were used. The ATA (AT Attachment) interfaces are based on the IDE standard (Integrated Drive Electronics). The names, IDE and ATA are “owned” by Western Digital, but are used anyway in everyday language.

Cheap ATA disks with good performance. Prices from October 2004.

ATA was developed as a cheap, all-round interface, designed for the different types of drives.

Enhanced IDE

The IDE standard wasn’t especially fast, and couldn’t handle hard disks bigger than 528 MB. So the ATA standard came out in the mid-1990’s, and is still used today for cheap, high-performance, mass-produced hard disks. ATA is an enhanced edition of IDE, where the interface was moved from the ISA bus to the high-speed PCI bus. In principle, ATA (or parallel ATA) can be used for a number of different devices. The most common are:

  • Hard disks, CD-ROM/DVD drives and burners.
  • Other drives (such as the diskette formats, Zip and LS-120, etc.) and tape units

ATA was developed as a cheap, all-round interface, designed for the different types of drives.

Host controller with two channels

The ATA interface can be seen as a bus, which is managed by a host controller. Up to four devices can be connected per host controller, and the devices connect directly to the motherboard.

The slightly unusual thing about the ATA interface is that there are two channels, which can each have two devices connected. They are called the primary and secondary channels. If two devices are connected to one channel, they have to be configured as one master and one slave device:

The ATA system’s four channels.

These four channels are standard on today’s motherboards using parallel ATA. Motherboards typically have connectors for two ATA cables, which can each connect two devices (master and slave).

These rectangular, male ATA connectors are placed in a fairly accessible location, and are used to connect the ribbon cables which fit hard disks and CD/DVD drives.

This motherboard has an extra, built-in RAID controller, so there are four ATA connectors in total. Each one can handle two devices.

Transfer speeds and protocols

There are many ATA versions. The protocol has been changed over the years, but on the whole, the products are backward compatible.

This means that you can readily connect an old CD-ROM drive which uses the PIO 3 protocol, for example, to a modern motherboard with an ATA/133 controller. The drive just won’t be any quicker as a result. The shift from parallel ATA/133 to Serial ATA is more profound. Here we use a different type of controller and new cables.

The various protocols have different transfer speeds, as shown in the table below.

Protocol

Max. theoretical transfer rate

PIO 3

13.3 MB/second

PIO 4

16.6 MB/second

Ultra DMA (ATA/33)

33 MB/second

ATA/66

66 MB/second

ATA/100

100 MB/second

ATA/133

133 MB/second

SATA

150 MB/second

The various versions of the ATA standard.

The transfer speeds listed apply to the interface. Few hard disks can deliver more than 80 MB/second, but even so, it’s still good to have the fastest possible interface. If two hard disks are used on the same controller, or if disks with a large cache are used, there can be a need for big bandwidth for short periods.

With the ATA/66 standard, a new type of ATA cable was introduced. Hard disk cables normally have 40 conductors, but in the new version this is extended to 80, as each wire is balanced by a ground connection. This reduces electrical noise and allows for greater bandwidth.

ATA cables

Parallel ATA setup

If you build your own PC or upgrade it using a new hard disk or CD/DVD drive, it is important that you know the limitations of the parallel ATA system.

Modern motherboards can automatically recognize ATA devices. This means that, in principle, you can install your drive and start the PC, and it should work. You can follow the startup program while it “installs” the drive, as shown in Fig. 223, where two hard disks and CD burner are installed.

In the first four lines, the controller auto detects the four channels for connected devices. It then ”mounts” (configures) the two Maxtor hard disks on the primary channel, and finally the HP burner on the secondary channel. You can read this in the lines below:

The PC startup program automatically detects the three ATA devices.

Each ATA device has a small area containing jumpers which are used to set whether it is the master or slave device. If the startup is to proceed as painlessly as in Fig. 225, the jumpers have to set correctly on all devices, and of course the cables have to correctly connected.

Jumper to change between master and slave setting.

Multitasking and protocol limitations

The host controller has two main channels, which operate independently of each other. One could say that each channel has its own controller. This means that the two channels can multitask. For example, if you have one hard disk on each channel, you can read data from one disk, while writing data to the other disk at the same time. Both disks will operate independently.

But this is not the case if two disks are connected to the same ATA channel. They cannot multitask. Either the master is working, or the slave is working, but not both at the same time. It is therefore best to install two hard disks on separate channels if they have to work at the same time.

The two main channels (primary and secondary ATA) can each run their own protocol, but the master/slave channels cannot do this. If you install two devices which use different protocols on the same channel, you run the risk that the slowest device will determine the speed for the whole channel. The optimal solution, therefore, is to connect your hard disk as the master on, for example, the primary channel, without connecting a CD drive as a slave device.

Look at the following picture. The CD burner is sitting by itself on the secondary ATA channel (Secondary Master), and this is for the sake of the hard disks. The two hard disks have been placed on the primary channel, since they both use the same protocol (ATA/66 in this case). The device’s protocols can be seen on the right in the last two columns (PIO and UDMA mode):

The hard disks and CD burner are kept separate.

If you use all four ATA connections, it might look like this:

ATA connection

Device

Primary, master

Hard disk 1

Primary, slave

Hard disk 2

Secondary, master

CD ROM burner

Secondary, slave

DVD drive

All four ATA channels are being used.

A problem arises when you need to connect two hard disks, in addition to a CD/DVD drive or drives. This is not possible, without compromising on quality. The two hard disks have to placed on the same channel, since CD drives generally operate using a slower protocol. But this does not allow for the optimal utilisation of the hard disks – they should ideally have their own channel, all to themselves, for the sake of multitasking.

This is why motherboards with an extra built-in ATA RAID controller are much more preferable – with these you can install up to 8 ATA devices in the same PC (see Fig. 220. But if you ensure, right from the start, that you put a big hard disk in the PC, this helps.

Without a RAID controller it is difficult to get the best performance using more than two parallel ATA drives..

ATA RAID

The ATA interface can quickly become a bottleneck, as I have just described. I therefore warmly recommend using a motherboard with an extra built-in RAID controller. This doubles the number of possible devices. Many motherboards (like my own from Epox) have both a standard ATA device in the south bridge, and an extra controller (from HighPoint or Promise), and this provides much greater flexibility.

Another option is to buy and external RAID controller which can be mounted in an expansion slot. This will also allow for a further four ATA devices to be connected. For years I used the Fasttrack controller from Promise, which you can see in Fig. 170. If you look carefully you can see two ATA connectors at the top of the card.

Since the ATA limitations have become more pronounced in recent years, most motherboards today can be bought with an extra built-in RAID controller, and that’s the easiest solution.

An ATA-RAID controller which is integrated into the motherboard.

The RAID controller actually allows for striping of drives (see Fig. 206, but you may also simply use it as an extra ATA controller.

All four ATA devices have their own channel to work on, and that’s the optimal solution.

This way one can use two hard disks, which each have an ATA channel all to themselves. Just as the two optical drives each have their own channel also. Perfect! The hard disks run at full speed, and the CD drives have the optimal configuration.

SATA - Serial ATA

The old well-known, parallel ATA system is clumsy and in-flexible. The big ribbon cables take up to much room in the computer cabinet and they reduce the circulation of air. The cables have a fixed length and they make it difficult to mount the harddisks.

Furthermore the PATA-system with master/slave channels is difficult to work with, and the band width is limited.

The successor to the ATA system is called Serial ATA. Here we have an interface using small handy cables with only 7 wires in stead of the big 40/80-wired cables used in the Parallel ATA-interface.

Serial ATA is a high-speed serial interface in family with Ethernet, USB, FireWire and AMD's Hyper Transport. All these interfaces use a serial technology. They only have two channels: one receiving data and one transmitting them. This can be achieved with a very simple cabling. The data communication only requires 0,25 Volt compared to the 5 Volt of parallel ATA.

The connectors on the SATA hard disk.

The existing PATA system has a limit of 128 GB volume harddisks. This gave problems with the first 160 GB disks. The parallel system only operates with 28 bit data for addressing the disks. It can only adress 228 sectors. Since each sector on the hard disk holds 512 bytes of data, we have 228 times 512 bytes data, which is 128 GB.

To use bigger hard disks, the operating system has to address the sectors directly. In Windows XP this function is called 48 bit LBA, and is it has caused some troubles to have it work. Using Serial ATA, there are no problems with bigger hard disks.

More about Serial ATA:

  • 150 MB/sec. data transfer, initially. Later 300 and 600 MB/sec. in new versions of SATA. Here is room here for at least the next 5 years of development in the area of hard disk technology.
  • Hot-plugging. You do not have to close the PC to install or remove SATA disks.
  • More intelligence in the controller (SCSI-like).
  • No jumpers for master/slave.
  • 8 mm cable.
  • In-expensive manufacture and easy installation.

The controlling logic of Serial ATA is much more sophisticated (and SCSI-like) than in the traditional ATA interface. Serial ATA can process several commands at the same time and re-arrange them for better efficiency.

Cable for Serial ATA.

Some motherboards available in 2004 have SATA controllers based on a bridge. In reality it is just a converter, giving an old-fashioned PATA controller SATA functionality.

These boards take both parallel and serial ATA-disks. This sis great when you have old hard disks, you need to reuse with a new motherboard.

However, this bridged controller gives no room for better bandwidth. So to se better performance from the SATA hard disks, we need a new generation of motherboards without PATA-compatibility.

The small SATA connector is seen left to the bigger PATA-connector. This motherboard support both interfaces.

Thursday, June 7, 2007

Computer Memory

Packaging

Memory chips are called DIPs which stands for Dual Inline Packages. They are black chips with pins on both sides. Some say they look like black bugs. To make memory installation easier than it was in the past, these DIP chips were places on modules. There are two main module types that memory comes packaged on today.

  1. SIMM - Single Inline Memory Module. They may have DIPs on one or both sides and will have 30 or 72 pins. Today, they normally are available in the 72 pin size which supports a 32 bit data transfer between the microprocessor and the memory.
  2. DIMM - Double Inline Memory Module. The modules have 168 pins and support a 64 bit data transfer between the microprocessor and the memory. Synchronous Dynamic Access Memory (SDRAM) is the type of memory that is found on DIMM packages. The term SDRAM describes the memory type, and the term DIMM describes the package. These modules are available in 3.3 or 5 volt types and buffered or unbuffered memory. This allows four choices of DIMM types. You should check your motherboard manual to determine the type of memory required. You should be able to find this information on the motherboard manufacturers website before buying the motherboard. The most common choice for todays motherboards is 3.3 volt unbuffered DIMMs.
To install these packages, you press them into the socket on the motherboard and latch them in with a plastic latch on both sides. Normally as the memory module is pressed into place the latch will automatically latch the module in place. This is the essential knowledge required to understand enough to buy and install memory on your motherboard. The following sections give further technical details.

DRAM Access

DRAM memory is is accessed in chunks called cells. Every cell contains a certain number of bits or bytes. A row, column scheme is used to specify the section being accessed. The cells are arranged similar to the following table.

ROW 1, COL 1ROW 1, COL 2ROW 1, COL 3ROW 1, COL 4
ROW 2, COL 1ROW 2, COL 2ROW 2, COL 3ROW 2, COL 4
ROW 3, COL 1ROW 3, COL 2ROW 3, COL 3ROW 3, COL 4
ROW 4, COL 1ROW 4, COL 2ROW 4, COL 3ROW 4, COL 4

When the DRAM is accessed, the row, then the column address is specified. A page in memory is considered to be the memory available in the row.

Types of DRAM

The term DRAM stands for Dynamic Random Access Memory. There are three common types of DRAM today.

  1. FPM DRAM - Fast Page Mode DRAM. When the first memory access is done, the row or page of the memory is specified. Once this is done, FPO DRAM allows any other row of memory to be accessed without specifying the row number. This speeds up access time.
  2. EDO DRAM - Extended Data Out DRAM. This works like FPO DRAM but it holds the data valid even after strobe signals have gone inactive. This allows the microprocessor to request memory, and it does not need to wait for the memory to become valid. It can do other tasking, then come back later to get the data.
  3. SDRAM - Synchronized DRAM inputs and outputs its data synchronized to a clock that runs at some fraction of the microprocessor speed. SDRAM is the fastest of these three types of DRAM. There is a new SDRAM called DDR (Double Data Rate) SDRAM which allows data reads on both the rising and falling edge of the synchronized clock.
The summarised overview of different DRAM chips is shown in the table below:

TypeWhere Used Description and Facts
DRAM

Dynamic Random

Access Memory

Main System

Memory and

Video Memory

DRAM is the most common type of computer memory. DRAMs are used mostly in main memory systems. DRAM is volatile and slow, but inexpensive. DRAM is used for memory read and writes and the data must be refreshed after each transfer.
FPM DRAM

Fast Page Mode

DRAM

Main System

Memory and

Video Memory

FPM is also commonly used as the main system memory. As microprocessor speeds advanced, more memory throughput was required, resulting in the development of the Fast Page Mode DRAM. FPM DRAM is similar to regular DRAM but faster.
EDO RAM

Extended Data

Output RAM

Main System

Memory and

Video Memory

EDO is an improvement on the FPM design. Depending on the type of system and the software applications, EDO can provide approximately a 3% performance gain over FPM DRAM if a secondary (L2) cache is in the system, and approximately a 10% to 12% performance gain if the L2 cache is not present.
SDRAM

Synchronous DRAM

Main System

Memory and

Video Memory

Synchronous DRAM is a new memory with improved performance, simpler design, and faster transfer rates than standard DRAM.
SRAM

Static RAM

Cache Memory SRAM is an extremely fast device that does not require periodic refreshing. SRAM is used primarily in cache memories. SRAM is faster, bigger, and generates more heat than DRAM. It is also more expensive than DRAM.
EDRAM

Enhanced DRAM

Cache Memory EDRAM is positioned as a high-performance specialty memory that combines DRAM and SRAM caches on one chip.
VRAM

Video RAM

Video Memory VRAM, specialized RAM for video, offers higher performance than DRAM. VRAM is dual ported, which allows simultaneous reads and writes of data. It requires a larger package than DRAM, and is more expensive than DRAM, too.
WRAM

Windows RAM

Video Memory WRAM technology evolved from its predecessor, VRAM. Named after its ability to offer full-motion video, WRAM comes in a smaller package than VRAM. It has added intelligence that makes it perform up to 50% faster than VRAM.
RDRAM

RAMBUS DRAM

Video Memory Future generation of DRAM with performance increases of up to 20 fold over standard DRAM. With costs just over 10% of standard DRAM, it is gaining acceptance in the industry.


Another new type of DRAM is called RDRAM developed by Rambus, Inc. It uses a high bandwidth channel to transmit data at very high rates. It attempts to eliminate the time it takes to access memory. Synclink DRAM (SLDRAM) competes with RDRAM and uses 16 bank architecture rather than 4 along with other performance enhancing improvements.

Cache Memory

Cache memory is special memory that operates much faster than SDRAM memory. It is also more expensive. It would be impractical to use this memory for the entire system both for reasons of expense and physical board and bus channel design requirements. Cache memory lies between the microprocessor and the system RAM. It is used as a buffer to reduce the time of memory access. There are two levels to this memory called L1 (level 1) and L2 (level 2). The level 1 memory is a part of the microprocessor, and the level 2 memory is just outside the microprocessor.