Presentation is loading. Please wait.

Presentation is loading. Please wait.

EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 EPICS IOC Embedded on PLC for TPS Pulse Magnet Power Supply Control Chun-Yi Wu TPS Control.

Similar presentations


Presentation on theme: "EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 EPICS IOC Embedded on PLC for TPS Pulse Magnet Power Supply Control Chun-Yi Wu TPS Control."— Presentation transcript:

1 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 EPICS IOC Embedded on PLC for TPS Pulse Magnet Power Supply Control Chun-Yi Wu TPS Control Team NSRRC, Hsinchu, Taiwan

2 2 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Control interface of pulse magnets Development environment of PLC IOC PLC IOC prototype Timing solution of pulse magnet Summary Outline 2

3 3 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Consideration for Pulse Magnets and Its Controls In-house made. Assembly one-by-one. Test at laboratory after one unit is finished. Is 6U cPCI solution suitable for its control? One set control many pulsers (all ?) is feasible. It need assembly at the installation site which will be possible very late! => no good for manpower usage of control teams. => Manpower are precious resource. How about EPICS embedded in PLC might a better solution Items for consideration6U cPCIPLC EPICS IOC Small I/O countsNo cost effectiveYes Timing solutionEVRNO (at this moment) Interlock protectionPossibleGeneric EPICS supportsYES One-by-one assembly and testTediousSimple Final DecisionTiming OnlyOne set for one Pulser

4 4 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Pulse Magnet Control Interface TPS Control Ethernet Septum Power Supplies Kicker #1 Pulser Kicker #4 Pulser Scopes Pulse Magnet PS Timing Control, LTB/BTS Diagnostic EPICS IOC PLC-IOC Booster injection septum x 1 Booster injection kicker x 1 Booster extraction septum x 1 Booster extraction kicker x 1 Storage ring injection septum x 1 Storage ring injection kicker x 4 Storage ring pinger x 2 3 Hz Update Rate Event Receiver cPCI-EVR-300 Electrical/ Optical Fanout Peak Detector Module CPU board Total 11 Timing Network CompactPCI Crate

5 5 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 ItemSpecification CPUPower PC (MPC8347E, 533MHz) OSLinux (kernel 2.6.24.3) Memory Flash ROM : 64MB DDR2 SDRAM : 128MB SRAM : 512KB USER SRAM : 4MB Interfaces Ethernet (100BASE-TX) 2ch RS-232C IEEE1394a Compact Flash card JTAG PCI Specifications of F3RP61-2L

6 6 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Boot loader : u-Boot 1.2.0 Linux BSP for I/O modules of PLC Cross compiling environment EPICS driver/device support from KEK/J-PARC control team Software Components

7 7 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Cross Development environment of PLC IOC CF CARD Switch HUB Ethernet /opt/epics Cross compiler NFS Mount 172.20.0.20:/opt/epics/ on /opt/epics/ Linux installed Host PC 172.20.0.20 Target F3RP61-2L (CPU module) 172.20.0.21 Host PC environment: OS: Red Hat Enterprise Linux 5 (with kernel 2.6.18) Target F3RP61-2L environment: OS: Linux (with kernel 2.6.24.3)

8 8 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Prototype of EPICS IOC on PLC Ethernet Embedded Linux + EPICS IOC For pulse magnet power supply control Pulse magnet power supply Power Supply F3PU10-0S CPU Module (Linux) F3RP61-2L EPICS IOC 16 bits Digital Input F3XD16-3F 16 bits Digital Output F3YC16-ON 8 ch, 16 bits Analog Input F3AD08-5R 8 ch, 16 bits Analog Output F3DA08-5X Spare

9 9 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 D-sub 25 pin(male) PS setting/reading D-sub 25 pin(female) PS on/off/status D-sub 25 pin(female) D-sub 15 pin(female) Peak current reading D-sub 15 pin(male) Current transformer Trigger input Reset input Peak current 3Hz sync (DI) Peak Detector Module PLC IOC Pulse Magnet PS Block Diagram of Pulse Magnet Control Pulse magnet current waveform Timing IOC Scope IOC Pulse Magnet

10 10 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Prototype EDM Page

11 11 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 11 sets of TPS Pulse Magnet PLC IOCs Pulse magnet power supply & Peak detector module AC Power

12 12 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 TPS timing system base on event system –Jitter (RMS) < 20 ps (cPCI6U-EVR-300) –Resolution : 8 ns –Width of pulse magnet power supply trigger : 2 μs Pulse magnet timing IOC provide –Pulse magnet trigger –Peak detector reset –PLC IOC 3Hz Sync trigger –Oscilloscope trigger Timing Solution

13 13 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Pulse Magnet Timing/Scope EPICS IOC Booster injection septum x 1 Booster injection kicker x 1 Booster extraction and storage ring injection septum x 1 Booster extraction kicker and storage ring pingersx 1 Storage ring injection kicker x 1 Booster injection septumx 1 Booster injection kickerx 1 Booster extraction septumx 1 Booster extraction kickerx 1 Storage ring injection septumx 1 Storage ring injection kickers x 4 Storage ring pinger magnets x 2 Oscilloscope trigger x 4 EPICS IOC ADLINK cPCI CPU EPICS Ethernet (10 Hz rate) EVR (CPCI6U-EVR-300) Fanout Module LTB/BTS IOC EVR (CPCI6U-EVR-300) Triggers: Oscilloscope (300 MHz, 1 GS/s): Timing Network

14 14 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 How to Prevent Spontaneous Discharge Trigger of Thyratron in TLS Injection Trigger (Top-up Injection) Prepared for injection 60 sec Kicker Capacitor High Voltage Spontaneous fired without trigger (due to cosmic ray or noise?) Measure Original kicker pulser charging power supply setting scheme Modified kicker pulser charging power supply setting scheme Discharge via the parallel discharge resistor

15 15 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Pulse Magnet Peak Current Reading Pulse magnet trigger unit Trigger Buffer Board Current Transformer Buffer Peak Detector Module Pulser Trigger Reset PLC IOC (DI) for ADC sync Peak Current (D-Type, PLC AI) Buffer Output (Diagnostic) Buffer Output (BNC, Oscilloscope) IOC Sync Trigger Reset Trigger

16 16 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Principle of Pulse Magnet Peak Current Reading Pulse magnet trigger(at injection beam) Current waveform of pulse magnet Peak detector module reset trigger(3Hz continue) PLC IOC sync trigger(3Hz continue) 333.3 ms Peak Detector module output Miss fire Spontaneous fire ….

17 17 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Possible Diagnostic Measurements of Pulse Magnet Current amplitude variation (~ 0.1%) Trigger jitter (~ nsec) –Time-to digital converter –Oscilloscope => this solution seems better To detect Miss fire Spontaneous fire

18 18 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Summary 18 EPICS IOC embedded on PLC is more flexiable than using other PLC system. Performance of PLC IOC is sufficient for pulse magnet power supply control. Compact size. Easily for field test. Simple for maintenance. Possible applications of FA-M3R PLC IOC Simple EPICS IOCs Global interlock system Subsystem interlock Low I/O counts control

19 19 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Acknowledgments Jun-ichi Odagiri (KEK) Kazuro Furukawa (KEK) and KEK/J-PARC Control Teams

20 20 EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 Thanks for Your Attention! 20


Download ppt "EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 EPICS IOC Embedded on PLC for TPS Pulse Magnet Power Supply Control Chun-Yi Wu TPS Control."

Similar presentations


Ads by Google