'Funny' Phase Response on Matlab & Simulink (DC-motor fe

Status
Not open for further replies.

gvanto

Member level 1
Joined
Aug 17, 2004
Messages
41
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
442
motor dc + simulink

I have a model in Simulink (DC-motor velocity feedback).

When I use the Linear Analysis tool to obtain the bode plot, the phase response starts at zero and then goes positive.

(This system seems to be unstable btw)

When I derive the transfer function in the Matlab environment (from which the Simulink model is updated anyway, so they are exactly the same), and then do bode(sys), this produces the exact same Magnitude and Phase response as in Linear Analysis, only the phase response is shifted 180deg downwards (starts at -180) but still goes positive at higher frequencies.

Thus, 2 problems / questions:
a)
How can it be possible to have a positive phase 'lag' (=lead?) - does this not imply that the output knows what it's supposed to be before even given an input (time machine?

b) Why is phase plot diff. in Simulink than in Matlab environment?

Help much appreciated,
Gerry
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…