nps auv workbench: rehearsal, reality, replay for underwater vehicle operations

57
1 Don Brutzman Naval Postgraduate School (NPS) Center for Autonomous Underwater Vehicle (AUV) Research Modeling, Virtual Environments & Simulation (MOVES) Institute 4 November 2004 NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

Upload: charity-hebert

Post on 03-Jan-2016

47 views

Category:

Documents


0 download

DESCRIPTION

NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations. Don Brutzman Naval Postgraduate School (NPS) Center for Autonomous Underwater Vehicle (AUV) Research Modeling, Virtual Environments & Simulation (MOVES) Institute 4 November 2004. Naval Postgraduate School (NPS). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

1

Don Brutzman

Naval Postgraduate School (NPS)Center for Autonomous Underwater Vehicle (AUV) Research

Modeling, Virtual Environments & Simulation (MOVES) Institute

4 November 2004

NPS AUV Workbench:Rehearsal, Reality, Replay

forUnderwater Vehicle

Operations

Page 2: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

2

Naval Postgraduate School (NPS)

• U.S. Navy’s University• Numerous curricula, most sciences & engineering

2-year masters degrees with thesis Ph.D. research

• Joint, allied and civil-service students, faculty USN, USMC, USA, USAF: ~1300 International student officers: ~350 Faculty ~300

• Research efforts significant FY2004 reimbursables: $100M

Page 3: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

3

Topics

• Why modeling & simulation?

• AUV Workbench Components

• Sonar Visualization

• Technologies: X3D, XML, XMSF

• Demonstrations, Looking ahead• Acronyms!

Page 4: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

theory = conceptual description of reality

experiment = test theory in physical world

Scientific method, 15th-20th centuries

ExperimentTheory Analysis

Scientific method, 15th-20th centuries

Page 5: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

model = formal representation of reality

simulation = behavior of model over time

Scientific method, 1950-present

ExperimentTheory Analysis

SimulationModel

implements a corresponds to an

Scientific method, 1950-present

Scientific method, 1950-present

Page 6: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

model = formal representation of reality

simulation = behavior of model over time

Scientific method, 1950-present

ExperimentTheory Analysis

Modeling&

Simulation

running together

Scientific method, 1950-present

Scientific method, 1950-present

Page 7: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

Virtual environments can connect all models and simulations together

Scientific method, emerging 21st century

ExperimentTheory Analysis

Modeling&

Simulation

Virtual Environmentslinked together via

networking interfaces,shared semantics

Scientific method, emerging 21st centuryScientific method, emerging 21st century

Page 8: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

8

AUV Workbench Project Description

• Open source, Java, XML, X3D graphics

• Mission planning

• Robot mission execution

• Hydrodynamics response

• Sonar modeling

• 3D visualization

• Compressed radio frequency (RF) and acoustic communications

Page 9: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

AUV Workbench poster, I/ITSEC 2003

Page 10: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

10

Our 3 R’s: rehearsal, reality, replay

• Same needs and capabilities for each: mission, visualization, data support, etc.

• Refining AUV workbench to support each caveat: ongoing work in progress

• 10 years of effort now coming to fruition integrating great variety of successful work

• Collaboration is welcome

Page 11: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

AUV Workbench windows

missioncommands

Visualization, mission planning

robot execution

6DOF response hydrodynamics

Page 12: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

12

Rehearsal• Prepare missions, either manually or

automatically via other software tools• Test robot software’s ability to perform

commands• Test again with physics “in the loop”

Hydrodynamics and control are critical, difficult Sonar, environmental modeling

• Repeat until robust, with cautious respect “Simulation is doomed to success” – G. Bekey

Page 13: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

13

Mission script• XML, plaintext, iconic

Page 14: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

AUV Workbench 2D Mission Viewer

Run, test, modify, replay, save layouts as XML mission scripts

Page 15: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

15

Reality: real-time mission support

• Monitor mission progress

• Task-level control using same mission vocabulary

• Visualize and supervise operations caveat, again: work in progress

• Integrate acoustic and RF communications

• Chat for distributed collaboration among participants, both human and robotic

Page 16: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

16

XSBC Compression of mission scripts• Compression of mission

command file• XML Schema-based Binary

Compression (XSBC)• Take advantage of XML

self-validation capability• Building composable

sequence of filters for integrated data support

Page 17: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

17

Replay: post-mission support• Automatic archiving of mission to server

Built into workbench

• Integration and compression of all relevant data into single compressed XML file Metadata for mission Many pieces: ordered mission, commands,

telemetry, coefficients, contacts, etc. etc. Autonomous Vehicle Control Language (AVCL)

is Ph.D. work by LCDR Duane Davis

Page 18: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

18

Automating server-side support

Page 19: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

19

Physical modeling• Control algorithms and 6 degree-of-freedom

(6DOF) hydrodynamics response

• Sonar propagation, attenuation

• Collision detection Direct vehicle contact and sensor contact Separate use of same X3D graphics models

• Visualization greatly aids understanding provides good “forcing function” for integration

Page 20: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

20

REMUS mission search, from above

Page 21: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

21

REMUS mission search, from

behind

Page 22: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

22

sonar-vis Project Description• Visualize multipath 3D sonar propagation

Situational awareness, sensitivity analysis Multiple models: path, transmission loss, PD ...

Operator familiarization, training, experience

• Enhance TDAs for at-sea operators Reachback using Web services messaging,

accessing both computational and data assets Open source open standards: Java, X3D, XML

Page 23: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

Sonar Visualization poster, I/ITSEC 2003

Page 24: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

24

Goal Outcomes: sonar-vis project

• Sonar and battlespace visualization

• Link aircraft, ship and HPCC computing FNMOC, possibly Maui HPCC Similar interfaces, with/without connectivity “Tactical Supercomputing” refrigerator box

• Support Common Undersea Picture (CUP) Candidate technologies for spiral development Have started usw-xml working group for USN

Page 25: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

Sonobuoy field

visualization

Page 26: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

26

Integrating 2D/3D interfaces with Web Services

Participating in naval exercises

Page 27: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

27

XML web services for METOC data 1

• Query panel and plotted response

Page 28: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

28

XML web services for METOC data 2

• Monitoring initial query/response sequence

Page 29: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

29

XML web services for METOC data 3

Server-side supercomputer response

Page 30: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

30

XML web services for METOC data 4

Page 31: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

33

Technologies• Extensible Markup Language (XML)

Validatable data, binary compression Web Services for message exchange

• Enhance current sonar-model engines Recursive Ray Acoustics (RRA) sonar computation PC-IMAT/STAPLE/STDA(ASPECT) primary targets Environmental data from FNMOC via Web services

• Extensible 3D (X3D) Graphics Open-standard open-source interactive visualization

Page 32: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

34

XML in 10 Points http://www.w3.org/XML/1999/XML-in-10-points

• XML is for structuring data• XML looks a bit like HTML• XML is text, but isn't meant to

be read• XML is verbose by design• XML is a family of

technologies

• XML is new, but not that new

• XML leads HTML to XHTML

• XML is modular• XML is basis for RDF and

the Semantic Web• XML is license-free,

platform-independent and well-supported

400+ member companies & institutions in World Wide Web Consortium (W3C)already understand the business case

Page 33: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

35

Extensible Modeling & Simulation Framework (XMSF)

• Web services for all manner of M&S• A composable set of standards, profiles, and

recommended practices for web-based M&S• Foundational precepts: Internet network technologies,

Extensible Markup Language (XML)-based languages, and service-oriented architectures for simple messaging

• Enable a new generation of distributed M&S applications to emerge, develop, interoperate with tactical systems

• Many easily repeatable exemplars using Web Services

http://www.MovesInstitute.org/xmsf

Page 34: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

36

What is 3D?

• 2½D works for chart-oriented displays

• 3D gives “fly-thru” freedom of viewpoint View physically based propagation paths View depth separation View bottom, surface interactions View multiple overlapping sensors

• Augment (not replace) existing displays

Page 35: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

37

Oahu 3D model

Entire surface terrain of Earth available as X3D, viaXML-based retrieval from ½TB binary DTED archive

Oahu

Page 36: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

38

What is X3D?•Extensible 3D (X3D) Graphics

Virtual Reality Modeling Language (VRML) updatedThird-generation ISO specification Compatible XML .x3d and Classic VRML .wrl encodings

•DeliverablesSpecification updates, with compatible XML tagset Multiple implementations, including open-sourceScene Access Interface (SAI) strongly typed APIConformance suite and examplesAuthoring capability: X3D-Edit, using XML for XML…

Page 37: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

39

Further X3D motivations

•Authoring is hard, “Content is King”X3D is not competing with specialty formats,

instead provide common

interoperability/interchangeStrong validation checks eliminate most authoring errors before content escapes

Plays well with next-generation Web languages

“3D hardware problem” is already solved

Page 38: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

40

3D model library: collision USS GREENEVILLE

Scenario reconstruction, USS GREENVILLE collision with MV Ehime Maru

Page 39: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

42

Web3D X3D Software Development Kit CDs

•Extensive exemplar content, open-source Xj3D player, more

http://sdk.web3D.org

Page 40: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

X3D-Edit complete interface

Context-sensitive, self-validating, multi-lingual editing tools

Page 41: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

SAVAGE 3D Model Archive

Lots of models!

Page 42: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

45

Numerous underwater vehicle models

Page 43: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

46

Looking ahead: more technologies

• XML Tactical Chat (XTC)

• XML Schema-based Binary Compression (XSBC) better than zip, adds validation Adding Forward Error Correction (FEC)

• Tactical supercomputing

Page 44: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

XML Tactical Chat (XTC), I/ITSEC 2003 poster

Page 45: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

Chat log window

Page 46: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

Chat log debug mode shows underlying XML

Page 47: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

50

Event monitoring via instant messaging

chatbot listens and reacts tofree-form messages of interestby plotting mine onto chartlet

Page 48: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

51

Java 1.4.2 regular expression parser on chat:

Any characters or words before

"MINE"

Case-insensitive

word “MINE”

“s” or "S" occurs once or none at

all

Any character

Comma followed by 0 to

2 character "space"

Group 1 (digit)

One or no character

"space", fullstop or ")"

1 to 2 characters

"space" or "("

Comma followed by 0 to

2 character "space"

Group 2 digit)

Group 3 digit)

Breakdown of regular expression pattern:

Regular Expressio

n

^.*

(?i)MINE

[s|S]?

.*[ (]{1,2}

(\d*)

,[ ]{0,2}

(\d*),[ ]{0,2}

(\d*)[ ).]?

+

Meaningful messages can be extracted from chat text,thus enabling automatic structure for user support

Page 49: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

52

• XML encoding for validation benefits

• XML schema contains adequate information

• Tokenization of elements, attributes

• Strong data typing of value payloads

• Lossless

• More efficient than compressed numeric text

XML Schema-based Binary Compression (XSBC)

Page 50: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

53

XML Schema-based Binary Compression (XSBC)

Conclusion: XSBC performance already better than zip!

3.3 MB 16.6 MB 38.4 MB 11.6 MB 2.7 MB

originals

Page 51: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

54

Forward error correction (FEC)

• Added redundancy allows receiver-side detection & correction of message errors Many military channels are noisy RF links Avoids “retry until you die” on acoustic links Big help on long-latency, low-bandwidth links!

• Hamming FEC is one technique of several Re-exploring Stephen Reimers 1995 thesis

“Towards Internet Protocol (IP) over Seawater”

Page 52: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

55

Tactical supercomputing• Linux clusters can create new resources

5 off-the-shelf new PC boxes + disk storage $10K = 10 processors = 10 Gigaflop Refrigerator-rack footprint easily fits shipboard Industry can provide even higher capabilities

• Exploring intermediate-level resources for previously supercomputer-level problems Consistent access via grid/web services

Page 53: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

56

Demonstrations at I/ITSEC 2004• Interservice Industry Training Simulation Education

Conference (I/ITSEC) December 6-9, Orlando Florida

• Multiple demonstrations across show floor X3D, XMSF, XSBC, XTC, C2IEDM Multiple government, industry partners multiple domains & locations connected: supercomputer,

underwater/airborne robots in Monterey, George Mason University Fairfax VA, NUWC Newport RI, etc.

• http://www.iitsec.org

Page 54: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

57

Summary• Significant collected AUV capabilities

Support rehearsal, reality, replay

• Integrated as tactical application

• Open standards: XMSF, X3D, chat, etc.

• Open source + commercial compatibility

• Improved messaging, net-centric exemplar

Collaboration and questions welcome

Page 55: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

58

Acronyms 1

• 3D: Three dimensional• 6DOF: Six degrees of

freedom (x y z, roll pitch yaw)• AUV: Autonomous

Underwater Vehicle• AVCL: Autonomous Vehicle

Control Language• CD: Compact Disk• CUP: Common Undersea

Picture• FEC: Forward Error

Correction

• FNMOC: U.S. Navy Fleet Numerical Meteorological & Oceanographic Center

• HPCC: High-Performance Computing Center

• Java: programming language• METOC: meteorological and

oceanographic (data)• NAVAIR: U.S. Naval Air

Systems Command

Page 56: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

59

Acronyms 2

• NPS: Naval Postgraduate School, Monterey California

• PD: Probability of detection

• RF: radio frequency• RRA: Recursive Ray

Acoustics Sonar Propagation• SBIR: Small Business

Innovative Research• TDA: Tactical Decision Aid• USW: Undersea Warfare

• X3D: Extensible 3D Graphics Specification

• XML: Extensible Markup Language

• XMSF: Extensible Modeling and Simulation Framework

• XSBC: XML Schema-based Binary Compression

• XTC: XML Tactical Chat

Page 57: NPS AUV Workbench: Rehearsal, Reality, Replay for Underwater Vehicle Operations

60

Contact

Don Brutzman

[email protected] http://web.nps.navy.mil/~brutzman

Code USW/Br, Naval Postgraduate SchoolMonterey California 93943-5000 USA

1.831.656.2149 voice1.831.656.7599 fax