Proceedings of the 1st Annual Meeting of Particle Accelerator Society of Japanand the 29th Linear Accelerator Meeting in Japan (August 4 - 6, 2004, Funabashi Japan)

Prototype Control System for the J-PARC 60MeV Proton Linac II
N.Kamikubota 









, K.Furukawa , N.Yamamoto , J.Odagiri , H.Nakagawa , J.Chiba , T.Katoh ,S.Yoshida , M.TakagiHigh Energy Accelerator Research Organization (KEK)
Oho, Tsukuba, Ibaraki, 305-0801, Japan
 Kanto Information Service Co., Ltd8-21, Bunkyo, Tsuchiura, Ibaraki, 300-0045, Japan

AbstractThis article describes recent progress of the prototype control system for the J-PARC 60-MeV proton linac. Recently
we have installed environments for beam-monitors, RF (LLRF) control, and vacuum-level monitors. An archive system(channel archiver) has also become available. The prototype control system was understood as an evaluation of EPICS,
but now it has been used to help beam commissioning activities.

J-PARC 60MeV !#"$&%('&)+*-,#.
J-PARCProton* (Japan .54769Accelerator
8;:(<>=@?
1/+0123[1,2]ResearchComplex)E M9NPO '&)+*.&A#B1C+DE F+GIH
60MeV J K+L KEK
Q7R(S=P^5_`:-ab+Kc&d>e1f
2002 TU-VXW+Y7Z-[-\(]gh-i[5, 6] jS.(k>l ^>m-nJ-PARC[>L EPICS (Experimentalm-qr#s
Physics
and Industrial Controlu Zt i8`:<-System)=P?@' o&SPp(e+'&w[3,. 4] j KEK60MeVLTv
x r@s(Eginterface
WE[9] y S EMB[8] z({7~ u&
=7K+^9o7_ |+:(}
a#bP~ 1T
 jX~7tV>i&k#\(l-] ^+m#ng S5 @1L  Y;Z1[(EPICSPo.r&sm.&1[- S ~ e+  ^X_Pa+y+r&s 2(Z q&p1 Z
A#>< GUI 87gh-iZ1 ' S ( &(zk+o@l>^~ m#n.#j  {EPICS[Lq g S e+#k+l5¥^m#nEPICS[>r& s+©1ª ¡¢>o&£ q 2g ¤  t i Q q S¦  ;§P¨ <.
jW«&¬#­+®9q&M hg o&£ 3 ¤ '#¯° t ij~£ 4¤II1

2± ²³P´5µ± EPICS ¶5·¹¸9º »5¼½X¾¿ÀXÁÃÂÄ ÅÆÇ-ÈÉ
8`:<>=P?#. 15 @1k#l-^+m&n
60MeVEPICSS`Ê q7Ë t-Ì 4`q SE.@1S(a) Í#Î#Ï IOCE VME[ (L&rsbus S  ) Ð`Ñ 1 (b)Ï  HP-UX E Ò+Z+Ó jhfacc1 KÔ(c) Õ-Ö BSD(Ò(ZÓ jhfacpc01,02
ÑSSa¥
Er@s K5×
Z#ØS Linuxi K>Ð Q Ñ q (e)S#Û(Ü Ï Ô PCÑ E (d) Í+Î+ÏX\K9ÙPÑ VXW;
W à#¨ a#á(a T' Linux,Windows.#Þ Ú < j((f)1Zß
1Ý
9
Po|}
~
E<-à ÏÔ S
Linux PC jkkadm01 K
Ñ S (g) Z-ßS (ZÏ
NAS(Networkattachedstorage180GB)
`×Ñ
(h)
Í
Î
R .&
Er@sÔ
Ò#<Z#=P
Ó ?&k#
jhfacsv04
K . Ñ#j(â WÏ Linux8;:
l>.#(ã#q@ä
privatenetworkLå 60MeVgh-i~jæ E-mail: norihiko.kamikubota@kek.jp
1ç
1 è éëê#ìí î`ï î`ð ñëò`ó ô#õ÷ö@èùøëú`ô IOC ð&ûýü;þ;ÿ2.1

kek.jpFigure 1:  =  Z ?@©1ªE

2004 TÐK

 =  .
q Sk&l Ï privatec i network  V = J-PARC?
 ?>q S Z(j-parc.jp)
Zt ij J-PARC
S L (i)k+l  (jhfacsv03)
o

+
Ò+Z
Ó
S (j) 2 4m

(jhfacsv02)o+}~
o
1

Z
1pZ

Ò

ZÓ

.Cg+h(i e# Sprivate
J-PARCj#Ò+ZÓL.  !-.  =  ?q@ä ågh-iZ~j2.2 EPICS "#97+9 ^-mnS

EPICS version[(L g9EPICShioX$¹Ïj
3.13.6  VxWorks5.4(Tornado2.0)
q-8#8 m Q`R % &'~ ' S
EPICS
3.13L1998
TZKEKB')(*qcX88g1h-i
EPICS3.14 r&sj
Z' + , m Q;R Tg$1h(Ï i c ~ SKEKJ-PARC
.
/EPICS+¡¢.2 3-c 465+'87 S
c&d-e1f# 0 1('+|} (9 R
L i 3.13(>?
<; h ' h( £ 4.1 =)j,o :534

IOC '(@ . A H B6I CDEF IOC .
VXW PowerPCqS G.
VME-bus
TCPU J+ZLK;oM(Ï~LProceedings of the 1st Annual Meeting of Particle Accelerator Society of Japanand the 29th Linear Accelerator Meeting in Japan (August 4 - 6, 2004, Funabashi Japan)

.  E Force 6750  Advanet7501 K1o j × cgh-i r&s
~Pq z S W Ï5~r#s jc Ï HP-UXg Ò+i Z+2Ó (jh-SVxWorks
facc1)L1¡¢|}~Vt i (ã.
^1m+ncg[~ c   gh-i E ÊÒ+ZÓ
(NIS,NFS,DNS,BOOTP)
1K j~
q S( @( ^+m#nEPICS[L EPICS toolsSÌgtool(a) GUI editor dm2k (MEDM)
c S -~SEDM
VDCT .+z{ S   tool
Q;R  (b) Databaser@s1' |+-} ã.X4;6 configrationEDM
LGUI+
(jâg   q $Ï Q;RS + , ! ,&' i j e# S KEKB
Q;R H I(." i A&-<  8; ^>_;a#r@sk#l('$ÏS
S c Z Q`R g+h1i Ïscript#+$#¡¢(c)
Python(d)SAD|+} 8;:1<-=@? jR S q. %60MeVâ.
WZ+Ø+y#+$¡(¢LQ;R gh-i E=P^X_`:-a+b&'&3.3 ¤-oÏ 1à %<>? Y7Z([(e+\( ] S
'(1Z
ß+Z
Ø
(e)
K j S ( EPICS
Q7R1S'8;:1<>=@channel
?#.
60MeV
archiverc+, |} Ì 47q WEB
&fi[12] j2) *z
2
U a

3.1 Network-based Interfaces

X V

k1l5b

 .

DTL-Q

EMBx77

Monitor-SCT-FCT

WEx2
7111x5
WEx2
7111x5
WEx37111x20
PLCx1
WEx1
PLCx3-BPM

S

9m  = ¦GPIBx13
EMBx6
PLCx1

TimingRFLLRF

Ø(ZL S PLC
J-PARCS KEK S
EMB(Ethernetcontroller)
WE7000LAN/GPIBz>6 { Sq.  = ?
m1.
Z p(Z12 Interface g + o[7,S 8] j -VXW EPICS device support o@|1} ~EPICS support
NetDev(PLCEMB)WE7000
L Q;R  â
8;:1<>=P?#'.
Ô
60MeV
â ' Ì× T7
S H q(.
(@.

MEBTX VSk+l>.&©1ªInterfacex
PLCx1

V60MEV -.0/2135476¶5·980:7;

3?

Table 1: 2

r&s
0
19992001
Feb.
2003
Apr-Jul
2003
Aug.
2003
Oct.
2003
Nov.
2003
Feb.
2004
Apr.
2004
Jun.
2004

E

2004 TÐK

EPICS
DB+GUI
Ready
MEDM
Ready
MEDM
Ready
MEDM
Ready
MEDM
Ready
PythonReady
PythonReady
Python
Ready
MEDM
Ready
EDM}

LabView

W $ V9%(+' L system.
V9× qWX
VisualBasic

V9W 
~io

EDM

<= >A
CBD E F h

@â q(&.1Úf g  gh-iG  HI5~

3.2 Á7K½X¾2L5M7N

E.

[10, 9] j8`:<-=P?

Ï! J, ik#l>.

2004
q&e TÐã@+ K Ô 60MeV t i S +21j T >
1 S c@w(1q  RF(LLRF)^+m&n
Monitor(SCT,FCT,BPM)
Skl 
q f# a EPICS[1S VXWzj
S q@M h+g Ü .@!
> ? Q;R MEBT hTimingq L . T -c o Q&R g 1>[8]c jS
DTL-Q
Ï
×
F-q gh-i ÊEPICSDatabaseGUI(MEDM)
LË t~ ÔjS Ô>.
q S?? DDTL-QGUI

o>j
â
â(TLc'E(( klhk1lX ^(m n' interface
47-ã1.
9qhK[$oo EPICSS
 t&-q#
7TÐ
S<  8; ^9{ _7aM(j  2004,&o ' iZ =P^X_+,-L
R1S
q+r@s j Q;GUI(MEDM)
L
2003
T

7Y(Z
([(\Q7R ]:-a+ba^X_`:-a+b&' %&-q©+ª + ,oPO

?   U WV
RQ ST XYVZ [\X V]VX^ _`  X Vab c df g hea b _ ` iab Hjlkg+h-i
9y\nm$')Ï (S 91.ee&$+%t i jRV.
DTL-QXL1$
Ïj4
âW' SMonitor
WE7111(100MS/soscilloscope)<o$
LX  B (SCT)S o .Z: rC S s>q&p M o h: g  (FCT) Sq á^9_Pc a Ho :EPICS +t \PZ KuI áx + (BPM)rv . o :  Z  1' WE7111
w 30 oZ+Ø
~ jy " o<$g+Ï5h(~ i S e# Advanet CPUa| ×Cz
 WE-stationqÙ{W(~ i c SP j G2003H T 10A+ .^ h o} o ~ Monitorc Ï ®Pg+h(zW $Ï~L Ït HP-UX11.0  Tornado2.0  & ÿ è`é v7 ð7þv ð jhfacc1
ñv PRP` éC  P ÿ2

Figure 2: DTL-Q

X V>.  O Ë 

'1.
H I }~ g+h-i.
pØ ' S F Í+Î .!o (.
, h>i DAQ-rate LZå j + gHz j Monitor . ¡¢ 0 I . 1 q g ¡ o £ t / iWE[11] jL
' S(L LLRF t (Low.5RF)
4P6 KlyPSE (Klystron8;X:V )RF( PLCi Levelo<$1Ï Ô e jXâLLRF 60MeVq¤1(.
<>=@?#'PLC
2004Ñ
&/1KLLS Ù q  20p  §B ¥1c EPICS t#\7Z ¦K I5~  j e# T5¨ . © ª readback o WE7111 ' «7 ¬ Ð­  L q(â1Ú ®

gh-i~  j S R e+'.±²
 =W¯°  q Ï i+ = ¯°  Ø '³´ ' QL S '1â &1c S PLC
+ ¹µ ºØ
~7S V r¶ Wo · ¸ t i â1 c f&z1Vj 2004 T S Ð
D1(. ¶ cPLC 14
EPICS t+\PZLu
K I ~ 60MeV535

Proceedings of the 1st Annual Meeting of Particle Accelerator Society of Japanand the 29th Linear Accelerator Meeting in Japan (August 4 - 6, 2004, Funabashi Japan)

 .  D9c O Ë QPR
87:(<>=@?+'9ã ga 2 b ¦e# S
 /(0t K
y channel archiver z
j ' S#Û1Ü EDM.  {) * c>?'( i Ì 47q z f# j "#Sq
8@:><9=@?('60MeV
6#
A S B¥-.
 U L aPV 2003 T 10  V>.channelXarchiverS<r&d 9(.  MEBTB¥(o àZ(o~ j Q7R  f B¥o1y ~ +C' ßK I S © ªL,E 1 \PZLu
1 zF L BEPICS¥ 485 t+@1-2Hz q Ì 7 40S7Û@0.01Hz
K1o  =Ü .
g+h(iarchiver;
Y1Z[~^9_ :(a#j b#channelt i \1]. ;.
EB ¥  atK
Ko+âc Tj q z. f& [12]S Ú¨EPICS ¦ m Z MEDM LeH z c GUI"c 0 !GUI-b h c (L (+c S~ jL  .
5   +y TAB
' #(Monitore e H GUIË   q/ F h& Monitorc
 f$L c%5NMEDM
Lf gXQ7R1
Oy ±­ ! )9q /1
 S '('Python GUI oÎ *~ j
3.3 Tool Â4DISCUSSION

4.1 EPICS "#i3SL+,c-y q>88m Q;R g+h

2002 T 12 2k#l(^+m&n ' Z
1Xù@1EPICS3.14
[4]1j c SEPICS'E [ L 3.13 oJ-PARC
VxWorks5.5~ t
#'
X4 L 3.14^m#nqK(( o S. i21,03/(ù&( s[qr&q j- g1h>i Ï-Ò+ZÓ40  qEPICS3.14 cL  q5q \ Q7Rt
ji ^;j 8 3.13
U o  , gh-i j ] 6 ~Pz 8W 7:9
15ù&1 ^m&n '[ c S L HP-UXr@s(.,01q g &
2. <Ò#= Z#Ó#m   (jhfacc1)
X¥o¦  .
~:>
+ t , i S. \  y crHP-UXLinuxo G(. ?

³&R i js-.1
, 01
q i ^+m#n TAz[(jL@CB+S'ÔEPICSq #tooly Ì #4;$1
ââ( Tt i q ¡¢-L Linuxã# ¡¢ e')`HP-UX

D+|9}
o

Hj.

Linux#ÒZ+Ó(jhfacsv04,Ejkksv01)

|9}
S . 
q F ³ f g r&s-.1, 0(oqPHã gh-i c 
jhfacsv01
G & / i (&. P  , gh-i jHJIÆKMLNHNO P QSR7LMT U
8;:1<>=@? .
VG  ' Y7Z([-+\(t ] i=P^X_`:ca#60MeVb  (W,X S $#L %Y:TNZ
/0#2>oP <-=@? (â5 8;:1[ & o Q;R g+h-i j ~ 9:3 93 60MeV
Ït i 09qºk+l>^m#n.\]&(EPICS[o !

4.2, i¤ P# ×;T? j S small independent control system c (2^ q+f#+©_ S
EPICS-baseda ~   ² LVXÌW 9 unified Û(Ü q control oM` SÚ®
~SSv S cb j 9~ ^L m&nMEBT-PS'c &RF(LLRF)
Monitor,f&1c S [.
 =¯°  'Ø~PL- {. PC ya1¥
'6V<(  QLe#
S z V  '1 i +j ,Í+Î9Ï\#ZØ
>
VW. QS+6 6&. a¥b+o h(i . â &\ 7;e Z#
Ø+y#+,+.e(2 q Øff&Z  3. 2 ' d  +(gPCj~LzihxzyCj{8kW| m ìulPq èm}inu8o;~qõ7ñqï pir7 é  LabView s ô PC t q g uiv#ìñ8wMEBT

3e+ Sq f&' S >ã gâ1  . ¬ Unified#k+systeml 4 c T z q f&z29o~ 8`:<(=;?&' =;j ^>_ë:(a#b#q ³ f60MeV .
`Y1Z([\]Û1Ü qk+l>^m#n.
gh-Ci EPICS
8`:+<1=;?#' [ c @f7 ³ /  ' >L+{@z L h j 60MeVkl>^1m+n%5N&. : q   PQ ´ i â( c ¹EPICSº1([oq t i  c^ h ,.
^' Sy â(L  £ EPICS2q : ~ :g  N gh-i Ú 17 TU .&$#%-'1.  Y7Z([(~ \(] =P^Xj _ :-a+b  rqX8`:<-=P?
m+.@(c@d(ef g=@21? +Z S pZ. :H 1.
8;:1<9h-. i / ?h>i e 1L j  60MeV
t i .(S 2q  DTL1f g(1Zo



j+
8;:1<-=@?&'H(. h 3 h 3M60MeV+Zz>oW>
S H  m+c , i4 .
g \ ]p~. Z h (@$ . P  V-, {gh-V i j ·¸-L
5 REFERENCES[1] Y.Yamazaki, ”The JAERI-KEK Joint Project (the J-PARCProject) for the High Intensity Proton Accelerator”, Proc.
PAC 2003, May 12-16.2003, Portland, in press[2] Y.Yamazaki, ”Accelerator Technical Design Report for JPARC”, KEK-Report 2002-13; JAERI-Tech2003-044[3] T.Katoh et.al, ”Present Status of the J-PARC Control System”, ICALEPCS2003, Gyeongju, Korea, Oct.2003 ;J.Chiba et.al., Proc.of the ICALEPCS2001, San Jose, CA,Nov.2001, p.77-79

2iii[5] 8¡2¢¤£C¥ KEK ¦i§C¨ J-PARC m©2ª« MEBT¬­®¯°± «8²³q©2´ (I)µ C¶¸·¹qº:q©ª «C»¼2½½¾2¿  p.297-299[6] ÀCÁÂÃ2q£2¥ KEK ¦8§2¨ J-PARC¬­®¯°± «8²³q©´8µ CÄ2» ¼2½ m©2ª«i DTL1
[4] http://www.aps.anl/gov/epics/[7] K.Furukawa et.al., Proc.of the ICALEPCS2001, San Jose,
CA, Nov.2001, p.197-199

2ÅÊ2Ë ¯Æ¢ÇC£¥ J-PARC 60MeV¼2½q½©¾ª¿ «C ¬CÈ2É ²µ C¶¸·¹qº:q©ª® «C» ® ÊCÓÔÕ  p.440-442Í×mØ8ÎÙ2ÚC£ÛCÜ¸¥ÝmÏÞ«ß ÐqÑ iÒ©Ö ¬ ¼2½EPICS[9] Ì2½¾¿  p.443-445 µ C¶¸·¹º:q©ª«C»[8][10] J.Odagiri et.al., ”EPICS Devices/Driver Support Modules
for Network-base Intelligent Controllers”, ICALEPCS2003,
Gyeongju, Korea, Oct.2003

Ì2Í2®ÎâCiã £¥ KEK60MeV¼2àC½ á¸m©ª«C ¬ ­®¯ Õ ©
ÖÐäåª2µ CÄ2»[12] æÆmçè£8¥ KEK60MeV¼2ài
á:m©Cª« ¬éCê2ëìCí2®
½¯2ÊËÖiî2ï²µ CÄ2»[11]mò ó ï`ð Beam position môCõ&ìmöC÷ø;èù ê l2@ðiÿiñ ú;ñ õ steeringð SAD script ûüPè ï 4536