You are on page 1of 15

The Computer

a computer system is made up of various elements


chapter 2
each of these elements affects the interaction
– input devices – text entry and pointing

the computer – output devices – screen (small&large), digital paper


– virtual reality – special interaction and display devices
– physical interaction – e.g. sound, haptic, bio-sensing
– paper – as output (print) and input (scan)
– memory – RAM & permanent media, capacity & access
– processing – speed of processing, networks

Interacting with computers A ‘typical’ computer system

to understand human–computer interaction


? • screen, or monitor, on which there are windows
• keyboard
… need to understand computers! • mouse/trackpad
window 1

window 2
• variations
what goes in and out – desktop
devices, paper,
– laptop
sensors, etc.
– PDA
12-37pm

the devices dictate the styles of interaction that the system


supports
what can it do?
memory, processing, If we use different devices, then the interface will support a
networks different style of interaction

How many … How many computers …

• computers in your house? in your house? in your pockets?


– hands up, … – PC – PDA
… none, 1, 2 , 3, more!! – TV, VCR, DVD, HiFi, – phone, camera
cable/satellite TV – smart card, card with
– microwave, cooker, magnetic strip?
• computers in your pockets? washing machine – electronic car key
– central heating – USB memory
– security system
are you thinking …
try your pockets and
… PC, laptop, PDA ?? can you think of more? bags

1
Interactivity? Richer interaction

Long ago in a galaxy far away … batch processing


– punched card stacks or large data files prepared
– long wait ….
– line printer output
… and if it is not right …

Now most computing is interactive


– rapid feedback
– the user in control (most of the time)
– doing rather than thinking … sensors
and devices
Is faster always better?
everywhere

Keyboards

• Most common text input device


• Allows rapid entry of text by experienced users
text entry devices
• Keypress closes connection, causing a
character code to be sent
keyboards (QWERTY et al.) • Usually connected by cable, but can be
chord keyboards, phone pads wireless
handwriting, speech

layout – QWERTY QWERTY (ctd)

• Standardised layout
but …
– non-alphanumeric keys are placed differently
– accented symbols needed for different scripts 1 2 3 4 5 6 7 8 9 0
– minor differences between UK and USA keyboards Q W E R T Y U I O P
A S D F G H J K L
• QWERTY arrangement not optimal for typing Z X C V B N M , .
– layout to prevent typewriters jamming!
SPACE
• Alternative designs allow faster typing but large social
base of QWERTY typists produces reluctance to change.

2
alternative keyboard layouts special keyboards

Alphabetic • designs to reduce fatigue for RSI


– keys arranged in alphabetic order
– not faster for trained typists • for one handed use
– not faster for beginners either!
e.g. the Maltron left-handed keyboard

Dvorak
– common letters under dominant fingers
– biased towards right hand
– common combinations of letters alternate between hands
– 10-15% improvement in speed and reduction in fatigue
– But - large social base of QWERTY typists produce market
pressures not to change

Chord keyboards phone pad and T9 entry


only a few keys - four or 5 • use numeric keys with
letters typed as combination of keypresses multiple presses
2 –abc 6
-mno
compact size
3 -def 7
-pqrs
– ideal for portable applications 4 -ghi 8
-tuv
short learning time 5 -jkl 9
-wxyz
– keypresses reflect letter shape hello = 4433555[pause]555666
fast surprisingly fast!
– once you have trained
• T9 predictive entry
– type as if single key for each letter
– use dictionary to ‘guess’ the right word
BUT - social resistance, plus fatigue after extended use
– hello = 43556 …
NEW – niche market for some wearables
– but 26 -> menu ‘am’ or ‘an’

Handwriting recognition Speech recognition

• Text can be input into the computer, using a • Improving rapidly


