Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Stephan I. Böttcher
2eb06a295f STEP: reduce op heater gain 2021-08-12 11:11:59 +02:00
2 changed files with 6 additions and 3 deletions

View file

@ -83,7 +83,7 @@ class HK_SOLO(object):
# Reduce the target temperature to accomodate the
# estimated opheater duty cycle.
TT=T
for n in range(5):
for n in range(10):
TTT = cls.ADC_to_T(A + dc_estimate)
TT -= TTT-T
A = cls.T_to_ADC(TT)

View file

@ -26,7 +26,8 @@ class step_ppss(ppss_table):
DEADTIME_cadence = 60
OH_SETPOINT_C = -35 # °C
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_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)
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:
self += ppss_item(99, ppss_modulus(60,0), opheater(dcmax=0, setpoint=self.OH_SETPOINT), search=True, OPHEATER=True)