Monday, February 28, 2011

Wind Vane and Anemometer Sketch

Made these drawing over lunch. Obviously I'm not much of an artist (at least not in 2 dimensions). They are the wind vane on top and the anemometer on the bottom. They are to be mounted one on top of the other on an aluminum rod with the wires running through the rod. The rod will be mounted on the top of the mast.

Most of the parts will be plastic. I'll make wooden cones and cylinders and use a suck down (vacuum forming) machine to make all the plastic parts. The vacuum forming machine is a dental lab machine used to make night guards and bleaching trays. The arms will be carbon fiber rod.

Sensors ordered from Seeedstudio


Just placed an order from a china based Arduino supplier Seeedstudio. If the name means something I haven't figured it out yet...
  • I'll use the UNO to test and work out the code.
  • The Photo interrupter is a photogate that I hope to use to build a paddlewheel type speedometer.
  • The Photo Reflective Sensor will be used for the Anemometer (hand drawn design to follow).
  • I'm going to attach the piezo sensor (vibration sensor) to a tell tale and glue one to each side of the main sail. That will (hopefully) tell me if I have laminar flow across each side of my sail.

1 x Arduino UNO (ARD132D2P) = $29.90
1 x Bread board Clear - 8.2 x 5.3cm (STR101C2M) = $5.50
2 x Piezo Sensor - MiniSense 100 (SEN127A3M) = $5.70
Manual Data Sheet
3 x Photo interrupter (OS25B10) (SEN129A3B) = $4.50
Data Sheet
3 x Photo Reflective Sensor (SEN130A3B) = $6.00

Simple Anemometer



I believe I've worked out how to build a small simple wind sensor. I'll base it on a Photo Reflective Sensor. The sensor can be completely housed out of the weather behind a little plastic window from an old TV remote. With a little IR reflective paint on the spinning parts I'll be able to measure the RPMs.

Saturday, February 26, 2011

Wind Vane

A key piece of information for a sailer (human or not) is the wind direction. Glenn Langton built a small wind vane using a special ball bearing potentiometer available here.

A wind vane and anemometer needs to be VERY small to fit on a 1meter sailboat.

ArduPilot code for a Sailboat

A group from the Royal Maritime Academy built an autonomous boat based on Ardupilot their website is down now but I found the code on google cache.

At this point I can't read much of it. Its been a long time since I took a programing class...

Calculating True Wind - a sailboat's fuel tank


Simple Geometric Calculation

Y = 90 - D
a = AW * ( cos Y )
bb = AW * ( sin Y )
b = bb - BS
True-Wind Speed = (( a * a ) + ( b * b )) 1/2
True-Wind Angle = 90-arctangent ( b / a )

True-Wind Calculator
{ Apparent-Wind (AW) and Apparent-Wind Degrees off the bow (D) are known. }

http://www.sailingusa.info/true_wind_calculator.htm

This simple calculation doesn't take into account leeway. Leeway is the drift of the boat to the side due to the push of the wind against the sails.

Leeway depends on:

  • Angle to the Wind - is greatest on a close reach and zero on a run.
  • Velocity of the Wind
  • It will be different for every boat.

This simple calculation doesn't take into account current. Current creates a 'water frame of reference' which is different from the 'earth frame of reference'

Earth Frame:

  • GPS
Water Frame:
  • Paddle Wheel Speedometer
  • Wind Vane
  • Anemometer

Current Deviation
C : Is the angle of the Current to Boat's Bow

sine C = c/ac = sine C * a
cosine C = b/a
b = cosine C * a
d = power - b
CD = arctangent ( c/d )

Friday, February 25, 2011

DIYdrones info Links

Lake Depth Survey Blog - http://diydrones.com/profiles/blogs/ardupilot-goes-into-the-water
Lots of interesting posts about the evolution of a boat used the survey the depth of lakes. He used the Ardupilot and V1.0 software, but modified it for a his boat.

Discussion regarding sailboat application - http://diydrones.com/forum/topics/imu-3000

Didn't entirely understand the conversation, but it regards drift compensation.

Required components for a Boat - http://diydrones.com/forum/topics/ardupilot-boat-requirements

User Jim Covert asks about the components need for a boat project. Chris Anderson points out the that he'll want to use Ardupilot 1.0 which lacks stabilization control. A boat doesn't really need that feature.

Another lake survey project - http://letsmakerobots.com/node/21098

Detailed description of boat building process and application of an Arudino Duomilanove for controlling the boat.

Boat navigation with ArduPilot - http://diydrones.com/forum/topics/boat-navigation-with-adrupilot

User Tony K. asks about the components needed to pilot a sailboat. Chris Anderson Give some direction on what is specifically needed and some specifics about GPS parameters.

Two-way Telemetry - http://diydrones.com/forum/topics/moving-waypoints-in-flight

User Peter Ho appears to be using ArduPilot on a boat and wants to change waypoints while en-route. Chris Anderson points out that two-way is available on the ArduPilot Mega.

Everything you need for ArduPilot Boat - http://diydrones.com/notes/ArduPilot


AP for Sailing Vessel - http://diydrones.com/forum/topics/ap-for-sailing-vessel

andrew was starting a project for a auto pilot for a sailboat. He focussed on the magnetic compass. He demonstrated a working tilt compensation compass details here.

AUOOSB Open Ocean Sailboat Project - http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A6278...

Michael King Put up a community page at auoosb.ning.com to work toward building an autonomous sailboat. The site appears to have put on hold by NING but I believe I contacted Michael about reactivating it.

PID Tuning - http://diydrones.ning.com/forum/topics/705844:Topic:46763?xg_source...

Michael King Post on how to tune your PID settings for each craft. Not specific to boats, but PID tuning did cause Harald Molle a lot of grief in his boat project.

Useful Links

Boat Design
http://www.boatdesign.net/

Learn to Sail - good videos explaining various aspects of trimming the sails

Learn to Sail - Sailing tutorials
http://www.ockam.com/tech8.html - VERY good materials on sailing telemetry


Autonomous Sailboats in the Media

Race Across the Atlantic

controller on sailboat - Forum


Ultrasonic Range Sensor

Sonar Ruler

Academic Papers cover Autonomous Sailing

Groups building Autonomous Boats

DIYdrones Links


Wikipedia - Definitions of Related Material

Wind Vane

Compass

Winch - for applying the system to an atonomous full sized boat



Arduino Mega - details

Arduino - learning to use the arduino

XBEEs

FIO (Arduino and XBEE) door, doorbell and others monitor « John's Ramblings


Electronics - general tutorials

Soling 1M