1 Steps for Production Code Generation Wind Turbine Pitch Controller 1. Generate test data and extract controller 2. Discretize Change integrator blocks.

Slides:



Advertisements
Similar presentations
Introduction to C++ An object-oriented language Unit - 01.
Advertisements

0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Vehicle.
Basic S-Functions and TLC Coding
1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
1 Translation Validation: From Simulink to C Michael RyabtsevOfer Strichman Technion, Haifa, Israel Acknowledgement: sponsored by a grant from General.
Simulink Overview: open simulink to open simulink Library Browser.
1 © 2011 The MathWorks, Inc. Designing Pitch and Yaw Actuators for Wind Turbines Steve Miller Technical Marketing, Physical Modeling MathWorks Area A Area.
Using an FPGA to Control the Protection of National Security and Sailor Lives at Sea Brenda G. Martinez, Undergraduate Student K.L. Butler-Purry, Ph.D.,
MotoHawk Training Model-Based Design of Embedded Systems.
Determining Mechanical Loads for Wind Turbines
1 © 2011 The MathWorks, Inc. Model-Based Design of a Wind Turbine Steve Miller Technical Marketing, Physical Modeling MathWorks
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
1 A Tool for System Simulation: SIMULINK Can be used for simulation of various systems: – Linear, nonlinear; Input signals can be arbitrarily generated:
ECE Synthesis & Verification1 ECE 667 Spring 2011 Synthesis and Verification of Digital Systems Verification Introduction.
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
HossamTalaat - MATLAB Course - KSU - 21/1/24 1 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink By Prof. Hossam Talaat.
Introduction to Software Testing
Types and Techniques of Software Testing
DC Motor Model Using Simscape Engr. Salim Lashari.
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
each of these is an instantiation of “full_adder”
Teaching with MATLAB - Tips and Tricks
W.Skulski Phobos Workshop April /2003 Firmware & software development Digital Pulse Processor DDC-8 (Universal Trigger Module) Wojtek Skulski University.
1 Tips for solving Project 1 Reactor SO 3 SO 2 +O 2.
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
1 WORLD CLASS – through people, technology and dedication High level modem development for Radio Link INF3430/4431 H2013.
Simulink ® Interface Course 13 Active-HDL Interfaces.
Wind Turbine Design and Implementation Phase III Senior Design May Team Andrew Nigro (EE) Chad Hand (EE) Luke Rupiper (EE) Ryan Semler (EE) Shonda.
Tot 15 LTPDA Graphic User Interface summary and status N. Tateo 26/06/2007.
Paper Review Avelino Zepeda Martinez High Performance Reconfigurable Pipelined Matrix Multiplication Module Designer.
Variables & Random Number Generation.  A penguin is playing arctic basketball. The penguin has a basketball and will push the basketball toward.
© Mahindra Satyam 2009 Configuration Management QMS Training.
MotoHawk™ Components Scalable, Secure, Model-Based Design of Embedded Systems.
Team 1 Member : 劉和軒 沈文迪. Project information What we are going to do? A maze!!! Why is it worth doing? Entertaining and brain-twisting.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
STATEFLOW AND SIMULINK TO VERILOG COSIMULATION OF SOME EXAMPLES
TEST-1 6. Testing & Refactoring. TEST-2 How we create classes? We think about what a class must do We focus on its implementation We write fields We write.
1 Software Reliability Analysis Tools Joel Henry, Ph.D. University of Montana.
Workshop - November Toulouse Astrium Use Case.
1 MotoHawk Components Scalable, Secure, Model-Based Design of Embedded Systems MotoHawk Training.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Performed by: Dor Kasif, Or Flisher Instructor: Rolf Hilgendorf Jpeg decompression algorithm implementation using HLS PDR presentation Winter Duration:
Modeling of Power Converters using Matlab and Simulink
QinetiQ in confidence © Copyright QinetiQ November 2008 Challenges Colin O’Halloran Aerospace Consulting Practice.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Combinational Circuits
Introduction to Simulink Matlab based Both Continuous Time and Discrete Time Simulation Based on Blocksets Model Based Design: a software model of the.
Simulink by Dr. Amin Danial Asham. References  MATLAB Help  Telemark University College - Department of Electrical Engineering, Information Technology.
ECE 301 – Digital Electronics Logic Circuit Design (Lecture #9)
Simulink Continuous Library by Dr. Amin Danial Asham.
Intro to Simulink Modified by Gary Balas 20 Feb 2011 Copyright , Andy Packard. This work is licensed under.
Systems Architecture, Fourth Edition 1 Processor Technology and Architecture Chapter 4.
Creating Java Applications (Software Development Life Cycle) 1. specify the problem requirements - clarify 2. analyze the problem - Input? Processes? Output.
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
 Types of communication systems ◦ Coaxial (Wired) ◦ Microwave (Wireless) ◦ Satellite (Wireless) ◦ Cable (Wired) ◦ Cellular (Wireless)
Prototyping SoC-based Gate Drive Logic for Power Convertors by Generating code from Simulink models. Researchers Rounak Siddaiah, Graduate Student-University.
SECTION 4 GSE IMPORT METHOD.
Meeting at CERN March 2011.
WORKSHOP 3 GSE IMPORT.
Contents Simulink model Grouping into subsystems Naming the subsystems
Workshop on INTRODUCTION OF MATLAB/SIMULINK TOOLS AND THEIR APPLICATION conducted by EEE/CCET 11/13/2018 workshop on 01/12/2010.
Chapter 9 Classes: A Deeper Look, Part 1
QGen and TQL-1 Qualification
QGen and TQL Qualification
LTPDA Graphic User Interface summary and status
Srinivas Aluri Jaimin Mehta
Introduction To Simulink
Presentation transcript:

1 Steps for Production Code Generation Wind Turbine Pitch Controller 1. Generate test data and extract controller 2. Discretize Change integrator blocks Change solver 3. Assign Data Types Default double to single, boolean, etc. Pitch Controller 4. Generate Code SIL Testing, PIL Testing, Production code, reports Output Data (Discretized) Output Data (Data Types) Output Data (Prod. Code) 5. Test controller in closed-loop system Input Data (Reference) Input Data (Wind Data) 1 Output Data (Reference) 1

2 Steps for Production Code Generation  Used for continuous verification –With each change, verify results are still acceptable  Test data generated using full model and signal logging  Script used to compare results 1. Generate test data and extract controller Output Data (Reference) ?? = Output Data (Modified) Wind Turbine Pitch Controller Input Data (Reference) 1 Output Data (Reference) 1

3 Steps for Production Code Generation  Discrete integrators needed for embedded controllers –Replaced using Model Discretizer  Step-size adjusted for maximum speed and acceptable accuracy –Parameterized with MATLAB variables Pitch Controller 2. Discretize Change integrator blocks Change to discrete solver Identify proper step size Output Data (Discretized) Input Data (Reference) Pitch Controller 2 Output Data (Reference)

4 Steps for Production Code Generation  Data types assigned to variables to specify memory allocation on controller  Storage classes are assigned to variables to define how they are implemented on the target –Global, pointers, etc. –Decouples model from embedded target Pitch Controller 3. Assign Data Types Default double to single, boolean, etc. Output Data (Discretized) Input Data (Reference) Pitch Controller 3 Output Data (Reference)

5 Steps for Production Code Generation  Code generated for SIL (Software-in-the-Loop) and for embedded target  Reports generated include information on interfacing to custom code and traceability  Done using Simulink Coder Pitch Controller Output Data (Prod. Code) Input Data (Reference) Pitch Controller 4 Output Data (Reference) 4. Generate Code Production Code

6 Steps for Production Code Generation  Replace controller in simulation model with production code  Re-run simulation to verify performance against system specification Pitch Controller 5. Test controller in closed-loop system Wind Turbine Pitch Controller Output Data (Prod. Code) 5