Calibration for analog sensor (voltage, resistance and NTC sensors)

Tips for UTCOMP's features and tutorials for assembling additional sensors in vehicles.
tmckeown
Posts: 2
Joined: Wed Jul 05, 2017 9:09 pm

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby tmckeown » Thu Jul 06, 2017 11:23 am

ArT wrote:Is it connected only to UTCOMP AdcVccX ports?
Or is it connected also to other gauge?


I also have the original gauges at racecar dashboard, so it is connected to both

Timo

ArT
Posts: 1497
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 51 times
Been thanked: 160 times

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby ArT » Thu Jul 06, 2017 12:14 pm

If it is connected to both that you can not operate on resistance - you will need voltage levels (because other gauge power supply it and translate resistance to voltage and translation depends on internal circuit in other gauge - you do not know this circuit).
It such case it should be connected to AdcX.

If you will connect it only to UTCOMP that resistance is enough and it should be connected to AdcVccX ports.

I calibrated temperature sensor based on resistance - when sensor is connected ONLY to AdcVccX in utcomp (and disconnected from other gauge), than R25 = 2037, Beta = 4251 and error <1C.
1.jpg
1.jpg (172.32 KiB) Viewed 11349 times


For pressure sensor it should be first translated to bar:

250 ohms = 0psi = 0 bar
158 ohms = 25psi = 1,72 bar
111 ohms = 50psi = 3,45 bar
75 ohms = 75psi = 5,17 bar
43 ohm = 100 psi = 6,89 bar
and it seems that you have wrong measurements because it is not linear in whole range (and it should be):
2.jpg
2.jpg (32.55 KiB) Viewed 11349 times

I can linearize in range of 2-7 bar but error will be about 0,2-0,3bar:
3.jpg
3.jpg (42.59 KiB) Viewed 11349 times

in such case a = -10,44, b = 9,13
and again - sensor should be connected only to AdcVccX in utcomp (and disconnected from other devices)

If you would like to use the sensor on multiple gauges, than please share real voltage tables.
I'll help you to scale it 8-)

NealXu
Posts: 1
Joined: Wed Jan 03, 2018 6:34 pm

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby NealXu » Wed Jan 03, 2018 6:39 pm

Hi...i am a new user here. For my fuel pressure sensor, it also is not connected to the ECU. It will be a 3-wire transducer that operates on 5V. It will output .5 to 4.5V for 0-150 PSI. I've read the tutorial and can use pin A18 to supply 5V. I take it I'll ground it to where pin A12 is grounded, and run the signal wire to Adc3 .

turnkey pcb
Last edited by NealXu on Sun Mar 13, 2022 9:32 pm, edited 1 time in total.

Gims_90
Posts: 1
Joined: Mon Dec 31, 2018 11:56 am

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby Gims_90 » Mon Dec 31, 2018 1:10 pm

Hello everyone, I need your advice. I have these ntc sensors to use in my utcomp pro but I only have this table so I do not know the ohms. they are sensors that have a range of 4 to 150 degrees celsius so I wanted to mount them. someone can help me calculate the parameters needed for calibration of my outcomp? I tried with the excel tables found on this guide, but I could not find the solution to my problem. this is what I know:





0-5V analog output scaling table

VOLTS--------TEMP (C°)
0,50 ------------4
0,75 ------------13
1,00 ------------22
1,25 ------------32
1,50 ------------41
1,75 ------------50
2,00 ------------59
2,25 ------------68
2,50 ------------77
2,75 ------------86
3,00 ------------95
3,25 ------------104
3,50 ------------113
3,75 ------------122
4,00 ------------131
4,25 ------------140
4,50 ------------149

0-5V analog output scaling formulas

TEMP (C°) = 36,09 * VOLTS - 13,61


Thank's so much :D :D

ArT
Posts: 1497
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 51 times
Been thanked: 160 times

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby ArT » Mon Dec 31, 2018 4:34 pm

This is not NTC formula and it is not compatible with UTCOMP. You have linear formula. You can estimate it with NTC - please take a look at NTC(U) in excel - but it will be big error.
Try R25=223 and Beta=-2909 - in such case it is:
+/-3C for 0-60C range
+/- 1C for 60-120C range
+/-5C for 120-130C range
and huge error above 130C.

amirtiti
Posts: 19
Joined: Tue Aug 23, 2016 9:02 am
Has thanked: 5 times
Been thanked: 1 time

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby amirtiti » Fri Jun 07, 2019 1:21 pm

hello everyone,
need a little help here in the "new" calibration system

i just upgraded the software (3.2 -> 3.7)
and when trying to calibrate the OE sensors i got this issue:
i have a table of temp/resistance and temp/voltage
the value i got is way higher than it should be (compared to the measured value that shows in the diagnostic tool) the actual temp is 27°C the utcomp shows 73°C
in the xcell file i managed to get the two graphs aliened with each other.

the thing is the coolant temp work just fine it's the inlet air temp that acting weird. please advise

here is the table i'm working with

°C - V
10 - 3.2
20 - 2.6
30 - 2.1
40 - 1.6
50 - 1.2
60 - 0.9
70 - 0.7
80 - 0.5

°C - res
10 - 9670
20 - 6060
30 - 3900
40 - 2600
50 - 1760
60 - 1220
70 - 860
80 - 620

ArT
Posts: 1497
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 51 times
Been thanked: 160 times

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby ArT » Tue Jun 11, 2019 11:22 am

Please share your excel with calculations I'll take a look

amirtiti
Posts: 19
Joined: Tue Aug 23, 2016 9:02 am
Has thanked: 5 times
Been thanked: 1 time

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby amirtiti » Thu Jun 13, 2019 9:16 pm

here is the file as requested
in this file i did the resistance table calculation
Attachments
UTCOMP_AdcCalculators (1).xlsx
(36.13 KiB) Downloaded 760 times

ArT
Posts: 1497
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 51 times
Been thanked: 160 times

Re: Calibration for analog sensor (voltage, resistance and NTC sensors)

Postby ArT » Mon Jun 17, 2019 2:16 pm

It's wrong, you should make voltage calibration.
Resistance calibration only for sensors connected to AdcVccX.
Voltage resistance for sensors connected to AdcX.

Please take a look at file from attachment and test R25 = 804 Beta = 3872.
Attachments
UTCOMP_AdcCalculators (1).xlsx
(43.61 KiB) Downloaded 713 times


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 6 guests

cron