Lecture4 - The Computer
Lecture4 - The Computer
2
The Computer
• a computer system is made up of various elements
• variations
window 2
– desktop
– laptop
– PDA
12-37pm
the devices dictate the styles of interaction that the system supports
If we use different devices, then the interface will support a different style of
interaction
How many computers …
in your house? in your pockets?
– PC – PDA
– TV – phone, camera
– microwave, cooker, washing – smart card, card with
machine magnetic strip?
– central heating – electronic car key
– security system – USB memory
sensors
and devices
everywhere
TEXT ENTRY
DEVICES
9
Keyboards
• Most common text input device
• Allows rapid entry of text by
experienced users
• Key press closes connection, causing
a character code to be sent
• Usually connected by cable, but can
be wireless
layout – QWERTY
• Standardized layout
but …
– non-alphanumeric keys are placed differently
– accented symbols needed for different scripts
– minor differences between UK and USA keyboards
• T9 predictive entry
– type as if single key for each letter
– use dictionary to ‘guess’ the right word
– hello = 43556 …
– but 26 -> menu ‘am’ or ‘an’
Handwriting Recognition
• Text can be input into the computer, using a pen and a
digesting tablet
– natural interaction
Speech Recognition
• Improving rapidly
• Problems with
– external noise interfering
– imprecision of pronunciation
– large vocabularies
– different speakers
Numeric Keypads
4 5 6 4 5 6
not the same!!
7 8 9 1 2 3
0 # 0 . =
ATM like phone *
telephone calculator
POSITIONING,
POINTING, AND
DRAWING
21
the Mouse
• Handheld pointing device
– very common
– easy to use
• Two characteristics
– planar movement
– buttons
(usually from 1 to 3 buttons on top, used for making
a selection, indicating an option, or to initiate
drawing etc.)
How does it work?
Two methods for detecting motion
• Mechanical
– Ball on underside of mouse turns as mouse is moved
– Rotates orthogonal potentiometers
– Can be used on almost any flat surface
• Optical
– light emitting diode on underside of mouse
– may use special grid-like pad or just on desk
– less susceptible to dust and dirt
– detects fluctuating alterations in reflected light intensity to
calculate relative motion in (x, z) plane
Even by foot …
• some experiments with the footmouse
– controlling mouse movement with feet …
– not very common :-)
Thumbwheels …
– Thumbwheels are different in that they have two
orthogonal dials to control the cursor position.
– Such a device is very cheap, but slow, and it is
difficult to manipulate the cursor in any way
other than horizontally or vertically.
Joystick and keyboard nipple
Joystick
– indirect
pressure of stick = velocity of movement
– buttons for selection
on top or on front like a trigger
– often used for computer games
aircraft controls and 3D navigation
Keyboard nipple
– for laptop computers
– miniature joystick in the middle of the keyboard
Touch-sensitive screen
• Detect the presence of finger or stylus
on the screen.
– works by interrupting matrix of light beams,
capacitance changes or ultrasonic
reflections
– direct pointing device
Advantages:
–fast, and requires no specialised pointer
–good for menu selection
–suitable for use in hostile environment: clean and safe from
damage.
Disadvantages:
–finger can mark screen
–imprecise
•difficult to select small regions or perform accurate drawing
–lifting arm can be tiring
Stylus and light pen
Stylus
– 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
Light Pen
– now rarely used
– uses light from screen to detect location
BOTH …
– very direct and obvious to use
– but can obscure screen
Digitizing tablet
• Mouse like-device with cross hairs
• very accurate
- used for digitizing maps
Eyegaze
• control interface by eye gaze
direction
• uses laser beam reflected off
retina
– … a very low power laser!
• mainly used for evaluation
• potential for hands-free control
• high accuracy requires headset
• cheaper and lower accuracy
devices available
• sit under the screen like a small
webcam
Cursor keys
• Four keys (up, down, left, right) on keyboard.
• Very, very cheap, but slow.
• Useful for not much more than basic motion for text-
editing tasks.
• No standardized layout, but inverted “T”, most common
Discrete positioning controls
• in phones, TV controls etc.
– cursor pads or mini-joysticks
– discrete left-right, up-down
– mainly for menu selection
DISPLAY DEVICES
34
bitmap displays
• made of vast numbers of colored dots or pixels in a
rectangular grid.
• These pixels may be limited to black and white (for
example, the small display on many TV remote controls),
in grayscale, or full color.)
Cathode ray tube
• Stream of electrons emitted from electron gun, focused
and directed by magnetic fields, hit phosphor-coated
screen which glows
• used in TVs and computer monitors
electron beam
electron gun
focussing and
deflection
phosphor-
coated screen
Liquid crystal displays
• Smaller, lighter, and … no radiation problems.
• How it works …
– Top plate transparent and polarised, bottom plate reflecting.
– Light passes through top plate and crystal, and reflects back to
eye.
– Voltage applied to crystal changes polarisation and hence colour
special displays
Random Scan (Directed-beam refresh, vector display)
– draw the lines to be displayed directly
– no jaggies
– lines need to be constantly redrawn
– rarely used except in special instruments
handwritten
office owner
notes left
reads notes
using stylus
using web interface
Digital paper
appearance
• what?
– thin flexible sheets
– updated electronically
cross
– but retain display section
• how?
– small spheres turned
– or channels with coloured liquid
and contrasting spheres
– rapidly developing area
VIRTUAL REALITY
AND 3D
INTERACTION
43
Cockpit controls
52
1. Dedicated displays
• analogue representations:
– dials, gauges, lights, etc.
• digital displays:
– small LCD screens, LED lights, etc.
• head-up displays
– found in aircraft cockpits
– show most important controls
… depending on context
2. Sounds
• beeps, bongs, clonks, whistles and whirrs
multi-function
control
large buttons
clear dials
tiny buttons
5. Environment and bio-sensing
• sensors all around us
– car courtesy light – small switch on door
– ultrasound detectors – security, washbasins
– RFID security tags in shops
– temperature, weight, location
60
1. Printing
• image made from small dots
– allows any character set or graphic to be
printed,
• critical features:
– resolution
• size and spacing of the dots
• measured in dots per inch (dpi)
– speed
• usually measured in pages per minute
– cost!!
Types of dot-based printers
• dot-matrix printers
– use inked ribbon (like a typewriter
– line of pins that can strike the ribbon, dotting the paper.
– typical resolution 80-120 dpi
• ink-jet and bubble-jet printers
– tiny blobs of ink sent from print head to paper
– typically 300 dpi or better .
• laser printer
– like photocopier: dots of electrostatic charge deposited on drum,
which picks up toner (black powder form of ink) rolled onto paper
which is then fixed with heat
– typically 600 dpi or better.
2. Fonts
• Font – the particular style of text
Courier font
Helvetica font
Palatino font
Times Roman font
• §´ (special symbol)
• serif fonts
– helps your eye on long lines of printed text
– but sans serif often better on screen
3. Page Description Languages
• Pages very complex
– different fonts, bitmaps, lines, digitised photos, etc.
71
Short-term Memory - RAM
• Random access memory (RAM)
– on silicon chips
– 100 nano-second access time
– usually volatile (lose information if power turned off)
– data transferred at around 100 Mbytes/sec
• optical disks
– use lasers to read and sometimes write
– more robust than magnetic media
– CD-ROM
- same technology as home audio, ~ 600 Gbytes
– DVD - for AV applications, or very large files
virtual memory
• Problem:
– running lots of programs + each program large
– not enough RAM
• But … swopping
– program on disk needs to run again
– copied from disk to RAM
– slows t h i n g s d o w n
Compression
• reduce amount of storage required
• lossless
– recover exact text or image – e.g. GIF, ZIP
– look for commonalities:
• text: AAAAAAAAAABBBBBCCCCCCCC 10A5B8C
• video: compare successive frames and store change
• lossy
– recover something like original – e.g. JPEG, MP3
– exploit perception
• JPEG: lose rapid changes and some colour
• MP3: reduce accuracy of drowned out notes
Storage formats - text
• ASCII - 7-bit binary code for to each letter and
character
• RTF (rich text format)
- text plus formatting and layout information
• SGML (standardized generalized markup
language)
- documents regarded as structured objects
• XML (extended markup language)
- simpler version of SGML for web
applications
TYPICAL CAPACITIES OF STORAGE
MEDIA
PROCESSING AND
NETWORKS
78
Finite processing speed
• Designers tend to assume fast processors, and make interfaces
more and more complicated
• But problems occur, because processing cannot keep up with all the
tasks it needs to do
– cursor overshooting because system has buffered keypresses
– icon wars - user clicks on icon, nothing happens, clicks on another, then
system responds and windows fly everywhere
• Also problems if system is too fast - e.g. help screens may scroll
through text much too rapidly to be read
Limitations on interactive
performance
Computation bound
– Computation takes ages, causing frustration for the user
Storage channel bound
– Bottleneck in transference of data from disk to memory
Graphics bound
– Common bottleneck: updating displays requires a lot of effort -
sometimes helped by adding a graphics co-processor optimised to take
on the burden
Network capacity
– Many computers networked - shared resources and files, access to
printers etc. - but interactive performance can be reduced by slow
network speed
Networked computing
Networks allow access to …
– large memory and processing
– other people (groupware, email)
– shared resources – esp. the web
Issues
– network delays – slow feedback
– conflicts - many people update data
– unpredictability
Summary
• A computer system comprises various elements, each of
which affects the user of the system.
• Input devices for interactive use, allowing text entry,
drawing and selection from the screen:
– text entry: traditional keyboard, phone text entry,
speech and handwriting
– pointing: principally the mouse, but also touchpad,
stylus and others
– 3D interaction devices.
82
Summary (cont’d)
• Output display devices for interactive use:
– different types of screen mostly using some
form of bitmap display
– large displays and situated displays for shared
and public use
– digital paper may be usable in the near future.
• Virtual reality systems and 3D visualization
which have special interaction and display
devices.
83
Summary (cont’d)
• Various devices in the physical world:
– physical controls and dedicated displays
– sound, smell and haptic feedback
– sensors for nearly everything including
movement, temperature, bio-signs.
84
Summary (cont’d)
• Various devices in the physical world:
– physical controls and dedicated displays
– sound, smell and haptic feedback
– sensors for nearly everything including
movement, temperature, bio-signs.
• Paper output and input: the paperless office and
the less-paper office:
– different types of printers and their
characteristics, character styles and fonts
– scanners and optical character recognition.
85
Summary (cont’d)
• Memory:
– short-term memory: RAM
– long-term memory: magnetic and optical disks
– capacity limitations related to document and video
storage
– access methods as they limit or help the user.
• Processing:
– the effects when systems run too slow or too fast, the
myth of the infinitely fast machine
– limitations on processing speed
– networks and their impact on system performance.
86
REFERENCES
• Dix, A. Finlay J., Abowd, G, and Beale, R. (2004)
Human Computer Interaction 3rd ed., Pearson
Education Limited
• Rogers, Y., Sharp, H and Preece, J. (2007).
Interaction Design: Beyond Human Computer
Interaction, Second Edition, Wiley & Sons
• Norman, D. (2013). The DESIGN of EVERYDAY
THINGS. Basic Books, A Member of the Perseus
Books Group
87