epics based control system for microtron at rrcat, indore

31
EPICS Based Control System for Microtron at RRCAT, Indore Prachi Chitnis Raja Ramanna Centre for Advanced Technology Indore, INDIA Jan 22, 2010 1

Upload: qiana

Post on 22-Mar-2016

54 views

Category:

Documents


4 download

DESCRIPTION

EPICS Based Control System for Microtron at RRCAT, Indore. Prachi Chitnis Raja Ramanna Centre for Advanced Technology Indore, INDIA. Indus-1 & Indus-2 Synchrotron Radiation Sources at RRCAT. Injector System of Indus Rings. Microtron Control Room. Main Control Room. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: EPICS Based Control System for Microtron at RRCAT, Indore

EPICS Based Control System for Microtron at

RRCAT, IndorePrachi Chitnis

Raja Ramanna Centre for Advanced TechnologyIndore, INDIA

Jan 22, 2010 1

Page 2: EPICS Based Control System for Microtron at RRCAT, Indore

Indus-1 & Indus-2 Synchrotron Radiation Sources at RRCAT

Jan 22, 2010 2

Page 3: EPICS Based Control System for Microtron at RRCAT, Indore

Injector System of Indus Rings

Jan 22, 2010 3

Page 4: EPICS Based Control System for Microtron at RRCAT, Indore

Microtron Control Room

Jan 22, 2010 4

Page 5: EPICS Based Control System for Microtron at RRCAT, Indore

Main Control Room

Jan 22, 2010 5

Page 6: EPICS Based Control System for Microtron at RRCAT, Indore

LabVIEW 6.1 based, Windows 2000Old system Expandability issues

Control hardware upgradation of Indus-1System enhancements

One-to-one controlHeterogeneous SCADAVersion upgrade costFirst experience with EPICS [3] at RRCAT

Existing Microtron Control

Jan 22, 2010 6

Page 7: EPICS Based Control System for Microtron at RRCAT, Indore

Microtron Control System Design

Jan 22, 2010 7

Page 8: EPICS Based Control System for Microtron at RRCAT, Indore

Microtron Control Scheme

10 Mbps

Jan 22, 2010 8

Page 9: EPICS Based Control System for Microtron at RRCAT, Indore

Microtron Control Scheme

Running assembly program, polls &

receive bytes from serial port,

resolves commands

Standard commands

by manufactur

er

Standard commands

by manufactur

er

Standard commands by manufacturer

10 Mbps

Linux-x86, EDM 1-11-0z, Base 3.14.9

Linux-x86 Base 3.14.9

Jan 22, 2010 9

Page 10: EPICS Based Control System for Microtron at RRCAT, Indore

Microtron field variables

Interfaced to Devices Link TypeNo of I/O points

VME station

1. 11 Power Supplies – Klystrons, Dipole, Quadrupoles, Correction coils, Cathode & Steering coils

1. Remote/Local status signals2. ON/OFF status signals3. Analog status

signals(current/voltage/power)4. ON and OFF control signals5. Analog control signals (current/voltage)6. Polarity

2. 6 Safety Interlocks signals3. 10 Temperature signals4. AC Mains Voltage5. Vacuum level6. Cycling control

RS-232 103

~150 process variables to be administered by EPICS

Jan 22, 2010 10

Page 11: EPICS Based Control System for Microtron at RRCAT, Indore

Field variablesInterfaced to Devices Link Type

No of I/O points

RF Synthesizer1. RF synthesizer make2. RF Status (ON/OFF)3. RF Level4. RF Carrier Frequency

RS-232 / GPIB 4

Digital Storage Oscilloscope

1. RF Forward Power 2. RF Reflected Power3. Cathode emission signal4. FCT Signal – bunch current

Ethernet 4

Digital Teslameter 1. Dipole magnet field RS-232 1

Derived 1. Trip alarms of all power supplies2. Cathode runtime

- 11

Miscellaneous

1. VME program status2. VME CPU reset3. User data4. DSO settings5. RF synthesizer settings6. Fault information

~35

Jan 22, 2010 11

Page 12: EPICS Based Control System for Microtron at RRCAT, Indore

Hierarchical design of IOC database Error checking modules Event based processing given precedence

over periodic processing (scanning (event/passive)/output on change)

While the CPU being reset, readback polling is disabled

Setting records disabled during Local status of Power supplies

IOC Features

Jan 22, 2010 12

Page 13: EPICS Based Control System for Microtron at RRCAT, Indore

IOC design

Jan 22, 2010 13

Page 14: EPICS Based Control System for Microtron at RRCAT, Indore

User Authentication

Jan 22, 2010 14

Page 15: EPICS Based Control System for Microtron at RRCAT, Indore

User Authentication

Jan 22, 2010 15

Page 16: EPICS Based Control System for Microtron at RRCAT, Indore

16

The OPI EDM 1-11-0z

Jan 22, 2010

Page 17: EPICS Based Control System for Microtron at RRCAT, Indore

17

The OPI EDM 1-11-0z – MEDM – client commands in terminal

VME

RF Syn

DSO

DTM

Jan 22, 2010

Page 18: EPICS Based Control System for Microtron at RRCAT, Indore

18

OPI Features Coloring guide – MEDM –no

white widget

Alarm levels

Contrast for

visibility

Disabled on reset, interlock

fail, cycling, logout, local

mode

Two user modes

Clipped settings

Help feature

Jan 22, 2010

Page 19: EPICS Based Control System for Microtron at RRCAT, Indore

19

Database logging

logging interval, group log, file

size,

Jan 22, 2010

Page 20: EPICS Based Control System for Microtron at RRCAT, Indore

20

Web browser

Jan 22, 2010

Page 21: EPICS Based Control System for Microtron at RRCAT, Indore

Central database for Indus systems – SQL server based

Using JCA Java script and JDBC

Database logging

Jan 22, 2010 21

Page 22: EPICS Based Control System for Microtron at RRCAT, Indore

Detection of anomalous system behavior Identification of the cause for the deviant

behavior Expert System Diagnosis – knowledge

based on experience and expertise encoded in machine storable structure

Fault tree n rule based reasoning system Forward chaining algorithm technique Non-expert operators can troubleshoot a

fault

Fault Diagnostics [4,5,6]

Jan 22, 2010 22

Page 23: EPICS Based Control System for Microtron at RRCAT, Indore

3 categories of fault prone systems in accelerators [2]

Hardware components (cavities, magnets etc.)Auxiliary infrastructure (water, air, electrical power

etc.)Control system.

Availability of control faults at a placeOnline fault logging system – 2 years dataOperational logbooks – 1 year data

Two modulesFault predictionFault diagnosis

Fault Diagnostics [4,5,6]

Jan 22, 2010 23

Page 24: EPICS Based Control System for Microtron at RRCAT, Indore

Active - Monitors the anomalies occurring - Warns user◦ AC mains voltage fluctuations◦ Dipole magnetic field changing◦ Vacuum pressure rising◦ Error checking modules◦ …

~13 different predictions

Fault Prediction

Jan 22, 2010 24

Page 25: EPICS Based Control System for Microtron at RRCAT, Indore

Passive – helps operator to troubleshoot a fault observed – reaches a probable cause

~40 different types of faults Two parts

◦ System-wise hierarchical fault tree◦ Rule based reasoning system for each leaf fault◦ Check panel on EDM

E.g. current setting for a power supply not done

Fault Diagnosis

Jan 22, 2010 25

Page 26: EPICS Based Control System for Microtron at RRCAT, Indore

Fault Tree

Jan 22, 2010 26

Page 27: EPICS Based Control System for Microtron at RRCAT, Indore

Rule based reasoning

Jan 22, 2010 27

Page 28: EPICS Based Control System for Microtron at RRCAT, Indore

Interaction between controllers – Access to PVs

Integration of Indus-1 controls Homogeneous system Accelerator specific tools Free n open source Modularity – suits to control hardware

upgradation of Indus-1 Huge EPICS community

Improvements achieved by using EPICS

Jan 22, 2010 28

Page 29: EPICS Based Control System for Microtron at RRCAT, Indore

The testing of the project is done in lab environment, field testing is on

Due to its easy adaptability to hardware changes, EPICS is best suited prospective to hardware upgradation.

Mostly involves graphical programming, eases enhancements and changes, and debugging.

The knowledge gained will be utilized for upgrading the Indus-1 control systems.

Conclusion

Jan 22, 2010 29

Page 30: EPICS Based Control System for Microtron at RRCAT, Indore

[1]http://optics.eee.nottingham.ac.uk/lecroy_tcp/driver_source/tarballs/lecroy_tcp-1.00.tar.gz

[2] D. Barni et al., “Basis for the reliability analysis of the proton linac for an ADS program”, Proceedings of the PAC ’03

[3] http://www.aps.anl.gov/epics/ [4] P. Duval et al., “Fault identification in accelerator control”,

http://adweb.desy.de/mcs/Mst_content/ fault_identification.pdf[5] T. Himel et.al., “Availability and reliability issues for ILC”,

Proceedings of PAC’07[6] S. Narasimhan et al., “Automated diagnosis of physical

systems”, Proceedings of ICALEPCS07, Knoxville, Tennessee, USA

References

Jan 22, 2010 30

Page 31: EPICS Based Control System for Microtron at RRCAT, Indore

Thank You!

Jan 22, 2010 31