Replies: 6 comments 13 replies
-
OK, so from my experience so far, you may see these issues with the default configuration. I am no expert with PID theory, and the configuration was borrowed (with permission) from @DBorello and his pismoker project. I suspect there may be some tuning that may be required for specific grill sizes, etc. Here are some of my observations (some of this may be purely anecdotal):
Things you might consider trying are to vary the cycle time (sounds like you already moved that to 90). I'd play with something more conservative like 30 or 40s. Give that a try and see if that helps. Pushing to 90 may be burning too much wood, and not giving the PID time to really calibrate. Also consider trying to change the derivative time (Td). Again, I'm no expert, but try to reduce this a bit and see what happens. Good luck, let us know how your experimentation goes and hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the info and help. Well for # 1 I kind of figured that was playing into the issue. With it being ~95ish outside I imagine that it would be hard to only go up 80-90 and maintain that. I really want to figure out how to circumvent this as slow cooking at 180 in the summer is kind of important to me. Maybe a combination of PID tuning and smoke mode will help. I will need to waste some pellets and find out lol. For # 2 just so I am clear will the PID mode always push the auger at the cycle time but just vary the amount of auger on time? I started with 30 then went to 40 then 60 then 90 to try and get it so keep a lower temp. As I went up it seemed to help with the lower temps. For # 3 I noticed that the stock pitboss RTD is pretty slow to change and quite a difference since it is on the left side. I was also using a thermoworks air probe at grill level and it was 30+ in difference and would change quite quickly if the lid was opened. Originally I wanted to use the thermoworks at grill level to get a more accurate temp but I might need to use the stock RTD at least in the summer I guess. For # 5 I have not played with a lot of pellets and I was thinking about this. Maybe this can help with # 1 if I can find a lower temp burning wood. I need to get some more pellets and run some tests. Will report back what I find. Also I was thinking about the shutdown time. Right now it is about 60 seconds does that work out well for you? I think the stock timer was like 3-4 minutes but I never actually timed it. |
Beta Was this translation helpful? Give feedback.
-
Ok so I wanted to discuss an option here that I have been playing with. After using my grill for a while I have this strange feeling it is feeding pellets at a faster rate then Treager or maybe the pellets I am using are just burning hotter. I have been trying to play with the cycle time to help but it seems that at 20 it is just feeding to often when the grill hits temp which over time causes the temp to gradually rise over the set point. When raising cycle time to allow a longer gap of feeding it seems to improve a bit but the PID can feed even more pellets as it is homing in. I made a setting to change the 0.5 ratio in pid.py this way as it nears or is at the set point the amount of auger on time can be reduced. Currently from my testing the only thing that has really affected auger time when very close to or at the set point is cycle time. I need to do more testing but it is behaving much better when attempting to meet and hold the temp. In my case it also requires some tweaking of cycle time, min cycle ratio and max cycle ratio. I am currently testing with a 25 cycle time, 0.1 min cycle ratio, 0.75 max cycle ratio and a center ratio of 0.25 vs the hard coded 0.5 Anyway I wanted to ask if you would like me to make a pull request to add the option to PiFire. I called it center ratio as that was all I could think of at the time. I can change that if you have a better idea.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
maybe I missed the essential part:
What changes do I have to make to get my PiFire running in Celsius or are you still working on it?
Von: James Weber ***@***.***>
Gesendet: Dienstag, 14. Dezember 2021 02:30
An: nebhead/PiFire ***@***.***>
Cc: Subscribed ***@***.***>
Betreff: Re: [nebhead/PiFire] PID Controller Questions (Discussion #34)
Well I did a cook yesterday with the new PID settings and for me it was a great improvement. The overshoot of temp was way lower than before and once it hit the 225 I set it never crept up and held within about 5f unless I opened the lid etc. and even then it recovered much better. I think with some more tuning of max cycle I might be able to lower the overshoot even more.
Also ran this cook with the new Celsius/Fahrenheit update and all went fine. Although I did not run the grill in C it did work just fine in F.
Cycle Time - 25
Min Cycle - 0.1
Max Cycle - 0.75
Center Ratio - 0.25
PB Ti, Td where default.
<https://user-images.githubusercontent.com/313328/145915380-f19a84d7-0e89-4949-8ca2-653d9294af40.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#34 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AL634BYIMQFOYT3DRT3B7EDUQ2MZPANCNFSM5BJPSI7Q> . <https://github.com/notifications/beacon/AL634B2W4ZJV2RX3ZIIAGNLUQ2MZPA5CNFSM5BJPSI72YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAANYBDI.gif>
|
Beta Was this translation helpful? Give feedback.
-
Just wanted to show this. It was a cook from last night. With the new PID settings this thing is amazing. 2-4f swing with the lid closed and the over/undershoot was cut down so much for my grill. |
Beta Was this translation helpful? Give feedback.
-
Picking up the discussion from the Discord channel...does anyone know what the conditions are for PiFire to begin using the PID calcs? A recent cook of mine showed that PID is only used for 44% of the auger ON time...the remainder of the total auger ON time is spent within the MinCycle/MaxCycle range. My thought is not to rework or even understand the PID algo but to understand the conditions that cause the program to use the PID and possibly come up with a way to utilize the PID calculations more often. Also, it kinda nags at me that no provision is made for auger feed rate. I know this isn't an exact precise thing, feeding pellets, and precise temperature control is likely not possible nor required...it's just that I always thought PID was a full-time proposition and in this instance it's not. I think it would be ideal if it were, but that may not be possible...ok, how do we influence the PID to be in control more often? Can that be done? What are the conditions that trigger the PID calcs to be used? |
Beta Was this translation helpful? Give feedback.
-
So I finally got this project all assembled and installed. My first tests did not go as planned so maybe I am not understanding how the PID part is supposed to work.
All functions are working from what I can tell and smoke mode seems to do just fine and runs like the normal smoke mode on the old controller. The smoke plus feature is awesome and really does create a lot more smoke.
When putting PiFire into Hold mode it does not seem to be able to hold lower temps ~180 and seems to run too hot and this also happens at a higher temp of 225 on hold. Ambient was hot today around 90f so maybe that has a little bit to do with it???
Setting the hold to 180 the grill never really even comes close. It passes 180 all the way up to ~240. Since I still need to do more learning on PID tuning I have not changed the PB, Ti, Td yet but did change the cycle time all the way up to 90 and still it has a hard time maintaining the temp but does do better than the default 20.
It will dump more pellets every 90 seconds (or whatever I set for cycle time) and when trying to maintain a lower temp like 180 it seems the auger is on for way too long then temps spike up and never go down. If I set it to Smoke+ it seems to help maintain better temps but still is off by about ~20f and gradually raises over time.
I am going to start reading about the PID and how to tune it but any advice in the mean time?
Beta Was this translation helpful? Give feedback.
All reactions