Help solving systune 'No Tunable parameters, for PID loops with variables as the proportional and integral components

1 次查看(过去 30 天)
Okay, the error I am getting makes no sense. When I go to use 'systune' it throws an error saying that there are no tunable parameters. I fixed that error before by having variables for the PI loop proportional and integral coefficients.
Now it keeps throwing that error. I was wondering if anyone had any ideas. It worked fine yesterday morning, then the error came up yesterday afternoon after running 'systune' successfully during the morning.
I am going to rebuild the model, and test a few other methods, but I though slTuner would work faster(wasted 3 weeks even trying to get it to work makes me believe otherwise).

回答(1 个)

Arkadiy Turevskiy
Arkadiy Turevskiy 2016-12-7
I don't get any errors when I uses systune on your model. The issues with this model though is that PWM generator block does not linearize, so for systune to work properly you will need to specify block linearization for PWM generator block.
  1 个评论
Greg Whelan
Greg Whelan 2016-12-18
True, I had found that, but that did not work. While I struggled with this for ~1 month, it was using perturbation as the input that was causing my issues.

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by