Exercise 8: Frequency Response

Similar documents
Exercise 4: 2.order Systems (Solutions)

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

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

EEL2216 Control Theory CT2: Frequency Response Analysis

Sinusoids and Phasors (Chapter 9 - Lecture #1) Dr. Shahrel A. Suandi Room 2.20, PPKEE

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

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

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

AC BEHAVIOR OF COMPONENTS

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

Sinusoids. Lecture #2 Chapter 2. BME 310 Biomedical Computing - J.Schesser

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

, answer the next six questions.

CHAPTER 6 Frequency Response, Bode. Plots, and Resonance

Alternating voltages and currents

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

Physics 132 Quiz # 23

EXPERIMENT 4: RC, RL and RD CIRCUITs

THE SINUSOIDAL WAVEFORM

Complex Numbers in Electronics

MAE143A Signals & Systems - Homework 8, Winter 2013 due by the end of class Tuesday March 5, 2013.

Ac fundamentals and AC CIRCUITS. Q1. Explain and derive an expression for generation of AC quantity.

Circuit Analysis-II. Circuit Analysis-II Lecture # 2 Wednesday 28 th Mar, 18

FREQUENCY RESPONSE AND PASSIVE FILTERS LABORATORY

Frequency Response Analysis and Design Tutorial

EE Experiment 8 Bode Plots of Frequency Response

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

Bode Plots. Hamid Roozbahani

Fourier Transform Analysis of Signals and Systems

Real Analog Chapter 10: Steady-state Sinusoidal Analysis

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

Advanced Circuits Topics Part 2 by Dr. Colton (Fall 2017)

Pole, zero and Bode plot

SAMPLING THEORY. Representing continuous signals with discrete numbers

LRC Circuit PHYS 296 Your name Lab section

1 Connecting a computer to a physical process Analog-to-digital (AD) and Digital-to-analog (DA) conversion 4

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

CHAPTER 9. Sinusoidal Steady-State Analysis

INTRODUCTION PROPOSED SOLUTION STEPS TAKEN. MATLAB Simulation

EECS40 RLC Lab guide

Demonstrating in the Classroom Ideas of Frequency Response

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

EELE 4310: Digital Signal Processing (DSP)

EES42042 Fundamental of Control Systems Bode Plots

Frequency Response Analysis

EE422G Solution to Homework #8

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

EXPERIMENT 4: RC, RL and RD CIRCUITs

Chapter 31 Alternating Current

EE105 Fall 2015 Microelectronic Devices and Circuits. Amplifier Gain

Class #16: Experiment Matlab and Data Analysis

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

Chapter 6: Alternating Current

EXPERIMENT 14 Variable-frequency networks

Use of the LTI Viewer and MUX Block in Simulink

3.2 Measuring Frequency Response Of Low-Pass Filter :

Electronics and Instrumentation Name ENGR-4220 Fall 1998 Section Quiz 2

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

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert

Outline. Digital Control. Lecture 3

A filter is appropriately described by the transfer function. It is a ratio between two polynomials

Open Loop Frequency Response

Homework Assignment 13

Electrical Engineering Fundamentals

Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999

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

Lab 4: First/Second Order DT Systems and a Communications Example (Second Draft)

Lecture 2: SIGNALS. 1 st semester By: Elham Sunbu

( ) = V s ( jω ) = 2 kω, a = 4, R s. = 500 nf Draw a Bode diagram of the magnitude and phase of the frequency. Let R p. response H jω. V in.

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

Chapter 6: Alternating Current. An alternating current is an current that reverses its direction at regular intervals.

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Circuits & Electronics Spring 2006

CHAPTER 14 ALTERNATING VOLTAGES AND CURRENTS

AC Theory and Electronics

POLYTECHNIC UNIVERSITY Electrical Engineering Department. EE SOPHOMORE LABORATORY Experiment 5 RC Circuits Frequency Response

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

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

EE-2302 Passive Filters and Frequency Response

Phasor. Phasor Diagram of a Sinusoidal Waveform

ωc ωc sin(wt 90o ) (for a capacitance) (4)

EE101 Notes 2. December 27, The measurement devices to be studied are oscilloscope, function generator, dc power supply and spectrum analyzer.

Kent Bertilsson Muhammad Amir Yousaf

AC Circuits. Nikola Tesla

Electric Circuit Theory

Complex Digital Filters Using Isolated Poles and Zeroes

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class

Laboratory 5: RC Circuits and Filtering

The units of vibration depend on the vibrational parameter, as follows:

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

Introduction to signals and systems

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

Chapter 1. Electronics and Semiconductors

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

Exercise 9: inductor-resistor-capacitor (LRC) circuits

Signals and Systems Lecture 6: Fourier Applications

Frequency Responses and Active Filter Circuits

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

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

Filter Design, Active Filters & Review. EGR 220, Chapter 14.7, December 14, 2017

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

Transcription:

Exercise 8: Frequency Response Introduction We can find the frequency response of a system by exciting the system with a sinusoidal signal of amplitude A and frequency ω [rad/s] (Note: ω = 2πf) and observing the response in the output variable of the system. The frequency response of a system is defined as the steady- state response of the system to a sinusoidal input signal. When the system is in steady- state it differs from the input signal only in amplitude/gain (A) and phase lag (φ) (faseforskyvning). If we have the input signal: The steady- state output signal will be: u t = U sinωt y t = UA! sin (ωt + φ) Where A =! is the ratio between the amplitudes of the output signal and the input signal (in! steady- state). This can be illustrated like this: Faculty of Technology, Postboks 203, Kjølnes ring 56, N-3901 Porsgrunn, Norway. Tel: +47 35 57 50 00 Fax: +47 35 57 54 01

2 The gain is given by: A = Y U The phase lag is given by: φ = ωδt [rad] Find the Frequency Response from the Transfer function A and φ is a function of the frequency ω so we may write A = A ω, φ = φ(ω) For a transfer function: We have that: H S = y(s) u(s) H jω = H(jω) e!!(!") Where H(jω) is the frequency response of the system, i.e., we may find the frequency response by setting s = jω in the transfer function. Bode diagrams are useful in frequency response analysis. The Gain function is defined as: A ω = H(jω)

3 The Phase function is defined as: φ ω = H(jω) This can be illustrated in the complex plane like this: Bode Diagram We normally use a Bode diagram to draw the frequency response for a given system. The Bode diagram consists of 2 diagrams, the Bode magnitude diagram, A(ω) and the Bode phase diagram, φ(ω). Below we see an example of a Bode diagram: The A(ω)- axis is in decibel (db), where the decibel value of x is calculated as: x db = 20log!" x The φ(ω)- axis is in degrees (not radians!). We use logarithmic scale on the x- axes. Complex Numbers A complex number is defined like this: z = a + jb

4 The imaginary unit j is defined as: j = 1 Where a is called the real part of z and b is called the imaginary part of z Re(z) = a, Im(z) = b You may also imaginary numbers on exponential/polar form: z = re!" Where: r = z = a! + b! θ = atan b a Note that a = r cos θ and b = r sin θ Rectangular form of a complex number Exponential/polar form of a complex number MathScript MathScript has several built- in functions for Frequency response, e.g.: Function Description Example tf Creates system model in transfer function form. You also can >num=[1]; >den=[1, 1, 1]; use this function to state- space models to transfer function >H = tf(num, den) form. bode bodemag Creates the Bode magnitude and Bode phase plots of a system model. You also can use this function to return the magnitude and phase values of a model at frequencies you specify. If you do not specify an output, this function creates a plot. Creates the Bode magnitude plot of a system model. If you do not specify an output, this function creates a plot. >num=[4]; >den=[2, 1]; >H = tf(num, den) >bode(h) >[mag, wout] = bodemag(sysin) >[mag, wout] = bodemag(sysin, [wmin wmax]) >[mag, wout] = bodemag(sysin, wlist) semilogx Generates a plot with a logarithmic x- scale. >semilogx(w, gain) log10 Computes the base 10 logarithm of the input elements. The base >log(x) 10 logarithm of zero is - inf. atan Computes the arctangent of x >atan(x)

5 Example: We have the following transfer function: H s = y(s) u(s) = 1 s + 1 Below we see the script for creating the frequency response of the system in a Bode plot using the bode function in MathScript. Use the grid function to apply a grid to the plot. % We define the transfer function: K = 1; T = 1; num = [K]; den = [T, 1]; H = tf(num, den) % We plot the Bode diagram: bode(h); % We add grid to the plot: subplot(2,1,1) grid on subplot(2,1,2) grid on This gives the following Bode plot:

6 Task 1: Frequency Response Given the following system: H s = 4 2s + 1 1. Find the mathematical expressions for A ω [db] and φ(ω) using pen & paper. 2. Find the break frequencies (Norwegian: knekkfrekvenser ) using pen & paper 3. Find poles and zeroes for the system (check your answer using MathScript) 4. Plot the Bode plot using MathScript 5. Find A ω [db] and φ(ω) for the following frequencies (both manually using your calculator (or use MathScript as calculator) and compare using e.g. the bode function in MathScript): ω A ω [db] φ ω (degrees) 0.1 0.16 0.25 0.4 0.625 2.5 Compare the calculated values with the plot are they the same? Task 2: Bode Diagrams Do the following for the systems given below. 1. Find the mathematical expressions for A ω [db] and φ(ω) using pen & paper. 2. Find the break frequencies (Norwegian: knekkfrekvenser ) using pen & paper 3. Plot the Bode plot using MathScript (Use the bode() function) 4. Find poles and zeroes for the system (check your answer using MathScript) Task 2.1 H S = 5 s + 1 (10s + 1) Task 2.2 1 H S = s s + 1!

7 Task 2.3 H s = 3.2e!!! 3s + 1 Task 2.4 H S = (5s + 1) 2s + 1 (10s + 1) Task 3: Steady- state Response Given the following system: The frequency response for the system is then: H s = y(s) u(s) = 1 s + 1 (You may use MathScript to see if you get the same frequency response) For a given input signal: u t = U sinωt

8 The steady- state output signal will be: Task 3.1 y t = UA sin (ωt + φ) Assume the input signal u to the system is a sinusoidal with amplitude U = 0.8 and frequency ω = 1.0 rad/s. Find the steady- state output signal. Task 4: Task 4.1 H s = y(s) u(s) = Find the mathematical expressions for A(ω) and φ(ω) K (T! s + 1)(T! s + 1) Task 5: Sinusoidal input and output signals Given the following plot of the sinusoidal input and output signal for a given system: The input signal is given by:

9 The steady- state output signal will then be: u t = U sinωt y t = UA! sin (ωt + φ) The gain is given by: A = Y U The phase lag is given by: φ = ωδt [rad] Task 5.1 What is the frequency of the signal in Hz and in rad/s? Task 5.2 Calculate the amplitude gain (A) and the phase lag (φ) at the frequency found in Task 5.1. What is the amplitude gain in db? What is the phase lag in degrees? Task 5.3 What is the steady- state output response? Task 5.4 The transfer function for the system is actually: Use MathScript to plot the Bode diagram. H = 1 s + 1 From the plot, find the amplitude gain (A) and the phase lag (φ) at the frequency found in Task 5.1. Do you get the same results? Additional Resources http://home.hit.no/~hansha/?lab=mathscript Here you will find tutorials, additional exercises, etc.