# Presentation: 746271

## 	1. batch by batch intensity measurement using the damper system2. damper system transverse  measurement

## 212 MHz Sampling of  RWM signal using the longitudinal damper

***By adding the bunch intensity of all bunches in a batch we can measure the beam intensity***

## Implement firmware code for the damper system to measure beam intensity of each beam batch using the long. damper

- -- NUMI Signal Accumulator control pulses
- ()=NUMI_BB1: dff(.clk=adclkby2, .d=bucket_count.q[]==reg_DDZBB1.q[]);
- -- pulses on bucket to capture for ACNET
- ()=NUMI_BB2: dff(.clk=adclkby2, .d=bucket_count.q[]==reg_DDZBB2.q[]);

- Begin the bunch intensity measurement at bunch DDZBB1 (numbered relative to DDZBK0 )

- End the bunch intensity measurement at bunch DDZBB2 (numbered relative to DDZBK0 )

- DDZBK0: (ACNET device)
- --> set this variable equal to the first bucket

## Works fine with one batch

- --------------------------------------------------------------------------------------
- -- accumulators big enough to width allows >588 accums w/o overflow.
- -- Reset once per turn at bunch programmable via NUMI_BB1
- --  via ".sload" port which loads first sample (instead of adding it in)
- ()= NUMI_accI : altaccumulate (.clock=adclkby2, .sload=NUMI_BB1,
- .data[] = Ich0.q[])	 with (WIDTH_IN=16, WIDTH_OUT=26, LPM_REPRESENTATION="SIGNED") returns(.result[0]);
- -- Output holding registers to capture I totals up to at end of each turn for ACNET display
- -- holding registers for VME/ACNET readout of 1-turn sum
- ()=reg_DDZBIS : lpm_ff(.clock=adclkby2, .enable=NUMI_BB2,
- .data[] = NUMI_accI.result[]) with (LPM_WIDTH=26) returns(.q[0]);

- Output : the integrated bunch intensity measurement

**Works fine with one batch**
**Need to be tested with multi batches**

## Transverse  change with the damper working on the beam 

- Vertical and horizontal trans.  are measured using flying wires

- Transverse  is measured right after the beam injection into the MI at 8 GeV

- Beam intensity

- Vertical wire

- Horizontal wire

## Measured trans.   with different injection errors (damper off) 

**Measured trans. ********  with different injection errors (damper off) **

- With normal injection error
- Values of  : 10.93 (V) & 10.85 (H)

- With steering injection error by a Lambertson
- Values of  : 12.0 (V) & 16.21 (H)

## Observed transverse bunch oscillation using the damper system with the mis-steered injection 

- Observed transverse bunch oscillation using the damper system with the mis-steered injection
-  : big oscillations for many turns

- Horizontal

- Vertical

## Oscillation of mis-steered beam with the damper on

-   : the beam is damped down very quickly

## Measured trans.  with the damper on when beam is mis-steered

- Measured trans.  with the damper on when beam is mis-steered

- Value of trans.  with damper on
-  **Normal injection     : avg. 9.88 (V) & 9.28 (H)**
**           ********damper off  : avg. 10.93 (V) & 10.85 (H)**
-  **Big injection error : avg. 10.07 (V) & 8.96 (H)  **
**          ******** ****damper off : avg.  12.0 (V) & 16.21 (H) **

##  However there is not a big change in trans.  measured at 120 GeV  :  need more measurements to understand  

-  However there is not a big change in trans.  measured at 120 GeV  :  need more measurements to understand

## Conclusion & plan

-  Need to test the newly implemented codes for measuring beam intensity batch by batch for multi batches
-  Significant trans.  reduction at injection is observed with the damper on
-       :  transverse damper works well