Skip to content

implementation of ADC calibration test - #739

Open
a2ronmeade wants to merge 8 commits into
DEVfrom
adcalibration
Open

a2ronmeade wants to merge 8 commits into
DEVfrom
adcalibration

Conversation

@a2ronmeade

@a2ronmeade a2ronmeade commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Description

in a similar manner to IVcurve CSV to ROOT and SLDO CSV to ROOT, we make plots of ADC calibration to root.
ADC calibration does (from issue #726 ):
make a new test that:
reads from low voltage channel for temp
at the same time read temp from chip and Vin from the chip
store those in some way:

Vin and Temp from chip can be stored in a monitoring file
Data from power supply in a CSV file
Then find out how to combine those and make a plot
plot of Vin from chip and Vin from power supply

Checklist

Before submitting this PR, please ensure the following:

  • I am using the correct branches/versions of all submodules.
  • I have successfully launched the Simplified GUI.
  • I have successfully run a test in the Simplified GUI.
  • I have successfully run a test in the Expert GUI.

Related Issues

#726

Changes Made

adds tests as described above

Testing

ran on sh0216, rh0215

Additional Requirements:

FESettings.py:

FESettings_DictA["ADC_CALIB"] = FESettings
FESettings_DictB["ADC_CALIB"] = FESettingsB

HWSettings.py: in HWSettings_DictB

"ADC_CALIB": HWSettingsB,

MonitoringSettings.py:

Monitoring_DictB['ADC_CALIB'] = {
'VINA'                     : "1",
'VDDA'                     : "0",
'ANA_IN_CURR'              : "0",
'VIND'                     : "0",
'VDDD'                     : "0",
'DIG_IN_CURR'              : "0",
'Iref'                     : "0",
'POLY_REL_TEMPSENS_TOP'    : "0",
'POLY_REL_TEMPSENS_BOTTOM' : "0",
'POLY_ABS_TEMPSENS_TOP'    : "0",
'POLY_ABS_TEMPSENS_BOTTOM' : "0",
'TEMPSENS_ANA_SLDO'        : "0",
'TEMPSENS_DIG_SLDO'        : "0",
'TEMPSENS_CENTER'          : "1",
'INTERNAL_NTC_REL'         : "0",
'INTERNAL_NTC_ABS'         : "0",
}
...
Monitor_SleepTime['ADC_CALIB'] = "5000"

RootFilesDict.py:

          "ADC_CALIB":("MonitorDQM",),

TestSequences.py: add to Test_to_Ph2ACF_Map:

'ADC_CALIB'                                     :    'physics',

in InnerTrackerTests/Analysis:

add file: ADCCALIB_CSV_to_plot_and_root.py 

Found here: https://github.com/a2ronmeade/storage/blob/main/ADCCALIB_CSV_to_plot_and_root.py

in felis/core_methods/init.py

from .get_adctemp import get_adctemp
...
__all__ = [
...
"get_xray",
"get_adctemp"
]

in felis/felis.py: in get_actionable_summary:

  "xray": "get_xray",
  "adctemp": "get_adctemp",

in felis/core_methods:

  add file: get_adctemp.py

Found here: https://github.com/a2ronmeade/storage/blob/main/get_adctemp.py

@a2ronmeade a2ronmeade changed the title [do not merge yet] implementation of ADC calibration test implementation of ADC calibration test Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants