필터 지우기
필터 지우기

Running two control systems with different rates

조회 수: 3 (최근 30일)
patr chri
patr chri 2020년 6월 4일
댓글: patr chri 2020년 6월 5일
Hello,
I have a relatively general question. I have two control systems that communicate with each other (one feedforward controller and one MPC) and I am trying to make one of these systems faster than the other one in terms of sampling rates. For example, I want the feedforward controller to be slower than the MPC.
Is there a Simulink block that can help me implement this?
Thank you
  댓글 수: 4
Paresh yeole
Paresh yeole 2020년 6월 4일
For the first question, Yes.
For the second question, you are correct if you have selected as -1 for sampletime option for the PID block. You can have a user-defined value for the PID block as well.
patr chri
patr chri 2020년 6월 5일
My issue is that when I am trying to change the MPC sampling rate to make it faster (ie smaller sampling rate) it doesn't allow me because it is not dependent (integer product) of the Simulink settings fixed solver sampling time.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Plant Specification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by