Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to stop an integration process

Status
Not open for further replies.

claudiodeviaje

Mechanical
Jun 19, 2005
45
Hi again.

For the model that I'm building I'm combining an hydraulic system with motion(movement) equation. In this equations I have pysical restriction that I'm trying to incorporate in the hydraulic model. Presicely I need to configure a cilinder to stop when it reaches the end od the tube. from the equation I get this procedure:

EQ----->Z''----------->Z'------------>Z
integr1 integr2

I've set limits in the integral2 (max and min travel distance) which "prevents the piston of movin too much. The problem is that Integral1 keeps increeing the speed eventhough the piston is not moving. the question....

How can I set the Integral1 to STOP when the Integral2 reaches its limit?

Thankyou very much!!!!!!!!

Claudio
 
Replies continue below

Recommended for you

You can use the external reset port of the integratorblock.
So you can reset the inegrator while your cylinder is not moving. When you reset the Integrator, it is set to its initial condition.
 
Thank you for the reply.....
It did work! but it didn't solved my problem. I just realized that I can't simulate a fisical constrain by just stopping the integration. I'll have to do some more resaerch about this topic.... When the cylinder reaches the end, it generates changes in the pressure and I should simulate them as well....
Thank you any way!

Claudio
 
Maybe you need to set the acceleration that is going to integrated to 0 wenn the limits of the cylinder are reached. U can put out the saturation channel of Int2 (normally outputs 0, when limits reached outputs 1) and let it be input to a switch which the outputs 0 (for the first int. input).
That way the speed won't rise though the limits are reached. The saturation signal of the 2. int. should also be the input to the 1. int.s reset-port.

Good luck
BB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor