Can the integration method be changed for discrete PI controller block from motor control blockset?

2 views (last 30 days)
I am using Discrete PI controller block from recently released motor control blocket toolbox. It seems like the default Integrator method is set to "Acuumulator: Forward Euler". Is there a way to change integrator method to Backward Euler or trapezoidal?
  4 Comments
Prathamesh Vadhavkar
Prathamesh Vadhavkar on 23 Jul 2020
Yes, I was looking under the mask to figure out what the default integrator type is. That is how I found out that it is set to Accumulator: Forward Euler.

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 23 Jul 2020
A DiscreteIntegrator block has that option. You just have to change it yourself if it is available. Of course then you will be deviated from the built-in Motor Control Blockset Library.
Or you can contruct it yourself from the DiscreteIntegrator block.
  1 Comment
Prathamesh Vadhavkar
Prathamesh Vadhavkar on 23 Jul 2020
I realize that I can use other block or build my own. In my opinion its kind of a miss to not have that oprion in this particular block. Hopefully Mathworks will add that in future.

Sign in to comment.

Categories

Find more on Automotive Applications in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!