Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Steady state error

Status
Not open for further replies.

lisiczka28

Industrial
Feb 13, 2015
1
0
0
PL

Hello everyone,
I would like to share with you my recent problem with calculating some matlab scripts.
My task is to find the value of the steady state error of an object (with negative feedback loop)

My main idea was to use "feedback" matlab function. Then get the information about the object:

var = feedback(object_transmittance, -1);
INFO = stepinfo(var)
error = INFO.SettlingMin

Thought the .SettlingMin parameter will return me the steady space error.

For now I know it's not correct. I've also tried to use some formulas searched on the net but with no result.
The task seems to be so simple, but I'm not using matlab like everyday, so even such simple things cause me some problems.
Any ideas?
Thank you in advance :)
 
Replies continue below

Recommended for you

Kind of hard with the actual data

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
 
You can use the method you've created, but you need to add some code to find the index n in your output vector y at which the SettlingMin value occurs, then find the value of (1-y[n]) to find the steady state error to the unit step.

xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.
Back
Top