EE Experiment 8 Bode Plots of Frequency Response

Similar documents
Bode Plots. Hamid Roozbahani

Frequency Response Analysis and Design Tutorial

SECTION 7: FREQUENCY DOMAIN ANALYSIS. MAE 3401 Modeling and Simulation

EES42042 Fundamental of Control Systems Bode Plots

Bode plot, named after Hendrik Wade Bode, is usually a combination of a Bode magnitude plot and Bode phase plot:

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

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

Boise State University Department of Electrical and Computer Engineering ECE 212L Circuit Analysis and Design Lab

Modeling Amplifiers as Analog Filters Increases SPICE Simulation Speed

EEL2216 Control Theory CT2: Frequency Response Analysis

Modeling and Analysis of Systems Lecture #9 - Frequency Response. Guillaume Drion Academic year

PYKC 13 Feb 2017 EA2.3 Electronics 2 Lecture 8-1

Pole, zero and Bode plot

Electric Circuit Theory

Introduction to Signals and Systems Lecture #9 - Frequency Response. Guillaume Drion Academic year

Class #16: Experiment Matlab and Data Analysis

Lecture 7:Examples using compensators

AC BEHAVIOR OF COMPONENTS

EE422G Solution to Homework #8

(A) Based on the second-order FRF provided, determine appropriate values for ω n, ζ, and K. ω n =500 rad/s; ζ=0.1; K=0.

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

Kent Bertilsson Muhammad Amir Yousaf

ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013

EECS 216 Winter 2008 Lab 2: FM Detector Part I: Intro & Pre-lab Assignment

ME 365 FINAL EXAM. Monday, April 29, :30 pm-5:30 pm LILY Problem Score

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept.

Experiment 8 Frequency Response

Lab 6: Building a Function Generator

EE 560 Electric Machines and Drives. Autumn 2014 Final Project. Contents

Study of Analog Phase-Locked Loop (APLL)

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

v(t) = V p sin(2π ft +φ) = V p cos(2π ft +φ + π 2 )

Välkomna till TSRT15 Reglerteknik Föreläsning 5. Summary of lecture 4 Frequency response Bode plot

Outline. Digital Control. Lecture 3

Frequency Response Analysis

ECE317 Homework 7. where

Appendix III Graphs in the Introductory Physics Laboratory

Experiment 2: Transients and Oscillations in RLC Circuits

(Refer Slide Time: 02:00-04:20) (Refer Slide Time: 04:27 09:06)

CDS 101/110: Lecture 8.2 PID Control

, answer the next six questions.

CHAPTER 6 Frequency Response, Bode. Plots, and Resonance

FREQUENCY RESPONSE AND PASSIVE FILTERS LABORATORY

Proportional-Integral Controller Performance

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

The Phased Array Feed Receiver System : Linearity, Cross coupling and Image Rejection

George Mason University Signals and Systems I Spring 2016

EE152 F13 Midterm 1. Before starting, please check to make sure that you have all 6 pages Total 100. V0.

Lab Report 4: Root Locus and Proportional Controller

Graphing Techniques. Figure 1. c 2011 Advanced Instructional Systems, Inc. and the University of North Carolina 1

Dr Ian R. Manchester

Design IIR Band-Reject Filters

DESIGN AND VALIDATION OF A PID AUTO-TUNING ALGORITHM

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

BME 3512 Bioelectronics Laboratory Two - Passive Filters

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

The above figure represents a two stage circuit. Recall, the transfer function relates. Vout

NPTEL Online Course: Control Engineering

BJT & FET Frequency Response

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

STATION NUMBER: LAB SECTION: Filters. LAB 6: Filters ELECTRICAL ENGINEERING 43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

Microelectronic Circuits II. Ch 9 : Feedback

DESIGN AND ANALYSIS OF FEEDBACK CONTROLLERS FOR A DC BUCK-BOOST CONVERTER

ME 375. HW 7 Solutions. Original Homework Assigned 10/12, Due 10/19.

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

Bode and Log Magnitude Plots

EXP8: AMPLIFIERS II.

Cleveland State University MCE441: Intr. Linear Control Systems. Lecture 12: Frequency Response Concepts Bode Diagrams. Prof.

Semester End Project: Redesign of Filter/Amplifiers to Incorporate Filters with Different Cutoff Frequencies

DEPARTMENT OF ELECTRONIC ENGINEERING PRACTICAL MANUAL CONTROL SYSTEMS 3 CSYS 302

Laboratory 7: Active Filters

JUNE 2014 Solved Question Paper

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

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

Complex Digital Filters Using Isolated Poles and Zeroes

Poles and Zeros of H(s), Analog Computers and Active Filters

Response spectrum Time history Power Spectral Density, PSD

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

George Mason University ECE 201: Introduction to Signal Analysis Spring 2017

Laboratory Assignment 1 Sampling Phenomena

EE105 Fall 2015 Microelectronic Devices and Circuits. Amplifier Gain

Design Of The Miller Opamp

Comparison of Signal Attenuation of Multiple Frequencies Between Passive and Active High-Pass Filters

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB

Design of a Regenerative Receiver for the Short-Wave Bands A Tutorial and Design Guide for Experimental Work. Part I

Homework Assignment 06

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

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

Exercise 8: Frequency Response

Design IIR Filters Using Cascaded Biquads

Lab 6 rev 2.1-kdp Lab 6 Time and frequency domain analysis of LTI systems

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

Filters And Waveform Shaping

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

Automatic Control Systems 2017 Spring Semester

Experiments #6. Convolution and Linear Time Invariant Systems

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

Multipath Miller Compensation for Switched-Capacitor Systems

UTC. Engineering 329. Frequency Response for the Flow System. Gold Team. By: Blake Nida. Partners: Roger Lemond and Stuart Rymer

The period is the time required for one complete oscillation of the function.

Transcription:

EE16:Exp8-1 EE 16 - Experiment 8 Bode Plots of Frequency Response Objectives: To illustrate the relationship between a system frequency response and the frequency response break frequencies, factor powers, and damping ratios by using Bode amplitude and phase plots. Two MATLAB functions are used that compute the frequency response parameters and produce data for the straight line approximation of the Bode amplitude and phase responses. Theory: A convenient form of amplitude and phase response plots are Bode plots. For these plots, the amplitude response in db and the phase response in degrees are plotted on a logarithmic radian/sec. (ω) frequency scale. The use of the db amplitude scale and the logarithmic frequency scale permits compact representation over wide intervals of amplitude and frequency. It also permits us to plot straight-line approximations to the Bode amplitude and phase responses easily. The straight-line approximations are achieved by first finding the factor order n and break frequency ω parameters for each linear and quadratic factor in the frequency response. In addition, for quadratic factors, a damping ratio ζ where 0 ζ 1, is found that identifies the characteristics of the Bode amplitude and phase responses in the neighborhood of the break frequency. Finally, a gain constant C is determined, which may be either positive or negative. The factor order n is positive for a numerator factor and negative for a denominator factor. The factor order is used to determine the slope of the high frequency straight-line asymptote to the factor's amplitude response plot at high frequencies. It is also used to find the factor's phase response value at high frequencies. The break frequency identifies the boundary between the low-frequency amplitude response asymptote (0 db) and the high-frequency amplitude straight-line asymptote for the factor. It also identifies the center of the frequency interval over which phase changes appear in the straight-line approximation to the phase response for the factor. The straight-line approximation to the Bode amplitude response for each factor thus consists of two straight-line asymptotes that have slopes of 0 and 0n db/dec, respectively, and intersect at ω = ω. The straight-line approximation to the Bode phase response for each factor consists of three straight-line segments. The first line is at 0 for ω 10 γ ω. The second line is at 90n for γ. ω 10 ω The third line connects the first and second lines. Note that it passes through 45n at ω = ω. The value of γ is one for a linear factor. For a quadratic factor, γ = 1.410 0.150 1.475 0.475 ζ ζ ζ ζ ζ ζ >0. >0. (8.1) The straight-line approximation to Bode amplitude and phase response plots are easily constructed from the straight-line approximations for each factor. This is true since only straight

