pid tunnig with non unity feedback

Technical Source
1 min readMar 24, 2023

--

Hello, I would like to know what the code would be to obtain the PID values for the sys below,

with G , H are two tranfers functions and C is the pid controller

i used the following code but it didn’t work!!!

C=pidtune(feedback(G,H),'pid',1.0)
sys=feedback(C*G,H)
step(sys)

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

Try the following approach:

s=tf('s'); %needed to define transfer function in s domain
G=1/3*s+4;H=1/(0.1*s+1); %if feedback is not unity, then it has to be considered in open loop, as G*H
C=pidtune(G*H,'PID',1)
sys=(C*G)/(1+C*G*H)
step(sys)

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet