M
Hi all,
I have just commited support for output limiting to the pid block of the dsp module. This is achieved by adjusting the integral part of the pid equation to whatever value is required to guarantee that the output value will never stray outside a configured band.
This means that the integral of the pid will not 'wind up' while in auto mode.
pid configuration syntax is now:
fblock pid <in_pt> <out_pt> [<P> [<I> [<D>]]] max_out <upper_lim>
min_out <lower_lim>
BTW, I changed the oven demos configuration files to include this. They still need to be optimized though, because the nonlinear (limiting)
block is now no longer required to limit the pid output. Juan, do you think you could do that?
I will still need to add support for automatic/manual modes, to guarantee that the pid output will follow the manual setpoint in manual
mode. Any preferences on how to do this?
I was thinking of something along the lines of:
fblock pid <in_pt> ... man_sp <plc_pt> mode_crtl <plc_pt>
Any other sugestions?
Cheers,
Mario.
--
----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------
The box said it requires Windows 95 or better, so I installed Linux
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
I have just commited support for output limiting to the pid block of the dsp module. This is achieved by adjusting the integral part of the pid equation to whatever value is required to guarantee that the output value will never stray outside a configured band.
This means that the integral of the pid will not 'wind up' while in auto mode.
pid configuration syntax is now:
fblock pid <in_pt> <out_pt> [<P> [<I> [<D>]]] max_out <upper_lim>
min_out <lower_lim>
BTW, I changed the oven demos configuration files to include this. They still need to be optimized though, because the nonlinear (limiting)
block is now no longer required to limit the pid output. Juan, do you think you could do that?
I will still need to add support for automatic/manual modes, to guarantee that the pid output will follow the manual setpoint in manual
mode. Any preferences on how to do this?
I was thinking of something along the lines of:
fblock pid <in_pt> ... man_sp <plc_pt> mode_crtl <plc_pt>
Any other sugestions?
Cheers,
Mario.
--
----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------
The box said it requires Windows 95 or better, so I installed Linux
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc