Title | STEADYSTATEERROR |
---|---|
Author | Ana landig |
Course | Introduction to Matlab |
Institution | Malayan Colleges Laguna |
Pages | 2 |
File Size | 266.1 KB |
File Type | |
Total Downloads | 58 |
Total Views | 119 |
STEADYSTATEER...
Using MATLAB to Solve for Steady State Errors
Static error constants are found using lim s nG(s) as s —• 0. Once the static error constant is found, we can evaluate the steady-state error. To evaluate the static error constant we can use the command dcgain (G), which evaluates G(s) at s = 0. Let us look at the following unity feedback system:
Here’s the MATLAB code that solves for the step, ramp and parabolic input steady-state errors for the system above:
Another great use of MATLAB is to evaluate the gain, K, required to meet a steady-state error specification. Consider the system shown:
What value of K will give a 10% error in the steady state?
Here’s the MATLAB code for that:...