PI Controller in Matlab Model Function

How do I put this equation in to be able to use it in my model? This is the feedback input, so I need to use it in array form/time domain etc. Ive tried pid(). s=tf('s'), not really working:
deltaV=Gc*(1+Ki/s)*deltaPsi
ie deltaPsi is the feedback (from a state space model), Gc is some gain, 1/s is the integrator term but obvs just typing this in doesn't work

답변 (0개)

카테고리

질문:

2019년 11월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by