Monday, 29 February 2016

Lego Racer

Introduction to gear trains and assignment

After an introduction to gears and an exercise with building gear trains and calculating their gear ratios, our engineering class was presented with the exciting challenge of making a Lego car that can transport a 1 kg load as fast as possible. 

Gear trains can be used to maximize torque or speed but not both at once. So the task was really to find the sweet spot where the car has enough torque to carry a 1 kg load without slowing down critically and at the same time moves as fast as a gear train arrangement can allow

We were allowed to use Lego gears of 8, 16, 24, and 40 teeth. So if we arrange an 8-tooth gear to drive a 40-tooth gear, for example, we have a gear ratio of 1/5. We would multiply the torque by 5, meaning a greater capacity to carry wait/harder to stop, but decrease the speed by 5 fold. 


Figure 1: Gears of different tooth numbers we could use


Figure 2: Motor (fast but low torque), Pico Cricket, and Motor Board used


Trying out gear ratios to identify the "sweet spot":

Go big and secure functionality first:

Since our motor was really fast but of low torque, my teammates, Nanaki and Vivian, and I first had to maximize the torque and see if the car can move with the weight at all. We made a gear train with 4 sets of 8-tooth gears driving 10-tooth gears. We arranged the gears such that the fist 8-tooth gear was connected to the motor itself, this 8-tooth gear drives a 40-tooth gear. On the same axis as this 40-tooth gear is an 8-tooth gear driving another 40-tooth gear, etc. This gave as a gear ratio of (1:5)*(1:5)*(1:5)*(1:5) = 1/625. This makes the torque 625 times larger while making the speed 625 times slower. Not very surprisingly, our car moved with the weight but incredibly slowly. 

Figure 3: Strong but really slow model with a gear ratio of 1:625
Now, faster:

Once we knew the car actually moves and carries the required weight, we slowly  increased the gear ratio to maximize the speed. Below is a table with the gear ratios of the different models we made and the respective speeds of the car.
Table 1: Gear ratios and speeds of different models

Gears used
Gear Ratio
Time over 4 m
Speed (m/s)
(8:40)x3 + (8:24)
(1/5)3x(1/3) = 1/375
~2 minutes
0.03
(8:24)x2 + (8:40)
(1/3)2x(1/5) = 1/45
16 seconds
0.25
(8:40)x3
(1/3)3 = 1/27
11 seconds
0.36
(8:24)x2
(1/3)2 = 1/9
Too weak to move, needs a push
(8:24) + (8:40)
(1/3)x(1/5) = 1/15
~8 seconds
0.5

Interesting observation: For the model with a gear ratio of 1/9, the car didn’t move from rest when we started the cricket. But it started moving with a little push at first. This is consistent with the fact that the coefficient of friction is greater when you move an object from rest than it is for an object moving at a non-zero speed.

Also notice that just by changing the gear ratio of our gear train, we were able to increase the speed of our car by 2 orders of magnitude.


(1/27)
(1/625)
(1/45)

  
(1/15)


(1/9) 
Figure 4: Lego Racer Models and respective gear ratios (going from small gear to larger gear)


Wheels and body:

We decided to connect the largest pair of wheels to the axis with the last gear to further maximize the speed of our racer. Because of its larger circumference, the biggest wheel covers/travels more distance per rotation. 

We connected the medium-sized pair of wheels on the opposite end of the car. These were not connected to any gears. Instead, they would sort of come along for the ride while giving the car stability. We briefly considered connecting the two pairs of wheels with belt but abandoned the idea because it would create unnecessary additional friction. 

We first arranged our wheels so that the motor would sit closer to the mid point of the length of the car. But this pushed the 1 kg mass farther to one edge. Since the 1 kg weight was the majority of the car's weight, this shifted the center of mass to the edge of the car and tilted it to one side. As a result the edge of the car carrying the weight would give to the large inertia of the mass when the car accelerated from rest, and the weight would fall off the car. 



 Figure 5: Design of car with motor in the middle and mass closer to back wheels

Figure 6: Design of car with load at the center

To solve this, we made the car longer such that the motor would sit in front of the front wheels, and the 1 kg mass would sit closer to the center (between the two sets of wheels). This gave the car better stability. The added mass of Legos to make the car longer was insignificant compared to the 1 kg mass carried. we further secured the mass with walls of Lego on either side to prevent it from sliding. 






