Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

21
Senior Design Project Senior Design Project Autonomously Balancing Robot Autonomously Balancing Robot Amir Ali Amir Ali Jon Allen Jon Allen Sam Chen Sam Chen Pei-Lin Huang Pei-Lin Huang
  • date post

    22-Dec-2015
  • Category

    Documents

  • view

    213
  • download

    0

Transcript of Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Page 1: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Senior Design ProjectSenior Design Project

Autonomously Balancing RobotAutonomously Balancing Robot

Amir Ali Amir Ali

Jon AllenJon Allen

Sam ChenSam Chen

Pei-Lin HuangPei-Lin Huang

Page 2: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

OutlineOutline

• BackgroundBackground

• Project specificationsProject specifications

• Preliminary designPreliminary design

• Proposed MDR prototype Proposed MDR prototype specificationsspecifications

Page 3: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

BackgroundBackground

• Many real-world systems are Many real-world systems are inherently unstableinherently unstable

• Examples: Examples:

Page 4: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Background cont.Background cont.

• For a variety of reasons, we may For a variety of reasons, we may wish to stabilize such systemswish to stabilize such systems

• Stability Control is extremely Stability Control is extremely important!important!

Page 5: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Background cont.Background cont.

• Inverted Pendulum: Unstable SystemInverted Pendulum: Unstable System

• Simple model for many complex Simple model for many complex physical systemsphysical systems

Page 6: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Project SpecificationsProject Specifications

• We will construct a We will construct a cart with a free cart with a free moving inverted moving inverted pendulum with a pendulum with a single axis of single axis of rotation.rotation.

Page 7: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Project SpecificationsProject Specifications

• Our goal is to move Our goal is to move the cart from point the cart from point A to point B, while A to point B, while balancing the balancing the pendulumpendulum

Page 8: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Project SpecificationsProject Specifications

• The cart will have two modes of The cart will have two modes of operation: manual via remote operation: manual via remote control, and computer assisted.control, and computer assisted.

Page 9: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Project SpecificationsProject Specifications

• Manual modeManual mode

Page 10: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Project SpecificationsProject Specifications

• Computer Assisted ModeComputer Assisted Mode

Page 11: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary DesignPreliminary Design

Desirable Chassis, microcontroller, etcDesirable Chassis, microcontroller, etc ::

• DC MotorsDC Motors

• Minimum number of WheelsMinimum number of Wheels

• Size of ChassisSize of Chassis

• WheelsWheels

Page 12: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary DesignPreliminary Design

TJ ProTJ Pro

• TJ Pro comes as a complete kitTJ Pro comes as a complete kit

• MC68HC11 microcontrollerMC68HC11 microcontroller

• 32Kb of Ram32Kb of Ram

• I/O PinsI/O Pins

Page 13: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary DesignPreliminary Design

• HandyBoardHandyBoard

• MIT DesignMIT Design

• MC68HC11 microcontrollerMC68HC11 microcontroller

• 32 Kb of RAM32 Kb of RAM

• I/O PinsI/O Pins

Page 14: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary DesignPreliminary Design

Disregarded Choices:Disregarded Choices:

• Lego MindstormLego Mindstorm

• Stamp Stamp

Best Option:Best Option:

• TJ ProTJ Pro

Page 15: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary Design: Block Preliminary Design: Block DiagramDiagram

Sensors

Remote Controller(human)

Microcontroller Motor/ Wheel Pendulum

Cart

Page 16: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary Design: Physical Preliminary Design: Physical ModelingModeling M3

l1l/2

l2

MM2

M1

M θ

U

r

l2

X

bX’M1

M3

M2

U

r

l

θ

X

bX’

inertia of pendulum =

I

Page 17: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary Design: Cart Preliminary Design: Cart Diff. Eq.1Diff. Eq.1

cossin)(

sincos)(2

21

xmlmglMlI

UMlMlXbXMM

UMlXbXMM

XMlMglmlI

)(

)(

1

2

linearizing

Page 18: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary Design: Cart Preliminary Design: Cart Diff. Eq.2Diff. Eq.2

32221

2

32221

2

]))[((

)(

)(

)(

]))[(()(

)(

slMsMglsMlIbMM

MglsMlI

sX

sU

slMsMglsMlIbMM

Mls

s

sU

Page 19: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Preliminary Design: Wheel Preliminary Design: Wheel Eq.Eq.

XrU

aKi

M1

M

r

X

bX’ U

U

Motor

ia

Va

+

-

X

Ki

XU a

Page 20: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Proposed MDR prototype Proposed MDR prototype specificationsspecifications

• Our goal is by the Our goal is by the end of the end of the semester is to semester is to complete the complete the manual mode.manual mode.

• Data Data

Page 21: Senior Design Project Autonomously Balancing Robot Amir Ali Jon Allen Sam Chen Pei-Lin Huang.

Action ItemsAction Items

• Purchase KitPurchase Kit

• Assemble cart with pendulum and Assemble cart with pendulum and sensorssensors

• Implement remote control interfaceImplement remote control interface