MATLAB Answers

In PID control, how to work with integrator with different sample time ?

9 views (last 30 days)
Rishikesh V P
Rishikesh V P on 3 Jun 2019
In a model with Ts=1sec , I have PID controller with integrator sample time of 20 sec. It accumulates values at sample rate of model(1s) and gives output at every 20s. Rather I want it to accumulate at 20s rate. How to do the same?
  1 Comment
Arvind Sathyanarayanan
Arvind Sathyanarayanan on 3 Jun 2019
I would sugeest making your own PID block and setting the sample time of integrator to 20 sec.
It can be as simple as copying blocks under the mask of the built-in PID controller and pasting in to a new subsytem.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!