Showing posts with label Motherboard. Show all posts
Showing posts with label Motherboard. Show all posts

Motherboard

Also known as a PWB or printed wiring board, it is the large circuit board found inside the computer. For all practical purposes, it is the computer. It contains the following items: chip set, data bus, address bus, expansion slots, clock, battery, and memory.

Motherboard

When you open the system unit, a large board containing a number of tiny electronic circuits and other components are visible. This is called the motherboard. All peripheral devices are connected to the motherboard. In an IBM PC, the motherboard is called the system board. The components of the motherboard are:

Representation of Characters

Before proceeding with the understanding of a microprocessor chip, it is necessary to understand as to how characters are represented in the computer. The term byte refers to a single character of storage. A byte is essentially a collection of 1s and Os representing a character.

One is familiar with the ten distinct decimal digits 0 to 9 commonly used in the decimal arithmetic system. The computers being electronic machines work better with just two signals (on/off) thus giving them only two distinct digits 1 (for on) and 0 (for off) to work with.

This inherent ease of working with two digits makes the computer amenable to binary arithmetic (as opposed to the decimal arithmetic that one is familiar with).

Hence, in the binary system used by computers, each number or character is represented in terms of the binary digits 1 and 0. Each of these binary digits is called a bit. A collection of 8 bits or a byte is used to represent a character in the computer.

The number of bits used to represent a character will determine the number of unique characters that can be represented.

If only 3 bits were used, there would be 8 (23) possible combinations of 1s and 0s. These are:

000,
001,
010,
011,
100,
101,
110,
111.

Each could represent a unique character in the computer. This would mean that 8 different characters can be represented using 3 bits. In a similar way, by using 8 bits, the PC can represent a larger set of characters (28).

As to which combination of 1s and 0s will represent which number (0-9) or character (A-Z, *, /... etc.) is decided by a representation scheme used by the computer. The most widely-used representation scheme is called ASCII.

A sample of the ASCII representation for some of the characters is shown in Table.

Character

ASCII Representation
60011                  0110
70011                  0111
  
A0100                  0001
B0100                  0010
  

ASCII Representation

Microprocessor

The entire design of the PC is based on the microprocessor chip. The microprocessor can take in data, perform arithmetic operations like addition, subtraction, division or multiplication on the data and send out the result. It also performs comparison operations on data to check if they are equal, or if one is greater than the other. It also has the ability to perform logical operations on data. The microprocessor controls the activities of the various components of the computer and also responds to requests from the peripheral devices; for example, printer signals indicating that it has run out of paper.

Intel Microprocessor 4004

The microprocessor consists of the Arithmetic-logic unit (ALU), the Control Unit and some special purpose storage areas called Registers. The ALU section is where the actual arithmetic and logic instructions are executed. During its ALU operations, the microprocessor holds its intermediate results in special purpose registers. These registers are storage areas which are physically a part of the microprocessor chip. These are not accessible to the programmer.

The control section makes available to the ALU, the requisite data that it needs to work upon. It does this by keeping track of the next instruction to be executed and the address of the data referred to by this instruction. The control also uses some of the special purpose registers of the processor to hold the next instruction and the data addresses.

There are many types of microprocessors available in the market that are manufactured by different companies like Intel, Advanced Micro Devices, Motorola, etc. The most widely-used are the range of Intel microprocessors. The microprocessors in the family of Intel processors are the Intel 8004, 8085, 8086, 8088, 80286, 80386, 80486 and the Pentium. The Pentium is the most powerful microprocessor from Intel.

The capacity of a microprocessor is measured in terms of the number of bits it can send or receive and the number of bits it can process internally. The 8088 is an 8/16 bit processor, indicating that it can send or receive 8 bits of data and internally process 16 bits of data at a time. The 80286 is a 16/16 bit processor. Thus, it is a true 16 bit processor and is faster than the Intel 8088 chip. Also, the 80286 can work in two different modes: the real and the protected. When working in the real mode, the 80286 works just like the 8088. In the protected mode, the 80286 makes available many facilities that are not available on the 8088. For example, it provides features that allow more than one program or task to be executed simultaneously. The protection feature prevents one program from tampering with any part of the memory that does not belong to it.

The 80386 chip has a 32-bit processing capability with a 32-bit data path and, as a result, is much faster than either the 8088 or the 80286 chip. Like the 80286, it can also work in the protected mode.

The 80486 chip was introduced by Intel in late 1989 and for the next four years, enjoyed the distinction of being the best performing microprocessor in the Intel family. The Intel 80486, like the 80386, is a 32-bit processor. It has architectural enhancements, which makes it perform better than the 80386 chip.

The Pentium is a 32-bit processor with a 32-bit data path, and was introduced in 1993. It is three times faster than the 80486, and is considered the best in the Intel family.

Note: DOS is a 16-bit operating system and most applications that run under it are 16-bit applications, including Windows 3.1. Windows NT however, is a 32-bit operating system that runs 32-bit applications. To maintain a degree of compatibility, older 16-bit applications are also allowed to run on the 32-bit platform. But what is required today is not just better hardware that runs applications faster, but also better software that matches the changing hardware.

Interrupts

Although the processor executes the instructions in a specified sequence, it should be able to respond to adhoc requests for its attention, such as pressing keys on the keyboard, or the printer signaling that it has run out of paper, and take the appropriate action required.

