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 个)

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

1 个评论

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