Team 5: DEATH Software Design Overview. Software Path Main/Startup Function –Initialize Peripherals –Setup RTI to call main program loop –Put processor.

Slides:



Advertisements
Similar presentations
I/O Management and Disk Scheduling
Advertisements

PID Implementation Issues
Project Title Here IEEE UCSD Overview Robo-Magellan is a robotics competition emphasizing autonomous navigation and obstacle avoidance over varied, outdoor.
Controllers Daniel Mosse cs1657 cs1567.
Categories of I/O Devices
The Bioloid Robot Project Presenters: Michael Gouzenfeld Alexey Serafimov Supervisor: Ido Cohen Winter Department of Electrical Engineering.
Autonomous Helicopter: James Lyden Harris Okazaki EE 496 A project to create a system that would allow a remote- controlled helicopter to fly without user.
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
Katie Dellaquila Jeremy Nelson Khiem Tong.  Project Overview [KED]  Multidisciplinary Aspects [KED]  Motivation (Similar Products) [KED]  System Schematic.
1 Autonomously Controlled Vehicles with Collision Avoidance Mike Gregoire Rob Beauchamp Dan Holcomb Tim Brett.
Coordinate Based Tracking System
Device Management.
Solar Tracking Project Team Members: –Cristian Ruvalcaba –Ken Seal –David Clark –Mark McKinley –Richard DeJarnatt.
Chapter 8: I/O Streams and Data Files. In this chapter, you will learn about: – I/O file stream objects and functions – Reading and writing character-based.
UEzMOW University Of Evansville Team: Mark Randall Systems Design (Team Captain) Zachariah Fuch High Level Control s Addisu Taddes Low Level Controls.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Wireless User Interface for Variable Frequency Drives Team 168 Alex Shuster (EE) Michael Kloter (EE) Christopher Perugini (EE) Kevin Wei (EngPhys - EE)
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Team Phoenix March 15, Project Goal Our team will develop an air vehicle that will not only navigate a course autonomously while providing real.
Proportional/Integral/Derivative Control
Abstract Design Considerations and Future Plans In this project we focus on integrating sensors into a small electrical vehicle to enable it to navigate.
Seongwoon Ko Ankith Cherala Jinliang Wei Kelton Stefan.
DISCLAIMER!!!! I AM A N00B! Please do note that everything that I have worked on is subject to questioning.. in fact.. I suggest it. This entire project.
Ruslan Masinjila Aida Militaru.  Nature of the Problem  Our Solution: The Roaming Security Robot  Functionalities  General System View  System Design.
1 I/O Management and Disk Scheduling Chapter Categories of I/O Devices Human readable Used to communicate with the user Printers Video display terminals.
Typical Microcontroller Purposes
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
1 Lab 5: Controls and feedback. 2 Lab 5: Control and Feedback This embedded system uses the Photo sensor to detect the light intensity of the environment.
Seraj Dosenbach Greg Lammers Beau Morrison Ananya Panja.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
6/3/2016SME3252: Mechatronics Lecture 1 1 Introduction to Mechatronics Lecture 1.
By: Eric Backman Advisor: Dr. Malinowski.  Introduction  Goals  Project Overview and Changes  Work Completed  Updated Schedule.
Power PMAC Tuning Tool Overview. Power PMAC Servo Structure Versatile, Allows complex servo algorithms be implemented Allows 2 degree of freedom control.
Collaborative Processing in Sensor Networks Lecture 8 – MSP 101 Mahmut Karakaya, Graduate Assistant Electrical Engineering and Computer Science University.
Unmanned Remote Hovercraft
Robot Building Lab: Localization DEMO  Show us your working differential drive robot  Start it running a fixed pattern that includes –Forward –Backward.
Click to edit Master title style Click to edit Master text styles Second level Third level Fourth level Fifth level 1 UNITRONICS D erivative P I roportional.
The Patrolling Android By: Reinaldo Molina University of Florida Department of Electrical and Computer Engineering IMDL – EEL 5666/4665 Date: 11/20/2013.
PLC ARCHITECTURE - CPU by Dr. Amin Danial Asham.
PID. The proportional term produces an output value that is proportional to the current error value. Kp, called the proportional gain constant.
PID and Fuzzy Logic Control Systems John Limroth, Software Engineer Yiannis Pavlou, Applications Engineer Tues, 10:15a and 11:30a Wed.
PID CONTROLLERS By Harshal Inamdar.
FUFO project Final report.
Swerve Drive Software Design. Software Layers Joystick Axis Correction Joystick Response Calculation Field-oriented Angle Adjustment Swerve Drive Steer.
Team 10 Julia Liston. Project Overview  Our team’s goal is to build a prototype of a robot that can: Use GPS to locate a lost person Autonomously navigate.
Team RoboTrek Matt Kabert Ryan Bokman Vipul Gupta Advisor: Rong Xu.
ECE477 Senior Design Android street car Team 12 Libo Dong 1.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
Software Narrative Autonomous Targeting Vehicle (ATV) Daniel Barrett Sebastian Hening Sandunmalee Abeyratne Anthony Myers.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Introduction to Arduino A very basic intro to Arduino, the IDE and the Servos class.
Team 7 Chaofan Chen Dhruvmin Gandhi Larry Gerhardt Pulse-width Modulation with the TIVA C.
Process Control. Feedback control y sp = set point (target value) y = measured value The process information (y) is fed back to the controller The objective.
<Add team picture or relevant project picture here>
PID Controllers Jordan smallwood.
Software Design Team KANG Group 1.
Control Loops Nick Schatz FRC 3184.
Balanduino Supervisor: Dr. Raed Al-Qadi Prepared by: Nadeen Kalboneh Nardeen Mabrouk.
6: Processor-based Control Systems
Network Core and QoS.
TCSP – Software Design.
ECE 477 Digital Systems Senior Design Project  Spring 2006
ECE 477 Senior Design Group 3  Spring 2011
Advanced LabVIEW
Control Systems Prof Swanson MECH 3550.
Chapter 5 Input/Output Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
PID Line Follower.
Control Systems Prof Swanson MECH 3550.
Presentation transcript:

