moos instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfthe iwhoimicromodemmoos...

19
The The iWhoiMicroModem iWhoiMicroModem MOOS Instrument MOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University of Idaho, Moscow Idaho Presented at: MOOS-DAWG August 24-25, 2010

Upload: others

Post on 22-Aug-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

The The iWhoiMicroModemiWhoiMicroModemMOOS InstrumentMOOS Instrument

Presenter: Dave Billin

Center For Intelligent Systems Research (CISR)

University of Idaho, Moscow Idaho

Presented at: MOOS-DAWG August 24-25, 2010

Page 2: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Team MembersTeam Members

Page 3: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

WHOI Acoustic Micro-modem• Woods Hole Oceanographic Institution

iWhoiMicroModem• MOOS application for interfacing with

the WHOI Micro-modem

• Offers comprehensive access to modem functionality

iWhoiMicroModem

21.59 x 5.72 x 4.45 cm

Page 4: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Background

• Platform for developing collaborative, autonomous behaviors

• Current research: forward area assessment of marine vessel magnetic field signature

University of Idaho AUV1 m

Page 5: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Modem Use In AUV

• Acoustic Navigation gives position while submerged

• Formation control via 13-bit mini-packets

• Less frequent ASCII, binary data transfer

• TDM used for media access control

Page 6: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

MotivationMotivation

Existing WHOI softwaresupport in MOOS focuses on ASCII and binary data transfers

• Limited or no support for–Acoustic navigation–13-bit User Mini-packets–Protocols other than CCL, DCCL

Page 7: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Prior Art

• iMicroModem • Matt Grund - WHOI• CCL data protocol

• Goby Underwater Autonomy Project• Toby Schneider (MIT, WHOI)• DCCL data protocol, media access

control

Page 8: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Design Goals

1. Expose all required modem functionality

2. Provide high-level API to modem functions via MOOSDB

3. Decouple data Rx, Tx from protocols

4. Publish modem statistics, diagnostic messages, and GPS pass-through

Page 9: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Design Approach

• Multiple threads– Rx: iterate()– Tx: worker thread

• Commands from MOOSDB are queued and prioritized

• Worker thread blocks on command or Rx via semaphore

MOOS MOOS messagesmessages

Serial DataSerial Data

Page 10: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Subscribed Variables

iWhoiMicroModem_CMD• Single entry point for modem operations

• String of comma-separated 'param=value':– Command type– Comma-separated parameter list

• Optional 'Notify' parameter– Names MOOS variable to which command

result(s) will be published

Page 11: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Modem Commands

• Data Write (ASCII/Binary)

• Data Read (ASCII/Binary)*

• Transmit (13-bit) user mini-packet

• Transmit PING (PSK, FM sweep, narrow-band)*

• Navigation PING (REMUS transponder)

• Modem hardware I/O line control*

• Auto-level receiver AGC*

• Measure noise level at receiver*

• Modem sleep*

Page 12: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Published Variables

Published information includes:• Communication cycle init• Received ASCII, binary data• Received (13-bit) User mini-packets• Modem RTC time• Optional diagnostic and info messages• GPS NMEA sentence pass-through

Page 13: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

• Used with User Mini-packets for scalable multi-vehicle navigation

• Modem clock synchronizes to GPS • Modem Tx triggers on 1 Hz PPS• GPS reports published to MOOSDB

GPS Synchronization

Page 14: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Mission File Parameters

Optional parameters:• Modem NVRAM settings• Modem command priorities• “Promiscuous“ receive mode for:

–ASCII, Binary data– (13-bit) User mini-packet

• Path to file containing vehicle ID (used as modem's acoustic ID)

Page 15: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Results

Fully implemented and tested:• Modem configuration and command

queuing• Binary data and User mini-packets• Acoustic navigation PING and travel

times• GPS data pass-through• Modem info and diagnostic messages

Page 16: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

• Scheduled data Transmission• Support high rate Tx using co-

processor• '3rd-party' transfer requests• Multi-frame ASCII, binary data

with sequencing

Roadmap

Page 17: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Conclusions

• Successful implementation of required modem functionality

• Extensible framework suitable for implementing remaining features

• Verified operation under Linux and Windows XP

Page 18: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

Acknowledgements

Office of Naval ResearchOffice of Naval Research

Magnetic Signature Assessment System Using Multiple Autonomous Underwater Vehicles (AUVs)

Phase I (N00014-08-1-0779)

Phase II (N00014-09-1-0711)

Phase III (N00014-10-1-0883)

Page 19: MOOS Instrumentoceanai.mit.edu/moos-dawg10/material/25-brief-billin.pdfThe iWhoiMicroModemMOOS Instrument Presenter: Dave Billin Center For Intelligent Systems Research (CISR) University

iWhoiMicroModemiWhoiMicroModem