Top Banner
Services, Clouds and Robots Mihhail Matskin Norwegian University of Science and Technology (NTNU), Trondheim, Norway Royal Institute of Technology (KTH), Stockholm, Sweden.
60
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Iciw 2011 mihhail_matskin

Services, Clouds and Robots

Mihhail MatskinNorwegian University of Science andTechnology (NTNU), Trondheim, Norway

Royal Institute of Technology (KTH),Stockholm, Sweden.

Page 2: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Brifly about me

Past: PhD from Institute of Cybernetics, Tallinn, Estonia,

1984 Assoc. Professor 1995-2001 at NTNU Full professor 2001-2002 at NTNU

Present: Professor in Software Engineering at KTH (from 2002) Adjunct professor in Computer Science at NTNU (from

2002)

Current interests: service composition, robotic services, autonomous

computing systems, semantic user profiling, service-oriented architectures, trust, privacy, semantic Webservices.

Page 3: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Contents Service robots

Web services and robots

Service environment for robots

Robots using Web services

Robots as Web service

Advance Web service issues

Clouds and robots

Outsourcing resources

Robotic clouds

Conclusions

Page 4: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Service robots

“A service robot is a robot whichoperates semi- or fully-autonomously to perform servicesuseful to the well-being of humansand equipment, excludingmanufacturing operations. “

International Federation of Robotics (IFR)

Page 5: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Service robots

Service robots can have differentfunctionality but their main goal is to helphumans perform tasks that aredangerous, difficult, dirty, distant orrepetitive

They are autonomous

They are often mobile

They might be connected to environmentvia WIFI

