Commit graph

646 commits

Author SHA1 Message Date
Stephan I. Böttcher
6b50537401 acq_time_scan: fix all_acq args :-( 2021-07-09 21:23:59 +02:00
Stephan I. Böttcher
bc7287d7ae step: w/o CLOSE, 3 Temps 2021-07-09 18:30:04 +02:00
Stephan I. Böttcher
76ce9aba01 step v0008 defs 2021-07-09 16:03:58 +02:00
Stephan I. Böttcher
6b91d280fb Merge commit '0565a37a11' into step_dps 2021-07-09 14:54:28 +02:00
Stephan I. Böttcher
e33ed13c51 step_dps: comments explaining the L3 binning 2021-07-09 14:48:13 +02:00
Jan Christoph Terasa
0565a37a11 Fix comments in step_config.l3. 2021-07-09 12:10:21 +00:00
Stephan I. Böttcher
fd05e1c4c0 Merge commit '62de69bf6b' into step_dps 2021-07-09 11:11:52 +02:00
Solar Orbiter GSE ops
62de69bf6b New module: solo.step.acq_time_scan 2021-07-09 11:05:38 +02:00
Stephan I. Böttcher
ce92316511 step_dps: orthogonal data products w/o solo_data
New method: step_dps.step_hist()
    to generate 1D histograms.

New method: step_dps.step_sensor_main()
   to return a main STEP dps_product
   4keV … 64keV, 2bpo, 1s

New method: step_dps.step_sensor_aux()
   to return an aux STEP dps_product
      60s
      1kev…2KeV, 1 bin
      2keV…4keV, 7 bins
      64keV… 256keV, 15 bins
      256keV…384keV, 1 bin

Changed method: step_dps.assemble()
      pick only LL dps_products from step.data
      add two main and two aux dps_products.

Version 8.1
2021-07-08 23:39:11 +02:00
Stephan I. Böttcher
a4d6b7811c dps_product shall be able to represent itself when unallocated 2021-07-08 12:47:37 +02:00
Stephan I. Böttcher
5f8d14cc92 telecom: comment: TC(128,102) flags is ignored 2021-07-07 11:19:21 +02:00
Stephan I. Böttcher
bfa5bd6ddb step patch 7.1: reset acq_time=1 2021-07-06 18:31:36 +02:00
Lars Berger
e445e8d2b7 added change to close mode to the command generation 2021-06-08 17:05:20 +02:00
Lars Berger
7563ae5233 Added step_v0007 defs and the xml files for commanding.
These files are generated by solo/configurations/commanding/step_v007.py
2021-06-08 09:37:05 +02:00
Stephan I. Böttcher
b8ac9f9b20 Merge branch 'step_v7' of https://gitlab.physik.uni-kiel.de/solo/solo_config into step_v7 2021-06-01 10:50:52 +02:00
Stephan I. Böttcher
7995a6968d step fs_on_fm: raise some thresholds 2021-06-01 10:48:43 +02:00
Jan Christoph Terasa
7d3e842b18 Merge branch 'master' into step_v7 2021-05-31 16:03:38 +02:00
Jan Christoph Terasa
d548c8e8af Fix some annoying bugs in configtable.upload() and icu.send_tcs(). 2021-05-31 16:02:55 +02:00
Stephan I. Böttcher
526a969ee4 step ppss: IFTP pulse_length=50µs 2021-05-31 12:10:56 +02:00
Stephan I. Böttcher
55a534dcd5 step ppss: HK temp/voltage cadence = ICU_cadence 60s 2021-05-31 12:05:28 +02:00
Stephan I. Böttcher
d1ba9894cd step fs_on_fm is used for testing, reduce the start_modulus 2021-05-31 10:42:01 +02:00
Stephan I. Böttcher
4033d88d1b step.ppss.do_testpulser() fixes
The `freq` argument of step_pulser was missing.  The intended positional `sel`
arguments were passed as `freq`

The TESTREG write schedule collided with regular IX REG writes.
2021-05-22 14:54:13 +02:00
Stephan I. Böttcher
22c7b4732d ppss_modulus: fix length=
The length= argument to ppss_modulus() needs to wildcard one more
counter to cover the requested sequence length.
2021-05-22 14:48:49 +02:00
Stephan I. Böttcher
b261e1c9c5 step.base_config: define VERSION and SUBVERSION
The VERSION was set in each config.*, which is not what the VERSION is
associated with.  It is now set as a module attribute
solo.step.base_config.VERSION

The unused table argument scratch is now set to solo.step.base_config.SUBVERSION

There is still an optional argument version= to override.
2021-05-18 22:42:21 +02:00
Stephan I. Böttcher
d851c3ab4e Merge branch 'step_startup_modulus' into step_v7 2021-05-18 15:49:44 +02:00
Stephan I. Böttcher
d09a3ff8de Merge branch 'master' into step_startup_modulus 2021-05-18 14:27:08 +02:00
Stephan I. Böttcher
448a997de1 Merge branch 'testpulser' into step_v7 2021-05-17 22:18:21 +02:00
Stephan I. Böttcher
7db39f3ea8 step.config.fs.VERSION=7 2021-05-17 22:04:18 +02:00
Stephan I. Böttcher
d6eb3b0cb3 Merge branch 'step_opheater_T1' into step_v7 2021-05-17 21:50:51 +02:00
Stephan I. Böttcher
50df25016d step acq_time=7µs
New formal arguments: step_ppss.do_step_config(…, acq_time=1, **kwargs)
New default: step_config.ppss(…, acq_time=6, …)

The acq_time parameter tells the FPGA how many additional ADC cycles
(1µs) to wait before a digitization from the idef-x output is accepted.
The old default acq_time=1 gives a total of 2µs settling time for the
idef-x analog output.  acq_time=6 extends the settling time to 7µs.
There are two digitizations per trigger.  The new default adds 10µs to
the total readout time.

The readout time shall be extended to test, in orbit, if that expels the
ghosts from the haunted channels.

Extending the readout time by increasing acq_time has the least impact
on the calibration and morphology of the signal in the presence of
pileup.
2021-05-17 21:13:16 +02:00
Stephan I. Böttcher
6b1afaa4ae step.ppss.do_testpulser(): n=2 2021-05-10 23:20:52 +02:00
Stephan I. Böttcher
72b4015734 step.ppss: do_testpulser(what='A') 2021-05-10 23:11:05 +02:00
Stephan I. Böttcher
beadbd06d3 step_pixels: add what='A' and what='D', detector order, activity order 2021-05-10 23:01:45 +02:00
Stephan I. Böttcher
51d33a9bc2 step.ppss: avoid name clash, s/do_pulser/do_testpulser/ 2021-05-10 23:00:19 +02:00
Stephan I. Böttcher
5c41c56cc0 step ppss: add .do_pulser()
Fire a test pulse to each channel at the beginning of each PHA_cadence.

The test_regs are reset every second with the usual ix config.
Each large or small pixel gets enabled in both test_regs
once during the first 16 seconds of the PHA cadence.
For the first 30 seconds of the PHA_cadence both test pulsers are fired
once per second @5000µs.

ppss_modulus learns to fire on consecutive ranges of seconds.  length
must be a valid cadence, phase must be aligned to length.

New step_pixels.pixels() enumerates physical STEP pixels.

PHA_candence is set to 600s.
.do_pulser() default is enabled.

TODO? To fire 16 times instead of 30, three entries are required for
each ix:

 ppss_modules(PHA_cadence, 0, 10)
 ppss_modules(PHA_cadence, 10, 5)
 ppss_modules(PHA_cadence, 15)

All this is untested.
2021-05-08 13:48:57 +02:00
Stephan I. Böttcher
90dcd57d2c Merge branch 'master' of https://gitlab.physik.uni-kiel.de/solo/solo_config into step_opheater_T1 2021-03-25 12:32:58 +01:00
Jan Christoph Terasa
d50542c411 Added some comments/documentation to stepmsg.config_all_acq. 2021-03-25 11:30:20 +00:00
e4a57eda53 update v09 packet definitions to new format 2021-03-23 20:11:53 +01:00
Stephan I. Böttcher
03148eeb61 step ppss: operational heater target T₁ = -35°C
The aim, of this patch is to keep the Idef-X temperatures constant
during the orbit so that the calibration is always reliable.

Fix the opheater reference temperature reading.  It was set to T_DIG(13). Now
it is T₁(14), one of the sensors on the titanium cover.  The original
intention was probably to use T₁, which is entry [13] in the telemetry
packet.  The mismatch in the order of data items in the ITF packet with
the numbering in the temperature spy may have caused this mixup.

Add parameter HK_SOLO.T_to_ADC(dc_estimate=0) to reduce the target
temperature to accomodate the estimated opheater duty cycle.

The opheater target temperature is set to -35°C at 70% duty cycle.
During the first year the duty cycle was always around 70% and the T₁
temperature between -36°C and -34°C.

Set the nominal calib Temperatur to -36°C.  This is the IDef-X temperature
reached when T₁ was -35°C.
2021-03-08 20:30:00 +01:00
Stephan I. Böttcher
6f8cc7d0e8 step: start_modulus=3600
When the sensor units are commanded to nominal mode they shall receive a
command to reset the PPSS clock at the end of the OBC hour, to synchronize
the data products to an hour boundary.

STEP was sychronized to a minute instead.
2021-03-06 00:15:20 +01:00
Jan Christoph Terasa
44e20904fd Revert "Prepare STEP v7."
This reverts commit 7760fe6115.
2021-03-02 06:59:22 +01:00
Jan Christoph Terasa
8d67506508 Revert "Use STABLE and UNSTABLE channels for INT and MAG data, respectively."
This reverts commit 25f2353b2d.
2021-03-02 06:59:05 +01:00
Jan Christoph Terasa
c141bc3905 Use proper modern string formatting. 2021-02-22 23:05:50 +01:00
Jan Christoph Terasa
309d2c4970 Add small comment. 2021-02-22 19:57:04 +01:00
Jan Christoph Terasa
82f4eb6fbc Generalize temp_calib file reader. 2021-02-22 19:50:37 +01:00
7c077be9c3 adjust config update functions to work with eeprom pages 2021-02-21 21:39:43 +01:00
125d2f6ce3 update v0009 configuration files 2021-02-21 21:39:36 +01:00
Stephan I. Böttcher
2b919f01a6 configtable: learn to put the config elsewhere in EEPROM
The new parameter page is is the base address of the config in EEPROM.
The ID text goes to EEPROM_base + page + 0x40.
The index table goes to EEPOM_base + page + 0x80.
The data goes to EEPOM_base + page + 0x100.

The default is page=0, reproducing the old bahaviour.
2021-02-21 21:39:26 +01:00
669a63fe58 Adjust output format of SCI packets in packet_table() 2021-02-14 13:27:18 +01:00
Jan Christoph Terasa
64a8f789c9 Write description as string, not bytes. 2021-02-12 15:51:30 +01:00