chapter 08 discrete state process control

Upload: zaharin-zainol-roshidah-saad

Post on 06-Jul-2018

235 views

Category:

Documents


1 download

TRANSCRIPT

  • 8/18/2019 Chapter 08 Discrete State Process Control

    1/32

    34423442

    Industrial Instruments 2Industrial Instruments 2Chapter 8Chapter 8

    Discrete-State Process ControlDiscrete-State Process ControlDr. Bassam KahhalehDr. Bassam Kahhaleh

    Princess Sumaya Uni.Princess Sumaya Uni.

    !lectronic !n"ineerin" Dept.!lectronic !n"ineerin" Dept.

  • 8/18/2019 Chapter 08 Discrete State Process Control

    2/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 22 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    DefinitionsDefinitions%he%he discrete statediscrete state o& the process at anyo& the process at any

    moment is the set o& all input and outputmoment is the set o& all input and output

    alues.alues. 'n 'n event event  in the system is de&ined (y ain the system is de&ined (y aparticular state o& the system) i.e. particularparticular state o& the system) i.e. particularalues o& inputs and outputs.alues o& inputs and outputs.

     ' ' discrete-state process control discrete-state process control  is ais aparticularparticular sequence of sequence of  eventsevents throu"h *hichthrou"h *hich

    the processthe process accomplishesaccomplishes some o(+ectiesome o(+ectie

  • 8/18/2019 Chapter 08 Discrete State Process Control

    3/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 33 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    ExampleExam

     ple

    ,rost-&ree re&ri"erator#&reeer ,rost-&ree re&ri"erator#&reeer 

    Discrete-state I#PDiscrete-state I#P

    Door open#closedDoor open#closed Cooler temp. hi"h#lo*Cooler temp. hi"h#lo* ,reeer temp. hi"h#lo*,reeer temp. hi"h#lo* Po*er s*itch on#o&& Po*er s*itch on#o&&  ,rost detector on#o&& ,rost detector on#o&&  ,rost eliminator timer out#not out,rost eliminator timer out#not out

  • 8/18/2019 Chapter 08 Discrete State Process Control

    4/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 44 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    ExampleExam

     ple

    ,rost-&ree re&ri"erator#&reeer ,rost-&ree re&ri"erator#&reeer 

    Discrete-state #PDiscrete-state #P

    /i"ht on#o&& /i"ht on#o&&  Compressor on#o&& Compressor on#o&&  %imer on#o&& %imer on#o&&  0eater on#o&& 0eater on#o&&  Ba&&le open#closedBa&&le open#closed

  • 8/18/2019 Chapter 08 Discrete State Process Control

    5/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 11 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Discrete-State VariablesDiscrete-State Variables Continuous ControlContinuous Control

  • 8/18/2019 Chapter 08 Discrete State Process Control

    6/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2  # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Discrete-State VariablesDiscrete-State Variables Continuous ControlContinuous Control

    Discrete ControlDiscrete Control

  • 8/18/2019 Chapter 08 Discrete State Process Control

    7/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2  # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Discrete-State VariablesDiscrete-State Variables Continuous ControlContinuous Control

    Discrete ControlDiscrete Control

    CompositeCompositeDiscrete#ContinuousDiscrete#Continuous

    ControlControl

  • 8/18/2019 Chapter 08 Discrete State Process Control

    8/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 88 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Process SpecificationsProcess Specifications Process (+ectiesProcess (+ecties

    Process 0ard*areProcess 0ard*are

    Input DeicesInput Deices /imit S*itches/imit S*itches

    ComparatorsComparators

    Push ButtonsPush Buttons

    utput Deicesutput Deices

    /i"hts/i"hts

    5otors5otors

    SolenoidsSolenoids

  • 8/18/2019 Chapter 08 Discrete State Process Control

    9/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 66 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Event Sequence DescriptionEvent Sequence Description 7arratie Statements7arratie Statements

    ,lo*charts,lo*charts

    Binary-StateBinary-State

    99:

    : #

    9 # 9

    #

    : # 9

  • 8/18/2019 Chapter 08 Discrete State Process Control

    10/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 99 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Event Sequence DescriptionEvent Sequence DescriptionFlowchart ExampleFlowchart Example

  • 8/18/2019 Chapter 08 Discrete State Process Control

    11/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 9999 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Event Sequence DescriptionEvent Sequence DescriptionFlowchart ExampleFlowchart Example

  • 8/18/2019 Chapter 08 Discrete State Process Control

    12/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 9292 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Event Sequence DescriptionEvent Sequence DescriptionBinary-State ExampleBinary-State Example

    9.9. ,ill the tan; to leel ',ill the tan; to leel '

    &rom ale '.&rom ale '.

    2.2. ,ill the tan; to leel B,ill the tan; to leel B

    &rom ale B.&rom ale B.

    3.3. Start the timer) heat) andStart the timer) heat) and

    stir &or 1 minutes.stir &or 1 minutes.

    4.4. pen output ale Cpen output ale C

    until the empty s*itchuntil the empty s*itch

    en"a"es.en"a"es.

  • 8/18/2019 Chapter 08 Discrete State Process Control

    13/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 9393 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Event Sequence DescriptionEvent Sequence DescriptionBinary-State ExampleBinary-State Example

    I/P VariablesI/P Variables

    /'/'

    /B/B

    /!/!

    %U%U

    O/P VariablesO/P Variables

  • 8/18/2019 Chapter 08 Discrete State Process Control

    14/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 9494 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Event Sequence DescriptionEvent Sequence DescriptionBinary-State ExampleBinary-State Example

    State$ /' /B /! %U

  • 8/18/2019 Chapter 08 Discrete State Process Control

    15/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 9191 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"s Control =elays >=elay Se?uencer@Control =elays >=elay Se?uencer@

  • 8/18/2019 Chapter 08 Discrete State Process Control

    16/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 99 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"s /adder Dia"ram/adder Dia"ram

  • 8/18/2019 Chapter 08 Discrete State Process Control

    17/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 99 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

  • 8/18/2019 Chapter 08 Discrete State Process Control

    18/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 9898 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

  • 8/18/2019 Chapter 08 Discrete State Process Control

    19/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 9696 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

  • 8/18/2019 Chapter 08 Discrete State Process Control

    20/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 22 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

  • 8/18/2019 Chapter 08 Discrete State Process Control

    21/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 2929 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

    9. Ahen the S%'=% (utton is pushed)

    the plat&orm is drien to the do*n

    position.

    2. Ahen the S%P (utton is pushed)

    the plat&orm is halted at *hateer

    position it occupies at that time.

    3. Ahen the UP (utton is pushed) the

    plat&orm) i& it is not in do*n*ardmotion) is drien to the up position.

    4. Ahen the DA7 (utton is pushed)

    the plat&orm) i& it is not in up*ard

    motion) is drien to the do*n

    position.

  • 8/18/2019 Chapter 08 Discrete State Process Control

    22/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 2222 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

    Start

    Stop

  • 8/18/2019 Chapter 08 Discrete State Process Control

    23/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 2323 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

    S%'=%

    S%P

    Po*er 

  • 8/18/2019 Chapter 08 Discrete State Process Control

    24/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 2424 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

    S%'=%

    S%P

    Po*er 

    5otor 

  • 8/18/2019 Chapter 08 Discrete State Process Control

    25/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 2121 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

    Po*er Do*n

    S%P

    S%'=%

    5otor 

    5otor UP

  • 8/18/2019 Chapter 08 Discrete State Process Control

    26/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 22 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Relay Controllers & Laer Dia!ra"sRelay Controllers & Laer Dia!ra"sLadder Diagram ExampleLadder Diagram Example

    CR

    CR

  • 8/18/2019 Chapter 08 Discrete State Process Control

    27/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 22 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    #ar$ire Pro!ra""in!#ar$ire Pro!ra""in! =elay Se?uencers=elay Se?uencers

    Pro!ra""able Lo!ic Controllers %PLCsPro!ra""able Lo!ic Controllers %PLCs

    Processor Processor  Input 5odulesInput 5odules

    utput 5odulesutput 5odules

  • 8/18/2019 Chapter 08 Discrete State Process Control

    28/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 2828 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Pro!ra""able Lo!ic Controllers %PLCsPro!ra""able Lo!ic Controllers %PLCs Input 5oduleInput 5odule

  • 8/18/2019 Chapter 08 Discrete State Process Control

    29/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 2626 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Pro!ra""able Lo!ic Controllers %PLCsPro!ra""able Lo!ic Controllers %PLCs utput 5oduleutput 5odule

  • 8/18/2019 Chapter 08 Discrete State Process Control

    30/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 33 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Pro!ra""able Lo!ic Controllers %PLCsPro!ra""able Lo!ic Controllers %PLCs /o"ic Pro"rammin"/o"ic Pro"rammin"

    Usin" a 7C s*itch to turn o&& a

    li"ht *ith relay lo"ic and

    *ith P/C pro"rammin"$

    a@ %he (utton turns the li"ht

    ,,.

    (@ Aith relay lo"ic the (utton

    turns the li"ht 7.c@ Aith a P/C pro"ram the

    (utton turns the li"ht 7

  • 8/18/2019 Chapter 08 Discrete State Process Control

    31/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 3939 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    Pro!ra""able Lo!ic Controllers %PLCsPro!ra""able Lo!ic Controllers %PLCs /o"ic Pro"rammin"/o"ic Pro"rammin"

    7 s*itches are

    considered I!"#I$E  

    *hen they are read asopen circuit) and

     !"#I$E  *hen they are

    read as closed circuit.

    In the ladder dia"ram) 9

    must (e !"#I$E  *hile

    3 must (e I!"#I$E  

    to turn 8 7.

  • 8/18/2019 Chapter 08 Discrete State Process Control

    32/32

    Princess Sumaya UniersityPrincess Sumaya Uniersity 3442 - Industrial Instruments 23442 - Industrial Instruments 2 3232 # 32# 32

    8$ Discrete-State Process Control8$ Discrete-State Process Control

    En of C'apter (En of C'apter (