Complete a large project that embodies the major course topics Project should be simple but expandable The project should include:

Similar documents
Complete a large project that embodies the major course topics Project should be simple but expandable The project should include:

Introductory Motor Learning and Development Lab

Emotional functioning in Systems Jim Edd Jones Lafayette, CO

Exploration and Exploitation in Reinforcement Learning

Cellular Automata Model for Epidemics

You can use this app to build a causal Bayesian network and experiment with inferences. We hope you ll find it interesting and helpful.

TruLink Hearing Control App User Guide

Simulation of the Spread of a Virus Using Agent Based Modeling

Power Management Implementation

Solutions for Chapter 2 Intelligent Agents

Upon starting the executable, a map with four exits at its corners is loaded.

Agent-Based Models. Maksudul Alam, Wei Wang

A Sleeping Monitor for Snoring Detection

Organization and Levels of Organization

You can use this app to build a causal Bayesian network and experiment with inferences. We hope you ll find it interesting and helpful.

Using the CFS Infrastructure

An Orthodontics-Inspired Desynchronization Algorithm for Wireless Sensor Networks

Swine flu deaths expected to rise

Attention and Concentration Problems Following Traumatic Brain Injury. Patient Information Booklet. Talis Consulting Limited

TruLink Hearing Control App User Guide

Lightened Dream. Quick Start Guide Lightened Dream is a dream journal designed to wake you up in your dreams.

KECERDASAN BUATAN 3. By Sirait. Hasanuddin Sirait, MT


MAE 298, Lecture 10 May 4, Percolation and Epidemiology on Networks

Course Syllabus. Operating Systems, Spring 2016, Meni Adler, Danny Hendler and Amnon Meisels 1 3/14/2016

ENVIRONMENTAL REINFORCEMENT LEARNING: A Real-time Learning Architecture for Primitive Behavior Refinement

Using SAS to Model the Spread of Infectious Disease Karl Mink, Mike Zdeb, School of Public Health, Rensselaer, NY

Fodor on Functionalism EMILY HULL

CapTel 840. How-to Guide /17

Models of Cooperation in Social Systems

QuantiPhi for RL78 and MICON Racing RL78

Introduction CHAPTER 1

There are 3 Stages to the Fat Burning Fingerprint System

Digital Noise-Cancellation Headphones Senior Project Proposal. Korey Adams EE Class of 2016

Externalization of Cognition: from local brains to the Global Brain. Clément Vidal, Global Brain Institute

A model of parallel time estimation

Artificial Intelligence Lecture 7

Five Features of Fighting the Flu

Robotic Dancing: Exploring Agents that use a Stratified Perceive- Decide-Act Cycle of Interaction

"Preparedness and Personal Awareness" - Albert Timen

The Invisible Cause of Chronic Pain

LESSON 4.5 WORKBOOK. How do viruses adapt Antigenic shift and drift and the flu pandemic

ERA: Architectures for Inference

Seamless Audio Splicing for ISO/IEC Transport Streams

Controlling Worries and Habits

Coach Morse - Morse Code Practice Unit

Theatres and Concert Halls. Solutions for the hearing impaired

>Talko. Have your modular speak out the CV, the LPC, 8 bits, vintage way. Page 1

CapTel 800. How-to Guide /11

How do you know if a newspaper article is giving a balanced view of an issue? Write down some of the things you should look for.

CHAPTER 4 CONTENT LECTURE 1 November :28 AM

REGION 9 ASSEMBLY 2013 ABSTINENCE WORKSHOP REPORT

IMAGINE APP COMPATIBLE

Essentials of Aggregate System Dynamics Infectious Disease Models. Nathaniel Osgood CMPT 858 FEBRUARY 3, 2011

Demo Mode. Once you have taken the time to navigate your RPM 2 app in "Demo mode" you should be ready to pair, connect, and try your inserts.

Multitasking: Why Your Brain Can t Do It and What You Should Do About It.

Lesson Plan 2. Lesson Objectives. Fundamental Movement Skills Explored EQUIPMENT NEEDED

C. Anderson, G. Theraulaz, and J.-L. Deneubourg, Self-assemblages in insect societies. Insectes soc. 49 (2002)

Why Is It That Men Can t Say What They Mean, Or Do What They Say? - An In Depth Explanation

Bimodal Multicast. Harald Gjermundrød CptS/EE 562 February 10, 2004

Disease dynamics: understanding the spread of diseases

The Invisible Driver of Chronic Pain

CS343: Artificial Intelligence

ADHD ATTENTION-DEFICIT HYPERACTIVITY DISORDER

Critical Conversations

Adult Asthma My Days of Living in Tension with Asthma are Over!

Concepts and Connections: What Do You Expect? Concept Example Connected to or Foreshadowing

THE ODAPTER. the 3D printed orgasm adapter that turns your electric toothbrush into a powerful vibrator

What is AI? The science of making machines that:

Connectivity guide for. BeMore app

