Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Editor KP

clc
clear all
clc
A=19
num=[A]
den=[1 12 A]
go=tf(num,den)
figure,step(go)
KP=A*15;
KI=A*10;
KD=19;
numoP=[KP]
denoP=[1]
KP=tf(numoP,denoP)
GoKP=tf(KP*go)
figure,step(GoKP)
GcKP=feedback(GoKP,1)
figure,step(GcKP)

A=

19

num =

19

den =

go =

12

19

19
--------------s^2 + 12 s + 19

Continuous-time transfer function.

numoP =

285

denoP =

KP =

285

Static gain.

GoKP =

5415
--------------s^2 + 12 s + 19

Continuous-time transfer function.

GcKP =

5415
----------------s^2 + 12 s + 5434

Continuous-time transfer function.

>>

You might also like