Skywalker roaster... | [403] |
Skywalker, the AL... | [314] |
Dan's Direct-Flam... | [265] |
SR800/SR540 Fan C... | [86] |
War on Farmers by... | [70] |
TC4 with aArtisanQ_PID
|
|
fg1972 |
Posted on 08/19/2017 2:05 AM
|
![]() Newbie ![]() Posts: 48 Joined: November 02, 2013 |
Thank you Brad, The digital pins work nicely. Cheers Its Espresso, not Short Black
|
|
|
greencardigan |
Posted on 10/04/2017 6:34 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
Hi All, I would like to make a few changes to the TC4 Artisan sketches, but thought I should run my proposed changes past users here first. Let me know what you think and if you see any issues with my proposals. 1. Always including heat, fan and SV in the serial output stream Currently when in Artisan mode, the TC4 only sends 'ambient, ET, BT' to artisan unless the TC4 PID is active when it also includes 'heat duty, fan duty, SV'. I would like to have at least the heat duty and fan duty values always included in the serial output stream regardless of the PID state. This would allow the heat duty and fan duty values to be logged/graphed by Artisan when roasting manually or using Artisan's built in PID function. 2. Changing the PID;CHAN;X serial command Currently the X in this command is referring to a logical channel. That is, the Xth channel in the serial stream. For example sending PID;CHAN;2 will set the TC4s PID channel to BT as the serial stream is always 'ET, BT, chan3, chan4'. I would like to make the X refer to a physical channel. That is, the Xth thermocouple connector. This should make it more intuitive to set up in Artisan where physical channels are linked to ET and BT in the 'Device Assignment' dialog. Then in the 'Control' dialog, selecting a PID source channel would match either the ET or BT channel number as defined in the 'Device Assignment' dialog. See my diagram attached. If you currently use Artisan with a TC4, especially with the PID features I would be interested to hear your thoughts. Thanks
greencardigan attached the following image:
|
|
|
greencardigan |
Posted on 10/06/2017 8:33 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
I have made the above changes in aArtisanQ_PID. Version 6_3 can be downloaded from GitHub here. https://github.co...ID_6_3.zip |
|
|
allenb |
Posted on 10/07/2017 6:51 AM
|
Administrator ![]() Posts: 3925 Joined: February 23, 2010 |
Howdy Brad, I had to re-read your proposed changes a couple of times to take it in. I can't see any down side to what you've done and looks to be quite an improvement in function and ability to see more of the needed sensed values regardless of on PID mode or not. I'm going to assume the lack of feedback to your post was due to no one seeing an issue with it. Either way, i really appreciate the continued labor of love you, Jim, Marko, Jack and all the others here have put into making the TC4 evolve and constantly improve. Allen 1/2 lb and 1 lb drum, Siemens Sirocco fluidbed, presspot, chemex, cajun biggin brewer from the backwoods of Louisiana
|
|
|
MaKoMo |
Posted on 10/07/2017 12:16 PM
|
![]() 1/4 Pounder ![]() Posts: 128 Joined: April 06, 2011 |
Thanks Brad for still supporting Artisan! I just added links to your repository hosting the two main variants relevant for Artisan, Jims original aArtisan firmware (v3.10 from 2015) and your ongoing work on the aArtisanQ PID 6. |
|
|
greencardigan |
Posted on 10/07/2017 3:37 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
Thanks Marko, but note that I have not yet made the corresponding changes to Jim's original Artisan firmware. I was hesitant to make changes to it without hearing back from him. Allen, I probably got no feedback as I didn't give enough time! If something isn't working I find it hard to stop until it's fixed. |
|
|
fg1972 |
Posted on 10/12/2017 6:10 AM
|
![]() Newbie ![]() Posts: 48 Joined: November 02, 2013 |
Brad, I've just come across your recent videos on youtube and have to say they are brilliant especially the one that demonstrates the PID function. Not sure if it's been asked before but is there any pros/cons to using Artisan's internal PID versus using the TC4's PID? Its Espresso, not Short Black
|
|
|
greencardigan |
Posted on 10/12/2017 2:40 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
Hi and thanks. I'm glad you find them helpful. I don't think there's any real benefit either way. Marko suggests that the TC4 PID will perform better but I haven't really noticed much difference. But I haven't used the Artisan PID much yet. I just thought of one minor difference if you're using a LCD with the TC4. The TC4 PID will display the set variable on the LCD. Using the Artisan PID it's harder to see what the current set variable is. I roast outside with my laptop inside running Artisan and connected via bluetooth so it's handy to have the info on the TC4's LCD. |
|
|
fg1972 |
Posted on 10/12/2017 3:02 PM
|
![]() Newbie ![]() Posts: 48 Joined: November 02, 2013 |
Thanks Brad, I'll have to give them both a try soon as I'm just about finished rigging up my new roaster. In regards to tuning the PID, with my old roaster running RoastLogger I used the auto tune function with several batch sizes to get the ballpark parameters which worked well. With Artisan, can it do some sort of auto tune? If it not, I'm wondering if temporarily running RoastLogger to obtain the auto tune parameters to then use in Artisan would be useful? Its Espresso, not Short Black
|
|
|
greencardigan |
Posted on 10/12/2017 5:41 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
There is no auto tuning function in Artisan as far as I know. The PID in RoastLogger is based on the same library as the TC4's PID. I'm not sure what Artisan uses, but using your RoastLogger values could be a good starting point. |
|
|
fg1972 |
Posted on 10/13/2017 12:28 AM
|
![]() Newbie ![]() Posts: 48 Joined: November 02, 2013 |
Cheers, thanks for that. I'll give it a try and report back.
Its Espresso, not Short Black
|
|
|
Will2 |
Posted on 10/13/2017 2:37 PM
|
![]() 1/4 Pounder ![]() Posts: 157 Joined: March 24, 2015 |
About 10 seconds before the end of profile created by Artisan Designer, SV always jumps to an unreasonably high temperature. (aArtisanQ_6_3, backround follow TC4 PID, background follow Artisan PID is a little different problem). Where can be a mistake? I do not have this problem with the ramp / soak profile or the Android app. ![]() Viliam
|
|
|
greencardigan |
Posted on 10/13/2017 6:21 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
Interesting. I can replicate this but I'm not sure yet what is causing it. In my test the SV was dropping once it reached the end of the background profile. See my attached screenshots. One with no look ahead and one with 10 seconds look ahead. I'm assuming you have your look ahead set at 10 seconds which is why it changes 10 seconds early. I suspect it is something to do with Artisan as the TC4 should only be sending back the SV as sent from Artisan.
greencardigan attached the following images:
|
|
|
greencardigan |
Posted on 10/14/2017 3:43 AM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
I've confirmed that Artisan is sending a strange SV value to the TC4 when it reaches the end of the background profile it is following. Looking at the Artisan source code I don't understand it enough to determine exactly what the cause is. And I don't know how to compile it myself so I can't test any modifications anyway. Marko may have to investigate? |
|
|
Will2 |
Posted on 10/14/2017 4:06 AM
|
![]() 1/4 Pounder ![]() Posts: 157 Joined: March 24, 2015 |
I expected Sv to fall to zero or stay at last value. I tried it with another TC4, it still behaves the same way. ![]() Viliam
|
|
|
MaKoMo |
Posted on 10/14/2017 10:17 AM
|
![]() 1/4 Pounder ![]() Posts: 128 Joined: April 06, 2011 |
I'll look into this... |
|
|
MaKoMo |
Posted on 10/14/2017 10:20 AM
|
![]() 1/4 Pounder ![]() Posts: 128 Joined: April 06, 2011 |
I guess Artisan jumps to the SV set within the PID Config dialog at the end of the background. What would be the correct behavior here? Should the PID just be turned off at the end of the background profile? What happens if the PID is turned of, does the heater stays at the last value? |
|
|
Will2 |
Posted on 10/14/2017 12:35 PM
|
![]() 1/4 Pounder ![]() Posts: 157 Joined: March 24, 2015 |
Quote If you mean the max value for the slider, it will not be that. Only in the case of Artisan PID this maximum value will not exceed. Values are varied. What normal behavior would be, I can try to write it for myself. At the end of the background profile, PID should not be turned off automatically, only manually. The last SV value should be retained: ![]() When turning off the PID manually, the value for the heater should be preserved. This way, I can stop roasting anytime, or continue with roasting manually by adjusting the SV slider value, or when the PID is off by adjusting the Heater slider value. Viliam
|
|
|
Will2 |
Posted on 10/14/2017 1:50 PM
|
![]() 1/4 Pounder ![]() Posts: 157 Joined: March 24, 2015 |
Marko, here is one another example of strange behavior: ![]() the SV value does not exceed the last value in the background profile. Viliam
|
|
|
Will2 |
Posted on 10/14/2017 4:42 PM
|
![]() 1/4 Pounder ![]() Posts: 157 Joined: March 24, 2015 |
Here is maybe a partial answer: https://artisan-r...ntrol.html here is written: ... The background mode is only active between CHARGE and DROP ... I thought that this was related to the actual roasting, not to the background profile. Viliam
|
|
|
greencardigan |
Posted on 10/14/2017 11:04 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1188 Joined: November 21, 2010 |
Quote MaKoMo wrote: I guess Artisan jumps to the SV set within the PID Config dialog at the end of the background. What would be the correct behavior here? I agree with Will, the SV it jumps to is not the value set in the PID Config. Quote MaKoMo wrote: Should the PID just be turned off at the end of the background profile? What happens if the PID is turned of, does the heater stays at the last value? When TC4 PID turns off, heater remains at last computed value. Also agree. PID should remain on at end of background profile, but not send any more PID;SV commands. Edited by greencardigan on 10/14/2017 11:12 PM |
|
|
Will2 |
Posted on 10/15/2017 1:50 AM
|
![]() 1/4 Pounder ![]() Posts: 157 Joined: March 24, 2015 |
Quote It was a DROP value! (I mean the DROP value at time 12:00) In this case, normal behavior. Edited by Will2 on 10/15/2017 1:59 AM Viliam
|
|
|
MaKoMo |
Posted on 10/16/2017 2:17 PM
|
![]() 1/4 Pounder ![]() Posts: 128 Joined: April 06, 2011 |
Found the issue in Artisan. A typo. The fix will be part of Artisan v1.2. Public beta builds should be available soon. |
|
|
Will2 |
Posted on 10/16/2017 4:21 PM
|
![]() 1/4 Pounder ![]() Posts: 157 Joined: March 24, 2015 |
I have also found some different behaviors in the same situations in different modes. In some cases, this arises from the philosophy of Artisan It might be advisable to discuss all the differences in behavior found. There was little time to test. Tomorrow we may try to write down differences so far so as to rule out what is normal behavior. Viliam
|
|
|
MaKoMo |
Posted on 10/20/2017 2:23 AM
|
![]() 1/4 Pounder ![]() Posts: 128 Joined: April 06, 2011 |
I uploaded a public beta of Artisan v1.2 on its GitHub home. |
|
Jump to Forum: |