|
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.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.ControllerManagement.Controller
The Controller class is the class encapsulating a SISO controller. The controller transfer function blocks are the abstract control channels to which class Controller holds multiple references.
Change Record:
| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
Controller()
Controller |
|
| Method Summary | |
void |
doControl()
A call to this method causes the current measurements to be propagated through the control system and the controller outputs to be accordingly updated. |
AbstractControlChannel |
getCompensator()
Gets the control channel which implements the compensator transfer function for this Controller. |
AbstractControlChannel |
getFeedforwardFilter()
Gets the control channel which implements the feedforward filter transfer function for this Controller. |
RecoveryAction |
getInstabilityRecoveryAction()
Getter methods for the recovery action associated to the controller instability condition. |
AbstractControlChannel |
getMeasurementFilter()
Gets the control channel which implements the measurement filter transfer function for this Controller. |
AbstractControlChannel |
getReferenceSignalFilter()
Gets the control channel which implements the reference signal filter transfer function for this Controller. |
int |
getTelemetryImageLength()
Return the length in bits of the telemetry image that would be written by the object in response to a call to method writeToTelemetry. |
boolean |
isConfigured()
Checks the configuration. |
boolean |
isOnHold()
Returns true if the controller is in "hold" mode. |
boolean |
isStable()
A call to this method directs the controller object to perform an internal stability check. |
void |
linkActuatorCommand(DataSink d)
Links the specified DataSink to the Output Actuator Command. |
void |
linkCompensatorOutput(DataSink d)
Links the specified DataSink to the Compensator Output. |
void |
linkControllerError(DataSink d)
Links the specified DataSink to the Output Control Error. |
void |
linkFeedforwardSignal(DataSource d)
Links the specified DataSource to the Input Feedforward Signal. |
void |
linkReferenceSignal(DataSource d)
Links the specified DataSource to the Input Reference Signal. |
void |
linkSensorMeasurement(DataSource d)
Links the specified DataSource to the Input Sensor Measurement. |
void |
reset()
Resets super object state and performs the local reset. |
void |
resetConfiguration()
Resets configuration of the super object and performs the local reset of the configuration. |
void |
setActuatorCommand(DataSink d)
This method is identical to method linkActuatorCommand. |
void |
setClosedLoop()
The method for switching between open and closed loop operational mode. |
void |
setCommandLimits(double high,
double low)
Sets maximum and minimum limits on actuator command output. |
void |
setCompensator(AbstractControlChannel c)
Sets the control channel which implements the compensator transfer function for this Controller. |
void |
setCompensatorOutput(DataSink d)
This method is identical to method linkCompensatorOutput. |
void |
setControllerError(DataSink d)
This method is identical to method linkControllerError. |
void |
setFeedforwardFilter(AbstractControlChannel c)
Sets the control channel which implements the feedforward filter transfer function for this Controller. |
void |
setFeedforwardSignal(DataSource d)
This method is identical to method linkFeedforwardSignal. |
void |
setInstabilityRecoveryAction(RecoveryAction r)
Setter method for the recovery action associated to the controller instability condition. |
void |
setMeasurementFilter(AbstractControlChannel c)
Sets the control channel which implements the measurement filter transfer function for this Controller. |
void |
setOnHold(boolean holdStatus)
Puts the controller in "hold" mode: inputs no longer propagated and internal state and external outputs are not updated. |
void |
setOpenLoop()
The method for switching between open and closed loop operational mode. |
void |
setReferenceSignal(DataSource d)
This method is identical to method linkReferenceSignal. |
void |
setReferenceSignalFilter(AbstractControlChannel c)
Sets the control channel which implements the reference signal filter transfer function for this Controller. |
void |
setSensorMeasurement(DataSource d)
This method is identical to method linkSensorMeasurement. |
void |
unSetCommandLimits()
Removes maximum and minimum limits on actuator command output. |
void |
writeToTelemetry(TelemetryStream stream)
Causes the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.BasicObjects.RootObject |
getClassId, getInstanceId, setClassId |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Controller()
| Method Detail |
public void reset()
reset in interface Resettablereset in class AocsObjectpublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class AocsObjectpublic boolean isConfigured()
isConfigured in interface ConfigurableisConfigured in class AocsObjectpublic int getTelemetryImageLength()
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class AocsObjectpublic void writeToTelemetry(TelemetryStream stream)
writeToTelemetry in interface TelemeterablewriteToTelemetry in class AocsObjectstream - the telemetry streampublic void setCompensator(AbstractControlChannel c)
c - control channel to be used as compensator transfer function for this Controllerpublic AbstractControlChannel getCompensator()
public void setMeasurementFilter(AbstractControlChannel c)
c - control channel to be used as measurement filter for this Controllerpublic AbstractControlChannel getMeasurementFilter()
public void setFeedforwardFilter(AbstractControlChannel c)
c - control channel to be used as the feedforward filterpublic AbstractControlChannel getFeedforwardFilter()
public void setReferenceSignalFilter(AbstractControlChannel c)
c - control channel to be used as the reference signal filterpublic AbstractControlChannel getReferenceSignalFilter()
public void linkReferenceSignal(DataSource d)
d - a data sourcepublic void setReferenceSignal(DataSource d)
linkReferenceSignal.
d - a data sourcepublic void linkSensorMeasurement(DataSource d)
d - a data sourcepublic void setSensorMeasurement(DataSource d)
linkSensorMeasurement.
d - a data sourcepublic void linkFeedforwardSignal(DataSource d)
d - a data sourcepublic void setFeedforwardSignal(DataSource d)
linkFeedforwardSignal.
d - a data sourcepublic void linkActuatorCommand(DataSink d)
d - a data sinkpublic void setActuatorCommand(DataSink d)
linkActuatorCommand.
d - a data sinkpublic void linkCompensatorOutput(DataSink d)
d - a data sinkpublic void setCompensatorOutput(DataSink d)
linkCompensatorOutput.
d - a data sinkpublic void linkControllerError(DataSink d)
d - a data sinkpublic void setControllerError(DataSink d)
linkControllerError.
d - a data sink
public void setCommandLimits(double high,
double low)
high - upper limit on actuator commandlow - lower limit on actuator commandpublic void unSetCommandLimits()
public boolean isStable()
public void setInstabilityRecoveryAction(RecoveryAction r)
r - a recovery actionpublic RecoveryAction getInstabilityRecoveryAction()
public void setOpenLoop()
public void setClosedLoop()
public void setOnHold(boolean holdStatus)
holdStatus - is true, the state propagation is suspended, when is
false is resumed.public boolean isOnHold()
public void doControl()
|
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 | ||||||||||