3. SACLA Á¬í§äVXeä B1CÎäüÛ2Cå[ Ê2CÄ ³T2C²¡´¢2C
{ 2CcÇ¾Y2CLìq2CÃìsl2C×c¼N2C
c³2C¼ºqT2C¼{2CR­õT2CRº¾L21Æ§s­@l»w¤d¤úËõÈw¤Z^[XFEL ¤J­å

§679_5148 ºÉ§²pS²p¬õs 1_1_12v|

àc@lPxõÈw¤Z^[§äÉîñå

§679_5198 ºÉ§²pS²p¬õs 1_1_1

SACLA ÌÁ¬í§äVXeÍ SPring­8 Ì§änÆµÄJ­³ê½ MADOCA ðt[[NÆµÄÌpµÄ¨èC{§äVXeÅÍ{Ý§äâr[VbgÉ¯úµ½f[^ûWnÉàÎðL°Ä¢éB{eÅÍ@í\¬ðSÉÝvûjðð¦Èªçðà·éB

3.1 §änÌÝv

Control Architecture (MADOCA)1)ð§änÌt[[NÆµÄÌp·éB¯¶RÅ§äpRsSACLA ªÚwµÄ¢é X üÌæÅÌÀèÈ[U[[^ÌoXÆµÄ VMEbus ðÌp·éB­UðÀ»·é½ßÉÍÁ¬íÌe@íÉÎµÄñíÉµçPLC ÆÌæè¢Ít@Ng[I[g[VÅµ¢Àèxªv³êéÆÆàÉC§änÉu¢ÄàÀèàgp³êÄ¢é Ethernet ðx[XÆµ½ FL­net ðgÉ®ì·é±ÆÉÁ¦C[U[­UªsÀèÉÈévöpµCXFEL Rg[ºÉ¼zlbg[NððmµÄ f­Î ·é½ßÌ @\ªv ³êéBpµÄ FL­net ðWñ·éB{ÝÇVXeÉà FL­SPring­8 Ì§äVXeÉä×Äàr[Vbg²Æ
Ìf[^ÌæèÝâ 5 {ÈãÌf[^_ðµ¤KvªèCÀè«Æ¬È§änªKvÆÈéBSACLA Ì§änðÝ·éÉXeÍCügnÆ^ónC¸§·²ÆámCYd¹½ÁÄÍCÈºÌæ¤åd³Cåd¬Ì@íðæèµ¢CC^[bNð½­ÜÞ§äÉÎµÄ Programmable Logic Control­ler (PLC) ðgÁÄÀ»µÄ¢éBé½ßåÊÌf[^ðµêðÆ§µÄÇoé\¬Æ·éBj^[nÉÍ¤LVXeðÌp·éBçåÊÌf[^ðµ¤^C~OÉád³ügn¨æÑr[j^[nÆärIá¬È FL­net nÍ VMEbuséBåÀèµ½[U[­UðÀ»·é½ßÅå60 Hz Ìr[VbgÉ¯úµ½r[ÊuCÁ¬ÊðûW·éKvª10ÌReiðpµ½¼zÂ«ð§¿ã°C»ê¼çA^CÉ60 Hz Ìf[^ðz¢ã°é½ßÉr[åád³ügnÍ¬Ì DAC/ADC Æ IQ Ï²/²¤Kvª¨æÑ ID §äÆXN[§äÉÖµÄ»ê¼ê FL­net J[hð¤pÅgp·é½ßÉ VME ¤ÅÍ SolarisÈÚðl¶µÄÝvðs¤±ÆÉµ½CðgÝí¹½VXeÅ

net ðKpµf[^Ì¤LðÀ»·éBçPLC Ìf[^ð FL­net oRÅûW·é½ßÌ VME VéBð¤LµÈ¢Bçd¥Î§äÉÖµÄÍW[^©çÌpXóÌ

mCYªÊMCÉe¿ð^¦é±Æðh®½ßC}åÀèµ½Â«ðÀ»·é½ßdCCâp
ÈÇÌf[^ðæèÞKvª¨æÑó²X^[ÉX[u{[hÔªõt@Co[ÅÚ±³ê½[g I/O {[hðgp·éBéBåjbgiÁ¬Ç¨æÑ}üõ¹j²ÆÌJèÔµªÆ¢¤\¬Æµ½BÜ½C»Ì¼ÉZúÔÅ§änÌ§¿½¢½ß§ät@NVÆµÄÍ½­ÍÈ¢ªC

ã°ðs¦éæ¤ÉÈºÌæ¤ÈÎôðsÁ½B

JèÔµÌª½¢½ß§ä_ªåÊÉç§äpf[^x[XÖÌMo^Æ VME ãÅ®­§äéBåÝúÔªZ­ClI¹àÀçêÄ¢éBvOpÝèt@CÌs®ð¸ç·½ßÉXvãLÌóµðÓÜ¦Ä§äVXeÌ\¬ÆµÄÍbhV[gÅêÇCêÂÌV[g©çf[^x[çSPring­8 â SCSS ±Á¬íÅgp³êÀèµ½§äð À » µ Ä ¢ é Message

AndDatabase

Oriented

Xo^t@CÆÝèt@CÌ¼ûð¶¬·éçXvbhV[gÌ\Å·×ÄÌlbg[NXCb`

úËõ March 2012 Vol.25 No.2  65(C) 2012 The Japanese Society for Synchrotron Radiation ResearchÌÝèðOÉ»ìµÄCÝuÌOÉXCb`ÌÝèÆÉ¸xÈ§äVXeðÜßÄ VMEbus ðp¢½Be|[gÌzüÌ®ðmFµÄ¨­BVMEbus Rg[ÆµÄ¬ÈZ«\Æá­Mðç VMEbus É g p · é CPU Ì § ¿ ã ° p Ì Compact¼§³¹é½ßÉCIA32x[XÌ´ád³ CPU ðÌpµFlash ÍfoCXhCo[ÌÂ«ð®õµ½}X½ CPU {[hÅ^[ðpÓµÄãÍRs[·éBSVA041CÆIy[eBOVXeÆµÄ Solaris 10ÈãÌæ¤È\¬Å2010N 4 ÜÅÉÝvðÙÚI¹µCéCTcI[gCVÐ»x86ðp¢½BÁ¬íÅÍC^C~OÉád³üg¨10©çÌ RF @íÌoÍRfBVjOJnÉü¯ÄCn[hEGAÌ®õÉí¹Ä§änð§¿ã

°½B

3.2 §äVXe\¬SACLA ÌÁ¬í§äp\tgEFAt[[NÆµ Ä Ì p µ Ä ¢ é MADOCA Í SPring­8 Å J ­ ³ ê Cf[^x[Xðàïµ½NCAgÉT[o[^§ät [   [N Åè C SPring­8 É ¨ ¯é Á ¬ í ¨ æ Ñr[C§äVXeðnßÆµÄ SCSS ±Á¬íÈÇ½­ÌÀÑðLµÄ¢éBFig. 1 É§äVXeÌSÌ}CFig. 2 É\tgEGA\¬}ð¦·B

3.2.1@í§äVXe@í§äptgGhÍCAiOMðµ¤¬

Fig. 166  úËõ March 2012 Vol.25 No.2Fig. 2

Software component of the control system.

Schematic of the control system for SACLA.

®«nß½ XFEL {Ý SACLA ¡ SACLAÁ¬í§äVXeæÑr[j^[pÆµÄ111äÌ VMEbus VXeÉæÁÄÁ¬íÆ}üõ¹Ì@í§äðsÁÄ¢éB±êçÌ¬É¸xªv³êéVXeÍâpbNàÌ·xªÀè»³ê½ÉæèâbNVXeÉûßçêC[U­UÉKvÈÀè«ðÀ»µÄ¢éBVMEbusãÉ¬É¸xÌAiOnðKvÆµÈ¢d¥Î§änC^ó§änC¸§·²n¨æÑC^[bNnÈÇÉÂ¢ÄÍç·d¹ðÌpµCÛçÌeÕÈ Rittal Ð»VME V[Vðg[^Å19ägpµ½B
PLC É Í Á ¬ í § ä n É ¡ Í d @ » FA­M3 ð C ^[bNnÉOHd@» MELSEC­Q ðÌpµÄ¢éBÜ½C{Ý§äpÆµÄI»Ì PLC ªgíêÄ¢Fig. 3éBPLC nÆ VME nÆÌæè¢ÉÍ FL­net ðp¢é

Schematic view of the event­synchronized data acquisition
system.

± Æ Æ µ C Ú ± p É Í SCSS  ± Á ¬ í Å J ­ ³ ê ½VME {[hðgpµ½BFL­net Í PLC âvZ@ÈÇÌXeSÌÉnèVbgÉ¯úµ½i¯êÌCxgÔÙ@íRg[ÔÌÝÚ±ðÚIÆµ½I[vÈÌjêAÌf[^Zbgðæ¾Å«éBFig. 3 É¯úf[lbg[NKiÅèú{HÆKiiJIS B 3521jÉ^ûWnÌ\¬ð¦·B§è³êÄ¢é½ßC¡Ì[JÔÅÌæè¢ðeÕÉs¤±ÆªÅ«éB¡ñ SACLA Ågpµ½[JÈ3.2.3r[vt@CpæûWnOÉààÌåvÈ PLC Í FL­net ðT|[gµÄ¨èSACLA r[vt@CÌæûWÌVXe4) ÍPLC ÆÌæè¢ð¤Ê»Å«ébgÍñíÉå«eXN[j^p CCD JÉæèæ¾µ½r[é Ethernetvt@Cæð Camera Link KiÌOo[{[h¢Æl¦Ä¢éBFL­net ÍZpIÉÀÑÌðlbg[NÌ¨wÆµÄpµÄ¨èCù¶Ì§äðÚµ½æT[oðgpµÄûWðs¤BXN[nlbg[NÆV[XÈÚ±ªÂ\Åj^Ír[jó^ÌªèíÅéBÊMvé½ßgpÍ^[QgRÆµÄCUDP/IP Æu[hLXgðîÕÆbgÆÈéXN[ÉY·é CCD JðIð·µÄ¢é±Æ©çCEthernet plbg[NvgRéBñ50äÌ CCD J©ç 1 Âæf[^ðIÊ·éAiCUÈÇÌÇ@íâc[Þð»ÌÜÜ¬pÅ«½ßÉ11äÌJØèÖ¦íðp¢Ä¢éBCCD JéÈÇÌbgª

Æ XFEL §äºÉu©ê½æT[oÔÍÅåñ600éBÀèÈÁ¬í^]ðÀ»·é½ßÉCe@íÌ¸x·xj^ðs¤Kvª

éB±êçÍÁ¬í{ÌÉÁÄm öxÌ£ªé½ßCM ðõÉÏ·µõ t@Co[ðp¢ÄçêéBCCD JÍ 2 íÞÌJL­ªUµ½­_ÌvªªåÅCWIÉÌpµÄ¢

JAIFCV_A10CLimN46æfCt[[g60é VMEbus ÉÁ¦ÄÂÀ«ÉDê½yÊÈvªVXe

fpsjÆCJAIFCV_M4{CLimN145æfCt[ª]Üê½BSACLA ÅÍCPower over Ethernet (PoE)[g24 fpsjðCj^ÊuÉæèg¢ª¯Ä¢éB[ðJ­µ2)C§xÈ·xe CCD JÖÌgK[zMyÑJ§äiIõZpðpµ½ªUWvªðÈzüÅÝuêÌ©Rxª¢vªVXeðÀÔCQCjÍ Camera Link oRÅs¤±ÆªÅ«éB»µÄ¢éB»óÅÍæf[^ûWÍÅå10 Hz Ås¤±Æðzèµ3.2.2r[É¯úµ½^C~OÅüÍ·éªCæT[oÉÄVXeðÝvµÄ¢éBCCD JÖÌgK[Í¯úf[^ûWnSACLA ÅÍ[U­UðÀè»·éÛC60 Hz ÌVÀµ½JE^[{[hÅ}X^[gK[ðJEgbgÌf[^ðp¢ÄC[Uâdqr[Á«Æ@íµÄ¯úf[^ûWnÆ¯úµ½CxgÔðæÉtp[^ÆÌöÊÖWðpµÄ@íÌp[^â§Á·éB±Ì±ÆÉæèCæ¾µ½æf[^Æ¼Ì¯úänðÅK»µÄ¢­B±Ì½ßff@í¾¯ÅÍÈ­ÏûWnÌf[^ir[Êuj^[Cr[d¬j®µ¤é^[jÆr[VbgÌärªÂ\ÉÈéBád³üg@íÌcåÈf[^ðVbgÉ¯ú³¹Äæ¾·é½ßÌ¯úf[^ûWVXe3) ªKvÅ3.2.4{Ý§änéB±Ìæ¤ÉåKÍÈf[^ð¬ÅmÀÉ¯úªæêSACLA Ì{Ý[eBeBuÍªUÝu³ê½26

éæ¤C½ÌªUµ½ VME ãÉ¯úµ½gK[päÌ[J PLC Å§ä³êÄ¢é4) BìnÉÍ^bXðªzµCÂXÌ VME ÉÀ³êÄ¢éJE^[É`plðõ¦½C PLC ðÝ¯CXFEL §äº¨ææéCxgÔðf[^Ét^·é±ÆÅÁ¬í§äVÑ SPring­8 ÇÉéÄº©çÌÇðÂúËõ March 2012 Vol.25 No.2  67

\ÉµÄ¢éBC PLC Æ[J PLC ÌÔÍ FL­

SUSELinux Enterprise 11ðp¢½BIy[^R\[net ÅÚ±µCÙ@í PLC ÔÌÚ±ðÂ\ÆµÄ¢éBÆµÄ6äC»êÆÍÆ§ÉCf[^ûWp[CAÁ¬í§änÆC PLC ÌÔÍ VME ðîµÄ FL­net[\¦p[CeêäÉæèCA[Änð\zÅÚ±µÄ¢éB{Ý[eBeBÌSMÍ SACLAµÄ¢éBeiXpÆµÄ 5 äÌR\[Æ³Á¬í§änÆ¯¶f[^x[XÉÛ¶³êéB±êÉæü LAN Ú±ÌÅ«éÂÀ^[NXe[VðpÓµè{Ý[eBeBuðÁ¬í§äVXeÆ¯ÉÄv¬ÈÁ¬íÌ§¿ã°ÉÎµÄ¢éBÜ½Cµ¤±ÆªoC[UÌÀèxÆÂ«ðÌÖðeÕMADOCA ÌÁ¥ÌêÂÅ

É²×é±ÆªÂ\ÆÈÁÄ¢éB

XÉi[³ê©RÉ Web oRÅÉANZXÅ«é±Æ3.2.5pµÄ¢éB[UC^[tF[XAvP[Véf[^ª·×Äf[^x[ðpµÄCiPad ð»êÅÌf[^mFÌc[ÆµÄf[^ûWnMADOCA Ì@\ÌêÅéf[^ûWâA[ÄÍCMADOCA ÅL­gpµÄ¢é X­Mate Éæè\zµÉÍ[Vif[^x[XiSYBASE ASEjð½BÁ¬í§äVXeÌ\tgEFAJ­É X­Mate ðSÆµ½f[^x[XVXeª\z³êÄ¢é6) B

gp·é±ÆÅ SCSS ±Á¬íÌ^]ðÊ¶Ä¾çê

f[^ûWÆA[ÄÍ 2 äÌf[^x[XT[o½o±ÆCu[Qðp·é±ÆªÅ«C\zÉ©

Æf[^ûWT[oCA[ÄT[oÆ»êÉÚ±³©éÔðZk·é±ÆªÅ«½Bêé¡Ì@í©ç\¬³êÄ¢éBf[^x[XVXeÅÍvC}f[^x[XÆZJ_f[^x[X3.2.7éNCAgÍÌ 5 íÞÅNÍ FL­net Æ¤ÊÌobN{[ÆµÄMKrbgC[éBCollector ClientF@íÌ§äÎÛ©çf[^ûWðs¤vZXÅlbg[N[NXe[Vâ VMEbus ÈÇðÔlbg[Ì 2 äªgíêÄ¢ÄC±êçÌf[^x[XÉÚ±·éB@í©çßçê½üúÅf[^TlbgÅ\zµClbg[NÔÌ±Âðð¯é½ß¼zlbg[NiVLANjð@\ÉÆ§µ½lbg[é7äðWßCvC}[f[^x[XÖ^CX^v

NZOgÆµÄÝèµ½BÁ¬í§änÉÆÆàÉnñÌf[^ÆµÄÛ¶·éB

Ìî²lbg[NXCb`ÔÍM«ÌüãÌ½ß 2A[JCuvZXFCollector Client ÉæÁÄûWC{ÌMKrbgC[Tlbgð©ËÄÐ¤ªÌáµÄàÊÛ¶³ê½f[^ðvC}[f[^x[XÌÊÌM ª p ± Å « é æ ¤ É Ý v µ ½ B FL­net ð Ç  · éæÆZJ_f[^x[XÌ 2 ©ÉRs[·VLAN Æ VMEbus §äp¨æÑ³ü LAN pðÜßéÆ

éBA[JCu³ê½f[^ÍÔø«³ê½Æi±VLAN ÌÍ50ÉBµÄ¢é½ß@íÝuãÉÝèðµÄ¢­±ÆÍèÔÆÔðv·é½ßCSACLA ÌÝÉIÉÛ¶³êéBGUI È ÇÌ Á¬í ^] pA v P[V  Ff [^½ÁÄÍÝuHªnÜéOÉlbg[NÌÝvÆlx[XÖÌANZXÉÍêpÌ[U[Öªõ³bg[NXCb`ÌÝèð¨±È¤±ÆÅ§änÌ§¿êÄ¨èCGUI ÈÇ SACLA Ì^]Égp³êéAãªèÔðZk·é±ÆªÅ«½BvP[VÍ±ÌÖðgpµÄf[^x[XÌf[^ðpµÄ¢éB@í©çûW³ê½nñ

3.3 ÜÆßf[^ÌÅVlÉANZX·éàÌª½¢BÁ¬í§äVXeÍ MADOCA ðgp·é±ÆÅ\A[ÄvZXF@í©çûW³ê½f[^ÌlÆç©¶ßÝè³êÄ¢élðärµCA[zÉ©©éÔðZkÅ«½BADC/DAC ¨æÑ FL­netÌðª¬§·éÆ GUI Æ¹ºÉæÁÄÊm·évÈÇÌÄpIÉgp·éfoCXÉÎµÄÍ API Ì¤ÊZXÅ»ðs¤±ÆÅV½È@íÌÇÁâÏXÉÛµÄ@íÝèéBEFuT[oF@í©çûW³ê½f[^ÍEFuT[pÌt@CÌÏXÌÝÅÎÅ«\tgEFAJ­ÌoðgÁÄOt\¦·é±ÆªÅ«éBf[^ÍSð¸çµÄ¢éB­ÍÈf[^x[XVXeÆVb

A[JCuvZXªRs[µ½ZJ_f[^g²ÆÌf[^ð¯ú³¹ÄûWoéVXeðpÓ·x[X©çæ¾µÄ¢éBé±ÆÅ~ÈR~bVjOðT|[g·é±ÆªÅf[^ûWnÅµ¤f[^_Íñ45000_èÅZÅ 1«½BbÔuCÙÆñÇª 2 bÔuÅf[^ðûWµÄ¢éBQl¶£
3.2.6

Iy[^R\[^]pR\[Í Xeon vZbTðÚµ½[NXe[VÉ WUXGA t»fBXvC 2 äðÚ±µ½\¬ðÌpµÄ¢éBIy[eBOVXeÆµÄ68  úËõ March 2012 Vol.25 No.21)2)cÇ¾YFÁ¬í 2, 162_169 (2005).
T. Masuda et al.: Proceedings of PCaPAC08, Ljubljana,Slovenia, Oct. 20_23 (2008).
3) M. Yamaga et al.: Proceedings of ICALEPCS09, Kobe, Oct.

®«nß½ XFEL {Ý SACLA ¡ SACLAÁ¬í§äVXe12_16 (2009).
¼ {  C ¼F æ 8 ñ Á ¬í w ïN ï v V [f B  Oi2011).
5)  c ³ C ¼F æ 7 ñ Á ¬í w ïN ï v V [f B  O4)6)i2010).
Lì  q C¼ F æ 8 ñ Á¬ í wï N ïv  V[ f B Oi2011).

3. The Accelerator Control System for SACLAToru FUKUI1, Miho ISHII2, Toru OHATA2, Masahiro KAGO2, Choji SAJI2,
Takashi SUGIMOTO2, Ryotaro TANAKA2, Toko HIRONO2, Yukito FURUKAWA2,Naoyasu HOSODA2, Takemasa MASUDA2, Tomohiro MATSUSHITA2,Takahiro MATSUMOTO2, Mitsuhiro YAMAGA2, Akihiro YAMASHITA2
1RIKEN, XFEL Research and Development Division, Kouto 1_1_1, Sayo, Hyogo 679_5148
2JASRI, Controls and Computing Division, Kouto 1_1_1, Sayo, Hyogo 679_5198

Abstract The control system for SACLA was based on the MADOCA frame work, which was developed forthe control system at SPring­8. The system is extended to the facility control and the event driven data acqui­sition system synchronized with beam shots. We describe the control system and component including a de­sign concept for SACLA.

úËõ March 2012 Vol.25 No.2  69