Lecture 5 Introduction to control

Size: px
Start display at page:

Download "Lecture 5 Introduction to control"

Transcription

1 Lecture 5 Introduction to control Feedback control is a way of automatically adjusting a variable to a desired value despite possible external influence or variations. Eg: Heating your house. No feedback (open loop): Actual temperature varies depending on whether windows are open, how cold it is outside etc,.. Desired temperature T Outside temperature House temperature responds to heat Determine typical heater power required Turn heater on or off

2 Control: Introduction Feedback control is a way of automatically adjusting a variable to a desired value despite possible external influence or variations. Feedback (closed loop): Measure actual house temperature T Desired temperature T Outside temperature House temperature responds to heat Analyze difference between Desired and Actual temperature Turn heater on or off

3 The purpose of control theory is to make these two numbers the same despite external influences Feedback control is a way of automatically adjusting a variable to a desired value despite possible external influence or variations. Feedback (closed loop): Measure actual house temperature T = Desired temperature T Outside temperature House temperature responds to heat Analyze difference between Desired and Actual temperature Turn heater on or off

4 Feedback Control Build a circuit that: Steadies a piece of paper attached to a motor by optical feedback, such that when the motor is translated, the end of the paper remains stationary. Note: Use the QRD1114 to detect the paper position. Feed this through an op-amp with controllable gain, and use the op-amp to drive a motor that turns the paper. Experiment with different gain values.

5 Feedback Control Build a QRD circuit and use voltmeter to check that output varies by a few volts when paper comes near QRD Buffer its output with a TL082 Build a variable gain inverting amp with a TL082 and a pot. Use a fixed positive voltage reference that lies in the range of the QRD values. Hook it all up

6 Control: Introduction ON/OFF control: X = distance between center of robot and center of tape x while(1) { if (x=0) go_straight(); if (x>0) turn_left(); if (x<0) turn right(); } This tends to lead to oscillations around the center of the tape.

7 Control: Introduction Proportional control: x > 0 X = distance between center of robot and center of tape steer(int dir); - a hypothetical function that steers robot left (dir<0) or right (dir>0) in a radius of 600 /dir. while(1) { steer(k*x); } K is the proportional gain of this feedback loop and MUST be negative. This is much better and more accurate than ON/OFF control, though it will still have significant error and oscillate for large values of K. x

8 Control: Introduction Proportional control: x > 0 X = distance between center of robot and center of tape steer(int dir); - a hypothetical function that steers robot left (dir<0) or right (dir>0) in a radius of 600 /dir. while(1) { steer(k*x); } x So what is the right algorithm?????

9 Transfer functions revisited (Laplace transform notation: s~jw) V(s) is the Laplace transform of v(t). Some rules: 1) Proportionality: v out (t) = K*v in (t) H(s) = V out (s)/ V in (s) V out (s) = K*V in (s) 10log H(s) H(s) = K q log(k) V st ( s) v( t) e dt 0 Time domain Frequency domain log w 0 log w

10 2) Integration: 10log H(s) v V out out ( t) ( s) H ( s) K KV K s v in s in ( t) dt ( s) q Time domain Frequency domain -10 db/dec log w 0-90 log w

11 3) Differentiation: v V out out dvin( t) ( t) K dt ( s) KsV ( s) in 10log H(s) H ( s) Ks q +10 db/dec 90 log w 0 log w

12 Feedback loops Y = variable you d like to control (eg: shaft angle of a servo motor) X = your desired value of Y (eg: 10 degrees) X(s) + Y = G(X-HY) Y(1+GH) = GX - Error G(s) H(s) Y(s) Y Motor and amplifier behavior Sensor / compensator behavior G Y/X = G/(1+GH) X 1 GH G = forward transfer function, GH = loop transfer function

13 Feedback loops: stability Y G X 1 GH This loop will be unstable if GH = -1 GH =1, phase(gh)= ±180 deg. G(s)H(s) = -1 implies Y X for some value of s i.e. there will exist a frequency for which the loop will provide infinite amplification

14 Loop Stability Y X G 1 GH Partial stability criterion: GH < 1 where the phase of GH is ± 180 deg. 10log GH STABLE q 0 db -8 db Gain Margin w 0 log w w 0 log w

15 Loop Stability Y X KG 1 KGH Partial stability criterion: GH < 1 where the phase of GH is ± 180 deg. 10log GH UNSTABLE q w 0 0 db log w 0 w 0 log w Increasing loop gain eventually makes all systems unstable

16 Steady state error Steady state error: The difference between actual and desired values when these values are not fluctuating with time (DC behavior). X(s) + Error = X-Y - Y = KG* Error Error K G(s) Y(s) SSError Make KG 0 (DC gain) large to minimize error. This can increase loop gain at high frequencies and lead to instability. Y KG(0)

17 Steady state error and stability Another look at negative feedback in an op-amp: Vin Vout + R1 R2 Error V in + - G(s) V out H(s) Model Op-amp as G(s) = K/s H ( s) R 1 R 1 R 2

18 Steady state error and stability Another look at negative feedback in an op-amp: V in + - K/s V out R 1 /(R 1 +R 2 ) V V out in 1 K / s K R s R 1 1 R 2 s K KR1 R R 1 2 Vin R1 + R2 Vout For large K and low frequency, this reduces to V V out in R 1 2 R 1

19 Steady state error and stability Another look at negative feedback in an op-amp: V in + - V error K/s V out Stability: GH K s R1 ( R R ) 2 1 R 1 /(R 1 +R 2 ) Phase of GH is -90 for all frequencies. This is inherently stable as GH will never = -1

20 Steady state error and stability Another look at negative feedback in an op-amp: V in + - V error K/s R 1 /(R 1 +R 2 ) V out GH K s R1 ( R R ) 2 1 Steady state error: V K s out V error sv V out error Verror 0 K At s=0 (DC)! Integration (1/s) in the loop reduces steady state error to zero without need for infinite loop gain at higher frequencies!

21 Stability Summary Y X KG 1 KGH Having one or fewer poles in the plant function KGH ensures that the loop is never unstable. The more poles exist in KGH, the harder it will be to control. Problems will start to occur when controlling at frequencies above the pole frequencies. Increasing loop gain eventually makes all systems unstable due to unexpected high frequency poles.

22 Compensation V in + - H(s) G(s) V out A feedback system is usually divided into two transfer functions: The plant function (G(s)) which usually you cannot alter (motor characteristics etc.) A compensator circuit H(s) that you can design to optimize the feedback loop A common type of all-purpose compensation is PID: Proportional (K p ) Integral (K i /s) Derivative (sk d )

23 PID Compensation V in + - H(s) G(s) V out Typical PID transfer function: H(s) = K tot (K p +K i /s+sk d ) The various gains (K tot,k p,k i,k d ) are adjusted to control how much of each type of compensation is applied for a specific plant function G(s). This adjustment is referred to as tuning and is often done iteratively (a slightly improved form of trial and error) when the plant function G is not well known.

24 PID example: position servo (demo) q in Knob k V set + TINAH Board knob: q in code H(s) analog(0) V error V pot PID H(s) k Pot Pwm out Motor K/(s(s+a)) motor G(s) q out q out Mechanical connection k potentiometer

25 PID example: position servo q in Knob k V set + - V error PID H(s) Motor K/(s(s+a)) q out V pot k Motor transfer function: Pot q dt w max q dt (at high frequencies: G=K/s 2 ) (at low frequencies: G=K/s) G( s) K s( s a) Torque Inertia q w w

26 PID example: position servo q in Knob k V set + - V error V pot PID Motor H(s) K/(s(s+a)) k Pot q out Loop transfer function (stability analysis): G( s) K s( s H(s) =? a) Try proportional control: H(s) = K p

27 Stability: position servo P control Loop transfer function (P only): log GH 0 db GH ( s) Gain Margin a KK s( s p a) 10a Stable for limited gain log w q V out q error Verror KK s( s p V a) p error s ( s a ) q KK 0 out at s=0! 10a log w

28 Stability: position servo I control Open loop transfer function (I only): KK GH ( s) 2 s ( s i a) H ( s) K s i q -180 log w -270 Phase crosses 180 at DC, with infinite DC gain! Inherently unstable at s=0

29 Stability: position servo D control Open loop transfer function (D only): GH ( s) KK ( s d a) Phase always less than 180 Stable even for large gains! 0-90 q V error H( s) ( s a ) q KK sk d log w SS error 0! Problems: May be hard to implement due to amplification of fast transients. Can be combined with P gain to add high gain stability and low SS error Model is not complete loop will still be unstable at very high gains. d out

30 Tuning PID Often PID tuning is done by nearly trial and error. Here is a common Procedure which works for many (but not all) plant functions. USE external pots or menus to adjust!!!!! Set P=I=D=0 Increase P slightly and ensure that the sign of the gains is correct. Increase P until oscillations begin Increase D to dampen oscillations Iterate increasing P and D until fast response is achieved with little overshoot Increase I to remove any Steady State error. If overshoot is too large try decreasing P and D. Test with step response: Crit. damped over damped under damped

31 Control: Introduction How to measure X (distance from tape): Use QRD1114 reflectance sensors to detect lack of reflectance from tape. tape sensor

32 How to measure X: Control: Introduction X = distance between center of robot and center of tape x > 0 x You can form a rough approximation of X by digital to analog conversion of your digital inputs with history: Situation Left sensor Right Sensor X Both sensors on tape Left sensor off tape, right on Right sensor off tape, left on Both sensors off (right was last on) Both sensors off (left was last on)

33 Please consider the following problem for a robot with differential rear drive steering: Which robot configuration has more poles in the transfer function between I (current to motors) and x (distance of sensors from tape)? sensors sensors x x pivot 1 pivot 2

34 x q r 1 v q in 0 x 0 in l Actual x value in time domain: x l sinq vsinqdt lq vqdt Actual X in frequency domain: vq X ~ lq at low v X lq s vq X for l = 0 s q K (we want robot to follow tape) bot I pwm s( s a) where a Tr 1 I bot I bot is the chassis moment of inertia

