Commit graph

186 commits

Author SHA1 Message Date
Stephan I. Böttcher
1affdd7a0f step patch 8.3: reset counters after readout, at 60s cadence
Add flags to the HK counter readouts in the PPSS table, for the patch to
find them.

The patch copies the modulus (cadence) from the ICU counter read to the
HK counter reads, 60s replacing the 600s cadence.

The ICU counter reads gain a clear=True flag, i.e., address bit 0x80.

All counter reads happen in second 0.  HK first, ICU later.  16
counters each from 0x00 and 0x30.

This patch adds 8 bps to the STEP telemetry.
2022-05-07 22:06:48 +02:00
Stephan I. Böttcher
c2498e0a8d step v9.2 add interleaved small pixel mode
The PPSS gains six entries to overwrite the IX thresholds to enable
the small pixels at a selected cadences.

Enable with `table.ppss.interleaved_small(msg, 5)` to readout small
pixels in second 2 of each 5s interval.

The µs incr between IX config commands has been significantly reduced to
make space for the extra threshold writes.  Please test!
2022-04-11 13:58:35 +02:00
Stephan I. Böttcher
acb6934395 step v9: restore multi to LL
The multi hit counts were part of nominal in solo_data().  They got lost
with version 8, when all DPS was reimplemented except for Low Latency.

This commit removes all old data products in solo_data except for low
latency.  The multi hit counts are kept and appended to LL.

The version number is bumped to 9.1.
2021-11-22 13:53:37 +01:00
Stephan I. Böttcher
350806d109 step v0008 change config_page
The STEP unit EEPROM contains v6 in page 0x00000/0x60000.  The ICU
config memory contains v7 in page 0x70000 and v8 in 0x60000.  We plan to
write v8 into page 0x10000/0x70000 to not overwrite v6.  v7 was never
written to EEPROM.  At ICU reboot (after EGAM), the v8 config will the
appear in 0x70000.

This patch creates the STEP config compiled for 0x70000.

A preliminary xml to burn it into EEPORM is included.  Missing from that
xml is the restart of the unit after burn.
2021-11-04 16:51:41 +01:00
Stephan I. Böttcher
ed38864a19 step dps: fix tag collision
In high rate, MAIN and AUX were using the same tag/flg.
Use tag=0x5f for STEP AUX.
2021-10-11 21:42:10 +02:00
Stephan I. Böttcher
190e385e66 STEP ppss: fix small pixel flg
Those flags appear to be broken in old configs. Or maybe I broke them
earlier.
2021-09-30 22:10:48 +02:00
Solar Orbiter GSE ops
3676eae88d Merge branch 'step_dps' of ssh://git.psjt.org/home/pott/git/solo/solo_config into step_dps 2021-09-30 19:20:29 +02:00
Stephan I. Böttcher
0318976eac STEP v8.2 checkout 2021-09-30 19:19:08 +02:00
Stephan I. Böttcher
3d8390c0ed STEP v8.2 part 2: start up in low rate
The SOC parses our telemetry for index entries and feeds their data
model with assumptions about the resulting data rate.  This patch
restores the assignment of index entries to relative data rate.

 [2] Full nominal config with 10s cadence
 [6] patch to 1s cadence
 [7] == [2]
2021-09-30 18:29:18 +02:00
Stephan I. Böttcher
f9220b8686 step version 8.2, LOW TM routed to tag 0x57
The Alcalá pipeline requires LOW TM mode to be visible in the SCI data.
Use tag NOM_UNSTABLE for LOW TM mode.  v8.1 used NOM_UNSTABLE for AUX.
2021-09-30 15:16:20 +02:00
Solar Orbiter GSE ops
e831fc3330 Merge branch 'step_dps' of git://git.psjt.org/solo/solo_config into step_dps 2021-09-24 12:22:45 +02:00
Stephan I. Böttcher
4051015d0a step L3: fix pedestal roundig errors
Calibration of ADC readings `HIT` to energy `E` works like this
```
E = MULI HIT * gain
E = ADDI HIT + pedl
```
The `pedl` was calculated as
```
pedl = -$floor(p*gain)
```
where `p` is the ADC reading corresponding to E = 0 keV.
Since `p` is a large magnitude negative number, the limited precision
of the `MULI` instruction parameter causes significant errors in `pedl`.

This patch aims to fis those errors. The new formula for `pedl` is
```
pedl = $floor(-p*$MRND(gain))
```
i.e., we use the same value for `gain` as the `MULI` instruction.  This
is now in place for any automatic calibration calculations in
`step_temp_calib.l3`.

For the FS in space we use a fixed precomputed calibration.  This is based on
the TVAC FS calibration for T=-36°C, with some adjustments for the changed
`acq_time=6`.  The TVAC calib has been saved earlier to
`step_fs_calib-36.calib` with full precision, i.e., without taking `$MRND()`
into account.  The awk script `step_fs_calib-36.awk` reverts those
calculations, applies the adjustments, and outputs the adjustes numbers.  Since
awk does not have access to `$MRND()`, the script has been changed to output
formulas for `pedl`, including `$MRND()`,
2021-09-22 17:19:03 +02:00
Stephan I. Böttcher
36b1f16191 step l3 gold 2021-09-22 17:10:59 +02:00
Stephan I. Böttcher
ff939af62f Merge branch 'master' into step_dps 2021-09-22 16:27:41 +02:00
Stephan I. Böttcher
ed3aaac844 step/l3 gold: use -DM_FS 2021-09-22 16:10:22 +02:00
Stephan I. Böttcher
c20e9b7370 step/l3: update gold 2021-09-22 16:06:23 +02:00
Stephan I. Böttcher
4af07e3583 Merge branch 'master' into step_dps 2021-09-20 14:56:48 +02:00
Stephan I. Böttcher
a0f7135898 Merge branch 'master' into step_v7_dev 2021-09-20 14:50:13 +02:00
Stephan I. Böttcher
9875b8fac3 step: remove temp config diffs 2021-09-20 14:13:50 +02:00
Stephan I. Böttcher
deb9633594 opheater infra for shift= 2021-08-12 11:41:44 +02:00
Solar Orbiter GSE ops
2c52216077 Merge branch 'step_dps' of ssh://git.psjt.org/home/pott/git/solo/solo_config into step_dps 2021-08-02 14:39:03 +02:00
Stephan I. Böttcher
7b28074caf step.dps: new methods .ebins_main(), .ebins_aux() 2021-07-27 23:36:07 +02:00
Solar Orbiter GSE ops
2361e358b1 Merge branch 'step_dps' of ssh://git.psjt.org/home/pott/git/solo/solo_config into step_dps 2021-07-27 12:10:45 +02:00
Stephan I. Böttcher
9832d437fb step v8: activate V7.3 calib unconditionally for the FS 2021-07-26 10:52:21 +02:00
Stephan I. Böttcher
04a4d9a875 step patch v7.3 fix calibration for acq_time=6
Set the acq_time=6 (as in v7).
Fix large pixel calib for T=-36°C.  The fix is based on IFTP data from
July 4 to July 20 with acq_time=6 and acq_time=1.

For each IX a rought estimate was obtained for the shift of the pedestal
and the 160keV pulser peaks.  The shift was applied to all large pixels.
2021-07-25 22:48:08 +02:00
Solar Orbiter GSE ops
73f135552e step ppss: add lab_test mode to .do_testpulser() 2021-07-25 22:28:47 +02:00
Stephan I. Böttcher
7e77d3c7e5 step: .do_lowrate() 2021-07-25 12:22:30 +02:00
Stephan I. Böttcher
8e94b94c12 step: write defs for low rate env, define scratch field for dps env 2021-07-25 12:09:32 +02:00
Stephan I. Böttcher
959f6c02b7 step low telemetry rate mode 2021-07-25 02:12:41 +02:00
Stephan I. Böttcher
1f85dc0897 step: support small pixels via modes["*"] 2021-07-24 23:40:41 +02:00
Stephan I. Böttcher
566321d150 Merge branch 'master' into step_dps 2021-07-24 20:54:05 +02:00
Stephan I. Böttcher
5286b35d57 new module solo.patch 2021-07-23 12:25:19 +02:00
Stephan I. Böttcher
598bda9820 new module solo.patch 2021-07-23 12:23:21 +02:00
Stephan I. Böttcher
86ca64ea0d avoid sending diagnostics to stdout. 2021-07-22 12:39:44 +02:00
Stephan I. Böttcher
04f78cce62 step patch v7.3 fix calibration for acq_time=6
Set the acq_time=6 (as in v7).
Fix large pixel calib for T=-36°C.  The fix is based on IFTP data from
July 4 to July 20 with acq_time=6 and acq_time=1.

For each IX a rought estimate was obtained for the shift of the pedestal
and the 160keV pulser peaks.  The shift was applied to all large pixels.
2021-07-22 12:34:27 +02:00
Stephan I. Böttcher
c3ac9f0484 Revert "step: w/o CLOSE, 3 Temps"
This reverts commit bc7287d7ae.
2021-07-21 10:42:31 +02:00
Stephan I. Böttcher
b89074bdf7 Merge branch 'master' into step_dps 2021-07-10 23:54:45 +02:00
Stephan I. Böttcher
2521acd8a8 step_temp_calib: fix warnings 2021-07-10 23:54:18 +02:00
Stephan I. Böttcher
050a5b3b20 l3: fix format exception on Warning, move common code to parent. 2021-07-10 23:23:08 +02:00
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
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
7995a6968d step fs_on_fm: raise some thresholds 2021-06-01 10:48:43 +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