Hardware and Software Co-Design for Motor Control Applications

Similar documents
Hardware and Software Co-Design for Motor Control Applications

Targeting Motor Control Algorithms to System-on-Chip Devices

Hardware and Software Co-Design for Motor Control Applications

Designing and Prototyping Digital Systems on SoC FPGA The MathWorks, Inc. 1

MATLAB/Simulink 기반의프로그래머블 SoC 설계및검증

Accelerating FPGA/ASIC Design and Verification

Integrated Workflow to Implement Embedded Software and FPGA Designs on the Xilinx Zynq Platform Puneet Kumar Senior Team Lead - SPC

Motor Control: Model-Based Design from Concept to Implementation on heterogeneous SoC FPGAs Alexander Schreiber, MathWorks

Extending Model-Based Design for HW/SW Design and Verification in MPSoCs Jim Tung MathWorks Fellow

Hardware-Software Co-Design and Prototyping on SoC FPGAs Puneet Kumar Prateek Sikka Application Engineering Team

How Real-Time Testing Improves the Design of a PMSM Controller

Optimization and Implementation of Embedded Signal Processing Algorithms Jonas Rutström Senior Application Engineer

Model-Based Design for effective HW/SW Co-Design Alexander Schreiber Senior Application Engineer MathWorks, Germany

Model-Based Design: Generating Embedded Code for Prototyping or Production

Modeling HDL components for FPGAs in control applications

Model-Based Design for Altera FPGAs Using HDL Code Generation The MathWorks, Inc. 1

Design and Verification of FPGA Applications

[Sub Track 1-3] FPGA/ASIC 을타겟으로한알고리즘의효율적인생성방법및신기능소개

Hardware Implementation and Verification by Model-Based Design Workflow - Communication Models to FPGA-based Radio

Modeling and Verifying Mixed-Signal Designs with MATLAB and Simulink

High-Level and Model-Based Design Targeting FPGAs and SoCs

Real-Time Testing in a Modern, Agile Development Workflow

Ein Modell - viele Zielsysteme

Moving MATLAB Algorithms into Complete Designs with Fixed-Point Simulation and Code Generation

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

Simulink as Your Enterprise Simulation Platform

Design and Verify Embedded Signal Processing Systems Using MATLAB and Simulink

Simulation, prototyping and verification of standards-based wireless communications

Avnet Speedway Design Workshop

Optimize DSP Designs and Code using Fixed-Point Designer

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

Design and Verification of FPGA and ASIC Applications Graham Reith MathWorks

Addressing Fixed Point Design Challenges

Implementing MATLAB Algorithms in FPGAs and ASICs By Alexander Schreiber Senior Application Engineer MathWorks

Making the Most of your MATLAB Models to Improve Verification

Model-Based Design for Video/Image Processing Applications

Cover TBD. intel Quartus prime Design software

Embarquez votre Intelligence Artificielle (IA) sur CPU, GPU et FPGA

What s New in MATLAB and Simulink

Cover TBD. intel Quartus prime Design software

Implementation and Verification Daniel MARTINS Application Engineer MathWorks

Designing and Targeting Video Processing Subsystems for Hardware

System-on-Chip Architecture for Mobile Applications. Sabyasachi Dey

Introducing Simulink R2012b for Signal Processing & Communications Graham Reith Senior Team Leader, UK Application Engineering

Reuse MATLAB Functions and Simulink Models in UVM Environments with Automatic SystemVerilog DPI Component Generation

EEM870 Embedded System and Experiment Lecture 4: SoC Design Flow and Tools

All Programmable SoC based on FPGA for IoT. Maria Liz Crespo ICTP MLAB

Accelerate FPGA Prototyping with

Bringing the benefits of Cortex-M processors to FPGA

Optimizing HW/SW Partition of a Complex Embedded Systems. Simon George November 2015.

A Matlab/Simulink Simulation Approach for Early Field-Programmable Gate Array Hardware Evaluation

MATLAB/Simulink in der Mechatronik So einfach geht s!

FPGA for Software Engineers

Introduction to C and HDL Code Generation from MATLAB

Extending the Power of FPGAs

Introducing the FPGA-Based Prototyping Methodology Manual (FPMM) Best Practices in Design-for-Prototyping

Model-Based Embedded System Design

Simulink 를이용한 효율적인레거시코드 검증방안

ESE Back End 2.0. D. Gajski, S. Abdi. (with contributions from H. Cho, D. Shin, A. Gerstlauer)

Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks

Model to Code, Made Simple and Easy Sebastien Dupertuis Application Engineer Applications Engineering Group MathWorks Switzerland June 11, 2015