Through out the construction of the racer, we made sure to loosen the gears along the frame of the car just enough so that there is no friction hindering rotation. We also set the wheels apart such that they don't brush up against the body of the car or any gears. Again, this prevented unwanted friction and helped speed up our racer. 

We also made enough room for the Pico cricket to sit next to the weight. As a final touch, we wrapped the wire connecting the cricket to the motor board around the weight so that it doesn't trip the car by dragging on the floor.




 Figure 7: Final iteration of Lego racer with and without mass



Racer at work: A video showing our Lego racer complete a 4 m journey carrying a mass of 1 kg 




What would I improve

Given more time, I would experiment with more combinations of gears such as 16:40 rather than 8:40 to further maximize the speed. Since we didn't try anything between gear ratios of 1:9 and 1:15 I am curious as to what the actual maximum capacity of our car is.

I would also calculate the relationship between the actual speed of the car and its gear ratio out of the first few trials to make the manufacturing process easier. Using a function or relation to calculate the exact ratio needed is more efficient than trying each gear ratio individually, especially if we want to vary the mass carried or mass-produce this Lego racer. 

Sunday, 21 February 2016

Well Windlass

Well Windlass: From learning the meaning of the word to building it

When we were asked to make windlasses on Friday, February 5th, I didn't even know what the word meant until I saw pictures. Making an unfamiliar machine made the brainstorming processes a little more challenging than that of the bottle opener. We had to use more imagination than prior experience with the machine. But this also left us with a lot of room for creativity and exploration.

Limitations, requirements, and tips to keep in mind:

The requirements and limitations we kept in mind throughout the design and building process were:
  • Don't exceed a total of 500 cm2 acetal sheet;
  • Use up to 50 cm long acetal rod (thickness = 6.37 mm);
  • Use up to 120 cm long string;
  • Make sure the windlass can stand over a 12 cm gap between two tables: "the well";
  • Build the crank such that it is not right above the well;
  • Make sure the final structure doesn't wobble, bend or break as it lifts 1 litter of water in under 45 seconds.
  • The windlass should be able to lift the water bottle at least 10 cm above the tables' top surface. 
General guidelines we outlined before brainstorming designs:

  • Triangles and arches are better supporting structures than rectangles. 
  • The farther apart the weight is suspended from the supports connecting it to the two tables, the more our beam bends. So keep the side of the windlass across the width of the well as close as possible to 12 cm without it falling through. 
  • That said, we need a stable base and, if possible, a good grip on the table.
  • To lift the water in as small time as possible, wrap the string on a wider frame that lifts more string with one rotation. Here, we figured wrapping the string around the circumference of the acetal rod would lift the bottle extremely slowly. 

Figure 1: If the rod on the left (a) is half as wide as the rod on the right (b), the same length of string can be wrapped around (a) twice as many times as (b).



Brainstorming possible designs:

My partner, Jiaming, and I started drew some possible designs on paper. We briefly entertained the idea of using a pulley system to minimize the effort needed to lift the weight. However, given we would only be lifting 1 kg  and that we have a limited length of string to use, we went with a more traditional windlass with two bases standing on either side of the well, and a center rotating with a string to lift
the water.
Figure 2: Very briefly considered pulley systems 



Figure 3: General outline of chosen windlass type and its components

Once we agreed on the general structure of the windlass, we focused on individual components like the base and stand, the cross-beam, the rotating center that wraps the string, the handle, and the different joints connecting these individual components.

Vertical supports and bases:
We designed triangular supports for support but varied their specific dimensions and bases to create several designs.



First, we concentrated on the base. We brainstormed some designs that would "clamp" the support with the table, and others with flat feet to prevent the vertical structure from tilting to any side. 



Figure 4: Types of bases brainstormed and their respective drawbacks


After trying a cardboard model of the "clamp" we designed and seeing that the support is too thin to hold 1 kg of load, we changed our design to look like the following triangular supports with small triangular bases.



Figure 5: Left: Triangular base that clicks with the bottom of the vertical support (center); Right: A close-up picture of the tight fit that connects the base with the vertical support

Later, we further modified our base to run across the well and connect the two supports. That way, the bottom is less likely to wobble or collapse inwards was we lift the weight.
Figure 6: Base across the well that clicks to both vertical supports

Our vertical support also went from being a triangular slab to a frame with a vertical at the center and three sides (each 2 cm wide) of an equilateral triangle. This saved us material while keeping the structure sturdy. 

Figure 7: Modified design of vertical support to conserve material


Rotating Center/Windlass and rotating axis:

Since stacking rods or building boxes to make the rotating center thicker would consume too much material, we decided to arrange four rods separated by a rigid circle to form a quasi cylindrical shape.

Figure 8: (Circular) rigid frames for cylindrical rotating center

We originally considered cutting out parts of the circle except for the rectangular lines that connect the rods with the center of the circle. However, this would have applied too much force on thin pieces of rod with the risk of breaking. So we chose stability over conservation of material. Instead we made the circles' radii smaller.

For our rotating axis, we have considered the cylindrical rod, a rectangular cutout of delrin sheet, and piano wire that would loosely attach the rotating piece with the support.

We abandoned the idea of using piano wire because it is too weak to carry 1 N of weight. Also, piano wire could only be used as an attachment, not as a functional part of the design.

We made a model that uses the cylindrical rod and realized that the rod slips from the circular hole that connects it to the circles carrying the weight of the water. While it could easily turn the circles and wrap the string without mass attached, the friction is not strong enough to lift the mass. 


Figure 9: Model of well windlass with a cylindrical rod as an axis. Note: This picture doesn't show the four rods that pass through the circles to support the string as described above.

But, if our rotating axis had a rectangular cross-section, it wouldn't slip out of a rectangular hole as we rotate it. The question, then, was "Which rod is stronger: the cylindrical rectangular one?"

When we suspended 1 kg of mass from each beam as shown in the figure below, the rectangular beam proved to be stronger (it bent less than the cylindrical one).

Figure 10: Left: Cylindrical Delrin rod bends more than Right: Rectangular Delrin rod when 1 kg of water is suspended from each

The rectangular beam is a better option both for its greater strength and because it allows rotation without sliding. Accordingly, we adjusted the center holes on the circles we designed to rotate in the middle.

However, this meant the rod wouldn't rotate very smoothly in its junction with the two vertical supports on either side. If we make the rods rectangular, the rod wouldn't rotate at all. But if we make the holes circular the rotation would be very bumpy and uneven.

To solve this, we designed bushings of 2 cm outer diameter and a rectangular hole at the center to fit the rectangular rod. This way, the bushings would rotate with the rod but slide smoothly along the circular hole in the vertical supports that loosely fit them.



Figure 11: Top left: cross section of cylindrical rod that would pass through openings in vertical stands; Bottom left: Circular opening in vertical stand to allow rotation; Top right: Bushing with rectangular opening and circular exterior to fit rectangular rod and rotate smoothly in the stands; Bottom right: Model of opening in vertical stands that would fit the circular bushing

In our final iteration, we used two of these bushings to allow smoother rotation even as the axis slides sideways slightly. We also fit two rectangular bushings slightly bigger than these on either side of the joints to prevent them from sliding too much.


Extra support:

While we were relatively confident with the ability of our structure to support 1kg of mass, we wanted to be safe and take additional measures to make sure it wouldn't deform when lifting up the weight. For this, we came up with a range of ideas:
i) Build additional triangles that would stand on the cross -beams and support the rotating axis while allowing it to rotate.
ii) Build a cross-beam that would lock the two supports from the top and with it two "hangers" that would suspend part of the mass of the rotating axis from the top cross-beam.
In addition, build two rods that connect the sides of the vertical supports at about 11 cm above the table surface. This proved to be challenging to build and attach properly. It was also not very essential given we had three cross-beams already.
iii) Replace the (rectangular) top cross-beam with an arch and have a simpler and more aesthetically appealing structure.




Figure 12: Different designs we tried for extra support labeled according to their respective descriptions above

We saw that the arch works better in terms of conserving material as well as creating a strong enough but simple structure.


Handle:
This was one of the easier parts to design. We made two rectangular pieces, one connected to the rotatable axis and the second rectangle which sticks out for us to hold as we turn the windlass.

Since we wanted a permanent connection between the two pieces to perform as one, we used thermal press to connect them.


Final Product and Performance:
Our final well windlass incorporated the best of all the parts we designed. It uses well under the limit of Delrine we were allowed to use. It wobbles slightly when lifting water due to the low friction with the table. However, when held with hand from the same side as the rotating handle, it is reasonably stable. We were able to lift the 1 litter water in under 10 seconds several times using our final product.

