
public class TempControl
extends org.lsst.ccs.framework.ConfigurableComponent
| Constructor and Description |
|---|
TempControl(double gain,
double timeConst,
double smoothTime,
double maxOutput,
double awGain,
double basePower,
double tolerance,
int updateTime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(List tempChans,
PowerDevice powerDevc,
Logger log)
Initializes the parameters.
|
void |
reset()
Resets the controller.
|
void |
restart()
Restarts the control loop.
|
void |
setTemp(double value)
Sets the target temperature.
|
void |
start(double power)
Starts the control loop.
|
void |
stop()
Stops the control loop.
|
getChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalias, change, getCheckedValueFromConfiguration, getComponentByName, getDictionary, getName, getParent, getParentObject, getSubsystem, init, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, proceduralWalk, publish, publish, publish, publish, publish, publish, shutdownNow, start, treeWalkpublic TempControl(double gain,
double timeConst,
double smoothTime,
double maxOutput,
double awGain,
double basePower,
double tolerance,
int updateTime)
gain - The loop gaintimeConst - The time constant (sec)smoothTime - The smoothing time (sec)maxOutput - The maximum output power allowed (watts)awGain - The anti-windup gainbasePower - The base power input (watts)tolerance - The maximum tolerated error (percent)updateTime - The update time interval (msec)public void initialize(List tempChans, PowerDevice powerDevc, Logger log)
tempChans - The list of temperature channels used for inputpowerDevc - The power device being controlledlog - The logger to usepublic void setTemp(double value)
value - The temperature to setpublic void reset()
public void restart()
public void start(double power)
power - The starting power valuepublic void stop()
Copyright © 2016 LSST. All rights reserved.