Skip to content

Draft: add sldo_vi_curves_merged

This MR extends the sldo_vi_curves calibration adding a complete monitoring of the GADC (label: INT) and needle card (label: EXT) voltages.

The calibration runs first a current ramp-up, saving the EXT readings, then a current ramp-down saving both the EXT and INT readings for each current step. This is done because during ramp-up, the chip cannot be properly set when under-voltage (equivalent to 3A for double modules), and EXT readings are affected (see VDDA_ROC0.pdf). Data is saved to .pdf and .csv. CSV files save the following information in tabular format (each row is a current point):

  • for INT readings: Time (s),Voltage (V),Current (A),VINA,VIND,VDDA,VDDD,VIN expected ({SUBDETECTORTYPE} HDI V{hdi_version})
  • for EXT readings: Time (s),Voltage (V),Current (A),VIN,VOFS,VDDA,VDDD

This is done for each module, for each roc, in separate files. ROOT files are currently not implemented, I will add them shortly.

The calibration can be tested with:

dirigent -C dirigent.toml sldo_vi_curves_merged

adding

[sldo_vi_curves_merged] 
  final_current = 6.0 
  initial_current = 0.0 
  current_step = 0.2 
  start_monitoring_current = 3.0 
  delay = 1.0 
  physics_duration = 10.0 
  read_external = true

to the dirigent.toml file.

FYI @mfranks

Merge request reports

Loading