Natural Selection Simulation: Predation and Coloration

Agents. This course is about designing intelligent agents Agents and environments. Rationality. The vacuum-cleaner world

With Marie-Claire Ross The SELLSAFE Communication Mentor

Cognitive Neuroscience History of Neural Networks in Artificial Intelligence The concept of neural network in artificial intelligence

Understanding Vaccine Economics with Simulations Authors: David Bishai and Sasmira Matta

Reaction Times: A POGIL Introduction to the Nervous System

Continuous Glucose Monitoring (CGM) Dexcom G6 Training for Healthcare Professionals and Patients

Hearing Control App User Guide

Dosimeter Setting Device

Agents and Environments

Running PyNN Simulations on SpiNNaker

We diagnose cancer either when it has symptoms or when we are looking for something else.

CAS Seminar - Spiking Neurons Network (SNN) Jakob Kemi ( )

LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES

COGS 1: FALL Section D

Mike Davies Director, Neuromorphic Computing Lab Intel Labs

Reactive agents and perceptual ambiguity

15-110: Principles of Computing, Spring Problem Set 9 (PS9) Due: Friday, April 6 by 2:30PM via Gradescope Hand-in

Changing the States of Abstract Discrete Systems

Theory and Practice of Education

Overview. Meeting Length 90 minutes. Senses [Meeting 1]

Intro to HCI / Why is Design Hard?

Silvia Rossi. Agent as Intentional Systems. Lezione n. Corso di Laurea: Informatica. Insegnamento: Sistemi multi-agente.

Phonak CROS B. When you can follow conversations from any direction, life is on

Discrimination and Generalization in Pattern Categorization: A Case for Elemental Associative Learning

Math HL Chapter 12 Probability

Evolutionary Programming

An Escalation Model of Consciousness

Script for audio: Pseudoephedrine and ephedrine. Audiovisual training for pharmacy support staff

The Logic of Data Analysis Using Statistical Techniques M. E. Swisher, 2016

Transcription:

CSE 466: Course Project Complete a large project that embodies the major course topics Project should be simple but expandable The project should include: Multiple device communication Deal with constrained resources Control hardware by directly manipulating the I/O Introduce an embedded OS Participate in a multi-agent project team effort Use current technology CSE 466 The Raven Deconstructed 1 The Flock Two week project to tie together everything we ve learned in 466 Programming microcontrollers Wireless radio communication Embedded operating systems A piece of performance art Allows nodes programmed by different students to work together Exposes some problems of scale in building sensor networks CSE 466 The Raven Deconstructed 2 1

Basic Idea of the Flock Project CSE 466 The Raven Deconstructed 3 Why is emergence useful? Focus on bottom-up interactions Traditionally top-down control Complex behaviour comes from interaction of simple parts New possibilities for designers CSE 466 The Raven Deconstructed 4 2

Artificial life The study of man-made systems which behave in some ways like natural living systems The study of natural life using models of biological phenomena No unifying theorem Understand the principles of Life How does life arise from the non-living? What are the potentials and limits of living systems? How is life related to mind, machines, and culture? CSE 466 The Raven Deconstructed 5 Flock Initialization: 16 bird songs Initialize variables to defaults At start, pick your initial song Volume, Timbre, and Tempo are part of song Also subject to global initialization CSE 466 The Raven Deconstructed 6 3

Flock State Machine WAIT STATE (silent, go to this state on command) Wait to receive a packet of type AdjustGlobals Turn tri-color LED off and turn on red LED on corner of sound board Ignore SangSong packets from neighbors IF (AdjustGlobals) set clock, go to clear state IF (Command Packet) perform command, change LED, possibly sing song, stay in wait state CLEAR STATE (silent) Clear correlation FIFO and receive queue data (all historical data) Clear all counter variables Wait for random amount of time (1000-4000 milliseconds) Go to sing state SING STATE Choose a song (using provided algorithm) and send to Yamaha chip Collect data from neighbors even while singing After song is finished, send SangSong message Go to listen state LISTEN STATE (silent, go to this state on reset) Set listen time for random t є [minlisten, maxlisten] msec Listen and collect data from neighbors When listen timer goes off go to sing state STARTLED STATE Send startled song to Yamaha chip Collect data from neighbors even while singing Send startled message to neighbors (remember to decrement hop count) Turn tri-color LED off and red LED on corner of sound board on After finished singing, delay 10 secs, turn off red LED Go to listen state CSE 466 The Raven Deconstructed 7 Active Message Types SangSong Inform neighbors as to song that was just completed AdjustGlobals Change parameters StopNWait Go to wait state CommandPacket Adjust LED and possible sing song Startled From neighbor, indicated scared bird Selected Send back to controller when selected CSE 466 The Raven Deconstructed 8 4

Flock Details: Listen Arriving packets need to be time-stamped Packets from Node 0 must be specially treated they may contain global parameters Arriving packets are strength-stamped for RSSI value CSE 466 The Raven Deconstructed 9 Song Decision Algorithm Goals Sing the same song for a little while Songs start, then spread, then die out Don t sing the same song too often Algorithm Determine nearest songs If our song = any of nearest n, then repeat song If all same, switch to different song If none same, switch to different song If selected song on black list pick a different song How do we evaluate how effective this algorithm is? CSE 466 The Raven Deconstructed 10 5

Song Decision Algorithm (cont d) x = rand() % Probability y = rand() % Silence if (x == 0) SONG = song with the lowest point value else if (y == 0) Silence, don't sing a song, go back to LISTEN STATE else SONG = song with the highest point value CSE 466 The Raven Deconstructed 11 Selection Command packets include a range of node IDs (if min=max, then a specific node) All selected nodes execute command CSE 466 The Raven Deconstructed 12 6

The Bird Flu The birds can get the bird flu If they are exposed to an infected bird: They may get the flu They will die or recover With recovery comes temporary immunity A bird s color indicates it s health state Green = healthy but susceptible Red = infected Blue = immune CSE 466 The Raven Deconstructed 13 A generic disease model TIME Death Susceptible host Infection No infection Clinical disease Recovery Incubation period Latent Infectious Non-infectious Exposure Onset CSE 466 The Raven Deconstructed 14 7

A generic disease model TIME Susceptible host Infection No infection Clinical disease Death Recovery Short-term Immunity CSE 466 The Raven Deconstructed 15 Virus calculation When a bird becomes infected, the infection length should be computed by randomly picking a value between two limits. A timer should be set for the picked length. When the timer fires, a random number between 0 and 99 should be picked. If this number is below the chancerecovery global, then the health state should be set to IMMUNE, and a timer should be set for a random length of time to set the state back to HEALTHY. Otherwise, the health state should be set to DEAD, and the bird should enter the DEAD state. CSE 466 The Raven Deconstructed 16 8

What are Cellular Automata? Computer simulations which emulate the laws of nature Rough estimation no precision Discrete time/space logical universes Complexity from simple rule set Reductionist approach Deterministic local physical model Ensemble does not have easily reproducible results due to randomization and limits of communication CSE 466 The Raven Deconstructed 17 History Original experiment created to see if simple rule system could create universal computer Universal computer (Turing): a machine capable of emulating any kind of information processing through simple rule system Late 1960 s: John Conway invents Game of Life CSE 466 The Raven Deconstructed 18 9

Game of Life Simplest possible universe capable of computation Basic design: rectangular grid of living (on) and dead (off) cells Complex patterns result from simple structures In each generation, cells are governed by three simple rules Which patterns lead to stability? To chaos? CSE 466 The Raven Deconstructed 19 Simulation Goals Avoid extremes: patterns that grow too quickly (unlimited) or patterns that die quickly Desired behavior: No initial patterns where unlimited growth is obvious through simple proof Should discover initial patterns for which this occurs Simple initial patterns should grow and change before ending by: fading away completely stabilizing the configuration oscillating between 2 or more stable configurations Behavior of population should be relatively unpredictable CSE 466 The Raven Deconstructed 20 10

Conway s Rules Death: if the number of surrounding cells is less than 2 or greater than 3, the current cell dies Survival: if the number of living cells is exactly 2, or if the number of living cells is 3 (including the current cell), maintain status quo Birth: if the current cell is dead, but has three living cells surrounding it, it will come to life CSE 466 The Raven Deconstructed 21 For Each Square... Look at nearest neighbors (8 of them) 256 possible states (2 8 ) Decide on square s next state (dead/alive, on/off) CSE 466 The Raven Deconstructed 22 11

The Rules for Life If a square is black ( on ) then it will be black at the next step if 2 or 3 of its neighbouring squares are black A white ( off ) square will become black only if it has exactly 3 black neighbouring squares Otherwise a square will be white the next step (overcrowded or lonely) CSE 466 The Raven Deconstructed 23 Examples We can have birth Or death A nice implementation is at: http://www.math.com/students/wonders/life/life.html CSE 466 The Raven Deconstructed 24 12

Types of behaviour in the Game of Life Still life objects unchanging (e.g. four-block) Simple repeating patterns (oscillations) Part of the system can leave the rest and travel (movement - gliders) The system can die out completely The system grows randomly before stabilising to a predictable behaviour The system grows forever (quite rare and difficult to find) CSE 466 The Raven Deconstructed 25 Chaos All behaviour in the Game of Life is chaotic it is very sensitive to the starting state and is completely altered if the system changes a little (e.g. just like the weather) Will chaos be a characteristic of our Flock? CSE 466 The Raven Deconstructed 26 13

The Concert End of quarter Final class is a concert Each student has a Superbird to contribute (30 motes) Same rules, different code in each mote The motes have to qualify CSE 466 We will have testing scripts to simulate the flock and eliminate nodes that may cause problems Used for grading projects The Raven Deconstructed 27 Assignment adapt this. CSE 466 The Raven Deconstructed 28 14