IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New That's probably a good resource
although typically the robot enthusiast groups deal with wimpy little robots. But, it's likely some have good control experience, analog experience, and motor control experience.

Try looking up PID control (Proportional Integral Derivative) - that's what is normally used for closed loop control, e.g. on all the servo systems we build (and for temperature control, etc) (there's also fuzzy logic). We use commercial motion controllers or PLC's to do the real time stuff.

You'll have to interface to the feedback system (analog front end plus A/D converter to get from resistance to voltage to bits) and jack screw (motor driver of some sort).

I'd recommend using something with a bit of computing horsepower so it's easier to write the NMEA code. There are plenty of little boards available; if you want to use something other than assembly, BASIC, or C/C++, get something that gcc runs on (e.g. x86, PowerPC, ARM) and you should be able to use Objective C via gcc.

Also, it's likely you can visit eBay or other surplus sites to get commercial grade stuff (e.g. brush or brushless motor amplifier) to make your life easier but still be affordable.

--Tony
New I'm happy with C and more familiar with fuzzy methods
for control. Anyhow I envision a couple different modes of operation. The simplest is just "keep the boat pointed that way" and this should be built into a dumb controller that works by itself using just the compass and tiller position data. So the autopilot needs a microcontroller to do this.

A more advanced strategy would be to have a computer figure out corrected headings based on actual boat motion to compensate for current/leeway and allow the boat to track a course. Final goal is I should be able to punch in lat/long and boat simply goes there - using charts and radar to avoid traffic/obstacles.

While I distrust technology - I think a staged and distributed approach will be best with each system fully manual, dumb semi-automatic (state maintaining), and then smart central control to tell the dumb systems what their states should be. This way, if the main computer dies, I only have to babysit the systems from time to time. Ditto if a subsystem (steering, motor control, whatever) fails.

Sort of a smart home approach for boats. Commodity parts for ease of replacement will be favored wherever possible.




[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Many different approaches
There are many different ways of building such a system. Three examples are using a PLC (more industrial approach, but more costly), using a single board computer (ZWorld, New Micros, and many others), or using an industrial PC (e.g. PC104 system)

It might be good to see what the Seattle Robotics people like - then you hopefully can good feedback and help. Or pick a system with an active mailing list.

Protection from the elements is going to be a big concern. It may be better to build your own enclosure - you can get splash resistant systems (e.g. IP67 using sealed connectors), but they cost considerably more.

BTW, they're probably too pricey and I don't have any experience (not a good fit for our applications), but I've always found [link|http://www.exlar.com/|Exlar's] linear actuators interesting.

--Tony

New I've gotten a few good ideas
from the robotics people. Someone pointed me to this:

[link|http://www.digitalmarine.co.kr/prod_mif_e.htm|http://www.digitalma...kr/prod_mif_e.htm]

Unversal NMEA converters. That should make things like rudder angle/rate easier to read.

Other advice I've gotten

"By using an off the shelf PLC controller like a Siemens s7-200, or a
micro logics Allen Bradley, both available in 120V or 12VDC and other
voltages, could receive analog input via the NMEA universial converter
on desired compass heading from a remote navigation program, the PLC
controller utilizing Proportional Control (PID control build into these
small controllers) would send left or right digital outputs to an
electrical actuator (like those pictured at Nookindustries, but they are
also availble from Graingers in South Seattle off 4th Ave) An encoder
could be attached to the rudder that provided a 4-20 mA signal relative
to position, BCD or several other codes could be sent back to the PLC
for feed back. Both the Siemens and AB conrollers have small LCD touch
screen interfaces that are easy to configure and setup."

So I'll have to research this stuff some more.



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Avoid A-B; PLC has good and bad sides
We've used A-B, Panasonic, Automation Direct, Omron, and Siemens PLC's.

The PLC approach does have its advantages. They are industrial quality, with various input (24VDC, 120VAC, analog in, etc) and output (24V, relay, analog out, etc) options, while the C-programmable stuff is typically bare boards with TTL (5V) inputs and outputs. If you need 4-20mA, you'll have to check that the PLC has an option for it.

Some do have built-in PID; we've done PID temperature control. If you want to do PID, make sure it's built in.

Older PLC's are programmed solely in ladder logic, which is a fine fit for combinatorial logic ("when these inputs are in this state, do this"), but sucks for everything else (e.g. sequence of actions). Newer PLC's support the IEC61131 standard, which supports five langagues: ladder, function block (ladder written with AND/OR instead of wires), structured text (our favorite; a mix between Basic and Pascal), flow chart, and ladder assembly.

PLC's are horrible for any kind of data handling, so if you do use them, that recommended approach (use PLC as PID controller, don't do NMEA conversion) makes sense.

The price will be higher, and you'll have to pay for programming tools (A-B's are very pricey, and have copy protection; Siemens, Aromat, Automation Direct are more reasonable) or know someone who has them.

Some companies have starter deals which include a PLC and software. Aromat has run specials on PLC's and Operator Interfaces occasionally. Siemens runs them often (including both PLC and Operator Interface); you will need to contact your local distributor.

I recommend looking at [link|http://www.sea.siemens.com/automat/product/plc/auov.html|Siemens], [link|http://www.nais-e.com/plc/|Panasonic], and [link|http://www.automationdirect.com|Automation Direct] PLC's. Automation Direct has all their pricing on line, and it's competitive. (A-B does has on-line pricing, too, if you register, but it's quite high, even after a 30% discount). Then you can use resources such ebay and [link|http://www.plccenter.com|PLC Center] to see if you can get surplus or used equipment at much better prices.

--Tony
New Maybe you could barter
an improved web site for PLC Center for some of their surplus stuff. Check out their "advanced search" web page, takes forever to load - I think because they're loading a whole long list of all the possible companies to search for.

--Tony
     Hardware hacking tips requested - tonytib? - (tuberculosis) - (23)
         IANTT - (Another Scott) - (16)
             No - nothing off the rack works - (tuberculosis) - (15)
                 Variation on IANK - (Another Scott) - (9)
                     No hydraulics - (tuberculosis) - (1)
                         Good points. - (Another Scott)
                     Here we go: http://www.seattlerobotics.org/ - (tuberculosis) - (6)
                         That's probably a good resource - (tonytib) - (5)
                             I'm happy with C and more familiar with fuzzy methods - (tuberculosis) - (4)
                                 Many different approaches - (tonytib) - (3)
                                     I've gotten a few good ideas - (tuberculosis) - (2)
                                         Avoid A-B; PLC has good and bad sides - (tonytib) - (1)
                                             Maybe you could barter - (tonytib)
                 Prolly a dumb question, but... - (jb4) - (4)
                     This is for motoring only - (tuberculosis) - (3)
                         I see...thanx for the visuals - (jb4) - (2)
                             No, when was the fire? -NT - (tuberculosis) - (1)
                                 last couple of days... - (jb4)
         bah, new fangled things, whatever happened to lashing it? -NT - (boxley) - (5)
             Tends to drift off course after a few minutes when motoring - (tuberculosis) - (4)
                 under power eh? let me get back to you -NT - (boxley)
                 What kind of electrical power do you have to run this? - (boxley) - (2)
                     12VDC -NT - (tuberculosis) - (1)
                         add $40 for a decent transformer -NT - (boxley)

Innovation from the rear again.
138 ms