PHOT_set_bias_volt
The procedure PHOT_set_bias_volt reads the specified CALU table for the demanded group number. The numerical values corresponding to each named bias signal and group number (for instance bias 17, VSS-BU, for group N) are passed to the procedure PHOT_bias_group_N (N=1,2...6) which generates the relevant telecommands to the BOLC subsystem.
// Purpose : Read a BOLObias calibration table and command bias // voltages for the given group, viz. // VDL-BU for Group 3. Will also establish VDD_PROT_BLU // and VDD_PROT_CL before setting bias voltages // // CUS script : Diego A. Cesarsky // // Arguments : // string calTableName The Cal table name, f.i. BOLObias or BOLOsafe // string BiasGR The group number, BiasGRn (n:1, 2, ..6) // // Description : Read Bias U-CAL tables in volts. // Since BIAS are to be set in a predetermined order, the // array biasOrder lists the preconised ordering. // Prior to commanding the voltage generators, two voltages // have to be switched ON with the operand // // 0x0001 + 0x10000*BiasNum + 0x1000000*GroupNum // // and this for BiasNum 23, 22 and 21 // // Version : 0.3 // History : 0.1 07-aug-2006; 1st version DAC // 0.1.1 22-aug-2006, KO, waitFor set to 1s everywhere // 0.2 17-oct-2006 DAC Had forgotten GND-BU // 0.3 13-nov-2006 DAC&TM Wait 3 sec after GND-BU //
Input variables:
procedure PHOT_set_bias_volt { string calTableName = "PHOT_bias_low_direct"; // The U-Cal table [volts] int groupNb = 1 in [1,6]; // Requested group }{
Since this procedure reads a CALU table, it is important to describe the format of the bias tables. See below one of such tables. Note that the row headers (VH, VL, VRL, etc.), the column headers (BiasGR1, BiasGR2, etc.) and the Bias numbers (column Bias) are imposed. Only columns BiasGRn are to be edited.
# Bias table in volts: read by PHOT_set_bias_volt # Based on the data when the detector was at 296 mK in average # Flux on blue: 2.00 pW/pixel, Flux on red: 5.00 pW/pixel # Bias on blue: 2.0 V, Bias on red: 1.5V # Telescope primary miror at 82.55K with the emissivity of 3.44% # KO: Thu Nov 9 18:49:45 2006 string int double double double double double double BiasID Bias BiasGR1 BiasGR2 BiasGR3 BiasGR4 BiasGR5 BiasGR6 VH 1 1.64812 1.64810 1.64811 1.64812 1.29143 1.29151 VL 2 -0.35188 -0.35190 -0.35189 -0.35188 -0.20857 -0.20849 VRL 3 0.31068 0.32806 0.31892 0.30252 0.35346 0.35552 VINJ 4 3.00000 3.00000 3.00000 3.00000 2.99940 2.99950 VCH 5 0.00000 0.00000 0.00000 0.00000 -0.00010 -0.00014 VDL 6 3.00000 3.00000 3.00000 3.00000 3.00350 3.00030 VSS 7 1.30000 1.30000 1.30000 1.30000 1.30000 1.30000 VGL 8 3.00000 3.00000 3.00000 3.00000 3.00330 3.00130 CKRLH 9 2.00000 2.00000 2.00000 2.00000 1.99940 1.99920 CKRLL 10 0.00016 0.00008 0.00012 0.00007 0.00004 0.00012 VDECX-H 11 2.00000 2.00000 2.00000 2.00000 1.99970 1.99990 VDECX-L 12 0.00002 0.00010 0.00004 0.00008 0.00035 0.00009 VSMS-H 13 0.00007 0.00025 0.00006 0.00015 0.00006 0.00011 VSMS-L 14 3.00000 3.00000 3.00000 3.00000 3.00140 3.00100 VGG 15 1.12000 1.09000 1.12000 1.12000 1.14050 1.14500 VDD 16 2.60000 2.60000 2.60000 2.60000 2.59930 2.60850 VSS-BU 17 1.50000 1.50000 1.50000 1.50000 1.50010 1.49900 VDL-BU 18 4.20000 4.20000 4.20000 4.20000 4.19420 4.19870 VGL-BU 19 2.55000 2.55000 2.55000 2.55000 2.49890 2.49960 VH-BLIND 20 2.15758 2.20306 2.16588 2.16617 2.20890 2.20416