Showing posts with label Profile Roasting. Show all posts
Showing posts with label Profile Roasting. Show all posts

Sunday, May 25, 2014

Exercising Control (Wired For Roast 5)

Exercising Control - Understanding Profile Roasting Control Systems
The steam drill was on the right han' side,
John Henry was on the left,
Says, "Before I let this steam drill beat me down,
I'll hammer myself to death,
I'll hammer myself to death."
- Song of folk-hero John Henry, a steel-driver who challenged the steam drill in the blasting of the big bend railroad tunnel. He beat the steam engine, but died of exhaustion.
IN PREVIOUS COLUMNS IN THIS SERIES, I have attempted to bring to light areas in which advancements in technology are either already beginning to produce transformations in the growing, roasting, marketing and/or the selling of specialty coffee or may in the very near future. I have further attempted to show that underlying these changes is the co-revolution in computing and communications.
Cheaper, more capable and more reliable processing coupled with the Internet, fiberoptic communication networks and the emergence of English as the language of global business are all having the effect of shrinking the world in which we operate our craft and our businesses. All these technologies are also simultaneously expanding the possibilities for our control over the quality and flavor of the coffee bean itself.
Of all the technologies, methodologies and movements currently emerging for the coffee roasting professional, none has more immediacy or will have a more profound effect on the craft of roasting coffee than the rise of ever-more capable roast profile control systems and the growing base of knowledge of how best to utilize these tools and apply this knowledge.
As with many emerging technologies, it is important to understand not just the technology itself, but also the theories used to develop them; why they were developed at all and, perhaps more importantly, where these new technologies fit in the overall process. This article is an attempt to do all the above and perhaps in the process make a limited, but solid case for the next generation of control systems for coffee roasters.

Nomenclature

One of the most troublesome aspects of any new technology is trying to codify the names, terms and methodologies. This is especially true of roast control systems: automation is often confused with control, which is often confused with data-logging, while terms such as feedback loops, PIDs and RTDs can make coffee roasting sound more like rocket launching.
In an attempt to solidify and clarify the terms involved in coffee roasting control systems, I've included some basic definitions here.
  • Profile Roasting Control
    System A roasting control system that utilizes electronic process control hardware to manipulate the burner, airflow and/or drum rotation speed. There are variations in the types of process logic that can be used to perform these functions, such as set point (on/off), ramp and soak (stage/linear) or nonlinear (utilizes higher-level math functions). All systems use either a bean probe or environment probe to control processes.
  • Set Point (on/off) Process Systems
    Set point control systems work with simple on/off logic, similar to the way a thermostat works. If the control temperature is below the temperature value set on the control system, the control system will turn the burner on. When the actual temperature reaches the set temperature value, the control system will turn the burner off.
  • Stage (ramp and soak/linear) Process Systems
    This type of system follows a predefined path or program. The path or program is comprised of various sections (stages) that either increase in temperature value for a defined time or hold a temperature value over a defined time (hence the stage or ramp and soak designation). The ramp stage is defined by increasing or decreasing the temperature value over a given time. The logic then breaks up the temperature into time increments to create a linear line between the two temperatures over the defined time. The more steps, the finer the control over the roast process.
  • Non-Linear Process Control Systems
    Almost all non-linear control systems are proprietary systems. The math function used to define the path can vary from system to system depending on the manufacturer but is generally more sophisticated than linear processors. The system may use various input information in determining profile path. There are many different designs of these types of systems, and they are more complex than stage/ramp and soak systems.
  • Profiling (v)
    The act of profile roasting and/or the act of making a hard copy profile of a roast temperature path, often in graphical form.
  • Profile (n)
    An analysis of the temperature path of coffee during the roast process, usually in the form of a time and temperature graph.
  • Profile Roasting (v)
    Taking some kind of measurable and repeatable action during the roast process to affect a change in the taste of the coffee by changing the roast profile.
  • Profile Roasting (n)
    The science of controlling the rate of heat transfer into the coffee during the roasting process, with the goals of repeatability and optimized flavor.
  • Data Logging
    The act of compiling time and temperature roast data in order to assist an operator in profile roasting. May be manual or automated.
  • Automation
    The automatic operation or control of any equipment, process or system.
By starting to nail down the definitions and terms, it is easier to start having real conversations about the present and future of roasting control technologies. 

Log Reviewer

Four different roasts using a non-linear control system; environmental temperatures, fluctuate to ensure bean temperatures follow profile
 log_reviewer

