The applied method

K p

K i

PI gains tuned using trial and error

2100

1000

PI gains tuned using PSO algorithm

2199.0295

1093.6790