EE16:Exp8- lines need to be added. It is also easy to determine approximately the effect of adding factors to the frequency response since the straight line approximations of these factors are easily constructed and added. This is a very useful concept in control system design since the effect of adding compensating systems to the control system is determined easily. In fact, the nature of the compensating system required can be identified by observing the original system straight-line frequency response approximation and determining break frequencies and slopes that need to be added. An approximate Bode amplitude response curve can be plotted easily from the straight-line approximations to it. This is aided by computing one curve deviation point for each break frequency. The curve deviation from the straight line approximation at the break frequency is 3n db and 0n log( ζ ) for linear and quadratic (with 1 ζ < 1) factors, respectively. If 0< ζ < 1 for a quadratic factor, then a peak appears in the curve. The peak is located at ω ω ζ = 1 (8.) p And has a height of = M 0n log ζ 1 ζ db p (8.3) with respect to the straight line approximation. It should be noted that the values identified above for total curve deviations from the straight line approximation are accurate for each factor individually but may not give good results for the total curve if factor break frequencies are located close together. This is because the response factors interact. That is, if a response factor is not near its asymptote at the break frequency of another response factor then it also causes a non-negligible additive deviation from the straight-line asymptote at this frequency. An approximate Bode phase response curve cannot be plotted simply from its straight-line approximation by computing a single value for each factor. The problem is that the response curve relation to the straight-line approximation is more complex for the phase response than it is for the amplitude response. However in many cases, the straight-line approximation is adequate. Fortunately, if we need the Bode amplitude and phase response curves, they are easily plotted by computer.

EE16:Exp8-3 MATLAB Functions: We have developed two MATLAB functions to be used in straight-line Bode plot approximations. The first function is [rn,rd,imas,rhps,c,,ft,dr]=sysdat(n,d) It computes the break frequencies,, factor types, ft, (linear or quadratic) and damping ratios, dr, for the factors of the frequency response defined by the numerator and denominator coefficients n and d. It also computes the gain constant, c. The remainder of the output variables are defined in the help statements contained in the function m-file. These help statements are function [rn,rd,imas,rhps,c,,ft,dr] = sysdat(n,d) % sysdat.m - computes constant multiplier, break frequencies, % factor types (1=linear, =quadratic, positive % for numerator factor, negative for denominator % factor), and quadratic factor damping ratios for % a transfer function or frequency response with % numerator coefficients n and denominator % coefficients d. Coefficient order is highest % power to zero power of s or jw. % rn=zeros, rd=poles % imas=[z p] number of imaginary axis zeros and poles % rhps=[z p] number of RHP zeros and poles % c=constant factor (a positive scalar) % =break frequencies (a vector) % linear (+,0,-) quadratic (+,+,+) (LHP,IMA,RHP) % ft=factor types (a vector) % linear +1or-1 quadratic +or- + Num, - Denom % dr=damping ratio (a vector) % linear or jw dr=10 no damping ratio % quadratic (+,0,-) (LHP,IMA,RHP) The function is also described more completely in Section.1.4.1 of the tutorial in Appendix A. The second MATLAB function [am,ph]=slbode(w,c,,ft,dr) computes samples for the Bode amplitude and phase response straight-line approximations. These samples are output in the row array variables am and ph. Inputs are the factor parameters computed by sysdat and the frequency row array w. There should be an equal number of samples computed in each decade of frequency change. The help statements for this function are function [am,ph]=slbode(w,c,,ft,dr) % slbode.m - computes the straight lineapproximation to the

EE16:Exp8-4 % amplitude (am) and phase (ph) bode plots vs. freq. w % w=frequency scale (rad/sec) % c=constant factor (a positive scalar) % =break frequencies (a vector) % linear (+,0,-) quadratic (+,+,+) (LHP IMA RHP) % ft=factor types (a vector) % linear +1or-1 quadratic +or- + Num, - Denom % dr=damping ratio (a vector) % linear or jw dr=10 no damping ratio % quadratic (+,0,-) (LHP,IMA,RHP) Preliminary: 1. In Part 1 of this experiment we consider the system represented by the transformed block diagram shown in Figure 8.1. Find the frequency response for the system. Note that it is a single quadratic factor. Find the break frequency, factor exponent, damping ratio, peak height, and peak location for this factor. Also, compute the gain constant.. In Part 3 of this experiment, we need to compute the damping ratio and break frequency for a quadratic function from its peak height and location. Obtain an equation for the damping ratio in terms of the peak height from eq. (8.3). There are two solutions. The only valid one is the one that is less than 0.5. Also obtain an equation for the break frequency in terms of the peak location and the damping ratio. Laboratory Procedure: 1. Find the data for and plot the straight line approximations of the Bode amplitude and phase response for system represented by the transformed block diagram shown in Figure 8.1. Use the two-decade plotting interval 10 ω < 1000 rad / sec. Figure 8.1 Transformed System Block Diagram Also compute samples for and plot the Bode amplitude and phase responses on the same set of axes as the straight line approximations. In the previous experiment, we computed samples of the frequency response H as a function of the frequency variable f (in Hz) by writing the frequency response equation as a mathematical expression statement. We can also compute the samples as a function of the variable w in radians/sec using the MATLAB function H=freqs(n,d,w) when frequency response numerator and denominator

