![Page 1: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/1.jpg)
Linux/PCI:The new ESRF beamline control system
Alejandro HOMS-PURONBLISS Group
ESRF
![Page 2: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/2.jpg)
Talk outline
IntroductionBus couplersPrototype setup for ID31New featuresConclusions
![Page 3: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/3.jpg)
Introduction
ESRF todayVMEbus Motorola 68000 33 MHz / OS910 MBps Ethernet
Modernization projectPCI & cPCIPentium III 1 GHz / Linux100 MBps Ethernet
![Page 4: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/4.jpg)
Bus couplers
PCI – VME Bus coupler (Bit-3)SBS Model 620, Fiber optic link
Transfer rate: 35 Mbyte/s (DMA)
PCI – cPCI Bus Extender (MXI-3)NI PXI-PCI8330, Cooper link
Transfer rate: 84 Mbytes/s
![Page 5: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/5.jpg)
Mai
n PC
Lin
ux
B I T 3
NI
FlexMot
M X I 3
PCI B
us
cPC
Icra
te
NI
FlexMot
M X I 3
Mot
or d
rive
rs
C P U
Eth
erne
t
cPC
IBus
B I T 3
B I T 3
Setu
p w
ith
PC
I, c
PC
I an
d V
ME
boar
ds
Fibe
r op
tic li
nks
to V
ME
cra
tes
VM
E c
rate
co
ntro
lled
by B
it3
(cra
te 0
)
V P A P
B I T 3
VM
EBu
s
g
M V M E
VM
EBu
s
B I T 3
V C T 6
V P A P
D A C
A D C
V P A P
V C T 6
Eth
erne
t
CC 1 3 3
PCI b
us
exte
nder
VM
E c
rate
co
ntro
lled
by
MV
ME
run
nin
Lin
ux a
nd B
it3
(cra
te 2
)
![Page 6: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/6.jpg)
Instrumentation control setup
connecting PCI, cPCI&
VME busses
![Page 7: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/7.jpg)
Industrial PC and cPCI crate
![Page 8: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/8.jpg)
VME crates controlled by PCI & MVME Linux
![Page 9: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/9.jpg)
General features
Scalable functionality:
Direct access to boards from SPEC (very fast)
SPEC + device servers (TACO) on the same PC
SPEC controlling remote device servers
(network traffic)
![Page 10: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/10.jpg)
Hook facility
Buffer for storing the experiment dataRun-time configurableVME, PCI & cPCI boards includedKernel mechanism good-performance:
30 – 50 µs interrupt latency time3 µs VME single access time
Triggered by software or hardware
![Page 11: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/11.jpg)
VME features
No limitation in the number of boards per crate Full access to VME board functionalitiesVME crates can be switched Off/On, and boards can be added/removedSame code works on Intel x86 and Motorola 68k
![Page 12: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/12.jpg)
PCI boards Enumeration
Problem:
Plug & Play boards enumerated at boot time
Most of the boards are indistinguishable
Board added/removed enumeration changes
This also applies to VME crates!
![Page 13: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/13.jpg)
PCI boards Enumeration
Solution:To keep track the position of the boards in the bus
![Page 14: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/14.jpg)
TACO
Hook device server
Define a model for exporting channel
and/or board devices
Optimize local calls
![Page 15: Linux/PCI: The new ESRF beamline control system · 2019. 9. 20. · Motorola 68000 33 MHz / OS9 10 MBps Ethernet Modernization project PCI & cPCI Pentium III 1 GHz / Linux 100 MBps](https://reader035.vdocument.in/reader035/viewer/2022071606/6142ad06b7accd31ec0eda48/html5/thumbnails/15.jpg)
Conclusions
The project supports the VME/PCI transition at the ESRFNew features will allow faster experiments and more flexible configurationsLinux kernel provides the necessary functionality and stability