Presentation is loading. Please wait.

Presentation is loading. Please wait.

March 2005JM Chaize PCaPac20051 TANGO A control system framework for accelerator and beamlines Design principles Basic concepts Status and projects Jean-Michel.

Similar presentations


Presentation on theme: "March 2005JM Chaize PCaPac20051 TANGO A control system framework for accelerator and beamlines Design principles Basic concepts Status and projects Jean-Michel."— Presentation transcript:

1 March 2005JM Chaize PCaPac20051 TANGO A control system framework for accelerator and beamlines Design principles Basic concepts Status and projects Jean-Michel Chaize On behalf of TANGO teams ESRF, SOLEIL,ELETTRA, ALBA

2 March 2005JM Chaize PCaPac20052 TANGO design principles Da Vinci Innovation –services e.g. web services, administration, monitoring… –automation e.g. Sequencing, scanning… Budda We Change –RPC -> CORBA –OS9 -> Windows and Linux –C,TCL -> C++, Java, Python Darwin We keep (Natural Selection) –distributed objects –Network –Unix Control system running since 1991 Improvement became difficult => We decided to refurbish Control system running since 1991 Improvement became difficult => We decided to refurbish

3 March 2005JM Chaize PCaPac20053 Data Analysis Config Archiver What is TANGO? TANGO Software Bus Generic Services Hardware Device Scan server Sequencer User environment Matlab,Labview Igor, Python Device Hardware Device Hardware Device Hardware Device Hardware Catalog of device servers development tools Interface Generator API Library logging Java Application Tool-Kit

4 March 2005JM Chaize PCaPac20054 Standardize the communication between distributed objects Many advantages –Vendor independent: Sponsored by many companies –Language independent: Interface Definition Language –Platform independent: Supports heterogeneity –Object oriented: Code re-use, encapsulation … –Very fast CORBA Common Object Request Broker Architecture BUT… –Not trivial to use… –Does not address specific needs of control.

5 March 2005JM Chaize PCaPac20055 What is TANGO ? A CORBA framework for doing control –A toolbox to implement the system –A specialization of CORBA adapted to Control –Hide the complexity of Corba to the programmer CORBA TANGO Control System

6 March 2005JM Chaize PCaPac20056 TANGO software Bus Device class Interface HW(motor…) The device is a remote object Standard interface for hardware equipment or service The fundamental brick of TANGO is the Device network

7 March 2005JM Chaize PCaPac20057 Example: motor interface: MOTOR: Commands: On(), Off(), … Attributes: Speed, Position State: On, Off, Alarm, Fault Round robin buffer, polling thread, event triggering… Interface Hardware control code Automatic code generator To be written By the programer TANGO devices

8 March 2005JM Chaize PCaPac20058 Pogo code generator C++ or Java Attributes properties For genericity

9 March 2005JM Chaize PCaPac20059 TANGO devices 1 Device can also interface complex systems –Bridge to other protocols TANGO Software Bus Device LINAC other Control system e.g. TACO RPC Interface

10 March 2005JM Chaize PCaPac200510 TANGO devices 1 Device can also interface complex systems –Bridge to other protocols TANGO Software Bus Device ID Channel Access Interface Build a TANGO object from a set of channels

11 March 2005JM Chaize PCaPac200511 TANGO devices 1 Device can also interface complex systems –Bridge to other protocols TANGO Software Bus Device Air Conditioning Infrastructure server OPC Interface Build TANGO device from a set of OPC TAGs

12 March 2005JM Chaize PCaPac200512 TANGO devices 1 Device can also interface complex systems –Bridge to other protocols TANGO Software Bus Device I/O Modbus TCP/IP Interface Embedded system

13 March 2005JM Chaize PCaPac200513 TANGO devices 1 Device can also interface complex systems –Bridge to other protocols TANGO Software Bus Device I/O DataSocket Interface Build a TANGO device from DataSocket urls

14 March 2005JM Chaize PCaPac200514 TANGO Communication Synchronous TANGO Software Bus server Client Send request WaitGet Answer Do the job ~0.2 ms

15 March 2005JM Chaize PCaPac200515 TANGO Communication Asynchronous TANGO Software Bus server Client Send request Do other job Get Answer When needed Do the job

16 March 2005JM Chaize PCaPac200516 TANGO Communication Event Driven TANGO Software Bus server Client Subscribe once Do other job Do its job Signal event When occurs (state change) Callback State change event On change event Periodic event Archive event …. Corba Notification service

