Search Knowledge Base by Keyword

Bearing the Load of Social Responsibility

Cafeteria food waste at the University of the Pacific (UOP) in Stockton, CA is a problem. But this problem is hardly unique to their institution or any other university. According to the latest published US EPA estimates, food waste totaled over 66 million tons nationally in 2019 across all food retail, food service, and residential sectors. To help raise awareness of this problem, a group of UOP Mechanical Engineering students decided to devote their senior project to it. Armed with inspiration and a few load measurement devices from Tacuna Systems, they created an innovative food waste measuring device hoping to increase their fellow students’ social responsibility.

The team and their inspiration

Several decades ago, the University of California system created the MESA (Mathematics, Engineering and Science Achievement) initiative to foster better participation in STEM careers by individuals of underrepresented populations. In 2022 they held a design competition at their Sustainability Summer Camp for High Schoolers. Our previously mentioned UOP team of seniors, Fernando Montero, Pedro Madera, Ammaad Akhtar, and Robert Izquierdo (pictured here left to right), became intrigued by the competition’s winning design: a food waste measuring system using QR codes on the bottom of cafeteria trays that would text students with food waste data. This system would measure the weight of trays returned to cafeteria kitchens and remove the weight of known objects (such as trays, plates, and silverware) to determine food waste weight.

photograph of students who worked on the University of the Pacific food waste awareness project
Fernando Montero, Pedro Madera, Ammaad Akhtar, and Robert Izquierdo next to their food waste measurement test system.

Unlike the original design, the UOP group wanted to use machine learning and image recognition to automate the process of identifying the weight of known objects. To execute this redesign, they received support and sponsorship from MESA.

The concept

The first step for the UOP team was to design the weighing system itself and integrate it into the university’s cafeteria tray return system (pictured in Figures 1a and b). This system has racks on an inverted “L” cross-section sheet metal plate, attached by pins at the top to a belt or chain that moves along the top of a supporting wall. About 2/3rds of the way down from the top of this support wall is a wheel track that aligns with wheels along the back of the sheet metal plate. This wheel and track system partially bears the assembly’s load and keeps it stably gliding along the support wall on its way to the kitchen.

Photo of student view of tray return area in the University fo the Pacific cafeteria
Figure 1a: Front view of University of the Pacific cafeteria tray return system
Photo of kitchen view of the University of the Pacific cafeteria tray return rotating system. It shows racks that support returned trays stacked horizontally, one tray wide. These racks are supported along the back by a vertical, inverted L sheet metal component that attaches to a track along the top of a support wall via pins at the top endpoint of the inverted L. Wheels aligned horizontally along the back of this sheet metal roll along a track 2/3 of the way down from the top of the inverted L. These guide the racks and prevent the sheet metal from scraping along the wall when the racks are loaded.
Figure 1b: Rear view of University of the Pacific cafeteria tray return system

The mechanics

The team chose to locate its load-measuring components along this wheel track since the pressure on these stabilizing wheels is proportional to the weight of the entire tray return racks, including all place settings, plates, glasses, and food waste. With image recognition, data processing software could remove the weight of all identified place setting items. This would leave the weight of just the food waste.

Drawing of side view of load cells in the U of Pacific cafeteria tray food waste measuring system. They show how the wheels behind the rotating tray return assembly align with the load points of the load cells.
Figure 2: Diagram of food waste measuring system load cell configuration

Figure 2 shows a diagram of how the single-point load cells would be mounted to the support wall. This mounting includes a base that would allow the load cells to bend under the force of the support wheels. The load point of each load cell aligns with the wheel track. To guide the support wheels onto these load points, the team designed ramps from the wheel track to a separate metal plate, which was in turn attached to both load cells at their load points. Figures 3 and 4 show the installed ramps along the wheel track.

Photo of ramps along wheel track behind rotating cafeteria tray return racks that guide the rear wheels of the rotating tray system onto the load points of load cells measuring the weight of the assembly with returned trays
Figure 3: Load cells with load points along tray return assembly wheel track
photo of university of the pacific food tray return system with ramp along wheel track to guide loads toward the load point of load cells measuring tray system weight
Figure 4: Detail of ramps along wheel track that guide wheels onto load cell load points

The electronics

The measuring system’s physical design was just part of the challenge. The team needed to accurately collect and process the load cell’s measurements.

Because the ramps created forces that were not completely orthogonal to the wall (and therefore non-axial to the load cells), the team had to make computational adjustments to determine the tray return assembly’s actual load.

Figure 5 illustrates the forces and how they were compensated for, using a non-scale drawing to better show the change in the force’s angle created by the ramps. A in the drawing is the point where the racks connect via pins to the rotary system. X2 is the horizontal distance from A to the point where the wheel attaches to the back of the rack assembly. X3 is the vertical distance from A to this same wheel attachment point. R is the force on the load cells. F is the average weight of the items resting on the racks. To simplify computation, this force was assumed to be concentrated at each tray assembly’s physical center. X1 is then the horizontal distance from A to this assumed center of gravity. These measurements formed the basis for their weight adjustment, using a measured angular displacement, Θ = 3.87°.

A vector diagram showing how the ramps that guide the weight of the moving cafeteria tray return assembly onto the load points of the load cells measuring this weight change the forces on the load cell to slightly non-axial. The ramps cause the whole assembly to pivot slightly outward from vertical, at a rotation point at the very top of the whole rack assembly where the racks attach to a moving chain along a support wall.
Figure 5: Pictorial model of non-axial load from cafeteria tray return racks caused by ramp guides

Figure 6 shows the wiring diagram for the overall concept. Two 50 kg ANYLOAD 108BA Aluminum Single Point load cells would measure the load from the support wheels. Their signals would be combined via an ANYLOAD J04EA-16 and J04SA-16 J-BOXER junction box. The junction box’s analog output would be amplified and converted to digital via a Sparkfun HX711 ADC. A Raspberry Pi 4 Model B processor equipped with a camera module would then process the ADC output, eliminate known weights, compensate for non-normal forces, and produce the desired food waste data. The group used machine learning as part of the processor algorithm to identify objects of known weights.

wiring diagram showing two load cells connected by a junction box, signaling to a SparkFun HX711 amplifier/ADC, which in turn signals to a Rasperry Pi processor
Figure 6: Food waste measuring system schematic

The project execution

Before building their concept into the cafeteria rotating rack system, the team created a test system. This test system would verify the physical design would produce appropriate aggregate weight data. Figure 7 shows the team’s mock-up.

Photo of food waste measuring system test mock-up. The mock-up is made of plywood and 2 by 4s and shows testing of the load cell mounting system and ramps that guide the wheels along the wheel track to the load cell load points
Figure 7: Test version of UOP food waste measurement system

Once testing proved the design’s viability, the team built their live version within the dining hall’s tray return system! Figures 8 and 9 show the front-end track assembly and back-end electronics respectively.

photo of closeup of installed load cells in food waste measurement system. it shows ramps that guide load bearing wheels onto a thin metal bar attaching two load cells at their load point. This bar completes the wheel track where the load cells are positioned.
Figure 7: Closeup of load cells installed along wheel track
Photo of load cell junction box connecting to the amplifier/ADC and Raspberry Pi in its live application
Figure 8: Junction box bottom left wired to ADC and Raspberry Pi on reverse side

The project’s future

The system is now live and collecting data. However, this team of seniors graduated (happily!) before they could fully complete the machine learning portion of the design. Fortunately, a new crop of students within the MESA program will be taking over the project from here.

The goal is to complete the machine learning algorithm and decide how the resulting food waste data will reach students. Several ideas are being considered. These include displaying data hourly on a cafeteria monitor or sending daily data to students via email. Because its ultimate goal is to promote social responsibility, the project would need to reach the widest possible audience. Email would have a broader reach; however, other methods may attract more attention.

In closing…

Tacuna Systems is proud to have once again been able to be part of a university project. We are especially pleased to support one like this that has the opportunity to positively affect our environment. We wish the MESA participants well and look forward to seeing is project’s completion!

Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents