pid controller optimisation using fminsearch---pls help me

i hav a transfer function of a model of a conical tank system...i need to optimize the pi controller parameters (kp,ki)by using fminsearch...integral square error and controller effort(U=kp.e(t)+ki(integral(e(t)) are the two objective functions i hav considered that must be minimised to optimise the pi parameters...can anyone pls help me out with a math code to implement the fminsearch algo to optimise pi parameters.THE optimised values that i get in code should produce same output response in simulink..pls pls pls help me out
TRANSFER FUNCTION OF MODEL: 2.828 -------- (0.555s+1) INITIAL VALUES FOR KP,KI: KP=0.7852 KI=1.414

回答 (1 件)

Guy Rouleau
Guy Rouleau 2011 年 3 月 12 日

0 投票

Here is what you need:
http://www.mathworks.com/products/simcontrol/

1 件のコメント

sri vidya
sri vidya 2011 年 3 月 15 日
can u pls tell me how to optimise the pi controller values using fminsearch..Example: Using lsqnonlin With a Simulink Model...this example uses cost function least square error our cost function is integral square error can u pls help us with the code ...

サインインしてコメントする。

カテゴリ

質問済み:

2011 年 3 月 11 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by