Wednesday, June 4, 2014

0.32, Oh god it's June 5th already

Weeks stretch into months, as usual. With finals week(s) and a vacation afterwards to return to human, I've finally gotten back to work on the project in earnest this week. I've worked out a number of small issues which Dr. Eglash, David, and I identified last semester -- most on paper and a few still in my head. The last outstanding issue, as always, is these cams. I've realized that the leading edge, the highest point on the cam, is extremely critical, as it has to catch -- not slip-- in order to vend.

Guaranteed not to scale

I think I've been shooting myself in the foot with designs incorporating a fillet on that notch. I've redesigned the cam, scaling it up by 7%, reducing the fillet to 1mm, and incorporating an alignment peg system to allow lamination of variable cam width from on-hand material -- I see no reason this wouldn't work as well with lasercut scraps of underutilized, burning plastic from the Accra scrapyards, but that's another project.

 I'll be testing this new design tomorrow, hopefully all will work out well. Apart from a few little things, like moving the hinge to the side and incorporating riveted box design, the system will be essentially set to manufacture -- the next unit made will be a production model from here.

Wednesday, April 16, 2014

Version 0.31 update

I've been working on preparing the design for production this summer, as we've now hit 10 weeks until I leave for Ghana. I've re-packaged the CAD model (Dragon 0.31) and uploaded it, but more importantly, the Google Drive Repository now includes PDF blueprints. This effectively marks the release of the design for public development, and I hope to implement more detailed assembly instructions and imagery as the design continues to evolve.

I've been working on assembling a copy of 0.31, using "basement power tools" level equipment. I'm not entirely satisfied with the system, particularly with the supports for the cam assembly. I'll be redesigning those and releasing a new update (0.32 probably) within the next week or two. However, I have assembled a case and functional front access cover, which exceeded my expectations. By using a sheet steel and end cap design, I've been able to reduce the thickness of sheet steel to 28ga  -- about 0.3mm. This has brought cost down by an order of magnitude, and makes cutting and bending components far easier.

While the incorporation of plywood has eased assembly and reduced the complexity of the model, I feel that there's still improvements to be made. I'm interested in replacing the endcaps with sheet metal angle brackets, perhaps riveted. I'm slightly concerned about accessible screws on the outside of the device, and using rivets would also solve that -- while I've designed the case to be impossible to access without access to the rear or the padlock, I'm concerned about encouraging petty vandalism with exposed Phillips Heads. Rivet guns are cheap and readily available in Accra, I'll want to make sure both options are possible. There's also currently unused scraps created from cutting out the case, I'm interested in reducing material requirements by using those.


I've done some initial hunting for sheet steel and other suppliers in Accra, and the results are promising. While I won't know for sure until I get there, it looks like many materials should be easier to find than I've feared.

Here's some pictures of things and such:

Face of inventory chute (PN001), cut from 23/32 plywood

Inventory chute (PN002), also from 23/32 plywood this time

Drilling the mounting holes in the case. Note shameless product placement.

The case was cut by printing the pdf blueprint at 1:1 scale, rubber cementing it over 28ga sheet steel, and using tin snips to cut along the lines. Pretty painless. All blueprints are also fully dimensioned, allowing traditional layout methods as well, if a printer isn't readily accessible.

Here's the case and inventory chute inside. Note the lock mount, and two hinges. These aren't in 0.31's CAD models or blueprints, but I'll incorporate them in 0.32.

Mostly closed. The 40x150mm slot for the customer to recieve the product hasn't been cut yet, since I'm still adjusting the design of the cam mechanism and the location may change slightly.

Case, in open position, and removed inventory chute. The blueprints are still on the outside of the case, since they look cool and I'm too lazy to remove them. It's also much easier to mark on paper than the steel underneath, and protects the steel from scratching during assembly.

Saturday, March 15, 2014

Spring Break Report

I've noticed the double vend issue is persistent occasionally, particularly with very thin packaged condoms and even more so when a section of the inventory is all thin condoms. I think that further reducing the height of the aforementioned face slot by another increment will clean this up more. I've redesigned the inventory chute with thicker plywood and the inventory height adjustment, and a few other minor details.

