Author of this question: Alberto Leva, Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, Italy
Santa Claus finally decided to fulfil an old wish of his hardworking elves: an outdoor swimming pool complete with a temperature-controlled waterfall. Nothing says “job well done” like a heated cascade to unwind after a long day of toy-making, right?
The project team enthusiastically swung into action, opting to heat the waterfall with steam from the toy factory through a valve governed by a PI (Pinecone Icicle) controller, a simplified version of the PID (Pinecone Icicle Dancing) model that the head elf Alabaster Snowball had unearthed from a dusty old issue of the Journal of Christmas Magic in Control, the most prestigious publication in winter holiday engineering (admittedly, also the only one) co-edited by the IEEE (Inter-polar Elves Entertainment Ensemble) and the IFAC (Ice-cold Festivities Arrangement Council).
The PID calculates the opening and closing of the valve by summing three values: the Pinecone value is proportional to the error (desired temperature minus measured temperature), meaning larger error prompts stronger opening or closing of the valve; the Icicle value increases if the error is positive and decreases if it is negative (like an icicle grows or melts gaining or losing water) so as to intensify the action if the error persists; the Dancing value (absent in the PI) responds to the error variation rate, like dancing elves keep pace with music to “anticipate” its movement.
In the same article Alabaster found a PI tuning recipe, which was based on how long it takes for the controlled variable (the water temperature) to settle after a sudden change in the control signal (the steam valve opening).
When it came time to choose a temperature sensor to install at the outlet of the waterfall supply duct, a debate broke out among the team. Alabaster proposed a small model with a thin glass capsule, while the Grinch, who had been invited to join the team out of pure neighbourly holiday spirit, argued for a larger one with a thick metal shield, claiming that Alabaster’s one was too fragile and the elves would easily break it while splashing around. The Grinch’s argument seemed reasonable, and his proposal won the day.
They built the system, tuned the controller using Alabaster’s method, and… well, a problem surfaced. When one of the elves cranked up the temperature before hopping under the waterfall, the water did indeed reach the desired warmth… eventually. But before that, it transiently became hot enough to treat the poor elf to a surprise audition for a boiled lobster. The elves, being quite sensitive to anything other than each one’s own preferred temperature and equally impatient about waiting for it, inevitably voiced their complaints.
Faced with this chorus of disgruntlement, the team huddled together to figure out what had gone awry, and noticed something curious: the temperature sensor readings showed no sign of temporary overheating. Thus began another round of debate to unravel the case, and four solutions were proposed. Which one was most right?
a. 🌡️⚙️📊 Alabaster blamed the Grinch’s bulky sensor, claiming its slow response allowed the water to heat up excessively before the controller could react. In the impossibility of replacing the sensor, he proposed a mechanism to prevent abrupt changes in the desired temperature, suggesting it should mimic the sensor’s response as if the actual temperature were behaving as expected.
b. ❄️🛠️🌲 The Grinch fired back, claiming that the problem was Alabaster’s overly complicated control method. He suggested ditching the Icicle component,which he believed was responsible for an excessive build-up of control action that led to overheating, and using only the Pinecone, that is, making the control action purely proportional to the error.
c. ⏱️🔧📈 Sugarplum Mary concurred with Alabaster’s diagnosis but disagreed with his proposed solution. She argued that the issue stemmed from a somehow delayed measurement, otherwise the temperature overshoot would have appeared in the readings. As such, to compensate for the “laziness” of the sensor, the controller should be made more reactive than it currently was.
d. 🌟📦🚰 Bushy Evergreen, with the authority that comes from years of seeing things go wrong in increasingly creative ways, suggested to replace the valve with a smaller one. That way, he said, they wouldn’t get overheating issues, no matter how Alabaster had tuned that over-engineered gizmo of a “controller” he insisted on installing.