Motomatic via Bode by Frank Owen, PhD, PE Mechanical Engineering Department California Polytechnic State University San Luis Obispo

Similar documents
Designing PID controllers with Matlab using frequency response methodology

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

Frequency Response Analysis and Design Tutorial

Magnetic Levitation System

Analog Electronics. Lecture Pearson Education. Upper Saddle River, NJ, All rights reserved.

EE 482 : CONTROL SYSTEMS Lab Manual

ECE317 : Feedback and Control

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

CDS 101/110: Lecture 8.2 PID Control

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

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

Lesson number one. Operational Amplifier Basics

Homework Assignment 13

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

Another Compensator Design Example

Lecture 2 Exercise 1a. Lecture 2 Exercise 1b

Lecture 7:Examples using compensators

Homework Assignment 13

ITT Technical Institute ET245 Devices II Unit 5 Chapter

JUNE 2014 Solved Question Paper

Op-Amp Simulation Part II

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

Homework Assignment 03 Solution

Outline. Digital Control. Lecture 3

Dr Ian R. Manchester

Analog Electronic Circuits Code: EE-305-F

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

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

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

Lecture 48 Review of Feedback HW # 4 Erickson Problems Ch. 9 # s 7 &9 and questions in lectures I. Review of Negative Feedback

Compensation of a position servo

Core Technology Group Application Note 2 AN-2

LESSON 21: METHODS OF SYSTEM ANALYSIS

An input resistor suppresses noise and stray pickup developed across the high input impedance of the op amp.

Lecture Notes Unit-III

Position Control of DC Motor by Compensating Strategies

The MFT B-Series Flow Controller.

Lecture 5 Introduction to control

STABILITY IMPROVEMENT OF POWER SYSTEM BY USING PSS WITH PID AVR CONTROLLER IN THE HIGH DAM POWER STATION ASWAN EGYPT

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc.

Exercise 2: Temperature Measurement

Chapter 10 Digital PID

EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism

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

Position Control of AC Servomotor Using Internal Model Control Strategy

9 Feedback and Control

SAR (successive-approximation-register) ADCs

Servo Tuning Tutorial

ME451: Control Systems. Course roadmap

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

EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning

BUCK Converter Control Cookbook

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

Loop Design. Chapter Introduction

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

Integrator windup and PID controller design

Practical Testing Techniques For Modern Control Loops

Controllers with Multisim

Operational Amplifier BME 360 Lecture Notes Ying Sun

EES42042 Fundamental of Control Systems Bode Plots

Testing and Stabilizing Feedback Loops in Today s Power Supplies

Electronics Prof D. C. Dube Department of Physics Indian Institute of Technology, Delhi

ELEC207 LINEAR INTEGRATED CIRCUITS

TUTORIAL 9 OPEN AND CLOSED LOOP LINKS. On completion of this tutorial, you should be able to do the following.

Design and Implementation of the Control System for a 2 khz Rotary Fast Tool Servo

Rotary Motion Servo Plant: SRV02. Rotary Experiment #02: Position Control. SRV02 Position Control using QuaRC. Student Manual

Bode Plots. Hamid Roozbahani

Closed-Loop Position Control, Proportional Mode

While the Riso circuit is both simple to implement and design it has a big disadvantage in precision circuits. The voltage drop from Riso is

EECE488: Analog CMOS Integrated Circuit Design Set 7 Opamp Design

Servo Loop Bandwidth, Motor Sizing and Power Dissipation. Mark Holcomb Senior Engineer, Motion Control Specialist Celera Motion

PHYSICS 330 LAB Operational Amplifier Frequency Response

Lecture #4 Basic Op-Amp Circuits

using dc inputs. You will verify circuit operation with a multimeter.

5 Lab 5: Position Control Systems - Week 2

Homework Assignment 10

ECE 532 Hspice Tutorial

Motor Control. Suppose we wish to use a microprocessor to control a motor - (or to control the load attached to the motor!) Power supply.

Operational Amplifier (Op-Amp)

EE Experiment 8 Bode Plots of Frequency Response

Pole, zero and Bode plot

Lecture 2 Analog circuits. Seeing the light..

Motomatic Servo Control

UAV: Design to Flight Report

Teaching Mechanical Students to Build and Analyze Motor Controllers

Q Multiplication in the Wien-bridge Oscillator

Lecture #2 Operational Amplifiers

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook.

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

Homework Assignment 06

EE 435. Lecture 16. Compensation Systematic Two-Stage Op Amp Design

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

DC SERVO MOTOR CONTROL SYSTEM

ECE317 Homework 7. where

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

Bode Plot for Controller Design

Assist Lecturer: Marwa Maki. Active Filters

Auto-zeroed Op Amps. MCP6V0X Architecture Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1

This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999.

Transcription:

