Low-Energy Muon (LEM) Experiment
0.5.1
|
Go to the source code of this file.
Functions | |
INT | hv_fug (INT cmd,...) |
INT hv_fug | ( | INT | cmd, |
... | |||
) |
The FUG high voltage devices are used for the muon transport system in the low energy muon experiment (LEM) at PSI. Since the high voltage devices themselfs only have analog input controls, analog input/output cards of National Instruments (FP-AI-110 / FP-AO-210) are used to connect to the digital world. To control them via a computer a special interface card (FP1000) and bus is used (again National Instrument stuff).
The hard wiring looks like this:
|- FP-RLY-420,bus address 8 (set polarity of FUG HCL devices 8-12) |- FP-AI-110, bus address 5 (read polarity of FUG HCL devices 8-12) |- FP-AI-110, bus address 7 (Grid_1, Sample_G1, Sample_G2, Sample) |- FP-AI-110, bus address 3 (Lense_3, RA-L, RA-R, Guard) |- FP-AI-110, bus address 2 (Moderator, Lense_1, Mirror, Lense_2) PC <-- Lantronix/RS232 --> FP1000 -| |- FP-AO-210, bus address 6 (Grid_1, Sample_G1, Sample_G2, Sample) |- FP-AO-210, bus address 4 (Lense_3, RA-L, RA-R, Guard) |- FP-AO-210, bus address 1 (Moderator, Lense_1, Mirror, Lense_2)
i.e. we use
for 12 FUG high voltage devices. Each FUG HV device needs 2 input and 2 output channels (in/out voltage/current).
The new HCL devices (we will use four of them for Grid_1, Sample_G1, Sample_G2, Sample) have the option to change the polarity remotely. This is done by using the relay module FP-RLY-420. The polarity of these devices is monitored by an additional FP-AI-110: +polarity gives ~15V, i.e. overrange at the FP-AI-110 (10.4V max. measurable voltage) -polarity gives ~0V.
For a detailed description of the command language of the field point bus of National Instruments see: Field Point – FP-1000/FP-1001 Programmer Reference Manual.
The ODB equipment definition of the different FUG HV devices is organized as follows: key : /Equipment/HV/Settings/Devices/FUG/DD
With the following entries:
Moderator @ 20.0kV #0.6mA up0.1kV/s down0.0kV/s $0.00kV !0.001mA ^ ^ ^ ^ ^ ^ ^ name max hv | upramp downramp default hv | max current default current limit
RS232: 9600 baud, 8 data bits, 1 stop bit, no parity bit, no hardware protocol, no software protocol, termination: \ r (CR)
Definition at line 1790 of file hv_fug.c.
References hKey, hv_fug_exit(), hv_fug_get(), hv_fug_get_current(), hv_fug_get_label(), hv_fug_init(), hv_fug_set(), hv_fug_set_current_limit(), and info.