pen and a digesting tablet
– natural interaction • Most successful when:
– single user – initial training and learns peculiarities
• Technical problems: – limited vocabulary systems
– capturing all useful information - stroke path,
pressure, etc. in a natural manner • Problems with
– segmenting joined up writing into individual letters
– external noise interfering
– interpreting individual letters
– imprecision of pronunciation
– coping with different styles of handwriting
– large vocabularies
• Used in PDAs, and tablet computers … – different speakers
… leave the keyboard on the desk!

3
Numeric keypads

• for entering numbers quickly:


– calculator, PC keyboard
• for telephones
positioning, pointing and drawing
1 2 3 7 8 9
not the same!! 4 5 6 4 5 6 mouse, touchpad
7 8 9 1 2 3 trackballs, joysticks etc.
ATM like phone . touch screens, tablets
* 0 # 0 =
eyegaze, cursors
telephone calculator

the Mouse the mouse (ctd)

• Handheld pointing device Mouse located on desktop


– requires physical space
– very common – no arm fatigue
– easy to use

Relative movement only is detectable.


• Two characteristics Movement of mouse moves screen cursor
– planar movement Screen cursor oriented in (x, y) plane,
mouse movement in (x, z) plane …
– buttons
(usually from 1 to 3 buttons on top, used for … an indirect manipulation device.
making a selection, indicating an option, or to – device itself doesn’t obscure screen, is accurate and fast.
initiate drawing etc.) – hand-eye coordination problems for novice users

How does it work? Even by foot …

Two methods for detecting motion • some experiments with the footmouse
• Mechanical – controlling mouse movement with feet …
– Ball on underside of mouse turns as mouse is moved – not very common :-)
– Rotates orthogonal potentiometers
– Can be used on almost any flat surface
• but foot controls are common elsewhere:
• Optical – car pedals
– light emitting diode on underside of mouse
– sewing machine speed control
– may use special grid-like pad or just on desk
– less susceptible to dust and dirt
– organ and piano pedals
– detects fluctuating alterations in reflected light intensity to
calculate relative motion in (x, z) plane

4
Touchpad Trackball and thumbwheels

• small touch sensitive tablets Trackball


• ‘stroke’ to move mouse pointer – ball is rotated inside static housing
• like an upsdie down mouse!
• used mainly in laptop computers
– relative motion moves cursor
– indirect device, fairly accurate
• good ‘acceleration’ settings important
– separate buttons for picking
– fast stroke
– very fast for gaming
• lots of pixels per inch moved
• initial movement to the target – used in some portable and notebook computers.
– slow stroke
Thumbwheels …
• less pixels per inch
• for accurate positioning
– for accurate CAD – two dials for X-Y cursor position
– for fast scrolling – single dial on mouse

Joystick and keyboard nipple Touch-sensitive screen

Joystick • Detect the presence of finger or stylus on the screen.


– works by interrupting matrix of light beams, capacitance changes
– indirect or ultrasonic reflections
pressure of stick = velocity of movement – direct pointing device
– buttons for selection • Advantages:
on top or on front like a trigger – fast, and requires no specialised pointer
– often used for computer games – good for menu selection
aircraft controls and 3D navigation – suitable for use in hostile environment: clean and safe from
damage.

• Disadvantages:
Keyboard nipple – finger can mark screen
– for laptop computers – imprecise (finger is a fairly blunt instrument!)
• difficult to select small regions or perform accurate drawing
– miniature joystick in the middle of the keyboard
– lifting arm can be tiring

Stylus and light pen Digitizing tablet

Stylus • Mouse like-device with cross hairs


– small pen-like pointer to draw directly on screen
– may use touch sensitive surface or magnetic detection
– used in PDA, tablets PCs and drawing tables • used on special surface
- rather like stylus
Light Pen
– now rarely used
– uses light from screen to detect location • very accurate
- used for digitizing maps
BOTH …
– very direct and obvious to use
– but can obscure screen

5
Eyegaze Cursor keys

• control interface by eye gaze direction • Four keys (up, down, left, right) on keyboard.
– e.g. look at a menu item to select it • Very, very cheap, but slow.
• uses laser beam reflected off retina • Useful for not much more than basic motion for text-
– … a very low power laser! editing tasks.
• mainly used for evaluation (ch x) • No standardised layout, but inverted “T”, most common

• potential for hands-free control


• high accuracy requires headset
• cheaper and lower accuracy devices available
sit under the screen like a small webcam

Discrete positioning controls

• in phones, TV controls etc.


– cursor pads or mini-joysticks
display devices
– discrete left-right, up-down
– mainly for menu selection
bitmap screens (CRT & LCD)
large & situated displays
digital paper

bitmap displays resolution and colour depth

• screen is vast number of coloured dots • Resolution … used (inconsistently) for


– number of pixels on screen (width x height)
• e.g. SVGA 1024 x 768, PDA perhaps 240x400
– density of pixels (in pixels or dots per inch - dpi)
• typically between 72 and 96 dpi
• Aspect ratio
– ration between width and height
– 4:3 for most screens, 16:9 for wide-screen TV
• Colour depth:
– how many different colours for each pixel?
– black/white or greys only
– 256 from a pallete
– 8 bits each for red/green/blue = millions of colours

6
anti-aliasing Cathode ray tube

Jaggies • Stream of electrons emitted from electron gun, focused


– diagonal lines that have discontinuities in due to horizontal and directed by magnetic fields, hit phosphor-coated
raster scan process. screen which glows
• used in TVs and computer monitors
Anti-aliasing
– softens edges by using shades of line colour
electron beam
– also used for text
electron gun

focussing and
deflection

phosphor-
coated screen

Health hazards of CRT ! Health hints …


• X-rays: largely absorbed by screen (but not at rear!) • do not sit too close to the screen
• UV- and IR-radiation from phosphors: insignificant • do not use very small fonts
levels
• Radio frequency emissions, plus ultrasound (~16kHz) • do not look at the screen for long periods
• Electrostatic field - leaks out through tube to user. without a break
Intensity dependant on distance and humidity. Can • do not place the screen directly in front of a
cause rashes. bright window
• Electromagnetic fields (50Hz-0.5MHz). Create induction
currents in conductive materials, including the human
• work in well-lit surroundings
body. Two types of effects attributed to this: visual
system - high incidence of cataracts in VDU operators,
 Take extra care if pregnant.
and concern over reproductive disorders (miscarriages
and birth defects). but also posture, ergonomics, stress

Liquid crystal displays special displays


• Smaller, lighter, and … no radiation problems. Random Scan (Directed-beam refresh, vector display)
– draw the lines to be displayed directly
• Found on PDAs, portables and notebooks, – no jaggies
… and increasingly on desktop and even for home TV
– lines need to be constantly redrawn
• also used in dedicted displays: – rarely used except in special instruments
digital watches, mobile phones, HiFi controls

• How it works … Direct view storage tube (DVST)


– Top plate transparent and polarised, bottom plate reflecting. – Similar to random scan but persistent => no flicker
– Light passes through top plate and crystal, and reflects back to – Can be incrementally updated but not selectively erased
eye.
– Used in analogue storage oscilloscopes
– Voltage applied to crystal changes polarisation and hence colour
– N.B. light reflected not emitted => less eye strain

7
large displays situated displays

• used for meetings, lectures, etc. • displays in ‘public’ places


– large or small
• technology – very public or for small group
plasma – usually wide screen
• display only
video walls – lots of small screens together – for information relevant to location
projected – RGB lights or LCD projector • or interactive
– hand/body obscures screen – use stylus, touch sensitive screem
– may be solved by 2 projectors + clever software
• in all cases … the location matters
back-projected – meaning of information or interaction is related to
– frosted glass + projector behind the location

Hermes a situated display Digital paper


appearance

• small displays beside office doors • what?


– thin flexible sheets
• handwritten notes left using stylus
small displays – updated electronically cross
•beside
office owner reads notes using web interface – but retain display
section

