
{"id":3017,"date":"2020-10-29T12:10:16","date_gmt":"2020-10-29T10:10:16","guid":{"rendered":"https:\/\/www.digifai.com\/neues\/why-simulation-in-control-engineering-is-no-nonsense\/"},"modified":"2025-06-13T09:17:59","modified_gmt":"2025-06-13T07:17:59","slug":"why-simulation-in-control-engineering-is-no-nonsense","status":"publish","type":"post","link":"https:\/\/www.digifai.com\/en\/neues\/why-simulation-in-control-engineering-is-no-nonsense\/","title":{"rendered":"Why Simulation in Control Engineering Is No Nonsense"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row padding_top_multiplier=&#8221;4x&#8221; padding_bottom_multiplier=&#8221;4x&#8221; section_id=&#8221;introtext&#8221;][vc_column][vc_column_text]<\/p>\n<div class=\"card\">\n<div class=\"s_richtext\">\n<p>Absolute nonsense! That is the response of some colleagues when it comes to topics like 3D simulation, digital twins, or virtual commissioning in control engineering. The fact is, however, that many of these colleagues do not fully understand what is behind the topic of 3D simulation and what advantages it offers for control programmers. The possibilities are groundbreaking, if you dare to explore them.<\/p>\n<h3>My Approach to Simulation<\/h3>\n<p>For a long time I worked as a control engineer for precision measuring instruments. Anyone who is serious about control engineering does simulations long before a line of code is even written. First, mathematical models of the controlled system are created. Only these models make it possible to design efficient controls with the help of smart algorithms. The fact that controller and controlled system exist as a mathematical model makes a simulation of the entire control loop obvious: The control is simulated, i.e. tested, on the model of the controlled system. And testing means torpedoing the simulated control loop with every conceivable disturbance, pushing model parameters to their limits, trying out switch-on behavior under a wide variety of conditions &#8211; even calculation inaccuracies in the controller are tested in the simulation. Only when it is really guaranteed that the controller works as desired, code is written and tested on the real controlled system.<\/p>\n<p>And now guess what: The control actually works in reality! Of course, in most cases fine-tuning of the control parameters is necessary because the mathematical model usually represents reality only by approximation. But the structure of the controller, the switch-on behaviour, the reaction to disturbances, it all works!<\/p>\n<h3>Mathematical Modeling of a Machine?<\/h3>\n<p>In most applications, control engineering tasks do not require a mathematical model. They require engineering skills and logical thinking. Control engineers know their machines and are capable of developing PLC programs for even the most complex systems using a functional specification and an electrical schematic. Since programming is usually done parallel to the mechanical production of the machine, the control program can only be tested rudimentarily during development. Proper testing is carried out during the in-house commissioning or, if not otherwise possible, at the customer&#8217;s plant.<\/p>\n<p>Hold on. At the customer&#8217;s plant. You have to let that sink in.<\/p>\n<p>Is it really possible that we can only test PLC programs at the very end, namely when the machine has been fully assembled? Many conversations with control engineers and managers in the industry have reconfirmed one thing for me: Nobody wants to voluntarily change an existing and functioning PLC program, especially not if it has been growing over the years. Precisely because changes and their effects can only be tested on the actual machine. Nevertheless, we have to do exactly that.<\/p>\n<h3>Why Is That So?<\/h3>\n<p>Complete testing of control software is not exactly a trivial matter. The mechanical production and assembly of machines usually takes a long time, i.e. the programming of the controller starts even before the machine is actually available. The machines are often large and can be set up only partially, if at all, within the own company premises. When retrofitting existing systems &#8211; meaning upgrading the control technology components &#8211; downtime should be kept as short as necessary, so testing is only possible to a limited extent.<\/p>\n<p>Now it would be wrong to say that control programs are not being tested today. On the contrary! Control engineers are creative and have developed various simulation modes and modules in their code. The problem with that? These are mostly structures which are not based on physical laws and therefore difficult to extend or unfortunately very prone to errors.<\/p>\n<p>Let me give you an example: Consider a conveyor belt with a light barrier at the beginning and end of the line. The direction of the conveyor belt is supposed to change when a bottle interrupts the corresponding light barrier. A simple approach to test the function would be to program a simulation module that switches the signals of the light barriers accordingly after a fixed time. But what if the size of the bottles changes? What if there are two bottles on the conveyor belt?<\/p>\n<\/div>\n<\/div>\n<p>[\/vc_column_text]<div class=\"eut-empty-space eut-height-3x\" style=\"\"><\/div><video class=\"eut-element eut-embed-video\"  controls poster=\"https:\/\/www.digifai.com\/wp-content\/uploads\/2019\/04\/Sensor-Actor-HIL-Demonstration_cut_20190405.jpg\"><source src=\"https:\/\/www.digifai.com\/wp-content\/uploads\/2019\/04\/Sensor-Actor-HIL-Demonstration_cut_20190405_1.webm\" type=\"video\/webm\"><source src=\"https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/05\/Sensor-Actor-HIL-Demonstration_cut_20190405.mp4\" type=\"video\/mp4\"><\/video><div class=\"eut-empty-space eut-height-3x\" style=\"\"><\/div>[vc_column_text]You are already getting the idea, aren&#8217;t you? To be able to test PLC programs realistically, we ultimately need the machine. We have to be able to specify control variables on actuators and need realistic feedback from sensors.<\/p>\n<h3>Physics Based Simulation in 3D<\/h3>\n<p>Or would a simulated machine also help, which behaves exactly like the real machine from the controller&#8217;s point of view? Actually yes! Modern simulation programs enable us to achieve exactly that. Without any specialized simulation know-how, we can bring machines to life digitally and in 3D and connect them to the real control system. Even safety signals are possible with the simulated machine. So here the machine simulation offers us the possibility to test our PLC program in its entirety. Simulation markers and special adjustments to the program are no longer necessary. Some call it virtual commissioning, others refer to it as a digital twin. I see this as a new era in control engineering.<\/p>\n<h3>Do We Really Have to Do Something Now?<\/h3>\n<p>In my opinion, the answer is a resounding YES! The machines we build become more efficient from generation to generation. While looking through our project archives, I came across a machine whose first generation is now ten years old. A comparison with the current generation shows the following:[\/vc_column_text]<div class=\"eut-empty-space eut-height-3x\" style=\"\"><\/div>[vc_column_text]\n<table id=\"tablepress-1\" class=\"tablepress tablepress-id-1\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Was<\/th><th class=\"column-2\">\u00c4nderung<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Taktzeit<\/td><td class=\"column-2\">100 % mehr Durchsatz<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">Anzahl mechanischer Freiheitsgrade<\/td><td class=\"column-2\">100 % hinzu<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Qualit\u00e4tssicherung<\/td><td class=\"column-2\">100 % Kontrolle mit Bildverarbeitung<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Reduktion der R\u00fcstzeit durch automatische Abl\u00e4ufe<\/td><td class=\"column-2\">Neu hinzu<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Unterst\u00fctzung der Anlagenbediener im Fehlerfall<\/td><td class=\"column-2\">Neu hinzu<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">Betriebsdatenerfassung<\/td><td class=\"column-2\">Neu hinzu<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">Anzahl Funktionen und Funktionsbausteine im SPS-Programm<\/td><td class=\"column-2\">200 % hinzu<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">Sicherheitsprogramm in der SPS<\/td><td class=\"column-2\">Neu hinzu<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-1 from cache -->[\/vc_column_text]<div class=\"eut-empty-space eut-height-3x\" style=\"\"><\/div>[vc_column_text]Why do I use this example? It makes one thing very clear and I&#8217;m sure you&#8217;ll agree with me: machines are constantly being developed and improved. They become more efficient. The software takes over more tasks. It becomes more complex.<\/p>\n<p>And this brings us back to the topic of simulation. In order to be able to sustainably program good control software, we have to change our way of thinking &#8211; a paradigm shift is needed: We have to start testing control software while we program it. And not only during the in-house commissioning, or worse, at the customer&#8217;s facility! The goal should be to start the commissioning process with a fully tested control software. Of course, adjustments to the parameters are still going to be necessary &#8211; the simulation only reflects reality in an idealized way. But when we start commissioning, we already know that processes, error messages, recipe management, etc. work. And believe me, this knowledge will help you sleep much better :-)[\/vc_column_text][\/vc_column][\/vc_row][vc_row heading_color=&#8221;light&#8221; bg_type=&#8221;color&#8221; padding_top_multiplier=&#8221;4x&#8221; padding_bottom_multiplier=&#8221;4x&#8221; font_color=&#8221;#ffffff&#8221; margin_bottom=&#8221;0&#8243; bg_color=&#8221;#0a3b61&#8243;][vc_column css=&#8221;.vc_custom_1588863781753{padding-top: 0px !important;padding-bottom: 0px !important;}&#8221;][vc_row_inner css=&#8221;.vc_custom_1588162622076{padding-top: 0px !important;padding-bottom: 0px !important;}&#8221;][vc_column_inner width=&#8221;1\/2&#8243; tablet_sm_width=&#8221;11-12&#8243;]<h3 class=\"eut-element eut-title eut-align-left eut-subtitle-text subhead\" style=\"margin-bottom: 20px;\"><span>\/\/ Request Demo<\/span><\/h3><h2 class=\"eut-element eut-title eut-align-left eut-h2\" style=\"\"><span>Test the simulation software now!<\/span><\/h2><div class=\"eut-empty-space eut-height-1x\" style=\"\"><\/div><div class=\"eut-element eut-align-left two-buttons\"><a href=\"#demo\" class=\"eut-btn eut-btn-medium eut-extra-round eut-bg-primary-1 eut-bg-hover-primary-4 button-gradient eut-modal-popup\"><span>Request Demo<\/span><\/a><\/div><div class=\"eut-empty-space\" style=\"height: 0px;\"><\/div>[\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243; tablet_sm_width=&#8221;1&#8243;]<div class=\"eut-element eut-image eut-align-center eut-full-image eut-image-space-100\" style=\"\">  <div class=\"eut-image-wrapper\"><img loading=\"lazy\" decoding=\"async\" width=\"2500\" height=\"1667\" src=\"https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/04\/magic-keyboard-1109543.jpg\" class=\"attachment-full size-full\" alt=\"digifai webinare\" srcset=\"https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/04\/magic-keyboard-1109543.jpg 2500w, https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/04\/magic-keyboard-1109543-300x200.jpg 300w, https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/04\/magic-keyboard-1109543-1024x683.jpg 1024w, https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/04\/magic-keyboard-1109543-768x512.jpg 768w, https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/04\/magic-keyboard-1109543-1536x1024.jpg 1536w, https:\/\/www.digifai.com\/wp-content\/uploads\/2020\/04\/magic-keyboard-1109543-1920x1280.jpg 1920w\" sizes=\"auto, (max-width: 2500px) 100vw, 2500px\" \/>   <\/div><\/div>[\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row padding_top_multiplier=&#8221;4x&#8221; padding_bottom_multiplier=&#8221;4x&#8221; section_id=&#8221;introtext&#8221;][vc_column]<h3 class=\"eut-element eut-title eut-align-left eut-h3\" style=\"\"><span><br>\n<h4><span class=\"s1\">We have a lot to share. Be it success stories, events, new products or exciting research findings &#8211; it&#8217;s worth the click. <\/span><\/h4>\n<\/span><\/h3><div class=\"eut-empty-space eut-height-2x\" style=\"\"><\/div><div class=\"eut-element eut-align-left two-buttons\"><a href=\"https:\/\/www.digifai.com\/en\/news\/\" title=\"News\" class=\"eut-btn eut-btn-medium eut-extra-round eut-bg-primary-5 eut-bg-hover-primary-4 button-gradient\"><span>More News<\/span><\/a><\/div>[\/vc_column][\/vc_row][vc_row padding_top_multiplier=&#8221;&#8221; padding_bottom_multiplier=&#8221;&#8221;][vc_column]<div class=\"templatera_shortcode\"><div class=\"eut-section eut-row-section eut-fullwidth-background eut-bg-none\"><div class=\"eut-container\"><div class=\"eut-row eut-bookmark eut-columns-gap-30\"><div class=\"eut-column wpb_column eut-column-1\" ><div class=\"eut-column-wrapper\" >\t\t\t<div class=\"eut-modal-element mfp-hide eut-modal-dialog eut-bg-white eut-drop-shadow eut-content-large eut-headings-light\" id=\"demo\">\r\n\t\t\t\t<div class=\"eut-section eut-modal-section\">\r\n\t\t\t\t\t<div class=\"eut-container\">\r\n\t\t\t\t\t\t<div class=\"eut-row eut-columns-gap-30\">\r\n\t\t\t\t\t\t\t<div class=\"eut-column eut-column-1\">\r\n\t\t\t\t\t\t\t<div class=\"eut-row-inner eut-bookmark vc_custom_1601366007529\">\r\n\t\t<div class=\"eut-column-inner wpb_column eut-column-1\">\r\n\t\t\t<div class=\"eut-column-wrapper-inner\">\r\n\t\t\t<h3 class=\"eut-element eut-title eut-align-left eut-subtitle-text subhead\" style=\"margin-bottom: 20px;\"><span>\r\n<p style=\"text-align: left;\">\/\/ Request Demo<br>\r\n<\/span><\/h3><h2 class=\"eut-element eut-title eut-align-left eut-h3\" style=\"\"><span><span style=\"color: #0a3b61;\">Our products have made you curious? We are happy about that! We would be happy to show you the possibilities during a live demonstration.\r\n<\/span><\/span><\/h2><div class=\"eut-empty-space eut-height-1x\" style=\"\"><\/div>\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f7238-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"7238\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/en\/wp-json\/wp\/v2\/posts\/3017#wpcf7-f7238-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"7238\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.6\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f7238-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/>\n<\/fieldset>\n<div class=\"eut-form eut-fields-round eut-align-left\">\n\t<div class=\"eut-fields-wrapper\">\n\t\t<div class=\"formular\">\n\t\t\t<p><label class=\"label-2\">Salutation<span class=\"wpcf7-form-control-wrap\" data-name=\"your-salutation\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text\" aria-invalid=\"false\" placeholder=\"Salutation\" value=\"\" type=\"text\" name=\"your-salutation\" \/><\/span><\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"formular\">\n\t\t\t<p><label class=\"label-2\">First name* <span class=\"wpcf7-form-control-wrap\" data-name=\"your-firstname\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"First name\" value=\"\" type=\"text\" name=\"your-firstname\" \/><\/span><\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"formular\">\n\t\t\t<p><label class=\"label-2\">Last name* <span class=\"wpcf7-form-control-wrap\" data-name=\"your-lastname\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Last name\" value=\"\" type=\"text\" name=\"your-lastname\" \/><\/span><\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"formular\">\n\t\t\t<p><label class=\"label-2\">Company* <span class=\"wpcf7-form-control-wrap\" data-name=\"your-company\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Company\" value=\"\" type=\"text\" name=\"your-company\" \/><\/span><\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"formular\">\n\t\t\t<p><label class=\"label-2\">E-Mail* <span class=\"wpcf7-form-control-wrap\" data-name=\"your-email\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"E-Mail\" value=\"\" type=\"email\" name=\"your-email\" \/><\/span><\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"formular\">\n\t\t\t<p><label class=\"label-2\">Product <span class=\"wpcf7-form-control-wrap\" data-name=\"product-menu\"><select class=\"wpcf7-form-control wpcf7-select\" aria-invalid=\"false\" name=\"product-menu\"><option value=\"twin \u2013 Virtual Commissioning with the Digital Twin\">twin \u2013 Virtual Commissioning with the Digital Twin<\/option><option value=\"control \u2013 The IoT Platform\">control \u2013 The IoT Platform<\/option><option value=\"storage \u2013 The Expert in Cheese Cellar Logistics\">storage \u2013 The Expert in Cheese Cellar Logistics<\/option><\/select><\/span><\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"formular\">\n\t\t\t<p><label class=\"label-2\">Message<span class=\"wpcf7-form-control-wrap\" data-name=\"your-message\"><textarea cols=\"40\" rows=\"10\" maxlength=\"2000\" class=\"wpcf7-form-control wpcf7-textarea\" aria-invalid=\"false\" placeholder=\"Message\" name=\"your-message\"><\/textarea><\/span><\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"checkbox\">\n\t\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"acceptance-540\"><span class=\"wpcf7-form-control wpcf7-acceptance\"><span class=\"wpcf7-list-item\"><label><input type=\"checkbox\" name=\"acceptance-540\" value=\"1\" aria-invalid=\"false\" \/><span class=\"wpcf7-list-item-label\">I have read the <a href=\"https:\/\/www.digifai.com\/datenschutz\/\">TOS<\/a><\/span><\/label><\/span><\/span><\/span>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"pflichtfeld\">\n\t\t\t<p>*Required\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div>\n\t\t\t<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner button-gradient\" type=\"submit\" value=\"Send request\" \/>\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<p class='gatupa'><span class=\"wpcf7-form-control-wrap\" data-name=\"gatupa\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"gatupa\" \/><\/span>\n<\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t\t<\/div><\/div><\/div><\/div><div class=\"eut-background-wrapper\"><\/div><\/div><\/div>[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Virtual commissioning and 3D simulation: topics which are still being ridiculed in control engineering. Nonetheless, the possibilities are revolutionary!<\/p>\n","protected":false},"author":1,"featured_media":1353,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-3017","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-twin-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/posts\/3017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/comments?post=3017"}],"version-history":[{"count":11,"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/posts\/3017\/revisions"}],"predecessor-version":[{"id":7482,"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/posts\/3017\/revisions\/7482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/media\/1353"}],"wp:attachment":[{"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/media?parent=3017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/categories?post=3017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digifai.com\/en\/wp-json\/wp\/v2\/tags?post=3017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}