MIT-Y-03-002 C2
CREATION AND DEPLOYMENT OF THE NEREUS AUTONOMOUS UNDERWATER CHEMICAL ANALYZER AND KEMONAUT, AN ODYSSEY CLASS SUBMARINE
Richard Canulli
MITSG 03-32TH
~ ~ 0 ~
~ ~ ~ CREATION AND DEPLOYMENT OF THE NEREUS AUTONOMOUS UNDERWATER CHEMICAL ANALYZER AND KEMONAUT, AN ODYSSEY CLASS SUBMARINE
Richard Camilli
MITSG 03-32TH
SeaGrant CollegeProgram MassachusettsInstitute of Technology Cambridge,Massachusetts 02139
+SF Grant No.: EAR-0330272 Creation and Deployment of the NEREUS AutonomousUnderwater ChemicalAnalyzer and Kemonaut, an OdysseyClass Submarine
by
Richard Camilli
B,A,, Biology 996! Cheyney University
M.S,, Civil and Environmental Engineering 000! MassachusettsInstitute of Technology
Submittedto the Departmentof Civil andEnvironmental Engineering In PartialFulfillment of the Requirementsfor the Degreeof Doctor of Philosophyin Civil andEnvironmental Engineering
at the
MassachusettsInstitute of Technology
June 2003
2003 MassachusettsInstitute of Technology All rights reserved
Signatureof Author Departmentof Civil andEnvironmental Engineering November, 2002
Certified by Harold F. Hemond Professorof Civil andEnvironmental Engineering Thesis Supervisor
Accepted by Oral Buyukozturk Chairman, Departmental Committee on Graduate Studies Creationand Deployment of the NEREUS Autonomous Underwater ChemicalAnalyzer and Kemonaut, anOdyssey Class Submarine
by
Richard Camilli
Submittedtothe Department ofCivil and Environmental Engineering onMarch 27, 2003 in partial fulfillment ofthe requirements for theDoctor ofPhilosophy inCivil and Environmental Engineering
ABSTAIN CT: NEREUSisa compactself-contained low-power submersible membrane-inlet mass spectrometer,designed to measure dissolved volatile gasses in the water column. It is capableof intelligent data collection, analysis and state-based mission control while operatingasa stand-aloneinstrument oronboard theKemonaut autonomous underwater vehicle AUV!. Kemonaut isan Odyssey classAUV with increased payload carrying capacityand dynamic stability, and is intendedfor &eshwaterand coastal marine applicationstodepths of300 meters. The NEREUS-Kemonaut systemcharacteristics allowfor greatly improved dissolved gasdata collection rates,accuracy andmapping resolutionoverpresently available technologies, Applications particularly wellsuited for theNEREUS-Kemonaut systeminclude identification andmapping ofpollution sources suchas chemical spills, investigation ofenigmatic freshwater andmarine ecosystems, assessmentofsubsurface natural resources andestimation ofmarine-related greenhouse gascycling.
A giftispure when it is given from the heart tothe right person atthe right time andat the right place, and when we expect nothing inreturn,
The BhagavadGita
To my mother TMsiskind of hefty, soI maCka special rcfrigcrator magnetto go with it. Scc section 2 2.i!
TABLE OF CONTENTS
Chapter 1 INTRODUCTION.
1.1 Autonomous machines. . 16 1.2 Autonomous underwater vehicles. .17 1.3Mass spectrometry . .... 1 9 1.4Autonomous In-situ mass spectrometry . . 20 1.5 Applications . 24 1.6 Systemperformance. ...... ,...... ...... ,...... ,. ...,...,...... 26 Chapter2 MECHANICAL AND ELECTRONICHARDWARE. 27 2.1 Vacuumsystem. .,28 2.1.1 Vacuumenvelope...... ,...... ,...... ...... ... 28 2.1.2Inlet apparatus..... ...... ,...... ,...... ,,29 2.1.3Ion pump 32 2.2 Analyzer. .. 34 2.2.1Analyzer magnet ,... 35 2.2.2Cycloid analyzer ....37 2.3 Electronic Control ...,41 2.3.1Embedded computer 42 2.3.2 Communication,.
2.3.3Data acquisitionand instrumentcontrol ....43 2.3.4 Mass Selector. ...44 2.3.5Emission regulator . ...47 2.3.6Electrometer ...... ,...... ,...... ,...... ,...... 49 2.4 Powersystem ....60 2.5Component housings, frame, and mounting apparatus. ...,62 2.5.1 Frame .....63 2.5.2Mounting plate, .....64 2.5.3 Instrument cover .....65 2.5.4 Attachment disk .....66 2.5.5Electronics housings ...... 67 2.5.6Hardhat protector .....68 2.6Instrument startup and sphere sealing...... 70 Chapter3 SOFTWARE...... ,...... 73 3.1 EmbeddedCode ...... ,...... .... ...... ,.....,...... 73 3.1.1Embedded display and user interface ...... ,...... 74 3.1.2 Instrument Control. , 76 3.1.3Calibration...... ,...... ,... ...... ,. ...... 77 3.1.4Operational modes . 80 3.1.5Signal Averaging 81 3.1.6Data handling..... 82 3.1.7Data storage. .. 82 3.2 Supervisorycontrol...... 83 3.2.1Communications protocol. ... 84 3.3 RemoteGraphical User interface...,...... ...... ,...... 86 3.3,1 Main window ., 3.3.2Command initialization,..... 87 3.3,3Data parsing. , .....88 . .. 89 3.3.4 Data visualization.. 3.3.5Data storage and retrieval, ..... ,...... ,...... ...... ...... , .....90 3.4 Quantitativepeak evaluation...... 93 Chapter4 AUTONOMOUS UNDERWATER VEHICLE DESIGN 94 4.1 OdysseyII designoverview ...97 4.2 OdysseyIII design ..98 4.3Kemonaut development ... 101 4.3.1Design and construction.. ... 101 4.3.2Control and navigation, ... 103 4.3.3Assembly ... 109 4.3.4Stability and ballasting...... ,...... ,...... ,...... ...... ...... 109 Chapter5 NEREUSBENCH TESTING. . ... 112 5.1Dissolved gas gradient sampling . . 115 5.2Computerized operation and noise analysis. 118 5.3Instrument sensitivity. ... 120 5.4 Ion fragmentation ,. 124 5.5Temperature associated peak height variation. ... 125 5.5.1Temperature dependent detection limits ... 126 5.6Variability in ionpump efficiency.....,...... ...... ,...... 128 5.7Instrument response time. ...... ...... ...... ,...... ,...... ,...... 130 5.8 Submergedtesting. ... 132 Chapter6 DEPLOYMENTAND SEATRIALS . 137 6.1Tethered deployments. . 139 6.2 Toweddeployment.. 139 6.3 AUV deployment ... 150 Chapter7 CONCLUSIONSAND FUTURE WORK .. 157 7.1 Towardroutine operation. ... 167 7.2 Systemoptimization.. ,. 168 7.3Sensor integration andreal-tiine data interpretation. ... 169 7.4Future prototypes ...... 170 REFERENCES ... 171 NEREUSCIRCUIT DIAGRAM, ... 173 NEREUSEMBEDDED CODE...... 181 THETISSPECTRAL VIEWER CODE . .. 183 NEREUSDATA INTERPRETERCODE, 203 ... 253 TABLE OF FIGURES
Figure1-1: Rendering of theKemonaut AUV Figure1-2;NEREUS instrument pictured beside laboratory microscope 19 Figure2-1: The NEREUS instrument withupper glass hemisphere removed ..... 24 Figure2-2: Vacuum Envelope cutaway view....,...... ,....,...... 27 Figure2-3:Membrane compression andsagging resulting fromhydrostatic pressure.... 2930 Figure2-4: Sample inlet apparatus Figure2-5: Ion pump, cycloid and vacuum envelope assembly. .... 3 1 Figure2-6: Machined ionpump housing.. ...33 Figure2-7: Asymmetrically shaped analyzer magnet ....34 Figure2-8: Ion trajectory ofcycloidal mass analyzer ...... 36 Figure2-9: NEREUS cycloid tube constructed froma modifiedCEC21-620 .... ,. 37 Figure2-10: Conflat flange with dual BNC feed through 39 Figure2-11: Scancontroller detail .41 Figure2-12: Software controlled emission regulator on/off relay...... 46 Figure2-13: Teledyne parametric op-amp electrometer designby Hemond ...... 48 Figure2-14: Optimal feedback resistor value...... 50 Figure2-15: NEREUS electrometer circuit, 51 Figure2-16: Electrometer sensitivity vs.sampling frequency ..53 Figure2-17: NEREUS electrometer ...... ,...... 54 Figure2-18: Electrometer shielding andmounting 55 Figure2-19: Power spectral density ofelectrometer withand without compensator...... 5756 Figure2-20: Cross correlation ofelectrometer noisewith and without compensation ....58 Figure2-21:Power spectrum densitycomparison ofNEREUS andHemond-Teledyne electrometers...... ,...... Figure2-22: Layout ofNEREUS components withinpressure sphere 59 Figure2-23: NEREUS instrument kame...... ,...... ,...... ,...... 6463 Figure2-24: Mounting plateplacement ofanalyzer, detector andion pump assemblies. 65 Figure2-25: Composite instrument cover...... ...... 66 Figure2-26; Embedded computer with memory card. Figure2-27: The NEREUS instrument, sealedwithin itspressure housing...., 68 Figure3-1: Remote calibration GUI for NEREUS instrument 69 Figure3-2: Valid command string example 78 Figure3-3:Thetis Spectral Viewer login window...., ...... ,...... 8785 Figure3-4;Thetis Spectral Viewer main window....,...... 88 Figure3-5:Thetis GUIcommand radiobutton fields andtool bar ...... ,...... ,.....89 Figure3-6:Thetis GUI status bar ...... ,...... ,...... ,...... ,...... 89 Figure3-7: Thetis GUI histogram fieldwith red temporal window Figure3 8.Thetis GUI spectrum field...... ,....,..... ,...... 91 Figure3-9: Thetis Spectral Viewer main window with data table visible... 92 Figure3-10: NEREUS Peak Interpreter GUI 93 Figure4-1: Odyssey I vehicle courtesy ofMIT Sea Grant! 94 Figure4-2:Odyssey IIdXanthos AUV ...... ,...... ,...... ,...... 10098 Figure4-3:MIT Sea Grant Odyssey IIICaribou AUV...... ,...... ,...... ,...... 101 Figure4-4:Glass pressure sphere placement within the Keinonaut AUV ...... ..... 104 Figure4-5: Cut-away view of Kemonaut,exposing upper floatation foam and lift harness Figure4-6: Exploded diagram ofKemonaut vehicle components ...... ...... ,..... 107108 Figure4-7: Positioning of the NEREUS instrument within the Kemonaut forward payloadbay...... 1 0I Figure4-8: Partially assembled Kemonaut, showing the NEREUS instrument and compositegirder "" -""" ....".....",...... ,...... 111 Figure4-9: Structural integrity test of fully laden Kemonaut vehicle... 111 Figure4-10: Kemonaut ballasting inUpper Mystic Lake,,...... ,..... 113 Figure5-1: NEREUS setup using Keithley electrometer and10-turn potentiometer ....115 Figure5-2: First NEREUS scan completed onJanuary 8,2002, showing ambient air spectrumcontaining water, nitrogen, oxygen, and argon peaks...... ...... , 116 Figure5-3: NEREUS ambient air spectrum using on board electrometer with 10' D feedbackresistor, ...,...... ,...... ...... ...... 117 Figure5-4: Measurements ofdissolved gases ina synthesizedgradientusing Mishawum Lakewater.... . 119 Figure5-5; Conceptual diagram ofNEREUS control and data acquisition design...... 121 Figure5-6: Ambient airspectruin, performed using computer control and data acquisition atmass step interval = 0.1M/Z. This spectrum reveals the presence ofnitrogen, oxygen,argon, water vapor, and carbon dioxide...... ,...... ,.. 122 Figure5-7: Comparison oftypical noise characteristics ofthe NEREUS instrument when operatedusing differing signal averaging regimes...... ,..... 123 Figure5-8: RMS noise versus time required forcompletion ofa highresolution, 1385 datapoint, scan using a 100MHzembedded computer ....,...... ,...... 123 Figure5-9: A high-resolutionspectrum ofambient airdetailing nitrogen gasand an apparent' N-' N isotopicpeak.. ,...... ...... ,...... ,...... ,...... ,...... 124 Figure5-10: 'Qon peak height of dissolved gases inatmospheric equilibrium asa function oftemperature. ,...... ,...... ...... ,...... ...... ,...... ,..... 127 Figure5-11: Model ofNEREUS ionpeak height sensitivity asa functionoftemperature. Datapoints are normalized toNEREUS spectrum data from filtered water at 22'C, Figure5-12: NEREUS ionsignal variability, recorded while submerged ina flume. . ... 128 Spectrumscans executed using a peakjumping algorithm...... ,...... ,... 131 Figure5-13: Calculated overall NEREUS time to steady state measurement forvarious gases ...... 1 34 Figure5-14: NEREUS time response tocarbon dioxide ...... ,.... 135 Figure5-15: Time response ofHemond backpack portable mass spectrometer tonitrogen gas .. ...,...... ,...... 1 36 Figure5-16: NEREUS time response tobenzene...... ...... ,...... ... 137 Figure6-1: Tethered NEREUS configuration withHydrolab ...,...... 140 Figure6-2: NEREUS spectrum Rom at 2 metersdepth inthe Halls Brook Holding Area ,...... ,...... ,...... ,...... 1 4 I Figure6-3: NEREUS depth profile of ion peaks inthe Halls Brook Holding Area...... 142 Figure6-4: Hydrolab depth profile of dissolved oxygen, salinity and temperature inthe HallsBrook Holding Area ....,.....,...... .... 142
10 Figure6-5: Location oftethered NEREUS deployment inBoston Harbor ...... ...... , 143 Figure6-6:Microscopic comparison ofa newmembrane left!,and after heat forming anddeployment to 12 meters depth right! . Figure6-7: Boston Harbor spectrum at1.5 meters depth, 144 Figure6-8: Boston Harbor spectrum at3 metersdepth. 145 Figure6-9: Boston Harbor spectrum at4.5 meters depth...... 145 Figure6-10: Boston Harbor spectrum at6 meters depth ...... , ...... 146 Figure6-11: Boston Harbor spectrum at7.5 meters depth ... 146 Figure6-12: Boston Harbor spectrum at9 metersdepth. 147 Figure6-13: Boston Harbor spectrum at10.5 meters depth, 147 Figure6-14: Boston Harbor spectrum at12 meters depth 148 Figure6-15: Depth profile of BostonHarbor 148 Figure6-16: Oxygen signal correlation ofNEREUS andHydrolab datafrom Boston 149 Harbor Figure6-17: 3-D map oftowed NEREUS deployments inUpper Mystic Lake .. ...... Figure6-18; Oxygen signal correlation ofNEREUS andHydrolab datafrom Upper Mystic Lake, Dec. 13. .... Figure6-19: Oxygen signal correlation ofNEREUS andHydrolab data&om Upper 153 Mystic Lake, Dec. 15 Figure6-20: Chemical profile ofUpper Mystic Lake, December 15,2002 ...... ...... 154 Figure6-21: The Kemonaut AUVprior to deployment inBoston Harbor...... ,..... 156 Figure6-22;Nautical ChartofBoston Harbor showing GIBplacement andoverall area157 of operation . Figure6-23: Kemonaut pressure transducer record ... ,...... ,...... ,...... 159 Figure6-24:2-D GIBhydrophone surface track log of Kemonaut divemissions 160 Figure6-25: 3-dimensional GIBhydrophone tracklog of Kemonaut divemissions.... 163162 Figure6-26: A typicalNEREUS spectrum thatwas recorded while onboard the KemonautAUV, showing dissolved nitrogen, oxygen andargon...... ,...... ,...... 165 Figure6-27: NEREUS recordof dissolved gasion signal during Kemonaut deployinent inBoston Harbor. 165
Table1-1: Comparison ofsubmersible massspectrometer specifications,... Table2-1: Cycloid pin out, ....23 Table2-2: Waterproof cable pin assignments ...... ,...... ,...... ...... ...... 40 Table2-3: Cycloid electric field potentials ...43 Table2-4: Power system wiring harness connector 47 Table2-5: Current requirements andfuse ratings ofelectronic circuits....,...... 60 Table2-6: 10 base-T power connector wiring...... ,.....,...... 61 Table3-1: Embedded computer BIOS settings 62 Table3-2 Parallel port registers and functions ..;...... 75 Table3-3 Command string functional elements and values ...... 77 Table5-1: Approximate scan input potentials...... 85 ...... 118 Table5-2: Ion 6agmentation ratios...... ,...... ,...... ,...... ...... ...... ,..... 125
11 Equation2-1:Fundamental thermalnoise offeedback resistor . ,, ...50 Equation3-1:Mass calibration equation,, , . ,....,, .79 Equation3-2:Peak-finding algorithm ...... ...... ,...... ...... ,...... ,...... 95 Equation5-1:Membrane permeability asa function oftemperature,...... ,. 127 Equation5-2:Inlet gas flux as a functionofmembrane geometry, permeability, andgas concentration. ...129 Equation5-3:Fick's second lawof diffusion.....,...... ,...... ,...... ,.... 133 Equation5-4:Analyte gasinflux,...... ,...... ,...... ...... ,...... ...... ,...... 133 Equation5-5:Membrane response timelag ...... ,...... ,...... ,.. 133
12 13 16century painting ofAlexander TheGreat descending ina glass diving bell
14 Chapter 1
INTRODUCTION
Theaquatic environment isinterwoven throughout thehistory ofmankind, serving as a transportationconduit as well as a sourceofsustenance, religion, wealth, beauty and death.Approximately 37/0of the world's population lives within 100 km of an ocean [1], yethumanity's understanding ofthe hydrosphere hasremained extremely limited. At present,our understanding of the dark side of themoon exceeds what is knownabout the bottomof the Eath's oceans. Like the surface of themoon, the submarine environment is inhospitabletohumans, requiring technological devices for exploration, and since ancient timesmankind hassought toobserve thesubmarine environment in-situ. Writings as earlyas Aristotle's Physika Problemata chronicle theuse of submergence systems that, "enablethe divers to respire equally well by letting down a cauldron;forthis does not fill withwater, but retains the air, for it isforced down straight into the water; since, if it inclinesatall from an upright position, the water flows in" [2]. Many legends also surroundAlexander TheGreat's use of a divingbell [3], known asthe Colimpha, during hissiege of Tyreto observedemolition divers removing underwater obstacles from the harbor.The advantages ofin-situ observation have persisted through modern times, leadingtothe use of manned submersibles suchas the Trieste, Archimede, Alvin, and NR1for scientific survey ofthe deep [4]. Although extremely useful, the danger and operationalcostsassociated withthese manned submersibles [5]have prompted the developmentofsmaller robotic survey platforms, including buoyed sensors, drifters, remotelyoperated vehicles ROVs!, and autonomous underwater vehicles AUVs!. AUVs,which are the newest ofthese technologies, aredoubtlessly themost challenging ofthe unmanned systems todevelop because oftheir reliance onembedded expert systemsfornavigation control and operations decision-making, butthey also appear to holdthe greatest promise.
15 1.1 Autonomous machines
Waterclocks, arguably. the first autonomousmachines, have existed since at leastthe reignof AmenhotepI in AncientEgypt, some 3500 years ago. Over the millennia technologicaladvancement has expanded the domainautonomous machines to include the steamengine built by Hero of Alexandriain 100AD andthe mechanicalautomata of Generalde Gennes, Jacques de Vaucanson and Henri Maliardet in the17 through19'" centuries[6], but it wasnot until thelatter half of the 19 centurythat the fundamental valueof closed-loopfeedback in controlsystems was recognized [7]. Shortlythereafter, theadvent of long-rangeweapons systems and telephone switching electronics initiated therapid development of highly accurate inertial guidance systems for warshipsand aircraft.By WWIIcontrol and guidance systems had advanced to the point of allowing unmannedweapons such as the Vengeance I buzz bomb, an early form of cruisemissile, to beused against Britain, a technologicalaccomplishment that cost the lives of thousandsof people. Ironically, the M9 gun director and SCR-584 radar system, a then radicallyadvanced type of semi-autonomousanti-aircraft weapon capable of automatic targettracking and firing, was used to fendoff thebuzz bombs, downing 57'/0 of the missilesthat they engaged[7]. Duringthis samewartime period less sinister autonomous systems were under developmentin England by anAmerican neurological researcher, W. GreyWalter. His creations,a light and impact-sensitive mobile robot named Machina specularrix and a later,more advanced, mobile robot further equipped with memory and sound sensitivity, Machina docilis, wereused to deinonstratethat machinescould exhibit traits of spontaneity,autonomy, Pavlovian conditioning, and self-regulation, While studying these machines,Walter identified several emergent behaviors that were sufficiently sophisticatedto be described in anthropomorphized terms such as "speculative mode", "learning","reflex" and "&ee will" [8,9]. In thedecades since Walter's work a great dealof researchhas been dedicated to developingautonomous agents which rely on embeddedintelligence to operatewithin complexnatural environments in orderto fulfill predeterminedmission objectives. The resulting multitude of highlyspecialized systems includes,among others, walking robots such as Genghis [10], space probes such as the
16 DSl[11], and autonomous unmanned submersibles includingthe MIT Odyssey Class AUVs [12].
1.2Autonomous underwater vehicles AlthoughAUV use for oceanographic researchcomplements thestrengths ofmanned submersiblesandtethered robotic vehicles, thechallenges andbenefits ofAUV operationsarefundamentally differentfrom those ofexisting platforms [13!.As a result, AUVtechnologies areevolving ina mchewhere they will serve asa low-costmechanism for"spatio-temporal sampling;using multiple vehicles incombination formapping out rapidlyevolving phenomen[a]; andtransiting longdistances toa site formaking observationsasa partof a firstresponse teamat the sight ofinterest" [14].Unlike other unmannedplatforms suchas moorings, towfish, and remotely operated vehicles, an AUVdoes notrequire a tether, thusallowing a spatial survey tobe conducted faster, followbathymetry betterand operate inhigh sea states; translating intoincreased data collectionperunit time orcost, especially whena priori knowledge ofthe survey areais limited.Presently, thereare several dozentypes ofAUVs inoperation aroundthe world, ranginginsize f'rom thediminutive 37kg 1.6 meter long REMUS vehicle [15], tothe massive12meter long ISE Theseus withits one-ton cargo capacity [16].In recent years severalAUVdesigns havetransitioned f'romtheexperimental stagesintocommercially availablevehicles, including theKongsberg Hugin 3000 and the MIT allied Bluefin OdysseyIII. TheOdyssey ClassAUVs, originally developed atMIT Sea Grant, arerelatively small,easily deployable, lowcomponent costsurvey platforms thathave been used in numerousmissions throughout theworld [13]. These vehicles make use of low-cost, mass produced,hollowglass spheres tohouse vehicle electronics, sensorsand power systems ina dry,one-atmosphere environment.This maximizes buoyancyefficiency andpermits theuse ofa freeflooding vehicle fairing, thusminimizing vehicle displacement. However,theminimization ofvehicle displacement makesthetradeoff between range i.e.power storage! andpayload capacity a critical design consideration [17]. Thereisa needforin-situ chemical sensors forAUVs. The creation ofsuch sensors presentssignificant challenges, particularly forsmaller vehicles likethe Odyssey class
17 designs.Issues such assize, power consumption, andinstrument signalstability have, untilrecently, excluded theuse of highly capable analytical instruments suchas mass spectrometersandgas chromatographs onthese platforms. Thus, AUV generated chemicaldatahas usually been limited toa selectfewparameters usingion-sensitive electrodes,mainly: dissolved oxygen, salinity, ORP, pH, nitrate, phosphate andammonia. However,asBales and Levine aptly state, "To achieve widespread acceptance withinthe oceanographiccommunity, AUVs must also deliver, asa minimum,dataof coinparable qualitytothat collected today. Sensing andmeasurement systems designed for deployment&omthe surface e.g.on a samplingrosetteor tow-body! donot always meet thesize and power limits imposed byAUVs" [18]. In general, ion-sensitive electrodes do not meetthis stringentstandard. Thisresearch focuses onan emerging roleof mass spectrometry forsubmerged, autonomous,in-situoperation. Specifically, wedetail the development anddeployment ofthe Kemonaut AUVand the NEREUS autonomous submersible massspectrometer. TheKemonaut isa small, shallow water, AUV capable ofoperating todepths of300 meters.Itpossesses a unique forward payload bayfor carrying scientific instrumentation, suchas NEREUS. TheNEREUS instrument provides a means forrapid and i~-situ quantificationofmany gases which have, until now, required offsite analysis, Although NEREUSisdesigned foroperation aboard theKemonaut AUV Figure 1-1!, it can also beused within a BluefinOdyssey IIIAUV as well as a hostofother platforms. Operationofthe NEREUS instrument onboard anautonomous underwater vehicle enhancestheadvantages ofin-situ analysis ofdissolved volatile chemicals byincreasing therange and overall accessibility of data collection areas. Figure1-1: Rendering of theKemouaut AUV
1.3 Massspectrometry Theprinciples ofmass spectrometric analysis arewell understood. Ionrepulsion and attraction,a central phenomenon governing massspectrometry, wasobserved nearly 150 yearsago by J. Plucker inhis investigations ofmagnetically induced light pattern deformationswithina glowtube. In 1897J.J. Thomson demonstrated thatcathode rays cauldbe deflected byelectrostatic andmagnetic fields [19], followed in1898 by W. Wein'sdiscovery thata typeofray emitted during electrical discharge atlow pressure, knownatthat time as a Goldensteinray,was actually a positively charged ionbeam and couldalso be deflected bya magneticfield [20]. This phenomenon waslater elucidated withThomson's investigations ofthe parabolic trajectories ofhydrocarbons andother polyatomicionsin his book, Rays ofPositive Electricity and Their Application to ChemicalAnalyses [21]; thus establishing thations could be separated based ontheir massto charge ratio when accelerated through a magnetic field. From this work came the massspectrograph, a predecessor of the mass spectrometer, which relies on a photographicplateto record the presence ofion beams. However, thevariable ion sensitivityofthis early iiistrument's photographic plateprohibited precise quantification ofion intensity. Forthis reason, Thomson modified hisparabola mass spectrograph throughreplacement ofthe photographic platewith a Faradaycupand electroscope. By varyingthemagnetic fieldstrength andmeasuring theresultant ioncurrent, hethereby
19 createdthefirst mass spectrometer andproduced a mass spectrum thatquantitatively describedtherelative abundances ofindividual gases present ina mixture[22]. The terms massspectrometer and mass spectrograph would be later coined by F.W.Aston in 1920 [20]. Insubsequent yearsmass spectrometers haveevolved toaHow for precise mass determinations,measurement ofrelative ion abundances, andelectron impact studies. Thishas lead to mass spectrometric analysis becoming a standard procedure ina wide rangeof investigations outside chemistry and physics, including among others, industrial processcontrol, clinical diagnoses, isotope fractionation, radioactive half-life determinations,andenvironmental monitoring. In1942 Consolidated Engineering Corporationbuilt the world's first commercially available mass spectrometer forthe AtlanticRefining Corporation [20].As new applications haveemerged, specialized instrumentshavebeen developed tobetter suit particular constraints, resulting inhighly innovativecomponent variations such as ion source, mass selector, and detector. Technologicaladvancements, particularly inthe areas ofintegrated circuitry and materialsscience such as magnetic materials! have permitted thedevelopinent ofmore compactmass spectrometers. This, in turn,has enabled mass spectrometers for in-situ investigationsrangingfrom terrestrial battlefields [23],to Jupiter's atmosphere [24]. These"field portable" instruments werereduced insize and ruggedized tobe transported byspacecraft [25],aircraft [26], and large land vehicles [27,28] . Morerecently, a generationofminiaturized mass spectrometers havebeen developed which are suflcientlycompact andlightweight tobe carried bya persontoa measurement site[23, 29-31].
'I.4Autonomous In-situ mass spectrometry Massspectrometers arewell suited forautonomous in-situanalysis ofdissolved gases ina watercol~ becausea mass spectrometer canquickly detect multiple dissolved chemicalsatlow concentrations, andcan work without exhaust orconsumable reagents. Byimplementing automated control and data processing such as calibration and fragmentpeak separation! sample components canbe quickly identified andquantified in thepresence ofmixtures. Incontrast, conventional environmental chemical analysis
20 suchasgas chromatography orwet chemistry involves collecting andtransporting samplestoa laboratoryforoff-site analysis, resulting insampling andmeasurement that isgenerally labor intensive andtime-consuming. Additionally, error often arises because ofchemical andphysical changes occurring tothe sample during transport suchas degassingandbiological orphotochemical degradation. Although in-situ devices such as dissolvedoxygen probes avoid the drawbacks encountered withoff-site analysis, theyare commonlylimited todetecting oneor a fewgas species [32], with separate sensors requiredforeach specie andsensitivities oftypically about 1 ppm. Continuous samphng techniques,suchas the Weiss equilibrator, aregenerally limited toshipboard usewith modestsampling depths, andhave equilibration timesthat vaiy with gas species and range&om minutes tohours [33, 34]. The resulting data sparseness oftenleads to temporalaliasing translating intospatial aliasing when sampling froma moving platform!,which can mask important chemical andbiological features inan aquatic environment. Variousapproaches havebeen undertaken toaddress thedesign constraints of submersiblemassspectrometer operation. Instruments suchas the TUHH submersible membraneintroduction gaschromatograph massspectrometer GCMS! usea commerciallyavailable EM640 field portable GCMS housed within a cylindricalmetal pressurevessel [35!. This system, which uses a hollowfiber analyte introduction system, displacesapproximately 400kg and draws several hundred watts, requiring thatit functionaboard a remotely operated vehicle ROY! which ispowered andcontrolled via a tether&om a surfaceship. RecentlyAUVs have been developed withreliability, payload carrying capacity, and missionendurance adequate fordeployment ofa mass spectrometer. Nevertheless, mass spectrometeroperation aboard anAUV still introduces several critical instrument payload designconstraints, including manditory autonomous operation, smallsize, and exceptionallylowpower consumption [14].Instruments suchas the University ofSouth FloridaCenter forOcean Technology's COT!quadrupole andion trap mass spectrometers[36]utilize off-the-shelf butrepackaged Leybold Inficon Transpector and VarianSaturn 2000 analyzers, respectively. Bothuse a membraneinletsystem designed foroperation aboard anAUV. The COT quadrupole instrument hasbeen deployed aboard
21. the 6.4 meter 1,4 ton displacement ARCS AUV [37], but both systemsconsume power at high rates in excessof 100watts!, havedelicate membrane inlet systemsthat limit depth of operationto 30 metersand samplingrates no greaterthan 12 samplesper hour for their operatingtime of a few hours, The core design concept of the NEREUS membrane inlet mass spectrometer,was to developan in-situ dissolvedgas analyzer that is fast, robustand highly optimizedfor operationonboard a smallautonomous underwater vehicle andvarious other submerged platforms,including as a self-containedautonomous moored system [38]. To address these and other constraints, the NEREUS system is completely self contained within a 17-inch-diaineter glass pressuresphere, compatible with the Odyssey-classAUVs. It weighs22 kilograms,and is capableof operationto depthsof 100meters a depththat can be extendedwith minor modification! on a self contained power supply drawing less than 20 watts, while sampling at rates exceeding 240 samplesper hour. The NEREUS systemis alsounique in that it requiresno reagents,has no movingparts, and possesses an autonomouscontrol system capable of adapting its mission directives and sampling regimesto bettermonitor its environment.Much of the NEREUSprototype draws upon prior researchfocused on componentdevelopment [39], which culminatedin the constructionof vital NEREUSelements such as the vacuumenvelope and data acquisitionsystem, and the modehngof systembehaviors such as membranekinetics and vacuummaintenance within the analyzer.A previousgeneration backpack portable mass spectrometer[29], servedas the conceptualmodel from which the preliminaryNEREUS designwas based,Drawing from theseresources, NEREUS development proceeded with completionof a prototype chapter2! andbench testing chapter3!. After benchtesting, it was deployedas a stationary"buoyed" type sensor chapter5!. Upon successful demonstrationas a buoyedtype sensor,the Kemonautvehicle was designedand built chapter 4!. NEREUS was then configured for operation onboard the Kemonaut AUV and deployed chapter5!.
22 NEREUS COT Quadru ole COT lon Tra TUHH GC-MS" Power w 20 95 150 500 Wei ht k 21 75 65 Size m' 0.014 0.035 -0.6 0.11B Anat zer mass ran e AMU 2-150 2-200 unknown-500 2-640 Maximum sam lin rate /hr 600 12 12 Detection limit b 1-10 1-10 10-100 Instrument endurance Weeks Da s Da s Unknown De thratin m 100 30 30 300 Vehicle latform AUV AUV Intended for AUV RQV
Table1-1: Comparison of submersible mass spectrometer specifications
Whenused in conjunctionwith the Kemonaut or OdysseyIII vehicles,NEREUS can rapidlygenerate high-resolution data for mappingtemporal and spatial distribution of dissolvedgasses on local to basin scales. The relatively light 200 kg displacement and 300meter depth rating of theKemonaut vehicle enable routine single day operations, withminimal support equipment e,g. a smalldinghy and transponder array!, throughout theentire water column of manyfreshwater bodies such as inland lakes and rivers, as wellas shallow marine coastal areas like Chesapeake Bayand Cape Cod Bay. The larger OdysseyIII,which is capable to6000 meters depth and possesses andendurance ofup to 7 days[41] can, with minor modifications, bedeployed with the NEREUS system to generatehigh resolution maps of volatilechemicals, covering a lineardistance of over 1,000kilometers, containing approximately 7,000 high resolution spectra of multiple chemicalspecies. In contrast,current technologies. require orders of magnitude longer time &amesto generateequivalent data sets.
' Doesnot include submersible inlet apparatus EM640specifications from40, Einfetd,W., et al., Environmental Technology Verificarion ReporI, l 997,US Environmental Protection Agency, Office of Research andDevelopment; Washington DCp. l- 78.
23 Figure1-2:NEREUS instrument pictured beside laboratory microscope for size reference
1.5 AppIIcalions
Dissolvedgases in marineand freshwater environments canvary significantly both spatiallyand temporally [42-45j, Potential applications for theNEREUS-Kemonaut systemare numerous, including geochemical, ecological, hydrological, and chemical fate analyses. Geochemicalapplications arewide ranging including marine mapping of dissolved gases&om hydrothermal vents, active volcanic areas and low temperature ocean floor seeps.Investigations are valuable for offshoreoil exploration[46j and global climatologicalresearch [47, 48j. Methaneis often observedin increasedconcentrations in areasof freshwater inputs [49, 50j, anaerobic zones of bottom sediments [S1 j,oil andgas deposits,destruction of crystallohydrates,andemission along fractures in theearth's crust [52j. In-situmass spectrometric analysis of terrestrialvolcanic ermssions is usedas an indicatorof volcanicactivity, particularly with regardto Carboru'Sulfurratios and Helium concentration[53, 54j. Active underseavolcanic areasare alsoknown to emit volatile chemicalsinto the water column [55-58], Thus, analysis of gasesdissolved in marine watersmay be useful for predicting undersea eruption events. For example, Kick'em Je'nny,aii undersea volcano just north of theisland of Grenadalast erupted in December of 2001,Micro-beam survey of thevolcano has revealed a massive horseshoe shaped faultscar which most likely resulted Rom a majorslope failure of anearlier cone, suggeststhat the volcano may be unstable and a futurehazard for the region [59], Survey of dissolvedchemicals such as SOq, CO~, and He in watersoverlaying the cone crater, whichlies about 190 meters below the sea surface, may be useful in predicting the activityof thevolcano. Advanced warning of impendingeruptions are particularly importantinvolcanic regions such as this to allow adequate time for evacuation ofnearby islandsto preventlarge scale loss of life [60,61]. Deep-seahydrothermal vents have also been subjects of increasedinterest for global climatologicaland biological research. For example, sources such as anhydrite chimneys of theNorth Fiji Basinhave been shown to emit gases in concentrationsexceeding 14,5 partsper thousand of carbon dioxide, 49 ppm of methane, and approximately 937ppb of helium[62].' In some cases, thereduced gases from these vents are known togive rise to entirechemosynthetic ecosysteins [63, 64] which oxidize methane orsulfide to produce energy.Detection of gasesat theseconcentrations is possible with theNERUS instrument. Hydrologicresearch often utilizes dissolved gas data to determine source and age of waters.NEREUS is a potentiallyconvenient tool for studyingmixing of watersin marineand fresh water bodies. Concentrations of oxygen, nitrogen, carbon dioxide, and methanecan provide valuable clues as to originsand inflow rates of groundand surface watersinto lakes, rivers, and coastal areas [65, 66]. Theability of theNEREUS system to identifyand quantify the distribution of thesebiogenic gases in a watercolumn is also usef'ulfor many aspects of ecological research. High spatial and temporal resolution data is valuablefor monitoringphenomena such as algal blooms, seasonal stratification & turnover,productivity, and eutrophication [43]. In addition,the NEREUS system could beused to unobtrusively monitor water quality, especially urban runoff shipping lanes, andpoint sources of pollutionsuch as sewage outfalls [18].
For consistency,concentrations are expressed as a massfraction
25 Mappingof marineoil spillsfor impactassessment and cleanup is yetanother potentialNEREUS application. Oil spillsurveillance relies almost exclusively on remote sensingsuch as infrared, ultraviolet, and radar imaging from satellites and planes [67, 68].These approaches are only suitablefor detectingsurface slicks, and are unable to detectdissolved petroleum fractions at depth.Oil spill assessmentbased on surface slick as well as sub-surfacedata is importantwhen DNAPL or water-soluble&actions are presentand when wave induced mixing is a factor,For instance, approximately 77/0 of the825,000 gallons of petroleumfrom the North Cape oil spillwas dispersed into the watercolumn [69], Estimates of thisspill's size,based upon oil-slick area, underestimatedthemagnitude ofthe disaster, thus contributing toan ill-prepared cleanup response.Although NEREUS would be unable to detectmany of theheavier hydrocarbonswith low volatility or mass to chargeratios greater than 150, such as poly- aromatichydrocarbons in an occurrence such as this, NEREUS sensitivity models predict detectlimits of manypetroleum fractions, including benzene, toluene, butane, and methanein concentrationsdown to thetens of parts-per-billionlevel. Furthermore, the petroleum"fingerprinting" may be possiblebased on the relativedistribution of these hydrocarbonconstituents [70].
1.6 System performance
Freshwaterand marinedeployments have been conducted with theNEREUS instrumentand the Kemonaut AUV. Tethered and towed operations of the NEREUS instrumenthave established theability to map dissolved volatile chemical species in the watercolumn. Sea trials of theKemonaut AUV demonstratedtheunique ability of this Odysseyclass AUV to carrythe NEREUS instrument as payload. Analysis of vehicle designand performance indicates that the Kemonaut-NEREUScombination is well suitedfor scientificsurvey of dissolvedgases in &eshwaterand marine environments to depthsof 100meters. NEREUS data collected during these operations confirm the ability of theinstrument toefficiently collect meaningful chemical data in a varietyofplatform configurations.
26 Chapter 2
MECHANICAL AND ELECTRONIC
HARDWARE
TheNEREUS instrument is fully self-containedwithin a 17"Benthos glass pressure sphere Figure 2-1!. This housing was chosen based on itscompatibility with Odyssey classAUVs andits ability towithstand the high compressive loads experienced at abystnaldepths. Design and construction of theprototype for operationonboard the AUV, whilewithin the pressure sphere, required careful analysis and optimization. Foremostamong design concerns were: instrument miniaturization, response time minimization,chemical sensitivity maximization, power consumption minimization to
Figure2-1: The NEREUS instrument with upper glass hemisphere removed
27 Mappingof marineoil spillsfor impactassessment and cleanup is yetanother potentialNEREUS application. Oil spill surveillancerelies almost exclusively on remote ' sensingsuch as infrared, ultraviolet, and radar imaging from satellites and planes [67, 68].These approaches are only suitablefor detectingsurface slicks, and are unable to detectdissolved petroleum fractions at depth.Oil spill assessmentbased on surfaceslick as well as sub-surfacedata is importantwhen DNAPL or water-solublefractions are presentand when wave induced mixing is a factor,For instance, approximately 77'10 of the825,000 gallons of petroleum&om the North Cape oil spillwas dispersed into the watercolumn [69]. Estimates of thisspill's size,based upon oil-slick area, underestimatedthemagnitude of thedisaster, thus contributing to anill-prepared cleanup response.Although NEREUS would be unable to detectmany of theheavier hydrocarbonswith low volatility or massto chargeratios greater than 150, such as poly- aromatichydrocarbons in an occurrence such as this, NEREUS sensitivity models predict detectlimits of manypetroleum fractions, including benzene, toluene, butane, and methanein concentrationsdown to thetens of parts-per-billionlevel. Furthermore, the petroleum"fingerprinting" may be possiblebased on the relativedistribution of these hydrocarbonconstituents [70].
1.6 System performance
Freshwaterand marinedeployments have been conducted with the NEREUS instrumentand the Kemonaut AUV. Tetheredand towed operations of theNEREUS instrumenthave established the ability to mapdissolved volatile chemical species in the watercolumn. Sea trials of theKemonaut AUV demonstratedthe unique ability of this Odysseyclass AUV to carrythe NEREUS instrument as payload. Analysis of vehicle designand performance indicates that the Kemonaut-NEREUScombination is well suitedfor scientificsurvey of dissolvedgases in &eshwaterand marine environments to depthsof 100meters. NEREUS data collected during these operations confirm the ability of theinstrument to efficientlycollect meaningful chemical data in a varietyof platform configurations.
26 lessthan 25 watts, ultra-high vacuum maintenance within the vacuum system, autonomousoperation and data interpretation, resistance to vibration,impact, and roll- over.NEREUS can be ostensibly divided into five component ~.oups: vacuum system, analyzer,electronic hardware, software, and mounting apparatus,
2.1 Vacuum system
Two paramountchallenges to submergeddeployment of marinesensors are to survive thehydrostatic pressures encountered at depthand the corrosive effects of seawater.In additionto thoseconsiderations, in-situ mass spectrometer design presents the unique requirementsof ultra-high vacuum and magnetic field maintenance. Therefore, the vacuumsystem, which consists of themembrane inlet apparatus,inlet tube, vacuum envelope,and ion pump were fabricated using ¹304 stainless steel. Although stainless steelis generallymore porous to gasesthan other metals such as aluminum, 304 stainless waschosen for constructingthe sample inlet apparatus, sphere penetration, inlet line, and vacuumenvelope, based on weldability, low magnetic permeability, chemical inertness, andmechanical strength. Like the pressure sphere, the sa.mple inlet apparatus, which servesas the interface between NEREUS' high vacuum analyzer and its aquatic environment,is required to withstandambient hydrostatic pressure. In addition to externalpressure considerations, theinlet system must also allow for adequate permeationof analyte gases into the vacuum chamber while maintaining an internal vacuum of no greater than 10 Torr;
2.1.1 Vacuum envelope Thevacuum envelope is roughly the size of thesoft drink can Figure2-2! and was designedto besmall enough to fit withinthe pressure sphere, yet permit satisfactory conductanceof excessgases into theion pump[39]. Volume minimization also serves to decreasetheoverall vacuum system's internal volume, thereby minimizing pump down requirementsand increasing conductance, thus decreasing the residence time of analyte gasesin theregion of thecycloid. The cycloid maintains a highvacuum seal with the vacuumenvelope by wayof eightbolts that firmly compressesa 2.112" diameter PTFE 0-ringbetween the 3 3/8"diameter envelope flange and the cycloid flange.
28 Figure 2-2: Vacuum Envelope cutaway view
2.1.2 Inlet apparatus Preferentialselectivity of dissolvedgases over water and water vapor is accomplished by meansof a thinsemi-permeable membrane that is passivelyexposed to thewater column,thereby allowing analyte gases to diffuseinto the vacuum system. The membraneinlet is positioned outside the pressure sphere and connected tothe analyzer with a smalldiameter approximately 2mm! flexible stainless steel inlet tube. The inlet tubetraverses the lower hemisphere through a .6inch diameter penetration point and 1.5" diametermounting flat. Although differing in dimensionand backing plate material, this inletdesign is similarto the membrane inlet described byHoch and Kok to permit continuoussampling of gasesfrom photosynthetic organisms, that utilizes a thin polyethylenesheet which is heldin placeover a porousplate by a threadedannular crew
29 cap and TeQonwasher [71]. Whereas,the NEREUSinlet apparatusconsists of a 1mil thicknesspolyethylene membrane placed over a stainlesssteel micro-etched backing plateand secured by a Teflonwasher in serieswith anannular stainless steel cap that is threadedonto the stainlesssteel inlet body [72]. Polyethylene is superiorto other membranematerials such as PDMS for submergedoperation because its relativelylow permeabilityto water[73]. In addition,the small .01" diameter holes of theporous backingplate alongwith the low compressibilityof this material,relative to other polymers,help avoid excessive compression and sagging encountered at depthwith other inlet designs i.e. sihconerubber tubing!, thereby minimizing unwanted permeability variation as a functionof depth.
1.E+02
- - 1.E+00 gE1,E02 o
1.E-04 Cl1.E-06
1.E-080 10 20 30 40 50 60 70 80 90 100 depth m!
Figure2-3: Membranecompression and saggingresulting from hydrostatic pressure affecting membranepermeabmty for the NEREUSinlet systemusing 0.001" thick LDPE materialversus 0.018"thick silicone tubing inlet system. Permeability change calculated using Young's modtslus to determinemembrane thickness at a givenpressure, svhich isthen applied to calculate change in gas fluxrate as a functionof pressuredependent membrane thickness refer to Equation5-4!. V'alues expressedas percent change normalized to valueat 0 depthor 1 atmosphere.
TheNEREUS membrane inlet threads onto a VCRfitting on the inlet feedthrough, whichfunctions to transportanalyte gases to theanalyzer residing within theglass
30 pressuresphere, while preventing water from entering the glass pressure sphere. The feedthroughtraverscs the lowerhemisphere wall usingan integrated 1 V~inch diameter flangewith a recessedrubber 0-ring that contacts a groundglass flat surroundinga 0,6 inchdiameter feed-through hole on the lower hemisphere's external surface, providing a water-tightseal Figure 2-4!. The feedthrough is secured onto the pressure sphere using a rubberwasher, to preventdamage to theglass, in serieswith a 3"stainless steel washer, followed by a stainlesssteel backing nut.
Figure2-4: Sampleinlet apparatus
Portionsof inlet tubingresiding on theinterior of thepressure sphere are constructed of thin walledcorrugated tubing because these sections are only requiredto v ithstand approximatelyone atmosphere of pressure, but must be flexible to accommodatepartial disassemblyof the instrument during maintenance procedures. A flexible corrugated inlet lineis connectedto the internal junction of theinlet tube penetration to carry sample perineant to a '/~inch diameter manifold, located at the rear of the instrument. This manifoldbifurcates and attaches to two parallelhigh vacuum bellows valves model SS- BNV51!,linking to separate,bent rigid, lines that terminate at a quick-flangetype fitting andat thevacuum envelope inlet. Theseparallel lines allow, respectively, the vacuum systemto berough pumped down to a pointat whichthe ion pumpcan begin useful
31 operation,and the vacuum envelope and ion pump to besealed off fromthe inlet during storage.All vacuumsystem connections use VCR type couplings, Theinlet apparatus is the most likely component to fail underhigh hydrostatic pressure.This is dueto thefact that the inlet membrane resides outside of thepressure sphereand is exposedto ambientwater pressure while inaintaining a near-perfectvacuum onits internalsurface. Possible failure modes include backing plate collapse caused by excessivehydrostatic pressure, membrane rupture caused by excessivehydrostatic pressure,as well as excessivewater vapor influx acrossan intact membranedue to a thermallyor chemicallyinduced increase in membranepermeability. In additionto the problemsassociated with a catastrophicfailure of theinlet, significant water vapor input cancause a reductionin signalresponse through the collision of watermolecules with analyteions. Based on calculationsprevious calculations [39], inlet membrane and backingplate strength was determined to allow for anabsolute maximum deployment depthof approximately100 meters, with the backing plate being the limiting factor. Destructivepressure testing of theinlet system design has shown the inlet to successfully withstandpressures greater than 100 psi, corresponding to a waterdepth of approximately75meters [72]. To date the NEREUS system has been successfully deployedto a depthof 25 meters,
2.1.3 lon pump Thevacuum system must first be rough-pumped down to a pressureof no greater than 10 Torrbefore the instrument's onboard ion pinnpcan be used to createand maintain freemolecular low conditions within the vacuuin system [39]. This 8 Vsdiode type ion pumpis bolted directly to thevacuum envelope at a 2'/~ inch conflat flange fitting locatednear the center of thevacuum envelope to maximizeconductance of excess gas away&om the cycloid. The ion pump is poweredby a highgain DC-DC converter which acceptsthe +12 volt input from the battery and generates +3000 volts at its output. When operatingat undernormal gas loads at steady state conditions, the ion pump typically drawless than 200 pA, or 0.6watts. The ion pump and power supply, combined, require lessthan 2 wattsof power.
32 Figure2-5: Ion pump with un-machined housing!, cycloid and vacuum envelope assembly
Owingto the ion pump's weightiness, thepump housing has been radically machined to helpreduce overall instrument weight to a pointof neutralbuoyancy. This entailed machiningaway the pump housing's mild steelsidewalls to a totalcross sectional area of 2 in, therebystill permitting sufficient return path for the ion pump's magnetic flux densityof 1,270Gauss. Additionally, concave lenticular surfaces were machined into the externalfaces of thepump housing. These surfaces were produced bymachining a series of concentriccircles of parabolicallydecreasing depth as a functionof distancefrom the center,intended to accommodate theincreasing magnetic flux density developed in relationto distance from the center, The resulting housing weighs 2.8 kg, a 33lo reductionfrom its initialweight of 4.2kg, yet maintains a fluxdensity of 1,270Gauss across its interior.
33 Figure2-6: Machinedion pumphousing
2.2 Analyzer
The analyzercomponent group, which is mostly containedwithin the vacuum envelope,includes the ion source,cycloidal massselector, Faraday cup detector,and elecrometer.A permanentmagnet, which is positionedoutside of thevacuum envelope providesa homogenousB-field for the cycloid. During operation,sample gases first diffusefrom the water column in acrossthe membrane inlet, and then migrate through the inlettube, toward the vacuumenvelope. The limited volumeof the inlet system, particularlywithin the vacuumenvelope, has the addedadvantage of shortresidence time. Oncegas molecules enter the vacuumenvelope, they areionized and then acceleratedthrough the massselector, finally impactingthe Faradaycup detector. Electricfield for thecycloid is producedby a highvoltage operational amplifier which suppliesa variablepotential to acceleratorplates within the analyzer.Total instrumentpower consumption is keptbelow 20 watts,in partthrough a highfrequency,
34 duty cycle modulated,emission regulator [38], To furtherreduce power consumption,a permanentmagnet is usedto generatethe requiredB field acrossthe analyzerregion.
2.2.1 Analyzer magnet
The analyzermagnet is of an asymmetricU-shaped geometry with an air gap of 1 inch andpole piecediameters of 3.5 inches.The pole piecesand yoke areconstructed of low carbonsteel to allow for maximummagnetic permeability, while the coerciveforce of themagnet is generatedby two cylindricalNdFeB magnetic members, each residing betweena polepieces and the yoke. Polepieces are shaped to minimize Gingingeffects within the air gapregion, whereasthe yoke is shapedasymmetrically to minimize space requirementsand mass. The analyzermagnet of the Hemondbackpack instrument served as an initial benchmarkfor the NEREUSmagnet, with a weightgoal of lessthan 11 kg and a flux densityof at least3,500 Gauss for the NEREUSanalyzer magnet. Preliminarymagnet designs were prepared using SoldWorks CAD softwarefor shape optimization[39] basedon the maximummagnetic permeability B ! of low carbon steeland a minimumcalculated cross sectional area of 3.85 in . This type of steelwas chosenbecause of its higher B~ relativeto standardmild steel.The yoke andpole piecesof the magnetbody werethen machined &om this metal,using a venerable Monarchlathe and Bridgeport end mills at theParsons Lab machine shop. The magnet's two cylindrical NdFeBelements were constructed by GroupArnold at low costby virtue of pie shapedmagnets that havebeen compressed and sintered together into a cylinder. Thesecylindrical magnets are nickel plated to protectthe brittle magnetic material from crackingand to minimizeexposure to damaginghydrogen gas. Once initial machining and fabricationwas complete,four bolt holeswere drilled and tappedinto the rear of the magnetbody to securethe yoke pieces together. Then, using extreme care, the magnetic elementswith theirpole pieces were positioned on the yoke and are held securely in placeusing only the magnetic field itself.It is worthwhilenoting that serious dangers are posedto fingersand hands by metal objects such as wrenches, which can be caught within themagnet's field andrapidly accelerated to highvelocities.
35 Flux measurementsof this initial designrevealed a flux densityof 4,200Gauss. To further decreasespace requirements and weight, the magnetwas carefttlly disassembled and a subsequentmachining of thc magnetyoke wasundertaken to aggressivelytrim away areasof low magneticflux. Areasof reductionwere selectedpresuming curved lines of magnetic flux through the magnetic return circuit and that cross sectional area requirementsdirectly abovethe magneticelements range from zeroat the distal end of the body, to maximum at the proximal end. Therefore, the external intersections of the magnetbody wherethe bolts areattached! were rounded using a 1.125in radiusof curvatureand a 16' bevel wasmachined on oneof the side surfaces the surfacefacing the electrometerand ion pumpwhen fully assembled!and on the surfacesdirectly above andbelow the magneticelements. The resultingmagnet weighs approximately 8 kg and generatesa flux densityof 4,270Gauss across the air gap,along its centralaxis.
Figure 2-7: Asymmetricallyshaped analyzer magnet
36 2.2.2 Cycloid analyzer NEREUSemploys a modified CEC 21-620 cycloidal type analyzer, asdescribed by Robinsonand Hall [74j, which uses orthogonally crossed fixed homogenous magnetic andvariable homogenous electric fields to impart trochoidal trajectories tosample ions Figure2-9!. The cycloidal ion trajectory isgiven by Bleakney and Hippie [75j. This geometryhasthe inherent property ofperfect direction and velocity focusing, making the analyzerless sensitive tomisalignment andvibration, and because theion trajectories loopin on themselves a relatively compact flight path, and therefore size, is achievable, Thesegeometry characteristics allows for a massrange of approximately2-150 atomic massunits, and a massresolving power of 100I20j, permitting detection of dissolved biogenicgases, atmospheric gases, light hydrocarbons, andthe differentiation ofmany isotopes.
Figure2-8: lon trajectoryof cycloidalmass analyzer
Modificationstothe cycloid include the addition of a cycloid-mountedinlettube, whichdirects incoming analyte gases into the ionization chamber, described indetail by Camilli[39j. Also, the cycloid used within the NEREUS prototype lacked an electron trap.To correct this shortcoming, anelectron trap was fabricated from a stainlesssteel double-buttedbicycle spoke that was cut and filed into an L-shape with a flattenedsquare tip.This electron trap is held in position by a stainlesssteel armature, fabricated from a discardeddesktop PC motherboard shield, which is bolted to plate 0 and,inturn, bonded
37 to the electrontrap with non-conductiveepoxy. In addition,an aluminuinshim hasbeen insertedbetween the cycloid's mounting arch and plate 0, therebyproviding an offset to properly align the cycloid within the vacuumenvelope, The shim measures0.865" x 0.105"x 0.275"with two 0.15"diameter holes drilled with a 0.6"spacing to accommodatetwo cycloidmounting screws. The relatively close tolerances of thecycloid within thevacuum envelope necessitate that the cycloid be aligned to within 1 millimeter of its requiredposition to preventshort-circuiting of theelectric field plates to thewalls of the vacuuinenvelope. Samplesare first ionizedby theion sourcehoused within the ionizing chamber portionof thecycloid, located immediately in front of theion pumpinlet. These ions are producedusing a heatedtungsten filament to thermionicallyemit electronsthat are then acceleratedby a 70voltpotential, causing these electrons to impactand ionize analyte moleculesthat have entered the ionization chamber, An electrontrap located to the exteriorof theionizing chamber collects &ee electrons and negatively charged ions. Positivelycharged ions are then repelled out fromthe ionizing chamber by a repeller plate heldat a positivepotential relative to theion chainber!and accelerated into the cycloidmass selector by theinjector, which carries a positivecharge smaller than that of therepeller. Once within the mass selector region of thecycloid, the analyte ions are actedupon by thefixed magnetic field developed by the analyzer magnet and orthogonal electricfield createdby five electricplates, causing the ions to assumecurved trajectories towardone of two Faradaycup detectors. By varyingthe potential of theelectric field in unisonwith therepeller and injector potentials, ion beamsof varyingm/z can be made to comeinto focuson oneof thetwo Faradaycups. Ions with mass-to-chargeratios m/z! of 12or lesscan be madeto assumetrajectories in thedirection of the 180' sectorFaraday cup,while ions with m/z of 12or morecan be focused on the cycloidal path Faraday cup. All controlsignals are sent to thecycloid through its Amphenoltype 17 pin connector whichis securedto the3 1/8"flange opening of thevacuum envelope. Connection pins and functionsare listed in Table2-1: Cycloid pin out. Figure 2-9: NEREUS cycloid tube constructed from a modified CKC 21-620
39 cloid in Function Mass selector
A Filament
B ShielcUground 142
Plate heater
Plate heater Plate 0/ ground Electron trap
Plate 2 Plate heater omitted! Plateheater omitted!
Filament heater
Plate 5
N Plate 1
Plate 3 Q Injector
R Repeller 10
Filament
Plate 4
Table 2-1: Cycloidpin out
Theion beamsgenerate an ion currentwhich is detectedby theFaraday cup and sent to theelectrorneter via oneof thetwo BNCtype feed-through ports located on the vacuumenvelope's 2 /i inchconflat flange Figure 2-10!. The conflat flange contains two machinedrecesses that prevent the Faraday cup pickups &om contacting the conflat flangeand producing a shortcircuit. Ion current is sentfrom the Faraday cup pickups to curvedmusic box-like tines that extend perpendicularly from the internal feed through rods.These contacts are constructed from the same lightweight stainless steel material as theelectron trap mounting bracket and are tin solderedto thefeed through rods. Using thesefeedthrough contacts, the electrometersenses this ion currentand transforms it to an
40 amplifiedvoltage signal, This electrometer output voltage is thenconverted to a digital signalby a dataacquisition DAC! board and transmitted to anembedded computer, which interprets and stores this data.
Figure2-10: Conflat flange with dual BXC feedthrough
2.3 Electronic Control
Autonomousoperation requires that the MIMS instrumentbe able to performall necessaryfunctions via a pre-programmedembedded computer system i.e. a computer systemresiding within the instrumenthousing!. Minimum functionality includes poweringinstrument on & off at predeterminedintervals, mass step calibration, acceleratorpotential control, emission regulator control, data collection and handling, and systemsdiagnostics. To fulfill theseoperation needs as well as power and space limitations,NEREUS uses embedded PC-104 computer coupled with mass selector controller,data acquisition system, electrometer, and an emission regulator,
41 2.3.1 Embedded computer Althoughhigher clock frequency Pentiurn type systems offer the highest performance,it comes at anenergy use premium. Given the power constraint of approximately5 watts for the computer and DAQ board, an Ampro 386 SX core module operatingat 25MHz was initially utilized in combinationwith an Ampro VFP-II VGA flatpanel controller. The IDE bus of the386SX module does not permit use of a flashablesolid-state PC card! disk for non-volatile memory storage, therefore, the 1 MB EEPROMwas partitionedallowing it to function asa harddrive. After successfulshort- termdeployments, the core module was replaced with a 486DXmodule operating at 100 MHz;thereby permitting use of a removablesolid-state flash disk and thus extending availablemission time. In additionto theincreased storage space, the faster clock speed andonboard math co-processor of the substitutedcore module accelerates command line execution,resulting in anincreased sampling speed of upto approximately1500 samples per secondwhile adheringto a powerbudget of lessthan 5 watts. Eachdata point requires information concerning scan voltage, m/z, and time, imposinga memoryrequirement of up to a maximumof 248 data bits per sample. To addressthe data storage needs, NEREUS uses a conunerciallyavailable 128MB SanDisk CompactFlash disk commonlyused in digitalcameras!, which has the advantages of extremelysmall form factor, low power consumption, high tolerance to vibration,impact, andpressure fluctuation, low cost,and modular data transfer from the NEREUS computerto a laptop i.e. by physicallyexchanging cards!, Presently the embedded computeruses this solid-state disk as a bootabledisk, which contains the operating systemand instrument code compiled as an executable file. The operating system and instrumentcode together require approximately 500KB, allowing the remaining 127MB to bereserved for datastorage, Because NEREUS employs signal averaging, memory requirementsare decreased to less than 2 MBper hour of operation,thus permitting at least2 'li daysworth of datastorage when the instrument is in continuousoperation,
2.3.2 Communication In additionto onboarddata storage, the embedded computer is capable of communicatingto send data or receivecommands from either of twoRS232 serial ports operatingeither a nullmodem toAUV control computers ora halfhandshake protocol to a radiotransceiver viaa tetheredsurface float. The radio transceiver receives power from theinternal NEREUS power system, with a totalpower requirement ofapproximately 150mW, and operates using a 418MHz FM frequency withan effective broadcast range ofapproximately 150meters when the companion laptop transceiver iswithin clear line- of-sightand broadcasts toshorter distances when obstructions arepresent. Communicationswitheither radio transmitter orstandard wired serial link require transmissionat9,600 bits per second through a 50 ft. long 9-pin Impulse MIL-9-MP waterproofmarine cable pin arrangementis described in Table2-2.
m ulse cable in color Function DB-9
Black GND
%hite Power
TXD
Green
Orange RTS
Blue CTS
Purple DSR
Yellow CD
Brown DTR
Table2-2: Waterproof cable pin assignments
2.3.3Data acquisitionand instrumentcontroi Thecontroller/data acquisition system, orDAQ board, is a revisedversion of the circuitpreviously described byCamilli I 39], which functions asa compact 2cm x 9 . cm!,low power .5 watt!,16-bit resolution controller andsensor. It is compatible with computersusing 8X86 through Pentium microprocessors, interfacing viaa printerport conformingtoa PS-2/bi-directionalprotocol IEEE1284!. The IEEE 1284 standard permitsa maximumdata width of 8-bits;consequently, theDAQ board makes use of a rnultiplexorarray, which allows for a "twopass" 16-bit transfer of both controller and
43 sensordata. The DAQ boardrelies on anAnalog Devices7884 ADC to sendcommands to themass selector and an Analog Devices 569 DAC to quantify electrometer voltage; bothconverters possess sample-and-hold capabilities, permitting simultaneous operation of the sensor and controller. Thisgeneration DAQ designincorporates several improvements over the previous generationdescribed by Camilli[39]. Included is anoptional 5V inputoffset circuit for electrometerinput jumperselected!, thereby enabling use of thefull 5V to+5V scaleof theAD7884 analog-to-digital converter, Additionally, all 5 statusregister bits of the parallelport havebeen made available for possibleuse as indicatorsof instrumentstates suchas excessive internal pressure, ion pump failure, fail-safe activation, and low battery condition.Bit 3 ofthe control line operatesa relaycontrolling the emission regulator's on/offstate, thus permitting a coinputerselectable low power sleep mode. Additionally, digital-to-analogoutput is nowrouted to anon-board isolation operational amplifier, whichuses the scan board's "floating" power supply to generatescan board input voltages,Finally, the new DAQ designmakes use of AnalogDevices' BQ andAN line of integratedcircuits, which offer improved noise characteristics over AQ models. Errorcorrection algorithms have been incorporated into theDAQ boardexecution codeto increaseaccuracy. The controller correction is simplya computed4mV offset, whilethe sensor correction is a slope-offsetalgorithm designed to accommodatea 2's complementarchitecture, To further decrease sampling error, a signal-averagingregime hasbeen included into the sensor code. Previous DAQ board performance testing demonstratedcapabilities of sense and control functions with sample speed independent 16-bit accuracy,and operational speed dependent on the commandline executionrate of its host computer[39].
2.3.4 Mass Sefector Electricalpotential is deliveredto therepeller, injector, and accelerator plates by an isolatedhigh-gain circuit. This circuit is adaptedRom the Hemond scan board [29]; a designthat is, in turn,based on a CECcontroller developed in the early 195Gs [74] which relies uponvacuum tubes common to that era. TheNEREUS scan control input voltage, generated bythe embedded computer and DAQ,is relayed via an onboard BurrBrown model 124 isolation operational amplifier. Theoutput of the iso opamp isrouted to the negative input of a heat-sinkedoperational amplifier Apex model PA88! acting as an inverting amplifier. This high voltage opamp providesa gain of approximately 60X relativetothe input scan control voltage. It is necessaryto isolate this high voltage circuit so that the repeller, injector, and accelerator platescan make use of a "floating"ground reference, thereby allowing accelerator plates ¹1, ¹3, and¹5 focus!to develop substantially negative potentials without requiring a dedicatednegative power supply. Theoperational amplifier makes use of a "floatingground" power supply created by a %15volt DC-DC converter PICO model 12GR150!, with the +15 volt output transformedinto+300 volts by a secondset of threeserially connected 100 volt DC-DC conveiters PICO model 12A100!. The +300 volt outputis thenrouted through a 1000 ohmresistor to limit current,A 10pFaccumulator capacitor is shuntedto thecommon terminalof thecircuit to stabilizethe 300 volt output, while two 150volt zener diodes in seriesprotect the circuit from reverse polarity damage. Finally, the +300 volt and 15 volt suppliesare routed to thesupply pins of thePA88. Theoutput of the PA88 is connected toa resistorladder, which acts as a voltage dividerfor the accelerator plates, These plates are arranged so that the even numbered plates and4! developrespectively increasing positive potential, and the odd lumbered plates ,3, and5! developincreasing negative potential, respectively. Plate 0, which also servesas the cycloid mounting spar is held at ground potential relative to the negative electrodeofthe battery pack and vacuum envelope. Resistor ladder arrangement is detailedin Figure 2-11. Thescan board was initially unable to generatethe requisite plate voltages for focusingions with m/z less than 17. Major revisions toa secondresistor ladder operating inparallel with the accelerator plate ladder tosource voltage tothe injector and repeller plates,were made to reduce the overall current demand placed on the PASS opamp and 100volt DC-DC converters. It is likelythat this scanning limit is a resultof increased platevoltage needed tomatch the 20% increase in field strength of thescan magnet over previousmagnet designs. Toaccomplish current reduction and thereby enable higher platevoltages without requiring increased power, variable voltage to theinjector and repellerplates is providedby way of two parallel 100K 0 1 watt potentiometers connectedto the PA88 outputand shunted to the commonterminal via a 100KQ resistor tail. Throughthis modificationthe overallresistance of the circuit was increasedfrom 45.8K 0 to 55K Q, resultingin a 20'/0decrease in powerdemand and thereby extending the scanrange to m/z of lessthan 12.AAer completingthese modifications, accelerator plate voltageswere tunedto maximizeion peakheight while maintainingbaseline linearity. Greatestperformance was achievedby tuning the potentiometersto producethe voltagesdescribed in Table2-3, whereall potentialsare referenced to the vacuum envelope,and a voltageof -1.174volts is appliedat the input of the scancontroller.
100k PLATE4
PLATE 2
PLATE 0 S VACUUM ENVELOPE
PLATE 1
PLATE 3
PLATE 5 FOCUS!
Figure 2-11: Scan controller detail
46 cloid E-field C cloid inEd e connect in Potential volts
Repeller 10 34.5
Injector 24.36
Plate 0 0,0
Plate 1 -11.16
Plate 2 11.20
Plate 3 -22.12
Plate 4 22.09
Plate 5 -36.02
Table2-3i Cycloidelectric field potentials
2.3.5 Emission regulator Ionizationof sampleanalyte isaccoinplished bymeans of electronimpact, wherein electricityis supplied tothe filament from an electronic circuit, causing electrons tobe ejected&om the heated tungsten filament. This process accounts for the majority of the instrument'spower consumption; therefore, to improve energy efficiency over that of a simpleresistive element regulator, theNEREUS ionization circuit, developed byHeniond [38],relies upon a TL494integrated circuit, operating asa squarewave generator to drive twofield effect power transistors, which are connected in a pushpull arrangement. The currentdriven through these transistors isthen rectified and sent to a DC-DCconverter, whereits voltage is decreasedfrom 12 to approximately2 volts and current increased to approximately3 Amperes before acting upon the filament. By varying the duty cycle of thissquare wave instead of circuitresistance, losses are minimized. Regulation ofthe squarewave duty cycle is maintainedthrough a negativefeedback loop that senses electrontrap current and adjusts the duty cycle to match potentiometer specified current. Electriccurrent is deliveredto thefilament via two12 gauge wires which are affixedto square pads on the circuit board. Typically, the emission regulator draws 9 wattsof power while operating at8 kHz.A Simpsonmicro ammeter that electrically connectsthe electron trap to the emission regulator's sensory circuitry, and is physically
47 mounteddirectly abovethe emissionregulator, can be usedto visually monitortrap currentdeveloped by theionization chamber. Trap current is typicallyaround 7 Ij,A during instrumentoperation. Power and sensorylines including trap currentand on/off control logic! areinput to the emissionregulator trough a DB-25connector. Size of the emissionregulator was reduced to a NEREUScompatible footprint throughthe use of miniaturizedcomponents such as DC-DC converters and ceramic capacitors and the circuit beingetched onto a double-sidedboard measuring 3,5" x 3.5". Carewas taken in circuit boardlayout to placehigh noisecomponents such as switchingpower transistors andconverters into areasaway from sensory components and to minimizetrace lengths. The einissionregulator is switchedon andoff via software,using the computer's parallelport controlbit-3 line to direct a bipolartransistor which drivesa reedtype relay switchconnecting the TIA94 on/offline to ground.In this way,the computer can turn off theemission regulator during periods of inactivity,decreasing power consumption from approximately18 to 9 watts,This control circuit is integralto theDAQ circuitryand, due toshielding its positionforsatisfactoryabove the ion relay pumpactuation, housing and +5analyzer VFFmagnet, requires 4 B-field
CTRL 3
Figure 2-12: Software controlled emissionregulator on/off relay 2.3.6 Electrometer Theextremely low ion currents. generated by theFaraday cup requires that the electrometerproduce a largegain while keeping noise at minimallevels, Given the 16bit resolutionand 5to +5volt inputsignal range of theDAQ's analog to digitalconverter, theelectrometer should be ableto amplifythe smallest ion currentof interestto at least 153p. volts, However,the need for highgain requires the use of a feedbackresistor valuedgreater than 10 ohms,which dominates all otherelectrometer voltage noise sources.Additionally, the response time of theelectrometer is determined by theresistor- capacitortime constant of thefeedback resistor and the. stray capacitance across the resistor.This time constant determines the maximum bandwidth of theelectrometer and, consequently,can be the limiting factor for overallinstrument sampling speed i.e. when multiplemass peaks are required in a spectralscan!. Therefore, adequate instrument performancerequires an optimization of theelectrometer's amplification, noise tolerance, andbandwidth parameters, Initially,an electrometer previously developed for theHemond mass spectrometer Hemond1991! was tested for useon the NEREUS system. This circuit uses a circuit basedon a Teledyne1702 operational amplifier connected asa current-to-voltage converter,followed by a unitygain inverting buffer Figure2-13!. The 1702 op-amp generatesanextremely low bias current, which is achievedwith a parametricinput stage. Thelow noise characteristics of this electrometer permit quantization of ion current signalsassmall as 10 ' amps.However a 10 "0 feedbackresistor and 2pF of capacitance,yield a responsetime of approximatelyone half second, making electrometertime response a majorlimiting factor because successive scans across the spectralrange are required. For example, if 1,000mass steps including molecular ions and&agments! areneeded toaccurately represent mass peaks across a singlespectruxn, andmeasurement of ion currentat eachmass step requires 0.5 second, the time needed to completethe scan exceeds 8 minutes. Therefore, a new electrometer was developed that possessesthesame low noise characteristics asthe Hemond design, while increasing its effective bandwidth.
49 10
FARAOAYC tNPUT
OUTPUT
-18 +18
Figure2-13: Teledyne parametric op-amp eiectrometer design by Hemond Fordesign purposes, minimum required signal amplification can be calculated assuminga 153 @volt minimum DAQ detectable voltage 0 voltsof dynamicrange/16 bits!.Given an assumed minimum detectable ion current of 10' amperes,overall electrometergain must be at least 1.53x10 where1 ampere= 1 volt/ampere!. Based on this gain value,an appropriatefeedback resistor can be calculated.Feedback resistor selectionis limitedbecause large value resistors are produced in onlylimited sizes. Presumingthat the Johnsonnoise of the feedbackresistor will be the dominantnoise source,a noisevalue for thefeedback resistor can be easily computed as a functionof temperature the NEREUS instrument package is not intendedto operatein. water bodies thatexceed 300'K! andfrequency; where i is currentin amps,K is theBoltzmann constantof 1.38x10 Joules/Kelvin, T is temperaturein Kelvin, B is bandwidthin Hertz, and R is resistance in ohms. e' =4KTBR
Equation 2-1: Fundamental thermal noiseof feedback resistor UsingOhm's law to computethe output signal voltage for a givenresistive value, the outputsignal given a 10 Ampereinput! can then be compared against its output thermalnoise voltage to finda signal-to-noiseratio. For example, a 1010 Q resistor producesa voltagesignal of 100IjV, butgenerates Johnson noise of equalvalue S/N=l!
50 whenbandwidth is 60.4Hz andtemperature is 300 Kelvin; while a straycapacitance of lpF in parallelwith 10' Q yieldsa timeconstant of 100Hz.In thiscase the circuit would befrequency limited by theJohnson noise. Assuming that a signal-to-noiseratio of at least1 isrequired for detection of the ion current, a maximumtemperature of 300 Kelvin, a minimumion current of 10-l 4 Amperes,and a straycapacitance of at least 2pF exists in parallelwith the feedback resistor, a feedbackresistor value with optimum signal-to- noiseand frequency characteristics can be found. Figure 2-14 graphically illustrates how circuitswith feedback resistor values of lessthan approximately 5 x10 are frequency limitedby Johnsonnoise and circuits with feedback resistors greater than 1.5 x10' and capacitanceof at least2 pFare frequency limited by theirRC time constant.
N ~ S/N=i ~ S/N=2 0> C=2pF 10 ~ C=3pF CT I LL
1.00E+09 1.00&10 1.00E+11 1.00Etl2 ReSiStiVevailua Oh1TS!
Figure2-14: Optimal feedback resistor value as a functionof RCtime constant and S/N, assuminga minimum input signal of 10 Amperes,temperature of 300K, and Johnson noisedominating.
51 Havingidentified a feedbackresistor of approximately10' Q asoptimal, a glasstype 1.GSx10' 0 Victoreenresistor was chosen, based on cost and availability. Then, using thesecalculations, the activecomponents of the electrometerwere selected. Beginning with theelectrometer input, a NationalSemiconductor LMC6001 field effectoperational amplifier was chosenfor useas the first stagegain. The LMC 6001was selectedbecause of its low inputcurrent noise characteristics .13fA/Hz" !, aiidbecause its field-effect architectureminimizes input leakage.Like the previouselectrometer design, the LMC6001 is arrangedas an inverting amplifier, with its negativeinput connectedto the Faradaycup lead. This arrangement amplifies the 10 ' amperesto 105pV atthe output of the LMC6001. Previouscalculations and experimentation [39j indicatedthat the NEREUS instrumentrequires a dynamicrange of approximately2000 to properly quantify dissolvedchemicals of interestat commonambient environmental concentrations i.e. &om 10parts per billion to 2Gparts per million!. Therefore,to provide adequate amplificationto makefull useof the 10volt digital-to-analogconverter range, the output of the LMC6001 is connectedto the input of a secondstage amplifier which amplifiesthe input with a gainof -50. This secondstage employs a LinearTechnology LTC1151 operationalamplifier configuredas an inverting amplifier! that can convertand amplify a 200mVinput to a 10volt output.The LMC6001 advertiseszero drift andan input offset of 5p.V,minimizing baseline clipping and drift. Finally,the output is routedthrough a resistorcapacitor series low passfilter with its 3dB roll-off centeredat 150Hz. The 150Hzvalue was choseiiso that signalattenuation would be minimizedin the frequency region of interest <50 Hz!. A schematicof the circuit is shownin Figure 2-15. FARADAYCUP INPUT
OUTPUT
Figure 2-15: NEREUS eiectrometer circuit
An overallexpected noise budget as a functionof bandwidthwas determined for the ...electrometer, using the noise figures for the feedback resistor, the various other resistors, andfor theactive components which are listed in thedata sheets of theLMC6001 and . LTC1151.Based on thisnoise budget, a minimumion detectablecurrent as a functionof - bandwidthcan be calculated, assiuning S/N=l and T= 300'K Figure2-16!. Tominimize size, the circuit was constructed on anetched single plane PC-board, using1/8 watt resistors, DIP packages forthe LTCI 151 the LMC6001 Figure 2-17!. The Victoreenfeedback resistor was connected tothe input of theLMC6001 using an "air wiring"technique, This approach takes advantages ofthe insulative and low stray capacitiveproperties of air to minimizethe effects of strayelectronic noise, which althoughsmall, still permeatesthe etchedboard material.
53 A battery power supply consisting of two 9 volt alkaline batteries in series with a centertap, providing +9 volts, in parallel with four centertapped 1.5 volt AA alkaline batteriesproviding +3 volts to the LMC6001 suppliesto the op-ampsand voltage reference.
1.00E-14
H. vJ EX < IL
S M
1.00E-150 5 10 15 20 25 30 35 40 45 Frequency Hz!
Figure2-16: Theoretical electrometer sensitivity vs. sampling frequency assuming circuitis not limited by feedbackresistor RC time constant!
To matchthe 5 to +5 rangeof the DAQ, the 0 to 10 volt outputof, the LTC1151 outputwas offset using an Analog Devices REF195 +5 [change]volt precisionvoltage referencethat is connectedto the outputof the LTC1151via secondLTC1151 operating asa unitygain inverter. This voltage regulator addition, however, generated electronic interferencein excessof theresolution gain attained by centeringthe output range about zero.Therefore, this offset circuit wasre-designed using a highprecision AD588BQ voltagereference that resideson the DAQ board,thus preventing voltage reference inducedload fluctuations from significantly decreasing the electrometer's signal to noise ratio. A 3.7 cm length of coaxialcable is usedin parallel with the Victoreenresistor as a low value - 3 pF! capacitor.This lengthof cableis necessaryto provide feedback
54 amplifierfrequency compensation, thereby avoiding stability problems resulting in a rail- to-railoscillation at 26Hz higherharmonics also! on the electrometer's output. Through trial and error, a minimumcapacitive value was found that preventedthe oscillation.The exactcause of this instabilityis still unclear,but is mostlikely dueto theextremely high gainof theVictoreen resistor in combinationwith strayeffects near the LMC6001 leads. The resultingoverall gain andresponse time of the elcctrometersuggest that the coaxial capacitor may also function as a resistive element to the extent that it decreasesthe feedbackeffective resitance possiblya factorof 5 or more!.
Figure 2-17: NEREUS electrometer
In additionto carefulcircuit design,several other stepswere taken to minimize the effectsof externalnoise sources, A batterypack, sourcing+3 and+9 volts to the electrometerwas built to minimize 60Hz interference,which wasencountered even when usinghigh-quality regulated AC powersupplies. A secondline of defenseagainst externalnoise was to placethe electrometer in a Faradaycage and position it asclose to theFaraday cup aspossible, To accomplishthis, the electrometerwas mountedinside a smallrectangular aluminum BUD box,and positioned so that the vacuum envelope feed- throughactually penetrates the aluminum box, allowing the Faraday cup output to connectdirectly to theinput of theelectrometer's LMC6001 op-amp. Finally, the vacuum
55 envelopeand electrorneterbox were connectedto the batterypack's commonlead, to makethe electrometer resistant to damagefrom electrostatic discharge Figure 2-18!.
Figure 2-18: Klectrometershielding and mounting
A HewlettPackard digital storage oscilloscope was used to collectdata to analyzethe responsecharacteristics of this electrometer design. Analysis consisted of samplinga timeseries of approximately32seconds duration, at 1,000samples per second, resulting in a 32,768 point data series. These data serieswere then saved to disk and converted to Matlabreadable data files. The time series data sets then were transformed into frequency spectra.Once the frequencyspectrum was obtained,this datawas then analyzedfor powerspectral density. Based on time series data taken with thescope probe shorted to ground,the probe introduces approximately 1.19mV, of error to the measurement.To estimatethe noise inherent to theelectrometer circuit, its inputwas tied to ground.Two separatetime seriestaken with the input grounded,indicated that the electrometer generatesfrom 3.42mV, to 8.36mV, of noise. No significantcorrelation is evident betweenscope probe noise and electrorneter noise. However, the electrometer appears to beparticularly sensitive to low frequencymechanical vibrations. Initial spectralanalysis
56 of theelectrometer with its inputconnected to the Faraday cup revealed the 26Hz rail-to- rail oscillation as well as higher harmonics!. After the oscillatory response was attenuatedwith a properlytrimmed coaxial cable acting as a capacitivecompensator!, theelectrometer in coinbination with the Faraday cup generated approximately 9.13rnV of noise Figure 2-19!. Based on cross correlation analysis, the oscillation problemappears to eitherhave been eliminated, or itsmagnitude attenuated to somewherebelow the noise floor of theelectrometer Figure 2-20!, Close inspection of thepower spectral analysis for the compensated electrometer reveals a 60Hzpeak with a magnitudeapproximately anorder of magnitudeabove baseline. This peak is likely to havebeen caused by external power lines and fluorescent lights in thelaboratory room wherethe measurements were made. Other higher frequency peaks, between 400 and 500 Hz,are well in excessof thecritical threshold of the output's low-pass filter, suggesting thatthese frequencies arelikely to have been generated and/or experienced subsequent to the electrometeroutput.
10
10
'f0
10 I, 10 ICompensated,' eiectro eter 100 50 100150 200 250 300 350 400 450 500 Frequency Hz!
Figure 2-19: Power spectraldensity of electrometerwith and withoutcoaxial capacitive compensator
57 0,03
0.02
0.01
-0.02 0 1 2 3 4
offset X 10
Figure 2-20: Time series cross correlation of electrometer noise data with and without capacitive compensation
The 9.13mV of measuredelectrometer noise is roughly twice the estimatedvalue, thuselevating the minimum detectable ion currentto 1.75x10 ' amps.Although a minimumdetection limit of 2 x10' ampsand maximum sampling &equency of 25Hz assuming4pF of capacitance!is acceptable,post-processing techniques may allow further improvement.Detailed examination of the frequencyspectra of the electrometer indicatesthat the noisemeasured at the outputof the electrometeris generally"white", or distributeduniformly acrossthe frequencyspectrum. The randomnessof this noiseis exploitedby employingsignal averaging to reducethe magnitudeof noisewithout attenuatingthe signal;thereby increasing the signal-to-noiseratio. Applying this techniqueto the electrometerdata collected by the oscilloscope,we seea 90%error reductionwhen using 100Xsignal averaging, an 86% error reductionwith 50X signal averaging,an 82% error reductionwith 25X signalaveraging, and a 59%error reduction with 5X signalaveraging. These values appear to behavevery nearly to thatof n' /n
58 statistics,corroborating thehypothesis ofnoise randomness. If a 10X signal averaging routinewere to be implemented, a 68'/onoise reduction could be expected. Theanalog- to-digitalconverter of theDAQ system is capableof conversionrates in excessof 150,000samples per second, allowing for many samples in quick succession. Consequently,if the electrometer bandwidth is 25 Hz, the DAQ can be made to do successiveconversions, witha Imstemporal spacing, after an initial time delay of 25ms toallow electrometer output settling!. This would have an overall effect of decreasing thebandwidth toless than 25Hz, but increasing theion current sensitivity. Incomparison tothe Teledyne electrometer, theNEREUS electrometer appears tobe lessaffected byelectromagnetic disturbances below 60 Hz Figure2-21!. Given that the NEREUSelectroineter isdesigned tobe used only within a frequencybandup to approximately25Hz, and incorporates a post-amplification lowpass filter intended to attenuatefrequencies above 50Hz, this electrometer in fact possesses lower noise characteristicsthanthe Hemond design, yet requires a shorter response time, These performanceadvantages aremost likely due to the two-stage amplification process and theextremely low bias current of the6001 op-amp.
10
10
10
10
10
10 150 200 250 300 350 400 450 500
Figure2-21: Powerspectrum density comparison of NERKVSand Hemond- Teledyne electrometers.
59 2.4 Power system
NEREUSoperates using a +12Volt DC power supply, Electrical power can be suppliedto theinstrument either from its two internal12 volt 7 ampere-hoursealed lead- acidbatteries. connected in parallel! or via itsexternal 9-pin Impulse cable common returnat pin 1 and+12volts at pin 2!. Thecable uses a sharedpower bus with the batteries,permitting the internal batteries to berecharged when power is suppliedto the instrumentby way of thecable connection, The 12 volt power bus supplies power to 4 electricalcomponent groups: the ion pump, scan controller, enussion regulator, and digitalcircuitry. These components are connected to the+12 volt terminalby wayof a fusedmain toggle switch that then branches to individuallyfused toggle switches for eachof thefour component groups, The five toggle switches are positioned immediately forwardof thescan magnet on theframe's composite mounting plate, and electrical wires to theswitches are routed through a wiringharness with a square12 pin Amphenol connector.This connector can be detached to permiteasier access to componentshoused withinthe lower hemisphere. Connector pin arrangementis detailed in Table2-4.
unction Pin numbe Computer/DAQ 1,5 Emission regulator 2,6 Scan controller 3,7 Ion pump 4 8 Main 9, 10 No connect 11, 12
Table 2-4: Powersystem wiring harness connector
Fuseratings and approximate current draw for individualcomponent groups during operationare specified in Table2-5. Return paths for eachof thepreviously mentioned electroniccomponents are individually routed to a shortlength of 12gauge "common bus"wire which connects to thenegative battery terminals and pin 2 ofthe Impulse cable.
60 Switch Fuserating Amperes! Currentdraw Amperes! Main 1.7 Embeddedcomputer & DAQ 0.5 Emission regulator 0,7 Scan controller 0.2 Ion Pump 0.3
Table2-5: Current requirements and fuse ratings of electroniccircuits
The embeddedcomputer and DAQ rely on a seriesof dedicatedDC-DC converters andvoltage regulators to supplynecessary positive and negative voltages. A DC-DC converter Power One model DFA6U12S5! transforms the battery's unregulated+12 voltsinto+5 volt regulated output of upto 6 watts;the embedded 386 computer and DAQrequire typically require a totalof 900mAduring operation. A parallelsecond DC- DCconverter Power One model DFC10U24D12! uses the unregulated +12 volts to generateregulated 212 volts at 24 watts.A voltageregulator Film Microelectronics modelFM905S7! is connectedin seriesto the 12volt outputof thisDC-DC converter to generatea regulated 5volt source capable of sourcingup to 7.5watts at peak. Both the 212volt converter and the 5volt regulator are capable of generatingpower in excessof thedigital circuitry's respective %50mA and 20mA requirement, but were chosen based ontheir higher efficiency over other types of invertersand regulators e.g. zenier diode, bandgap, etc.!. Outputs from these converters, theregulator, and a commonreturn path arerouted to theembedded computer and DAQ system on a braidedfive-wire power harnessand connector that bifurcates into two 10base-T Ethernet jacks mounted to the instrumentkame's composite plate. Wiring at the Ethernet jacks is describedin Table 2-6.
61 10 base-T Wire ¹ Color Function Orange & white GND Orange +5 volts Green & white NC Blue +12 volts Blue & white -5 volts Green -12 volts Brown & white GND Brown +12 volts
Table 2-6: 10 base-I powerconnector wiring
Electricalpower to theelectrometer is suppliedusing a separateinternal battery pack consistingof four 1,5volt AA andtwo 9 voltalkaline primary batteries. This independent electrometerpower supply was selected to mirumizeinterference &om switching loads generatedby the other electroniccomponents.
2.5 Component housings, frame, and mounting apparatus
TheNEREUS prototype fits withina 17-inchglass Benthos pressure sphere. The upperhemisphere of thepressure sphere houses the analyzer and ancillary components includingembedded computer, DAQ board,electrometer, emission regulator board, ion pump,magnet, and high voltagepower supply. Initial designlayout of the instrument I citeCamilli 2000] was prepared using Ray Dream CAD softwareto projectcomponent shapeswithin the allotted pressure sphere volume. Shape, size, and positioning of the instrumentcomponents were then adapted based on theRay Dream renderings, enabling anapproximately 50% decrease in instrumentsize beyond initial proposalestimates whichcalled for theinstrument to occupyan entire sphere volume. Figure2-22: Layout of NEREVS components within pressure sphere
The volumemade available through this additionalminiaturization of the instrument hasallowed for spacewithin the lower hemisphere to reserved for placementof an internalbattery pack, which can be used to powerthe instrument. This battery pack is composedof two 12 volt 7 Amphour seal lead acid batteries and can easily be modified to accommodateother types batteries, including rechargeable secondary varieties such as lithiumion, nickel cadmium, and silver zinc, and non-rechargeable primary batteries, suchas the alkaline D-cell packs commonly used to power in-situ oceanographic instruments.
2.5.1 Frame NEREUScomponents are held in placeusing a compositeframe, The composite materialhas the advantages of being lightweight, non-corroding, electrically nonconductive,and non-magnetic. The supporting frame uses an inverted quadripartite geometry,similar in designto thoseseen in buildingand bridge vaults. This geometry is resistantto shockloads, permitting batteries to behoused in thelower hemisphere while securelyholding the instrument components in the upper hemisphere. Frame surfaces are constructedfrom 6 oz.medium density 90' wovenglass fiber impregnated with epoxy resin.The upper mounting ring utilizes an internal high-density styrene foam core, with eightradially embedded brass hard-points that are threaded to acceptpan head hex bolts, Theseeight hard-points serve to fastenthe instrument mounting plate to theframe. The frame,in turn,is fastenedto theglass sphere via a compositedisk that is bonded to the base.The frame is secured with stainless steel screws at six hard points in its base.
Figure 2-23: NEREUS instrument frame
2.5.2 Mounting plate Thecomposite plate is shapedwith a seriesof recessesand openings to securely positionthe analyzer magnet, ion pump housing, vacuum system valves, and 10 base-T typepower connector sockets. The ion pump, analyzer magnet, and vacuum envelope are ziptied in place to prevent dislodgment in case of roll over. Construction of the plate involvedfirst vacuum forming 10 layers of epoxyimpregnated 6 oz. medium density 90' wovenglass fiber with weave pattern offset of 45' betweenadjacent layers. A rigid
64 polyurethanecast was then made of theanalyzer magnet-vacuum system assembly, which,in turn,was used to produce a malemold. The male mold's perimeter was then tracedonto the composite plate and the internal area then cut away from the plate. Next, themale mold was placed within the cutaway region and an additional 5 layers of similar epoxyimpregnated glass fiber with 4S' offset was hot vacuum formed onto the existing 10layers. Hot vacuum forming was accomplished byplacing the composite plate within a Reynoldsoven roasting bag commonly used to roast turkeys!. The bag was then sealed andconnected toa vacuumpump to evacuate gas voids from the composite while it cured withina dryingoven set to 85'C. Finally an epoxy top and bottom coat was applied to thecomposite plate, and holes were drilled to accominodate thezip ties, thru-bolts, vacuum valves, and power connectors.
Figure2-24: Mounting plate placement ofanalyzer, detector and ion pump assemblies
2.5.3 Instrument cover Tofurther secure the analyzer components andprevent electrical short circuiting of theion pump's high voltage power supply, a speciallyshaped composite cover fits over theion pump, power supply, analyzer magnet, vacuum envelope, and electrometer, This coveris constructedof thesame epoxy impregnated glass cloth as the composite plate, utilizing a thicknessof 5 layersin most areas,and up to 12 layersin obvioushigh stress areas.Close fitting of thecover was achieved by sculptinga claymold of thepreviously mentionedcomponent assembly along with requiredhollow areas. After themockup driedto a satisfactoryhardness, it wasthen coated with Vaseline serving as a mold release!and then the composite cloth was applied and hot vacuum formed using the previously mentioned process.
Figure 2-25: Compositeinstrument cover
2.5.4 Attachment disk Theframe is attachedto thesphere via six boltsthat are fastened into to a rigidsemi- sphericalsupport disk. This support disk is constructedof epoxycoated two-part polyurethanefoam with internalcopper mesh and stainless steel wire reinforcement connectedto six threadedstainless steel hard-points. Polyurethane was chosen as foundationmaterial because of its highstrength to weightratio and its castingease.
66 Constructionof the supportdisk requiredthat the frame andinternal surface of the lower pressuresphere be covered with a moldrelease, To minimize cost, common food storage plasticwrap was used. After the release was in place,the six stainless steel hard-points constructedof a stainlesssteel nut welded to two stainlesssteel washers! were bolted to theframe. After securing the hard-points, 1 /2 inch width copper mesh was woven throughthe washers in a six-pointedstar pattern, with overlappingmesh intersections. Internalpoints of thestar with meshoverlapping between hard-point mounts were then tiedto directlyopposing mesh angles, using 16-gauge stainless steel wire. These mesh andwire reinforcement elements were then formed into a bowlshaped contour, similar to theinternal surface of thepressure sphere. Once these steps were complete, the two part polyurethanefoam was mixed in a 1to 1 ratio,to anunexpanded volume equal to 1/10of thevolume between the bottom of theSame and the pressure sphere was poured into the sphere.The frame was then mounted to a squareplywood sheet and placed concentrica11y withinthe lower pressure sphere, ensuring uniform sphere compression space and that the . topof theframe traversed the sphere equator. Once adequately cured, the support disk wasremoved and painted with a thinlayer of epoxyto provideadditional strength and . preventcatastrophic failure of thefoam. The support disk is bondedto theglass pressure spherewith RTV silicone. RTV material was selected as the bonding agent because it providesgood adhesion and is flexible,thereby allowing for spherecompression atdepth andhelping to absorbshock loads created by mechanicalimpacts.
2.5.5 Electronics housings Electronicsboards, including the emission regulator, scan controller, DAQ, and embeddedcomputer are housed within small composite cases to preventshort circuiting, protectcircuitry from water leaks, attenuate electromagnetic interference, and to organize placementof the boards within the pressure sphere. These housings are constructed of the same6 oz.woven cloth usedfor fabricationof the instrumentframe and cover. Thesecases were constructed by applyingepoxy resin impregnated glass cloth over polyurethanefoam molds sizedto maintainadequate internal space for circuitboards andconnectors!. After attainingadequate wall thickness,surfaces of the emission regulator,scan controller, and DAQ were finishedand then coveredin metal foil to
67 minimizeelectromagnetic interference. To minimizeadverse magnetic field permeation affectson an internalreed relay, the DAQ casealso utilizes two .045" thicknessmild steelplates in the areadirectly beneaththe relay. Housings are bolted together using stainless steel screws and nuts. Electronics housingscontaining the PC-104 computer, DAQ system,emission regulator, and scan controllerare fastened to theexternal surface of theinstrument cover using Velcro strips. Althoughunconventional, Velcro was chosen over other fasteners based on its light weight,magnetic inertness, and immunityto vibration.
Figure2-26: Embeddedcomputer with memorycard
2.5.6 Hardhat protector A high-densitypolyethylene "hardhat" protector is usedto protectthe NEREUS instrumentfrom impactsduring transportand tethered deployment. The lower hemisphereof the hard hat has been modified by two separate circular holes that permit theinlet system to protrudeand allow access to thesphere's vacuum port. A seriesof squarecutouts have also been made to theupper hemisphere of thehardhat, which permit viewing of the ion pump andelectron trap currentgauges while the instrumentis covered.
68 Approximateoverall neutralbuoyancy is achievedfor the instrumentand hardhat assemblythrough the use of a rigidpolyurethane foam spider that has been cast into the ribsof theupper hemisphere hardhat, along with a secondpolyurethane foam disk that is attachedto thetop of thehardhat, The placements of these floatation pieces were chosen to maximizethe separation between the system's centers of gravityand buoyancy, allowingthe instrument to remainupright when deployed on a tether.The hardhat is fastenedclosed using four eyebolts. A 'A" diameter rope harness isthen threaded through the bolt eye holes and tied to the tether,
Figure2-27: The NEREUS instrument, shown sealed within its pressure housing prior to deployment
69 2.6 !nstrument startup and sphere sealing
Oncethe componentsof the NEREUSinstrument have been properly wired and assembled,the startup process can be initialized. This involves: 1. Connectroughing pump to NEREUSvacuum system Quickflange. 2. OpenNEREUS vacuum system valve for externalpump down. 3. Vacuum pump systemto 10 Torr, 4, If vacuumenvelope operation pressure has not beenmaintained, then open vacuumenvelope valve and continuepump down process, 5. After propervacuum system pressure has been attained, turn on "main" and "ion pump" power switches. 6. If the ion pump currentmeter is stableand drawsless than 200@A, then turn on "computer","scan board" and"emission regulator" power switches. 7. Verify that the computerboots and that cycloid trap currentmeter displays between5 and10 pA. S. Verify successfulmass calibration using eitheran externalcomputer connected via radio link, or monitor connectedto the embeddedcomputer's VGA output. 9. Verify thatscan routines can be executed as directed &om remote computer. 10.Close roughing pump valve anddisconnect roughing pump 11. Verify that ion pump current remains stable.
12. Disconnect all external wires.
After the NEREUSinstrument initialization hasbeen successfully performed, the instrumentcan then be sealedthrough the following process:
1. Cleanhemisphere mating surfaces with alcoholor similar solvent. 2. Carefullyplace upper hemisphere on lower hemisphere,taking carenot to chip glass surfaces. 3. Rotateupper hemisphere so that alignmentmarks match on hemispheres 4. Remove vacuum port screw and evacuateto 0.8 ATM. 5. Quickly replacevacuum port screwand verify that the sphereholds vacuum. 6. Apply "monkey dung" asa continuousbead around the matingsurfaces.
70 7. Firmlypress and smooth monkey dung to glasssurface. S. Removemonkey dung backing tape, 9. Wrapwide plastic electrical type tape around. the equatorial region three times, beginningslightly below the equator, then transitioning to slightly above the equatoron the second turn, and completing the third wrap on the hemisphere. 10.Secure two metal band hose type! clamps around the sphere. Position clamps in a longitudinalarrangement, intersecting each other to forman "X" atthe top and bottom polesof the sphere. 11.Place sphere in KemonautAUV, or protectivepolyethylene hardhat. 12.Attach dummy plug to MII,-9 cable if externalradio transceiver isnot being used e.g. during AUV deployments!.
71 72 Chapter 3
SOFTWARE
Autonomousoperation requires that the NEREUS instrument be able to performall necessaryfunctions via its embeddedcomputer system. Minimum functionality includes poweringinstrument on and off atpredetermined intervals, mass step calibration, acceleratorpotential control, emission regulator control, data collection and handling, systemsdiagnostics, and communications with auxiliarysystems such as radio transceivers,remote viewing terminals, or vehiclenavigation computers. To satisfy these operationalneeds as well aspower andspace limitations, NEREUS uses an embedded PC-104computer possessing a 486 core module operating at 100MHZwith a standard MS-DOS6.2 operating system. The NEREUS operational code is a compiledstand-alone executablefile thatautomatically loads during the computer booting sequence. Data files andthe executable are stored on a 128MB flashdisk configured as a fastIDE drive; data filesare specified by their *.NDF nereusdata file! extension.Functionality of the instrumentis enhancedthrough a supervisorycontrol architecture that allows for human or machineinput to directNEREUS operation via one of its twoserial ports.
3.1 Embedded Code
Theembedded NEREUS software was written and compiled using Microsoft Quick Basic4.5. This language was chosen based on the Hemond research group's computer languagefamiliarity and its ability to berun both as interpreted and compiled code, a usefulfeature for developmentand debugging. Although Quick Basic is relativelylimited in its functioning,subroutines were developed to overcome these shortcomings, including utilizationof directmemory addressing for accessingparallel port registers, and iterative for-loopstructures to introducetiming delays where precision to lessthan one second is required.
73 3.1.1 Embedded display and user interface
A displayis of minimal valuebecause the embeddedcomputer system is intendedfor unmannedoperation of theNEREUS instrument while it is sealedwithin its protective housingand submerged, Therefore, only a rudimentarydisplay was developed, and is intendedto functionexclusively for computerfile managementand bench top troubleshooting.This displaygenerates a textbased VGA outputand can be connectedto a standardCRT monitor via a VGAjack locatedin theaft of thePC-104 housing. ASCII textis outputto thedisplay in a columnarformat consisting of: massscan voltage, apparentM/Z, ion signal and time. The embeddedcomputer accepts an AT type keyboard,which canbe usedto access theBIOS as well asfiles withinthe operating system, Pressing the FS key during the bootingsequence circumvents execution of theautoexec.bat and embedded code files, therebypermitting file accessfrom a DOSprompt. Alteration to extendedBIOS options is accomplishedby pressingCTRL-ALT-ESC during the boot sequence, which causes a configurablePOST screen to bedisplayed, whereupon various BIOS settings can be modifiedusing the keyboard. Table 3-1 describes the proper extended BIOS settings for NEREUS'embedded coinputer. In additionto theflash disk, the core module's floppy interfacecan be connected to a floppydrive for datatransfer when the upper pressure housingis removed.
74 onfi uration 0 tion Settin System POST Express Core Module extended BIOS Enabled AdvancedPower Mgmt BIOS Enabled Serial Port 1 Enabled Serial Port 2 Enabled Parallel Port SPP/BPP Floppy Interface Enabled IDE Interface Enabled Mono/ColorJumper Color Onboard DIP Socket Disabled Local Bus Video Display CRT& FP Flat PanelDisplay Type 8 Video State Enabled Blank POST Test Disabled Serial Boot Loader Disabled Watchdog Timer Enabled Hot Key Setup Enabled SCSI BIOS service Enabled SCSI Initiator ID SCSI Disk Retries 7 10 SCSI Disk 1 Id 0, Lun0 SCSI Disk 2 Not Active SCSI Disk 3 Not Active SCSI Disk 4 Not Active SCSI Disk 5 Not Active SCSI Disk 6 Not Active SCSI Disk 7 Not Active 1" Hard Disk Auto 2' Hard Disk Not Active 3 Hard Disk Not Active 4 Hard Disk Not Active 5 Hard Disk Not Active 6 Hard Disk Not Active 7 Hard Disk Not Active 8 Hard Disk Not Active ConsoleOutput Device Video ConsoleInput Device Keyboard
Table3-1: Embedded computer BIOS settings
75 3.1.2 tnstrument Control Theembedded computer uses a bi-directionalparallel port connection to the DAQ to maintaininstrument control. The parallel port is accessedthrough direct memory addressing DMA! to four registers: configuration, data, status and control, residing at hexadecimalmemory addresses of 77A, 378, 379 and 37A respectively. The configurationregister serves to specifydata transfer mode; in the case of NEREUS, a valueof 32 writtento the77A address sets the port to PS/2data transfer mode. Bi- directionaldata exchange takes place via the data register using a signahngpattern previouslydescribed byCamilli [cite]. Under this regime data is transmitted across an 8- bit databus using a "twopass" architecture in which binary output data is sentto the 16- bit digital-to-analogconverter asan 8-bit high-byte packet followed by an 8-bit low-byte packet.Binary 2's compliment datais read as input from the 16-bit analog-to-digital converterin a similarfashion, wherein an 8-bit high-byte is readfirst, followedby an 8- bit low-byte.To synchronize thedata transfer process and thereby avoid data packet collisions,the 8 dataregister bits are connected to a double-tieredbank of rnultiplexers onthe DAQ. Bits 0,1 and 2 ofthe parallel port's control register operate the multiplexer gates,while bit 5 dictatesdirectional control for the bi-directional dataregister and bit 3 actuatesa transistor-drivenreed relay functioning as an on/off logic switchfor the emissionregulator. Status register bits 3 through7 arereserved to detectthe logic states of variousfailsafe indicators. Bit assignmentsfor thedata, control and status registers are
detailed in Table 3-2.
76 Registerbit Function DB-25 pin Data 0 Data in/out
Data 1 Data in/out
Data 2 Data in/out
Data 3 Data in/out
Data 4 Data in/out
Data 5 Data in/out
Data 6 Data in/out
Data 7 Data in/out
Status 3 Ion pump failure 15 Status 4 Emergencyvalve 13
Status 5 High pressureindicator 12
Status 6 Low Battery 10
Status 7 Unused
Control 0 Converter select
Control 1 Byte select 14
Control 2 AD569 chipselect 16
Control 3 Emissionregulator on/off 17
Control 5 Datainput/output NC
Table 3-2 Parallelport registersand functions
3.1.3 Calibration Calibrationofmass-to-charge m/z!focus relative tothe scan controller input potentialgenerated bythe DAQ is required toaccurately scan for and identify ion peaks withinthe cycloid's spectral range. Initially a softwareapplication wasdeveloped that scannedthree separate peaks and generated a linear slope-offset equation based on &e threepeak centers Figure 3-1!. This application required human operator input from a remotelaptop computer linked by radio transceiver toselect the calibration gases and to conclude%e slope offset calculation. Extensive testing of this calibration system revealed thatnon-ideal effects, most likely a consequenceofthe scan controller's high gain
77 circuitry,causing the cycloid's electric field potentials to correspondnon-linearly with scancontroller input. Additional analysesindicated that this non-linearitydid not affect themonotonicity of therelationship but did introducea degreeof distortionlarge enough to precludeaccurate tuning of ion peakswith an m/z in excessof 30 AMU. Moreover, radio transmissioninterference occasionally would producetransmission errors that causedthe embeddedcomputer to generatecycloid plate voltagesconsiderably different from theirintended values. Although this error could be overcome either by redundant commandtransmission, or throughpost processing of signalsfor error correction,both methodscould only be implementedwith substantialtime penalties.Therefore, an alternatesystem of calibrationwas developed.
1 Li 'x
O [~gee
,',9~3,
" Nitrogen I
0
44- = OxygenIk
'"
Figure 3-1: Remote calibration GUI for NEREUS instrument
78 To overcomethe drawbacksof the first generationcalibration system, all functions requiringcommunication with anexternal agent, human or computer,were eliminated in favorof a completelyautonomous system. In addition,an algorithm was developed that iterativelycompares the residuals of likelyvariable values to producea least-squares-fit exponentialequation. This second-generation calibration systein also makes use of an errorchecking procedure, which was developed to verify thatnewly generated calibration variablesare within acceptableerror margins. Failing a successfulcalibration, the instrumentundertakes a limited number of retriesbefore discontinuing the process and revertingback to themost recent valid variables stored in memory. Calibrationis initiated at eachcomputer boot-up and at hourly intervalsthereafter. Thecalibration routine involves scanning for threepeaks at mass-to-chargeratios of 16, 20 and40. These peaks were selected based on theirpresumed universal expression under all marineenvironmental conditions, expecting that an oxygen peak at m/z=16 will persisteither as an atomic fragment of wateror asdoubly charged molecular oxygen. Similarly,persistent peaks appear at m/z = 40and 20 as a resultof singlyand doubly chargedargon. Other peaks occurring at m/z= 17,18 and 28 water&agment, water and nitrogen! arealso universally present, but can generateion currentintensities that exceed the.full scaleof thedetector and in doingso obscure the peak's exact center. Signal saturationis problematic because precise center determination is crucial for generating thetwo calibration variables i.e. slope coefficient and m/z exponent! with precisions resolvedto atleast four significant digits in orderto maintainsufficient focus accuracy in thehigh m/z range of thespectrum. To ensureaccuracy, the calibration curve's RMS erroris verifiedto beless than 10 mV before the new variables are stored in memory. Oncethe calibration process is complete,the variables are used to generateappropriate scancontroller input voltages by raising the desired m/z to thepower of theexponent variable n! andthen multiplying the result with the slope variable m!, yielding the proper scan controller input voltage,
ScanVoltage = m M/Z!"
Equation3-1: Masscalibration equation
79 Thecompiled code relies on a 24-hourclock using a dualprecision floating point valuefor task scheduling. Therefore, to preventthe instrument from generating an error whenthe most recent calibration occurred before midnight and a calibrationis scheduled for aftermidnight, a timechecking algorithm was developed which accounts for this offset andadjusts scheduling accordingly,
3.1.4 Operational rhodes A suiteof embeddedbehaviors allows the NEREUS instrument to respondto input from variousexternal agents and environmentalconditions. These behaviors minimize thepower and time required to gatherrelevant data at an appropriate resolution by controllingthe sleep/wake state, type of scanundertaken, and amount of signalaveraging thatis performed.Execution times vary from seconds to tensof minutes,depending on the scanmode and signalaveraging combination that is executed. A totalof six scanmodes are available to theinstrument, four of whichare spectral sweepsranging from either 12 to 48 or 12to 150with stepintervals of 0.5or 0.1AMU. Theremaining two scanmodes make use of a peakjumping strategy, which allows the instrumentto rapidlymonitor 15 peaks by evaluatingonly the peaks regions and thereby omitting m/z spectralregions of minimal interest. Caadienttracking, one of thepeak jumping modes, permits the instrument to adjust thetime interval between successive scans according to absolutevalue of amplitude changesin the m/z peaks that are being monitored. This behavior relies on an algorithm thatcompares the peak heights of themost recent scan with the corresponding peaks of theprevious scan. If anyof thepeaks have changed amplitude by 100'loor greater,the instrumentimmediately commences a new scan. If themaximum amplitude change is greaterthan 40 lo andless than 100'lo, the scan interval is decreasedby a factorequal to thepeak height change, multiplied by thescan interval, If thelargest peak height change is between30'lo and 40'lo, the scan interval remains unchanged. If the greatest peak heightchange is lessthan 30'lo and the scan interval is lessthan three minutes, the scan intervalis increasedby a quantityof secondsequal to 2 dividedby thepeak height change,up to a totaldelay interval of 3 minutes.When the delay interval is greaterthan 30seconds, the instrument immediately cycles into a standbymode, using the computer
80 to turnoff theemission regulator for a durationten seconds less than the delay interval. Theemission regulator is thenpowered up tenseconds before the standby interval ends to allow sufficient time for electron beam stabilization,
3.1.5 Signal Averaging Whilein operationthe instrument can assume seven different signal-averaging intervals,two of whichinvolve variable signal averaging. The five fixed signal-averaging routinesare SGO, 1G00, 2000, 5000 and 10000X, thereby decreasing statistical error to 4.5%,3.2%, 2.2%, 1.4% aiid 1.0%respectively. The variable signal averaging conducts repeatedsampling until theabsolute value of theintegrated electrometer voltage relative to baselineexceeds either 50 volts or 100volts, and to avoidbaseline clipping, relies on a baselinedetermination which is set equalto 75 mV lessthan the ion currentsensed at m/z = 11.5AMV. Thisdependeiicy on the number of samplesaveraged to theintegrated voltagecauses the same relative magnitude of statisticalerror to begenerated for each datapoint i.e.signal to noiseratio!; thus avoiding excessive sampling of largesignals, or undersampling of smallersignals. To minimizethe time required for calibration,a processrequiring at least300 data points, a limited25X signal averaging routine is used yielding a statisticalerror of 20%! becausejust relative maximaare needed. Thesignal averaging process entails that the appropriate mass first betuned, and then a 20-milliseconddelay be instantiated to allow sufficient time for theelectrometer output to stabilize.After this delayperiod has ended, the DAQ's analog-to-digitalconverter repeatedlysamples the electrometer output in uninterruptedsuccession until the signa1 averagingparameters have been satisfied. Execution of eachsample cycle requires approximately30 microseconds, resulting in respectivetimes of 3S,50, 80, 170and 320 millisecondsfor the 500, 1000, 2000, 5000 and 10000X signal averaging routines. Time requirementsforthe variable signal averaging regimes cannot be predicted with complete certaintyin advanceof theirexecution because sampling times are a functionof the magnitudeof theelectrometer output voltage and various noise sources, causing higher. electrometeroutput signals to requireless sampling time and smaller signals to demand longersignal averaging. In additionto thesignal averaging time requirements, fiuther timeis allotted for data handling and response delays associated withcapacitive coupling of the cycloid E-field plates.
3.1.6 Data handling A measurementof electrometer current is madeof M/Z=11.5at thestart of eachscan. Thisvalue, which is expectedtobe representative of the sensor baseline voltage, isused tonormalize the digital-to-analog converter signal to a baselinevalue. The converter, whichis uses a +5to 5volt scale and 2s complement code to express electrometer voltage,electrometer noise generally causes the electrometer baseline value to fluctuate withina+70 to 70mV range. Therefore, tominimize data character lengths and thereby savedata storage space and speed data transfer, the electrometer voltage signal at M/Z = 11is subtractedfrom the subsequent values. Finally, a valueof 70is addedto theion signalin orderto preventthis normalized signal from dropping below zero.
3.1.7 Data storage Oncethe requisite sainpling and normalization hasbeen fulfilled, the signal data is averagedto produce a singledata point. The data point is thenstored within a datafile usingan 8-character hh-mm-ss.ndf ASCII string time-stamp name. The contents of these datafiles are structured using comma-separated variable formatting. A file header is containedwithin the first fourlines of eachdata file. Thefirst rowrecords the date of the scanusing a month-day-yearformat followed by the descriptor "NEREUS embedded data",denoting that the file was created by the embedded computer. It is worthwhile notingthat the BIOS of theinitially usedPC-104 386 core module was afflicted with the Y2Kproblem, making it necessary todescribe allembedded system dates using a single decadeoffset e.g. a datewith the year 2002 is stored as 1992!. The date problem was correctedby replacingthe 386 core module with a 486core module. Row two of the headerprovides descriptors foreach of thefour data columns and arranged in order of scanvoltage, m/z, ion signal, and time. The scan voltage recorded in additionto them'z andion signal because the scan voltage can be used in conjunctionwith the m/z and ion signaldata to retroactively identify scan controller faults. A timestamp is associatedwith eachdata point to allow the various spectra ion peaks to be temporally referenced with data&om other sensors e.g. 3-D position, conductivity, temperature, etc.!. Rows three
82 andfour of theheader are left blank.Data values are stored beginning at row five and continuing on to the end of the file. To minimize the probability of dataloss, a newdata file is createdat the start of each scan,after saving and closing the currently open data file. In addition,data files are saved andclosed when the instrument enters its sleep mode, While the instrument is in sleep mode,the embeddedcomputer continuously polls the calibrationtimer to seeif a recalibrationis scheduled for immediateaction. If a recalibrationis required, the instrumentawakens from its sleepmode to recalibrateand oncethe recalibrationhas ended,the instrument opens a newdata file usingthe current time stamp for name, then conductsa singlescan using its peak-jumpingmode. After the scan is complete,data from this scanis then savedand the datafile closedbefore the instrumentresumes its sleepstate. This process cycles continuously until thesystem is instructedto commencea scanningmission. To ensure that the instrument responds to anincoming command, a subroutinecontinuously polls the communication system to checkif aninput message has beenreceived. Upon receiving a validnew mission scan command, the system reawakens fromsleep mode the computer generates a new data file usingthe current time for namingand recommences the data collection process.
3.2 Supervisory control
In additionto autonomousoperation, NEREUS is capableof receivingand acting uponmission updates from an external agent usiiig the communications protocol describedin the previous sections. This agent may be human or anexternal computer and inputscan be routed through either of thePC-104's two RS-232C serial ports. This systemof supervisorycontrol enables the external agent to subsumptivelycommand [76] theembedded system to altermission directives in realtime by modifyingthe scan mode, signalaveraging, or enteringinto a sleepmode. TheNEREUS instrument control system can be regarded as an augmented finite state machinein thatit is a situatedrobotic sensor and its possiblemodes of operationare fmitein numberand are executed based on input signals collected by itsdata acquisition systemand f'rom external agents such as its radio transceiver or serialline input. Every degreeof instrumentfreedom isnot controlled by the embedded computer, causing the
83 control systemto functionas a non-holonomicsystem [77]; therefore,a robust communicationssystem was developed to preventthe embedded control system from entering into an indeterminate state,
3.2.1 Communications protocol To reduceinstruction set length, thereby minimizing transmission time requirements andincreasing the likelihood of successfulmessage transmission, commands are sent to theembedded control system as an encoded two letter and one numeral ASCII string Table3-3!. The string consists of a scanmode letter, followed by a signalaverage letter, thenby a singledigit number.Each letter uniquely specifies an option and a correspondinginteger value. The purpose of thenumeric third character is to preventthe instrument&om enteringinto an indeterminatestate as a resultof an erroneouscommand. Thisencoded character is usedto preventthe control system from entering a indeterminatestate by providinga validationthat the two alphabeticcharacters are accurateusing an abbreviated version of a cyclicalredundancy check, which is generated by multiplyingthe associated values of thetwo variables,followed by a modulo7 divisionof theproduct Figure 3-2 provides an example of a validcommand message string!.When a commandisreceived by theembedded system, correct framing of the characterpositions is accomplishedusing a rangeof A through6 for thefirst character,T throughZ forthe second position, and a valueof 0 through7 forthe third position character.The most recently received command satisfying this criterion undergoes the previouslydescribed modulo 7 computationand the resulting value is thencompared with the third position numeric character of the encodedcommand, If the values are identical,the message is determined valid and a confirinationresponse is sent to the remote system, followed by execution of the command.
84 Character Function Position Value 12-48AMU range,0,1 AMU step 12-48AMU range,0.5 AMU step 12-150AMU range,0.1 AMU step
D 12-150AMU range,0.5 AMU step 1st PeakJump 1st Sleep
Gradient Track 1st
Low countvariable signal averaging 2ttd 20
U High countvariable signal averaging 2nd 21
V 500 X sigil averaging 2ttd 22
1,000 X signal averaging 2nd 23 2 tld 2,000 X signal averaging 24 2ttd 5,000 X signal averaging 25
Z 10,000X signalaveraging 2ttd 26
Table 3-3 Command string functional elementsand values
CV3
12-150AMU range,0.1 AMU step 500X signalaveraging x 22! mod 7 = 3
Figure 3-2: Valid commandstring example
85 Messagestransmitted out &om the embedded computer are ASCII strings of variable lengthand can be of twotypes: data, or text, Therefore, each message class uses a unique setof startand stop characters. Data messages are composed of a "$"character start bit, followedby a stringrepresentation of the comma separated scan controller input voltage, mass-to-chargeratio, and electrometer voltage data values, followed by a "k" stop character.Text messages make use of a "¹" startcharacter, followed by the text string message,and concluded with a "." stopcharacter. Data messagesare sent to the externalagent to enablereal time data analysis and redundant data storage. To avoid transmissiontime associated delays, particularly when using the 9600 bit persecond radiotransceiver, only 0,5 m/z interval data is sent.Text messages inform the external agentof instrumentcondition states, These text messages include information regarding statesof calibration,emission regulator, mission changing, sleep mode, and time until next scansequence, and excessivepeak height warnings.
3.3 Remote Graphical User interface
A remotegraphical user interface GUI! hasbeen developed to enablea humanuser to monitorthe instrument performance, modify instrument execution procedures and interpretchemical data in realtime. This capability can significantly enhance the scientificdiscovery process by minimizingtime delays common to iterativesampling and therebyreveal data relationships while still in thefield I 78,79], TheGUI was written andcompiled into an executable file usingthe Microsoft Visual Basic 6.0 language, and it is designedto operatewith a 32bit Windowsbased PC operating systems such as MicrosoftWindows 95, 98, 2000 and XP. The software relies on a RS232serial port to asynchronouslycommunicate with theembedded NEREUS computer. TheGUI, named Thetis Spectral Viewer consists of twowindows, a pop-upwindow thatappears at startuptime, and a mainwindow. The pop-up window Figure3-3! providesthe computer user with informationabout the software and presents two fields for theuser to enterhis or herlogin name and password. The login name and password werewritten into this softwareto preventcommands from being accidentally sent to the NEREUSinstrument or unauthorizedoperation of theinstrument. The pop-up window is
86 withdrawnand main window is presentedonce the user has successfully logged in. A seriesof communicationstartup procedures are initiated when the user logs in, including, identificationof availableserial ports, designation of port to beused and designation of bit transfer rate.
Figure3-3: ThetisSpectral Viewer loginwindow
3.3.1 Main window Themain window consists of severalindependently functioning graphical elements. Acrossthe top of thewindow is a standardupper tool bar.Directly below this is a rowof' checkboxesto allow up to eightgas peaks to besimultaneously monitored and three communicationcommand buttons. Below the checkboxesarc two setsof radio buttons for selectingsignal averaging and scan type, and to theirright is a histogram.Below the histogramis a sliderbar. To theleft of thehistogram and below the radio buttons is a spectrumdisplay. At thebottom of thewindow is a statusbar indicating communication
87 status,scan type, datastate, and degreeof magnification, To the right of this statusbar is a setof checkboxes,which enable scrol.lable viewing of thehistogram using the slider bars and viewing of the data in tabular format.
Figure 3-4: Thetis Spectral Vie>vermain window
3.3.2 Command initialization Commandinitialization is carriedout by selectingthe degree of signalaveraging and type of scanand then clicking the greenScan button in the upperright handcorner of the screen.This redundantly sends the appropriate 3 characterASCII command refer to section3.2.1! fifty times for outputto the serial line. The statusbar at the bottom of the GUI windowis thenupdated to indicateif theserial port is open,which serial port it is,
88
subroutinecollects all subsequentcharacters into an input string until it encountersa stop characterof @ ifthe header character was ¹! or & if theheader character was $!, If the characteris ¹ anda matching@ characteris found, then the string is consideredto containa validtext message and the string is trimmedof its startand stop characters beforeappearing in the centraltext box within the statusbar at the bottomof the window. If a $header character and matching & stopcharacter is identified,then the internal cd'aeter stringis consideredto bea NEREUSdata string. If a secondstart character is encounteredbefore a matchingstop character, the input string characters are cleared and a newstring is started.If thetext message received &om NEREUS is "Awaitingnew mission",the GUI automaticallyreplies by sendingthe latest command that was selected. Whena NEREUSdata string is found,the data string undergoes a secondary parsing andconfirmation process before being stored as valid data and being incorporated into thedata display. This secondary parsing is executedby trimmingthe start and stop charactersfrom the string and then dividing the string into 4 discretestrings scan voltage,mass/charge, ionsignal, time stamp! based on comma separators within the string.The 4 stringsare then checked to confirmthat each is withinits respective valid rangeand that these strings are not identical to theprevious data string received i.e. redundantdata!. If aHof theseparameters are satisfied, the data strings are considered valid and stored in the data matrix.
3.3.4 Oata visualization TheGUI visually presents the gathered data to theuser in theforms of a histogram,a spectrumand an optional data table. The histogram, which is locatedon the right side of the window, describespeak data as a functionof time, whereinthe time domainis expressedalong the X-axis and the ion signal intensity is conveyedalong the Y-axis. The histogramfield is dividedevenly into a numberof horizontalrows equaling the total numberof gasesselected in the "GasesMonitored" checkbox field andare labeled accordingto thegas ion being monitored in thatparticular row, Vertical scaling of each rowis derived6om the maximum peak height of all monitoredion peaks in thedata range.Temporal scaling is determinedby thetab positions on theslider bar when the "scrollenabled" checkbox is selected.If this checkbox is not selected, the histogram only
90 graphsthe 100 most recent data points. Histogram graphing is accomplishedby constructingindividual arrays of M/Z datacorresponding to the gas being monitored withinthe temporal domain specified by theslider bar tabs, The search process is computationallydemanding, and therefore is automaticallyrecommenced only after the serialinput register has received 30 charactersor if theslider bar tabs are inoved or the "Gases Monitored" checkbox selections are modified.
Pigure3-7: Thetis GUI histogramfield with red temporalwindow and accompanying slider bar
TheSpectrum appearing in the lower left of thewindow is the last complete spectrum withinthe time domain specified by the slider bar tabs. The red box outline appearing withinthe histogram field corresponds tothe temporal domain of the spectrum. This time
91 domainwindow allows the user to placea particularspectrum within the contextual historyof previousdata. The spectrum makes use of anauto scaling function that scales thespectrum both vertically, as a functionof themaximum clectrometer signal observed withinthe spectrum range, and horizontally to thewidth of thedisplay field. ion signalintensity in boththe histogram and the spectrum can be re-scaled by selectinga magnificationfactor of 1 to9 withthe "magnification" combo box located in thestatus bar at thebottom of thewindow. This causes the spectrum to displaythe verticalfraction of dataequal to thelower 1/n of theion signal range. Meanwhile, the histogramdisplays the lower 1/n signal range fraction of theions monitored, and the solid greyline is replacedby a dottedred line if a particularion is off scalefor thattime period.
Figure3-8:Thetis GUI spectrumfield
92 In additionto thehistogram and spectrum displays, an optional data table is availablc for viewing.This data table appears as an overlay of thehistogram field andis selected usingthe checkbox on the right hand side of thestatus bar, The data table is continuously updatedwith new incoming data and is scrollableusing the vertical scroll bar on its right.
X
Figure 3-9: Thetis Spectral Viewer main window with data table visible
3.3»5 Oata storage and retrieval Datastorage and retrieval is availabledirectly from the software, These tasks are accoinplishedby selectingeither the "Open" or "Save" commandswithin the "File" tnenuin the menubar. Whendata transmitted from the NEREUSinstrument to the GUI is saved,it is savedin a formatidentical to *.ndffiles generated by theNFREUS embeddedcomputer. File naming is leftup to theuser. The file headergenerated by the
93 GUI differs from the embeddedcomputer in that its first line does not include the descriptor "NEREUS, embedded,data". The OUI is capable of opening all files with the *.ndf designation. Any currently open file is automatically closed when a new file is opened.
I~INIW~QJPII}:}I5~67 ~
M "16} LWW".'" I'~»w'4"'.,'-I ~~~4 -; 7~.-,+-;*".3'6»446 6'ddl . ' ' 1~076»~ -7»64 -kd ~~LL td2~" tdi};,:.:,4i;,:%~."-:;."-8}:2, 5...." ';.7}V:-"-'@ :: » L ~d, 60 ..":*;.,.-76} 4. I ~, '7~ .;QLL 'QSI' t ~'.~'61}3@@;. ~6 L,14 66 1L@IL +~ 'I3}t}74 .d»' +%4Q»"+W: 756
< 062 115 75 1 4725 4 027 116 123 174025 -3992 117 115 174925 116 127 174025 -3525 119 133 17dt}25 *- 12 134 174025 396: 121 'I29 174025 122 125 1740 25 3 797 '!23 120 174025 3 767 124 111 174025 '12.5 115 1741725 3 7QI7 126 1I7 174625
Figure 3-IG: NEREUS Peak Interpreter GUI
3.4 Quantitative peak evaluation
As the NEREUS instrument has evolved, its data collection rates have significantly increasedto the point of making unaided analysis and quantification by a human impractical. During three brief NEREUS instrument deployinents in the Upper Mystic Lake and Boston Harbor over 400 discrete spectrawere generated,with each spectra composedof 1385 data points. Therefore, to automatethe process of quantifying ion peak heights and thereby significantly reduce the required time for analysis, an additional piece of software was developed. This program, named NEREUS Data Interpreter,
94 facilitatesthe assessment, compression and merging of NEREUSspectrum data, The sofbvarewas specifically developed to identify and quantify ion peaks at M/Z = 14,15, 16,17, 18, 28, 32, 40, 44, 78and 93, corresponding to nitrogen,methane, oxygen, water, argon, carbon dioxide, benzene, and toluene ions. A simplepeak apex detection algorithm [80] searchesfor majorpeaks within+0.5 M/Zof thesespecified ranges by examiningdata points adjacent to M/Z<