Relay auto-tuning in the presence of static load disturbance