Adaptive procedure for adjusting settings of PI controller for plants with slowly varying parameters