Table of Contents 1.0 OBJECTIVE APPARATUS PROCEDURE LAB PREP WORK POLE-PLACEMENT DESIGN

Size: px
Start display at page:

Download "Table of Contents 1.0 OBJECTIVE APPARATUS PROCEDURE LAB PREP WORK POLE-PLACEMENT DESIGN"

Transcription

1 LAB 4 ENGI 38: ADVANCED CONTROLS Lab Partners: (Alphabetically) Figliomeni, Dan Malyshev, Andrey McGrath, Adam TO: WARREN PAJU ELECTRICAL ENGINEERING DEPT. LAKEHEAD UNIVERSITY ATAC56 INVERTED PENDULUM

2 Table of Contents. OBJECTIVE APPARATUS PROCEDURE LAB PREP WORK POLE-PLACEMENT DESIGN LQR COMPENSATOR DIGITAL LQR COMPENSATOR THEORY OBSERVATIONS POLE-PLACEMENT LINEAR QUADRATIC REGULATOR DIGITAL CONTROLLER CONCLUSION... 2 APPENDIX A MATLAB file for pole placement and LQR... 3 APPENDIX B MATLAB file for digital LQR compensator design

3 3. OBJECTIVE The purpose of this lab is to design compensators with error tracking integrator using state space methods to stabilize an inverted pendulum on a moving car 2. APPARATUS Inverted Pendulum set up 3. PROCEDURE The procedure is described in the Engineering 38 Advanced Controls II lab manual. 4. LAB PREP WORK The state space derivation of the inverted pendulum model is provided in the manual as follows: x y u x x = + = (.) The output regulation with the integrator action modifies these matrices in order to have the position of the pendulum converge to a set parameter. The state-space representation becomes x y u x x = + = (.2) This system can be used to design for 5 gain values. The fifth gain will represent the integrator gain K I =K 5.

4 4. POLE-PLACEMENT DESIGN Realistically, a settling time of 5.25 seconds and an overshoot of.95 percent is a good performance to design for. These parameters yield p =.76±.63,2 j These poles would represent the position and velocity of the cart. A set of faster poles can be chosen for the angle and angular velocity of the pendulum because we want them to converge faster than the cart position. In fact, the angular velocity should converge the fastest otherwise the system is unstable. Therefore, the angular velocity pole is placed far to the left. The integrator must converge fast, but if it converges too fast, the angular velocity will become an issue and the system will become unstable. Therefore, a compromise is necessary for the integrator pole that is fast converging and reasonable. In the end the following set of poles results j j.626 p = In light of the compromises made to achieve reasonable performance, the system became much slower. The simulated settling time exceeds 4 seconds and the pendulum experiences severe oscillations before achieving stability. The gains of the system are K K K K K K = [ ] [ ] = I 4.2 LQR COMPENSATOR The LQR controller offers a better solution to the inverted pendulum problem. For the design a few Q and R values were simulated. Reasonable performance was achieved for most of them but the better compromise for pole locations and gain values have been achieved with the following: Q =, R=.5 The obtained K vector was K = K I [ 5.92] =

5 4.3 DIGITAL LQR COMPENSATOR A digital controller can be designed using the original state space representation defined by (.). The controller is simulated using the linear digital state space block in simulink. Good performance was achieved with the following set of parameters. 5 Q =, R=.5 5 The obtained K gain vector was K = [ ] 5. THEORY The lab set up is depicted in figure. Figure : Stabilized inverted pendulum on a moving cart 5

6 The mathematical model of the system can be derived using the Newton balance of forces method acting on the inverted pendulum. Figure 2: Forces acting on the inverted pendulum The following set of non-linear equations describes the inverted pendulum system..... ( M + m) x+ mlθ cos( θ) mlθ sin( θ) ( I + ml ) θ mgl sin( θ) = mlx cos( θ). = F (2.) Where the force F acting on the cart can be described in terms of the input voltage to the motor as 2 2 K. gkm KgKm F = u x (2.2) 2 rr r R A A Substituting (2.2) into (2.) and rearranging for...ẋ θ and we obtain 2 2 K.... gkm KgKm u x mlθ cos( θ) + mlθ sin( θ).. 2 rra r RA x= M + m.. mgl sin θ = ( ) ( θ) mlx cos( θ).. 2 ( I + ml ) (2.3) This set of equations may be used to build the non-linear model of the system in MATLAB as shown in figure 3. This model is created into a subsystem and substituted into the control law model as shown in figure 4 to perform controller design simulations. 6

7 Figure 3: Non-linear model of the inverted pendulum Figure 4: Non-linear simulation of the inverted pendulum The saturation block in figure 4 limits the input voltage to ± 2V 7

8 6. OBSERVATIONS 6. POLE-PLACEMENT The simulated performance of the system is displayed in figures 5, 6 and 7. The simulation is performed according to the following criteria - Alpha disturbance of pi/2 occurs at t=sec and dissipates at t=.3sec - Position reference changes at t=sec Figure 5: Pole-Placement compensator angle simulation result Figure 6: Pole-Placement compensator position simulation result 8

9 Figure 7: Pole-Placement control effort simulation The pole-placement simulation indicates that the system is stable and all state variables gradually converge to zero. The actual system behaved similar to simulation. 6.2 LINEAR QUADRATIC REGULATOR The simulated performance of the system is displayed in figures 8, 9 and. The simulation is performed according to the following criteria - Alpha disturbance of pi/2 occurs at t=sec and dissipates at t=.3sec - Position reference changes at t=sec - Q =, R=. 5 9

