Sensing with a computer
External stimulus -> sensor/transducer -> amplifier -> analog processing -> A/D converter
-> computer port -> software processing -> sensor output/decision-making
Transducer: converts one form of energy (information) to another (usually electrical)
-
piezoelectric material: converts pressure to electricity
-
silicon: temperature sensitive, EM sensitive, pressure sensitive
-
spring: converts force to a distance
Amplifier circuit:
-
May include some processing before amplication (low/hi-pass filters)
-
Amplifiers are low-pass circuits: higher the amplication the lower the cutoff frequency
Analog processing
-
You can do quite a bit in analog hardware
-
Can significantly reduce the load on a computer (microcontroller or PIC)
-
Has to include a low-pass filter that meets the Nyquist criterion (< 2fs)
-
May include a dc cutoff capacitor
A/D converter
-
Precision is determined by the number of bits
-
Frequency is determined by the signal you want to measure
-
Often needs to be much higher than just 2fs
Computer Port
-
Shielding issues
-
Need a computer interface circuit
-
Bandwidth issues
Software procesing
-
Correctness
-
Are you getting the right signal?
-
Speed
Decision-making
-
Control cycle, how do you make a decision once you have a measurement?