SlideShare a Scribd company logo
1 of 24
Download to read offline
PUBLIC
NXP, THE NXP LOGO AND NXP SECURE CONNECTIONS FOR A SMARTER WORLD ARE TRADEMARKS OF NXP B.V.
ALL OTHER PRODUCT OR SERVICE NAMES ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS. © 2023 NXP B.V.
J U N E 2 0 2 3
Oskar Walder
SYSTEM AND APPLICATION ENGINEER
HOW TO DESIGN SDV
ARCHITECTURE WITH REAL-TIME
INTEGRATION IN CENTRALIZED
VEHICLE COMPUTE
1
PUBLIC
AMOUNT OF SOFTWARE IN VEHICLE
• Amount of software in vehicle is raising
quickly every year
• This will accelerate only further with
vehicle personalization and autonomous
driving
• This challenges:
− Software architecture
− SoC Hardware architecture
0
100
200
300
400
500
600
700
2010 2015 2020 2025E 2030E
Lines of code in vehicle [millions]
Lines of code [M]
2
PUBLIC
CURRENT FLAT VEHICLE ARCHITECTURE
INTRODUCTION
• Traditional vehicle architecture:
− Features are introduced to vehicle by
integration of “ECU boxes”
− Multiple types of communication buses (Lin,
CAN, FlexRAY, etc. ) are used across the
vehicle
− Complicated wire-hardness where wires are
spanning across entire vehicle
− Software updates are complicated due wide
dependencies and tight coupling
− New feature in big majority of cases requires
integration of an additional “ECU box”
Traditional flat vehicle architecture is not suitable for modern software defined vehicles.
LEGACY ARCHITECTURE
ORGANICALLY GROWN
3
PUBLIC
ETHERNET BACKBONE
SOLUTION TO WIRE-HARNESS COMPLEXITY
• To solve the problem with wire-
harness complexity a highspeed
ethernet backbone can be introduced
to the vehicle architecture.
• The backbone can be shared for
sending of low speed bus data across
the vehicle.
• Time Sensitive Networking standards
enable use of ethernet as backbone
thanks to improved predictability,
determinism and robustness.
ECU ECU
ECU ECU
ECU ECU
Ethernet
SIMPLIFIED DIAGRAM OF
ETHERNET USED AS A BACKBONE
4
PUBLIC
SCALABLE AND CENTRALIZED
SOFTWARE DEVELOPMENT
ZONAL
CONTROL
ZONAL
CONTROL
ZONAL
CONTROL
POWERTRAIN &
VEHICLE
DYNAMICS
VEHICLE
NETWORKING
AND
CONNECTIVITY
BODY &
COMFORT
INFOTAINMENT
ADAS & HIGHLY
AUTOMATED
DRIVING
POWERTRAIN &
VEHICLE
DYNAMICS
BODY &
COMFORT
VEHICLE
NETWORKING
AND
CONNECTIVITY
INFOTAINMENT
ADAS & HIGHLY
AUTOMATED
DRIVING
DOMAIN SW BENEFIT +
SIMPLIFIED WIRING AND
VEHICLE NETWORK
LOWER HW COST
VS MORE COMPLEX SW
ZONAL
CONTROL
ZONAL
CONTROL
VEHICLE
NETWORKING
AND
CONNECTIVITY
BODY &
COMFORT
INFOTAINMENT
ADAS & HIGHLY
AUTOMATED
DRIVING
MOTION CHASSIS
ZONE
+
ZONE
+
ZONAL
CONTROL
I/O
ZONES
I/O
ZONES
I/O
ZONES
POWERTRAIN &
VEHICLE
DYNAMICS
VEHICLE
NETWORKING
AND
CONNECTIVITY
INFOTAINMENT
ADAS & HIGHLY
AUTOMATED
DRIVING
BODY &
COMFORT
VEHICLE
COMPUTER
INTEGRATION
I/O
ZONES
I/O
ZONES I/O
ZONES
I/O
ZONES
I/O
ZONES
I/O
ZONES
I/O
ZONES
I/O
ZONES
SIGNIFICANTLY REDUCES SW
DEVELOPMENT COST,
VS HIGHER HW COST FOR
FUTURE-PROOFING
E/E ARCHITECTURE EVOLUTION
LEGACY ARCHITECTURE
ORGANICALLY GROWN
Flat Domain + Body Zonal Cross-Domain Zonal Consolidated Compute
Domain
5
PUBLIC
PROCESSING POWER SCALABILITY SOLUTION
• To solve the problem with processing power scalability
a real-time high-performance processor like the S32Z
series and S32E series can be used.
• The processors contain real-time high-performance
Cortex-R52 cores, multi-ECU support, isolation and
hardware virtualization support to fulfill strict real time
requirements.
• On the processor thanks to isolation support can be
deployed multiple virtual ECU with respect to freedom
to interference.
• Build in hardware virtualization support enables to
assign amount resource to virtual ECU based on needs
in scalable manner
• Each virtual ECU can leverage one, two or four high
performance cores like Cortex-R52 based on required
performance and ASIL level.
• Ideally this processor position as central or zonal node
and is connected to high speed ethernet backbone.
6
PUBLIC
SOFTWARE DEFINED VEHICLER ARCHITECTURE WITH REAL TIME INTEGRATED IN VEHICLE
COMPUTE
High Performance Central Processing Unit
(MPU based)
ECU
(MCU based)
ECU
(MCU based)
Ethernet
IO / low speed COM
ECU
(MCU based)
.
.
.
vECU
vECU
vECU
vECU
vECU
vECU
vECU
vECU
High Performance Real-
Time Processor with
virtualization support
Virtual ECUs implemented
as virtual machines
7
PUBLIC
REAL-TIME PROCESSOR
CORES ASSIGMENT
Core 0 Core 1 Core 2 Core 3
Cluster
Core 0 Core 1 Core 2 Core 3
Cluster
S32Z2 single package
vECU vECU vECU vECU
Isolation
8
PUBLIC
REAL-TIME PROCESSOR
PERIPHERAL AND MEMORY ISOLATION
• Virtual ECU implemented as
virtual machines can fully benefit
from virtualization support.
• Peripherals and processing cores
can be assigned to virtual
ECUs/VM and forced to respect
VM boundaries.
• Memory can be divided into
regions and regions can be
assigned to virtual ECUs/VMs.
S32Z2 / S32E2 single package
Core Memory Peripheral
Core Memory Peripheral
vECU #1
Core Memory Peripheral
Peripheral
vECU #2
Core Memory Peripheral
Core Memory
Memory
Core
Core Memory
vECU #3
Peripheral
9
PUBLIC
CORE TIME-SLICING
• Virtual ECU based on high performance cores like Cortex-R52 are often more performant than
physical ECU based on small cores and hence high-performance core might not be utilized fully.
• In such a case it is beneficial to implement core time-slicing and reuse potential idle time of one
virtual machine for useful code execution of another virtual machine.
• Time-slicing is enabled by hardware but controlled mainly by software layer called Hypervisor /
Virtual Machine Manager
Physical
Cortex-R52
Virtual
Cortex-R52
Physical core
Full cycle Full cycle
VM 1 VM 2 VM 1 VM 2
VM 1 VM 1
VM 2 VM 2
Virtual core #2
Virtual core #1
Virtual
Cortex-R52
1 0
PUBLIC
VIRTUAL MACHINE SWITCH SCHEME
BASIC TYPES
• Possible switching schemes are defined by capability of Virtual Machine Manager
Core
Full cycle Full cycle
VM 1 VM 2 VM 1 VM 2 Core
Full cycle Full cycle
VM 1 VM 1 VM 2
VM 1 VM 2 VM 1 VM 2
Execution till a high priority
interrupt is raised by another VM
VM 1
Execution till idle task triggered
and VM switch triggered
Interrupts
1 1
PUBLIC
Motor Control Module
(ECU) Example
1 2
PUBLIC
ELECTRIC MOTOR CONTROL MODULE
TRADITIONAL IMPLEMENTATION
• PWM complementary pairs
generated with fine grained
resolution
• Resolver used for motor control
position detection
• FOC, SVM and field weakening
algorithms used
• Highly optimized algorithm
implementation based on NXP’s
motor control library
Motor Control ECU
SVM
Angle
Position
Current
Measurement
High speed loop (FOC, etc.)
Motor control strategy (speed,
torque, etc.)
Safety, diagnostics, etc.
PMSM
Power
Transistors
1 3
PUBLIC
ELECTRIC MOTOR CONTROL MODULE
SPACE FOR IMPROVEMENTS
• Dedicated ECU box implementation
• Multiple communication buses and signals routed from all
over the vehicle into the ECU
• Restrained processing performance not suitable for future
use cases
• Complete update of entire solution needed during
software update
• Things to improve potential future needs:
− Easier update of frequently updated higher software layers
− Dedicated core to run safety application
− More math processing capability
− AI & ML accelerator to run some advance AI & ML algorithm
− More processing power assigned in configurable manner
Motor Control ECU
SVM
Angle
Position
Current
Measurement
High speed loop (FOC, etc.)
Motor control strategy (speed,
torque, etc.)
Safety, diagnostics, etc.
PMSM
Power
Transistors
1 4
PUBLIC
ELECTRIC MOTOR CONTROL MODULE
Motor Control ECU
SVM
Angle
Position
Current
Measurement
High speed loop (FOC, etc.)
Motor control strategy (speed,
torque, etc.)
Safety, diagnostics, etc.
PMSM
Power
Transistors
Higher software layers would
benefit from higher performance
and decoupling from the hardware
The lowest software layers are
coupled to hardware, IO, etc.
Strategy part
Actuation part
1 5
PUBLIC
ELECTRIC MOTOR CONTROL MODULE
MODERN IMPLEMENTATION
• Taking advantages of both edge
node and high-performance central
node
• Solution was split into two parts
− Actuation part which is IO constrained
− Strategy part which can highly benefit
of modern approach
ECU
SVM
Angle
Position
Current
Measurement
High speed loop (FOC, etc.)
PMSM
Power
Transistors
MCU
High Performance Central Processing Unit
(MPU based)
ECU
(MCU based)
.
.
.
vECU
vECU
vECU
vECU
vECU
Ethernet
IO / low speed COM
Motor control strategy
(speed, torque, etc.)
Safety, diagnostics, etc.
Virtual Cortex-R52
(50% of physical
Cortex-R52)
1 6
PUBLIC
ELECTRIC MOTOR CONTROL MODULE
MODERN IMPLEMENTATION
• Multiple instances of Strategy VM
can be easily spawned
− Software update (Zero downtime)
− For redundancy
− Etc.
ECU
SVM
Angle
Position
Current
Measurement
High speed loop (FOC, etc.)
PMSM
Power
Transistors
MCU
High Performance Central Processing Unit
(MPU based)
ECU
(MCU based)
.
.
.
vECU
vECU
Ethernet
IO / low speed COM
vECU v1.0
Motor control strategy
(speed, torque, etc.)
Safety, diagnostics, etc.
vECU v2.0
Motor control strategy
(speed, torque, etc.)
Safety, diagnostics, etc.
1 7
PUBLIC
ELECTRIC MOTOR CONTROL MODULE
MODERN IMPLEMENTATION
• Functionality of Strategy VM can be
further split
• Running VM with different
scheduling based on VM
requirements
− For example, Safety 100% vs
Diagnostics 20%
• Decoupling of functions simplifies
development and software update
ECU
SVM
Angle
Position
Current
Measurement
High speed loop (FOC, etc.)
PMSM
Power
Transistors
MCU
High Performance Central Processing Unit
(MPU based)
ECU
(MCU based)
.
.
.
vECU
vECU
Ethernet
IO / low speed COM
VM #1
Motor control
strategy (speed,
torque, etc.)
VM #2
Motor
Control
Safety
VM #3
Motor
Control
Diagnostics
1 8
PUBLIC
Time Sensitive
Networking
1 9
PUBLIC
LATENCY IMPROVMENTS FOR HIGH PRIORITY FRAMES
• 802.1Qbu – Frame preemption
• Significant reduce of high priority frame latency for big frames
Normal frame
(part 1)
Normal frame
(part 2)
High priority frame
Low priority
frame
High priority
frame
Normal frame transmission start
A need to send high priority frame,
normal frame preempted by high
priority frame transmission
Rest of normal frame
transmission
2 0
PUBLIC
REDUNDANT ETHERNET PATHS / FRAMES
• 802.1CB – Frame Replication
and Elimination adds message
redundancy Zonal Zonal
Zonal Zonal / ECU
Zonal Zonal
Ethernet
PMSM
ADAS
Connectivity
+ IVI
Vehicle
Computer /
Real Time
Processor
2 1
PUBLIC
VIRTUAL MACHINE SCHEDULING AND NETWORK BANDWIDTH RESERVATION
• 802.1Qbv – Time Gating allows to dedicate network bandwidth to particular vECU
• Virtual Machine Manager allows to schedule VM execution in right moment
Actuation
execution (ECU)
Actuation cycle Actuation cycle
High speed MC loop High speed MC loop
VM #1
Ethernet Network
Strategy
execution (vECU)
VM #1
Time gate / slot dedicated
the application
Other network traffic
2 2
PUBLIC
SUMMARY
• Real-Time processors with hardware
virtualization support enable efficient
and scalable implementation of multiple
virtual ECU in single box solution.
• Ethernet TSN standards improve
communication latencies, predictability
and allows to reserve network bandwidth
according ECU needs.
• Both when used together simplify vehicle
hardware and software architecture,
increases utilization of hardware,
simplifies vehicle software updates, and
the most importantly enable software
defined vehicle.
I/O
ZONES
I/O
ZONES
I/O
ZONES
POWERTRAIN &
VEHICLE
DYNAMICS
VEHICLE NETWORKING AND
CONNECTIVITY
INFOTAINMENT
ADAS & HIGHLY AUTOMATED
DRIVING
BODY &
COMFORT
VEHICLE COMPUTER
INTEGRATION
I/O
ZONES
I/O
ZONES I/O
ZONES
I/O
ZONES
I/O
ZONES
I/O
ZONES
I/O
ZONES
I/O
ZONES
SIGNIFICANTLY REDUCES SW DEVELOPMENT COST,
VS HIGHER HW COST FOR FUTURE-PROOFING
Consolidated Compute
2 3
PUBLIC

