micycle a self-balancing electric unicycle andrew kadis david caldecott andrew edwards matthew...

28
MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof. Ben S. Cazzolato Co-Supervisor: Dr. Zebb Prime

Upload: herbert-underwood

Post on 17-Dec-2015

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

MICYCLEA self-balancing electric unicycle

Andrew KadisDavid CaldecottAndrew EdwardsMatthew HaynesMiroslav JerbicRhys Madigan

Supervisor: Assoc. Prof. Ben S. CazzolatoCo-Supervisor: Dr. Zebb Prime

Page 2: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

2

Introduction

Submitted paper focused on developing the system dynamics and simulating them

The control response of the simulated and physical systems were then compared

This presentation has a slightly different focus, concentrates on the wider Micycle system

Page 3: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

3

Literature review

Focus Designs SBUTrevor Blackwell’s SBU

The Enicycle

Page 4: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

4

Concept development

Incorporation of steering mechanism

Extensive research into steering mechanisms

Use of a rotary damper

Page 5: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

5

Concept development (2)

Lego Mockup

Preliminary Concept Model

Page 6: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

6

Components

Sensor

Power supply

Motor controller Motor

Microcontroller

Page 7: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

7

Mechanical design goals

Assembly of Micycle

Damper

Spring

Fork

Chassis assembly

Steeringmechanism

Perspexcovers

Protectiverubber

Page 8: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

8

Major mechanical components Chassis assembly

Simple plate chassis design Protective Perspex covers Protective rubber

Fork design Rotary damper drive Offset centre for motor Dual bearing design Chromoly steel

Chassis plate assembly

Plate chassis

Perspex covers

Protective rubber

Fork

Damper drive

Bearing locations

Offset centre

Page 9: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

9

Steering mechanism

Uses a torsion spring and rotary damper Makes the Micycle much easier to ride Allowed steering angle ±15˚

Steering mechanism

Page 10: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

10

Mechanical design approach

Initial desig

n CoG

Analysis

Iterate design

Drafting

Structural

analysis

ANSYS Workbench

ProE

Manufacture

Page 11: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

11

Electrical system overview

IMU

MOTORCONTROLLER

MICRO-CONTROLLER

PERIPHERALS

HUB MOTOR

BATTERY

DISTRIBUTIONBOARD

Page 12: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

12

Controller design

Self-Balancing Unicycle

Mechanical

System

Control

ElectricalSystem

Page 13: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

13

Controller structure

PD controller structure used Derivative signal taken directly from the

IMU rather than differentiated to minimise latency in the sensor readings

Page 14: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

14

System Dynamics

The Lagrangian approach of deriving the system dynamics was applied

The dynamics were derived in terms of: φ – the rotation of the frame

about the z-axis θ – the rotation of the wheel

relative to the z axis Full details can be found in

the paper Developed simulation in

Simulink from these dynamics

Page 15: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

15

Controller benchmarking - methodology

Needed a methodology to produce repeatable results to benchmark control system

Attached a PD controller with same gains to simulated dynamics

Constrained the wheel Point of comparison between

physical and simulated control systems to examine response to disturbances

Micycle with the wheel constrained

Page 16: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

16

Controller benchmarking - results

Response of simulated system released from 30º

Response of physical system released from 30º

Page 17: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

17

Software functionality

Core

Peripheral

Safety

Page 18: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

18

Fall

Page 19: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

19

Failure modes and effect analysis (FMEA)

Comprehensive, iterative process

System engineering tool

Both a high and low level FMEA performed

Over 100 different cases considered

Full FMEA is approx. 30 pages long

Effect

Cause

Mitigating

Strategies

Failure Mode

Page 20: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

Andrew Kadis - Software

Safety

Control

Safety

Page 21: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

Error codes7

Safety Trip 7 Segment Error CodeBattery drained 0

Vehicle speed too fast 1Excessive current through motor 2Pitch position outside safe range 3

Angular velocity too fast 4General operational failure in the Maxon 5

ADC outside expected bounds 6IMU did not initialise correctly 7

Maxon did not initialise correctly 8IMU - abnormal power rating 9IMU - RS232 pin disconnected A

IMU - parity check failed BIMU - indeterminate communication error C

Page 22: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

22

Project outcomes

Designed, tested and built the Micycle

A fully rideable self-balancing electric unicycle which can be learnt to ride in 30 minutes to an hour

Comprehensive iterative FMEA process completed

8 hour battery life Significant exposure to the

wider community

Page 23: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

23

Community exposure

Page 24: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

24

Community exposure (2)

Page 25: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof
Page 26: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

26

Future work

Use of a more powerful motor controller to reduce the chances of actuator saturation

Implementation of a model based controller

Incorporation of active control in the roll direction

Page 27: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

27

Questions

Page 28: MICYCLE A self-balancing electric unicycle Andrew Kadis David Caldecott Andrew Edwards Matthew Haynes Miroslav Jerbic Rhys Madigan Supervisor: Assoc. Prof

28