필터 지우기
필터 지우기

Control

조회 수: 2 (최근 30일)
Dan
Dan 2011년 4월 12일
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

답변 (1개)

Jarrod Rivituso
Jarrod Rivituso 2011년 4월 12일
Would the "Saturation Dynamic" block located in the Simulink -> Discontinuities library do the trick?

카테고리

Help CenterFile Exchange에서 Block Libraries에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by