Exercise Sheet 1 with solutions

Similar documents
ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

CDS 101: Lecture 4.1 Linear Systems

Control Systems I. Lecture 4: Diagonalization, Modal Analysis, Intro to Feedback. Readings: Emilio Frazzoli

EE 16B Midterm 2, March 21, Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor:

Problem Value Score Total 100/105

To find the step response of an RC circuit

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING RUTGERS UNIVERSITY

AC Circuits Homework Set

Introduction to Modern Control MT 2016

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

Lab 6a: Pole Placement for the Inverted Pendulum

Lecture 39. PHYC 161 Fall 2016

EE 3CL4: Introduction to Control Systems Lab 4: Lead Compensation

Physics for Scientists & Engineers 2

Revision: June 11, E Main Suite D Pullman, WA (509) Voice and Fax

Figure Circuit for Question 1. Figure Circuit for Question 2

Signals and Systems Chapter 2

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

2. Higher-order Linear ODE s

The output voltage is given by,

Full State Feedback for State Space Approach

Source-Free RC Circuit

ECE 201 Fall 2009 Final Exam

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 16

Control Systems Design

RLC Circuit (3) We can then write the differential equation for charge on the capacitor. The solution of this differential equation is

SINUSOIDAL STEADY STATE CIRCUIT ANALYSIS

Time Response Analysis (Part II)

Modeling and Experimentation: Compound Pendulum

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Controls Problems for Qualifying Exam - Spring 2014

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

Dynamic circuits: Frequency domain analysis

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

RLC Series Circuit. We can define effective resistances for capacitors and inductors: 1 = Capacitive reactance:

RC Circuits. Equipment: Capstone with 850 interface, RLC circuit board, 2 voltage sensors (no alligator clips), 3 leads V C = 1

EE 16B Final, December 13, Name: SID #:

Problem Solving 8: Circuits

ECE137B Final Exam. There are 5 problems on this exam and you have 3 hours There are pages 1-19 in the exam: please make sure all are there.

4.4 Using partial fractions

ECE 388 Automatic Control

ENGR 2405 Chapter 8. Second Order Circuits

Converter System Modeling via MATLAB/Simulink

Electric Circuits Fall 2015 Solution #5

9. Introduction and Chapter Objectives

MAT292 - Calculus III - Fall Solution for Term Test 2 - November 6, 2014 DO NOT WRITE ON THE QR CODE AT THE TOP OF THE PAGES.

Systems Analysis and Control

Control Systems Design

Passive RL and RC Filters

First Order RC and RL Transient Circuits

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 12

1 (30 pts) Dominant Pole

9.6 - Energy and the Simple Harmonic Oscillator *

Often, in this class, we will analyze a closed-loop feedback control system, and end up with an equation of the form

AC analysis. EE 201 AC analysis 1

Introduction to Process Control

Analog Signals and Systems and their properties

RLC Circuits. 1 Introduction. 1.1 Undriven Systems. 1.2 Driven Systems

Sinusoidal Response of RLC Circuits

Schedule. ECEN 301 Discussion #20 Exam 2 Review 1. Lab Due date. Title Chapters HW Due date. Date Day Class No. 10 Nov Mon 20 Exam Review.

Solutions to PHY2049 Exam 2 (Nov. 3, 2017)

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

EE 422G - Signals and Systems Laboratory

EE C128 / ME C134 Midterm Fall 2014

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Response of Second-Order Systems

8. Introduction and Chapter Objectives

Power Electronics

Alternating Current Circuits. Home Work Solutions

The Damped Pendulum. Physics 211 Lab 3 3/18/2016

Systems and Control Theory Lecture Notes. Laura Giarré

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Chapter 31: RLC Circuits. PHY2049: Chapter 31 1

Module 07 Controllability and Controller Design of Dynamical LTI Systems

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 9

Modeling and Experimentation: Mass-Spring-Damper System Dynamics

APPPHYS 217 Tuesday 6 April 2010

Class 27: Block Diagrams

State Space Control D R. T A R E K A. T U T U N J I

Problem Weight Score Total 100

ECE557 Systems Control

Circuits Advanced Topics by Dr. Colton (Fall 2016)

ECE-320: Linear Control Systems Homework 8. 1) For one of the rectilinear systems in lab, I found the following state variable representations:

Systems Analysis and Control

Problem Weight Total 100

Control System Design

Chapter Eight. Transfer Functions. 8.1 Frequency Domain Modeling

EE C128 / ME C134 Final Exam Fall 2014

Physics 2112 Unit 19

2.003 Engineering Dynamics Problem Set 10 with answer to the concept questions

Problem Set 5 Solutions

ECE 212H1F Circuit Analysis October 30, :10-19: Reza Iravani 02 Reza Iravani 03 Piero Triverio. (Non-programmable Calculators Allowed)

Advanced Control Theory

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall 2007

State Feedback Controller for Position Control of a Flexible Link

ELECTROMAGNETIC INDUCTION AND FARADAY S LAW

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

Control Systems Lab - SC4070 Control techniques

Transcription:

ecture Energy Systems: Hardware and Control - Control Part University of Freiburg Winterterm 27/28 Eercise Sheet with solutions Prof. Dr. Moritz Diehl, Dr. Gianluca Frison and Benjamin Stickan For questions on the eercise please contact Benjamin Stickan (benjamin.stickan@imtek.uni-freiburg.de) Within the control part of the Energy Systems: Hardware and Control course there will be 45 min. eercise sessions after each lecture. The eercises are guided by tutors and will contain some MATAB-based tasks. Therefore, a MATAB installation including the Control System Toolbo is needed. Getting started. Ecept MATAB is not yet installed on your computer, the first thing you need to do is install it. Detailed installation and licensing instructions can be found at https://www.rz.uni-freiburg.de/services-en/beschaffung-em/ software-en/matlab-license Remember that the Control System Toolbo is required. 2. If you are new to MATAB, the first thing you will appreciate is the etensive help system. You can simply type doc into the console and the documentation opens. If you type doc plot, you will find a detailed description of function plot. 3. Here are some useful commands for the eercises: hold on/off figure close all clear clc Problem : Dynamical System, ODE, Simulation and Solution A simple pendulum is sketched in figure. The pointmass m is fied to a solid, massless rod of length l, which is connected to a frictionless hinge on the other side. All movements take place in the vertically oriented -y-plane and the gravitation g acts in y-direction. (a) Derive the equation of motion for the pendulum and note it in the shape α f(α). How do the mass or the length determine the motion of the pendulum? y E 2 ml2 α 2 + mgl( cos(α)) de conservation of energy α g l sin(α) α l (b) What are the states, which are needed to completely describe the system? [ [ α α 2 m Figure : Sketch of a simple pendulum (c) Convert the ODE to the system of equations f(). [ [ [ α α α g l sin(α) 2 g l sin( )

(d) Simulate the motion of the pendulum for seconds using different initial values. Therefore write a function function d nonlin_pendel(t, ) which implements the system of equations. For the simulation use lsode and the following constants: l m, g 9.8 m s 2. Solution see problem.m. (e) What characterizes steady states? Calculate the steady states for the pendulum.! [ 2 g l sin( ) 2ss, ss n π with n Z [ n π ss (f) inearize the system at the steady state ss [, and write the system of equations in the shape A + Bu and y α C. Compute the state space matrices A,B and C. [ f f ( ss ) 2 ( ss ) f 2 f ( ss ) 2 2 ( ss ) [ [ [ g l cos( ss) g l cos() g l (g) Compare the linear and the nonlinear system via simulations using increasing initial values for α() ranging from π/8 to π. With increasing α() the linear approimation gets worse. But for control tasks we want to keep our system close to a desired state, so the linearization is a good simplification and thus an important and very useful tool. For plot run problem.m Problem 2: Buck-converter, Modelling and Stabilization. The electrical circuit sketched below shows a simplified buck-converter with a constant load at the output. The system can be described in state-space representation as A + Bu, y C, D [, u : v, y : v C. i (t) i R (t) i C (t) v(t) v C (t) (a) Derive the the I/O-ODE (Input/Output-Ordinary Differential Equation) for the given circuit using equations i C, v di and i R v C (Hint: Use Kirchhoff s voltage law for inductors and current law for capacitors) v v C + v v C + ( i C + i R ) v C + v C + v C v (b) Convert the I/O-ODE to state space representations, i.e. set up the A, B, C, D-matrices for using (i) the control canonical form. ẋ(t) A(t) + Bu(t) () y(t) C(t) + Du(t) (2) 2

[ y [ [ + u (ii) the observer canonical form. [ [ + u y [ (c) Now derive matrices A, B, and or the state vector given as : [ i v C. Inductor current: di v Epress v C by utilizing Kirchhoff s voltage law: v v v C di v v C Capacitor voltage: Epress i C by utilizing Kirchoff s current law: i C i C i i R i v C i v C State-space representation: [ di [ } {{ } A C [ [ + }{{} B }{{} v u (d) Derive the characteristic polynomial. Evaluate the eigenvalues of the system for 4.7 mh, µf and i. Ω ii. Ω Is the system BIBO-stable in both cases? Characteristic polynomial: Roots of the characteristic polynomial: Ω: p(λ) det(λi A) [ λ det λ + λ 2 + λ + 3

λ 2 +! λ ± i ± i.46 3 Cf Re(λ i ) for all eigenvalues. system is undamped and therefore not BIBO-stable. Ω λ 2 + λ +! λ ± i 2 4Rl 2C2 f + 5 ± i.46 3 Re(λ i ) < for all eigenvalues. system is damped and therefore BIBO-stable. (e) Write down the time constant τ in seconds and the resulting oscillating frequency in Hz for both values of. (Hint: In this eample, the time constant τ is a measure for the amplitude decay (damping) and is defined as τ Re(λ). The oscillating frequency is defined as f ω Im(λ) ) Ω: Time constant τ: Oscillating Frequency: τ ms Re(λ) ω Im(λ) Cf Ω Time constant τ: Oscillating Frequency: f ω 232.5 Hz τ Re(λ) 2 2 ms ω Im(λ) f ω 232. Hz 4R 2 l C2 f + (f) Create a new MATAB script and define variables 4.7 mh, Cf µf and Rl. Also define matrices A, B, C and D according to task (c). (g) Use the ss(a,b,c,d) command to create a state-space model sys_ol and evaluate the systems step response with the step(sys,tfinal) function (Tfinal. s) for i. Ω ii. Ω (h) Is the system controllable and/or stabilizable? C [ B AB [ det(c) 2 4

The system is fully controllable and therefore also stabilizable. 2. Now we want to introduce a state feedback with gain K to stabilize the system in the case where no load is connected ( inf). (a) Where do the two poles have to be shifted to obtain the following characteristics for the closed-loop system?: τ ms, f Hz Re(λ /2 ) τ Im(λ /2 ) ± 2f π ± 628.385 (b) Use the MATAB function place(a,b,p) to calculate the corresponding feedback vector K and implement the system matri A cl as well as the closed-loop model sys_stable for the stabilized system. A cl A BK (B cl B, C cl C) (c) Simulate sys_stable with the step() command and verify frequency and damping is as desired. 5