01 - IoT Device Architecture and Issues
01 - IoT Device Architecture and Issues
and Devices
1
Outline
1. What is IoT?
3
What is IoT?
• The Internet-of-Things can be seen from many perspectives
- Hardware, software, network, application domain…
• “Semantically” correct!
- Emphasis on the connectivity (INTERNET!)
- Connected objects are abstract (THINGS)
M. Poncino - Politecnico di Torino 5
In what it is new or different?
• In what IoT differ w.r.t. Machine-to-Machine (M2M)
interactions
- E.g., a device controlling a timer, a heater, a machine
• Key is the INTERNET!
M2M IoT
Point-to-point communication embedded with the HW Devices communicate via IP networks, incorporating
multiple protocols
Devices use cellular or other Data delivery relayed through a middle-layer hosted in the
ad-hoc networks cloud
Devices do not rely on the internet Devices DO require an internet connection
Integration is limited (devices must match the Virtually unlimited integration (but needs a solution to
corresponding standards) manage all types of communications
M. Poncino - Politecnico di Torino 6
The IoT hierachy
• A functionality-oriented view
[Source: https://www.winsystems.com]
M. Poncino - Politecnico di Torino 10
IoT and this course
• IoT as a whole is a sort of distributed computing system
- Learning IoT cannot be a single course
• Sensors, devices, architectures
• Networks and ad-hoc protocols
• Cloud
• Data management
• Security
• Business models….
• Our focus is on the devices and their energy balance
(includes
(filter, amplif.)
network I/F)
sensors Signal Digital actua
sensors ADC DAC actuat
sensors cond. processing actuat
environment
Sensing subsystem
Processing subsystem
Actuation (communication) subsystem
MPPT
scavengers eEnergy Functionality flow
scavengers conv
scavengers Power/energy flow
storage
MPPT
scavengers eEnergy Functionality flow
scavengers conv
scavengers Power/energy flow
storage
Functional components are generic ‘loads’ from the power flow perspective!!!
M. Poncino - Politecnico di Torino 19
Lecture plan
• We will first quickly overview the main concepts relative from
the functional perspective
- The sensing subsystem
- The processing subsystem
- The actuation subsystem
• We will then move to the power/energy perspective
- Understand the issues involving energy
• Consuming (as little as possible) energy
• Generating energy
• Storing energy
• Convert energy
Sensing subsystem
Processing subsystem
Actuation (communication) subsystem
21
M. Poncino - Politecnico di Torino
The sensing sub-system
22
Introduction
• Sensors are ubiquitous
[Source: electronics-tutorial.com]
[Source: electronics-tutorial.com]
SENSOR
- Fewer pins
- Better signal robustness (no interference)
- Faster speed at iso-noise
• In the digital word most interfaces are serial!
• Most popular: USB, SPI, I2C
Computing
device
Digital
serial
output
• Smartness often include
- Programmability (signals to set some parameters)
- Storage (e.g. for config parameters or buffering)
M. Poncino - Politecnico di Torino 42
Smart Sensors
• Example:
Alphasense
PM sensor
Sensor fusion: combining sensory data so that the resulting information has less
uncertainty than would be possible when these sources were used individually.
M. Poncino - Politecnico di Torino 44
Coordinating multiple sensors
• Sensor fusion is a computational issue, not a sensor one
- Part of the “software” part of an IoT device
- But can be also executed on the sensor
Sensing subsystem
Processing subsystem
Actuation (communication) subsystem
54
The digital domain
• Fundamentally, digital domain = processing !
• i.e., run algorithms on the sensed/stored data
Micro-controllers (MCUs)
vs Micro-processors (MPUs)
M. Poncino - Politecnico di Torino 55
MCUs vs MPUs?
• MPUs contain only a CPU (possibly with some cache)
and interfaces
- They require added peripherals to perform tasks.
• MPUs are quite powerful
- Computational power (multiple execution units (multicore))
- Support for special operations
- Accelerators
• MPUs are ‘modular’
- Resources (memory, disk, etc) are external
- Can be added as needed
• Expensive!!!
M. Poncino - Politecnico di Torino 56
MCUs vs MPUs?
• MCUs are “complete systems” on a single board or chip
- They contain RAM, ROM, and similar peripherals, which allow them to perform
(simple) tasks independently.
- A number of interfaces typical of sensors or other devices
- Often include one or more ADC for analog inputs!
• MCUs have limited functionalities and modest computational power
• They are meant for application-specific systems
- Simple tasks, possibly repeatedly executed
• Cheap!!
Sensing subsystem
Processing subsystem
Actuation (communication) subsystem
75
Actuation
• The symmetric action of sensing
- DAC + transducer
- Transducer : electrical domain is in input…
• As for sensors, a number of possible devices
- Electric motors
- Comb drives
- Piezoelectric actuator
- Servomechanisms
- Pneumatic actuators
- Hydraulic actuators
- Solenoids
- Stepper motor
- Speakers?
M. Poncino - Politecnico di Torino 76
Actuation
• One difficulty in driving actuators is that “smart” actuators
(dual of smart sensors) are uncommon
• Need to design the appropriate circuitry for the interface
• Example: driving a speaker
- Speaker essentially a resistor (typical 8Ω)
- Power rating e.g. 1W current P=RI2 I = √P/R = 350mA!!!
- Assuming MCU has analog output, output current in the range of tens
of mA!
• Need an amplifier…