Content List
Abstract
The junior design project of my Mechanical Engineering degree was to design, produce, and test a pill bottle filling machine. The idea of this machine was that empty bottles would be loaded into the machine, a specified number of pills would be added to each bottle, a child-safety cap would be screwed on the neck, then filled and sealed bottles would leave the machine. From the loading of bottles to their departure from the machine, no hands-on interaction would be necessary. The project sponsors, Norwalt Design and Omega Design, provided guidance and industry insight to each team.
This project lasted two semesters, beginning on September 1st and lasting until the Junior Design Showcase on May 24th. The first semester was focused on producing a low-fidelity and manually powered proof of concept, with the second semester focused on electronics and fabrication in final materials. Rather than a dedicated project course, this project was a part of the machine design courses taught at the the University of Delaware.



Background
The project started with the construction of our machine frame, in which all components had to be mounted. The frame was made from 80/20, and measured 20 inches square by 40 inches long.

We then constructed prototypes to explore various methods of transporting bottles about our frame: lead screws, rotary tables, and conveyor belts. These prototypes helped us begin brainstorming different concepts for our three main tasks: transporting, filling, and capping.
We then constructed prototypes to explore various methods of transporting bottles about our frame: lead screws, rotary tables, and conveyor belts. These prototypes helped us begin brainstorming different concepts for our three main tasks: transporting, filling, and capping.


Concept Generation and Selection
Our team generated a plethora of both system-level and task-level concepts. Some of mine can be seen in the image below.

These concepts were judged against others within their scope using weighted decision matrices based on six criteria: Cost, Size, Reliability, Simplicity, Bulk Processing, and Output Speed.
- Cost was among the lowest weighted criteria, with its inclusion due to an assigned budget we needed to keep our orders below or face penalties.
- Size had the greatest weight, since it was a stated requirement in the project definition and space inside the frame was capped at roughly 9.25 ft3. With the need to fit systems to handle many different tasks into this small volume, no one concept could be allowed to take up excessive amounts.
- Reliability came next. We wanted our machine to not require constant supervision, so concepts that we expected to be more consistent in their performance were more desirable than those with potential for frequent error.
- Simplicity was related to reliability, but we considered it in the sense of how complex the parts and their assemblies were. Fragile, intricate, and integral parts would be difficult to replace and could halt operation of the entire machine.
- Bulk Processing was the other lowest weighted criterion, with it being favorable but not necessary. Concepts that could accommodate multiple bottles or caps at once would be less liable to become backed up during operation.
- Output Speed was given a moderate weight since the purpose of the machine was to exceed the ability of trained human workers. Otherwise, there would be little reason to rely on the machine in their place. We considered it different from bulk processing in that Output Speed was intended to gauge how long a bottle spent at each station.
Table 1. Weighted decision matrix to compare various concepts related to placing caps in place on the neck of bottles and tightening them down. Scores were assigned for each concept’s expected performance in each category with 1 and 5 being the worst and best possible, respectively.

The top performing selections are covered in the following sections.
Bottle Loading
The top performing bottle loading concept was called the Bottle Chute. It stored reserves of upright bottles on an inclined plane, which used gravity to feed them into a vertical chute. This chute had an opening in one wall tall enough for a single bottle to pass through, controlling the flow of bottles into the machine.


Conveyance/Bottle Manipulation
It was decided that bottles would travel between stations via conveyor belts and would pass within each station via rotary table. The concepts were very similar to their respective motion prototypes. Bottles would leave the frame by a slide. Concepts with and without guiding rails were considered.


Pill Filling
Filling of each bottle with pills was to be accomplished through a concept referred to as the Carousel. Like a carousel that rotates with riders aligned to vertical poles connecting the floor to the ceiling, this concept would have multiple tubes through which pills would funnel to bottles below. A hopper above each spout would supply pills, with the length of each tube sized to accommodate the desired quantity of pills per bottle. Tubes would follow a dead plate to keep pills inside until above an empty bottle.

Cap Conveyance
Caps would be placed on the necks of bottles as they passed to the tightening station by a system called the Cap Chute. Similar to the Bottle Chute, the Cap Chute would have reserve caps stored on an inclined plane until needed. A mechanism (at first rollers, but later changed to a pair of servo motors) would halt one cap hanging over the edge at angle, so that a passing bottle could tug it off to settle onto the neck.

Cap Tightening
The cap tightener constrains the travel path of bottles to a circle as the cap makes contact with a stationary wedge, inducing a relative rotation of the cap, screwing it onto the bottle.

Prototyping
The prototyping stage of this project lasted many months, with the creation of low-fidelity wood and foam board parts to confirm functionality before time was invested in final parts.
Low Fidelity Proofs of Concept






High Fidelity Parts and CAD



Servo and stepper motors, break beam sensors, buttons, and LEDs were controlled using the Arduino coding language, an Ardunio UNO board, and a pair of motor shields. Break beam sensors were used to track when bottles entered or left stations, and controlled logic dictating which belts or tables ought to be in motion. For systems like the Bottle and Cap Chutes where the weight of reserve items was a factor, a pair of servo motors functioning like an airlock allowed for controlled release.



Design Validation and Conclusions
With our single Arduino UNO, we were unable to run more than one table or belt at once, but through testing we found that each system functioned in isolation. Though not faster than benchmarking tests we did to determine the human pace for filling bottles, we were confident speeds and handoffs between systems could be significantly reduced with an additional month or so of development.
Additional steps in our path forward included:
- Seeking ways to stabilize the Carousel’s pill storage
- Replacing belt stepper motors with DC counterparts for smooth motion
- Replacing fabric belts with textured alternatives
- Replacing plug and tube rollers with a more secure version
