HW4_S - clear all close all % define system b = [1,8]; a =

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
DKL:3/2/10 HW 4 1/3 HW 4 ECE 3704 Due 3-4-10 When drawing Bode plots: 1. You must use semilog graph paper (See Scholar). 2. You must use a straight edge. 1. (10) Draw the straight line approximations of the magnitude and phase Bode plots for the transfer function Y ( s ) X ( s ) = sL R + sL = s s + R L , R L = 10 Solution Y ( s ) X ( s ) = sL R + sL = s s + 10 = ( s ) 1 10 1 s + 10 20log(0.1) = 20 dB
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
DKL:3/2/10 HW 4 2/3 16.4.1 (a) (20) Draw the straight line approximations of the magnitude and phase Bode plots for the transfer function H ( s ) = ( s + 8) ( s + 0.5)( s 2 + 2.4 s + 4) (b) (5) Verify the approximations with MATLAB. Include plots. See Sec 16.4.3. Solution H ( s ) = ( s + 8) ( s + 0.5)( s 2 + 2.4 s + 4) = 8 (0.5)(4) s + 8 8 0.5 s + 0.5 4 s 2 + 2(.6)(2) s + 2 2 20log(0.4) = 12 !" ! # !" ! ! !" " !" ! !" # ! !"" ! $" " $" 03 4/5*67)0’ 89:7 %:& 8&:;9’< # !" ! # !" ! ! !" " !" ! !" # ! ="" ! #"" ! !"" " 0’5 8>/2’ 89:7 %:& 8&:;9’< #
Background image of page 2
DKL:3/2/10 HW 4 3/3 % P16_4_1bv.m
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: clear all close all % define system b = [1,8]; a = conv([1,2.4,4],[1,0.5]); h = tf(b,a); w = logspace(-2,2,300); % frequency vector [mag,phs] = bode(h,w); % calculate bode plots mag = squeeze(mag); phs = squeeze(phs); magdb = 20*log10(mag); % calculate magnitude in dB subplot(2,1,1) semilogx(w,magdb,'k','linewidth',2); grid xlabel('frequency, rad/sec') ylabel('dB') title('Magnitude Plot for Problem 2') subplot(2,1,2) semilogx(w,phs,'k','linewidth',2); grid xlabel('frequency, rad/sec') ylabel('deg') title('Phase Plot for Problem 2') 20log(0.1) = − 20 dB s 10 s + 10 1 10 100 0 -20 90 0 dB Deg -90 s 10 s + 10-20 10 20-30-40 0.1 1 10 100-50 20log(4) = 12 0.5 s + 0.5 4 s 2 + 2( .6)(2) s + 2 2 dB ω-180-135-90-45 45 90 0.01 0.1 1 10 100 deg ω 0.5 s + 0.5 4 s 2 + 2(.6)(2) s + 2 2...
View Full Document

This note was uploaded on 02/07/2011 for the course ECE 3704 taught by Professor Odenaal during the Spring '08 term at Virginia Tech.

Page1 / 6

HW4_S - clear all close all % define system b = [1,8]; a =

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online