Roberto - Balancing Robot RIT Computer Engineering Senior Design Project.

Slides:



Advertisements
Similar presentations
PID Control for Embedded Systems
Advertisements

13. Controller Tuning and Troubleshooting
Lecture 20 Dimitar Stefanov. Microprocessor control of Powered Wheelchairs Flexible control; speed synchronization of both driving wheels, flexible control.
Controllers Daniel Mosse cs1657 cs1567.
Control Systems for Robots
PID Controllers and PID tuning
Introductory Control Theory I400/B659: Intelligent robotics Kris Hauser.
ABS Control Project Ondrej Ille Pre-bachelor Project.
Chapter 4: Basic Properties of Feedback
Add and Use a Sensor & Autonomous For FIRST Robotics
Restricted Slow-Start for TCP William Allcock 1,2, Sanjay Hegde 3 and Rajkumar Kettimuthu 1,2 1 Argonne National Laboratory 2 The University of Chicago.
The Proportional-Integral-Derivative Controller
CHE 185 – PROCESS CONTROL AND DYNAMICS
Robotics Intensive: Day 3 Gui Cavalcanti 1/17/2012.
Process Control Instrumentation II
Intelligent Steering Using PID controllers
CHE 185 – PROCESS CONTROL AND DYNAMICS CONTROL LOOP ANALYSIS.
LECTURE#11 PID CONTROL AUTOMATION & ROBOTICS
Chapter 7 PID Control.
Sensors - 1 Intro to Sensors. Sensors - 2 Physical Principles of Sensing Generation of electrical signals in response to nonelectrical influences Electric.
Proportional/Integral/Derivative Control
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
6.1 Antiderivatives and Slope Fields Objectives SWBAT: 1)construct antiderivatives using the fundamental theorem of calculus 2)solve initial value problems.
Ch. 6 Single Variable Control
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.
Robot Sensors Kevin Watson and Rich Petras. Overview ➲ Sensors ● Micro Switch ● Gyro ● Encoders ➲ Command Sequencing ➲ PID Control.
Professor : Chi-Jo Wang Student’s name : Nguyen Van Binh Student ID: MA02B203 Two Wheels Self Balancing Robot 1 Southern Taiwan University Department of.
David GiandomenicoFeedback Control for your FIRST Robot’s DrivetrainDec 2010 WRRF Workshops #1 David Giandomenico Team mentor for Lynbrook Robotics – Team.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Feedback Control.
20/10/2009 IVR Herrmann IVR:Control Theory OVERVIEW Control problems Kinematics Examples of control in a physical system A simple approach to kinematic.
Control of Robot Manipulators
H = distance from the axis of rotation to the center of mass Theoretical Derivation of the Period of a Physical Pendulum Period of a Physical Pendulum.
Pioneers in Engineering, UC Berkeley Pioneers in Engineering Week 8: Sensors and Feedback.
Observer-Based Robot Arm Control System Nick Vogel, Ron Gayles, Alex Certa Advised by: Dr. Gary Dempsey.
Lecture 3 Intro to Posture Control Working with Dynamic Models.
Feedback Control system
Introduction to Biped Walking
EEB5213 / EAB4233 Plant Process Control Systems Digital Implementation of PID Controller.
PID CONTROLLERS By Harshal Inamdar.
CSCI1600: Embedded and Real Time Software Lecture 12: Modeling V: Control Systems and Feedback Steven Reiss, Fall 2015.
Demonstration Design Light Sensor Truck Light As the truck passes the light, the light sensor turns off the power to the truck, ensuring that the truck.
Antiderivatives and Indefinite Integration. 1. Verify the statement by showing that the derivative of the right side equals the integrand of the left.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
ME 431 System Dynamics Dept of Mechanical Engineering.
PID Control of Car Position Exercises in Manual Tuning.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Swerve Drive Software Design. Software Layers Joystick Axis Correction Joystick Response Calculation Field-oriented Angle Adjustment Swerve Drive Steer.
Gyro (yee-roh) Designed by Joshua Lewis. Introduction  Inverted Pendulum  ATMega MicroProcessor  Inertial Measurement Unit  PID Control Algorithm.
(thanks to Gary Fedder)
Lecture 16: Introduction to Control (Part II)
Control Engineering. Introduction What we will discuss in this introduction: – What is control engineering? – What are the main types of control systems?
Chapter 14 Vibrations and Waves. Hooke’s Law F s = - k x F s is the spring force k is the spring constant It is a measure of the stiffness of the spring.
ABE425 Engineering Measurement Systems ABE425 Engineering Measurement Systems PID Control Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
PID Control for Embedded Systems
VEX Cortex Video Trainer using ROBOTC
Automatic control systems I. Nonlinearities in Control System
Realization of Dynamic Walking of Biped Humanoid Robot
PID Controllers Jordan smallwood.
Introduction to PID control
Laws of Motion Friction and Drag
Control Loops Nick Schatz FRC 3184.
CSCI1600: Embedded and Real Time Software
Balanduino Supervisor: Dr. Raed Al-Qadi Prepared by: Nadeen Kalboneh Nardeen Mabrouk.
Mechanical Engineering at Virginia Tech
Electronic Control Systems Week 7 – PID Control
Interactive Basic Tuning for the SERVOSTAR 600
Segway Fault Patrick Lloyd Undergraduate Student
Robotics and EVT - line follower -
Elecbits Self-Balancing Robot.
Presentation transcript:

