I know this may sound a bit simplistic- but have you tried to simply reduce your P, I and D constants to be smaller? Can you divide them each by 10 for example?
Anybody have any suggestions for me about tuning a PID loop that looks at building pressure with a setpoint of .005"? Im having trouble slowing down the loop to prevent the fan from ramping up and down too fast. The loop output is then forwarded into a reset block to convert it into fan %. Please help i'm losing hair by the handful!!
I know this may sound a bit simplistic- but have you tried to simply reduce your P, I and D constants to be smaller? Can you divide them each by 10 for example?
there is a rate limit block (i think thats what its called, sorry i dont do webs anymore) that you can use to slow down your pid output.
it goes inbetween your pid and ao. you can limit the up and down rate.
although the best way is to tune your PID.
IV IV IX
use your head for something other than a hat rack.......Gerry
We have freedom because somebody fought for it.
We keep it because we are willing to fight for it.
We lose it because we are not willing to fight for it.
I would say tune the P.I.D. and it will take a while. If you're not real familiar with it plan on pulling out a lot more hair
ViceMan, you are the man. Duh, rate limiter, i should have known. What an oversight on my part!! I guess i should post on here more, my question was answered in 1 hour. Its too bad my boss paid for three days of PID troubleshooting. haha, sucker
Amigo, It's a spec from some dumba$$ engineer. Its too bad too, when i fart in the building it sends my fan for a ride. Ploop, oh wait the fan just went to 50Hz.
Slowing down the PID cycles IMO wont affect significally your fan behaviour, especially when you try to modulate this output based on a process variable on that range with a setpoint somewhere on that range of values.
Why? Because the variation of PV shall exist no matter when you choose from PID settings to see it and act. You would see something like PV cange - no reaction - after a while jump on a reacted output... believe me..
The best way to go is to tune up your PID, and maybe in some cases apply an antispike filter on PV (be careful not to brick the input...)
Cheers, have fun with PID tunning
The rate limiter function worked wonders for my program. It's too bad ill never get that hair back!!! Check out this printscreen of the graphic, working well
gnomethang
_______________________________________________
"Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them."
- The Reverend Mother Gaius Helen Mohiam