17 March 2005JM Chaize PCaPac200517 TANGO software Bus Standardise interfaces of equipment of the same types Interface Implem Concrete Abstract motor Implem Concrete Implem Concrete Implem Concrete Different types of motors Interface Implem Concrete Abstract powersupply Implem Concrete Implem Concrete Implem Concrete Different types of powersupplies Abstract interface classes

18 March 2005JM Chaize PCaPac200518 Abstract interface classes Standardize interface to families of equipments –Powersupply, motors, function generators, bpm, orbit, correctors…. Decouple high level clients from hardware choices Ease code reuse and interoperability between sites –Multiples beamlines, inter institutes exchange… –Sharing of accelerator physics, data analysis, matlab macros etc… Allow using different hardware for similar functions Allow to build a catalog of compliant device servers –Sharing hardware solutions over multiple institutes, beamlines…

19 March 2005JM Chaize PCaPac200519 TANGO: Many clients available Dev SPEC TANGO Software Bus OPC Dev TANGO JAVA ATK (Swing) QT Scan Service Java, C++,Python Linux, Windows, Solaris Labview RT

20 Astor: Administration tool

21 Jive: Database browsing

22 March 2005JM Chaize PCaPac200522 ATKpanel a generic client

23 March 2005JM Chaize PCaPac200523 Jdraw: Generic Synoptic animation

24 March 2005JM Chaize PCaPac200524 2004 2000 2005 2002 4 meetings per year Planning follow-up Decision making TANGO Collaboration

25 March 2005JM Chaize PCaPac200525 TANGO@esrf Grenoble (France) Light source 6 GeV (844m) 40 beamlines Light for users since 1992 Control system modernization 150 control computers (accel) Linux, Windows, Solaris VME, PC, CompactPCI, SUN Tango used for accelerator control modernization 150 servers running, 546 devices on 54 hosts (RF, Fast feedback, vacuum, tune etc…) Several beamlines use it (progressive migration)

26 March 2005JM Chaize PCaPac200526 TANGO@soleil Gif sur Yvette (France) Light Source 2.75 GeV (345m) 23 beamlines Linac control, transfer line ready, Booster in construction Storage ring and 11 beamlines for 2006 Light for users: 2006 PC, CompactPCI, PLCs Windows, Linux, Labview… Tango used for accelerator and beamlines control Lucia beamline operational at SLS (epics interface) Servers for a collection of Cpci boards ready Control of Linac, transfer line OK, Global Screen SCADA, Archiving… Matlab middle layer for prototyping…

27 March 2005JM Chaize PCaPac200527 TANGO@elettra Booster Injector FERMI@ELETTRA Tango used for accelerator control system upgrade: 14 servers running (RF Master Oscillator Plant, Digital BPM, Fast Local Orbit Feedback…) Tango is the control system of the new projects: - Booster injector (construction started beg. 2005) - Free Electron Laser (FEL) FERMI@ELETTRA Trieste (Italy) Light source 2-2.4 GeV (260m) 1Gev Linac, no booster Light for users since 1993 21 beamlines, 1000 users annually Control system modernization: PC with Linux VME, PowerPC, Linux+RTAI

28 March 2005JM Chaize PCaPac200528 Barcelona (Spain) Light source 3 GeV (268.8 m) 23 straight sections Emittance = 4.3 nmrad Starting construction soon Light for the users: 2009 Tango will be used for accelerator and beamlines control TANGO@alba

29 March 2005JM Chaize PCaPac200529 Status TANGO is mature and well tested –150 servers and 25 applications installed at ESRF –Control of the first elements of Soleil –A beamline at SLS (managed by Soleil team) –14 servers and 7 applications running at ELETTRA The development continues: –On abstract classes code generation, device servers… –Redundancy –Synoptic applications, Application Tool Kit… –New beans ATKviewers –TANGO box soon available pre-installed (via Cosylab) –Training of new users… –Eclipse plugins…

30 March 2005JM Chaize PCaPac200530 WWW sites for TANGO –http://www.esrf.fr/tango Main page –http://www.esrf.fr/tango/tango_src Download tango –http://sourceforge.net/projects/tango-cs Share source –http://www.synchrotron-soleil.fr:8001 –http://www.omg.org (All about CORBA) Thanks to TANGO team of ESRF, SOLEIL, ELETTRA and ALBA


Download ppt "March 2005JM Chaize PCaPac20051 TANGO A control system framework for accelerator and beamlines Design principles Basic concepts Status and projects Jean-Michel."

Similar presentations


Ads by Google