Our Valued Sponsor
OpinionsConsumer ReviewsGuides and How TosCoffeeGeek ReviewsResourcesForums
Espresso: Espresso Mods and Restorations
I just made a PID temperature controller simulator
Rancilio Essentials Pack
Includes Silvia, Rocky, 20 oz Pitcher, Cleancaf, Group Brush, Coffee & 4 Cup and Saucer sets.
www.wholelattelove.com
 
Not Logged in: Log In to Postlog in
New Topics updated topics   New Posts new posts   Unanswered Posts new unanswered  
Search Discussion Board search   Discussion Board FAQ faq   Signup sign up  
Discussions > Espresso > Espresso Mods > I just made a...  
view previous topic | view next topic | view all topics
Author Messages
Gabelstaplerfahrer
Senior Member
Gabelstaplerfahrer
Joined: 16 Jan 2007
Posts: 100
Location: The Netherlands
Expertise: I live coffee

Espresso: Gaggia Baby Twin
Grinder: Pasquini K2 + Capresso...
Drip: French press: Bodum 1L
Roaster: Alpina Popcorn Popper 220V
Posted Fri Oct 10, 2008, 12:23pm
Subject: I just made a PID temperature controller simulator
 

Today I have been reading about PID controllers, since that's what a lot of true Coffeegeeks eventually all do.
I noticed that while the concept as a whole was easy to understand, the actual mechanism seemed more complex.
That's why, this afternoon, I decided to make a simple PID simulator.

The things that I have taken into account are:
  • room temperature (fixed)
  • heating lag (fixed, for now)
  • cooling factor because of heat loss (fixed, for now)
  • no sharp temperature changes possible, a small average is taken (also fixed, for now)
  • PID sampling interval can be changed
  • all three PID control variables can be changed
  • granularity of applied power can be controlled (from more or less binary to almost analog)
  • target temperature can be changed
  • simulation speed can be changed

Everything works in real time. There's no fuzzy logic, it's all manual.

I built it in .NET so make sure you've updated your Microsoft .NET framework to version 3.5, which can be downloaded from http://microsoft.com/net.

The little simulator can be downloaded from http://sourceforge.net/projects/pid-simulator/

Please let me know what you think!

Gabelstaplerfahrer: Knipsel.PNG
(Click for larger image)
back to top
 View Profile Link to this post
Gabelstaplerfahrer
Senior Member
Gabelstaplerfahrer
Joined: 16 Jan 2007
Posts: 100
Location: The Netherlands
Expertise: I live coffee

Espresso: Gaggia Baby Twin
Grinder: Pasquini K2 + Capresso...
Drip: French press: Bodum 1L
Roaster: Alpina Popcorn Popper 220V
Posted Sat Oct 11, 2008, 5:27am
Subject: Re: I just made a PID temperature controller simulator
 

Version 1.0.0.3 is now online. The simulator features Gaussian filtering and shows the error and power adjustment results of the PID function.

Please folks, try this toy! It's fun!

*Update:
I created a SourceForge project. It's here: http://sourceforge.net/projects/pid-simulator/

Gabelstaplerfahrer: PID simulator.PNG
(Click for larger image)
back to top
 View Profile Link to this post
coffeeandsparks
Senior Member


Joined: 4 Oct 2008
Posts: 18
Location: sunny west coast
Expertise: I love coffee

Espresso: unit put away after 18 years
Grinder: cheap embarrased to say
Drip: mr c at the parents house
Roaster: soon
Posted Mon Oct 13, 2008, 11:29am
Subject: Re: I just made a PID temperature controller simulator
 

thanks
looks fun
back to top
 View Profile Link to this post
Gabelstaplerfahrer
Senior Member
Gabelstaplerfahrer
Joined: 16 Jan 2007
Posts: 100
Location: The Netherlands
Expertise: I live coffee

Espresso: Gaggia Baby Twin
Grinder: Pasquini K2 + Capresso...
Drip: French press: Bodum 1L
Roaster: Alpina Popcorn Popper 220V
Posted Mon Oct 13, 2008, 12:46pm
Subject: Re: I just made a PID temperature controller simulator
 

Had any luck finding a good and quick setting to heat a large volume? It's fun to try and heat a heat capacity of about 1000, it'll take ages to stabilize.
back to top
 View Profile Link to this post
JeepinGeo
Senior Member


Joined: 5 Dec 2007
Posts: 113
Location: Campbell, CA
Expertise: I love coffee

Espresso: Alex Doppia Caldaia, Silvia
Grinder: Mazzer SJ (x2), Rocky DL
Posted Tue Oct 14, 2008, 9:48am
Subject: Re: I just made a PID temperature controller simulator
 

Not yet, but I'm still waiting for my pallet full of GS3's! :) (Did anyone else check out his screen name?).

George
back to top
 View Profile Link to this post
Gabelstaplerfahrer
Senior Member
Gabelstaplerfahrer
Joined: 16 Jan 2007
Posts: 100
Location: The Netherlands
Expertise: I live coffee

Espresso: Gaggia Baby Twin
Grinder: Pasquini K2 + Capresso...
Drip: French press: Bodum 1L
Roaster: Alpina Popcorn Popper 220V
Posted Tue Oct 14, 2008, 2:04pm
Subject: Re: I just made a PID temperature controller simulator
 

Haha, you actually googled my name, kudos! It's one of the coolest short movies that I know of.
back to top
 View Profile Link to this post
Gabelstaplerfahrer
Senior Member
Gabelstaplerfahrer
Joined: 16 Jan 2007
Posts: 100
Location: The Netherlands
Expertise: I live coffee

Espresso: Gaggia Baby Twin
Grinder: Pasquini K2 + Capresso...
Drip: French press: Bodum 1L
Roaster: Alpina Popcorn Popper 220V
Posted Thu Oct 16, 2008, 10:02am
Subject: Re: I just made a PID temperature controller simulator
 

I posted a new version, 1.0.0.6, of the PID simulator, it now features a variable heat loss and the ability to simulate a shot of espresso with variable time and heat loss.
back to top
 View Profile Link to this post
view previous topic | view next topic | view all topics
Discussions > Espresso > Espresso Mods > I just made a...  
New Topics updated topics   New Posts new posts   Unanswered Posts new unanswered     Search Discussion Board search   Discussion Board FAQ faq   Signup sign up  
Not Logged in: Log In to Postlog in
Discussions Quick Jump:
Symbols: New Posts= New Posts since your last visit      No New Posts= No New Posts since last visit     Go to most recent post= Newest post
Forum Rules:
No profanity, illegal acts or personal attacks will be tolerated in these discussion boards.
No commercial posting of any nature will be tolerated; only private sales by private individuals, in the "Buy and Sell" forum.
No cross posting allowed - do not post your topic to more than one forum, nor repost a topic to the same forum.
Who Can Read The Forum? Anyone can read posts in these discussion boards.
Who Can Post New Topics? Any registered CoffeeGeek member can post new topics.
Who Can Post Replies? Any registered CoffeeGeek member can post replies.
Can Photos be posted? Anyone can post photos in their new topics or replies.
Who can change or delete posts? Any CoffeeGeek member can edit their own posts. Only moderators can delete posts.
Probationary Period: If you are a new signup for CoffeeGeek, you cannot promote, endorse, criticise or otherwise post an unsolicited endorsement for any company, product or service in your first five postings.
WholeLatteLove Gift Certs
Gift Certificates. The perfect gift, free S&H, and one size fits all. Get one for your Coffee Geek.
www.wholelattelove.com

WIPS™ Forums Software.   ©2009, WebMotif Net Services, Inc.
The WIPS Forums is customized software and part of WebMotif's WIPS Content Management System.
Home | Opinions | Consumer Reviews | Guides & How Tos | CoffeeGeek Reviews | Resources | Forums | Contact Us
CoffeeGeek.com, CoffeeGeek, and Coffee Geek, along with all associated content & images are copyright ©2000-2009 by WebMotif Net Services, Inc., all rights reserved, unless otherwise indicated. Content, code, and images may not be reused without permission. Usage of this website signifies agreement with our Terms and Conditions. (0.40811896324158)
Privacy Policy | Copyright Info | Terms and Conditions | CoffeeGeek Advertisers | RSS