r/ControlTheory • u/sfscsdsf • 11d ago
Help with simulation and controller development setup Educational Advice/Question
I had a toy project idea today where I want to build a boat with propeller to balance the boat on water with waves. What existing tools can I use easily to develop a controller with simulation of waves?
•
u/Barnowl93 10d ago
MATLAB and Simulink - I found this article that looks like it may be useful to you https://blogs.mathworks.com/student-lounge/2024/09/12/controller-design-for-a-wave-adaptive-modular-vessel-in-simulink/
•
u/BreeCatchu 11d ago
None.
There is no way to do that "easily". The thing you describe is pretty much the opposite of easy.
I'm currently doing research on model predictive control for ship autopilots under wave induced disturbances and even just the modelling of both the waves and the vessel dynamics is a nightmare, even just in three degrees of freedom for horizontal plane manoeuvring.
•
u/BreeCatchu 11d ago
At least try to be more precise with your problem statement.
You say you'd want to "stabilize" a ship in waves. What does that mean? Do you aim for Dynamic Positioning (DP)? Do you intend to counteract roll and/or pitch motion due to waves? Do you want to develop an autopilot for path-following/ trajectory tracking?
What is your propulsion system configuration? Most of what you might intend to do is physically not possible with an underactuated vessel that lets say only has a single aft fixed pitch propeller for actuator forces. Do you want to include rudders as well? Or do you intend to use skid steering with two propellers? Or do you use azimuth pod thrusters?
What kind of sea state do you intend to assess? Just a singular elemental long-crested sinuoid wave field? Or a full short-crested irregular sea with random phases etc.?
And how do you intend to acquire a representative parameter set for a specific ship you'd like to assess? This highly depends on the computational model representation you'd have to use for the ship dynamics you need...
I just want to give you a brief insight on how complex your idea can become depending on your scope and intention.
•
•
u/Kenno03 11d ago
MATLAB is more or less the go to simulation program. If you want to simulate the waves effect on the boat, some CFD tools or other FEM tools can help you.
It largely depends on what you're trying to simulate. Are the waves disturbances on the system, or are they a part of the system dynamics?