Ball and plate system

15
Ball and plate system Making an unstable system stable J. Gorasia and D. Greeley

description

Ball and plate system. Making an unstable system stable. J. Gorasia and D. Greeley. Goals. Making an unstable system stable Make system capable of rejecting noise Decent transient response. The Plant. Proportional Angular Displacement Approximation. Transfer Function. - PowerPoint PPT Presentation

Transcript of Ball and plate system

Page 1: Ball and plate system

Ball and plate systemMaking an unstable system

stable J. Gorasia and D. Greeley

Page 2: Ball and plate system

Goals

•Making an unstable system stable•Make system capable of rejecting noise•Decent transient response

Page 3: Ball and plate system

The Plant

Proportional Angular Displacement Approximation

Page 4: Ball and plate system

Transfer Function

Small angle approximation

Transfer Function

Page 5: Ball and plate system

Lead Compensation

Page 6: Ball and plate system

Bode of Compensated and Uncompensated

Kplant = .016 τ=1Kl=100 α=10

Page 7: Ball and plate system

Implementation

Page 8: Ball and plate system

Sensors

1. Affine2. Filter for

colors3. Threshold4. Find centroid

1 2

3 4

33 frames per secondResolution: 160x120

Page 9: Ball and plate system

Motors

•Hitec HSR-5995TG•Moves at maximum

speed of 0.12 sec/60degrees

•Which translates to a maximum frequency of 1.4rad/s of the plate

•Torque 417 oz-in

Page 10: Ball and plate system

Discretization

•Use design by emulation▫Do everything in s domain, then digitize

•Substitute s to z using:

•Solve for largest power of the output•Then perform the inverse z transform

Page 11: Ball and plate system

Discrete Compensator

Page 12: Ball and plate system

Algorithm

Read x position

from camera

Determine error

Shift previous values of

error Shift previous values of control signal

Use discrete transfer function

to determine control signal

Condition control signal to a position

of servo

Page 13: Ball and plate system

Verification

•Goals met?•Model accurate?•What are the sources of error?

▫Image tracking▫Saturation▫Discrete angle positions▫Bending of the plate▫Model of servos

Page 14: Ball and plate system

Going forward

•Use vvvv or FPGA for vision tracking•More angular displacement of plant•Use RTOS or embedded chip for control

system•Better plant design

Page 15: Ball and plate system

Questions?