Not a member yet?
Click here to register.

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

09/24/2023 1:28 AM
pouring, InspiredRoastR

09/23/2023 4:29 AM
baldzilla, morning

09/14/2023 1:29 PM
coffee drink, madcow

09/12/2023 12:10 PM
DragonCoffee Welcome

09/10/2023 6:26 AM
welcome cup, Burfelt

In Memory Of Ginny

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: 7,944
Newest Member: InspiredRoastR

View Thread

Who is here? 1 guest(s)
 Print Thread
SR800/SR540 Fan Current TC4+
My bad, I was not clear. The profile above is the designed profile not measurements from a roast. The ROR plot shown is just the derivative of the blue profile curve. The red plot is the original profile you said I should reduce the ROR on near the end. You are looking at the "Profile Designer" if you will.

Trust me, my measured ROR will look much more real :)
Latest roast. I need to work on the PID tuning. I need to do a little work on the voltage compensation using the ZC pulse width. I think the pulse width is temperature sensitive. I am going to change to using the mean of the last minute or two as the reference pulse width. By the time I finished the second roast, the compensation was adding a lot to both the fan and heater control values. The PID did compensate, but my manual fan control settings were getting pretty skewed.

I will work on getting this data into Artisan for easier digestion for everyone who is not me ThumbsUp

Also going to add markers for the crack beginning and ending.

I also want to try the thermocouple averaging idea. I have stainless steel probes, so I can't try the super cool twisting the thermocouple wire idea. But I have multiple probes and channels.
dwertz attached the following image:
That is a nice looking curve, far better than anything I've been able to achieve manually. Are you noticing any better taste from your roasts? If nothing else one would be gaining consistency.
Thanks! It is a lot better than anything I have done manually as well. Still some work to do tuning things. You can see from the ROR there is still some ringing in the response.

I am not sure I have a refined enough palate to really say the coffee is better than it is from manually controlled roasts with somewhat wobbly curves. It is definitely better than the roasts when I just lost it and everything went south. Which did happen more than I want to admit.

The consistency is much better. For a given coffee, first crack always happens very close to the same time, every time. It is also much easier to pay attention to what is happening with the coffee and when to drop it.

I think it makes it easier to play with development time and final temperature also. All you have to do is watch it and stop when you want to.

I find that development and brewing method both have huge impact on flavor. It seems like the exact shape of the curve has a more subtle effect. But to be honest until now I did not have good enough control over the roast to explore subtle changes in the curve.

I think I kind of just got lucky with the curve I drew to try out the PID, because it is making really good tasting coffee. At least to my liking. I am probably roasting darker than a lot of people on this forum.
I've read through this thread a bunch of times and I think I understand it. Basically:

- RobotDyn dimmer is used for zero-crossing in order to time the phase angle pulses
- two opticouplers are attached -- one to the transistor used to control the heater and the other the transistor for the fan, have to use resistor for 12v on the side of the opticoupler to the roaster and different resister on the side towards our microcontroller for 5v/3.3v

Would something like an ESP32 be fast enough to run the loop to handle this? I assume you can hook up the zero crossing pulse to an interrupt? Some of the ESP32 variants actually have two CPU cores and I wonder if it might be possible to dedicate one to the lower level "talking to the hardware" part with the interrupt handler and the other to adding some kind of API exposed via wifi/BT to interact with the roaster from an app running somewhere else (ie phone/laptop/etc).

Am I right in understanding on the lower level, the zero crossing happens and the pulses of the correct duration have to be triggered every time to maintain the current fan/heat settings (or be slightly different to alter them)? I'm a software developer who can solder and tinker with microcontrollers but on a fairly superficial level so that's the perspective I'm working from (ie I made a bread dough warmer with an ESP32, temperature probe and an SSR).

After using my SR800 for a while, I'd love to be able to hook in like this with fairly minimal changes to the roaster itself.
It is more than fast enough.
Such things are done with Arduino Uno for more than 10 years (see TC4 project), and Uno is 10x less capable than an ESP32.
Just a thing to be aware, if using WiFi some timers and ADC logic are disturbed, so better use BT (BLE) for wireless comm, if you intend.
Roaster is working pretty well now. This roast was outside in a mild breeze and includes me reducing the fan from 60% to 35% in ~5% steps. I made a modification to the integral equation. I don't allow the integral to change if the error term is getting smaller. This prevents the integral from winding up when the error is large but headed in the right direction. The change got rid of the large overshoots.
dwertz attached the following image:

Edited by dwertz on 02/21/2023 3:12 AM
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Current draw pulses using SSR Fluidbed Roaster 9 06/22/2023 6:40 AM
SR540 - Ideal profile (time and temperature) Popcorn Popper roasting 21 05/24/2023 1:40 AM
Fresh Roast SR540/800 Retrofit Logic Board: Comments Needed Fresh Roast 8 and NEW SR 500 13 03/12/2023 12:24 AM
Artisan newbie with SR800 ROASTING SOFTWARE APPS 5 12/20/2022 11:02 PM
Any tips for SR540? Roasting Coffee 26 09/18/2022 7:52 AM
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 © 2023 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman