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

  • Thread starter Thread starter 19dan87
  • Start date Start date
  • Tags Tags
    Control Simulink
Click For Summary
SUMMARY

This discussion focuses on implementing dynamic max/min control in a Simulink model of a 2 Degrees of Freedom (D.O.F) system with damping. The user seeks a method to adjust the control value based on varying maximum (Fmax) and minimum (Fmin) thresholds during simulation. The control logic requires setting the control value to Fmax if it exceeds this threshold, Fmin if it falls below it, or maintaining the desired control value (Fd) if it lies within the range. The user has encountered issues with IF blocks not functioning correctly for this purpose.

PREREQUISITES
  • Familiarity with Simulink for modeling dynamic systems
  • Understanding of control systems and feedback mechanisms
  • Knowledge of 2 Degrees of Freedom (D.O.F) systems
  • Experience with conditional logic in Simulink
NEXT STEPS
  • Research how to implement dynamic control logic in Simulink using Stateflow
  • Explore the use of MATLAB Function blocks for custom control algorithms
  • Learn about signal routing and evaluation techniques in Simulink
  • Investigate the use of Simulink's built-in blocks for handling variable thresholds
USEFUL FOR

Engineers and developers working on control systems, particularly those involved in modeling and simulating dynamic systems in Simulink. This discussion is beneficial for anyone looking to implement adaptive control strategies in their simulations.

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
I've responded to your post in the Engineering Systems & Design sub-forum. Please refrain from double posting.
 

Similar threads

Replies
3
Views
5K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
9K
Replies
3
Views
3K