How to Analyze Root Locus in Matlab for DC Motor Control?

AI Thread Summary
The discussion centers on analyzing the root locus of a transfer function for DC motor control in Matlab. The user initially finds the root locus confusing and questions the stability across different gain values, despite having two poles in the left half-plane (LHP). Responses clarify that the system is stable for all gains as long as the poles do not cross into the right half-plane (RHP). The user expresses uncertainty about the behavior observed in rltool, particularly regarding limits on gain adjustments. Ultimately, the conversation emphasizes the importance of understanding root locus behavior and stability in control systems.
eh87
Messages
8
Reaction score
0

Homework Statement


I'm trying to analyze the root locus of this transfer function in Matlab to control a DC motor:

mysys=tf([0.022],[0.00000000007 0.0000000626 0.000493])


The Attempt at a Solution



Using:

%[Kp,P]=rlocfind(mysys)
%rltool(mysys)
rlocus(mysys)

I get a root locus that looks somewhat odd and I'm not really sure how to interpret it. It doesn't appear to be stable at all gains. Although, it does look a bit better when I add a zero in rltool to the right of that gap and then it seems stable at all gains.

Help? I'm lost.
 
Physics news on Phys.org
Your system has two poles in the LHP, so it is stable for all values of gain. Matlab should draw a root locus consisting of two vertical lines, starting in each of the two complex conjugate poles.
Since no part of the root locus goes to the RHP, the system is stable.
Can you please post the image of the RL?
 
Thanks for the reply :)

Yes, they are in the LHP but I don't think it's stable for all gains. I know that as long as they don't cross into the RHP it should be, but this is just confusing. Please see the attached picture.

In rltool, when I move the pink dots (gain) it seems like there's a limit that they won't cross, which makes me think this is not stable at high gains (?). I'm not sure really what it means, but that's my guess.
 

Attachments

  • ece456 root locus.jpg
    ece456 root locus.jpg
    22.4 KB · Views: 500
eh87 said:
Thanks for the reply :)

Yes, they are in the LHP but I don't think it's stable for all gains. I know that as long as they don't cross into the RHP it should be, but this is just confusing. Please see the attached picture.

In rltool, when I move the pink dots (gain) it seems like there's a limit that they won't cross, which makes me think this is not stable at high gains (?). I'm not sure really what it means, but that's my guess.

I can't see your picture, because the authorization is pending. Anyway, the system is certainly stable for all gains.
I have tried to adjust the loop gain in rltool and reached 1.02e6, without problem, I stopped there, but could continue. For practical purposes this is infinity.
 
Hmm. Maybe I did something wrong before.

Anyway, I checked on the response to a step function in rltool today and it seemed fine. I guess now I'll work on tweaking it to make it faster without losing stability, then re-post.

Thanks!
 
Back
Top