PEP-II LLRF Drive Power Control Panel
Overview
This panel contains the various constants necessary to control the klystron
drive power. This is an interesting task since the actuator changes
depending on if the direct RF feedback loop is closed or open. With
the direct loop open, the actuator is the baseband reference IQ voltages
(either from the gap module or from the
RF Processing (RFP) module if it is configured
to operate without a gap module). With the direct loop closed,
the HVPS output voltage controls the drive power.
The drive power panel can be accessed from the
Feedback panel or some
of the other buried panels. The drive power control panel is broken
into two panels, the second half covering the ON_CW state with the direct
RF feedback loop OFF but both will be explained here.
At the top of the panel is the
drive power error calculation:
Err (W) = Setpnt - Actual
The error calculation is straight forward but there
is a caveat. The parameter,
"Lower Limit on Err (W)", limits the error
from becoming too negative (Nominal value = -1.0 W.) This restriction was
added during the
development of the slow direct loop turnon sequence and prevents the HVPS
voltage from getting too large. Recall that with the direct loop
closed, the HVPS voltage controls the drive power.
TUNE State
In TUNE state, the baseband RF reference is generated
by two DAC channels in the RFP module.
The following equation converts
the drive power error into DAC counts. These counts are then converted
into I and Q counts based on the "Station Phase (Deg)" setting and loaded
into the DACs. When the drive power loop is enabled (in Tune state),
the "Initial Counts" value is preloaded into the loop output. There
is also a restriction on how many counts the loop can change on each iteration:
DAC counts = Err * Gain Factor * Conversion
- Saturated Drive Pwr (W) - Saturated drive
power used in TUNE mode to set drive power. Between 30 and 60 Watts, tube
dependent.
- Min Delta Power (W) - Deadband for the loop
calculation. Will not update DAC counts if
the magnitude of the error is below this limit. Nominal value = 0.1
W.
- Gain Factor - Loop gain term which allows
changing gain without affecting the measured "Conversion" term. We
have always run with unity loop gain and "Conversion" value might not be
the actual Watts to Counts value. The TUNE state is not used very
much. Nominal value = 1.00.
- DAC Counts Control - Using the mouse the
user can manually set the DAC output (drive power). Note that in
the present hardware setup, it is likely that the system will not produce
saturated drive power in TUNE state. A resistor change in the RF
Processing module would fix this. Saturated drive power can easily
be reached in ON_CW state with the direct loop OFF.
- Max Delta Counts - Sets the maximum change
in DAC counts allowed on each iteration. Acts as a slew rate limiter.
Nominal value = 50 counts.
- Conversion (W) to (Counts) - Scale factor to
convert error in Watts to DAC counts. Manually
configured by changing the drive power setpoint and noting the resulting
change in DAC counts. Simply calculate the slope. Nominal
value = 2.00.
- Initial Counts - When the loop is activated,
this number of counts is preloaded to get drive power close to the desired
value. This value is manually set by letting the loop read the desired
drive power and noting the required number of counts. Nominal range
= 500 to 1000 counts.
ON_CW State - Direct Loop OFF - GVF Module Missing
The RFP module can be configured to
generate it's own baseband reference (no Gap module necessary) by moving
two jumpers on the motherboard. The jumpers allow using a pair of
DAC channels normally used to null an offset to provide the IQ baseband
reference voltages instead. The controls are very similar to the
TUNE state controls. The parameters are listed for completeness:
- Min Delta Power (W) - Deadband for the loop
calculation. Will not update DAC counts if the magnitude of the error
is below this limit. Nominal value = 0.1 W.
- Gain Factor - Loop gain term which allows
changing gain without affecting the measured "Conversion" term. We
have always run with unity loop gain and "Conversion" value might not be
the actual Watts to Counts value. Nominal value = 1.00.
- DAC Counts Control - Using the mouse the
user can manually set the DAC output (drive power).
- Max Delta Counts - Sets the maximum change
in DAC counts allowed on each iteration. Acts as a slew rate limiter.
Nominal value = 25 counts.
- Conversion (W) to (Counts) - Scale factor
to convert error in Watts to DAC counts. Manually
configured by changing the drive power setpoint and noting the resulting
change in DAC counts. Simply calculate the slope.
Nominal value = 0.5.
- Initial Counts - When the loop is activated,
this number of counts is preloaded to get drive power close to the desired
value. This value is manually set by letting the loop read the desired
drive power and noting the required number of counts. Nominal range
= 50 to 100 counts.
ON_CW State - Direct Loop OFF - GVF Module Available
This is the normal ON_CW direct loop hardware setup. All completed
PEP-II RF stations have a Gap module to produce
the baseband IQ references. The drive power loop will determine the
average value of the references and the DSP in the Gap module will add
fast modulations to follow the beam induced gap transients.
- Min Delta Power (W) - Deadband for the loop
calculation. Will not update DAC counts if the magnitude of the error
is below this limit. Nominal value = 0.6 W.
- Gain Factor - Loop gain term which allows
changing gain without affecting the measured "Conversion" term. We
have always run with unity loop gain and "Conversion" value might not be
the actual Watts to Counts value. Nominal value = 1.00.
- DAC Counts Control - Using the mouse the
user can manually set the DAC output (drive power).
- Max Delta Counts - Sets the maximum change
in DAC counts allowed on each iteration. Acts as a slew rate limiter.
Nominal value = 50 counts.
- Conversion (W) to (Counts) - Scale factor
to convert error in Watts to DAC counts. Manually
configured by changing the drive power setpoint and noting the resulting
change in DAC counts. Simply calculate the slope. Nominal
value = 1.0.
- Initial Counts - When the loop is activated,
this number of counts is preloaded to get drive power close to the desired
value. This value is manually set by letting the loop read the desired
drive power and noting the required number of counts. Nominal range
= 100 to 300 counts.
ON_CW State - Direct Loop ON
This is the normal mode of operation for the stations.
Note that with the direct loop closed, changing the drive power requires
altering the HVPS voltage (not the baseband IQ reference). The basic
philosophy for configuring the operation of this mode of the drive power
loop is as follows. We make the assumption that the baseband IQ reference
(which is the setpoint for the gap voltage when the direct loop is closed)
does not normally change since the gap voltage is held constant.
The HVPS voltage is what is needed to change as the klystron power requirement
increases with added beam. If the drive power is above the set point,
the HVPS voltage must be increased to reduce it.
To configure the direct loop closed option of
the drive power loop, first open the "Drive PWR Plot" on the upper right
of the panel. The station must be at normal operating voltage with
the direct loop closed. Create a step change in the loop by changing
the drive power setting by 1 Watt. The response viewed on the plot
should be a smooth non-oscillatory ramp. In the past we adjusted
the gain by manually changing the "Conversion" factor but one could calibrate
the conversion factor and adjust the response with the "Gain Factor".
It is also prudent to put a step change into the gap voltage set point
and verify the drive power loop does not misbehave.
- HVPS Loop Mode - Normally ON. Refer
to the Main Station panel for details.
- Drive Pwr Setpoint (W) - Sets the desired
drive power for ON_CW state when klystron power is below the "Hi Drive
Setting Klys Power (kW)" located on the lower right of the Klystron
panel. Nominally 15-25 Watts (klystron tube dependent).
- High Pwr Drive Pwr (W) - Sets the desired
drive power for ON_CW state when klystron power is above the "Hi Drive
Setting Klys Power (kW)" located on the lower right of the Klystron
panel. Nominally 20-30 Watts (klystron tube dependent). Designed
to operate the tube 10% below saturation at high power levels where HVPS
ripple should be small.
- Min Delta Power (W) - Deadband for the loop
calculation. Will not update DAC counts if the magnitude of the error
is below this limit. Nominal value = 0.1 W.
- HVPS Voltage Control (kV) - This slider
type control/readback is normally just viewed as a monitor of the present
HVPS output voltage but is actually a control input as well. With
the "HVPS Loop" set to OFF or PROC (process), the user can alter the HVPS
setpoint by left clicking the mouse on the slider and dragging the setpoint.
Up/Down arrow keys also work after the slider had been selected.
A right mouse click allows changing slider control options.
- Gain Factor - Loop gain term which allows
changing gain without affecting the measured "Conversion" term. We
have always run with unity loop gain and "Conversion" value might not be
the actual Watts to kV value. Nominal value = 1.00.
- HVPS fast on delay (sec) - Prevents the
drive loop from altering the HVPS voltage for a short time as the fast
turnon cycle initializes. Nominal value = 5 seconds.
- Max Delta Voltage (kV) - Sets the maximum
change in HVPS voltage allowed on each iteration. Acts as a slew
rate limiter. Nominal value = 0.50 kV.
- Conversion (W) to (Counts) - Scale factor
to convert error in Watts to HVPS voltage. Manually
configured by entering a step change into the drive power setpoint and
observing the step response using the drive power plot tool at the top
of the page. This constant is really presently used as a gain
adjustment. Nominal value = 0.0400 kV/Watts.
- Initial Voltage (kV) - When the loop is
activated, this voltage setpoint is preloaded to get drive power close to
the desired value. Not used in the fast turnon mode.
Nominal value = 45 kV.