Class TempControl
java.lang.Object
org.lsst.ccs.subsystem.focalplane.TempControl
- All Implemented Interfaces:
org.lsst.ccs.framework.HasLifecycle
Implements a temperature controller for the rafts system.
- Author:
- The LSST CCS Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()Start temperature control task.voidpostInit()voidsetActive(boolean active) voidsetCoefD(double value) voidsetCoefI(double value) voidsetCoefP(double value) voidsetMaxOutput(double maxOutput) voidsetPowerRebs(String[] rebs) Change the list of rebs used to control the raft temperature.voidsetTemperature(double temp) Sets the target temperature.voidsetTemperatureChannels(String[] tempChans) voidsetTimeConst(double timeConst) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lsst.ccs.framework.HasLifecycle
init, postBuild, postShutdown, postStart, shutdown, start
-
Constructor Details
-
TempControl
public TempControl()
-
-
Method Details
-
build
public void build()Start temperature control task.- Specified by:
buildin interfaceorg.lsst.ccs.framework.HasLifecycle
-
postInit
public void postInit()- Specified by:
postInitin interfaceorg.lsst.ccs.framework.HasLifecycle
-
setActive
@ConfigurationParameterChanger(propertyName="active") public void setActive(boolean active) -
setMaxOutput
@ConfigurationParameterChanger(propertyName="maxOutput") public void setMaxOutput(double maxOutput) -
setTimeConst
@ConfigurationParameterChanger(propertyName="timeConst") public void setTimeConst(double timeConst) -
setCoefP
@ConfigurationParameterChanger(propertyName="coefP") public void setCoefP(double value) -
setCoefI
@ConfigurationParameterChanger(propertyName="coefI") public void setCoefI(double value) -
setCoefD
@ConfigurationParameterChanger(propertyName="coefD") public void setCoefD(double value) -
setTemperature
@ConfigurationParameterChanger(propertyName="setTemp") public void setTemperature(double temp) Sets the target temperature.- Parameters:
temp- The temperature to set
-
setTemperatureChannels
@ConfigurationParameterChanger(propertyName="tempChans") public void setTemperatureChannels(String[] tempChans) -
setPowerRebs
Change the list of rebs used to control the raft temperature. NOTE: when the rebs are changed we need to synchronize as the iterateLoop could be invoked on another thread and reset the heater power while we are removing/adding rebs.- Parameters:
rebs-
-