Who is here? 1 guest(s)
 Print Thread
Gene with Artisan and TC4
greencardigan
Here's a video where I explain how to use the Artisan PID and the TC4 PID. I show both background follow and ramp/soak profiles.

https://youtu.be/...
 
Masterkey
Thank you greencardigan! Very good video! Did my first roast yesterday with PID. I think next step should be to calibrate the thermocouples. I think they are showing too low temperatures.

@renatoa: you said something about a PoM version of Brett. Where can I find information about it?

Is there a documentation for Artisan? Where can I find information what serial commands I can use?
 
renatoa
PID commands summary:
https://github.co...mmands.txt

The latest Brett PID library features PoM (V1.2) is already in the Arduino libraries manager. Just install and replace it in TC4 folder. Not so easy to do the same for Artisan, unfortunately...
Detailed reasoning behind PoM can be read here:
http://brettbeaur...asurement/

Please be aware that P and I terms have significantly different values when using PoM, and I don't know any autotune routine to compute them in this scenario, so manual tuning ... may the force... Grin
Edited by renatoa on 08/07/2018 2:59 PM
 
greencardigan

Quote


The latest Brett PID library features PoM (V1.2) is already in the Arduino libraries manager. Just install and replace it in TC4 folder. Not so easy to do the same for Artisan, unfortunately...
Detailed reasoning behind PoM can be read here:
http://brettbeaur...asurement/

Thanks for this. I may try to include and test this in the aArtisanQ_PID sketch.
 
renatoa
There is an immediate replacement, and better, the old mode is preserved.

Please include the flag for the two modes in User.h, and don't forget to comment with the biggest caps you find :) that P/I values from PoE(rror) are not working for PoM(eas).

Unfortunately, the calls from Artisan should be done with PoE compatibility mode set.
 
MaKoMo
@greencardigan: shouldn't be there a TC4 PID command to switch the PID lib between those two modes from within Artisan? Could you add one? I plan to also add PoM mode to the Artisan Software PID and thus add such corresponding configuration to its GUI to toggle between the PoE and PoM modes. Thus if Artisan is configured to use the external TC PID, that user setting could just be send along a corresponding serial command.
 
renatoa
Please warn the user that P/I values of a mode aren't appropriate for the other.

Will try this weekend to code a quick and dirty conversion tool for P/I values between the two modes.
Edited by renatoa on 08/09/2018 8:46 AM
 
renatoa
@MaKoMo & @greencardigan: if you have this opportunity to make a protocol change, please don't miss the great chance to add also a PID;LIMITS command, to pass the limits from Artisan Control dialog to the TC4 PID, and TC4 PID using them.

Was the most frustrating missing command for a long time... a permanent, 40% for example, minimum limit of power, would make my life a lot easier in my attempts to "perfect" rost profile.
Edited by renatoa on 08/12/2018 6:43 AM
Roasters: DIY: TO based IR 200-640g
Moded commercial: Skywalker, Dieckmann RoestMeister, Nesco, popper(s).
Electrics: TC4ESP, MS6514, USB/Artisan/Apps, PID controllers
Grinders: Arco, Xeoleo ghost burrs, Krinder, vintage PeDe Dienes, MBK Feldgrind
Brew/presso: ALM pour over, Arin lever, Staresso Mirage, Hario Cafeor dripper, Flair, Kompresso, Rota Aeropress, Gaggia Mini
 
MaKoMo

Quote

Masterkey wrote:
I use Artisan's PID and not TC4's. The low values for P-I-D work very well with my roaster. The problem is only the start with 100% at the beginning. But I don't always have that problem.

If I close Artisan before starting and open it again, the heating starts with 0% and slowly regulates upwards. Then the curve looks very good. But when I roast twice in a row the heating starts with 100% at the second roast.


Just discovered that I introduced a bug in the PID code of Artisan v1.3.1 that would lead to a high D-Term after switching off the PID and turning it on again. Fixed now in source together with some other PID issues that I discovered.

Artisan v1.4 beta builds that include this fix are now on bintray: https://bintray.com/artisan/artisan-artifacts/artisan/master#files
 
MaKoMo

Quote

renatoa wrote:

@MaKoMo & @greencardigan: if you have this opportunity to make a protocol change, please don't miss the great chance to add also a PID;LIMITS command, to pass the limits from Artisan Control dialog to the TC4 PID, and TC4 PID using them.

Was the most frustrating missing command for a long time... a permanent, 40% for example, minimum limit of power, would make my life a lot easier in my attempts to "perfect" rost profile.


I am awaiting directions from @greencardigan on how he plans to change the TC4 serial protocol. Any news?
 
greencardigan
I haven't had a chance to look at this yet. Sorry.
 
MaKoMo

Quote

greencardigan wrote:

I haven't had a chance to look at this yet. Sorry.


Maybe one should just add one extra serial command to allow Artisan to set PonM. Something like

PID,PONM,b

with b=0 for classical P-on-Error mode and b=1 for P-on-Measurement mode.

I implemented PonM by now for the Artisan software PID and could simply issue this or any other command to configure the TC4 PID accordingly if that is in use.
 
renatoa
Because it's me the guilty, if allowed I can contribute with code for both parts, your task being only to check and approve and integrate my work.
Private messages here don't allow PM to multiple recipients, so if agree we should switch to e-mail.

Please, don't forget also to add a LIMITS command, to pass the Artisan PID limits to TC4.
 
greencardigan
PID code changes and discussion continued here https://forum.hom...post_66601
 
Jump to Forum: