{"id":503,"date":"2024-12-08T08:00:00","date_gmt":"2024-12-08T07:00:00","guid":{"rendered":"https:\/\/control-advent.com\/?p=503"},"modified":"2024-12-06T16:53:04","modified_gmt":"2024-12-06T15:53:04","slug":"08-from-steam-to-screams-the-mystery-of-the-overheated-cascade","status":"publish","type":"post","link":"https:\/\/control-advent.com\/?p=503","title":{"rendered":"08 &#8211; From Steam to Screams: the Mystery of the Overheated Cascade"},"content":{"rendered":"\n<p><strong>Author of this question:<\/strong> Alberto Leva, <em>Dipartimento di Elettronica, Informazione e Bioingegneria, <\/em>Politecnico di Milano, Italy<\/p>\n\n\n\n<p>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 &#8220;job well done&#8221; like a heated cascade to unwind after a long day of toy-making, right?<\/p>\n\n\n\n<p>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). <\/p>\n\n\n\n<p>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 &#8220;anticipate&#8221; its movement. <\/p>\n\n\n\n<p>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).<\/p>\n\n\n\n<p>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&#8217;s one was too fragile and the elves would easily break it while splashing around. The Grinch&#8217;s argument seemed reasonable, and his proposal won the day.<\/p>\n\n\n\n<p>They built the system, tuned the controller using Alabaster&#8217;s method, and\u2026 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\u2026 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&#8217;s own preferred temperature and equally impatient about waiting for it, inevitably voiced their complaints.<\/p>\n\n\n\n<p>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?<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024-1024x701.jpeg\" alt=\"\" class=\"wp-image-421\" style=\"width:auto;height:600px\" srcset=\"https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024-1024x701.jpeg 1024w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024-300x205.jpeg 300w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024-768x525.jpeg 768w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024-24x16.jpeg 24w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024-36x25.jpeg 36w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024-48x33.jpeg 48w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/08-Dec-2024.jpeg 1216w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>a. \ud83c\udf21\ufe0f\u2699\ufe0f\ud83d\udcca Alabaster blamed the Grinch&#8217;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&#8217;s response as if the actual temperature were behaving as expected.<\/p>\n\n\n\n<p>b. \u2744\ufe0f\ud83d\udee0\ufe0f\ud83c\udf32 The Grinch fired back, claiming that the problem was Alabaster\u2019s 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.<\/p>\n\n\n\n<p>c. \u23f1\ufe0f\ud83d\udd27\ud83d\udcc8 Sugarplum Mary concurred with Alabaster&#8217;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 &#8220;laziness&#8221; of the sensor, the controller should be made more reactive than it currently was.<\/p>\n\n\n\n<p>d. \ud83c\udf1f\ud83d\udce6<strong>\ud83d\udeb0<\/strong> 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&#8217;t get overheating issues, no matter how Alabaster had tuned that over-engineered gizmo of a &#8220;controller&#8221; he insisted on installing.<\/p>\n\n\n<div class='bootstrap-yop yop-poll-mc'>\n\t\t\t\t\t\t\t<div class=\"basic-yop-poll-container\" style=\"background-color:#b70004; border:0px; border-style:solid; border-color:#b70004; border-radius:0px; padding:10px 10px;\" data-id=\"13\" data-temp=\"basic\" data-skin=\"minimal\" data-cscheme=\"black\" data-cap=\"0\" data-access=\"wordpress\" data-tid=\"\" data-uid=\"1b291a4ac7c70a3da8137ed93c364dbc\" data-pid=\"503\" data-resdet=\"percentages\" data-show-results-to=\"\" data-show-results-moment=\"never\" data-show-results-only=\"false\" data-show-message=\"true\" data-show-results-as=\"bar\" data-sort-results-by=\"as-defined\" data-sort-results-rule=\"asc\"data-is-ended=\"0\" data-gdpr=\"no\" data-gdpr-sol=\"consent\" data-css=\".basic-yop-poll-container[data-uid] .basic-vote { text-align: center; }\" data-counter=\"0\" data-load-with=\"1\" data-notification-section=\"top\"><div class=\"row\"><div class=\"col-md-12\"><div class=\"basic-inner\"><div class=\"basic-message hide\" style=\"border-left: 10px solid #008000; padding: 0px 10px;\" data-error=\"#ff0000\" data-success=\"#008000\"><p class=\"basic-message-text\" style=\"color:#000000; font-size:14px; font-weight:normal;\"><\/p><\/div><div class=\"basic-overlay hide\"><div class=\"basic-vote-options\"><\/div><div class=\"basic-preloader\"><div class=\"basic-windows8\"><div class=\"basic-wBall basic-wBall_1\"><div class=\"basic-wInnerBall\"><\/div><\/div><div class=\"basic-wBall basic-wBall_2\"><div class=\"basic-wInnerBall\"><\/div><\/div><div class=\"basic-wBall basic-wBall_3\"><div class=\"basic-wInnerBall\"><\/div><\/div><div class=\"basic-wBall basic-wBall_4\"><div class=\"basic-wInnerBall\"><\/div><\/div><div class=\"basic-wBall basic-wBall_5\"><div class=\"basic-wInnerBall\"><\/div><\/div><\/div><\/div><\/div><form class=\"basic-form\"><input type=\"hidden\" name=\"_token\" value=\"9cddcc0cb2\" autocomplete=\"off\"><div class=\"basic-elements\"><div class=\"basic-element basic-question basic-question-text-horizontal\" data-id=\"13\" data-uid=\"0fe22250296934736ecf05a2d9a4b04b\" data-type=\"question\" data-question-type=\"text\" data-allow-multiple=\"no\" data-min=\"1\" data-max=\"1\" data-display=\"horizontal\" data-colnum=\"\" data-display-others=\"no\" data-others-color=\"\" data-others=\"\"><div role=\"heading\" aria-level=\"5\" class=\"basic-question-title\" style=\"color:#ffffff; font-size:14px; font-weight:normal; text-align:center;\">Choose an option:<\/div><ul class=\"basic-answers basic-h-answers\"><li class=\"basic-answer col-xs-6 col-sm-6 col-md-3\" style=\"padding:0px 0px;\" data-id=\"67\" data-type=\"text\" data-vn=\"92\" data-color=\"#000000\" data-make-link=\"no\" data-link=\"\"><div class=\"basic-answer-content basic-text-horizontal\"><label for=\"answer[67]\" class=\"basic-answer-label\"><input type=\"radio\" id=\"answer[67]\" name=\"answer[13]\" value=\"67\" autocomplete=\"off\"><span class=\"basic-text\" style=\"color: #ffffff; font-size: 14px; font-weight: normal;\" tabindex=\"0\">a<\/span><\/label><\/div><\/li><li class=\"basic-answer col-xs-6 col-sm-6 col-md-3\" style=\"padding:0px 0px;\" data-id=\"68\" data-type=\"text\" data-vn=\"16\" data-color=\"#000000\" data-make-link=\"no\" data-link=\"\"><div class=\"basic-answer-content basic-text-horizontal\"><label for=\"answer[68]\" class=\"basic-answer-label\"><input type=\"radio\" id=\"answer[68]\" name=\"answer[13]\" value=\"68\" autocomplete=\"off\"><span class=\"basic-text\" style=\"color: #ffffff; font-size: 14px; font-weight: normal;\" tabindex=\"0\">b<\/span><\/label><\/div><\/li><li class=\"basic-answer col-xs-6 col-sm-6 col-md-3\" style=\"padding:0px 0px;\" data-id=\"69\" data-type=\"text\" data-vn=\"70\" data-color=\"#000000\" data-make-link=\"no\" data-link=\"\"><div class=\"basic-answer-content basic-text-horizontal\"><label for=\"answer[69]\" class=\"basic-answer-label\"><input type=\"radio\" id=\"answer[69]\" name=\"answer[13]\" value=\"69\" autocomplete=\"off\"><span class=\"basic-text\" style=\"color: #ffffff; font-size: 14px; font-weight: normal;\" tabindex=\"0\">c<\/span><\/label><\/div><\/li><li class=\"basic-answer col-xs-6 col-sm-6 col-md-3\" style=\"padding:0px 0px;\" data-id=\"126\" data-type=\"text\" data-vn=\"20\" data-color=\"#000000\" data-make-link=\"no\" data-link=\"\"><div class=\"basic-answer-content basic-text-horizontal\"><label for=\"answer[126]\" class=\"basic-answer-label\"><input type=\"radio\" id=\"answer[126]\" name=\"answer[13]\" value=\"126\" autocomplete=\"off\"><span class=\"basic-text\" style=\"color: #ffffff; font-size: 14px; font-weight: normal;\" tabindex=\"0\">d<\/span><\/label><\/div><\/li><\/ul><\/div><div class=\"clearfix\"><\/div><\/div><div class=\"basic-vote\"><a href=\"#\" class=\"button basic-vote-button\" role=\"button\" style=\"background:#ffffff; border:1px; border-style: solid; border-color:#000000; border-radius:0px; padding:5px 10px; color:#000000; font-size:14px; font-weight:normal;\">&gt;&gt;&gt;<\/a><\/div><\/form><div class=\"yop-poll-modal\"><div class=\"yop-poll-modal-content\"><div class=\"yop-poll-modal-header\"><span class=\"yop-poll-modal-close\">&times;<\/span><\/div><div class=\"yop-poll-modal-body\"><div class=\"yop-poll-form-group\"><label class=\"yop-poll-user-or-email-label\">Username or Email Address<\/label><input type=\"text\" class=\"yop-poll-user-or-email-input\" autocomplete=\"off\"><\/div><div class=\"yop-poll-form-group\"><label class=\"yop-poll-password-label\">Password<\/label><input type=\"password\" class=\"yop-poll-password-input\" autocomplete=\"off\"><\/div><div class=\"yop-poll-form-group submit\"><button class=\"button button-primary button-large yop-poll-login-button\">Log In<\/button><\/div><div class=\"yop-poll-form-group yop-poll-section-login-options\"><p><a href=\"https:\/\/control-advent.com\/wp-login.php?action=register\" target=\"_blank\">No account? Register here<\/a><\/p><p><a href=\"https:\/\/control-advent.com\/wp-login.php?action=lostpassword\" target=\"_blank\">Forgot password<\/a><\/p><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n\t\t\t\t\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <span class=\"more-link\"><a href=\"https:\/\/control-advent.com\/?p=503\" class=\"readmore\">Continue reading<span class=\"screen-reader-text\">08 &#8211; From Steam to Screams: the Mystery of the Overheated Cascade<\/span><\/a><\/span><\/p>\n","protected":false},"author":4,"featured_media":421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english"],"_links":{"self":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=503"}],"version-history":[{"count":4,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":953,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions\/953"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/media\/421"}],"wp:attachment":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}