d66353e75810256548abcb2fa486e58a.ppt
- Количество слайдов: 17
EPICS Support for Group 3 Control System Carl Lionberger Group 3™ optical-fiber-connected I/O Software and operational experience 8 May 2001 EPICS Group 3 Carl Lionberger 1
Group 3 control system • VME-Based fiber-optic loop controller – 2 loops/VME bd, 8 bds/VME crate – SDLC 1. 152 Mbaud on loop • 16 DI’s (Device Interface) / loop – CNA – 2 AI, 1 AO, 8 BI, 8 BO • Has PID (not supported) – CN 3 – CPU + 3 I/O boards • digital I/O, analog I/O, motor control • Serial, gpib (not supported) – Diagnostic Port on each DI 8 May 2001 EPICS Group 3 Carl Lionberger 2
Optical Fiber Items • HP HFBR Versatile Link – 40 meters max/link plastic, 3 km max/link glass • Plastic easy to terminate in-house • Glass & SMA connectors by special order – Have had bad experience with passive cable extenders (barrel connectors, feed-throughs) 8 May 2001 EPICS Group 3 Carl Lionberger 3
Group 3 controls in a rack 8 May 2001 EPICS Group 3 Carl Lionberger 4
Group 3 EPICS support • CNA combination module – Ai, ao, bi, bo, mbbi. D, mbbo. D • B digital module – bi, bo, mbbi. D, mbbo. D • C 8 16 -bit analog input – ai • D 8 12 -bit analog output – ao • E 4 -channel DC motor controller – Mbbo for mode, ao for speed, accel • G 4 -channel stepper – steppermotor record • H 4 -channel encoder – ai, steppermotor record • F dual-serial, diagnostic port – vx. Works tty driver • Loop Controller (status) – ai, mbbi. D 8 May 2001 EPICS Group 3 Carl Lionberger 5
CNA Module 8 May 2001 EPICS Group 3 Carl Lionberger 6
Power Supply Control with CNA 8 May 2001 EPICS Group 3 Carl Lionberger 7
Directly connected CNAs • 2 CNA’s connected directly to each other by two fiber cables • Output of each one reflects corresponding inputs of other • Nice for remote power switches and resets • No Software! 8 May 2001 EPICS Group 3 Carl Lionberger 8
Group 3 EPICS support Loop Controller input PV DI 1 drv. G 3 Cache Output PV Polling Loop ~30 Hz DI 2 DI 3 Per-DI semaphore protected Sequence-number concurrency control Device Support Interrupt IO Scan Queue 8 May 2001 vx. Works tty driver EPICS Group 3 Carl Lionberger 9
Group 3 layout screen 8 May 2001 EPICS Group 3 Carl Lionberger 10
Loop Controller Diagnostic 8 May 2001 EPICS Group 3 Carl Lionberger 11
Group 3 Diagnostic Port 8 May 2001 EPICS Group 3 Carl Lionberger 12
Dbior report level 3 Scanner has run 13221688 times. Loop Controller 12 in use at 0 xffffc 000 with status 0 x 0 Extended error: 0 x 1 error count: 3477 DI online bits: 0 x 7 f IO Buffer memory 34 percent used; 14 of 60 iodefs used. Receive count 288247461 and Send count 292452437 Error vector 0 x 1000000 DI vector 0 x 0 IO vector 0 x 0 SDLC 0 x 84 Error vector bits: Bad SDLC Packet Active nodes: IODef 0 DI 0 Board 0 Type 6 IO Address 0 xcf 80 updates/sec 0 OK vx. Works tty name: LEBT: Extr receive index 0 IODef 8 DI 3 Board 1 Type 101 IO Address 0 xcc 48 updates/sec 1 OK Ints/sec: 1 0 0 IODef 9 DI 6 Board 1 Type 3 IO Address 0 xcc 24 updates/sec 28 OK Ints/sec: 0 0 0 0 8 May 2001 EPICS Group 3 Carl Lionberger 13
Dbior report level 4 IODef 3 DI 3 Board 0 Type 6 IO Address 0 xce 00 updates/sec 0 OK vx. Works tty name: LEBT: Chop_P receive index 0 r mses r tries data buffer 136003 0 00 00 00 00 00 00 00 00 00 75 66 66 65 72 20 6 f 76 65 72 66 6 c 6 f 77 0 d 0 a 20 20 IODef at 0 xffffc 070 DI 0 x 3 Bd 0 x 0 Type 0 x 6 offset 0 xe 00 IODef 9 DI 6 Board 1 Type 3 IO Address 0 xcc 24 updates/sec 20 OK Ints/sec: 0 0 0 0 r mses r tries data buffer 265969 0 01 00 03 00 02 00 01 00 03 00 IODef at 0 xffffc 0 d 0 DI 0 x 6 Bd 0 x 1 Type 0 x 3 offset 0 xc 24 IODef 10 DI 0 Board 1 Type 101 IO Address 0 xcbdc updates/sec 7 OK Ints/sec: 5 2 0 8 May 2001 EPICS Group 3 Carl Lionberger 14
Sparks Can Still Get In • Power (24 V AC/DC) – Isolation transformer types – Routing of 110 V • Signals – RC networks in CN 3, CNA connector blocks – Grounding and shielding • VME crates – Overall grounding and power quality 8 May 2001 EPICS Group 3 Carl Lionberger 15
General Problems • No readback of outputs through normal channels. – Could startup with diagnostic ports only to obtain initial readback value for glitchless performance. • Rewrite driver • CN 3 board addressing flaw – Don’t use multiple boards of same type in same CN 3! – Firmware fix in the works? • Addresses not reconfigurable on the fly • Diagnostic port-level automatic configuration support inadequate 8 May 2001 EPICS Group 3 Carl Lionberger 16
Conclusions • Easy to set up and use • Runs reliably under reasonable conditions • Optical fiber communication link does not solve all electrical isolation problems • There are still some possible driver level issues 8 May 2001 EPICS Group 3 Carl Lionberger 17