A Framework for Multi-agent Discrete Event Simulation: V-Lab ® Prasanna Sridhar Shahab Sheikh-Bahaei 12/05/2003 Autonomous Control Engineering University.

Slides:



Advertisements
Similar presentations
Inference without the Engine!. What is EZ-Xpert 3.0? EZ-Xpert is a Rapid Application Development (RAD) environment for creating fast and accurate rule-based.
Advertisements

Project Title Here IEEE UCSD Overview Robo-Magellan is a robotics competition emphasizing autonomous navigation and obstacle avoidance over varied, outdoor.
The 20th International Conference on Software Engineering and Knowledge Engineering (SEKE2008) Department of Electrical and Computer Engineering
Conventional (Boolean) Set Theory: Fuzzy Set Theory © INFORM Slide 1 “Strong Fever” 40.1°C 42°C 41.4°C 39.3°C 38.7°C 37.2°C 38°C Fuzzy Set Theory:
Fuzzy Inference Systems. Review Fuzzy Models If then.
Fuzzy Inference Systems
 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
Kinematic Synthesis of Robotic Manipulators from Task Descriptions June 2003 By: Tarek Sobh, Daniel Toundykov.
Fuzzy Logic and its Application to Web Caching
Smart Shopper A Consumer Decision Support System Using Type-2 Fuzzy Logic Systems Ling Gu 2003 Fall CSc8810.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing K. OYTUN YAPICI BİRKAN TUNÇ.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
11 Inverted Pendulum Emily Hamilton ECE Department, University of Minnesota Duluth December 21, 2009 ECE Fall 2009.
Chapter 18 Fuzzy Reasoning.
1 Chapter 18 Fuzzy Reasoning. 2 Chapter 18 Contents (1) l Bivalent and Multivalent Logics l Linguistic Variables l Fuzzy Sets l Membership Functions l.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems (sections 2.7, 2.8,
Teachers Name : Suman Sarker Telecommunication Technology Subject Name : Computer Controller System & Robotics Subject Code : 6872 Semester :7th Department.
What are Neuro-Fuzzy Systems A neuro-fuzzy system is a fuzzy system that uses a learning algorithm derived from or inspired by neural network theory to.
UNIT-V The MVC architecture and Struts Framework.
Fuzzy control of a mobile robot Implementation using a MATLAB-based rapid prototyping system.
V-Lab  … An Intelligent Virtual Laboratory for Autonomous Agents – Towards Simulating System of Systems Mo Jamshidi, Ph.D., DEgr., Dr. H.C. F-IEEE, F-ASME,
DEVSView: A DEVS Visualization Tool Wilson Venhola.
Load Balancing in Distributed Computing Systems Using Fuzzy Expert Systems Author Dept. Comput. Eng., Alexandria Inst. of Technol. Content Type Conferences.
Protocols and the TCP/IP Suite
Fuzzy Control –Configuration –Design choices –Takagi-Sugeno controller.
Chapter 10: Compilers and Language Translation Invitation to Computer Science, Java Version, Third Edition.
©G. Millbery 2001Communications and Networked SystemsSlide 1 Purpose of Network Components  Switches A device that controls routing and operation of a.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
DEVS Namespace for Interoperable DEVS/SOA
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
A Universal Framework for Data Validation Giovanni Organtini INFN-Sez. di Roma.
SAFESPOT – Local Dynamic Maps for Cooperative Systems April, 12th 2007, CRF – SP2 Infrasens meeting 1 Local dynamic maps in cooperative systems IP - “Smart.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Intelligent Information Expert System for Employment and General Purposed Fuzzy Shell.
Mobile Robot Navigation Using Fuzzy logic Controller
Boundary Assertion in Behavior-Based Robotics Stephen Cohorn - Dept. of Math, Physics & Engineering, Tarleton State University Mentor: Dr. Mircea Agapie.
Neural-Network-Based Fuzzy Logical Control and Decision System 主講人 虞台文.
FUZZy TimE-critical Spatio-Temporal (FUZZ-TEST): Project #3 Brandon Cook – 3 rd Year Aerospace Engineering ACCEND Student Dr. Kelly Cohen – Faculty Mentor.
The TeamBots Environment
Unifying Discrete and Continuous Simulation with Discrete Events: DEVS as the Next Modeling Standard Bernard P. Zeigler Arizona Center for Integrative.
Fuzzy Sets and Control. Fuzzy Logic The definition of Fuzzy logic is a form of multi-valued logic derived frommulti-valued logic fuzzy setfuzzy set theory.
Fuzzy Inference Systems. Fuzzy inference (reasoning) is the actual process of mapping from a given input to an output using fuzzy logic. The process involves.
Computing Simulation in Orders Based Transparent Parallelizing Pavlenko Vitaliy Danilovich, Odessa National Polytechnic University Burdeinyi Viktor Viktorovych,
PART 9 Fuzzy Systems 1. Fuzzy controllers 2. Fuzzy systems and NNs 3. Fuzzy neural networks 4. Fuzzy Automata 5. Fuzzy dynamic systems FUZZY SETS AND FUZZY.
“Principles of Soft Computing, 2 nd Edition” by S.N. Sivanandam & SN Deepa Copyright  2011 Wiley India Pvt. Ltd. All rights reserved. CHAPTER 12 FUZZY.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 31. Review Creational Design Patterns – Singleton Pattern – Builder Pattern.
NEURO-FUZZY LOGIC 1 X 0 A age Crisp version for young age.
CS223: Software Engineering
IHP Im Technologiepark Frankfurt (Oder) Germany IHP Im Technologiepark Frankfurt (Oder) Germany ©
Software Engineering Algorithms, Compilers, & Lifecycle.
Type-2 Fuzzy Web Shopping Agents Menglei Tang and Yanqing Zhang Georgia State University Gang Zhang Tianjin University.
Network Troubleshooting CT NWT NameTP No. Gan Pei ShanTP Tan Ming FattTP Elamparithi A/L ThuraisamyTP Tan Ken SingTP
Fuzzy Logic Control What is Fuzzy Logic ? Logic and Fuzzy Logic
Artificial Intelligence CIS 342
FUZZY NEURAL NETWORKS TECHNIQUES AND THEIR APPLICATIONS
A great man who created a complete new mathematics with many practical applications.
Stanisław H. Żak School of Electrical and Computer Engineering
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Fuzzy Control Tutorial
Ch > 28.4.
Dr. Unnikrishnan P.C. Professor, EEE
منطق فازی.
Homework 9 Min Max “Temperature is low” AND “Temperature is middle”
Fuzzy Logic Colter McClure.
AGGREY SHITSUKANE SHISIALI. TECHNICAL UNIVERSITY OF MOMBASA
Chapter 10: Compilers and Language Translation
Fuzzy Inference Systems
Presentation transcript:

A Framework for Multi-agent Discrete Event Simulation: V-Lab ® Prasanna Sridhar Shahab Sheikh-Bahaei 12/05/2003 Autonomous Control Engineering University of New Mexico This work was supported by NASA AMES under grant NAG

V-Lab® V-Lab® Environment Layers –Hardware Networking Networking foundation for inter-machine communication –Middleware Software environment for inter-process communication –IDEVS Library of tools for soft computing in DEVS formalism –V-Lab® Organizational structure for DEVS objects. Management objects to control time and message flow in multi-agent systems PHYSICAL NETWORK MIDDLEWARE I-DEVS V-Lab

Inside Layered Architecture middleware Atomic Model Coupled Model simman

V-lab® Uses the IDEVS structure for creating objects Provides inbuilt agents and physics to model multi-agent multi- physics system SimMan is the message router to perform indirect message passing. Hierarchical Tree SimEnv Agents Physics Agents SimManPhysics

SimMan and SimEnv SimEnv –Highest leveled coupled model –Instatiates all other models –Houses all other models –Couples all other models together SimMan –Message liaison providing indirection between all other models –Controls flow of time and messages between models for the simulation SimEnv SimMan Agent

Parsing A grammar defines rules for building syntactically correct programs. One way of defining grammar is through BNF (Backus- Naur Form) BNF of our simulation configurations is translated JavaCC format and saved as file parseConfig.jj When parseConfig.jj is compiled by JavaCC, it generates a Java file parseConfig.java. Parsing can be done by instatiating an object of parseConfig.java

Sample Config file robo2 = Robot.Robot; //agent robo3 = Robot.Robot; //agent robo4 = Robot.Robot; //agent robo5 = Robot.Robot; //agent robo6 = Robot.Robot; //agent robo7 = Robot.Robot; //agent terr = Robot.Terrain;

Need for Agent Manager 4 agents connected together 18 agents connected18 agents connected with manager manager

Message routing A1 SimMan R1 A2 A3 A4 A5 R1:A2, A4, A5 R2:A1,A3 R1 Legend: A1,A2,A3,A4,A5: Agents R1: Request Message R1: A2, A4,… : Database for request/response A1 SimMan Re A2 A3 A4 A5 R1:A2, A4, A5 R2:A1,A3 Re Legend: A1,A2,A3,A4,A5: Agents Re: Response Message R1: A2, A4,… : Database for request/response Re Potential repliers can be known by special messages

I-DEVS DEVSJAVA Library Soft Computing I-DEVS Library Extension of DEVSJAVA classes Efficient way of handling Time parameters

Simulation Results

Fuzzy Logic Controller Defuzzilier Fuzzifier Inference Engine Membership Functions Fuzzy (IF THEN) Rules Fuzzy Variables Linguistic Variables Crisp Values Crisp Values

Devs-Fuzzy Logic DEVS primitives to compose a Mamdani rule: Membership Functions A typical Mamdani rule can be composed as follows X (real number) Fuzzy Value Fuzzifier Output Block Output Block Fuzzy Value Y (Fuzzy set) … AND/OR Fuzzy Values DOF Defuzzifier Y1Y1 Y2Y2 YnYn … Method of Defuzzification Defuzzified output (real number) Connectives

IF theta is POS AND theta_dot is POS THEN force is NEG NEG ZERO POS Fuzzifier (POS) Fuzzifier (POS) AND Defuzzifier theta theta_dot Fuzzifier (NEG) Fuzzifier (NEG) force Output Block (NEG) Output Block (NEG) Center of Gravity Rule #2 Rule #3 force Output Change Detectors

Robot Obstacle Avoidance Distance to obstacle (measured by sensor i) Angle of sensor i w v Fuzzy-Logic-Controller 22 11

Fuzzy-Logic Obstacle Avoidance a) Distance measured by sensor (d) b) Angle of sensor (th) c) Forward velocity (V) d) Angular Velocity (W) Close Near Far Neg Zero Pos Zero VSlow Slow Fast Neg SNeg Zero SPos Pos Membership Functions:

