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.
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.
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.
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.
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°.
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.
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.
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.
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!