WORKSHOP 7 PID TUNING.

Slides:



Advertisements
Similar presentations
Discrete Controller Design
Advertisements

Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
Simulink Overview: open simulink to open simulink Library Browser.
CHE 185 – PROCESS CONTROL AND DYNAMICS PID CONTROL APPLIED TO MIMO PROCESSES.
1 A Tool for System Simulation: SIMULINK Can be used for simulation of various systems: – Linear, nonlinear; Input signals can be arbitrarily generated:
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
HossamTalaat - MATLAB Course - KSU - 21/1/24 1 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink By Prof. Hossam Talaat.
ME 270 Final Project Presentation Operational Amplifiers.
Combined State Feedback Controller and Observer
Dynamic analysis of switching converters
Chapter 8 Model Based Control Using Wireless Transmitter.
HOMEWORK 08D Block diagrams Problem 1: Problem 2:
ME451:Kinematics and Dynamics of Machine Systems (Spring 09)
PID Controller Design and
Power PMAC Tuning Tool Overview. Power PMAC Servo Structure Versatile, Allows complex servo algorithms be implemented Allows 2 degree of freedom control.
Introduction to Matlab Module #9 Page 1 Introduction to Matlab Module #9 – Simulink Topics 1.Simulink Textbook Reading Assignments Practice Problems.
Introduction to MATLAB for Engineers Third Edition William J. Palm III Chapter 10 Simulink PowerPoint to accompany Copyright © The McGraw-Hill Companies,
Final Exam M.Eng. Amjad Elshenawy RTECS Gc(s)Gc(s) Gc(s)Gc(s) Controller   n sensor noise  w load disturbance  Gp(s)Gp(s) Gp(s)Gp(s) Plant.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Modeling of Power Converters using Matlab and Simulink
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
ADAMS Assignment 6 ME451:Kinematics and Dynamics of Machine Systems (Fall 2013) Assigned: November 13, 2013 Due: November 20, 2013.
Getting started with MATLAB/Simulink
Matlab Tutorial for State Space Analysis and System Identification
WS2-1 ADM703, Workshop 2, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 2 SPRING-DAMPER SYSTEM.
S7-1 ADM , Section 7, August 2005 Copyright  2005 MSC.Software Corporation SECTION 7 DESIGN OF EXPERIMENTS.
S3-1 ADM703, Section 3, August 2005 Copyright  2005 MSC.Software Corporation SECTION 3 SUSPENSION SYSTEM.
WS1-1 ADM , Workshop 1, August 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 1 INTRODUCTION.
SECTION 6 DESIGN STUDY. What’s in this section: –Design Variables –Design Studies Overview –Specifying an Objective –Execution Display Settings –Output.
SECTION 3 FUNCTION EVALUATION, CO-SIMULATION PERFORMANCE.
ADM711, Workshop 5, January 2013 Copyright  2013 MSC.Software Corporation WORKSHOP 5 CO-SIMULATION MODIFIERS FOR EASY 5.
THERMO-STRUCTURAL ANALYSIS
WORKSHOP 1 CO-SIMULATION.
WORKSHOP 18 HATCHBACK II.
WORKSHOP 1 introduction
Single Tank System FV Desired liquid level: 5 cm (0.05 m)
Chapter 8 State Feedback and State Estimators State Estimator In previous section, we have discussed the state feedback, based on the assumption that all.
SECTION 4 GSE IMPORT METHOD.
WORKSHOP 5 IMPORTING CAD GEOMETRY
Automatic control systems III
Modeling and Simulation Dr. Mohammad Kilani
Automatic control systems I. Nonlinearities in Control System
WORKSHOP 1 CUSTOM TIRE SUBROUTINE
Presentation at NI Day April 2010 Lillestrøm, Norway
WORKSHOP 9 BRAKE SYSTEM II
INTRODUCING Adams/CHASSIS
Damped Forced Vibrations Analysis Using CAMP-G® and Simulink® Modeled Solutions to Problem (
WORKSHOP 1 STAMPING MECHANISM
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
WORKSHOP 3 GSE IMPORT.
Homework 5 A linear time-invariant system is given as below:
Tuning of PID controllers
Introduction to Transient Simulations
Tuning of PID controllers
A Step-By-Step Description of the System Generator Flow
MATH 493 Introduction to MATLAB
GROpt.m (1) Copy the 7 files from GRopt.zip into one directory.
Hypothesis testing and Estimation
A Step-By-Step Description of the System Generator Flow
Homework 5 A linear time-invariant system is given as below:
Getting Started With Simulink
Project 1: Brake System Modelling & Control
Digital and Non-Linear Control
دانشگاه صنعتي اميركبير
Chapter 8 State Feedback and State Estimators State Estimator In previous section, we have discussed the state feedback, based on the assumption that all.
Dynamical Systems Basics
Simulink Examples Ex1: Simulate the following equation Blocks needed:
Control Systems Prof Swanson MECH 3550.
PID Controller Design and
Control Systems Prof Swanson MECH 3550.
Presentation transcript:

WORKSHOP 7 PID TUNING

Overview What you will learn in this section: How to linearize an Adams model and export a state-space (A, B, C, D) representation for Matlab. How to apply a step disturbance, measure the response and calculate approximate controller coefficients. Investigate PID controller weighting effects Hook up controller to full non-linear (Adams) model

Linearize a Model Find static equilibrium Linearize model and generate state-space representation (ABCD) about this operating point. Can specify input vs output quantities (state VARIABLEs) to use in the linearization. c b a

Linear State Space Representation from Adams Optionally create a Bode plot of the response in PostProcessor:

State Space Model in Controls Package Start Matlab in the working directory and import the servomxa, servomxb and all other files generated during creation of linear state matrices using Adams/View. Open the linear_controller.mdl Examine the Servo block. The parameters for A,B,C and D will be directly taken over by Servo block as shown in the next slide.

State Space Model in Controls Package (Cont.) ABCD Linearization in Adams produces A, B, C, D matrix files on disk; can be read into Controls package. Controls packages have a state-space block; can easily reference arrays in the workspace.

State Space Model in Controls Package (Cont.) Run the simulation for 10 sec. Plot the position of servo controller. zoomed

Determine Linear System Response Reference the figure below and approximate the slope (R) and delay (L) from your zoomed plot on the previous page: Determination of parameters a=RL and L from the unit step response Fill in the table: Observed System Response: L = R = a = (R*L) =

Determine PID Coefficients Open the Matlab model named linear_controller_PID.mdl. This new model contains a PID block in a closed loop with the state space block from before. Double-click the (PID Control Block ) to find the K, Ti and Td gain values. Use the table below to determine suitable parameters for a PID-type controller with parameters K, Ti and Td gain values: Regulator Type K Ti Td P 1/a - PI 0.9/a 3L PID 1.2/a 2L 0.5L

P, I, D Effects P – Effects control speed I – Effects steady state errors D – Effects controller damping

Manually Optimize PID Coefficients Modify the PID block in the model and set the recommended values for the k, Ti and Td gain values. The response should look something similar to the following plot: Can you manually adjust the gains to provide a ‘better’ response? For example, try this: K = 528 Ti = 2.1 Td = 0.025

Plant Export from Adams Now apply these gains to the co-simulation model and test the response with the fully non-linear system (the Adams co-simulation). Do this by: Switch back to the Adams/View ‘servo’ model and export the plant. Start ADAMS/View in this working directory and read the model file 'servo.cmd’. Export the controls plant from Controls >> Plant Export menu option using the settings shown in the image. Ensure that the necessary files have been generated in the working directory.

Test Controller with Adams Model Open the Simulink model file ‘cosim_controller_PID.mdl’ and import the co-simulation .m file from the previous step. Build the Adams block using ‘adams_sys’ and put the Adams block into the model:

Test Controller with Adams Model (Cont.) Set an appropriate co-sim sampling rate and run the co-simulation for 10 seconds. Do the co-simulation results look similar to the linear system results?

Observed System Response: Answers Observed System Response: L = 1.11 R = (0.01603-0.002939)/(1.336-1.11) = 0.05792 a = (R*L) = 0.0642