I am using simpson's discretization to change the continuous PI to the discrete PI however it results in three poles and one of them is unstable. Did you have any issues when you were discretizing? Also did you use 3/8 rule, with that I have the controller when simplified as a third order controller. Is that correct?