Introduction of CSNS Control
Control GroupFeb.13 , 2009

Outline• Overview– Primary design parameters/Milestones– Site and effective drawing– Control Architecture Based on EPICS– Standardization• CSNS Control System– Globle control: Computer, Network, MPS, PPS…
– Front End control: PS, VA, LLRF, Ion, Injection/Extraction…
– Commissioning Software: XAL…
– Other interface control: CF, target, spectrometer…

• WBS and Manpower
CSNS Report 2009!"2#"13$Page

Primary design parameters
PhaseIIIultimate

Beam power on target [kW]120240500

Beam energy on target [GeV]

1.6

1.6

1.6Ave. beam current [µA]

76151

315

Pulse repetition rate [Hz]252525

Protons per pulse [1013]

1.9

3.8

7.8

Linac energy [MeV]

81130230

Linac typeDTLDTL

DTL+SCL

Target number

112

Target material

Tungsten

Moderators

H2O (300K), L-H2(20K) coupled &decoupled318>18

Number of spectrometers
CSNS Report 2009!"2#"13$Page 3

Milestones• 2005. 6: “political approval”– central government approval & fund allocation• 2006.1 -: CAS funded R&D 1 (35 M CNY)
• 2007.7 -: Guangdong funded R&D 2 (40 M CNY)
• 2007.12 -: “project establishment review”– Budget baseline: 1.4 B CNY + 0.5 B CNY (Guangdong) + land

• 2008.6: environmental impact assessment completed• 2008.9: Approved by the Government• 2010.3: ground breaking expected– Need to pass feasibility review and preliminary design reviews
CSNS Report 2009!"2#"13$

Page 4

Dang Lang Town, Dong Guan City, Guang Dong Province

CSNS

CSNS Report 2009!"2#"13$

Page 5

Layout of CSNS"""%&'&(")*"+,-"./0,12345263"748/9:342";</,95=>?"@,-"A%&5"3/,"784B,257C4,,"&:,1243D,2,49E,21>

CSNS Report 2009!"2#"13$

Page 6

Overview
Distributed Control System

PPS/Vac,etc
IOC/PLCCSNS Report 2009!"2#"13$Page

Overview
SoftwareFClient, Service, Front-End.
Client Tier•!"#$
• !%&'

Services Tier
• RDBMS• !(")• *+#,• -.&'• GH/$01• IJKLMN• 01%2• %2")"&
Front-End Tier
• '(OS• '(DB• )*+,
• -.01• OPQRSTCSNS Report 2009!"2#"13$

From the ILC Design report
PageOverview-Standardization• Software: EPICS and other Standard software Components– Linux, VxWorks, Windows, RTEMS– GNU C,CVS, C/C++,Java, LabView, Eclips– Oracle• Hardware: Standard Commercial Product– VME(VME64X Crate, MVME5500 or MVME6000 Processor)– PLC will adopt Yogokawa PLC– IPC (Industrial PC)– Intelligence Controller: RS232 to Ethernet, etc– Oscillograph
CSNS Report 2009!"2#"13$Page

CSNS control System• Global System– Computer! Server (HP linux, Sun Solaris)– EPICS Server– Archiver Server– Oracle Server– Other Server: NFS, NIS, NTP, etc! Operator Console (Linux,sunRay)! etc

CSNS Report 2009!"2#"13$Page

CSNS control System-Global system• Control Network(IPV4 and IPV6)Central control room

– Cisco ProductFirewall

WS-C2950– Star Topology

WS-3530

o mP oCr t

B a y
N e tw or ksDS

B a y
S ta c k 4
5 0- 12 T S w itc hC ommP ort

B a y Ne tw o rk s
p lin kU
Mo du leiM a cB a y
S ta c k 4
5 0 -1 2T S w it

DShc

3 1 4 1 5 1 61
1o mmPCo rt

B a y Ne tw or ksp lin k
UMo du le312413455 1 611623784591 061721819012 31 14 5 6

7 8 9 1 0 1 1 210B ay S ta c
k 4 5 0- 12 T0 S w itc h
1D tiv
FcAx ty

DSU pli nk Mod ule

1 3 1 4 1 5 1 6123! 100M/1000Mbps or 100M/1000M/10G Backbone
1B a yN e tw or ksp lin kUMo du le3 1 4 1 5 1 611234567892 3 45 6 78 9 1 0 1 1 2
1 0
B a yF taSD cx k 45 0- 12 T S w itc hA ct iv ty

1 012112 34 5 64567891 0

1 1561 212 34 56 7 8

9 1 0
1 1 1
21 0
1 0
F D x
B a yA ta
Sc ct kiv
y 4
5 0 -1 2
T S w it

C ommP ort

B a y Ne tw o rk s

1 2o mP o
Cr t

DShcDSU pli nk Mod ule

7 8 9 1 0 1 1 2

1 3 1 4 1 5 1 6123478

91 0

1 1

1 212 34 5

6 7 89 1 0
1 1 121 0
F D x
A ct iv
t y01D x
Fc tiv tyA– Core Switcher: Redundance
WS-C4506

WS-C4506– Fiber Optical between core switches and mid-level switchesDSDS

B a y N e tw

B a y N e t wo rk s

P *
8 x
5 0
OOO13 0AON
6C

S T
R

E T H
E R

I N
LKR S 2
3 2CIN S

A C Te n tillio n 1Cen ti l ion 14 00r k so

4 0 0

P *8 x
5 0
OO1 30A ON
6A LM

E T HE R

R S T

L IN KR S 2 32 CISNA CTL MA

C C A R DP
P C C A R
D–Servers
Firewall, Anti-Virus Gateway, CA gateway, etc
P WRA LMF A N0A LM
A N 1 P WR 0 P W
F
R 1WRP

A L M
A N 0 F A N
F
1WR 0P

A L
M

WR 1PWS-3530
B a y Ne tw o rks

WS-3530

o mmP
Co rt

U plin k Mo du leDSa y S
Bt ac k 4 50 -1 2 T S wi tch314151611234567891 01 11 23 45 6 7o mmP
Co rt

3141516123456785 1 61191 0

1 121Linac area

1 2

3 4

5 6 7234567890
11 11 212 3 45 6 7

8 9 1 0 1 1 2
1 0F D xA c
t iv ty

WS-C2950
B a y Ne tw o rkso mmP
Co rt

DSa y SBt ac k 4 50 -1 2 T S wi tch31415161B a y Ne tw or ks
141DSa y SBt ac k 4 50 -1 2 T S w
i tchU plin k Mo du leU plin k Mo du le

DSB ay S ta c
k 4 5 0- 1
2 T S w itc h31

8 9 1 0 1 1 21 0
F D x
A ct iv
t y

WS-C2950
B a y Ne tw o rkso mmP
Co rt

B a y Ne tw or ksp lin k
UMo du le21

8 9 1 0 1 1 21 0F D x
A ct iv
t yo mmP
Co rt1p lin kUMo du le2313415 1 61456127891 034561 12171 289013 41 1

5 6 71 2DS8 B
9 a
1 Sy0 ta
1 c
1 4k
2 5 0- 1
2 T S w itc h
1 0F D x
A ct iv
t y

1

2 3 4

5 6 7

8 9 1 0 1 1 2
1 0
F D x
A ct iv ty

Local controls

Control Network Structure
CSNS Report 2009!"2#"13$Page

CSNS control System-Global system• MPS(Machine Protection System)– MPS to protect the accelerator from beam induced damage.
– MPS to ensure that Beam Loss <1W/m,10-4– MPS will terminate beam in less than 20usec from receiving afault.
– MPS only controls Source and RFQ enables and timing gates•

MPS consists of Run permit, Fast permit and PLC•

MPS is not a personnel protection system (PPS)• MPS is not an alarm handler

CSNS Report 2009!"2#"13$

Page

CSNS control System-Global system• MPS is new, challenging system•

We will learn more experience from J-PARC and SNS(U.S,A)– Noise immunity (Fiber Optic instead of copper cable)– Improve Availability (>99%)•Next Step
– Build up the prototype of MPS– Do some R&D to evaluate the response time of Fast protection

system and noise immunity of MPS

CSNS Report 2009!"2#"13$Page

CSNS control System-Global system
Run Permit (Software)

MachineMode

ZONEStatusPPS

MPS PLC

Beam
Mode

MPS
PLC

Fast Permit

DTL (1)Ldump

MPS Inputs

MPS Inputs

TimingTiming

Idump

RING

MPS Inputs

MPS Inputs

TimingTimingTimingTiming

RFQ

CCL

RING

MPS Inputs

MPS Inputs

MPS Inputs

TimingTimingTimingMPS Inputs
TimingMPS Inputs

MPS Inputs
TimingTiming

8.2 usCSNS Report 2009!"2#"13$

MPSMasterRFQ
DriveMachine
mode

Timing
SystemCCL
Beam
Stop

LDMP

Allen Bradley PLC - Control Net - Flex IO - MPS Network

Trigger Control

MPS Inputs

RTBT
MPS Inputs
Timing

8.2 us

2.2 usRFQ
HVPPS

TargetTimingRTBT

5.8 us

65 kV

Ion
SourceXdump

8.2 us

HEBT

BLM's
LLRF
Diff I, etc

EDMP

TGT

~1400 inputs, 50%
maskable

SRF

TimingRING

Trigger
Control
Chassis20 usec response
requiredMPS Inputs

MPS Inputs

Timing
SystemY
RTNESPMPS Inputs

5.6 usIDMP

65 KVPS
RFQ-RF
RFQ-PS
Plasma-RF

MEBT

Src /LEBT

1 Sec Response

Power Supplies
VacuumWire Scanner
Limit Sw. etc.

CPLD that logically adds
triggers and gates asappropriate.
From Alan Jones’ report “MachineProtection System”
Page

CSNS control System-Global system

CSNS Report 2009!"2#"13$

From the report “Machine Protection System for JPARC”
Page

CSNS control System-Global system

CSNS Report 2009!"2#"13$

From the report “Machine Protection System for JPARC”
Page

CSNS control System-Global system• PPS(Personnel Protection System)– Prevent human from damage in case of unexpected incident– High Reliability ( almost 100%)– Gate permission(Redundant is necessary)– Radiation dose Monitor– Fire warning– Industrial Monitor System at the pivotal place and device– Isolation from Control System

CSNS Report 2009!"2#"13$Page

CSNS control System-Frond End control• Ion Source control– Power supplies: arc ,extract , deflexion magnet, accelerating,discharging– Temperature measure & control : 6– Local Trigger Generator : 7 triggers– Vacuum system: pump , valves, mass flow meters– Hydrogen gas : Piezoelectricity valve– Cesium gas : Power supplies (2)– Water cooling: pump ,valve• All devices are on – 50 kv HV platform except accelerating
powers supply and vacuum devices
CSNS Report 2009!"2#"13$Page

CSNS control System-Frond End control• Ion Source control
Server!switch#Linux EPICS

FL-NET
PLC

Field network

I/O

1#

PLC

2#

Convertor
Fibre
I/O!T"V"I….#

HV

I/O

Platform

Convertor

50Kv

I/O!T"V"I….#
Ion Source &LV
Ion Source &LEBTLEBTequipments

HV equipments/3 潘宁型离子源控制系0硬件12
CSNS Report 2009!"2#"13$

Page

CSNS control System-Frond End control• Injection/Extraction Control– 4/4 horizontal/ vertical painting magnets, 2 Pulsed power supplies– 10 kicker magnets, 10 pulsed power supplies
PC Linux IOC

PC Linux IOC

Ethernet

O/EFG

DigitizerDODI

PLC

Ethernet

CPUYOKOGAWA

Ethernet
V oscilloscopes 1/5

I oscilloscopes 1/5

Optical link

DG535
1/5

Signal processing
Bump power supply

Bump magnet

Figure1 Injector control Structure Fiugre2
CSNS Report 2009!"2#"13$

PLC

High voltage charge
power supply
Analog Set

PFN Charge
voltage RD

Kicker Pulse
current TX

Analog ReadBack

Kicker power supply 1/10

Kicker magnet

Extract coontrol StructurePage

CSNS control System-Frond End control• Power Supply Control被控)*名台数直4DTL磁5主6源每台)*引出信号数本型)*引出信号3数

AIAODIDOAIAODIDO762268152152456608

直4LEBT磁5主6源

9226718185463

直4MEBT磁5主6源

2022674040120140

LRBT磁5主6源3222676464192224

RTBT磁5主6源2222674444132154

RCS7磁5主6源8446832324864

RCS7磁S56源

4446816162432

RCS7磁5校正6源724468288288432576

注入系0直流6源

42267882428小824766266214821889

信号3数4695

CSNS Report 2009!"2#"13$Page

CSNS control System-Frond End control• Power Supply Control– Embedded IOC based on FPGA+ColdFire

MPS orother

CSNSUVWXSTYZ[CSNS Report 2009!"2#"13$Page

CSNS control System-Frond End control• Power Supply Control– Embedded IOC R&D– Build up RTEMS/EPICS– Create an example IOC /RTEMS– Next: How to control the FPGA

– Background: PS Group develop the FPGA function to control
the Power Supply

CSNS Report 2009!"2#"13$Page

CSNS control System-Frond End control• Vacuum control– 40 Ion Pump Controller,33 Vacuum Gauge and 26 Valves

IOC/PLCCSNS Report 2009!"2#"13$Page

CSNS control System-Linac LLRF

CSNS Report 2009!"2#"13$Page

CSNS control System-Linac LLRF
• Basic LLRF requirements for CSNS RFQ & DTL– Frequency: 324 MHz– Klystron peak output power at saturation:– 2.5 MW ( < 1 MW for RFQ)
– Repetition rate: 25 Hz– RF pulse width: 1 ms max.
–Cavity field control! Amplitude error +/- 1%! Phase error +/- 1 deg.

–Cavity resonance control–RF high power protection

CSNS Report 2009!"2#"13$Page

CSNS control System-High Level Applicaton• XAL– One student cooperator with SLAC(Paul Chu)
– One young guy from Physics Group visit SLAC on XAL

CSNS Report 2009!"2#"13$

Page

CSNS control System- CF, target, spectrometer• Interface between control and CF, target, spectrometer– SCADA, OPC, OPC Gateway

CSNS Report 2009!"2#"13$

Page

WBS and Manpower• WBS– 52.10M RMB(6.5%), less than 8\-10\"of accelerator• Manpower– 20 People

CSNS Report 2009!"2#"13$

PageThank you for your attention!

Welcome any advice and commenton CSNS control system.
Whatever, thank you again!

CSNS Report 2009!"2#"13$

Page