{"id":3589,"date":"2019-02-12T16:09:27","date_gmt":"2019-02-12T16:09:27","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/11-control-systems\/dy_gains\/"},"modified":"2025-08-29T11:27:56","modified_gmt":"2025-08-29T16:27:56","slug":"dy_gains","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/7-control-systems\/dy_gains\/","title":{"rendered":"dy_gains"},"content":{"rendered":"<div>\u00a0<\/div>\n<h3>Purpose:<\/h3>\n<dl>\n<dd>Set the proportional, integral, and derivative gains for the dyno control loop based on provided arguments.<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd><strong>dy_gains\u00a0<\/strong>&lt;P&gt; &lt;I&gt; &lt;D&gt; [+s] [m=mode] [+f]\u00a0<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 90.23%; height: 320px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 2.97%; height: 24px;\">P<\/td>\n<td style=\"width: 96.7%; height: 24px;\">Specify the desired Proportional gain for the dyno controller.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 2.97%; height: 24px;\">I<\/td>\n<td style=\"width: 96.7%; height: 24px;\">Specify the desired Integral gain for the dyno controller.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 2.97%; height: 24px;\">D<\/td>\n<td style=\"width: 96.7%; height: 24px;\">Specify the desired Derivative gain for the dyno controller.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 2.97%; height: 24px;\">+s<\/td>\n<td style=\"width: 96.7%; height: 24px;\">Optional. Specify this flag to\u00a0indicate the gains should be written to the ctrl_specs.NNN file.<\/td>\n<\/tr>\n<tr style=\"height: 200px;\">\n<td style=\"width: 2.97%; height: 200px;\">m=mode<\/td>\n<td style=\"width: 96.7%; height: 200px;\">\n<p>Optional. Specify one of the following to indicate the target engine control mode. Gains are specific to each mode. <br \/>\n1\u00a0=&gt;\u00a0DYNO_DYNO_TORQUE<br \/>\n2\u00a0=&gt;\u00a0DYNO_NET_TORQUE<br \/>\n3\u00a0=&gt;\u00a0DYNO_OTHER<br \/>\n4\u00a0=&gt;\u00a0DYNO_SPEED<br \/>\n5\u00a0=&gt;\u00a0DYNO_SPEED<br \/>\n6\u00a0=&gt;\u00a0DYNO_SPEED<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 2.97%; height: 24px;\">+f<\/td>\n<td style=\"width: 96.7%; height: 24px;\">Optional. Specify this flag to ignore the sign check for gains.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd><strong>dy_gains\u00a0<\/strong>\u00a0 .05 \u00a0 .006 \u00a0 .01<br \/>\nThe above command sets the gains of the dyno controller to:<\/p>\n<p>Proportional gain = .05 <br \/>\nIntegral gain = .006 <br \/>\nDerivative gain = .01<\/p>\n<p><strong>dy_gains<\/strong> \u00a0 .05 \u00a0 .006 \u00a0 .01\u00a0 +s \u00a0\u00a0 m=2\u00a0 +f<br \/>\nNOTE: The first 3 values entered must always be the 3 gains. The other options follow.<\/p>\n<p>The above command sets the gains of the dyno controller to:<\/p>\n<p>Proportional gain = .05 <br \/>\nIntegral gain = .006 <br \/>\nDerivative gain = .01<\/p>\n<p>Also, the spec file is rewritten and the mode control value set to 1. No operator interaction is needed if the sign of the gains is not correct.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Ensure that the gains have the correct sign based on the control mode to avoid interactive prompts.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd><a href=\"\/index.php\/usage-help-manual\/7-control-systems\/dy_ramp\/\">dy_ramp<\/a>, <a href=\"\/index.php\/usage-help-manual\/7-control-systems\/th\/\">th<\/a>, <a href=\"\/index.php\/usage-help-manual\/7-control-systems\/th_ramp\/\">th_ramp<\/a>, <a href=\"\/index.php\/usage-help-manual\/7-control-systems\/th_gains\/\">th_gains<\/a>, <a href=\"\/wp-content\/uploads\/EngineControls.pdf\">CyFlex Engine Controls<\/a><\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Purpose: Set the proportional, integral, and derivative gains for the dyno control loop based on provided arguments. Enter: dy_gains\u00a0&lt;P&gt; &lt;I&gt; &lt;D&gt; [+s] [m=mode] [+f]\u00a0 Where: P Specify the desired Proportional gain for the dyno controller. I Specify the desired Integral gain for the dyno controller. D Specify the desired Derivative gain for the dyno [&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-3589","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3589","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=3589"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3589\/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=3589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}