SlideShare a Scribd company logo
1 of 23
Download to read offline
Laurent Maillet-Contoz, STMicroelectronics, France
Virtual Twins:
Modeling Trends and Challenges Ahead
Outline
• Flavours of Digital Twins
• Evolution of the modeling trends over the last decade
• Illustration on two examples
• Upcoming challenges
• Conclusion
2
Flavours of Digital Twins
IP IP
IPSOCSystem
System of
systems
Digital Twin, model of:
• Product
• Production line
• Manufacturing process
Digital Twin, model of:
• System architecture
• Interaction between
system components
Virtual Twin, model of:
• SoC architecture
• Interactions between
hardware and software
3
Evolution of Design Flow: the Old Days
Shift-left paradigm
Architecture Implementation DebugArchitecture Implementation Debug
Software design
Architecture Design Verification Silicon Board
Hardware design
Specification
Integration/Validation
Functionality, safety, security
Performance
Virtual
prototype /
Twin
Savings
2000’s
2010’s
1666-2011
1685-2014
4
Usage of Virtual Twins Nowadays
• Before development of embedded software
• Find ambiguities and contradictions in specifications
• Prototype certain aspects of the specification (performance, low-power…)
• Development of embedded software / Validation
• Implement and test maximum number of aspects of the software and system
• Mature software
• Bringup
• Tool to understand “final” software execution and remaining bugs
• Customer own developments
• Develop user parts of the embedded software
• Integrate in bigger system
Pre
Si
Post
Si
5
Spec to Silicon Product =
Continuum of SoC Virtual Twins
Project lifetime
SOC
SoC
Black box model
SoC SystemC
architecture model
1666-2011
1685-2014
SoC systemC /
HDL co-simulation
SOC
Specification HW & SW Specifications
CPU IP IP
IPSOC
CPU IP IP
IPSOC
CPU
IP
(TLM)
IPSOC
IP
(RTL)
CPU
IP
(TLM)
IPSOC
IP
(RTL)
=Transactor
SoC systemC /
HDL Co-emulation / Co-protoyping
= SystemC model
= RTL
= HW emulator
= SW
6
Typical Profile for Complex SoC
• Processing intensive
• CPU, GPU, Neural PE, Image processing
• Many I/Os
• Sensors: LIDAR, Camera, GPS, etc.
• Electronic Control Units
• Safety and security constraints!
• Unexpected behaviours
• Hardware failures
7
Platform Case #1:
Complex SoC
• Multi-core CPU
• DDR 3 or 4
• Clusters
• Processing (Video encode/decode, Image)
• Security (dedicated processor)
• I/O (SATA, USB, PCIe, Wifi, Ethernet, CAN,
SPI, I2C, FlexRay, MiPHY …)
• Actuation/Sampling (PWM, ADC, etc.)
• “Raw” complexity
• 20+M lines of code for software
(Linux, proprietary RTOS, etc.)
• 1 M lines of code for the models
• Complex IPs
(P10)
(P11)
IP (P4)
Processor
(P1)
Processor
(P2)
IP (P3) memory
Interconnect
Eth
Wifi
CAN
USB
(P12)
8
Smart Objects & IoT
• Many Applications domains
• Consumer
• Industrial
• Medical
• …
• Connectivity
• Ethernet, Industrial buses
• Bluetooth, Wi-Fi, LoRa
• Security
• Distributed systems
• Low-power
9
Platform Case #2:
Proliferation of Small SoCs
• MCU/MPU: Few embedded cores
• SRAM
• “Offloading” IPs (DMA, Graphics)
• I/Os: GPIO (with some PWM), I2C, SPI...
• Connectivity: USB, Bluetooth, Ethernet
• Energy efficiency
• Security
• Complexity in the distributed system
“Locally simple, Globally complex”
Sensor 1
Sensor 2
Actuator
M7
STM32
Sensor 1
Sensor 2
Actuator
M7
STM32
Sensor 1
Sensor 2
Actuator
M7
STM32
Sensor 1
Sensor 2
Actuator
M7
STM32
Sensor 1
Sensor 2
Actuator
M7
STM32
Sensor 1
Sensor 2
Actuator
M7
STM32
Sensor 1
Sensor 2
Actuator
M7
STM32
Sensor 1
Sensor 2
Actuator
M7
STM32
10
Modeling Trends
• Anticipation of functional embedded software development and validation
• Introspection and diagnosis capabilities in virtual twins
• Running « untestable » scenarios
• Validation of dynamic power management strategies
• Reset and clock controller, clock trees
• Wake-up, low-power modes
• Integration of security features
• Validation of the (system-of-) system
• Sensor inputs and environmental effects
• From 10+ to 1000+ node instances
• Physical/virtual device unification
• Mixing actual devices and virtual twins in a single execution
11
Example: BLE Device Model
STM32 Bluetooth Low Energy (BLE)
Virtual Twins
BLE
USART
I/O
USART Window
USART
I/O
Bluetooth
RF channel
BLE
Node 0
GPIOs
Cortex M4
STM32
subsystem
Nucleo
Panel
Cortex M0
BlueTooth
Node 1
GPIOs
Cortex M4
STM32
subsystem
Nucleo
Panel
Cortex M0
BlueTooth
13
STM32 BLE Virtual Twin
• Abstract Hardware + Firmware: executable specification
• BLE state machine & BLE I/F
• STM32 subsystem
• ARM Cortex M4 Instruction Set Simulator
• GPIO, SPI, USART (core functionality needed)
• RCC, EXTI, SYSCFG (partial)
• Flash Interface, PWR (stub)
• Benefits
• Early availability of Virtual Twin: low effort thanks to high
abstraction level
• Scalable to tens of nodes
• Corner case software bugs identified
Ex: illegal values programmed in clock controller
GPIO
sNucleo
Panel
BLE I/FGATT
Cortex M0
BlueTooth
Cortex M4
STM32
subsystem
14
Example: Sensor Node Model
for Critical Water Management Infrastructure
IoT Device Model
Typical Architecture
MCU
Connectivity
Sensor
Embedded
software
Open
(%)
Flow
(m3/s)
Satur.
(%)
m
Benefits:
1. System validation without constraints
of physical devices
2. Manage complexity
3. Increase flexibility and productivity
4. Increase the system reliability
16
Sensor Node Black Box Model
• A simple service-oriented model
• Black-box
• No detail on internal architecture
• Embedded firmware is abstracted
• Measures obtained from a file
• Early availability
• Fast execution
• Generation of data communication
to the gateway
• Used as the functional contract of
the sensor node specification
Fecha;EMALCSA/00 PRESA CECEBRE/02
Válvulas/Compuerta 3/Apertura (%);EMALCSA/00
PRESA CECEBRE/02 Válvulas/Compuerta 3/Caudal
(m3/s);EMALCSA/00 PRESA CECEBRE/02
Válvulas/Compuerta 3/Desague (%)
08/04/2019 00:25:21.871;10.11571;2.615295;9.07122
08/04/2019 00:35:21.879;10.11571;2.616884;9.061384
08/04/2019 00:45:21.887;10.11571;2.616821;9.061776
08/04/2019 00:55:21.911;10.11571;2.617014;9.060584
08/04/2019 01:05:21.920;10.11571;2.618574;9.050963
08/04/2019 01:15:21.928;10.11571;2.618614;9.050715
Post data towards gateway
17
Sensor Node SystemC Architecture Model
• Sensor node architectural model
includes
• Microcontroller Instruction Accurate
model
• Register accurate model of
peripherals
• Embedded software
• Running on STM32 model
• Using STM32 HAL
• Collects data from sensor model
through I2C bus
• Programs connectivity IP model to
issue communication
• Generation of data communication
to the gateway
• Conform to the functional
contract of the sensor node
Fecha;EMALCSA/00 PRESA CECEBRE/02
Válvulas/Compuerta 3/Apertura (%);EMALCSA/00
PRESA CECEBRE/02 Válvulas/Compuerta 3/Caudal
(m3/s);EMALCSA/00 PRESA CECEBRE/02
Válvulas/Compuerta 3/Desague (%)
08/04/2019 00:25:21.871;10.11571;2.615295;9.07122
08/04/2019
00:35:21.879;10.11571;2.616884;9.061384
08/04/2019
00:45:21.887;10.11571;2.616821;9.061776
08/04/2019
00:55:21.911;10.11571;2.617014;9.060584
08/04/2019
01:05:21.920;10.11571;2.618574;9.050963
08/04/2019
01:15:21.928;10.11571;2.618614;9.050715
Post data towards the gateway
Cortex M4
STM32
Connectivity
Flow
Meter
sensor
i2c
registers
Payload
(registers values)
Embedded
software
STM32 F411
ARM
CM4
I
C
N
Flash
RCC
SPI
GPIO
EXTI
Mem
PWR
I2C
SCI
SYS
CFG
1666-2011
18
Challenges Ahead
Extending the Virtual Twin
at the Next Level
• Automotive domain: the whole system is a big network!
• CAN, LIN, FlexRay, Ethernet AVB, MOST…
• How to model inter-components protocols?
• Which abstraction for the “blocks”?
• Interoperability concern for virtual twins integration
• Standardization effort still to be undertaken
https://www.hyundai.news/eu/brand/hyundai-and-cisco-to-bring-vehicle-with-next-generation-network-technology-in-2019/
20
Multi-system Integration
Computing farm
System
address
map
TLM IP
model
Process
or model
AMS
model
TLM IP
model
Memor
y
model
I/O
Interconnect model
• Models in different technical states
• OS, Compiler, Simulation kernel
• Heterogeneous domains
• Digital, AMS, Multi-physics
• Code sharing constraints vs flexibility
required by customers
• Replace IP X by Y
• Add customer-specific IP
• Idea: each domain in separate simulation
• Challenges: performance, semantics
• Opportunity: exploiting multi-cores?
21
Multi-level Twins Integration
• Address simulation speed concern
• Manage several levels of abstraction
• Guaranty functional equivalence
• Mitigate the modeling costs
• Ensure seamless integration / substitution of twins
• Interfaces interoperability
• Heterogeneous modeling languages & frameworks
22
Takeaways
• Usage of virtual twins for different categories of circuits
• Complex SoCs
• Smart objects
• Trends and benefits
• Early validation of embedded software & power management strategies
• Testing “untestable“ scenarios
• Integration of security features
• Manage connectivity
• Scalable validation of the (system-of-) system
• Physical/virtual device unification
• Upcoming challenges
• Expand to the next level
• Heterogeneous models integration
• Management of multi-abstraction twins
23

More Related Content

What's hot

Jprofessionals co create the future of your city
Jprofessionals co create the future of your cityJprofessionals co create the future of your city
Jprofessionals co create the future of your cityPance Cavkovski
 
Wisenet - Complete ppt about the topic wisenet
Wisenet -  Complete ppt about the topic wisenetWisenet -  Complete ppt about the topic wisenet
Wisenet - Complete ppt about the topic wisenetAboo Thahir
 
Modeling self-adaptative IoT architectures
Modeling self-adaptative IoT architecturesModeling self-adaptative IoT architectures
Modeling self-adaptative IoT architecturesIván Alfonso
 
Final year project 2013 14 for ECE, EEE, TE, EIE Branches
Final year project 2013 14 for ECE, EEE, TE, EIE BranchesFinal year project 2013 14 for ECE, EEE, TE, EIE Branches
Final year project 2013 14 for ECE, EEE, TE, EIE Branchesprojectsepark
 
Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)Nikandrov Maxim
 
Portfolio dang minhhung
Portfolio dang minhhungPortfolio dang minhhung
Portfolio dang minhhunghungdang117
 
IRJET- Theft Control using IoT
IRJET-  	  Theft Control using IoTIRJET-  	  Theft Control using IoT
IRJET- Theft Control using IoTIRJET Journal
 
