Solutions. MathScript. So You Think You Can. Part III: Frequency Response HANS-PETTER HALVORSEN,

Size: px
Start display at page:

Download "Solutions. MathScript. So You Think You Can. Part III: Frequency Response HANS-PETTER HALVORSEN,"

Transcription

1 Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Solutions So You Think You Can HANS-PETTER HALVORSEN, MathScript Part III: Frequency Response Faculty of Technology, Postboks 203, Kjølnes ring 56, N-3901 Porsgrunn, Norway. Tel: Fax:

2 Table of Contents Table of Contents...ii 1 Control Design in MathScript Frequency Response Standard Transfer functions Frequency Response Analysis Stability Analysis of Feedback Systems Additional Tasks ii

3 1 Control Design in MathScript No Tasks. 3

4 2 Frequency Response Task 1: 1.order We have the following transfer function: ( ) Pen & Paper: What is the break frequency (Norwegian: knekkfrekvens )? Find poles and zeroes. From the transfer function we get: Poles: Zeros: None MathScript: Using the poles and zero functions in MathScript gives: % Transfer function num = [4]; den = [2,1]; H = tf(num,den) % Poles and Zeros poles(h) zero(h) ans =

5 5 Frequency Response ans = empty matrix 0 by 1 Set up the mathematical expressions for ( ) and ( ). ( ) ( ) ( ) ( ) Method 1: Bode plot in MathScript Using built-in bode function: Plot the frequency response of the system in a Bode plot using the bode function in MathScript. Discuss the results. MathScript Code: % Transfer function num=[4]; den=[2, 1]; H = tf(num, den) % Bode Plot bode(h) subplot(2,1,1) grid subplot(2,1,2) grid Bode Plot:

6 6 Frequency Response We see that the plot is correct according to our knowledge about a 1.order system. We see that the phase converge to -90 degrees, which is standard for such a 1.order system. Find ( ) and ( ) for the following frequencies using MathScript code (use, e.g., the bode function): ( ) ( )( ) Make sure ( ) is in db. MathScript Code:

7 7 Frequency Response % Margins and Phases wlist=[0.1, 0.16, 0.25, 0.4, 0.625, 2.5]; [mag, phase, w] = bode(h, wlist); magdb=20*log10(mag); %convert to db mag_data = [w, magdb] phase_data = [w, phase] From the code above we get: mag_data = phase_data = Which gives: ( ) ( ) Total Code list: clear clc % Transfer function num=[4]; den=[2, 1]; H = tf(num, den) % Bode Plot bode(h) subplot(2,1,1) grid subplot(2,1,2) grid

8 8 Frequency Response % Margins and Phases wlist=[0.1, 0.16, 0.25, 0.4, 0.625, 2.5]; [mag, phase, w] = bode(h, wlist); magdb=20*log10(mag); %convert to db mag_data = [w, magdb] phase_data = [w, phase] Method2: Bode plot in MathScript Create your own Bode plot from scratch: Find ( ) and ( ) for the same frequencies above using the mathematical expressions for ( ) and ( ). Tip: Use a For Loop and/or define a vector. Plot a Bode diagram using the built-in semilogx function for the frequencies given above. Do you get the same results? MathScript Code: clear clc % Transfer function K = 4; T = 2; num = [K]; den = [T, 1]; H = tf(num, den) % Frequency List wlist=[0.1, 0.16, 0.25, 0.4, 0.625,2.5]; N= length(wlist); for i=1:n end gain(i) = 20*log10(4) - 20*log10(sqrt((2*wlist(i))^2+1)); phase(i) = -atan(2*wlist(i)); phasedeg(i) = phase(i) * 180/pi; %convert to degrees % Print to Screen gain_data = [wlist; gain]' phase_data=[wlist; phasedeg]' % Plot Bode diagram %Gain Plot subplot(2,1,1) semilogx(gain_data(:,1), gain_data(:,2)) grid

9 9 Frequency Response %Phase Plot subplot(2,1,2) semilogx(phase_data(:,1), phase_data(:,2)) grid % % Check with results from the bode function [gain2, phase2,w] = bode(h, wlist); gain2db=20*log10(gain2); %convert to db This gives: We see that this method gives the same answers. Bode plot:

10 10 Frequency Response If we compare the bode plot we created from scratch with the built-in bode plot, and change the axis scaling, we see that this gives the same results: [End of Task] Task 2: 2.order We have the following transfer function: ( ) ( )( ) Pen & Paper: What is the break frequencies (Norwegian: knekkfrekvenser )? Find poles and zeroes.

11 11 Frequency Response Use the poles and zero functions in MathScript. Set up the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. ( ) ( ) ( ) ( ) ( ) ( ) Method 1: Bode plot in MathScript Using built-in bode function: Plot the frequency response of the system in a bode plot using the bode function in MathScript. Tip! Use the conv and the tf functions in MathScript in order to create the transfer function. Discuss the results. Find ( ) and ( ) for some given frequencies using MathScript code (use the bode function) MathScript Code: clear clc % Transfer function K = 5; T1 = 1; T2 = 10; num = [K]; den1 = [T1, 1]; den2 = [T2, 1]; den = conv(den1,den2); H = tf(num, den) % Bode Plot

12 12 Frequency Response bode(h) subplot(2,1,1) grid subplot(2,1,2) grid % Margins and Phases wlist=[0.01, 0.1, 1, 10, 100]; [mag, phase, w] = bode(h, wlist); magdb=20*log10(mag); %convert to db mag_data = [w, magdb] phase_data = [w, phase] Merk! Vi har brukt conv for å slå sammen de 2 leddene i nevnere: % Transfer function K = 5; T1 = 1; T2 = 10; num = [K]; den1 = [T1, 1]; den2 = [T2, 1]; den = conv(den1,den2); H = tf(num, den) Vi kunne også gjort dette manuelt : ( )( ) Nevneren kan da defineres slik: den=[10, 11, 1] Bode Plot:

13 13 Frequency Response We see that the plot is correct according to our knowledge about a 2.order system. We see that the phase converge to -180 degrees, which is standard for such a 2.order system. Frequencies: ( ) ( )( )

14 14 Frequency Response Method2: Bode plot in MathScript Create your own Bode plot from scratch: Find ( ) and ( ) for the same frequencies above using the mathematical expressions for ( ) and ( ). Tip: Use a For Loop or define a vector. Plot a Bode diagram using the built-in semilogx function for the frequencies given above. Same procedure as previous Task. MathScript Code: clear clc % Transfer function K = 5; T1 = 1; T2 = 10; num = [K]; den1 = [T1, 1]; den2 = [T2, 1]; den = conv(den1,den2); H = tf(num, den) % Frequency List wlist=[0.01, 0.1, 1, 10, 100]; N= length(wlist); for i=1:n gain(i) = 20*log10(5) - 20*log10(sqrt((wlist(i))^2+1)) - 20*log10(sqrt((10*wlist(i))^2+1)); phase(i) = -atan(wlist(i)) - atan(10*wlist(i)); phasedeg(i) = phase(i) * 180/pi; %convert to degrees end % Print to Screen gain_data = [wlist; gain]' phase_data=[wlist; phasedeg]'

15 15 Frequency Response % Plot Bode diagram %Gain Plot subplot(2,1,1) semilogx(gain_data(:,1), gain_data(:,2)) grid %Phase Plot subplot(2,1,2) semilogx(phase_data(:,1), phase_data(:,2)) grid % % Check with results from the bode function [gain2, phase2,w] = bode(h, wlist); gain2db=20*log10(gain2); %convert to db We get the same results as in method1 Bode plot: [End of Task] Task 3: Frequency Response

