bridging the gap between industrial and consumer iot with
play

Bridging the Gap Between Industrial and Consumer IoT With DDS - PowerPoint PPT Presentation

Bridging the Gap Between Industrial and Consumer IoT With DDS Charles Cross Principal Embedded Systems Engineer Agenda Introduction to OpenROV and Trident Hardware and Electronics Overview Software Overview Platform Extensibility


  1. Bridging the Gap Between Industrial and Consumer IoT With DDS Charles Cross Principal Embedded Systems Engineer

  2. Agenda ❖ Introduction to OpenROV and Trident ❖ Hardware and Electronics Overview ❖ Software Overview ❖ Platform Extensibility ❖ Video Delivery and Recording With DDS ❖ Bridging the Gaps: Where DDS Has Room to Grow ❖ Conclusion - Q&A

  3. About OpenROV Started in 2012 by co-founders Eric Stackpole and David Lang... DAVID LANG ERIC STACKPOLE Co-founder, President Co-founder, CEO Writer: MAKE: Magazine, Popular Mechanics, etc. Lifelong tinkerer , MS Mechanical Engineering Author: Zero to Maker Spacecraft mechanism designer, NASA Ames Research Center Member of NOAA’s Ocean Exploration Advisory Board 2014 White House “Champion of Change” TED Senior Fellow, National Geographic Explorer Antarctic expedition ROV engineer and pilot ...who together created the world’s first affordable underwater robot kit, the OpenROV DIY Kit:

  4. Their Mission?

  5. To empower everyone to explore the world’s oceans and waters

  6. OPENROV DIY KITS HAVE CREATED A GLOBAL COMMUNITY.

  7. The Team ERIC STACKPOLE DAVID LANG Co-founder, CEO Co-founder, President COLIN HO BRIAN GRAU GILBERT MONTAGUE Product Design Engineer, Roboticist Mechanical Engineer, Project Manager AI and Computer Vision Researcher MS Mechanical Engineering (UC Berkeley) BS Mechanical Engineering (Santa Clara University) Physics (Baldwin–Wallace Univ.) NASA JPL, NSF Graduate Research Fellow SCU Robotic Systems Laboratory NASA LaRC, GRC, KSC Team lead for MSLED Antarctic ROV Led winning MATE ROV competition team Developer, NASA Autonomy Incubator CHARLES CROSS ZACK JOHNSON WALT HOLM Embedded Systems Developer Sales, Project Manager Electrical Engineer BS Electrical Engineering (VCU) BS Electrical Engineering (Clemson Univ.) BS, MS Electrical Engineering (MIT) NASA LaRC TechShop, San Francisco USAF, EE Consultant Architect at NASA Autonomy Incubator Led development of TechShop storefront Amateur Archaeologist MARGARET SINSKY BRIAN ADAMS Pasha Reshetikhin Operations Manager Software Team Lead BA Humanities (Seattle University) Electrical Technician BS Computer Science (Univ. of Oklahoma) Yelp, Account Executive Avid electronics hobbyist RelayHealth , VP Product Development Customer relationships, BizDev Avid web backend developer

  8. - Easy-to-use, ready-to-fly - Robust, reliable, extensible - Depth rated to 100m - Price point: $1,699 - Raised $815k on Kickstarter -

  9. Trident in Action

  10. Trident in Action

  11. Trident Use-Cases AQUACULTURE RESEARCH SALVAGE/MARINE INSPECTION SEARCH & RESCUE OIL & GAS

  12. Trident Use-Cases AQUACULTURE RESEARCH SALVAGE/MARINE INSPECTION SEARCH & RESCUE OIL & GAS But also... ❖ Diving ❖ Fishing ❖ Citizen Science ❖ Education ❖ And more...

  13. Hardware and Electronics Overview ❖ Hardware ➢ Vehicle ➢ Topside & Tether ➢ Client Devices and Platforms ❖ Electronics: What’s Inside

  14. Vehicle

  15. Vehicle Rear Thrusters Vertical Thruster

  16. Topside & Tether ❖ Custom Tether ➢ Neutrally Buoyant (Freshwater) ➢ Kevlar Reinforced ➢ Two stranded copper wires ➢ Designed for Homeplug AV

  17. Topside & Tether ❖ Custom Tether ➢ Neutrally Buoyant (Freshwater) ➢ Kevlar Reinforced ➢ Two stranded copper wires ➢ Designed for Homeplug AV ❖ Custom Waterproof Connectors ❖ Topside acts as Wireless AP ➢ 2x2 MIMO ➢ 802.11n ➢ Status Lights ➢ USB Extension Port

  18. Typical Configuration

  19. The Whole Package ❖ Durable, Waterproof Carrying Case ➢ Fits in Carry-On Luggage ❖ Tether Reel ➢ For managing longer tether lengths

  20. Client Devices and Platforms ❖ Currently supports modern Android devices ➢ Android 5.0+ ➢ Supports standard USB and Bluetooth Controllers ➢ iOS support planned in near future ❖ Prototype VR Support ➢ Using GearVR or Google Cardboard ❖ Desktop support for R&D clients Custom Control Device

  21. Vehicle Onboard Processors CPU ❖ RPI3 ❖ 1.2Ghz Quad Core UART ❖ Memory ❖ 10/100M Ethernet ❖ 32GB+ uSD ❖ 2GB RAM UART General Purpose MCU ❖ Atmel SAMD21 ❖ Cortex-M0+ UART ❖ 256KB Flash I2C ❖ 32KB SRAM USB 2.0 GPIO PWM Motor Control MCUs ❖ 3X Cortex-M0 ❖ 32KB Flash ❖ 8KB SRAM

  22. MCU Sensors & Subsystems

  23. RPI3 Sensors & Subsystems

  24. Communication & Sensing Challenges ❖ Electromagnetic waves don’t propagate well through water ➢ No GPS ➢ No WiFi ➢ Many standard sensing methods don’t work as well, if at all Image Source https://en.wikipedia.org/wiki/Electromagnetic_absorption_by_water#/media/File:Absorption_spectrum_of_liquid_water.png

  25. Communication & Sensing Challenges Taking a closer look at the visible spectrum... Image Source http://oceanexplorer.noaa.gov/explorations/04deepscope/background/deeplight/media/diagram3.html

  26. Communication & Sensing Challenges So what are the options? ❖ Acoustic ➢ Propagates easily over long distances ➢ Expensive ➢ Very low bandwidth ❖ Optical ➢ Highly expensive ➢ Limited bandwidth ➢ Limited to moderate range ❖ Tethered ➢ Generally high bandwidth ➢ Different tether types and wired protocols have different capabilities and costs ■ Fiber Optic ■ Conductive ➢ Entanglement hazards ➢ Affects control of vehicle

  27. Communication Solution: Homeplug AV OpenROV Employs Homeplug AV Over Twisted Pair ❖ Bandwidth of ~80Mbps at the MAC layer ➢ Latest Homeplug standards support 500Mbps to 1Gbps ❖ Acts as an ethernet bridge ❖ Only needs two wires ❖ Range tested up to ~350m ❖ Cheap hardware solution ➢ Based on Atheros PLC Chipset ➢ Packaged into a PCI Express form factor

  28. Software Overview ❖ Core Vehicle Services ➢ trident-core ➢ update ➢ beacon ➢ camera ❖ Build and Deployment Process

  29. Core Services

  30. Core Services: trident-core ❖ Functions: ➢ Acts as a bridge between the MCU databus and DDS databus ■ Each sensor/actuator treated as a subsystem ■ Data transmitted over UART using Mavlink protocol ➢ Implements lightweight reliability protocol

  31. Core Services: update ❖ Functions: ➢ Listens for version information from the MCUs that gets emitted by core ■ Additionally checks flash CRC validation, in case of corruption ➢ Allows user to decide when to apply updates ❖ RPI3 selects chip with address pins ❖ Bit-bang SWDIO/SWCLK over GPIO ❖ OpenOCD used for SWD operations ➢ Flash SWDIO/ ➢ Verify SWCLK ➢ Dump ➢ Debug ADD ❖ Advantages R ➢ No bootloaders required ➢ No external memory ➢ Debug access to all devices

  32. Core Services: beacon ❖ Functions: ➢ Emits vehicle ID and version info regularly over DDS ➢ Emits a backup broadcast beacon on all available interfaces ➢ Emits a heartbeat to the topside to show connectivity ❖ Client discovers vehicles by listening on Beacon topic ➢ Client uses wildcard partition in this instance ❖ When targeting consumer mobile devices: ➢ Don’t expect multicast discovery to work ■ Some devices don’t even have multicast enabled in the kernel ■ Some do, but only for IPv6 ■ Some change how routing is done when LTE is enabled ■ It varies across devices, OSes, OS versions, etc. ➢ The workaround: ■ Broadcast generally seems to work where multicast fails! ● Not that it should... ■ Emit UDP packets on the broadcast address from the vehicle ■ On receiving clients, manually add detected IPs to participant peer list ■ Now discovery can continue over unicast!

  33. Build and Deployment Process

  34. General Update Strategies ❖ Extensible types allow for gradual evolution of messages with a core feature set ❖ Supporting redundant interfaces until obsolescence ➢ Monitoring what versions of software are deployed to robots robots and client devices ❖ Have the vehicle tell the client what it is capable of and let the client instantiate the appropriate interface ❖ Type Assignability QoS properties that relax sequence length and member name strictness: ➢ dds.type_consistency.kind ➢ dds.type_consistency.ignore_member_names ➢ dds.type_consistency.ignore_sequence_bounds ➢ Can help to ease minor refactoring without breaking compatibility

  35. Platform Extensibility ❖ External Payloads ❖ RTI Connector for Python and Node.js Extensions ❖ Interfacing with ROS2

  36. External Payloads ❖ Trident is equipped with several mounting points for external payloads ❖ Onboard WiFi allows integration of smart payloads ➢ Additional cameras ➢ Additional processors ➢ New sensors ➢ Gripper arms ➢ And more... ❖ Can interface with the core software in multiple ways ➢ DDS ➢ Web-based APIs ➢ Simple TCP/UDP interfaces ❖ IDL, QoS, and generated types ➢ Publicly available via GitLab ➢ Stored on the vehicle as well

  37. RTI Connector ❖ RTI Connector is a lightweight library for prototyping and testing DDS applications ➢ Available in a number of languages ■ Node.JS ■ Python ■ Lua ■ C (not yet released) ➢ Allows users to extend the functionality of their robot by writing plugin apps ➢ Potential for creating an online repository for sharing plugins ➢ All required files pre-installed on the vehicle!

Recommend


More recommend