PI Controller in Matlab Model Function

2 views (last 30 days)
Claire Curtin
Claire Curtin on 20 Nov 2019
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!