More Related Content

Similar to NXP_SDV_RealTime software development organisation

What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...Embitel Technologies (I) PVT LTD
 
Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?Optima Control Solutions
 
IyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptx
IyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptxIyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptx
IyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptxZaheerAbbas270452
 
Advanced motion controls servo drive catalog
Advanced motion controls servo drive catalogAdvanced motion controls servo drive catalog
Advanced motion controls servo drive catalogElectromate
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزEssosElectronic
 
T062500000 p003050ppte
T062500000 p003050ppteT062500000 p003050ppte
T062500000 p003050pptePhani Kumar
 
Webinar presentation on AUTOSAR Multicore Systems
Webinar presentation on AUTOSAR Multicore SystemsWebinar presentation on AUTOSAR Multicore Systems
Webinar presentation on AUTOSAR Multicore SystemsKPIT
 
Density based traffic light controlling (2)
Density based traffic light controlling (2)Density based traffic light controlling (2)
Density based traffic light controlling (2)hardik1240
 
Catalog PLC Fuji Electric mới nhất 2019
Catalog PLC Fuji Electric mới nhất 2019Catalog PLC Fuji Electric mới nhất 2019
Catalog PLC Fuji Electric mới nhất 2019CTY TNHH HẠO PHƯƠNG
 
EMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptx
EMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptxEMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptx
EMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptxVaibhav9680
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSDeepak Shankar
 
Microcontroller based automatic engine locking system for drunken drivers
Microcontroller based automatic engine locking system for drunken driversMicrocontroller based automatic engine locking system for drunken drivers
Microcontroller based automatic engine locking system for drunken driversVinny Chweety
 
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...RealTime-at-Work (RTaW)
 
Production line drives: Understanding the control system
Production line drives: Understanding the control systemProduction line drives: Understanding the control system
Production line drives: Understanding the control systemOptima Control Solutions
 
Ec 2 traffic controller brochure en
Ec 2 traffic controller brochure enEc 2 traffic controller brochure en
Ec 2 traffic controller brochure enPeter Ashley
 

Similar to NXP_SDV_RealTime software development organisation (20)

What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...
 
Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?Drives Software Programming – using PLC or Drive bespoke programming?
Drives Software Programming – using PLC or Drive bespoke programming?
 
IyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptx
IyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptxIyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptx
IyCnet_Soluciones_Rockwell_CompactLogix_para_Maquinaria-min.pptx
 
Advanced motion controls servo drive catalog
Advanced motion controls servo drive catalogAdvanced motion controls servo drive catalog
Advanced motion controls servo drive catalog
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنز
 
(11 16) rajiv g
(11 16) rajiv g(11 16) rajiv g
(11 16) rajiv g
 
AUToSAR introduction
AUToSAR introductionAUToSAR introduction
AUToSAR introduction
 
T062500000 p003050ppte
T062500000 p003050ppteT062500000 p003050ppte
T062500000 p003050ppte
 
Webinar presentation on AUTOSAR Multicore Systems
Webinar presentation on AUTOSAR Multicore SystemsWebinar presentation on AUTOSAR Multicore Systems
Webinar presentation on AUTOSAR Multicore Systems
 
Density based traffic light controlling (2)
Density based traffic light controlling (2)Density based traffic light controlling (2)
Density based traffic light controlling (2)
 
Catalog PLC Fuji Electric mới nhất 2019
Catalog PLC Fuji Electric mới nhất 2019Catalog PLC Fuji Electric mới nhất 2019
Catalog PLC Fuji Electric mới nhất 2019
 
Catalog PLC Fuji Electric
Catalog PLC Fuji ElectricCatalog PLC Fuji Electric
Catalog PLC Fuji Electric
 
EMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptx
EMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptxEMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptx
EMBEDDED SYSTEMS IN AUTOMOBILES .PPT.pptx
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
 
Microcontroller based automatic engine locking system for drunken drivers
Microcontroller based automatic engine locking system for drunken driversMicrocontroller based automatic engine locking system for drunken drivers
Microcontroller based automatic engine locking system for drunken drivers
 
Alcohol report
Alcohol reportAlcohol report
Alcohol report
 
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
 
AjishP-2016
AjishP-2016AjishP-2016
AjishP-2016
 
Production line drives: Understanding the control system
Production line drives: Understanding the control systemProduction line drives: Understanding the control system
Production line drives: Understanding the control system
 
Ec 2 traffic controller brochure en
Ec 2 traffic controller brochure enEc 2 traffic controller brochure en
Ec 2 traffic controller brochure en
 

Recently uploaded

原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证jjrehjwj11gg
 
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 HybridHyundai Motor Group
 
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607dollysharma2066
 
GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024AHOhOops1
 
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptxUNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptxDineshKumar4165
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VDA 6.3 Process Approach in Automotive Industries
VDA 6.3 Process Approach in Automotive IndustriesVDA 6.3 Process Approach in Automotive Industries
VDA 6.3 Process Approach in Automotive IndustriesKannanDN
 
John Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service Manual
John Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service ManualJohn Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service Manual
John Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service ManualExcavator
 
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一ypfy7p5ld
 
Not Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These SymptomsNot Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These SymptomsFifth Gear Automotive
 
定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一
定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一
定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一meq5nzfnk
 
Digamma - CertiCon Team Skills and Qualifications
Digamma - CertiCon Team Skills and QualificationsDigamma - CertiCon Team Skills and Qualifications
Digamma - CertiCon Team Skills and QualificationsMihajloManjak
 
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxUNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxDineshKumar4165
 
What Causes DPF Failure In VW Golf Cars & How Can They Be Prevented
What Causes DPF Failure In VW Golf Cars & How Can They Be PreventedWhat Causes DPF Failure In VW Golf Cars & How Can They Be Prevented
What Causes DPF Failure In VW Golf Cars & How Can They Be PreventedAutobahn Automotive Service
 
Digamma / CertiCon Company Presentation
Digamma / CertiCon Company  PresentationDigamma / CertiCon Company  Presentation
Digamma / CertiCon Company PresentationMihajloManjak
 
Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...
Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...
Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...kexey39068
 
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHERUNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHERunosafeads
 
如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一
如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一
如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一mjyguplun
 

Recently uploaded (20)

原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
 
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
2024 WRC Hyundai World Rally Team’s i20 N Rally1 Hybrid
 
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
( Best ) Genuine Call Girls In Mandi House =DELHI-| 8377087607
 
GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024
 
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptxUNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
UNIT-IV-STEERING, BRAKES AND SUSPENSION SYSTEMS.pptx
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
VDA 6.3 Process Approach in Automotive Industries
VDA 6.3 Process Approach in Automotive IndustriesVDA 6.3 Process Approach in Automotive Industries
VDA 6.3 Process Approach in Automotive Industries
 
John Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service Manual
John Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service ManualJohn Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service Manual
John Deere 300 3029 4039 4045 6059 6068 Engine Operation and Service Manual
 
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
如何办理(Flinders毕业证)查理斯特大学毕业证毕业证成绩单原版一比一
 
Not Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These SymptomsNot Sure About VW EGR Valve Health Look For These Symptoms
Not Sure About VW EGR Valve Health Look For These Symptoms
 
Call Girls In Kirti Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Kirti Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In Kirti Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Kirti Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一
定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一
定制多伦多大学毕业证(UofT毕业证)成绩单(学位证)原版一比一
 
Digamma - CertiCon Team Skills and Qualifications
Digamma - CertiCon Team Skills and QualificationsDigamma - CertiCon Team Skills and Qualifications
Digamma - CertiCon Team Skills and Qualifications
 
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptxUNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
UNIT-V-ELECTRIC AND HYBRID VEHICLES.pptx
 
What Causes DPF Failure In VW Golf Cars & How Can They Be Prevented
What Causes DPF Failure In VW Golf Cars & How Can They Be PreventedWhat Causes DPF Failure In VW Golf Cars & How Can They Be Prevented
What Causes DPF Failure In VW Golf Cars & How Can They Be Prevented
 
Digamma / CertiCon Company Presentation
Digamma / CertiCon Company  PresentationDigamma / CertiCon Company  Presentation
Digamma / CertiCon Company Presentation
 
Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...
Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...
Call Girl Service Global Village Dubai +971509430017 Independent Call Girls G...
 
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHERUNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
UNOSAFE ELEVATOR PRIVATE LTD BANGALORE BROUCHER
 