10 Figure 8: LQR compensator angle simulation result Figure 9: LQR compensator position simulation result

11 Figure : LQR control effort simulation As seen in figures 8, 9, and all simulated state variables converge to zero well using the LQR compensator. Testing of the actual system confirmed simulation results. 6.3 DIGITAL CONTROLLER The digital controller was tested using a linear digital state-space representation of the inverted pendulum as shown in figure. Figure : Digital LQR compensator simulation The system simulated well and the position converges from initial conditions as shown in figure 2. The initial condition specified for the simulation was the angle of the pendulum with respect to the vertical axis of pi/2. The system converges in less than 2 seconds as seen in figure 2.

12 Figure 2: Position converging from initial conditions using LQR The digital LQR controller performed well on the actual system as expected. 7. CONCLUSION MATLAB is a powerful tool for designing control systems. In this experiment a pole placement, LQR and digital LQR compensators were implemented for the inverted pendulum. All controllers behaved as expected and the pendulum stabilized in the vertical position as expected. The true difficulty was in building the non-linear simulation model in MATLAB. This was a tough task due to complexity of differential equations. The pole-placement control was also difficult since only two poles can be designed for while the other three had to be guesstimated (sync). This was difficult because poleplacement utilizes a linear control to control a highly nonlinear system the inverted pendulum. Nonetheless, the experimental results were satisfactory. 2

13 APPENDIX A MATLAB file for pole placement and LQR clc; %clear everything %*****************************************************% % System Parameters % %*****************************************************% M=.455; %Kg m=.2; %Kg l=.35; %m r=.645; %m Kg=3.7; Km=.767; RA=2.6; %ohms g=9.8; %m/s^2 I=.65; %Kgm^2 A= [ ; ; ; ]; B= [; -8.24; ; 3.335]; Cbar= [ ; ]; %for isolating angle and position state variable readings C= [ ]; %used for controller design to control the cart position Anew=horzcat(vertcat(A,-C), zeros(5,)) %forming new A matrix for integrator feedback Bnew=vertcat(B, zeros(,)) %forming new B matrix for the same reasons %Obtaining user inputs for overshoot and settling time OS= input('enter overshoot in percentage form. For.9% enter.9\n') Ts= input('enter Settling time\n') temp= log(os)/(-pi); si= sqrt(temp/(+temp)); wn= 4/(Ts*si); % % adding 2 poles to second order char equn n= input('how far away (remember the -ve sign) e.g. -4\n'); pole= n*si*wn; fprintf('how far away do you want to push the integrator pole from the last two? ex. +2') e= input('enter +ve integer multiplier'); % now calculating the roots of the characteristic equation vector s^2+2*si*wn+wn^2 mainpoles=roots([ 2*si*wn wn^2]) %first two poles fastpoles=ones(2,)*pole %second two poles X=vertcat(fastpoles, mainpoles); %the combined result of four poles Y=[pole*e; X] %final set of 5 poles K_star= acker(anew, Bnew,Y) Kpole=[K_star(:,) K_star(:,2) K_star(:,3) K_star(:,4) ] %pole placement K vector Kipole=[K_star(:,5)] %pole placement Ki fprintf('these are the pole-placement gains!!! Change names in the model \n') Q= eye(5)*input('enter the Q multiplier') %defining Q matrix R= input('enter R for LQR\n') [Klqr,S,E]=lqr(Anew,Bnew,Q,R) K=[Klqr(:,) Klqr(:,2) Klqr(:,3) Klqr(:,4) ] %LQR K vector Ki=[Klqr(:,5)] %LQR Ki 3

14 APPENDIX B MATLAB file for digital LQR compensator design %38lab4 matlab m file for calculating digital LQR controller gains clc; %clear everything %*****************************************************% % System Parameters % %*****************************************************% % constants for the experiment M=.455; %Kg m=.2; %Kg l=.35; %m r=.645; %m Kg=3.7; Km=.767; RA=2.6; %ohms g=9.8; %m/s^2 I=.65; %Kgm^2 %*****************************************************% A= [ ; ; ; ]; B= [; -8.24; ; 3.335]; C= [ ]; D=zeros(,); %Obtaining the digital representation using zero-order hold method Ts= input('enter the sampling time Ts in seconds \n') [F,G,H,J] = c2dm (A,B,C,D,Ts,'zoh') %conversion from continuous to digital system fprintf('rank of controllability matrix is ') rank([g F*G]) Q=eye(4); %forming the q matrix Q(,)= input('enter the pendulum angle energy: '); Q(3,3)= input('enter the cart position energy: '); R= input('enter R\n') %R defined by the user [Kd, S, E]=lqrd(A,B,Q,R,Ts) %digital compensator design 4

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

ECE-320: Linear Control Systems Homework 8. 1) For one of the rectilinear systems in lab, I found the following state variable representations: ECE-30: Linear Control Systems Homework 8 Due: Thursday May 6, 00 at the beginning of class ) For one of the rectilinear systems in lab, I found the following state variable representations: 0 0 q q+ 74.805.6469

More information

Lab 6a: Pole Placement for the Inverted Pendulum

Lab 6a: Pole Placement for the Inverted Pendulum Lab 6a: Pole Placement for the Inverted Pendulum Idiot. Above her head was the only stable place in the cosmos, the only refuge from the damnation of the Panta Rei, and she guessed it was the Pendulum

More information

Digital Pendulum Control Experiments

