150 likes | 322 Views
Linux/PCI BL control system : current project state. Antonia BETEVA Ricardo HINO Emmanuel PAPILLON Pablo FAJARDO Jörg KLORA. Alejandro HOM S David BELTRÁN Andy GÖTZ Manuel PÉREZ M. C. DOMÍNGUEZ. BLISS - ISG, ESRF. Presentation outline. Introduction Hardware setup – specifications
E N D
Linux/PCI BL control system: current project state Antonia BETEVA Ricardo HINO Emmanuel PAPILLON Pablo FAJARDO Jörg KLORA Alejandro HOMS David BELTRÁN Andy GÖTZ Manuel PÉREZ M. C. DOMÍNGUEZ BLISS - ISG, ESRF
Presentation outline • Introduction • Hardware setup – specifications • Software development • To be done …
Introduction Linux/PCI BL control project: • Transition from VME to PCI • Must support current VME instrumentation • Gradual introduction of new hardware • SPEC as the main control application • To be installed on ID31 (June 2002 operational)
Hardware setup • Rackable PC – 1 GHz Pentium III: • 2 SBS Bit-3 PCI-VME Bus Coupler • NI PCI-7344 Flexmotion motor controller • NI MXI-3 PCI-cPCI Bus Coupler • OS: SuSE 6.4 & 7.0, NT 4 • KVM/CPU switch (4) • cPCI (NI PXI) crate: • NI MXI-3 PCI-cPCI Bus Coupler • NI PXI-7344 Flexmotion motor controller • SBS Bit-3 cPCI-VME Bus Coupler
Hardware 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 specifications • Rackable PC from IPO Technology (2300 €): • PICMG industrial standard, frontal board access • 2 master slots + 7 PCI slots + 5 ISA slots • 1 GHz Pentium III, 512 MB, Dual Ethernet 10/100 Mbps, VGA (i810), HD 10 GB, CD-ROM, Floppy • OS: SuSE 6.4 & 7.0, NT 4 • KVM/CPU switch (4) • PXI-1000B crate from NI (2550 €): • 1 + 7 cPCI slots • Available boards: Flexmotion, Bit3, GPIB, Multifunction, Counter/Timer • Availabe CPU: 850 MHz, 256 MB, VGA, HD 6 GB, Floppy, Ethernet 100 Mbps (6750 €)
Hardware specifications NI PCI/PXI-7344 Flexmotion (2500 €): • 4 axis: each servo or stepper + encoder • 8 MHz stepper motor output • 20 MHz quadrature, incremental encoder inputs • Home and limit switches • 2D and 3D trajectories • Embedded CPU and DSP running an event-driven multitasking RTOS with high-level programming features • DPAP interface functional • Alarm can be an analog input
Software development • VME board drivers (ready): • VPAP, VCT6, CC133, ICV150, ICV196, ICV712 • New features: • Crate Off/On and board missing conditions detection • Board status/use available to users in /proc fs • General hook service support VME and PCI • VPAP channels can be read in the hook • CC133 can interrupt when index found without reseting counter • ICV196 increased flexibility
Software 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 added • MaxeFlex: functional, encoder being added • Vct6: in porting phase • Serial lines: functional • Vacuum: in porting phase
To be done … • Low level: • PCIEnum configuration tools • Hook with Flexmotion • GPIB and CCD PCI support • Device servers: • IcvAdc, IcvDac, Relay, Scan • Test TACO/TANGO • Application level: • Graphic BL control applications (?) • Intensive tests of SPEC + device servers
PICMG industrial standard PCI Industrial Computer Manufacturers Group
Fiber optic links to VME crates PCI bus extender NI Flex Mot B I T 3 M X I 3 NI Flex Mot B I T 3 Ethernet DPAPs B I T 3 VME Bus VME Bus Vostok1 in ISG Electronics Lab: Ethernet B I T 3 M V M E cPCI Bus PCI Bus M X I 3 C P U VME crate controlled by MVME running Linux (crate101) and Bit3 (crate 2) VME crate controlled by Bit3 (crate 0) vostok1 Linux cPCI crate B I T 3 D A C V P A P V C T 6 A D C V P A P CC 1 3 3 V P A P V C T 6