quadrocopter

19
Quadrocopter Kyle Bartholomew

Upload: beak90

Post on 01-Sep-2014

472 views

Category:

Business


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Quadrocopter

Quadrocopter

Kyle Bartholomew

Page 2: Quadrocopter

What is a quadrocopter?

• Like a helicopter with 4 blades.• 2 blades spin clockwise, 2 spin

counterclockwise = zero net torque• Motion Control Unit

– Keeps the copter stable without human control.

• Power system– Based on lithium polymer battery

Page 3: Quadrocopter

Power System

LiPo Battery

Motor Controllers

Motors

+ -

5VRegulator Arduino

Page 4: Quadrocopter

Outrunner Brushless Motors

AC Power

Page 5: Quadrocopter

Motion Control Unit• Miniature computer (Arduino microcontroller)

– Runs at 16Mhz (Your computer runs about 200 times faster)

– Takes electrical signals in, does math, spits out more electrical signals.

• IMU – Inertial Measurement Unit – 3-axis gyroscope and accelerometers.

RF ReceiverArduino

IMU

Motor Controllers

Page 6: Quadrocopter

Accelerometers or Gyros?

• What do you use to measure the angle of the copter relative to the ground?

Page 7: Quadrocopter

Accelerometers• 3-axis, measures acceleration

– When incidental acceleration is small enough, it measures just the acceleration of gravity.

– Absolute angle relative to earth.• Highly susceptible to noise:∆0.11V = ∆30°10 bit ADC = 1024 steps of

measurement3.3V/1024 = .00322V/step

(30°/0.11V)*(.00322V/step) =

0.88°/step

3.3V

1.65V

0V

0g1g

1.65V

1.95V

0g

1g

30deg

Page 8: Quadrocopter

Gyroscopes

• 3-axis, measures angular velocity (w)• Integrate w over time to get angle• Good at instant angle measurements• Bad at absolute angle measurements

because it drifts.• Small error in w leads to big error over

time.

Page 9: Quadrocopter

Combining measurements

• You want best of both with– High speed low noise measurements– Accuracy over long periods of time

Page 10: Quadrocopter

Complimentary Filter

• Combines accelerometer and gyro to produce a better angle measurement.

• High pass filter on gyro and low pass filter on accelerometer.

• Aka only long term for accelerometer and only short term for gyro.

Page 11: Quadrocopter
Page 12: Quadrocopter

PID Control• Need to go from angle to motor output.• Based on idea of error from setpoint.• The ideal method is PID control – Proportional

Integral Derivative.• Proportional – Controls the now• Integral – Controls by looking at the past• Derivative – Controls by looking forward to the future.

Error = θdesired-θcurrent

Integral = Integral + (Error•CycleTime)Control = P•(Error) + I•(Integral) - D•(GyroRate)

Page 13: Quadrocopter

Complimentary Filter

Accelerometer Low Pass Filter

GyroscopeHigh Pass FilterIntegration

Angle

P Coefficient I Coefficient D Coefficient

DerivativeIntegration

Motor Output (200hz)

PID

Page 14: Quadrocopter

How does it move?

CCW CCW

CW

CW

Hint: r X F

Page 15: Quadrocopter
Page 16: Quadrocopter
Page 17: Quadrocopter
Page 18: Quadrocopter

I•ɑ

Page 19: Quadrocopter

Going further

• Many people add other fancy things to their quadrocopters:– GPS– Altitude Sensor (Barometer)– Camera– FPV (First Person View)– Tracking Systems to do crazy stuff like flips

and multiple copter coordinated dances.