Fuzzy-Logic Obstacle Avoidance 1."IF distance i is Close And angle i is Pos Then V Is VSlow W is Neg " 2."IF distance i is Close And angle i is Zero Then V Is Zero " 3."IF distance i is Close And angle i is Neg Then V Is VSlow W Is Pos " 4."IF distance i is Near And angle i is Pos Then V Is Slow W Is SNeg" 5."IF distance i is Near And angle i is Zero Then V Is VSlow W Is SNeg" 6."IF distance i is Near And angle i is Neg Then V Is Slow W Is Spos" 7."IF distance i is Far And angle i is Pos Then V Is Fast W Is Zero" 8."IF distance i is Far And angle i is Zero Then V Is Fast W Is Zero" 9."IF distance i is Far And angle i is Neg Then V Is Fast W Is Zero" Fuzzy rules for the i th sensor:

Simulation time Activities Discrete Event FuzzyConventional Fuzzy Conventional Fuzzy vs. DEVS-Fuzzy

Cooperative Robotics Cooperative pushing task:

Pushing task: Pushing region rArA rBrB f r =0 f r <0 f r >0 f l <0 f l =0 f l >0 A

Cooperative pushing task: rBrB Pushing regions

Cooperative Pushing Task “in”?command “out”!goal_reached “in”?object_reached “in”?object_lost “out”?object_touched “in”?everybody_ready “in”?outside_pushing_region “out”?object_reached_the_goal “in” “out”

Simulation Results

Experiment Results