16 16 Frequency Response We have the following transfer function: ( ) ( ) Pen & Paper: What is the break frequencies (Norwegian: knekkfrekvenser )? Find poles and zeroes. Use the poles and zero functions in MathScript. Set up the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. ( ) ( ) ( ) ( ) ( ) ( ) Method 1: Bode plot in MathScript Using built-in bode function: Plot the frequency response of the system in a bode plot using the bode function in MathScript. Discuss the results. Find ( ) and ( ) for some given frequencies using MathScript code (use the bode function).

17 17 Frequency Response Bode Plot: Method2: Bode plot in MathScript Create your own Bode plot from scratch:

18 18 Frequency Response Find ( ) and ( ) for the same frequencies above using the mathematical expressions for ( ) and ( ). Tip: Use a For Loop and/or define a vector w=*0.01, 0.1, +. Plot a Bode diagram using the built-in semilogx function for the frequencies given above. Same procedure as previous Tasks. [End of Task] Task 4: Time-delay Given the following system with time-delay: ( ) Plot the Bode diagram. Discuss the results Set up the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. Find ( ) and ( ) for the following frequencies using MathScript code (use the bode function) [End of Task] MathScript Code: s=tf('s'); K=3.2; T=3; H1=tf(K/(T*s+1)); delay=2; H2=set(H1,'inputdelay',delay); bode(h2); Bode Plot: ( ) ( )( )

19 19 Frequency Response We see that the plot is correct according to our knowledge about a system with delay. We see that the phase curve is very steep, which is standard for such a system. Frequencies: % Margins and Phases wlist=[0.01, 0.1, 1, 10]; [mag, phase,w] = bode(h, wlist); magdb=20*log10(mag); %convert to db mag_data = [w, magdb] phase_data = [w, phase] Here are the Gains and Phases for the specific frequencies:

20 20 Frequency Response Mathematical expressions: ( ) ( ) ( ) ( ) Or in degrees: ( ) ( ( )) Task 5: Calculate Frequency response from sinusoidal input and output signals Given the following system: Set, I this task we will use 4 different methods to find and for a given frequency. Method 1: Calculate Frequency Response from sinusoidal input and output The input signal is given by: ( ) The steady-state output signal will then be: ( ) ( ) The gain is given by: The phase lag is given by: Plot the input signal and the resulting output signal in the same plot. Create a MathScript program where you define the transfer function and define the input signal. Set and.

21 21 Frequency Response Use the lsim function is MathScript to plot the output signal for a given frequency. Make sure you get in decibel and in degrees. For we get: MathScript Code: % Define Transfer function K = 1; T = 1; num = [K]; den = [T, 1]; H = tf(num, den); % Define input signal t = [1: 0.1 : 12]; w = 1; U = 1; u = U*sin(w*t); figure(1) plot(t, u) % Output signal hold on lsim(h, 'r', u, t) grid on hold off legend('input signal', 'output signal') % Values found from plot1 for w=1 Y = 0.68; A = Y/U; AdB = 20*log10(A) dt = 0.8; phi = -w*dt; %[rad] phi_degrees = phi*180/pi %[degrees] This gives the following plot:

22 22 Frequency Response We calculate and from the plot below From the plot we get: Using: and We get: We create a simple script that calculate the values (or you can do it manually):

23 23 Frequency Response MathScript Code: % Values found from plot1 for w=1 Y = 0.68; A = Y/U; AdB = 20*log10(A) dt = 0.8; phi = -w*dt; %[rad] phi_degrees = phi*180/pi %[degrees] The result from the script is: AdB = phi_degrees = Method 2: Find Gain and Phase from the Bode plot Plot the bode plot (use the bode function), and see if you get the same results. bode(h) Read the values for and for from the Bode plot. Make sure you get in decibel and in degrees. For we get: MathScript Code: %Bode plot figure(2) bode(h) subplot(2,1,1) grid on subplot(2,1,2) grid on This gives:

24 24 Frequency Response We see that the results we get is correct Method 3: Calculate the Gain and Phase from the mathematical expressions Set up the mathematical expressions for ( ) and ( ) and calculate the values for. Make sure you get in decibel and in degrees. For we get: Mathematical expressions: ( ) ( ) ( ) ( ) MathScript Code: gain = 20*log10(1) - 20*log10(sqrt(w^2+1)) phase = -atan(w);

25 25 Frequency Response phasedeg = phase * 180/pi %convert to degrees Results: gain = phasedeg = -45 Method 4: Find Gain and Phase using the bode function directly Use also the bode function to calculate the exact values. The bode function can be used like this: [mag, phase, wout] = bode(h, wlist); Compare and see if you get the same results as in the methods above. Make sure you get in decibel and in degrees. For we get: We use the bode function to get the magnitudes and phases: %Calculated magnitude and phase values for some given frequencies wlist = [1]; [mag, phase, wout] = bode(h, wlist); magdb = 20*log10(mag) phase This gives: magdb = phase = The procedure is exactly the same for, etc., and will not be shown here. [End of Task]

26 26 Frequency Response 2.1 Standard Transfer functions Task 6: 1.order system The transfer function for a 1.order system is as follows: ( ) Where is the gain T is the Time constant Tasks: Find the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. ( ) ( ) ( ) ( ) ( ) Plot the Bode plots

27 27 Frequency Response Find the break frequencies (Norwegian: knekkfrekvenser ) Set, e.g., K=1 and T=1 Discuss the results [End of Task] Task 7: 2.order system The transfer function for a 2.order system is as follows: ( ) ( ) Where is the gain zeta is the relative damping factor [rad/s] is the undamped resonance frequency. Tasks:

28 28 Frequency Response Find the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. We have: ( ) ( ) Then we get: ( ) ( ) ( ) ( ) ( ) ( ) ( ) Plot the Bode plots Solution: Find the break frequencies (Norwegian: knekkfrekvenser ) Set, e.g., K=1,,

29 29 Frequency Response Discuss the results [End of Task] Task 8: Time delay The transfer function for a Time Delay is as follows: ( ) Where is the gain is the time-delay Tasks: Find the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. ( ) ( ) ( ) ( ) Note! Plot the Bode plots

30 30 Frequency Response Find the break frequencies (Norwegian: knekkfrekvenser ) Set, e.g., K=1 and Discuss the results [End of Task]

31 3 Frequency Response Analysis Task 9: Frequency Response Analysis Given the following system: Process transfer function: Where, where,, and Measurement (sensor) transfer function: Where Km = 1 %/m. Controller transfer function (PI Controller): Set Kp = 1,5 og Ti = 1000 sec. Define the different transfer functions in MathScript. We define the different transfer functions. There are multiple ways to define the different transfer functions, and we will show some alternative solutions. 31

32 32 Frequency Response Analysis The tricky part is the time delay in the process transfer function. Here we can use different approaches and different functions. We can use the built-in sys_order1, we can use the built-in pade function or create our own Pade approximation (e.g. a 1.order or 2.order approximation). Method1: Here we use combinations of functions tf and sys_order1. clear clc close all % Model parameters: Ks=0.556; %(kg/s)/% A=13.4; %m2 rho=145; %kg/m3 transportdelay=250; %sec %Defining the process transfer function: K=Ks/(rho*A); num1 = [K]; den1 = [1, 0]; H1 = tf(num1, den1); H2 = sys_order1(1, 0, transportdelay); disp('process:') Hp = series(h1, H2) % Defining sensor transfer function: Km=1; %percent per meter disp('sensor:') Hs=tf(Km) % Defining controller transfer function: Kp=1.5; Ti=1000; num = Kp*[Ti, 1]; den = [Ti, 0]; disp('controller:') Hc = tf(num,den) Note! ( ) We can also use the pade function in order to create a Pade approximation: n=5; % Order of Pade approximation H2 = pade(transportdelay, n)

33 33 Frequency Response Analysis Or we can create our own Pade approximation and then use the tf function: % 2.order approx. using tf k1=transportdelay/2; k2=transportdelay^2/12; num=[k2, -k1, 1]; den=[k2, k1, 1]; H2=tf(num, den) For a 2.order Pade approximation ( ) we get the following transfer function: We get: Where: Method 2: This is a new method we haven t used before. We define s as the Laplace operator and then we can use s directly in our equations. clear clc close all s=tf('s'); %Model parameters: Ks=0.556; %(kg/s)/% A=13.4; %m2 rho=145; %kg/m3 transportdelay=250; %sec %Defining the process transfer function: K=Ks/(rho*A); padeorder=5; %Order of Pade-approximation of time-delay. Order 5 is usually ok. Hp1=set(tf(K/s),'inputdelay',transportdelay);%Including transportdelay in process transfer function Hp=pade(Hp1,padeorder);%Deriving process transfer function incl. Pade-approx of time-delay

34 34 Frequency Response Analysis %Defining sensor transfer function: Km=1; Hs=tf(Km); %Defining sensor transfer function (just a gain in this example) %Defining controller transfer function: Kp=1.5; Ti=1000; Hc=Kp+Kp/(Ti*s); %PI controller transfer function Set up the mathematical expression and define the Loop transfer function ( ). Tip! Use the built-in function series in Mathscript. Set up the mathematical expression and define the Sensitivity transfer function ( ) Tip! Use the built-in function feedback in Mathscript. Set up the mathematical expression and define the Tracking transfer function ( ) Tip! Use the code located here as an example: Introduction to MathScript by Finn Haugen. [End of Task] Control system: Defining ( ): ( )

35 35 Frequency Response Analysis We get the following compact system: Mathscriot Code: % Calculating loop tranfer function L=series(Hc,series(Hp,Hs)); %Calculating tracking transfer function T=feedback(L,1); % Calculating sensitivity transfer function S=1-T; Bode plot: Plot the Loop transfer function ( ), the Tracking transfer function ( ) and the Sensitivity transfer function ( ) in a Bode diagram. Use, e.g., the bodemag function in MathScript. Discuss the results. Code: % Bode Diagram figure(1) bodemag(l,t,s) grid Bode diagram:

36 36 Frequency Response Analysis Step Response: Plot the step response for the Tracking transfer function ( ) Discuss the results. Code: % Simulating step response for control system (tracking transfer function) figure(2) step(t) grid Plot:

37 37 Frequency Response Analysis Stability Margins: Find the stability margins (GM, PM) of the system ( ( )). Discuss the results. Code: % Calcutating stability margins and crossover frequencies: [gm, pm, w180, wc] = margin(l) % Plotting L and stability margins and crossover frequencies in Bode diagram figure(3) margin(l) grid This gives:

38 38 Frequency Response Analysis Shown in the Ouput Window of Mathscript: GM=12.764, and PM = deg. The system is asymptotically stable GM is ok, but PM somewhat too small (should have been at least 30 deg). May try to increase Ti to e.g Decreasing Kp does not help (normally it does, but it can be shown that for this system,

39 39 Frequency Response Analysis containing two integrators in series (PI controller and process), reducing gain may actually reduce stability (normally the stability is increased if gain is reduced). Bandwidths: Find the different bandwidths (see the sketch below). crossover-frequency the frequency where the gain of the Loop transfer function ( ) has the value: the frequency where the gain of the Tracking function ( ) has the value: - the frequency where the gain of the Sensitivity transfer function ( ) has the value: Discuss the results. Values for can be found in the plot as shown below:

40 40 Frequency Response Analysis We change the scaling for more details: I get the following values:

41 41 Frequency Response Analysis Below we see the complete code for the Task: clear clc close all % Model parameters: Ks=0.556; %(kg/s)/% A=13.4; %m2 rho=145; %kg/m3 transportdelay=250; %sec %Defining the process transfer function: K=Ks/(rho*A); num1 = [K]; den1 = [1, 0]; H1 = tf(num1, den1); H2 = sys_order1(1, 0, transportdelay); disp('process:') Hp = series(h1, H2) % Defining sensor transfer function: Km=1; %percent per meter disp('sensor:') Hs=tf(Km) % Defining controller transfer function: Kp=1.5; Ti=1000; num = Kp*[Ti, 1]; den = [Ti, 0]; disp('controller:') Hc = tf(num,den) % Calculating loop tranfer function L=series(Hc,series(Hp,Hs)); %Calculating tracking transfer function T=feedback(L,1); % Calculating sensitivity transfer function S=1-T;

42 42 Frequency Response Analysis % Bode Diagram figure(1) bodemag(l,t,s) grid % Simulating step response for control system (tracking transfer function) figure(2) step(t) grid % Calcutating stability margins and crossover frequencies: [gm, pm, w180, wc] = margin(l) % Plotting L and stability margins and crossover frequencies in Bode diagram figure(3) margin(l) grid [End of Task]

43 4 Stability Analysis of Feedback Systems Task 10: Gain and phase margins Given the following system: ( ) ( ) We will find the crossover-frequencies for the system using MathScript. We will also find also the gain margins and phase margins for the system. Method 1: Use the standard bode function and find the crossover-frequencies, the gain margins and the phase margins for the system. GM, PM, and are found as illustrated below: Method 2: Plot a bode diagram where the crossover-frequencies, GM and PM are illustrated. Tip! Use the margin function in MathScript. Use also the margins function to find gmf, gm, pmf, pm. 43

44 44 Stability Analysis of Feedback Systems Compare you results. [End of Task] Code: clear, clc % Transfer function num=[1]; den1=[1,0]; den2=[1,1] den3=[1,1] den = conv(den1,conv(den2,den3)); H = tf(num, den) % Bode Plot bode(h) % Margins and Phases wlist=[0.01, 0.1, 0.2, 0.5, 1, 10, 100]; [mag, phase,w] = bode(h, wlist); magdb=20*log10(mag); %convert to db % [mag, phase,w] = bode(h); mag_data = [w, magdb] phase_data = [w, phase] % Crossover Frequency margin(h) [gm, pm, w180, wc] = margin(h); wc w180 % Convert to db. gm_db = 20*log10(gm) pm Note! Using help margin in MathScript does not give the correct information about the return paramaters return by the margin function!! The correct is: [gm, pm, w180, wc] = margin(h); The Bode diagram:

45 45 Stability Analysis of Feedback Systems We have to find GM, PM, wc and w180 manually from the plot. From the graph above we find the following (an image editor is used to draw on the chart):

46 46 Stability Analysis of Feedback Systems Using the margin function (gm, fm, gmf and pmf are automatically plotted in the Bode chart):

47 47 Stability Analysis of Feedback Systems Results: wc = w180 = gm_db = pm = Note! gm has to be converted to db. gm_db = 20*log10(gm) So the results are as follows:

48 48 Stability Analysis of Feedback Systems Task 11: Time-delay Given the following system with time-delay: ( ) We will find the crossover-frequencies for the system using MathScript. We will also find the gain margins and phase margins for the system. Method 1: Use the standard bode function and find the crossover-frequencies, the gain margins and the phase margins for the system. Method 2: Plot a bode diagram where the crossover-frequencies, GM and PM are illustrated. Tip! Use the margin function in MathScript. Use also the margins function to find gmf, gm, pmf, pm. Compare you results. [End of Task] Code: clear, clc s=tf('s'); K=2.5; T=3; H1=tf(K/(T*s+1)); delay=1; H=set(H1,'inputdelay',delay); bode(h); margin(h) [gm, pm, w180, wc] = margin(h); wc w180 % Convert to db. gm_db = 20*log10(gm)

49 49 Stability Analysis of Feedback Systems pm Ordinary Bode Plot using the bode function (I have manually adjusted the scaling and added grids): We have to find GM, PM, wc and w180 manually from the plot. Using the margin function (gm, fm, gmf and pmf are automatically plotted in the Bode chart):

50 50 Stability Analysis of Feedback Systems Using [gm, pm, w180, wc] = margin(h); gives: wc = w180 = gm_db = pm = Note! gm has to be converted to db. gm_db = 20*log10(gm) So the results are as follows:

51 51 Stability Analysis of Feedback Systems

52 5 Additional Tasks Here are some additional tasks. Task 12: Amplifier The transfer function for an Amplifier is as follows: ( ) Where is the gain Find the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. ( ) ( ) ( ) ( ) Plot the Bode plots 52

53 53 Additional Tasks [End of Task] Task 13: Integrator The transfer function for an Integrator is as follows: ( ) Where is the gain Tasks: Find the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. ( ) ( ) ( ) ( ) Plot the Bode plots

54 54 Additional Tasks Find the break frequencies (Norwegian: knekkfrekvenser ) Set, e.g., K=1. Discuss the results [End of Task] Task 14: Derivator The transfer function for a Derivator is as follows: ( ) Where is the gain Tasks: Find the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment.

55 55 Additional Tasks ( ) ( ) ( ) ( ) Plot the Bode plots Solution: Find the break frequencies (Norwegian: knekkfrekvenser ) Set, e.g., K=1 Discuss the results [End of Task] Task 15: Zero part The transfer function for a Zero part (Norwegian: Nullpunktsledd ) system is as follows: ( ) ( ) Where is the gain T is the Time constant

56 56 Additional Tasks Tasks: Find the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. Gain: ( ) ( ) ( ) or in db: ( ) ( ) Phase: ( ) ( ) ( ) Plot the Bode plots Find the break frequencies (Norwegian: knekkfrekvenser ) Set, e.g., K=1 and T=1

57 57 Additional Tasks Discuss the results [End of Task] Task 16: Frequency Response We have the following transfer function: ( ) ( ) ( )( ) What is the break frequencies (Norwegian: knekkfrekvenser )? Find poles and zeroes. Use the poles and zero functions in MathScript. Set up the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) Plot the frequency response of the system in a bode plot using the bode function in MathScript. Discuss the results.

58 58 Additional Tasks Find ( ) and ( ) for some given frequencies using MathScript code (use the bode function). Bode Plot:

59 59 Additional Tasks Find ( ) and ( ) for the same frequencies above using the mathematical expressions for ( ) and ( ). Tip: use a For Loop or define a vector w=*0.01, 0.1, +. Same procedure as previous Task. [End of Task] Task 17: Frequency Response We have the following transfer function: ( ) ( ) ( ) ( ) ( )( ) Plot the frequency response of the system in a bode plot using the bode function in MathScript. Discuss the results. Set Add a title for the plot using the title function in MathScript. Set up the mathematical expressions for ( ) and ( ). Use Pen & Paper for this Assignment. Find the break frequencies? [End of Task]

60 60 Additional Tasks Bode Plot: Task 18: Bode Diagram Given the following system: ( ) Plot the Bode diagram. Is it possible? Discuss the results. (Tip: The system is unstable)

61 61 Additional Tasks [End of Task] The system is unstable and Frequency Response gives meaning only for stable systems. Note! The frequency response of a system is defined as the steady-state response of the system to a sinusoidal input signal. The Bode diagram for unstable systems don t show what happens with the sinusoidal signal of a given frequency when the system input is transferred through the system because it never reach steady state. We see that the system is unstable because some of the coefficients in the denominator polynomial are negative. We confirm this by some simulations and finding the poles for the system: poles(h) pzgraph(h) This gives: We see the poles are complex conjugate and that they lies in the right half-plane. We plot the step response for the transfer function using the step function:

62 62 Additional Tasks num=[1,1]; den=[1,-1,3]; H=tf(num,den); t=[0:0.01:10]; step(h,t); This gives the following plot: We see the system is unstable Task 19: PID Controller Plot the Bode diagram for a P, PI, PD and a PID controller using the pid and bode functions. ( ) Set up the mathematical expressions for these controllers. Use Pen & Paper for this Assignment. Discuss the results. [End of Task]

63 63 Additional Tasks Plots: P controller PI controller

64 64 Additional Tasks PD controller PID controller Task 20: Stability Analysis Given the following transfer function: Set ( ) ( ) ( ) ( ) ( )( ) Find the crossover-frequencies for the system using MathScript. Find also the gain margins and phase margins for the system. Plot a Bode diagram where the crossover-frequencies, GM and PM are illustrated. Tip! Use the margin function in MathScript. [End of Task] Solution:

65 65 Additional Tasks Bode Plot: The phase never crosses 180 degrees. Task 21: Crossover-frequencies Given the following system: ( ) Find the crossover-frequencies for the system using MathScript. Find also the gain margins and phase margins for the system. Is it possible? (Tip: The system is unstable) [End of Task] The system is unstable and Frequency Response gives meaning only for stable systems We see that the system is unstable because some of the coefficients in the denominator polynomial are negative. We plot the step response for the transfer function using the step function: num=[1,1]; den=[1,-1,3];

66 66 Additional Tasks H=tf(num,den); t=[0:0.01:10]; step(h,t); We see the system is unstable We also find the poles for the system: poles(h) pzgraph(h)

67 67 Additional Tasks

68 Telemark University College Faculty of Technology Kjølnes Ring 56 N-3914 Porsgrunn, Norway Hans-Petter Halvorsen, M.Sc. Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Phone: Blog: Room: B-237a

Exercise 3: Transfer functions (Solutions)

Exercise 3: Transfer functions (Solutions) Exercise 3: Transfer functions (Solutions) Transfer functions are a model form based on the Laplace transform. Transfer functions are very useful in analysis and design of linear dynamic systems. A general

More information

Exercise 1a: Transfer functions

Exercise 1a: Transfer functions Exercise 1a: Transfer functions Transfer functions are a model form based on the Laplace transform. Transfer functions are very useful in analysis and design of linear dynamic systems. A general Transfer

More information

Exercises for lectures 13 Design using frequency methods

Exercises for lectures 13 Design using frequency methods Exercises for lectures 13 Design using frequency methods Michael Šebek Automatic control 2016 31-3-17 Setting of the closed loop bandwidth At the transition frequency in the open loop is (from definition)

More information

ELECTRONICS & COMMUNICATIONS DEP. 3rd YEAR, 2010/2011 CONTROL ENGINEERING SHEET 5 Lead-Lag Compensation Techniques

ELECTRONICS & COMMUNICATIONS DEP. 3rd YEAR, 2010/2011 CONTROL ENGINEERING SHEET 5 Lead-Lag Compensation Techniques CAIRO UNIVERSITY FACULTY OF ENGINEERING ELECTRONICS & COMMUNICATIONS DEP. 3rd YEAR, 00/0 CONTROL ENGINEERING SHEET 5 Lead-Lag Compensation Techniques [] For the following system, Design a compensator such

More information

Frequency Response Analysis

Frequency Response Analysis Frequency Response Analysis Consider let the input be in the form Assume that the system is stable and the steady state response of the system to a sinusoidal inputdoes not depend on the initial conditions

More information

MAE 143B - Homework 9

MAE 143B - Homework 9 MAE 143B - Homework 9 7.1 a) We have stable first-order poles at p 1 = 1 and p 2 = 1. For small values of ω, we recover the DC gain K = lim ω G(jω) = 1 1 = 2dB. Having this finite limit, our straight-line

More information

ECE382/ME482 Spring 2005 Homework 7 Solution April 17, K(s + 0.2) s 2 (s + 2)(s + 5) G(s) =

ECE382/ME482 Spring 2005 Homework 7 Solution April 17, K(s + 0.2) s 2 (s + 2)(s + 5) G(s) = ECE382/ME482 Spring 25 Homework 7 Solution April 17, 25 1 Solution to HW7 AP9.5 We are given a system with open loop transfer function G(s) = K(s +.2) s 2 (s + 2)(s + 5) (1) and unity negative feedback.

More information

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK SUB.NAME : CONTROL SYSTEMS BRANCH : ECE YEAR : II SEMESTER: IV 1. What is control system? 2. Define open

More information

Exercise 1 (A Non-minimum Phase System)

Exercise 1 (A Non-minimum Phase System) Prof. Dr. E. Frazzoli 5-59- Control Systems I (Autumn 27) Solution Exercise Set 2 Loop Shaping clruch@ethz.ch, 8th December 27 Exercise (A Non-minimum Phase System) To decrease the rise time of the system,

More information

MAS107 Control Theory Exam Solutions 2008

MAS107 Control Theory Exam Solutions 2008 MAS07 CONTROL THEORY. HOVLAND: EXAM SOLUTION 2008 MAS07 Control Theory Exam Solutions 2008 Geir Hovland, Mechatronics Group, Grimstad, Norway June 30, 2008 C. Repeat question B, but plot the phase curve

More information

Exercise 1 (A Non-minimum Phase System)

Exercise 1 (A Non-minimum Phase System) Prof. Dr. E. Frazzoli 5-59- Control Systems I (HS 25) Solution Exercise Set Loop Shaping Noele Norris, 9th December 26 Exercise (A Non-minimum Phase System) To increase the rise time of the system, we

More information

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications: 1. (a) The open loop transfer function of a unity feedback control system is given by G(S) = K/S(1+0.1S)(1+S) (i) Determine the value of K so that the resonance peak M r of the system is equal to 1.4.

More information

Frequency Response part 2 (I&N Chap 12)

Frequency Response part 2 (I&N Chap 12) Frequency Response part 2 (I&N Chap 12) Introduction & TFs Decibel Scale & Bode Plots Resonance Scaling Filter Networks Applications/Design Frequency response; based on slides by J. Yan Slide 3.1 Example

More information

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design ECSE 4962 Control Systems Design A Brief Tutorial on Control Design Instructor: Professor John T. Wen TA: Ben Potsaid http://www.cat.rpi.edu/~wen/ecse4962s04/ Don t Wait Until The Last Minute! You got

More information

Stability of CL System

Stability of CL System Stability of CL System Consider an open loop stable system that becomes unstable with large gain: At the point of instability, K( j) G( j) = 1 0dB K( j) G( j) K( j) G( j) K( j) G( j) =± 180 o 180 o Closed

More information

LabVIEW 开发技术丛书 控制设计与仿真实战篇

LabVIEW 开发技术丛书 控制设计与仿真实战篇 LabVIEW 开发技术丛书 控制设计与仿真实战篇 录目录 Modeling DC Motor Position 1-8 Motor Position PID Control 9-18 Root Locus Design Method for Motor Position Control 19-28 Frequency Design Method for Motor Position Control

More information

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203. DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING SUBJECT QUESTION BANK : EC6405 CONTROL SYSTEM ENGINEERING SEM / YEAR: IV / II year

More information

7.2 Controller tuning from specified characteristic polynomial

7.2 Controller tuning from specified characteristic polynomial 192 Finn Haugen: PID Control 7.2 Controller tuning from specified characteristic polynomial 7.2.1 Introduction The subsequent sections explain controller tuning based on specifications of the characteristic

More information

Systems Analysis and Control

Systems Analysis and Control Systems Analysis and Control Matthew M. Peet Arizona State University Lecture 21: Stability Margins and Closing the Loop Overview In this Lecture, you will learn: Closing the Loop Effect on Bode Plot Effect

More information

INTRODUCTION TO DIGITAL CONTROL

INTRODUCTION TO DIGITAL CONTROL ECE4540/5540: Digital Control Systems INTRODUCTION TO DIGITAL CONTROL.: Introduction In ECE450/ECE550 Feedback Control Systems, welearnedhow to make an analog controller D(s) to control a linear-time-invariant

More information

EC CONTROL SYSTEM UNIT I- CONTROL SYSTEM MODELING

EC CONTROL SYSTEM UNIT I- CONTROL SYSTEM MODELING EC 2255 - CONTROL SYSTEM UNIT I- CONTROL SYSTEM MODELING 1. What is meant by a system? It is an arrangement of physical components related in such a manner as to form an entire unit. 2. List the two types

More information

MAE 143B - Homework 9

MAE 143B - Homework 9 MAE 43B - Homework 9 7.2 2 2 3.8.6.4.2.2 9 8 2 2 3 a) G(s) = (s+)(s+).4.6.8.2.2.4.6.8. Polar plot; red for negative ; no encirclements of, a.s. under unit feedback... 2 2 3. 4 9 2 2 3 h) G(s) = s+ s(s+)..2.4.6.8.2.4

More information

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593 LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593 ELECTRICAL ENGINEERING DEPARTMENT JIS COLLEGE OF ENGINEERING (AN AUTONOMOUS INSTITUTE) KALYANI, NADIA CONTROL SYSTEM I LAB. MANUAL EE 593 EXPERIMENT

More information

APPLICATIONS FOR ROBOTICS

APPLICATIONS FOR ROBOTICS Version: 1 CONTROL APPLICATIONS FOR ROBOTICS TEX d: Feb. 17, 214 PREVIEW We show that the transfer function and conditions of stability for linear systems can be studied using Laplace transforms. Table

More information

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013 Today s Objectives ENGR 105: Feedback Control Design Winter 2013 Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013 1. introduce the MATLAB Control System Toolbox

More information

Homework 7 - Solutions

Homework 7 - Solutions Homework 7 - Solutions Note: This homework is worth a total of 48 points. 1. Compensators (9 points) For a unity feedback system given below, with G(s) = K s(s + 5)(s + 11) do the following: (c) Find the

More information

ECE382/ME482 Spring 2005 Homework 6 Solution April 17, (s/2 + 1) s(2s + 1)[(s/8) 2 + (s/20) + 1]

ECE382/ME482 Spring 2005 Homework 6 Solution April 17, (s/2 + 1) s(2s + 1)[(s/8) 2 + (s/20) + 1] ECE382/ME482 Spring 25 Homework 6 Solution April 17, 25 1 Solution to HW6 P8.17 We are given a system with open loop transfer function G(s) = 4(s/2 + 1) s(2s + 1)[(s/8) 2 + (s/2) + 1] (1) and unity negative

More information

Root Locus Techniques

Root Locus Techniques 4th Edition E I G H T Root Locus Techniques SOLUTIONS TO CASE STUDIES CHALLENGES Antenna Control: Transient Design via Gain a. From the Chapter 5 Case Study Challenge: 76.39K G(s) = s(s+50)(s+.32) Since

More information

CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION

CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION Objectives Students should be able to: Draw the bode plots for first order and second order system. Determine the stability through the bode plots.

More information

ECE 486 Control Systems

ECE 486 Control Systems ECE 486 Control Systems Spring 208 Midterm #2 Information Issued: April 5, 208 Updated: April 8, 208 ˆ This document is an info sheet about the second exam of ECE 486, Spring 208. ˆ Please read the following

More information

Answers to multiple choice questions

Answers to multiple choice questions Answers to multiple choice questions Chapter 2 M2.1 (b) M2.2 (a) M2.3 (d) M2.4 (b) M2.5 (a) M2.6 (b) M2.7 (b) M2.8 (c) M2.9 (a) M2.10 (b) Chapter 3 M3.1 (b) M3.2 (d) M3.3 (d) M3.4 (d) M3.5 (c) M3.6 (c)

More information

ECE 388 Automatic Control

ECE 388 Automatic Control Lead Compensator and PID Control Associate Prof. Dr. of Mechatronics Engineeering Çankaya University Compulsory Course in Electronic and Communication Engineering Credits (2/2/3) Course Webpage: http://ece388.cankaya.edu.tr

More information

FREQUENCY-RESPONSE DESIGN

FREQUENCY-RESPONSE DESIGN ECE45/55: Feedback Control Systems. 9 FREQUENCY-RESPONSE DESIGN 9.: PD and lead compensation networks The frequency-response methods we have seen so far largely tell us about stability and stability margins

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 Electrical and Electronics Engineering TUTORIAL QUESTION BAN Course Name : CONTROL SYSTEMS Course Code : A502 Class : III

More information

Control Systems Engineering ( Chapter 8. Root Locus Techniques ) Prof. Kwang-Chun Ho Tel: Fax:

Control Systems Engineering ( Chapter 8. Root Locus Techniques ) Prof. Kwang-Chun Ho Tel: Fax: Control Systems Engineering ( Chapter 8. Root Locus Techniques ) Prof. Kwang-Chun Ho kwangho@hansung.ac.kr Tel: 02-760-4253 Fax:02-760-4435 Introduction In this lesson, you will learn the following : The

More information

Systems Analysis and Control

Systems Analysis and Control Systems Analysis and Control Matthew M. Peet Arizona State University Lecture 24: Compensation in the Frequency Domain Overview In this Lecture, you will learn: Lead Compensators Performance Specs Altering

More information

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control Chapter 2 Classical Control System Design Overview Ch. 2. 2. Classical control system design Introduction Introduction Steady-state Steady-state errors errors Type Type k k systems systems Integral Integral

More information

Frequency Response Techniques

Frequency Response Techniques 4th Edition T E N Frequency Response Techniques SOLUTION TO CASE STUDY CHALLENGE Antenna Control: Stability Design and Transient Performance First find the forward transfer function, G(s). Pot: K 1 = 10

More information

Today (10/23/01) Today. Reading Assignment: 6.3. Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10

Today (10/23/01) Today. Reading Assignment: 6.3. Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10 Today Today (10/23/01) Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10 Reading Assignment: 6.3 Last Time In the last lecture, we discussed control design through shaping of the loop gain GK:

More information

1 (20 pts) Nyquist Exercise

1 (20 pts) Nyquist Exercise EE C128 / ME134 Problem Set 6 Solution Fall 2011 1 (20 pts) Nyquist Exercise Consider a close loop system with unity feedback. For each G(s), hand sketch the Nyquist diagram, determine Z = P N, algebraically

More information

Lecture 6 Classical Control Overview IV. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Lecture 6 Classical Control Overview IV. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore Lecture 6 Classical Control Overview IV Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore Lead Lag Compensator Design Dr. Radhakant Padhi Asst.

More information

Performance of Feedback Control Systems

Performance of Feedback Control Systems Performance of Feedback Control Systems Design of a PID Controller Transient Response of a Closed Loop System Damping Coefficient, Natural frequency, Settling time and Steady-state Error and Type 0, Type

More information

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS CHBE320 LECTURE X STABILITY OF CLOSED-LOOP CONTOL SYSTEMS Professor Dae Ryook Yang Spring 2018 Dept. of Chemical and Biological Engineering 10-1 Road Map of the Lecture X Stability of closed-loop control

More information

Positioning Servo Design Example

Positioning Servo Design Example Positioning Servo Design Example 1 Goal. The goal in this design example is to design a control system that will be used in a pick-and-place robot to move the link of a robot between two positions. Usually

More information

IC6501 CONTROL SYSTEMS

IC6501 CONTROL SYSTEMS DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR/SEMESTER: II/IV IC6501 CONTROL SYSTEMS UNIT I SYSTEMS AND THEIR REPRESENTATION 1. What is the mathematical

More information

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies. SET - 1 II B. Tech II Semester Supplementary Examinations Dec 01 1. a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies..

More information

EEL2216 Control Theory CT1: PID Controller Design

EEL2216 Control Theory CT1: PID Controller Design EEL6 Control Theory CT: PID Controller Design. Objectives (i) To design proportional-integral-derivative (PID) controller for closed loop control. (ii) To evaluate the performance of different controllers

More information

Controls Problems for Qualifying Exam - Spring 2014

Controls Problems for Qualifying Exam - Spring 2014 Controls Problems for Qualifying Exam - Spring 2014 Problem 1 Consider the system block diagram given in Figure 1. Find the overall transfer function T(s) = C(s)/R(s). Note that this transfer function

More information

Automatic Control (MSc in Mechanical Engineering) Lecturer: Andrea Zanchettin Date: Student ID number... Signature...

Automatic Control (MSc in Mechanical Engineering) Lecturer: Andrea Zanchettin Date: Student ID number... Signature... Automatic Control (MSc in Mechanical Engineering) Lecturer: Andrea Zanchettin Date: 29..23 Given and family names......................solutions...................... Student ID number..........................

More information

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review Week Date Content Notes 1 6 Mar Introduction 2 13 Mar Frequency Domain Modelling 3 20 Mar Transient Performance and the s-plane 4 27 Mar Block Diagrams Assign 1 Due 5 3 Apr Feedback System Characteristics

More information

Answers for Homework #6 for CST P

Answers for Homework #6 for CST P Answers for Homework #6 for CST 407 02P Assigned 5/10/07, Due 5/17/07 Constructing Evans root locus diagrams in Scilab Root Locus It is easy to construct a root locus of a transfer function in Scilab.

More information

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015 FACULTY OF ENGINEERING AND SCIENCE SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015 Lecturer: Michael Ruderman Problem 1: Frequency-domain analysis and control design (15 pt) Given is a

More information

Boise State University Department of Electrical Engineering ECE461 Control Systems. Control System Design in the Frequency Domain

Boise State University Department of Electrical Engineering ECE461 Control Systems. Control System Design in the Frequency Domain Boise State University Department of Electrical Engineering ECE6 Control Systems Control System Design in the Frequency Domain Situation: Consider the following block diagram of a type- servomechanism:

More information

Chapter 9: Controller design

