control lab matlab report

Upload: tanuj-kumar

Post on 06-Jul-2018

251 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 Control lab matlab report

    1/15

    bmitted To: PROF. JAGDISH

    MAR[Draw your reader i wit! a

    e"a"i" ab#tra$t. It i# ty%i$a&&y a

    #!ort #ummary o' t!e do$umet.

    (!e you)re ready to add your

    $otet* +u#t $&i$, !ere ad #tart

    ty%i".-

    MODR/0O/TRO1S2STM 1A3Submitted By: Tanuj Kumar

      12104025

      Electrical 4Th

     year

  • 8/17/2019 Control lab matlab report

    2/15

      EXPERIE!T "1#I $ T% ST&'( T)E P%*E P*#+EE!T 'ESI,!

    clc

    clear allclose all

     

    s=tf('s')

    g=((0.3158^2)/(s*s+2*3.166*0.3158*s+0.3158^2)) pole(g)

    A = [-0.313 56. 0! -0.013" -0.#26 0! 0 56. 0$!

    % = [0.232! 0.0203! 0$!

    & = [0 0 1$!

    = [0$!

    ss = ss(A%&)!

     

    t = 00.110!

    , = 500*oes(se(t))!

     

     p1 = -1."#85!

     p2= -0.0512!

     p3= -2

     

    = place(A%[p1p2p3$)

     

    sscl = ss(A-%*%&)!

    fg,re(1)!step(ss*10200)!

    ol o!

    fg,re(2)!

    step(sscl*10200)!

    a4s([0 200 0 10$)

     

  • 8/17/2019 Control lab matlab report

    3/15

  • 8/17/2019 Control lab matlab report

    4/15

    EXPERIMENT -2

    #I $ T% ST&'( T)E *I!E#R -'R#TI+ RE,&*#T%R .*-R/

    clcclear all

    close all 

    s=tf('s')

    g=((0.3158^2)/(s*s+2*3.166*0.3158*s+0.3158^2))

     pole(g)

    A = [-0.313 56. 0! -0.013" -0.#26 0! 0 56. 0$!

    % = [0.232! 0.0203! 0$!

    & = [0 0 1$!

    = [0$!

    ss = ss(A%&)!

     

    t = 00.110! , = 500*oes(se(t))!

     

     p = 2!

    = p*&'*&

    = 1!

    [$ = l7r(A%)

     

    sscl = ss(A-%* % & )!

    fg,re(1)!

    step(ss*10200)!lael('ptc agle (ra)')!

    ttle('9tep espose of arcraft ')!

    ol o

    fg,re(2)!

    step(10*sscl)

    lael('ptc agle (ra)')!

    ttle('&lose-:oop 9tep espose of arcraft :')! 

    a4s([0 200 0 10$)

  • 8/17/2019 Control lab matlab report

    5/15

  • 8/17/2019 Control lab matlab report

    6/15

  • 8/17/2019 Control lab matlab report

    7/15

    EXPERIMENT NO -3

    #I $ 'ESI,! % 'IS+RETE PI' +%!TR%**ER 

    ss=tf([23$[5#$)

    p= 5

    s=tf('s')for   = 110100

      =p+(/s)

      sscl= feeac;((ss*)1)

      step(sscl)

      ol o

    e

    [9ste?$

     @a?e='>

  • 8/17/2019 Control lab matlab report

    8/15

     @a?e=';p'

    age=[0 30$

     @,?G

  • 8/17/2019 Control lab matlab report

    9/15

    # 1 3 0 0 (1) 1

    # 2 3 0 0 (1) 1

    # 3 3 0 0 (1) 1

    # # 2 0 0 (1) 1

    # 5 1 0 0 (1) 15 1 1 0 0 (1) 1

    5 2 1 0 0 (1) 15 3 1 0 0 (1) 1

    5 # 1 0 0 (1) 1

    5 5 1 0 0 (1) 1

    1 1 0 # 0 (1) 1

    1 2 0 # 0 (1) 1

    1 3 0 # 0 (1) 1

    1 # 0 # 0 (1) 1

    1 5 0 # 0 (1) 1

    2 1 0 5 0 (1) 1

    2 2 0 5 0 (1) 1

    2 3 0 5 0 (1) 1

    2 # 0 5 0 (1) 12 5 0 5 0 (1) 1

    3 1 0 6 0 (1) 1

    3 2 0 6 0 (1) 1

    3 3 0 0 (1) 13 # 0 6 0 (1) 1

    3 5 0 6 0 (1) 1

    # 1 0 5 0 (1) 1

    # 2 0 5 0 (1) 1

    # 3 0 5 0 (1) 1

    # # 0 5 0 (1) 1

    # 5 0 5 0 (1) 1

    5 1 0 # 0 (1) 15 2 0 # 0 (1) 1

    5 3 0 # 0 (1) 1

    5 # 0 # 0 (1) 1

    5 5 0 # 0 (1) 1

    1 1 0 0 (1) 1

    1 2 0 0 5 (1) 1

    1 3 0 0 # (1) 1

    1 # 0 0 2 (1) 1

    1 5 0 0 1 (1) 1

    2 1 0 0 5 (1) 12 2 0 0 3 (1) 1

    2 3 0 0 2 (1) 12 # 0 0 1 (1) 1

    2 5 0 0 1 (1) 1

    3 1 0 0 # (1) 1

    3 2 0 0 2 (1) 1

    3 3 0 0 2 (1) 1

    3 # 0 0 1 (1) 1

    3 5 0 0 1 (1) 1

    # 1 0 0 3 (1) 1

  • 8/17/2019 Control lab matlab report

    10/15

    # 2 0 0 1 (1) 1

    # 3 0 0 1 (1) 1

    # # 0 0 1 (1) 1

    # 5 0 0 1 (1) 1

    5 1 0 0 1 (1) 15 2 0 0 1 (1) 1

    5 3 0 0 1 (1) 15 # 0 0 1 (1) 1

    5 5 0 0 1 (1) 1

    [9ste?$

     @a?e='>'Dpe='?a?a'

    Eerso=2.0

     @,?>p,ts=2

     @,?F,tp,ts=3 @,?,les=5

    AGeto='?'

    FrGeto='?a4'

    >?pGeto='?'

    AggGeto='?a4'

    ef,Geto='cetro'

     

    [>p,t1$ @a?e='e'

    age=[-20 160$

     @,?G

  • 8/17/2019 Control lab matlab report

    11/15

     @a?e=';p'

    age=[0 30$

     @,?G

  • 8/17/2019 Control lab matlab report

    12/15

    # 1 3 0 0 (1) 1

    # 2 3 0 0 (1) 1

    # 3 3 0 0 (1) 1

    # # 2 0 0 (1) 1

    # 5 1 0 0 (1) 15 1 1 0 0 (1) 1

    5 2 1 0 0 (1) 15 3 1 0 0 (1) 1

    5 # 1 0 0 (1) 1

    5 5 1 0 0 (1) 1

    1 1 0 # 0 (1) 1

    1 2 0 # 0 (1) 1

    1 3 0 # 0 (1) 1

    1 # 0 # 0 (1) 1

    1 5 0 # 0 (1) 1

    2 1 0 5 0 (1) 1

    2 2 0 5 0 (1) 1

    2 3 0 5 0 (1) 1

    2 # 0 5 0 (1) 12 5 0 5 0 (1) 1

    3 1 0 6 0 (1) 1

    3 2 0 6 0 (1) 1

    3 3 0 0 (1) 13 # 0 6 0 (1) 1

    3 5 0 6 0 (1) 1

    # 1 0 5 0 (1) 1

    # 2 0 5 0 (1) 1

    # 3 0 5 0 (1) 1

    # # 0 5 0 (1) 1

    # 5 0 5 0 (1) 1

    5 1 0 # 0 (1) 15 2 0 # 0 (1) 1

    5 3 0 # 0 (1) 1

    5 # 0 # 0 (1) 1

    5 5 0 # 0 (1) 1

    1 1 0 0 (1) 1

    1 2 0 0 5 (1) 1

    1 3 0 0 # (1) 1

    1 # 0 0 2 (1) 1

    1 5 0 0 1 (1) 1

    2 1 0 0 5 (1) 12 2 0 0 3 (1) 1

    2 3 0 0 2 (1) 12 # 0 0 1 (1) 1

    2 5 0 0 1 (1) 1

    3 1 0 0 # (1) 1

    3 2 0 0 2 (1) 1

    3 3 0 0 2 (1) 1

    3 # 0 0 1 (1) 1

    3 5 0 0 1 (1) 1

    # 1 0 0 3 (1) 1

  • 8/17/2019 Control lab matlab report

    13/15

    # 2 0 0 1 (1) 1

    # 3 0 0 1 (1) 1

    # # 0 0 1 (1) 1

    # 5 0 0 1 (1) 1

    5 1 0 0 1 (1) 15 2 0 0 1 (1) 1

    5 3 0 0 1 (1) 15 # 0 0 1 (1) 1

    5 5 0 0 1 (1) 1

  • 8/17/2019 Control lab matlab report

    14/15

    EXPERIMENT - 4

    #I $ T% ST&'( T)E P)#SE P*#!E #!#*(SIS

    [4142$=?esgr(-1.5.05-.500.051)!41ot= 41+2*42!

    42ot=41*41-2*42!7,Ier(414241ot42ot)!

    [4142$=?esgr(-2.22-20.22)!

    41ot= 41+2*42!

    42ot=41.*41-2*42!

    7,Ier(414241ot42ot)!

  • 8/17/2019 Control lab matlab report

    15/15

    P!a#e P&ae %edu&um

    :=1!

    g=".81!

    [4142$=?esgr(-5.25-30.23)!

    41ot= 42!

    42ot=-g/:*s(41)!

    7,Ier(414241ot42ot)!