{"id":3448,"date":"2019-02-12T16:09:13","date_gmt":"2019-02-12T16:09:13","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/11-control-systems\/calc_gains\/"},"modified":"2026-02-05T14:24:04","modified_gmt":"2026-02-05T19:24:04","slug":"calc_gains","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/7-control-systems\/calc_gains\/","title":{"rendered":"calc_gains"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Compute recommended proportional, integral, and derivative gains for a control loop based on user-provided inputs.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><b>calc_gains<\/b><\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<p>The program will prompt for three values:<\/p>\n<\/dd>\n<\/dl>\n<dl>\n<dd>\n<div>\n<table style=\"width: 74.3%; height: 69px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 23px;\">\n<td style=\"width: 10.8745%; height: 23px;\">ku\u00a0<\/td>\n<td style=\"width: 385.696%; height: 23px;\">Specify ultimate gain.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"width: 10.8745%; height: 23px;\">cyc<\/td>\n<td style=\"width: 385.696%; height: 23px;\">Specify the number of cycles.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"width: 10.8745%; height: 23px;\">sec<\/td>\n<td style=\"width: 385.696%; height: 23px;\">Specify the time for cycles.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>calc_gains<\/strong><\/p>\n<p>Respond to the prompts with values. For example: Enter 10 for ku, 5 for cyc, and 20 for sec.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The program outputs aggressive and conservative gains based on the provided inputs.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/7-control-systems\/autotune\/\">autotune<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Compute recommended proportional, integral, and derivative gains for a control loop based on user-provided inputs. Enter: calc_gains Where: The program will prompt for three values: ku\u00a0 Specify ultimate gain. cyc Specify the number of cycles. sec Specify the time for cycles. Example: calc_gains Respond to the prompts with values. For example: Enter 10 for [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1958,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3448","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3448"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3448\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1958"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}