MATLAB Answers

lsn
0

Pid block output limitation

Asked by lsn
on 31 Mar 2019
Latest activity Answered by Arvind Sathyanarayanan on 5 Apr 2019
I'm setting up a pid controller using simulink pid block where I need to set a limitation(saturation) for pid parameters outputs. As you know, the "limit output" saturates on the total of "P+I+D" outputs but I need to set limitation on each "P" ,"I" and "D" parameters individually. More specifically on "D" outputs.
For this purpose I used the data type menus but it doesnot work what ever I typed in the blanks. I tried to put the saturation block inside the mask but it is locked/forbidden.
Can anybody suggest how to limit the parameters outputs within pid block?

  0 Comments

Sign in to comment.

Products


Release

R2016a

1 Answer

Answer by Arvind Sathyanarayanan on 5 Apr 2019
 Accepted Answer

You were on the right path, the way to do is this by adding your own saturation block to the individual branches. Since Matlab doesn't let you break the link, I would suggest you make your own PID block by copying the contents under the mask into a new subsytem and modifying it.

  0 Comments

Sign in to comment.