Download presentation
Presentation is loading. Please wait.
Published byBryce Tate Modified over 9 years ago
1
Project Completion ECE 496 Fall 2002 Gyrobot Team D
2
Outline The Group/Team The Project Design Specifications Design Approach Main Model / Encoders Balance Control Swing-up Control Hardware Challenges Software Challenges Performance Summary Questions
3
Team Ray Price – Team Leader David Epting – Hardware Designer / Webmaster John Abbott-- Hardware Designer / Presentation Manager Matt Vaughn – Lead Software Designer / Electronics Technician Cyrus Griffin – Software Designer / Photographer
4
The Project The Gyrobot is an underexcited pendulum, consisting of a single link (arm) with a flywheel driven by a dc motor mounted at the free end The Gyrobot was to include a control algorithm that uses the generated inertia of the flywheel to cause the pendulum to invert and balance with the flywheel at the 12 o’clock Position
5
Project Specifications The Gyrobot had to fit the following criteria: Must comply to the mechanical specification of thesis by Adrian Jenkyn Lee out of the University of Illinois at Urbana-Champaign. Must utilize motor/flywheel inertia to invert pendulum and then balance. Utilizes Simulink RTW controller.
6
Design Approach Specified / developed hardware Procured hardware Assembled Gyrobot Tested interfaces (encoders and analog output) Compiled Encoder / Main Routine Compiled Balance Routine and Tested Compiled Swing-up Routine and Tested
7
Design Approach Gantt Chart
8
Main Software Model The main software model combined the encoders, swing-up and balancing algorithms.
9
Position Encoder Used to produce arm position (theta\1 from 0 to 2pi and a theta1 from –pi to pi) also produced the arm velocity theta1dot.
10
Motor Encoder Converts number of swings to radian and filters to produce a theta2dot—the flywheel velocity.
11
Software Pd Balance Control - The Model
12
Balance Control Important Variables: Arm position (theta 1) Arm velocity (theta1dot) Flywheel velocity (theta2dot)
13
Balance Control Arm Position Added enough energy to move mass of assembly to the highest position--Fighting gravity Gain of kp = 3.375 was used based on center of gravity and mass of the mobile assembly (motor, flywheel, arm, shaft)
14
Balance Control Arm Velocity As the arm approached vertical it should slow. Arm must be able to fight acceleration if it falls away from vertical. Gain of kd =.72 based on rotational inertia of the whole mobile system.
15
Balance Control Flywheel Velocity The flywheel stopped when the arm is balancing. Gain of k =.0006 was small, in effect creating an under-damped system. Gain is negative 175 (after the summer) to bring the speed of the flywheel to zero (instead of slowly ramping up).
16
Swing Up Control Sinusoidal model from thesis was used because: Smoother Faster due to harmonics Less bouncing in controls compared to other proposed methods
17
Swing Up Control Sends a sinusoidal signal to the motor Motor switches polarity via a switch when the arm reaches zero velocity Theoretically the control effort is supposed to slow down as balance is approached, but since we saturated the effort this doesn’t really happen
20
Mechanical Design Challenges Flywheel Problems Flywheel was not properly centered during milling process Wheel would wobble and eventually flew off Solution A glue was applied along with the set screw The glue absorbed most of the vibration, drastically reducing the wobble
21
Mechanical Design Challenges Pittman Motor Problems While pressing the flywheel onto the motor the encoder was pushed off-center Heat generated during use led to inconsistent performance Solution A new motor was ordered in exchange for the damaged one and the flywheel was attached by a set screw instead of being pressed on Followed a set timing schedule
22
Mechanical Design Challenges Bearings Problems Bearings were too stiff, generating un-needed friction Solution Bearings eventually loosened up after use
23
Control Challenges - Balance Problem: Parameter Optimization Solution: Optimize only 1 control variable at a time
24
Control Challenges - Balance Problem: Limited Pull-up ability Solution: Create a window outside of which the routine does not engage.
25
Control Challenges – Swing-up Problem: Recovery time between runs. Solution: Use a 4-swing swing-up. Allow cooling time.
26
Control Challenges - Swingup Problem: Inconsistent effort window. Solution: Set window each day based on the temperature of the room, and the temperament of the gyrobot.
27
Control Challenges - Transition After a repeatable swing-up was established, there were still problems with the transition to balance. Problem: Inconsistent room temperature. Solution: Practice the routine enough times on competition day to get a “feel” for cooling time.
28
Performance Final Competition Fastest time – 2.47 seconds (2 nd Place) Bonus Day 9 out of 10
29
Summary Were able to build a gyrobot device and the associated control structure that would invert and balance the gyrobot pendulum Able to balance and resist impulsive forces against the device Able to “swing-up” in 4 swings.
30
Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.