How Can I Implement Dynamic Max/Min Control in Simulink for a 2 D.O.F System?

  • Thread starter Thread starter 19dan87
  • Start date Start date
  • Tags Tags
    Control Simulink
AI Thread Summary
To implement dynamic max/min control in Simulink for a 2 D.O.F system, a standard saturation block may not suffice due to the varying nature of Fmax and Fmin throughout the simulation. Instead, using a dynamic saturation block allows for upper and lower limits to be set based on real-time calculations of Fmax and Fmin. The control force should be calculated using the equation Fsky = Csky*x1, while ensuring that if this force exceeds the limits, it is adjusted to Fmax or Fmin accordingly. Additionally, the model must account for scenarios where the relative velocity could affect the sign of (x1-x2), necessitating adjustments to the limits. This approach ensures accurate control force management in the context of semi-active damping with skyhook control.
19dan87
Messages
5
Reaction score
0
I am modelling the vibration of a 2 D.O.F system with damping in Simulink.

I want to set up control such that if the control value is between two values (max and min) then it sets the control value to the specified input but if it is outside the max and min interval then the control value is set to the max or min as appropriate.

eg.

Fd> Fmax , then set to Fmax
Fd< Fmin , then set to Fmin

If not set to Fd.

Fmax and Fmin will vary slightly throughout the simulation so can not use a max/min since they vary with time during the simulation.

Any ideas how it will be best to do this. Basically going to be three inputs into the block from the system which need to be evaluated and then the appropriate input set as the output.

I have tried IF blocks but they won't work properly for the simulation.

Thanks

Dan
 
Engineering news on Phys.org
What you are describing is a saturation block. Basically, you can set your upper and lower limits of the saturation to Fmax and Fmin respectively, with Fd as your single input.

I do not see why you would want 3 inputs unless you have Fmax and Fmin as simulink block constants. Which in that case you can simply hard code it into the upper and lower limits of the saturation block directly and throw away your Fmax and Fmin constant blocks.
 
Hi Viscousflow thanks for the reply. The saturation block was what I was describing but unfortunately I didn't think through the problem I was modelling properly and a simple saturation block will not work.

I am modelling Semi active damping with skyhook control. (MR damper with 2 DOF)

I want the control force to be; Fsky=Csky*x1
Ales the control force falls outside the Fmax and Fmin limits then I want to set the control force to Fmax or Fmin.

Fmax= sgn(Fy) + C(x1-x2) , sgn(Fy) is simply the offset force
Fmin= C(x1-x2)

The force-velocity diagram in the link below will help visualize the problem I am describing.
http://postimage.org/image/9rqiokn8/

Now 2 problems arise when using the saturation block alone.

(x1-x2) can be negative meaning I would have to swap the upper and lower limits around for the case when the relative velocity is negative.

Also If Fmax and Fmin are negative but the control force Fsky (Fd on the diagram) is positive and still between the +Fmax and +Fmin then I want the control force to be set to Fsky.

Any ideas how it would be best to model this problem in Simulink. Any suggestions would be very helpful. Thanks.
 
Well in that case, investigate the dynamic saturation block. You can place your equations into the upper and lower limit blocks to have moving limits.
 
Hi all, I have a question. So from the derivation of the Isentropic process relationship PV^gamma = constant, there is a step dW = PdV, which can only be said for quasi-equilibrium (or reversible) processes. As such I believe PV^gamma = constant (and the family of equations) should not be applicable to just adiabatic processes? Ie, it should be applicable only for adiabatic + reversible = isentropic processes? However, I've seen couple of online notes/books, and...
I have an engine that uses a dry sump oiling system. The oil collection pan has three AN fittings to use for scavenging. Two of the fittings are approximately on the same level, the third is about 1/2 to 3/4 inch higher than the other two. The system ran for years with no problem using a three stage pump (one pressure and two scavenge stages). The two scavenge stages were connected at times to any two of the three AN fittings on the tank. Recently I tried an upgrade to a four stage pump...
Back
Top