Finite Element Based, FPGA-Implemented Electric Machine Model for Hardware-in-the-Loop (HIL) Simulation

Similar documents
ABB uses an OPAL-RT real time simulator to validate controls of medium voltage power converters

Five Cool Things You Can Do With Powertrain Blockset The MathWorks, Inc. 1

HIL for power electronics and power systems with National

Modeling and Simulate Automotive Powertrain Systems

Full Vehicle Simulation for Electrification and Automated Driving Applications

Building Fast and Accurate Powertrain Models for System and Control Development

NR Electric Uses RT-LAB Real-time Simulator to Test the Control and Protection System for the Zhoushan Multiterminal

ABB June 19, Slide 1

Dr. Daho Taghezout applied magnetics (CH 1110 Morges)

2015 The MathWorks, Inc. 1

e-smart 2009 Low cost fault injection method for security characterization

Topics on Compilers. Introduction to CGRA

Embedded Torque Estimator for Diesel Engine Control Application

Spark. The open source ECU project

(FPGA) based design for minimizing petrol spill from the pipe lines during sabotage

Real-Time Modelica Simulation on a Suse Linux Enterprise Real Time PC

Model-Based Design and Hardware-in-the-Loop Simulation for Clean Vehicles Bo Chen, Ph.D.

Learn to Design with Stratix III FPGAs Programmable Power Technology and Selectable Core Voltage

University Program Software Selection

DRAFT (IMECE ) Hardware-In-the-Loop Simulation for Control Development in EHPV Applications

AVL Virtual Testbed. Calibrate beyond the limits

Experience the Hybrid Drive

ASIC Design (7v81) Spring 2000

Simulink as a Platform for Full Vehicle Simulation

Field Programmable Gate Arrays a Case Study

Model Based Design: Balancing Embedded Controls Development and System Simulation

ReCoSoC Experimental Fault Injection based on the Prototyping of an AES Cryptosystem

Components and tooling to reduce complexity and cost in E/E powertrain system design for Hybrid electric Vehicles

Wind Turbine Emulation Experiment

MORSE: MOdel-based Real-time Systems Engineering. Reducing physical testing in the calibration of diagnostic and driveabilty features

VEHICLE DYNAMICS BASED ABS ECU TESTING ON A REAL-TIME HIL SIMULATOR

Prototypage rapide du contrôle d'un convertisseur de puissance DC-DC à haut rendement

Local Memory Bus (LMB) V10 (v1.00a)

dspace GmbH Rathenaustr Paderborn Germany

NREL Microgrid Controller Innovation Challenge Event

Optimizing Performance and Fuel Economy of a Dual-Clutch Transmission Powertrain with Model-Based Design

MBD solution covering from system design to verification by real-time simulation for automotive systems. Kosuke KONISHI, IDAJ Co., LTD.

SIL, HIL, and Vehicle Fuel Economy Analysis of a Pre- Transmission Parallel PHEV

development of hybrid electric vehicles

Implementation and application of Simpackmulti-attribute vehicle models at Toyota Motor Europe

The MathWorks Crossover to Model-Based Design

Highly dynamic control of a test bench for highspeed train pantographs

JMAAB: supporting MBD deployment and standardization in Japan

We Support the Automotive World to go Electric Inverter and E-Motor Integration and Validation

University Program Software Selection

ESC-HIL TEST SYSTEM SOLUTIONS FOR VIRTUAL TEST DRIVING

Multi-physics electric motor

Energy Efficient Content-Addressable Memory

Orion BMS Purchasing Guide Rev. 1.2

LMS Imagine.Lab AMESim Ground Loads and Flight Controls

Vehicle functional design from PSA in-house software to AMESim standard library with increased modularity

Synchronising a Modelica R. Real-Time Simulation Model with a Highly Dynamic Engine Test-Bench System. Abstract. 2 Hardware-in-the-Loop system

DYNA4 Open Simulation Framework with Flexible Support for Your Work Processes and Modular Simulation Model Library

How to analyze BLDC motor Efficiency Map?

The use of Simulation in Electric Machine Design Stefan Holst, CD-adapco

Real-time Simulation of Electric Motors

Vehicle Cluster Testing and Data Logging using Ni Compact-RIO

MAS601 Design, Modeling & Simulation

End-To-End Cell Pack System Solution: Rechargeable Lithium-Ion Battery

Design and evaluate vehicle architectures to reach the best trade-off between performance, range and comfort. Unrestricted.

Series 1780 Dynamometer V2 Datasheet

The next revolution in simulation. Dr. Jan Leuridan Executive Vice-President, CTO LMS International

Designing for Reliability and Robustness with MATLAB

: New technologies in feedback devices - Reduce costs and improve performance, maintenance, and efficiency

COMBUSTION CONTROLLER DEVELOPMENT AND APPLICATION USING MODEL-BASED DESIGN

Integration of EtherCAT in Advanced Test Systems Solutions and Challenges. Dr. Frank Schütte, Andreas Tenge, Dr. László Juhász dspace GmbH, Paderborn

Model based development of Cruise Control for Mercedes-Benz Trucks

Ming Cheng, Bo Chen, Michigan Technological University

Ramp Profile Hardware Implementation. User Guide

FUEL DELIVERY IGNITION ANGLE CONTROL BOOST CONTROL TECH INFO

Ampl2m. Kamil Herman Author of Ampl2m conversion tool. Who are you looking at

DsPIC Based Power Assisted Steering Using Brushless Direct Current Motor

Combining Optimisation with Dymola to Calibrate a 2-zone Predictive Combustion Model.

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility. Functional Validation of Battery Management Systems

Design and Experimental Study on Digital Speed Control System of a Diesel Generator

Calibration. DOE & Statistical Modeling

MODEL BASED DESIGN OF HYBRID AND ELECTRIC POWERTRAINS Sandeep Sovani, Ph.D. ANSYS Inc.

VHDL (and verilog) allow complex hardware to be described in either single-segment style to two-segment style

Digital Energy Revolution

KPIT Cummins Infosystems Ltd. Capability Overview in HEV, EV and Motor Control Areas. We value our relationship We value our relationship

Power Systems for GRID Simulation. Mahesh Thaker, Director of Engineering AMETEK Programmable Power / VTI Instruments

Modelling and Simulation Specialists

Multimove. IRC5 has enough goodies for everyone. Which one is your favorite? Powerful Software Tools. Modular Controller.

Automotive and transportation. Magneti Marelli

Power Electronics & Drives [Simulink, Hardware-Open & Closed Loop]

ABB MEASUREMENT & ANALYTICS. Predictive Emission Monitoring Systems The new approach for monitoring emissions from industry

Power Management Chip. Anthony Kanago Valerie Barry Benjamin Sprague John Sandmeyer

Full Vehicle Durability Prediction Using Co-simulation Between Implicit & Explicit Finite Element Solvers

EXPERTS IN FLUID DYNAMICS AND STRUCTURAL ANALYSIS

Powertrain and Chassis Hardware-in-the- Loop (HIL) Simulation of Ford s Autonomous Vehicle Platform

Certification Procedures for Advanced Technology Heavy-Duty Vehicles. Evaluating Test Methods and Opportunities for Global Alignment

IBM CMM Quick Reference Guide

Measurement made easy. Predictive Emission Monitoring Systems The new approach for monitoring emissions from industry

Piktronik d. o. o. Cesta k Tamu 17 SI 2000 Maribor, Slovenia Fax:

OBI-M2. Compact and Rugged Combustion Analysis System for use on Vehicles, Motorbikes and Test Benches

Lecture 14: Instruction Level Parallelism

MXSTEERINGDESIGNER MDYNAMIX AFFILIATED INSTITUTE OF MUNICH UNIVERSITY OF APPLIED SCIENCES

Model-Based Engine Calibration

Building a Digital Twin of the Vehicle Powertrain with MATLAB and Simulink

Transcription:

Finite Element Based, FPGA-Implemented Electric Machine Model for Hardware-in-the-Loop (HIL) Simulation Leveraging Simulation for Hybrid and Electric Powertrain Design in the Automotive,

Presentation Agenda 1. HIL Simulation by OPAL-RT Introduction & Context 2. E-drive simulation - Why FPGA? 3. PMSM solver on FPGA 4. Integration of Maxwell FEA models and edrivesim 5. Conclusion 6. Q&A Leveraging Simulation for Hybrid and Electric Powertrain Design in the Automotive, Transportation, and Aerospace Industries 2

OPAL-RT Introduction We supply real-time digital simulators to industry, research labs and educational institutions for hardware-in-the-loop (HIL), rapid control prototyping and accelerated nonrealtime (number crunching) applications 3

OPAL-RT: Turnkey HIL Simulators Hardware, software and integration for real-time simulation and testing We program sophisticated solvers and interfaces for real-time applications We design full range I/O signal processing peripherals (modular mapping boxes, FIU, break out boxes) We develop/integrate application models and solutions for various industries (automotive, aerospace, military, power utilities) 4

