EPICS Based Control System for Microtron at RRCAT, Indore
description
Transcript of EPICS Based Control System for Microtron at RRCAT, Indore
![Page 1: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/1.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/2.jpg)
Indus-1 & Indus-2 Synchrotron Radiation Sources at RRCAT
Jan 22, 2010 2
![Page 3: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/3.jpg)
Injector System of Indus Rings
Jan 22, 2010 3
![Page 4: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/4.jpg)
Microtron Control Room
Jan 22, 2010 4
![Page 5: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/5.jpg)
Main Control Room
Jan 22, 2010 5
![Page 6: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/6.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/7.jpg)
Microtron Control System Design
Jan 22, 2010 7
![Page 8: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/8.jpg)
Microtron Control Scheme
10 Mbps
Jan 22, 2010 8
![Page 9: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/11.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/12.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/13.jpg)
IOC design
Jan 22, 2010 13
![Page 14: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/14.jpg)
User Authentication
Jan 22, 2010 14
![Page 15: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/15.jpg)
User Authentication
Jan 22, 2010 15
![Page 16: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/16.jpg)
16
The OPI EDM 1-11-0z
Jan 22, 2010
![Page 17: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/17.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/18.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/19.jpg)
19
Database logging
logging interval, group log, file
size,
Jan 22, 2010
![Page 20: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/20.jpg)
20
Web browser
Jan 22, 2010
![Page 21: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/21.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/22.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/23.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/24.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/25.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/26.jpg)
Fault Tree
Jan 22, 2010 26
![Page 27: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/27.jpg)
Rule based reasoning
Jan 22, 2010 27
![Page 28: EPICS Based Control System for Microtron at RRCAT, Indore](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/28.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/29.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/30.jpg)
[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](https://reader035.fdocuments.net/reader035/viewer/2022062816/568165bc550346895dd8baf4/html5/thumbnails/31.jpg)
Thank You!
Jan 22, 2010 31