Page 6: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Some groups of service robots(http://www.ifr.org/service-robots/products/)

Robots for domestic tasksRobot butler/companion/assistantsVacuuming, floor cleaningLawn mowingPool cleaningWindow cleaning

Entertainment robotsToy/hobby robotsRobot ridesEducation and training

Handicap assistanceRobotized wheelchairsPersonal rehabilitation

Personal transportation (AGV forpersons)Home security & surveillanceProfessional Service RobotsField robotics

AgricultureMilking robotsForestryMining systemsSpace robots

Medical roboticsDiagnostic systemsRobot assisted surgery or therapyRehabilitation systemsOther medical robots

Defense, rescue & securityapplicationsDemining robotsFire and bomb fighting robotsSurveillance/security robotsUnmanned aerial vehiclesUnmanned ground based vehicles

Underwater systemsMobile Platforms in general useRobot arms in general usePublic relation robotsHotel and restaurant robotsMobile guidance, information robotsRobots in marketingOthers (i.e. library robots)

Special PurposeRefueling robotsOthers

Customized robotsHumanoids

Professional cleaningFloor cleaningWindow and wall cleaningTank, tube and pipe

cleaningHull cleaning (aircraft,

vehicles…)Inspection and maintenancesystems

Facilities, PlantsTank, tubes and pipes and

sewerConstruction and demolition

Nuclear demolition &dismantlingConstruction support andmaintenance

ConstructionLogistic systems

Courier/Mail systemsFactory logistics (incl.

Automated GuidedVehicles for factories)Cargo handling, outdoor

logisticsOther logistics

Page 7: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Some service robots

Milking robot - DeLaval

Lawn Mower - Friendly Robotics Israel

Pool Cleaner - Weda

Diagnostic System - Siemens

Underwater vehicle - Atlas Maridan

Elecrtolux Trilobite Version 2.0Serving robot at the "Ubiquitous Dream"

exhibition in Seoul

Page 8: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Professional service robotmarket (2008)

(Source: IFR Statistical Department)

The total value of professionalservice robots sold by the endof 2008 was USD 11.2 billion; theworld market for industrial robotsystems was then estimated tobe USD 19 billion in 2008 alone

Page 9: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Professional service robotmarket (2010)

By September 2010, about77,000 service robots forprofessional use were soldworldwide, for the total valueof about USD 13 billion

(Source: IFR Statistical Department)

Page 10: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Availability of Robotic services

Can we consider Robotic services as othersoftware services and deliver them over theWeb?

Can Robotic services be treated as other (Web)services?

Can robots consume other (Web) services?

Can robots provide and consume services fromother robots?

Why not?

Page 11: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Web services

A way of software applicationdelivery

Web as a delivery channel forsoftware services

Text/XML based specifications

What about Web service androbots?

Page 12: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Robots and Web Services(some previous work)

Robot with Web Service interface (Germany) J. Levine, L. Vickers, “Robots Controlled through Web

Services”. Technogenesis Research Project, 2001.

DERI – electric engine commected to Webservices (Ireland and Korea) L. Vasiliu, et. al., “A Semantic Web Services driven

application on Humanoid Robots”. 4th Int. Workshop onSoftware Technologies for Future Embedded &Ubiquitous Systems, IEEE, 2006, pp. 236 – 244.

Planner for robot as Web Service (Germany) R. Hartanto, J. Hertzberg, “Offering Existing AIPlanners

as Web Services”. GI Workshop Planen undKonfigurieren, Germany, 2005

Page 13: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Our experience inROBOSWARM

The objective of the ROBOSWARM project is to developan open knowledge environment for self-configurable,self-learning and robust robot swarms usable in domesticand public area applications - cleaning, patrolling,semantic mapping, escorting and other.

The project focuses on creating on-site (near to theobjects of interest) distributed data environment,developing a universal inter-robot communication format,database access language, and a global robot knowledgebase accessible via web services.

Page 14: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

ROBOSWARM partners

EstoniaTallinn University ofTechnology

EstoniaELIKO

France

FinlandHelsinki Unversity ofTechnology

Finland

Sweden

Portugal

ItalyUniversity of Genoa

Spain

Page 15: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Roomba robots iRobotCorporation

Introduced in 2002

By year 2008 over 2.5 millionsunits are sold, in 2010 about 6millions sold

Has serial interface andRoomba open interface APIs

Page 16: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

ROBOSWARM* Use -case

A swarm of heterogeneous and mobile robots along withserver side components cooperate together in order toachieve a high level common goals coming out from userrequests.

ROBOSWARM

Page 17: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Architecture

Page 18: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Global/Local Knowledge base

Page 19: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

How does it work with SOAP?

<env:Envelope xmlns:env=http://www.w3.org/2001/12/soap-envelopexmlns:def="http://roboswarm.eu/soap">

<env:Body><def:addRDFTriplet>

<rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#xmlns:rs="http://www.roboswarm.eu/">

<rdf:Description rdf:about="R1" rs:prefix="15"><rs:TroubleStatus rs:type="xsd:string“ rs:source="R1"

rs:context="general"rs:datetime="07-June-2007-14:55:01" >

“11”</rs:TroubleStatus>

</rdf:Description></rdf:RDF>

</def:addRDFTriplet></env:Body>

</env:Envelope>

Page 20: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

How does it work with rules?

From robot: TroubleStatus(“R1”,”11”).

Rules in GRKB: TroubleStatus(X, Y):- NotifyTechnician(X, Y)

NotifyTechnician(X, Y):- MessageSent(“RobotName”,X, “ErrorCode”, Y)

Inferred predicate: MessageSend(“RobotName”,“R1”,“ErrorCode”,“11”).

Service request: “RobotName=R1”, “ErrorCode=11” MessageSend

Page 21: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

How does it work with Webservice composition?

Service request: “RobotName=R1”, “ErrorCode=11” MessageSent

Atomic services: FindTechnician : Time MobileNumb GetTextError : ErrorCodeErrorText ComposeMessage : ErrorText, RobotName

MessageText sendSMS : MobileNumber, MessageTex

tMessageSenD,

Composite service: FindTechnician; GetTextError ; ComposeMessage; sendSMS

Page 22: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Video 1

Page 23: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Multi-Robots systems

Multiple robots can share tasks andhelp each other to accomplish amission more efficiently than asingle robot if the mission could bedivided across a number of robotsoperating in parallel.

Page 24: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Overall Multi-RobotCharacteristics

Overall control of robot action is notembedded into any of the robots.

Local behavior of each robot is looselydependent on the behavior of otherrobots

Local interactions among robots maylead to emergent of a complex behavior.

Page 25: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Integration of HeterogeneousRobots

Heterogenity is due to different robotoperating systems, programminglanguages, software and hardwarevendors, legacy technologies,...

Heterogenity in Communication

Heterogenity in Robot Capabilities

Heterogenity in Robot Application System

Page 26: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Multi Robot systems

Most of the previous works are specializedarchitectures for each type of robot team andapplication domain.

There is need to a generic architecture whichsupports integration of heterogenous robots .

Page 27: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Communication infrastructure

Figure 5: Rendezvous robots (RCE) overlay formation and communication between Edge Robots (ECE) & RFID (MR)

Page 28: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Distributed Service Discovery

Rendezvous computing entities (RCE) are thecomputing entities with wireless connectivity orentities which can communicate outside a domainor with external world such as Internet

Edge computing entities (ECE) are consideredthose entities that don’t have a capability tocommunicate in a point-to-point fashion with othercomputing entities and require some sort ofinformation mediator/relay to communicate theirmessages.

Message Relays (MR) or information mediators areeffectively entities that serve ECE to communicatetheir messages.

Page 29: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Communication MiddlewareArchitecture

Page 30: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Different modes of communication(Licentiate work of Abdul Haseeb)

Active Communication Mode Web services descriptions are pushed to other entities/MR. Active mode corresponds to a normal Web services publishing to

UDDI. Web services descriptions are first pushed inside a cluster/entity-

group via MR and later RCE disseminates them to rest of network.

Passive Communication Mode In passive communication mode a Web services discovery occurs

when an entity’s (RCE or ECE) request is answered by someentity/MR. In other words entities don’t publish their Web servicesdescriptions unless requested.

Passive communication mode is less bandwidth intensive than activecommunication mode.

Conflicting mode refers to a greedy mode in which entities don’twait for another entity to release MR.

Conflict-resolution mode refers to a mode in which an activepush or a passive Web services request locks the MR which isreleased upon either Passing of Web services description or message request to another

entity (i.e. at-least one entity has read the initiator’s message) orTime-out

Page 31: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Advance Web service usage

Service Composition technique to build”Plan”

Efficient task allocation based onAuctioning

Page 32: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Web service composition withrobots

Composition engine in robot

Composition engine on server

Page 33: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Multi –Robot Coordination System

1-Robot Control System (robot side) :

System to navigate, acquire, share andcoordinate robots behavior within Swarm

2-Service Coordination System (server side) :implements the server-side coordination anddecision-making methods. Its main tasks are :

a) Swarm Action Planning”

b) Allocation of tasks to robots.

Page 34: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Action Planning Architecture

WSDLs

Composite Service Graph

Problem Decomposition

Service Composition Engine

Workflow Engine

Perform Task(input, output)

Problem Ontology

Task Allocation

Service to be allocatedCommunication

Layer

Page 35: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Concepts in Problem Ontology

Concepts:•Temperature of Room

•Humidity of Room

•ComfortLevel of Room

•ComfortLevel of Building

•Building

•Room

Page 36: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Services bound to Concepts

36

Page 37: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

OWL Representation of Binding

<Temperature rdf:ID="TemperatureRoom1"><hasService>

<MeasureTemperatureOfRoomrdf:ID="getTemperatureRoom1_Operation">

<hasOutParam rdf:resource="#TemperatureRoom1"/><hasWSDL xml:lang="en">

getTemperatureRoom1_WSDL.wsdl</hasWSDL><hasInParam rdf:resource="#Room1"/>

</ MeasureTemperatureOfRoom1></hasService>

</Temperature>

Page 38: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Service Composition Layer

Goal: To build aplan to fulfill thesubmitted goalout of givenWSDLs.

ServiceCompositionEngine

WSDLs

Plan as DirectedGraph

ProblemOntology

Page 39: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Generated Composition Graph

Page 40: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Workflow Layer

BPELEngine

Server SideService

RobotService

RobotService

Graph of thePlan

BPELScript

Deploy

Translate

Page 41: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Task Allocation Layer

Goal : Assigning tasks (i.e. services) to robotsin an effective way , to reflect to bothenvironment changes (e. g. addition of newenvironment areas) and robots’ team changes(e. g. robot failures).