Motomatic via Bode by Frank Owen, PhD, PE Mechanical Engineering Department California Polytechnic State University San Luis Obispo The purpose of this lecture is to show how to design a controller for the Motomatic that uses Bode plots to evaluate the system and design the controller. The original system is shown in the following figure. We want to design a PID controller for the Motomatic, which requires running the system with computer control. This can be easily done by interfacing the computer directly to the system. An analog output from the computer is fed into the input to the voltage amplifier. And the voltage out of the potentiometer for output shaft is fed into the analog input of the computer. Ideally, this voltage should be stepped down from ±15 volts to ±10 volts. With this configuration, the Motomatic loop becomes G OL is then = ( + 1) Units-wise, GC is volts/deg, K A is volts/volt, and KR is rpm/rpm. The units on the bottom are sec-1 for the s s and sec for T M. So the units overall are volts/deg from GC, (rev/min)/volt from K M, and sec from 1/s: volt deg rev min volt sec 360 deg rev min 60 sec = 6 Thus we put deg in and get deg out. We must multiply the G OL with the quantities in their native units by 6 to get deg/deg. We do not have the sign inversions that we had with the op-amp comparator, and K A is negative, so we need to put in a -1 for stability. Thus we simply consider K A to be positive. Run a Matlab script file to initialize the parameters: KA = 5; KM = 175; TM = 0.3; KR = 1/9; %v/v %rpm/v %sec %rpm/rpm Then we create G OL with a K P = 1: >> s = tf( s ) 1 P a g e

>> gol = KA*KM*KR/(s*(TM*s+1)) To see where we stand, we draw a Bode plot: >> bode(gol) >> grid on From this we can see that the system is, indeed, type 1. The system has no phase cross-over frequency, since is never < -180. The system also has almost no phase margin. If we blow up the above diagram, we see that the gain cross-over frequency is 44 rad/sec, and at this frequency = -176. So M = 14. 2 P a g e

This would cause quite a bit of overshoot. We can calculate this. With M = 14, So = Φ 100 = 0.14 We can verify this by calculating the G CL and inputting a unit step. The modified Motomatic is unity feedback, so >> gcl = gol/(1+gol) >> figure(2) >> step(gcl) The step response is, indeed, wiggly, as shown below. The overshoot is actually more than 64%. It looks as if it is more like 90%. The simplified relationship between M and is just an approximation. 3 P a g e

The system is type 1. We can see that with the step, the system does actually wind up at 1.0. We need to reduce the phase margin to knock the overshoot down some. We could de-tune the system. If we did this and, say, aimed for 45 of phase margin: We look at the phase curve and find the frequency where = -135. In a blown-up view, we see that that occurs at a = 3.35 rad/sec. 4 P a g e

There the log mag curve is at a value of 41 or 42 db. Thus 20 log = 42 We actually need to lower the log mag curve by this amount so So 5 P a g e

This has, indeed, cut down on the wiggling. Also it seems that in both cases, the system gets to 1.0 in about 2 to 2.5 sec. So even though the peak time for the de-tuned controller is much longer, the time it takes to get to the final value is about the same. Let s try another approach, where we perform a phase lift on the original system. This is equivalent to designing a PD controller. Remember, we do not need a PID at this point (for a step input), because we already have a type 1 system. It s like the system is already providing the I-part, all we need to do is provide the D-part to speed the system up. Our strategy will be to place the zero (lead) and then use the gain to fine tune the result. If we look at the Bode plot of the original system, let s add the lead to lift the curve up on the right hand end. At = 100 rad/sec, is getting pretty close to -180. So to get the complete lift, put the break frequency for the lead one decade before that, i.e. B = 10 rad/sec. Thus the lead is and the Matlab commands are 1 10 + 1 6 P a g e

This gives obviously a big improvement. Let s then just take advantage of 90 of phase lift and adjust the system gain so that the gain cross-over frequency is 1000 rad/sec. If we look at the Bode plot, at 1000 rad/sec the log mag value of the system with a lead is around -30 db. So 20 log = 30 We need to raise the log mag curve by this amount, so We install this gain and then have a PD controller. Let s check out the Bode and then the step response. 7 P a g e

This had the desired effect. Note that now the gain cross-over frequency is 1000 rad/sec and the phase margin is 90. Let s see what this does to the closed-loop step response. At first glance, it looks as if the system is, yes, without overshoot, but very slow. But then if we look more carefully, we see that the time scale is in milliseconds instead of in seconds. So the system responds very, very quickly also with no overshoot. 8 P a g e

Remember, however, that the controller talks to the actuator, and the actuator may not be powerful enough to effect this. The way to see that would be to build a Simulink model and put a saturation block in it, then simulate that system. Now we have a controller From this you can figure out the values of K D and K P. = 31.6 (0.1 + 1) = + 9 P a g e