Compare commits
1 commit
master
...
step_ophea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2eb06a295f |
2 changed files with 6 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ class HK_SOLO(object):
|
||||||
# Reduce the target temperature to accomodate the
|
# Reduce the target temperature to accomodate the
|
||||||
# estimated opheater duty cycle.
|
# estimated opheater duty cycle.
|
||||||
TT=T
|
TT=T
|
||||||
for n in range(5):
|
for n in range(10):
|
||||||
TTT = cls.ADC_to_T(A + dc_estimate)
|
TTT = cls.ADC_to_T(A + dc_estimate)
|
||||||
TT -= TTT-T
|
TT -= TTT-T
|
||||||
A = cls.T_to_ADC(TT)
|
A = cls.T_to_ADC(TT)
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,8 @@ class step_ppss(ppss_table):
|
||||||
DEADTIME_cadence = 60
|
DEADTIME_cadence = 60
|
||||||
OH_SETPOINT_C = -35 # °C
|
OH_SETPOINT_C = -35 # °C
|
||||||
OH_DC_ESTIMATE = 70 # %
|
OH_DC_ESTIMATE = 70 # %
|
||||||
OH_SETPOINT = HK_T_to_ADC(OH_SETPOINT_C, dc_estimate=OH_DC_ESTIMATE *192//100)
|
OH_SHIFT = 1 # reduce gain by 2**OH_SHIFT
|
||||||
|
OH_SETPOINT = HK_T_to_ADC(OH_SETPOINT_C, dc_estimate=OH_DC_ESTIMATE * 192//100 * 2**OH_SHIFT)
|
||||||
OH_DC = 192
|
OH_DC = 192
|
||||||
OH_IDX = 14 # T₁
|
OH_IDX = 14 # T₁
|
||||||
|
|
||||||
|
|
@ -81,7 +82,9 @@ class step_ppss(ppss_table):
|
||||||
|
|
||||||
self += ppss_item(1950, modulus_always, ix_reset(reset=0, gap=0), IX_ARESET=True)
|
self += ppss_item(1950, modulus_always, ix_reset(reset=0, gap=0), IX_ARESET=True)
|
||||||
if not self.model or self.model.lower() != "seu_scan":
|
if not self.model or self.model.lower() != "seu_scan":
|
||||||
self += ppss_item(99, ppss_modulus(60,0), opheater(dcmax=self.OH_DC, setpoint=self.OH_SETPOINT), search=True, OPHEATER=True)
|
self += ppss_item(99, ppss_modulus(60,0),
|
||||||
|
opheater(dcmax=self.OH_DC, setpoint=self.OH_SETPOINT, shift=self.OH_SHIFT),
|
||||||
|
search=True, OPHEATER=True)
|
||||||
else:
|
else:
|
||||||
self += ppss_item(99, ppss_modulus(60,0), opheater(dcmax=0, setpoint=self.OH_SETPOINT), search=True, OPHEATER=True)
|
self += ppss_item(99, ppss_modulus(60,0), opheater(dcmax=0, setpoint=self.OH_SETPOINT), search=True, OPHEATER=True)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue