Boat Design Forums  |  Boat Design Directory  |  Boat Design Gallery  |  Boat Design Book Store  |  Thanks to Our Site Sponsors

Go Back   Boat Design Forums > Design > OnBoard Electronics & Controls
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #46  
Old 11-18-2009, 04:32 PM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 794 Posts: 1,407
Location: Southern England
YBW OpenPilot already have what looks like a sensible autopilot implementation. That's why I'm talking to them. I do not intend to develop an autopilot independently for my OpenPilot project, I have far too much to do as it is.

Thanks for the offer, there is plenty of non-autopilot related ways to contribute to my OpenPilot project. YBWOP might be glad of the input though if you feel like joining the open-source community.

Cheers,

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
  #47  
Old 11-19-2009, 04:27 AM
catsketcher catsketcher is offline
Senior Member
 
Join Date: Mar 2006
Rep: 700 Posts: 691
Location: Australia
Inertial guidance systems

Dave

Are you basically saying that we should copy the old 747 style of inertial guidance system? This was the hyper accurate accelerometer thingo that measured all accelerations and timed them so that you knew where you were as long as you gave an initial accurate position.

If we take this concept further, why not use a GPS and then have accelerometers at the ends of the boat that then track how far the boat has moved from the last GPS position? You would not need quick GPS updating if the accelerometers had software that allowed them to calculate changes in course. Have the accelerometers do most of the work and refer to the GPS rather than the reverse.

I am sure someone has thought of this for boats but how far apart would the accelerometers need to be? Is there software available now?

cheers

Phil
Reply With Quote
  #48  
Old 11-19-2009, 05:26 AM
Joakim Joakim is offline
Senior Member
 
Join Date: Apr 2004
Rep: 321 Posts: 409
Location: Finland
It is typically not important to keep the boat very accurately "in the middle of the road". You get the cross track error from GPS and can adjust the course to in order to keep close to the "road". No need for accelerometers for this task.

Furthermore just two would not be enough due to heel and trim. In order to track the real position with accelerometers you need 3 accelerometers and 3 rate gyros which form the basis of an INS system. But as I said, there is no need for this in a boat.

What is not so easy and far more important is to keep the heading constant. This is necessary in order to keep the sails operating well and keeping the passengers happy. For this task the most important input is the current heading and that should be as instant as possible for boats that are not so course stable. The best source for this instant heading is visual, but that is not easy to implement into electronics. A rate gyro + some average heading device (fluxgate or GPS) does the job well enough.

You could build your own rate gyro from two accelerometers with longituninal distance, but why would you do that when there are compact and (more) accurate rate gyros available.
Reply With Quote
  #49  
Old 11-19-2009, 03:33 PM
Joakim Joakim is offline
Senior Member
 
Join Date: Apr 2004
Rep: 321 Posts: 409
Location: Finland
Quote:
Originally Posted by CDK View Post
You have a very weak arguing position! I flew anything from a single prop Piper to military jets, believe me it's quite different from a sailing boat.
Yes that is true. However I don't know how strong is your arguing position about modern sailboats.

I just talked to a friend of mine who has plenty of experience on airplanes. He said that flying straight ahead does not require much input from the pilot. My sailboat would not go straight ahead for even one second without input from a pilot in many conditions.

I know there are military jets that are even completely unsteerable without an "autopilot", but I would assume "normal" airplanes are quite stable and do not require especially fast response from an autopilot.
Reply With Quote
  #50  
Old 11-19-2009, 05:57 PM
gonzo's Avatar
gonzo gonzo is offline
Senior Member
 
Join Date: Aug 2002
Rep: 1493 Posts: 7,447
Location: Milwaukee, WI
How small are accurate accelerometers. They used to be pretty big and heavy. I assume they are based on a gyroscope.
__________________
Gonzo
Reply With Quote
  #51  
Old 11-19-2009, 09:39 PM
farjoe farjoe is offline
Senior Member
 
Join Date: Oct 2003
Rep: 26 Posts: 114
Location: med
Quote:
Originally Posted by gonzo View Post
How small are accurate accelerometers. They used to be pretty big and heavy. I assume they are based on a gyroscope.
the smallest I know is 3mm x 3mm x 1mm and the technogoly is not based on the old style gyroscopes. the main problem using these for us amateurs is actually how to solder reliably to the pads since they are about 0.2 to 0.3 mm square. Go to www.st.com and search for accellerometers for more details. They are the current world leaders in this area.
Reply With Quote
  #52  
Old 11-19-2009, 11:52 PM
Submarine Tom's Avatar
Submarine Tom Submarine Tom is offline
Mariner
 
Join Date: Aug 2008
Rep: 937 Posts: 1,941
Location: North America (not USA and not Mexico but, below the 49th parallel, and on the Pacific coast)
That's correct, they are tiny. The ones I've installed (130 in total) to

measure earthquakes, are accurate to 0.5 mili-g. It is automotive air-bag

technology basically. They are also cheap, it's the support circuitry that's

going to slow you down. On a production run, we made 100, 3-axis sensors

for US$1500 each.

_Tom
Reply With Quote
  #53  
Old 11-20-2009, 03:02 AM
CDK's Avatar
CDK CDK is offline
retired engineer
 
Join Date: Aug 2007
Rep: 1425 Posts: 2,252
Location: Adriatic sea
Quote:
Originally Posted by Joakim View Post
Yes that is true. However I don't know how strong is your arguing position about modern sailboats.

I just talked to a friend of mine who has plenty of experience on airplanes. He said that flying straight ahead does not require much input from the pilot. My sailboat would not go straight ahead for even one second without input from a pilot in many conditions.

I know there are military jets that are even completely unsteerable without an "autopilot", but I would assume "normal" airplanes are quite stable and do not require especially fast response from an autopilot.
To be quite honest Joakim, I spend as little time as possible aboard sailing vessels because I hate it when the resultant of forces on my body shifts from the vertical axis. Aboard a planing craft I feel much more at home. After a regatta in the North sea that turned into a nightmare due to thunderstorms I decided to decline further invitations to board sailing boats which aren't secured with heavy chains to immobile concrete objects.
But one also has obligations and I do have several sailing friends, so occasionally I do speak words of admiration sitting in a dangerously angled cockpit of a Bavaria, Jeannau or Marieholm, wishing it were over. Somehow these guys never invite me when the sea is calm.

So I do have some experience with sailing boats, just as I have some experience flying planes. I never was a pilot, but a military air traffic controller. At the time it was customary to let the ATCs taste what it was like to fly in the various machines they had to guide to the glide-path. Especially simulated emergencies like SFO (simulated flame-out), hydraulic failures and "speechless" procedures were very enlightening. And they let me make several 100 hours in a link trainer because I was a mechanical engineering student and my bosses thought I might have ideas about improvements.

Your friend is not completely wrong. Flying straight and level in a trimmed plane on a clear cold morning at 3000 ft is child's play. But cruising at 20.000 ft or above on that same day already puts you in the jet stream where 100 mph is quite usual. Your aircraft is doing 450 and even when the angle between course and wind is small the forces on the plane are considerable. The pilot has to adjust not only the course with the stick or steering column, but also use his feet to bank the plane so it doesn't slip sideways, pull or push to change the forward angle and adjust the throttle settings to maintain altitude and/or speed. The interaction between these controls is far more complicated than moving the rudder on a sailing boat.

CAT (clear air turbulence) on a hot day has caused airliners to crash during landings because the pilot couldn't react fast enough and a wing tip briefly touched the ground although the ATC informed the pilot during his approach so he was prepared for it. A modern automated landing system integrates the autopilot with the ILS (instrument landing system) with such an accuracy that it positions the plane exactly on the touchdown point with almost zero visibility. On the glide-path it corrects for wind, air density, reduces speed, extends flaps and lowers the gears with mathematical precision without pilot intervention.

The next time you are in an airliner and the fasten seat belts goes on early, watch the wingtips and engines swinging wildly. It gives you some idea of the forces the automated system has to cope with and the response time necessary.
Reply With Quote
  #54  
Old 11-22-2009, 04:22 PM
DaveJ DaveJ is offline
Senior Member
 
Join Date: Jun 2009
Rep: 66 Posts: 131
Location: Brisbane, Australia
Quote:
Originally Posted by catsketcher View Post
Dave

Are you basically saying that we should copy the old 747 style of inertial guidance system? This was the hyper accurate accelerometer thingo that measured all accelerations and timed them so that you knew where you were as long as you gave an initial accurate position.

If we take this concept further, why not use a GPS and then have accelerometers at the ends of the boat that then track how far the boat has moved from the last GPS position? You would not need quick GPS updating if the accelerometers had software that allowed them to calculate changes in course. Have the accelerometers do most of the work and refer to the GPS rather than the reverse.

I am sure someone has thought of this for boats but how far apart would the accelerometers need to be? Is there software available now?

cheers

Phil
I'm not saying to use a complex system that is used in todays jet airliners. I don't really want to compare the systems used in planes to boats, as they will be different beats, but more the ideaology on how to achieve the end goal.

Yes Phil, the concept of thought i'm trying to get people to understand is you use the accelorometers as a stability system and use the gps signal to look like an error that the stability systems compensates for, which ends up being course corrections that are sumed with wave/wind/current actions thus the boat will steer a straight course.

Accelerometers are cheap and accurate, very easy to use. Go to this link to find out infomation, i love this place http://www.sparkfun.com/commerce/categories.php?c=80

and this place also has very cheap GPS modules, http://www.sparkfun.com/commerce/categories.php?c=4

My problem is i can't program to save my life, i've brought a book on how to programm the microchip IC's in an effort to make my own systems, for those out there that can, will be able to make a great system very cheap.
Reply With Quote
  #55  
Old 11-22-2009, 04:27 PM
DaveJ DaveJ is offline
Senior Member
 
Join Date: Jun 2009
Rep: 66 Posts: 131
Location: Brisbane, Australia
On a side not to CDK's comment, the ILS are so accurate, that they had to introduce errors, the reason for this was that the planes wheels where touching down on the same spot every time and was wearing the runway outs, so they (not sure how it is done) make the planes land on different spots of runway at different intervals.
Reply With Quote
  #56  
Old 11-24-2009, 01:24 PM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 794 Posts: 1,407
Location: Southern England
Dave,

I have worked with instrumenting vessels, and post-processing the data and the first point to note is that getting motion data that is actually meaningful (think about the planes of reference and what you're actually going to be measuring) for starters is not a particularly easy job. Point 2 is that if you want to integrate the answer from the accelerometers to get position, you will need REALLY accurate measurement, this is not impossible but it will take an amount of work. If you try to do this, you'll find out very quickly why inertial navigation systems are so expensive, and why they're not fitted to yachts.

Historically, the approach to autopilots has been to steer either a constant course, or a constant apparent wind angle, the latter being done very successfully with a rudder vane.

I would suggest that you start with a simple heading-hold autopilot, written on "standard" PC hardware, there's a lot of code around written under Linux that will help.

You can then look at the effect of proportional control. You can also use the GPS to evaluate the typical cross-track error. There are GPS units that will update at 5Hz, and this will be more than adequate. You should probably be looking at a minor correction for cross-track error every 30s to 1min.

So, the inputs that I would expect you to need for a reasonably good system would be:

GPS track
Magnetic Heading
and later Apparent wind angle

The output is simply rudder angle.

Hope this helps,

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
  #57  
Old 11-29-2009, 05:42 AM
TedZ TedZ is offline
Junior Member
 
Join Date: Jan 2009
Rep: 11 Posts: 23
Location: Glens Falls, New York
I am always impressed at how erudite the folks are on this forum.

Someone mentioned accelerometers. While once these were expensive and easily damaged, they are neither now. It seems that all of the other factors discussed taken into account, a multi-axis accelerometer as a part of the design would give the kind of early info needed to allow the AP to "anticipate" situations such as a following sea. No question in my mind that there is a learning curve associated with this type of design but could be a big improvement.

Ted
Reply With Quote
  #58  
Old 11-29-2009, 08:11 AM
Itchy&Scratchy's Avatar
Itchy&Scratchy Itchy&Scratchy is offline
Senior Member
 
Join Date: Jul 2008
Rep: 117 Posts: 141
Location: Oxford & South Africa
Bloody hell...... I was lost at the second posting

Some clever people here- thats for sure.

J
__________________
Im working on my second million.........I gave up on the first!
Reply With Quote
  #59  
Old 12-06-2009, 04:57 PM
DaveJ DaveJ is offline
Senior Member
 
Join Date: Jun 2009
Rep: 66 Posts: 131
Location: Brisbane, Australia
Quote:
Originally Posted by TedZ View Post
I am always impressed at how erudite the folks are on this forum.

Someone mentioned accelerometers. While once these were expensive and easily damaged, they are neither now. It seems that all of the other factors discussed taken into account, a multi-axis accelerometer as a part of the design would give the kind of early info needed to allow the AP to "anticipate" situations such as a following sea. No question in my mind that there is a learning curve associated with this type of design but could be a big improvement.

Ted
Ted: Agree with you, the accelerometers are alot more durable then gyro's. I guess the main reason for posting is the lack technology that has gone into boat AP's compared to other forms of travel (ie. the antilock, antiskid braking systems in cars). No one has accually ask how one would go about it, having done testing and troubleshooting on many different type of aircraft automatic flight control systems, i have an understanding how it is done in the aviation world and see some simularities that can be untilitised in the marine sector.

I would be all to happy to help in this area.

Dave,
Reply With Quote
  #60  
Old 12-06-2009, 05:01 PM
DaveJ DaveJ is offline
Senior Member
 
Join Date: Jun 2009
Rep: 66 Posts: 131
Location: Brisbane, Australia
Quote:
Originally Posted by Itchy&Scratchy View Post
Bloody hell...... I was lost at the second posting

Some clever people here- thats for sure.

J
I agree, thats why i like reading this forum, i learn alot.
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with a raymarine ST 6001 Autopilot Antonio Alcalá Stability 8 05-20-2009 02:45 AM
I need some information on the C-Tronixs AP9000 autopilot. bntii OnBoard Electronics & Controls 0 04-29-2009 06:07 AM
New to Forum Question Parts Brand new Steering &Robertson Autopilot Toolman Materials 2 09-23-2008 10:49 AM
Parts for AP45 Autopilot stuartyh Services & Employment 0 08-19-2008 04:21 PM
Autopilot System for Sailboat taobsu Boat Design 0 08-09-2005 12:41 PM


All times are GMT -5. The time now is 12:46 PM.


Powered by: vBulletin Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Web Site Design and Content Copyright ©1999 - 2012 Boat Design Net