LQ Control of a Two Wheeled Inverted Pendulum Process

Size: px
Start display at page:

Download "LQ Control of a Two Wheeled Inverted Pendulum Process"

Transcription

1 Uppsala University Information Technology Dept. of Systems and Control KN,HN,FS Last rev. September 12, 2017 by HR Reglerteknik II Instruction to the laboratory work LQ Control of a Two Wheeled Inverted Pendulum Process Preparation exercises: All exercises in Section 4. Reading instructions: Glad-Ljung Swedish version: Chapters , 8.5, English version: Chapters , 8.4, Name Assistant's comments Program Year of reg. Date Passed prep. ex. Passed lab. Sign Sign

2 Contents 1 Introduction 1 2 Short theoretical background LQ The standard LQ problem Integral action in LQ control Reference signals in LQ control Observer LQG Discretization The two wheeled inverted pendulum process System description Physical modeling Linearization Preparation exercises 9 5 Laboratory work Observer Tuning the LQG controller Integral action Appendix 17

3 1 Introduction This laboratory work is based on Computer Exercise 3. Therefore it is advisable to have Computer Exercise 3 fresh in mind before starting this laboratory work. The goal of this laboratory work is to illustrate how LQG design can be used for controller synthesis for nontrivial systems. It is emphasized that the controller design is an iterative process, and that simulations and tests on the real system are of vital importance. The system examined in this laboratory work is a two wheeled inverted pendulum (TWIP) process, which is described in Section 3. The system is multivariable, nonlinear and unstable, which makes it nontrivial to control. In Sec. 2 a brief summary of the theory employed is given. 2 Short theoretical background In this section the LQ problem, and how to incorporate integral action and reference signal inputs are discussed. Observers, especially the Kalman lter is also briey discussed. A more thorough presentation of LQG is found in Chapter 9 in Glad-Ljung. The standard model (as in Equation (9.4) in Glad-Ljung) of the system is ẋ = Ax + Bu + Nv 1, (1) z = Mx, (2) y = Cx + v 2, (3) where z is the performance signal, y is the measured output signal, and v 1 and v 2 are white noise with intensities Ev 1 v T 1 = R 1, Ev 2 v T 2 = R 2, Ev 1 v T 2 = R 12 (4) For simplicity it is assumed that v 1 and v 2 are independent, so that R 12 = LQ The standard LQ problem The standard LQG problem is to minimize a quadratic criterion for a linear system. That is, to nd the controller that, when applied to the system, minimizes the criterion. The control error, i.e., the discrepancy between the performance signal and the reference signal, is denoted e(t) = z(t) r(t). The aim of the control is 1

4 to keep e(t) as small as possible, without using an unreasonably large input signal. The standard formulation of LQ treats the regulation problem 1, where r 0. This means that e = z. The criterion to be minimized then is 1 V = E lim T T T 0 ( z(t) T Q 1 z(t) + u(t) T Q 2 u(t) ) dt, (5) where Q 1 and Q 2 are symmetric matrices. Q 2 is positive denite and Q 1 is positive semidenite. The behavior of the regulator can be adjusted by choosing Q 1 and Q 2. By choosing a large Q 2 relative Q 1, a high penalty on the input signal in criterion (5) will be enforced, giving a controller that uses a small input signal, but to the price of a slower regulation of the control error, and vice versa for a large Q 1 relative Q Integral action in LQ control A drawback with state feedback is that no inherent integral action can be obtained. If integral action is desired (this is, according to the basic course in automatic control, often desired) it must be enforced into the problem formulation. There are several ways of doing this (see Section 9 in Glad- Ljung). A direct, and perhaps a bit ad hoc approach to introduce integral action into the control loop, is to add a term to the criterion (5). This term should penalize the integrated control error. Let ɛ(t) = t 0 e(τ)dτ, then the added term would be ɛ(t) T Q ɛ ɛ(t). To deal with this within the LQG framework, ɛ is introduced as an extra, ctitious output signal of the system. This implies that ɛ also must be included as additional states in the state space description: [ẋ ] [ ] [ A 0 x, ] [ ] [ ] [ ] B N 0 v1 = + u +, (6) ɛ M 0 ɛ 0 0 I r [ ] [ ] [ ] z M 0 x =, (7) ɛ 0 I ɛ y = [ ] C + v 2. (8) 0 ] [ x ɛ In (6), the reference signal is entering the system together with the process noise v 1. This is only to emphasize that from the controllers point of view, r may be regarded as a disturbance. The modied criterion then becomes 1 T ( [z(t) V = E lim T ɛ(t) T ] [ Q 1 0 T T 0 0 Q ɛ ] [ z(t) ɛ(t) ] + u(t) T Q 2 u(t) ) dt 1 For the regulation problem the control objective is to outperform disturbances that causes the performance signal to deviate from zero. 2

5 [ ] The LQ design is thus performed with Q Q1 0 1 = and Q 0 Q 2 as the penalty ɛ matrices, using the augmented system (6)-(8) Reference signals in LQ control When treating the servo problem, when r 0, the criterion should be appropriately modied. However, here r will be conned to be piece-wise constant, like set point changes. In this case LQ will give a feedback gain that is the same as for the regulation problem (see Theorem 9.2 in Glad-Ljung). 2.2 Observer To apply state feedback requires that the full state vector is available. If the state vector is directly measurable, i.e. y(t) = x(t), the feedback can be applied as shown in Fig. 1a, where L denotes the feedback gain matrix obtained from the LQ design. However if the state is not directly measurable an observer, G obs (s) can be used to reconstruct the state from the measured output and input signals to the system, y(t), u(t) respectively. Note that this requires that the system is observable. The observer takes as input the measured input and output signals, y(t) and u(t), of the system, and gives as output an estimate, ˆx(t), of the state x(t). From the estimated state, feedback can be applied as shown in Fig. 1b. There are many dierent ways in which the observer can be designed. If the system is linear and the process and measurement noise, v 1 and v 2 are white Gaussian noise, the optimal observer is the Kalman lter (see Section 5.7 in Glad-Ljung), in the sense that it minimizes the expected square estimation error Π x = E[(x(t) ˆx(t)) T (x(t) ˆx(t))]. (9) However, in the rst task of the laboration a more primitive, non model based, observer will be used. It reconstructs the state as linear combinations of the integrated and dierentiated output signals of the system. Consider the transfer functions G d (s) = s sτ + 1, G i (s) = 1/s. The transfer function G d (s) will act as a lter that dierentiates and low pass lters the input signal. The low pass ltering is used to reduce the 3

6 u(t) -L G(s) x(t) y(t) u(t) G(s) ^x(t) -L G obs(s) y(t) (a) Pure state feedback (b) Feedback form estimated states Figure 1 high frequency noise in the signal that will otherwise be amplied by the dierentiation, as dierentiation acts as a high pass lter. Setting τ = 0 gives G d (s) = s and corresponds to a pure dierentiation. The transfer function G i (s) will integrate the input signal. By using G d (s) and G i (s) the components of y(t) can be dierentiated and integrated. From the integrated and dierentiated signals the state x(t) can be reconstructed. An observer, G di (s) using this method to reconstruct the state for the TWIP system is given in Appendix. 2.3 LQG The LQG problem concerns uncertain linear systems disturbed by additive white Gaussian noise, having incomplete state information (i.e. the full state vector is not available for feedback). The optimal control law has the familiar observer based state feedback structure (see Theorems 9.1 and 9.2 in Glad Ljung) u(t) = Lˆx(t) + L r r(t), (10) where ˆx(t) is the optimal estimate of x(t), obtained by the Kalman lter for the system (1)(3). The gain L only depends on Q 1 and Q 2, while the Kalman lter only depends on R 1 and R 2 (and R 12 if nonzero), this is known as the separation principle. Note that the LQG-controller is optimal only for the situation when the system is exactly described by (1)(3), and when v 1 and v 2 are white Gaussian noises. This is a very idealized situation. In almost all practical cases one or more of the conditions for the LQG framework are not fullled. In this case study the system is not even linear. Hence, it can not be expected that the obtained controller will be optimal. Still, for many systems the LQG approach is useful due to its simplicity and to its ability to generate controllers that behave rather well, also in non-idealized situations. In practice R 1 and R 2 are unknown and may, together with Q 1 and Q 2, be regarded as design variables. There are some guidelines in how to choose these design matrices. 4

7 For simplicity the discussion is conned to diagonal choices of Q 1 and Q 2. Each element in these matrices can be interpreted as a penalty of the corresponding signal component. The rule of thumb then is that this signal component will be small in the closed loop simulation if it is penalized considerable. That is, if the corresponding diagonal entry in the diagonal matrices are chosen large. Still, it is stressed that this is only a rule of thumb and that the design procedure should be regarded as an iterative procedure supported by closed loop simulations. 2.4 Discretization A computer works in discrete time, and therefore eects caused by this must be incorporated into the synthesis procedure. This problem will be disregarded here the controller synthesis in the laboratory work is performed in continuous time, yielding continuous time controllers. For the implementation, these are approximated by sampling controllers 2, obtained with the Matlab function c2d. The sampling period for the TWIP process is T = seconds. 3 The two wheeled inverted pendulum process 3.1 System description The system is a robot balancing on two wheels, as shown in Fig. 2. It is built from pieces of the LEGO Mindstorms NXT kit. The main component is the brick which is a small embedded computer to which sensors and actuators can be connected. The actuators of the system are two DC motors to which the wheels are attached. The motors have built in encoders, able to measure the rotated shaft angle with a resolution of 1. A gyroscope measuring the angular velocity with a resolution of 1 /s, is mounted at the top of the robot. 3.2 Physical modeling To facilitate any kind of analysis of the system, a model is needed. The model should describe the behavior of the system in an acceptable way. Preferably it should be a mathematical model. Such a model can be obtained in many dierent ways. For instance one can get an empirical model by performing experiments on the system. Another way is to use a priori knowledge about the system. For a mechanical system, like the TWIP process, the laws of 2 See Chapter 4 in Glad-Ljung for more thorough comments on sampling and sampled systems. 5

8 ψ Left wheel ϕ 0 ξ. θ r ϕ ξ (a) Model from the side (b) Model from above. Right wheel Figure 2: Model of the two wheeled inverted pendulum process. In subgure 2a φ, ξ and θ r denotes the pitch angle, traveled distance and the rotated shaft angle for the right wheel respectively. In subgure 2b φ denotes the yaw angle relative some reference angle φ 0 and ξ denotes the translational speed. physics serve as a priori knowledge. For this system classical mechanics will be exploited to obtain a mathematical model. The derivation of this model will not be shown here, since it involves some rather tedious algebraic maneuvers. Instead the presentation is conned to the principal elements of the derivation. To begin with, the degrees of freedom of the system should be determined. Then some generalized coordinates, reecting the degrees of freedom, should be chosen. The balancing robot has three degrees of freedom represented by ξ, φ and ψ as shown in Fig 2, which are also the variables chosen as the generalized coordinates. Let q = [ ξ φ ψ ] T denote the generalized coordinates. To simplify the modeling, the friction is assumed to be negligible, and is thus omitted. The mathematical model is derived with the aid of Lagrange's equation. The Lagrangian for the system is L(q, q) = T V, where T and V are the total kinetic and potential energies of the system, respectively, expressed in the generalized coordinates q and their time derivatives q. Lagrange's equation then is d L dt q L = F, (11) q where F is the generalized external force acting on the system. Despite its very compact form in (11), Lagrange's equation is a system of second 6

9 order nonlinear dierential equations one dierential equation for each generalized coordinate. For the balancing robot process there are hence three equations. Both sides in (11) are thus vector valued functions. The entries in F represent the generalized external forces acting in the directions of the generalized coordinates. For instance, the generalized force in the ψ direction is the external torque exerted around the axis going through the center of the wheels. These torques are caused by the DC motors, gravity and disturbances such as e.g. a hit on the top of the robot. Now a mathematical model is obtained, but for the purpose here, it would be more suitable to have the model as a system of rst order dierential equations, i.e., a state space description. A natural choice of state vector is the generalized coordinates and their time derivatives. The state vector is thus ξ x = [ ] q = q φ ψ ξ. (12) φ ψ In order to get the state space description, an expression for ẋ = dx dt must be found, an expression that only involves x and F. The simple part is dq dt = q, d which is a part of the state vector. However, dt q = q must be solved for in (11). This yields the state space description ẋ = f(x, F ), which has the generalized external forces as input signal. It would be preferable, though, to have the voltage over the DC-motors as input signals, rather than the forces they cause. This must somehow be included in the model. Fortunately, this can be interpreted as if state feedback is applied. Thus, no new state variables are needed. The obtained nonlinear state space model is then ẋ = f(x, u), (13) [ ] ul where x is the state vector as in (12), u = is the input signal available for control. u l and u r are the voltage applied to the left and right DC motor respectively. u r 3.3 Linearization In order to be able to control the system with an LQ-controller, the dynamics are linearized around the origin (an equilibrium point). The origin is dened 7

10 as x 0 = [ ] T. That is, the robot is standing still at a vertical position. The state space model is of the form: ẋ = Ax + Bu + Nw, z = Mx, y = Cx + v, with the state vector x, measurement vector y, performance signal z and the controllable input signal u given by where ξ - traveled distance φ - yaw angle ψ - pitch angle x = [ ξ φ ψ ξ φ ψ ] T, y = [ θ l θ r ψ ] T, z = [ φ ξ ] T, u = [ u l u r ] T, u l - voltage applied to left motor u r - voltage applied to right motor θ l - left shaft angle (measured by a tachometer in the motor assembly) θ r - right shaft angle (measured by a tachometer in the motor assembly) The process noise is modeled as a disturbance on the input signal, which means that N = B. The matrices A, B are given by A = f x, B = f u, evaluated at x = 0, u = 0. Numerically the matrices are given by A = ,

11 and B = , C = , As the performance signal is given by z = [ φ ξ ] T, it follows that M = [ ] The poles of the linearized system are given by p = [ ]. When working with linearized models, it is very important to remember that the linear model is an approximation. It may be viewed as a rst order Taylor expansion of the nonlinear model, around some operation point. The further away from this point, the origin in this case, the less accurate the linear description is. Thus the linear model should be regarded as a local model. 4 Preparation exercises The feedback gain L in LQG control only depends on the matrices Q 1 and Q 2 in the criterion (5). These matrices are design parameters in the LQG design. If they are chosen as Q 1 = k Q 1 and Q 2 = k Q 2, for some constant matrices Q 1 and Q 2, and some positive scalar k, the feedback gain L will be the same, regardless of how k is chosen. 9

12 Question 4.1: Use the criterion (5) to motivate why this is the case. Answer: Consider a rst order SISO system Y (s) = 1 U(s) (14) s α with the pole located at α, and assume that we want to determine a state feedback control law u(t) = L x(t) + L r r(t), such that the output y(t) of the system follows the reference signal r(t). Question 4.2: (a) Write the system (14) on state space form. (b) Write the closed loop system in state space form. Answer: The next task is to compute the feedback gain L using LQ-design and study how the value of L and the closed loop system pole depends on the quotient ρ = Q 2 /Q 1. To change the quotient, use the xed value Q 2 = 1 but let Q 1 be variable. 10

13 Question 4.3: Note: This preparation exercise is related to Task 5.3. (a) Determine L by nding the positive denite solution to the continuous time Riccati equation (see Thm. 9.1 in Glad-Ljung). In particular, determine lim ρ in the following two cases: (i) Stable open loop system, α < 0 (ii) Unstable open loop system, α 0 (b) Study how the pole location of the closed loop system varies with varying values of ρ, in the two cases (i) and (ii). (c) In case (i) and (ii) in task (a), dierent values for L will be found. Try to give an intuitive reasoning why this is. Answer: 11

14 5 Laboratory work In the laboratory work LQG will be used to design controllers for the balancing robot process. The controllers will be analyzed, simulated and tested on the real system. In the separate sheet "Instructions to run the two wheeled inverted pendulum process", instructions of how to use the lab equipment are given. Read this carefully and then proceed with the tasks below. 5.1 Observer The rst laboratory task is to try a controller that uses the observer G di (s) to obtain a state estimate ˆx, i.e. the block G obs (s) in Fig. 1b will be given by G di (s) (see Sec. 2.2). Task 5.1 Use lq_twip to generate a controller. Set Q 1 = I, Q 2 = ρi and start with ρ = 1. Try to increase/decrease the value of ρ and see how the system reacts in terms of fastness and noise sensitivity. To see any signicant change of behaviour the value might have to be changed by a factor of 10. Simulate the controller and try it on the real system, using the GUI. Finally, set ρ = 0.01 (and try it, if you have not done so already ) and proceed to the next task. Note: Due to disturbances the robot can tend to drift slightly backwards or forwards. This problem will be resolved at a later stage of the laboration and do not have to be considered for now. The controller obtained by using G di (s) gives noisy estimates that results in a rather poor control performance. In the next task the observer G di (s) is replaced by a Kalman lter to improve the quality of the estimated state vector ˆx. Task 5.2 Generate a controller using lqg_twip. This controller uses a Kalman lter to estimate the state. As the main focus is on the control in this laboration the pre-specied values R 1 = I and R 2 = 10 5 I, for the Kalman lter, are given. Use the values Q 1 = I, Q 2 = ρi, with ρ = 0.01 as in the previous task. Simulate the controller and try it on the real system. 12

15 Question 5.1: Comment on the behavior to the controller compared to the controller used in task 5.1 Answer: 5.2 Tuning the LQG controller Task 5.3 In preparation exercise 4.3 it was found that the closed loop system poles approaches some xed values asymptotically as ρ. For the TWIP process the yaw angle φ is associated with a marginally stable pole at α 1 = 0. The translational velocity ξ is associated with an unstable pole at α Create and execute controllers with increasing values of ρ and see how the control of the yaw angle and the translational velocity changes. Mainly study the changes by simulation, but also try to execute some controllers on the real system to study the behaviour. 13

16 Question 5.2: Comment on the results. Compare to your ndings in preparation exercise 4.3. Answer: The next task is to ne tune the controller by changing individual elements of Q 1. Go back to using ρ = The diagonal elements of Q 2 will penalize the input voltage to the left and right motor respectively, which should naturally have the same penalty. As it is only the ratio between the elements in Q 1 and Q 2 that aects the controller performance (as found in preparation exercise 4) it suces to make changes to the elements of Q 1. [ ] q1 0 Task 5.4 Let Q 1 =. Try to adjust values of q 0 q 1, q 2 to achieve a 2 controller that makes the system easy to steer using the reference signals available. Recall that z = [ φ ξ ], which means that q 1, q 2 will penalize the control error for the yaw angle and the velocity respectively. Change the values of q 1 and q 2 one at a time and observe the behavior of the system. Especially study the magnitude of the input signal, and the fastness of the response to reference signals. Note: If the penalty q 2 becomes too large the system will get a shaky behavior, depending on that the bandwidth of the system becomes too high for the used sampling rate. This is a phenomenon that is not discussed in this course. If this occurs try lowering the value of q 2. 14

17 Question 5.3: Comment on the behavior for dierent values on the penalty in terms of input signal magnitude and fastness of the response of the system. Answer: Contact the instructor when a suitable controller has been found. 5.3 Integral action Task 5.5 The controller obtained by lqg_twip is designed to, in theory, give a static gain equal to one from the reference signal to the output. Use the controller from the previous task. Make a step response in the velocity of 0.2 m/s on the real system and see if the static gain equals one for this particular reference value. Note that by tapping the up arrow once, a step of 0.1 m/s will be applied in the velocity reference signal. Question 5.4: Is the static gain equal to one? Why is this? Answer: The standard approach to eliminate control errors is to introduce integral action in the control loop. This can be done in several ways. Here the approach in Section will be used. Task 5.6 The function lqi_twip gives a LQG controller with integral action. Set Q ɛ = I and use the same Q 1, Q 2, R 1 and R 2 as obtained in task 5.4. Try the controller on the real system and study the same step response 15

18 as in the previous task, 0.2 m/s. Question 5.5: What is the static gain now? Answer: Also note that using integral action makes the robot stay in the same spot when zero reference in the velocity is applied, as opposed to the controller without integral action that tends to slowly drift away. [ ] qɛ1 0 Task 5.7 Let Q ɛ =. Try increasing/decreasing the values of q 0 q ɛ1 ɛ2 and q ɛ2 one by one and observe the behaviour of the system by simulation and execution on the real system. Question 5.6: Comment on the behaviour for small and large values of Q ɛ in terms of how fast the static error vanishes and how oscillatory the system is. Answer: Task 5.8 Try to ne tune to the controller such that the system is as easy as possible to control using the available reference signals. When a suitable controller have been obtained, show the nal result to the lab assistant, and discuss the ndings of tasks performed during the lab. 16

19 6 Appendix Here the details of how the observer G di (s) given in Sec. 2.2 is constructed are described. First note the following relation θ l θ r ψ θ l = 0 0 G i (p) G d (p) 0 0 θ ṙ 0 G d (p) 0 ψ } {{ } G t(p) Now as [ θ l θ r ψ ] T = H [ ξ φ ψ ] T where (see the matrix C) it follows that ξ φ ψ ξ = φ ψ [ H H H = θ l θ ] r ψ θ l = θ ṙ ψ θ l [ H 1 0 ] 0 H 1 θ ṙ ψ G t (p) [ ] 1 H 0 G obs (p) = G di (s) = G 0 H t (p) can thus be used as an observer, that takes as input the measured signal y and give as output an estimate, ˆx, of the state vector x. θ l θ ṙ ψ 17

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

LQ and Model Predictive Control (MPC) of a tank process

LQ and Model Predictive Control (MPC) of a tank process Uppsala University Information Technology Systems and Control Susanne Svedberg 2000 Rev. 2009 by BPGH, 2010 by TS, 2011 by HN Last rev. September 22, 2014 by RC Automatic control II Computer Exercise 4

More information

EL2520 Control Theory and Practice

EL2520 Control Theory and Practice EL2520 Control Theory and Practice Lecture 8: Linear quadratic control Mikael Johansson School of Electrical Engineering KTH, Stockholm, Sweden Linear quadratic control Allows to compute the controller

More information

Chapter 9 Observers, Model-based Controllers 9. Introduction In here we deal with the general case where only a subset of the states, or linear combin

Chapter 9 Observers, Model-based Controllers 9. Introduction In here we deal with the general case where only a subset of the states, or linear combin Lectures on Dynamic Systems and Control Mohammed Dahleh Munther A. Dahleh George Verghese Department of Electrical Engineering and Computer Science Massachuasetts Institute of Technology c Chapter 9 Observers,

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

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

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Prüfung Regelungstechnik I (Control Systems I) Prof. Dr. Lino Guzzella 3.. 24 Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Do not mark up this translation aid -

More information

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

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67 1/67 ECEN 420 LINEAR CONTROL SYSTEMS Lecture 6 Mathematical Representation of Physical Systems II State Variable Models for Dynamic Systems u 1 u 2 u ṙ. Internal Variables x 1, x 2 x n y 1 y 2. y m Figure

More information

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules Advanced Control State Regulator Scope design of controllers using pole placement and LQ design rules Keywords pole placement, optimal control, LQ regulator, weighting matrixes Prerequisites Contact state

More information

Exam in Systems Engineering/Process Control

Exam in Systems Engineering/Process Control Department of AUTOMATIC CONTROL Exam in Systems Engineering/Process Control 7-6- Points and grading All answers must include a clear motivation. Answers may be given in English or Swedish. The total number

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

Topic # Feedback Control Systems

Topic # Feedback Control Systems Topic #17 16.31 Feedback Control Systems Deterministic LQR Optimal control and the Riccati equation Weight Selection Fall 2007 16.31 17 1 Linear Quadratic Regulator (LQR) Have seen the solutions to the

More information

Optimization-Based Control

Optimization-Based Control Optimization-Based Control Richard M. Murray Control and Dynamical Systems California Institute of Technology DRAFT v1.7a, 19 February 2008 c California Institute of Technology All rights reserved. This

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

Lecture 9 Nonlinear Control Design

Lecture 9 Nonlinear Control Design Lecture 9 Nonlinear Control Design Exact-linearization Lyapunov-based design Lab 2 Adaptive control Sliding modes control Literature: [Khalil, ch.s 13, 14.1,14.2] and [Glad-Ljung,ch.17] Course Outline

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

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

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems. CDS 110b

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems. CDS 110b CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems CDS 110b R. M. Murray Kalman Filters 14 January 2007 Reading: This set of lectures provides a brief introduction to Kalman filtering, following

More information

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

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Prüfung Regelungstechnik I (Control Systems I) Prof. Dr. Lino Guzzella 3. 8. 24 Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Do not mark up this translation aid

More information

Predictive Control of Gyroscopic-Force Actuators for Mechanical Vibration Damping

Predictive Control of Gyroscopic-Force Actuators for Mechanical Vibration Damping ARC Centre of Excellence for Complex Dynamic Systems and Control, pp 1 15 Predictive Control of Gyroscopic-Force Actuators for Mechanical Vibration Damping Tristan Perez 1, 2 Joris B Termaat 3 1 School

More information

Here represents the impulse (or delta) function. is an diagonal matrix of intensities, and is an diagonal matrix of intensities.

Here represents the impulse (or delta) function. is an diagonal matrix of intensities, and is an diagonal matrix of intensities. 19 KALMAN FILTER 19.1 Introduction In the previous section, we derived the linear quadratic regulator as an optimal solution for the fullstate feedback control problem. The inherent assumption was that

More information

Feedback Control of Linear SISO systems. Process Dynamics and Control

Feedback Control of Linear SISO systems. Process Dynamics and Control Feedback Control of Linear SISO systems Process Dynamics and Control 1 Open-Loop Process The study of dynamics was limited to open-loop systems Observe process behavior as a result of specific input signals

More information

Exam in Systems Engineering/Process Control

Exam in Systems Engineering/Process Control Department of AUTOMATIC CONTROL Exam in Systems Engineering/Process Control 27-6-2 Points and grading All answers must include a clear motivation. Answers may be given in English or Swedish. The total

More information

DC-motor PID control

DC-motor PID control DC-motor PID control This version: November 1, 2017 REGLERTEKNIK Name: P-number: AUTOMATIC LINKÖPING CONTROL Date: Passed: Chapter 1 Introduction The purpose of this lab is to give an introduction to

More information

Modeling and System Identification for a DC Servo

Modeling and System Identification for a DC Servo Modeling and System Identification for a DC Servo Kevin M. Passino and Nicanor Quijano Dept. Electrical Engineering, The Ohio State University 5 Neil Avenue, Columbus, OH 3-7 March 7, Abstract First, you

More information

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o Lectures on Dynamic Systems and Control Mohammed Dahleh Munther A. Dahleh George Verghese Department of Electrical Engineering and Computer Science Massachuasetts Institute of Technology c Chapter 7 Interconnected

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

Automatic control III. Homework assignment Deadline (for this assignment): Monday December 9, 24.00

Automatic control III. Homework assignment Deadline (for this assignment): Monday December 9, 24.00 Uppsala University Department of Information Technology Division of Systems and Control November 18, 2013 Automatic control III Homework assignment 2 2013 Deadline (for this assignment): Monday December

More information

Reglerteknik, TNG028. Lecture 1. Anna Lombardi

Reglerteknik, TNG028. Lecture 1. Anna Lombardi Reglerteknik, TNG028 Lecture 1 Anna Lombardi Today lecture We will try to answer the following questions: What is automatic control? Where can we nd automatic control? Why do we need automatic control?

More information

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10)

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10) Subject: Optimal Control Assignment- (Related to Lecture notes -). Design a oil mug, shown in fig., to hold as much oil possible. The height and radius of the mug should not be more than 6cm. The mug must

More information

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

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization Plan of the Lecture Review: control, feedback, etc Today s topic: state-space models of systems; linearization Goal: a general framework that encompasses all examples of interest Once we have mastered

More information

Autonomous Mobile Robot Design

Autonomous Mobile Robot Design Autonomous Mobile Robot Design Topic: Guidance and Control Introduction and PID Loops Dr. Kostas Alexis (CSE) Autonomous Robot Challenges How do I control where to go? Autonomous Mobile Robot Design Topic:

More information

Optimal control and estimation

Optimal control and estimation Automatic Control 2 Optimal control and estimation Prof. Alberto Bemporad University of Trento Academic year 2010-2011 Prof. Alberto Bemporad (University of Trento) Automatic Control 2 Academic year 2010-2011

More information

LINEAR-QUADRATIC CONTROL OF A TWO-WHEELED ROBOT

LINEAR-QUADRATIC CONTROL OF A TWO-WHEELED ROBOT Доклади на Българската академия на науките Comptes rendus de l Académie bulgare des Sciences Tome 67, No 8, 2014 SCIENCES ET INGENIERIE Automatique et informatique Dedicated to the 145th Anniversary of

More information

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11 sc46 - Control Systems Design Q Sem Ac Yr / Mock Exam originally given November 5 9 Notes: Please be reminded that only an A4 paper with formulas may be used during the exam no other material is to be

More information

Intermediate Process Control CHE576 Lecture Notes # 2

Intermediate Process Control CHE576 Lecture Notes # 2 Intermediate Process Control CHE576 Lecture Notes # 2 B. Huang Department of Chemical & Materials Engineering University of Alberta, Edmonton, Alberta, Canada February 4, 2008 2 Chapter 2 Introduction

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

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems. CDS 110b

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems. CDS 110b CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems CDS 110b R. M. Murray Kalman Filters 25 January 2006 Reading: This set of lectures provides a brief introduction to Kalman filtering, following

More information

Linear-Quadratic Optimal Control: Full-State Feedback

Linear-Quadratic Optimal Control: Full-State Feedback Chapter 4 Linear-Quadratic Optimal Control: Full-State Feedback 1 Linear quadratic optimization is a basic method for designing controllers for linear (and often nonlinear) dynamical systems and is actually

More information

(Refer Slide Time: 00:01:30 min)

(Refer Slide Time: 00:01:30 min) Control Engineering Prof. M. Gopal Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 3 Introduction to Control Problem (Contd.) Well friends, I have been giving you various

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

Topic # /31 Feedback Control Systems. Analysis of Nonlinear Systems Lyapunov Stability Analysis

Topic # /31 Feedback Control Systems. Analysis of Nonlinear Systems Lyapunov Stability Analysis Topic # 16.30/31 Feedback Control Systems Analysis of Nonlinear Systems Lyapunov Stability Analysis Fall 010 16.30/31 Lyapunov Stability Analysis Very general method to prove (or disprove) stability of

More information

6 OUTPUT FEEDBACK DESIGN

6 OUTPUT FEEDBACK DESIGN 6 OUTPUT FEEDBACK DESIGN When the whole sate vector is not available for feedback, i.e, we can measure only y = Cx. 6.1 Review of observer design Recall from the first class in linear systems that a simple

More information

Modelling and simulation of a measurement robot

Modelling and simulation of a measurement robot Modellbygge och Simulering, TSRT62 Modelling and simulation of a measurement robot Denna version: 4 oktober 2017 Servo- motor Strömregulator + u + i(t) [A] r (t) [V] u(t) [V] Arm Skruvtransmission Remtransmission

More information

MS-E2133 Systems Analysis Laboratory II Assignment 2 Control of thermal power plant

MS-E2133 Systems Analysis Laboratory II Assignment 2 Control of thermal power plant MS-E2133 Systems Analysis Laboratory II Assignment 2 Control of thermal power plant How to control the thermal power plant in order to ensure the stable operation of the plant? In the assignment Production

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

CHAPTER 1. Introduction

CHAPTER 1. Introduction CHAPTER 1 Introduction Linear geometric control theory was initiated in the beginning of the 1970 s, see for example, [1, 7]. A good summary of the subject is the book by Wonham [17]. The term geometric

More information