office doors
• how?
– small spheres turned
– or channels with coloured liquid
and contrasting spheres
– rapidly developing area
handwritten
office owner
notes left
reads notes
using stylus
using web interface

positioning in 3D space

• cockpit and virtual controls


– steering wheels, knobs and dials … just like real!
virtual reality and 3D interaction • the 3D mouse
– six-degrees of movement: x, y, z + roll, pitch, yaw
• data glove
– fibre optics used to detect finger position
positioning in 3D space
• VR helmets
moving and grasping – detect head motion and possibly eye gaze
seeing 3D (helmets and caves) • whole body tracking
– accelerometers strapped to limbs or reflective dots
and video processing

8
pitch, yaw and roll 3D displays

yaw • desktop VR
– ordinary screen, mouse or keyboard control
– perspective and motion give 3D effect
• seeing in 3D
– use stereoscopic vision
roll
pitch – VR helmets
– screen plus shuttered specs, etc.

also see extra slides on 3D vision

VR headsets VR motion sickness

• small TV screen for each eye • time delay


• slightly different angles – move head … lag … display moves
– conflict: head movement vs. eyes
• 3D effect
• depth perception
– headset gives different stereo distance
– but all focused in same plane
– conflict: eye angle vs. focus
• conflicting cues => sickness
– helps motivate improvements in technology

simulators and VR caves

• scenes projected on walls


• realistic environment physical controls, sensors etc.
• hydraulic rams!
• real controls
• other people special displays and gauges
sound, touch, feel, smell
physical controls
environmental and bio-sensing

9
dedicated displays Sounds

• analogue representations: • beeps, bongs, clonks, whistles and


– dials, gauges, lights, etc. whirrs

• digital displays:
– small LCD screens, LED lights, etc. • used for error indications

• head-up displays • confirmation of actions e.g. keyclick


– found in aircraft cockpits
– show most important controls
also see chapter 10
… depending on context

Touch, feel, smell BMW iDrive

• touch and feeling important • for controlling menus


– in games … vibration, force feedback • feel small ‘bumps’ for each item
– in simulation … feel of surgical instruments • makes it easier to select options by feel
– called haptic devices • uses haptic technology from Immersion Corp.

• texture, smell, taste


– current technology very limited

physical controls Environment and bio-sensing

• specialist controls needed … • sensors all around us


– industrial controls, consumer products, etc. – car courtesy light – small switch on door
– ultrasound detectors – security, washbasins
easy-clean – RFID security tags in shops
smooth buttons
– temperature, weight, location

multi-function • … and even our own bodies …


control – iris scanners, body temperature, heart rate,
large buttons
clear dials galvanic skin response, blink rate

tiny buttons

10
Printing

• image made from small dots


– allows any character set or graphic to be
paper: printing and scanning printed,
• critical features:
– resolution
print technology • size and spacing of the dots
• measured in dots per inch (dpi)
fonts, page description, WYSIWYG
– speed
scanning, OCR • usually measured in pages per minute
– cost!!

Types of dot-based printers Printing in the workplace


