Prototype Control System for the J-PARC 60MeV Proton Linac IIN.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., Ltd
8-21, Bunkyo, Tsuchiura, Ibaraki, 300-0045, Japan

Abstract
This article describes recent progress of the prototype control system for the J-PARC 60-MeV proton linac. Recentlywe 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;:(<>=@?
ResearchComplex)
1/+
0
1
2
3
[1,2].&A#B1C+DE F+GIH
E M9NPO '&)+*
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[>LEPICS (Experimentalm-qr#s
Physics
andIndustrialControlSystem)t iu Z8`:<-=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#n5 
@1L  Y;Z1[(g SPoEPICS.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  {LEPICS[^m#nq g S e+#k+l5¥[>r& s+EPICS©1ª ¡¢>o&£ q 2g ¤  t i Q q S¦  ;§P¨ <.
jW«&¬#­+®9q&M hg o&£ 3 ¤ '#¯° t i~
£ 4¤j



II

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

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

2004 TÐK

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

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

IOC '(@ . A H B6I CDEF IOC .

VXW PowerPCqS G.
TVME-bus
CPU J+ZLK;oM(Ï~L.  Ej × cForce 6750 r&gh-i  s Advanet7501 K1o~Pq z S W Ï5~r#s jc Ï HP-UXg Ò+i Z+2Ó (jh-SVxWorksfacc1)
L1¡¢|}~Vt i (ã.
^1m+ncg[~ c   gh-i E ÊÒ+ZÓ
(NIS,NFS,DNS,BOOTP)
1K j~
q S
( @( ^+m#n[LEPICS
 EPICS toolsSÌgtool(a) GUI editor dm2k (MEDM)
c S -~S
{ '|+EDM
Q;R  (b) DatabaseS  tool VDCT .+z.X4;6 configration
r@s1-} ã(jâEDMLGUI+
Q;RSe# Sg   q
$!-< ,& '8; i j ^>KEKBQ;RÏ H I(k#l('. " + , i A&_;a#r@s$ÏZSS cQ`R g+h1i Ï|+} 8;:1<-=@? jscript
R #
. $+% ¡#¢ (c) Python (d)S SADqâ.
W
Z+Ø+y#+$¡(¢L
60MeVQ;R gh-i E=P^X_`:-a+b&' &Ï 1à %3.3 ¤-o>? Y7Z([(e+\( ] S<K j S ( EPICS
'(1Zß+ZØ(e)
Q7R1S'8;:1<>=@channel?#.
|}archiverWEB
60MeVc +, i Ì 47q f&2 ) *z[12] j

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

3

3.1 Network-based Interfaces

k1l5b

 .

S



X V

MEBT

GPIBx13
EMBx6
PLCx1

Timing

X V

DTL-Q

EMBx77

Monitor-SCT-FCT

WEx2
7111x5
WEx2
7111x5
WEx3
7111x20
PLCx1
WEx1
PLCx3

-BPM

k+l>.&©1ªInterfacex
PLCx1

V



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

2
U a

RFLLRFS

9m  = ¦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}

LabViewW $ V9%(+' L system.
V9× qWX
VisualBasicV9W 
~ioEDM

<= >ACBD E F h@â q(&.1Ú

f g  gh-i

3.2 Á7K½X¾2L5M7N©+ª + ,oPOG  HI5~E.

[10, 9] j

8`:<-=P?

Ï! J, ik#l>.

2004
q&e TÐã@+ K Ô 60MeV t i S +2

1

j T >
1 S c@w(1q  RF(LLRF)^+m&n
Monitor(SCT,FCT,BPM)
Skl q f# a EPICS[1S VXWzjS 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
â
â
(TL
E(( klc'hk1lX ^(m n' interface
47-ã1.
9qhKo EPICS[$oS
 t&-q#
7TÐS
M(j  2004,&o ' i
<  8; ^9{ _7a+,-L
Z =P^X_R1Sq+r@s j Q;GUI(MEDM)
L
2003T7Y(Z([(\Q7R ]:-a+ba^X_`:-a+b&' %&-q

?   U WVRQ ST XVYZ [\X V]VX^ _`  X Vab c def g ha b _ ` iab Hjlkg+h-i
9y\nm$')Ï (RS 91.ee&$+%t i j.
VâW
DTL-QXL1$
Ï
j4' SMonitor
L
WE7111(100MS/soscilloscope)<o$X  B (SCT)S o .Z: rC S s>q&p M o h: g  (FCT) Sq á^9_Pc a oH :EPICS +t \PZ KuI áx + (BPM)
rv . o :  Z  1' WE7111~ jw 30 oZ+Ø
 WE-stationqÙ{W(y " o<$g+Ï5h(~ i S e# Advanet CPUa| ×Cz~ 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-QX 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 / iWEL[11] j' S(L LLRF t (LowV )RF( PLC.5RF)
4P6 KlyPSE (Klystron8;X:i Levelo<$1Ï Ô e jXâLLRF 60MeV<>=@?#'q¤
1(.
LPLC
Ñ
&/1KL
2004
S Ù 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(. ¶ c
PLC 14EPICS t+\PZLu
K I ~ 60MeV

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

4.1 EPICS "#i3SL+,c-y q>88m Q;R g+h2002 T 12 k#l(^+m&n ' Z2
1Xù@1EPICS3.14
[4]1j c SEPICS'E [ L 3.13 o~ tJ-PARCVxWorks5.5
#'
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 \ Q7tR
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ro G(. ?
HP-UXLinux³&R i js-.1
, 01
q i ^+m#n TAz[(jL

@C
B+
S'Ô
ââ( TEPICSq #tooly Ì #4;$1t i ')q ¡¢-L Linuxã# ¡¢ e`
HP-UX
D+|9}oHj.
Linux#ÒZ+Ó
(jhfacsv04,Ejkksv01)
|9}S . ã gh-i c q F ³ f g r&s-.1, 0(oqPHjhfacsv01
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 [ & o Q;R g+h-i j ~ 9:3 93 60MeV8;:1Ï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#+©_SEPICS-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#+. 2 ' d  +(g,+.e(2 q Øff&Z  3PC~Lzj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&29o~ 8`:<(=;?&' z=;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
([o' Sq t i  c^ h ,.^y â(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Z8;:1<9H 1.
h-. i /j  60MeVL  h>? .i :
t i .(S 2q  DTL1f g(e 11Zoj+H(. h 3 h 3M8;:1<-=@?&'z>oW>
60MeV+ZS 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è ï 4