Control System Design and Rapid Prototyping Using Simulink Chirag Patel Sr. Application Engineer Modeling and Simulink MathWorks India

Using Model-Based Design to Accelerate FPGA Development for Automotive Applications

Agenda. Introduction FPGA DSP platforms Design challenges New programming models for FPGAs

Performance Verification for ESL Design Methodology from AADL Models

Connecting MATLAB & Simulink with your SystemVerilog Workflow for Functional Verification

Modeling a 4G LTE System in MATLAB

Reducing the cost of FPGA/ASIC Verification with MATLAB and Simulink

Four Best Practices for Prototyping MATLAB and Simulink Algorithms on FPGAs by Stephan van Beek, Sudhir Sharma, and Sudeepa Prakash, MathWorks

다중센서기반자율시스템의모델설계및개발 이제훈차장 The MathWorks, Inc. 2

Model-Based Design Using Simulink, HDL Coder, and DSP Builder for Intel FPGAs By Kiran Kintali, Yongfeng Gu, and Eric Cigan

Modelling, Simulation, and Real-Time Testing for Model-Based Design GianCarlo Pacitti Application Engineer MathWorks

Digital Systems Design. System on a Programmable Chip

Reducing Design Errors in Complex State Machines using Model-Based Design

FPGA-Based Rapid Prototyping of Digital Signal Processing Systems

System-on Solution from Altera and Xilinx

Team-Based Collaboration in Simulink Chris Fillyaw Application Engineer Detroit, MI

Hardware Accelerated SDR Platform for Adaptive Air Interfaces Tarik Kazaz, Christophe Van Praet, Merima Kulin, Pieter Willemen, Ingrid Moerman

TOWARD A METHODOLOGY TO TURN SMALLTALK CODE INTO FPGA

Codegenerierung für Embedded Systeme leicht gemacht So geht s!

Introduction to the Qsys System Integration Tool

Hardware-Software Codesign. 1. Introduction

Designing a Pick and Place Robotics Application Using MATLAB and Simulink

Verification, Validation and Test in Model Based Design Manohar Reddy

Signal Processing Algorithms into Fixed Point FPGA Hardware Dennis Silage ECE Temple University

Hardware Software Codesign of Embedded Systems

Turning an Automated System into an Autonomous system using Model-Based Design Autonomous Tech Conference 2018

What's new in MATLAB and Simulink for Model-Based Design

White Paper. The advantages of using a combination of DSP s and FPGA s. Version: 1.0. Author: Louis N. Bélanger. Date: May, 2004.

NEW FPGA DESIGN AND VERIFICATION TECHNIQUES MICHAL HUSEJKO IT-PES-ES

From Design to Production

2015 The MathWorks, Inc. 1

CE 435 Embedded Systems Spring 2018

A Model-based Embedded Control Hardware/Software Co-design Approach for Optimized Sensor Selection of Industrial Systems

Mentor Graphics Solutions Enable Fast, Efficient Designs for Altera s FPGAs. Fall 2004

Modelling and Simulation Made Easy with Simulink Tiffany Liang Application Engineer MathWorks

FPGA Entering the Era of the All Programmable SoC

Avnet Speedway Design Workshop

Introduction to Control Systems Design

II. LITERATURE SURVEY

Transcription:

Hardware and Software Co-Design for Motor Control Applications Jonas Rutström Application Engineering 2015 The MathWorks, Inc. 1

Masterclass vs. Presentation? 2

What s a SoC? 3

What s a SoC? When we refer to SoCs, we re referring to an FPGA device equipped with a hard processor. 4

Takeaways Model-Based Design for SoC FPGAs Enables early validation of specifications using simulation Improves design team collaboration and designer productivity. Reduces hardware testing time 5

Agenda Trends, challenges and MBD in motor control applications CASE Study: Field-Oriented Control of Velocity on Xlilinx Zynq SoC Debugging your design using Data Capture Next step? 6

Agenda Trends, challenges and MBD in motor control applications CASE Study: Field-Oriented Control of Velocity on Xlilinx Zynq SoC Debugging your design using Data Capture Next step? 7

Key Trend 1: Increasing demands from motor drives Advanced algorithms require faster computing performance. Field-Oriented Control Sensor less motor control Vibration detection and suppression Multi-axis control 8

% of Design Projects Key Trend 2: SoCs are now used in 36% of new FPGA projects Source: Wilson Research Group and Mentor Graphics, 2016 Functional Verification Study 9

Why use a SoC? Soft processors like Nios or Microblaze are more limited in terms of their maximum clock speed Configurable input/output pins and ADCs Programmable logic to create custom I/Os or offload compute-intensive tasks Memory-mapped streaming between FPGA and processor Ability to perform floating-point math Dedicated DSP blocks They are more power efficient SoC are fabricated onto the same die 10

Challenges in using SoCs for Motor and Power Control New Trends New Challenges Integration of software and hardware partitions need team collaboration Validation of design specifications with limits on access to motors in labs. How to make design decisions that cut across system components? 11

Any idea of how to approach these challenges? 12

Model-Based Design with MATLAB and Simulink will help you develop motor control applications on SoCs by Enable early validation of specifications using simulation months before hardware is available. Improving design team collaboration and designer productivity by using a shared design environment. Reducing hardware testing time by shifting design from lab to the desktop 13

User Stories? 14

Punch Powertrain develops complex SoC-based motor control Powertrains for hybrid and electric vehicles Need to increase power density and efficiency at a reduced cost Integrate motor and power electronics in the transmission New switched reluctance motor Fast: 2x the speed of their previous motor Target to a Xilinx Zynq SoC 7045 device Complex: 4 different control strategies No experience designing FPGAs! Link to video of presentation Designed integrated E-drive: Motor, power electronics and software 4 different control strategies implemented Completed in 1.5 years with 2FTE s Models reusable for production Smooth integration and validation due to development process thorough validation before electronics are produced and put in the testbench 15

3T Develops Robot Emergency Braking System with Model-Based Design Challenge Design and implement a robot emergency braking system with minimal hardware testing Solution Model-Based Design with Simulink and HDL Coder to model, verify, and implement the controller Results Cleanroom time reduced from weeks to days Late requirement changes rapidly implemented Complex bug resolved in one day Link to user story With Simulink and HDL Coder we eliminated programming errors and automated delay balancing, pipelining, and other tedious and error-prone tasks. As a result, we were able to easily and quickly implement change requests from our customer and reduce time-to-market. A SCARA robot. Ronald van der Meer 3T 16

Agenda Trends, challenges and MBD in motor control applications CASE Study: Field-Oriented Control of Velocity on Xlilinx Zynq SoC Debugging your design using Data Capture Next step? 17

ZedBoard Zynq SoC (XC7Z020) FMC module: control board + low-voltage board Load motor Mechanical coupler Motor under test (with encoder) 18

Conceptual workflow targeting SoCs System Simulation Test Bench Algorithm developer Algorithm C Model Algorithm HDL Model Model of Motor & Dyno Embedded software engineer Linux / VxWorks Reference Framework Algorithm C Code Algorithm HDL Code Programmable Logic Reference Framework Hardware designer SoC Hard Processor SoC Programmable Logic Embedded System Motor & Dyno Hardware 19

Hardware/software partitioning Target to Programmable Logic Target to ARM 20

Code Generation 21

DEMO Field-Oriented Control of Velocity 22

Agenda Trends, challenges and MBD in motor control applications CASE Study: Field-Oriented Control of Velocity on Xlilinx Zynq SoC Debugging your design using Data Capture Next step? 25

Debugging using Data Capture Why would you like to capture signals from the FPGA? It enables you to use MATLAB to analyze the real-world signals. It enables you to capture data and drive it to simulations which makes design debugging easier. Generate Debug IP and insert to design 26

Data Capture IP Workflow Added one output port to the existing Data Capture IP 28

DEMO Debugging using Data Capture 29

Agenda Trends, challenges and MBD in motor control applications CASE Study: Field-Oriented Control of Velocity on Xlilinx Zynq SoC Debugging your design using Data Capture Next step? 30

Why use Model-Based Design to develop motor control applications on SoCs? Challenges: Model-Based Design Integration of software and hardware partitions of algorithm on SoC drives need for collaboration Validation of design specifications with limits on access to motors in labs. How to make design decisions that cut across system? Enables early validation of specifications using simulation months before hardware is available. Improves design team collaboration and designer productivity by using a shared design environment. Reduces hardware testing time by shifting design from lab to the desktop 31

Learn More Visit us in the Technology Showcase New: see award-winning Native Floating Point in HDL Coder 32

Learn More Visit us in the Technology Showcase New: see award-winning Native Floating Point in HDL Coder Videos HDL Coder: Native Floating Point Webinars Prototyping SoC-based Motor Controllers on Intel SoCs with MATLAB and Simulink How to Build Custom Motor Controllers for Zynq SoCs with MATLAB and Simulink Articles How Modeling Helps Embedded Engineers Develop Applications for SoCs (MATLAB Digest) MATLAB and Simulink Aid HW-SW Codesign of Zynq SoCs (Xcell Software Journal) Tutorials: Define and Register Custom Board and Reference Design for SoC Workflow Field-Oriented Control of a Permanent Magnet Synchronous Machine on SoCs 33

Thank You! 34