Presentation is loading. Please wait.

Presentation is loading. Please wait.

Current Status of MATLAB-based Accelerator Physics Application Programs for the TPS Commissioning and Operation at NSRRC Fan-Hsin Tseng ( 曾繁信 ) Beam Dynamics.

Similar presentations


Presentation on theme: "Current Status of MATLAB-based Accelerator Physics Application Programs for the TPS Commissioning and Operation at NSRRC Fan-Hsin Tseng ( 曾繁信 ) Beam Dynamics."— Presentation transcript:

1 Current Status of MATLAB-based Accelerator Physics Application Programs for the TPS Commissioning and Operation at NSRRC Fan-Hsin Tseng ( 曾繁信 ) Beam Dynamics Group

2 Outline The introduction of Matlab Middle Layer (MML) MATLAB-based Accelerator Physics Applications –Simulators Linac to Booster (LTB) Booster Ring Booster to Storage Ring (BTS) Storage Ring –Applications Beam Based Alignment Orbit Control Interface Linac to Dump (LTD) GUI Optics Measurements Tune Control LOCO RESOLVE Summary

3 Matlab Middle Layer (MML) High Level Matlab Applications (scripts and functions) Matlab to EPICS ( MCA / LabCA ) Matlab Middle Layer Accelerator Toolbox (AT Model) Accelerator Hardware Virtual Machine Channel Access: MCA: Get/Set functions ctl_readin (ctl_readout) / ctl_set LabCA: Get/Set functions lcaGet / lcaPut

4 MML Simulators

5 TPS MML Simulators ( Offline Mode )

6 TLS MML Simulators ( Online Mode ) Insertion Devices: SWLS, EPU56, R2-IASW, U50, SW60, R4-IASW, W200, U90, R6-IASW

7 TLS MML Simulators ( Offline Mode ) Booster Ring BTS

8 Application Programs

9 Beta Function Measurement

10

11 Dispersion Function Measurement

12

13 Chromaticity Measurement and Correction Chromaticity Measurement Chromaticity Correction

14 Chromaticity Measurement and Correction

15 Tune Control I : the main current of the quadrupole magnet power supply l i : the effective length of the i th quadrupole k i : the strength of the quadrupole magnet

16 Tune Control Tune Lock has been tested on the TLS

17 Beam Based Alignment

18

19 Orbit Control Interface

20

21 LTD GUI β x α x ε x σEδEσEδE βyαyεyβyαyεy σ 11,x = σ x 2 σ 11,y = σ y 2 σ x 2 = β x ε x +σ E η x Δx = δ E η x

22 LTD GUI Optimization Method

23 LTD GUI Thin Lens Approximation Method

24 Linear Optics from Closed Orbit (LOCO) The orbit response matrix is defined as The parameters in a computer model of a storage ring are varied to minimize the   deviation between the model and measured orbit response matrices ( M mod and M meas ). The  i are the measured noise levels for the BPMs; E is the error vector. The   minimization is achieved by iteratively solving the linear equation For the changes in the model parameters, K l, that minimize ||E|| 2 =  2.

25 LOCO GUI

26 RESOLVE Developed by Martin Lee

27 File Transfer GUI

28 Summary  MML is a good platform to do the beam dynamics study and the machine operation.  It’s good for codes debugging without using the accelerator operation time by using AT model.  Many light sources are the MML users, such as ALS, SPEAR3, SSRF, CLS, DLS, ALBA…, and every light source can share their software on the internet.  Some MATLAB-based applications for the TPS have been developed and tested on the TLS.  We will still continue developing related applications for the TPS commissioning in the future.

29 Thanks for your attention!


Download ppt "Current Status of MATLAB-based Accelerator Physics Application Programs for the TPS Commissioning and Operation at NSRRC Fan-Hsin Tseng ( 曾繁信 ) Beam Dynamics."

Similar presentations


Ads by Google