abacom-online.de
http://forum.abacom-online.de/phpBB3/

PI Controller Reset function
http://forum.abacom-online.de/phpBB3/viewtopic.php?f=52&t=4603
Seite 1 von 1

Autor:  QMESAR [ Montag 27. März 2017, 15:18 ]
Betreff des Beitrags:  PI Controller Reset function

Hi All,

Please I need your help with the PI Controller,As shown in the attached sketch I have my set point signal and the feed back signal with the KP and KI parts the output goes into a limiter that sets me the max and minimum outputs for the controller.
This functions however my problem is how to reset the integrator ,my understanding from the help file is the reset pin reset the integrator and by adding a pulse generator to the RST pin with a rate at 1 sec I can see the output go higher and at 1 second fall back to the original value however in the real system this is a problem as the actuator would move to try and correct the error but when the integrator is resetted it falls back even with not correcting the error,I need the actuator to keep on moving to correct the error until max is reached and then stay there if the error remains or when the error get smaller and even 0 then the integrator should reset,

How can I achieve this in PL I appreciate all help highly

Kind Regards

Dateianhänge:
1.JPG
1.JPG [ 45.92 KiB | 1007-mal betrachtet ]

Autor:  abacom [ Dienstag 28. März 2017, 08:06 ]
Betreff des Beitrags:  Re: PI Controller Reset function

Zitat:
This functions however my problem is how to reset the integrator

Simply pull down /RST to LOW once for reset, whenever necessary. That´s it.

Autor:  QMESAR [ Dienstag 28. März 2017, 10:33 ]
Betreff des Beitrags:  Re: PI Controller Reset function

abacom hat geschrieben:
Simply pull down /RST to LOW once for reset, whenever necessary. That´s it.


Thank you for the reply , :D
This is not my problem how to reset it, I have done that by pulling the RST pin low and it works my question was how can I determine when the error is small and the integration should stop or be set to zero ,Do I calculate the error manually in front of the PI component with a math component ?

Autor:  abacom [ Mittwoch 29. März 2017, 08:18 ]
Betreff des Beitrags:  Re: PI Controller Reset function

??? So I don´t understand your request unfortunately. Sorry for that.

Autor:  tmm [ Mittwoch 29. März 2017, 08:35 ]
Betreff des Beitrags:  Re: PI Controller Reset function

Hi,

for example, do something like this........

Dateianhänge:
integration_only.prj [810 Bytes]
55-mal heruntergeladen

Autor:  Mike D [ Mittwoch 29. März 2017, 08:51 ]
Betreff des Beitrags:  Re: PI Controller Reset function

since you use the limiter, have you already seen the properties of PI?
Make a double klick on PI.

Mike

P.S. please use punctuation marks and shorter sentences. So we could better understand you.

Autor:  QMESAR [ Freitag 31. März 2017, 11:39 ]
Betreff des Beitrags:  Re: PI Controller Reset function

Hi All.

tmm thank you for your PL project this helped me to do as per attached screen print,maybe not perfectly correct but it functions in real time operation and I can live with it for now on the machine

All that I asked was
(1)ideas for a method to determine when the error is small;this method should the reset / stop the integration of the PI or PID component
(2) It was clear that pulling the RST pin low the integration will stop or reset (This is clearly mentioned in the Help file)
(3) I do read the help file before wasting peoples time here in the forum

Dateianhänge:
1.JPG
1.JPG [ 113.77 KiB | 860-mal betrachtet ]

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/