Säätö- ja systeemitekniikan kehittyneet menetelmät (477607S) Advanced control and systems engineering (477607S)

Samankaltaiset tiedostot
Information on Finnish Language Courses Spring Semester 2018 Päivi Paukku & Jenni Laine Centre for Language and Communication Studies

Information on Finnish Language Courses Spring Semester 2017 Jenni Laine

Information on preparing Presentation

Capacity Utilization

1.3 Lohkorakenne muodostetaan käyttämällä a) puolipistettä b) aaltosulkeita c) BEGIN ja END lausekkeita d) sisennystä

Kysymys 5 Compared to the workload, the number of credits awarded was (1 credits equals 27 working hours): (4)

Returns to Scale II. S ysteemianalyysin. Laboratorio. Esitelmä 8 Timo Salminen. Teknillinen korkeakoulu

Information on Finnish Courses Autumn Semester 2017 Jenni Laine & Päivi Paukku Centre for Language and Communication Studies

1.3Lohkorakenne muodostetaan käyttämällä a) puolipistettä b) aaltosulkeita c) BEGIN ja END lausekkeita d) sisennystä

The CCR Model and Production Correspondence

FinFamily PostgreSQL installation ( ) FinFamily PostgreSQL

Lab SBS3.FARM_Hyper-V - Navigating a SharePoint site

On instrument costs in decentralized macroeconomic decision making (Helsingin Kauppakorkeakoulun julkaisuja ; D-31)

KONEISTUSKOKOONPANON TEKEMINEN NX10-YMPÄRISTÖSSÄ

General studies: Art and theory studies and language studies

Network to Get Work. Tehtäviä opiskelijoille Assignments for students.

National Building Code of Finland, Part D1, Building Water Supply and Sewerage Systems, Regulations and guidelines 2007

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

BDD (behavior-driven development) suunnittelumenetelmän käyttö open source projektissa, case: SpecFlow/.NET.

Salasanan vaihto uuteen / How to change password

Efficiency change over time

On instrument costs in decentralized macroeconomic decision making (Helsingin Kauppakorkeakoulun julkaisuja ; D-31)

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

Sisällysluettelo Table of contents

Gap-filling methods for CH 4 data

Alternative DEA Models

Operatioanalyysi 2011, Harjoitus 4, viikko 40

7.4 Variability management

TU-C2030 Operations Management Project. Introduction lecture November 2nd, 2016 Lotta Lundell, Rinna Toikka, Timo Seppälä

812336A C++ -kielen perusteet,

Genome 373: Genomic Informatics. Professors Elhanan Borenstein and Jay Shendure

FinFamily Installation and importing data ( ) FinFamily Asennus / Installation

7. Product-line architectures

16. Allocation Models

Tietorakenteet ja algoritmit

AS TENTTIJÄRJESTYS LUKUVUOSI päiv as

Exercise 1. (session: )

Heikki Apiola, Juha Kuortti, Miika Oksman. 5. lokakuuta Matlabperusteita, osa 1

Matemaattiset ohjelmistot A. Osa 2: MATLAB

Tietokonearkkitehtuuri 2 TKT-3201 (5 op)

Microsoft Lync 2010 Attendee

Uusi Ajatus Löytyy Luonnosta 4 (käsikirja) (Finnish Edition)

S SÄHKÖTEKNIIKKA JA ELEKTRONIIKKA

TIETEEN PÄIVÄT OULUSSA

Aalto-yliopisto Kemian tekniikan korkeakoulu Kemian tekniikan lukujärjestys SYKSY 2012

Constructive Alignment in Specialisation Studies in Industrial Pharmacy in Finland

C++11 seminaari, kevät Johannes Koskinen

Voice Over LTE (VoLTE) By Miikka Poikselkä;Harri Holma;Jukka Hongisto

anna minun kertoa let me tell you

Integration of Finnish web services in WebLicht Presentation in Freudenstadt by Jussi Piitulainen

1. SIT. The handler and dog stop with the dog sitting at heel. When the dog is sitting, the handler cues the dog to heel forward.

SIMULINK S-funktiot. SIMULINK S-funktiot

On instrument costs in decentralized macroeconomic decision making (Helsingin Kauppakorkeakoulun julkaisuja ; D-31)

VUOSI 2015 / YEAR 2015

Bachelor level exams by date in Otaniemi

Bachelor level exams by subject in Otaniemi

Smart access control.

Windows Phone. Module Descriptions. Opiframe Oy puh Espoo

HITSAUKSEN TUOTTAVUUSRATKAISUT

SÄÄTÖJÄRJESTELMIEN SUUNNITTELU

Harjoitus 1: Matlab. Harjoitus 1: Matlab. Mat Sovelletun matematiikan tietokonetyöt 1. Syksy 2006

Additions, deletions and changes to courses for the academic year Mitä vanhoja kursseja uusi korvaa / kommentit

LYTH-CONS CONSISTENCY TRANSMITTER

VIDEOTUEN KÄYTTÖKOKEMUKSIA MELUN JA HIUKKASPÄÄSTÖJEN LEVIÄMISMALLINNUKSEN OPETUKSESSA. MaFyKe-päivät Erkki Mäkinen

Data quality points. ICAR, Berlin,

Returns to Scale Chapters

T Introduction to Data Communications and Multimedia Technology 5op

TW-LTE 4G/3G. USB-modeemi (USB 2.0)

MEETING PEOPLE COMMUNICATIVE QUESTIONS

Choose Finland-Helsinki Valitse Finland-Helsinki

S SÄHKÖTEKNIIKKA JA ELEKTRONIIKKA

Sähkötekniikan tutkintoohjelma. DI-tutkinto ja uranäkymät

Telecommunication Software

Other approaches to restrict multipliers

LANSEERAUS LÄHESTYY AIKATAULU OMINAISUUDET. Sähköinen jäsenkortti. Yksinkertainen tapa lähettää viestejä jäsenille

Hankkeen toiminnot työsuunnitelman laatiminen

Stormwater filtration unit

Operatioanalyysi 2011, Harjoitus 2, viikko 38

21~--~--~r--1~~--~--~~r--1~

KEMIANTEKNIIKAN DI-OHJELMA MASTER S DEGREE PROGRAMMES IN CHEMICAL ENGINEERING 2014-

OFFICE 365 OPISKELIJOILLE

ELEMET- MOCASTRO. Effect of grain size on A 3 temperatures in C-Mn and low alloyed steels - Gleeble tests and predictions. Period

Master s Thesis opinnäytetyön tuki Industrial Management Master s -ohjelmassa. TkT Marjatta Huhta, Metropolia

Page 1 of 9. Ryhmä/group: L = luento, lecture H = harjoitus, exercises A, ATK = atk-harjoitukset, computer exercises

Mat Seminar on Optimization. Data Envelopment Analysis. Economies of Scope S ysteemianalyysin. Laboratorio. Teknillinen korkeakoulu

Capacity utilization

Bounds on non-surjective cellular automata

Tarua vai totta: sähkön vähittäismarkkina ei toimi? Satu Viljainen Professori, sähkömarkkinat

Arkkitehtuuritietoisku. eli mitä aina olet halunnut tietää arkkitehtuureista, muttet ole uskaltanut kysyä

Use of Stochastic Compromise Programming to develop forest management alternatives for ecosystem services

AYYE 9/ HOUSING POLICY

UEF Statistics Teaching Bulletin, Fall 2017

S SÄHKÖTEKNIIKKA JA ELEKTRONIIKKA

Operatioanalyysi 2011, Harjoitus 3, viikko 39

MUSEOT KULTTUURIPALVELUINA

SELL Student Games kansainvälinen opiskelijaurheilutapahtuma

DS-tunnusten haku Outi Jäppinen CIMO

ASCII-taidetta. Intro: Python

2_1----~--~r--1.~--~--~--,.~~

Maahanmuutto Opiskelu

Transkriptio:

Säätö- ja systeemitekniikan kehittyneet menetelmät (477607S) Advanced control and systems engineering (477607S) 2019 Enso Ikonen säätö- ja systeemitekniikan professori professor of control and systems engineering

SSKM (Säätö- ja systeemitekniikan kehittyneet menetelmät) Advaced Control and Systems Engineering Outline of 1st session (2h) Session language? MSc thesis advertisements Practicalities for passing the course (15min) what, where and how: lectures, exercises homeworks exam time schedules Preliminary assignments (15min) Introduction to the topics of Advanced control and systems engineering (15min) Getting started with Matlab (45min) matrices, indexing useful functions writing m-files/functions Exercise Simulation of a PID controlled process

Course language policy: All course material is in English (recordings, book, slides,..) rec. with Finnish subtitles Exercises & consultation in Finnish or in English or both

diplomityöpaikkoja IMS/systeemitekniikassa 1/2019 vesivoiman tuotannossa työ tehdään yliopistolla, yhteistyössä PVO:n kanssa aloitus 2019 aihe täsmentyy myöhemmin PVO:n kanssa HYPE-hankkeet Haetaan osaavaa opiskelijaa jolla mielenkiintoa/potentiaalia myös jatko-opintoihin Alustava työn aihe: Vesivoiman käyttö verkoston taajuussäädössä TkT Istvan Selek automaatiokoulutuksen kehittämishankkeessa työ tehdään yliopistolla loppuu 12/2019 (aloitus n. 5/2019) opetuksen kehittämishanke automaation koulutusympäristö prosessiautomaation +logiikkaohjauksen +robotiikan laitteet OY+OAMK+OSAO yhteistyö opettajien koulutus uudessa koulutusympäristössä toimimiseen Haetaan opetuksesta kiinnostunutta organisaattoria ja järjestelijää alustava työn aihe: Automaatiotekniikan opetuksen työelämälähtöisyys (hankkeen taustat+toteutus+tulokset) koulutusalavastaava Jukka Hiltunen teollisuusrobotiikan selvitys työ tehdään PLC Automationilla ohjelmoitavien logiikoiden ja automaatiojärjestelmätoimittaja aloitus 2019 (keväällä) aihe tarkentuu kun henkilö löytyy Haetaan henkilöä joka on innokas, oma-aloitteinen, tunnollinen ja ulospäin suuntautunut Aihe: Perusteellinen selvitys liiketoiminnan pohjaksi siitä minkälaista tietotaitoa sekä välineistöä teollisuusrobottien toimittaminen vaatisi. DI Jouni Huotari (PLC) / prof. Enso Ikonen (OY)

Säätö- ja systeemitekniikan kehittyneet menetelmät (477607S) Ennustava säätö ja bayesilainen tilaestimointi prosessitekniikassa Advanced control and systems engineering (477607S) Model predictive control (MPC) and bayesian state estimation for process engineering Kurssin järjestää systeemitekniikan tutkimusyksikkö (SYTE) Course is provided by the Systems Engineering Research Unit (SYTE) Enso Ikonen säätö- ja systeemitekniikan professori professor of control and systems engineering 5 op, lähiopetusta kevätperiodilla 3. 5 ects, face-to-face teaching during spring period 3 Kurssin e-versio löytyy Nopasta, suoritusaika vapaa An e-version of the course is available in Noppa, can be taken whenever: https://noppa.oulu.fi/noppa/kurssi/477607s/

Practicalities for the *new* course format https://noppa.oulu.fi/noppa/kurssi/477607s/ home pages: http://cc.oulu.fi/~iko/sskm.htm Course structure/material: Lecture videos including exercises Finnish subtitles Lecture notes (book-pdf) Home works (0-3) groups of 1-2 students follow a given time schedule to be reported & presented & defended all group members must be present points to exam, max 15pnts Exam obligatory, max 30pnts 1 st March 2019 class exam + Examinarium (3hrs) No live lecturing (see noppa) Face-to-face teaching: Opening lecture 9 Jan 2019 Exercises (3) 18 & 23 Jan 2019 on DMC/QDMC coding 20 Feb 2019 KF/PF Home work seminars (3+) 25 Jan, 6 Feb, 27 Feb 2019 Weekly consultation available during hours scheduled for the course (email warning pls!) Wed 14-16, Thu 14-16, Fri 10-12 Fri 11 Jan 2019 cancelled Thu-Fri 7-8 Feb 2019 cancelled

Alkutehtävät / Preliminary assignments Using your mobile phone laptop go to: fbr.io/jnhon Tutkinto-ohjelmani:opintosuuntani on / My degree program? Minua kiinnostavat säätötekniikassa seuraavat näkökulmat / In control engineering, I'm interested in.. Osaan kohtuullisesti näiden kurssien sisällöt / I'm confident with.. Olen opiskellut käyttänyt olennaisena osana opetusta / I'm familiar with.. Osaan koodata itsenäisesti ainakin näillä työkaluilla / I can code with..

A short introduction to the topics Model predictive control (MPC) and bayesian state estimation for process engineering MPC State estimation u=? x y MPC = Model Predictive Control at instant k.. find an optimal input sequence.. u(k), u(k+1), u(k+h) which minimizes a given cost function.. J( x(k+1), x(k+2), x(k+h), u(k), u(k+1),, u(k+h-1) ) using a model of the controlled plant s future behaviour x(k+1) = f(x(k),u(k)) x(k+2) = f(x(k),u(k), u(k+1)) x(k+h) = f(x(k),u(k),, u(k+h-1)) Apply control, and repeat at next k u(k)

A short introduction to the topics Model predictive control (MPC) and bayesian state estimation for process engineering MPC DMC QDMC State estimation MPC = Model Predictive Control Ennustava säätö, malliprediktiivinen säätö DMC: uses a FIR plant model y(k+1) = b 0 u(k) + b 1 u(k-1) + + b N u(k-n) QDMC: optimization under constraints constraints on y, u, x u=? x y Many more other MPC s exist plant model + optimization problem

A short introduction to the topics Model predictive control (MPC) and bayesian state estimation for process engineering MPC DMC QDMC State estimation Bayesian reasoning Kalman filter Particle filter State estimation: State is not measured or measurement may contain noise. Fuse model & measurements.. to make a wise guess about x smoothing, filtering, prediction u x=? y Useful for control monitoring

Algorithms / Simulation Course requires coding abilities basic coding (for, if-then-else,..), decomposing into sub-functions, matrix algebra, optimization libraries, curve plotting, Matlab Possible to use any programming environment, but not recommended only Matlab is supported..

Getting started with Matlab Matlab is an interactive program for numerical computation and data visualization. Univ Oulu licence allows students also to install the program on a home computer. Software Distribution Service: http://www.oulu.fi/ict/node/15 835 https://se.mathworks.com/help/ matlab/getting-started-withmatlab.html Desktop Basics Matrices and Arrays Array Indexing Calling Functions Programming and Scripts https://se.mathworks.com/help/ matlab/functions.html

Matlab in one page Desktop basics >> workspace command window = a = 1, b=2, c=a+b () d= cos(a) ; c=a*b; clc, clear cd, path cd Matrices and arrays [] ; A=[1 2 3;4 5 6;7 8 9] zeros, ones, eye create matrices using functions A+1, sin(a), randn matrix operations A inv inv(a)*a. A.*A ^ A^3, A.^3 [A A] B=[A A] i 3+2i Array indexing A(r,c) A(2,3) A(i) A(8) : A(1:2,3), A(:,3), b=[1:2:10] end A(2:end,3) length, size size(a) Workspace variables whos save save tmp load load tmp Text and chars mytext = Hello, world sprintf T=36.5; mytext = sprintf( Temp = %gc,t) Calling functions () [oarg1,oarg2] = fun(iarg1,iarg2) help help max Plotting plot x=[0:pi/100:2*pi]; y=sin(x); plot(x,y) axis axis([-1 2*pi+1-2 2]) xlabel, ylabel xlabel( x ), ylabel( sin(x) ) title title( sinifunktio ) style plot(x,y, r: ) subplot subplot(211); plot(x,y); subplot(212); plot(xy,cos(x)); stairs stairs(x,y) Programming edit edit tmpfun - save >> tmpfun execute script/function for - end for k=1:10, k, end if elseif else end Functions & scripts mfiles function b = myfunction(a) b = 2*a end Stored as a myfunction.m -file >> myfunction(pi) anonymous sqr = @(x) x.^2; A function handle >> sqr(5) integral(sqr,0,1) Data types double default numeric type char c = Hello, world string c = [ Hello, world, Hello, moon ] struct.field s.a = 1 s.b = { A, B, C } cell C = {1,2,3, hello,rand(3,2)}

Exercise: Closed loop simulation Ex: Simulate a first order plant in closed loop using a P-controller (PIcontroller). Plot plant input/output vs. time. Plant is given by G(s) = k p / tau*s+1 Controller is given by C(s) = U(s)/E(s) = K P Function arguments: input: h (discretization) output: K P (controller parameter) Use k p =5, tau=10 Discretization G(s) => y(k+1) = ay(k) + bu(k) a = e -h/tau b = (1-e -h/tau )k p Tuning rule (~Ziegler-Nichols) K P = tau / k p h h is delay ~sampling time

function K_P = ex_lti1( h) % EX_LTI1 Example code for closed loop simulation % K_P = ex_lti1( h) % A file saved as ex_lti.m. Solution % plant & controller params k_p = 5; tau = 10; a = exp(-h/tau); b = (1-exp(-h/tau))*k_p; K_P = tau/(k_p*h); >> ex_lti1(1); % set point sequence w = [zeros(10,1);ones(10,1);-2*ones(10,1)]; lw = length(w); % process initial state y(1) = 0; % measurement/control loop for k=1:lw % deviation e e = w(k)-y(k); % process control u u(k) = K_P*e; % process output y y(k+1) = a*y(k) + b*u(k); end % plot output and control t = h*[1:lw]'; subplot(211); [x1,y1]=stairs(t,y(1:lw)); [x2,y2]=stairs(t,w(1:lw)); plot(x1,y1,'-',x2,y2,':'); ylabel('y(-), w(:)') ax=axis; axis([0 h*lw ax(3:4)]) subplot(212); stairs(t,u); ylabel('u') xlabel('t') ax=axis; axis([0 h*lw ax(3:4)]) end % function-end

What to do next? Go through videos & book material: videos 11-1 to 13-7 including exercises! book Sections 1.1-1.6 Next class exercises Fri 18 Jan 2018 on DMC/QDMC coding