Effacer les filtres
Effacer les filtres

whether matlab function block and trigger block can be linearized?

2 vues (au cours des 30 derniers jours)
Li Yang
Li Yang le 16 Fév 2016
Commenté : Connor Landrum le 23 Avr 2019
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 commentaire
Anish Mitra
Anish Mitra le 23 Fév 2016
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?

Connectez-vous pour commenter.

Réponse acceptée

Arkadiy Turevskiy
Arkadiy Turevskiy le 24 Fév 2016
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 commentaire
Connor Landrum
Connor Landrum le 23 Avr 2019
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Schedule Model Components dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by