Speed Up Automotive, Industrial, and IoT Applications with

Preview:

Citation preview

0PUBLIC

Speed Up Automotive, Industrial, and IoT Applications

with NXP Model-Based Design Toolbox

Daniel Scurtu

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

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

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

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

5PUBLIC

Documentation

Reference Design Solution

Real Time Drivers SW Libraries

Enablement Tools

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

7PUBLIC

Debug Connection - JTAG

MCUXpresso – IDE – Debugger - Toolchains

Pins Tool

Clocks Tool

Peripheral Tool

FreeMASTER LiteFreeMASTER

Serial Connection - UART

8PUBLIC

Debug Connection - JTAG

MCUXpresso – IDE – Debugger - Toolchains

Pins Tool

Clocks Tool

Peripheral Tool

FreeMASTER LiteFreeMASTER

DeployTestPrototypeDesign

Serial Connection - UART

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

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

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

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

1 3PUBLIC

MCUXpresso - Pin – Clock - Peripheral Tools

Model-Based Design Tools for Simulink

Debug Connection - JTAG

FreeMASTER LiteFreeMASTER

Test

Integrate

DeployPrototypeDesign

Serial Connection - UART

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

1 5PUBLIC

BATTERY MANAGEMENT SYSTEM

1 6PUBLICS32K142 + MC33772B NXP BATT – 6EMULATOR

BATTERY

MANAGEMENT

SYSTEM

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

1 8PUBLIC

NXP – MATLAB S IMULINK TOOLBOXES

A COMPLETE SOLUTION

1 9PUBLIC

2 0PUBLIC

2 1PUBLIC

2 2PUBLIC

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

FIND OUT FOR MORE

❑ NXP BOOTH

❑ NXP.COM

❑ NXP COMMUNITY

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

2 4PUBLIC

2 5PUBLIC

i.MX RT1060 EVK

2 6PUBLIC

2 7PUBLIC

MCU Configurations: Core, Systems and Peripherals

MCU Inputs MCU Outputs

ApplicationsAlgorithms

Kernels(HW Independent)

2 8PUBLIC

2 9PUBLIC

3 0PUBLIC

3 1PUBLIC

3 2PUBLIC

3 3PUBLIC

3 4PUBLIC

3 5PUBLIC

3 6PUBLIC

3 7PUBLIC

3 8PUBLIC

3 9PUBLIC

4 0PUBLIC

4 1PUBLIC

4 2PUBLIC

4 3PUBLIC

4 4PUBLIC

4 5PUBLIC

4 6PUBLIC

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

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

4 9PUBLIC

5 0PUBLIC

5 1PUBLIC

5 2PUBLIC

5 3PUBLIC

5 4PUBLIC

5 5PUBLIC

5 6PUBLIC

5 7PUBLIC

Recommended