Professional Documents
Culture Documents
Cyber Physical Systems CSD3010 Unit - I: by N.D. Patel Email
Cyber Physical Systems CSD3010 Unit - I: by N.D. Patel Email
CSD3010
Unit - I
By
N.D. Patel
Email: narottamdaspatel@vitbhopal.ac.in
Linkden: https://www.linkedin.com/in/ndpatel18/
Contact Number: 9450095800
1
Cyber Physical Systems
CSD3010
Unit - I
2
Cyber Physical Systems
CSD3010
Unit - I
3
Cyber Physical Systems
CSD3010
4
Network Security Fundamentals
Introduction to Cyber Physical Systems:
• With the exponential growth of cyber-physical systems (CPS), new security
challenges have emerged. Various vulnerabilities, threats, attacks, and controls
have been introduced for the new generation of CPS.
Introduction to Cyber Physical Systems:
Introduction to Cyber Physical Systems:
https://ieeexplore.ieee.org/abstract/document/7924372/?casa_token=-
MnrDaghpnAAAAAA:AmV4VilksYXz8jIlFZ03jkoWXZ2ua6lZ1chXn54Kq9zwLgFGPfT5gyMgi9o_FZ0ICagZ3AM
Introduction to Cyber Physical Systems:
https://ieeexplore.ieee.org/abstract/document/7924372/?casa_token=-
MnrDaghpnAAAAAA:AmV4VilksYXz8jIlFZ03jkoWXZ2ua6lZ1chXn54Kq9zwLgFGPfT5gyMgi9o_FZ0ICagZ3AM
2023 Emerging Technology Adoption Roadmap
https://www.gartner.com/en/articles/what-s-new-in-the-2023-gartner-hype-cycle-for-emerging-technologies
Cyber + Physical Systems
The term “cyber-physical systems” emerged in 2006, coined by Helen Gill at the National
Science Foundation in the US.
• CPS technologies are transforming the way people interact with engineered
systems, just as the Internet has transformed the way people interact with
information.
Small Computer
Connected Industrial
System
Network
BigComplex
System
Advanced
Manufacturing Robot
Automotive CPS
• Safer Transportation
• Reduced Emissions
• Smart Transportation
• Energy Efficiency
• Climate Change
• Human-Robot Collaboration
Example CPS System
• STARMAC Ǫuadrotor Aircraft
• Autonomous Rotocraft
STARMAC Design Block
• https://www.raspberrypi.org/magpi/
• https://blog.adafruit.com/category/raspberry-pi/
• https://iccps.acm.org/2024/
• https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=ACM%2FIEEE+INTER
NATIONAL+CONFERENCE+ON+CYBER-PHYSICAL+SYSTEMS&btnG=
Introduction to Microcontrollers
26
Introduction to Microcontrollers
27
Microcontrollers
28
What is Control?
� Sequencing operations
� Turning switches on and off
� Adjusting continuously (or at least finely) variable
quantities to influence a process
29
Microcontroller vs Microprocessor
30
Microcontroller vs Microprocessor
31
Types of Processors
32
How to choose micro-processors/controllers?
33
Types of Microcontrollers
34
DSP Processors
35
Multiply-Accumulate Instructions
36
Programmable Logic Controller (PLC)
39
GPUs
� NVIDIA?
� NVIDIA GeForce RTX 4090
� NVIDIA GeForce GTX 660
� AMD Radeon RX 7900 XTX
40
Parallelism vs Concurrency
41
Imperative Language
42
Program Dependency – Sequential Consistency
� No dependency between
lines 3 and 4
� Line 4 is dependent on
Line 3
43
Thread Mapping on Processor
� OS Dependent Scheduler
� Static Mapping
� Basic Lowest Load (fill in Round Robin
fashion)
� Extended Lowest Load
44
Performance Improvement
45
Parallelism
46
RISC and CISC Architectures
47
5 Cycles of RISC Instruction Set
48
Pipelining in RISC
4 branch
Mu taken
Add
Zer
o?
Dec
ode
memor
data
Mu
Mu
memory
x
y
Instruc
P Regist
AL
bank
U
tion
C er
50
Pipelining Hazard
� Data Hazard
� Control Hazard
� Out-of-order Execution
� Speculative Execution
51
Out-of-order Execution
interlock
register bank read 2 A B C D E register bank read 2 A B E
C D
ALU A B C D E ALU A E
B C D
data memory A B C D E data memory A E
B C D
register bank write A B C D E register bank write A E C D E
B
1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 11 12
cycle cycle
53
CISC Instruction
54
Multicore Architecture
55
FPGAs
Zy 40
Fixed and Floating Point Numbers
57
Programmers need to guard
58
History of ARM Processor
59
ARM Cortex Processors
� ARM Cortex-A family:
� Applications processors
� Support OS and high-performance
applications Such as
Smartphones, Smart TV
� ARM Cortex-R family:
� Real-time processors with high
performance and high reliability
� Support real-time processing and
mission-critical control
� ARM Cortex-M family:
� Microcontroller
� Cost-sensitive, support SoC
60
Raspberry Pi
63
Modeling Cyber-Physical Systems
https://link.springe
r.com/chapter/10.
1007/978-3-319-
76935-6_5
65
Hybrid Cyber-Physical Systems
66
Cyber-Physical Systems in Smart
Grid
67
Modeling Cyber-Physical Systems: Example
68
Quantum Cyber-Physical Systems
00
01
10
11
Two qubits can represent
the exact same Four states
69
ML in Embedded and Cyber-Physical Systems
70
ML in Embedded and Cyber-Physical Systems
https://aicps.eng.uci.edu/machine-learning-in-embedded-cyber-physical-systems/
71
ML in Embedded and Cyber-Physical Systems
https://aicps.eng.uci.edu/machine-learning-in-embedded-cyber-physical-systems/
72
Test bed for power side-channel data collection
https://aicps.eng.uci.edu/machine-learning-in-embedded-cyber-physical-systems/
73
Test bed for power side-channel data collection
https://aicps.eng.uci.edu/machine-learning-in-embedded-cyber-physical-systems/
74
Cyber Physical System
Unit - III
By
N.D. Patel
Email: narottamdaspatel@vitbhopal.ac.in
Linkden: https://www.linkedin.com/in/ndpatel18/
Contact Number: 9450095800
75
Cyber Physical System
Unit - III
Analyzing Cyber Physical Systems: Real-Time Tasks and Worst-Case
Execution Time. Finding and Proving Invariants. Convergence,
Liveness, and Termination using Lyapunov Functions, Multiple Lyapunov
Functions, Common Lyapunov Functions, and Ranking Functions.
76
Analyzing Cyber Physical Systems
1) Physical
2) Networking and communication
3) Distributed Cyber System
Analyzing Cyber Physical Systems
Analyzing Cyber Physical Systems: How does CPS
Work?
CPS integrate sensing and communication function �
Networking into physical Objects
Infrastructure
Connecting all devices
Internet
Real-Time Tasks and Worst-Case Execution Time
(WCET)
Execution time and Distribution (Safety Margin/Over Margin)
Measured WCET
Exact WCET
Estimated WCET
WCET and Best-Case Execution Time (BCET)
Execution time and Distribution (Safety Margin/Over Margin)
CPS: Finding and Proving Invariants
Cyber Invariant + Network Invariant + Physical Invariant = System Invariant
Network Invariant: IP, Mac, interface delay, propagation delay, end-to-end packet transmission time, bandwid
https://ieeexplore.ieee.org/document/6166223
CPS: Convergence-A CONNECTED OPERATING ENVIRONMENT
Analyze whether potential solutions meet your needs and criteria, and decide whether you can implement them
successfully.
CPS: Convergence-ORGANIZATIONAL CHALLENGE
CPS: Convergence- ORGANIZATIONAL SOLUTION
CPS: BENEFITS OF CONVERGENCE
• Lyapunov functions (also known as Lyapunov’s second method for stability) are
crucial in dynamical system stability and control theory.
• It can be used to predict the future state of a system based on its current state.
Lyapunov Functions
A Lyapunov function is a scalar function established on phase space that can be used to show an
equilibrium point’s stability (behavior of the system dones’t change).
A state where the output of the control system remains CONSTANT, even when the input values vary.
Here, i = 1, 2, …n
Lyapunov Functions
A Lyapunov function is a scalar function established on phase space that can be used to show an
equilibrium point’s stability.
https://byjus.com/maths/lyapunov-functions/
Lyapunov Functions
A Lyapunov function is a scalar function established on phase space that can be used to show an
equilibrium point’s stability.
TORA (Translational Oscillator with Rotational Actuator)
system
• A translational oscillator with a rotational actuator (TORA) is an
underactuated mechanical system with two degrees of freedom.
• Specifically, the dynamic model of the TORA system is first given, and
the passivity property is analyzed.
https://tora.soft112.com/
TORA (Translational Oscillator with Rotational Actuator)
system
https://tora.soft112.com/
Cyber Physical System
Unit - IV
By
N.D. Patel
Email: narottamdaspatel@vitbhopal.ac.in
Linkden: https://www.linkedin.com/in/ndpatel18/
Contact Number: 9450095800
97
Cyber Physical System
Unit - IV
Data Analytics: Introduction to Machine Learning. Mathematical
Optimization - planning and guidance. Basics of Neural Networks.
Deep Learning.
Visualization Tools: Data Abstraction – Task Abstraction – Labels
for Validation – Visualization Framework and workflow design -
Augmented Reality. Cyber Twin Concept. Microsoft Cloud with
Power Business Intelligence.
98
100 Terms for DATA SCIENTEST
A- Accuracy, AUC, ARIMA
B- Bias, Binomial Distribution, Bayes
C- Clustering, CNN, Confusion Matrix, Cross-Validation
D- DNN, Data mining, Decision Tree, Dimensionality Reduction
E- Ensemble, EDA, Entropy
F- F-Score, Feature Extraction, Feature Engineering
.
.
.
.Z- Z-test, Z-Sore,….etc
Introduction to Machine Learning
What is Data Science?
Machine Learning
New Similar
Data
Machine Learning Lifecycle
Answe
r
New Data/Re-
training Deployment
Business Data
Problem Processing Yes
• Data Collection
• Data
Preprocessing Model
ML Problem Meets
• Data Visualization Algorith • Training
Formulation Business
• Data Augmentation m • Tuning Goal?
• Feature • Evaluation
Engineering
• Etc.
No
Some Important ML Terms
Data
• larger amounts of data, easy to produce, collect and store
Compute
• powerful processing units, hardware acceleration, parallelization
Algorithms
• ML frameworks, libraries, improved and more efficient techniques
New Similar
Data
Introduction to Machine Learning
DATA + ALGORITHMS/STATISTICAL +
LEARNING/ANALYSE/Recognize
Patterns/Predictions/Decisions
Create Inferences/Improving
Accuracy/Performance over time
• AutoML
• ……
Introduction to Machine Learning: Applications
https://www.mdpi.com/2076-3417/12/16/8338
Using Augmented Reality in Different BIM
Workflows
Virtual and Augmented Reality Tool Workflow
https://www.researchgate.net/publication/257745453_A_
Cyber Physical System
Unit - II
By
N.D. Patel
Email: narottamdaspatel@vitbhopal.ac.in
Linkden: https://www.linkedin.com/in/ndpatel18/
Contact Number: 9450095800
117
Cyber Physical System
Unit - II
Design of Cyber Physical Systems: Architectural Choices. Real-Time
Operating Systems.
Networking Embedded Systems. Sensors and Actuators. End-to-End
System Design.
118
Design of Cyber Physical Systems
5 levels cyber physical system architecture
Current status and advancement of cyber-physical
systems in manufacturing
https://www.sciencedirect.com/science/article/pii/S0278612515000400
CPS – a Concept Map
https://ptolemy.berkeley.edu/projects/cps/
Robust Cyber–Physical Systems
https://www.sciencedirect.com/science/article/pii/S0167739X15002071
Robust Cyber–Physical Systems
https://www.sciencedirect.com/science/article/pii/S0167739X15002071
Design of Cyber Physical Systems: Real-Time Operating
Systems
Cyber-physical systems are systems comprising both a physical part and a software part, whereby the physical
part of the system sends information about itself to the software part, and the software sends information, usually
in the form of commands, to the physical part.
https://www.mdpi.com/2571-8800/4/2/12
Difference between Cyber-Physical System(CPS) and Embedded
System
Key Features of CPS Key Features of Embedded System
Single-purpose
Sensing and Actuation Low-power
Networked Real-time processing
Real-time processing Small form factor
Safety and Security Custom hardware
Cyber Physical Systems: End-to-End System Design
https://ieeexplore.ieee.org/document/6862654
Cyber Physical Systems: End-to-End System Design
A smart factory CPS (SF-CPS) based on the CPS 8C
architecture
https://journals.sagepub.com/doi/pdf/10.1177/1687814018784192
Cyber Physical Systems: Sensors and Actuators
https://www.sciencedirect.com/science/article/pii/S209580991830612X?via%3Dihub