topbanner.gif
Login
Username

Password




Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Shoutbox
You must login to post a message.

renatoa
03/04/2024 3:55 AM
welcome to forum DiyDan, alin and coffin420

renatoa
03/03/2024 7:22 AM
YUL MTL, wayback and jakehounds, welcome2

renatoa
03/01/2024 8:52 AM
coffee drink, nguyenanh ?

renatoa
02/29/2024 1:31 PM
peternh, welcome cup

renatoa
02/27/2024 2:10 AM
Airtimid and Foolmeonce, welcome to forum

In Memory Of Ginny
Donations

Latest Donations
dmccallum - 10.00
JackH - 25.00
snwcmpr - 10.00
Anonymous - 2.00
Anonymous - 5.00
Users Online
Guests Online: 5

Members Online: 0

Total Members: 8,128
Newest Member: DiyDan

View Thread

Who is here? 1 guest(s)
 Print Thread
TC4 - Bourbon application software
JimG

Quote

Bhante wrote:I'm wondering what my best solution for the filtering is in this case. I had BT_Filter and ET_Filter both on 10, and Rise_Filter on 85

First, get the latest aBourbon here:
https://tc4-shiel...hes/RB-200

Then open the user.h file and edit the values for RISE_FILTER and ROR_FILTER.

RISE_FILTER acts on the values of BT, smoothing them out before the RoR calculation is performed.

The ROR_FILTER is new, and is the result of working with Bill on his Gesha program. This new filter acts on the computed RoR values themselves.

We found that a combination of these filters gives a good result with not quite the lag penalty.

I'd suggest maybe trying 85 for both filters, and then moving up from there.

Jim
 
JimG

Quote

bvwelch wrote:
With just slightly more effort, you could define an equivalent message for each of the 4 tc button operations. I'm not sure how useful that is, but t wouldn't be too hard.

Useful, I think, and already done.

Button 2 marks first crack.

Button 3 marks second crack.

Button 4 marks eject, and now also causes the screen to be captured for posterity :)

Jim
 
bvwelch

Quote

JimG wrote:
Useful, I think, and already done.

Button 2 marks first crack.

Button 3 marks second crack.

Button 4 marks eject, and now also causes the screen to be captured for posterity :)

Jim


Let me try again -- I was suggesting, that in a manner similar to pBourbon sending RESET, pBourbon could send additional messages if you type F,S, E, or whatever on the PC keyboard -- send them back to aBourbon, which might light an LED or something???
 
Bhante

Quote

JimG wrote:
Then open the user.h file and edit the values for RISE_FILTER and ROR_FILTER.

Many thanks.

Is there a formula I could plug into excel for experimenting, or is it more complicated than that?
 
Bhante

Quote

JimG wrote:
Button 4 marks eject, and now also causes the screen to be captured for posterity :)

You know, it would be nice to have the screen to be captured automatically when closing the window, when it saves the data.
 
JimG

Quote

Bhante wrote:
Is there a formula I could plug into excel for experimenting, or is it more complicated than that?


Yi = ( 1 - beta ) * Xi + beta * Yi-1

Y is the series of filtered values.

X is the series of raw data.

Beta is the amount of filtering. If beta is zero, then no filtering is done. As beta gets close to 1, then the data become very heavily filtered.

In the aBourbon code, beta is actually specified as a percent, but you get the idea.

Jim
 
JimG

Quote

Bhante wrote:
You know, it would be nice to have the screen to be captured automatically when closing the window, when it saves the data.

Piece of cake ;)
 
greencardigan
I've just finished a roast using the latest Release Branch of pBourbon (RB-200). I was using pBourbon together with the TC4/PICAXE combination rather than the usual TC4/Arduino combination.

The latest version allows the option of loading up an old logfile as a background as seen in the snapshot below. The logfile loaded here is Jim's test roast as posted earlier in this thread. :)

www.greencardigan.com/misc/air_roaster_build/data_logger_controller/roast201104101548-6891.jpg

This test highlighted a few issues.

1. The background plot of ROR is not showing the exaggerated values, just the raw values out of the log file. I can fix this easily.

2. The ROR for this roast is also not showing exagerated values. This is due to a coding error in my PICAXE code only. An Arduino with running aBourbon will not have this issue.