Chapter 3. LQ, LQG and Control System Design. Dutch Institute of Systems and Control

Chapter 3. LQ, LQG and Control System Design. Dutch Institute of Systems and Control Chapter 3 LQ, LQG and Control System H 2 Design Overview LQ optimization state feedback LQG optimization output feedback H 2 optimization non-stochastic version of LQG Application to feedback system design

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

State estimation and the Kalman filter

State estimation and the Kalman filter State estimation and the Kalman filter PhD, David Di Ruscio Telemark university college Department of Technology Systems and Control Engineering N-3914 Porsgrunn, Norway Fax: +47 35 57 52 50 Tel: +47 35

More information

EE C128 / ME C134 Final Exam Fall 2014

EE C128 / ME C134 Final Exam Fall 2014 EE C128 / ME C134 Final Exam Fall 2014 December 19, 2014 Your PRINTED FULL NAME Your STUDENT ID NUMBER Number of additional sheets 1. No computers, no tablets, no connected device (phone etc.) 2. Pocket

More information

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems ELEC4631 s Lecture 2: Dynamic Control Systems 7 March 2011 Overview of dynamic control systems Goals of Controller design Autonomous dynamic systems Linear Multi-input multi-output (MIMO) systems Bat flight

More information

Exam. 135 minutes, 15 minutes reading time

Exam. 135 minutes, 15 minutes reading time Exam August 6, 208 Control Systems II (5-0590-00) Dr. Jacopo Tani Exam Exam Duration: 35 minutes, 5 minutes reading time Number of Problems: 35 Number of Points: 47 Permitted aids: 0 pages (5 sheets) A4.

More information

LINEAR QUADRATIC GAUSSIAN

LINEAR QUADRATIC GAUSSIAN ECE553: Multivariable Control Systems II. LINEAR QUADRATIC GAUSSIAN.: Deriving LQG via separation principle We will now start to look at the design of controllers for systems Px.t/ D A.t/x.t/ C B u.t/u.t/

More information

EL 625 Lecture 10. Pole Placement and Observer Design. ẋ = Ax (1)

EL 625 Lecture 10. Pole Placement and Observer Design. ẋ = Ax (1) EL 625 Lecture 0 EL 625 Lecture 0 Pole Placement and Observer Design Pole Placement Consider the system ẋ Ax () The solution to this system is x(t) e At x(0) (2) If the eigenvalues of A all lie in the

More information

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

1. Find the solution of the following uncontrolled linear system. 2 α 1 1 Appendix B Revision Problems 1. Find the solution of the following uncontrolled linear system 0 1 1 ẋ = x, x(0) =. 2 3 1 Class test, August 1998 2. Given the linear system described by 2 α 1 1 ẋ = x +

More information

Advanced Control Theory

Advanced Control Theory State Feedback Control Design chibum@seoultech.ac.kr Outline State feedback control design Benefits of CCF 2 Conceptual steps in controller design We begin by considering the regulation problem the task

More information

Linearization problem. The simplest example

Linearization problem. The simplest example Linear Systems Lecture 3 1 problem Consider a non-linear time-invariant system of the form ( ẋ(t f x(t u(t y(t g ( x(t u(t (1 such that x R n u R m y R p and Slide 1 A: f(xu f(xu g(xu and g(xu exist and

More information

AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Introduction to Automatic Control & Linear systems (time domain)

AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Introduction to Automatic Control & Linear systems (time domain) 1 AUTOMATIC CONTROL Andrea M. Zanchettin, PhD Spring Semester, 2018 Introduction to Automatic Control & Linear systems (time domain) 2 What is automatic control? From Wikipedia Control theory is an interdisciplinary

More information

Designing Information Devices and Systems II Spring 2018 J. Roychowdhury and M. Maharbiz Homework 7

Designing Information Devices and Systems II Spring 2018 J. Roychowdhury and M. Maharbiz Homework 7 EECS 6B Designing Information Devices and Systems II Spring 28 J. Roychowdhury and M. Maharbiz Homework 7 This homework is due on Thursday, March 22, 28, at :59AM (NOON). Self-grades are due on Monday,

More information

The dynamics of a Mobile Inverted Pendulum (MIP)

The dynamics of a Mobile Inverted Pendulum (MIP) The dynamics of a Mobile Inverted Pendulum (MIP) 1 Introduction Saam Ostovari, Nick Morozovsky, Thomas Bewley UCSD Coordinated Robotics Lab In this document, a Mobile Inverted Pendulum (MIP) is a robotic

More information

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

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Prüfung Regelungstechnik I (Control Systems I) Prof. Dr. Lino Guzzella 9. 8. 2 Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Do not mark up this translation aid -

More information

Robotics. Control Theory. Marc Toussaint U Stuttgart

Robotics. Control Theory. Marc Toussaint U Stuttgart Robotics Control Theory Topics in control theory, optimal control, HJB equation, infinite horizon case, Linear-Quadratic optimal control, Riccati equations (differential, algebraic, discrete-time), controllability,

More information

Robot Control Basics CS 685

Robot Control Basics CS 685 Robot Control Basics CS 685 Control basics Use some concepts from control theory to understand and learn how to control robots Control Theory general field studies control and understanding of behavior

More information

Intro. Computer Control Systems: F9

Intro. Computer Control Systems: F9 Intro. Computer Control Systems: F9 State-feedback control and observers Dave Zachariah Dept. Information Technology, Div. Systems and Control 1 / 21 dave.zachariah@it.uu.se F8: Quiz! 2 / 21 dave.zachariah@it.uu.se

More information

Lecture 9 Nonlinear Control Design. Course Outline. Exact linearization: example [one-link robot] Exact Feedback Linearization

Lecture 9 Nonlinear Control Design. Course Outline. Exact linearization: example [one-link robot] Exact Feedback Linearization Lecture 9 Nonlinear Control Design Course Outline Eact-linearization Lyapunov-based design Lab Adaptive control Sliding modes control Literature: [Khalil, ch.s 13, 14.1,14.] and [Glad-Ljung,ch.17] Lecture

More information

06 Feedback Control System Characteristics The role of error signals to characterize feedback control system performance.

06 Feedback Control System Characteristics The role of error signals to characterize feedback control system performance. Chapter 06 Feedback 06 Feedback Control System Characteristics The role of error signals to characterize feedback control system performance. Lesson of the Course Fondamenti di Controlli Automatici of

More information

Robotics. Dynamics. Marc Toussaint U Stuttgart

Robotics. Dynamics. Marc Toussaint U Stuttgart Robotics Dynamics 1D point mass, damping & oscillation, PID, dynamics of mechanical systems, Euler-Lagrange equation, Newton-Euler recursion, general robot dynamics, joint space control, reference trajectory

More information

Pole placement control: state space and polynomial approaches Lecture 2

Pole placement control: state space and polynomial approaches Lecture 2 : state space and polynomial approaches Lecture 2 : a state O. Sename 1 1 Gipsa-lab, CNRS-INPG, FRANCE Olivier.Sename@gipsa-lab.fr www.gipsa-lab.fr/ o.sename -based November 21, 2017 Outline : a state

More information

Topic # Feedback Control Systems

Topic # Feedback Control Systems Topic #1 16.31 Feedback Control Systems Motivation Basic Linear System Response Fall 2007 16.31 1 1 16.31: Introduction r(t) e(t) d(t) y(t) G c (s) G(s) u(t) Goal: Design a controller G c (s) so that the

More information

1 (30 pts) Dominant Pole

1 (30 pts) Dominant Pole EECS C8/ME C34 Fall Problem Set 9 Solutions (3 pts) Dominant Pole For the following transfer function: Y (s) U(s) = (s + )(s + ) a) Give state space description of the system in parallel form (ẋ = Ax +

More information

ME 132, Fall 2015, Quiz # 2

ME 132, Fall 2015, Quiz # 2 ME 132, Fall 2015, Quiz # 2 # 1 # 2 # 3 # 4 # 5 # 6 Total NAME 14 10 8 6 14 8 60 Rules: 1. 2 sheets of notes allowed, 8.5 11 inches. Both sides can be used. 2. Calculator is allowed. Keep it in plain view

More information

Suppose that we have a specific single stage dynamic system governed by the following equation:

Suppose that we have a specific single stage dynamic system governed by the following equation: Dynamic Optimisation Discrete Dynamic Systems A single stage example Suppose that we have a specific single stage dynamic system governed by the following equation: x 1 = ax 0 + bu 0, x 0 = x i (1) where

More information

Contents lecture 6 2(17) Automatic Control III. Summary of lecture 5 (I/III) 3(17) Summary of lecture 5 (II/III) 4(17) H 2, H synthesis pros and cons:

Contents lecture 6 2(17) Automatic Control III. Summary of lecture 5 (I/III) 3(17) Summary of lecture 5 (II/III) 4(17) H 2, H synthesis pros and cons: Contents lecture 6 (7) Automatic Control III Lecture 6 Linearization and phase portraits. Summary of lecture 5 Thomas Schön Division of Systems and Control Department of Information Technology Uppsala

More information

Steady State Kalman Filter

Steady State Kalman Filter Steady State Kalman Filter Infinite Horizon LQ Control: ẋ = Ax + Bu R positive definite, Q = Q T 2Q 1 2. (A, B) stabilizable, (A, Q 1 2) detectable. Solve for the positive (semi-) definite P in the ARE:

More information

Control Systems I. Lecture 2: Modeling and Linearization. Suggested Readings: Åström & Murray Ch Jacopo Tani

Control Systems I. Lecture 2: Modeling and Linearization. Suggested Readings: Åström & Murray Ch Jacopo Tani Control Systems I Lecture 2: Modeling and Linearization Suggested Readings: Åström & Murray Ch. 2-3 Jacopo Tani Institute for Dynamic Systems and Control D-MAVT ETH Zürich September 28, 2018 J. Tani, E.

More information

Nonlinear Model Predictive Control Tools (NMPC Tools)

Nonlinear Model Predictive Control Tools (NMPC Tools) Nonlinear Model Predictive Control Tools (NMPC Tools) Rishi Amrit, James B. Rawlings April 5, 2008 1 Formulation We consider a control system composed of three parts([2]). Estimator Target calculator Regulator

More information

Design and Comparison of Different Controllers to Stabilize a Rotary Inverted Pendulum

Design and Comparison of Different Controllers to Stabilize a Rotary Inverted Pendulum ISSN (Online): 347-3878, Impact Factor (5): 3.79 Design and Comparison of Different Controllers to Stabilize a Rotary Inverted Pendulum Kambhampati Tejaswi, Alluri Amarendra, Ganta Ramesh 3 M.Tech, Department

More information

Exponential Controller for Robot Manipulators

Exponential Controller for Robot Manipulators Exponential Controller for Robot Manipulators Fernando Reyes Benemérita Universidad Autónoma de Puebla Grupo de Robótica de la Facultad de Ciencias de la Electrónica Apartado Postal 542, Puebla 7200, México

More information

Analog Signals and Systems and their properties

Analog Signals and Systems and their properties Analog Signals and Systems and their properties Main Course Objective: Recall course objectives Understand the fundamentals of systems/signals interaction (know how systems can transform or filter signals)

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

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

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

EE 474 Lab Part 2: Open-Loop and Closed-Loop Control (Velocity Servo)

EE 474 Lab Part 2: Open-Loop and Closed-Loop Control (Velocity Servo) Contents EE 474 Lab Part 2: Open-Loop and Closed-Loop Control (Velocity Servo) 1 Introduction 1 1.1 Discovery learning in the Controls Teaching Laboratory.............. 1 1.2 A Laboratory Notebook...............................

More information

1. Type your solutions. This homework is mainly a programming assignment.

1. Type your solutions. This homework is mainly a programming assignment. THE UNIVERSITY OF TEXAS AT SAN ANTONIO EE 5243 INTRODUCTION TO CYBER-PHYSICAL SYSTEMS H O M E W O R K S # 6 + 7 Ahmad F. Taha October 22, 2015 READ Homework Instructions: 1. Type your solutions. This homework

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

Chapter 8 Stabilization: State Feedback 8. Introduction: Stabilization One reason feedback control systems are designed is to stabilize systems that m

Chapter 8 Stabilization: State Feedback 8. Introduction: Stabilization One reason feedback control systems are designed is to stabilize systems that m Lectures on Dynamic Systems and Control Mohammed Dahleh Munther A. Dahleh George Verghese Department of Electrical Engineering and Computer Science Massachuasetts Institute of echnology c Chapter 8 Stabilization:

More information

CDS 101/110a: Lecture 2.1 Dynamic Behavior

CDS 101/110a: Lecture 2.1 Dynamic Behavior CDS 11/11a: Lecture 2.1 Dynamic Behavior Richard M. Murray 6 October 28 Goals: Learn to use phase portraits to visualize behavior of dynamical systems Understand different types of stability for an equilibrium

More information

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

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Prüfung Regelungstechnik I (Control Systems I) Prof. Dr. Lino Guzzella 5. 2. 2 Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Do not mark up this translation aid -

More information

ECE557 Systems Control

ECE557 Systems Control ECE557 Systems Control Bruce Francis Course notes, Version.0, September 008 Preface This is the second Engineering Science course on control. It assumes ECE56 as a prerequisite. If you didn t take ECE56,

More information

EECS C128/ ME C134 Final Wed. Dec. 14, am. Closed book. One page, 2 sides of formula sheets. No calculators.

EECS C128/ ME C134 Final Wed. Dec. 14, am. Closed book. One page, 2 sides of formula sheets. No calculators. Name: SID: EECS C128/ ME C134 Final Wed. Dec. 14, 211 81-11 am Closed book. One page, 2 sides of formula sheets. No calculators. There are 8 problems worth 1 points total. Problem Points Score 1 16 2 12

More information

Linear Quadratic Regulator (LQR) Design I

Linear Quadratic Regulator (LQR) Design I Lecture 7 Linear Quadratic Regulator LQR) Design I Dr. Radhakant Padhi Asst. Proessor Dept. o Aerospace Engineering Indian Institute o Science - Bangalore LQR Design: Problem Objective o drive the state

More information

Lie Groups for 2D and 3D Transformations

Lie Groups for 2D and 3D Transformations Lie Groups for 2D and 3D Transformations Ethan Eade Updated May 20, 2017 * 1 Introduction This document derives useful formulae for working with the Lie groups that represent transformations in 2D and

More information

7 Pendulum. Part II: More complicated situations

7 Pendulum. Part II: More complicated situations MATH 35, by T. Lakoba, University of Vermont 60 7 Pendulum. Part II: More complicated situations In this Lecture, we will pursue two main goals. First, we will take a glimpse at a method of Classical Mechanics

More information

An LQR Controller Design Approach For Pitch Axis Stabilisation Of 3-DOF Helicopter System

An LQR Controller Design Approach For Pitch Axis Stabilisation Of 3-DOF Helicopter System International Journal of Scientific & Engineering Research, Volume 4, Issue 4, April-2013 1398 An LQR Controller Design Approach For Pitch Axis Stabilisation Of 3-DOF Helicopter System Mrs. M. Bharathi*Golden

More information

Fall 線性系統 Linear Systems. Chapter 08 State Feedback & State Estimators (SISO) Feng-Li Lian. NTU-EE Sep07 Jan08

Fall 線性系統 Linear Systems. Chapter 08 State Feedback & State Estimators (SISO) Feng-Li Lian. NTU-EE Sep07 Jan08 Fall 2007 線性系統 Linear Systems Chapter 08 State Feedback & State Estimators (SISO) Feng-Li Lian NTU-EE Sep07 Jan08 Materials used in these lecture notes are adopted from Linear System Theory & Design, 3rd.

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

1 Continuous-time Systems

1 Continuous-time Systems Observability Completely controllable systems can be restructured by means of state feedback to have many desirable properties. But what if the state is not available for feedback? What if only the output

More information

Represent this system in terms of a block diagram consisting only of. g From Newton s law: 2 : θ sin θ 9 θ ` T

Represent this system in terms of a block diagram consisting only of. g From Newton s law: 2 : θ sin θ 9 θ ` T Exercise (Block diagram decomposition). Consider a system P that maps each input to the solutions of 9 4 ` 3 9 Represent this system in terms of a block diagram consisting only of integrator systems, represented

More information

Introduction to Control (034040) lecture no. 2

Introduction to Control (034040) lecture no. 2 Introduction to Control (034040) lecture no. 2 Leonid Mirkin Faculty of Mechanical Engineering Technion IIT Setup: Abstract control problem to begin with y P(s) u where P is a plant u is a control signal

More information

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2) Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2) For all calculations in this book, you can use the MathCad software or any other mathematical software that you are familiar

More information