Response actuatorcontrol program analog quantity, e.g. pulse train digital quantity, e.g. power % interface stimuli sensorcontrol program analog quantity,

Slides:



Advertisements
Similar presentations
Chapter 20- Embedded Systems Lecture 1. Topics covered  Embedded systems design  Architectural patterns  Timing analysis  Real-time operating systems.
Advertisements

Concurrency: Threads, Address Spaces, and Processes Sarah Diesburg Operating Systems COP 4610.
Why Concurrency? Allows multiple applications to run at the same time  Analogy: juggling.
Behavior-Based Robots Bert G. Wachsmuth Seton Hall University.
Building robots Spring Mindstorms Programming Java + leJOS, NQC, and others.
Introduction to Lego Mindstorms LMICSE Workshop June , 2005 Alma College.
Threads - Definition - Advantages using Threads - User and Kernel Threads - Multithreading Models - Java and Solaris Threads - Examples - Definition -
Ceng Operating Systems Chapter 2.1 : Processes Process concept Process scheduling Interprocess communication Deadlocks Threads.
Using LeJOS LMICSE Workshop June , 2005 Alma College.
Programming with Lejos Part 1. What is lejos? Cut-down version of Java for the RCX platform Includes: –Lejos API –JVM API includes functionality needed.
©2006 CSUC Institute for Research in Intelligent Systems Tactile and Visual Sensing June 14, 2006.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
Sensors and sensing electrical signal digital signal.
EG1003: Introduction to Engineering and Design Sensors.
LEGO NXT Robot Programming Introduction to Programming a Lego NXT robot in Java.
Open and Closed Loops Standard Grade Computing Studies.
Real-Time Software Design Yonsei University 2 nd Semester, 2014 Sanghyun Park.
Department of Computing and Information Sciences Kansas State University Design Methodology for State based Embedded Systems Case Study: Robot Controller.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
Collage of Information Technology University of Palestine Advanced programming MultiThreading 1.
// This is a simple control program Move forward 200 units Turn right 90 Move forward 100 units Turn right 45 Move forward 100 Turn right 45 Move forward.
Using Thread in leJOS. Introduction to thread A thread is a thread of execution in a program The Java Virtual Machine allows an application to have multiple.
Definitions & Scenarios. Acknowledgements  This tutorial is based in part on Concurrency: State Models & Java Programming by Jeff Magee and Jeff Kramer.
Stimuli sensorcontrol program response actuator stimuli sensorcontrol program response actuator 1. Other systems are part of the environment 2. Communicate.
Team Project: A Surveillant Robot System Little Red Team Chankyu Park (Michel) Seonah Lee (Sarah) Qingyuan Shi (Lisa) Chengzhou Li JunMei Li Kai Lin SW.
Today’s Agenda  Quick Review  Finish Java Threads  The CS Problem Advanced Topics in Software Engineering 1.
PART II Operating Systems LECTURE 9 PROCESSES MANAGEMENT Ştefan Stăncescu 1.
Behavior Programming. Structured Programming A series of if-thens Easy to get started in and hardly requires any thought or design beforehand But the.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
1 Chapter 2.1 : Processes Process concept Process concept Process scheduling Process scheduling Interprocess communication Interprocess communication Threads.
Team Members: Dave Rudolph - Lead Web Designer Lead Programmer Samara Secor - Lead Analyst Documentation Specialist.
Department of Computing and Information Sciences Kansas State University Design Methodology for State based Embedded Systems Case Study: Maze Navigator.
Event Driven Programming Minus the GUI Plus a Robot By Charlie Vick.
Patina Becenti Mentor – Mansel Nelson. Introduction  The idea is to educate young students to explore the world of science and engineering.  Implement.
An Event-Based Robotic Sensors and Actuators Collection API from A Computer Science Perspective – An implementation in Mindstorms NXT Brick Li-Ren Chien.
Processes, Threads, and Process States. Programs and Processes  Program: an executable file (before/after compilation)  Process: an instance of a program.
SCJ and EV3 Robots Leadership Election. Background Safety Critical Java – A safety critical programming model in Java EV3 mindstorms Lego Robot – A robot.
Minds and Computers 2.1 The RCX l Hitachi H8/3297 series processor l 3 inputs/sensors (1, 2, 3) l 3 outputs/motors (A, B, C) l 32k RAM/ 16k ROM ä 12 kB.
Multi-Threading in Java
Spring/2002 Distributed Software Engineering C:\unocourses\4350\slides\DefiningThreads 1 More on Thread API.
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
Electrical signaldigital signal Actuators and acting.
4 |Multitasking Created by H. Robinson & A. Gostelow Multitasking.
CS203 Programming with Data Structures Introduction to Threads and Synchronization California State University, Los Angeles.
Stimuli sensorcontrol program response actuator stimuli sensorcontrol program response actuator 1. Other systems are part of the environment 2. Communicate.
Threads in Java Jaanus Pöial, PhD Tallinn, Estonia.
Real-time Software Design
Real-time Software Design
Chapter 19: Real-Time Systems
Operating Systems Design (CS 423)
Ultra-Low-Power Sensor Nodes Featuring a Virtual Runtime Environment
Real-time Software Design
Concurrency: Threads, Address Spaces, and Processes
Laboratory 4: Sensors Matthew R. Gaglio, Feb 2007.
Concurrency: Threads, Address Spaces, and Processes
Real time operating system
Multithreading.
Enforcing Real-Time Behavior I
Threads Chapter 5 2/17/2019 B.Ramamurthy.
Chapter 19: Real-Time Systems
Threads Chapter 5 2/23/2019 B.Ramamurthy.
Still Chapter 2 (Based on Silberchatz’s text and Nachos Roadmap.)
Actuators and acting electrical signal digital signal.
Team Project: A Surveillant Robot System
Linux Process State Scheduling information Identifiers
Lego MINDSTORMS EV3.
Concurrency: Threads, Address Spaces, and Processes
Presentation transcript:

response actuatorcontrol program analog quantity, e.g. pulse train digital quantity, e.g. power % interface stimuli sensorcontrol program analog quantity, e.g. light digital quantity, e.g. light % interface Sequential and Reactive Strategies sensor spaceactuator space

Sequential Strategy

Reactive Strategy

sensors actuators Real time operating system Processes/threads

actuators Real time operating system Arbitration Touch Turn Wander

Embedded Java The leJOS API classes provide real time events, sensor events and threads: TimerListener SensorListener Thread Timer

a simple round robin 2ms time slice for threads of equal priority...

RunnableNon-Runnable suspend() resume() yield() Running dispatch suspend() start() stop(), or run() returns sleep() Alive

Line following

A PID Controller For Lego Mindstorms Robots