01429536

Embed Size (px)

Citation preview

  • 8/11/2019 01429536

    1/6

  • 8/11/2019 01429536

    2/6

    inegaes Foresght oo an Malab envionment; xe

    [18] which integrates Malab 1] an ATiSA T

    Stuio [20] Too integraion has also been invesgate in

    he automotve secto negatng ADAMS an Xmah

    ools 21]. In a cases, ony a concete set of tools is

    inegae

    This paper presens a hearchca esgn mehooogy

    for strbute nustral conol systems an a vaiaion

    mehoology by means of a cosmuation famewok

    Section II gives a general oveiew of the FLXICO

    proec Secion escrbes he herachcal esgn of he

    strbute cono system n secion the cosmulaion

    amewok is pesente. Finaly, in secton V, the

    herachcal esign an the cosimulaion amewok ae

    iustate though a case stuy: an inustral hea treatment

    lne

    II. EXCON ROEC

    The general goa of he FLXCO poject, nance by

    he uopean Unon's nformaion an Science

    Technoogies progamme, is to evelop methoologies that

    enable Comerca OffheShelf (COS) ools

    inegaon fo the esign an epoyment of Disibue

    Contol Sysems (DCS) wh high egree of exbiy,

    epenabity an reusablity

    his proec speccaly aesses he eveopmen of

    he capability to pouce open hgh performance

    epenabe, istrbue fau tolerant sysems in euce

    mescales an a lower cos

    Wthin he toolse, the ffeent phases of the esgn

    cycle are aesse using he appopriae tools In this

    sense, the proope ha is being evelope integates

    ATSA S UML tool, Malab envionment anSaGRAF nhance oo ATiSA tS UML ool is use

    o moe he overa heeogeneous strbue conro

    sysem. Matab envronmen s use to moe he pocess

    ynamics (uing smulaton phase) ahough it can also be

    use o moe some pas of he contro system Fnay, the

    scree pas of he oveal control system are

    impemene n ISaGAF hance oo, a PLC

    progamming envroment ha s IC 1131 stanar

    compant

    ICICAL SGN F SIBTDONRO YSTM

    he hierachical esgn of he inusta stbutecontro system has been evelope following heguielines an recommenatons of the C 1131 stanfor evelopng PLC base appcaions This hiearchicaesgn alows he reuse of nctona componensbelonging o any leve of he hiechy

    he conro system specicaon consists of a hearchyof levels

    Level The pant

    Level Inepenent subsysems of he pant.

    Leve 2 o -1 Sets of nctonal components

    4721

    Level emenay nctonal componentshus the moel s escibe by means of a set of

    Functonal Componens (FCs) having each FC a set ofnpus an ouputs an conguration parameters hesenpus an oupus as well as he FC funconaliy, mus becely ene an ocumente to allow an easy

    component euseThe control system ncues the actions one ring he

    nomal opeaion as well as faul eecton anaccommoaon ormally, when a non crtica faul iseecte an ala is sent o the opeato Ciica aarmsusualy sa acons on the pocess. In this sense inpus oan ouputs om FCs can be groupe epenng on therfunconaiy as secuies (aa sgnas) intelockngs(contions o be me fo the execuon of a bock)operaor commans an ata, pocess aa (e signas)

    an exteal aa (infoaton processe by other bocks)On he other han, ouus can be goupe as signaling

    an process aa he fferent ypes of nputsouputsto/om a FC ae shown in Fg 1.

    Seuies .

    Ikg

    Operato comas

    O d

    Exteal data

    Cofguratinparametes

    F

    Bi

    Compent

    Fig 1 Gnri ntionl bsi omponnt

    Signalhng

    Poces ata

    Within he FLXCO pojec, eve FCs are

    impemene using any of the anguages provie by theIC11313 sana an store in lbraies. he FCsbelonging o leve , progams are mplemente in IC1131-3 Stucte Tex (ST) The C1131 stanenfoces the use of reusable Funcon Blocks (FB), theseFBs are pograme once an use as many times asneee Usually, n his kin of herarchca esign, eve 0contains he applcation evel 1 conans pograms anlevels om 2 to ae compose by FBs. Finay, oweslevel, eve , contains FBs ha are mpore omlbaries

    Within he FLXCO pojec, ATiSA tS UMLool 20] s he tool n whch he moel of he overastrbute control system is ene The moel consists of

    he funconality, followng a herachcal speccation,an the applicaton mplementaton using paiculaechnoogies. he eniion of the harware an sowaearchtecures follows he IC 1131 sowe moe. Duinghe secon year of the poject the main targe s o achieveauomac coe geneaton n C131 3 Sucre Tex(ST) om he specicaion moelle in he UML oo

    The auomac coe generato allows rap pootypngIn hs way, the oose can be use o pefo vaaionests. Geneate coe s valiate n he folowing way

  • 8/11/2019 01429536

    3/6

    Level N: Unity tess of FBs, previously to besored in a ibray. hs s peformed wthn he

    development oo.Levels N- to 0 Incementa inegrated ests omlevel N- up to evel To achieve these negatedests, a co-simulaon amewok has been designed

    wihn he FLEXICON poject.Nex secon summazes the cosmuaion famewok A

    deailed descpion of the cosmulation famewok can befound in [15]. In secton V the use of he amework isiustated though a case sdy

    V OLAON O

    The main tages of his amework are:Loosely couplement of tools ha paticpate in hecosmulaion

    oo negation between execution tmes ouputdaa om a tool s pocessed by other toolsntegraion durng simuaion tme: toos exchange

    daa durng simuatonThs amewok s geneicaly made up of N ools thatineract rough the cosmuaton envonmen.

    Inteacons between tools ae mpemened usng CORBAmiddlewae Fo each too, a serve s deveoped heseservers offer data we and ead as well as command

    dspatchng servces using he AP of each too On theother hand, hee is a cosmulation appcaion whchembeds the N CORA ciens This applicaton wi

    manage he cosmulation executon and toolsyncronizaton by means of he simuaton and daainerchange each samping perod Fig.2 shows the N toolcosmulaion scenario ha contans in addion o he Nools and N severs, the co-simulaton appcaon

    fol 1 &

    COR8A S ! 2 0 N &

    B evr

    & R

    Fig.2. Generic co-simulation scenarioEach CORBA server is the ink between the too and the

    cosmulaon applicaton These seres transfom dectrequests om CORBA cens nto data transacons ordec commands usng the tool AP

    In oder o add a new ool to he cosimulationfamewok he next steps must be followed

    First step

    Fst of all, a deailed study of he AP offeed by he tooto be added has to be pefomed. I includes the supportedprogammng anguages, as we as the daa types and

    4722

    comands his nformation aows the deniion of theCORBA interfaces.

    he Obec Managemen Group (OMG) IntefaceDeniion Language (DL) [22] is he anguage used todescibe he nefaces ha cents equie and seresprovide An inteface dention wren n OMG DL

    compeely denes the neface fo each opeaon AnOMG IDL inteface povides he information needed o

    develop ciens ha use the neface opeaons IDL is alanguageneutral Inerface Denion Language. Eachlanguage (eg Java, ++ ) that suppors CORA has itsown DL mapping

    B Second step

    Once he interface (IDL e) has been dened, themehods dealed n he DL le must be developed n heCOA seres

    CORA clents, one per seve, ae embedded ino hecosmulaion appcaion n CORA cents, there s noneed to develop any knd of extra code only he IDL

    inerface must be compied. hrough these clents, he cosimulaion applcation wl be abe to send requess oservers execung he mehods dened in the IDL.

    Third step

    Fnaly i s necessay to dene the interacton sequencebeween toos during he cosimuaion operaion he cosimulaion s congured by means of a conguraton le

    hat denes he inteacton beween tools By means of heedion of this conguraion le, the ogc of he cosimulaon can be changed

    V. ASE YA EA REAMENL

    In this secton the poposed hearchica design s apped

    o an ndustral hea eatment line (HL). he cosimulaion famewok is used for achevng inegated

    ests A typcal HTL, as shown in Fg 3, s composed byhe folowing sub-sysems: a load system, an ausenizingace a emperng tank, a washing ank and an annealingace.

    7

    Fig. 3. General overview o a heat eatment line

    Fg 4 llusrates the austenizng face that is composed

    by fou zones and two bers in each zone. empeateegulaion is perfomed fo each zone, usualy around 850C A conveyo bet moves he pieces trough he aceThe speed of this conveyo depends on he requiedheaing teamen

  • 8/11/2019 01429536

    4/6

  • 8/11/2019 01429536

    5/6

    The ansions etween opeaton staes are drven ynput pos ha may come om the contro sysem or omthe Local Operaor Staon nfomaton om the pocessenvroment s modeled as input pors Fed sgnals aremodeed as outpu pots. here e aso some other pos

    that have een modeled fo sgnalling purposes ae IIIusates the ausenzing nace mode pors

    The cono sysem has een deveoped using SaGRAFEnhanced tool (Fig.6). An ISaGRAF Ehanced proec isdened though he IEC 1131 standard elementsconguatons (e.g PLC), resouces (e.g CPs) asks,progams, con locks and funcons [3]

    Fig.6. Conol systm for TL dvlod n SGRA Encd

    The cono system of he austenzng ace developedn ISaGRAF Enhanced, contains a conguation and tworesouces Resource 1 executes he logc par of the conosysem whie Resouce execues he emperaure

    reguaions.

    o achieve he cosmuaion eween the process mode(in Mala) and he contol system (in ISaGRAF enhanced)two dffeent types of neracion etween them have to edstngushed

    The logc pa of he contro system which is nchge of he ll l ine opeaion faut detection andaam geneaton. hus, exchange should e as fasas possle

    4724

    he imed ps. In this case t s constiuted y theemperaure egulaors hus data must eexchanged each controer samping perod

    n tae he contro model nput and outpu vaiaesae also cassied as ogc or tmed vaaes

    2) Coguration of the co-smulationData interchange etween contol sysem n SaGRAF

    and he pocess mode n Matla/SmuikSaeow muste congued. his exchange of nfomaton includes oththe ogc pa of the conro sysem and the med patprocessed a each controlle sampng perod

    Thus he Matla model inputs and ouus must eassociated to the SaGRAF mode input and outputvaiales (as shown n tae )

    boolboolboolboolboolboolboolboolrl

    boolboolboolrl

    ABLE IISGRAF M pPGS

    Vribl Nm

    t ort Nm

    srovlvOnd logic srovlvOnorg logic onrgurgDon logic urgDonctivtElctrovlv logic ctivtMinElclrmBNotStrd logic brNotStrd

    brOn logic brOnfnCon logic znConctconZonFn logic cnConnctl AirSrovlv imd l AirSrovlv

    ot Nm

    Vril Nm

    srovlvOnd out milcrCoSmnElcovlvCon outt combustioMotorConcnConnctd outt onSrvovlvTsl outt tmZl nutVl

    Mehn

    ism

    inuinutinutinutinutinutinutinut

    Pa

    logiclogiclogic

    timd

    Fg7 epesents he use interface where the mapeween he pocess input and output pos and he conovaiales is pefomed n the example there are fou nnecycles that coespond to he logic part. hs vaue meanshat logical daa inerchange wil occu fou imes fasehan conol nformation nerchanged a he samplingequency

    Fig. 7. Cosimltion congrtion intrfc

    The complete scenario wih oth tools and the cosimulaon applcation can e shown in Fg 8

  • 8/11/2019 01429536

    6/6

    Co-simulation Applicain

    Fig 8: Co-simulation scenario

    uring cosimulaon, he conro oops ae cosethough CORBA as sate in he cosmulaionconguraion e Bu, i is also possbe o sen iect ortme ien commans o boh ools (eg. to smuae a fautn a sensor signa o to sen an opeato oe o the conolsystem).

    ONCLUSION

    In this pape a mehooogy for esigning an aiainginusial istrbute cono sysems has been proposeThe esgn, base on EC 1131 stanar an heachcallyene, aims component euse he cosimuatonamewok, eelope whn the LEXICON projecallows incemental aiaions of he esign he seps toachiee both the esgn an he aaion hae beeneaile with a case sty

    Within he LEXCON poject work on auomac EC1131 3 ST coe generaton is on pogress n hs sense,rther eseach inclues incemenal esign aiaionsusing auomaicay geneae coe as well asauomacaly generae cosmulaton conguraion les.

    CKNOWLEDGMENT

    The authos gately acknowlege he nancial supporof the Euopean Union's nfomation an Scienceechnoogies progamme for the LEXICON poect IS

    200137269.

    EERENCES

    [1] ewis RW Prograing Indutrial Control Syste uing C1131-3, EE Control Engineerng series 50. ISBN 85296 950 3"1997.

    4725

    2] Berger H. Atomatng with SE 7 in STL and SC". Ed. SiemensAiengeellscha Berlin and Munich 000

    3] De Cataldo G The Detector Control System for the PID in theAC xperiment at HC" 6th Workshp n Electricf!) LHCxrmn Cracow Poland. 2000.

    [4] Tolga , Kurlan S. Gren L. "Spervisory Control of a neumaticSytem Uing PLC" Interatnal C?eece Eectial ad

    Eetons Egieeng 003[5 Albs J.S. uia R. McCain H. Hierarchical conol of intelligentmachines applied to space station telerobots". Arsa andltn Systm. 1988, Volume 24, pp. 535541.

    [6 Adas J. aul R. Human Management of a Hierarchical ConolSystem for Mltiple Mobile Agents". natnaCnn n yms. Man. and Cybrns San Antonio. 1994.

    [7 Guldner J Utkin V. Baer ., Baer R., ree-layered hierarchicalpath control ytem for mobile robot Algorithms and experiment"Robtis and unoous es, 1995 Volme 14 ses 3 pp133-147

    [8 Shibata . Abe T. Tanie K. Nose M. Skill based motion planngin hierarchical intelligent conol of a redundant maniplator".Rbts and utnmu ms, 1996 Volme 18 ssues 1-2pp. 65-73.

    [9 Popovic D., Popovic M. Tnning of a Nonanalyical HierarchicalControl system for Reachng with FES". Tanatns nBiedca Egieeng 1998 Volme 45 No pp 03-1

    [10] eonesa A Haddad W Chellabona W Nonlnear RobstHierarchical Control for Nonlinear Uncertain Sytems"aheaa Pobles i Egieeng 000 Volume 5 pp 499-54

    [11] Robers Becerra V Optimal conol of a cla of dicretecontinuo nonlinear ytedecomposition and hierarchicalstructre". umaa 2001, Volume 37, pp. 17571769.

    [12] Andrzej J Hierarchical Control of Transient Flow in Natral GasPipeline Systes". nt Tan Ol Rs. 1998 Volme 5, No. 4 pp.85-30

    [13] ee M Han c Chang K Hierarchical ime-Optimal Control of aContinou Copolymeriation Reactor dng Starp or GradeOperation ing Genetic Algoritms" Cop o Che Eg, 1997Volume 1 pp 1037104

    [14] Keng KW p WH Yen D ntelligent hierarchicalworkstation conol model for MS" Journal o aterialsn Thng. 2003, Volme 139, pp. 134139.

    [15] Marcos M. Gangoiti U., Estvez E. orillo J Calvo 1. ACOBAbased Co-simulation Framework for Integratng COS

    ools" submited to Sith orgese Conference on AutomaticControl CONTROO 2004, Faro, orgal. 2004.

    [16] Adriano B.A and Waer, .R. A Standardized Co-simlationBackbone". Universi of Poro Alegre Brasil. 2001

    [17] oreign Syste nc Combining Foreight and Matlab forComplex System Deign" 00 Available hp//wwworeightSytemscom

    [18] xtesy AG (003) Available ht// wwwexteycom[19] The MathWorks (00) sing Matlab verion 65"[0] ian Soware Manal of iSAN Real-Time Stdio Version

    4" iSAN Soware tool 00[21] George N. Cosimlation of an Automotive Conol System usng

    ADAMS and Xmath". Inteational ADAMS User Conference.trecht, 1998 e Netherlands

    [22] OMG OMG D Synta and Semantics. D specication". 2002.

    Available: www.omg.orgdocs/formal/020607.pdf[23] PCopen Overview EC 61131". 2003. Available:htp://www.p1copen.orgintro_iec/overview_oiec_61131.htm