Network-Based Intelligent Controllers for J-PARC

A Network-based Intelligent Controller
for J-PARC
Kazuro Furukawa, Junsei Chiba,
Norihiko Kamikubota, Hidetoshi Nakagawa
JAERI/KEK Joint Project J-PARC<URL:http://www-jparc.jp/>

K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Network-based controllers such as PLCs and measurement stations are planned to be utilized in the J-Parc project using Ethernet
instead of specific field networks mainly for maintenance reasons.
Since no good candidate controllers were found for medium-scaleaccelerator devices, a simple Ethernet board was designed. A 32bit processor, Ethernet controller and a flash-ROM are put on asingle-height (3U) Eurocard with an UTP Ethernet socket, LED indicators and a DIN connector for the corresponding hardware.
Address, data and control lines are defined as an interface between
hardware and the controller. Hardware input/output information isseen as a group of registers and can be read or written from thenetwork. It also provides an autonomous reporting capability on
important events. The IP address is assigned via BOOTP with afailsafe facility. The firmware can be upgraded over the network aswell. While it was originally designed for power supplies of Q magnets for DTL (drift tube linac), it is being adopted for other powersupplies. And it will be first used in 60-MeV proton linac for theproject. The software and database for EPICS are being preparedfor the commissioning.
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Control System for JAERI-KEK Joint Project
J-PARC (Japan Proton Accelerator Research Complex)◆ Chose EPICS After Studied Control Systems at KEK
Success of KEKB
Possibility to Share Software Resources with Others◆ Chose Ethernet/IP Network Controller
instead of Using Special Field Networks
Success at KEK e+/e- Linac with Network Controller
˜ 250 Controllers
Only TCP/IP Software and Infrastructure◆ Scripting Languages like SAD/Tk, Python/Tk with EPICS
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC◆ Requires Very High Reliability
because of the Beam Power of 1MW

K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Network Connected Controllers◆ Simplified Software, Management, Troubleshooting
Efficient in Speed, Cost, Manageability
Do not Consume Human Resource much
◆ Selection of Standard Network Device Technology
Standard Software
Flexible in Designing the Network
Easily Understood (the Same Technology at Offices)◆ Normally UDP/IP for Simplicity and Error Handling
TCP/IP as well (cf. out-of-band TCP packets)
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Network Controller (NC) under EPICS (1)
PLC management
stations

OPI'sCA clients◆ 5 Components◆ NC (such as PLC) : Mostly Designedby Experts, Carries Local Logics

CA accessNetworkSwitch(es)Maintenance◆ EPICS IOC : Carries Logics between
Several Devices◆ EPICS OPI : Normal OPI

Polling, etc

IOC(VME or PC)

PLC's(Network Controllers)

Nothing Special◆ Management Station : Software Downloadingand Monitoring◆ Network : Switch Technology
Physical and Logical Views are Different
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Network Controller (NC) under EPICS (2)PLC management
stations

OPI's
CA clients◆ 3 Ways of Communication◆ NC - IOC : In its Own Protocol
Polling (+ Urgent)

CA accessNetworkSwitch(es)Maintenance

Polling, etc◆ IOC - OPI : Through Channel AccessIOC(VME or PC)

PLC's(Network Controllers)

Normal EPICS◆ NC - Management Station :During Maintenance Time
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Programmable Logic Controller; PLC◆ Modern PLC's are Powerful and Flexible
Good Candidate for Remote I/O Controllers◆ Not too Fast on the Network (˜5 millisecond Response)
but Fast Enough for General Purposes◆ Pre-processing of Control Variables
Scientific Functions, Floating Point Calculations◆ Chose Yokogawa's FA-M3 (Factory ACE)
Maintenance Capability over Ethernet/TCPIP(Not from other Venders in Japan)
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Programmable Logic Controller; PLC◆ At the Joint Project,Vacuum, Magnet, Ion Source and Microwave Equipment◆ Out-sourcing of Accelerator Equipment Easier
Network Isolated
Ladder Program Development on Windows

K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Plug-in Network Controller◆ On Designing Relatively Large Power Supply
for Drift-tube Linac (DTL) and Separated DTL◆ Added to Intelligent Internal Controller
Ethernet Board with about 50 (User Visible) Registers
Including Diagnostic Information◆ Being Built with Power Supplies◆ Although Extended,
Software is Almost Compatible with PLCs
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Drift Tube Linac (DTL) for J-PARC Linac◆ 324MHz◆ 3〜50MeV◆ 〜9m Long
◆ 3 Tanks◆ 〜150 Q Magnets◆ 1000 A max. 〜30V
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Power Supplies for DTL Q Magnets◆ 〜150 Q Magnets◆ 1000 A max. 〜30V
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Controls of DTL Q Magnets◆ General Purpose Communication Board◆ and Box for Analog Processing, Interlock Processing
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Network-based Controller for DTL-Q◆ iTRON OS◆ C++/C Lang.

◆ 5V only◆ Hitachi SH3
133MHz◆ Flash 1MB, RAM 8MB◆ Altera CPLD◆ SMSC Ethernet (100BaseTx)
K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

EPICS Software◆ General Device Support◆ Both for VxWorks and Linux◆ Controller for DTL-Q, PLC, etc. are Covered◆ Being Used for Commissioning of DTL

K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Application Software for DTL Operation◆ Status Display, Manual Adjuster, Save/Restore...

K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

Summary◆ The Board works as Expected◆ Simplify Design of Control System◆ Should be Careful to Speed-Negotiation Setting(Combination of Fixed and Auto was Bad)
◆ The Firmware is Field-upgradable◆ Can Process > 3000 requests per Second◆ Planned to be Used in Other Devices

K. Furukawa, KEK, Icalepcs2003, Oct.2003.

Network-Based Intelligent Controllers for J-PARC

K. Furukawa, KEK, Icalepcs2003, Oct.2003.