This is done through interrupts. An interrupt signal makes the microprocessor respond to such adhoc requests, even though it is busy working on something else. However, the microprocessor stores the status of the current work being processed before it diverts itself to handle the interrupt request. The microprocessor stores this status, i.e. the next instruction that was to be executed and all the intermediate results generated etc. into an area of the memory called the stack and retrieves this status to continue processing after it has completed the handling of the interrupt request.

Clock Chip

The components in a computer are designed to operate in perfect synchronization. To do this, they need a time keeper. The clock chip provides the timing signal in the form of electronic pulses that are used by the computer components to set up a working pace. The chip generates a regular beat (like the ticking of a clock) and the operations of a computer are timed to this beat. It is like the baton held by the conductor in an orchestra, the rhythmic movements of which set the pace for the individual instruments of the orchestra to follow. The faster the rhythmic movements, the faster the speed at which the orchestra plays. Thus, a computer, that operates at higher clock speeds is faster. For its timing, the clock chip uses a quartz crystal like the one used in quartz watches.

Clock Chip

Clock Chip

Speed of Operation

The speed of a clock is measured in terms of frequency of pulses generated. The unit used for measuring this frequency is MHz (Mega Hertz). If the clock speed is 1 MHz, it means that the clock produces 1 million pulses per second. The clock speed of PCs ranges from a low of 16 MHz to a high of 200 MHz (used by the Pentium microprocessor). The clock speed is one way of measuring the speed of a computer.

Another unit for measuring the speed of a computer is MIPS (Million Instructions Per Second). It gives the number of instructions executed per second. The standard PC is rated to have a speed of 0.4 MIPS.

Memory

The internal memory of a PC is present on the Motherboard in the form of chips. The computer uses two types of internal memory:

Random Access Memory (RAM)

Random Access Memory (RAM)

This is the memory that the computer uses for storing the programs and their data while working on them. So, if you are drafting a letter using a wordprocessor, say MS-Word, you are working with a document loaded into the RAM. To store your letter for later use, it has to be saved on the hard disk. Later, you can retrieve it from the disk and continue working on the document. Thus, RAM functions as a scratch pad for the computer and is sometimes called the scratch pad memory.

RAM has the following characteristics:

  • Data within the RAM can be read or modified, i.e. you can either read from the RAM or write onto it. Hence it is called read/write memory.
  • The contents of the RAM are lost when the computer is switched off. Hence, the RAM is said to be volatile.

The capacity of RAM can vary from 640 KB to 64 MB and more, depending on the number of memory chips installed, which in turn depends on the capacity the microprocessor can handle. The RAM size is an important parameter in determining the size and complexity of problems that a computer can handle. When people refer to the amount of memory that a computer has, they are talking about the amount of RAM available.

Read Only Memory (ROM)

Read Only Memory (ROM)

Another portion of the internal memory found on the motherboard is called ROM. The ROM contains permanently recorded instructions that are vital for starting up a computer. One set of instructions found in ROM is called the ROM-BIOS, that stands for Read-Only Memory Basic Input-Output Services. These programs perform the most basic control and supervisory operations for the computer. For example, they check whether the I/O devices have been connected properly to the system unit. They also handle the basic needs of the hardware involved, which include all input and output devices. Any set of programs residing in ROM is called firmware.

Instructions in ROM can be executed but cannot be changed and hence the name Read-Only Memory. Further, these instructions are not erased when the power goes off. Therefore, ROM is said to be nonvolatile.

Note: In recent years, PCs have become increasingly memory-hungry, and the minimum desirable memory seems to go up every year. Now, 8 MB of memory is no longer considered large; it is the minimum required in most situations. Windows 3.1, for example, can function with 4 MB of RAM. However, it will spend a vast amount of time swapping data to disk unless you have a minimum of 8 MB of RAM.

Bus

As stated earlier, the microprocessor works on the data stored in RAM. Further, to execute the instructions stored in ROM, it has to fetch these instructions into RAM. Communication between the microprocessor and the memory chips as well as other chips found on the motherboard is accomplished through a set of wires running between them. These are called the bus. The bus comprising a set of 8 wires for carrying data is called the data bus. When data is sent from one unit to another, the address (location in memory at which the data is stored) is also sent with the data.

The bus has a set of 20 wires (in an 8088-based system) for carrying these addresses. This type of bus is called the address bus.

Ports

All input and output devices like the keyboard, the printer and the mouse are connected to the system unit through ports. These ports are actually the inlets and outlets of the microprocessor. The microprocessor communicates with the outside world through them. These ports can be either serial or parallel. To transfer a byte through a serial port, eight bits are queued and sent bit by bit. However, in a parallel port, all the eight bits are transferred simultaneously.

If all PC components were made by the same manufacturer, there would be no problems in connecting the input and output devices to the system unit. But this is not always the case, and each manufacturer follows a different standard for transferring data. Thus, you may not be able to connect a brand X monitor to a brand W computer. The solution to this problem lies in standardizing the way data is transferred.

Serial Port Standard

The industry standard for serial transfer of data is the RS-232C port. This standard defines the various parameters for data transfer, one of them being the speed of transfer. A mouse, for example, uses RS-232C port for communicating with the CPU.

Parallel Port Standard

An industry acknowledged parallel port standard is the Centronics printer interface developed by the makers of the Centronics printers. Printers normally use this standard.