Team 5: DEATH Software Design Overview

Software Path Main/Startup Function –Initialize Peripherals –Setup RTI to call main program loop –Put processor to sleep until RTI fires

Main Program State Machine Based RTI based (not dependent on accurate timing) Main Program GuidancePIDSonarNetworking GPSWaypoint ReadATD Rotate Servo OpenTCP

Software Areas Guidance PID Sonar Network

Guidance Provides target for PID routine Communicate with GPS using SiRFBinary protocol Handles FIFO Waypoint queue

PID Control Proportional – Integral – Derivative Most Complex Branch Three complementary control schemes

Proportional Control Correction for set level to set point Correction factor is proportional to the error (Δ) Not accurate, results in an error offset.

Integral control Accounts for process deviation Measures ∫(Δ) over time, and corrects –∫(Δ) → 0 “Straight line over time”

Derivative control Measures how fast error is accumulating –dΔ/dt Fast error → Fast (large magnituge) correction Quick response to growing error

PID, all together now… Source: Programmable Logic Controllers, Fourth Edition, Prentice Hall PTR by John W. Webb Ronald A. Reis Accessed: webmain/D211223AE3DE7E F62F?OpenDocument

Software mechanism Read process Value (read ATD) Determine Proportional correction Update and determine integral correction Determine Derivative correction Calculate final correction Update drive Motor PWM

Pseudocode SetPoint = …// Desired process output IntegralState = 0; IntegralMax = …; IntegralMin = … // Keep track of accumulated error DerivState = 0// Keep track of derivative PGain = …; IGain = …; DGain = … // Tuning parameters PID( ) SetLevel = ReadATD(); Error = SetPoint – SetLevel Proporional= Error * PGain// Set proportional term IntegralState = IntegralState + Error // Set integral term, correct if outside bounds If( IntegralState > IntegralMax) Then IntegralState = IntegralMax Elsif( IntegralState < IntegralMin ) Then IntegralState = IntegralMin Integral = IntegralState * IGain Derivative= ( SetLevel – DerivState ) * DGain // Set derivative term DerivState = SetLevel SetPoint = Proportional + Integral – Derivative // Set new process output End PID

Sonar Sends out pulse and times with timer module Pulse code 100% ASM If obstacle found, moves into obstacle avoidance state Can rotate sonar via servo to track object while avoiding

Networking Connectionless UDP protocol to simplify coding Query/Command based protocol Common commands include New Waypoint, Start Moving, Get Location, Rotate Turret, and Fire. Video handled externally with network camera on same network

Basic States IDLE: Wait for coordinates WAIT: Accept new coordinates and wait for go MOVE: Go to coordinates in order AVOID: Obstacle avoidance

Obstacle Avoidance Substates Scan Left Scan Right Turn Tank Turn Servo Toward Waypoint Move Check Obstacle