pid and fuzzy logic controllers

Upload: humansamir

Post on 30-May-2018

260 views

Category:

Documents


2 download

TRANSCRIPT

  • 8/14/2019 PID and Fuzzy Logic Controllers

    1/14

    Performance EvaluatioDigital Control Algorithm

    A DC Motor System

    Heng-Ming Tai

    Department of Electrical Enginee

    University of Tulsa

  • 8/14/2019 PID and Fuzzy Logic Controllers

    2/14

    DC Motor Control Objecti

    Achieve fast and smooth speed response

    Robustness to load variations

    However, due to saturation nonlinearity in the speed c

    windup effect degrades the performance of the PID con Input command to the motor is saturated because of the

    saturation and motor overheating protection.

    Both anti-windup PID and fuzzy logic control

    achieve similar control performance.

    Improved performance includes small oversho

    settling time, and robustness.

  • 8/14/2019 PID and Fuzzy Logic Controllers

    3/14

  • 8/14/2019 PID and Fuzzy Logic Controllers

    4/14

    Experimental Setup

    IBM 486

    TMS320C30

    EVM

    ADC

    DAC

    Amplifier

    CircuitryDC motor

    TachometerAttenuator

  • 8/14/2019 PID and Fuzzy Logic Controllers

    5/14

    Fuzzy Logic Control Sch

    Crisp

    inputse(k), e(k)

    Fuzzification Inferencing Defizzificat

    FuzzyIF-THENRules

    &

    Membership Functions

    NeNe

  • 8/14/2019 PID and Fuzzy Logic Controllers

    6/14

    Membership Function

    1

    -0.8 -0.4 -0.15 0.15 0.40 0.8-1

    e(k), e(k)

    NB NM NS ZE PS PM PB

    NB NM NS ZE PS PM P

    uc(k)

    1

    -1 -0.66 -0.33 0 0.33 0.66 1

  • 8/14/2019 PID and Fuzzy Logic Controllers

    7/14

    Fuzzy Logic Rules

    e(k)

    e(k) NB NM NS ZE PS PM

    NB NB NB

    NM NB NB NB

    NS NB NM NM NM

    ZE NB NM NS ZE PS PM

    PS NM PS PS PM

    PM PM PB PB

    PB PM PM PB

    FuzzyIF-THENrules are derived from heuristics and kn

    of the system response.

    IF e(k) is L1 AND e(k) is L2 , THEN u is U1

  • 8/14/2019 PID and Fuzzy Logic Controllers

    8/14

    PID Control

    ++= dttde

    KdeKteKtu dip)(

    )()()(

    )()/5.0()1()( keTKTKKkuku dip +++= ()1()/25.0( ++ KkeTKKTK ddpi

    05.0,2.0,50 === dip KandKK

    Continuous-time:

    Discrete-time:

  • 8/14/2019 PID and Fuzzy Logic Controllers

    9/14

    Discrete-Time PID Cont

    e u ucumax

    umax

    r +Kp

    )1( 1 z

    T

    Kd

    )1(2

    )1(1

    1

    +

    z

    zTKi

  • 8/14/2019 PID and Fuzzy Logic Controllers

    10/14

    Discrete-Time Anti-Windup C

    e1

    ue

    -

    +

    umaxKp

    +

    +

    +

    )1(1 z

    T

    Kd

    )1(2

    )1(1

    1

    +

    z

    zTKi

    )1(

    21

    1

    + zTK

    z

    i

    Ka was chosen large enough so that the anti-windup c

    is capable of following e to keep the output from satur

  • 8/14/2019 PID and Fuzzy Logic Controllers

    11/14

    PID Control

    PID Anti-

    Windup Control

    Fuzzy Logic

    Control

    rpm

    Step response

    with load

  • 8/14/2019 PID and Fuzzy Logic Controllers

    12/14

    PID Control

    PID Anti-

    Windup Control

    Fuzzy Logic

    Control

    rpm

    Speed response

    without load

  • 8/14/2019 PID and Fuzzy Logic Controllers

    13/14

    PID Control

    PID Anti-

    Windup Control

    Fuzzy Logic

    Control

    rpm

    Speed response

    with load

  • 8/14/2019 PID and Fuzzy Logic Controllers

    14/14