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 |
|
---|
31 |
name pelagia |
---|
32 |
|
---|
33 |
#Unit 044 |
---|
34 |
#C-2060-2 Rev E #048 |
---|
35 |
#ARGOS ID # |
---|
36 |
#Seimac Smartcat #61521 |
---|
37 |
#Freewave slave #915-4408 |
---|
38 |
#Freewave master #918-7790 |
---|
39 |
#GPS #J01474502 |
---|
40 |
#Compass #0642 |
---|
41 |
#Persistor Main #51677 |
---|
42 |
#Flash Card #17574 |
---|
43 |
#Persistor Payload # |
---|
44 |
#Fash Card Payload # |
---|
45 |
#Stack Card Payload # |
---|
46 |
#SBMB #007 |
---|
47 |
#SBE #035, 508 psi |
---|
48 |
#Pressure Transducer #67477, 300 psi |
---|
49 |
#Bouyancy Pump #040 |
---|
50 |
#Pump Motor 045 |
---|
51 |
#Pitch Motor #039 |
---|
52 |
#Air pump assembly #air 0005 |
---|
53 |
#Airmar Transducer/altimeter #396436 |
---|
54 |
#Digifin #0975 |
---|
55 |
#Iridium Antenna # |
---|
56 |
#Pinger #0032 |
---|
57 |
#Iridium Modem # |
---|
58 |
#Iridium SIM Card #8988169224000341389 |
---|
59 |
#RS485 #234 |
---|
60 |
|
---|
61 |
installed gps |
---|
62 |
installed attitude |
---|
63 |
installed ocean_pressure |
---|
64 |
installed vacuum |
---|
65 |
installed battery |
---|
66 |
installed argos |
---|
67 |
installed air_pump |
---|
68 |
installed pitch_motor |
---|
69 |
installed science_super |
---|
70 |
#installed pinger |
---|
71 |
installed digifin |
---|
72 |
installed altimeter |
---|
73 |
installed iridium |
---|
74 |
installed buoyancy_pump |
---|
75 |
|
---|
76 |
# Altimeter model |
---|
77 |
sensor: f_altimeter_model(enum) 1 # airmar(mod1) |
---|
78 |
|
---|
79 |
# Turns science computer on |
---|
80 |
sensor: c_science_on(bool) 1 |
---|
81 |
|
---|
82 |
sensor: c_science_send_all(bool) 0 # T->send all sci_ vars from science but still log them on science. |
---|
83 |
# F->just send standard subset but still log them all on science. |
---|
84 |
|
---|
85 |
# Iridium Configuration |
---|
86 |
# For a commercial card: 001508XXXXXXX |
---|
87 |
# sensor: c_iridium_phone_num(digits) 19109622010 # no leading zeros in this number |
---|
88 |
# UNCW |
---|
89 |
# sensor: c_iridium_phone_num(digits) 19195138757 # no leading zeros in this number |
---|
90 |
# NCSU |
---|
91 |
sensor: c_iridium_phone_num(digits) 881600005143 # no leading zeros in this number |
---|
92 |
# UNC GLIDER STD (RUDICS gateway) |
---|
93 |
|
---|
94 |
|
---|
95 |
# For a military card: 00697508XXXXXXX |
---|
96 |
# sensor: c_iridium_phone_num(digits) 6979109622010 # no leading zeros in this number |
---|
97 |
|
---|
98 |
sensor: c_iridium_lead_zeros(nodim) 2 # number of leading zeros in phone number |
---|
99 |
# typically 2 for both commercial or military |
---|
100 |
# sensor: c_iridium_phone_num_alt(digits) 6975085482446 |
---|
101 |
|
---|
102 |
# current correction on |
---|
103 |
sensor: u_use_current_correction(nodim) 0 |
---|
104 |
|
---|
105 |
# min water depth to prevent false yo's with <7m altimeter hits |
---|
106 |
# sensor: u_min_water_depth(m) 7 |
---|
107 |
|
---|
108 |
# Glider configuration |
---|
109 |
sensor: F_MAX_WORKING_DEPTH(m) 102 |
---|
110 |
|
---|
111 |
# vacuum calibration |
---|
112 |
sensor: u_vacuum_cal_m(inHg/Volt) -11.848 # Factory Calibration data |
---|
113 |
sensor: u_vacuum_cal_b(inHg) 27.057# inHg = m V + b |
---|
114 |
|
---|
115 |
# ocean_pressure calibration |
---|
116 |
sensor: f_ocean_pressure_full_scale(bar) 24.000 # pressure at FS volts |
---|
117 |
sensor: f_ocean_pressure_min(volts) 0.239 # voltage for 0 pressure |
---|
118 |
sensor: f_ocean_pressure_max(volts) 2.065 # voltage for FS pressure |
---|
119 |
|
---|
120 |
# ballast_pumped |
---|
121 |
# max = safety_max - deadzone |
---|
122 |
sensor: f_ballast_pumped_safety_max(cc) 243.0 # in, damage to glider |
---|
123 |
sensor: f_ballast_pumped_deadz_width(cc) 10.0 # in, sets x_ limit |
---|
124 |
sensor: f_ballast_pumped_db_frac_dz(nodim) 1.0 # deadband as fraction of dead zone |
---|
125 |
sensor: f_ballast_pumped_nominal_vel(cc/sec) 43 # in, nominal speed |
---|
126 |
# Specs linear relationship between sensor units (cc) and the |
---|
127 |
# voltage we actually read out of the AD for position |
---|
128 |
# pumped(cc) = pumped_cal_m(cc/Volt) * volts + pumped_cal_b(cc) |
---|
129 |
sensor: f_ballast_pumped_cal_m(cc/Volt) 504.484 # in, slope |
---|
130 |
sensor: f_ballast_pumped_cal_b(cc) -429.484 # in, y-intercept |
---|
131 |
|
---|
132 |
# battpos |
---|
133 |
# max = safety_max - deadzone |
---|
134 |
# x_max_battpos = f_safety_max_battpos - f_deadzone_width_battpos |
---|
135 |
sensor: f_battpos_safety_max(inches) 1.2 # in, damage to glider |
---|
136 |
sensor: f_battpos_deadzone_width(inches) 0.2 # Sets x_ limit |
---|
137 |
sensor: f_battpos_db_frac_dz(nodim) 1.0 # deadband as fraction of dead zone |
---|
138 |
sensor: f_battpos_nominal_vel(inches/sec) 0.56 # nominal speed |
---|
139 |
# Specs linear relationship between sensor units (inches) and the |
---|
140 |
# voltage we actually read out of the AD for position |
---|
141 |
# battpos(inches) = _cal_m(inches/Volt) * volts + _cal_b(inches) |
---|
142 |
|
---|
143 |
#Old cal values |
---|
144 |
#sensor: f_battpos_cal_m(inches/Volt) 2.566 # slope |
---|
145 |
#sensor: f_battpos_cal_b(inches) -3.553 # y-intercept |
---|
146 |
|
---|
147 |
#New Cal values with pitch battery adapter |
---|
148 |
sensor: f_battpos_cal_m(inches/Volt) 2.574 # slope |
---|
149 |
sensor: f_battpos_cal_b(inches) -3.537 # y-intercept |
---|
150 |
|
---|
151 |
# fin, motor.c motor_drivers . fin calibrated at 35 |
---|
152 |
# max = safety_max - deadzone |
---|
153 |
sensor: f_fin_safety_max(rad) 0.480 # in, damage to glider. |
---|
154 |
# # .610 for fin_motor, .480 for digifin |
---|
155 |
sensor: f_fin_deadzone_width(rad) 0.035 # in, Sets x_ limit |
---|
156 |
sensor: f_fin_db_frac_dz(nodim) 1.0 # deadband as fraction of dead zone |
---|
157 |
sensor: f_fin_nominal_vel(rad/sec) 0.0981 # in, nominal speed |
---|
158 |
sensor: f_fin_cal_m(rad/Volt) 0.671 # slope |
---|
159 |
sensor: f_fin_cal_b(rad) -0.876 # y-intercept |
---|
160 |
# Specs linear relationship between sensor units (rads) and the |
---|
161 |
# voltage we actually read out of the AD for position |
---|
162 |
# fin(rad) = _cal_m(rad/Volt) * volts + fin_cal_b(rad) |
---|
163 |
|
---|
164 |
|
---|
165 |
|
---|
166 |
# bbfl2s s/n BBFL2SLO-188 |
---|
167 |
sensor: U_bbfl2s_is_calibrated(bool) 1 |
---|
168 |
sensor: u_bbfl2s_bb_cwo(nodim) 52 # clean water offset, nodim == counts |
---|
169 |
sensor: u_bbfl2s_chlor_cwo(nodim) 55 # clean water offset, nodim == counts |
---|
170 |
sensor: u_bbfl2s_cdom_cwo(nodim) 73 # clean water offset, nodim == counts |
---|
171 |
sensor: u_bbfl2s_bb_sf(Mnodim) 3.49 # scale factor to get units |
---|
172 |
sensor: u_bbfl2s_chlor_sf(ug/l/nodim) 0.0126 # scale factor to get units |
---|
173 |
sensor: u_bbfl2s_cdom_sf(ppb/nodim) 0.0914 # scale factor to get units |
---|
174 |
|
---|
175 |
# sensor fields to send |
---|
176 |
# ctd41p |
---|
177 |
sensor: c_ctd41cp_num_fields_to_send(nodim) 4 # 4 enables timestamp |
---|
178 |
|
---|
179 |
# oxy3835_wphase |
---|
180 |
sensor: c_oxy3835_wphase_num_fields_to_send(nodim) 4 # default in masterdata is 10 |
---|
181 |
# hierarchy of oxy3835_wphase outputs |
---|
182 |
# oxy3835_wphase Aanderaa oxygen optode 0.5 hz 11 3 |
---|
183 |
# 3835 Sensor, 2nd configuration |
---|
184 |
# sci_oxy3835_wphase_oxygen(nodim) # dim is actually uMolar |
---|
185 |
# sci_oxy3835_wphase_saturation(nodim) |
---|
186 |
# sci_oxy3835_wphase_temp(nodim) |
---|
187 |
# sci_oxy3835_wphase_dphase(nodim) |
---|
188 |
# sci_oxy3835_wphase_bphase(nodim) |
---|
189 |
# sci_oxy3835_wphase_rphase(nodim) |
---|
190 |
# sci_oxy3835_wphase_bamp(nodim) |
---|
191 |
# sci_oxy3835_wphase_bpot(nodim) |
---|
192 |
# sci_oxy3835_wphase_ramp(nodim) |
---|
193 |
# sci_oxy3835_wphase_rawtemp(nodim) |
---|
194 |
# sci_oxy3835_wphase_timestamp(sec) |
---|
195 |
|
---|
196 |
# proglet bbfl2s: wet labs bbfl2slo fluorometer / backscatter sensor |
---|
197 |
sensor: c_bbfl2s_num_fields_to_send(nodim) 10 # in, number of columns to send on each |
---|
198 |
# measurement, fields to send chosen |
---|
199 |
# by order in the list below |
---|
200 |
# output sensors, listed in PRIORITY order |
---|
201 |
# e.g. if c_bbfl2s_num_fields_to_send is 3, cols derived |
---|
202 |
# from 4,6,8 sent |
---|
203 |
# sensor: sci_bbfl2s_bb_scaled(nodim) 0 # derived from col 4 |
---|
204 |
# sensor: sci_bbfl2s_chlor_scaled(ug/l) 0 # derived from col 6 |
---|
205 |
# sensor: sci_bbfl2s_cdom_scaled(ppb) 0 # derived from col 8 |
---|
206 |
# sensor: sci_bbfl2s_bb_sig(nodim) 0 # col 4 |
---|
207 |
# sensor: sci_bbfl2s_chlor_sig(nodim) 0 # col 6 |
---|
208 |
# sensor: sci_bbfl2s_cdom_sig(nodim) 0 # col 8 |
---|
209 |
# sensor: sci_bbfl2s_bb_ref(nodim) 0 # col 3 |
---|
210 |
# sensor: sci_bbfl2s_chlor_ref(nodim) 0 # col 5 |
---|
211 |
# sensor: sci_bbfl2s_cdom_ref(nodim) 0 # col 7 |
---|
212 |
# sensor: sci_bbfl2s_temp(nodim) 0 # col 9 |
---|
213 |
# sensor: sci_bbfl2s_timestamp(timestamp) 0 # secs since 1970 |
---|
214 |
|
---|
215 |
# proglet bbam: Wetlabs BAM beam attenuation meter |
---|
216 |
sensor: c_bbam_num_fields_to_send(nodim) 6 # in, number of columns to send on each |
---|
217 |
|
---|
218 |
# sensor: sci_bbam_beam_c(1/m) 0 # out, beam C |
---|
219 |
# sensor: sci_bbam_corr_sig(nodim) 0 # out, corrected signal value |
---|
220 |
# sensor: sci_bbam_raw_sig(nodim) 0 # out, raw signal value |
---|
221 |
# sensor: sci_bbam_raw_ref(nodim) 0 # out, raw reference value |
---|
222 |
# sensor: sci_bbam_therm(nodim) 0 # out, thermistor |
---|
223 |
# sensor: sci_bbam_timestamp(timestamp) 0 # secs since 1970 |
---|
224 |
|
---|
225 |
# END OF AUTOEXEC.MI |
---|