Clase01 2022
Clase01 2022
Introducción
●
Computations and communications are
deeply embedded in, and interacting with
physical processes to equip physical systems
with new capabilities
●
Covers a wide range of scale (pacemakers to
national power grid)
Computing in CPS
Application Domains of Cyber-
Physical Systems
●
Healthcare ●
Large-scale
– Medical devices Infrastructure
– Health management networks – Physical infrastructure
monitoring and control
●
Transportation
– Electricity generation and
– Automotive electronics distribution
– Vehicular networks and smart – Building and environmental
highways controls
– Aviation and airspace
management
●
Defense systems
– Avionics ●
Tele-physical operations
– Railroad systems – Telemedicine
●
Process control – Tele-manipulation
Industria 4.0
CPS characteristics
●
Cyber capability in every physical component
●
Networked at multiple and extreme scales
●
Complex at multiple temporal and spatial scales
●
Constituent elements are coupled logically and physically
●
Dynamically reorganizing/reconfiguring; “open systems”
●
High degrees of automation, control loops closed at many
scales
●
Unconventional computational & physical substrates
(such as bio, nano, chem, ...)
●
Operation must be dependable, certified in some cases
Confluence of diverse areas
Realistic (Integrated) Solutions
●
CPS must tolerate
– Failures
– Noise
– Uncertainty
– Imprecision
– Security attacks
– Lack of perfect synchrony
– Scale
– Openness
– Increasing complexity
– Heterogeneity
– Disconnectedness
Challenges Arise
●
Assumptions underlying distributed systems
technology has changed dramatically
– New abstractions needed
– Wired => wireless
– Unlimited power => limited power
– User interface (screen/mouse) => sensors/real world
interface
– Fixed set of resources => resources are dynamically
added/deleted
– Each node is important => aggregate behavior is important
– Location unimportant => location is critical
New Theories
●
Compositional
●
Control Theory
●
Optimization
●
Real-Time
●
Integration Issues
●
Openness, Mobility, Uncertainty,
Concurrency, Noise, Faults, Attacks, Self-
Healing, etc.
Embedded Systems
• Embedded system: computing systems designed for a
specific purpose.
• Embedded systems are everywhere!
Embedded Systems are getting more complex
• Modern high-end cars have over
one hundred processors.
• Increasing number of sensors,
actuators, smart control, GUI..
• Intelligent data fusion.
F-35 Lightning II
Optical Track.
… are more Interconnected
• Command-and-control
network – real-time
integration of vehicles,
people, command.
• Geotagging: useful or
scary?
• Timing predictability
– The time that the system requires to
perform an operation should exhibit
little variation
– Such time should be easy to compute (by Prof. Edward Lee)
– It should not be affected by other
parallel operations in the system.
Real-Time and Composability
• System correctness depends on:
– Logical correctness: system produces correct results.
– Temporal correctness: system produces results at the
right time.
• Timing (real-time) analysis = verify temporal correctness.
• Ideally, we want composable analysis
– Verify each subsystem in isolation
– Then verify that there interaction is correct
• Unfortunately, this is very hard in practice…
• Main issue: hardware and software resources shared
among multiple subsystems.
What is Required - Isolation
• Isolation: one subsystem should not affect another
unrelated subsystem.
• Current architectures are pretty good at logical isolation…
– Ex: memory protection and privilege levels in the CPU
make sure that a process can not mess with the
memory of another process or the OS.
• … but fairly poor at temporal isolation.
• Sensores: • Actuadores:
– Cámaras – Motores
– Acelerómetros – Soleoides
– Giroscopios – LEDs, lasers
– Extensiómetro – LCD
– Micrófonos – Parlantes
– Magnetómetros – Interruptores
– Radar/Lidar – Válvulas
– Sesnores químicos – ...
– Sensores de presión
– Interruptores
– ...
Problemas de diseño con sensores
• Calibración
– Relacionar medidas con el fenómeno físico
– Puede aumentar los costos de producción dramáticamente
• No-linearidad
– Mediadas pueden no ser proporcionales al modelo físico
– Se puede requerir corrección
– Retroalimentación puede ser usada para mantener el punto de operación
en la región de linearidad
• Muestreo
– Aliasing
– Pérdida de eventos
• Ruido
– Signal conditioning
– Filtrado digital introduce latencia
• Fallas
– Redundancia (problema de fusión de sensores)
– Ataques
Redes
Sopa de tecnologías
Redes cableadas
• Ethernet
• CAN: Controller Area Network (Bosch, 1983)
• TTP: Time-Triggered Protocol (Vienna U. of Tech.)
• FlexRay (Automotive industry, deployed 2006...)
• TTEthernet (Time-triggered Ethernet)
• TSN (Time-sensitive networks)