Hello everyone!
I am new to julia and trying to model with 1 input and 2 output.
my problem is that i am unable to create a feedback with a pid controller in the forward path, even if i create the feedback the (first output to the first input) the 2nd output got lost.
A =
-0.06617428571428571 19.852285714285713 4.2 0.0 -0.0033551169590643275 -0.033551169590643276 0.0
0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.05413766434648106 0.0 0.0 -0.05413766434648106 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0 1.0 0.0
0.0 0.0 0.0 0.0 0.0 0.0 1.0
0.0 0.0 0.0 0.0 0.0 -22.22222222222222 -6.666666666666667
B =
0.0
0.0
0.0
0.0
0.0
0.0
1.0
C =
1.0 0.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 1.0 0.0 0.0 0.0
D =
0.0
0.0
this is system and the pid together.
C=pid(Kp, Ki, Kd; form=:parallel, Tf=0.3, state_space=true)
back=series(C, Model)
Controlled=feedback(back[1,1])
could anybody help me out, thanks in advance!