Roberto - Balancing Robot RIT Computer Engineering Senior Design Project

Group Members Jeff Mahmood Paul Krausman Dave Froman

Project Description Two-wheel balancing robot – Balances on any angled surface – Remains balances indefinitely Remote controlled “Inverted Pendulum” PID Controller

Physical Layout

PID Algorithm Means to control some output from a combination of different factors Differential equations solved in the frequency domain We will solve experimentally

PID Algorithm (cont.) PID is “Proportional Integral Derivative” Output based on the aggravate of 3 factors – Error – Error Derivative – Error Integral PID algorithm combines these 3 factors to determine appropriate output

Error Definition Error: Difference between set point and actual Error can be positive or negative Error Set Point Actual

PID Equation Proportional Integral Derivative Output = P*Θ + I*Θ + D*Θ’ – P is the Proportional constant Current error – I is Integral constant Sum of past errors – D is Derivative constant Rate of change of error

Proportional Torque applied to motors is proportional to amount of error Θ 0°0° 40°

Integral Sum of all errors over time Biases output so all errors cancel over time

Derivative Torque applied to motors proportional to derivative of error Velocity of error 0°0° 300°/sec

Tuning PID Controllers Goal: – Find coefficients for P, I, and D terms – Robot should “snap” back to set point after any disturbances – Prevent any oscillations – Robot should remain at set point indefinitely

Finding P Term Set I and D terms to 0 Set P term to 1 Increase P term until strong oscillations occur Some references recommend setting P to 60% of this value

Finding D Term Slowly increase D until oscillations begin to slow Fine-tune D – Robot will oscillate if D is too high – Robot will fall over is D is too low – Robot should “snap” back to set point after any disturbances

Finding I Term More difficult than P and D Generally inverse of D Limit sum to prevent saturation Sliding window

Increase Performance Robot may seem sluggish – If either P or D is set too low, robot will be slow to respond Robot may oscillate – If either P or D is set too high, robot will oscillate before settling on set point Tweak P and D terms until optimal performance is achieved

Sensors Accelerometer – Measures tilt (proportional error) – Slow response, but accurate – Gives sense of “up” Gyro – Measures velocity (derivative error) – Fast response, but inaccurate – Suffers from drift over time

User Interface - Remote Control Two axis control – left and right motors 2 commands for each side – move forward, back Uses 4 bit encoding/decoding(8 values used) Each switch press has unique encode value, which is transmitted and received

Remote Control Momentary rocker switches are used for intuitive remote controlled car feel Robot moves by pressing both switches in the same direction, turns by alternating directions

The End Questions???