Mathematical model
In the selected coordinate system the mathematical model of the miniship has the following form:
Where xg, zg – mass center coordinates of the mini-ship in a stationary coordinate system. Vx, Vz – speed vector projections on the axes of XZY coordinate system fixed to the mini-ship. φ – ship’s heading.
Actuators
The system’s actuators are represented by two movers based on collector-free asynchronous motors. The motors and propeller screws are located on a mobile frame and can deflect from the longitudinal axis at the same angle. The motors and the servo-drive are controlled by the local controllers receiving pulse-width modulated signal.
Controllability and Stability Analysis
From the figure we can see that the ship is controllable at the speeds Vx < 3.5 mps. For the maximum thrust of 100 N, the permissible motion speed of the considered controlled plant is 3.2 mps.
Control System Research and Design
Using position-path approach to control systems design, the following control algorithm was developed.
Motion modeling. Keeping the course.
Mini-ship should move from (0;0) with the speed of Vз= 1.5 m/s.
Motion modeling for the positioning problem.
For the positioning problem, the mini-ship should move from the initial position to the preset goal point (x0=25;z0=25).
Control System’s Structure and Implementation
The flowchart of the control system is presented in the figure.
Onboard computer. External disturbances, Mission, Autopilot, Estimation Unit, Navigation Data Processing Unit, MCACU (microcontroller actuators control unit), Motor, Servo drive, Neptune, БИНС – IRS (internal reference system), GPS / GLONASS, Dopler Log, Goal Coordinates Unit, Environment.
In the structure of the control system of a miniship, mission is a set of ship’s motion paths and coordinates of positioning points. The autopilot forms the control actions based on the position point coordinates that determine the docking point. The estimation unit estimates the external unmeasured forces and torques. The Navigation Data Processing Unit aggregates the navigation data from IRS and satellite navigation system GPS/GLONASS.
Microcontroller actuators control unit (MCACU) transforms the autopilot’s control actions into the control signal for actuators. The actuators are represented by two screw propeller drives and a rudder servomotor.
An estimation unit is used for estimation of external disturbances.
An integrated navigation system gathers information from GPS/GLONASS and IRS to determine the position of the ship in the global navigation system and the ship’s orientation angles such as yaw pitch and roll. The Doppler log provides the transversal and longitudinal components of the ship’s speed vector with respect to shelf.
Software-Hardwar e Implementation
During the development of the software architecture an emphasis is made on the modular structure of the system and minimization of links between the modules. This gave a possibility to develop the units independently, to unify the data exchange in the system and to increase its predictability and fault-tolerance.
Ubuntu Linux was used as an operation system of the onboard computer. The software is developed on a Robot Operating System Platform, which allows implement weak connectivity of components and to provide a client-server interaction template. The structure of the control system is presented in the figure.
In software development a paradigm was used separating the computations into a high level (computer) and a lower level (microcontroller unit). The microcontroller unit receives the required data from computer or a remote control unit and generates and pulse-width modulated signal for controlling drives and servomotors. The computer calculates the required control actions according to control algorithms, provides computational support for the navigation system and exchanges data with the ground control unit.
Hardware used form of the boat implementation and its specifications.
Hardware | Model |
Onboard computer | Intel Atom N270 (1.6 GHz, 512 kB L2 cache, FSB 533 MHz) |
MCACU | AVR-CRUMB2560, ATmega2560 |
Doppler Log | RD instruments ExplorerDVL |
IRS, GPS/GLONASS | Companav 2 |
Hydroacoustic System |
Evo Logic S2C R 48/78 USBL Acoustic Modem |
Tests
Miniship should reach the set course (φ =1.3 рад) and the set motion speed (V = 1.6 mps). The speed and heading changing is presented in figures.
At the second stage the miniship should move from the point (x = 5;z =0) в точку (x = -4;z = -10). The test results are presented in the Figure below.
Test Results