Post on 08-Jan-2016
description
Linux/PCI BL control systemLinux/PCI BL control system: : current project statecurrent project state
Alejandro HOMS
David BELTRÁN
Andy GÖTZ
Manuel PÉREZ
M. C. DOMÍNGUEZ
BLISS - ISG, ESRF
Antonia BETEVA
Ricardo HINO
Emmanuel PAPILLON
Pablo FAJARDO
Jörg KLORA
Presentation outlinePresentation outline
Introduction
Hardware setup – specifications
Software development
To be done …
IntroductionIntroduction
Linux/PCI BL control project:Transition from VME to PCIMust support current VME
instrumentationGradual introduction of new hardwareSPEC as the main control applicationTo be installed on ID31 (June 2002
operational)
Hardware setupHardware setup
Rackable PC – 1 GHz Pentium III:2 SBS Bit-3 PCI-VME Bus CouplerNI PCI-7344 Flexmotion motor controllerNI MXI-3 PCI-cPCI Bus CouplerOS: SuSE 6.4 & 7.0, NT 4KVM/CPU switch (4)
cPCI (NI PXI) crate:NI MXI-3 PCI-cPCI Bus CouplerNI PXI-7344 Flexmotion motor controllerSBS Bit-3 cPCI-VME Bus Coupler
Hardware setupHardware setup
VME crate 1:SBS Bit-3 PCI-VME Bus Coupler (System Ctrl)
–VPAP VME crate 2:
MVME running Linux (System Ctrl)–VPAP–VCT6
SBS Bit-3 PCI-VME Bus Coupler–VPAP –ICV150–VCT6 –ICV196–CC133 –ICV712
Hardware specificationsHardware specifications Rackable PC from IPO Technology (2300 €):
PICMG industrial standard, frontal board access2 master slots + 7 PCI slots + 5 ISA slots1 GHz Pentium III, 512 MB, Dual Ethernet 10/100 Mbps,
VGA (i810), HD 10 GB, CD-ROM, FloppyOS: SuSE 6.4 & 7.0, NT 4KVM/CPU switch (4)
PXI-1000B crate from NI (2550 €):1 + 7 cPCI slotsAvailable boards: Flexmotion, Bit3, GPIB, Multifunction,
Counter/TimerAvailabe CPU: 850 MHz, 256 MB, VGA, HD 6 GB, Floppy,
Ethernet 100 Mbps (6750 €)
Hardware specificationsHardware specifications
NI PCI/PXI-7344 Flexmotion (2500 €):4 axis: each servo or stepper + encoder8 MHz stepper motor output20 MHz quadrature, incremental encoder inputsHome and limit switches2D and 3D trajectoriesEmbedded CPU and DSP running an event-driven
multitasking RTOS with high-level programming features
DPAP interface functionalAlarm can be an analog input
Software developmentSoftware development
VME board drivers (ready):VPAP, VCT6, CC133, ICV150, ICV196, ICV712
New features:Crate Off/On and board missing conditions
detectionBoard status/use available to users in /proc fsGeneral hook service support VME and PCIVPAP channels can be read in the hookCC133 can interrupt when index found without
reseting counterICV196 increased flexibility
Software developmentSoftware development
PCI board drivers:Bit3, NI-7433 (closed), RocketPort 32 (Serial
Lines)Automatic detection of PCI board positioning,
ensure same logical IDs when boards are added/removed/moved (PCIEnum)
Device servers:MaxeVpap: functional, CC133 being addedMaxeFlex: functional, encoder being addedVct6: in porting phaseSerial lines: functionalVacuum: in porting phase
To be done …To be done …
Low level:PCIEnum configuration toolsHook with FlexmotionGPIB and CCD PCI support
Device servers:IcvAdc, IcvDac, Relay, ScanTest TACO/TANGO
Application level:Graphic BL control applications (?)Intensive tests of SPEC + device servers
PICMG industrial standardPICMG industrial standard
PCI Industrial Computer Manufacturers Group
Instrumentation control setup in IS
G
Instrumentation control setup in IS
G
Electronics L
abE
lectronics Lab
VME crates controlled by PCI & MVME LinuxVME crates controlled by PCI & MVME Linux
Industrial PC and cPCI crateIndustrial PC and cPCI crate
vost
ok1
Lin
ux
B I T 3
NI
Flex
Mot
M X I 3
PC
I B
us
cPC
I cr
ate
NI
Flex
Mot
M X I 3
PC
I b
us
exte
nd
er
DP
AP
s
C P U
Eth
ern
et
cPC
I B
us
B I T 3F
iber
op
tic
lin
ks
to V
ME
cra
tes
Vos
tok1
in I
SG
Ele
ctro
nics
Lab
:
B I T 3
VM
E c
rate
co
ntr
olle
d b
y B
it3
(cra
te 0
)
V P A P
B I T 3
VM
EB
us
VM
E c
rate
co
ntr
olle
d b
y M
VM
E r
un
nin
g L
inu
x (c
rate
101)
an
d B
it3
(cra
te 2
)
M V M E
VM
EB
us
B I T 3
V C T 6
V P A P
D A C
A D C
CC 1 3 3
V P A P
V C T 6
Eth
ern
et