Chapter 9: Controller design Chapter 9. Controller Design 9.1. Introduction 9.2. Effect of negative feedback on the network transfer functions 9.2.1. Feedback reduces the transfer function from disturbances to the output 9.2.2. Feedback

More information

Engraving Machine Example

Engraving Machine Example Engraving Machine Example MCE44 - Fall 8 Dr. Richter November 24, 28 Basic Design The X-axis of the engraving machine has the transfer function G(s) = s(s + )(s + 2) In this basic example, we use a proportional

More information

Control System lab Experiments using Compose (VTU University Syllabus)

Control System lab Experiments using Compose (VTU University Syllabus) Control System lab Experiments using Compose (VTU University Syllabus) Author: Sijo George Reviewer: Sreeram Mohan Altair Engineering, Bangalore Version: 1 Date: 09/11/2016 1 CONTENTS EXP. 1: STEP RESPONSE

More information

Desired Bode plot shape

Desired Bode plot shape Desired Bode plot shape 0dB Want high gain Use PI or lag control Low freq ess, type High low freq gain for steady state tracking Low high freq gain for noise attenuation Sufficient PM near ω gc for stability

More information

ECE 3793 Matlab Project 3 Solution

ECE 3793 Matlab Project 3 Solution ECE 3793 Matlab Project 3 Solution Spring 27 Dr. Havlicek. (a) In text problem 9.22(d), we are given X(s) = s + 2 s 2 + 7s + 2 4 < Re {s} < 3. The following Matlab statements determine the partial fraction

More information

Outline. Classical Control. Lecture 5

Outline. Classical Control. Lecture 5 Outline Outline Outline 1 What is 2 Outline What is Why use? Sketching a 1 What is Why use? Sketching a 2 Gain Controller Lead Compensation Lag Compensation What is Properties of a General System Why use?

More information

EC6405 - CONTROL SYSTEM ENGINEERING Questions and Answers Unit - I Control System Modeling Two marks 1. What is control system? A system consists of a number of components connected together to perform

More information

Table of Laplacetransform

Table of Laplacetransform Appendix Table of Laplacetransform pairs 1(t) f(s) oct), unit impulse at t = 0 a, a constant or step of magnitude a at t = 0 a s t, a ramp function e- at, an exponential function s + a sin wt, a sine fun

More information

Procedure for sketching bode plots (mentioned on Oct 5 th notes, Pg. 20)

Procedure for sketching bode plots (mentioned on Oct 5 th notes, Pg. 20) Procedure for sketching bode plots (mentioned on Oct 5 th notes, Pg. 20) 1. Rewrite the transfer function in proper p form. 2. Separate the transfer function into its constituent parts. 3. Draw the Bode

More information

Automatic Control (TSRT15): Lecture 7

Automatic Control (TSRT15): Lecture 7 Automatic Control (TSRT15): Lecture 7 Tianshi Chen Division of Automatic Control Dept. of Electrical Engineering Email: tschen@isy.liu.se Phone: 13-282226 Office: B-house extrance 25-27 Outline 2 Feedforward

More information

Classify a transfer function to see which order or ramp it can follow and with which expected error.

Classify a transfer function to see which order or ramp it can follow and with which expected error. Dr. J. Tani, Prof. Dr. E. Frazzoli 5-059-00 Control Systems I (Autumn 208) Exercise Set 0 Topic: Specifications for Feedback Systems Discussion: 30.. 208 Learning objectives: The student can grizzi@ethz.ch,

More information

Poles and Zeros and Transfer Functions

Poles and Zeros and Transfer Functions Poles and Zeros and Transfer Functions Transfer Function: Considerations: Factorization: A transfer function is defined as the ratio of the Laplace transform of the output to the input with all initial

More information

PID controllers. Laith Batarseh. PID controllers

PID controllers. Laith Batarseh. PID controllers Next Previous 24-Jan-15 Chapter six Laith Batarseh Home End The controller choice is an important step in the control process because this element is responsible of reducing the error (e ss ), rise time

More information

16.30/31, Fall 2010 Recitation # 2

16.30/31, Fall 2010 Recitation # 2 16.30/31, Fall 2010 Recitation # 2 September 22, 2010 In this recitation, we will consider two problems from Chapter 8 of the Van de Vegte book. R + - E G c (s) G(s) C Figure 1: The standard block diagram

More information

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley Professor Fearing EE C8 / ME C34 Problem Set 7 Solution Fall Jansen Sheng and Wenjie Chen, UC Berkeley. 35 pts Lag compensation. For open loop plant Gs ss+5s+8 a Find compensator gain Ds k such that the

More information

Frequency (rad/s)

Frequency (rad/s) . The frequency response of the plant in a unity feedback control systems is shown in Figure. a) What is the static velocity error coefficient K v for the system? b) A lead compensator with a transfer

More information

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory Bangladesh University of Engineering and Technology Electrical and Electronic Engineering Department EEE 402: Control System I Laboratory Experiment No. 4 a) Effect of input waveform, loop gain, and system

More information

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693 LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693 ELECTRICAL ENGINEERING DEPARTMENT JIS COLLEGE OF ENGINEERING (AN AUTONOMOUS INSTITUTE) KALYANI, NADIA EXPERIMENT NO : CS II/ TITLE : FAMILIARIZATION

More information

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) = 1 AME 3315; Spring 215; Midterm 2 Review (not graded) Problems: 9.3 9.8 9.9 9.12 except parts 5 and 6. 9.13 except parts 4 and 5 9.28 9.34 You are given the transfer function: G(s) = 1) Plot the bode plot

More information

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis Appendix 3B MATLAB Functions for Modeling and Time-domain analysis MATLAB control system Toolbox contain the following functions for the time-domain response step impulse initial lsim gensig damp ltiview

More information

Frequency response. Pavel Máša - XE31EO2. XE31EO2 Lecture11. Pavel Máša - XE31EO2 - Frequency response

Frequency response. Pavel Máša - XE31EO2. XE31EO2 Lecture11. Pavel Máša - XE31EO2 - Frequency response Frequency response XE3EO2 Lecture Pavel Máša - Frequency response INTRODUCTION Frequency response describe frequency dependence of output to input voltage magnitude ratio and its phase shift as a function

More information

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D. Radar Dish ME 304 CONTROL SYSTEMS Mechanical Engineering Department, Middle East Technical University Armature controlled dc motor Outside θ D output Inside θ r input r θ m Gearbox Control Transmitter

More information

Recitation 11: Time delays

Recitation 11: Time delays Recitation : Time delays Emilio Frazzoli Laboratory for Information and Decision Systems Massachusetts Institute of Technology November, 00. Introduction and motivation. Delays are incurred when the controller

More information

AMME3500: System Dynamics & Control

AMME3500: System Dynamics & Control Stefan B. Williams May, 211 AMME35: System Dynamics & Control Assignment 4 Note: This assignment contributes 15% towards your final mark. This assignment is due at 4pm on Monday, May 3 th during Week 13

More information

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING TUTORIAL QUESTION BANK

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING TUTORIAL QUESTION BANK Course Name Course Code Class Branch INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad -500 043 ELECTRICAL AND ELECTRONICS ENGINEERING TUTORIAL QUESTION BAN : CONTROL SYSTEMS : A50 : III B. Tech

More information

x(t) = x(t h), x(t) 2 R ), where is the time delay, the transfer function for such a e s Figure 1: Simple Time Delay Block Diagram e i! =1 \e i!t =!

