@@ -676,17 +676,17 @@ def create_statefbk_iosystem(
676
676
If a gain scheduled controller is specified, specify the indices of
677
677
the controller input to use for scheduling the gain. The input to
678
678
the controller is the desired state xd, the desired input ud, and
679
- either the system state x or the system output y ( if an estimator is
679
+ the system state x ( or state estimate xhat, if an estimator is
680
680
given). The indices can either be specified as integer offsets into
681
681
the input vector or as strings matching the signal names of the
682
682
input vector.
683
683
684
684
gainsched_method : str, optional
685
- The method to use for gain scheduling. Possible values include
686
- `linear` (default), ` nearest` , and ` cubic` . More information is
687
- available in :func:`scipy.interpolate.griddata`. For points outside
688
- of the convex hull of the scheduling points, the gain at the nearest
689
- point is used.
685
+ The method to use for gain scheduling. Possible values are 'linear'
686
+ (default), ' nearest' , and ' cubic' . More information is available in
687
+ :func:`scipy.interpolate.griddata`. For points outside of the convex
688
+ hull of the scheduling points, the gain at the nearest point is
689
+ used.
690
690
691
691
type : 'linear' or 'nonlinear', optional
692
692
Set the type of controller to create. The default for a linear gain
@@ -700,20 +700,21 @@ def create_statefbk_iosystem(
700
700
-------
701
701
ctrl : InputOutputSystem
702
702
Input/output system representing the controller. This system takes
703
- as inputs the desired state xd , the desired input ud , and either the
704
- system state x or the estimated state xhat. It outputs the
705
- controller action u according to the formula u = ud - K(x - xd). If
706
- the keyword `integral_action` is specified, then an additional set
707
- of integrators is included in the control system (with the gain
708
- matrix K having the integral gains appended after the state gains).
709
- If a gain scheduled controller is specified, the gain (proportional
710
- and integral) are evaluated using the scheduling variables specified
711
- by ``gainsched_indices``.
703
+ as inputs the desired state ``xd`` , the desired input ``ud`` , and
704
+ either the system state ``x`` or the estimated state `` xhat`` . It
705
+ outputs the controller action u according to the formula :math:` u =
706
+ u_d - K(x - x_d)`. If the keyword `` integral_action`` is specified,
707
+ then an additional set of integrators is included in the control
708
+ system (with the gain matrix ``K`` having the integral gains
709
+ appended after the state gains). If a gain scheduled controller is
710
+ specified, the gain (proportional and integral) are evaluated using
711
+ the scheduling variables specified by ``gainsched_indices``.
712
712
713
713
clsys : InputOutputSystem
714
714
Input/output system representing the closed loop system. This
715
- systems takes as inputs the desired trajectory (xd, ud) and outputs
716
- the system state x and the applied input u (vertically stacked).
715
+ systems takes as inputs the desired trajectory ``(xd, ud)`` and
716
+ outputs the system state ``x`` and the applied input ``u``
717
+ (vertically stacked).
717
718
718
719
Other Parameters
719
720
----------------
0 commit comments