如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一
如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一
如何办理爱尔兰都柏林大学毕业证(UCD毕业证) 成绩单原版一比一
 
sauth delhi call girls in Connaught Place🔝 9953056974 🔝 escort Service
sauth delhi call girls in  Connaught Place🔝 9953056974 🔝 escort Servicesauth delhi call girls in  Connaught Place🔝 9953056974 🔝 escort Service
sauth delhi call girls in Connaught Place🔝 9953056974 🔝 escort Service
 

NXP_SDV_RealTime software development organisation

  • 1. PUBLIC NXP, THE NXP LOGO AND NXP SECURE CONNECTIONS FOR A SMARTER WORLD ARE TRADEMARKS OF NXP B.V. ALL OTHER PRODUCT OR SERVICE NAMES ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS. © 2023 NXP B.V. J U N E 2 0 2 3 Oskar Walder SYSTEM AND APPLICATION ENGINEER HOW TO DESIGN SDV ARCHITECTURE WITH REAL-TIME INTEGRATION IN CENTRALIZED VEHICLE COMPUTE
  • 2. 1 PUBLIC AMOUNT OF SOFTWARE IN VEHICLE • Amount of software in vehicle is raising quickly every year • This will accelerate only further with vehicle personalization and autonomous driving • This challenges: − Software architecture − SoC Hardware architecture 0 100 200 300 400 500 600 700 2010 2015 2020 2025E 2030E Lines of code in vehicle [millions] Lines of code [M]
  • 3. 2 PUBLIC CURRENT FLAT VEHICLE ARCHITECTURE INTRODUCTION • Traditional vehicle architecture: − Features are introduced to vehicle by integration of “ECU boxes” − Multiple types of communication buses (Lin, CAN, FlexRAY, etc. ) are used across the vehicle − Complicated wire-hardness where wires are spanning across entire vehicle − Software updates are complicated due wide dependencies and tight coupling − New feature in big majority of cases requires integration of an additional “ECU box” Traditional flat vehicle architecture is not suitable for modern software defined vehicles. LEGACY ARCHITECTURE ORGANICALLY GROWN
  • 4. 3 PUBLIC ETHERNET BACKBONE SOLUTION TO WIRE-HARNESS COMPLEXITY • To solve the problem with wire- harness complexity a highspeed ethernet backbone can be introduced to the vehicle architecture. • The backbone can be shared for sending of low speed bus data across the vehicle. • Time Sensitive Networking standards enable use of ethernet as backbone thanks to improved predictability, determinism and robustness. ECU ECU ECU ECU ECU ECU Ethernet SIMPLIFIED DIAGRAM OF ETHERNET USED AS A BACKBONE
  • 5. 4 PUBLIC SCALABLE AND CENTRALIZED SOFTWARE DEVELOPMENT ZONAL CONTROL ZONAL CONTROL ZONAL CONTROL POWERTRAIN & VEHICLE DYNAMICS VEHICLE NETWORKING AND CONNECTIVITY BODY & COMFORT INFOTAINMENT ADAS & HIGHLY AUTOMATED DRIVING POWERTRAIN & VEHICLE DYNAMICS BODY & COMFORT VEHICLE NETWORKING AND CONNECTIVITY INFOTAINMENT ADAS & HIGHLY AUTOMATED DRIVING DOMAIN SW BENEFIT + SIMPLIFIED WIRING AND VEHICLE NETWORK LOWER HW COST VS MORE COMPLEX SW ZONAL CONTROL ZONAL CONTROL VEHICLE NETWORKING AND CONNECTIVITY BODY & COMFORT INFOTAINMENT ADAS & HIGHLY AUTOMATED DRIVING MOTION CHASSIS ZONE + ZONE + ZONAL CONTROL I/O ZONES I/O ZONES I/O ZONES POWERTRAIN & VEHICLE DYNAMICS VEHICLE NETWORKING AND CONNECTIVITY INFOTAINMENT ADAS & HIGHLY AUTOMATED DRIVING BODY & COMFORT VEHICLE COMPUTER INTEGRATION I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES SIGNIFICANTLY REDUCES SW DEVELOPMENT COST, VS HIGHER HW COST FOR FUTURE-PROOFING E/E ARCHITECTURE EVOLUTION LEGACY ARCHITECTURE ORGANICALLY GROWN Flat Domain + Body Zonal Cross-Domain Zonal Consolidated Compute Domain
  • 6. 5 PUBLIC PROCESSING POWER SCALABILITY SOLUTION • To solve the problem with processing power scalability a real-time high-performance processor like the S32Z series and S32E series can be used. • The processors contain real-time high-performance Cortex-R52 cores, multi-ECU support, isolation and hardware virtualization support to fulfill strict real time requirements. • On the processor thanks to isolation support can be deployed multiple virtual ECU with respect to freedom to interference. • Build in hardware virtualization support enables to assign amount resource to virtual ECU based on needs in scalable manner • Each virtual ECU can leverage one, two or four high performance cores like Cortex-R52 based on required performance and ASIL level. • Ideally this processor position as central or zonal node and is connected to high speed ethernet backbone.
  • 7. 6 PUBLIC SOFTWARE DEFINED VEHICLER ARCHITECTURE WITH REAL TIME INTEGRATED IN VEHICLE COMPUTE High Performance Central Processing Unit (MPU based) ECU (MCU based) ECU (MCU based) Ethernet IO / low speed COM ECU (MCU based) . . . vECU vECU vECU vECU vECU vECU vECU vECU High Performance Real- Time Processor with virtualization support Virtual ECUs implemented as virtual machines
  • 8. 7 PUBLIC REAL-TIME PROCESSOR CORES ASSIGMENT Core 0 Core 1 Core 2 Core 3 Cluster Core 0 Core 1 Core 2 Core 3 Cluster S32Z2 single package vECU vECU vECU vECU Isolation
  • 9. 8 PUBLIC REAL-TIME PROCESSOR PERIPHERAL AND MEMORY ISOLATION • Virtual ECU implemented as virtual machines can fully benefit from virtualization support. • Peripherals and processing cores can be assigned to virtual ECUs/VM and forced to respect VM boundaries. • Memory can be divided into regions and regions can be assigned to virtual ECUs/VMs. S32Z2 / S32E2 single package Core Memory Peripheral Core Memory Peripheral vECU #1 Core Memory Peripheral Peripheral vECU #2 Core Memory Peripheral Core Memory Memory Core Core Memory vECU #3 Peripheral
  • 10. 9 PUBLIC CORE TIME-SLICING • Virtual ECU based on high performance cores like Cortex-R52 are often more performant than physical ECU based on small cores and hence high-performance core might not be utilized fully. • In such a case it is beneficial to implement core time-slicing and reuse potential idle time of one virtual machine for useful code execution of another virtual machine. • Time-slicing is enabled by hardware but controlled mainly by software layer called Hypervisor / Virtual Machine Manager Physical Cortex-R52 Virtual Cortex-R52 Physical core Full cycle Full cycle VM 1 VM 2 VM 1 VM 2 VM 1 VM 1 VM 2 VM 2 Virtual core #2 Virtual core #1 Virtual Cortex-R52
  • 11. 1 0 PUBLIC VIRTUAL MACHINE SWITCH SCHEME BASIC TYPES • Possible switching schemes are defined by capability of Virtual Machine Manager Core Full cycle Full cycle VM 1 VM 2 VM 1 VM 2 Core Full cycle Full cycle VM 1 VM 1 VM 2 VM 1 VM 2 VM 1 VM 2 Execution till a high priority interrupt is raised by another VM VM 1 Execution till idle task triggered and VM switch triggered Interrupts
  • 12. 1 1 PUBLIC Motor Control Module (ECU) Example
  • 13. 1 2 PUBLIC ELECTRIC MOTOR CONTROL MODULE TRADITIONAL IMPLEMENTATION • PWM complementary pairs generated with fine grained resolution • Resolver used for motor control position detection • FOC, SVM and field weakening algorithms used • Highly optimized algorithm implementation based on NXP’s motor control library Motor Control ECU SVM Angle Position Current Measurement High speed loop (FOC, etc.) Motor control strategy (speed, torque, etc.) Safety, diagnostics, etc. PMSM Power Transistors
  • 14. 1 3 PUBLIC ELECTRIC MOTOR CONTROL MODULE SPACE FOR IMPROVEMENTS • Dedicated ECU box implementation • Multiple communication buses and signals routed from all over the vehicle into the ECU • Restrained processing performance not suitable for future use cases • Complete update of entire solution needed during software update • Things to improve potential future needs: − Easier update of frequently updated higher software layers − Dedicated core to run safety application − More math processing capability − AI & ML accelerator to run some advance AI & ML algorithm − More processing power assigned in configurable manner Motor Control ECU SVM Angle Position Current Measurement High speed loop (FOC, etc.) Motor control strategy (speed, torque, etc.) Safety, diagnostics, etc. PMSM Power Transistors
  • 15. 1 4 PUBLIC ELECTRIC MOTOR CONTROL MODULE Motor Control ECU SVM Angle Position Current Measurement High speed loop (FOC, etc.) Motor control strategy (speed, torque, etc.) Safety, diagnostics, etc. PMSM Power Transistors Higher software layers would benefit from higher performance and decoupling from the hardware The lowest software layers are coupled to hardware, IO, etc. Strategy part Actuation part
  • 16. 1 5 PUBLIC ELECTRIC MOTOR CONTROL MODULE MODERN IMPLEMENTATION • Taking advantages of both edge node and high-performance central node • Solution was split into two parts − Actuation part which is IO constrained − Strategy part which can highly benefit of modern approach ECU SVM Angle Position Current Measurement High speed loop (FOC, etc.) PMSM Power Transistors MCU High Performance Central Processing Unit (MPU based) ECU (MCU based) . . . vECU vECU vECU vECU vECU Ethernet IO / low speed COM Motor control strategy (speed, torque, etc.) Safety, diagnostics, etc. Virtual Cortex-R52 (50% of physical Cortex-R52)
  • 17. 1 6 PUBLIC ELECTRIC MOTOR CONTROL MODULE MODERN IMPLEMENTATION • Multiple instances of Strategy VM can be easily spawned − Software update (Zero downtime) − For redundancy − Etc. ECU SVM Angle Position Current Measurement High speed loop (FOC, etc.) PMSM Power Transistors MCU High Performance Central Processing Unit (MPU based) ECU (MCU based) . . . vECU vECU Ethernet IO / low speed COM vECU v1.0 Motor control strategy (speed, torque, etc.) Safety, diagnostics, etc. vECU v2.0 Motor control strategy (speed, torque, etc.) Safety, diagnostics, etc.
  • 18. 1 7 PUBLIC ELECTRIC MOTOR CONTROL MODULE MODERN IMPLEMENTATION • Functionality of Strategy VM can be further split • Running VM with different scheduling based on VM requirements − For example, Safety 100% vs Diagnostics 20% • Decoupling of functions simplifies development and software update ECU SVM Angle Position Current Measurement High speed loop (FOC, etc.) PMSM Power Transistors MCU High Performance Central Processing Unit (MPU based) ECU (MCU based) . . . vECU vECU Ethernet IO / low speed COM VM #1 Motor control strategy (speed, torque, etc.) VM #2 Motor Control Safety VM #3 Motor Control Diagnostics
  • 20. 1 9 PUBLIC LATENCY IMPROVMENTS FOR HIGH PRIORITY FRAMES • 802.1Qbu – Frame preemption • Significant reduce of high priority frame latency for big frames Normal frame (part 1) Normal frame (part 2) High priority frame Low priority frame High priority frame Normal frame transmission start A need to send high priority frame, normal frame preempted by high priority frame transmission Rest of normal frame transmission
  • 21. 2 0 PUBLIC REDUNDANT ETHERNET PATHS / FRAMES • 802.1CB – Frame Replication and Elimination adds message redundancy Zonal Zonal Zonal Zonal / ECU Zonal Zonal Ethernet PMSM ADAS Connectivity + IVI Vehicle Computer / Real Time Processor
  • 22. 2 1 PUBLIC VIRTUAL MACHINE SCHEDULING AND NETWORK BANDWIDTH RESERVATION • 802.1Qbv – Time Gating allows to dedicate network bandwidth to particular vECU • Virtual Machine Manager allows to schedule VM execution in right moment Actuation execution (ECU) Actuation cycle Actuation cycle High speed MC loop High speed MC loop VM #1 Ethernet Network Strategy execution (vECU) VM #1 Time gate / slot dedicated the application Other network traffic
  • 23. 2 2 PUBLIC SUMMARY • Real-Time processors with hardware virtualization support enable efficient and scalable implementation of multiple virtual ECU in single box solution. • Ethernet TSN standards improve communication latencies, predictability and allows to reserve network bandwidth according ECU needs. • Both when used together simplify vehicle hardware and software architecture, increases utilization of hardware, simplifies vehicle software updates, and the most importantly enable software defined vehicle. I/O ZONES I/O ZONES I/O ZONES POWERTRAIN & VEHICLE DYNAMICS VEHICLE NETWORKING AND CONNECTIVITY INFOTAINMENT ADAS & HIGHLY AUTOMATED DRIVING BODY & COMFORT VEHICLE COMPUTER INTEGRATION I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES I/O ZONES SIGNIFICANTLY REDUCES SW DEVELOPMENT COST, VS HIGHER HW COST FOR FUTURE-PROOFING Consolidated Compute