• dot-matrix printers • shop tills
– use inked ribbon (like a typewriter
– dot matrix
– line of pins that can strike the ribbon, dotting the paper.
– typical resolution 80-120 dpi – same print head used for several paper rolls
• ink-jet and bubble-jet printers – may also print cheques
– tiny blobs of ink sent from print head to paper
– typically 300 dpi or better . • thermal printers
• laser printer
– special heat-sensitive paper
– like photocopier: dots of electrostatic charge deposited on
drum, which picks up toner (black powder form of ink) – paper heated by pins makes a dot
rolled onto paper which is then fixed with heat – poor quality, but simple & low maintenance
– typically 600 dpi or better. – used in some fax machines

Fonts Fonts (ctd)

• Font – the particular style of text Pitch


Courier font – fixed-pitch – every character has the same width
Helvetica font e.g. Courier
Palatino font
Times Roman font – variable-pitched – some characters wider
•   (special symbol) e.g. Times Roman – compare the ‘i’ and the “m”

• Size of a font measured in points (1 pt about 1/72”) Serif or Sans-serif


(vaguely) related to its height – sans-serif – square-ended strokes
e.g. Helvetica
This is ten point Helvetica
This is twelve point
This is fourteen point
This is eighteen point – serif – with splayed ends (such as)
and this is twenty-four point e.g. Times Roman or Palatino

11
Readability of text Page Description Languages

• lowercase • Pages very complex


– different fonts, bitmaps, lines, digitised photos, etc.
– easy to read shape of words
• Can convert it all into a bitmap and send to the printer
• UPPERCASE … but often huge !
– better for individual letters and non-words
e.g. flight numbers: BA793 vs. ba793 • Alternatively Use a page description language
– sends a description of the page can be sent,
• serif fonts – instructions for curves, lines, text in different styles, etc.
– like a programming language for printing!
– helps your eye on long lines of printed text
• PostScript is the most common
– but sans serif often better on screen

Screen and page Scanners

• WYSIWYG • Take paper and convert it into a bitmap


– what you see is what you get • Two sorts of scanner
– aim of word processing, etc. – flat-bed: paper placed on a glass plate, whole page
• but … converted into bitmap
– screen: 72 dpi, landscape image – hand-held: scanner passed over paper, digitising strip
typically 3-4” wide
– print: 600+ dpi, portrait
• can try to make them similar • Shines light at paper and note intensity of reflection
– colour or greyscale
but never quite the same
• so … need different designs, graphics etc, for • Typical resolutions from 600–2400 dpi
screen and print

Scanners (ctd) Optical character recognition

Used in • OCR converts bitmap back into text


– desktop publishing for incorporating • different fonts
photographs and other images – create problems for simple “template
matching” algorithms
– document storage and retrieval systems,
doing away with paper storage – more complex systems segment text,
decompose it into lines and arcs, and
+ special scanners for slides and decipher characters that way
photographic negatives
• page format
– columns, pictures, headers and footers

12
Paper-based interaction

• paper usually regarded as output only


• can be input too – OCR, scanning, etc.
memory
• Xerox PaperWorks
– glyphs – small patterns of /\\//\\\
• used to identify forms etc.
• used with scanner and fax to control applications short term and long term
• more recently speed, capacity, compression
– papers micro printed - like wattermarks
• identify which sheet and where you are formats, access
– special ‘pen’ can read locations
• know where they are writing

Short-term Memory - RAM Long-term Memory - disks

• Random access memory (RAM) • magnetic disks


– on silicon chips – floppy disks store around 1.4 Mbytes
– 100 nano-second access time – hard disks typically 40 Gbytes to 100s of Gbytes
– usually volatile (lose information if power turned off) access time ~10ms, transfer rate 100kbytes/s
– data transferred at around 100 Mbytes/sec
• optical disks
– use lasers to read and sometimes write
• Some non-volatile RAM used to store basic
– more robust that magnetic media
set-up information
– CD-ROM
- same technology as home audio, ~ 600 Gbytes
• Typical desktop computers: – DVD - for AV applications, or very large files
64 to 256 Mbytes RAM

Blurring boundaries speed and capacity

• PDAs • what do the numbers mean?


– often use RAM for their main memory
• some sizes (all uncompressed) …
– this book, text only ~ 320,000 words, 2Mb
• Flash-Memory – the Bible ~ 4.5 Mbytes
– used in PDAs, cameras etc. – scanned page ~ 128 Mbytes
• (11x8 inches, 1200 dpi, 8bit greyscale)
– silicon based but persistent
– digital photo ~ 10 Mbytes
– plug-in USB devices for data transfer • (2–4 mega pixels, 24 bit colour)
– video ~ 10 Mbytes per second
• (512x512, 12 bit colour, 25 frames per sec)

13
virtual memory Compression

• Problem: • reduce amount of storage required


– running lots of programs + each program large • lossless
– not enough RAM – recover exact text or image – e.g. GIF, ZIP
– look for commonalities:
• Solution - Virtual memory : • text: AAAAAAAAAABBBBBCCCCCCCC 10A5B8C
– store some programs temporarily on disk • video: compare successive frames and store change
– makes RAM appear bigger • lossy
– recover something like original – e.g. JPEG, MP3
• But … swopping – exploit perception
– program on disk needs to run again • JPEG: lose rapid changes and some colour
– copied from disk to RAM • MP3: reduce accuracy of drowned out notes
– slows t h i n g s d o w n

Storage formats - text Storage formats - media

• ASCII - 7-bit binary code for to each letter and • Images:


character – many storage formats :
• UTF-8 - 8-bit encoding of 16 bit character set (PostScript, GIFF, JPEG, TIFF, PICT, etc.)
• RTF (rich text format) – plus different compression techniques
- text plus formatting and layout information (to reduce their storage requirements)
• SGML (standardized generalised markup language)
• Audio/Video
- documents regarded as structured objects
– again lots of formats :
• XML (extended markup language) (QuickTime, MPEG, WAV, etc.)
- simpler version of SGML for web applications – compression even more important
– also ‘streaming’ formats for network delivery

methods of access

• large information store


– long time to search => use index
– what you index -> what you can access processing and networks
• simple index needs exact match
• forgiving systems:
– Xerox “do what I mean” (DWIM) finite speed (but also Moore’s law)
– SOUNDEX – McCloud ~ MacCleod
limits of interaction
• access without structure …
– free text indexing (all the words in a document)
networked computing
– needs lots of space!!

14
Finite processing speed Moore’s law

• Designers tend to assume fast processors, and make • computers get faster and faster!
interfaces more and more complicated
• 1965 …
– Gordon Moore, co-founder of Intel, noticed a pattern
• But problems occur, because processing cannot keep up
with all the tasks it needs to do – processor speed doubles every 18 months
– cursor overshooting because system has buffered – PC … 1987: 1.5 Mhz, 2002: 1.5 GHz
keypresses • similar pattern for memory
– icon wars - user clicks on icon, nothing happens, clicks on – but doubles every 12 months!!
another, then system responds and windows fly
everywhere – hard disk … 1991: 20Mbyte : 2002: 30 Gbyte
• baby born today
• Also problems if system is too fast - e.g. help screens – record all sound and vision
may scroll through text much too rapidly to be read – by 70 all life’s memories stored in a grain of dust!

/e3/online/moores-law/

the myth of the infinitely Limitations on interactive


fast machine performance
Computation bound
• implicit assumption … no delays – Computation takes ages, causing frustration for the user
an infinitely fast machine Storage channel bound
• what is good design for real machines? – Bottleneck in transference of data from disk to memory
Graphics bound
• good example … the telephone : – Common bottleneck: updating displays requires a lot of
– type keys too fast effort - sometimes helped by adding a graphics co-
– hear tones as numbers sent down the line processor optimised to take on the burden
– actually an accident of implementation Network capacity
– emulate in deisgn – Many computers networked - shared resources and files,
access to printers etc. - but interactive performance can be
reduced by slow network speed

Networked computing The internet

Networks allow access to … • history …


– large memory and processing – 1969: DARPANET US DoD, 4 sites
– other people (groupware, email) – 1971: 23; 1984: 1000; 1989: 10000
– shared resources – esp. the web • common language (protocols):
– TCP – Transmission Control protocol
Issues
• lower level, packets (like letters) between machines
– network delays – slow feedback
– IP – Internet Protocol
– conflicts - many people update data • reliable channel (like phone call) between programs on
– unpredictability machines
– email, HTTP, all build on top of these

15

You might also like