3. Negative ROR values are getting plotted as positives. Again, this is a coding error with my PICAXE code only. But I think I like this error! Maybe the line could just change color for negative values? Any thoughts on this?


EDIT: I forgot to mention I was not recording ET as my ET probe is playing up.

Brad
Edited by greencardigan on 04/10/2011 1:53 AM
 
Bhante

Quote

JimG wrote:

Quote

Bhante wrote:
You know, it would be nice to have the screen to be captured automatically when closing the window, when it saves the data.

Piece of cake ;)

Your cake always tastes good Jim!
 
Bhante

Quote

greencardigan wrote:
But I think I like this error! Maybe the line could just change color for negative values? Any thoughts on this?

Interesting, but I suspect it would be rather confusing.

Talking of colours I am somewhat colour-blind and I don't get on too well with the coloured lines on a black background. Especially these dark red lines for me are so faint they are barely to be seen at all. Maybe for people with normal colour vision they seem quite bright and clear!? Dark red, dark blue and dark green (for example) lines on a white background would be much easier to see (at least for my eyes), and they would also print much better. The templates would be good as a relatively faint gray, and the grid could be a very very faint gray, so faint that it almost fades into the background but still aids reading off temperature without interfering. The text font for the markers could afford to be about half the point size.

Bhante
 
Bhante

Quote

JimG wrote:

Quote

Bhante wrote:
Is there a formula I could plug into excel for experimenting, or is it more complicated than that?

Yi = ( 1 - beta ) * Xi + beta * Yi-1

Y is the series of filtered values.
X is the series of raw data.

Thanks Jim. I've tried it on the data from the last roast. Plotting it turned out a bit complicate - I'll have to install the earlier version of Excel that I was using before, the 2003 version is far too difficult to format sensibly. Values for beta of .60 seem to give reasonable results, higher and the distortions become much greater, the closer you get to 1. That is with data that has already been filtered once though, I'm not sure how that affects the results. I'll have to try and generate some unfiltered data and then try again.
 
JimG

Quote

Bhante wrote:
That is with data that has already been filtered once though, I'm not sure how that affects the results. I'll have to try and generate some unfiltered data and then try again.

In user.h, change BT_FILTER and ET_FILTER to 0. This will give you unfiltered values in the log file for BT and ET.

The log file is in CSV format, so is easily used by Excel.

Jim
 
drip_kid
Thanks all for contributing to this thread. I've been waiting on thermocouples to come in and in such a short amount of time this has gotten super organized and lots of input added. By the time I actually get this running it's going to be great. Wish I could buy you a beer!
-Mat
 
JimG
Bourbon Roast Monitor Release 2.00 is now ready for download.

Hats off to Brad (greencardigan) for significant improvements on the PC side of things. He added several new features, and together he and I were able to fix the timing issues that had bothered me since the first version of Bourbon.

Thanks to Bhante for his helpful suggestions, and to Bill for keeping us on the right track.

Please give the newest release of Bourbon a try on your TC4/Arduino, either as a standalone roast monitor, or with pBourbon running on your laptop for realtime plotting and logging.

The roast markers are a very nice addition.

Probably my favorite addition is the ability to plot the log of a previous roast (nicely faded to the background) as a guide for the current session. (The original feature of plotting a guide profile for BT is maintained and made a little easier to activate).

http://tc4-shield...EL-200.zip

There is a long README in the zip file with more details.

Jim
 
Bhante

Quote

JimG wrote:
Bourbon Roast Monitor Release 2.00 is now ready for download.
Please give the newest release of Bourbon a try on your TC4/Arduino
Jim

Nicely timed! I'll try it out now.

Bhante
 
JimG
I am proceeding to work on a few features intended for the next (3.x) release of Bourbon.

Initial thoughts:

1. We should also release standalone executables that do not require Processing to be installed on the user's computer.
2. If a saved log file, "logfile.csv", is present, it will automatically be read and plotted. Same deal with a guide profile, "profile.csv". If they are both present, they both get read.
3. If the config file indicates Celsius operations, then the program looks for "logfile_c.csv" and "profile_c.csv" instead.

Other ideas?? -- keeping in mind that Bourbon is intended to be the entry level application for the TC4 ;)

Jim
Edited by JimG on 04/16/2011 5:13 PM
 
greencardigan
A standalone executable would be good.

