DEV Community

Cover image for SLX SeaBalance · Ship Roll and Stabilization Simulator
Marco
Marco

Posted on Originally published at siliconlogix.it Fully Autonomous

SLX SeaBalance · Ship Roll and Stabilization Simulator

A wave on the beam can heel a vessel. Buoyancy tends to bring it upright, while subsequent waves, weight distribution and speed shape its response. On a workboat, rolling can make it harder to work on deck and operate equipment. SLX SeaBalance simulates this motion and shows how a pair of stabilizer fins works underway. Control engineers and system integrators can compare controller settings, see how the actuators respond and explore more demanding sea states and loading conditions.

The same vessel with and without stabilization

The 3D view shows the hull's heel angle and the movement of the fins. You can watch the vessel with the controller switched off, with a PID controller or with the SLX control strategy. Wave height, period and direction define the sea state. For irregular seas, the simulator combines wave components at different frequencies and phases to produce a repeatable wave sequence. Reusing that sequence makes it easier to see how a change in the controller or in the operating conditions affects roll.

The controller can run on the PC or on an STM32MP135 board connected over Ethernet. With the board connected, the simulator generates inertial sensor samples. The board estimates the vessel's motion and returns commands that the simulator applies to the virtual fins. The resulting hull motion provides the next sensor sample, closing the loop.

Synchronized 3D views of the vessel with stabilization switched off and with SLX stabilization active, shown with a roll plot.

The synchronized views show how the vessel is heeling at the same point on both roll traces.

What drives ship roll

The model tracks rotation about the vessel's longitudinal axis. Waves and any shift in the load can exert moments that increase heel. Buoyancy can produce a righting moment, damping dissipates some of the motion's energy, and the fins apply a corrective moment. For a given net moment, inertia determines how quickly the roll rate changes. Speed and heading also affect how often the vessel encounters wave crests. As the encounter period approaches the vessel's natural roll period, the oscillations can grow. ITTC, roll dynamics and damping.

How the fins counteract roll

The fins sit on opposite sides of the hull. When deflected, they generate opposing forces that produce a moment about the roll axis. If the port side rises, its fin can push down while the starboard fin pushes up. Lift depends on the fin's angle of attack, its submerged area and the dynamic pressure of the water, which increases with the square of the relative flow speed. The same fin angle can therefore produce a very different corrective moment as vessel speed changes.

Stern view showing the fins applying a downward force on the port side and an upward force on the starboard side.

The magnitude of each force and its distance from the longitudinal axis determine the corrective moment.

In the simulator, the fins take time to reach their commanded position and have limits on travel and rotation rate. A plot shows the commanded and actual angles separately. This makes it possible to see when the controller asks for more correction than the fins can deliver. A fin can also lose effectiveness if it partially leaves the water or stalls and loses lift.

Stability reserve at large heel angles

The GZ curve plots the righting arm against heel angle. Multiplying the arm by the vessel's weight gives the righting moment. Near upright, the initial slope of the curve, with heel measured in radians, equals the metacentric height GM. At larger angles, the shape of the curve and the remaining positive righting range matter. The Stability view relates the current point on the curve to the vessel's roll energy and the remaining work available to bring it upright.

Example GZ curve. The righting arm rises, falls to zero and turns negative at larger heel angles.

The example workboat's GZ curve shows how the righting arm changes with heel. The point where the curve crosses zero marks the end of the positive range.

A higher center of gravity or a free liquid surface in a tank reduces the stability reserve. If an opening dips below the local water surface, the model estimates the inflow and updates the mass distribution. Replay can trace the progression from immersion of an opening to loss of righting moment and capsize if these events occur. Users can import a GZ curve for a different loading condition. IMO, dynamic stability of ships in waves.

Reading the effects of a maneuver or fault

During a session, users can change the sea state or loading condition, adjust the actuator delay or introduce a fault such as a jammed fin or loss of the inertial sensor signal. Replay shows each intervention on the same timeline as roll angle, controller estimate, fin commands, fin positions and alarms. If the vessel keeps rolling, users can find where the response departed from expectations and see whether the limiting factor was the sensor data, the actuator response or the available corrective moment.


This English article was drafted and translated with AI from Silicon LogiX project material and editorial direction.

Canonical article on Silicon LogiX.

Top comments (0)