Here is my PID (work in progress)

Discuss tuning PID coefficients to maximize system efficiency.

Here is my PID (work in progress)

Postby rabeb25 on Mon Jan 26, 2009 8:50 pm

Here is my Pid setup, Still working on dialing it in.

http://rabeb25.mikesdecks.com/BEER/MISC/BCS/PID%20Tuning/
User avatar
rabeb25
 
Posts: 23
Joined: Thu Jan 15, 2009 8:48 pm
Location: Albertville, MN

Re: Here is my PID (work in progress)

Postby np0x on Tue Jan 27, 2009 8:54 pm

Can you give some explanation about how you read/tune this information? I know enough about pid programming to know that I know nothing about pid programming, i cannot even claim to be much more than mildly inept, never mind dangerous.
Check out the Brew Buddy for iphone controlling your bcs-460.
np0x
 
Posts: 108
Joined: Wed Oct 15, 2008 9:16 am
Location: Denver, CO

Re: Here is my PID (work in progress)

Postby rabeb25 on Tue Jan 27, 2009 10:31 pm

Well I honestly just found out from Adam, 2 nights ago..SO I am really not the man to explain it. I am in the same boat as you Noah. I did get my overshoots fixed though.. and they were completely un-related to my pid tuning... go figure :roll:
User avatar
rabeb25
 
Posts: 23
Joined: Thu Jan 15, 2009 8:48 pm
Location: Albertville, MN

Re: Here is my PID (work in progress)

Postby ECC on Wed Jan 28, 2009 10:21 am

I have a placeholder on the wiki to start documenting and explaining the PID controls. Its blank now, but check back ;)

http://www.embeddedcontrolconcepts.com/ ... ementation
User avatar
ECC
 
Posts: 353
Joined: Fri Sep 12, 2008 2:29 pm

Re: Here is my PID (work in progress)

Postby Zulu on Wed Feb 04, 2009 2:07 pm

I am the same as you guys, know the concept , but little else.

I did find that my system worked very well from the beginning with almost no overshoot (1.3 deg F). I have not plotted them though - just visual observation. This was the single AHA moment for me, as the cheap PID I used to use always overshot and no matter what I did I could NOT fix it.

In 2nd 3rd and 4th batches I did not notice as much overshoot, but I did also mash in closer to accurate temps, first time out I deliberately mashed low to do a step mash to see actual step times. I am monitoring two temps during the mash, both the actual temp at the output valve of the mash tun , thus as close to real mash temp as I can get without putting the thermistor into the mash itself, and I also monitor the out put of the RIM heating chamber (1500W 110 volt) to see how much differential in temp I am seeing . Amazingly I only see about 5-6 deg max difference when heating is ON. There is 6ft of copper pipe between the two points , some of it insulated but not all, so know I get a bit of cooling in the winter from heater to mash tun.

I now have a third Thermistor , so next batch - Saturday - will monitor the actual temp of mash being pumped back into the mash tun , just for interest.

I will try and remember to plot my results this weekend.
Zulu
 
Posts: 15
Joined: Tue Oct 14, 2008 7:13 am

Re: Here is my PID (work in progress)

Postby bsfixit on Wed Feb 04, 2009 3:19 pm

I got the temp probe from ECC. when I ran some tests in the pasts days I had no overshoot of temps at all.
I just set the temp and selected pid. and it never went over the set point. I am so glad I dont have to mess with that.
the temp probe is inline of the outlet of the HLT in a SS "T" fitting, from there it goes straight to the pump and back to the
HLT with, 2, 2KW 120 volt elements. I can try a screen capture next time I run the system, but its all set to whatever
Adam set them to.
Brett
User avatar
bsfixit
 
Posts: 170
Joined: Thu Dec 25, 2008 7:26 pm

Re: Here is my PID (work in progress)

Postby WolfPlott on Fri Jun 19, 2009 8:58 pm

One thing to keep in mind with the PID settings is that the integral coefficient can be very sensitive. If you have a problem with the loop basically working correctly, but not quite giving it enough "umph" to get to the set point... you can add a small amount to the integral coeff. The integral coeff is basically looking at the sustained error over time. The longer the time where the error is negative (lets say), then larger the integral error... therefore the larger the total correction.

Its exactly what it says it is... the integral coefficient is looking at the area under the error curve. The larger that area (meaning a sustained error), the more it will contribute.

I tweaked my PID loop by only changing the integral coefficient from the default settings. The default integral value is 0.1. I am using 0.22 now, and it holds temp like a champ. 0.3 gives a little too much overshoot for me (over 153), and 0.2 is not quite enough to maintain 152 on my mash. It'll hover around 151 - 151.5.

I am using a single 3500W 240V element on 120V. Works pretty well.
WolfPlott
 
Posts: 3
Joined: Fri Jun 19, 2009 8:48 pm

Re: Here is my PID (work in progress)

Postby mpilchuk on Mon Jun 22, 2009 11:22 am

WolfPlott wrote:One thing to keep in mind with the PID settings is that the integral coefficient can be very sensitive. If you have a problem with the loop basically working correctly, but not quite giving it enough "umph" to get to the set point... you can add a small amount to the integral coeff. The integral coeff is basically looking at the sustained error over time. The longer the time where the error is negative (lets say), then larger the integral error... therefore the larger the total correction.

Its exactly what it says it is... the integral coefficient is looking at the area under the error curve. The larger that area (meaning a sustained error), the more it will contribute.

I tweaked my PID loop by only changing the integral coefficient from the default settings. The default integral value is 0.1. I am using 0.22 now, and it holds temp like a champ. 0.3 gives a little too much overshoot for me (over 153), and 0.2 is not quite enough to maintain 152 on my mash. It'll hover around 151 - 151.5.

I am using a single 3500W 240V element on 120V. Works pretty well.


WHAT?

Good info. I haven't a clue what an integral coefficient is, but I'm gonna play with it based on your message. Thanks.
User avatar
mpilchuk
 
Posts: 39
Joined: Sun Jan 04, 2009 10:31 pm


Return to Show me your PID

Who is online

Users browsing this forum: No registered users and 1 guest

cron