35 Design tips for stability Minimize robot polar moment of inertia (I robot ) Maximize robot torque about polar axis (r 1 /D wheel ) Maximize distance from polar axis to tape sensors (l) Minimize sensor dead band Change gear ratio / wheel size to increase torque / reduce speed if you find stability is only achieved at very low motor powers. X lq vq s q s( s Kr Kr 1 1 I I pwm pwm / D / I wheel robot D wheel )

36 Linearization of non-linear functions Control can be very difficult if G is non-linear. PWM drive (combined with friction) yields a very non-linear torque curve: T PWM Solution: Linearize this curve in software by mapping PWM to desired Torque PWMout PWMin

37 Analog PID in software (Servo control) loop pot = analog(6); set = knob(); error = set-pot; p=kp*error; d=kd*(error-lasterr); i=ki*error+i; if (i>maxi) i = maxi; if (i<-maxi) i = -maxi; g = p+i+d; motor(3,g); lasterr=error; Feedback potentiometer Set point Proportional Integration Derivative Anti-windup Because i is an integral, it will build up to large values over time for a constant error. An anti-windup check must be put in place to avoid it overwhelming P and D control when the error is removed.

38 Digital PID in software (Tape following) left=analog(5); right=analog(6); if ((left>thresh)&&(right>thresh)) error = 0; if ((left>thresh)&&(right<thresh)) error = -1; if ((left<thresh)&&(right>thresh)) error = +1; if ((left<thresh)&&(right<thresh)) { if (lerr>0) error = 5; if (lerr<=0) error=-5; } if (!(error==lerr)) { recerr=lerr; q=m; m=1; } p=kp*error; d=(int)((float)kd*(float)(error-recerr)/(float)(q+m)); con = p+d; if (c==30) { printf("%d %d %d %d %d %d\n",right,left,kp,kd,p,d); c=0; } c=c+1; m=m+1; motor(0,-speed+con); motor(3,+speed+con); lerr=error; QRD sensors History Derivative approximation Proportional / Derivative Motor control Display status Special care needs to be taken for the derivative to approximate its real value.

Phys Lecture 5. Motors

Phys Lecture 5. Motors Phys 253 Lecture 5 1. Get ready for Design Reviews Next Week!! 2. Comments on Motor Selection 3. Introduction to Control (Lab 5 Servo Motor) Different performance specifications for all 4 DC motors supplied

More information

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

(1) Identify individual entries in a Control Loop Diagram. (2) Sketch Bode Plots by hand (when we could have used a computer Last day: (1) Identify individual entries in a Control Loop Diagram (2) Sketch Bode Plots by hand (when we could have used a computer program to generate sketches). How might this be useful? Can more clearly

More information

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

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS ANNA UNIVERSITY :: CHENNAI - 600 025 MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS Time: 3hrs Max Marks: 100 Answer all Questions PART - A (10

More information

Automatic Control Systems 2017 Spring Semester

Automatic Control Systems 2017 Spring Semester Automatic Control Systems 2017 Spring Semester Assignment Set 1 Dr. Kalyana C. Veluvolu Deadline: 11-APR - 16:00 hours @ IT1-815 1) Find the transfer function / for the following system using block diagram

More information

6.270 Lecture. Control Systems

6.270 Lecture. Control Systems 6.270 Lecture Control Systems Steven Jorgensen Massachusetts Institute of Technology January 2014 Overview of Lecture Feed Forward Open Loop Controller Pros and Cons Bang-Bang Closed Loop Controller Intro

More information

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback Expo Paper Department of Electrical and Computer Engineering By: Christopher Spevacek and Manfred Meissner Advisor:

More information

JUNE 2014 Solved Question Paper

JUNE 2014 Solved Question Paper JUNE 2014 Solved Question Paper 1 a: Explain with examples open loop and closed loop control systems. List merits and demerits of both. Jun. 2014, 10 Marks Open & Closed Loop System - Advantages & Disadvantages

More information

EC CONTROL SYSTEMS ENGINEERING

EC CONTROL SYSTEMS ENGINEERING 1 YEAR / SEM: II / IV EC 1256. CONTROL SYSTEMS ENGINEERING UNIT I CONTROL SYSTEM MODELING PART-A 1. Define open loop and closed loop systems. 2. Define signal flow graph. 3. List the force-voltage analogous

More information

SECTION 6: ROOT LOCUS DESIGN

SECTION 6: ROOT LOCUS DESIGN SECTION 6: ROOT LOCUS DESIGN MAE 4421 Control of Aerospace & Mechanical Systems 2 Introduction Introduction 3 Consider the following unity feedback system 3 433 Assume A proportional controller Design

More information

Lecture 10. Lab next week: Agenda: Control design fundamentals. Proportional Control Proportional-Integral Control

Lecture 10. Lab next week: Agenda: Control design fundamentals. Proportional Control Proportional-Integral Control 264 Lab next week: Lecture 10 Lab 17: Proportional Control Lab 18: Proportional-Integral Control (1/2) Agenda: Control design fundamentals Objectives (Tracking, disturbance/noise rejection, robustness)

More information

Introduction to Servo Control & PID Tuning

Introduction to Servo Control & PID Tuning Introduction to Servo Control & PID Tuning Presented to: Agenda Introduction to Servo Control Theory PID Algorithm Overview Tuning & General System Characterization Oscillation Characterization Feed-forward

More information

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

Motor Control. Suppose we wish to use a microprocessor to control a motor - (or to control the load attached to the motor!) Power supply. Motor Control Suppose we wish to use a microprocessor to control a motor - (or to control the load attached to the motor!) Operator Input CPU digital? D/A, PWM analog voltage Power supply Amplifier linear,

More information

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

LECTURE 2: PD, PID, and Feedback Compensation. ( ) = + We consider various settings for Zc when compensating the system with the following RL: LECTURE 2: PD, PID, and Feedback Compensation. 2.1 Ideal Derivative Compensation (PD) Generally, we want to speed up the transient response (decrease Ts and Tp). If we are lucky then a system s desired

More information

Motomatic Servo Control

Motomatic Servo Control Exercise 2 Motomatic Servo Control This exercise will take two weeks. You will work in teams of two. 2.0 Prelab Read through this exercise in the lab manual. Using Appendix B as a reference, create a block

More information

MM7 Practical Issues Using PID Controllers

MM7 Practical Issues Using PID Controllers MM7 Practical Issues Using PID Controllers Readings: FC textbook: Section 4.2.7 Integrator Antiwindup p.196-200 Extra reading: Hou Ming s lecture notes p.60-69 Extra reading: M.J. Willis notes on PID controler

More information

Experiment 9. PID Controller

Experiment 9. PID Controller Experiment 9 PID Controller Objective: - To be familiar with PID controller. - Noting how changing PID controller parameter effect on system response. Theory: The basic function of a controller is to execute

More information

EC6405 - CONTROL SYSTEM ENGINEERING Questions and Answers Unit - II Time Response Analysis Two marks 1. What is transient response? The transient response is the response of the system when the system

More information

Feedback Systems. Many embedded system applications involve the concept of feedback. Sometimes feedback is designed into systems: Actuator

Feedback Systems. Many embedded system applications involve the concept of feedback. Sometimes feedback is designed into systems: Actuator Feedback Systems Many embedded system applications involve the concept of feedback Sometimes feedback is designed into systems: Operator Input CPU Actuator Physical System position velocity temperature

More information

ME 375 System Modeling and Analysis

ME 375 System Modeling and Analysis ME 375 System Modeling and Analysis G(s) H(s) Section 9 Block Diagrams and Feedback Control Spring 2009 School of Mechanical Engineering Douglas E. Adams Associate Professor 9.1 Key Points to Remember

More information

Dr Ian R. Manchester

Dr Ian R. Manchester Week Content Notes 1 Introduction 2 Frequency Domain Modelling 3 Transient Performance and the s-plane 4 Block Diagrams 5 Feedback System Characteristics Assign 1 Due 6 Root Locus 7 Root Locus 2 Assign

More information

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

Lab 11. Speed Control of a D.C. motor. Motor Characterization Lab 11. Speed Control of a D.C. motor Motor Characterization Motor Speed Control Project 1. Generate PWM waveform 2. Amplify the waveform to drive the motor 3. Measure motor speed 4. Estimate motor parameters

More information

BSNL TTA Question Paper Control Systems Specialization 2007

BSNL TTA Question Paper Control Systems Specialization 2007 BSNL TTA Question Paper Control Systems Specialization 2007 1. An open loop control system has its (a) control action independent of the output or desired quantity (b) controlling action, depending upon

More information

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system Chapter Four Time Domain Analysis of control system The time response of a control system consists of two parts: the transient response and the steady-state response. By transient response, we mean that

More information

ADJUSTING SERVO DRIVE COMPENSATION George W. Younkin, P.E. Life Fellow IEEE Industrial Controls Research, Inc. Fond du Lac, Wisconsin

ADJUSTING SERVO DRIVE COMPENSATION George W. Younkin, P.E. Life Fellow IEEE Industrial Controls Research, Inc. Fond du Lac, Wisconsin ADJUSTING SERVO DRIVE COMPENSATION George W. Younkin, P.E. Life Fello IEEE Industrial Controls Research, Inc. Fond du Lac, Wisconsin All industrial servo drives require some form of compensation often

More information

Lecture 2 Analog circuits. Seeing the light..

Lecture 2 Analog circuits. Seeing the light.. Lecture 2 Analog circuits Seeing the light.. I t IR light V1 9V +V IR detection Noise sources: Electrical (60Hz, 120Hz, 180Hz.) Other electrical IR from lights IR from cameras (autofocus) Visible light

More information

Position Control of AC Servomotor Using Internal Model Control Strategy

Position Control of AC Servomotor Using Internal Model Control Strategy Position Control of AC Servomotor Using Internal Model Control Strategy Ahmed S. Abd El-hamid and Ahmed H. Eissa Corresponding Author email: Ahmednrc64@gmail.com Abstract: This paper focuses on the design

More information

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

MCE441/541 Midterm Project Position Control of Rotary Servomechanism MCE441/541 Midterm Project Position Control of Rotary Servomechanism DUE: 11/08/2011 This project counts both as Homework 4 and 50 points of the second midterm exam 1 System Description A servomechanism

More information

Electro-hydraulic Servo Valve Systems

Electro-hydraulic Servo Valve Systems Fluidsys Training Centre, Bangalore offers an extensive range of skill-based and industry-relevant courses in the field of Pneumatics and Hydraulics. For more details, please visit the website: https://fluidsys.org

More information

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions Classical Control Design Guidelines & Tools (L10.2) Douglas G. MacMartin Summarize frequency domain control design guidelines and approach Dec 4, 2013 D. G. MacMartin CDS 110a, 2013 1 Transfer Functions

More information

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

This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999. This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999. Use Control Theory to Improve Servo Performance George Ellis Introduction

More information

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

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0. Exercise 6 Motor Shaft Angular Position Control EXERCISE OBJECTIVE When you have completed this exercise, you will be able to associate the pulses generated by a position sensing incremental encoder with

More information

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1 In this lecture, we will examine a very popular feedback controller known as the proportional-integral-derivative (PID) control method. This type of controller is widely used in industry, does not require

More information

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE 77 ELECTRICAL CIRCUITS 6. PERATAL AMPLIIERS PART III DYNAMIC RESPNSE Introduction In the first 2 handouts on op-amps the focus was on DC for the ideal and non-ideal opamp. The perfect op-amp assumptions

More information

Performance Optimization Using Slotless Motors and PWM Drives

Performance Optimization Using Slotless Motors and PWM Drives Motion Control Performance Optimization Using Slotless Motors and PWM Drives TN-93 REV 1781 Section 1: Abstract Smooth motion, meaning very low position and current loop error while at speed, is critical

More information

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following: Islamic University of Gaza Faculty of Engineering Electrical Engineering department Control Systems Design Lab Eng. Mohammed S. Jouda Eng. Ola M. Skeik Experiment 3 PID Controller Overview This experiment

More information

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

Electrical Engineering. Control Systems. Comprehensive Theory with Solved Examples and Practice Questions. Publications Electrical Engineering Control Systems Comprehensive Theory with Solved Examples and Practice Questions Publications Publications MADE EASY Publications Corporate Office: 44-A/4, Kalu Sarai (Near Hauz

More information

CDS 101/110: Lecture 8.2 PID Control

CDS 101/110: Lecture 8.2 PID Control CDS 11/11: Lecture 8.2 PID Control November 16, 216 Goals: Nyquist Example Introduce and review PID control. Show how to use loop shaping using PID to achieve a performance specification Discuss the use

More information

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

EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism Tim Davidson Ext. 27352 davidson@mcmaster.ca Objective To identify the plant model of a servomechanism, and explore the trade-off between

More information

-binary sensors and actuators (such as an on/off controller) are generally more reliable and less expensive

-binary sensors and actuators (such as an on/off controller) are generally more reliable and less expensive Process controls are necessary for designing safe and productive plants. A variety of process controls are used to manipulate processes, however the most simple and often most effective is the PID controller.

More information

1.What is frequency response? A frequency responses the steady state response of a system when the input to the system is a sinusoidal signal.

1.What is frequency response? A frequency responses the steady state response of a system when the input to the system is a sinusoidal signal. Control Systems (EC 334) 1.What is frequency response? A frequency responses the steady state response of a system when the input to the system is a sinusoidal signal. 2.List out the different frequency

More information

Optimizing Performance Using Slotless Motors. Mark Holcomb, Celera Motion

Optimizing Performance Using Slotless Motors. Mark Holcomb, Celera Motion Optimizing Performance Using Slotless Motors Mark Holcomb, Celera Motion Agenda 1. How PWM drives interact with motor resistance and inductance 2. Ways to reduce motor heating 3. Locked rotor test vs.

More information

Lecture 2 Analog circuits. Seeing the light..

Lecture 2 Analog circuits. Seeing the light.. Lecture 2 Analog circuits Seeing the light.. I t IR light V1 9V +V IR detection Noise sources: Electrical (60Hz, 120Hz, 180Hz.) Other electrical IR from lights IR from cameras (autofocus) Visible light

More information

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping CDS /: Lecture 9. Frequency DomainLoop Shaping November 3, 6 Goals: Review Basic Loop Shaping Concepts Work through example(s) Reading: Åström and Murray, Feedback Systems -e, Section.,.-.4,.6 I.e., we

More information

LM311 comparator open collector output. LM311 comparator open collector output. LM311 comparator open collector output

LM311 comparator open collector output. LM311 comparator open collector output. LM311 comparator open collector output 00k 40% LM3 comparator open collector output LM3 comparator open collector output ON OFF LM3 comparator open collector output Example: QRD4 reflectance sensor V V V6 V 330 R4 47K V V V QRD4 R3 V5 V LM3

More information

The PID controller. Summary. Introduction to Control Systems

The PID controller. Summary. Introduction to Control Systems The PID controller ISTTOK real-time AC 7-10-2010 Summary Introduction to Control Systems PID Controller PID Tuning Discrete-time Implementation The PID controller 2 Introduction to Control Systems Some

More information

Advanced Servo Tuning

Advanced Servo Tuning Advanced Servo Tuning Dr. Rohan Munasinghe Department of Electronic and Telecommunication Engineering University of Moratuwa Servo System Elements position encoder Motion controller (software) Desired

More information

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

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design Week Content Notes 1 Introduction 2 Frequency Domain Modelling 3 Transient Performance and the s-plane 4 Block Diagrams 5 Feedback System Characteristics Assign 1 Due 6 Root Locus 7 Root Locus 2 Assign

More information

Magnetic Levitation System

Magnetic Levitation System Magnetic Levitation System Electromagnet Infrared LED Phototransistor Levitated Ball Magnetic Levitation System K. Craig 1 Magnetic Levitation System Electromagnet Emitter Infrared LED i Detector Phototransistor

More information

Lecture 18 Stability of Feedback Control Systems

Lecture 18 Stability of Feedback Control Systems 16.002 Lecture 18 Stability of Feedback Control Systems May 9, 2008 Today s Topics Stabilizing an unstable system Stability evaluation using frequency responses Take Away Feedback systems stability can

More information

Position Control of DC Motor by Compensating Strategies

Position Control of DC Motor by Compensating Strategies Position Control of DC Motor by Compensating Strategies S Prem Kumar 1 J V Pavan Chand 1 B Pangedaiah 1 1. Assistant professor of Laki Reddy Balireddy College Of Engineering, Mylavaram Abstract - As the

More information

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

Linear Control Systems Lectures #5 - PID Controller. Guillaume Drion Academic year Linear Control Systems Lectures #5 - PID Controller Guillaume Drion Academic year 2018-2019 1 Outline PID controller: general form Effects of the proportional, integral and derivative actions PID tuning

More information

Lecture 8 ECEN 4517/5517

Lecture 8 ECEN 4517/5517 Lecture 8 ECEN 4517/5517 Experiment 4 Lecture 7: Step-up dcdc converter and PWM chip Lecture 8: Design of analog feedback loop Part I Controller IC: Demonstrate operating PWM controller IC (UC 3525) Part

More information

Experiment 1: Amplifier Characterization Spring 2019

Experiment 1: Amplifier Characterization Spring 2019 Experiment 1: Amplifier Characterization Spring 2019 Objective: The objective of this experiment is to develop methods for characterizing key properties of operational amplifiers Note: We will be using

More information

Analog Electronic Circuits Code: EE-305-F

Analog Electronic Circuits Code: EE-305-F Analog Electronic Circuits Code: EE-305-F 1 INTRODUCTION Usually Called Op Amps Section -C Operational Amplifier An amplifier is a device that accepts a varying input signal and produces a similar output

More information

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder R. W. Erickson Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder Construction of transfer function v 2 (s) v (s) = Z 2Z Z Z 2 Z = Z out Z R C Z = L Q = R /R 0 f

More information

Ball Balancing on a Beam

Ball Balancing on a Beam 1 Ball Balancing on a Beam Muhammad Hasan Jafry, Haseeb Tariq, Abubakr Muhammad Department of Electrical Engineering, LUMS School of Science and Engineering, Pakistan Email: {14100105,14100040}@lums.edu.pk,

More information

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

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook. EE4902 Lab 9 CMOS OP-AMP PURPOSE: The purpose of this lab is to measure the closed-loop performance of an op-amp designed from individual MOSFETs. This op-amp, shown in Fig. 9-1, combines all of the major

More information

ECE 5670/ Lab 5. Closed-Loop Control of a Stepper Motor. Objectives

ECE 5670/ Lab 5. Closed-Loop Control of a Stepper Motor. Objectives 1. Introduction ECE 5670/6670 - Lab 5 Closed-Loop Control of a Stepper Motor Objectives The objective of this lab is to develop and test a closed-loop control algorithm for a stepper motor. First, field

More information

MEM380 Applied Autonomous Robots I Winter Feedback Control USARSim

MEM380 Applied Autonomous Robots I Winter Feedback Control USARSim MEM380 Applied Autonomous Robots I Winter 2011 Feedback Control USARSim Transforming Accelerations into Position Estimates In a perfect world It s not a perfect world. We have noise and bias in our acceleration

More information

EEL2216 Control Theory CT2: Frequency Response Analysis

EEL2216 Control Theory CT2: Frequency Response Analysis EEL2216 Control Theory CT2: Frequency Response Analysis 1. Objectives (i) To analyse the frequency response of a system using Bode plot. (ii) To design a suitable controller to meet frequency domain and

More information

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

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 Hello, and welcome to part six of the TI Precision Labs on op amp stability. This lecture will describe the Riso with dual feedback stability compensation method. From 5: The previous videos discussed

More information

Module 08 Controller Designs: Compensators and PIDs

Module 08 Controller Designs: Compensators and PIDs Module 08 Controller Designs: Compensators and PIDs Ahmad F. Taha EE 3413: Analysis and Desgin of Control Systems Email: ahmad.taha@utsa.edu Webpage: http://engineering.utsa.edu/ taha March 31, 2016 Ahmad

More information

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

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor 2.737 Mechatronics Dept. of Mechanical Engineering Massachusetts Institute of Technology Cambridge, MA0239 Topics Motor modeling

More information

1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using

1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using 1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using op-amps a. b. c. d. Solution: b) Explanation: The dotted

More information

9 Feedback and Control

9 Feedback and Control 9 Feedback and Control Due date: Tuesday, October 20 (midnight) Reading: none An important application of analog electronics, particularly in physics research, is the servomechanical control system. Here

More information

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

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives Kevin Block, Timothy De Pasion, Benjamin Roos, Alexander Schmidt Gary Dempsey

More information

PROCESS DYNAMICS AND CONTROL

PROCESS DYNAMICS AND CONTROL PROCESS DYNAMICS AND CONTROL CHBE306, Fall 2017 Professor Dae Ryook Yang Dept. of Chemical & Biological Engineering Korea University Korea University 1-1 Objectives of the Class What is process control?

More information

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System Introduction CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System The purpose of this lab is to introduce you to digital control systems. The most basic function of a control system is to

More information

Bode and Log Magnitude Plots

Bode and Log Magnitude Plots Bode and Log Magnitude Plots Bode Magnitude and Phase Plots System Gain and Phase Margins & Bandwidths Polar Plot and Bode Diagrams Transfer Function from Bode Plots Bode Plots of Open Loop and Closed

More information

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

Ver. 4/5/2002, 1:11 PM 1 Mechatronics II Laboratory Exercise 6 PID Design The purpose of this exercise is to study the effects of a PID controller on a motor-load system. Although not a second-order system, a PID controlled motor-load

More information

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

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda Control Design for Servomechanisms 12 14 July 2005, Glasgow Detailed Training Course Agenda DAY 1 INTRODUCTION TO SYSTEMS AND MODELLING 9.00 Introduction The Need For Control - What Is Control? - Feedback

More information

Step vs. Servo Selecting the Best

Step vs. Servo Selecting the Best Step vs. Servo Selecting the Best Dan Jones Over the many years, there have been many technical papers and articles about which motor is the best. The short and sweet answer is let s talk about the application.

More information

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr.

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr. Servo Tuning Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa Thanks to Dr. Jacob Tal Overview Closed Loop Motion Control System Brain Brain Muscle

More information

Cantonment, Dhaka-1216, BANGLADESH

Cantonment, Dhaka-1216, BANGLADESH International Conference on Mechanical, Industrial and Energy Engineering 2014 26-27 December, 2014, Khulna, BANGLADESH ICMIEE-PI-140153 Electro-Mechanical Modeling of Separately Excited DC Motor & Performance

More information

LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis

LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis 4.1 Transient Response and Steady-State Response The time response of a control system consists of two parts: the transient

More information

Shaft Torque Excitation Control for Drivetrain Bench

Shaft Torque Excitation Control for Drivetrain Bench Power Electronics Technology Shaft Excitation Control for Drivetrain Bench Takao Akiyama, Kazuhiro Ogawa, Yoshimasa Sawada Keywords Drivetrain bench,, Excitation Abstract We developed a technology for

More information

Optimal Control System Design

Optimal Control System Design Chapter 6 Optimal Control System Design 6.1 INTRODUCTION The active AFO consists of sensor unit, control system and an actuator. While designing the control system for an AFO, a trade-off between the transient

More information

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

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual Rotary Motion Servo Plant: SRV02 Rotary Experiment #03: Speed Control SRV02 Speed Control using QuaRC Student Manual Table of Contents 1. INTRODUCTION...1 2. PREREQUISITES...1 3. OVERVIEW OF FILES...2

More information

Frequency Response Analysis and Design Tutorial

Frequency Response Analysis and Design Tutorial 1 of 13 1/11/2011 5:43 PM Frequency Response Analysis and Design Tutorial I. Bode plots [ Gain and phase margin Bandwidth frequency Closed loop response ] II. The Nyquist diagram [ Closed loop stability

More information

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

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL Experiment No. 1(a) : Modeling of physical systems and study of

More information

ECE 203 LAB 6: INVERTED PENDULUM

ECE 203 LAB 6: INVERTED PENDULUM Version 1.1 1 of 15 BEFORE YOU BEGIN EXPECTED KNOWLEDGE Basic Circuit Analysis EQUIPMENT AFG Oscilloscope Programmable Power Supply MATERIALS Three 741 Opamps TIP41 NPN power transistor TIP42 PNP power

More information

DC SERVO MOTOR CONTROL SYSTEM

DC SERVO MOTOR CONTROL SYSTEM DC SERVO MOTOR CONTROL SYSTEM MODEL NO:(PEC - 00CE) User Manual Version 2.0 Technical Clarification /Suggestion : / Technical Support Division, Vi Microsystems Pvt. Ltd., Plot No :75,Electronics Estate,

More information

Servo Tuning Tutorial

Servo Tuning Tutorial Servo Tuning Tutorial 1 Presentation Outline Introduction Servo system defined Why does a servo system need to be tuned Trajectory generator and velocity profiles The PID Filter Proportional gain Derivative

More information

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

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class. ME 5281 Fall 215 Homework 8 Due: Wed. Nov. 4th; start of class. Reading: Chapter 1 Part A: Warm Up Problems w/ Solutions (graded 4%): A.1 Non-Minimum Phase Consider the following variations of a system:

More information

Positive Feedback and Oscillators

Positive Feedback and Oscillators Physics 3330 Experiment #5 Fall 2011 Positive Feedback and Oscillators Purpose In this experiment we will study how spontaneous oscillations may be caused by positive feedback. You will construct an active

More information

Penn State Erie, The Behrend College School of Engineering

Penn State Erie, The Behrend College School of Engineering Penn State Erie, The Behrend College School of Engineering EE BD 327 Signals and Control Lab Spring 2008 Lab 9 Ball and Beam Balancing Problem April 10, 17, 24, 2008 Due: May 1, 2008 Number of Lab Periods:

More information

ME451: Control Systems. Course roadmap

ME451: Control Systems. Course roadmap ME451: Control Systems Lecture 20 Root locus: Lead compensator design Dr. Jongeun Choi Department of Mechanical Engineering Michigan State University Fall 2008 1 Modeling Course roadmap Analysis Design

More information

Laboratory Tutorial#1

Laboratory Tutorial#1 Laboratory Tutorial#1 1.1. Objective: To become familiar with the modules and how they operate. 1.2. Equipment Required: Following equipment is required to perform above task. Quantity Apparatus 1 OU150A

More information

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

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control Goals for this Lab Assignment: 1. Design a PD discrete control algorithm to allow the closed-loop combination

More information

Chapter 5. Tracking system with MEMS mirror

Chapter 5. Tracking system with MEMS mirror Chapter 5 Tracking system with MEMS mirror Up to now, this project has dealt with the theoretical optimization of the tracking servo with MEMS mirror through the use of simulation models. For these models

More information

Different Controller Terms

Different Controller Terms Loop Tuning Lab Challenges Not all PID controllers are the same. They don t all use the same units for P-I-and D. There are different types of processes. There are different final element types. There

More information

Lecture 2 Analog circuits. IR detection

Lecture 2 Analog circuits. IR detection Seeing the light.. Lecture Analog circuits I t IR light V 9V V Q OP805 RL IR detection Noise sources: Electrical (60Hz, 0Hz, 80Hz.) Other electrical IR from lights IR from cameras (autofocus) Visible light

More information

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

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Winter Semester, Linear control systems design Part 1 Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL Andrea M. Zanchettin, PhD Winter Semester, 2018 Linear control systems design Part 1 Andrea Zanchettin Automatic Control 2 Step responses Assume

More information

Servo Closed Loop Speed Control Transient Characteristics and Disturbances

Servo Closed Loop Speed Control Transient Characteristics and Disturbances Exercise 5 Servo Closed Loop Speed Control Transient Characteristics and Disturbances EXERCISE OBJECTIVE When you have completed this exercise, you will be familiar with the transient behavior of a servo

More information

International Journal of Research in Advent Technology Available Online at:

International Journal of Research in Advent Technology Available Online at: OVERVIEW OF DIFFERENT APPROACHES OF PID CONTROLLER TUNING Manju Kurien 1, Alka Prayagkar 2, Vaishali Rajeshirke 3 1 IS Department 2 IE Department 3 EV DEpartment VES Polytechnic, Chembur,Mumbai 1 manjulibu@gmail.com

More information

DC Motor Speed Control using PID Controllers

DC Motor Speed Control using PID Controllers "EE 616 Electronic System Design Course Project, EE Dept, IIT Bombay, November 2009" DC Motor Speed Control using PID Controllers Nikunj A. Bhagat (08307908) nbhagat@ee.iitb.ac.in, Mahesh Bhaganagare (CEP)

More information

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

Readings: FC: p : lead compensation. 9/9/2011 Classical Control 1 MM0 Frequency Response Design Readings: FC: p389-407: lead compensation 9/9/20 Classical Control What Have We Talked about in MM9? Control design based on Bode plot Stability margins (Gain margin and phase

More information

PROCESS DYNAMICS AND CONTROL

PROCESS DYNAMICS AND CONTROL Objectives of the Class PROCESS DYNAMICS AND CONTROL CHBE320, Spring 2018 Professor Dae Ryook Yang Dept. of Chemical & Biological Engineering What is process control? Basics of process control Basic hardware

More information

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 *****

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 ***** Code: 9A050 III B. Tech I Semester (R09) Regular Eaminations, November 0 Time: hours Ma Marks: 70 (a) What is a mathematical model of a physical system? Eplain briefly. (b) Write the differential equations

More information

Lecture 2 Analog circuits. Seeing the light..

Lecture 2 Analog circuits. Seeing the light.. Lecture 2 Analog circuits Seeing the light.. I t IR light V1 9V +V Q1 OP805 RL IR detection Vout Noise sources: Electrical (60Hz, 120Hz, 180Hz.) Other electrical IR from lights IR from cameras (autofocus)

More information