PERSONALIZED EXPERIMENTATION IN CLASSICAL CONTROLS WITH MATLAB REAL TIME WINDOWS TARGET AND PORTABLE AEROPENDULUM KIT

Similar documents
Readings: FC: p : lead compensation. 9/9/2011 Classical Control 1

Frequency Response Analysis and Design Tutorial

CDS 101/110: Lecture 8.2 PID Control

Outline. Digital Control. Lecture 3

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

MEM 01 DC MOTOR-BASED SERVOMECHANISM WITH TACHOMETER FEEDBACK

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Hands-on Lab. PID Closed-Loop Control

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

MEM01: DC-Motor Servomechanism

Course Outline. Time vs. Freq. Domain Analysis. Frequency Response. Amme 3500 : System Dynamics & Control. Design via Frequency Response

5 Lab 5: Position Control Systems - Week 2

Bode Plot for Controller Design

Lecture 7:Examples using compensators

Position Control of DC Motor by Compensating Strategies

JUNE 2014 Solved Question Paper

Root Locus Design. by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE

ME451: Control Systems. Course roadmap

Addendum Handout for the ECE3510 Project. The magnetic levitation system that is provided for this lab is a non-linear system.

Design of Compensator for Dynamical System

Automatic Control Systems 2017 Spring Semester

EE 308 Spring Preparation for Final Lab Project Simple Motor Control. Motor Control

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

Ver. 4/5/2002, 1:11 PM 1

Experiment 9. PID Controller

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

EE 482 : CONTROL SYSTEMS Lab Manual

Dr Ian R. Manchester

ME 375 System Modeling and Analysis

Low-Cost hardware connectivity with Simulink MATLAB-Day RWTH Aachen Sebastian Groß October 24th, 2013

Electrical Engineering. Control Systems. Comprehensive Theory with Solved Examples and Practice Questions. Publications

Closed Loop Magnetic Levitation Control of a Rotary Inductrack System. Senior Project Proposal. Students: Austin Collins Corey West

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

EC CONTROL SYSTEMS ENGINEERING

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

BSNL TTA Question Paper Control Systems Specialization 2007

Module 08 Controller Designs: Compensators and PIDs

Magnetic Levitation System

LECTURE 2: PD, PID, and Feedback Compensation. ( ) = + We consider various settings for Zc when compensating the system with the following RL:

Pan-Tilt Signature System

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

Industrial Control Equipment. ACS-1000 Analog Control System

AC : A STUDENT-ORIENTED CONTROL LABORATORY US- ING PROGRAM CC

Laboratory PID Tuning Based On Frequency Response Analysis. 2. be able to evaluate system performance for empirical tuning method;

AERATOR MIXING STATION

Optimal Control System Design

University of Tennessee at Chattanooga. Step Response Modeling. Control Systems Laboratory

JNTUWORLD. 6 The unity feedback system whose open loop transfer function is given by G(s)=K/s(s 2 +6s+10) Determine: (i) Angles of asymptotes *****

Lab Report 4: Root Locus and Proportional Controller

GE 320: Introduction to Control Systems

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives

Figure 1.1: Quanser Driving Simulator

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

AERATOR MIXING STATION

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear control systems design

(1) Identify individual entries in a Control Loop Diagram. (2) Sketch Bode Plots by hand (when we could have used a computer

Engine Control Workstation Using Simulink / DSP. Platform. Mark Bright, Mike Donaldson. Advisor: Dr. Dempsey

DEGREE: Biomedical Engineering YEAR: TERM: 1

ECE317 : Feedback and Control

Design of Missile Two-Loop Auto-Pilot Pitch Using Root Locus

Different Controller Terms

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

International Journal of Research in Advent Technology Available Online at:

Ball and Beam. Workbook BB01. Student Version

PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SCIENCE AND ENGINEERING

Bode Plots. Hamid Roozbahani

Lab 1: Simulating Control Systems with Simulink and MATLAB

Lab 11. Speed Control of a D.C. motor. Motor Characterization

VECTOR CONTROL SCHEME FOR INDUCTION MOTOR WITH DIFFERENT CONTROLLERS FOR NEGLECTING THE END EFFECTS IN HEV APPLICATIONS

Application Note #2442

Implementation of Proportional and Derivative Controller in a Ball and Beam System

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Lecture 9. Lab 16 System Identification (2 nd or 2 sessions) Lab 17 Proportional Control

Using Root Locus Modeling for Proportional Controller Design for Spray Booth Pressure System

Compensation of a position servo

EE 370/L Feedback and Control Systems Lab Section Post-Lab Report. EE 370L Feedback and Control Systems Lab

CHAPTER 4 PID CONTROLLER BASED SPEED CONTROL OF THREE PHASE INDUCTION MOTOR

Teaching Mechanical Students to Build and Analyze Motor Controllers

Motor Modeling and Position Control Lab 3 MAE 334

SECTION 6: ROOT LOCUS DESIGN

6.270 Lecture. Control Systems

EE Experiment 8 Bode Plots of Frequency Response


Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Winter Semester, Linear control systems design Part 1

TigreSAT 2010 &2011 June Monthly Report

A Comparison And Evaluation of common Pid Tuning Methods

CHAPTER 6 UNIT VECTOR GENERATION FOR DETECTING VOLTAGE ANGLE

Equipment and materials from stockroom:! DC Permanent-magnet Motor (If you can, get the same motor you used last time.)! Dual Power Amp!

Linear Control Systems Lectures #5 - PID Controller. Guillaume Drion Academic year

Ball Balancing on a Beam

AC : DEVELOPING A MATLAB/SIMULINK RTWT BASED HYDRAULIC SERVO CONTROL DESIGN EXPERIMENT

Lecture 5 Introduction to control

CDS 101/110a: Lecture 8-1 Frequency Domain Design. Frequency Domain Performance Specifications

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2)

Teaching Children Proportional Control using ROBOLAB 2.9. By Dr C S Soh

4. Simulation Results

Implementation and Simulation of Digital Control Compensators from Continuous Compensators Using MATLAB Software

Name: Lab Partner: Section: The purpose of this lab is to study induction. Faraday s law of induction and Lenz s law will be explored. B = B A (8.

ECE 5670/6670 Lab 7 Brushless DC Motor Control with 6-Step Commutation. Objectives

Transcription:

Eniko T. Enikov, University of Arizona Estelle Eke, California State University Sacramento PERSONALIZED EXPERIMENTATION IN CLASSICAL CONTROLS WITH MATLAB REAL TIME WINDOWS TARGET AND PORTABLE AEROPENDULUM KIT

Outline Motivation The Aeropendulum Apparatus Real-Time vs. Soft Real Time Student Design Activities Plant modeling, parameter identification, identification of non-linearities Feedback linearization, steady-state error and system types parameter identification Matlab's pem() prediction-error minimization function (time permitting) closed-loop control experiments: proportional, phase lag, phase lead and on/off (bang-bang) control (time permitting) Results from implementation at CSUS and Univ. of Arizona

Motivation Develop an portable lowcost apparatus that illustrates classical control systems course with a hands-on experimentation. Eliminate the need for lab space, teaching assistant. Provide a quick pathway from controller design to implementation for mechanical engineering students.

Experimental Apparatus Acrylic stand Pendulum with angle sensing potentiometer, DC-motor and propeller Target circuit board driving the propeller with different PWM ratios in forward and reverse direction MATLAB Simulink Real Time Windows Target GUI for controller implementation

Data Flow Diagram

Real Time Windows Target Environment

Modeling Tasks

Experiment 1: Parameter Extraction Using the steady-state response, find the parameters K/mg

Challenge 1: Dealing with Dead Zone

Challenge II: Feedback Linearization Result Type 1 System

Experiment II: Weightless Pendulum (K=0)

Experiment III: Parameter Identification (Kp=1)

Challenge III: Stability and Root Locus. What is wrong? Kp>3 (unstable)

Model Correction: Motor Dynamics

Experiment IV: Controller Design Using Bode Plots

Evaluation

Hands-On Activities Open Loop Response

plot(t,theta,t,pwm); grid minor 120 100 PWM 80 60 40 20 0-20 0 10 20 30 40 50 60

Gather Data u_ss=[0 10 20 30 40 50 60 70 80 90 100 110 120]; theta_ss=[0 0 0 0 8 16 24 32 40 48 56 68 73]; sine_ss=sind(theta_ss); plot(sine_ss,u_ss) ylabel('pwm Input') xlabel('sin theta_{ss}')

Steady State Data 120 100 80 PWM Input 60 40 20 0 0 0.2 0.4 0.6 0.8 1 SIN theta ss

Fit a Line on Points 3-13 P=polyfit(sine_ss(3:13),u_ss(3:13),1) ; plot(sine_ss,u_ss,sine_ss(3:13), polyval(p,sine_ss(3:13))) shg legend('experiment', 'Linear fit')

Slope and Offset P = 92.4879 24.1771 120 100 Experiment Linear fit 80 60 40 X: 0 Y: 24.18 20 0 0 0.2 0.4 0.6 0.8 1

Project Installment # 2 Update Model mg S K u 24 0 92.5 u0=24 Slope=92.5

Test Using Closed Loop with Zero Gain (Slope needs adjustment, c. a 80) 100 80 60 40 20 0-20 -40 0 5 10 15 20 25 30

Check System Type using Kp=1 Theta=30

plot(t,theta) 40 35 30 25 20 4-5 degrees error (linearization Is not perfect) 15 10 5 0-5 0 2 4 6 8 10 12

Identify Parameters From the response extract approximate values for and, then calculate and. (Use formulas for overshoot, peak time, rise time etc. to find and and then related to the physical parameters). The plot achieved for proportional controller may produce an over-damped relation in which case you will not be able to find out the parameters by using the above formulas. Just try increasing the proportional gain K p to the point when you start getting an overshoot.

Using Kp=2 50 40 30 20 10 0 Tr=0.4 sec=>wn=4.5 PO=(48-32)/32=50% K/mL=4.5^2/Kp=10 c/ml^2=2*dzeta*wn/kp=0.97-10 0 1 2 3 4 5 6 7 8 9 sec Matlab for Damping > zeta=fzero(@(x)exp(-pi*x/sqrt(1-x^2))-0.5,0) zeta=0.22

System Identified g=tf(10,[1 0.97 0]) 10 +0.97 0.4 Root Locus 0.3 Imaginary Axis (seconds -1 ) 0.2 0.1 0-0.1-0.2-0.3-0.4-1 -0.8-0.6-0.4-0.2 0 0.2 0.4 Real Axis (seconds -1 )

Test Stability with Kp=1, 2, 3 Kp=2.4 ->stability limit 60 50 40 30 20 10 0-10 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

Modify The Model Kp ( s 2 10 0.97s) 1 s 3 Root Locus g=tf(10,conv([1 0.97 0],[1 4.5])) rlocus(g) Imaginary Axis (seconds -1 ) 2 1 0-1 -2 System: g Gain: 2.3 Pole: -0.0129 + 2.06i Damping: 0.00627 Overshoot (%): 98 Frequency (rad/s): 2.06-3 -7-6 -5-4 -3-2 -1 0 1 Real Axis (seconds -1 )

Adjust for Steady State Error Kp 10 2 ( s 0.97s) 1 4. 5s Kp 10 2 ( s 0.97s b) 1 4. 5s 1 e ss 10 1 b b 2 5 30

Lag Compensator s z s p 10 2 ( s 0.97s 2) 1 4. 5s Imaginary Axis (seconds -1 ) 15 10 5 0-5 -10 s 5 s 1 Root Locus System: untitled1 Gain: 0.46 Pole: 0.092 + 1.81i Damping: -0.0509 Overshoot (%): 117 Frequency (rad/s): 1.81 Imaginary Axis (seconds -1 ) 10 5 0-5 s 0.5 s 0.1 Root Locus System: untitled1 Gain: 1.34 Pole: -0.0834 + 2.05i Damping: 0.0407 Overshoot (%): 88 Frequency (rad/s): 2.0-15 -15-10 -5 0 5 10 Real Axis (seconds -1 ) -10-12 -10-8 -6-4 -2 0 2 4 Real Axis (seconds -1 )

Step Response of Lag Compensation 45 40 35 30 25 20 15 10 5 0 X: 15.39 Y: 30.8 c=tf([1.5],[1.1]) clagd=c2d(c,0.01) -5 0 5 10 15 20

Prof. Eke s Slides on Implementation

Optional Activities Lead Compensator Lead-Lag Compensator On/Off Controller