beam interlock system design h. pavetits 1 pr-110627-a-hpa, june 27th, 2011

37
Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th , 2011

Upload: lillian-hoover

Post on 19-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Beam Interlock System Design

H. Pavetits1

PR-110627-a-HPA, June 27th , 2011

Page 2: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Background• Causes

• Device malfunctions• Unintended irradiation

• Effects• Damage of equipment• Persons are harmed

• Analysis• Identify 1) hazards, 2) causes, 3) effects• Determine 1) severity and 2) probability• Risk = Severity x Probability• If risk outside of accepted level foresee risk reduction measure

H. Pavetits

Small Medium SevereCatastro

phic

Always   1

Often    

Occasional    

Seldom 2  

Unlikely 3    

PR-110627-a-HPA, June 27th , 20112

Page 3: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

Lines of Defense1. Operate accelerator in a responsible manner

1. Establishment of user manuals and rules2. Training of personnel3. Communication among persons

2. Mechanisms in software1. Exclusive allocation of machine partitions, devices before use2. Automatic control of protection mechanisms as part of automated

procedures3. Patrol disables access to electronically controlled areas

3. Local safety functions in devices and device groups4. Beam Interlock System steps in if all other measures fail

PR-110627-a-HPA, June 27th , 20113

Page 4: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

Remaining Risk Control

• Primary risk control done through operation procedures• Operation procedures may fail

• Hazards that may occur due to software malfunction are assumed to occur with 100% probability

• Remaining Risk Reduction Measures• operation procedures fails -> address remaining risk first at device

level• local measures insufficient -> involve the BIS

PR-110627-a-HPA, June 27th , 20114

Page 5: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Goals of the BIS

• First reduce risk for persons to be harmed• Due to conflicting commands intended for beam generation

• Second protect machine components from damage• Due to conflicting commands

The scope of the BIS is to act as a functional safety mechanism

for the particle accelerator

H. Pavetits

The BIS reduces the risks of harming people and damaging equipment due to device malfunction and

unintended irradiation with respect to the particle accelerator’s operation

PR-110627-a-HPA, June 27th , 20115

Page 6: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Out of Scope

• Ensure safe access to accelerator devices for service activities (to be covered by local safety measures)

• Protect patients from beams that deviate from nominal characteristics

• Protect people from hazards that do not originate from the particle accelerator

• Unforeseeable misuse including disregardand ignorance of established intended uses

H. Pavetits

The following tasks are not addressed by the BIS

PR-110627-a-HPA, June 27th , 20116

Page 7: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

Processor

Concept

LogicSensor Actuator

Inpu

t M

odul

e

Out

put

Mod

ule

Scope of System

WPs need to identify WHAT are their sensors and WHAT are their actuators

PR-110627-a-HPA, June 27th , 20117

Page 8: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

Separation of Concerns

• Functionality covered by BIS• Listen to signals• Generate signals• Process defined rules

• To be covered by WPs• Sensors• Actuators• Risk analysis for individual devices• Common risk analysis with WP CO• Definition of conditions to act together with other WPs

PR-110627-a-HPA, June 27th , 20118

Page 9: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

MagnetsPower

ConverterIon Sources

Injector RF

Synchrotron RF

VacuumBeam

InterceptionDevices

PatrolControlSystem

EmergencyStop

Buttons

DoorSensors

RadiationMonitoring

System

BuildingPower

DistributionSystem

SafetyManagement

System

MedicalEquipment

Beam Diagnostics

Devices

BeamDeliverySystems

SupervisoryControlSystem

MedicalControl

Systems

BeamInterlockSystem

H. Pavetits

Sensors and Actuators

PR-110627-a-HPA, June 27th , 20119

Page 10: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

SystemComponents

SystemComponents

SystemComponents

BeamInterlockSystem

SupervisoryControlSystem

Interlock Interface

Supervisory Interface

SCADAtool

Configuration Interface

• Reaction time• Order of “cycle” durations• Faster than human: look – decide – act• Slower than dedicated safety systems

• 1500 Inputs / 900 Outputs• Central processing• Network with IO modules• Orthogonal to the other systems

H. Pavetits

Characteristics

System components

System components

System components

PR-110627-a-HPA, June 27th , 201110

Page 11: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

De-energize to Trip (DTT)

• De-energize To Trip• cause of harm is active when the input is logical “0” and• when the effect is active the output is logical “0”.

• Devices states may represent multiple harms• Harm to other equipment, different harms to persons under different

conditions• Suggested to have interlock signal per harm condition

• Examples• Magnet overheated -> temperature switch open = circuit open• Door open = circuit open• Power converter fails -> circuit open• Stop button pressed = circuit open

PR-110627-a-HPA, June 27th , 201111

Page 12: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Orthogonality• BIS rules are only based on input levels: !Keep it simple!• No notion of operation modes

• Control of complexity due to multiplication and differentiation of rules• Risk to set the wrong mode, forget mode switching• There is no single accelerator mode (machine can be partitioned)

• No notion of cycles• Need to be able to work across cycle boundaries

• Safety by design of components• BIS does not signal interlock condition

• absence of a signal -> device moves to a state in which it does not represent harm to identified persons or equipment

• device remains in this state until a control action (human or procedure) happens

Device does not react to control action that requests the device’s operation

H. PavetitsPR-110627-a-HPA, June 27th , 201112

Page 13: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

Safe State/Operational State

• Are device specific• Are defined by each WP for each device

• May require interaction with other WPs

• Are documented by WP

PR-110627-a-HPA, June 27th , 201113

Page 14: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Siemens Simatic Safety Matrix• Table based interface• Cause & effect method

Siemens PLCs and I/O Modules• Reliable, flexible and scalable

Profibus I/O network• Distributed I/O Modules

to interconnect racks

H. Pavetits

Hardware / Software Design

PR-110627-a-HPA, June 27th , 201114

Page 15: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

STEP 7Safety-Matrix

H. PavetitsPR-110627-a-HPA, June 27th , 201115

Page 16: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

User Interface I

H. Pavetits

128

128

1024Configured example Matrix

PR-110627-a-HPA, June 27th , 201116

Page 17: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

User Interface II - Causes

H. PavetitsPR-110627-a-HPA, June 27th , 201117

Page 18: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

User Interface III - Effects

H. PavetitsPR-110627-a-HPA, June 27th , 201118

Page 19: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

User Interface IV - Intersections

H. PavetitsPR-110627-a-HPA, June 27th , 201119

Page 20: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

User Interface V - Reports

• Automatically generated by Safety-Matrix

• Required for approval of the safety program by the authorities

• Event-report also generated

H. PavetitsPR-110627-a-HPA, June 27th , 201120

Page 21: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Structure of the PLC program• Siemens PLC programs are structured in OBs• Standard programming languages:

• LAD (ladder logic)• STL (statement list)• FBD (function block diagram)

• Additional languages:• CFC (continuous function chart)• Safety-Matrix

• Compiling steps:• Safety-Matrix → CFC

↘Machine code

↗• LAD, STL, FBD

H. PavetitsPR-110627-a-HPA, June 27th , 201121

Page 22: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

• Some OB definitions of Siemens systems

• Different priorities of the OBs can be defined

PLC program

OB no.                       

Purpose

1-9 Cyclic program code

10-17 Time of day interrupt

20-23 Time delay interrupt

30-38 Cyclic interrupt (10ms-5s)

40-47 Hardware interrupt

100 Warm restart

101 Hot restart

102 Cold restart

H. PavetitsPR-110627-a-HPA, June 27th , 201122

Page 23: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

CFC – Safety-Matrix

H. Pavetits

Output runtime group

Matrix runtime groups

PR-110627-a-HPA, June 27th , 201123

Page 24: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

• Few matrices possible (recommended less than 10)• At most 128 causes and 128 effects per Matrix• Outputs cannot be shared by matrices

H. Pavetits

Characteristics of Safety-Matrix

PR-110627-a-HPA, June 27th , 201124

Page 25: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

Constraints

• Total number of I/Os per matrix (128 x 128)• An output to a device can only be controlled by 1 matrix• Hierarchies of matrices lead to uncontrolled reaction times

• Up to 2 seconds from input to output

• Number of individual rules must be• Flexible enough to allow selective activation of safety functions• Prevent entire shutdown of plant due to isolated hazards• Prevent selective shutdown of plant due to linked chains

PR-110627-a-HPA, June 27th , 201125

Page 26: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Realization

H. PavetitsPR-110627-a-HPA, June 27th , 201126

Page 27: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

PCO / MagnetsSources + LEBT

PCO / MagnetsInjector RF + MEBT

PCO / MagnetsMR + EX

PCO / MagnetsEX

PCO / Magnets + MTEIR1 + IR2

PCO / Magnets + MTEIR3 + IR4

SharedOutputs

Emergencydevices

Shared Outputs• Beam stoppers• Sources• RF devices• ...

Emergency Inputs• Stop buttons• SMS• PCS• RP• ...

Emergency Outputs• “2nd level interlock”

of PCO’s• Other matrices

Shared Inputs• Other matrices• RF devices• Vacuum controllers• Beam stoppers

H. Pavetits

Defined Matrices

PR-110627-a-HPA, June 27th , 201127

Page 28: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Response time Safety-Matrix ICycle Time [ms] Converter Matr. Matr. Matr. Matr. Converter Time [ms]

50 32 32 5-50

50 672 672 70-130

50 1176 1176 80-100

200 32 1 32 100

300 32 1 1 32 130-200

350 32 1 1 1 32 140-400

400 32 1 1 1 1 32 160-350

450 32 1 2 1 32 160-500

500 64 1 3 1 32 230-540

600 32 1 6 1 32 950-1200

650 128 1 6 1 32 1200

700 781 1 6 1 32 1000-1500

H. PavetitsPR-110627-a-HPA, June 27th , 201128

Page 29: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Response time Safety-Matrix II

≥1

Matrix Em

FBOOL_BOOL

In

In

In

In

In

In

In

Out

In Out

80-200ms

160-230ms

Out 160-230msFBOOL_BOOLIn

FBOOL_BOOLIn Out 160-230ms

FBOOL_BOOL Out 160-230ms

FBOOL_BOOLIn

250-400ms

FBOOL_BOOLIn

250-400ms

FBOOL_BOOLIn

250-400ms

FBOOL_BOOL Out 160-230ms

BOOL_FBOOL

BOOL_FBOOL

BOOL_FBOOL

BOOL_FBOOL

BOOL_FBOOL

BOOL_FBOOL

BOOL_FBOOL

BOOL_FBOOL

Matrix Em1

H. PavetitsPR-110627-a-HPA, June 27th , 201129

Page 30: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Current Design State of the BIS

H. Pavetits

Response time ≤ 400 ms

PR-110627-a-HPA, June 27th , 201130

Page 31: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Device specific Interlock conditions

H. PavetitsPR-110627-a-HPA, June 27th , 201131

Page 32: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Injector RF

H. PavetitsPR-110627-a-HPA, June 27th , 2011

Inj. RF

¬Veto

¬OFF

Amp 1

¬Veto ¬Op

¬Error¬OFF

Amp 2

¬Veto

¬OFF

Amp 3

¬Veto

¬OFF

Amp 4

¬Veto

¬OFF

LLRF

¬Veto

¬OFF

¬Op

¬Error

¬Op

¬Error

¬Op

¬Error

¬Op

¬Error

¬Op

¬Error

OR

=“1”

=“1”

=“1”

=“1”

=“1”

=“1”

32

Page 33: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Beam stoppers

H. PavetitsPR-110627-a-HPA, June 27th , 2011

Beam St.¬IN

¬OUT

OUT

Safety-Matrix

PCS

Door BS ¬IN

Switch Dp

Safety-Matrix

with delay

chopper

All Sw. DpBS ¬OUT

delay

33

Page 34: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

BDI-devices

H. PavetitsPR-110627-a-HPA, June 27th , 2011

• Only for moveable devices in Sx, LEBT, MEBT

FCN¬Error

FCN Sx

34

Page 35: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Status

H. PavetitsPR-110627-a-HPA, June 27th , 201135

Page 36: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

Conclusion

• Safety-Matrix tool was evaluated• A design of the BIS was developed

• Solution for number of required inputs and outputs elaborated• Solution for maximum response time from input change to actuation

of corresponding outputs in the order of 600 msecs elaborated

• Communication between the PLC and WinCC OA was tested

H. PavetitsPR-110627-a-HPA, June 27th , 201136

Page 37: Beam Interlock System Design H. Pavetits 1 PR-110627-a-HPA, June 27th, 2011

H. Pavetits

Outlook / Schedule

PR-110627-a-HPA, June 27th , 2011

Low priority: Improvement of the Safety-Matrix response time

Date Activities

Until 12/2011 Risk workshops for all WPs

Until 02/2012 Definition of all interlock chains Description of PCS

Starting with 02/2012 Programming the BIS

37