Io t system management with
Io t system management withIo t system management with
Io t system management withxyxz
 
Location Based System For Mobile Devices Using Rfid
Location Based System For Mobile Devices Using RfidLocation Based System For Mobile Devices Using Rfid
Location Based System For Mobile Devices Using Rfidvein
 
IoT Application Testing - Complexities & Challenges
IoT Application Testing - Complexities & ChallengesIoT Application Testing - Complexities & Challenges
IoT Application Testing - Complexities & ChallengesSatyaKVivek
 
IEEE 2014 NS2 NETWORKING PROJECTS Certificateless remote anonymous authentic...
IEEE 2014 NS2 NETWORKING PROJECTS  Certificateless remote anonymous authentic...IEEE 2014 NS2 NETWORKING PROJECTS  Certificateless remote anonymous authentic...
IEEE 2014 NS2 NETWORKING PROJECTS Certificateless remote anonymous authentic...IEEEBEBTECHSTUDENTPROJECTS
 
Weather Station Using IoT
Weather Station Using IoT Weather Station Using IoT
Weather Station Using IoT fatinfaqihah5124
 
3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devicesRaghavendra Maggavi
 
The Stuxnet Worm creation process
The Stuxnet Worm creation processThe Stuxnet Worm creation process
The Stuxnet Worm creation processAjay Ohri
 

What's hot (20)

Jprofessionals co create the future of your city
Jprofessionals co create the future of your cityJprofessionals co create the future of your city
Jprofessionals co create the future of your city
 
Wisenet - Complete ppt about the topic wisenet
Wisenet -  Complete ppt about the topic wisenetWisenet -  Complete ppt about the topic wisenet
Wisenet - Complete ppt about the topic wisenet
 
569
569569
569
 
Bio stamp
Bio stampBio stamp
Bio stamp
 
Python urllib
Python urllibPython urllib
Python urllib
 
Modeling self-adaptative IoT architectures
Modeling self-adaptative IoT architecturesModeling self-adaptative IoT architectures
Modeling self-adaptative IoT architectures
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Final year project 2013 14 for ECE, EEE, TE, EIE Branches
Final year project 2013 14 for ECE, EEE, TE, EIE BranchesFinal year project 2013 14 for ECE, EEE, TE, EIE Branches
Final year project 2013 14 for ECE, EEE, TE, EIE Branches
 
Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)Cyber Security in Substation Automation (IEC 61850)
Cyber Security in Substation Automation (IEC 61850)
 
Portfolio dang minhhung
Portfolio dang minhhungPortfolio dang minhhung
Portfolio dang minhhung
 
IRJET- Theft Control using IoT
IRJET-  	  Theft Control using IoTIRJET-  	  Theft Control using IoT
IRJET- Theft Control using IoT
 
Chapter 1 pdf
Chapter 1 pdfChapter 1 pdf
Chapter 1 pdf
 
Io t system management with
Io t system management withIo t system management with
Io t system management with
 
Location Based System For Mobile Devices Using Rfid
Location Based System For Mobile Devices Using RfidLocation Based System For Mobile Devices Using Rfid
Location Based System For Mobile Devices Using Rfid
 
IoT Application Testing - Complexities & Challenges
IoT Application Testing - Complexities & ChallengesIoT Application Testing - Complexities & Challenges
IoT Application Testing - Complexities & Challenges
 
Io t introduction
Io t introductionIo t introduction
Io t introduction
 
IEEE 2014 NS2 NETWORKING PROJECTS Certificateless remote anonymous authentic...
IEEE 2014 NS2 NETWORKING PROJECTS  Certificateless remote anonymous authentic...IEEE 2014 NS2 NETWORKING PROJECTS  Certificateless remote anonymous authentic...
IEEE 2014 NS2 NETWORKING PROJECTS Certificateless remote anonymous authentic...
 
Weather Station Using IoT
Weather Station Using IoT Weather Station Using IoT
Weather Station Using IoT
 
3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices
 
The Stuxnet Worm creation process
The Stuxnet Worm creation processThe Stuxnet Worm creation process
The Stuxnet Worm creation process
 

Similar to Virtual Twins: Modeling Trends and Challenges Ahead

Virtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges AheadVirtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges AheadBrain IoT Project
 
Emb Sys Rev Ver1
Emb Sys   Rev Ver1Emb Sys   Rev Ver1
Emb Sys Rev Ver1ncct
 
Brochure (2016-01-30)
Brochure (2016-01-30)Brochure (2016-01-30)
Brochure (2016-01-30)Jonah McLeod
 
How to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source ProjectHow to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source ProjectIonela
 
Datasheet PIC16f887
Datasheet PIC16f887Datasheet PIC16f887
Datasheet PIC16f887whendygarcia
 
Casp report
Casp reportCasp report
Casp reportqudhuqdh
 
final project report_full edit
final project report_full editfinal project report_full edit
final project report_full editSayam Roy
 
16 f887
16 f88716 f887
16 f887lala
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTIRJET Journal
 
Resume manish kumar
Resume manish kumarResume manish kumar
Resume manish kumarmanish kumar
 
NGIoT standardisation workshops_Jens Hagemeyer presentation
NGIoT standardisation workshops_Jens Hagemeyer presentationNGIoT standardisation workshops_Jens Hagemeyer presentation
NGIoT standardisation workshops_Jens Hagemeyer presentationVEDLIoT Project
 
Gas leakage detection system
Gas leakage detection systemGas leakage detection system
Gas leakage detection systemAashiq Ahamed N
 

Similar to Virtual Twins: Modeling Trends and Challenges Ahead (20)

Virtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges AheadVirtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges Ahead
 
Emb Sys Rev Ver1
Emb Sys   Rev Ver1Emb Sys   Rev Ver1
Emb Sys Rev Ver1
 
Brochure (2016-01-30)
Brochure (2016-01-30)Brochure (2016-01-30)
Brochure (2016-01-30)
 
How to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source ProjectHow to design a Passive Infrared (PIR) Open Source Project
How to design a Passive Infrared (PIR) Open Source Project
 
Embedded
EmbeddedEmbedded
Embedded
 
Embedded
EmbeddedEmbedded
Embedded
 
Ullas_CV
Ullas_CVUllas_CV
Ullas_CV
 
Datasheet PIC16f887
Datasheet PIC16f887Datasheet PIC16f887
Datasheet PIC16f887
 
Casp report
Casp reportCasp report
Casp report
 
SBCCI08
SBCCI08SBCCI08
SBCCI08
 
final project report_full edit
final project report_full editfinal project report_full edit
final project report_full edit
 
ECI OpenFlow 2.0 the Future of SDN
ECI OpenFlow 2.0 the Future of SDN ECI OpenFlow 2.0 the Future of SDN
ECI OpenFlow 2.0 the Future of SDN
 
16 f887
16 f88716 f887
16 f887
 
Pic16f87x1a
Pic16f87x1aPic16f87x1a
Pic16f87x1a
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOT
 
Resume manish kumar
Resume manish kumarResume manish kumar
Resume manish kumar
 
NGIoT standardisation workshops_Jens Hagemeyer presentation
NGIoT standardisation workshops_Jens Hagemeyer presentationNGIoT standardisation workshops_Jens Hagemeyer presentation
NGIoT standardisation workshops_Jens Hagemeyer presentation
 
ATS SmartModem
ATS SmartModemATS SmartModem
ATS SmartModem
 
Pic16F887
Pic16F887Pic16F887
Pic16F887
 
Gas leakage detection system
Gas leakage detection systemGas leakage detection system
Gas leakage detection system
 

More from Brain IoT Project

Statistical model checking bip tool
Statistical model checking bip toolStatistical model checking bip tool
Statistical model checking bip toolBrain IoT Project
 
Rigorous system design the bip framework
Rigorous system design the bip frameworkRigorous system design the bip framework
Rigorous system design the bip frameworkBrain IoT Project
 
IMB Brokerage day - EMALCSA: SICA platform and BRAIN-IoT
IMB Brokerage day -  EMALCSA: SICA platform and BRAIN-IoTIMB Brokerage day -  EMALCSA: SICA platform and BRAIN-IoT
IMB Brokerage day - EMALCSA: SICA platform and BRAIN-IoTBrain IoT Project
 
ROBOT PATH FINDER Case Study
ROBOT PATH FINDER Case StudyROBOT PATH FINDER Case Study
ROBOT PATH FINDER Case StudyBrain IoT Project
 
Overview of the WP4 of BRAIN-IoT
Overview of the WP4 of BRAIN-IoTOverview of the WP4 of BRAIN-IoT
Overview of the WP4 of BRAIN-IoTBrain IoT Project
 
Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...
Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...
Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...Brain IoT Project
 
Brain-IoT Project: Security Cluster activities overview
Brain-IoT Project: Security Cluster activities overviewBrain-IoT Project: Security Cluster activities overview
Brain-IoT Project: Security Cluster activities overviewBrain IoT Project
 

More from Brain IoT Project (7)

Statistical model checking bip tool
Statistical model checking bip toolStatistical model checking bip tool
Statistical model checking bip tool
 
Rigorous system design the bip framework
Rigorous system design the bip frameworkRigorous system design the bip framework
Rigorous system design the bip framework
 
IMB Brokerage day - EMALCSA: SICA platform and BRAIN-IoT
IMB Brokerage day -  EMALCSA: SICA platform and BRAIN-IoTIMB Brokerage day -  EMALCSA: SICA platform and BRAIN-IoT
IMB Brokerage day - EMALCSA: SICA platform and BRAIN-IoT
 
ROBOT PATH FINDER Case Study
ROBOT PATH FINDER Case StudyROBOT PATH FINDER Case Study
ROBOT PATH FINDER Case Study
 
Overview of the WP4 of BRAIN-IoT
Overview of the WP4 of BRAIN-IoTOverview of the WP4 of BRAIN-IoT
Overview of the WP4 of BRAIN-IoT
 
Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...
Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...
Using Eclipse technologies to develop the BRAIN-IoT model-based framework for...
 
Brain-IoT Project: Security Cluster activities overview
Brain-IoT Project: Security Cluster activities overviewBrain-IoT Project: Security Cluster activities overview
Brain-IoT Project: Security Cluster activities overview
 

Recently uploaded

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 

Recently uploaded (20)

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 

Virtual Twins: Modeling Trends and Challenges Ahead

  • 1. Laurent Maillet-Contoz, STMicroelectronics, France Virtual Twins: Modeling Trends and Challenges Ahead
  • 2. Outline • Flavours of Digital Twins • Evolution of the modeling trends over the last decade • Illustration on two examples • Upcoming challenges • Conclusion 2
  • 3. Flavours of Digital Twins IP IP IPSOCSystem System of systems Digital Twin, model of: • Product • Production line • Manufacturing process Digital Twin, model of: • System architecture • Interaction between system components Virtual Twin, model of: • SoC architecture • Interactions between hardware and software 3
  • 4. Evolution of Design Flow: the Old Days Shift-left paradigm Architecture Implementation DebugArchitecture Implementation Debug Software design Architecture Design Verification Silicon Board Hardware design Specification Integration/Validation Functionality, safety, security Performance Virtual prototype / Twin Savings 2000’s 2010’s 1666-2011 1685-2014 4
  • 5. Usage of Virtual Twins Nowadays • Before development of embedded software • Find ambiguities and contradictions in specifications • Prototype certain aspects of the specification (performance, low-power…) • Development of embedded software / Validation • Implement and test maximum number of aspects of the software and system • Mature software • Bringup • Tool to understand “final” software execution and remaining bugs • Customer own developments • Develop user parts of the embedded software • Integrate in bigger system Pre Si Post Si 5
  • 6. Spec to Silicon Product = Continuum of SoC Virtual Twins Project lifetime SOC SoC Black box model SoC SystemC architecture model 1666-2011 1685-2014 SoC systemC / HDL co-simulation SOC Specification HW & SW Specifications CPU IP IP IPSOC CPU IP IP IPSOC CPU IP (TLM) IPSOC IP (RTL) CPU IP (TLM) IPSOC IP (RTL) =Transactor SoC systemC / HDL Co-emulation / Co-protoyping = SystemC model = RTL = HW emulator = SW 6
  • 7. Typical Profile for Complex SoC • Processing intensive • CPU, GPU, Neural PE, Image processing • Many I/Os • Sensors: LIDAR, Camera, GPS, etc. • Electronic Control Units • Safety and security constraints! • Unexpected behaviours • Hardware failures 7
  • 8. Platform Case #1: Complex SoC • Multi-core CPU • DDR 3 or 4 • Clusters • Processing (Video encode/decode, Image) • Security (dedicated processor) • I/O (SATA, USB, PCIe, Wifi, Ethernet, CAN, SPI, I2C, FlexRay, MiPHY …) • Actuation/Sampling (PWM, ADC, etc.) • “Raw” complexity • 20+M lines of code for software (Linux, proprietary RTOS, etc.) • 1 M lines of code for the models • Complex IPs (P10) (P11) IP (P4) Processor (P1) Processor (P2) IP (P3) memory Interconnect Eth Wifi CAN USB (P12) 8
  • 9. Smart Objects & IoT • Many Applications domains • Consumer • Industrial • Medical • … • Connectivity • Ethernet, Industrial buses • Bluetooth, Wi-Fi, LoRa • Security • Distributed systems • Low-power 9
  • 10. Platform Case #2: Proliferation of Small SoCs • MCU/MPU: Few embedded cores • SRAM • “Offloading” IPs (DMA, Graphics) • I/Os: GPIO (with some PWM), I2C, SPI... • Connectivity: USB, Bluetooth, Ethernet • Energy efficiency • Security • Complexity in the distributed system “Locally simple, Globally complex” Sensor 1 Sensor 2 Actuator M7 STM32 Sensor 1 Sensor 2 Actuator M7 STM32 Sensor 1 Sensor 2 Actuator M7 STM32 Sensor 1 Sensor 2 Actuator M7 STM32 Sensor 1 Sensor 2 Actuator M7 STM32 Sensor 1 Sensor 2 Actuator M7 STM32 Sensor 1 Sensor 2 Actuator M7 STM32 Sensor 1 Sensor 2 Actuator M7 STM32 10
  • 11. Modeling Trends • Anticipation of functional embedded software development and validation • Introspection and diagnosis capabilities in virtual twins • Running « untestable » scenarios • Validation of dynamic power management strategies • Reset and clock controller, clock trees • Wake-up, low-power modes • Integration of security features • Validation of the (system-of-) system • Sensor inputs and environmental effects • From 10+ to 1000+ node instances • Physical/virtual device unification • Mixing actual devices and virtual twins in a single execution 11
  • 13. STM32 Bluetooth Low Energy (BLE) Virtual Twins BLE USART I/O USART Window USART I/O Bluetooth RF channel BLE Node 0 GPIOs Cortex M4 STM32 subsystem Nucleo Panel Cortex M0 BlueTooth Node 1 GPIOs Cortex M4 STM32 subsystem Nucleo Panel Cortex M0 BlueTooth 13
  • 14. STM32 BLE Virtual Twin • Abstract Hardware + Firmware: executable specification • BLE state machine & BLE I/F • STM32 subsystem • ARM Cortex M4 Instruction Set Simulator • GPIO, SPI, USART (core functionality needed) • RCC, EXTI, SYSCFG (partial) • Flash Interface, PWR (stub) • Benefits • Early availability of Virtual Twin: low effort thanks to high abstraction level • Scalable to tens of nodes • Corner case software bugs identified Ex: illegal values programmed in clock controller GPIO sNucleo Panel BLE I/FGATT Cortex M0 BlueTooth Cortex M4 STM32 subsystem 14
  • 15. Example: Sensor Node Model for Critical Water Management Infrastructure
  • 16. IoT Device Model Typical Architecture MCU Connectivity Sensor Embedded software Open (%) Flow (m3/s) Satur. (%) m Benefits: 1. System validation without constraints of physical devices 2. Manage complexity 3. Increase flexibility and productivity 4. Increase the system reliability 16
  • 17. Sensor Node Black Box Model • A simple service-oriented model • Black-box • No detail on internal architecture • Embedded firmware is abstracted • Measures obtained from a file • Early availability • Fast execution • Generation of data communication to the gateway • Used as the functional contract of the sensor node specification Fecha;EMALCSA/00 PRESA CECEBRE/02 Válvulas/Compuerta 3/Apertura (%);EMALCSA/00 PRESA CECEBRE/02 Válvulas/Compuerta 3/Caudal (m3/s);EMALCSA/00 PRESA CECEBRE/02 Válvulas/Compuerta 3/Desague (%) 08/04/2019 00:25:21.871;10.11571;2.615295;9.07122 08/04/2019 00:35:21.879;10.11571;2.616884;9.061384 08/04/2019 00:45:21.887;10.11571;2.616821;9.061776 08/04/2019 00:55:21.911;10.11571;2.617014;9.060584 08/04/2019 01:05:21.920;10.11571;2.618574;9.050963 08/04/2019 01:15:21.928;10.11571;2.618614;9.050715 Post data towards gateway 17
  • 18. Sensor Node SystemC Architecture Model • Sensor node architectural model includes • Microcontroller Instruction Accurate model • Register accurate model of peripherals • Embedded software • Running on STM32 model • Using STM32 HAL • Collects data from sensor model through I2C bus • Programs connectivity IP model to issue communication • Generation of data communication to the gateway • Conform to the functional contract of the sensor node Fecha;EMALCSA/00 PRESA CECEBRE/02 Válvulas/Compuerta 3/Apertura (%);EMALCSA/00 PRESA CECEBRE/02 Válvulas/Compuerta 3/Caudal (m3/s);EMALCSA/00 PRESA CECEBRE/02 Válvulas/Compuerta 3/Desague (%) 08/04/2019 00:25:21.871;10.11571;2.615295;9.07122 08/04/2019 00:35:21.879;10.11571;2.616884;9.061384 08/04/2019 00:45:21.887;10.11571;2.616821;9.061776 08/04/2019 00:55:21.911;10.11571;2.617014;9.060584 08/04/2019 01:05:21.920;10.11571;2.618574;9.050963 08/04/2019 01:15:21.928;10.11571;2.618614;9.050715 Post data towards the gateway Cortex M4 STM32 Connectivity Flow Meter sensor i2c registers Payload (registers values) Embedded software STM32 F411 ARM CM4 I C N Flash RCC SPI GPIO EXTI Mem PWR I2C SCI SYS CFG 1666-2011 18
  • 20. Extending the Virtual Twin at the Next Level • Automotive domain: the whole system is a big network! • CAN, LIN, FlexRay, Ethernet AVB, MOST… • How to model inter-components protocols? • Which abstraction for the “blocks”? • Interoperability concern for virtual twins integration • Standardization effort still to be undertaken https://www.hyundai.news/eu/brand/hyundai-and-cisco-to-bring-vehicle-with-next-generation-network-technology-in-2019/ 20
  • 21. Multi-system Integration Computing farm System address map TLM IP model Process or model AMS model TLM IP model Memor y model I/O Interconnect model • Models in different technical states • OS, Compiler, Simulation kernel • Heterogeneous domains • Digital, AMS, Multi-physics • Code sharing constraints vs flexibility required by customers • Replace IP X by Y • Add customer-specific IP • Idea: each domain in separate simulation • Challenges: performance, semantics • Opportunity: exploiting multi-cores? 21
  • 22. Multi-level Twins Integration • Address simulation speed concern • Manage several levels of abstraction • Guaranty functional equivalence • Mitigate the modeling costs • Ensure seamless integration / substitution of twins • Interfaces interoperability • Heterogeneous modeling languages & frameworks 22
  • 23. Takeaways • Usage of virtual twins for different categories of circuits • Complex SoCs • Smart objects • Trends and benefits • Early validation of embedded software & power management strategies • Testing “untestable“ scenarios • Integration of security features • Manage connectivity • Scalable validation of the (system-of-) system • Physical/virtual device unification • Upcoming challenges • Expand to the next level • Heterogeneous models integration • Management of multi-abstraction twins 23