root/lbmissions/trunk/pelagia/autoexec.mi

Revision 71 (checked in by cbc, 12 years ago)

Back out changes to turn of BBAM on Pelagia.

Line 
1 # autoexec.mi for unit 044
2 # unit
3 # C-2060-2 Rev E, ser. no. 048 driver board
4 # tailfin glider
5                                        
6 # Date  e-maiL address                          comment
7 #25-May-2005 pcollins@webbresearch.com  initial setting
8 #16-Jun-2005 mpalanza@webbresearch.con  re-cal'ed fin_motor, buoyancy_pump
9 #22-Jun-2005 williamsj@uncw.edu         Changed name to Pelagia
10 #23-Jun-2005 williamsj@uncw.edu         Disabled IRIDIUM for box test off masonboro
11 #25-Jun-2005 williamsj@uncw.edu         Re-enabled IRIDIUM as set my office as phone number
12 #03-Aug-2005 williamsj@uncw.edu         Disabled buoyancy pump; Set IRIDIUM to call dockserver
13 #10-Aug-2005 williamsj@uncw.edu         Reenabled buoyancy pump
14 #30-Aug-2005 williamsj@uncw.edu         Switched to DoD Iridium SIM card
15 #25-Oct-2005 williamsj@uncw.edu         Added u_min_water_dpeth = 7 meters
16 #27-Oct-2005 williamsj@uncw.edu         Commented out above sensor
17 #10-Feb-2006 halls@uncw.edu             Added bbfl2s calibration factors
18 #22-Feb-2006 woodswendy@woodswendy.com  Removed erroneous fragment lines "/Volt..." and "adzone_width.." present since 24 Oct 2005 or earlier.
19 #03-Mar-2006 woodswendy@woodswendy.com  Fixed u_bbfl2s_bb_sf(Mnodim) 3.49 (invalid: nodim, 3.49E-06)     
20 #07-Mar-2006 woodswendy@woodswendy.com  added U_bbfl2s... and U_sam_is_calibrated
21 #28-Mar-2006 williamsj@uncw.edu         cleaned up repeated lines in fin section; cleaned up columns
22 #03-Apr-2006 woodswendy@woodswendy.com  fixed U_bbfl2s... and U_sam__is_calibrated to be boolean 1 (instead of nodim 1.0)
23 #26-Aug-2009 pcollins@webbresearch.com  installed Wetlabs BBAM SN 019R. Upgraded to Peek pressure fittings, upgraded software V. 6.37, dockserver v 6.36.
24 #                                       installed battery mount adapter and recalibrated pitch motor.
25 #13-OCT-2009 pcollins@webbresearch.com  Installed rebuilt ballast pump assembly and recalibrated.  Added iridium_phone_num_alt
26 #03-AUG-2011 cbc@unc.edu                Installed RUDICS Iridium SIM card
27 #05-OCT-2011 afish@teledyne.com         Installed digifin, and changed f_fin_safety_max to .480. installed RS485 board, LNA board, and upgraded to software v 7.6
28 #11-Nov-2011 cedwards                   Ininstalled pinger, took out of use.  Turned current corrections off for GA mission.
29 #17-JAN-2012 cbc@unc.edu                Turned off c_science_send_all and set num_fields_to_send for all sensors.
30 #16-FEB-2012 cbc@unc.edu                Turned off sbd/tbd cache
31
32 name pelagia
33
34 #Unit 044
35 #C-2060-2 Rev E #048
36 #ARGOS ID #
37 #Seimac Smartcat #61521
38 #Freewave slave #915-4408
39 #Freewave master #918-7790
40 #GPS #J01474502
41 #Compass #0642
42 #Persistor Main #51677
43 #Flash Card #17574
44 #Persistor Payload #
45 #Fash Card Payload #
46 #Stack Card Payload #
47 #SBMB #007
48 #SBE #035, 508 psi
49 #Pressure Transducer #67477, 300 psi
50 #Bouyancy Pump #040
51 #Pump Motor 045
52 #Pitch Motor #039
53 #Air pump assembly #air 0005
54 #Airmar Transducer/altimeter #396436
55 #Digifin #0975
56 #Iridium Antenna #
57 #Pinger #0032
58 #Iridium Modem #
59 #Iridium SIM Card #8988169224000341389
60 #RS485 #234
61
62 installed gps
63 installed attitude
64 installed ocean_pressure
65 installed vacuum
66 installed battery
67 installed argos
68 installed air_pump
69 installed pitch_motor
70 installed science_super
71 #installed pinger
72 installed digifin
73 installed altimeter
74 installed iridium
75 installed buoyancy_pump
76
77 # Altimeter model
78   sensor: f_altimeter_model(enum)                      1  # airmar(mod1)
79
80 # Turns science computer on
81   sensor: c_science_on(bool)                           1
82
83   sensor: c_science_send_all(bool) 0  # T->send all sci_ vars from science but still log them on science.
84                                       # F->just send standard subset but still log them all on science.
85
86 # Iridium Configuration
87 # For a commercial card: 001508XXXXXXX
88 # sensor: c_iridium_phone_num(digits)        19109622010  # no leading zeros in this number
89                                                           # UNCW
90 # sensor: c_iridium_phone_num(digits)        19195138757  # no leading zeros in this number
91                                                           # NCSU
92   sensor: c_iridium_phone_num(digits)        881600005143 # no leading zeros in this number
93                                                           # UNC GLIDER STD (RUDICS gateway)
94  
95
96 # For a military card:   00697508XXXXXXX
97 # sensor: c_iridium_phone_num(digits)       6979109622010 # no leading zeros in this number
98
99   sensor: c_iridium_lead_zeros(nodim)                   2 # number of leading zeros in phone number
100                                                           # typically 2 for both commercial or military
101 # sensor: c_iridium_phone_num_alt(digits)   6975085482446
102
103 # current correction on
104   sensor: u_use_current_correction(nodim)               0
105
106 # min water depth to prevent false yo's with <7m altimeter hits
107 # sensor: u_min_water_depth(m)                          7
108
109 # Glider configuration
110   sensor: F_MAX_WORKING_DEPTH(m)                    102
111
112 # DBD/SBD header control for header
113 sensor: u_dbd_sensor_list_xmit_control(enum)  2 # -1 = always transmit header, compatibility mode
114                                                 #         use for legacy shore side programs
115                                                 # 0  = always transmit header
116                                                 # 1  = transmit header on initial mission segment only
117                                                 # 2  = transmit header if THIS glider hasn't sent it before
118                                                 # 3  = never transmit header
119
120 # The same for science side data logging; default is more conservative
121 # because headers are not that large on science side
122 sensor: u_sci_dbd_sensor_list_xmit_control(enum)  2 # -1 = always transmit header, compatibility mode
123                                                     #         use for legacy shore side programs
124                                                     # 0  = always transmit header
125                                                     # 1  = transmit header on initial mission segment only
126                                                     # 2  = transmit header if THIS glider hasn't sent it before
127                                                     # 3  = never transmit header
128  
129 # vacuum calibration
130   sensor: u_vacuum_cal_m(inHg/Volt)               -11.848 # Factory Calibration data
131   sensor: u_vacuum_cal_b(inHg)                      27.057# inHg = m V + b
132
133 # ocean_pressure calibration
134   sensor: f_ocean_pressure_full_scale(bar)         24.000 # pressure at FS volts
135   sensor: f_ocean_pressure_min(volts)               0.239 # voltage for 0 pressure
136   sensor: f_ocean_pressure_max(volts)               2.065 # voltage for FS pressure
137
138 # ballast_pumped
139   # max = safety_max - deadzone
140   sensor: f_ballast_pumped_safety_max(cc)           243.0 # in, damage to glider
141   sensor: f_ballast_pumped_deadz_width(cc)           10.0 # in, sets x_ limit
142   sensor: f_ballast_pumped_db_frac_dz(nodim)          1.0 # deadband as fraction of dead zone
143   sensor: f_ballast_pumped_nominal_vel(cc/sec)         43 # in, nominal speed
144   # Specs linear relationship between sensor units (cc) and the       
145   # voltage we actually read out of the AD for position         
146   # pumped(cc) = pumped_cal_m(cc/Volt) * volts + pumped_cal_b(cc)
147   sensor: f_ballast_pumped_cal_m(cc/Volt)         504.484 # in, slope
148   sensor: f_ballast_pumped_cal_b(cc)             -429.484 # in, y-intercept
149
150 # battpos
151   # max = safety_max - deadzone
152   # x_max_battpos = f_safety_max_battpos - f_deadzone_width_battpos
153   sensor: f_battpos_safety_max(inches)                1.2 # in, damage to glider
154   sensor: f_battpos_deadzone_width(inches)            0.2 # Sets x_ limit
155   sensor: f_battpos_db_frac_dz(nodim)                 1.0 # deadband as fraction of dead zone
156   sensor: f_battpos_nominal_vel(inches/sec)          0.56 # nominal speed
157   # Specs linear relationship between sensor units (inches) and the
158   # voltage we actually read out of the AD for position         
159   # battpos(inches) = _cal_m(inches/Volt) * volts + _cal_b(inches)
160
161 #Old cal values
162   #sensor: f_battpos_cal_m(inches/Volt)              2.566 # slope
163   #sensor: f_battpos_cal_b(inches)                  -3.553 # y-intercept
164
165 #New Cal values with pitch battery adapter
166   sensor: f_battpos_cal_m(inches/Volt)              2.574 # slope
167   sensor: f_battpos_cal_b(inches)                  -3.537 # y-intercept
168
169 # fin, motor.c motor_drivers . fin calibrated at 35
170 # max = safety_max - deadzone
171   sensor: f_fin_safety_max(rad)                 0.480           # in, damage to glider.
172 #                                                                               # .610 for fin_motor, .480 for digifin
173   sensor: f_fin_deadzone_width(rad)                     0.035           # in, Sets x_ limit
174   sensor: f_fin_db_frac_dz(nodim)                       1.0             # deadband as fraction of dead zone
175   sensor: f_fin_nominal_vel(rad/sec)            0.0981  # in, nominal speed
176   sensor: f_fin_cal_m(rad/Volt)                 0.671           # slope
177   sensor: f_fin_cal_b(rad)                              -0.876  # y-intercept
178                                                                                 # Specs linear relationship between sensor units (rads) and the
179                                                                                 # voltage we actually read out of the AD for position         
180                                                                                 # fin(rad) = _cal_m(rad/Volt) * volts + fin_cal_b(rad)
181
182  
183
184 # bbfl2s s/n BBFL2SLO-188
185  sensor: U_bbfl2s_is_calibrated(bool)               1
186  sensor: u_bbfl2s_bb_cwo(nodim)                       52  # clean water offset, nodim == counts
187  sensor: u_bbfl2s_chlor_cwo(nodim)                    55  # clean water offset, nodim == counts
188  sensor: u_bbfl2s_cdom_cwo(nodim)                     73  # clean water offset, nodim == counts
189  sensor: u_bbfl2s_bb_sf(Mnodim)                     3.49  # scale factor to get units
190  sensor: u_bbfl2s_chlor_sf(ug/l/nodim)            0.0126  # scale factor to get units
191  sensor: u_bbfl2s_cdom_sf(ppb/nodim)              0.0914  # scale factor to get units
192  
193 # sensor fields to send
194 # ctd41p
195   sensor: c_ctd41cp_num_fields_to_send(nodim) 4 # 4 enables timestamp
196
197 # oxy3835_wphase
198   sensor: c_oxy3835_wphase_num_fields_to_send(nodim)   4 # default in masterdata is 10
199 # hierarchy of oxy3835_wphase outputs
200 # oxy3835_wphase  Aanderaa oxygen optode         0.5 hz     11      3
201 #                 3835 Sensor, 2nd configuration                       
202 #                   sci_oxy3835_wphase_oxygen(nodim) # dim is actually uMolar
203 #                   sci_oxy3835_wphase_saturation(nodim)
204 #                   sci_oxy3835_wphase_temp(nodim)
205 #                   sci_oxy3835_wphase_dphase(nodim)
206 #                   sci_oxy3835_wphase_bphase(nodim)
207 #                   sci_oxy3835_wphase_rphase(nodim)
208 #                   sci_oxy3835_wphase_bamp(nodim)
209 #                   sci_oxy3835_wphase_bpot(nodim)
210 #                   sci_oxy3835_wphase_ramp(nodim)
211 #                   sci_oxy3835_wphase_rawtemp(nodim)
212 #                   sci_oxy3835_wphase_timestamp(sec)
213
214 # proglet bbfl2s: wet labs bbfl2slo fluorometer / backscatter sensor
215 sensor: c_bbfl2s_num_fields_to_send(nodim)   10 # in, number of columns to send on each
216                                                 #    measurement, fields to send chosen
217                                                 #    by order in the list below
218                      # output sensors, listed in PRIORITY order
219                      # e.g. if c_bbfl2s_num_fields_to_send is 3, cols derived
220                      # from 4,6,8 sent
221 # sensor: sci_bbfl2s_bb_scaled(nodim)     0   # derived from col 4
222 # sensor: sci_bbfl2s_chlor_scaled(ug/l)   0   # derived from col 6
223 # sensor: sci_bbfl2s_cdom_scaled(ppb)     0   # derived from col 8
224 # sensor: sci_bbfl2s_bb_sig(nodim)        0   # col 4
225 # sensor: sci_bbfl2s_chlor_sig(nodim)     0   # col 6
226 # sensor: sci_bbfl2s_cdom_sig(nodim)      0   # col 8
227 # sensor: sci_bbfl2s_bb_ref(nodim)        0   # col 3
228 # sensor: sci_bbfl2s_chlor_ref(nodim)     0   # col 5
229 # sensor: sci_bbfl2s_cdom_ref(nodim)      0   # col 7
230 # sensor: sci_bbfl2s_temp(nodim)          0   # col 9
231 # sensor: sci_bbfl2s_timestamp(timestamp) 0   # secs since 1970
232
233 # proglet bbam: Wetlabs BAM beam attenuation meter
234 sensor: c_bbam_num_fields_to_send(nodim) 6 # in, number of columns to send on each
235
236 # sensor: sci_bbam_beam_c(1/m)             0 # out, beam C
237 # sensor: sci_bbam_corr_sig(nodim)         0 # out, corrected signal value
238 # sensor: sci_bbam_raw_sig(nodim)          0 # out, raw signal value
239 # sensor: sci_bbam_raw_ref(nodim)          0 # out, raw reference value
240 # sensor: sci_bbam_therm(nodim)            0 # out, thermistor
241 # sensor: sci_bbam_timestamp(timestamp)    0 # secs since 1970
242
243 # END OF AUTOEXEC.MI
Note: See TracBrowser for help on using the browser.