Chapter 3 Igcse Hardware
Chapter 3 Igcse Hardware
HARDWARE
CPU
Has the responsibility for execution or processing of all instructions and data in computer application
Consists of :
Von-neumann architecture
Main feature :
o CPU
o CPU able to access memory directly
o Comp memory store programs + data
o Stored programs instructions executed in sequential order
COMPONENTS OF CPU
RAM holds all data and programs needed to be accessed by CPU. Referred as immediate
access store (IAS). CPU takes data and programs held in backing store and puts in RAM
temporarily.
Why? – read/write operations by RAM are faster than read/write operations to backing
store.
Any key data needed by an application is stored temporarily in RAM to speed up
operations.
REGISTERS
Can be general or special purpose
Special purpose registers :
o Current instruction register (CIR) stores current instruction being decoded and executed
o Accumulator (ACC) used when carrying out ALU calcs. Stores data temporarily during calcs.
o Memory address register (MAR) stores address of memory location currently being read
from or written to
o memory data register/ buffer register (MDR) stores data just been read from memory or
data which is about to be written to memory
o program counter (PC) stores addresses where the next instruction to be read can be found.
MEMORY
Made of number of partitions. Each partition consists of an address and its contents.
Address uniquely identifies every location in memory and contents will be binary value stored in
each location.
READ OPERATION
Address bus
- Unidirectional
- CPU to memory
- Width of the bus is imp as wider bus, more memory locations directly accessed at the same
time
Data bus
- Bidirectional
- CPU to memory and vice versa
- Input to output devices
- Width of the bus : wider bus larger word length (improves computers overall
performance)
(word : grp of bits regarded as single unit)
Control bus
- Bidirectional
- Carries signals from CU (control unit) to all other comp components.
- Usually 8 bits wide
- Wider bus wont affect since only carries control signals.
Carrying out set of instructions require CPU to fetch data and instructions from memory and storing
them in suitable registers.
Address and data bus used.
Fetch
Next instruction fetched from memory address currently stored in MAR and instruction is stored in
MDR
Decode
Execute
CPU passes the decoded instruction as set of control signals to appropriate components in comp
system. allows each instruction to be carried out in its logical sequence.
Clock defines the clock cycle that synchronises all computer operations
Control bus transmits timing signals ensuring full synchronization. Increasing the clock speed
increases processing speed of computer.
Computers overall performance isn’t increased by a higher clock speed, only speed of computer.
BENEFITS :
DRAWBACKS :
Difficult to upgrade
Troubleshooting faults
More confusing interface
Any device accessed over internet open for hackers
Difficult in upgrading and fault finding – devices thrown away
Increase in ‘throw away’ society, devices discarded bcz out-of-date
EXAMPLES
- Motor vehicles
- Set up box
- Security system
- Washing machines
INPUT AND OUTPUT DEVICES
INPUT DEVICES
Barcode scanner
- series of dark and light parallel lines of varying thickness
- each digit made up of 2 dark and 2 light lines
- width representing each digit is the same
1. Barcode read by red laser/red LED
2. Light reflected back off barcode (dark –reflect less/0 light, allowing bars to be read)
3. Reflected light read by sensors (photo electric cells)
4. Pattern generated, converting into digital data
Keypad
Monitor/screen
Speaker
Printer
Card reader
Touchscreen
Keyboard
Most common method for data entry
Connected to comp by USB or wireless connection
Tablet or mobile phone – virtual or touch screen technology
Each character has an ASCII value
Each character pressed converted to digital signal – comp interprets
Slow method + prone to errors
Frequent use leads to injuries – repetitive strain injury (RSI)
1. Membrane or circuit in base of key
2. Key pressed completes the circuit
3. CPU determine which key pressed
4. CPU refers to index files to identify which character key press represents
5. Each character on keyboard has corresponding ASCII value
Microphone
Built in comp or external device connected thru USB or Bluetooth
Current produced is converted to digital format so comp process it or store it
BENEFITS :
2D scanner
1. Cover raised
2. Document placed on glass panel
3. Cover closed
4. Bright light illuminates document (xenon lamp or LED producing brig ht white light)
5. Scan head moves across document until whole page scanned
6. Image of document produced which is sent to lens using mirrors
7. Lens focuses document image
8. Focused image now falls onto charge couple device (CCD)
9. CCD converts light to electric current
10. CCD made of 1000 of light sensitive elements (or pixels)which creates electric charge when
light falls. Meaning scanned image now turned electronic form
Equipped with optical character recognition (OCR), allowing scanned text to convert into text file
format
APPLICATIONS :
airport scanning passport
3D scanner
APPLICATION :
2 main types :
- Surface
- Projective
Surface : sensor placed at corner of screen
Small voltage applied at corners creating electric field.
Finger touching screen surface draw current from each corner reducing capacitance
Microcontroller measures decrease in capacitance and determines point of contact.
Only works with bare fingers/stylus
Projective : transparent conductive layer form X-Y matrix pattern
Creates 3D electrostatic field
When finger touch screen, 3D electrostatic field disturbed allowing microcontroller to
determine coordinates of contact
Works with bare fingers, stylus and thin surgical/cotton gloves.
Allows multi-touch facility
----------------------------------------ADVANTAGES----------------------------------------
- Better image clarity than resistive, in strong sunlight
- Very durable screens that have high scratch resistance
- Projective capacitive screens allow multitouch
----------------------------------------DISADVANTAGES----------------------------------------
- Surface capacitive screens only work with bare finger/stylus
- Sensitive to electromagnetic radiation (magnetic fields or microwaves)
Microcontroller converts voltage (created by two resisitve layers) to digital data sending it to
microprocessor
------------------------ADVANTAGE--------------------
- Good resistance to dust and water
- Used with bare fingers, stylus and gloved hand
----------------------DISADVANTAGE----------------
- Low touch sensitivity
- Doesn’t support multi-touch facility
- Poor visibility in strong sunlight
- Vulnerable to scratches on screen
OUTPUT DEVICES
- ACTUATORS
Solenoid converts electrical signal into magnetic field producing linear mo tion
High intensity beam of light passes thru an LCD display and onto screen
2 different techniques :
1. Thermal bubble : tiny resistors create localized heat ink vaporize ink form tiny bubble
bubble expand ink ejected from print head to paper bubble collapses, small vacuum
is created allowing fresh ink to be drawn
2. Piezoelectric : crystal located at back of ink reservoir for each nozzle. Crystal given tiny
electric charge vibrate forces ink to be ejected onto paper more ink drawn for
further printing
PROCESS:
LASER PRINTER
PROCESS:
APPLICATIONS
INKJET – printing one-off photos/ good quality, color printing required. Small ink cartridges and
small paper trays
LASER – produce high quality printouts and fast for multiple copies. High volume printing (color
and monochrome), has large toner and large paper tray
- 3D PRINTERS
Produce solid objects actually working
Built up layer by layer by powdered resin, powdered metal, paper or ceramic
Techonology -> binder 3D printing
FEATURES:
- Various types, range from size of microwave to small car
- Use addictive manufacturing (layer by layer)
- Direct 3D printing uses inkjet technology
- Binder 3D printing similer to direct 3D printing, uses two passes for each layer, 1 st sprays dry
powder and second a binder is sprayed
- New tech uses lasers and UV light to harden liquid polymers, increases the diversity of
products being made
STEPS :
1. Design made using comp aided design (CAD) software
2. Finalized drawing imported to specual software preparing correct format
3. Printer set up to allow solid object to be made
4. Solid object built layer by layer, taking several hours depending on thickness of layer,
material used, size of final object
5. Object removed from printer and prepared for use of jelly-like support needed to be
washed away by immersion of water or removal of excess plastic powder, cutting away
of unused material left to cure for hours
APPLICATIONS :
Use organic materials (carbon compounds) to create semi-conductors that are flexible
Films sandwiched between two charged electrodes (one – metallic cathode and other – glass anode)
Electric field applied to electrodes, giving off light. No more backlighting required
1. Electric current flows through coil of wire wrapped around iron core
2. Core becomes temporary electromagnet
3. A permanent magnet positioned very close to the electromagnet
4. Electric current in coil varies, induced magnetic field in iron core also varies
5. Causing iron core to be attracted towards permanent magnet
6. As current varies, iron core vibrates
7. As iron core attached to cone, cone vibrates, producing sound waves
SENSORS
Input devices which read or measure physical properties from surroundings
Real data is analogue (Constantly changing)
Analogue data needs some form of interpretation by user
Data needs to be converted to digital format in order to be understood
Done by ADC (analogue to digital converter)
- Security systems
CONTROLLING APPLICATIONS:
- Street lights
- Central heating systems
DATA STORAGE
(primary) Memory – internal devices used to store data that computer can access directly
temporarily stored.
Storage devices allow users to store applications, data and files. Permanently stored.
Storage needs to be larger than internal memory.
Also needs to be removable to allow data to be transferred between computers. Also allow
data to be stored in different location in case of data loss.
PRIMARY MEMORY
Computer memory directly accessed from CPU
- RAM (random access memory)
- ROM (read only memory)
Allows CPU to access applications and services temporarily stored in memory locations.
RAM
Any memory location can be accessed independent of which memory location was last used.
- Dielectric coating separates both transistors, allowing floating gate to retain charge
(memory non volatile)
- Floating gate transistor has value 1 when charged and 0 when isn’t
- Programing ‘intersection cells’ voltage applied to control gate and electrons from
electron source are attracted, due to dielectric coating, electrons trapped in floatin
gate
- After 12 hours, charge can leak away. SSD used atleast once a year to retain memory
- BENEFITS :
o More reliable
o Considerable lighter
o Don’t get up to speed before working properly
o Lower power consumption
o Run cooler than HDD
o No moving parts thin
o Data access is faster than HDD
- DRAWBACK : longevity. SSD endurance: total guaranteed number of times data can
be written to or read from a solid state drive in usable life cycle
- Memory sticks/ flash memories
- Connect to computer using USB port.
- Use SSD tech
- Small, lightweight
- Suitable for transferring files
- Small backup devices for music/photo
- Complex/expensive software use as dongle – contains additional files needed to run
software
- Dongle prevents illegal or unauthorized use of software and copying of software as
without dongle, its useless.
OPTICAL MEDIA
- Cd/dvd disks
- Optical storage devices
- Laser light used to read and write data to and from surface of disk
- Use thin layer of metal alloy or light-sensitive organic dye to store data
- Both use single, spiral track running from centre of disk to edge
- Disk spin, optical head moves to point where laser beam contacts disk surface and
follows spiral track from centre outward
- Divided in sectors, direct
access of data
- Outer part of disk runs
fasrer than inner part
- Data stored in ‘pits’ and
‘lands’ on spiral track
- Red laser used to read
and write data
- Diff between CD and DVD dual-layering in DVD, increasing storage capacity.
- DVD have large storage capacity than CD as pit size and track width are smaller
- Shorter the wavelength of laser light, greater the storage capacity of the medium
-
- Blu-ray discs
- Difference from DVD as :
o Blue laser, not red
o Pits and lands much smaller
o Same thickness
o Automatically come with secure encryption system preventing piracy and
copyright infringement
o Data transfer rate is higher
- Comparison of capacity and interactivity of blu-ray and DVD
o Dual layer DVD – 4.7 Gb and 2 hour standard definition movie
o Single layer blu-ray – 27GB and 2 hour high definition movie or 13 hour
standard definition movie
o Dual layer blu-ray – 50 GB and 4.5 hiours of high definition movies or 20
hours of standard definition movie
- Record high definition tv programs
- Skip quickly to any part of disc
- Create playlists of recorded movies and