EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 NSLS-II Power Supply Control System Yuke Tian Accelerator Division Photon Science Directory Brookhaven.

Slides:



Advertisements
Similar presentations
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
Advertisements

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 The use of EtherCAT with EPICS at Diamond Ronaldo Mercado 22/10/2014.
UNIVERSITA’ DEGLI STUDI DI NAPOLI FEDERICO II Luigi Cimmino November 12 th, Tokyo INTERNATIONAL WORKSHOP ON MUON & GEO-RADIATION PHYSICS FOR EARTH.
Mark Heron Diamond Light Source Oct 2007 EPICS EPICS Interface to the Libera Electron Beam Position Monitor.
Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Pohang Accelerator Laboratory POSTECH EPICS Collaboration Meeting RICOTTI, Tokai, JAPAN EPICS collaboration meeting 2004 Dec , 2004 RICOTTI,
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 26/4/2004 Multi-channel Data Acquisition System Final_A Presentation.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
Detector Array Controller Based on First Light First Light PICNIC Array Mux PICNIC Array Mux Image of ESO Messenger Front Page M.Meyer June 05 NGC High.
Intel ® Research mote Ralph Kling Intel Corporation Research Santa Clara, CA.
ICS – Software Engineering Group 1 SNS Power Supply Control Sheng Peng.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLS-II Stability Workshop April , 2007 NSLS-II Electrical Systems G. Ganetis NSLS-II Electrical Systems NSLS-II.
EtherCAT Driver for Remote I/O James Rowland, Ronaldo Mercado and Nick Rees.
ADAM-5000/TCP- Distributed Ethernet I/O
A compact, low power digital CDS CCD readout system.
David MacNair POWER SUPPLY 3/30/20061 Ethernet Power Supply Controller.
NSLS-II Fast Orbit Feedback with Individual Eigenmode Compensation Yuke Tian, Li Hua Yu Accelerator Division Photon Science Directory Brookhaven National.
18. June 2003EPICS WS Control of Digital Power Supplies Andreas Lüdeke Swiss Light Source / PSI 20 May 2003 EPICS Collaboration Meeting.
1 BROOKHAVEN SCIENCE ASSOCIATES Fast Orbit Feedback System for NSLS-II Kiman Ha NSLS-II Controls Group EPICS Collaboration meeting Oct 22~26, 2012.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group Leader 8 th ASAC meeting for NSLS-II Project May 10-11, 2011.
Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory.
Power Supply Controller Architecture
USB host for web camera connection
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
Synchronous Device Interface at NSLS-II Yuke Tian Control Group, NSLS-II, BNL (May 1, 2009 EPICS Collaboration Meeting, Vancouver)
APS BPM and power supply applications on micro-IOCs W. Eric Norum
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Fast Orbit Feedback - BPM to PS Yuke Tian Control Group, Accelerator Division Photon Sciences Directory Brookhaven National Lab EPICS Collaboration Meeting,
G D Electronics Infrastructure for advanced LIGO LSC Meeting, Boston, July 25, 2007 Daniel Sigg, LIGO Hanford Observatory.
Tuesday September Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI.
Main Board Status MB2 v1 for FATALIC & QIE 10/06/2015Roméo BONNEFOY - LPC Clermont1 Roméo BONNEFOY François Vazeille LPC Clermont-Ferrand.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.
Update on FPGA/IOC applications and RTEMS developments at the APS W. Eric Norum
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
University of Calcutta CBM 1 ROC Design Issues Dr. Amlan Chakrabarti, Dr. Sanatan Chattopadhyay & Mr. Suman Sau.
Power Supply Control at NSLS-II Yuke Tian Control Group, NSLS-II, BNL (May 1, 2009 EPICS Collaboration Meeting, Vancouver)
Data acquisition system for the Baikal-GVD neutrino telescope Denis Kuleshov Valday, February 3, 2015.
1 Timo Korhonen PSI 1. Concepts revisited…again 3. New (Diamond) cards features and status 4. EPICS interface 5. Conclusions SLS & Diamond Timing System.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
1 BROOKHAVEN SCIENCE ASSOCIATES Integrated Testing George Ganetis Integrated Testing ASAC Review October 14-15, 2010.
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
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.
Present Uses of the Fermilab Digital Signal Receiver VXI Module Brian Chase,Paul Joireman, Philip Varghese RF Embedded Systems (LLRF) Group.
Formula SAE Ryan Langley
PSI Power Supply Controls MedAustron Controls Workshop 1 PR a-FMO-PSI_Power_Supply_Controls.pptx F. Moser - PSI Power Supply Controls 1.
The recent history and current state of the linac control system Tom Himel Dec 1,
Stephanie Allison SLC-Aware April 5, 2005 Introduction Description Issues Progress Plans for 2005 SLC-Aware IOC LCLS Collaboration,
An EPICS solution for Galil products that can provide a comprehensive, and high performance motor and PLC control system for use at synchrotrons and other.
1 BROOKHAVEN SCIENCE ASSOCIATES Power Supply Status George Ganetis Power Supply Status ASAC Review October 22-23, 2009.
1 BROOKHAVEN SCIENCE ASSOCIATES Open-Source Distributed Deterministic Device Control Larry Doolittle Alex Ratti Bob Dalesio.
Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 1 LCLS Phase I Upgrade; IOC CAMAC Support Requirements Robert C. Sass Sheng.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
K. Luchini LCLS Lehman Review - Controls Breakout, May 11th 2005 Magnet Power Supplies K. Luchini Overview Hardware Software.
Magnet Low Current PS Upgrade Kristi Luchini,Sandeep Babel, Till Straumann, Mitch D’Ewart, Briant Lam, Dave MacNair May 19, 2016 VME to Emedded Industrial.
The Slow Control System of the HADES RPC Wall Alejandro Gil on behalf of the HADES RPC group IFIC (Centro Mixto UV-CSIC) Valencia, 46071, Spain IEEE-RT2009.
KEK ATF2 High Availability DC Magnet Power Supplies Phase 2 Progress and Specifications 31 May 2006 Paul Bellomo, Antonio de Lira, Briant Lam and Dave.
Baby-Mind SiPM Front End Electronics
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
SOLEIL Fast Orbit Feedback System
SLS Timing Master Timo Korhonen, PSI.
LabVIEW EPICS Client I/O Server
Snr Power Supply Engineer
Status of Fast Controller EPICS Supports for ITER Project
Next Linear Collider Test Accelerator and EPICS
Power Supply Control for BEPCII
SLS & Diamond Timing System update
Red Pitaya with EPICS Andraz Pozar EPICS Collaboration Meeting
Presentation transcript:

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 NSLS-II Power Supply Control System Yuke Tian Accelerator Division Photon Science Directory Brookhaven National Lab

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Outline 1. NSLS-II power supply control system  System Overview  Three types of PS operation mode  PS control data flow 2. Application software and EPICS device support  Engineer test screen  Public PV lists and database  Device support 3. Generic IOC-FPGA communication protocol  Move data bwteen EPICS IOC and FPGA device  Genetic IOC-FPGA communication protocol 4. Hardware level

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Magnets and Power Supplies in Storage Ring System Overview

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 What are the common features for power supply control ? 1. Control magnet current through power supply with high accuracy (a few ppm) Static: slow power supply setpoint change (a few Hz)  EPICS IOC to power supply controller. Ramping: ramping power supply through pre-defined ramping function (10KHz-100KHz for a few seconds)  Need ways to download ramping function; need memory to save it. Feedback: power supply setpoint is calculated from feedback system (a few Hz to 100KHz depending feedback loop rate)  Need ways to send the feedback results to power supply controller in a deterministic way. 2. To synchronize magnets behavior  Need interface to timing system 3. A lot of power supply/magnets diagnostic data:  Need a lot of ADCs, digital inputs/outputs  Need a large memory to save the diagnostic data

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Let’s build a power supply control system Power Amp Magnet DCCT High precision DAC (20-bit) FPGA FPGA EPICS IOC TCP/IP Fiber Many ADCs (16-bit) Large memory (DDR2/DDR3) Triggers from timing system Deterministic link to FOFB

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Let’s build a digital power supply control system Power Amp Magnet DCCT Digital regulator FPGA FPGA EPICS IOC TCP/IP Fiber Many ADCs (16-bit) Large memory (DDR2/DDR3) Triggers from timing system Deterministic link to FOFB High precision ADC

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Real NSLS-II power supply control system

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 NSLS-II PS control operation modes Power suppliesPS modeOperationsSoftware Data HolderHardware Data Holder Dipole/Multipole magnet power supplies StaticUpdate magnet current at 10Hz rate for 2 channels (20bit DAC) Simple ao/longout records Registers in FPGA Booster power suppliesRamping up/downUpdate magnet current from pre-downloaded ramping table at 10KHz rate Large array data - aSub/waveform records. DDR2 of PSC. Assign up to 16 ramping tables (40KB each) Fast/slow correctors10KHz update rate from FOFB calculations Update magnet current from PS SDI link Enable the FOFB mode, everything else is done in hardware Power supply SDI link from cell controller to PSC (For all power supplies)Digital commands; Digital status; Various housekeeping / operation data; Simple bi/bo/mbbo/mbbi/longin records Registers in FPGA (For all power supplies)18 ADC channel (10/100Khz 16bit) decimated 10Hz readbacks Simple ai/longin recordRegisters in FPGA (For all power supplies)18 ADC channel realtime waveform readbacks Large array data - aSub/waveform records DDR2 of PSC. For each ADC, hold up to 30 second waveform data

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 PS Control Data Flow High Level Applications EPICS IOC FPGA embedded microBlaze DDR2 Memory Registers PSC Fiber TX/RX Controller 2 DACs (20bit/100KHz) 18 ADCs (16bit, 100KHz) 16 Digital Inputs (10ns sequence detector) 8 Digital Outputs (static/pulse) CA EPICS-FPGA Protocol PLB PS SDI Link PLB PSI Fiber TX/RX Controller Fiber link (50Mbps) logic(verilog)

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Engineer Test EDM Screen – Ramping PS Example Digital output data Analog output data Digital /analog input data 9 ADC waveform

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Engineer Test EDM Screen – Ramping PS Example 1.1 second ADC waveform (10KHz) ADC channel selection Ramping marker (also shown on oscilloscope)

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Engineer Test EDM Screen – ADC Noise Measurement ADC readback (single channel chip) Peak-peak: 1mv (LSB=0.3mV) ADC readback (6channel chip) Peak-peak: 2mv (LSB=0.3mV)

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Device Support and Start Up Script

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Move Data Between EPICS IOC and FPGA Device EPICS IOC Small Data BulkRx Data BulkTx Data (ai,ao,di,do etc) BPM: gain, calbration BPM: filter coefficients BPM: TBT, ADC raw CC: matrix selection CC: reverse response matrix CC: 10KHz orbit data PSC: setpoints, commands PSC: Booster ramping function PSC: ADC readbacks CA Client (Physics applications) Channel Access FPGA (microBlaze / Xilkernel / LWIP TCP/IP) TCP/IP registers BRAM MPMC DDR2/DDR3 How do we design a simple/reliable protocol to transfer data between IOC /FPGA quickly ?

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 General IOC-FPGA Communication Protocol EPICS IOC Small Data BulkRx Data BulkTx Data (ai,ao,di,do etc) Out: Combined small data into one MTU by using aSub. In: parse one MTU into small data. Asyn Record Asyn Record Large amount data ID frame 1MTU (10Hz) 1MTU (10Hz) ID frame (optional) Large amount data asyn port 1: drvAsynIPPortConfigure (“NormalRxTx", " :7 TCP",0,0,0) asyn port 2: drvAsynIPPortConfigure (“BulkRx", " :18 TCP",0,0,0) asyn port 3: drvAsynIPPortConfigure (“BulkTx", " :20 TCP",0,0,0)

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Hardware Level – PSC

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, = JTAG connectors – Programming to FPGA and CPLD. 2 = RS232 port – Communication to PC for diagnostic and software development. 3 = DDR2 memory modules – PS diagnostic data, CPU memory. 4 = SDI connectors – Communication between PSC master (or cell controller) and PSC slaves. 5 = Fiber transceiver – Communication with PSI. 6 = Ethernet connector – Communication to EPICS IOC for PSC master. 7 = FPGA (Spartan3A) 8 = CPLD(8a) & SPI memory(8b) – Dual boot and remote programming functions. 7a a 8b 7 Hardware Level – PSC

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Brocade FWS port Switch (4 GigE /100Mbps) PSC chassis and 20 PSCs GigE to Linux IOC’s private network card Hardware Level – PSC and Switch

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Hardware Level – PSI

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Hardware Level – PSI Fiber to PSC 2 DACs (20bit, 1ppm resolution, 1ppm linearity, 0.1ppm/C drift)

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 NSLS-II power supply control system Want it ? You got it. NSLS-II power supply control system is a open source hardware.

EPICS Collaboration Meeting, Hsinchu, Taiwan, June, 2011 Summary 1. Accelerator power supply control is the common task for each laboratory. It has similar requirements, and thus the similar architectures. 2. NSLS-II power supply control system design is based on the experiences from both power supply group and control group. 3. All the NSLS-II power supply control hardwires are in production stage. FPGA firmware and EPICS driver/applications are being tested on Booster and storage ring magnets. 4. NSLS-II power supply control system is a open source hardware. The PCB design, FPGA firmware design, and the EPICS driver/application design are open to the community.