+ Reply to Thread
Results 1 to 11 of 11

Thread: Configuring a Spyder PID to modulate a vfd based on building pressure

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    6
    Post Likes

    Configuring a Spyder PID to modulate a vfd based on building pressure

    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!!

  2. #2
    Join Date
    Aug 2009
    Posts
    2,456
    Post Likes
    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?

  3. #3
    Join Date
    Jan 2005
    Location
    steeler nation
    Posts
    2,414
    Post Likes
    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.

  4. #4
    Join Date
    Aug 2009
    Posts
    168
    Post Likes
    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

  5. #5
    Join Date
    Feb 2005
    Posts
    1,724
    Post Likes
    Quote Originally Posted by agent4g94 View Post
    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!!
    are you sure your setpoint is 0.005 ? that seems awfully low.

    I think that should read more like 0.05 for building pressure.

  6. #6
    Join Date
    Mar 2009
    Posts
    6
    Post Likes
    Thread Starter
    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

  7. #7
    Join Date
    Mar 2009
    Posts
    6
    Post Likes
    Thread Starter
    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.

  8. #8
    Join Date
    Feb 2005
    Posts
    1,724
    Post Likes
    Quote Originally Posted by agent4g94 View Post
    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.
    Yeah, that will sure keep your fan busy, especially on days when chilli is on special,

  9. #9
    Join Date
    Jun 2006
    Location
    Athens Greece
    Posts
    108
    Post Likes
    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

  10. #10
    Join Date
    Mar 2009
    Posts
    6
    Post Likes
    Thread Starter
    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

  11. #11
    Join Date
    Aug 2006
    Location
    UK
    Posts
    336
    Post Likes
    Quote Originally Posted by agent4g94 View Post
    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
    Glad you got it sorted. What did the screen dump look like 10 seconds later?

    Seriously - I always try to filter the PV in any loop. The degree of that is always determined by the application.
    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

+ Reply to Thread

Quick Reply Quick Reply

Register Now

Please enter the name by which you would like to log-in and be known on this site.

Please enter a password for your user account. Note that passwords are case-sensitive.

Please enter a valid email address for yourself.

Log-in

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •