While working on a mate float using diaphragm pumps as a main actuator, we are using a water pressure sensor to get pressure readings in addition to depth as an input for PID control system to maintain specific depth over time , Iam facing a problem.
Pressure sensor readings over time is not accurate And even more not logical for example, while on a 3 meters depth, sensor gives a 1.05 meters readings , iam using ADC 1115
So iam facing problems tuning the PID control , float doesn’t maintain depth, it usually drifts ups and down so is there any way to solve this problem even if the readings are not correct just to maintan a depth in a specific reading on the pressure sensor equivalent to the correct depth