×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Weird response to a step in matlab

Weird response to a step in matlab

Weird response to a step in matlab

(OP)
I have this script which isn't making that much sense.

clear all
kp = 0.000065;
ki = 0;
kd = 0;
b = pid(kp,ki,kd);
d = (tf([1 0],[1]))
f = tf([11.53 1.068],[1 0.09834 6.263*10^(-5)])
velocity = feedback(b*f,d)
a = pole(velocity)
b = zero(velocity)
step(velocity)

Looking at it's step input, you will see that the final value is incredible large considering that response is due to a step input.. i know something must be wrong but what is wrong?

RE: Weird response to a step in matlab

(OP)
Nope.. i am testing a controller for a system, it doesn't reponds as i want it to.. that why i asking if I am doing something wrong.

RE: Weird response to a step in matlab

Looks to me like basic misunderstanding of some of the lesser travelled bits of Matlab: some of the longer, cleverer functions in the control system toolbox (which use names that IMO should be decorated, not simple). This little example explains nothing but shows what to do (i.e. how to create the right arguments to pass from one "function" to the next).

http://www.mathworks.co.uk/help/control/examples/p...

- Steve

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close