x(t) = x(t h), x(t) 2 R ), where is the time delay, the transfer function for such a e s Figure 1: Simple Time Delay Block Diagram e i! =1 \e i!t =! 1 Time-Delay Systems 1.1 Introduction Recitation Notes: Time Delays and Nyquist Plots Review In control systems a challenging area is operating in the presence of delays. Delays can be attributed to acquiring

More information

MAE 143B - Homework 7

MAE 143B - Homework 7 MAE 143B - Homework 7 6.7 Multiplying the first ODE by m u and subtracting the product of the second ODE with m s, we get m s m u (ẍ s ẍ i ) + m u b s (ẋ s ẋ u ) + m u k s (x s x u ) + m s b s (ẋ s ẋ u

More information

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year Automatic Control 2 Loop shaping Prof. Alberto Bemporad University of Trento Academic year 21-211 Prof. Alberto Bemporad (University of Trento) Automatic Control 2 Academic year 21-211 1 / 39 Feedback

More information

ECE 3793 Matlab Project 3

ECE 3793 Matlab Project 3 ECE 3793 Matlab Project 3 Spring 2017 Dr. Havlicek DUE: 04/25/2017, 11:59 PM What to Turn In: Make one file that contains your solution for this assignment. It can be an MS WORD file or a PDF file. Make

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203 DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK V SEMESTER IC650 CONTROL SYSTEMS Regulation 203 Academic Year 207 8 Prepared

More information

Plan of the Lecture. Goal: wrap up lead and lag control; start looking at frequency response as an alternative methodology for control systems design.

Plan of the Lecture. Goal: wrap up lead and lag control; start looking at frequency response as an alternative methodology for control systems design. Plan of the Lecture Review: design using Root Locus; dynamic compensation; PD and lead control Today s topic: PI and lag control; introduction to frequency-response design method Goal: wrap up lead and

More information

CYBER EXPLORATION LABORATORY EXPERIMENTS

CYBER EXPLORATION LABORATORY EXPERIMENTS CYBER EXPLORATION LABORATORY EXPERIMENTS 1 2 Cyber Exploration oratory Experiments Chapter 2 Experiment 1 Objectives To learn to use MATLAB to: (1) generate polynomial, (2) manipulate polynomials, (3)

More information

LINEAR CONTROL SYSTEMS. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

LINEAR CONTROL SYSTEMS. Ali Karimpour Associate Professor Ferdowsi University of Mashhad LINEAR CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Controller design in the frequency domain Topics to be covered include: Lag controller design 2 Dr. Ali Karimpour

More information

Control for. Maarten Steinbuch Dept. Mechanical Engineering Control Systems Technology Group TU/e

Control for. Maarten Steinbuch Dept. Mechanical Engineering Control Systems Technology Group TU/e Control for Maarten Steinbuch Dept. Mechanical Engineering Control Systems Technology Group TU/e Motion Systems m F Introduction Timedomain tuning Frequency domain & stability Filters Feedforward Servo-oriented

More information

(Refer Slide Time: 2:11)

(Refer Slide Time: 2:11) Control Engineering Prof. Madan Gopal Department of Electrical Engineering Indian institute of Technology, Delhi Lecture - 40 Feedback System Performance based on the Frequency Response (Contd.) The summary

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 4G - Signals and Systems Laboratory Lab 9 PID Control Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 April, 04 Objectives: Identify the

More information

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions Question 1. SIGNALS: Design of a noise-cancelling headphone system. 1a. Based on the low-pass filter given, design a high-pass filter,

More information

Prüfung Regelungstechnik I (Control Systems I) Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Prüfung Regelungstechnik I (Control Systems I) Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Prüfung Regelungstechnik I (Control Systems I) Prof. Dr. Lino Guzzella 29. 8. 2 Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam! Do not mark up this translation aid

More information

If you need more room, use the backs of the pages and indicate that you have done so.

If you need more room, use the backs of the pages and indicate that you have done so. EE 343 Exam II Ahmad F. Taha Spring 206 Your Name: Your Signature: Exam duration: hour and 30 minutes. This exam is closed book, closed notes, closed laptops, closed phones, closed tablets, closed pretty

More information

Problem 1 (Analysis of a Feedback System - Bode, Root Locus, Nyquist) Consider the feedback system defined by the open loop transfer function 1.

Problem 1 (Analysis of a Feedback System - Bode, Root Locus, Nyquist) Consider the feedback system defined by the open loop transfer function 1. 1 EEE480 Final Exam, Spring 2016 A.A. Rodriguez Rules: Calculators permitted, One 8.5 11 sheet, closed notes/books, open minds GWC 352, 965-3712 Problem 1 (Analysis of a Feedback System - Bode, Root Locus,

More information

Linear System Theory

Linear System Theory Linear System Theory - Laplace Transform Prof. Robert X. Gao Department of Mechanical Engineering University of Connecticut Storrs, CT 06269 Outline What we ve learned so far: Setting up Modeling Equations

More information

Reglerteknik: Exercises

Reglerteknik: Exercises Reglerteknik: Exercises Exercises, Hints, Answers Liten reglerteknisk ordlista Introduktion till Control System Toolbox ver. 5 This version: January 3, 25 AUTOMATIC CONTROL REGLERTEKNIK LINKÖPINGS UNIVERSITET

More information

Frequency Response DR. GYURCSEK ISTVÁN

Frequency Response DR. GYURCSEK ISTVÁN DR. GYURCSEK ISTVÁN Frequency Response Sources and additional materials (recommended) Dr. Gyurcsek Dr. Elmer: Theories in Electric Circuits, GlobeEdit, 2016, ISBN:978-3-330-71341-3 Ch. Alexander, M. Sadiku:

More information

Course Summary. The course cannot be summarized in one lecture.

Course Summary. The course cannot be summarized in one lecture. Course Summary Unit 1: Introduction Unit 2: Modeling in the Frequency Domain Unit 3: Time Response Unit 4: Block Diagram Reduction Unit 5: Stability Unit 6: Steady-State Error Unit 7: Root Locus Techniques

More information

] [ 200. ] 3 [ 10 4 s. [ ] s + 10 [ P = s [ 10 8 ] 3. s s (s 1)(s 2) series compensator ] 2. s command pre-filter [ 0.

] [ 200. ] 3 [ 10 4 s. [ ] s + 10 [ P = s [ 10 8 ] 3. s s (s 1)(s 2) series compensator ] 2. s command pre-filter [ 0. EEE480 Exam 2, Spring 204 A.A. Rodriguez Rules: Calculators permitted, One 8.5 sheet, closed notes/books, open minds GWC 352, 965-372 Problem (Analysis of a Feedback System) Consider the feedback system

More information

CHAPTER 7 FRACTIONAL ORDER SYSTEMS WITH FRACTIONAL ORDER CONTROLLERS

CHAPTER 7 FRACTIONAL ORDER SYSTEMS WITH FRACTIONAL ORDER CONTROLLERS 9 CHAPTER 7 FRACTIONAL ORDER SYSTEMS WITH FRACTIONAL ORDER CONTROLLERS 7. FRACTIONAL ORDER SYSTEMS Fractional derivatives provide an excellent instrument for the description of memory and hereditary properties

More information

CDS 101/110: Lecture 10.3 Final Exam Review

CDS 101/110: Lecture 10.3 Final Exam Review CDS 11/11: Lecture 1.3 Final Exam Review December 2, 216 Schedule: (1) Posted on the web Monday, Dec. 5 by noon. (2) Due Friday, Dec. 9, at 5: pm. (3) Determines 3% of your grade Instructions on Front

More information