Documente Academic
Documente Profesional
Documente Cultură
Static Characteristics
Precision/Repeatability/Reproduciblity
Sensitivity/Responsivity
Resolution/Least count
Linearity
Stabilty and drift
Threshold
Dead Band and Hysteresis
Input Imedance
Output Impedance
Span & Range
Precision
A very simple example:
10 replicate measurements of Cr (g/g) in a rock
sample are :247, 250, 249, 262, 245, 257, 246,
251,271, 248.
The mean Cr (g/g) = Xmean ( )=252.6
The standard deviation SD( ) = 8.3
Precision expressed in percentage, relative to
the mean P =(8.3/252.6)100= 3.3%
The Cr (g/g) value in the sample = 253 + 3%
Accuracy
Accuracy=[Mod{actual value-measured mean
value}/actual value]*100
A very simple example:
6 replicate laboratory measurements of iron
(g/g) in samples of spinach standard are : 480,
510, 490, 470, 526, 473.
The certified reference value of the standard is
550 + 20 (g/g).
The mean value of iron (g/g) = 491.5
Precision = 4.5%
So, the observed value is 491 + 22.
Accuracy = ( mod(550 491))/ 550 ) *100 =
10.9%
So, even though precision may be good (4.5%),
the accuracy may be poor (11%).
Errors in measurements
Gross Errors:
Errors in measurements
Systematic Errors:
Random Errors
The Source for these errors are
fluctuations in supply
Influence of RFI
Air currents
Movements in surroundings
Weather change
Measurements:Basic Concepts
Measurand
Bio potential, pressure, flow, dimensions, displacement (velocity,
acceleration, force), impedance, temperature, chemical concentrations
Transducer
Transduction: convert one form of energy to another;
Sensor: converts measurand to an electric signal
Properties: minimize energy extracted, minimally invasive,
respond only to form of energy present in measurand
Performance:Error
Error = measured value true value
Eg, if actual temperature is 24 deg C, and reading is 25
deg C, then error is +1 deg. If actual temperature is 26
deg C, error = -1deg.
Performance :Accuracy
Accuracy = extent to which the value indicated
by a measurement system might be wrong.
Summation of all possible errors, as well as
accuracy to which the transducer has been
calibrated, often expressed as a percentage of
the full range value.
Eg: +/- 5% of range. If range is 0 to 200degC,
then the reading will be within +/-10degC of the
true reading
Performance: Sensitivity
The relationship indicating how much output you
get per unit input(=output/input). For example, a
resistance thermometer may have a sensitivity
of 0.5./degC
Sometimes it also indicates the sensitivity of
inputs other than that being measured, for
example, environmental changes (eg,
temperature changes or fluctuations in the main
voltage power supply).
Performance :Resolution
If input varies continuously, output for some
sensors may change in small steps (example:
encoders).
Resolution = smallest change in the input value
that will produce an measurable change in the
output.
Static = steady-state
Dynamic: Response to step input
Response time (reach 95% of step)
Time constant (the 63.2% response time)
Rise time (time from 10% to 90 or 95% of
steady-state)
Settling time (time for output to settle to within
2% of steadystate)
These exact statistics may change slightly
look them up on spec sheets.
Characteristics
Performance :Displacement,
Position and Proximity
Displacement: how much something has been
moved
Position sensors
How do we select?
Size of displacement (inches, millimeters,
meters?)
Is displacement linear or angular?
Resolution required
Accuracy required
What material the measured object is made
of (some sensors work only with
ferromagnetic metals, some only with
insulators)
Cost
Main types
Contact sensors: measured object touches the sensors
Non-contacting :no physical contact
Linear displacement contact: sensing shaft in direct
contact with the object monitored. Displacement of this shaft
monitored.
Potentiometers
A resistance element with a sliding contact that
can be moved over the length of the element.
Can be used for linear or rotary displacements.
Displacement is converted into a potential
difference.
Rotary potentiometer: circular wire-wound track
(single turn or helical)
fixed (input)
Potentiometers
Voltage between 1 and 3 is a
fraction of Voltage between 1 and 2
which is the input voltage
Track has constant resistance per
unit length (or unit angle)
Output is proportional to angle
through which slider has moved.
An angular displacement can
be converted into a potential
difference
Potentiometers
Translational or angular displacement
is proportional to resistance.
Potentiometers
Wire wound track: voltage output changes of
one step per turn. If the potentiometer has N
turns, then its resolution is 100/N (as a
percentage).
Resolution limited by the diameter of the wire
used, typically ranges from 1.5mm to 0.5mm.
Nonlinear errors: 0.1% to 1%
Track resistance: 20. to 200k .
Conductive plastic has better specs
Strain-Gauged Elements
Electrical resistance strain gauge
A metal wire, metal foil strip, or a strip of
semiconductor material, which is wafer like and can
be stuck on surfaces like a postage stamp. When
subject to strain, its resistance R, changes, with the
fraction R/R being proportional to strain() as:
(R/R)/ = G. G is called the gauge factor.
Strain is (change in length/original length). The
resistance change of a strain gauge is the change
in length of the element to which the strain gauge is
attached.
Typical G: about 2.0 for metals, +/-100 for
semiconductors
piezoresistance
Think of this as a
Transfer Function!
Input is strain
G is a measure of sensitivity
Output is dR
Applications!
Surgical
forceps
Blood pressure
transducer (e.g.
intracranial
pressure
Atomic force
microscope
Bridge Circuits
Vs
Wheatstones Bridge
Rf
R-dR
R+dR
Vo
Load cell
Principle
Strain gauges
wire
Cantilevers
Circular shapes
Metal foil
Semiconductor
U-springs
Strain gauges
Gauge factor supplied by manufacturer, needs
calibrations for samples in a batch.
Known problem with strain gauges:
Resistance changes with both strain and temperature
Semiconductor strain gauges are much more sensitive to
temperature changes than metal gauges.
Some displacement sensors have strain gauges
attached to flexible elements of various shapes .
measure displacement or deformation of flexible element
(OK for linear displacements of about 1 to 30mm, error
about +/- 1% of full range).
Optical encoders
Encoder: a device that provides a digital output as a
result of linear or angular displacement.
Position encoders are of two types: incremental (changes
in position) vs. absolute encoders (actual)
Angular encoders :Beam of light passes through slots in
a disk and are detected by a light sensor. When the disc
is rotated, a pulsed output is produced by the sensor,
with the number of pulses being proportional to the angle
through which the disc rotates.
Angular rotation of disc (and of shaft rotating it) can be
determined by the number of pulses produced since
some reference position.
Optical encoders
In practice three
concentric tracks are
used.
Inner track is used to
locate home position.
Other two tracks, with
suitable spacing, allow
for the determination of
direction.
If 60 slots per revolution
(360deg), then resolution
is 360/60 = 6deg.
Optical encoders
An interesting
application: traffic
signal
Inductive Sensors
Beach comber!
Mine sweeper
Primary
Secondary
An inductor is basically a
coil of wire over a core
(usually ferrous)
It responds to electric or
magnetic fields
Displacement Sensor
A transformer is made of at
least two coils wound over
the core: one is primary and
another is secondary
Inductors and tranformers work only for ac signals
vin(t) P
ferrite rod
v S1 ( t ) k1v in ( t ), v S2 ( t ) k 2 v in ( t )
+
S2
S1
+
S2
vout(t)
LVDT
Linear Variable
Differential Transformer
Capacitive Sensors
Electrolytic or
ceramic capacitors
are most common
e.g. An electrolytic
capacitor is made
of Aluminum
evaporated on
either side of a
very thin plastic
film (or electrolyte)
Capacitive Sensors
Other Configurations
c. Differential Mode
Piezoelectric Sensors
What is piezoelectricity ?
Strain causes a
redistribution of charges
and results in a net
electric dipole (a dipole
is kind of a battery!)
A piezoelectric material
produces voltage by
distributing charge
(under mechanical
strain/stress)
Piezoelectric Sensors
31 denotes the
crystal axis
Voltage
generartor
Capacitor
to hold
charge
Leakage
Resistor
Temperature sensors
Bimetallic strips
Resistance temperature detectors (RTD)
Thermistors
Thermodiodes and transistors
Thermocouples
Thermoelectric Thermocouples
Radiation Thermometry
Fiber Optic Sensor
0.00395 / C
RRTD R1
From
R3
R2
37.36 25(1 T )
RTDs
RTDs are made of materials whose resistance changes in
accordance with temperature
Metals such as platinum, nickel and copper are commonly
used.
They exhibit a positive temperature coefficient.
Thermistors
Thermistors are made from semiconductor
material.
Generally, they have a negative
temperature coefficient (NTC), that is NTC
thermistors are most commonly used.
R R0 e
(1 / T 1 / T0 )
1 1
R
1
ln( )
T
R0 T0
Further
1
T
110 .159 0 C
1
R
1
ln( )
R0 T0
Thermocouples
Seebeck Effect
When a pair of dissimilar metals are joined at one end, and there is a
temperature difference between the joined ends and the open ends,
thermal emf is generated, which can be measured in the open ends.
This forms the basis of thermocouples.
Thermocouples: Example
Example
A type-J thermocouple circuit below is used to measure the
temperature T1 . The thermocouple junction # 2 is maintained
by 32o F. The voltage output is measured to be 15 mV.
Determine the temperature T1.
Solution
The temperature T can be read off from the graph for
type-J thermocouple to be 530o F.
10
Radiation Thermometry
Governed by Wiens Displacement Law which says that at
the peak of the emitted radiant flux per unit area per unit
wavelength occurs when
T=2.898x10-3 moK
max
Infrared
or
thermal
cameras
Force sensors
Load
Light sensors
Photodiodes
Phototransistors
Photoresistors
Fluid sensors
Fluid Pressure:
Piezoelectric sensors
Tactile sensors
Liquid Flow:
Orifice plate
Turbine meter
Liquid level:
Floats
Differential pressure sensors
B
Magnetic coil
V
Induced voltage E
pipe
Magnetic coil
Q=V*A
Q=Volumetric flow rate
V=fluid velocity
A=cross sectional area of pipe
Q=K*E, where K=A/(C*B*L)
Disadvantages
Relatively expensive
Works with fluid having adequate conductivity
Relatively heavy due to coils
Pipe must be full at all times
Magnetic
pickup
Output Voltage
Turbine fins
Turbine wheel
Pipe
Flow
Good accuracy
Excellent repeatability
Fairly low pressure drop
Easy to install and maintain
Good Temperature and pressure rating
Can be compensated for viscosity
Disadvantage
High cost
Limited use in slurry
Problem caused by non lubricating fluids
Sensor selection
Nature of the measurement required: variable to be
measured, nominal value, range of values, accuracy
required, required speed of measurement, reliability
required, environmental conditions under which the
measurement is being made.
Nature of the output required from the sensor, which
determines the signal conditioning requirements in order
to give suitable output signals from the measurement.
The possible sensors can be identified, taking into
account such factors as range, accuracy, linearity, speed
of response, reliability, maintainability, life, power supply
requirements, ruggedness, availability, cost.
Cannot be decoupled from signal conditioning
Bridge circuits
Bridge circuit is used quite often to measure low level voltages,
such as the outputs from RTD, thermister, or thermocouples.
In the case of a balanced
bridge, there is no
voltage drop between, B
and C, hence, Ig = 0.
I1 R1 I 3 R3 0
I 2 R2 I 4 R4 0
I1 I 2
and
I3 I4
R 2 R4
R1 R3
Any change in one arm of the bridge will destroy this
balance condition. However, one can use the measured
voltage across the bridge to calculate changes in one
arm.
I1 I 2
E0 I 1 R1 I 3 R3
R3
R1
E0 E i (
)
R1 R2 R3 R4
Of course, under a balanced condition,
E0 0
R ' 1 R1 R1
The corresponding change in voltage across B and C is
R3
R' 1
E0 E i ( '
)
R 1 R 2 R3 R4
To simplify the analysis, if we assume that:
R1 R2 R3 R4 R
( R / R )
E
Ei
4 2( R / R )
Or
4 E
R
R
E i 2 E
R1 100
R2 R3 500
0.00395 o / C
R1 103.95
Determine the change in temperature.
Solution:
(a) Using the relation:
R1
R2
R RTD R3
RRTD R1 100
Operational amplifier
operational amplifier input impedance is (R i||Rf)
okay for interfacing low impedance sources to analog-todigital converters etc
but not for small signals from high impedance sources
especially when high common mode signals are present
e.g., the millivolt difference in two signals each near 10 volts
Instrumentation amplifier
Instrumentation
Experiment, etc.
Output
Input
Sensor
Signal
Conditioning
Processing /
Display
System
Output
Input
Sensor
Signal
Conditioning
Control
Processing /
Display
During.
Calculations, Data reduction, Alarms
After
How am I going to recover my data
What am I going to do with my data
Post processing
Parameters to measure
There are many different parameters for which sensors or
transducers are commonly available
temperature
pressure, force, mass, weight
velocity, acceleration, vibration
strain, stress, distortion, fatigue
flow, volume, level
length, width, depth, thickness, displacement
state, pulse, counter
composition, concentration
Types of sensors
Sensors produce an electrical output that is proportional to the
quantity of the parameter being sensed
Electrical output from sensors can be
accuracy
resolution
linearity
repeatability
speed
common mode range
electrical noise rejection
Number of channels
Most data acquisition systems have a single analog to digital
converter, and many input channels
Input channels are selected for measurement by a switch or
multiplexer (mux), which may be sequential or random. Switching
may be by relay or solid state.
Only one channel can be measured at a time
Consideration must be given to sensor bounce when a sensor is
selected for measurement
Other functionality
In addition to the core functionality of data acquisition,
modern data acquisition and data logging systems have
other functionality including
Transducer
(analog)
Signal
Conditioning
- Offset,
amplification,
filtering (analog)
A/D
converter
(digital)
Storage
(digital)
Signal conditioning
Analog multiplexers
Converters
Clock
Master controller
Digital input/output
device
Input/output buffer
Output devices
DA components
Signal conditioning: Output signal from transducers are conditioned prior to sampling
digital conversion.
Analog multiplexer: Is a multiple port switch that permits multiple analog inputs to be
connected to a common output.
Converters: DAS uses an analog to digital converter to sample
and convert the magnitude of the analog signal into binary
numbers.
Clock: Clock provides master timing for the DAS process by
providing a precise stream of pulses to the various system components.
Master controller: It provides the start and stop sequences for data acquisition to con
actual flow into and out of the system.
I/O device: Some transducers and measuring devices output a digital signal directly wh
enables bypassing the A/D converter of the DAS.
I/O buffer: This is a digital random access memory (RAM) where the data is stored befor
sending it to some other storage device.
Output devices: Permanent storage or display devices (zip disk, hard disk, printer, etc.)
Signal types
Signal classification
Analog
Discrete
analog
discrete
digital
Digital
Aliasing
Concept of sampling
frequency :
Digitization (conversion of
analog to digital signal
expressed in the binary system)
of analog signals is performed
at equally spaced time intervals,
t.
Of great importance is to
determine the appropriate value
of t (sampling data rate).
Accurate sampling of a
fluctuating signal needs to be
made with at least twice the
maximum frequency in the flow
(Nyquist criterion).
Otherwise, aliasing occurs
(confusion between low and
high frequency signal
components).
analysis
tools for tabulation, arithmetic, transforms (FFT,
etc), etc
presentation
graphical representation of results in familiar
formats (even for particular journals)
dissemination
integration with document preparation software
integration with web distribution and publication
Analog processing
What is RS232?
RS232 is a popular communications
protocol for connecting modems and data
acquisition devices to computers. RS232
devices can be plugged straight into the
computer's serial port (also known as the
COM or Comms port). Examples of data
acquisition devices include GPS receivers,
electronic balances, data loggers,
temperature interfaces and other
measurement instruments
Pin assignment
1 Input DCD Data Carrier Detect
2 Input RXD Received Data
3 Output TXD Transmitted Data
4 Output DTR Data Terminal Ready
5 Signal Ground
6 Input DSR Data Set Ready
7 Output RTS Request To Send
8 Input CTS Clear To Send
9 Input RI Ring Indicator
Pin
DTE DCE
1 DCD
2 RxD
3 TxD
4 DTR
5 Com
6 DSR
7 RTS
8 CTS
9 RI
Input
I
O
O
I
O
I
I
Output
O
I
I
O
I
O
O
Serial Communication
Terminology
Baud rate bits per second
Data bits inverted logic and LSB first
Parity optional error-checking bit
Stop bits 1, 1.5, or 2 inverted bits at data end
Flow control hardware and software handshaking
options
RS-232 interfaces
before ethernet etc, we talked to timeshared
mainframes on RS-232
many instruments (oscilloscopes, lock-in amplifiers,
etc) are still sold with RS-232 set-up, control, and
data download interfaces
many devices (e.g., older PDAs) and peripherals
(e.g., mouse, smart-card reader, X-10 controller, etc)
still use it
bytewise asynchronous: a start bit announces each
incoming byte
family of standards for single/dual
symmetric/assymetric levels
single device design; daisy chain with device
identifier allows a loop of transducer interfaces
(fragile!)
serial nature makes interface to/from fiber optics easy
DIO1
DIO2
DIO3
DIO4
EOI
DAV
NRFD
NDAC
IFC
SRQ
ATN
SHIELD
13
12 24
DIO5
DIO6
DIO7
DIO8
REN
GND (TW PAIR W/DAV)
GND (TW PAIR W/NRFD)
GND (TW PAIR W/NDAC)
GND (TW PAIR W/IFC)
GND (TW PAIR W/SRQ)
GND (TW PAIR W/ATN)
SIGNAL GROUND
Industrial DAC
4-20 mA Current loop: a medium rather than a
protocol, but you should know about it ... robust in
noisy industrial environment
MAP = Manufacturing Automation Protocol, driven by
automobile manufacturers in 1980s; is it alive?
DeviceNet: 125/250/500 Kbit/s, 8-bit data packet,
suitable for high speed monitoring of simple process
parameters, e.g., in discrete manufacturing of food
containers, etc
FieldBus: 1-2.5 Mbits/s, variable packet size to 1000bytes, suitable for lower packet count of more detailed
packets, e.g., in continuous process control of fast
moving complex but relatively slowly changing data,
e.g., as in oil refining
Automotive
Research
CAN
Bosch
VAN
ISO
D2B
Philips
MI-Bus
Motorola
SAE, Chrysler,
Motors
Smart House LP
CEBus
EIA
I2C
Philips
Building and Office Automation
BACnet
Building
Industry
University of Michigan
I2S
Time-Triggered Protocol
University of Wien
Industrial
General
Home automation
Smart House
Automation
IBIbus
Batibus
Merlin Gerin
EIbus
Germany
Hart
Rosemont
DeviceNet
Allen-Bradley
SP50 Fieldbus
Fieldbus Foundation
LonTalk/Lonworks
Echeleon Corp
Profibus DP/PA
Siemens
ASI-Bus
ASI
InterBus-S
SERCOS
VDW
IEEE-488
HP
ArcNet
Datapoint
WorldFIP
WorldFIP
Computer Hardware
Central Processing Unit - also called The
Chip, a CPU, a processor, or a microprocessor
Memory (RAM)
Storage Devices
Input Devices
Output Devices
Computer Hardware
Central Processing Unit - also called The
Chip, a CPU, a processor or a
microprocessor
Memory (RAM)
Storage Devices
Input Devices
Output Devices
Computer Hardware
Central Processing Unit - also called The Chip, a CPU,
a processor or a microprocessor
Memory (RAM)
Storage Devices
Input Devices
Output Devices
Computer Hardware
Central Processing Unit - also called The
Chip, a CPU, a processor or a
microprocessor
Memory (RAM)
Storage Devices
Input Devices
Output Devices
CPU Types
CPU or microprocessor is often
described as the brain of a computer.
CPU is an integrated circuit or chip which
processes instructions and data.
CPU types.
Intel Pentium II, III, IV
Intel Celeron
AMD Athlon
CPU types
CPU speed is measured by the number
of completed instruction cycles per
second
Currently, CPU speeds range from 600
megahertz (MHz or million cycles per second)
to 4 gigahertz (GHz or billion cycles per
second).
Microcomputer Platforms
All microcomputers are based on a small
number of designs (interior architecture)
or computer platforms.
PC architecture is based on the first IBM
microcomputers. Generally, PCs use
Microsoft Windows as their operating
system.
Apple computers or Macs are based on
proprietary architecture manufactured
exclusively by Apple Computer, Inc.
Microcomputer Platforms
Compatibility refers to computers that
operate in essentially the same way.
Compatibility across platforms is limited!
You must know which platform your
computer runs on before purchasing
software.
All software is designed for a specific
platform.
Windows, Mac or Unix versions
Memory (RAM)
RAM or Random Access Memory
Waiting room for computers CPU.
Holds instructions for processing data,
processed data, and raw data.
Ram is measured by:
Capacity (in Megabytes or Gigabytes)
Speed (in Nanoseconds)
Memory (RAM)
Amount of RAM installed will determine.
Which software applications will run
(efficiently)?
How many software applications can be open
simultaneously (multitasking ability)?
Memory (RAM)
All software applications will have RAM
specifications listed on their packaging.
Many applications list both a minimum
and a recommended amount of RAM
necessary to run the software.
Be cautious about buying software for a
system based on minimum requirement.
Visit the
Memory Technology Exhibit
Storage Technology
Electronic devices that store, retrieve, and
save instructions and data.
Todays microcomputers or PCs include
several types of storage devices.
Capacity and speed are important
considerations when selecting a new
storage device for a PC.
Storage Technology
Magnetic storage devices
store data by magnetizing
particles on a disk or tape.
They have a limited life-span
of 1 to 5 years, depending
on the device.
Optical storage devices
store data as light and dark
spots on the disk surface.
They have an unlimited lifespan.
Storage Devices
Hard Disk Drives
Capacity is measured in gigabytes (GB or
billions of bytes).
Typically permanently installed.
Used to store operating system,
application software, utilities and data.
Magnetic storage device.
Learn more about how a hard disk drive
works from How Stuff Works
Storage Devices
Floppy Disk Drives
Capacity is 1.44 to 2.0
megabytes (MB or millions
of bytes).
Storage device with
the smallest capacity
Most portable storage media
Storage Devices
CD-ROM Drives
Typically installed on all new computer
systems. (Were add-on device until the
mid 1990s).
Capacity is 600 to 750 megabytes
(MB or millions of bytes).
Most mass-produced commercial software
is packaged on a CD.
Storage Devices
CD-ROM Drives
Used more often now for backup storage
as CD-RW (read/write) technology has
become less expensive.
Data is read from CD by a laser.
Optical storage device.
Storage Devices
Other Types of Drives
Zip Drives Several different capacities are
available.
Tape Drives Generally used for system
backups, becoming less common.
DVD drives Can also read CDs, now more
common as a standard device on new computer
systems.
Learn more about specific hardware
components
and their functions from
Input Devices
Input is all information put into a
computer. Input can be supplied from a
variety of sources:
A person
A storage device on computer
Another computer
A peripheral device
Another piece of equipment, such as a
musical instrument or thermometer
Input Devices
Input devices gather and translate data
into a form the computer understands.
Primary input device:
Keyboard - Most common input device; used
to type in commands and data.
Mouse or trackball enhances users ability to
input commands, manipulate text, images.
Joystick useful in education as an adaptive
or assistive input device.
Input Devices
Scanners are peripheral input devices
which allow users to import:
Text
Graphics
Images
Input Devices
Digital Cameras are peripheral
input devices that allow users to
create pictures and/or movies in
a digital format.
Some require specialized
software to import images
into the computer.
Some record digital images
directly to a disk that can be read
by the computer.
Output Devices
Monitors are the most commonly used
output device.
Most monitors use a bitmap display.
Allows user to resize the display.
Divides the screen into a matrix of tiny square
dots called pixels.
The more dots a screen can display, the
higher the resolution of the monitor.
Output Devices
Monitors are connected to a computer
system via a port integrated on the video
adapter or graphics card.
Graphics cards convert digital data output
from software to analog data for display on
monitors.
Typically have additional memory chips on
card, 4MB to 64MB.
Output Devices
Printers
Dot matrix
Seldom used in a classroom.
Still frequently used in business.
Output Devices
Projection systems or classroom TVs can
display information from a computer system
on a larger screen for whole-class
instruction.
Connectivity
Wired Connectivity
Wireless Connectivity
IrDA
GSM
Bluetooth
WiFi
Wired Connectivity
Cabling
Ethernet already covered
Fibre connections offer higher capacity over
longer runs, e.g. 100Mbps over runs of 2000m,
1Gbps for FTTC or FTTH systems
FDDI (Fiber Distributed Data Interface) is a high
performance token ring LAN, but as it is more
expensive and complex than fast Ethernet takeup is limited
Fiber is more widely supported in cable TV,
which also offers internet and telephony support
USB
Universal Serial Bus
Now released in version 2.0
Developed by a consortium including Microsoft
and Intel and offering, in version 1.0, transfer
rates of around 12 Mbits/s
Version 2.0 offers 360 - 480 Mbits/s
Uses a flat-head, 4 strip connector
Up to 127 peripherals can be daisy-chained
Supported by Intel, but not by NT
USB.3.0
Designed November 2008 Manufacturer USB
3.0 Promoter Group (Hewlett-Packard, Intel,
Microsoft, NEC, ST-Ericsson, and
Texas Instruments)Superseded by USB 3.1 (July
2013)
General specifications: Width: 12 mm (A plug),
8 mm (B plug), 12.2 mm (Micro-A & Micro-B
plugs) Height 4.5 mm (A plug), 10.44 mm (B
plug), 1.8 mm (Micro-A & Micro-B plugs),
Pins: 9
Electrical Max. current :900 mA
Bitrate :5 Gbit/s (625 MB/s)
Firewire
IEEE-1394
High-speed serial bus, originally called Firewire,
developed by Apple
Offers data rates of 100 - 400 Mbps
Now predominantly supported by Texas
Instruments and other third party developers,
being overtaken by USB.
Widely used for digital video
Offers limited daisy-chaining
SCSI
Small Computer Systems Interface
Developed in the late 70s by Shugat
Associates as Sasi
Daisy-chained peripheral connection
Offered in a variety of flavours, SCSI-1, SCSI2, Fast-Wide SCSI, Ultra SCSI, Wide Ultra
SCSI, Ultra 2 SCSI, Wide Ultra 2 SCSI, Ultra
3 SCSI & Wide Ultra 3 SCSI
Offers data rates from 40 - 1280 Mbps
Wireless Connectivity
IrDA
The Infra-Red Data Association was set up to
establish an open standard for short-range
digital data communication between
computers and peripherals
Provides a wireless link capable of highspeed data transmission
Needs clear line-of-sight and has limited
range
Uses the PCs Uart chip to provide a data rate
of 112Kbps over a range of 1m
GSM
Global System for Mobile
Communications
Based on microwave technology, basic GSM
chips offer a transfer rate of 9.6 Kbps - 14.4
Kbps over a significant range
GSM receiver/transmitter networks enable
world-wide communications capability
Take-up to date has predominantly been for
voice telephony, though email links to SMS
are beginning to prove popular
GSM (cont.)
Phase II GSM has introduced the high-speed,
circuit-switched data device (HSCSD) which is
offering 28.8Kbps in devices such as Nokias
Communicator and now in a large number of
mobile phones
The goal of megabit and, potentially, gigabit
communication rates are being addressed in
Phase III GSM, which well discuss as
breaking technology.
Bluetooth
Bluetooth is an industry consortium
developing a RF based local push protocol
and technology, offering high data rates over
short distances, permitting equipment based
comms.
offers transfer rates of up to 1 Mbps over
about 10 metres
uses 2.4GHz bandwidth with spectrum
frequency hopping
WiFi
IEEE 802.11b
basis of Wi-Fi standard
uses same 2.4 GHz band as Bluetooth, but offers
11Mbps over 100 metres
IEEE 802.11a
Offers transfer rates up to 54Mbps in the 5GHz band,
but range is more limited, around 30 metres.
IEEE 802.11g
Now shipping, offering up to 54 Mbps in the 2.4GHz
band, also with a range of around 100 metres.
Uses an enhanced spectrum frequency-hopping
approach to reduce interference.
Several of the major vendors are already offering
enhanced variants running at 100Mbps
Analogue-to-Digital Converters
successive-approximation ADC
controller (maybe computer) applies successive
approximations to a DAC and compares its output to the
signal
slow
output naturally serialized
voltage-to-frequency ADC
count output of VFC for measured time
slow but good noise immunity
Q 15 2 4 0.9375
1 4
Eq 15 2 0.46875
2
Flash Converter
A flash converter is the fastest type of converter
we use.
Like the successive approximation converter it
works by comparing the input signal to a
reference voltage, but a flash converter has as
many comparators as there are steps in the
comparison.
An 8-bit converter, therefore, has 2 to the power
8, or 256, comparators
Resolution
The resolution of the A-D converter is the number of
steps the input range is divided into.
The resolution is usually expressed as bits (n) and the
number of steps is 2 to the power n.
A converter with 12-bit resolution, for instance, divides
the range into 212, or 4096, steps. In this case a 0-10 V
range will be resolved to 0.25 mV, and a 0-100 mV range
will be resolved to 0.0025 mV.
Although the resolution will be increased when the input
range is narrowed, there is no point in trying to resolve
signals below the noise level of the system: all you will
get is unstable readings.
Linearity
Ideally an A-D converter with n-bit
resolution will convert the input range into
(2 to the power n)-1 equal steps (4095
steps in the case of a 12-bit converter).
In practice the steps are not exactly
equal, which leads to non-linearity in a plot
of A-D output against input voltage.
Throughput
The throughput is the maximum rate at which the A-D
converter can output data values. In general it will be the
inverse of the (conversion time + the acquisition time) of
the A-D converter.
Thus a converter that takes 10 microseconds to acquire
and convert will be able to generate about 100 000
samples per second.
Throughput can be increased by using a pipelined A-D
converter, so a second conversion can start while the
first is still in progress. Throughput may be slowed down,
however, by other factors which prevent data transfer at
the full rate.
Integration Time
An integrating A-D converter measures the input
voltage by allowing it to charge a capacitor for a
defined period.
The integration averages the input signal over
the integration time, which if chosen
appropriately will average over a complete
mains cycle thereby helping to reduce mains
frequency interference.
The throughput of an integrating converter is not
the inverse of the integration time, as throughput
also depends on the maximum discharge time
Re-Calibration
Some A-D converters are able to re-calibrate themselves
periodically by measuring a reference voltage, and compensating
for offset and gain drifts. This is useful for long term monitoring since
drifts do not accumulate.
If the re-calibrations are set too far apart there may appear to be
small discontinuities in the recorded data as the re-calibrations
occur. (If you have a reading other than zero for a zero condition,
then you have an offset error: every reading will be inaccurate by
this amount.
When the A-D converter is preceded by signal conditioning circuits
offset errors need not normally be considered. Drift occurs because
components in the amplifier change over time and with temperature.
Drift is usually only significant for people trying to measure low-level
signals - a few millivolts - over long periods of time or in difficult
environmental conditions.)
[ a1 a 2
where
ai
a3
... a n ]
can be either 1 or 0.
Vo V R ( a1 2 1 a 2 2 2 a 3 2 3 ..... a n 2 n )
Microcontrollers: Overview
A microcontroller (uC) is a small,
lightweight CPU which is usually
combined with on-board memory and
peripherals
Compact and low power (relatively)
Microcontrollers:Features (2)
Internal memory: Sometimes divided
between program and data memory, the
amount of information that can be stored on
board
Can sometimes be supplemented by external
memory
Microcontrollers:Communication (1)
UART: Basic hardware module which mediates serial
communication (RS232)
Simplest form of communication between uC and computer, but
limited by speed
Most modules are full duplex, but need to watch out for data
registers and flags
Microcontrollers:Communication (2)
I2C: Half duplex master-slave 2-wire
protocol for data transfer between uCs
kbit transfer rates
Tx/Rx based on slave addressing
Can invert protocol with sensors as masters
Microcontrollers:Silicon Labs
General specs
Medium power
Max 100 MHz / 100 MIPS
Max 128K program space / 8K RAM
Max 16 bit ADC
UART/USB/SPI/CAN/PWM/Comparators
http://www.silabs.com/products/microcontroll
er/
Microcontrollers: TI MSP430
Proprietary TI low-power low-cost RISC
chips
Highly supported by TI with great program
chain
Designed for intermittent sampling and fast
startup
General specs
Very low power (flexible)
Max 32KHz / 8 MIPS
Max 50K program space / 10K RAM
Max 16 bit ADC
Microcontrollers:Atmel AVR
8-bit RISC series of microcontroller chips
Large range of available devices covering many
interfaces, speeds, memory sizes, and package sizes
Large hobbyist development community with many
available toolchains and sample applications
General specs
http://www.atmel.com/
Microcontrollers:
Atmel ARM7 (AT91SAM7S series)
General specs
Lots of memory (8-64KB RAM, 32-256KB
flash)
Variable speed up to 55MHz
Packed with peripherals (USB, ADC, SPI,
etc.)
Comes in LQFP 48 and 64 packages
Not suitable for beginners
Desired Value, vd
Observed
Value, vo
Temperature Control
Desired
Temperature
Control
System
Furnace
and
Material
Temperature
Sensor
Display Technologies
The Technologies
CRT
LCD
Dual Scan
Active Matrix
PDP
ALiS
PALCD
ThinCRT
LEP
ATTRIBUTES
HIGH RESOLUTION
HIGH BRIGHTNESS
LARGE VIEWING ANGLE
HIGH WRITING SPEEDS
LARGE COLOUR GAMUT
HIGH CONTRAST
LESS WEIGHT AND SIZE
LOW POWER CONSUMPTION
LOW COST
TECHNOLOGIES
Disadvantages of CRT
size (footprint) on monitors
short or mini-neck tubes possible, but exacerbates
distortion problems
analogue technology
CRT
100 YEAR OLD WORKHORSE
CATHODOLUMINISCENT
BEAM SCAN DEVICE
LARGE VIEWING ANGLE
HIGH BRIGHTNESS
HIGH RESOLUTION
GOOD COLOUR GAMUT
BEST PERFORMANCE TO COST
BULKY HEAVY
UNIMPLEMENTABLE IN LARGE SIZES
OBSOLESCENCE
STILL ENJOYS 70% MARKET
VFD
EL
The structure consists of two thin layers of dielectric with
phosphor sandwitched between them. A thin Al layer on the top
and thin ITO layer on the bottom completes EL.When voltage of
order of 200V is applied the resultant high electric field
(1MV/cm) tunnels electrons through dielectric on to phosphor.
The high energy of electrons impact the colour centres to emit
visible light.
LCD
Most mature flat panel
technology
Major share of FPD market
Poor intrinsic viewing angle
Requires backlight
Inefficient
Slow
Effected by Temperature and
sunlight
LCD
PDP
PDP Working
Address electrode
causes gas to
change to plasma
state.
OLED
Most promising
technology
Already in small sizes
No inherent size limit
Conformal displays
Large viewing angle
High resolution
High Speed
Good colour gamut
Lifetime issues to be
solved
Great threat to LCD 2008?
OLED advantages
Colour Gamut comparable to CRT, with potential
to get better Striking visual appeal
Thinner No backlight
Less Expensive than LCD due to lesser
components
White + Color Filter route takes away some of
this advantage
Potential for printing in manufacturing.
Flexible and Conformal Displays
FIGURE 8-22
continued Construction of an electrostatic-deflection CRT: (a) cutaway view; (b) electron beam detail.
Dale R. Patrick
Electricity and Electronics: A Survey, 5e
FIGURE 8-23
Dale R. Patrick
Electricity and Electronics: A Survey, 5e
FIGURE 8-25
Dale R. Patrick
Electricity and Electronics: A Survey, 5e
FIGURE 8-26
Dale R. Patrick
Electricity and Electronics: A Survey, 5e
Storage Oscilloscope
Ambiguous meaning; even digital oscilloscopes can
storage data, they are not generally referred as those
The CRT scopes which are able to store data are
called
storage oscilloscopes
Used to examine non-repetitive transient signals
Used to examine low frequency signals with much less
than 10Hz
The highest frequency is about 0.1 MHz because of the
limited ability of screen to store information
Sampling Oscilloscope
Sampling Oscilloscope
Lock-in Amplifier
Introduction
A lock-in amplifier uses phase-sensitive detection to
improve the signal-to-noise ratio in cw experiments.
Using phase-sensitive detection requires that the
analytical signal be modulated at some reference
frequency. The lock-in-amplifier then amplifies only the
component of the input signal at the reference signal,
and filters out all other frequencies, i.e., noise. In the
fluorescence detection example illustrated below, the
analytical signal (the fluorescence) is modulated by
chopping the optical excitation source (the laser) at the
reference frequency.
Frequency measurements
Two approaches: using frequency counter to measure
frequency directly, and using probe to measure the
wavelength in a transmission line.
Frequency counter approach
Microwave analyzers
Spectrum analyzer
Purpose: measure microwave signal spectrum, can also be used to measure
frequency, rms voltage, power, distortion, noise power, amplitude modulation,
frequency modulation, spectral purity,...
Operating principle
Specifications Definitions:
Octave: two frequencies where one of the frequencies is two
times the frequency of the other.
Signal to noise ratio (S/N ): the ratio of power of a desired
signal at any point to the noise power at the same point.
Distortion: signal distortion < 1% in 2nd harmonic
Total harmonic distortion (THD): the ratio of the sum of the
powers of all overtones to the power of the fundamental
frequency.
Dynamic range: the difference in decibels between the highest
(overload level) and lowest (minimum acceptable) level of the
input signal.