Commit graph

1,935 commits

Author SHA1 Message Date
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
cd71cd017e Merge branch 'v0009update' into 'master'
V0009update

See merge request solo/solo_config!2
2021-02-22 12:29:23 +00: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
Jan Christoph Terasa
9d47b551a7 Add header column to the end. 2021-02-12 13:09:29 +01:00
Jan Christoph Terasa
c488573c5e Merge branch 'master' of gitlab.physik.uni-kiel.de:solo/solo_config 2021-02-12 09:58:40 +01:00
Jan Christoph Terasa
ad184ba293 Update output format. 2021-02-12 09:58:32 +01:00
Jan Christoph Terasa
3570b5cc79 Change ppss-table-defs output format. 2021-02-12 09:45:23 +01:00
00c14f2686 Replace SHA hash with a tag in hetept_to_v0009.py 2021-02-10 11:11:04 +01:00
24abd5ba82 Add two scripts which can generate telecommands for updating the HET/EPT FM configurations. 2021-02-08 18:01:57 +01:00
b07dfec187 Add new HET/EPT v0009 configuration files. hetept-v0009 2021-02-08 18:01:57 +01:00
f05e7a6a56 Inrceasing the HET/EPT PHA cadence from 3600s to 300s. 2021-02-08 18:01:57 +01:00
7eb710c7f9 solo/configurations/:
Add v0009 configuration files.  


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8153 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
211d878fb5 SVN merge: svn_revision removed
hetept/config.py:

Increment version to v0009. Add a function for generating PHA cadence patches.

git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8152 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
ceaf59685b hetept/l3/ept_calib.l3:
Increasing ept_2dhist_cutoff from 125keV to 1MeV.
The EPT PHA buffer for penetrating particles is mainly filled with MIPs.
Increasing the cutoff to 1MeV should filter most MIPs and increase the number
of PHA words from non-relativistic particles. 


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8151 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
bb9f6d686a hetept/data.py
New data products for EPT stopping particles:
Introducing NO_EPT_mag and NO_EPT_foil, two data products with fully symmetrical binning for INT and MAG with 77 energy channels covering the full range of the l3histogram above 25 keV at 1s/5s cadence in CLOSE/FAR mode.
Introducing B1_EPT_mag, a burst mode data product that can be used together with NO_EPT_mag to double the energy resolution up to 1.6MeV.
All other EPT data products for stopping particles have been removed. 



git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8150 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Stephan I. Böttcher
5245c4cd4b ept.l3: revert -c 8112
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8114 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Stephan I. Böttcher
35aedc7033 l3sim: remove misguided print() to stdout
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8113 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Stephan I. Böttcher
f308f0864f ept.l3:
PHA data for 2D EPT events is spammed by relativistic protons.
	This change adds an itot limit for inclusion into the EPD-2D PHA buffer.
	An extra instruction is required to implement this limit.  An upload of
	the complete L3 trigger is required for deployment.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8112 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Robert Elftmann
586aed1854 telecom.py: Adjusted MAXSIZE for ALL functions to 216-HEADER_SIZE.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8067 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
f6161f868c solo/configurations/configurations.txt: add v07
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8066 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Robert Elftmann
249b0a43c7 Version 8 for EPT-HET: HET ABnC change for 1D H and He histograms as well as all ABnC PHA buffers. ANA cadence back at 60s. hetept-v0008
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8065 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Robert Elftmann
ac431022f0 solo/cdpu/telecom.py: Changed maxsize of TCs according to ESA regulations
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8064 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Robert Elftmann
0fd3cf49e6 solo/configtable.py: Added functionality to change the address (not base address) of an EPTHET config for an ICU RAM config update and to change the config pointer to that address
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8063 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
Robert Elftmann
bb487a1693 het_stopping.l3: Added heavy ion contination rejection for 1D proton and 1D He hist. 2D He and 2D heavy ion hist unchanged. H, He and heavy ion PHA buffers also use contamination rejection - otherwise PHA buffers contain exclusively contamination. Added comments to make code more easy to understand for new HET personal.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8062 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
f1646fbc79 SVN merge: svn_revision removed
hetept/config.py: Increment version to v8. In v8 the HK_ANA candence is changed back from 600s to 60s. HET ABnC stopping proton PHA buffer reverted to status of r8033.

git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8061 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00
d20a65a806 hetept/ppss.py: HK_ANA_cadence changed back from 600s to 60s
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/python@8060 bc5caf13-1734-44f8-af43-603852e9ee25
2021-02-08 18:01:57 +01:00