Laboratory of Embedded Control Systems

Similar documents
Guide to Teaching Computer Science

BENG Simulation Modeling of Biological Systems. BENG 5613 Syllabus: Page 1 of 9. SPECIAL NOTE No. 1:

For information only, correct responses are listed in the chart below. Question Number. Correct Response

McDonald's Corporation

Southern Wesleyan University 2017 Winter Graduation Exercises Information for Graduates and Guests (Updated 09/14/2017)

Accounting 380K.6 Accounting and Control in Nonprofit Organizations (#02705) Spring 2013 Professors Michael H. Granof and Gretchen Charrier

Knowledge management styles and performance: a knowledge space model from both theoretical and empirical perspectives

DEVM F105 Intermediate Algebra DEVM F105 UY2*2779*

ENME 605 Advanced Control Systems, Fall 2015 Department of Mechanical Engineering

Test Administrator User Guide

LEGO MINDSTORMS Education EV3 Coding Activities

TABLE OF CONTENTS TABLE OF CONTENTS COVER PAGE HALAMAN PENGESAHAN PERNYATAAN NASKAH SOAL TUGAS AKHIR ACKNOWLEDGEMENT FOREWORD

Pragmatic Constraints affecting the Teacher Efficacy in Ethiopia - An Analytical Comparison with India

Control Tutorials for MATLAB and Simulink

Availability of Grants Largely Offset Tuition Increases for Low-Income Students, U.S. Report Says

Faculty Athletics Committee Annual Report to the Faculty Council September 2014

School of Basic Biomedical Sciences College of Medicine. M.D./Ph.D PROGRAM ACADEMIC POLICIES AND PROCEDURES

Background Information. Instructions. Problem Statement. HOMEWORK INSTRUCTIONS Homework #3 Higher Education Salary Problem

ACTL5103 Stochastic Modelling For Actuaries. Course Outline Semester 2, 2014

Using Simulink, Matlab, and LEGO Mindstorms to teach a Project-Based Control Systems Design Course

IMPROVING STUDENTS READING COMPREHENSION BY IMPLEMENTING RECIPROCAL TEACHING (A

Lesson Plan Art: Painting Techniques

Bitstrips for Schools: A How-To Guide

Rotary Club of Portsmouth

Agreement BETWEEN. Board of Education OF THE. Montebello Unified School District AND. Montebello Teachers Association

ENGLISH Training of Trainers

CHALLENGES FACING DEVELOPMENT OF STRATEGIC PLANS IN PUBLIC SECONDARY SCHOOLS IN MWINGI CENTRAL DISTRICT, KENYA

Field Experience and Internship Handbook Master of Education in Educational Leadership Program

Knowledge-Based - Systems

Perspectives of Information Systems

Executive Summary. Marian High School (NTI Career Institute, Inc.) Mr. Larry Ivory, Principal 9896 Bissonnet, Suite 230 Houston, TX 77036

RIVERVIEW SCHOOL DISTRICT Superintendent s Report Regular Meeting Board of School Directors April 20, 2015

Laboratorio di Intelligenza Artificiale e Robotica

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

School of Innovative Technologies and Engineering

B.S/M.A in Mathematics

IMPROVING STUDENTS SPEAKING SKILL THROUGH

Document number: 2013/ Programs Committee 6/2014 (July) Agenda Item 42.0 Bachelor of Engineering with Honours in Software Engineering

ACCOUNTING FOR LAWYERS SYLLABUS

Multidisciplinary Engineering Systems 2 nd and 3rd Year College-Wide Courses

Economics 201 Principles of Microeconomics Fall 2010 MWF 10:00 10:50am 160 Bryan Building

A Reinforcement Learning Variant for Control Scheduling

UNIT ONE Tools of Algebra

LEARNING THROUGH INTERACTION AND CREATIVITY IN ONLINE LABORATORIES

REGULAR BOARD MEETING. May 31, :00 p.m. Mary S. Shoemaker Library

Student Handbook. School of Pharmacy The University of Mississippi

BHARATHIAR UNIVERSITY

Performance Modeling and Design of Computer Systems

Inleiding Taalkunde. Docent: Paola Monachesi. Blok 4, 2001/ Syntax 2. 2 Phrases and constituent structure 2. 3 A minigrammar of Italian 3

SPRING GROVE AREA SCHOOL DISTRICT

Cal s Dinner Card Deals

Bittinger, M. L., Ellenbogen, D. J., & Johnson, B. L. (2012). Prealgebra (6th ed.). Boston, MA: Addison-Wesley.

Dissertation submitted In partial fulfillment of the requirement for the award of the degree of. Of the Tamil Nadu Teacher Education University

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Introduction to Simulation

Palomar College Curriculum Committee Meeting Agenda Wednesday March 1, 2017 Room AA 140 at 3:00 pm

Laboratorio di Intelligenza Artificiale e Robotica

Descriptive Summary of Beginning Postsecondary Students Two Years After Entry

Computers Change the World

AC : DESIGNING AN UNDERGRADUATE ROBOTICS ENGINEERING CURRICULUM: UNIFIED ROBOTICS I AND II

THE INFLUENCE OF COOPERATIVE WRITING TECHNIQUE TO TEACH WRITING SKILL VIEWED FROM STUDENTS CREATIVITY

Section I: The Nature of Inquiry

White Paper. The Art of Learning

USA GYMNASTICS ATHLETE & COACH SELECTION PROCEDURES 2017 WORLD CHAMPIONSHIPS Pesaro, ITALY RHYTHMIC

STA 225: Introductory Statistics (CT)

Grade 6: Correlated to AGS Basic Math Skills

RCPCH MMC Cohort Study (Part 4) March 2016

Specification and Evaluation of Machine Translation Toy Systems - Criteria for laboratory assignments

content First Introductory book to cover CAPM First to differentiate expected and required returns First to discuss the intrinsic value of stocks

THE RAJIV GANDHI UNIVERSITY ACT, 2006 ARRANGEMENT OF SECTIONS

CURRICULUM VITAE. To develop expertise in Graph Theory and expand my knowledge by doing Research in the same.

PELLISSIPPI STATE TECHNICAL COMMUNITY COLLEGE MASTER SYLLABUS APPLIED MECHANICS MET 2025

MEE 6501, Advanced Air Quality Control Course Syllabus. Course Description. Course Textbook. Course Learning Outcomes. Credits.

Faculty Recruitment and Hiring Policy & Procedures. Revised May 19, 2017

A Context-Driven Use Case Creation Process for Specifying Automotive Driver Assistance Systems

GACE Computer Science Assessment Test at a Glance

UNIVERSITY OF KASHMIR NAAC Accredited Grade A University Campus, Hazratbal, Srinagar (J&K)

Page 1 of 11. Curriculum Map: Grade 4 Math Course: Math 4 Sub-topic: General. Grade(s): None specified

PERFORMING ARTS. Unit 2 Proposal for a commissioning brief Suite. Cambridge TECHNICALS LEVEL 3. L/507/6467 Guided learning hours: 60

BEST OFFICIAL WORLD SCHOOLS DEBATE RULES

Mathematics subject curriculum

Math-U-See Correlation with the Common Core State Standards for Mathematical Content for Third Grade

Number Line Moves Dash -- 1st Grade. Michelle Eckstein

LIVERPOOL JOHN MOORES UNIVERSITY Department of Electrical Engineering Job Description

JEFFERSON COLLEGE COURSE SYLLABUS BUS 261 BUSINESS COMMUNICATIONS. 3 Credit Hours. Prepared by: Cindy Rossi January 25, 2014

ME 4495 Computational Heat Transfer and Fluid Flow M,W 4:00 5:15 (Eng 177)

COMPUTER INTERFACES FOR TEACHING THE NINTENDO GENERATION

INDIAN STATISTICAL INSTITUTE 203, BARRACKPORE TRUNK ROAD KOLKATA

Master of Science Thesis in the Master Degree Programme, Business Design

Analysis of Enzyme Kinetic Data

Introduction: SOCIOLOGY AND PHILOSOPHY

Numeracy Medium term plan: Summer Term Level 2C/2B Year 2 Level 2A/3C

PRINCE2 Foundation (2009 Edition)

Lecture 10: Reinforcement Learning

Sample Problems for MATH 5001, University of Georgia

Application of Virtual Instruments (VIs) for an enhanced learning environment

Bluetooth mlearning Applications for the Classroom of the Future

BILD Physical Intervention Training Accreditation Scheme

Statewide Framework Document for:

South Carolina College- and Career-Ready Standards for Mathematics. Standards Unpacking Documents Grade 5

Transcription:

Laboratory of Embedded Control Systems Course Presentation Teacher Luigi Palopoli AA. 2011/2012

Aim of the course The aim of this course it to introduce the student (you :=) ) to model based design of embedded control systems This will be done with theoretical lectures (few) and lab experiences (many) The course is a laboratory course. What we expect is that you deliver a complete working project You will organise yourself in groups of two students Please start searching for your mate and let me know in the next class

The project The project will be developed in different phases At the end of each phase, you will produce a different artefact (e.g., a piece of code or a model), which has to be documented by a report There is a specific date for each delivery Those of you who do not attend the class can deliver the project all at once, but I warmly recommend not to (is possible) We will do most of the work together in the class, but you may need to work on your own to complete the different phase

What this course is not... It is not a Signals and System course It is not a Real-Time Operating Systems course It is not an automatic control or a digital control course......but you will need a little bit of all of this and we will help you...

What this course is... In this course you will be offered a comprehensive look on the entire model based development methodology In detail, you will learn how to 1. Formulate design specifications 4. Design a controller for the system that fulfils your goals 2. Construct a model of the system that you want to control (plant) 3. Identify the physical parameters of the system 5. Simulate the closed loop system and asses its performance 6. Generate a Software implementation for your controller

A plant The objective of this course is to control a system that we define a plant A plant is a continuous time system described by a set of differential equations Example (Spring + Damper)

Model of the Plant Very often we will use the transfer function (Laplace Transform) to express the plant in a mathematically tractable way In our example:

Model We can easily translate this equation into a scicos model Double-clicking on the transfer function block we can insert the physical parameters and simulate the system

Simulation Step Response

Physical Parameters The behaviour of the system is obviously much different if we change the physical parameters

Non-idealities To make our model more realistic, we can refine our model inserting blocks that model non-idealities For instance, actuators are not able to produce any input value an utility car is different from a Formula 1 racing car we can model this by inserting in the model a saturation block The system is no longer linear (why?) but we can consider its behaviour as linear ad long as we do not exceed the bound of the saturation

Saturation Non-idealities

Performance Specs Once we have a model for our system we can formulate performance specification (e.g., related to the step response) Overshoot Settling time Rise time

Physical Parameters Essential to our purpose is to determine the choice of parameters whereby our model best fits the model To do this we can measure the physical quantities if easy/possible Carry out the identification procedure Identification: carry out a large set of experiments and collect data find the set of parameters that minimise the distance between our system and the model

Control Design At this point, we are in condition to design a feedback controller that fulfils the specs. If we make a feedback connection of a plant P(s) with a controller C(s), we get a new transfer function given by: The presence of the controller at the denominator moves the poles and changes the dynamics

Feedback Control + r e C(s) u - P(s)

Digital Implementation The controller we have designed in this way is a continuous time system (a differential equation) If we want to implement it in a digital computer, we need to transform it into a numeric algorithm Instrumental to this goal is the introduction of a sampling mechanism for the sensors and of a Zero order Hold (ZoH) for the actuators

Feedback Control + r Sampler C(z) ZoH - P(s)

What is the digital implementation C(z)? Assume that our controller is given by In terms of differential equations:

Digital Implementation If we sample periodically, the derivative can be approximated by the backward difference (we will see better approximations.)

Z-transform notation It is useful to express the difference equation in terms of the Z- transform It plays the same role in discrete time as the Laplace transform plays in continuous time The one step forward operator in the time domain corresponds to multiplication by z in the Z domain and the one step delay operator to multiplication by 1/z The controller equation becomes:

Digital approximation We can account for the digital approximation in our scheme and simulate the system

and finally. Once we are happy with the simulations, we can write a real time task (implemented in a RTOS) that translates the algorithm into code double e_1, u_1;! void task () {!!double u, e;!!e = get_from_sensor();!!u = u_1 + kp (e-e_1)+ki*e;!!output(u);!!e_1 = e:!!u_1 = u;! }!

Schedule Lecture 1: Introduction Methodology Introduction to Scicoslab Lecture II: Scicoslab Matrix computation Scripts and functions Plotting data Modelling and simulating a CT system with Scicos

Schedule Lecture III: Recap on Laplace transform Lecture IV: Using Scicos to represent dynamical systems (Examples)

Schedule Lecture V: Modelling a second order system (The motor) non linearities Lecture VI: First experience with the Lego Mindstrom

Schedule Lecture VII: collecting data from lego mindstorm Lecture VIII: System Identification

Schedule Lecture IX identification of Lego Motors Lecture X: Identification of Lego Motors

Lecture XI: Control of SISO system Schedule root locus [DELIVERY] Lecture XII: Control of SISO systems Filtering Identification

Schedule Lecture XIII: Control design for the motor Lecutre XIV: Control design for the motors

Lecture XV: Digital implementation Schedule Lecture XVI: Digital Implementation (application to the example)

Schedule Lecture XVII: Digital Implementation of controllers practical application for the motor (SCICOSLAB) Lecture XVIII: Digital implementation of controllers

Schedule Lecture XIX: Modelling and simulation of the larger system (Kinematic Control) [Delivery Motor Control] Lecture XX: Kinematic control design

Schedule Lecture XXI: Kinematic control Design Application on the comprehensivemodel Lecture XXII: Kinematic control Design

Schedule Lecture XXIII: Implementation of digital controller for the whole system Multitask implementation Lecture XXIV: Implementation of the digital controller After One week delivery