Pandiani
Automotive
- Jan 21, 2008
- 3
Hi everyone,
This is my first post on this form and I hope you'll be able to give me useful advices and share opinions.
I have an inductive sensor and when it is new, it is linear i.e. output voltage depends lineary on distance from metal object, so this can be described with the following equation y = ax+b.
y is voltage, and x is distance. This voltage signal is transmitted to acquisation system and this system asks for slope and offset so it can calculate distance back and show it on operator's screen. System calculates distance by formula: x = m*y+n, "m" and "n" are entered to system like parameters. After two or three years, sensor's charactersitcs become more nonlinear (something like "s" shaped curve). This situation can be easily solved without replacing sensor by recordin its characterstics and then obtaining new "m" and "n" from excel worksheet using least square method. When sensor's nonlinearity is huge, only replacement is solution.
Now suppose the following situation:
system is showing distance 4 mm and voltage from sensor is say 10 V. After recording charactersitc, it shows that sensor has nonlinearity and using excel table new "m" slope and "n" offset are obtained. Now when new m and n parameters are entered in the system, new charcterstics is more linear (appeared to operator).
Now, where to return sensor? If I return on old position (by output voltage), system will now show that distance is not 4 mm but for example 3.8 mm?
There is other possible option: to try to return sensor to new position and fix it when system show 4 mm (now voltage from sensor will not be 10 V).
What would you do?
What is your opinion?
Thank you very much.
This is my first post on this form and I hope you'll be able to give me useful advices and share opinions.
I have an inductive sensor and when it is new, it is linear i.e. output voltage depends lineary on distance from metal object, so this can be described with the following equation y = ax+b.
y is voltage, and x is distance. This voltage signal is transmitted to acquisation system and this system asks for slope and offset so it can calculate distance back and show it on operator's screen. System calculates distance by formula: x = m*y+n, "m" and "n" are entered to system like parameters. After two or three years, sensor's charactersitcs become more nonlinear (something like "s" shaped curve). This situation can be easily solved without replacing sensor by recordin its characterstics and then obtaining new "m" and "n" from excel worksheet using least square method. When sensor's nonlinearity is huge, only replacement is solution.
Now suppose the following situation:
system is showing distance 4 mm and voltage from sensor is say 10 V. After recording charactersitc, it shows that sensor has nonlinearity and using excel table new "m" slope and "n" offset are obtained. Now when new m and n parameters are entered in the system, new charcterstics is more linear (appeared to operator).
Now, where to return sensor? If I return on old position (by output voltage), system will now show that distance is not 4 mm but for example 3.8 mm?
There is other possible option: to try to return sensor to new position and fix it when system show 4 mm (now voltage from sensor will not be 10 V).
What would you do?
What is your opinion?
Thank you very much.