State Feedback Controller for Position Control of a Flexible Link

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

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

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

Lab 5a: Pole Placement for the Inverted Pendulum

State Feedback MAE 433 Spring 2012 Lab 7

Lab 6a: Pole Placement for the Inverted Pendulum

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

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

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

Lab 3: Quanser Hardware and Proportional Control

Modeling and System Identification for a DC Servo

Rotary Motion Servo Plant: SRV02. Rotary Experiment #01: Modeling. SRV02 Modeling using QuaRC. Student Manual

Control Systems Design

2.004 Dynamics and Control II Spring 2008

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

FEEDBACK CONTROL SYSTEMS

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

YTÜ Mechanical Engineering Department

Positioning Servo Design Example

Rotary Flexible Joint

YTÜ Mechanical Engineering Department

EE C128 / ME C134 Fall 2014 HW 9 Solutions. HW 9 Solutions. 10(s + 3) s(s + 2)(s + 5) G(s) =

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

PID Control. Objectives

Double Inverted Pendulum (DBIP)

Outline. Classical Control. Lecture 5

Mechatronics Modeling and Analysis of Dynamic Systems Case-Study Exercise

Inverted Pendulum: State-Space Methods for Controller Design

Digital Control Semester Project

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

DC-motor PID control

ECE3510 Lab #5 PID Control

Flexible Pendulum (FLEXPEN)

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

Experiment # 5 5. Coupled Water Tanks

Automatic Control II Computer exercise 3. LQG Design

Rotary Flexible Link. Workbook FLEXGAGE. Student Version

MAE106 Laboratory Exercises Lab # 6 - Vibrating systems

DC-motor modelling and parameter identification

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

Example: DC Motor Speed Modeling

UNIVERSITY OF WASHINGTON Department of Aeronautics and Astronautics

ECE 5670/ Lab 3. PID Control of a Brush DC Motor. Objectives

EE 422G - Signals and Systems Laboratory

Chapter 3. State Feedback - Pole Placement. Motivation

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

Mo de ling, Ide nti cat ion, and Control of a DC-Servomotor

Video 5.1 Vijay Kumar and Ani Hsieh

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

1-DOF Forced Harmonic Vibration. MCE371: Vibrations. Prof. Richter. Department of Mechanical Engineering. Handout 8 Fall 2011

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

Introduction to Feedback Control

Feedback Control of Linear SISO systems. Process Dynamics and Control

QFT Framework for Robust Tuning of Power System Stabilizers

ECE 5670/6670 Lab 8. Torque Curves of Induction Motors. Objectives

Control System Design

The Control of an Inverted Pendulum

The Torsion Pendulum

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

School of Mechanical Engineering Purdue University. DC Motor Position Control The block diagram for position control of the servo table is given by:

1 (30 pts) Dominant Pole

3 Lab 3: DC Motor Transfer Function Estimation by Explicit Measurement

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

Multivariable Control Laboratory experiment 2 The Quadruple Tank 1

System Parameters and Frequency Response MAE 433 Spring 2012 Lab 2

AMME3500: System Dynamics & Control

CITY UNIVERSITY SCHOOL OF ENGINEERING AND MATHEMATICAL SCIENCES

Implementation Issues for the Virtual Spring

Control Systems. Design of State Feedback Control.

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

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

Target Tracking Using Double Pendulum

MinSeg balancing using pole-placement

Controls Problems for Qualifying Exam - Spring 2014

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

The Torsion Pendulum (One or two weights)

EEE 184: Introduction to feedback systems

LQG/LTR CONTROLLER DESIGN FOR ROTARY INVERTED PENDULUM QUANSER REAL-TIME EXPERIMENT

Full Order Observer Controller Design for DC Motor Based on State Space Approach

The control of a gantry

STUDENT Workbook IP02 Base Unit Experiment for MATLAB /Simulink Users

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

Laboratory handouts, ME 340

EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM

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

Inverted Pendulum System

Linear Motion Servo Plant: IP02. Linear Experiment #4: Pole Placement. Single Pendulum Gantry (SPG) Student Handout

Feedback Control part 2

The output voltage is given by,

Laboratory Exercise 1 DC servo

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

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

Mechatronics II Laboratory EXPERIMENT #1: FORCE AND TORQUE SENSORS DC Motor Characteristics Dynamometer, Part I

Position Control Experiment MAE171a

MEM04: Rotary Inverted Pendulum

Topic # Feedback Control

State space control for the Two degrees of freedom Helicopter

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

ECE 320 Linear Control Systems Winter Lab 1 Time Domain Analysis of a 1DOF Rectilinear System

Lab 3: Model based Position Control of a Cart

Transcription:

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 feedback controller for position the tip of a rotary flexible link as quickly as possible with minimal vibration mounted on the SRV-02DC servomotor. For this, we will use the state space model of the combined system (i.e., servomotor and flexible link) introduced in the Laboratory 9 (refer to [1]) and then tune the feedback gain matrix K to find the best position tracking while minimizing endpoint oscillation. 12.2 Model From Section 9.2 of the course textbook [1], the flexible link model is introduced. For this laboratory, the servo is used in the high gear ratio configuration (refer to Figure 3.5 in the textbook [1]). The flexible link is described with a fourth-order system and is shown in Figure 1. The output that we are trying to control is the total deflection of the link (i.e., γ = θ + α). The motor shaft position (θ) is measured using an encoder. The angular deflection at the tip (α) is measured by a strain gauge analog sensor that is calibrated to output one volt per inch of deflection. Figure 1: Flexible Link. The following variables are used to describe the state-space model of the flexible link: Page 1 of 7

θ: motor shaft position, measured using channel 1 encoder ENC1 θ: angular velocity of the motor shaft, measured using channel 3 ADC α: angular deflection of the link, measured using channel 5 ADC α: angular rate of the link angle, computed with a derivative filter of the form 150s s+150 We define the state vector, x, for the flexible joint as follows x = θ α θ α (1) Let y be the output of the system and u the voltage input to the motor (V in ). The state variable model is of the form { ẋ y = Ax + Bu = Cx (2) The derivation of the model equations from physics involves mathematical modeling and linearization techniques that are beyond the scope of this lab. The following matrices will comprise the design model for the system A = 0 0 1 0 0 0 0 1 0 2165 53.6 0 0 2797 53.6 0, B = 0 0 99 99, C = 1 0 0 0 0 1 0 0 1 1 0 0 12.3 Laboratory Preparation 1. Write a MATLAB script to design a pole placement based full state feedback controller for the model of the flexible joint. Use the (A, B, C) state space matrices given in this laboratory. Check for controllability of the system. For your controller design, define your pole locations as p = [ p 1 p 2 7.0164 71.9485 ], where p 1 and p 2 correspond to a pair of dominant complex poles. These complex poles are characterized by ζ = 0.5531 and ω n = 22.2655 rad/sec. Check that your system response has no overshoot and a settling time of approximately 0.72 seconds (2% criterion) in the simulation described in question 2. Page 2 of 7

2. Construct the following Simulink model in order to test the pole placement based full state feedback controller designed in question 1. You will plug-in the following information: Figure 2: Simulink model for simulation of state feedback controller. Set the Signal Generator amplitude to 45 pi/180 and frequency to 0.05 Hz. Set the simulation time to 60 seconds. Enter the corresponding A, B, C, D matrices in the State-Space box. Remember that we are interested in all the states at the output so the matrix C is different from the one given by the model. Define the gain K of the box Gain (this is not the feedback gain) such that y = θ +α. Test your feedback gain matrix K until you obtain the desired design performance. Check if the the input voltage constraint of the motor (±5V) is satisfied. If not, is only one fast transient going above the constraint? Comment about the transient response. Save all the scopes data as an array into the workspace. Do not limit the size of the output data. 3. Generate the following plots: Page 3 of 7

Comparison between the plant output (γ = θ + α) and reference input (θ d ). Indicate in the same plot the settling time of the system (2% criterion). Control signal applied to the plant. Error between the plant output and reference input (i.e., error = θ - θ d ). Subplot including all the states variables θ, θ, α, and α. 12.4 Laboratory Procedure 12.4.1 Connections Connect the motor in the position control configuration then connect the strain gauge port located on the back of link via the UPM to the fourth analog input (channel 5 ADC) on the DS1104 interface board. 12.4.2 Simulink Diagram and ControlDesk - Open MATLAB and Simulink and create a new model called Lab12 Group #.mdl, where # corresponds to the lab group number. Set the simulation parameters to a fixed step size of 1 ms and a simulation time of 60 seconds. Turn off block reduction and set the simulation initial state to STOP. - The model should look as follows: Figure 3: Simulink model for implementation of state feedback controller in dspace. - The Signal Generator amplitude is 45 pi/180 and frequency is 0.05 Hz. (a) Configure the safety stop condition of the Simulink Diagram for a save operation between +45 and 45 degrees (remember all the angles should be in radians). Hint: use the blocks relational operator, stop simulation, and constant. Page 4 of 7

(b) Configure the Position and Velocity of Motor box such that you can measure the angular position (θ) using channel 1 encoder and the angular velocity ( θ) via channel 3 ADC (Analog input 2 in the dspace board). (c) Configure the Position and Angular Rate of Link box such that you can measure the angular position of the link (α) using channel 5 ADC and compute the angular rate of the link using a derivative filter of the form 150s s+150. (d) Develop a graphical interface in dspace control desk where you can observe the simulation time, control the simulation states (i.e., STOP, PAUSE, and RUN), change the feedback gain matrix K, and show plots of the reference input, angular position of the motor shaft, angular velocity of the motor shaft, angular position of the link, angular rate of the link angle, error, and control signal. (e) Start with the feedback gain matrix K found in the pre-laboratory. Can you obtain a good performance? If not, try to re-tune your feedback gain matrix K. (f) Perform several iterations until you reach a steady-state error of less than 2% and a settling time less than 0.7 seconds. 12.5 Post-Laboratory Exercises - Plot the acquired data in MATLAB plots as you did for the pre-laboratory. Indicate the settling time and steady-state error on the plot whenever necessary. Also, include your feedback gain matrix K in at least one plot. - Compare your simulation and implementation results. Do they perfectly match? Comment about the differences. - Explain why the simulation and implementation results differ or perfectly match. Page 5 of 7

12.6 Pre-Lab Report Summary Sheet After having completed the Laboratory Preparation problems, remove this sheet and use it to summarize and organize your results. Attach this as a cover sheet (required) when you turn in the Laboratory Preparation assignment. You may wish to keep a copy of this sheet for use during the Laboratory Procedure. - Obtained Feedback gain matrix: K = [ ] - Transient Characteristics: Setting time (t s ) = Steady-state error (e ss )= NAME: Page 6 of 7

Suggested MATLAB Commands 1. Controllability 1 % C o n t r o l l a b i l i t y Matrix and i t s Rank 2 CO = ctrb (A,B) ; 3 rank CO = rank (CO) ; 2. Feedback Gain Matrix K 1 % C o n t r o l l e r Gain Matrix K 2 p = [ f i r s t p o l e s e c o n d p o l e ] ; 3 K = acker (A,B, p ) ; % A cl = A B K; References [1] Yurkovich, S. and Abiakel, E. Control Systems Technology Lab. Pearson Publishing. 2004. Page 7 of 7