×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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!
  • Students Click Here

*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

Jobs

Interesting issue with integrator blocks

Interesting issue with integrator blocks

Interesting issue with integrator blocks

(OP)
Hey guys. Here is a short description of the issue:
I an integrating an acceleration twice to get the position of a valve spool. The position integral has an upper and lower limit to simulate the physical limits of the spool motion. However, the velocity integral experiences a kind of 'wind-up' when these position limits are hit, causing the velocity to keep building as long as the calculated acceleration is going in the same direction. When the acceleration then changes sign, the velocity will have to unwind before the spool moves again.

Obviously, the velocity must be reset to 0 and held there until the acceleration changes sign. However, this has proved quite difficult to do with the saturation and reset ports. Does anyone have a good idea of how to do this?

Thank you very much for your help.

RE: Interesting issue with integrator blocks

Try using a Matlab embedded function instead. You can use if statements inside to zero the vel.


"Simplicity is the ultimate sophistication." L. da Vinci
- Gian

RE: Interesting issue with integrator blocks

(OP)
Thanks for the replies. However, I finally figured out a solution, which is to use the 2nd order integral block, that is apparently made for this situation. Didn't even know that block existed until now.

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!


Resources