An Open Platform for Collecting Data for OpenSeaMap Ulrich Langenbach, Joachim Langenbach 03.02.2018
Overview Motivation What needs to be done? Data Collection Data Processing Hardware Setup Requirements Block and Features Diagram Device Selection Project Status and Next Steps Wrap-Up 2
What is a nautical chart? 3
This is a nautical chart 4
Overview Motivation What needs to be done? Data Collection Data Processing Hardware Setup Requirements Block and Features Diagram Device Selection Project Status and Next Steps Wrap-Up 5
Motivation: Examples of Nautic Charts OpenSeaMap NOAA NV 6
Motivation: Example Lake Schwerin 7
Target: More detailed depth maps Two Issues: Data collection Data processing (algorithms) / data visualisation 8
Target: More detailed depth maps Two Issues: Data collection Data processing (algorithms) / data visualisation 9
Overview Motivation What needs to be done? Data Collection Data Processing Hardware Setup Requirements Block and Features Diagram Device Selection Project Steps Wrap-Up 10
Quelle: http://depth.openseamap.org/#introduction Current Data Collection Path of OpenSeaMap 11
Data Collection Satellite Navigation Echo Sounder Open Source Projects OpenSeaMap HW Logger (NMEA0183) Raspberry GNUBoat (Bus) Pi Logger (NMEA2000) (NMEA2000) Proprietary Solutions ikommunicate Logging Voyage Recorder Plotter PC/Laptop/Tablet/Smartphone/... Server 12
Raspberry Pi Logger 13
Overview Motivation What needs to be done? Data Collection Data Processing Hardware Setup Requirements Block and Features Diagram Device Selection Project Status and Next Steps Wrap-Up 14
GNUBoat Requirements Tight integration Compact design Easy usability => most users are boat people, not hackers! Secure Fully At and safe Operation automated data collection least partially automated data upload Easy data transfer via WLAN, USB, Ethernet to users host Upload to OpenSeaMap servers for post processing and visualisation Possibly autonomous data transfer to OpenSeaMap servers? OpenSource design for later adaption due to boat network advances, etc. Adding more sensors for better compensation of boat movement (tilt, roll, pitch) 15
GNUBoat Additional Features / Services Mooring Weather Condition and Swell Monitoring Position and Drift Monitoring Alarm or push messages Turn plot creation Internet access point / firewall within marina WLANs Battery Health Monitoring => Power is a crucial resource on a boat! 16
GNUBoat Challenges Automotive Grade Power Supply for powered boats Complex Engine EMI conditions with RX & TX RF signals starter EMI / undervoltage and overshoot conditions Generator Ground shifts Delayed ripple power-off to safely switch off devices without data corruption Battery backed stand-alone operation for sailors without power supply Needs to supply all sensors, including echo sounder (pulsed power load ~ 2 Hz) CAN interface decoupling (EMI/ESD/...) Multiple sensors integrated into one node 17
GNUBoat Power Supply Challenge 120V Load Dump 85V Noise Nominal 14V 24V J ump Start 6V Crank Reverse Battery http://m.littelfuse.com/~/media/electronics/application_notes/littelfuse_tvs_diode_automotive_circuit_p rotection_using_automotive_tvs_diodes_application_note.pdf.pdf 18
GNUBoat Power Supply Block Diagram Power Grid 6-36V Power Filter DC/DC switcher DC/DC switcher DC/DC switcher 12V 5V 3V3 19
GNUBoat Raspberry Pi Node Remote Sensors Local Interfaces Local Sensors Raspberry Pi 20
GNUBoat Raspberry Pi Node Remote Sensors Local Interfaces Local Sensors Echo Sounder AIS GPS Wind Metrics Raspberry Pi 21
GNUBoat Raspberry Pi Node Remote Sensors Local Interfaces Echo Sounder CAN (NMEA2000) Local Sensors AIS GPS SPI Wind Metrics Raspberry Pi 22
GNUBoat Raspberry Pi Node Remote Sensors Local Interfaces Echo Sounder CAN (NMEA2000) Local Sensors AIS GPS GPS SPI Wind Metrics SPI 9DOF IMU Raspberry Pi 23
GNUBoat Raspberry Pi Node Remote Sensors Local Interfaces Echo Sounder CAN (NMEA2000) AIS Local Sensors I2C GPS Air Pressure GPS SPI Wind Metrics SPI 9DOF IMU Raspberry Pi 24
GNUBoat Raspberry Pi Node Remote Sensors Local Interfaces Echo Sounder CAN (NMEA2000) AIS Local Sensors I2C GPS Air Pressure GPS SPI SPI Wind Metrics 9DOF IMU Raspberry Pi WLAN Client USB WLAN Hotspot 25
GNUBoat Raspberry Pi Node Located somewhere within the boat Remote Sensors Local Interfaces Echo Sounder CAN (NMEA2000) AIS Local Sensors GNUBoat Shield I2C Power Monitors Air Pressure GPS SPI SPI Wind Metrics 9DOF IMU Single Board Computer WLAN Client USB WLAN Hotspot 26
GNUBoat device selection (1) Single Board Computer: Raspberry Pi Widely used and good availability Established Supported Highly by a lot of libraries / projects active community Highest OS distribution probability for reuse of the development CAN Interface: MCP2515 SPI-CAN interface / MCP2562 (CAN transceiver) Widely Well used, e.g. PICAN2 understood Good availability 27
GNUBoat device selection (2) Barometric Sensor: MPL3115A2 Reasonable Good availability Prototyping via sparkfun breakout GPS: TBD (possibly sparkfun Venus or XA1110 breakouts) Use breakout module => no RF PCB design needed Needs accuracy (0.5 m) external antenna connector due to housing and mounting position 9DOF IMU: TBD (possibly LSM9DS1) Fully integrated system in package Good availability Prototyping via sparkfun breakout 28
GNUBoat device selection (3) USB WLAN interface Good driver support HostAPD support 29
Overview Motivation What needs to be done? Data Collection Data Processing Hardware Setup Requirements Block and Features Diagram Device Selection Project Status and Next Steps Wrap-Up 30
GNUBoat Prototype Hardware RPI A+ GPS USB Hub WLAN Hotspot PICAN2 NMEA 2000 WLAN Client 6,5 36V to 5V 9 18V to 12V Airmar DST800 Echo Sounder 31
GNUBoat Prototype Hardware 32
Puppet Configuration GNUBoat Software Stack NMEA 2000 gpsd canboat Daemon Webclient RRD Webservice NMEA 0183 Logfile 33
GNUBoat Project Next Steps Running Demo Prototype Software hardware vailable stack for prototype components available Continues integration infrastructure and configuration management setup Block diagram level planning done Power supply planning in progress External module for battery health monitor schematic started CAN interface reference Power Design supply filter reference and testing Due to daytime job implications looking for support! Schematic and PCB design, mechanics,... 34
Overview Motivation What needs to be done? Data Collection Data Processing Hardware Setup Requirements Block and Features Diagram Device Selection Project Status and Next Steps Wrap-Up 35
GNUBoat Wrap-Up GNUBoat aims at providing an open nautic data collection platform Real world applicable Testing may be done with small prototypes Deployment on real yachts GNUBoat wants to help create better charts 36
Thank you very much! Have fair winds and following seas! Contact: info@engsas.de Web: https://trac.engsas.de/gnuboat/ 37