These tasks are performed by the phone and by
the Arduino ADK. The current location information
and the required orientation and thrust of the vessel to
achieve the target location is computed by the phone.
It uses information from the base control station and
from its own sensors. The information obtained is
transmitted to the Arduino ADK, which has to send
the onboard information to the base control system
and has to generate the control signals for the motor
driver.
3.1 User Interface
The user interface has been programed by using Mi-
crosoft Visual Studio, providing a Windows applica-
tion to control the ASV. It is located in the base con-
trol station. The application allows the control of the
ASV in two modes: manual and automatic. In man-
ual mode, the operator controls each motor directly.
While the application is in automatic mode, the oper-
ator sends geographical references through a map and
the onboard control system perform the control of the
ASV to reach the target reference.
The user Interface for the ASV is shown in Figure
7. The parts of the interface are:
1. Received data: Field for received data from on-
board control system (longitude, latitude, speed,
altitude, accuracy, angle, etc) .
2. Operation mode: It allows user to choose type of
operation of ASV(automatic or manual).
3. COM Port: Field for selecting the serial port in
which is connected the Arduino Mega. It allows
user to stablish or not communication between
user interface and Arduino.
4. Map: Field to display the current position in a
map. The map is obtained from Google Maps us-
ing the location of the vessel.
5. Field of operation in different modes (Auto
Mode/Manual mode) and adjust the PID parame-
ters. It allows to send information to onboard con-
trol system through Arduino ADK (latitude and
longitude of desired point) based on the opera-
tion parameters like: PID adjustments, control-
ling commands of ASV in manual mode. Further-
more, it allows to receive information from on-
board control system (azimuth, distance)
6. Speed motor manual monde: Field to display
graphs of location in manual and automatic mode
(speed and azimuth).
7. Debug information: Field for debugging and fu-
ture instalation of a webcam in the ASV.
3.1.1 Manual Mode
The manual mode is one of the working modes of the
ASV. In this mode the user can control the vessel with
the control shown in Figure 8. This mode have two
working ways. Fisrt, the ASV control of the trajec-
tory, where the user can control the direction of the
movements of the vessel. Second, the direct motor
control, where the user can control the speed of each
motor of the vessel. Furthermore, in the second mode
the user can connect or disconnect each motor inde-
pendently.
3.1.2 Automatic Mode
The automatic mode. Figure 9 shows the layout of
the interface that allows user to input commands for
the automatic mode. In this mode the target point and
the speed required have to be indicated by the opera-
tor. These information can be introduced directly or
by clicking in the map. The automatic mode a frame
shows the azimuth required to achieve the target loca-
tion and whole distance to it.
3.1.3 PID Adjustment
The vessel on-board system has one PID controller to
control motor speed based on information provided
by the based control system. The vessel has other in-
dependent PID controller to generate trajectory refer-
ences and transform them to thrust and azimuth re-
quired by on-board control system. Figure 10 shows
a interface form that allows user to specify the param-
eters K
p
, T
i
and T
d
of each PID controller.
4 CURRENT RESULTS AND
FUTURE WORK
The result of the work presented in this paper is an
ASV (Figure 11) which a great manoeuvrability and
an interface which provide the operator a good control
of the system.
The ASV has been tested in laboratory environ-
ment to check that all part of the ASV responds prop-
erly. All the parts of the vessel have been printed
and assembled, adding the electronics components
and motors to the system. The communication sys-
tem has been tested with good results and the motors
responds properly to user commands. Furthermore,
the waterproof and buoyancy of the ASV has been
checked with positive results. The next phase will be
to check the vessel on water environment, lake or sea
to perform a real task.