Non-vxWorks IOCs at KEK
Transcript of Non-vxWorks IOCs at KEK
![Page 1: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/1.jpg)
Non-vxWorks IOCs at KEK
T. ObinaPhoton Factory, KEK
![Page 2: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/2.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 2
Table of Contents
1. Overview, List of Developments2. Example
• Suzaku• Windows Oscilloscope• F&eIT
3. Latest News
![Page 3: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/3.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 3
Overview
• A variety of non-VxWorks IOCs have been used in KEK – Location : Linac, KEKB, J-Parc, PF– CPU : Intel x86, PPC, SH4, …– Formfactor : VME, PC, Scope, Embedded, …– OS: Linux, RTEMS, uITRON, Windows, ….
• Today, I'm going to report some of them.
![Page 4: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/4.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 4
List of Developments at KEK• not a full list• There are no “standard hardware” in KEK
J. Odagiri, M. Komiyama, S. ArakiKEKLinuxCAMACCC-Net
A. AkiyamaKEKBRTEMSIntel x8619' 1U rackICOP
T. Obina, M. TadanoPFLinuxIntel x86BoxFIT
T. Obina, G. Sheng, N. KamikubotaPF, J-ParcLinuxIntel x86VME
K. Furukawa, M. SatohLinacRTEMSPPCVME
G. Jiang, J. OdagiriKEKBu-ITRONSH4BoxMCU
M. Satoh, J.Wang, T. ObinaLinac, PFWindowsIntel x86Oscilloscope
A. AkiyamaJ-ParcDebian LinuxFPGA,PPCBoardSuzaku
developperlocationOSCPUShapeName
![Page 5: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/5.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 5
Network-Attached Device• socket communication• Linux (or other OS) EPICS host• ASYN or netDev are often used• I don't mention these device today.Many number of devices.....for example.....
PLC(Yokogawa, Omron, Melsec, etc) : netDev by Odagiri-sanChino Data LoggerYokogawa MW100Oscilloscope(Tektronix, Agilent, etc) : VXI-11 or SocketXPort (RS232C - Ethernet Converter) : SocketKeithley 2701 DMM : ASYN +Socket
![Page 6: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/6.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 6
2. Example
2-1 Suzakucontact : A. Akiyama (KEK)
2-2 Windows oscilloscopecontact : M. Satoh (KEK), J. Wang(USTC)
2-3 F&eITcontact : T. Obina, M. Tadano (KEK)
![Page 7: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/7.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 7
2-1. Suzaku(朱雀)
• http://suzaku.atmark-techno.com/• SUZAKU-V
– Virtex-4 FX (XC4VFX12-SF363)– PowerPC 405 (350MHz)– Memory
• DRAM 64MB• FLASH 8MB
– OS : Linux(Kernel2.6)– Number of I/O pin : 86– LAN Interface (10/100M)
![Page 8: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/8.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 8
Suzaku• size, configuration
![Page 9: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/9.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 9
Development Environment• Price :
– \44,100(JPY) = $420USD = \3,000RMB• FPGA Development:
– Xilinx ISE and Xilinx EDK• Software Development:
– Atmark Techno Development Environment • Supplied as VMWare Virtual machine image• Linux desktop and GNU cross development
environment• No need to setup development machine.• Only “VMware Player” is required
– or … Create your own environment
![Page 10: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/10.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 10
Applications for J-Parc
• Developer : Akiyama-san (KEKB,J-Parc)– Please ask him for detail !
• Old version of SUZAKU is not recommended ….. difficult to install EPICS (libc)
• Applications for J-Parc
– Machine Protection System (MPS)– Beam Loss Monitor– Interlock of vacuum pump
![Page 11: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/11.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 11
J-PARC MPS(Machine Protection System)Under development.......
![Page 12: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/12.jpg)
backplaneseveral kind of input board relay input, optical input, TTL inputeach board equip CPLD for logic control
![Page 13: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/13.jpg)
SUZAKU
TTL Input
Opt. InputRelay Input
CPU board
CPU board
![Page 14: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/14.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 14
note
• 8MB Flash is not enough to store EPICS• use NFS to download EPICS or other image
– only at boot time– copy to DRAM (64MB) area during boot
![Page 15: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/15.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 15
2-2. Windows Oscilloscope
• Linac BPM, PF-BT BPM, etc– M. Satoh, J. Wang (USTC)
• Target:– 50Hz data acquisition rate for 4ch waveform
![Page 16: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/16.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 16
Tektronix DPO7104– 10-GSa/s (4ch), 8-bits– 1GHz Analog Bandwidth– Windows XP based (P4 3.4-GHz)– Gigabit-Ethernet– Total Number : 24
![Page 17: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/17.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 17
Software
• Device Support : IVI-Com or TekVISA– Finally TekVISA is adopted
EPICS-IOC
LAN
ref : TekVISA programming manual(ver 1.1, p24)
![Page 18: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/18.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 18
Performance• Speed vs Data Length 1k – 500k
50 100 150 200 250 300 350 400 450 5000
50
100
150
200
250
300
350
DA
Q S
peed
[Hz]
Data length[k-points]
CH4 Ch3 Ch2 CH1
![Page 19: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/19.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 19
Device Type
• New device type– Waveform : devWfTekDPO– subArray : devSATekDPO
• calculation of X, Y, Sum, Vx1,Vx2,Vy1,Vy2
![Page 20: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/20.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 20
2-3. Contec F&eIT
• http://www.contec.co.jp/fit• for distributed monitoring and control
– Controller• Micro-controller : OS (Windows or Linux)• I/O controller : Ethernet only(embedded controller)
– I/O Module (same module for both controller)
• General purpose I/O software for linux is available with source code!
• Open Architecture• 35mm DIN rail mount system• Inexpensive
pronounciation : fi't
![Page 21: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/21.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 21
Hardware setup example
Mic
roC
ontro
ller
mod
ule
mod
ule
EPICS IOC EPICS Client
mod
ule
EPICSIOC
CA ProtocolFIT Protocol
I/O C
ontro
ller
mod
ule
mod
ule
mod
ule
Max : 8 I/O modules Max : 8 I/O modules
I/O C
ontro
ller
mod
ule
mod
ule
mod
ule
I/O C
ontro
ller
mod
ule
mod
ule
mod
ule
LAN for device
Interconnect F&eIT Bus
Optional :
I/O Controller Unit : SH3Socket (FIT protocol) only
Micro Controller : CeleronWindows or Linux
![Page 22: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/22.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 22
Controller• Micro-Controller Unit
– Two series ….. but SB20 will be discontinued soon• CPU-SB20 (AMD Geode SC2200 266MHz)• CPU-SB30 (Intel CeleronM 800MHz)
– Compact Flash (or Microdrive) for OS– Spec is same as a PC(Display,Sound,Ethernet,etc)– without any kind of fan– \165,900JPY=$1,600USD=11,300RMB
• I/O Controller Unit– CPU: CA-20 (SH-4 240MHz), Embedded OS– Socket program for communication (F&eIT protocol)– \37,800JPY = $360USD =\ 2,600RMB
![Page 23: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/23.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 23
I/O Modules
• Many kind of I/O Modules– Analog I/O, Digital I/O, RTD, Reed Relay, etc
• No backplane (Module Stack), 35mmDIN rail
• \20,000 - \50,000JPY = $190 - $480USD = 1,400 - 3,500RMB
![Page 24: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/24.jpg)
Interconnect Bus
Stack
![Page 25: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/25.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 25
Applications at PF Controller of Screen MonitorMonitor of temperature, voltage, etc
CA-20(LAN Only)
SB-20CPU
Max 8 I/O modulesI/O Controller
Micro-Controller I/O modules
Power Supply
Power Supply(AC Adapter)
![Page 26: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/26.jpg)
size of new SB-30 CPU modules became Big!Geode -> Celeron
![Page 27: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/27.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 27
EPICS Device Support• For Micro-Controller
– Linux self-compile environment (linux-x86 target)– EPICS device support has been developed
• software development is easy (VME_IO)• In operation .... but not all modules are supported• Need more time to support every I/O modules
• For I/O Controller– Not yet– Use Asyn or netDev?– Simple C Program + caput is used for test.
![Page 28: Non-vxWorks IOCs at KEK](https://reader030.fdocuments.us/reader030/viewer/2022012608/619bc1c2ddeabf31ca1333ae/html5/thumbnails/28.jpg)
Mar/2008 EPICS Collaboration Meeting, Shanghai 28
4. Latest News!• Yokogawa will release new machine
controller product in near future• Model Number : e-RT3 2.0• Linux OS will be installed• EPICS ready?
– Odagiri-san (KEK) and Uchiyama-san (SHI) will develop device support for e-RT3
e-RT3 2.0+ Linux, EPICS