필터 지우기
필터 지우기

whether matlab function block and trigger block can be linearized?

조회 수: 2 (최근 30일)
Hi, I am modeling a motor control system. In my controller, I am using (1) matlab function block to do some calculations; and (2) triggered blocks to simulate the different updating speed of my outer and inner PI control loop. Now I want to use the PID tuner to find pi gains for my outer loop(has 1 PID controller) and the inner loop(has 2 PID controllers), but the PID tuner just can't launch. So I am wondering if a simulink model like mine can actually been linearized?
  댓글 수: 1
Anish Mitra
Anish Mitra 2016년 2월 23일
Is there a specific error message?
When I add switches in a model (in R2015b) and then try opening the PID Tuner - it does open and then show a message stating that the plant cannot be linearized. Do you see something similar?

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

채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2016년 2월 24일
Hi, Triggered subsystems are discontinuous and would typically not linearize.For cases when exact linearization does not work, the best approach is to compute linear model approximation using simulation data.
The workflow for this is shown in this video and explained in this doc example .
Hope this helps.
  댓글 수: 1
Connor Landrum
Connor Landrum 2019년 4월 23일
Hi Arkadiy,
You mention triggered subsystems, does that only include triggered blocks, or are matlab function blocks also triggered subsystems, and if so would similar methods work to compute a linear model approximation?
Thanks

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by