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

1 view (last 30 days)
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).

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 7 Dec 2016
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 Comment
Greg Whelan
Greg Whelan on 18 Dec 2016
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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!