The Challenge of Electric Motor Control Testing testing Faster time to market with parallel development and accelerated test: a proven approach with HIL simulation 5

The Challenge of Electric Motor Control Testing testing Motor control engineers want : To test the motor controller with non-ideal behavior. To test the motor controller with different points of operation, such a saturated states To insert fault conditions To rapidly simulate different types of motors High-fidelity and flexible motor simulation 6

The Challenge of Electric Motor Control Testing testing Managers want to: increase test case coverage reduce costs accelerate time to market By reducing testing time on real dynamometer By detecting errors at earlier stages of the design Faster improvement of complex control strategies Creation of a technical link between motor designer and control engineer HIL model IS the design 7

RT-LAB for ECU Testing and Validation Virtual Plant Electronic Control Unit (ECU) Under Test 8

Model-based Design (MBD) & Hardware-in-the-Loop (HIL) Design Validate Model Off-line simulation Models become the method to share information with disparate development teams Deployment Production Maintenance Virtual Prototype HIL, RT simulation 3D visualization Integration & Test In-system commissioning & calibration This implementation is performed by the control team This implementation is performed by the software team Control Prototype HIL, RT simulation, Physical Components RPC Implementation Production Code Physical Components Lab Testing with actual controller HIL This implementation is performed by the integration team 9

Why use FPGA? Hang on First, what s an FPGA??? Well, Before FPGAs, years ago Macintosh prototype, 1980 10

What is an FPGA? Now in one integrated cirduit Programmable interconnect Connection block FPGA 11

What is an FPGA? Yeah, I ve heard of Integrated Circuits! What s an FPGA!?!? Cells interconnection Field programmable Gate Array Programmable interconnect Connection block 12

What is an FPGA? Inside a Virtex 5 Cell A Programma interconnec Connection B LUT X = (C if A = 0, B if A=1) C A B C 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 X 0 1 0 1 0 0 1 1 X 13

Multiplier RAM memory block Multiplier RAM memory block Multiplier RAM memory block FPGA for Parallel Computing I/O I/O OPAL-RT Analog inputs OPAL-RT Analog Outputs RT-LAB Digital inputs RT-LAB CPU Model I/O I/O RT-LAB Digital Outputs RT-LAB CPU Model I/O I/O 14

Constraints Limited Ressources Cells Memory LUTs Etc. Might not be possible to route the design Propagation delays Fixed Point calculation Image Sourcre: http://www.student.uni-kl.de/~alles/fpga/pics/fpga-layout.jpg 15

FPGAs in Numbers Virtex 5 Virtex II Pro (XC2VP7) Virtex 5 (XC5VSX50T ) ML506 Virtex 6 (XC6VLX240 T) ML605 Spartan III (XC3S500) Arrays (Row x Col) 40x34 120x34 46x34 46x34 Slices ( Cells) 4,928 7,200 37,680 4,656 Flip-Flops 9,856 28,800 301,440 9,312 LUTs 9,856 28,800 150,720 9,312 Multipliers 44 (18x18) 48 (25x18) 768 (25x18) 20 (18x18) Block RAM 792kb 4,752kb 14,976kb 360kb 16

Recap FPGA CPU Typically 200 MHz clock No instruction, everything executes at the same time blocks are connected together Floating point is more challenging Typically 3.3 GHz clock Operations are executed sequentially Floating point engine is embedded inside the chip (requires a lot of resources) Routing & dealing with delays are challenging 17

Ok! Why FPGA for HIL then? Advantages compared to CPU-based model processing: Physically near I/O Low latency Parallel signal processing Rapidly improving capacity 18

Why (not) FPGA? For most engineers, FPGAs: OPAL-RT s answer Are complex to use HIL turnkey solution fixed vs. floating point Lack flexibility Generic approach to FPGA Have low fidelity Implementation of ANSYS Maxwell FEA motor models 19

PMSM Solver on FPGA OPAL-RT latest developments: CPU equivalent Step Time : 5-20us Model total Latency: 15-40us Step Time : 100-450ns Model total Latency: Below 2.5us OPAL-RT PMSM FPGA Solver High fidelity modeling + High speed I/Os 20

PMSM Solver on FPGA OPAL-RT latest developments: Upgrade of motor solver to latest FEA software levels Solver compatible with PMSM spatial harmonics and VarDQ approach Streamlining of integration steps Solver configuration ready in a few clicks with online reconfiguration of I/O mapping Improvement of solver accuracy Model entirely computed in floating point 21

PMSM Solver on FPGA Implementation: Export Netlist from ANSYS Maxwell Software Precalculation of multiple operating points Import Netlist into RT-LAB environment Use RT-LAB to build your realtime simulation Ready-for-Realtime Integrate I/O and any other required application peripherals 22

OPAL-RT Benchmark Simulation Maxwell 16.0

IPM Motor Simulations on LS-DSO OS Linux cluster specifications: Total CPUs (cores): 48 Total hosts (nodes): 4 Large Scale Distributed Solve Option (LS-DSO) Prius motor project 17195 variations Cores used 48

Maxwell Setup

Maxwell Setup Alignment of the initial rotor position is done Flux linkage is maximum when theta = 0 and Iamp =0

IPM Motor Simulations on LS-DSO Parametric sweep table of 17195 rows: Beta = 0:20:360 Theta = 0:0.25:45 Iamp = 0:50:200 Parametric table was run on (LS-DSO) Results post-processed using Matlab Final Table: Beta = 0:5:360 Theta = 0:0.25:45 Iamp = [0,2.5,5,8,11,18,25,37.50,50,75,100,125,150,17 5,20] Note: Results were post-processed using spline interpolation in Matlab

Results Flux Linkage Flux linkage of phase U when Beta = 0 deg and Iamp = 0A 0.05 0.04 Flux Linkage of Phase U 0.03 0.02 fu, Weber 0.01 0-0.01-0.02-0.03-0.04-0.05 0 10 20 30 40 50 60 70 80 90 Theta, deg

Results Instantaneous Torque Instantaneous torque of phase U when Beta = 45 deg and Iamp = 200A 350 Instantaneous Torque 340 Torque, N.m 330 320 310 300 290 280 0 5 10 15 20 25 30 35 40 45 Theta, deg

Results Instantaneous Torque Instantaneous torque of phase U when Beta = 45 deg and Iamp = 200A 350 Instantaneous Torque 340 Torque, N.m 330 320 310 300 290 280 0 5 10 15 20 25 30 35 40 45 Theta, deg

Results Incremental Inductance Incremental inductance of phase U when Beta = 45 deg and Iamp = 200A 5.5 x 10-5 5 Incremental Inductance 4.5 Luu, H 4 3.5 3 2.5 2 1.5 0 5 10 15 20 25 30 35 40 45 Theta, deg Note: Maxwell also can compute the incremental inductance when Iamp = 0

Results Average Torque Average torque of phase U when Beta = 45 deg and Iamp = 200A Average Torque, N.m 400 300 200 100 0-100 -200-300 -400 0 50 100 150 200 250 300 350 Beta, deg Average Torque Note: For motor mode operation, Beta ranges from 0 deg to 90 deg which adheres to the alignment criteria shown in the phasor diagram

Results Instantaneous Torque Instantaneous Torque

Results Instantaneous Flux Linkage Instantaneous Flux Linkage

Results Instantaneous Flux Linkage Instantaneous Flux Linkage

IPM Motor Simulations on LS-DSO Speed-up factor and cores utilizations: Number of cores Simulation time (hours) Speed-up factor 1 368.3 1 100% 6 63.7 5.7 95% 12 32.9 11.2 94% 24 16.2 22.8 95% 36 10.9 33.4 94% 48 8.0 46.1 96% 60 6.4 57.6 96% 96 4.2 90.0 94% Cores utilization %

IPM Motor Simulations on LS-DSO Simulation time in log scale: 10 3 Time, hours 10 2 10 1 10 0 0 10 20 30 40 50 60 70 80 90 100 Number of cores

IPM Motor Simulations on LS-DSO Speed-up factor: 100 80 Speed-up factor 60 40 20 0 0 20 40 60 80 100 Number of cores This graph shows that the simulation time is reduced linearly with the increase of number of cores

Extraction of Results on LS-DSO Results for all variations extracted using LSDSO extractor with mergecsv option All results of the variations are combined in a single CSV file

A typical XSG model in RT-LAB RT-LAB I/Os are fully programmable with Xilinx System Generator Plant model exported from Maxwell, is integrated with I/O & any peripheral plant model components in Simulink to be compiled for real-time. Xilinx System Generator is a FPGA Simulink blockset No need to know VHDL language User can customize the I/O for complex applications

Conclusion FPGA will soon be the reference for HIL testing High-fidelity HIL model on FPGA is a reality Large scale parametric analysis of (example) Prius Motor was done to prepare data for OPAL-RT software using ANSYS Maxwell software Motor prototyping is ready Enhanced control algorithm validation is now possible on HIL Faster test means lower cost Motor and controller designer can work closely together The exported Maxwell model (Design) IS the HIL plant model 41