EE16:Exp8-5 coefficients n and d are known. (If we wanted to compute the samples as a function of f, then we could replace w with p f.) Find the computed peak height and location. Compare the computed break frequency, factor type, damping ratio, peak height, peak location, and gain constant with those determined in the Preliminary. Does the straight-line approximation of the phase response match the phase response well?. An amplifier has the frequency response where ( ) H jω) = N( jω / D( jω) (8.4) (8.5) ( ω) 4 N( jw ) = 4.300 x 10 j + 1.0368 x 10 ( jw ) + 6.08 x 10 ( jω) 5 10 3 13 and D( jω) = 1.150( j ω) + 9.6941 x 10 ( j ω) + 3.5167 x 10 ( jω) 5 3 4 7 3 11 1 13 + 1.1113 x 10 ( j ω) + 1.6904 x 10 ( j ω) + 9.9533 x 10 (8.6) a. Compute and plot the data for the straight-line approximations to the Bode amplitude and phase responses. Also plot the Bode amplitude and phase responses on the same sets of axes as the straight-line plots. The frequency interval that you use should encompass all frequencies for which the straight-line phase response approximation is changing. Do the straight-line approximations give a good picture of the general amplitude and phase response characteristics? 3. The frequency response of a second-order control system that has only a constant in the numerator and unity DC gain is H( jω) = ω ( j ) ( j ) ( ) ω + ζω ω + ω (8.11) If ζ < 1, then the response of this control system to a unit step command is as shown in Figure 8..

EE16:Exp8-6 Figure 8. Second-Order Control System Unit-Step Response Three system performance parameters are shown in Figure 8.. The first is the peak overshoot location T p, which tells us how quickly the system responds. The second parameter is the settling time T s, which tells how long it takes for the system to settle to a value close to the desired value. The final parameter is the peak overshoot Y p. It is of interest since a large overshoot may produce undesirable effects in the controlled quantity. For the second-order system T π 1 1 ζ = ω p (8.1) and T s ( ζω ) = 4 (8.13) The percent overshoot is 1 ( ) { } p PO = 100 Y 1 = exp ζπ (1 ζ ) (8.14) Thus we can predict the value of these parameters from the break frequency and damping ratio.

EE16:Exp8-7 Many control systems have one denominator quadratic factor in their frequency response that dominates the system s transient response to a step input. Thus, the system behaves approximately as a second-order system. If the quadratic factor has a damping ratio that is less than 1, the a peak is produced in the frequency response. We can plate the Body amplitude response and measure the height of the peak in db and the location of the peak in radians/sec. These measurements can then be used in he equation you produced in Part of the Preliminary to compute approximate damping ratio and break frequency values for the quadratic factor. Finally we predict the approximate peak time, settling time, and percent overshoot for the original system using eqs. 8.1), (8.13), and (8.14). a. Data file ex84daa.mat contains four row arrays. These are t, h, w, and H. The variable h contains impulse response samples for a control system. The variable t is the corresponding time samples. The system frequency response samples are contained in variable H corresponding to frequency samples w that are equally spaced on a logarithmic scale. Plot the Bode amplitude and phase responses for the system. Identify the dominant peak and compute its height in db and location in radians/s. Use these values to first compute approximate values for ζ and ω (Why are they approximate?) and then compute predictions of T p, T s, and PO. b. Find the step response by convolving the impulse response and a unit step. Save only the first one-half of the values since the last one-half have serious end effects. Plot the impulse response and the step response. Compute T p, T s, and PO for the system from the step response. How well did you predict these values in Part a?