ssrf diagnostics system daq yongbin leng ssrf bi group 2008-3-13

37
SSRF Diagnostics System DAQ Yongbin Leng SSRF BI group 2008-3-13

Upload: irma-randall

Post on 16-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

SSRF Diagnostics System DAQ

Yongbin Leng

SSRF BI group2008-3-13

BI group SSRF, March 2008

Outline

• System overview• Implementation

IOCS EDM panels High level applications

• Commissioning• Conclusion• Wish list

System overview: Target

Linac LTB Booster BTS Ring

BPM(buttons) — — — — 152

BPM(stripline) 3 3 50 5 —

Tune monitor — — 1 — 1

Orbit Feedback System — — — — 1

Transverse Feedback System — — — — 1

Synchrotron Radiation Monitor — — — — 1

Profile Monitor 5 3 4 4 2

DCCT — — 1 — 1

Wall Current Monitor 5 2 1 3 —

Integration Current Transformer 1 — — 1 —

Faraday Cup 1 — — — —

Slit — 2 — 1 —

Scraper — — — — 2

SSRF, March 2008BI group

Total 257 sets of detectors

BI group SSRF, March 2008

System overview: Design goals

• High reliability• High day one functionality• Minimize in-house made of electronics• Use EPICS & light source community resource • 100% EPICS compatible

BI group SSRF, March 2008

System overview: Hardware & software platform

subsystem Sensors Electronics DAQ/ControlBeam position Button/stripline Libera Linux embedded IOC

Bunch charge WCM/ICT/FC Oscilloscope Windows embedded IOC

Tune Stripline kicker Function generator HTTP access

Trans profile Phosphor screen CCD PXI IOC+ image grabber

Beam current NPCT175 Bergoz PXI IOC + DMM

Slit / Scrapper Step motor Motor driver PXI IOC + Motion controller

Trans feedback Stripline kicker Spring-8 board PXI IOC + DI/O

Filling pattern Button RF front-end PXI IOC + waveform recorder

Beam size SRM Interferemeter (CCD) PXI IOC + image grabber

Beam length SRM Streak camera IPC + image grabber (?)

Timing EVR VME (VxWorks) IOC

PXI IOC talks to EPICS through Shared Memory IOCcore, which wins due to•We had experiences before•Easy to learn and use for new players•Easy to move from lab test system to field system•Easy to modify and debug in the field

BI group SSRF, March 2008

System overview: Architecture

3 Libera IOCs...

40 Libera IOCs

.

.

.

141 Libera IOCs

1 PXI IOC

2 PXI IOCs

.

.

.

5 PXI IOCs

1 scope IOC

1 scope IOC2 scope IOCs

1 soft IOC 1 soft IOC1 VME IOC

Trigger

2 VME IOCs

Trigger

11 VME IOCs

Trigger

Linac Booster Ring

OPIs OPIsControl network / EPICS CA

Total 212 IOCs

Implementation: BI station(1)

10 beam instrumentation stations in the Ring, 3 racks / stationEach station covers 2 cells

BI station

BI group SSRF, March 2008

BI station

BI station

BI station

2 beam instrumentation stations in the Booster, 3 racks / 4 racks1 beam instrumentation stations in the Linac, 3 racks

Implementation: BI station(1)

BI group SSRF, March 2008

Implementation: Diagnostics IOCs layout

R in g IO C # 1

R in g IO C # 2

R in g IO C #3

R in g IO C # 4

R in g IO C # 5R in g IO C #6

R in g IO C #7

R in g IO C # 8

R in g IO C #1 0

B o oster IO C # 1

B oo ster IO C # 2

L in a c IO C # 1B o oster IO C # 3

R in g IO C #9

B oo ster IO C # 4

R in g IO C #1 1

R in g IO C # 14 S R M

L in a c IO C # 2

V M E I O C

PX I I O C

L ibe ra I O C s n o t s h o wn

R in g IO C #1 2

R in g IO C #1 3

S co pe I O C

L in ac IO C # 3

B o oster IO C # 5

B oo ster IO C # 6

R in g IO C #1 5

14 VME IOCs8 PXI IOCs4 Scope IOCs184 Libera IOCs2 soft IOCs

Total 212 IOCs

BI group SSRF, March 2008

Diagnostics IOCs: VME IOC• GE7050 controller / VME 64X crate

• VxWorks operation system

• EPICS 3.14.8

• Event receiver module (delivering trigger for BI station)

• Fast feedback controller

• EPICS software supported by SSRF control group

BI group SSRF, March 2008

Diagnostics IOCs: Libera embedded IOC

BI group SSRF, March 2008

• Intel Xscale PXA255A processor/ Linux operation system

• FPGA based BPM processor

• EPICS 3.14.8

• BPM & fast orbit interlock & fast orbit feedback

• EPICS software adopted from DLS

• SSRF add sevral DB template to do specific data processing

Diagnostics IOCs: Libera embedded IOC

BI group SSRF, March 2008

RMS noise @ 10Hz, 100mA Current dependency

FFT of 400k samples, frequency resolution better than 2Hz Online phase advance monitor

Diagnostics IOCs: PXI IOC(1)• Intel based PXI controller (NI PXI8187)

• 8 slots PXI crate

• Windows operation system / Labview based application

• Shared Memory IOCcore EPICS interface (SNS, ORNL)

• DCCT, slit, scraper, profile monitor, trans feedback and SRM

• Software will be developed by SSRF BI group

NI PXI8187

BI group SSRF, March 2008

BI group SSRF, July 2007

e pic s S M .D LL

PV I n it ia l Fu n ct io nCrea teDB E ntry

PV A cce s s Fu n ct io n sGetIndexB yNam eWriteD oub leWriteF loa tW riteIn t

R eadD oub leR eadF loa tR ead In t

Ev e n t S ig n a lin gFu n ct io n s

WaitF orIn terrup tSetIn terrup t S h a re d M e m o ry

D a ta B u f fe r

L a bv ie w B a s e d PVA cce s s s u bro u t in e s

ep icsSM _P V access.L LB

L a bv ie w B a s e dUs e r A pplica t io n s

Em be dde d S h are d M e m oryD e vi ce S u pport M odu l e

io cI n it

R e co rd S u ppo rt M o du le

R u n n in g D a ta ba s e

EPI C S D a ta ba s eD e f in it io n F ile s

* .db * .dbd

C h a n n e l A cce s sS e rv e r / C lie n t

W i ndo w s B as e dE P IC S i o c C o r e

C h a n n e l A cce s s Pro to co l ( Eth e rn e t )

R ea d / Wr ite

C re a te & I n it

L o a d

C Fu n ct io n s C a ll

C F

un c t io n s Ca ll

C F

un

ctions C

all

C r ea te &In i t

R e a d / W rite

Ca ll

Lib

rar y

Fu nc t

ion s

C a ll S u bV I

Call L

ibrary F

un

ctions

LabVIEW routines

Raw data acquisition

Data processing

EDM panel

DCCT.dbPRF.dbSLIT.dbSCRP.dbSRM.db

EPICS DBRunning in SM IOCcore

OPI

Diagnostics IOCs: PXI IOC(2)

PXI IOC / NI PXI8187

DIO/ ADlink cPCI7434 Matrix / NI PXI2529 Image Acq / NI PXI1409 DAC / NI PXI6711

Video

Timing

Control

PXI platform

Diagnostics IOCs: PXI IOC(3), profile & SRM

PXI IOC / NI PXI8187 DAC / NI PXI6711

Bergoz cable

Threshold

PXI platform

DMM / NI PXI4070

DCCT Interlock module

Tointerlocksystem

1000 samples RMS noise: 1.6uA @ 2Hz

Diagnostics IOCs: PXI IOC(3), DCCT

PXI 7040, up to 6.5 digits DMMWorking at 10kHz sampling rate(5.5 digits)

Diagnostics IOCs: Oscilloscope embedded IOC (1)

• Intel based embedded IPC

• Windows operation system

• Shared Memory IOCcore EPICS interface to Windows IOC

• ICT & WCM & FC

• Software developed by SSRF BI group

500 MHz Bandwidth Up to 40 GS/s Real Time Sample Rate on One Channel and up to 10 GS/s on All Four Channels Up to 400 Megasamples Record Length with MultiView Zoom™ Feature for Quick Navigation >250,000 wfms/s Maximum Waveform Capture Rate User-selectable Bandwidth Limit Filters for Better Low-frequency Measurement Accuracy

BI group SSRF, March 2008

Diagnostics IOCs: Oscilloscope embedded IOC (2)

BI group SSRF, March 2008

Diagnostics IOCs: soft IOC• HP workstation

• Linux operation system

• EPICS 3.14.8

• Performance monitor of BI system• Create a soft circular buffer for each key PVs (BPM, DCCT, etc)

• Spectrum, histogram, STD data online

• Plan to relocate some high level application into soft IOCs

BI group SSRF, March 2008

EDM panels

BI group SSRF, March 2008

BI group SSRF, March 2008

High level application

IOC based• Linac energy analyzer

Matlab based (MCA -> LCA)• Linac emmittance measurement• Booster ramping tune monitor• Ring tune monitor• Save/restore tools• etc

BI group

PXI IOC

NI

LA-BI:PXIP01

Control Network / EPICS CA

PS IOC

分析铁电流值读取

LabVIEW routine

Linac energy analyzer

SSRF, March 2008

BI group

PXI IOC

NI

LA-BI:PXIP01

Control Network / EPICS CA

PS IOC

Q5电流值设定

LINAC OPI

束团截面尺寸回读

MatLAB主控程序(MCA)

Linac emmitance measurement

SSRF, March 2008

Booster ramping tune monitor

BI group SSRF, March 2008

Ring tune monitor

BI group SSRF, March 2008

Save/restore tools

BI group SSRF, March 2008

BI group SSRF, March 2008

Commissioning: tools ready in day 1

• Linac

WCM, Profile, BPM, ICT, FC• Booster

WCM, Profile, BPM, ICT, DCCT• Ring

Button+scope, Profile, BPM, DCCT

Commissioning team’s favorite

Machine study team’s favorite

BPM 80% manpower of BI group

BI group SSRF, March 2008

Commissioning: Linac

LTB profile1 LTB profile2

LTB profile3 BS profile1

Commissioning: Booster-profile

Commissioning: Booster-wcm

Injected beam First turn

Multi turns Stored beam

Commissioning: Ring-BPM ADC

First turn

Stored beam

10 turns 30 turns

160 turns 5ms

Commissioning: Ring-button&scope

Injected beam First turn

Multi turns Stored beam

Commissioning: Ring-BPM FT sum

Multi turns Stored beam (5ms) Stored beam (100ms)

Stored beam (>300ms) Accumulated beam

Normal operation

Commissioning: Ring-DCCT

BI group SSRF, March 2008

Conclusion

• Basic BI DAQ system established, works well • Almost 100% EPICS compatible• No hardware failure, no software system crash• Commissioning team and machine study team’s

tastes are different• Long way to go

scraper, trans feedback, fast orbit feedback, SRM

performance optimize

BI group SSRF, March 2008

Wish list for EPICS Display Manager

Group access components (BI/BI/AI/AO)

• Orbit display

• Hardware reset

• Hardware reconfiguration

• Clear interlock

• So on…

Colorful XY plot

• Tune shift during ramping/operation

• Position trace

• So on…

BI group

Thank you for your attention SSRF, March 2008