Input : Service (task) definition (a robotservice)

Output: the identification (end point) of a therobot of the swarm performing the service.

Page 42: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Video 2

Page 43: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Clouds and robots

Next step: Services via clouds

Kuffner, Davinci and others

Our proposal

Page 44: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Cloud computing

Cloud computing assumes flexible configuration; virtualization of platform; automation, interchange and management of

resources and services to be delivered on-demand/need.

scalability/elastic-capability; new resources can be added as per demand. services for easy/on-the-fly integration of

resources are located in the cloud (not onparticular address)

Page 45: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

KuffnerIEEE International Conference on Humanoid Robots, in Nashville, Tenn., this past December

Shared knowledge

Outsourcing heavy computationsfrom clouds

Shared skills – app stores

Page 46: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

KuffnerIEEE International Conference on Humanoid Robots, in Nashville, Tenn., this past December

Robots can improve theircapabilities via clouds in:

3D vision

Planning

Speech recognition

Language translation

...

Page 47: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

DAvinCi project

The DAvinCi framework combines the distributed ROSarchitecture, the open source Hadoop Distributed FileSystem (HDFS) and the Hadoop Map/ReduceFramework.

Data Storage Institute, A*STAR, Singapore.Rajesh [email protected]

Page 48: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Robots and Clouds (2 ways)

Outsourcing resources

Clouds of Robots

Page 49: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Main points

Autonomous robots are cloud eligibleresources because of they can hostand process data (they havestorage and computational unit)

Autonomous robots are high levelresources who providesophisticated decision makingcapability

Page 50: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Robots in Clouds

The main new features that robots asresources can bring into clouds are autonomy,

mobility and

operation in physical world.

From this point we need robotic knowledgeabout monitoring robots (including positioning),

perception features (observing the physical world)

actuator features (mobility and all types ofmanipulators).

Page 51: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Robotic Cloud

RigourCLOUD project

Page 52: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Abstract communicationarchitecture of a Robotic Cloud

RigourCLOUD project

Page 53: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Some Challenges

an ability of cloud to adapt to changing dynamic environments aswell as reasoning with uncertainty and decision makingcapabilities are needed

development intelligent negotiation methods as a new way ofresource allocation in the cloud,

development of new ways of manageability, adaptivity and self-*by providing learning, assessment and reasoning methods forself-evolving multi-robot systems,

development of a knowledge infrastructure in the cloud (semanticand rule-based representation) which allows new programmingmodel, resource configuration and resource control.

dealing with issues ranging from low level communication andconnectivity aspects of internal interoperability and distributedtask allocation to provision of cloud middleware for looselycoupled dynamic resources.

Page 54: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Possible operating scenarios(Disaster mitigation)

ROBOCLOUD project

Page 55: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Possible operating scenarios(Disaster mitigation)

Supported informational streams: Robots → Cloud: local georeferenced information

(e.g. visual information) Cloud → Robots: local rich situation with

aggregation of all available information from otheractors (first responders, UAV, UGV, UUV) and/orother informational sources available within the cloud(news, satellites, eye witnesses’ reports/data, etc.).

Expected improvements are: Increase of time efficiency for victims search and

rescue and for assessment of hazards area Increase of dynamic replanning capabilities for UAV,

UUV and UGV according to evolution of the situation Optimal decision making level for robots Augmented autonomy capability for robots

Page 56: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

A general purposeROBOCLOUD service platform

ROBOCLOUD project

Page 57: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Structural overview ofindoor fire source detection

RigourCLOUD project

Page 58: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Structural overview ofavalanche victim detection

RigourCLOUD project

Page 59: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

What are benefits of Roboticcloud computing?

A new way of provision of robotic resourcesin a uniform way.

Robots are able to provide computationalresources in places where such resourceswere not available and because of ability togather information about physical world thatwas not initially presented in cloud.

Page 60: Iciw 2011 mihhail_matskin

March 22 ICIW 2011, Sint Maarten

Conclusion

Service robots are available both topublic and private/corporate use

Robotic services can be provided assoftware service and we can create eco-systems where they can co-exists

Cloud robotics is not only resourceoutsourcing but also a new way of roboticservice delivery