Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Cloud Robotics: A Framework Towards Cloud-enabled

Multi-robotics Survivability
Vikash Ramharuk Isaac Osunmakinde
School of Computing School of Computing
College of Science, Engineering College of Science, Engineering
and Technology and Technology
University of South Africa, University of South Africa,
Pretoria, South Africa Pretoria, South Africa
50089625@mylife.unisa.ac.za osunmio@unisa.ac.za

ABSTRACT 1. INTRODUCTION
The emergence of cloud computing has transformed the potential The start of the new century has seen a shift in the requirements of
of robotics by enabling multi-robotic teams to fulfil complex tasks robots. The robots of the last century were more geared towards
in the cloud. This paradigm is known as “cloud robotics” and mass production of products where they carried out repetitive
relieves robots from hardware and software limitations as large tasks in a controlled environment [1]. However, the current trend
amounts of available resources and parallel computing capabilities is to have robots that are capable of solving complex problems
are available in the cloud. A major challenge however, currently such as path planning, object recognition and navigation in less
faced in cloud robotics is the inherent problem of cloud controlled environments [1]. This has subsequently resulted in a
disconnection which would result in a robot not being able to need for robots that are more intelligent and autonomous.
fulfil certain tasks. This work serves to assist with the challenge of In many instances these robots have to work together as a
disconnection in cloud robotics by proposing a survivable cloud group of Multi-robots to achieve a common objective. The Multi-
multi-robotics (SCMR) framework for heterogeneous robotic Systems (MRS) are required to be cooperative whilst
environments. The SCMR framework leverages the combination fulfilling tasks in dynamic, complex and uncontrolled
of a virtual ad hoc network formed by the robot-to-robot environments, where the primary challenge for the robots would
communication and a physical cloud infrastructure formed by the be to understand and interpret the surrounding environment [2].
robot-to-cloud communications. The Quality of Service (QoS) on This has resulted in robots being built with complex system
the SCMR framework is tested and validated by determining the architectures and large computing needs. Additionally this has
optimal energy utilization and Time of Response (ToR) on also contributed to robots requiring large on-board computational
drivability analysis with and without cloud connection. The devices, dedicated power supplies and large local data storage, all
experimental results demonstrate that the proposed framework is of which become responsible for a substantial amount of the
feasible for current multi-robotic applications and shows the robot’s energy consumption. It is neither feasible nor cost efficient
survivability aspect of the framework in instances of cloud for these robots to move in heterogeneous environments with
disconnection. large on-board computational devices and local data storage [3].
Furthermore this results in duplication of work for the robots,
Categories and Subject Descriptors increased operational overhead, longer roll out periods and limited
I.4 [Image Processing and Computer Vision]: Segmentation— processing capability [3].
region growing, partitioning and pixel classification; I.2.9 The most promising solution to resolve these problems is the
[Robotics]: Sensors, Autonomous vehicles; C.2.4 [Distributed realization of Cloud Robotics, which would enable the MRS to
Systems]: Cloud Computing; D.2.11 [Software Architectures]: connect to a cloud computing environment and access large
Patterns (client/server); D3.2 [Language Classifications]: Java amounts of processing power and data. Cloud robotics is the
scientific field of research that applies cloud computing
General Terms technology to a robot. The paradigm of cloud robotics paves the
Algorithms, Performance, Design, Reliability, Experimentation way forward for multi-robots to expand their services in the future
and also offers the possibility of multi-robots to share services and
Keywords information with one another by creating a central knowledge
Multi-robotics, cloud, drivability, disconnection, R2C, R2R, base in the cloud [4]. While the benefits of cloud robotics are
SRM, survivability clearly evident and have resulted in an increase in interest among
Permission to make digital or hard copies of all or part of this work for the scientific community, one of the biggest challenges of cloud
personal or classroom use is granted without fee provided that copies robotics is the inherent communication challenges brought about
are not made or distributed for profit or commercial advantage and that by disconnections between the MRS and the cloud. The
copies bear this notice and the full citation on the first page. Copyrights advancement of cloud robotics for MRS is limited by the
for components of this work owned by others than ACM must be resource, information and communication constraints in the
honored. Abstracting with credit is permitted. To copy otherwise, or current framework. During the past few years, first efforts have
republish, to post on servers or to redistribute to lists, requires prior emerged to build a cloud-computing framework for multi-robotic
specific permission and/or a fee. Request permissions from
teams [5, 6]; however, the development of a survivable cloud
Permissions@acm.org.
multi-robotics (SCMR) framework for heterogeneous
SAICSIT2014, September 29 - October 01 2014, Centurion, South Africa environments is relatively unexplored.
Copyright 2014 ACM 978-1-4503-3246-0/14/09…$15.00
http://dx.doi.org/10.1145/2664591.2664602

82
This research therefore focuses on addressing some of these cloud robotics infrastructure [7]. The main disadvantage of the
technical challenges by proposing a SCMR framework, which proxy-based cloud robotic model is the number of connections
would pave the way for more intelligent, robust, efficient and between the robots and the cloud. In this model only one network
interoperable cloud multi-robotic solutions. Therefore, the major connection can be established at a time and in instances where the
contributions in this paper are the following: group leader is unavailable, communication to the cloud will not
 Development of a new SCMR framework that could assist be possible.
with offloading the computational burden from local multi-
robots to the cloud and handle disconnections between the 2.1.3 Clone-based Cloud Robotic Models
cloud and the multi-robots in heterogeneous environments. In the clone-based model each individual robot in the MRS is
 Detailed experimental evaluations conducted on publicly required to map to a system-level clone in the physical cloud
available heterogeneous terrains validated by measuring infrastructure [7]. The main advantage of this model is that a
quality of service (QoS) and determining the optimal energy particular robotic task can either be executed in the cloud clone or
utilization on MRS drivability analysis with and without cloud locally on the individual robots. The main disadvantage of the
connection for engineering practices. clone-based cloud robotic model is the increased complexity
To the best of the researchers’ knowledge, this is the first study brought about by maintaining and operating the cloud robotic
that attempted the development of an SCMR framework to assist infrastructure, which reduces its interoperability. Another
with offloading the computationally intensive tasks from the local disadvantage of the model is the increased VM migrations
multi-robots to the cloud and handle disconnections between the required in order to support robot mobility in this particular model
cloud and the multi-robots in heterogeneous environments. This [7]. An example of the clone-based robotic model is the Rapyuta
paper is arranged as follows: section 2 presents a brief review of project [5], which has each individual robot connecting to a
the relevant literature. In section 3 some insights into the design, system level clone in the cloud, enabling them to offload heavy
development, services and evaluation mechanisms of the SCMR computation to the cloud server.
framework are presented. In section 4 the experimental results of In determining an elastic computing model to use for a
the SCMR prototype are presented illustrating the QoS of the particular framework, the three main factors that need to be
SCMR framework and section 5 concludes the paper and presents considered are network conditions, application requirements and
future work. resource availability [7]. This study makes use of a hybrid model,
leveraging the benefits of both the proxy-based and clone-based
2. THEORETICAL BACKBROUND cloud robotic models. In section 4.4 a detailed comparative
evaluation of the different cloud robotic models is further
2.1 Cloud Robotics Models discussed.
In this section the different cloud robotic models available are
discussed, together with their advantages and disadvantages. The 2.2 Survey on Laxities of Cloud Robotics
existing cloud robotic models are the peer-based, proxy-based and
clone-based robotic models.
Models
During the past few years, scientists and researchers all over the
2.1.1 Peer-based Cloud Robotic Models world have started attempting to build cloud computing
The peer-based model is a model in which each robot and each frameworks to support both individual robots and multi-robots.
virtual machine (VM) in the cloud is considered as a computing Most notably, researchers have created an open source project
unit. The main advantage of this cloud robotic model is that the called Robo-Earth in an attempt to build a web community for
robots and VMs form a fully distributed network that allows for robots to autonomously share information and object models [5].
certain robotic tasks to be divided into smaller tasks that can be The Robo-Earth cloud engine is a platform as a service (PaaS),
executed in a subset on the distributed network [7]. The main which allows other users to run their robotic services on the Robo-
disadvantage of the peer-based cloud model is the decentralizing Earth cloud [5]. In Singapore a team of researchers has created the
of the network created by the one-to-one mapping of robot and DAvinCi project [8], which is based on the robot operating system
VM in the cloud, which makes it difficult to administer. Another (ROS) messaging framework. The project makes use of the ROS
disadvantage is the low number of network connections between master node to gather data into an Apache Hadoop cluster and
the individual robots and the physical cloud infrastructure. The illustrates the benefits of cloud computing by parallelizing the
DaVinCi project [8] and the Robot-Cloud project [4], which FastSLAM algorithm. The Ubiquitous Network Robot Platform
promotes the creation of low-costs robots using cloud robotics, are (UNR-PF) [9] is an ongoing project that focuses primarily on
examples of peer-based cloud robotic models that have the using the cloud as a mechanism to create a network between
individual robots and the VM in the cloud computing as a single robots, sensors and mobile devices. Rosbridge is another open
unit. source project [7], which focuses on the external communication
between a robot or a multi-robot team and a single ROS
2.1.2 Proxy-based Cloud Robotic Models environment in the cloud. The emergence of smartphones has
The proxy-based model is a model which consists of a multi- enabled developers to create android-powered robots that allow
robotic team that has one robot functioning as the leader of the users to control them using their smartphones on platforms such
team. All communication between the individual robots in the as Lego Mindstorm [9] and iRobot [9]. The use of cloud robotic
MRS and the robot leader acts as a proxy to the physical cloud models has also been extended to the medical industry, which has
infrastructure, thus bridging the communication between the robots accessing the cloud infrastructure to gather data to assist
robotic network and the cloud. The main advantage of the proxy- children in a hospital in Italy with face detection and speech
based robotic model is its increased interoperability as opposed to recognition [10].
the other cloud robotic models. Interoperability in this sense refers
to the additional complexities brought about in maintaining a

83
All of the projects mentioned above contribute significantly to The main entities involved in the SCMR system architecture are
cloud robotics. These projects illustrate the potential benefits that the robot clients, the cloud cluster host (CCH), the data store, a
can be achieved in cloud robotic models by offloading data- service administration point and a service registry containing
intensive and computationally intensive tasks into the cloud, thus robotic services. The SCMR framework makes use of the CCH as
enabling researchers to realize the elevated goal of cloud robotics. the central unit that takes care of all the jobs that come to and
However, there are still some inhibitors, barriers and challenges from the cloud, which are handled by the twisted framework. The
that have to be addressed. The following are some challenges twisted framework [11] is a framework for deploying an
faced in cloud robot models, according to [10]: asynchronous, event-driven and multi-thread supported network
 Cloud robotic services are actually limited, i.e. these services system coded in Python. The CCH is set up to run any process
could be dependent on the network bandwidth for offloading that is a ROS node, and all processes within the physical cloud
data or the number of parallel connections allowed to the infrastructure communicate with one another using the ROS inter-
cloud. process communication. Having the well-established ROS
 The number of individual cloud robotic hosts in an MRS is protocol inside the cloud environment allows applications to run
limited. all existing ROS packages without any modification, and lowers
 Maximizing the effectiveness of available resources in the the hurdle for application developers [6].
cloud with on-demand robotic requests remains a further All robotic services in the SCMR framework, such as object
challenge. recognition, path planning, map building, navigation, etc., are
 Compatibility of data retrieval is an ongoing challenge introduced through a service administration point with a web
brought about by different robots accessing the cloud to standard description language. Along with the cloud robotic
execute tasks. services, the proposed framework also makes use of an
 Security and Trust is another ongoing challenge in cloud operational data store (ODS), which is used to store all sensor data
robotics. The cloud server environment has to be a trust- being transmitted by the individual robots in the multi-robot team.
worthy environment which does not allow for robotic tasks to The data stored in ODS can range from the robots’ geographical
be disrupted [4]. location to their actual health condition. Finally a local data buffer
is deployed for storage of the frequently requested data. Since
activities of robots are usually regular, the same resource may be
3. THE SCMR FRAMEWORK queried repetitively, thus reducing the number of queries that are
required from the ODS. This has improved the latency of requests
3.1 Overview and improved the real-time response rate and reliability of the
The proposed framework consists of two tiers: the Robot-to-Cloud
response rate of robot requests, which is critical in a multi-robotic
(R2C) tier and Robot-to-Robot (R2R) tier, in an attempt to
team environment. The data stored in the local data buffer is
overcome some of the challenges currently faced by cloud robotic
periodically downloaded by the robot leader in a scheduled batch
frameworks. A hybrid elastic cloud computing model, which
job to ensure that the robot leader and the local data buffer are
makes use of a robot lead to execute certain robot services in the
always in sync. This ensures that in cases of disconnection the
offline phase, is used. The SCMR framework differentiates itself
robot leader can provide the individual robots with the data and
from other cloud frameworks by making use of a robot leader,
information they require in order to complete a particular task.
which is a clone of the physical cloud infrastructure. The robot
leader is used to bridge the gap between the R2R network tier and
Additional benefits of the SCMR framework are:
the R2C network tier. In the R2C network tier the robot leader is
 In heterogeneous environments such as underground terrains
updated with frequently requested data from the individual robots
that are accustomed to disconnections, the proposed
to ensure that the robot leader is in sync with the physical cloud
framework allows for the robot leader to serve as a clone of
infrastructure in the event of disconnections. In the R2R network
the physical cloud infrastructure and provide the individual
tier the robot leader serves as a clone of the physical cloud
robots with image-processing, path-navigation and path-
infrastructure and provides the individual robots with image-
planning information through the creation of a collaborative
processing, path-navigation and path-planning information
virtual ad hoc cloud.
through the creation of a collaborative virtual ad hoc cloud. Figure
1 shows the system architecture of the SCMR framework.

Figure 1: Survivable Cloud Multi-robotics Framework


84
 It allows for the creation of low cost cheaper robots, which 3.3 R2R Tier as SCMR Paradigm
can be quickly and cheaply assembled by offloading the In the event of cloud disconnections, the multi-robotic teams
computation and data storage-intensive tasks into the physical communicate with one another via a wireless network to form a
cloud infrastructure. collective computing unit, which could also be viewed as the
 The SCMR framework proposes a resource negotiation formation of a virtual ad hoc network. In the R2R system
module that relieves the computation burden from the robots architecture of the proposed SCMR framework, which is
by handling the data request and data response for the graphically illustrated in Figure 3, the robot leader becomes the
individual robots and forms a bridge between the individual source of information and data for the individual robots. The
robots and the cloud infrastructure. robots in the R2R tier communicate with one another through the
 It provides the ability to create an extensive library of skills or gossip protocol, which comprises randomized methods designed
behaviours of the individual robots. to transmit a message from a source to a destination without any
 It provides the ability to leverage the computing capability of explicit route discovery mechanism [7].
each individual robot in a multi-robot system. The first benefit of the R2R tier system architecture is the
 It enables collaborative decision-making by the robots. ability to leverage the computing capability of each individual
The detailed discussions of its paradigms are presented in sections robot in the multi-robot system by pooling all the robots within a
3.1 to 3.4. One can see that the proposed SCMR has more specific range to form a virtual ad hoc cloud. The second benefit
advantages than the existing ones. is that in the virtual ad hoc cloud that is created, information and
data can be exchanged between the individual robots and the robot
3.2 R2C Tier as SCMR Paradigm leader, which enables collaborative decision-making by the
In the R2C tier the physical cloud infrastructure provides a pool of robots. The last benefit is that the individual robots can access and
computational and storage resources that can be allocated process information from the robot leader, which is a clone of the
elastically for real-time demand by the multi-robot teams, without physical cloud infrastructure, when the individual robot is not in
themselves having to actually carry the burden of storing or range of a cloud access point.
processing this data. The R2C system architecture of the proposed
SCMR framework is graphically illustrated in Figure 2. The
offloading of these computation-intensive tasks into the physical
cloud infrastructure has resulted in the creation of “remote-brain”
robots [10]. The first benefit that is provided by cloud storage of
data is that it allows large volumes of data to be unified and then
prepared in a format that can be used by other robots. The second
benefit of storing this data in the cloud is brought about by the
ability of data mining. Other obvious benefits include cost
reduction on the creation of robots, as most of the processing is
done in the cloud, reducing the need for additional hardware and
effecting a reduction in the power consumption required by
individual robots.

Figure 3: Robot-to-Robot Tier

3.4 Cloud Robotics Evaluation Mechanisms


and Services - Energy Utilisation Models
Energy consumption and energy efficiency in cloud computing
and robotics is an area that has recently gained significant interest
from the scientific community. The scientific research done on
energy-saving models in order to extend the battery life of
applications by reducing the energy consumption can be divided
into the following four categories [12]:
 Develop the robots to include new technology
Figure 2: Robot-to-Cloud Tier semiconductors, which are becoming smaller in order to
consume less energy. However, the drawback is that in order
for a robot to perform additional functionalities, more

85
transistors are required to ensure that the robot performs for the SCMR framework, the energy execution model adopted
optimally. The increase in transistors is proportional to the for this research is an empirical model similar to [12]. Some
increase in energy consumed by the robot. assumptions were made in the research with regard to cloud
 Program individual components in the robot or the robot itself execution of robotic tasks. The first assumption is that the
to be in sleep mode or standby mode when it is idle or not execution file for the individual robots has been replicated in the
required to perform any computation-intensive tasks. This will cloud and therefore does not sustain any further energy costs. The
prevent the robot from wasting energy. second assumption is that the clock frequency of the CPU in the
 Introduce energy-optimal execution policies that determine cloud is times faster than the CPU of the robot. The energy
the optimal clock frequency of a processor in order to consumed by the robot in offloading bytes of data over a
complete a particular task within a predefined time period. wireless channel with bandwidth can be defined as:
The amount of energy consumed by the robot can be reduced
by slowing down the clock frequency and increasing the
execution time of a particular task.
 Remove the computation burden from the robotics altogether ( ) ( )
by using the familiar Software as a Service (SaaS)
implementation of cloud computing. All the computation that
where is the average computing power of the robot when
is required to be performed locally by the robot is offloaded
it is idle, represents the total number of instructions required by
into the cloud server and the energy that is consumed by the
the robot for the computation and represents the clock speed of
robot is only that of sending and receiving the required
the cloud server; is the uploading power over a wireless
information to the cloud server. This approach to energy
network, is the downloading power over a wireless network,
saving is also called computation offloading and is one of the
focus points for the SCMR framework. is the uploading network bandwidth, is the downloading
network bandwidth and is the number of bytes exchanged
between the robot and the cloud server.
3.4.1 Computation Offloading in Cloud Robotics
In the context of cloud robotics, the trade-off between the energy 3.4.4 Optimal Task Execution Policy
consumed by the individual robot and the energy consumed by the The optimal task execution policy in the context of cloud robotics
robot offloading the information to the cloud server is extremely is to choose where a particular task should be executed, the
important. It is therefore important to consider the energy objective being to minimize the total energy consumed by the
consumed by the individual robots ( ) versus the energy required robot [12]. In the SCMR framework a particular task can be
by the robot to receive and offload data ( ).Taking this into executed locally by the individual robot or by the cloud server.
consideration, it is possible to come up with a simple polynomial However, in instances of cloud disconnection, a particular task is
to reflect the total energy ( ) consumed by a robot as [12]: executed by the robot leader, which serves as the clone cloud.
Therefore the optimal policy is determined by the following rule:

{
where is represented by a polynomial expression as
the total energy consumed by the robot while processing an where a particular task is executed in the cloud if the energy
instruction, is represented as the total energy consumed by consumed by the cloud is less than or equal to the energy
the robot while it is idle and is the total energy consumed consumed by the robot. In all other instances, including cloud
by the robot for transferring and receiving data. disconnections, the task is executed locally by the robot or robot
3.4.2 Robotic execution energy model leader. According to Equation (4) it is possible to reduce the
The energy consumption required to complete a task by a robot is energy consumed by the robot by reducing the number of bytes
generally determined by the CPU workload, memory, cooling transferred to the cloud server. However, the challenge posed by
system, fans and other robotic components. In the proposed model the delay in transferring the data to the cloud could mean that a
the amount of energy consumed is based upon the CPU workload task is executed outside an agreed-upon time period and therefore
of the individual robots. In their study of energy efficiency for in breach of a service level agreement between the cloud service
content-based image retrieval from a cloud [12] it was observed provider and cloud consumer. It is therefore important that a
that the total energy consumed by a robot can be formulated as: middle ground be formulated that will optimally decide whether a
task is executed in the cloud or locally by the robot by calculating
the amount of energy saved during the execution of a particular
task. Equation (3) represents the amount of energy consumed
while the robot is idle and Equation (4) represents the amount of
where is the average computing power of the robot when energy consumed when transferring the data. Therefore the total
it is busy, represents to the total number of instructions required amount of energy saved can be formulated as:
by the robot for the computation and represents the clock speed
of the robot. The assumption made is that a particular task can be ( ) ( ) ( )
performed locally by the robot without a cloud server.
3.4.3 Cloud Execution Energy Model One of the assumptions is that the cloud server ( ) is times
In order for a robotic task to be executed in the cloud, the energy faster than the robot sever ( ), i.e. Therefore
required by the robot to send this request to the cloud is dependent Equation (5) can be rewritten as follows:
on the size of the data being offloaded and the wireless channel ( ) ( ) ( )
mode. In determining the optimal cloud execution energy model

86
where energy is saved if . In such instances the
offloading is beneficial in instances of heavy computation, such as √ | | | |
image segmentation with relatively low bandwidth | |
communication.
Finally the average mean intensities of a particular region
4. EXPERIMENTAL EVALUATIONS OF are tested and if this result returns true then
the two regions are merged. There are two important criteria in the
SCMR ON DRIVABILITY ANALYSIS SRM algorithm, the first important criteria is the merging predict
4.1 Cloud Multi-Robotic SRM Approach and and the second important criteria is the cluster Q. Together these
Implementation Design parameters determine the total number of regions for the input
image. The value of Q was introduced by [13] to control the
The visual capabilities of a cloud multi-robotic team are
complexity and coarseness of an image. A major advantage of the
extremely important in order to be able to navigate heterogeneous
value of Q is the ability to use it as a trade-off parameter to obtain
environments successfully. Statistical Region Merging (SRM) is a
a compromise between the observed results and the strength of the
robust algorithm proposed by Nock and Nielson in 2004 for
model [13]. The next section discusses the experimental setup that
segmenting an image into similar regions of colour or intensity
was used to test drivability analysis on the SCMR framework
[13]. A particular region is then divided per pixel and a statistical
using SRM.
test is applied to the bordering regions. The intensity differences
of the bordering regions which are tested then indicate whether or 4.1.1 Experimental Setup
not the region is adequately similar to be merged. This work In order to prove the concepts discussed in the study, a prototype
conducted a cloud robotic drivability analysis for autonomous of the SCMR framework was implemented using a client/server
multi-robots in heterogeneous environments by using the SCMR application built in Java. The SCMR implementation prototype is
framework together with SRM to create drivable regions for the shown in Figure 5.
cloud multi robots. This therefore ensures that cloud multi-robots Client/Server Application: The client/server application was
are able to navigate through heterogeneous environments and developed using socket programming in Java with communication
execute the required tasks even in the case of cloud between the client socket and server socket done through the
disconnections. Figure 4 depicts the flow of the SRM algorithm. stream communication protocol using the Transmission Control
Protocol (TCP). The TCP was chosen over the User Datagram
Protocol (UDP) due to its reliability in ensuring that a given
stream of data is delivered to the server through the connection
socket. In the SCMR prototype each robot client initiates a TCP
connection to the robot cloud server. When creating the socket
connection the robot client specifies the robot cloud server’s IP
address and port. The robot cloud server port used in this study
was 2222, which listens to robot client connections. Upon
receiving a robot client connection request, the robot cloud server
creates a new socket for the client and binds a port number to it. A
new port is created on the server because the initial port is used to
listening for other robot client connection requests. The new port
number is sent to the robot client thereby establishing a
communication pipe for data to be streamed between the robot
client and the robot cloud server. This process is commonly
known as the “three-way handshake” and is illustrated in Figure 5.
Figure 4: Flow of SRM Model adopted from [13]

The SRM algorithm is a region growing technique that makes use


of a four-connectivity scheme to determine adjacent pixels that
are relative to the centre pixel. The four-connectivity scheme is
typically made up of 2 x m x n –m –n adjacent pixels, which are
then sorted in ascending order and traversed in this order only
once. The SRM sort function is illustrated in Equation (8) [13].

| |

Thereafter the SRM algorithm takes every pair of pixels ( ) for


a given set and performs the merging predicate using Equation
(9), which is extended in Equation (10) and (11) [13].
|̅ ̅ |
{
Figure 5: SCMR implementation with no cloud disconnection
|√ |

87
4.2 QoS on Drivability with no Cloud bandwidth usage as this affects their response. Therefore the Time
of Response (ToR) is a very important QoS in determining the
Disconnections performance of any cloud robotic framework and as such was
The QoS is used to illustrate the performance quality of the selected as the primary QoS to be tested on the SCMR framework.
SCMR in detecting drivable road images whilst at the same time The ToR is the time required by the individual robot clients to
also highlighting the optimal data required to fulfil a request. In receive a response from the robot cloud server after the request
the SCMR framework a request can either be fulfilled by the robot has been sent. The ToR is formulated as follows:
cloud server (in instances of no cloud disconnection) or by the
robot leader (in instances of cloud disconnection). The next
section is used to illustrate the performance of the SCMR
where is the time the request was received and is the time
framework with no cloud disconnections.
the request was sent to the robot cloud server in milliseconds.
4.2.1 Experiment 1: Observations on Visual In order to determine the ToR with no cloud disconnections
Inspection with no Cloud Disconnection on the SCMR framework, experiments were conducted using
The visual results obtained from the image frames submitted to multiple robot clients. In the first experiment the images selected
the robot cloud server by the robot clients using the SCMR as part of the visual inspection (Figure 6) where first submitted
prototype are presented in this section. The images used in this one at a time to the robot server. Figure 7(A) shows the ToR
experiment represent a wide variety of heterogeneous terrains and against each image that was submitted to the cloud server,
context. Figure 6 shows the different robot clients navigating on highlighting that the ToR increases as the size of the image
different terrains together with the results obtained for drivability increases. Since the images were submitted one at a time rather
analysis using SRM on the SCMR prototype. The first row in than a stream of images, a connection to the cloud server had to be
Figure 6 consists of the original image frames. The second row established for each picture being submitted to the cloud server.
presents the SRM filtered images, which consists of clusters that The ToR can therefore be greatly reduced if the images are
are generated for regions of homogeneity. In the experiment after submitted in a stream with the robot only requiring establishing a
testing with different values of Q for SRM, Q=32 gave the most connection to the cloud server once.
optimal results for the image classification. The third row is the In the second scenario, four robot clients were used to submit
images created using the Otsu thresholding, which calculates the requests to the cloud server to detect drivable road regions. Figure
optimal threshold of an image by separating the foreground and 7(B) shows the ToR for each of the client robots. The results show
background classes so that the intra-class variance is minimal. The some correlation between the ToR received for the different
last row is the RGB (red, green, blue) representation of the robots. The first image submitted to the cloud server for all the
corresponding image frames. The red regions represent the non- robots generally has a slightly longer ToR which is brought about
drivable road regions while the green regions represent the by the establishment of the socket connection. Thereafter the ToR
drivable road regions. One can observe that misalignment in is proportional to the size of the image being submitted. If the
detection is unnoticeable. It is evident from the results that SRM image is much larger in size as compared to the other images then
has the ability to reconstruct regions through the SCMR with the the ToR tends to gradually increase, as was the case in Robot 4’s
same homogeneity that are closer to the robots’ view. ToR which increased to 3068 milliseconds (ms).
In general, the ToRs ranged between 2400 ms-3100 ms for
images ranging from 80000 Bytes – 130000 Bytes in size which is
sufficient time for robots to receive and process an image. Each
robot’s request was queued on the server and because a new
thread was spawned for each connection, each robot client
achieved faster response times. The results from this experiment
demonstrate that the SCMR framework can be effective in
alleviating the computational burden from individual robots in
clearly determining drivable road regions using the SRM
algorithm in cases of no cloud disconnection.

Figure 6: Qualitative results of SRM method on image frames


with no cloud disconnection

4.2.2 Experiment 2: Time of Response with no Cloud


Disconnection
Most network based applications use the bandwidth usage as a Figure 7: ToR with no cloud disconnections
primary factor in defining the QoS [9]. This is attributed to the
fact that most network based applications are sensitive to

88
4.2.3 Experiment 3: Energy Utilisation of SCMR
with no Cloud Disconnection
The next part of the experiment was to determine the amount of
energy utilised on the SCMR framework with no cloud
disconnections. The client/server performance ratio F used in the
experiments was α=300 and using this ratio the clock speed of the
cloud server was determined. The total energy consumed by
the robot when drivability analysis is performed using SRM on
the cloud server is calculated when the robot is idle ( ) and
when the robot is transferring ( ) the data to/from the cloud
server. The energy execution for cloud processing can therefore
be formulated as shown in Equation (13).

( ) ( ) ( )
Figure 8: Cloud Execution Energy Consumption
Using the value of C=5 as the number computing instructions
required for processing an image of 1MB, Equation (13) can be 4.3 QoS on Drivability with Cloud
populated as follows:
Disconnections
( ) ( ) ( ) In this section the performance of the survivability aspect of the
SCMR framework was tested. A stub was created to stop the
where the bandwidth download speed is 28Mb/s and the cloud server from accepting connections in order to simulate the
bandwidth upload speed is 23Mb/s. Thereafter the energy utilised scenario of cloud disconnection. The SCMR framework was built
by the different robot clients was calculated. The robot clients to have a retry mechanism and after three unsuccessful error
used to test the energy utilisation of the SCMR framework ranged attempts at establishing a connection to the cloud server,
from low cost robots to high end robots with diverse processing communication is transferred to the virtual cloud via the Robot
power sets as illustrated in Table 1. leader. Figure 9 shows the SCMR implementation with cloud
disconnection.
Table 1: Power parameters of the robot clients used in the
SCMR experiment adopted from [14]

Figure 8 shows the energy utilisation results of the cloud server


from different robot clients processing a 1MB image frame on the
SCMR framework. The energy utilisation increases as the
processing power of the individual robot client’s increase. Figure
8(A) shows that as the bandwidth increases the energy utilisation Figure 9: SCMR implementation with cloud disconnection
of the cloud server exponentially decreases. This is attributed to
the speed in which the image frame is transported to and from the
cloud server. On average a 37% reduction is achieved among the 4.3.1 Experiment 4: Observations on Visual
different robot clients when the bandwidth was increased from Inspection with Cloud Disconnection
25Mb/s to 70Mb/s. This indicates that the network bandwidth In certain instances cloud enabled multi- robotic teams could find
and in Equation (13) play a vital role in determining the themselves in environments where accessibility to the nearest
energy utilisation required in performing drivability analysis on cloud access point is not possible. Therefore the images used for
the SCMR framework. Figure 8(B) shows the exponential energy this experiment ranged from deep underground mine tunnels and
utilisation of the cloud server brought about by the multithreading mountain caves to desert terrains. Figure 10 shows the visual
capability on the SCMR framework. For every new robot assessment of the image frames processed by the robot leader
connection a new client thread was spawned and therefore the using SRM on the SCMR prototype in instances of cloud
total energy consumption increased exponentially. The results disconnection. The first row in Figure 10 shows the original
indicate that as new robots are introduced onto the SCMR image frame that was submitted by the respective robot client.
framework the energy utilisation increases. The results also The second row shows the SRM filtered images with Q=32 and
indicate that the energy utilisation is however also dependent on the third row represents the SRM images created using the Otsu
the network bandwidth and the size of the images which could be thresholding technique. The last row shows the binirization of the
used to decrease the energy utilisation on the cloud server. Otsu image, which splits the image into drivable and non-drivable

89
pixels. The red regions represent the non-drivable road regions 4.3.3 Experiment 6: Energy Utilisation of SCMR
while the green regions represent the drivable road regions. One with Cloud Disconnection
might observe insignificant misalignment on some edges on visual
The next step in the experiment was to determine the energy
inspection, but the effect of disconnection could have an impact
utilisation of the different robot clients with cloud disconnection.
on ToR and energy utilization. The results indicate that even in
Using Equation (2), Figure 12 (A) presents the different energy
the event of cloud disconnection, the SCMR framework has the
utilisations of the individual robot clients on the SCMR
ability to use the light-weight SRM on the robot leader to
framework during cloud disconnection. Figure 12 (B) presents the
reconstruct regions of the same homogeneity.
survivability aspect of the SCMR framework by comparing the
total energy utilised during cloud connection and disconnection.
The graph shows the total energy utilised by the cloud server
against the total energy utilised by the robot leader, highlighting
the amount of energy saved by offloading computational intensive
processing to the cloud server. However, in the event of cloud
disconnection, the energy consumption of the robots tend towards
zero, in which case the robot leader takes over the drivability
analysis calculations and the energy required increases again.
Figure 12 (C) presents that as the individual robot clients get
disconnected from the cloud server their energy utilisation drops
while the energy utilisation of the Robot leader grows
exponentially as it is required to act as the virtual cloud and
perform the drivability analysis for the robot clients. The graph is
obtained from a point in time when the energy is transferred from
the robot clients to the robot leader.
Figure 10: Qualitative results of SRM method on image
frames with cloud disconnection
4.3.2 Experiment 5: Time of Response with Cloud
Disconnection
After determining that the SCMR framework can successfully
perform drivability analysis in the event of cloud disconnections
through the virtual cloud created by the robot leader, the next step
in the experiment was to validate the performance of the
framework in cases of the disconnection. Multiple robot clients
were used to submit requests to the cloud server and after three
unsuccessful attempts at reaching the cloud server the request was
Figure 12: Robotic Survivability Energy Consumption
routed to the robot leader. A comparison was drawn from the
image set used to test ToR with no cloud disconnection and ToR 4.4 Comparative Evaluations of the Cloud
with cloud disconnection. This comparison is presented in Figure
11(A), which shows a delayed ToR of ≈3 seconds on average. The Robotics Paradigms
ToR received for the different image sets submitted by the robot The three major attributes in any elastic cloud-based model are
clients to the robot leader are presented in Figure 11(B). The robustness, interoperability and mobility. The existing elastic
results indicate that even though the drivability analysis is cloud-based models all exhibit different properties for these
successfully performed by the robot leader; there is a measured attribute. The SCMR framework is based on a cloud robotic
delay in the ToR brought about by the cloud disconnection. This model that leverages two tiers, the R2R tier and R2C tier in order
delay however should not affect the ability of a robot in to manage cloud disconnections and has many benefits over the
completing a particular task. In general the results indicated that existing cloud robotic models.
even without access to the cloud server the robot client could In the R2R network model where the communication scheme
perform drivability analysis optimally. is based on the randomized gossip protocol, suppose that node
randomly chooses node to gossip with probability where a
zero probability implies that the two nodes are not within
communication range [7]. The worst-case communication delay
can be represented as , where represents a node in
the network and two nodes are not within communication range
with each other and therefore not neighbours. The communication
delay in a R2R network as illustrated in [7] can be calculated
as , which is the delay for broadcasting a message
from a single node to all nodes in the network. In the proposed
cloud multi-robotic framework the R2R network is portioned into
smaller teams, each of which has access to the cloud server.
Therefore the maximum number of multi-robot teams can be
represented as . Furthermore all robots in the SCMR framework
Figure 11: ToR primarily with cloud disconnections have communication to the cloud server, indicating that .

90
The fluidity of the network can be represented at minimum as , increases as the number of robot clients on the SCMR framework
increases (see Figure 8 (B)). This showed the computational
which means that the communication delay can be limited
offloading and parallel processing benefits of the SCMR
to . In a peer-based cloud robotic model the
framework. Finally the findings of the study confirmed the
assumption made by [7] indicates that a fraction exists that survivability benefit of the SCMR framework and illustrated the
connects to the cloud server for a given subset of nodes in a ToR on drivability analysis for robot clients with and without
communication network. cloud disconnection (see Figure 7 and Figure 11).
Finally in the R2C communication scheme, the worst case The results confirm that the SCMR framework can be
time required to communicate that a particular task needs to be extended to an environment that replicates cloud enabled multi-
executed is , because the individual robots can offload robotic teams executing specific tasks. The results from this study
the robotic tasks directly onto the cloud server for processing. can also be used as a framework to enhance the ability of MRS’s
Table 2 shows the worst-case delays for the different computing in executing robotic tasks such as path planning, image processing
models discussed in this research, together with the major and navigation in heterogeneous environments when connection
attributes, robustness, interoperability and mobility that make up to a cloud access point is not possible. The findings from this
any elastic cloud-based model. paper can also be used as a reference guide to understand the
different cloud robotic models and be extended to environments
Table 2: Comparison of worst case communication delays for such as underground terrains and mines for future research in
cloud robotic models adopted from [7] order to make the existing models and frameworks more efficient,
scalable and reliable. Future work can be done on conserving the
robots’ energy using different offloading schemes and possibly
also looking at the compression of images and pre-processing of
images prior to the robot offloading the data to the cloud server.
Finally further work can also be done in determining the optimal
task execution policy to be used on the SCMR framework to
identify whether a task should be executed locally by the robot or
The proposed cloud elastic model is aimed at being an optimal or offloaded to the cloud server with the intention of energy
near-optimal model for multi-robot teams executing robotic tasks conservation when connection to the cloud server is available.
in heterogeneous environments with an unreliable cloud
connection. The proposed model itself is a hybrid model that 6. ACKNOWLEDGEMENTS
includes execution by the individual robot (robot leader), The authors gratefully acknowledge the resources made available
collaborative execution by the multi-robotic team (packbot robots) by the University of South Africa (UNISA).
connected to the network and cloud execution. The proposed
model has the highest number of connections between the robot 7. REFERENCES
and cloud server and the highest mobility attributed by VMs being [1] P. Inigo-Blasco, F. Diaz-Del-Rio, M. Ternero and S. Diaz,
able to be instantiated anywhere in the physical cloud “Robotics software frameworks for multi-agent robotic
infrastructure, compared to other cloud robotic models. systems development” Journal of Field Robotics 23 (3–4)
(2012) 165–184.
5. CONCLUSION [2] B. Dhiyanesh, “Dynamic resource allocation for machine to
This paper presented the design, implementation and evaluation of cloud communications robotics cloud”, Nehru Institute of
the SCMR framework for cloud robotics. The primary goal of the Engineering and Technology, Kovai, 2010
framework is to ensure that individual robots working in
heterogeneous environments are able to execute robotic tasks in [3] K. Goldberg and B. Kehoe, “Cloud robotics and automation:
cases of cloud disconnection and also relieve the computation A survey of related work,” EECS Department, University of
burden from the robots in instances of no cloud disconnection by California, Berkeley, Tech. Rep. UCB/EECS-2013-5, June
offloading the required data to the cloud server to be processed. 2013. [Online]. Available:
The SCMR framework adopted the twisted network framework http://www.eecs.berkeley.edu/Pubs/TechRpts/2013/EECS-
for handling all the requests to and from the central cloud host and 2013-5.html
makes use of the WebSockets protocol for communication [4] Rajesh Doriya. Pavan Chakraborty and G. C. Nandi,
between the individual robots and the cloud server. In instances of “Robot-cloud: A framework to assist heterogeneous low cost
cloud disconnection a virtual ad hoc cloud is created between the robots”, Robotics & Artificial Intelligence Laboratory, Indian
individual robots and the robot leader and the individual robots Institute of Information Technology, 2012 International
communicate with one another through the gossip protocol. Conference on Communication, Information & Computing
The performance of the SCMR framework was Technology (ICCICT), Oct. 19-20, Mumbai, India
experimentally tested by developing a prototype of the [5] M. Waibel, M. Beetz, J. Civera, R. D’Andrea, J. Elfring, D.
framework. The energy utilisation of the individual robots was Galvez-Lopez, K. Haussermann, R. Janssen, J. Montiel, A.
tested on the SCMR framework by comparing the energy Perzylo, B. Schiessle,M. Tenorth, O. Zweigle and R. van de
conserved when performing drivability analysis using SRM with Molengraft, “Rapyuta: The roboEarth cloud engine”, IEEE,
and without cloud disconnection. This study found that at high vol. 18, no. 2, pp. 69–82, 2011
bandwidth speeds with no cloud disconnections the energy used
by the robot to offload an image to the cloud is greatly reduced, [6] M. Sato, K. Kamei, S. Nishio and N. Hagita, “The ubiquitous
compared to areas with low bandwidth. This study also found that net-work robot platform: Common platform for continuous
the amount of energy utilised by the cloud server exponentially

91
daily robotic services,” in System Integration (SII), 2011 Surveillance: Towards Cloud Robotics”, Institute of Systems
IEEE/SICE Int. Symp., Dec 2011, pp. 318 –323 and Robotics, University of Coimbra, 2010.
[7] H. Guoqiang, W. P. Tay, and W. Yonggang, “Cloud [11] M. Quigley, K. Conley, B. P. Gerkey, J. Faust, T. Foote, J.
Robotics: Architecture, Challenges and Applications”, IEEE Leibs, R. Wheeler and A. Y. Ng, “ROS: An open-source
Network, 26(3):21, 2012. robot operating system,” in ICRA Workshop on Open Source
[8] R. Arumugam, V. Enti, L. Bingbing, W. Xiaojun, K. Software, 2009.
Baskaran, F. F. Kong, A. Kumar, K. D. Meng and G. W. Kit, [12] Y.J. Hong, K. Kumar, and Y.-H Lu, “Energy ecficient
“Davinci: A cloud computing framework for service robots,” Content-based image retrieval for mobile systems: IEEE
in Robotics and Automation (ICRA), 2010 IEEE International Symposium on Circuits and Systems,
International Conference on, may 2010, pp. 3084–3089. December 2009, pp. 1673-1676.
[9] L. Wang, M. Liu, M.Q.H Meng, R. Siegwart, “Multi sensor [13] R. Nock and F. Nielsen,” Statistical region merging”. IEEE
data retrieval in cloud robotic system”, Department of Transactions on Pattern Analysis and Machine Intelligence,
Electronic Engineering, IEEE conference Multisensor Fusion 26(11):1–7, November 2004.
and Integration for Intelligent Systems, 2012, pp. 21-26. [14] INTEL CORP. 2010. Intel PXA270 Processor Electrical,
[10] H. Aliakbarpour, P. Freitas, J. Quintas, C. Tsiourti, and J. Mechanical, and Thermal Specification.
Dias, “Mobile Robot Cooperation with Infrastructure for

92

You might also like