Page 1 of 1

help on pid setup

Posted: Sun Dec 25, 2016 4:31 am
by losco70
Merry xmass to every body :)

I want to control with pid a motorized valve that takes about 3 seconds to open/close so I need an output on/off that is at least 3 seconds or more.
What is the right parameters to play with in the pid setup?

Thank you
Luca

Re: help on pid setup

Posted: Mon Dec 26, 2016 9:32 pm
by oakbarn
It would depend on how the motor works and is wired. Do it cut off after it opens or closes. Not enough information to give an informed answer.

Re: help on pid setup

Posted: Tue Dec 27, 2016 2:50 am
by losco70
I have a cr03 valve wired to the NO and NC contact of the relay board so the signal isn't cut off after the movement, but the valve actuator switch off after the operation is completed.

Re: help on pid setup

Posted: Wed Dec 28, 2016 6:30 am
by oakbarn

Re: help on pid setup

Posted: Thu Dec 29, 2016 10:08 am
by losco70
Hi Oakbarn,
I have no problem for wiring the valves, in fact I already did it and everything works.
What I need is that one valve act as a heating elements controlled by pid, but as the valve takes about 3 seconds to open (and 3 to close) I would like that the interval on/off managed by the pid last at least 3 seconds on or off.

Re: help on pid setup

Posted: Thu Dec 29, 2016 10:27 am
by JonW
The PID method of control cycles outputs on/off frequently and is not really suitable for motors. The docs contain information about setting the parameters: http://docs.embeddedcc.com/settings/#pid-settings

You should probably be looking at using Hysteresis mode for a valve.

Re: help on pid setup

Posted: Sat Dec 31, 2016 3:24 am
by losco70
JonW wrote:The PID method of control cycles outputs on/off frequently and is not really suitable for motors. The docs contain information about setting the parameters: http://docs.embeddedcc.com/settings/#pid-settings

You should probably be looking at using Hysteresis mode for a valve.

Thank you JonW, I will run some test
happy new year to everybody :)