Digital Pendulum Control Experiments EE-341L CONTROL SYSTEMS LAB 2013 Digital Pendulum Control Experiments Ahmed Zia Sheikh 2010030 M. Salman Khalid 2010235 Suleman Belal Kazi 2010341 TABLE OF CONTENTS ABSTRACT...2 PENDULUM OVERVIEW...3 EXERCISE

More information

PID Control. Objectives

PID Control. Objectives PID Control Objectives The objective of this lab is to study basic design issues for proportional-integral-derivative control laws. Emphasis is placed on transient responses and steady-state errors. The

More information

YTÜ Mechanical Engineering Department

YTÜ Mechanical Engineering Department YTÜ Mechanical Engineering Department Lecture of Special Laboratory of Machine Theory, System Dynamics and Control Division Coupled Tank 1 Level Control with using Feedforward PI Controller Lab Report

More information

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT http:// FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT 1 Ms.Mukesh Beniwal, 2 Mr. Davender Kumar 1 M.Tech Student, 2 Asst.Prof, Department of Electronics and Communication

More information

Controlling the Inverted Pendulum

Controlling the Inverted Pendulum Controlling the Inverted Pendulum Steven A. P. Quintero Department of Electrical and Computer Engineering University of California, Santa Barbara Email: squintero@umail.ucsb.edu Abstract The strategies

More information

Inverted Pendulum: State-Space Methods for Controller Design

Inverted Pendulum: State-Space Methods for Controller Design 1 de 12 18/10/2015 22:45 Tips Effects TIPS ABOUT BASICS HARDWARE INDEX NEXT INTRODUCTION CRUISE CONTROL MOTOR SPEED MOTOR POSITION SYSTEM MODELING ANALYSIS Inverted Pendulum: State-Space Methods for Controller

More information

Lab 6d: Self-Erecting Inverted Pendulum (SEIP)

Lab 6d: Self-Erecting Inverted Pendulum (SEIP) Lab 6d: Self-Erecting Inverted Pendulum (SEIP) Arthur Schopen- Life swings like a pendulum backward and forward between pain and boredom. hauer 1 Objectives The goal of this project is to design a controller

More information

Topic # Feedback Control Systems

Topic # Feedback Control Systems Topic #19 16.31 Feedback Control Systems Stengel Chapter 6 Question: how well do the large gain and phase margins discussed for LQR map over to DOFB using LQR and LQE (called LQG)? Fall 2010 16.30/31 19

More information

Lab 5a: Pole Placement for the Inverted Pendulum

Lab 5a: Pole Placement for the Inverted Pendulum Lab 5a: Pole Placement for the Inverted Pendulum November 1, 2011 1 Purpose The objective of this lab is to achieve simultaneous control of both the angular position of the pendulum and horizontal position

More information

Project Lab Report. Michael Hall. Hao Zhu. Neil Nevgi. Station 6. Ta: Yan Cui

Project Lab Report. Michael Hall. Hao Zhu. Neil Nevgi. Station 6. Ta: Yan Cui Project Lab Report Michael Hall Hao Zhu Neil Nevgi Station 6 Ta: Yan Cui Nov. 12 th 2012 Table of Contents: Executive Summary 3 Modeling Report.4-7 System Identification 7-11 Control Design..11-15 Simulation

More information

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response Page 1 of 5 Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response Physical Setup A common actuator in control systems is the

More information

Rotary Inverted Pendulum

Rotary Inverted Pendulum Rotary Inverted Pendulum Eric Liu 1 Aug 2013 1 1 State Space Derivations 1.1 Electromechanical Derivation Consider the given diagram. We note that the voltage across the motor can be described by: e b

More information

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory Bangladesh University of Engineering and Technology Electrical and Electronic Engineering Department EEE 402: Control System I Laboratory Experiment No. 4 a) Effect of input waveform, loop gain, and system

More information

State space control for the Two degrees of freedom Helicopter

State space control for the Two degrees of freedom Helicopter State space control for the Two degrees of freedom Helicopter AAE364L In this Lab we will use state space methods to design a controller to fly the two degrees of freedom helicopter. 1 The state space

More information

Lab 3: Quanser Hardware and Proportional Control

Lab 3: Quanser Hardware and Proportional Control Lab 3: Quanser Hardware and Proportional Control The worst wheel of the cart makes the most noise. Benjamin Franklin 1 Objectives The goal of this lab is to: 1. familiarize you with Quanser s QuaRC tools

More information

Double Inverted Pendulum (DBIP)

Double Inverted Pendulum (DBIP) Linear Motion Servo Plant: IP01_2 Linear Experiment #15: LQR Control Double Inverted Pendulum (DBIP) All of Quanser s systems have an inherent open architecture design. It should be noted that the following

More information

Lab 3: Model based Position Control of a Cart

Lab 3: Model based Position Control of a Cart I. Objective Lab 3: Model based Position Control of a Cart The goal of this lab is to help understand the methodology to design a controller using the given plant dynamics. Specifically, we would do position

More information

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42 Contents Preface.............................................. xiii 1. Introduction......................................... 1 1.1 Continuous and Discrete Control Systems................. 4 1.2 Open-Loop

More information

System simulation using Matlab, state plane plots

System simulation using Matlab, state plane plots System simulation using Matlab, state plane plots his lab is mainly concerned with making state plane (also referred to as phase plane ) plots for various linear and nonlinear systems with two states he

More information

The Control of an Inverted Pendulum

The Control of an Inverted Pendulum The Control of an Inverted Pendulum AAE 364L This experiment is devoted to the inverted pendulum. Clearly, the inverted pendulum will fall without any control. We will design a controller to balance the

More information

Application Note #3413

Application Note #3413 Application Note #3413 Manual Tuning Methods Tuning the controller seems to be a difficult task to some users; however, after getting familiar with the theories and tricks behind it, one might find the

More information

Computer Aided Control Design

Computer Aided Control Design Computer Aided Control Design Project-Lab 3 Automatic Control Basic Course, EL1000/EL1100/EL1120 Revised August 18, 2008 Modified version of laboration developed by Håkan Fortell and Svante Gunnarsson

More information

The Control of an Inverted Pendulum

The Control of an Inverted Pendulum The Control of an Inverted Pendulum AAE 364L This experiment is devoted to the inverted pendulum. Clearly, the inverted pendulum will fall without any control. We will design a controller to balance the

More information

SRV02-Series Rotary Experiment # 7. Rotary Inverted Pendulum. Student Handout

SRV02-Series Rotary Experiment # 7. Rotary Inverted Pendulum. Student Handout SRV02-Series Rotary Experiment # 7 Rotary Inverted Pendulum Student Handout SRV02-Series Rotary Experiment # 7 Rotary Inverted Pendulum Student Handout 1. Objectives The objective in this experiment is

More information

YTÜ Mechanical Engineering Department

YTÜ Mechanical Engineering Department YTÜ Mechanical Engineering Department Lecture of Special Laboratory of Machine Theory, System Dynamics and Control Division Coupled Tank 1 Level Control with using Feedforward PI Controller Lab Date: Lab

More information

Application of Neural Networks for Control of Inverted Pendulum

Application of Neural Networks for Control of Inverted Pendulum Application of Neural Networks for Control of Inverted Pendulum VALERI MLADENOV Department of Theoretical Electrical Engineering Technical University of Sofia Sofia, Kliment Ohridski blvd. 8; BULARIA valerim@tu-sofia.bg

More information

Real-Time Implementation of a LQR-Based Controller for the Stabilization of a Double Inverted Pendulum

Real-Time Implementation of a LQR-Based Controller for the Stabilization of a Double Inverted Pendulum Proceedings of the International MultiConference of Engineers and Computer Scientists 017 Vol I,, March 15-17, 017, Hong Kong Real-Time Implementation of a LQR-Based Controller for the Stabilization of

More information

Matlab-Based Tools for Analysis and Control of Inverted Pendula Systems

Matlab-Based Tools for Analysis and Control of Inverted Pendula Systems Matlab-Based Tools for Analysis and Control of Inverted Pendula Systems Slávka Jadlovská, Ján Sarnovský Dept. of Cybernetics and Artificial Intelligence, FEI TU of Košice, Slovak Republic sjadlovska@gmail.com,

More information

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

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout SRV02-Series Rotary Experiment # 1 Position Control Student Handout SRV02-Series Rotary Experiment # 1 Position Control Student Handout 1. Objectives The objective in this experiment is to introduce the

More information

Feedback Control part 2

Feedback Control part 2 Overview Feedback Control part EGR 36 April 19, 017 Concepts from EGR 0 Open- and closed-loop control Everything before chapter 7 are open-loop systems Transient response Design criteria Translate criteria

More information

State Feedback MAE 433 Spring 2012 Lab 7

State Feedback MAE 433 Spring 2012 Lab 7 State Feedback MAE 433 Spring 1 Lab 7 Prof. C. Rowley and M. Littman AIs: Brandt Belson, onathan Tu Princeton University April 4-7, 1 1 Overview This lab addresses the control of an inverted pendulum balanced

More information

Introduction to Feedback Control

Introduction to Feedback Control Introduction to Feedback Control Control System Design Why Control? Open-Loop vs Closed-Loop (Feedback) Why Use Feedback Control? Closed-Loop Control System Structure Elements of a Feedback Control System

More information

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

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint Laboratory 11 State Feedback Controller for Position Control of a Flexible Joint 11.1 Objective The objective of this laboratory is to design a full state feedback controller for endpoint position control

More information

Linear State Feedback Controller Design

Linear State Feedback Controller Design Assignment For EE5101 - Linear Systems Sem I AY2010/2011 Linear State Feedback Controller Design Phang Swee King A0033585A Email: king@nus.edu.sg NGS/ECE Dept. Faculty of Engineering National University

More information

Inverted Pendulum. Objectives

Inverted Pendulum. Objectives Inverted Pendulum Objectives The objective of this lab is to experiment with the stabilization of an unstable system. The inverted pendulum problem is taken as an example and the animation program gives

More information

Example: DC Motor Speed Modeling

Example: DC Motor Speed Modeling Page 1 of 5 Example: DC Motor Speed Modeling Physical setup and system equations Design requirements MATLAB representation and open-loop response Physical setup and system equations A common actuator in

More information

DC Motor Position: System Modeling

DC Motor Position: System Modeling 1 of 7 01/03/2014 22:07 Tips Effects TIPS ABOUT BASICS INDEX NEXT INTRODUCTION CRUISE CONTROL MOTOR SPEED MOTOR POSITION SUSPENSION INVERTED PENDULUM SYSTEM MODELING ANALYSIS DC Motor Position: System

More information

FUZZY SWING-UP AND STABILIZATION OF REAL INVERTED PENDULUM USING SINGLE RULEBASE

FUZZY SWING-UP AND STABILIZATION OF REAL INVERTED PENDULUM USING SINGLE RULEBASE 005-010 JATIT All rights reserved wwwjatitorg FUZZY SWING-UP AND STABILIZATION OF REAL INVERTED PENDULUM USING SINGLE RULEBASE SINGH VIVEKKUMAR RADHAMOHAN, MONA SUBRAMANIAM A, DR MJNIGAM Indian Institute

More information

Comparison of LQR and PD controller for stabilizing Double Inverted Pendulum System

Comparison of LQR and PD controller for stabilizing Double Inverted Pendulum System International Journal of Engineering Research and Development ISSN: 78-67X, Volume 1, Issue 1 (July 1), PP. 69-74 www.ijerd.com Comparison of LQR and PD controller for stabilizing Double Inverted Pendulum

More information

Lab 4 Numerical simulation of a crane

Lab 4 Numerical simulation of a crane Lab 4 Numerical simulation of a crane Agenda Time 10 min Item Review agenda Introduce the crane problem 95 min Lab activity I ll try to give you a 5- minute warning before the end of the lab period to

More information

State Feedback Controller for Position Control of a Flexible Link

State Feedback Controller for Position Control of a Flexible Link Laboratory 12 Control Systems Laboratory ECE3557 Laboratory 12 State Feedback Controller for Position Control of a Flexible Link 12.1 Objective The objective of this laboratory is to design a full state

More information

University of Petroleum & Energy Studies, Dehradun Uttrakhand, India

University of Petroleum & Energy Studies, Dehradun Uttrakhand, India International Journal of Scientific & Engineering Research Volume 9, Issue 1, January-2018 891 Control of Inverted Pendulum System Using LabVIEW Devendra Rawat a, Deepak Kumar a*, Deepali Yadav a a Department

More information

Course Outline. Higher Order Poles: Example. Higher Order Poles. Amme 3500 : System Dynamics & Control. State Space Design. 1 G(s) = s(s + 2)(s +10)

Course Outline. Higher Order Poles: Example. Higher Order Poles. Amme 3500 : System Dynamics & Control. State Space Design. 1 G(s) = s(s + 2)(s +10) Amme 35 : System Dynamics Control State Space Design Course Outline Week Date Content Assignment Notes 1 1 Mar Introduction 2 8 Mar Frequency Domain Modelling 3 15 Mar Transient Performance and the s-plane

More information

Linear Experiment #11: LQR Control. Linear Flexible Joint Cart Plus Single Inverted Pendulum (LFJC+SIP) Student Handout

Linear Experiment #11: LQR Control. Linear Flexible Joint Cart Plus Single Inverted Pendulum (LFJC+SIP) Student Handout Linear Motion Servo Plants: IP01 or IP02 Linear Experiment #11: LQR Control Linear Flexible Joint Cart Plus Single Inverted Pendulum (LFJC+SIP) Student Handout Table of Contents 1. Objectives...1 2. Prerequisites...2

More information

Closed-loop system 2/1/2016. Generally MIMO case. Two-degrees-of-freedom (2 DOF) control structure. (2 DOF structure) The closed loop equations become

Closed-loop system 2/1/2016. Generally MIMO case. Two-degrees-of-freedom (2 DOF) control structure. (2 DOF structure) The closed loop equations become Closed-loop system enerally MIMO case Two-degrees-of-freedom (2 DOF) control structure (2 DOF structure) 2 The closed loop equations become solving for z gives where is the closed loop transfer function

More information

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

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators. Name: SID: EECS C28/ ME C34 Final Wed. Dec. 5, 2 8- am Closed book. Two pages of formula sheets. No calculators. There are 8 problems worth points total. Problem Points Score 2 2 6 3 4 4 5 6 6 7 8 2 Total

More information

DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design

DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design Group Members: John Kua Trinell Ball Linda Rivera Introduction Where are we? Bulk of Design and Build Complete Testing

More information

Department of Electrical and Computer Engineering. EE461: Digital Control - Lab Manual

Department of Electrical and Computer Engineering. EE461: Digital Control - Lab Manual Department of Electrical and Computer Engineering EE461: Digital Control - Lab Manual Winter 2011 EE 461 Experiment #1 Digital Control of DC Servomotor 1 Objectives The objective of this lab is to introduce

More information

FALL UNIVERSITY OF NEVADA, LAS VEGAS DEPARTMENT OF MECHANICAL ENGINEERING MEG 421 Automatic Controls Design Project

FALL UNIVERSITY OF NEVADA, LAS VEGAS DEPARTMENT OF MECHANICAL ENGINEERING MEG 421 Automatic Controls Design Project FALL 2011 - UNIVERSITY OF NEVADA, LAS VEGAS DEPARTMENT OF MECHANICAL ENGINEERING MEG 421 Automatic Controls Design Project Objective: The design project will give everyone in the class an opportunity to

More information

The control of a gantry

The control of a gantry The control of a gantry AAE 364L In this experiment we will design a controller for a gantry or crane. Without a controller the pendulum of crane will swing for a long time. The idea is to use control

More information

Modelling, identification and simulation of the inverted pendulum PS600

Modelling, identification and simulation of the inverted pendulum PS600 Acta Montanistica Slovaca Ročník 15(010), číslo 1, 14-18 Modelling, identification and simulation of the inverted pendulum PS600 Jiří Marholt and František azdoš 1 This paper deals with modelling, identification

More information

University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum

University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum p1 ECE 3510 Lab 9, Inverted Pendulum M. Bodson, A. Stolp, 4/2/13 rev, 4/9/13 Objectives The objective of

More information

5HC99 Embedded Vision Control. Feedback Control Systems. dr. Dip Goswami Flux Department of Electrical Engineering

5HC99 Embedded Vision Control. Feedback Control Systems. dr. Dip Goswami Flux Department of Electrical Engineering 5HC99 Embedded Vision Control Feedback Control Systems dr. Dip Goswami d.goswami@tue.nl Flux 04.135 Department of Electrical Engineering 1 Example Feedback control system: regulates the behavior of dynamical

More information

Neural Network Control of an Inverted Pendulum on a Cart

Neural Network Control of an Inverted Pendulum on a Cart Neural Network Control of an Inverted Pendulum on a Cart VALERI MLADENOV, GEORGI TSENOV, LAMBROS EKONOMOU, NICHOLAS HARKIOLAKIS, PANAGIOTIS KARAMPELAS Department of Theoretical Electrical Engineering Technical

More information

School of Mechanical Engineering Purdue University. ME375 Feedback Control - 1

School of Mechanical Engineering Purdue University. ME375 Feedback Control - 1 Introduction to Feedback Control Control System Design Why Control? Open-Loop vs Closed-Loop (Feedback) Why Use Feedback Control? Closed-Loop Control System Structure Elements of a Feedback Control System

More information

The basic principle to be used in mechanical systems to derive a mathematical model is Newton s law,

The basic principle to be used in mechanical systems to derive a mathematical model is Newton s law, Chapter. DYNAMIC MODELING Understanding the nature of the process to be controlled is a central issue for a control engineer. Thus the engineer must construct a model of the process with whatever information

More information

D(s) G(s) A control system design definition

D(s) G(s) A control system design definition R E Compensation D(s) U Plant G(s) Y Figure 7. A control system design definition x x x 2 x 2 U 2 s s 7 2 Y Figure 7.2 A block diagram representing Eq. (7.) in control form z U 2 s z Y 4 z 2 s z 2 3 Figure

More information

Fuzzy modeling and control of rotary inverted pendulum system using LQR technique

Fuzzy modeling and control of rotary inverted pendulum system using LQR technique IOP Conference Series: Materials Science and Engineering OPEN ACCESS Fuzzy modeling and control of rotary inverted pendulum system using LQR technique To cite this article: M A Fairus et al 13 IOP Conf.

More information

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Torsion Disks. (ECP Systems-Model: 205)

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Torsion Disks. (ECP Systems-Model: 205) EE 4443/539 LAB 3: Control of Industrial Systems Simulation and Hardware Control (PID Design) The Torsion Disks (ECP Systems-Model: 05) Compiled by: Nitin Swamy Email: nswamy@lakeshore.uta.edu Email: okuljaca@lakeshore.uta.edu

More information

Control. CSC752: Autonomous Robotic Systems. Ubbo Visser. March 9, Department of Computer Science University of Miami

Control. CSC752: Autonomous Robotic Systems. Ubbo Visser. March 9, Department of Computer Science University of Miami Control CSC752: Autonomous Robotic Systems Ubbo Visser Department of Computer Science University of Miami March 9, 2017 Outline 1 Control system 2 Controller Images from http://en.wikipedia.org/wiki/feed-forward

More information

The output voltage is given by,

The output voltage is given by, 71 The output voltage is given by, = (3.1) The inductor and capacitor values of the Boost converter are derived by having the same assumption as that of the Buck converter. Now the critical value of the

More information

Solution to HW State-feedback control of the motor with load (from text problem 1.3) (t) I a (t) V a (t) J L.

Solution to HW State-feedback control of the motor with load (from text problem 1.3) (t) I a (t) V a (t) J L. EE/ME 7: Advanced Linear Systems Solution Solution to HW Name On each item, grading is, or (full points, /2 points, points) EE/ME 7: Advanced Linear Systems Solution State-feedback control of the motor

More information

= 0 otherwise. Eu(n) = 0 and Eu(n)u(m) = δ n m

= 0 otherwise. Eu(n) = 0 and Eu(n)u(m) = δ n m A-AE 567 Final Homework Spring 212 You will need Matlab and Simulink. You work must be neat and easy to read. Clearly, identify your answers in a box. You will loose points for poorly written work. You

More information

x(n + 1) = Ax(n) and y(n) = Cx(n) + 2v(n) and C = x(0) = ξ 1 ξ 2 Ex(0)x(0) = I

x(n + 1) = Ax(n) and y(n) = Cx(n) + 2v(n) and C = x(0) = ξ 1 ξ 2 Ex(0)x(0) = I A-AE 567 Final Homework Spring 213 You will need Matlab and Simulink. You work must be neat and easy to read. Clearly, identify your answers in a box. You will loose points for poorly written work. You

More information

MODELLING AND SIMULATION OF AN INVERTED PENDULUM SYSTEM: COMPARISON BETWEEN EXPERIMENT AND CAD PHYSICAL MODEL

MODELLING AND SIMULATION OF AN INVERTED PENDULUM SYSTEM: COMPARISON BETWEEN EXPERIMENT AND CAD PHYSICAL MODEL MODELLING AND SIMULATION OF AN INVERTED PENDULUM SYSTEM: COMPARISON BETWEEN EXPERIMENT AND CAD PHYSICAL MODEL J. S. Sham, M. I. Solihin, F. Heltha and Muzaiyanah H. Faculty of Engineering, Technology &

More information

Multivariable Control Laboratory experiment 2 The Quadruple Tank 1

Multivariable Control Laboratory experiment 2 The Quadruple Tank 1 Multivariable Control Laboratory experiment 2 The Quadruple Tank 1 Department of Automatic Control Lund Institute of Technology 1. Introduction The aim of this laboratory exercise is to study some different

More information

ECEn 483 / ME 431 Case Studies. Randal W. Beard Brigham Young University

ECEn 483 / ME 431 Case Studies. Randal W. Beard Brigham Young University ECEn 483 / ME 431 Case Studies Randal W. Beard Brigham Young University Updated: December 2, 2014 ii Contents 1 Single Link Robot Arm 1 2 Pendulum on a Cart 9 3 Satellite Attitude Control 17 4 UUV Roll

More information

Rotary Motion Servo Plant: SRV02. Rotary Experiment #11: 1-DOF Torsion. 1-DOF Torsion Position Control using QuaRC. Student Manual

Rotary Motion Servo Plant: SRV02. Rotary Experiment #11: 1-DOF Torsion. 1-DOF Torsion Position Control using QuaRC. Student Manual Rotary Motion Servo Plant: SRV02 Rotary Experiment #11: 1-DOF Torsion 1-DOF Torsion Position Control using QuaRC Student Manual Table of Contents 1. INTRODUCTION...1 2. PREREQUISITES...1 3. OVERVIEW OF

More information

Experiment # 5 5. Coupled Water Tanks

Experiment # 5 5. Coupled Water Tanks Experiment # 5 5. Coupled Water Tanks 5.. Objectives The Coupled-Tank plant is a Two-Tank module consisting of a pump with a water basin and two tanks. The two tanks are mounted on the front plate such

More information

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

EE 16B Midterm 2, March 21, Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor: EE 16B Midterm 2, March 21, 2017 Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor: Important Instructions: Show your work. An answer without explanation

More information

Factors Limiting Controlling of an Inverted Pendulum

Factors Limiting Controlling of an Inverted Pendulum Acta Polytechnica Hungarica Vol. 8, No. 4, 11 Factors Limiting Controlling of an nverted Pendulum Tobiáš Lazar, Peter Pástor Department of Avionics Faculty of Aeronautics Technical University of Košice

More information

Mechatronics Engineering. Li Wen

Mechatronics Engineering. Li Wen Mechatronics Engineering Li Wen Bio-inspired robot-dc motor drive Unstable system Mirko Kovac,EPFL Modeling and simulation of the control system Problems 1. Why we establish mathematical model of the control

More information

Automatic Control II Computer exercise 3. LQG Design

Automatic Control II Computer exercise 3. LQG Design Uppsala University Information Technology Systems and Control HN,FS,KN 2000-10 Last revised by HR August 16, 2017 Automatic Control II Computer exercise 3 LQG Design Preparations: Read Chapters 5 and 9

More information

System Modeling: Motor position, θ The physical parameters for the dc motor are:

System Modeling: Motor position, θ The physical parameters for the dc motor are: Dept. of EEE, KUET, Sessional on EE 3202: Expt. # 2 2k15 Batch Experiment No. 02 Name of the experiment: Modeling of Physical systems and study of their closed loop response Objective: (i) (ii) (iii) (iv)

More information

Table of Laplacetransform

Table of Laplacetransform Appendix Table of Laplacetransform pairs 1(t) f(s) oct), unit impulse at t = 0 a, a constant or step of magnitude a at t = 0 a s t, a ramp function e- at, an exponential function s + a sin wt, a sine fun

More information

Laboratory Exercise 1 DC servo

Laboratory Exercise 1 DC servo Laboratory Exercise DC servo Per-Olof Källén ø 0,8 POWER SAT. OVL.RESET POS.RESET Moment Reference ø 0,5 ø 0,5 ø 0,5 ø 0,65 ø 0,65 Int ø 0,8 ø 0,8 Σ k Js + d ø 0,8 s ø 0 8 Off Off ø 0,8 Ext. Int. + x0,

More information

DO NOT DO HOMEWORK UNTIL IT IS ASSIGNED. THE ASSIGNMENTS MAY CHANGE UNTIL ANNOUNCED.

DO NOT DO HOMEWORK UNTIL IT IS ASSIGNED. THE ASSIGNMENTS MAY CHANGE UNTIL ANNOUNCED. EE 537 Homewors Friedland Text Updated: Wednesday November 8 Some homewor assignments refer to Friedland s text For full credit show all wor. Some problems require hand calculations. In those cases do

More information

Design of Fuzzy PD-Controlled Overhead Crane System with Anti-Swing Compensation

Design of Fuzzy PD-Controlled Overhead Crane System with Anti-Swing Compensation Engineering, 2011, 3, 755-762 doi:10.4236/eng.2011.37091 Published Online July 2011 (http://www.scirp.org/journal/eng) Design of Fuzzy PD-Controlled Overhead Crane System with Anti-Swing Compensation Abstract

More information

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation Dr. Kevin Craig Greenheck Chair in Engineering Design & Professor of Mechanical Engineering Marquette University K.

More information

Feedback Basics. David M. Auslander Mechanical Engineering University of California at Berkeley. copyright 1998, D.M. Auslander

Feedback Basics. David M. Auslander Mechanical Engineering University of California at Berkeley. copyright 1998, D.M. Auslander Feedback Basics David M. Auslander Mechanical Engineering University of California at Berkeley copyright 1998, D.M. Auslander 1 I. Feedback Control Context 2 What is Feedback Control? Measure desired behavior

More information

UNIVERSITY OF WASHINGTON Department of Aeronautics and Astronautics

UNIVERSITY OF WASHINGTON Department of Aeronautics and Astronautics UNIVERSITY OF WASHINGTON Department of Aeronautics and Astronautics Modeling and Control of a Flexishaft System March 19, 2003 Christopher Lum Travis Reisner Amanda Stephens Brian Hass AA/EE-448 Controls

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 4G - Signals and Systems Laboratory Lab 9 PID Control Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 April, 04 Objectives: Identify the

More information

MEM04: Rotary Inverted Pendulum

MEM04: Rotary Inverted Pendulum MEM4: Rotary Inverted Pendulum Interdisciplinary Automatic Controls Laboratory - ME/ECE/CHE 389 April 8, 7 Contents Overview. Configure ELVIS and DC Motor................................ Goals..............................................3

More information

EE C128 / ME C134 Fall 2014 HW 6.2 Solutions. HW 6.2 Solutions

EE C128 / ME C134 Fall 2014 HW 6.2 Solutions. HW 6.2 Solutions EE C28 / ME C34 Fall 24 HW 6.2 Solutions. PI Controller For the system G = K (s+)(s+3)(s+8) HW 6.2 Solutions in negative feedback operating at a damping ratio of., we are going to design a PI controller

More information

Linear Control Systems

Linear Control Systems Linear Control Systems Project session 3: Design in state-space 6 th October 2017 Kathleen Coutisse kathleen.coutisse@student.ulg.ac.be 1 Content 1. Closed loop system 2. State feedback 3. Observer 4.

More information

CHAPTER 5 : REDUCTION OF MULTIPLE SUBSYSTEMS

CHAPTER 5 : REDUCTION OF MULTIPLE SUBSYSTEMS CHAPTER 5 : REDUCTION OF MULTIPLE SUBSYSTEMS Objectives Students should be able to: Reduce a block diagram of multiple subsystems to a single block representing the transfer function from input to output

More information

Positioning Servo Design Example

Positioning Servo Design Example Positioning Servo Design Example 1 Goal. The goal in this design example is to design a control system that will be used in a pick-and-place robot to move the link of a robot between two positions. Usually

More information

THE REACTION WHEEL PENDULUM

THE REACTION WHEEL PENDULUM THE REACTION WHEEL PENDULUM By Ana Navarro Yu-Han Sun Final Report for ECE 486, Control Systems, Fall 2013 TA: Dan Soberal 16 December 2013 Thursday 3-6pm Contents 1. Introduction... 1 1.1 Sensors (Encoders)...

More information

Unit 8: Part 2: PD, PID, and Feedback Compensation

Unit 8: Part 2: PD, PID, and Feedback Compensation Ideal Derivative Compensation (PD) Lead Compensation PID Controller Design Feedback Compensation Physical Realization of Compensation Unit 8: Part 2: PD, PID, and Feedback Compensation Engineering 5821:

More information

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control DC Motor Control Trainer (DCMCT) Student Manual Table of Contents 1 Laboratory Objectives1 2 References1 3 DCMCT Plant

More information

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions Question 1. SIGNALS: Design of a noise-cancelling headphone system. 1a. Based on the low-pass filter given, design a high-pass filter,

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering 2.04A Systems and Controls Spring 2013

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering 2.04A Systems and Controls Spring 2013 MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering 2.04A Systems and Controls Spring 2013 Problem Set #4 Posted: Thursday, Mar. 7, 13 Due: Thursday, Mar. 14, 13 1. Sketch the Root

More information

QNET Experiment #04: Inverted Pendulum Control. Rotary Pendulum (ROTPEN) Inverted Pendulum Trainer. Instructor Manual

QNET Experiment #04: Inverted Pendulum Control. Rotary Pendulum (ROTPEN) Inverted Pendulum Trainer. Instructor Manual Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #04: Inverted Pendulum Control Rotary Pendulum (ROTPEN) Inverted Pendulum Trainer Instructor Manual Table of Contents 1 Laboratory Objectives1 2

More information

Lecture 9. Introduction to Kalman Filtering. Linear Quadratic Gaussian Control (LQG) G. Hovland 2004

Lecture 9. Introduction to Kalman Filtering. Linear Quadratic Gaussian Control (LQG) G. Hovland 2004 MER42 Advanced Control Lecture 9 Introduction to Kalman Filtering Linear Quadratic Gaussian Control (LQG) G. Hovland 24 Announcement No tutorials on hursday mornings 8-9am I will be present in all practical

More information

Inertia Identification and Auto-Tuning. of Induction Motor Using MRAS

Inertia Identification and Auto-Tuning. of Induction Motor Using MRAS Inertia Identification and Auto-Tuning of Induction Motor Using MRAS Yujie GUO *, Lipei HUANG *, Yang QIU *, Masaharu MURAMATSU ** * Department of Electrical Engineering, Tsinghua University, Beijing,

More information

Appendix A MoReRT Controllers Design Demo Software

Appendix A MoReRT Controllers Design Demo Software Appendix A MoReRT Controllers Design Demo Software The use of the proposed Model-Reference Robust Tuning (MoReRT) design methodology, described in Chap. 4, to tune a two-degree-of-freedom (2DoF) proportional

More information

2.004 Dynamics and Control II Spring 2008

2.004 Dynamics and Control II Spring 2008 MIT OpenCourseWare http://ocw.mit.edu 2.004 Dynamics and Control II Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. Massachusetts Institute

More information

MECH 3140 Final Project

MECH 3140 Final Project MECH 3140 Final Project Final presentation will be held December 7-8. The presentation will be the only deliverable for the final project and should be approximately 20-25 minutes with an additional 10

More information