Linear Data Logger

A single roast using a linear profile; slopes are constant between the profile points
 linear_data_loger

Non-Linear Control

A single roast controlled with a non-linear controller; the desired profile and actual profile are nearly identical
non_linear_control

Control: A Roaster's Definition

Most specialty coffee roasters view their jobs as something closer to art than a job; a craft to be learned, a finished product to be respected and enjoyed. Unfortunately, many of these roasters view the latest in control systems as something of a threat. A threat to the way they practice their craft, a threat to their professional egos and, in the most extreme cases, a threat to their very livelihoods. Further, many roasters also reject control systems because they do not understand how they operate, or why a specialty roaster, aside from the largest operations, would even want to look at such a thing. And yet, many roasters are already practicing many of the underlying concepts and methodologies that have lead to the development of these systems: profiling (time and temperature curves) and controlling or at the least, lessening the affect of variables upon the roasting process are but two.
If you open any thesaurus and look up the word control, you will see words such as: manage, command, check, regulate and direct. All good strong words. All words that could be used to describe one aspect or another of what a professional coffee roaster does throughout his or her work day. In fact, these words are well suited for use as representatives of different parts of the coffee roasting business. A roastery owner must manage suppliers; regulate cash flow and direct employees. These are all part of the business of roasting coffee, but what of the coffee roasting process itself? Which control synonyms are best suited to what a coffee roaster does? Command and check, I believe, are the two words that best describe what should occur on the roasting floor. A good roaster must command the process of roasting coffee (process control) and check the quality of the product (quality control).
Process control and quality control are two distinct, albeit equally important parts of specialty coffee roasting. Once great coffee is sourced, these are perhaps the most important tasks a roaster must handle. Sadly, many roasters often confuse the two concepts and use one to try and compensate for a lack of the other.

Confusing Quality Control With Process Control

Quality control is a universal system for maintaining desired standards in a manufacturing process. Quality control in the coffee roasting process is most often accomplished through a quality assurance program, usually a series of tests that involves cupping, measuring oxygen levels in packaging, taking color spectrometer readings for roasted coffee, and the like. These tests may be done in a variety of ways, depending on the size of the coffee roasting facility and their historical quality issues. There are many theories and systems to implement and manage quality control regimes. One can even get a management or engineering degree specifically in quality control.
Regardless of what theory a business subscribes to, most quality control tools for the specialty coffee roaster pertain to taking measurements after the roast process is complete. Quality control for any coffee roasting business is important to the continued survival of the business; for a specialty business it is especially critical as we demand a premium for our products under the assumption that we deliver quality for a price.
Process control is a discrete system that seeks to control a single process by manipulating or eliminating the variables that affect the process. All roast profiling systems, whether manual or computer aided, represent a form of process control: that is these control systems seek to control the coffee roasting process. And although good process control should be a part of any comprehensive quality control system, process control in and of itself is not a complete quality control system. For coffee roasters, a roast profiler, while a great quality enhancement tool, still needs a professional roaster to maintain the integrity of the profiles through a quality cupping and brewing program.
Another way to look at the differences between these two types of control is this: While a quality control system, especially one that relies on quality assurance tools, often uses statistical mathematics for sampling, it is just as likely to use human resource management techniques (total quality management programs, monetary and non-monetary production incentives, etc.) to achieve its goal. Process controls however, are all about command of the roasting process through understanding and controlling the dual sciences of energy (heat transfer) and coffee chemistry through mathematics. Even the lowliest of PID controllers contain fairly sophisticated mathematical functions that can be used to create a process control for roasting coffee.
Many very good specialty roasters have complex and exacting quality control systems in place, even while roasting manually. They cup, take Agtron readings and pull shots from nearly every batch in an attempt to narrow the range of consistency for their products. Many of these same roasters could further narrow that range and create a higher-quality, more consistent product with less labor simply by adopting newer, more precise forms of control systems.

Consistency Is Quality!

Consistency is perhaps the most misunderstood concept behind any specialty coffee roasting operation. The concept of consistency is often maligned as a form of mediocrity, a way of dumbing down our most spectacular coffees. And while it is certainly true that one can consistently produce a hohum product, one can also consistently create an outstanding product. In fact, it should be readily apparent to even the dimmest of business owners that while you can have consistency and not have quality, you most definitely cannot have quality without a high level of consistency.
As the specialty coffee industry in the U.S. has continued to grow at a rapid pace, a very unusual thing has occurred for an agricultural process. Quality to the consumer has increased even as choice has expanded. That hardly seemed possible a decade ago when the Malthusians among us were concerned that the rapid increase in companies roasting their own coffee would deplete the supply of higher-quality specialty coffee, thereby degrading the overall quality of specialty coffee to the consumer and would act as a brake to the overall industry. Or further that as more companies roasted, more novices would begin to practice a craft that takes years to master, resulting in poorly roasted coffee. The latter scenario would once again expose consumers to a less than special cup even if the coffee was technically specialty grade.
Despite those worries, the opposite has happened on both counts, and technology played a big factor in avoiding both scenarios. On the supply side, the free market, assisted by advancements in communications technologies, helped growers increase supply to a point where they actually got ahead of the demand curve, causing the specialty coffee market to crash. This occurred even as quality was increasing through the deployment of quality control regimes which gave growers, processors, brokers and, ultimately, roasters, a more reliable and consistent green coffee.
On the roasting side, the wide-scale adoption of bean probes and digital controllers helped overcome the deficiencies caused by not enough "time next to the roaster." These very simple control systems provided the technology that slayed the old boogeyman of consistency for many a beginning roaster even while reducing labor costs. They further helped expand our industry and consumer awareness exponentially.
These systems also helped advance the education of roasters, as it gave us a reliable Rosetta stone with which to decipher and communicate across roasting platforms, cultures and even languages: bean temperature. Bean temperature readings gave the craft of roasting a reliable, consistent and stable language that once again advanced the quality of coffee to the consumer. At the time many "old school" roasters resisted adopting these simple systems for various reasons, including increased cost and fears of the degradation of the craft of roasting.
Today roasters have an even newer language, that of profiling. We have moved from common or marketing names to define different roasts through bean temperatures and are now firmly adopting profiling curves as our new standard. But not unlike bean probes and digital readers which helped illuminate the language of bean temperature, profiling controllers and data-loggers can accelerate the use of the more definitive language of profiling, thus helping us to learn more about the process that creates great coffee and to pass our new techniques on to others. But this technology can only help, of course, if roasters begin to accept these new technologies.
It is always interesting to get an understanding of the theories that underlie emerging technologies and, like nearly all technologies control systems, are based on a theory: the theory of control.

Mathematical Control Theory

Control theory is an area of mathematics and engineering that deals with the application of the basic principles underlying the analysis and design of control systems. Within this field there have historically been two lines of basic research: optimization and uncertainty.
Optimization or, more precisely, behavior optimization, is based on the idea that a true model of the object to be controlled currently exists and all that is needed to affect control is to input the proper variables. Applying this theory to coffee roasting, a roaster operator or control system would allow for the input of known variables (such as coffee humidity, relative humidity, and environment temperature) and make adjustments to charge weight (or other controllable variables), all with the goal of optimizing the chances of following a predetermined roasting curve. In other words, optimization seeks to reduce the range of variability by accounting for variables up-front and making necessary adjustments that provide the greatest possibility of obtaining the ideal. This type of control is more likely to use drum or exhaust temperature as the control while monitoring or logging bean temperature.
The uncertainty theory of control is based on the belief that the ideal model does not exist, either due to uncertainty about the model itself or the variability of its operating environment. Control systems developed based on this understanding of control rely extensively on the use of feedback throughout the process to make adjustments and compensate for error that develops during the process. For coffee, this type of control system inputs a desired roast curve and then allows the control system to make the necessary adjustments to energy input or airflow based on one or more feedback loops that tell the roasting equipment where the coffee is relative to the desired curve (target) and how best to achieve the curve. With the uncertainty theory system, less daily up-front work is needed by the roaster after the initial proportional integral derivative (PID) settings are inputted for different charge weights as the variables are handled as they arise. This type of control is more likely to use bean temperature as the control while logging drum or exhaust temperature.
In other words, optimization is a predictive form of control, while uncertainty relies more on real-time analysis based on feedback loops. Both optimization and uncertainty based control systems have inherent in them complex mathematical formulas and even more complex theories, such as stability theory, dynamical systems and the theory of functions of a complex variable. More to the point, most of the latest control systems draw extensively from both theories to help control the variability of any complex process.
With coffee, it can easily be argued that we have two sets of uncertainty variables: the coffee and the roasting environment. It is our responsibility as roasters to apply control methodology, either manually or with profiling controllers, to try and reduce the effect of variables upon our process, even while attempting to coax an ever better product out of the green coffee.
And while the math itself may seem daunting (it is to me), there is really no need for professional roasters to know all the mathematical equations that go into these sophisticated control systems. We do, however, need to have a cursory understanding of two mathematical equations: y=xb+a and y=X

Saturday, May 17, 2014

Taking Control

Taking Control - PID Settings and Roasting Controls

FOR YEARS, THE QUESTION OF ROASTER CONTROLS has been a source of contention within the modern coffee roasting community. How much control is too much (the law of diminishing returns?), and how little is too little (do you like fl ying by the seat of your pants?). These are just some of the questions that are batted back and forth by coffee roasters. Moreover, questions about control often lead to discussions that get to the heart of coffee roasting--is it a creative art or a systematic science?

Professional roasters and hobbyists alike have debated control questions ad nauseam. It seems to matter little whether an adherent to one school or another is working on a tabletop or a four-bagger; there are proponents of each approach in every roaster size category.

Often, the discussion degenerates into a West Side Story-style face-off of backhanded compliments, posturing and outright demagoguery. Many times those with the loudest voices, longest careers or most impressive resumes win by default or through intellectual intimidation. The craft adherents accuse the "technology geeks" of being trapped in a futuristic fantasy where HAL will one day handle all aspects of the roasting process. Likewise, proponents of the coffee roasting as pure science school accuse the craft roasters of being neo-Luddites attempting to bar Darwin from entering the roastery door. Although it can be quite entertaining to listen to hardcore partisans of both schools espouse their orthodoxy, it is rarely, if ever, very informative.

Proportional Integral Derivative Controllers

One of the biggest control discussions in the coffee industry lately has revolved around proportional integral derivative (PID) controllers: logic-based controllers that allow the user to input temperature set points, and infl uence the logic. The PID's ability to control heating functions is well known but not well understood by most coffee professionals. Happily, roasters and baristas alike are trying to figure out how to use these tools to better control their respective processes.

Most new coffee roasters delivered today have at least a simple PID controller installed as standard equipment, and many come with fairly sophisticated PID profiling controllers. Most roaster operators, however, have no clue as to what PID stands for or, more importantly, how to use this technology to their benefit.

Those who don't understand the technology may use their PID controllers for set point controlling, or simply as digital temperature readers. When roasters use a PID as a set point controller, they input a set point in their controller and allow the bean or air temperature to rise to that point at which time the controller either sounds an alarm, shuts off gas to the burner or both. Although this can work very well and is a great improvement in controllability, repeatability and safety from the stopwatch and trier systems of the past, it is in fact an underutilization of a PID controller.

A properly set PID controller, with a controllable gas train, can help make coffee roasting a much more exact and repeatable process, thereby freeing the roaster to work on other elements of quality control (namely green coffee and blending) that are so essential in the creation and sustainability of great coffee.

Not all roasters will choose to use PID controllers for the roasting process, and that is their choice, as it should be. However, in order to make a valid choice, a roaster must understand existing technologies; what they can and cannot do for their businesses. A choice made without evaluating all available information is a gamble, and why gamble with good coffee? This article attempts to clarify some of the mystery that surrounds PID controllers and to look at what one roastery was able to do with one roaster in one installation.

PID Basics

So what does PID mean? What is a PID controller? What is the difference between a PID controller and PID profiling controller?

PID logic control is used in many of the better off-the-shelf digital controllers (Watlow, Omron, Honeywell, Siemens, etc.) and most, if not all, proprietary coffee roasting control systems produced by roaster manufacturers.

PID controllers make mathematical calculations to help keep the actual temperature as close as possible to a desired set point temperature. In the case of coffee roasting, the set points are generated along a positive sloping curve. If the PID settings in a PID array are incorrect, then the system will either be constantly running to catch up to the desired curve, or constantly overshooting and undershooting as the controller attempts to bring the actual temperature to the set point.

A fully functional PID controller will generate set points regardless of whether the PID settings are correct (See Graphs 1 & 2, pages 58-59). For the roaster, the trick is to find the correct PID settings for their roaster in its installation. The proper use of PID controllers is the next logical step up from manually profiling coffee through manipulation of the existing time and temperature curve. A roaster's existing time and temperature curve is the curve that naturally occurs when a single piece of roasting equipment in a set environment is roasting a particular coffee, and no changes are undertaken by the operator until the end of the roast.

So the question becomes: how do you find the correct PID settings for your roaster and its control system? For most roasters, using a PID controller with a ramping (ramp and soak) or profiling function, the PID settings will be different than those used by most proprietary roasting programs. In most cases, off-the-shelf controllers will require a slightly more aggressive P value and I value, while the D should be set to zero for coffee roasting. Many PID profiling controllers contain auto-tune functions that attempt to assist with PID settings. It has been our experience however, that auto-tuning functions do not work well for setting PID values for the coffee roasting process.

To properly set PID settings, it is imperative to understand what each part of the PID acronym means and its effect on the logic used to control the heat input:

(P) P, or more accurately, proportional, is the part of the logic that dictates how aggressively a system will try to acquire the set point. The larger the P, the faster the controller will ramp up temperature. If, for example, you set a P value of 1, it will reduce heat input as it climbs toward the curve so that it will gradually intersect. If the P is 50, the output will be more aggressive. The output will remain at 100 percent until very nearly reaching the point of intersection.

In other words, P defines the distance at which your foot comes off the gas as you approach a line of traffic. Remember, the larger the P, the more aggressive the control system and gas train are (See Chart 1). If P is too aggressive, it will supply energy up to the point of intersection and then drop immediately to zero percent output. In a process like coffee roasting where much of the energy is retained and the product itself will begin to go exothermic, an aggressive P will often overshoot and, depending on where in the roasting process this occurs, may eventually fall behind the curve, causing the control system to constantly chase the desired profile curve (See Graph 1, page 4).

(I) If P is your gross adjustment on your control system, then I is the fine adjustment. I, or integral, is the value inputted to raise the temperature slightly so as to attain set point: the gain. I values work in an inverse relation to the P values. The larger the I, the smaller the gain, the smaller the I, the larger the gain (See Chart 2). Because I is the fine adjustment, I should not be adjusted until the P value is set. Too much I (low number) will cause the system to be unstable around the set point, while too little I will lead to proportional droop, when P is correctly adjusted (See Graph 2, page 59). Good control of the process is a function of PI.

(D) Finally, there is the D, or derivative, value. Derivative is the value that is used to dampen oscillations about a set point. It is in essence a "super fine" or squelch adjustment. In our experience, if a controller utilizes a bean probe for actual temperature control, then there is no need for a derivative value. However, if a roaster is using environment temperature to control the process, then a derivative value may be desirable.

The graphs used in this article rely on bean temperature as the temperature to be used in controlling the function; environment temperature is logged only and not used for any calculations, and therefore the graphs have a D value of zero.

Charts 1 and 2 list different P and I values and their relative effects on output.

Let's first look at P settings.

P VALUE I VALUE Temperature difference when output starts to be less than 100%
1 0 99 degrees
10 0 10 degrees
20 0 5 degrees
30 0 3.4 degrees

What does this mean? If you look at the temperature difference value of a P of 20, the difference is five degrees, which means that the output calculated will be 100 percent if the temperature difference is five, 50 percent when the difference is 2.5 and zero percent when the difference is zero. So over the five degrees difference, the output will be scaled anywhere in between.

Now hold P constant and add different I values.

P VALUE I VALUE Output percentage at 2.5 degrees difference
20 0 50%
20 20 50.09%
20 10 50.18%
20 0.5 53.6%

This shows what kind of gain the I value provides. The output calculated is not as simple as shown here. The complete calculation is based on elapsed time between calculations, how the temperature is responding to the output, how fast the temperature was rising/falling, etc. PID calculations are not easily understood. However, hopefully this will provide you with better insight as to what changing the settings will accomplish.

A Test Flight

So much for the science (or attempted explanation thereof). What are the practical effects of PID settings in programmable controllers, and how to read and set them?

As most experienced roasters know, the actual act of roasting coffee is a fairly simple undertaking. Turning the coffee from a certain shade of green to a certain shade of brown seldom rises to the level of rocket science.

That said, choosing which beans to roast to what level and the profile to be followed to bring the most out of each and every coffee, each and every time, can sometimes rise to the level of pure magic. Like magic, consistent roasting takes an intimate knowledge of the equipment used, a high degree of technical excellence, continuous practice and an open mind. Accepting technological change takes an open mind.

To test and set our PIDs, we did extensive research on a 15-kilo Ambex coffee roaster retrofitted with the Profile Plus DCQ system. The equipment operates on natural gas, has a total exhaust length of 27 feet with (1) 90-degree angle at the base of the roaster and ending in a "no-loss" stackhead. All roasts were conducted in a hands-off manner (that is, once PID settings were made and the roast started, there was no human intervention). All roasts were subsequently cupped for quality. All data (including all roasts conducted since October 1, 2004) have been kept and are reviewed against subsequent changes in atmosphere, green coffee crop and periodic roaster maintenance. Much of the initial PID research was compiled by Paul Ribich for the SCAA's upcoming Coffee Roaster's Handbook. The graphs used in this article are actual roasts taken from the data log files and shown in the log reviewer format.

Graphs 1 and 2 are actual examples of what happens when PI settings are incorrect. Graph 3 is an example of correctly set PI values for a roasting process. The following graphs display three data lines: desired profile (set point) in blue, environment temperature path in orange and actual bean temperature profile in green (graph legends on right of graph).

In Graph 1, it is easy to see what occurs when a P value is too large. The overly aggressive proportional function causes the actual temperature (bean temperature) or green line to overshoot the desired profile/set point curve (blue and purple) three successive times. Not only is the bean temperature generally above the desired profile curve, it has produced its own distorted (and undesirable) profile curve. In fact, the green line appears to almost "bounce" from line to line as time progresses. The correction to this problem is to reduce the P value until overshooting is alleviated.

Graph 1graph_1
Graph 2
graph_2
Graph 3graph_3
Graph 4graph_4

In Graph 2, the gross overshooting or bouncing of the green line has been virtually eliminated. However, upon closer inspection, it is clear that the bean temperature, while maintaining the shape of the desired profile curve, consistently tracks below the blue and purple of the desired profile. While many roasters would be very pleased with a time and temperature curve as close to target as this, it is actually possible to shift or "gain" this droop away by adjusting the I setting. What is needed in this example is a more reactive I. A faster integrating action can be acquired by using a smaller I value. The correct I value will, in effect, offset the droop of a correctly set P.

Eureka! Graph 3 shows what happens when PI values are inputted correctly. Set Point and Bean Probe lines are married up from start to finish. The Profile line is acquired at Hold Temperature, and all three lines track consistently from that point forward. Not only is the desired roast time and temperature reached (within a five-second window), but the integrity of the desired profile is maintained throughout the entire roasting process.

Kathi Z's Magic Trick

The final graph, Graph 4, is of a one-pound roast in a 15-kilo roaster. Kathi Zollman, roast master for New Harmony Coffee & Tea, by experimenting with PI settings, consulting Paul the engineer, and adjusting initial drop temperature, was able to get a one-pound roast to follow a pre-set profile, a feat that even the manufacturer thought impossible. The inability to control a small fractional batch in a drum roaster has long been a problem, even for experienced roasters. To get a small batch to actually follow a large-batch profile was considered pure magic.

A closer inspection reveals how the environment temperature (burner) was constantly adjusting to keep the bean temperature on the desired profile. Although this roast, like the others shown, was accomplished with a hands-off technique, it required an experienced roaster utilizing all her talents to ascertain and input the correct settings. Such things as total energy present at start of roast; energy acceleration and bleed rates; responsivity of controls; accuracy of temperature readings (bean temperature); changes in conduction and convection ratios; and the green coffee itself (hard bean, soft bean, old crop, new crop) all played a part in determining the PID settings and the desired profile. Like a good magician, Kathi just made it look easy. (As an aside, the coffee cupped admirably as well.)

Expanding the Realm of Possibilities

As an industry, we are entering a time when new control technologies are becoming more widely available and cheaper. This, coupled with the exchange of information being fomented by the rise of the Roaster's Guild, online coffee roasting bulletin boards, and more technically oriented and focused trade journals, are increasing the level of professionalism of the specialty coffee industry and expanding the realm of possibilities for those of us who have committed our livelihood, and lives, to this industry. As to the question of whether coffee roasting is art or science, it has always been both. A good roaster needs the intuition of an artist, the work ethic of a craftsman and the inquiring intellect of a scientist to truly become a master.

PAUL RIBICH is the process engineer for Ambex, Inc. He has a BS in mechanical engineering and an AAS in mechanical engineering technology and is a former team leader of advanced processes at Watlow Electric's Temperature Sensor Division. Paul is a member of the Roasters Guild who changes his own oil and is an avid woodworker.

HANDS - ON CONTROL

BY KATHIZOLLMAN

I consider myself an experienced roaster. After seven years of roasting, I'm comfortable with my baseline knowledge and my understanding of the roasting process. However, I'm finding that today's coffee roasting environment is one of constant change. The craft is being immersed with science, offering us new ways to unravel the mysteries of roasting, such as what really happens to the green coffee during the roasting process.

The primary concepts I learned in Coffee Roasting 101 are important in understanding the fundamentals of the roast, and it's this base knowledge that gives me a level of comprehension as I turn my focus to new ideas and concepts of control like PID controllers.

For years, I used a digital timer and temperature probe to achieve consistency in my roast profiles and had satisfactory results. But I found that I had to move out of my comfort zone of familiar techniques and terminology to learn the new skill of controlling the roast with PIDs. While this was an intimidating endeavor, my newfound roasting skills and working knowledge of PID controllers (although limited) has been rewarding and exciting.

I feel that learning the scientific language and mastering the basics of PID controllers provided me with a new level of expertise. When I combine this new science with my craft, I have a new roasting tool that helps achieve a controlled path to the completion of each and every roast.

Today, I control my roaster environment and the manner in which my roasts progress to the desired drop point through the logic of the PID controls. This allows me to look beyond time and temperature as the main components of the roast profile. With the PID, the S-curve becomes my tool for discovering the best path to a desired roast. To determine the most desirable roast profile, I cup various profiles of the same coffee roasted to the same degree. I alter the S-curve of each trial roast for an aggressive start or a gentle curve, for a shorter or longer rest period. When I cup the varying profiles against one another, I find that the path taken to the drop point changes the cup characteristics of each coffee, that the path itself is as critical as the time and final temperature.

Initially I was overwhelmed with the entire concept of control and PID and, had I been a rookie, it could have been setback for me. Still, I attempted to break the process down to its simplest form, making this foreign concept not quite so overwhelming.

I learned that the P of PID means proportional; I find it's easier to remember as "power." The amount of power I apply to the roast to reach the desired temperature in a pre-designated time frame. The higher I set the P value, the faster the temperature climbs. If my initial P settings are too high, the profile path is overshot and it's difficult to slow the roast down and regain control.

Once I get the P set so the roasting profile is followed consistently, I rely on the I, or integral, setting to fine-tune the roast profile. The I setting provides output boosts to keep the roast on track when the prescribed P setting isn't maintaining a smooth path. I settings can be confusing, in that the higher the I value, the smaller the gain, while a low I value provides a greater output.

With the control system I have in place, I don't even have to use the D, or derivative, setting. I'm able to have enough control without adding the additional variable.

It takes time and patience to establish accurate PID settings for desired roast profiles, but once the setting are locked in, very little additional tuning needs to be done.

Now that I have PID settings in place, I can accurately duplicate roasts on an ongoing basis. I was surprised to learn that weather conditions such as barometric pressure and temperature have less of an effect on the process of the roast than when I attempted to control the roast manually. To compare my roast results, I pulled up roast data graphs of the same coffee profile roasted on four different days (one day near freezing, one day 80 degrees, one rainy day and one overcast day). All four roasts shadowed one another within a three-degree spread. Graph 5 shows roast profile data from four different roast days, all four being the same coffee and same profile. The top four thin lines show the environmental temperature in the roaster. It's evident that the system was working hard to maintain the profile by looking at the range in temperatures. The wide lines represent the prescribed profile and the actual profiles of the roasts. The lines aren't clearly visible, but there are eight lines grouped together showing the path each roast took.

Graph 5graph_5

These graphs support the idea that roasters can replicate the roast process accurately and consistently with PID controls, without having to reset perimeters when external variables change.

I've also discovered that PID controllers allow me to use varying charge weights of green coffee and follow the same profile, without resetting the roast perimeters. Again, the science provides consistency for me as a craftsman--within a controlled roasting environment, I can roast a 12-pound batch of coffee with the exact profile as a 24-pound batch, with the same results.

I encourage roasters to invest the time and brainpower to learn how to use PID settings as a tool. It's habit-forming, and I find I always want to try something new or make a slight change, just to see what happens. The applications seem endless to me. So many roast factors can be changed or experimented with to roast the perfect coffee and to create a roast style unique to each roaster.

KATHI ZOLLMAN has been in the specialty coffee business for 10 years. In October 2004, she joined the PID team and became the roast master at New Harmony Coffee & Tea in Clearwater, Fla.