Close

Electronics and Sensors

A project log for OpenTransat

Building an Autonomous Sailboat That Pursues to Cross the Atlantic Ocean

andy-osuskyAndy Osusky 10/28/2016 at 10:030 Comments

The main framework is built from aluminum profiles on top of a surfboard, so the boat will never sink. The boat is balanced by a heavy keel that would flip the boat back over in case it flips. This concept has been chosen for its fast assembly and also because of the ability to make easy modifications. It's more like a proof of concept, with the purpose to test different hardware modules and navigation software before proceeding to a more streamlined design.

The sail is made from ripstop nylon that is reinforced by nylon webbing and carbon fiber tubes.

The main electronic components are contained in a Pelican iM2100 case. They are fully protected by steel boxes in order to resist heavy impacts which can be caused by the ocean waves and delivery guys.

I have read too many horror stories about a leaking Pelican case, so to be extra sure this wouldn't cause me the same problems as others have encountered, I sealed it with silicone prior to the real mission.

The main components are:

Data Logging

Firstly, the board was designed to record data on a uSD card. However, it has two drawbacks that can be avoided by using a FRAM memory instead:

  1. SD consumes more power than FRAM.
  2. If a file gets corrupted, the current SD library holds the program for a few seconds every time it tries to write to the card. File corruption can accidentally happen during low voltage periods or unexpected shutdown during writing. It's not likely, but the risk is not acceptable.

The final decision was adding a FRAM memory chip. The read/write operations are much easier to handle.

Hardware Watchdog Timer

How do you fix a Wi-Fi router or a phone so that it works 99% of the time?

You simply turn it off, and back on. Aside from a typical watchdog timer, the hardware watchdog timer resets the boat every 8 hours. It also listens to the main CPU “heartbeat”, and it resets the boat if the program is not working correctly. Or, if the CPU is idle for 3 minutes. Resetting the boat means that every single component, including the GPS and compass, is being disconnected from the power source for 5 seconds. Arduino Micro is overkill for this purpose. However, it has been chosen as a quick and easy solution. In the next design, I will use an MSP430 or a similar ultra-low-power microcontroller.

As well as sensors being useful for navigation, there are also additional sensors for measuring environmental data:

Having all of these fancy sensors on board is not only more fun, but the sensors also tell us a lot of useful information about the boat condition.

The RockBlock and GPS modules are in a separate polycarbonate case for a better signal reception. The compass is also located far enough from the solar panel and anything ferromagnetic.

Rudder

The video below demonstrates the rudder being turned by a servo when the compass is off-course.

Camera

A Git2 action camera is recording a 15-second video every 30 minutes. The camera has been hacked to be powered by the primary battery source and controlled by Arduino.

The video is stored on a 128 GB SD card, and it can be accessed only when the boat is recovered because it is unrealistic to transmit any part of the video over a satellite network (the cost is high and the speed is significantly lower than dial-up).

Discussions