Skip to content
Snippets Groups Projects
Commit ff5da74f authored by Elisabetta Pianori's avatar Elisabetta Pianori
Browse files

Merge branch 'TfromNTC' into 'devel'

update NTC coefficients for ITkPix quads

See merge request !313
parents 7c8eef6b 17cc4c30
No related branches found
No related tags found
2 merge requests!316Merge devel into main,!313update NTC coefficients for ITkPix quads
Pipeline #6794598 passed
......@@ -204,4 +204,4 @@ python -m pip install clang-format==9.0.0
# add the option -i
# the files are edited in-place
./ci/run-clang-format.py -r ./src/ ./arduino/ --extensions c,h,cpp,hpp,cxx,hxx,ino -i
```
\ No newline at end of file
```
......@@ -168,10 +168,14 @@ int main(int argc, char* argv[]) {
// Setup utility to convert NTC resistance to temperature.
// Note: We read R_ntc directly from a meter, so no need to setup
// ADCDevice. We had to expose RtoC in NTCSensor class.
// Default parameters
float ntc_para_A = 0.8676453371787721E-3;
float ntc_para_B = 2.541035850140508E-4;
float ntc_para_C = 1.868520310774293E-7;
// Default parameters for B57230V2103F260 which is the DCS NTC on the
// ITkPix v1.1 quad flex Datasheet
// https://www.tdk-electronics.tdk.com/inf/50/db/ntc/NTC_SMD_Standard_series_0402.pdf
// Parameters obtained using fit
// https://gitlab.cern.ch/kbai/ntc-param-fitter
float ntc_para_A = 8.76745581E-4;
float ntc_para_B = 2.53169819E-4;
float ntc_para_C = 1.86485152E-7;
// Set the ntc parameters if provided
if (params.size() == 3) {
logger(logDEBUG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment