Ejemplo n.º 1
0
 /// <summary>
 /// Optimize a controller for a specific control loop
 /// </summary>
 /// <param name="control_loop">The PT2-control (with damping smaller-equal 1) loop in your Schematic</param>
 /// <param name="controller">The I-controller you want to optimize</param>
 public static void Controller(PT2_wdse1 control_loop, Controller_I controller)
 {
     controller._Ti = 4*control_loop._d*control_loop._T*control_loop._Vs;
     controller.recalc_coefficients();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Optimize a controller for a specific control loop
 /// </summary>
 /// <param name="control_loop">The PT1-control loop in your Schematic</param>
 /// <param name="controller">The I-controller you want to optimize</param>
 public static void Controller(PT1 control_loop, Controller_I controller)
 {
     controller._Ti = 2 * control_loop._Vs * control_loop._T1;
     controller.recalc_coefficients();
 }