Chris Thomas Fuzzy Cyber Physical Pet Care Systems.

Slides:



Advertisements
Similar presentations
Fuzzy Logic 11/6/2001. Agenda General Definition Applications Formal Definitions Operations Rules Fuzzy Air Conditioner Controller Structure.
Advertisements

Fuzzy Expert System  An expert might say, “ Though the power transformer is slightly overloaded, I can keep this load for a while”.  Another expert.
Lecture 4 Fuzzy expert systems: Fuzzy logic
Fuzzy Systems and Control Günay Karlı, Ph.D.. Before we begin… some clever people have said in the past…
Fuzzy Inference and Defuzzification
CS 561, Sessions This time: Fuzzy Logic and Fuzzy Inference Why use fuzzy logic? Tipping example Fuzzy set theory Fuzzy inference.
CS 561, Sessions This time: Fuzzy Logic and Fuzzy Inference Why use fuzzy logic? Tipping example Fuzzy set theory Fuzzy inference.
BAYESIAN NETWORKS. Bayesian Network Motivation  We want a representation and reasoning system that is based on conditional independence  Compact yet.
Introduction to Wireless Sensor Networks
AI TECHNIQUES Fuzzy Logic (Fuzzy System). Fuzzy Logic : An Idea.
Fuzzy Expert System. Basic Notions 1.Fuzzy Sets 2.Fuzzy representation in computer 3.Linguistic variables and hedges 4.Operations of fuzzy sets 5.Fuzzy.
Fuzzy Expert Systems. Lecture Outline What is fuzzy thinking? What is fuzzy thinking? Fuzzy sets Fuzzy sets Linguistic variables and hedges Linguistic.
Chapter 12: Expert Systems Design Examples
Computer Intelligence and Soft Computing
Fuzzy Expert System.
Brent Dingle Marco A. Morales Texas A&M University, Spring 2002
AI – CS364 Hybrid Intelligent Systems Overview of Hybrid Intelligent Systems 07 th November 2005 Dr Bogdan L. Vrusias
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
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.
WSN Simulation Template for OMNeT++
WELCOME TO THE WORLD OF FUZZY SYSTEMS. DEFINITION Fuzzy logic is a superset of conventional (Boolean) logic that has been extended to handle the concept.
Introduction What is Fuzzy Logic? HOW DOES FL WORK? Differences between Classical set (crisps) and Fuzzy set theory Example 1 Example 2 Classifying Houses.
Matlab Fuzzy Toolkit Example
Fuzzy Logic. Sumber (download juga): 0logic%20toolbox.pdf
BEE4333 Intelligent Control
Fuzzy Logic. Priyaranga Koswatta Mundhenk and Itti, 2007.
FUZZY LOGIC Babu Appat. OVERVIEW What is Fuzzy Logic? Where did it begin? Fuzzy Logic vs. Neural Networks Fuzzy Logic in Control Systems Fuzzy Logic in.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Fuzzy Sets Introduction/Overview Material for these slides obtained from: Modern Information Retrieval by Ricardo Baeza-Yates and Berthier Ribeiro-Neto.
An approach to Intelligent Information Fusion in Sensor Saturated Urban Environments Charalampos Doulaverakis Centre for Research and Technology Hellas.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
Fuzzy Inference (Expert) System
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology 1 Wireless Sensor Network Wireless Sensor Network Based.
Fuzzy Reinforcement Learning Agents By Ritesh Kanetkar Systems and Industrial Engineering Lab Presentation May 23, 2003.
A new Ad Hoc Positioning System 컴퓨터 공학과 오영준.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Fuzzy Systems Michael J. Watts
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
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.
“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.
Fuzzy Inference Systems
July 14 th SAM 2008 Las Vegas, NV An Ad Hoc Trust Inference Model for Flexible and Controlled Information Sharing Danfeng (Daphne) Yao Rutgers University,
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
Universal fuzzy system representation with XML Authors : Chris Tseng, Wafa Khamisy, Toan Vu Source : Computer Standards & Interfaces, Volume 28, Issue.
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
Aisha Iqbal (CT-084) Kanwal Hakeem (CT-098) Tehreem Mushtaq (CT-078) Talha Syed (CT-111)
Dinner for Two. Fuzzify Inputs Apply Fuzzy Operator.
Type-2 Fuzzy Web Shopping Agents Menglei Tang and Yanqing Zhang Georgia State University Gang Zhang Tianjin University.
Lecture 8: Wireless Sensor Networks By: Dr. Najla Al-Nabhan.
VIDYA PRATISHTHAN’S COLLEGE OF ENGINEERING, BARAMATI.
Personal Home Healthcare System for the Cardiac Patient of Smart City Using Fuzzy Logic Shijia Liu.
Medium Access Control. MAC layer covers three functional areas: reliable data delivery access control security.
Fuzzy Inference System
Artificial Intelligence CIS 342
Fuzzy Systems Michael J. Watts
MATLAB Fuzzy Logic Toolbox
Fuzzy Logic 11/6/2001.
Artificial Intelligence
Artificial Intelligence and Adaptive Systems
Introduction to Wireless Sensor Networks
Dr. Unnikrishnan P.C. Professor, EEE
FUZZIFICATION AND DEFUZZIFICATION
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
This time: Fuzzy Logic and Fuzzy Inference
Fuzzy Inference Systems
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Chris Thomas Fuzzy Cyber Physical Pet Care Systems

