Happy HolidaySs Giveaway - Last Sponsor Giveaway of the Year!

Come Enter the BrewDeals/FastFerment Giveaway!


Home Brew Forums > Home Brewing Beer > Brew Science > An interesting thermocouple/filtering phenomenon
Reply
 
LinkBack Thread Tools
Old 01-26-2010, 04:33 AM   #1
Yuri_Rage
Gritty.
HBT_MODERATOR.png
Feedback Score: 0 reviews
 
Yuri_Rage's Avatar
Recipes 
 
Join Date: Jul 2006
Location: Southwest
Posts: 13,987
Liked 629 Times on 392 Posts
Likes Given: 57

Default An interesting thermocouple/filtering phenomenon

If you want to get the gist of my post without reading all of the detail, just read the bold text.

In the interest of fast response time, I ordered grounded thermocouples for my electric brew rig. However, I failed to realize that grounded thermocouples are even more susceptible to noise than the non-grounded variety. I really should have done another 5 minutes worth of homework before ordering some rather expensive sensor packages. As a result,

I get very jittery output with occasional extreme spikes.

After doing most of the soldering/wiring on my new Arduino shield,

I decided to run the thermocouple outputs through a software filter adapted from the one on this webpage.

It works very well. The sensor output jitter is now reduced to about 0.5°. The filter uses 12 samples at a rate of 2 Hz, effectively resulting in a 6 second response time. But that's not the interesting part.

*** Filtering the output actually resulted in a bit of unanticipated calibration in both accuracy and precision. ***

Of the two thermocouples that I have connected,

one of them always seemed to read a degree or two low, and the other was always a few degrees high.

The smoothed output now shows the sensors steady within 1° of one another at +/- 1° of the actual process temperature.


I'm quite amazed at this simple brute force filtering technique!
__________________
Homebrewed Blog..........YouTube Channel .......... Shirts, posters, etc
Yuri_Rage is offline
 
Reply With Quote Quick reply to this message
Old 01-26-2010, 04:43 AM   #2
Eigenmusic
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2009
Location: Rio Grande Valley, TX
Posts: 63
Default

Would be nice to see some graphs (formal or not!) of the readings before and after the filtering.

__________________
On Deck: Several Brews...
Primary: nuthin'
Bottled: #5-Cascade APA - OG 1.054 (2010-01-05 -> 2010-02-02), #4-Mega Chocolate Stout - OG 1.065 (2009-10-15 -> 2009-11-11), #2-Fresnos Tripel - OG 1.080ish (2009-08-18 -> 2009-09-30)
Dumped: #0-Improper Honey Infested Wheat
Consumed: #1-Proper Infested Wheat (bottled 08/04/2009), #3-Vanilla Porter - OG 1.062 (09/20/2009 -> 10/07/2009)
Infested Wheat: Hefeweizen made from the last, dusty bag of whole wheat from the old feed store 30 miles away.
Eigenmusic is offline
 
Reply With Quote Quick reply to this message
Old 01-26-2010, 04:45 AM   #3
Yuri_Rage
Gritty.
HBT_MODERATOR.png
Feedback Score: 0 reviews
 
Yuri_Rage's Avatar
Recipes 
 
Join Date: Jul 2006
Location: Southwest
Posts: 13,987
Liked 629 Times on 392 Posts
Likes Given: 57

Default

Here is some empirical data: http://twitter.com/kampferstrahl.

The sensors are within a few feet of one another and have been registering ambient temperature in the brew hut for days. All of the readings before 30 minutes ago (25 Jan 10, 10:15 PM, CST) were before I applied any filtering.

I also did a little testing with some icewater, and the results were similar. I don't feel particularly inclined to graph the results, as the observed output is quite adequate.

__________________
Homebrewed Blog..........YouTube Channel .......... Shirts, posters, etc
Yuri_Rage is offline
 
Reply With Quote Quick reply to this message
Old 01-27-2010, 10:29 PM   #4
Hodor_Baggins
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jan 2009
Location: Denver, CO
Posts: 63
Liked 1 Times on 1 Posts

Default

Not sure about your setup, but would ferrite beads on the grounding wire reduce some of the noise?

__________________
KegCapTap.com The perfect tap handle for every keg
Hodor_Baggins is offline
 
Reply With Quote Quick reply to this message
Reply



Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
An interesting phenomenon cuinrearview Hops Growing 8 09-22-2009 02:18 AM
Thermocouple or thermocouple wire source? e lo Equipment/Sanitation 22 11-08-2007 09:09 PM
weird bottling phenomenon idkid Bottling/Kegging 6 04-17-2007 02:13 AM



Newest Threads

LATEST SPONSOR DEALS