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/23/2023 10:31 AM
Welcome, bob22

allenb
03/22/2023 8:52 AM
Thanks skpacman! all help with our site is much appreciated! ThumbsUp

skpacman
03/20/2023 8:57 PM
Added some code to combat against bots. If anyone has issues with it, let me know. ❤

renatoa
03/19/2023 4:55 AM
frankvanhaarlem, fenix and Andyleighmyers welcome to forum

renatoa
03/16/2023 2:51 AM
@sandpiper, coffee drink

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: 2

Members Online: 0

Total Members: 7,830
Newest Member: bob22

View Thread

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 640g
Moded commercial: 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: Flair, Kompresso, Rota Aeropress, Hario Cafeor dripper, 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:

Similar Threads

Thread Forum Replies Last Post
Artisan Buttons Set Sliders and Graph Markers to "0" ROASTING SOFTWARE APPS 7 03/20/2023 8:12 AM
Artisan Fan Slider Calibration ROASTING SOFTWARE APPS 18 03/16/2023 7:50 AM
Raspberry+artisan Bread Machine Roasters 8 03/08/2023 1:06 PM
Artisan Arduino PWM 4-20mA for Power Settings ROASTING SOFTWARE APPS 28 02/01/2023 9:21 AM
What has changed in artisan 2.8.2 ROASTING SOFTWARE APPS 13 01/23/2023 8:20 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 © 2023 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman