Simulink Scope is only showing a straight line

21 views (last 30 days)
Kez
Kez on 7 Nov 2024 at 11:36
Commented: Kez on 8 Nov 2024 at 11:38
Hey Everyone,
I am sorry to bother you, pease find attatched my simulink script. I am aiming to simulate a feed forward control system as seen below. I was advised that I would have an easier time using Simulink in contrast to MATLAB but I am struggling as I am new to Simulink. Any help would be apprieciated, is my model correct or do I need to change it? I believe the system is unsatable but am unsure.
Thank-you all so much. I hope you all have a good day.

Accepted Answer

Shivam Gothi
Shivam Gothi on 8 Nov 2024 at 5:37
Edited: Shivam Gothi on 8 Nov 2024 at 5:48
Hello @Kez,
Upon investigating your attached simulink model I found that the time constant of your mechanical system (heat exchanger) is quite large. Also, there is maximum time delay of 35 seconds. Therefore, you need to increase your simulation time to observe the transients innyour model. I increase the simulation time to 150 seconds in your attached model and was able to get the below attached waveform on the scope.
Now addressing you question about stability:
The system simulated by you is first order system having time delay. Also, it is an open loop system. Therefore, the system will be always stable.
But, if you are planning to add close loop control, then you have to properly design the controller because your open loop transfer function contains large time delays. This will cause the closed loop system to go unstable if the bandwidth of your controller is not properly decided. design a proper controller that ensures good phase margin and gain margin of the overall system.
Also, you will have to compromise on the bandwidth of the over-all closed loop system to account for the large time delays in your loop transfer function.
I hope this addresses your question!
  1 Comment
Kez
Kez on 8 Nov 2024 at 11:38
Thank-you so much. I can not believe that I forgot to account for the time delays in the simulation. I really appreciate the assistance. I hope you have a great day

Sign in to comment.

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!