Computing Generations 1 st Generation: –Vacuum tube computers –Used magnetic drums. Almost impossible to program, very slow 2 nd Generation: –Programming languages, assembly language –Transistors, magnetic core memory 3 rd Generation: s –Quartz clocks, integrated circuits, operating systems 4 th Geneation: 1970s-2000s –VLSI, Chips, General Consumer Usage, Networks 5 th Generation: 2000s-Now –Mobile computer revolution, touch screen phones, wireless capabilities 6 th Generation: 2010s-…? –Internet Of Things / Cyber Physical Systems

Tight coupled combination of and coordination between the system’s numerous (usually) distributed computational and physical elements Cyber Physical Systems use computation and communication embedded in and interacting with physical processes to extend new capabilities to existing physical systems Cyber Physical Systems

Cyber capabilities in almost every physical component of system Networked at multiple scales Multiple temporal and spatial scale interactions “Intelligent” behaviors, dynamic reconfigurability Highest degrees of automation possible Some CPS explore unconventional computational substrates –Attempt to combine physical and computational domains –Computational materials – clothing? A cyber physical system integrates computing, communication, and storage capabilities with the monitoring and control of physical entities dependably, safely, securely, efficiently, and in real-time. Defining Characteristics of CPS

Wireless Sensor Networks Highly distributed networks of small, lightweight wireless nodes Usually deployed in large numbers over a dispersed region Sensors monitor the environment, by measuring physical parameters such as temperature, pressure, and humidity May be randomly deployed (but not necessarily) Usually rely on peer-to-peer communication rather than global communication with a central server (making local decisions) –Distributed synchronization –Real-time communication Power consumption is a huge issue (many are battery powered)

How can we use the sensor information to make decisions? –Sensor data can be noisy –Sensors are usually not binary (provide a continuous valued reading) –Impossible to cover all cases using exhaustive rules One answer: Machine Learning approaches –This has it’s drawbacks.. –ML models take training data and generate opaque models themselves –For simpler problems, is this really necessary? –Can we combine human like intuitions with traditional if-then logic? Fuzzy Logic Reasoning Under Uncertainty

Created in 1965 by Lotfi Zadeh A superset of conventional (Boolean) logic that has been extended to handle the concept of partial truth The central notion in fuzzy systems is that truth values (or membership values in fuzzy sets) are indicated by a probability value in the range [0.0, 1.0]. IF-THEN rules have long been used in A.I. systems, but such systems don’t deal with fuzzy consequents and fuzzy antecedents? –It’s not always clear that in the statement IF p THEN q, that p is true or false? –How do we reason under uncertainty in these situations? Using manually crafted IF-THEN rules allows experts to express their intuitions to the system naturally in a way ML doesn’t Thus, the focus on fuzzy logic is on significance rather than precision Fuzzy logic is a convenient way to map an input space into an output space using human notions and intuitions while factoring in uncertainty Fuzzy Logic

Fuzzy Sets

The Membership Function defines how every input point is mapped to the membership value (between 0 and 1). Membership Function

Membership Functions

Basic Fuzzy Logic Operations

Fuzzy Set Operations (Union)

Knowledge-based on rule-based systems The knowledge base consists of numerous fuzzy IF-THEN rules Assume our knowledge base has the following rules: –Rule 1: If service is poor or food is rancid, then leave a cheap tip. –Rule 2: If the service was good, then leave an average tip. –Rule 3: If the service is excellent or the food is delicious, then leave a generous tip. Given available inputs, service or food, we need to make a decision on the amount of tip to leave. Let’s say our tip amount can be from 5-25%. Let’s assume that the user ranks their service and food on a scale from 0 to 10 –Note – The inputs here are crisp numbers (non-fuzzy) and need to be fuzzified first Fuzzy Logic Systems

We need to take each input and compute the fuzzy values for each of the membership functions (delicious and rancid for food and poor, good, and excellent for service) Let’s assume we rate service = 3 and food = 8. Step 1: Fuzzify The Inputs

We need to determine the antecedent value for each of the rules, that is for each fuzzy rule: –IF p then Q… p needs to have a single value (the antecedent) –If p has more than one fuzzy value (for instance a OR b) we need to fuzzy OR them –To do this, we apply the fuzzy operator(s) defined in the rule Step 2: Apply the Fuzzy Operator(s)

Rules may have different weights from 0 to 1. In this case, they are all 1. The consequent is a fuzzy set itself represented by a membership function defined semantically as a mapping from the antecedent. Step 3: Apply Implication Method

Step 4: Aggregation

Step 4 produced an aggregate output set, which was a range of output values. However, we need a tip percentage from this. The input to the defuzzification process is a fuzzy set, and the output is a single number. There are numerous methods that can be used to defuzzify: centroid, bisector, middle of maximum, largest of maximum, smallest of maximum, etc. –Centroid is the most popular and is thus the one shown below: Step 5: Defuzzify

The authors construct three applications using a shared fuzzy database Intelligent Pet Door –WSN modules provide owner with temperature and humidity data –Light motion sensors are on the top of the pet door to detect whether the pet is entering or exiting –The pet wears a tag on its collar that broadcasts its ID to pet door every 20 seconds. –A radio runtime measure is used by pet door to determine distance of pet collar –The control system contains the fuzzy logic rules specified by the user. For instance, no pet is allowed to go outside on a rainy day. –Whether the pet is allowed in or out depends on all the factors considered by FIS Fuzzy Pet Care – Intelligent Pet Door

Pet feeders are havens for crawling insects, such as ants Wet pet food cannot be left out because it spoils soon after being put out The authors design a pet feeder which has a bowl cover which opens and closes automatically. –Infrared sensor detects pet – request for access is sent to fuzzy logic engine –Fuzzy logic system can either grant or deny access based on prior info and rules –Allows users to create time schedules for eating, which pets may each from that pet feeder, how long they may eat from it at any one period, etc. –If the time schedule is used, music can call the pet to the pet feeder when it is time to eat Fuzzy Pet Care – Intelligent Pet Feeder

We want to find out if the pet is straying from home (enters a critical region far enough away from the beacon to trigger an alarm) –We also want to minimize the number of messages that the pet’s collar needs to send –The server will poll the pets collar dynamically based on distance to critical region and current speed of the pet Minimize the number of messages the collar sends dynamically: –Using the last two sample points, determine the speed on the pet –Using the pet’s current speed, determine the amount of time necessary for the pet to travel from its current position to the critical region. –The critical region begins at distance R from the beacon node –Dynamically update the sampling rate so that the pet will not make it to the critical region before the next poll for location is broadcast –The update sampling rate is determined with Fuzzy inference Fuzzy Location Aware Algorithm

The inference engine sets up fuzzy rules for tracking the target node based on the following information: –Distance between the pet and the critical region (the closest point of the critical region) –The stationary time of the pet –The relative velocity of the pet Here the antecedent is the distance between target node and critical point The consequent is estimated time before the node reaches the critical point Fuzzy Location Aware Algorithm

For the Pet Care Appliance of Location Aware Infrastructure on Cyber Physical Systems Introduction to Cyber Physical Systems - Yuping Dong Cyber-Physical Systems: Issues and Challenges Rabi N. Mahapatra Introduction to Wireless Sensor Networks: Peyman Teymoori Matlab Tutorial: About Fuzzy Logic References