How to stop an integration process
How to stop an integration process
(OP)
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
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
RE: How to stop an integration process
So you can reset the inegrator while your cylinder is not moving. When you reset the Integrator, it is set to its initial condition.
RE: How to stop an integration process
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
RE: How to stop an integration process
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