108 D. Toal, E. Omerdic, J. Riordan, and S. Nolan
7.2.3 Architecture and Implementation
Interconnection between the VUL and existing ship and ROV resources, real-
world environment is shown in Figure 7.2. In the simulated environment, real-
world components from the ship (GPS1, GAPS) and the ROV (PHINS, external
sensors, power lines and leak detectors) are replaced with hardware/ software
simulators, as shown in Figure 7.3. More details about the roles, input/output
interface and function of the main hardware VUL components can be found in
Omerdic et al. [7].
All simulators are synchronised with real-time. Full 6 DOF vessel dynamic
models are implemented, including thruster DC-motor dynamics with non-
linearities such as saturation, slew-rate limiter, friction, non-linear propeller load
and so forth. Different components of ship and ROV simulators are simulated as
parallel loops executed with different speeds depending on the dynamics of
components. Payload imaging sonars are simulated remotely on a dedicated PC.
The inputs to and outputs from the virtual instruments (simulators) are compatible
with corresponding real-world instruments at the signal level. In this way, all
communication delays and latencies are present during the control design stage
which then provides a framework to support the design of robust control systems
in a realistic environment.
All software is implemented in LabVIEW, Matlab and Visual Studio C++.
Data (outputs of individual components) are bundled into clusters and transmitted
using network-published shared variables based on the National Instruments
Publish-Subscribe Protocol (NI-PSP). The NI-PSP protocol uses less network
bandwidth and is more efficient than TCP/IP for the given requirements of the NI-
PSP protocol. However, unlike the User Datagram Protocol (UDP), the NI-PSP
protocol guarantees delivery by implementing an additional layer of functionality
on top of the raw UDP structures.
A simulation block diagram including ROV dynamics and kinematics is given
in Figure 7.4. If desired, system states can be “contaminated” with sensor noise.
Hence, in the simulated environment, two types of navigation data are available:
noise-free and noisy data (states). However, only noisy data are available in the
real-world environment. Real-time access to noise-free and noisy data in
simulation mode provides tools to investigate the influence of sensor error
measurements on the performance of the overall control system and to assess the
quality of side-scan and multibeam imagery [8, 9].