Board Application

I'm wondering if an Andruino board might control altitude, pitch and roll on my pedal powered hydrofoil design.

I am at the ready-to-build point, but before I commit to this control mechanism, I'd like confirmation it will work.

Yaw control can be easily done by hand but, experience has shown that roll, pitch and altitude are extremely difficult.

I'm hopeful a "board" would be up to taking care of these variables without any manual input what so ever, completely automatic.

I was thinking a servo for each of the four foils.

Is this a feasible idea?

The sketch is to scale with the hull being 21' (7m).

What makes this vehicle so unstable is the buoyant pod.

It floods and purges according to velocity.

1/3 of the lift comes from it with the remainder from the foils.

Would a board be a reasonable approach for this?

Thanks.

The hard parts would be to get a way of measuring the thing you want to control, and then an actuator that can effect it. Fundamentally, what you're trying to do is no harder than trying to stabilise a helicopter and a gyro-based feedback system should be fine.

Do you actually need an electronic control system, though? Early hydrofoils just used a leading foil which flew on the surface and trimmed the lift foil. Can't you use something like that - in other words make the system inherently stable in each mode?

Thank you for the reply Peter.

I thought the sensors were in the board.

Would the actuators not be the servos I referrenced?

The conventional methods you refer to are not great and would not work for my design.

How would I best move forward with my endeavor?

Sensing bow height and stern height seperately would take care of altitude and pitch together.

Roll is the most challenging variable.

I have received advice from levelers to gyros to accelerometers to a leveler and gyro combined.

Mechanically I am fine but electronic control is where I really need some assistance.

-Tom

To measure height, the most obvious approach to me is to have something that stays in contact with the surface of the water and put it on some sort of arm; as the height changes the angle of the arm changes. Then you just need a rotary position sensor capable of tolerating your environment to measure the angle of the arm. If you reckon you are going to be able to waterproof all this OK, a rotary potentiometer would be enough to get you started. Longer term you might want to use a rotary encoder to avoid wear issues.

I'm not sure what sort of control mechanism you have in mind but I would guess the forces involved in holding lift planes at a specific angle while you're traveling at speed might be considerable. Have you figured out the sort of forces and travels you need to provide?

I'm not sure what you need to do to stabilise the roll. Presumably the pilot is going to be trying to roll the vehicle to steer it? One thing I've learned from stability control systems on vehicles is that you don't actually need to make the electronic control perfect; all you need to do is damp it down and slow it down to the point that the human pilot can control it themselves. Is it stable in roll currently?

Peter,

Thanks again for replying.

As I said, mechanical sensors are not a candidate for this project.

Also, there is no manual input accept to yaw.

If you'd be so kind as to review my posts I be happy to clarify any confusion.

-Tom

CaptainTom:
As I said, mechanical sensors are not a candidate for this project.

What about using differential pressure sensors to measure the depth of the pod (and therefore height)?

Also, there is no manual input accept to yaw.

So how does it yaw? Won't it have to lean into the turn?

CaptainTom:
As I said, mechanical sensors are not a candidate for this project.

Actually, I don't think you've said that until now.

In the absence of a mechanical sensor, how do you propose to measure ride height?

It couldn't be more unstable in roll right now.

I was hoping you would have the answer to sensing ride height.

Yaw is controlled by spring centering hand cables that pivot the aft rudder.

It's visible in the sketch.

Yes, I would very much like it to lean in turns but how with bolt upright electronics.

It would require a sensor that senses gravity so that when it "feels" centripedal force it balances it with the correct amount of banking.

CaptainTom:
Yes, I would very much like it to lean in turns but how with bolt upright electronics.

That's what I thought. Have a look at this simulation I did a while ago:

I was only animating the target lean angle of the bike. A PID controller took care of applying torque to a motor on the forks, steering to keep the bike at the commanded angle.

But in your case, if the 4 foils are independently controlled couldn't you think of it as a quadcopter (with rudder) with altitude and attitude hold? Except for yaw which is manually controlled. Then couple the yaw to roll through a nested PID. It would be fun (and wet) tuning it :slight_smile:

For ride height you could have something like a forward facing tube attached to a strut so that it is just clear of the surface at your desired ride height, and connect it to a pressure switch. You'd need to do a fair amount of smoothing on this to get an average ride height given that the pickup would be being splashed by waves, but that seems doable. One front and back gives you right height and pitch inputs.

For roll, I can see two approaches. Over short timescales, you can use a gyro to detect roll acceleration and use negative feedback to resist it. This will make the vehicle slow to roll but not stop it rolling. Over longer timescales you can use an accelerometer to measure the average direction of acceleration in a lateral plane. If the vessel is in balance (so that the net thrust vector passes through the center of mass - in other words it is upright, or turning and banked over into the turn by the correct amount to balance it) then the acceleration vector will aligned with the centerline of the vessel. If the thrust vector is offset to either side then the vessel is accelerating in roll and you probably want to try to bring it back into balance. Note that these systems will only try to resist roll - they will not completely prevent it, so it will still be possible to overcome them by steering input.

Have you thought about the sort of forces/moments and speeds that your servos will need to produce? It seems to me that these might be quite high and need big servos and a correspondingly big power supply. I assume that weight is the enemy here.

Unfortunately, I wasn't able to view your simulation, my Samsung Tablet 10.1 can be fussy about these things.

I'll try later on my othe computer.

But it sounds like you get the idea, it IS a lot like balancing a bicycle.

Peter,

Sounds promising, but it wouldn't leave me without directional control would it?

That I would be a directional slave to keeping the thing upright?

Or, again, would it be more like riding a bike?

I'm trying to balance the pivot point of the wings as much as possible to reduce the loading on the servos.

I'm considering HiTec HS-5646WP's

My range of travel is only ~18 degrees, (+8 / -10) so I'll have a good amount of mechanical advantage in the linkage geometry.

Weight is an issue but cost is probably bigger.

I weigh 190 pounds, the boat ~40, so it is all relative...

I doubt that you'll end up with anywhere near enough control authority to prevent you steering. I'd expect it to more like the vessel trying to keep itself under you as you move your weight left and right, much like a bike does. Obviously, turning will require the vessel to lean into the turn - otherwise it would simply topple over on the outside of the turn. But have you decided whether your primary steering input will be via roll or yaw?

Peter,

I've really misunderstood your previous post from 7:17am.

I thought we were making some headway.

I am at a loss for words.

PeterH:
If the thrust vector is offset to either side then the vessel is accelerating in roll and you probably want to try to bring it back into balance.

That's why I said use PID controllers. The only problem with that is if the payload (mass) changes significantly, such as a different pilot who ways more, it would (probably) have to use different PID coefficients.

Peter, what about using differential pressure sensors to measure ride height like I mentioned? Don't you think that would work?

jabbado:
Peter, what about using differential pressure sensors to measure ride height like I mentioned? Don't you think that would work?

I would have thought it would be difficult to get them to work reliably, because the vessel is moving in a turbulent environment. My thought with the pressure switches was just to detect whether the picking was immersed (in water moving fast enough to trigger it) as a way to find whether it was above or below the surface. With waves and splashing and so on this is going to be a very dirty signal but it could be smoothed to return the proportion of time that the sensor is out of the water. If the sensor is positioned so that it is level with the surface at the required cruise height then that should work just fine, I'd have thought.

Thanks everybody for your assistance, I really appreciate it.

I'm looking into capacitive level sensors and will do some board research over the holidays.

Merry Christmas.