Areas of Parts in Final Iteration
Part (amount)
Area (cm2)
Triangular vertical supports (2)
235
Circles above well (2)
22
Bottom cross-beams (2)
64
Arch
20
Handle
25
Rectangular rotating axis
14
Bushings
33
Total
413


Note: The above areas are those of Delrin pieces cut out of 3/16’’ sheets.

We also used 28 cm of our Delrin rod and the entire 120 cm string we were allowed to utilize.

Figure 13: Final working iteration of windlass: Top left: Top view; Top right: Front view for user accessing the handle; Bottom: Side view
Figure 14: Evolution of our well windlass from earliest to latest (left to right)

What would I change/improve:

I would replace the handle with the cylindrical delrin rod for a more comfortable grip.
I would also attach the support and base with the table (with a clamp, for example) for better stability. This could also be solved by adding more mass to the supports.
And if I was to mass manufacture this windlass, I would use more 3 dimensional parts to replace the small parts put together like a puzzle, for ease of manufacturing. For example, I would use a 3-D printer to make one whole piece of cylinder rather than four rods arranged to resemble one or a one-piece handle rather than two pieces put together.



Thank you for your time.

Best,
Meba


Archives: Among the many many photos we took to document this process:












Monday, 15 February 2016

Mechanism: Cams and Followers

On Friday February 12, we discussed different mechanisms of changing certain types of input forces and movements into outputs of different forces and movements. 

We discussed:
* gears and gear trains used in clocks, for example;
* belt and chain drives (as in bikes);
* cams and followers
* and linkages

I am especially interested in cams and followers because they operate on a very simple logic, yet can be used in a variety of ways to transfer rotational motion to linear or another form.  

Cams and followers (as the name suggests) consist of two main parts: i) cams drive the motion (by rotating about a fixed axis, for example) while brushing against followers; ii) followers are pushed to varying degrees based on the dimension and motion of cams.

A very simple example of cams and followers can be set up using a book (or any material that can be made into an incline plane) and a pencil. 
1) Hold the pencil vertically such that it can only move up or down if force is applied to it.
2) Make an incline out of the book such that it touches the pencil's tip. 
3) Now, move the book back and forth and note that the pencil moves either up or down. 

The pencil's height increases or decreases based on the height of the point it touches on the book/incline. This is shown in Figure 1 below. 

Figure 1: Cam and Follower Experiment with Pencil and Book
Source: https://www.cs.cmu.edu/~rapidproto/mechanisms/chpt6.html#HDR95

By constraining the follower's motion to suit our desired type of movement, we can use cams and followers with amazing flexibility. We can vary the shape of either or both the cam and follower, play with their dimensions, and the motion of the cam. A few examples of the different ways one can utilize cams and followers are:

Figure 2: Grooves and curvy edges used in cams and followers
Source: https://www.cs.cmu.edu/~rapidproto/mechanisms/chpt6.html#HDR95

 Notice in the above examples that the cams are rotating while the followers move up and down or back and forth perpendicular to the plane of rotation of the cams.
Figure 3: "Imperfect" circle cams and see-saw followers
 Source: http://educypedia.karadimov.info/library/rockeranim.gif

In Figure 3, the side of the follower touching the cam moves up and down and the mass on the other end of the see-saw follows the up and down motion. We can use an arrangement like this to hammer or constantly hit something vertically with the up and down motion of the other end of the follower.

According to Carnegie Mellon University's "Introduction to Mechanisms" notes, cams and followers are used in machines like "printing presses, shoe machinery, textile machinery, gear-cutting machines." They allow control over the type of motion and its timing.

There are several other uses and models of cams and followers. I find it fascinating that the simple concept that an object moves due to contact force combined with a little bit of creativity allows as to engineer a variety of machines.


Thank you for your time!

Best,
Meba













Monday, 8 February 2016

Fastening and Attaching


On Tuesday (2/2/2016), we visited three different stations to learn different ways of fastening and attaching Delrin parts together. The different stations we visitied were:

Station A: Drill press, arbor press, piano wire fastening
Station B: Thermal press
Station C: Calipers, bushing measurements and tolerances, peg and slot measurements and tolerances

Station A:
My partners from the bottle opener project, Amy and Marissa, and I visited Station A first.

Drill Press and piano wire: Drill presses allow you to make holes of a certain size to fit (loose or tight depending on your preference) a piano wire in your delrin. For example, say you wanted to connect three pieces of delrin, and want one to be fixed while the other two rotate together. You can drill the holes such that the two rotating ones fit tightly around the piano wire and the fixed one fits loosely to allow for the rotation of the others.

Using the drill press, we learned a few safety tips like:

  • keep your hair tied at all times (such that it doesn't pass your chins, in Larry's own words)
  • Fix the Derlin piece aligned to the drill. Make sure it is tightly clamped to the stand so that it doesn't rotate with the drill. 
  • And keep your fingers away from the drill until it has stopped rotating completely.

Arbor Press:
We use an arbor press to hold the piano wire aligned to the hole we made with the drill press and apply force on it for it to fit inside and connect our pieces.

Benefits and draw backs:
It is easy to accidentally drill holes that don't align or melt the Derlin from the heat of the drill, but if used with care and precision, this method works well for both tight and loose fit attachments that may or may not allow motion and can be taken apart if needed.


Station B: 
Next we visited the thermal press station where we melted two parts of Derlin together to attach them permanently. If the connection is meant to last forever, this is the best method out of the three to use. However, if one wants to rearrange the attachment later, the thermal press may not be the best option.




Safety tips around the thermal press machine:
You keep your fingers away from the tip of the heater while and after it is operating until you cool it down for 30 seconds by turning on the air supply.


The figure above shows the thermal press with its warning and the venting system with a pedal to step on (the fun part!).



Station C:
Here we used calipers to measure the dimensions of bushings, pegs and slots. These also allow tight (but not permanent) or loose attachments for pieces of Delrin. Due to uncertainties in measurement and the slight imprecision in the laser cutter, it is good to try small parts of Delrin and see how they fit before producing the life-size model. The laser cutter burns away parts and may burn slightly more than the intended. Also its intensity decreases with depth. So it cuts more of the top layer than the bottom (at an angle). Depending on which side you measure from, the width may be different.

We measured the diameter of a Delrin rod and the inside diameters of several bushings (loose, snug and tight fits).

Here I was measuring the diameter of the Delrin rod in millimeters. 

 Table 1: Measured diameters of bushings and Delrin rod

Item measured
Diameter (mm)
Sample 1
Sample two
Tight fit bushings
6.35
6.33
Snug fit bushings
6.46
6.49
Loose fit bushings
6.65
6.64
Delrin rod
6.33

 Notice that the measurements within each type of fit are different. This could be because how hard I pressed the caliper isn't perfectly controlled or simply because the cuts aren't perfect fits. Trying parts to see if they fit is safer than fully relying on measurements.

We then measured the slots already labeled with dimensions to compare intended sizes to the final measurements.


Table 2: Labeled size vs measured size of slots produced by a laser cutter
Size written (in)
Samples
Size  measured (in)
0.135

Sample 1
0.1445
Sample 2
0.1435
Sample 3
0.1425
0.125

Sample 1
0.1345
Sample 2
0.1345
Sample 3
0.1335
0.115
Sample 1
0.1250
Sample 2
0.1175
Sample 3
0.1175
Notice that there are a range of values measured for slots labeled as the same size. But what all the measured sizes have in common is that they are all larger than the written values. This is because the laser cutter burns material slightly thicker than the line we make for it to follow. So we need to account for this when making slots for any type of fit.

We measured the pegs to fit in these slots and found:
Table 3: Pegs dimensions
Dimension (in)
Peg #1
Peg #2
Length
0.4930
0.4845
Width
0.1330
 0.1394
Depth
0.1710

We then measured unlabeled blocks for the depth and width of slots and pegs and found:
Table 4: Slots and pegs (not previously labeled)
Dimension (mm)
Slots
Pegs
# 1
#2
# 1
#2
Length
9.94
5.13
9.82
5.07
Width
5.13
4.76
5.18
4.76
Depth
5.02
5.07
4.95
5.10

 Note: The dimensions the thickness of the Delrin was equal to the width of the pegs, which I labeled as 3/16 in = 4.76 mm.
The connection was a snug fit.


From this station, I have learned that measurements are largely subject to uncertainties and that one needs to account for discrepancies and try the connections before producing entire models. 



Thank you for your time.

Best,
Meba