Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

TMBF FIR ControlLMBF FIR Control

This screen allows the bunch by bunch filters to be configured.  Normally the shape of the filter is automatically configured from the :CYCLE_S:LENGTH_S, :PHASE_S settings, but the FIR can be written to :TAPS_S instead if :USEWF_S is set to "Waveform".

The following PVs can be set for each of the four available FIRs (each PV is prefixed with $(device):$(axis) and the value n runs from 0 to 3):

NamePVDescription
FIR freq/size:FIR:n:CYCLE_S, :FIR:n:LENGTH_SThese two determine the fundamental shape of the FIR, which is a sine wave with :FIR:n:CYCLE_S cycles in :FIR:n:LENGTH_S samples.  These two numbers need to be adjusted so that the tune frequency is comfortably close to the ratio cycles/length.
Phase:FIR:n:PHASE_SThis adjust the phase of the FIR and so determines the feedback phase.
Setup:FIR:n:USEWF_SIf this is set to "Waveform" then the settings above are ignored and instead :FIR:n:TAPS_S is used to define the filter.

We also have the following controls and indicators.  The gain and decimation PVs are not prefixed with :$(axis)

NamePVDescription
Gain:FIR:GAIN_SConfigures the output gain from the FIR.
Decimation:FIR:DECIMATION_SThis control is only available on LMBF and is used to reduce the data rate for the longitudinal samples to a more practical range.
Overflow:FIR:OVFIf the ADC input level is very high (close to full scale) and the FIR has more than 8 taps then it is numerically possible for overflow to occur during FIR processing.  This is independent of overflow that can occur when :FIR:GAIN_S is set high.  If this occurs, either reduce the ADC input level (this can be done by adjusting the ADC filter taps), or reduce the bunch by bunch FIR gain by reducing the value of the taps.

Finally, the FIR waveforms can be viewed and configured by clicking on the Bunch by Bunch FIR Waveform Control buttons.


  • No labels