Project

General

Profile

DocMIrampCorr.txt

Kyle Hazelwood, 01/15/2015 12:00 PM

 
1
Method description: 
2
	Without MI ramp inflence the RR orbit can be kept to a desired orbit by setting trims to constant
3
	currents. This is done by using of C453 G-tables.   MI ramps cause RR orbit to deviate
4
	from that before MI starting ramp at 8.9 GeV. To compensate the MI ramp inflences correctional 
5
	ramps are programed in the H-tables along the durations of MI ramps. The H-tables are clocked
6
	by MDAT 40 and triggered by apropreite MI event. Main points:
7
	1. 	design H-table break points, MI rampping currents in amps.
8
		The first and last are mandatory and some fixed values for starting and ending of ramps.
9
	2. 	acquire before compensation orbits for the corresponding brkpts.
10
	3. 	starting the second brkpt/second orbit calculate H-tables' current levels required to
11
		hold orbits on to the first(8.9GeV) orbit.
12
	4.  A complete set of corrections is defined in two DB tables: 1 hdr record and a set of data
13
		records. If there are total 8 brkpts for H-tables there are 6 data records needed to define
14
		H-table setting along all brekpts, with #0 and #7 being set to zero current values.
15
			
16
			pa4196_hi_hdr(rr_hi_hdr1)
17
				table_num	- H table # 
18
				plane       
19
				date 		- key to data recs.      
20
				title
21
			pa4196_hi_data(rr_hi_data1)
22
				pkey 	- date in hi_hdr record
23
				id		- 0,1,2,4(first one always for 8.9 GeV,last one for 169 GeV). 
24
				energy  - Not beam energy but MI bending magnets' current, in amps             
25
				R1, ....., R104	- correction currents for trims
26
	
27
menubarCMD For Normal Cycles/NuMI Cycle 
28
	To determine H-table #1(if select 'For Normal Cycles') or #2(if select 'NuMI Cycle')
29
	See C453 config
30

    
31
menubarCMD 'Select BPM'
32
	select BPM to skip, similar to G-table correction(main orbit control using G-table)
33
	
34
menubarCMD 'Select CED'
35
	select CED to skip, similar to G-table correction(main orbit control using G-table)
36
	
37
menubarCMD 'file' (MI ramp compensation files, each such 'file' consists of one header rec and a set of 
38
	data recs, number of recs in the set is number of breakpts of H-tables. One given file defines a
39
	correction completely.)
40

    
41
	menuCMD 'Display file data' - select a file from pa4196_hi_hdr records, read all pa4196_hi_data
42
			recs with pkey=date, display all existing brk points for the file, select a brk point
43
			and display corrections(trim courrents corr) for the brk point. 
44
			Note that corrections in first and last data records are all zeros. They are for the
45
			two mandatory brkpts. The first is at 8.9 GeV where orbit is used as reference(desire) orbit.
46
			The last one amps is beyond the MI ramp maximum and orbit is already under 8.9 GeV condition.
47

    
48
	menuCMD 'Compare two files' - 
49
			select/read two files and then compare if same.
50
	
51
	menuCMD 'Save to file' - 
52
			Save current H-tables data to file
53
			There is no active file. File is got written only by this cmd and the saved file 
54
			is dated as a date when save is done.
55
	
56
	menuCMD 'Restore to file' - 
57
			select a file to read/send to H-tables including breakpts(H abscissa). The number 
58
			and values of brkpts should be in data recs. The number of data recs read should 
59
			equal number of brkpts.
60
			Note that there is no active file. File is got written only by 'Save to file' cmd
61
			under menuCMD 'file' and it is dated as date when save is done.
62
			
63
	menuCMD 'Delete file' - 
64
	
65
	menuCMD 'Copy file' - 
66
			
67
menubarCMD Misc
68

    
69
	menuCMD 'Display H table in Cards'
70
			Display H tables brkpts and settings of trims along the ring for selected brkpt.
71
			
72
	menuCMD 'Zero H table in cards'
73
			Zero H tables 
74
			
75
	menuCMD 'Compare H table with file'
76
			Compare H tables in cards with one of file selected.
77
			
78
	menuCMD 'Correction options'
79
			Send option: add onto H-tables(TRUE) or replace H-tables[FALSE], normally should simply
80
			replace old values.
81
            Reference orbit: desire orbit file[TRUE] or 8.9GeV orbit[FALSE], normally should use
82
			8.9GeV orbit data read from R39 archive.