Coffee is the (and third-most in the world), yet it is poorly understood. UC Davis researchers across the sciences and humanities disciplines are demystifying the drink â and coming up with ways to make it more delicious and sustainable â in the only university coffee lab in the country.
The UC Davis Coffee Center, conceived (where else?) over a cup of coffee and opened in May, is working with the to tackle challenges such as sustainable farming, grading bean color and measuring consumer taste preferences.
Why study coffee?
Despite coffeeâs global popularity, coffee research has been underfunded.
Researcher Irwin Ronaldo Donis-GonzĂĄlez, assistant professor in biological and agricultural engineering and director of Latin American affairs for the Coffee Center, said he is surprised by how little is known about coffee.
âItâs almost like coffee is an untouched crop,â Donis-GonzĂĄlez said. âThereâs been very little research in coffee, believe it or not, even though itâs one of the most exchanged commodities in the world.â
Now, UC Davis is filling that knowledge gap.
âThe goal for the Coffee Center is for UC Davis to become the global leader in coffee studies, science, research and education,â said Bill Ristenpart, engineering professor and co-director of the Coffee Center. âEventually, I want to have all kinds of coffee-related classes in this building. I want this to serve as a hub, a nexus for all coffee-related topics across campus.â
While the Coffee Center building is new, UC Davisâ body of coffee research is not. People familiar with UC Davis have called its group of coffee researchers âthe Coffee Centerâ colloquially for years.
Timothy Styczynski, a professional micro-roaster who owned and operated Bridge Coffee Co., had been following the growth of UC Davisâ coffee research since 2016 and was an early Coffee Center donor in 2021. He was drawn to the Coffee Center because of his decades-long passion for coffee and the potential for new research.
âThe research the Coffee Center has been doing is really revolutionary,â Styczynski said. âItâs the first of its kind. I hadnât seen scientifically published papers diving into coffee. I knew that even though weâve been [making] coffee for centuries, for us to be able to continue for centuries and beyond, we really have to focus on education. Weâve enjoyed coffee. Now itâs time to study it.â
Styczynski is now the Coffee Centerâs head roaster. He manages the center part-time, participates in its research studies and roasts bags of coffee to sell in the campus bookstore. He is also a certified Q grader, one of fewer than 600 in the United States. The certification is internationally recognized in the coffee industry and is akin to a sommelier for wine.
"Design of Coffee": Nationâs first coffee class
At UC Davis, the idea of a coffee class came well before the creation of the Coffee Center building. Over a cup of coffee in 2013, Ristenpart and Tonya Kuhl, who is also an engineering professor and now co-director of the center, brainstormed ways to get students more interested in chemical engineering.
Together, they created the first regularly offered, university-level course about coffee in the nation, âThe Design of Coffee.â Only 18 students enrolled at the time. This academic year, 2,091 students signed up.
Unique among American universities, UC Davis has a laboratory dedicated to coffee. Each week, students in âThe Design of Coffeeâ learn an engineering concept in their lecture that they then apply in the coffee lab. In their final week, students must brew the best-tasting coffee using the least amount of energy.
Students enter the course with various levels of coffee knowledge and experience. By the end, they learn everything from reverse engineering a drip coffee brewer to understanding coffee as a colloidal fluid.
âColloid is just a fancy word for âa very small particleâ,â Ristenpart said. âCoffee is technically a colloidal suspension, which means itâs mostly water with little bits of solid floating around. For the colloid section of the course, students must answer the question: How do we push water through coffee grounds?â
Colloids are so miniscule they canât be seen with the naked eye, but the quantity and nature of the colloids can affect the mouthfeel and flavor of coffee.
For example, pouring boiled water straight over coffee grounds results in a thick, gritty drink. This is the technique used to make Turkish coffee. After drinking a cup of Turkish coffee, there are enough spent grounds left at the bottom to perform tasseography â fortune-telling using coffee grounds.
âTurkish coffee is totally not filtered, so thatâs one extreme,â Ristenpart said. âMost American drip brews use the paper filter. And thereâs other techniques where you can have really, really filtered coffee, so no colloids at all or very few.â
Because there are about 1,000 different flavor molecules identified in roasted coffee, understanding the many chemical engineering concepts â like colloidal fluids, mass balances and transfer, pH levels and â in the coffee-making process is important for coffee companies that want to make a superb product.
For Sage Ikeda, a second-year mathematical analytics and operations research major, taking âThe Design of Coffeeâ helped him realize the many career opportunities available in the coffee industry. He now works part-time at the Coffee Center.
âBefore taking the coffee class, I never thought about pursuing a career in coffee,â he said. âFor me, it was like, âOh, coffee is just the thing I nerd out about for 20 minutes in the morning.â But after, I realized coffee is a pretty big industry. It would be pretty cool to work in coffee.â
Today, âThe Design of Coffeeâ is well-known among UC Davis students and has been included in many class bucket lists for years. The rapidly growing popularity of the course combined with interest from the coffee industry led to the creation of the new Coffee Center.
Where does coffee come from?
Coffee comes from plants that grow small, round fruit called coffee cherries that grow in bunches like grapes.
But, unlike grapes, it is difficult for coffee plants to thrive in the United States. If temperature levels drop below freezing, even for a single night, it could kill the plant. So, most coffee is grown in tropical regions on the sides of mountains, far from most Americans.
Just a few decades ago, many American coffee importers had never stepped foot on a coffee farm, and coffee farmers in another country may have never tasted a cup of coffee.
âA lot of the hard work that goes into coffee is out of sight, out of mind,â Ristenpart said. âItâs literally in a different continent, across a language divide. Imagine trying to improve the quality of coffee when thereâs zero feedback loop.â
Coffee Center researchers like Donis-GonzĂĄlez are trying to close that divide. He is currently on sabbatical researching coffee farming in his native Guatemala. His main research interests are in how coffee is handled after harvest, tracking produce from field to consumer and reducing energy consumption during processing.
Laudia Anokye-Bempah, Coffee Center researcher and Ph.D. candidate in biological systems engineering, was not a coffee drinker when she lived in her native Ghana. She noted how people from countries that produce the most coffee do not drink it because the focus is on growing coffee rather than roasting it. She said she believes farmers could flourish economically with high-quality roasting education.
Styczynski encouraged coffee consumers and researchers to keep coffee farmers in mind.
âThe 25 million families that grow coffee around the globe donât have many other means for sustainability in their community,â Styczynski said. âPeople who buy coffee are also putting shoes on coffee farmers and their families, food in their bellies, and providing medicine. And the better we can take care of the plants, the better we take care of the communities that grow and sell them.â
Coffee waste and sustainability
Coffee Center researchers also are tackling food waste. After coffee beans have been collected from the cherries, the remaining skin and pulp, called cascara, is often discarded.
âIt takes three years after planting a seed for a coffee tree to mature to the point where itâs producing fruit,â Ristenpart said. âThree years! Three years of maintaining it. So, you do all this growing, pruning, fertilization, spraying. A tremendous amount of labor goes into it, and then finally somebody goes and picks by hand all the coffee cherries. And the very first thing they do is deliver it to a wet mill, where they then strip off half the mass, like all the fruit. Itâs kind of crazy because the fruit has caffeine, itâs got a tremendous amount of antioxidants.â
Some cascara is dried and turned into tea, but Ristenpart likens this process to trying to create wine out of raisins. The resulting drink tastes like oxidized, dry fruit.
Melina Devoney and Timothy Buensalido, UC Davis alums in international agricultural development, researched whether cascara could be upcycled â recycled at a higher value â by turning it into jelly. Their hope is to reduce waste and provide farmers with more revenue.
âCoffee farmers face constant economic stress and uncertainty,â Devoney wrote in a blog post about her research for the Department of International Agricultural Development. âMost farmers earn only a few dollars per day.â
They conducted sensory surveys at the Coffee Center, which resulted in high liking scores. This means cascara could be made into a marketable jelly product that would likely sell well.
Ristenpart, who worked with Devoney on the research project, has become passionate about the topic, trying cascara on a variety of food products.
âYou take the fresh fruits immediately out of the de-pulper and throw it into a pot of boiling water to extract the caffeine, the sugars, the yummy fruit flavors,â he said. âAnd then you add a bit of sugar and a bit of lemon juice, and you make this fantastic syrup that works using soda products or tastes really good in a cascara daiquiri.â
Ristenpart wanted to show his students a coffee farm without flying them to another country. So, he took them on a camping trip to a rare American coffee farm located in Goleta, California, north of Santa Barbara, where coffee is grown under the protective shade of avocado trees.
âThere, we made blueberry pancakes and drizzled the cascara syrup on top. It was fantastic,â he said.
He said he hopes to someday build a greenhouse behind the Coffee Center, where students can grow their own coffee plants, like how UC Davisâ Robert Mondavi Institute for Wine and Food Science has a vineyard in its backyard.
Studying best ways to store coffee beans
The Coffee Centerâs Green Bean Storage Laboratory, funded by Nicaraguan Coffee Growers, is lit with natural light and is spacious, with concrete floors, white walls, an industrial ceiling and a variety of bags and boxes brimming with green coffee beans on warehouse shelves.
Green coffee beans have not been roasted. They smell light and fruity, almost like hay. They are smooth and pistachio-colored but feel nothing like pistachios.
âIf you ate one of these green ones uncoated, itâd break your teeth in half,â Kuhl said, holding a bean up between her thumb and forefinger.
On the wall opposite the shelves are fridges, which are used to preserve coffee bean flavors, and environmental chambers, used to test different humidity and temperature levels.
âWhen you ship coffee from Uganda, thatâs a land-locked country. So, the coffee could be sitting in high temperatures for months before it gets shipped to Oakland,â Kuhl said.
Researchers at the Coffee Center use the environmental chambers to test similar scenarios using small batches of coffee beans. Then the degraded coffee is tested by a sensory team, determining exactly how much degradation over time affects flavor.
âOur goal in testing bean degradation is to see which strains are highest quality,â Kuhl said. Determining this could save coffee growers and shippers significant money and time.
Why does coffee taste sour?
Adjacent to the storage lab is the Peetâs Coffee Pilot Roastery. Inside are two large roasters, one Aggie Blue and the other Aggie Gold. Styczynski feeds green coffee beans into the blue roaster.
âIn the roasting, I can manipulate how sweet the coffee is, how sour it is, how roasty it tastes, if itâs thinner or heavier in body and mouthfeel from the same beans using different recipes,â he said.
He checks the roast using sound and smell. Roasting coffee beans sounds like popping popcorn and, surprisingly, does not smell anything like brewing coffee. The smell is more warm, light and soft than the smell of a coffee shop.
âI love smoked salmon, but I want to taste salmon, not smoke,â Styczynski said. âIn the same way, I want to not only taste smoke in my coffee.â
He pulls out the sample tryer, a little scoop built into the side of the roaster that has some of the beans from that point in time. Roasters look at and smell the beans in the sample tryer to decide when to drop all the roasting beans into the cooling tray.
Styczynski has done this process of roasting and checking countless times while working alongside Anokye-Bempah to conduct research in the Coffee Center.
is about how a coffeeâs roast profile â the temperature versus time inside the roaster â affects the perceived sourness of the resulting coffee.
âRoasting takes about 12 minutes or so, and we did a 16-minute roast, so super dark, pulling samples every minute across that profile in a production roaster, which had never been done before,â Styczynski said.
For six months, Anokye-Bempah and Styczynski produced a variety of roasts, pulling a sample per minute and dropping the samples into liquid nitrogen to freeze the chemical process in time. They gathered thousands of samples of beans from various points along the roasts for different roast profiles.
Their findings?
âWe were able to see seven different recipes in triplicate, that the peak always happened statistically at the same time regardless of coffee origin, coffee bean and coffee roast,â Styczynski said.
In other words, âOur results provide insight on how to manipulate and achieve desired sourness during roasting,â Anokye-Bempah said.
Now, roasters can tailor their roasts to create a cup of coffee with the perfect balance of acidity.
Creating a universal coffee color chart
Just as coffee beans come in thousands of different flavors, they come in thousands of colors, and the coffee industry has had a hard time categorizing those colors.
âRight now, if you say, âmedium roast,â it could mean anything under the sun,â Ristenpart said. âOne roasterâs âlight roastâ could be darker than another roasterâs âdark roastâ.â
Anokye-Bempahâs second research paper, which is in review, aims to solve this industry-wide problem. The paper is titled, âA Universal Color Curve For Roasted Coffee.â
âIt turns out when you take coffee beans, regardless of the roast profile, and plot the color in something called the C-LAB, everything falls in this beautiful three-dimensional curve that Iâm hoping becomes known as the Anokye-Bempah Curve,â Ristenpart said.
He is working with the Specialty Coffee Association on creating a universal coffee color grading scale based on Anokye-Bempahâs findings. So, coffee roasters around the world will finally have a science-based tool to categorize their roasts very soon.
Revolutionizing coffee quality control
After coffee cherries are picked and the beans are dried, they are sorted and graded through a quality control process, which until now has been complex and inefficient.
Ristenpart recalled seeing the traditional quality control process in action at a coffee dry mill, where operators stacked sieves and shook green coffee beans through them to get the correct size distribution.
âYou put the beans in. Then they have smaller and smaller holes. Then you take them out and then weigh each tray. It seemed like a huge pain,â Ristenpart said. âI said, âWhy donât you just take a photo and measure that way?â They said, âWell, thatâd be great.ââ
Then, in 2022, he met two computer science students who could turn his idea into a reality. Ph.D. candidate Xiao Liu and fourth-year Zhuoheng Li are Q-certified graders passionate about coffee and technology.
Together, Liu and Li built , a coffee vision grading system using artificial intelligence that allows users to grade coffee beans by taking photos of them on a smartphone. The app can determine coffee bean size, color and defects in a snap, significantly decreasing the time and cost it takes for coffee graders to filter out low-quality coffee beans.
Roastpic has three versions: a basic version for hobbyists, a premium version for advanced graders and a newly released professional version for coffee industry professionals.
Since its founding, the tech company has grown to a team of 10, composed entirely of faculty and students from the Coffee Center.
Keegan Thompson, a fourth-year communication major, had been working as a Philz Coffee barista for only a few months before Ristenpart came into the picture, recognizing him for his communication skills. Thompson now has the title of customer service expert at Roastpic and has become fully immersed in coffee science.
âAfter working at Roastpic for a couple of months, I wanted to get more involved in the coffee field,â Thompson said. âSo, when the center here opened, I was excited to get involved. I asked [Styczynski] if he was able to teach me how to roast coffee. From there, I got an internship and a part-time job working here.â
A new coffee tasting class
Thompson is a teaching assistant for the first class held solely at the Coffee Center, âCoffee Tasting Practicum,â an experimental, one-unit course focused on coffee as a sensory experience. He works directly with co-teachers Ristenpart and Styczynski, setting up lab equipment and making lots of espresso.
âWhat weâre doing in the course is exploring product development and introducing students to how you think of product development, how you design a blend,â Ristenpart said.
On a crisp Friday morning, about 10 students file into the John and Gina Wasson Classroom in the Coffee Center, pouring themselves a cup of coffee specially brewed by Styczynski to taste before taking their seats.
Styczynski describes the type of beans and brewing process used and asks the class for their thoughts on the coffeeâs flavor before a teaching assistant flips through the slides of a presentation titled, âHoliday Blends.â Over the past several weeks, the students have been tasting different holiday blends and learning how to make their own.
âThe holidays are coming up, so we want to have a limited-edition holiday blend for sale at the campus bookstore,â Ristenpart said.
The tasting process is not a matter of personal preference, though. The final choice of what holiday blend to sell must be based on consumer hedonic preference testing, a quantitative method in sensory science that measures how much consumers like a product.
After finishing their cups of coffee, the students head into the Sensory and Cupping Laboratory, a sleek café-styled room with a service window connecting to the La Marzocco Brewing and Espresso Laboratory. Styczynski and the teaching assistants brew mugs of coffee and slide them through the window to be freshly served to those in the sensory lab.
Five students file into the small sensory room and take seats in individual booths. The room would be pitch dark without the red lights shining overhead, which help mask color differences in the coffees. This allows the students to focus only on the coffeeâs flavor, smell and texture.
Thompson opens a small service door in front of each booth to slide in a single mug of hot coffee on a plastic tray. When all the doors are shut, the students take their time sipping coffee while scrolling on their dimly lit phone screens.
The students are not on their phones to pass time. They are conducting CATA â check all that apply â testing to make scientifically informed word clouds of flavor descriptors. The form contains a long list of flavors with checkboxes beside each one. The students select as many flavors as they can taste from options like citrus, caramel, floral, vegetal, nutmeg and cardboard.
âYou know how on a bag of specialty coffee, thereâs always three different words describing the flavor? And you think, âDo they just pull those out of a hat?ââ Ristenpart laughs. âThereâs a way coffee makers can choose those words more rigorously â by seeing which words pop in the CATA testing.â
When finished, each student flips a switch in front of them, and Thompson retrieves the empty mugs. The students then make their way to the brewing room to learn how to make that weekâs drink, a peppermint mocha latte complete with a small candy cane for both taste and garnish.
Toward the end of the session, the students head back into the classroom to see their tasting results. On the projection screen, a bar chart reveals the blendâs most-perceived flavors: caramel, nutmeg and baking spices. Only two students chose potato, and none chose cardboard.
The class agrees this blend was one of the best so far. The last one, Blend 715, did not do as well. It had rough hedonic scores, and its word cloud emphasized the flavors âbitter,â âvery bitterâ and âbreadâ in enormous font, decidedly not the ideal coffee to sell at the bookstore.
The students in the âCoffee Tasting Practicumâ enjoy the course for the free coffee, but they also appreciate how approachable it is for anyone who might feel nervous taking a chemical engineering class.
âI think the Coffee Center makes a field that can be somewhat hard to understand really easy and accessible,â Thompson said. âBack when I started learning about coffee, my knowledge was basically nonexistent. And now, Iâve only been working with coffee for the past six or seven months. But my knowledge has skyrocketed. Itâs so amazing to learn all the stuff theyâre teaching here, and even being in the class Iâm TAâing for, Iâm learning new things, which is such a fun experience.â
Improving the coffee industry
Ristenpart said he aims to develop a course held at the Coffee Center in which the âCoffee Tasting Practicumâ will be one module in a larger, more formal class that goes more in depth about the physical and chemical processes in coffee. This future course will be the first of many to come.
The multidisciplinary nature of coffee has already attracted over 50 UC Davis faculty members across a variety of backgrounds and research interests that span from agricultural sustainability to the effects of coffee consumption on human health.
But despite coffee being so popular and economically profitable, the numbers are not reflected in academic funding for coffee research. Seeing a gap, industry professionals are continuing to step up to provide philanthropic support.
âWe believe the Coffee Center will create a new pipeline of talent and really elevate the coffee industry to something thatâs more akin to the beer industry or the wine industry,â said Scott Callender, former vice president of marketing and consumer strategy for La Marzocco.