58
0 PUBLIC Speed Up Automotive, Industrial, and IoT Applications with NXP Model-Based Design Toolbox Daniel Scurtu

Speed Up Automotive, Industrial, and IoT Applications with

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Speed Up Automotive, Industrial, and IoT Applications with

0PUBLIC

Speed Up Automotive, Industrial, and IoT Applications

with NXP Model-Based Design Toolbox

Daniel Scurtu

Page 2: Speed Up Automotive, Industrial, and IoT Applications with

1PUBLIC

A POSIT ION OF STRENGTH TO BETTER

SERVE OUR 26 ,000+ CUSTOMERS

EMPLOYEES IN

30+ COUNTRIESHeadquartered in Eindhoven,

Netherlands

~29,000EMPLOYEES

~11,000Engineers

60+Year History

1 Posted revenue for 2020 – Please refer to the Financial Information page of the Investor

Relations section of our website at www.nxp.com/investor for additional information

We accelerate breakthroughs that advance the world

through our semiconductor technology leadership

9,500Patent Families

$8.61BAnnual Revenue 1

Page 3: Speed Up Automotive, Industrial, and IoT Applications with

2PUBLIC

A POSIT ION OF STRENGTH TO BETTER

SERVE OUR 26 ,000+ CUSTOMERS

EMPLOYEES IN

30+ COUNTRIESHeadquartered in Eindhoven,

Netherlands

~29,000EMPLOYEES

~11,000Engineers

60+Year History

1 Posted revenue for 2020 – Please refer to the Financial Information page of the Investor

Relations section of our website at www.nxp.com/investor for additional information

We accelerate breakthroughs that advance the world

through our semiconductor technology leadership

9,500Patent Families

$8.61BAnnual Revenue 1

Page 4: Speed Up Automotive, Industrial, and IoT Applications with

3PUBLIC

CLOUD

Large Processing Power

Data Centers (Millions)

HUGE Memory & Power

NXP - EDGE PROCESSING

MOBILE

Giving wearable and mobile devices

easier access to the services that make

modern life more convenient without

compromising security and safety.

Transforming how people and

devices connect

SMART CITY

Simplifying how people access and

interact with local services to

achieve new standards of

sustainability, efficiency, mobility,

and economic growth.

Anticipating the demands of tomorrow

INDUSTRIAL

Reducing wasted time, money,

and effort by helping business

run more efficiently.

Enabling more efficient data

processing

COMMUNICATION

INFRASTRUCTUREPowering insights and inspiring

performance with hardware

solutions for handling 5G

connectivity across the emerging

communications spectrum.

Delivering real-time responsiveness

at the speed of 5G

AUTOMOTIVE

Enabling carmakers to develop

smarter solutions for complex

autonomy, connectivity, and

electrification challenges

Accelerating the shift to greater

mobility

EDGE

End Devices – Billions

Low Power; Safe & Secure Connections;

Functional Safety; Real Time

Page 5: Speed Up Automotive, Industrial, and IoT Applications with

4PUBLIC

MOBILE

Giving wearable and mobile devices

easier access to the services that make

modern life more convenient without

compromising security and safety.

Transforming how people and

devices connect

SMART CITY

Simplifying how people access and

interact with local services to

achieve new standards of

sustainability, efficiency, mobility,

and economic growth.

Anticipating the demands of tomorrow

INDUSTRIAL

Reducing wasted time, money,

and effort by helping business

run more efficiently.

Enabling more efficient data

processing

COMMUNICATION

INFRASTRUCTUREPowering insights and inspiring

performance with hardware

solutions for handling 5G

connectivity across the emerging

communications spectrum.

Delivering real-time responsiveness

at the speed of 5G

NXP - EDGE PROCESSING

Page 6: Speed Up Automotive, Industrial, and IoT Applications with

5PUBLIC

Documentation

Reference Design Solution

Real Time Drivers SW Libraries

Enablement Tools

Page 7: Speed Up Automotive, Industrial, and IoT Applications with

6PUBLIC

Serial Connection - UART

Debug Connection - JTAG

Pins Tool

Clocks Tool

Peripheral Tool

FreeMASTER LiteFreeMASTER

Documentation

Reference Design Solution

Real Time Drivers SW Libraries

Enablement Tools

MCUXpresso – IDE – Debugger - Toolchains

Page 8: Speed Up Automotive, Industrial, and IoT Applications with

7PUBLIC

Debug Connection - JTAG

MCUXpresso – IDE – Debugger - Toolchains

Pins Tool

Clocks Tool

Peripheral Tool

FreeMASTER LiteFreeMASTER

Serial Connection - UART

Page 9: Speed Up Automotive, Industrial, and IoT Applications with

8PUBLIC

Debug Connection - JTAG

MCUXpresso – IDE – Debugger - Toolchains

Pins Tool

Clocks Tool

Peripheral Tool

FreeMASTER LiteFreeMASTER

DeployTestPrototypeDesign

Serial Connection - UART

Page 10: Speed Up Automotive, Industrial, and IoT Applications with

9PUBLIC

Debug Connection - JTAG

Pins Tool

Clocks Tool

Peripheral Tool

FreeMASTER LiteFreeMASTER

YOUR TITLE

HARDWARE

MCUXpresso – IDE – Debugger - Toolchains

REAL TIME DRIVERS

CONFIG – BUILD - DEBUG TOOLS

Serial Connection - UART

REAL TIME MONITOR + DEMO TOOLS

Page 11: Speed Up Automotive, Industrial, and IoT Applications with

1 0PUBLIC

Debug Connection - JTAG

Pins Tool

Clocks Tool

Peripheral Tool

FreeMASTER LiteFreeMASTER

YOUR TITLE

HARDWARE

REAL TIME DRIVERS

CONFIG – BUILD - DEBUG TOOLS

REAL TIME MONITOR + DEMO TOOLS

MATHWORKS ECO-SYSTEM –MATLAB/SIMULINK

MCUXpresso – IDE – Debugger - Toolchains

Serial Connection - UART

Page 12: Speed Up Automotive, Industrial, and IoT Applications with

1 1PUBLIC

MCUXpresso - Pin – Clock - Peripheral Tools

Model-Based Design Tools for Simulink

Debug Connection - JTAG

FreeMASTER LiteFreeMASTER

Serial Connection - UART

MODEL-BASED DESIGN TOOLS

HARDWARE

REAL TIME DRIVERS

CONFIG – BUILD - DEBUG TOOLS

REAL TIME MONITOR + DEMO TOOLS

MATHWORKS ECO-SYSTEM –MATLAB/SIMULINK

Page 13: Speed Up Automotive, Industrial, and IoT Applications with

1 2PUBLIC

MCUXpresso - Pin – Clock - Peripheral Tools

Model-Based Design Tools for Simulink

Debug Connection - JTAG

FreeMASTER LiteFreeMASTER

Serial Connection - UART

HARDWARE

REAL TIME DRIVERS

CONFIG – BUILD - DEBUG TOOLS

REAL TIME MONITOR + DEMO TOOLS

MODEL-BASED DESIGN TOOLS

MATHWORKS ECO-SYSTEM –MATLAB/SIMULINK

Page 14: Speed Up Automotive, Industrial, and IoT Applications with

1 3PUBLIC

MCUXpresso - Pin – Clock - Peripheral Tools

Model-Based Design Tools for Simulink

Debug Connection - JTAG

FreeMASTER LiteFreeMASTER

Test

Integrate

DeployPrototypeDesign

Serial Connection - UART

Page 15: Speed Up Automotive, Industrial, and IoT Applications with

1 4PUBLIC

MCUXpresso - Pin – Clock - Peripheral Tools

Model-Based Design Tools for Simulink

Debug Connection - JTAG

FreeMASTER LiteFreeMASTER

Model-Based Design Tools for Simulink

FAST - Time To Market

EASY To Use - Reuse

SIMULATION

LEVERAGE NXP Eco-System

RICH MATH IP/Libraries

Serial Connection - UART

Page 16: Speed Up Automotive, Industrial, and IoT Applications with

1 5PUBLIC

BATTERY MANAGEMENT SYSTEM

Page 17: Speed Up Automotive, Industrial, and IoT Applications with

1 6PUBLICS32K142 + MC33772B NXP BATT – 6EMULATOR

BATTERY

MANAGEMENT

SYSTEM

Page 18: Speed Up Automotive, Industrial, and IoT Applications with

1 7PUBLIC

Serial Connection - UART

BMS Monitor FreeMASTER LiteFreeMASTER

S32 Design Studio + Pin – Clock - Peripheral Tools

Model-Based Design Tools for Simulink

Debug Connection - JTAG

BATTERY

MANAGEMENT

SYSTEM

Page 19: Speed Up Automotive, Industrial, and IoT Applications with

1 8PUBLIC

NXP – MATLAB S IMULINK TOOLBOXES

A COMPLETE SOLUTION

Page 20: Speed Up Automotive, Industrial, and IoT Applications with

1 9PUBLIC

Page 21: Speed Up Automotive, Industrial, and IoT Applications with

2 0PUBLIC

Page 22: Speed Up Automotive, Industrial, and IoT Applications with

2 1PUBLIC

Page 23: Speed Up Automotive, Industrial, and IoT Applications with

2 2PUBLIC

MATLAB Simulation: RADAR Target Generation, Signal Acquisition, CNN Training & Predictions

FIND OUT FOR MORE

❑ NXP BOOTH

❑ NXP.COM

❑ NXP COMMUNITY

Page 24: Speed Up Automotive, Industrial, and IoT Applications with

2 3PUBLIC

© 2021 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks

for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.

Thank you

Page 25: Speed Up Automotive, Industrial, and IoT Applications with

2 4PUBLIC

Page 26: Speed Up Automotive, Industrial, and IoT Applications with

2 5PUBLIC

i.MX RT1060 EVK

Page 27: Speed Up Automotive, Industrial, and IoT Applications with

2 6PUBLIC

Page 28: Speed Up Automotive, Industrial, and IoT Applications with

2 7PUBLIC

MCU Configurations: Core, Systems and Peripherals

MCU Inputs MCU Outputs

ApplicationsAlgorithms

Kernels(HW Independent)

Page 29: Speed Up Automotive, Industrial, and IoT Applications with

2 8PUBLIC

Page 30: Speed Up Automotive, Industrial, and IoT Applications with

2 9PUBLIC

Page 31: Speed Up Automotive, Industrial, and IoT Applications with

3 0PUBLIC

Page 32: Speed Up Automotive, Industrial, and IoT Applications with

3 1PUBLIC

Page 33: Speed Up Automotive, Industrial, and IoT Applications with

3 2PUBLIC

Page 34: Speed Up Automotive, Industrial, and IoT Applications with

3 3PUBLIC

Page 35: Speed Up Automotive, Industrial, and IoT Applications with

3 4PUBLIC

Page 36: Speed Up Automotive, Industrial, and IoT Applications with

3 5PUBLIC

Page 37: Speed Up Automotive, Industrial, and IoT Applications with

3 6PUBLIC

Page 38: Speed Up Automotive, Industrial, and IoT Applications with

3 7PUBLIC

Page 39: Speed Up Automotive, Industrial, and IoT Applications with

3 8PUBLIC

Page 40: Speed Up Automotive, Industrial, and IoT Applications with

3 9PUBLIC

Page 41: Speed Up Automotive, Industrial, and IoT Applications with

4 0PUBLIC

Page 42: Speed Up Automotive, Industrial, and IoT Applications with

4 1PUBLIC

Page 43: Speed Up Automotive, Industrial, and IoT Applications with

4 2PUBLIC

Page 44: Speed Up Automotive, Industrial, and IoT Applications with

4 3PUBLIC

Page 45: Speed Up Automotive, Industrial, and IoT Applications with

4 4PUBLIC

Page 46: Speed Up Automotive, Industrial, and IoT Applications with

4 5PUBLIC

Page 47: Speed Up Automotive, Industrial, and IoT Applications with

4 6PUBLIC

Page 48: Speed Up Automotive, Industrial, and IoT Applications with

4 7PUBLIC

Step 2 – Modeling/Simulation

Software-in-the-Loop• Control algorithm design

• Code generation preparation

• Control system design

• Start testing algorithm

Automatic Code Generation

PC Environment

Controller Code

Electric Motor Model

To SIL

PI

Filter

PI

Filter

Reverse

Park

Transform

PWM

Modulation

PWM A

PWM B

PWM C

Zero

+

-

+

-

Torque

Control

IQ

loop

ID

loop

IQ

cmd

ID

cmd

ID

Va

cmd

Vb

cmd

Forward

Park

Transform

Forward

Clark

Transform

IA

IB

IC

Va

Vb

Motor Position

IQ

Step 3 – Rapid Prototype

Processor-in-the-Loop• Controller code generation

• Determine execution time on MCU

• Verify algorithm on MCU

• See memory/stack usage on MCU

To PIL

Code Validation

PC Environment

+ MCU

Controller Code

Electric Motor Model

PI

Filter

PI

Filter

Reverse

Park

Transform

PWM

Modulation

PWM A

PWM B

PWM C

Zero

+

-

+

-

Torque

Control

IQ

loop

ID

loop

IQ

cmd

ID

cmd

ID

Va

cmd

Vb

cmd

Forward

Park

Transform

Forward

Clark

Transform

IA

IB

IC

Va

Vb

Motor Position

IQ

Step 4 – Target MCU Implementation

MCU Final Application• Validation/verification phase

• Controller code generation

• Test system in target environment using

tools for data logging and parameter tuning

Final Product

MCU with Embedded

Control Module (ECM)

Real Controller

Real Electric Motor

To MCU

PI

Filter

PI

Filter

Reverse

Park

Transform

PWM

Modulation

PWM A

PWM B

PWM C

Zero

+

-

+

-

Torque

Control

IQ

loop

ID

loop

IQ

cmd

ID

cmd

ID

Va

cmd

Vb

cmd

Forward

Park

Transform

Forward

Clark

Transform

IA

IB

IC

Va

Vb

Motor Position

IQ

Step 1 – System Requirements

Model-in-the-Loop

• Software requirements

• Control system requirements

• Overall application control strategy

PC Environment

Controller Model

Electric Motor Model

PI

Filter

PI

Filter

Reverse

Park

Transform

PWM

Modulation

PWM A

PWM B

PWM C

Zero

+

-

+

-

Torque

Control

IQ

loop

ID

loop

IQ

cmd

ID

cmd

ID

Va

cmd

Vb

cmd

Forward

Park

Transform

Forward

Clark

Transform

IA

IB

IC

Va

Vb

Motor Position

IQ

Idea Incubation

Page 49: Speed Up Automotive, Industrial, and IoT Applications with

4 8PUBLIC

MATHWORKS EXTENSIVE TOOLS ECOSYSTEM

• Stateflow

Logic design, Scheduling

Event Based Modeling

• IEC Certification Kit

IEC 61508, ISO26262, EN50128,

IEC62304

• Simulink Requirements

Requirements, Trace PRD, Track

Status

Certification & Validation

• Control Design

Tuning & Auto tuning, Frequency

Response

• Simscape

Motors, IGBT, Diodes, Thermal, Spice

Control & Design

• Coders

Code generation, legacy code

integration, XCP, HIL, PIL, External

mode

• Tuning & Visualizing

Code Generation & Interfacing

Page 50: Speed Up Automotive, Industrial, and IoT Applications with

4 9PUBLIC

Page 51: Speed Up Automotive, Industrial, and IoT Applications with

5 0PUBLIC

Page 52: Speed Up Automotive, Industrial, and IoT Applications with

5 1PUBLIC

Page 53: Speed Up Automotive, Industrial, and IoT Applications with

5 2PUBLIC

Page 54: Speed Up Automotive, Industrial, and IoT Applications with

5 3PUBLIC

Page 55: Speed Up Automotive, Industrial, and IoT Applications with

5 4PUBLIC

Page 56: Speed Up Automotive, Industrial, and IoT Applications with

5 5PUBLIC

Page 57: Speed Up Automotive, Industrial, and IoT Applications with

5 6PUBLIC

Page 58: Speed Up Automotive, Industrial, and IoT Applications with

5 7PUBLIC