Skip to content
Freddie Akeroyd edited this page Apr 5, 2020 · 18 revisions

Hardware

  • There is a python script running on a separate PC (NDW1889) which controls some DAQ units
  • This python script reads the timing pulse (this can come from the synchrotron or a chopper) and controls the flipper
  • The python script exposes a TCP connection
  • The python script is available in \shares\ISIS_Experiment_Controls\external_code\Mezei Neutron Spin Flipper
  • The current labview and IBEX drivers, running on the NDX instrument control PC, use this TCP connection to talk to the flipper system
  • There is also some optimization code. This is an instrument script which runs on the NDX machine and communicates with PVs via genie_python. This is what determines the mode and parameters which the flipper will run with. Therefore these modes and parameters are not expected to be set manually.

See also some of the comments in https://github.com/ISISComputingGroup/IBEX/issues/3738 and https://github.com/ISISComputingGroup/IBEX/issues/4871 for further details of the hardware setup.

The flipper can run in one of four different mode:

Mode Explanation
Constant current Does what it says on the tin - a simple constant current is supplied to the magnet coils
Steps On LET, they use RRM (repetition-rate multiplication) to select multiple incident energies per neutron pulse (frame). Running the flipper in "steps" mode supplies a different current to the coils for each incident energy.
Analytical This mode varies the current to the coils as a function of time, within each neutron pulse. The equation being modelled is I = A / (t + t0)
File This mode uses a file as a lookup table to determine current to the flipper coils as a function of time within each neutron pulse

The other variables which the flipper can take are:

  • Power: power to the coils on/off.
  • Compensation: a fixed current which is always added to whatever value the lookups provide, to compensate for changes caused by the flipper kit itself.

Clone this wiki locally