f. sartori 1

24
Plasma Control System Architecture: lessons learned. Overview of PCS network and software architectures May 19, 2010 - 17th Real-Time Conference, Lisbon F. Sartori 1 G. Ambrosino 2 K. Blackler 3 M. Cavinato 1 G. De Tommasi 2 J. Farthing 4 R. Felton 4 P.J. Lomas 4 A. C. Neto 5 G. Raupp 6 G. Saibene 1 W. Treutterer 6 L. Zabeo 3 and EFDA-JET contributors 1:Fusion for Energy, 2:Assoc. EURATOM-ENEA- CREATE, 3:ITER Organization,4:EURATOM-CCFE Fusion Association,

Upload: ted

Post on 19-Jan-2016

39 views

Category:

Documents


1 download

DESCRIPTION

P lasma C ontrol S ystem Architecture: lessons learned. Overview of PCS network and software architectures May 19, 2010 - 17th Real-Time Conference, Lisbon. F. Sartori 1 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: F. Sartori  1

Plasma Control System Architecture: lessons learned.

Overview of PCS network and software architectures

May 19, 2010 - 17th Real-Time Conference, Lisbon

F. Sartori 1

G. Ambrosino2 K. Blackler3 M. Cavinato 1 G. De Tommasi2

J. Farthing4 R. Felton4 P.J. Lomas4 A. C. Neto5 G. Raupp 6 G. Saibene1 W. Treutterer 6 L. Zabeo3

and EFDA-JET contributors

1:Fusion for Energy, 2:Assoc. EURATOM-ENEA-CREATE, 3:ITER Organization,4:EURATOM-CCFE Fusion Association,

5:Assoc. EURATOM-IST, 6:Assoc Max-Planck-Institut für Plasmaphysik

Page 2: F. Sartori  1

A short introduction to Plasmas

Tokamak Plasma = fully ionised gas + nuclei and electrons accelerated in different directions.When the conditions (P,T) are right…

n+

n+n

-

-

-

-

n+

nn+

n+n

+n

We have fusion !

Page 3: F. Sartori  1

Tokamak: electromagnetic machine

Tokamak contain the Plasma within a torus shaped vacuum vessel doughnut.Surrounding the vessel aretwo sets of magnetic coils.The PF coils create and confine the plasma current.The TF coils create a toroidal field which helps avoiding instabilities.PF and TF coils together with the plasma current generate the spiralling magnetic field that confines the plasma.

Page 4: F. Sartori  1

Tokamak = Highly Integrated Machine

Tokamak operation requires the coordinated action of several actuators: PF coils, additional heating, gas injectors…

It is very difficult or impossible to pre-calculate correct reference waveform for actuators. The solution is to feedback on the diagnostics information using a Plasma Control System .

Design of diagnostic systems need to account for the dual use of diagnostic information: science and control. They have conflicting requirements: precision and reliability.

Diagnostics of JET, Europe’s largest tokamak

Page 5: F. Sartori  1

Scope of Plasma Control System

• Stabilisation functions– Stabilise unstable plasma variableEssential for the basic functioning of the machine!

• Regulation functions– Reject disturbances and help programming experimentHelps improving quality of experiments and simplify the programming

• Non Primary - High Level Protection functions– Steer away from machine limits – Minimise wear of the tokamak componentsHelps the experimenter and improves machine availability

• Flexible support to experimental needs– User programmable open/closed loop references– Ability to set up custom feedbacks / protection schemes– Time varying control/protection logic/parametersHelps the experimenter and introduces new experimental possibilities

Page 6: F. Sartori  1

Example: Vertical StabilisationPlasma with a vertical elliptical shape are unstable vertically.

Without changes in the PF coil currents the plasma position accelerates vertically following an exponential law.

Typical JET plasma growth time is 3ms: For every 3ms of delay the installed stabilisation power needs to be 10x larger. Latency is essential…

JET VS control chain acts in ~300 µs!

Detection = combination of 160 sensors

Actuation = 60MW of electric power

Without VS plasma lasts few ms….

Page 7: F. Sartori  1

Scope of Plasma Control System

• Stabilisation functions– Stabilise unstable plasma variableEssential for the basic functioning of the machine!

• Regulation functions– Reject disturbances and help programming experimentHelps improving quality of experiments and simplify the programming

• Non Primary - High Level Protection functions– Steer away from machine limits – Minimise wear of the tokamak componentsHelps the experimenter and improves machine availability

• Flexible support to experimental needs– User programmable open/closed loop references– Ability to set up custom feedbacks / protection schemes– Time varying control/protection logic/parametersHelps the experimenter and introduces new experimental possibilities

Page 8: F. Sartori  1

Regulation: Plasma Shape

Plasma shape is function of plasma distribution and external fields (PF).Changes in internal plasma parameters can cause significant variations to the plasma shape.The Shape Controller instructs changes to the PF coils in order to minimise such changes.JET Shape Control : 2ms cycle time.Detection = combination of 200 sensorsActuation = 9 PF coils >200MW power.Without Shape Control, experimenter uses simulation codes to calculate PF current waveforms. He then corrects the waveforms using data from experiments…

Page 9: F. Sartori  1

Scope of Plasma Control System

• Stabilisation functions– Stabilise unstable plasma variableEssential for the basic functioning of the machine!

• Regulation functions– Reject disturbances and help programming experimentHelps improving quality of experiments and simplify the programming

• Non Primary - High Level Protection functions– Steer away from machine limits – Minimise wear of the tokamak componentsHelps the experimenter and improves machine availability

• Flexible support to experimental needs– User programmable open/closed loop references– Ability to set up custom feedbacks / protection schemes– Time varying control/protection logic/parametersHelps the experimenter and introduces new experimental possibilities

Page 10: F. Sartori  1

Scope of Plasma Control System

• Stabilisation functions– Stabilise unstable plasma variableEssential for the basic functioning of the machine!

• Regulation functions– Reject disturbances and help programming experimentHelps improving quality of experiments and simplify the programming

• Non Primary - High Level Protection functions– Steer away from machine limits – Minimise wear of the tokamak componentsHelps the experimenter and improves machine availability

• Flexible support to experimental needs– Ability to set up custom feedbacks – Ability to set up custom protection schemesHelps the experimenter and introduces new experimental possibilities

Example: control of plasma pressure β:Additional heating is controlled using a PID and the pressure estimation β.

Page 11: F. Sartori  1

PCS architecture

How are we going to organise the implementation of the Plasma Control System?Why not a simple architecture where each PCS function is an individual system?But PCS functions share diagnostics, share actuators and in most cases communicate with each other!Why not a single system running all functions?Too complex and un-manageableLet’s look at why

High Level

DiagnosticDiagnostic ControllerController ActuatorActuator

DiagnosticDiagnostic ControllerController ActuatorActuator

DiagnosticDiagnostic ControllerController ActuatorActuator

Page 12: F. Sartori  1

PCS Requirements

PCS function have broadly different technical requirements– Number of channels, cycle time, processing requirements,…

Require different levels of reliability and availabilityImpact on the (re) commissioning procedures

Are gradually installed and commissioned following the needs of an evolving machine– Tokamaks evolve from simple machines with the minimum

number of systems to complex machines able to execute advanced plasma scenarios

Requirements are subject to change especially for the most complex function, those to support advanced operation– Their requirements are the most volatile as subject to evolving

technical and scientific understandingThere is always a limited windows for commissioning PCS

since PCS is the last being tested.

Page 13: F. Sartori  1

Modular architecture

The only practical way to cope with the conflicting requirements is to break PCS into Modules.

A PCS Module is a distinct system that implements a PCS function or contributes to it.

Modules are commissioned as soon as possible and then kept untouched as long as possible.

Page 14: F. Sartori  1

Distributed Architecture

Since a large number of Module outputs need to be shared a PCS network becomes necessary.

The network should allow efficient management of PCS, and at the same time satisfy the technical requirements.

Page 15: F. Sartori  1

PCS Network Solutions

Single or Multiple Star is the ideal topology for PCS network compared to Ring or Bus.

This solution requires high availability switches since they are a single point of failure for the network.

Network solutions should also be as mainstream as possible No single vendor, multiplatform support, long life, backward compatible upgrades….

Page 16: F. Sartori  1

PCS Network signal topology

PCS requires a point to multi-point signal topology.This can satisfied with Broadcast transmissions. A better choice is Multicast as it allows effective reduction of traffic on branches.Multicast + Centrally Managed routes (non public subscribe) allow controlled introduction of a new PCS Module: until tested isolate output.It also allows seamless replacement of a PCS Module with another

PCS

SWITCH

PCS

PCS

PCS

Page 17: F. Sartori  1

Latency

The most important performance parameters for the PCS network is the transmission delay

– Control systems requirements impose a bound delay for the overall control chain– Jitter is in fact tolerable– Only deterministic protocols can be used: no->TCP

Diagnostic data is typically sampled synchronously– The network is flooded with information every cycle – Switch queues should be long enough to cope with the flood– Better not rely on time sharing techniques like TDMA (synch net)

• Switches are more reliable than systems

The network bandwidth can be utilised partially 20%The larger the usage the longer the latency….

Page 18: F. Sartori  1

PCS network traffic

PCS traffic consists of groups of signals (packet) related to a certain diagnostic, actuator or plasma property.Send only information that is usable by many modules!Elaborate the raw diagnostic data at the source.Use dedicated links to transfer high volume of data to Data Elaboration Systems before entering PCS Network.

Page 19: F. Sartori  1

Existing PCS networks

Page 20: F. Sartori  1

PCS Module

Page 21: F. Sartori  1

PCS Modules application architecture

PCS Module application software can always be modelled as a Discrete Time System.It may contain multiple DTSs each operating at different sampling frequency.Or also cascades of DTSs.PCS Module architecture should support application modularity providing the interconnection elements.

ADCPacket 1Packet 2

F1(z)DAC

Packet 3

Re-sampling

F2(z)Packet 4DAC 2

Fa(z) Fb(z)

Page 22: F. Sartori  1

PCS SW frameworks

A good example of PCS framework is MARTe. For more information you can visit the posters– PFE4 “A survey of recent MARTe based systems” A.C.Neto– PFE13 “Performance comparison of EPICS IOC and MARTe

in a Hard Real Time Control Application”, A. Barbalace.– PFE22 “First steps in the FTU migration towards a

modular and distributed real time architecture based on MARTe and RTnet”, L.Boncagni

– PCM18 “Epics as a MARTe configuration environment”, D.Valcarcel

Page 23: F. Sartori  1

Conclusions

In large tokamaks the PCS management requirements dominate technical aspects.

• Divide PCS into Modules with the aim of providing the right functions at the right time while minimising commissioning.

• Use PCS network to allow sharing of actuator and resources and allow collaboration of Modules

• Use the network to help manage the evolution of PCS: support isolation, addition and substitution

• Aim at low latency, exchange only the information that is needed with the module that needs it….– Concentrate large local traffic into dedicated links.

• Standardise and modularise Module software– Separate scientific code from interfaces– Make modular scientific code portable to support testing

Try to keep it simple but prepare to manage complexity.

Page 24: F. Sartori  1

Future of PCS