I've also redesigned the case to reflect a coin mechanism location, and reduced overall dimensions -- (190mm W, 475mm H, 155mm D)  compared to (275mm W, 500mm H, 120mm D) for the current model -- 50.8% volumetric.

This also has reduced the amount of sheet metal required from 8 sqft. to just over 3.5 sqft. This of course isn't free, the new model incorporates 3 sqft of plywood which was not included in the previous design. However, this version 0.3 is also weld- and machine-screw free, incredibly. This eliminates welding equipment from the assembly requirements, as well as specialized hardware. These joints have been replaced or redesigned to incorporate tapered thread screws -- think wood screws, or drywall screws -- that's the thing, they're very interchangeable and far more common.

I've uploaded a copy of my working folder for this project, in the spirit of open source. The folder will be maintained at Google Drive, accessed (read- and download- only) at the following link. The data is provided under GNU FDL.

Current CAD models are in proprietary Solidworks format. I'm looking into options for exporting the data to a more friendly format, such as STL or another polygonal format. This does, however, preclude the end-user from practically modifying the design. There are open-source CAD formats available, I'll have to look further into those possibilities.
Perspective view, note new shield design, coin tray, braces, removable inventory chute (slides out front), secure vend slot.


Partial cutaway view of mechanism

Side view, cutaway

Side view, gear orientation



Wednesday, March 5, 2014

New Inventory Chute, Goodbye double-vends.




Over the last few days, I've put together a new inventory chute assembly, to attempt to correct the issues with double vends (~10% of the time) and non-vends (~3% of the time). I hypothesized that the gap on the front of the inventory chute through which condoms are dispensed was too tall, and thus allowed multiple thin condoms to slip through easily.
New (L) vs Old (R). Note the reduced size of the (L) interface plate.
I made some other modifications to the geometry of the interface plate and system, reducing the depth by .500", the width by 2.00", and increasing the usable height to the full 12" height of the chute.


New and Old, side by side. You can see the reduced width, and the elimination of the brown "liner" components. The width and depth of the access slot has also been increased, allowing much easier stocking.
Installed. Note the reduced width, the right cam has been slid left about 2.5"
 I ran about 150 condoms through the device. The current capacity is about 100 condoms, at 50 per chute per 12". The chutes could be extended vertically to an arbitrary height and capacity at this rate.


Although the overall success rate is still right at 97%, I've basically eliminated the double vend issue. I believe that by adjusting the z-position (depth) of the chute vs. the axle, I can improve on this further.

Further bulletins as events warrant! Things are looking nice.

Wednesday, February 19, 2014

Quick note

I ran a little over 100 condoms through the machine last night, to get some quick estimates of where it's at:


 


I'm going to collect three or four more data sets today. Right now, it's an 88% success rate, with 9% multi-vend and 3% non-vend. I think that can be greatly improved on. The left chute seems to be misbehaving a lot, it's also the slightly smaller one -- there may be a connection.

Monday, February 17, 2014

Stuff's Actually Working?

As I mentioned last time, I'd returned to the original Soaring Dragon design, in the hopes of fixing the issues with the inventory system. I think it actually worked. I redesigned the bottom plate which forms the interface between the two cams and the two inventory stacks, ending it 3/8" from the front edge of the condoms, instead of flush. This effectively changed my 1/4" high inventory vending "slot" into a  (3/8"i,1/4"j) open area.

It's kinda hard to see everything at this angle, the gap between the two pieces of identical metal fell behind the third identical metal rod. But you can figure out how things work. Note that the cams are in their normal positions post- or pre-vend, and that one's actually engaging the condoms at Top Dead Center. This is early kinematic design actually working, incredibly. If you look wayyyyy back to the beginning of last semester, I was running kinematic simulations with different cam profiles, and settled on this one because it "lifts" the stack of condoms out of the way, ensuring only one is likely to be vended. What you see here is that exact design actually working. I'm as surprised as you.


Check it, that's what things look like in slo-mo. The wooden blocks you see being moved are to provide a little bit of weight, keeping the condoms nice and orderly. They also could be notched to catch the cams if they came around "dry", making it effectively impossible to "lose" a coin in the system if it's out of inventory. I'll try this on the next prototype, definitely.

If you were paying close close attention, you saw that once the coin has been fully chomped by the system, you're given 10-20 degrees of wiggle. This is incredibly useful -- I aligned the cams so that they "barely" kick the condom out, so sometimes it seems like the machine hasn't vended -- Frustrated, you wiggle the handle, and... ta-da! everything works after all. The reason for this "tight" alignment is that, if I align the cams slightly further forward-phased, the device frequently over-vends and spits two condoms at once. It seems that there's a happy sweet spot of about 10 degrees surrounding Top Dead Center that is the best way to orient the cams -- so, if you're ever trying to build one of these, that little tidbit will save you weeks of problem-finding.

I also mentioned that I'd moved to more rudimentary materials for the new inventory system -- I used a scrap piece of sheet aluminum for the new interface plate, but everything else (new) is wood, plexiglass, or screws. It's not too precise, but precision isn't important for everything but the interface plate -- plus, it's much easier to assemble with simpler tools, not too mention far cheaper -- scrap wood is practically free.

FrankenDragon, with Nalgene for scale.
As you can see, the new single-piece inventory rack dominates the inside of the device. But there's also an incredible amount of wasted space still -- now that things are working, I can probably reduce the volume of the system by 40% or so.

Oh, did I say things were working? Right! This new inventory chute solved most of the problems with Soaring Dragon. Check it out:



Heck yeah.




Here's another vend.


Here's a shot of seven or eight consecutive vends. Everything's working great...

I have about 50 condoms here for the project. I loaded up each tray with half (incidentally, in the current dimensions, the device can hold about 2*100 condoms) and cranked them all through. After repeating this twice, I've yet to have the device not vend, and I've had about four "double vend" incidents. Here's what that looks like:

One condom is spat out the usual down and out direction, but a second was caught by the cam, and slips out above that condom and below the plexiglass lip. I think I can reduce the height of that gap by perhaps .050", maybe that will improve double vending statistics. As it is, I vended roughly 100 condoms tonight for perhaps 95 quarters. I'll spend tomorrow taking ten or twenty "data sets" of as many condoms as I can, and have some meaningful statistics from that to baseline against for improvement.


I'm really excited that I've finally got a "working device." From here, I can start tweaking individual variables, and improving upon current baseline usage data. I'm also looking forward to a second model, smaller, and maybe even higher capacity than the current.

More to follow, it should be an exciting week!


Thursday, February 6, 2014

"Soaring Dragon" design, revisited, again

While building the wooden prototype in the post below, I learned some valuable lessons about this whole project. First off, it turns out that condoms are pretty good at self-organizing, but only if there's a dimension that's only slightly larger than their width -- Too wide, and they get caught diagonally. Too narrow, and they jam or don't slide smoothly. Second, I realized that I'd solved most of the issues of inventory storage with this prototype, but vending was still problematic at times. Looking for a simpler approach, that only involved one user input, I decided to apply methods from this design to a new, unified inventory system for the original sheet metal "soaring dragon" design. By replacing the expensive and complex inventory chutes with a single plywood-and-plexiglass design, I reduced the sheet metal parts count by 6, the hardware count by over 25, and the cost of sheet metal manufacture by about 50%. This is significant, I feel, now there's only one major sheet metal component left in the system -- the external shell, which, while the largest, is also the simplest in terms of cuts and dimensions.

I'm adjusting the height of the slot at the bottom -- I think this is the major contributing factor to the persistent trying to vend 1 1/2 condoms problem I'm encountering with every design I've worked on.

If this doesn't iron things out, I'll re-evaluate the geometry of the contact between the condoms and the cam gears -- apart from trying them the other way, I perhaps can move things around to give a better engagement angle.

Pictures to come shortly.