As far as features go I think pBourbon is just about done. The only thing I don't like is the traces starting behind the axis text. But in can live with that.

Brad
 
JimG
Bourbon Roast Monitor 2.10 is ready for download from the tc4-shield.googlecode.com project site.

There were timing issues at startup with the PICAXE and Uno that sometimes caused the timer reset to happen late.

New code (discussed in the tech thread) was added to make the communication with the remote more robust.

Link for the 2.10 zip file:
http://tc4-shield...EL-210.zip

Jim
Edited by JimG on 04/18/2011 4:32 PM
 
bvwelch
Well, it may not be of interest, since version 2.00 is already obsolete, but here's a roast I did this afternoon. Seemed to work fine, except it looks like I'll need averaging on the Processing side to smooth out the RoR noise...

bvwelch.com/tc4/newclassic.jpg
Edited by bvwelch on 04/18/2011 6:11 PM
 
greencardigan
Maybe just try increasing the filter % in aBourbon? I did a roast last night with the rise filter at 90% and the RoR filter at 94%. The lag in the ror trace wasn't as bad as I expected.
 
Bhante
I have done a roast on the hottop with Bourbon 2.0 with no environment sensor, and I have found a rather troubling roughly linear relationship between T0 and T1. Is there any reason to expect such a relationship? Of course, when there is no T1 sensor plugged into the TC4, its value is to be expected to be somewhat undefined, but such a specific relation to T0 is unexpected to me. If the channels are not fully independent when one sensor is disconnected, why should they be fully independent with the relevant sensors connected? Possible explanations that spring to mind include: some kind of memory effect in the ADC between conversions; capacitance effect; or some strange effect mediated through the calculation of temperature correction. The ambient temperature however is virtually constant, and does not appear to be the cause.

up.picr.de/6875729bnt.jpg

up.picr.de/6876683cmw.jpg
Edited by Bhante on 04/19/2011 1:12 PM
 
Bhante
I've done two roasts with Bourbon 2.0, both on the HottoP: first with all filtering disabled (to collect data so that I can experiment with the filtering in excel), and then the second with all filtering on the default settings.

Unsurprisingly the first plot with no filtering does not allow RoR to give much useful information, but the purpose was only for data collection (I haven't had time to experiment with the data yet).

up.picr.de/6876900guk.jpg

The plot from the second roast is with the default values for filtering:

up.picr.de/6876931cog.jpg

I have changed the graph colours, which my eyes get on rather better with; the colours were done somewhat quickly by trial and error and there is naturally room for improvement.

It would be nice to attach the time and temperature to the event markers. Earlier in this thread I attached a picture from GreenBean's roastlogger program, which marks the events in a very nice way. The template events are shown in gray with labels below. The current roast is shown in colour, with the events in red above, so that they do not conflict. In each case there is an arrow from the label to the event, either from above or from below as required.

up.picr.de/6773506pex.png
 
JimG

Quote

Bhante wrote:when there is no T1 sensor plugged into the TC4

Not sure we can draw any conclusions from readings made with an open circuit. Try looping a wire between the open terminals and see if the behavior is repeated.

Jim
 
JimG
If there are any Ubuntu users out there, I am finding that my machine (an older Dell laptop) definitely does not like framerates faster than 1 in pBourbon. Besides that, pBourbon is running very well on Ubuntu 10.10 with Processing 1.2.1.

Jim
 
JimG
First roast of the day (Ethiopian + Yemen mix). Monitored with Bourbon running on Ubuntu laptop. Roasted using manually controlled heater/fan on Hottop:
JimG attached the following image:
roast01.jpg
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
trouble downloading software Roasting Coffee 2 01/17/2023 2:57 AM
How can I utilize the macro keyboard in SoftwareArtisan Software? Building a Coffee Roaster 12 10/31/2022 6:44 AM
software/circuit designer wanted for new roaster Building a Coffee Roaster 3 03/22/2022 12:49 PM
ADR Software Sonofresco to Mac New Members say hello or you may update your profile. 1 03/16/2022 7:07 PM
Can't Find Roastlogger Software ROASTING SOFTWARE APPS 3 06/21/2020 1:45 PM
Homeroasters Association Logo, and all Content, Images, and Icons © 2005-2016 Homeroasters Association - Logos are the property of their respective owners.
Powered by PHP-Fusion Copyright © 2024 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman