Difference between revisions of "Butterfly Rolling Manipulation"

From Mech
Jump to navigationJump to search
Line 91: Line 91:
*14N002 diodes (4)
*14N002 diodes (4)
*LS7083 decoder
*LS7083 decoder
*Optical Interrupter
*[[Actuators Available in the Mechatronics Lab|Pittman GM8224 motor]]
*[[Actuators Available in the Mechatronics Lab|Pittman GM8224 motor]]
*Protoboard/breadboard
*Protoboard/breadboard

Revision as of 23:36, 18 March 2010

Overview

The goal of the rolling manipulation project was to perform a contact juggling move called the "butterfly" on a circular disc or sphere. Prior research on the subject of contact juggling, including a paper by Professor Kevin Lynch, formed the basis for this project. The shape of the apparatus and the general butterfly motion, were obtained from the Lynch paper. Within the scope of four weeks, we succeeded in designing the circuitry and mechanical systems required to implement and test this motion. The following sections will document our step by step process.

Team Members

From Left: Eric, Ben, Will.


Eric Bell (Mechanical Engineer, 2010)

William Fan (Mechanical Engineer, 2011)

Ben Kolodner (Mechanical Engineer, 2010)


Mechanical Design

In order to achieve the butterfly motion, a well designed, non-moving base and setup must be fabricated. Listed below shows the Bill of Materials, How we chose the shape of the butterfly, how it was mounted, and finally the design and iterations of the disc system.

The CAD of the entire system can be found HERE:

Bill of Materials

Item Number Supplier
0 0 Brake
0 1 Forward
1 0 Reverse
1 1 Brake

The Hand: Butterfly Shape

The shape was determined using a matlab code from Fabio, A PH.D student in the LIMS lab at Northwestern University. The code manipulates a set of parametric equations to give a continuous curvature set of points. The user can chose four parameters in order to change the shape of the butterfly. However, it is possible to obtain a shape completely outside the realm of possibility for rolling manipulation with intersections of the spline and extremely sharp corners. The shape we chose had values around: X X X X and is shown to look like: IMG

After the shape was decided, we output the set of <x,y,z> points to Solidworks design software and created a curve through points (Insert-->Curve-->Through XYZ Points). From there, we light weighted the part and placed four holes for mounting and a through hole for the motor shaft. Two of these butterflies were made using the laser cutter in the shop. Since the laser cutter and the MATLAB code produced some jagged edges on the part, we then carefully sanded the edge of the butterfly to decrease any hills and valleys present on the shape. Microbumps can cause discontinuities in sensing and in actuation of the motor.

The Mount

The Disc

Isometric View of Rolling Disc

The shape and size of the roller disc is one of the most important parts of the entire design. We decided to create a lightweight, brass rolling disc that would not only hold up to the riggors of testing, but also conduct electricity for future sensing applications of the disc. We made three discs for three with three different weights and wall sizes. In the end, the disc weighs only 22 grams, has 1/32" walls, and has nearly zero resistance.

The solidworks drawing of the disc can be found here

The disc was made via the following steps:

1) Locate at least 1.75" OD free machining brass
2) Rough cut around a 2" length of brass
3) Debur rough edges using belt sander
4) Locate 1 3/4" and 1 11/16" oversized collets
5) Place 1.75" OD brass in Hardinge Toolroom Lathe using oversized collet and closer, with around 1.5" exposed
6) Insert turning tool into compound
6) Machine OD to finish diameter for full length of open area
7) Remove turning tool, insert groover
8) Being careful to reset zeros on the lathe, slowly machine the wide-set groove in the disc
9) Remove grooving tool
10) Center drill, then drill 3/8" through hole
11) Insert boring bar
12) Take successive passes to finish inner diamater as far as possible
13) Remove disc from collet, replace collet with 1 11/16" collet
14) Put Disc in backwards with machined side in collet, remove excess material
15) Use boring bar to finish lip on other side

Note: 1/32" wall can be quite tricky. Take it slow. It takes around 3 hours to make one disc since high precision is needed. If you need advice to make another various disc, please speak to Ben.

Circuit

The circuit is fairly simple in nature. The main electrical components are a motor, optical interrupter, h-bridge, and LCD.

Parts List

Butterfly Circuit.

Circuit Diagram

Butterfly Circuit Diagram.

Motor

A Pittman GM8224 24V motor was chosen for the apparatus. Information for the motor can be found here. Originally, our motor did not use a gear-head in order to reduce backlash. However, this continuously burned out our H-Bridges, so a motor with a 19.5:1 gear-head ratio was selected to provide additional torque.

H-bridge disclaimer

The H-Bridges used in our project burned out at random times, especially if the PIC was turned on and the supply power was also on. This may be due to pins on the PIC initializing incorrectly. Therefore, it is best to start up the PIC, wait a few seconds, then turn on the power supply.

Code

Processing

The purpose of the processing code is to plot the actual movement of the motor against the reference trajectory. The code produces a reference trajectory based on the given equation, a constant time interval, and a k-value and produces 2000 reference points for the motor to follow. Because processing plots one data point per pixel, only every other reference point is saved into an array in the pic. At every reference point, the encoder reads the position and also records this actual position at every other reference point into a separate array. These arrays are fed from the pic into a computer using an RS232 cable when the “read data” button is pushed in the processing GUI. Processing then plots these arrays.

Processing is also used to reset the hand. By pushing the reset button in the processing GUI, processing activates an interrupt which tells the hand to reset using the light sensor and run the main code again.

<insert graph>

Based on the graphs created in processing, the PD control was very effective in controlling the motor. Minor offsets occurred consistently at the beginning and end of each run due to backlash from the motor and inertia of the system mass, but the actual position was very close to the reference trajectory a majority of the time.

Results

Next Steps

- Eliminate backlash via gearless motor

- Sense position of the disc using copper tape and resistive wire

- Implement PID control on motor position, along with control of PID using sensing of disc

- Test other butterfly shapes with lower or higher curvature

- Test other disc shapes with different center of masses and weights

- Replace H-Bridges with nicer ones that can take higher amperage

- Optically isolate circuit from noise