(Press ?
for help, n
and p
for next and previous slide; usage hints)
Mo, Yilin
Oct 2020
Criterion | Classes | Example |
Power supply | Modulating | Thermistor |
Generating | Thermocouple | |
Output signal | Analog | Potentiometer |
Digital | Position encoder | |
Operating mode | Deflection | Deflection accelerometer |
Null | Servo-accelerometer |
Resistance of the material depends on the length, area and resistivity as:
“Wheatstone Bridge” by Rhdv under CC BY-SA 3.0; from Wikipedia
\[R = \rho\frac{L}{A}.\]
If voltage is \(0\), then
“Wheatstone Bridge” by Rhdv under CC BY-SA 3.0; from Wikipedia
\[R_x = R_3 R_2 / R_1.\]
\[V_G = \left(\frac{R_2}{R_1+R_2} - \frac{R_x}{R_x+R_3}\right)V_s. \]
For plate capacitor, the capacitance depends on the length, area and the permittivity of the dielectric material between the plates of the capacitor:
“Plate Capacitor” by Fabian_R under CC BY-SA 3.0; from Wikipedia
\[C = \epsilon\frac{A}{d}.\]
Hall effect switches are in common use in computer keyboards
“Hall Effect Sensor” by FraunhoferIIS under CC BY-SA 4.0; from Wikipedia
Piezoelectricity
Pros:
Cons:
Pros:
Cons:
cannot be used for truly static measurements
Piezoelectric sensor frequency response
by Omegatron under CC BY-SA 3.0; from Wikipedia
In a condenser microphone, the diaphragm acts as one plate of a capacitor, and the vibrations produce changes in the distance between the plates.
When sound enters through the windscreen of the microphone, the sound wave vibrations move the diaphragm.
Equal-loudness contours
by Lindosland under Public Domain; from Wikipedia
A piezo microphone uses the phenomenon of piezo-electricity
Piezo-resistive
Capacitive
Theory behind a piezoelectric accelerometer
by Archiem under CC BY-SA 3.0; from Wikipedia
A temperature sensor detects a change in a physical parameter such as resistance or output voltage that corresponds to a temperature change.
Type of Sensing:
Passive Infrared Motion Detector
Thermal Conductivity Humidity Sensors
Figure
Photoelectric effect in a solid
by Ponor under CC BY-SA 4.0; from Wikipedia
non-linear near zero (due to noise)
Figure
How many of the incident photons will the photodiode convert into electrons? \[QE = \frac{\#electrons}{\#photons}\]
Fundamental optical performance metric of imaging sensors.
Quantum efficiency of the CCD chip 'PC1' in the Hubble Space Telescope's Wide Field and Planetary Camera WFPC2
by Eric Bajart under CC BY-SA 3.0; from Wikipedia
Charged Coupled Device (CCD): converts electrons to voltage using readout circuitry separate from pixel
Complementary Metal Oxide Semiconductor (CMOS): converts electrons to voltage using per-pixel readout circuitry
Most modern commercial and industrial cameras use CMOS sensors.
CMOS Image Sensor Layout
by Shape under GNU General Public License; from Wikipedia
Analog amplifier (gain):
Is the dress Black/Blue or While/Gold?
Color is complicated!
Spectrum of Visible Light
by Jarvisa under GNU Free Document License; from Wikipedia
We can describe light based on the distribution of power over different wavelengths.
Spectral Power Distribution of Multiple Light Sources
\[R = \int_\lambda \Phi(\lambda)f(\lambda)d\lambda\]
Normalized response spectra of human cones
by BenRG under Public Domain; from Wikipedia
“Cones” correspond to pixels that are covered by different color filters, each with its own spectral sensitivity function
Bayer Pattern on an Image Sensor
by Cburnett under CC BY-SA 3.0; from Wikipedia
Each sensor has its more or less unique, and most of the time secret, SSF.
Makes it very difficult to correctly reproduce the color of sensor measurements.
Spectral Sensitivity Function of Different Camera Sensor
Different Camera Sensor Produces Different Colors
CIE 1931 xy color space diagram
by BenRG under Public Domain; from Wikipedia
Comparison of some RGB and CMYK colour gamut on a CIE 1931 xy chromaticity diagram
by BenRG and cmglee under CC BY-SA 3.0; from Wikipedia
\[x = PX\]
\(P\): camera matrix
Camera as a Projection
Ames Room
Ideal Triangulation Case
by KYN under Public Domain; from Wikipedia
Non-Ideal Triangulation Case
by KYN under Public Domain; from Wikipedia
Principle of operation of a time-of-flight camera
by Cmglee under CC BY-SA 4.0; from Wikipedia
The distance can be computed as \( d = \frac{1}{2} \frac{q_1}{q_1+q_2} ct \)
Universal Asynchronous Receiver/Transmitter
UART Timing Diagram
by IngenieroLoco under CC BY-SA 4.0; from Wikipedia
I2C Master and Multiple Slaves
APDS9960
class adafruit_apds9960.apds9960.APDS9960(i2c, *, interrupt_pin=None, address=57, integration_time=1, gain=1, rotation=0)
PoE HAT
Master Write
Master Read
SPI Bus Timing Diagram
by Cburnett under CC BY-SA 3.0; from Wikipedia
SPI Single Master and Multiple Slaves
by Cburnett under CC BY-SA 3.0; from Wikipedia
UART | I2C | SPI |
Single Slave | Multiple Slaves | Multiple Salves |
Full Duplex | Half Duplex | Full Duplex |
Tx, Rx | SDA, SCL | SCLK, MOSI, MISO, SS(mutilple) |
Up to 115.2k | 3.4 Mbsp | ~ 50 Mbps |
Texas Instruments CC2650 SensorTag
The TI SensorTag CC2650 has the following power characteristics:
State | Time [µs] | Current [mA] | Time * Current |
Wake Up & Pre-processing | 1283.89 | 3.10 | 3981.68 |
Preparation for Recieve | 394.22 | 3.58 | 1409.55 |
Recieve (RX) | 461.33 | 6.69 | 3085.90 |
RX to TX transition | 109.22 | 5.21 | 568.97 |
Transmit (TX) | 84.39 | 7.34 | 619.44 |
Post-Processing | 853.44 | 2.62 | 2239.63 |
Total time of connection event [µs] | 3186.50 | ||
Total time * current [µs*mA] | 11905.2 | ||
Average Current draw [µA] | 3736.1 |
The TI SensorTag uses a standard CR2032 coin cell battery rated at 240 mAh. Therefore, the maximum life is expected to be about 44 hours.
Many power management practices can employed, such as
Ragone plot of various energy storage/propulsion devices
Example of relative discharge rates for various batteries
Supercapacitors (or supercaps) store energy at significantly higher volumes than typical capacitors
Li-ion Battery | Supercapacitor | |
Energy density | 200 Wh/hg | 8-10Wh/kg |
Charge-discharge cycles | 100-1,000 after capacity drops | Nearly infinity |
Charge-discharge time | hours | seconds |
Discharge profile | constant | linear decay |
Form factor | small | large |
Cost($/kWh) | Low(250-100) | High(10,000) |
Hybrid solution (Electrical vehicle):
Typical Energy Consumption for Various Devices
Solar Resource Map of China
by Cburnett under CC BY-SA 4.0; from World Bank
Three main ways to convert mechanical energy into electricity:
Electrostatic devices: they use a variable capacitor structure to generate charges from a relative motion between two plates.
\[E_q = \frac{1}{2} Q_{cst}^2 \left(\frac{1}{C_{min}} - \frac{1}{C_{max}}\right).\]
Thermoelectric Effect
by Cmglee under CC BY-SA 4.0; from Wikipedia
UART | I2C | SPI |
Single Slave | Multiple Slaves | Multiple Salves |
Full Duplex | Half Duplex | Full Duplex |
Tx, Rx | SDA, SCL | SCLK, MOSI, MISO, SS(mutilple) |
Up to 115.2k | 3.4 Mbsp | ~ 50 Mbps |