|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--RtjAocsFramework.Factories.ControllerFactory
Framework-level factory for the controller component. This factory creates the controller manager and the lists that will hold the controllers associated to each operational mode.
Copyright: see the Copyright Notice.
| Constructor Summary | |
ControllerFactory()
Create the controller manager and the the lists that will hold the controllers associated to each operational mode. |
|
| Method Summary | |
ControllerList |
getControllerList(short mode)
Return the controller list associated to mode mode.
|
ControllerManager |
getControllerManager()
Return the controller manager. |
Controller |
makeController(DataSource measurementInput,
DataSource referenceInput,
DataSink actuatorCommand,
AbstractControlChannel compensator,
RecoveryAction instabilityRecoveryAction)
Construct, configure and return a minimal controller implementation. |
Controller |
makeController(DataSource measurementInput,
DataSource referenceInput,
DataSource feedforwardInput,
DataSink actuatorCommand,
DataSink compensatorOutput,
DataSink controlError,
AbstractControlChannel compensator,
AbstractControlChannel measurementFilter,
AbstractControlChannel referenceInputFilter,
AbstractControlChannel feedforwardFilter,
RecoveryAction instabilityRecoveryAction)
Construct, configure and return a complete controller implementation. |
AbstractControlChannel |
makePID(double kp,
double ki,
double kd,
double maximumDerivative,
RecoveryAction recoveryAction)
Creates a control block implementing a PID transfer function. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ControllerFactory()
| Method Detail |
public ControllerList getControllerList(short mode)
mode.
The controller lists are constructed in the constructor.
public ControllerManager getControllerManager()
public Controller makeController(DataSource measurementInput,
DataSource referenceInput,
DataSink actuatorCommand,
AbstractControlChannel compensator,
RecoveryAction instabilityRecoveryAction)
measurementInput - the data source from which the measurements of the controller variable are takenreferenceInput - the data source from which the reference for the controller is takenactuatorCommand - the data sink where the actuator command generated by the controller is writtencompensator - the control channel implementing the compensator transfer functioninstabilityRecoveryAction - the recovery action associated to the failure declared when an instability in the controller is
detected
public Controller makeController(DataSource measurementInput,
DataSource referenceInput,
DataSource feedforwardInput,
DataSink actuatorCommand,
DataSink compensatorOutput,
DataSink controlError,
AbstractControlChannel compensator,
AbstractControlChannel measurementFilter,
AbstractControlChannel referenceInputFilter,
AbstractControlChannel feedforwardFilter,
RecoveryAction instabilityRecoveryAction)
measurementInput - the data source from which the measurements of the controller variable are takenreferenceInput - the data source from which the reference for the controller is takenfeedforwardInput - the data source from which the feedforward signal for the controller is takenactuatorCommand - the data sink where the actuator command generated by the controller is writtencompensatorOutput - the data sink where the output of the controller compensator is writtencontrolError - the data sink where the controller error is writtencompensator - the control channel implementing the compensator transfer functionmeasurementFilter - the control channel implementing the transfer function to filter the measurementsreferenceInputFilter - the control channel implementing the transfer function to filter the reference signalfeedforwardFilter - the control channel implementing the transfer function to filter the feedforward signalinstabilityRecoveryAction - the recovery action associated to the failure declared when an instability in the controller is
detected
public AbstractControlChannel makePID(double kp,
double ki,
double kd,
double maximumDerivative,
RecoveryAction recoveryAction)
kp - proportional gainkd - derivative gainki - integral gainmaximumDerivative - saturation value for the derivative termrecoveryAction - recovery action associated to all control channels
used in the PID block
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||