classicrocker883 / MRiscoCProUI

This is optimized firmware for Voxelab Aquila & Ender3 V2/S1 3D printers.
https://classicrocker883.github.io/
Other
82 stars 17 forks source link

[BUG] H32 Temperature won't stablize, even after PID tuning. #95

Closed smhanov closed 5 months ago

smhanov commented 9 months ago

Did you test the latest release build?

Yes, and the problem still exists.

Bug Description

Printer: Voxelab Aquila X2 H32 with TJC display Build: H32 December: Change ID ce4f406e28462598da43140e5a545cc46d6653fe

When running with official Voxel lab firmware, after PID tuning, temperature fluctuates between 199.7 to 200.3 degrees. With MRisoC firmware, after PID tuning, temperature fluctuates between 196 to 206 degrees and does not stabilize, so print will not start.

I also tried MPC instead and got the same result. Auto-tune works fine but when actually trying to heat to 200 degrees, it fluctuates. I have ruled out hardware issues because the official Aquila firmware from Voxelab works.

Printer Model

Voxelab Aquila

Model Type

X2

Your Mainboard

Aquila HC32

Other Mainboard Type

No response

Add-ons that could be involved

BLT

ProUI?

ProUI

Bed Leveling

UBL - Unified Bed Leveling

Did you include your own configuration files?

Additional information & file uploads

No response

smhanov commented 9 months ago

image PID tune and heat to 200 degrees using H32-December firmware.

classicrocker883 commented 9 months ago

this looks more like a PID calibration issue. I mean after PID tuning, temperatures should stabilize and the graph should remain flat.

there must be some kind of variable causing this kind of fluctuation. when the printer is heating for a print, is the part cooling fan on? it could be that, having to do with your start G-code.

otherwise, what you can do is change your PID settings to a different/default setting, then re-run the PID tune

Kp  23.00
Ki  2.00
Kd  70.00
classicrocker883 commented 9 months ago

it is possible that the H32 board is different regarding heating. for instance official Voxelab firmware may be tuned differently in PID settings.

have you tried Alex's H32 firmware??

anyway in Configuration.h the PID settings can be changed:

PID_MAX  255      // Limit hotend current while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
PID_K1     0.95   // Smoothing factor within any PID loop

a lower PID_MAX could give a smoother result, same for adjusting the PID_K1.

are you able to compile your own firmware? how about try changing these values in the code and see if that helps.

or what you can do is reseat your thermistor or even get a new one like these copper cartridge ones
you would have to get a new heater block, but with the copper ones they read temps faster and should improve PID tuning a ton.

vica153 commented 9 months ago

I have been having a similar issue for a couple months on my G32. PID tuning works fine, but when printing, or even preheating, temperatures sometimes fluctuate enough to cause the printer to error out. Usually after 1-2 restarts, the temps will actually stabilize and it prints fine.

I don't see how the different firmware would affect this. Assuming the PID logic is same.

smhanov commented 9 months ago

I'll try adjusting that soon and the Alex firmware. I can recompile.

Note that the same result happens MPC tuning as well using H32-December. Is there something common to both tuning methods that would cause the temperature oscillation? I verified the wattage of the heater for MPC using a resistance meter.

Here is what I know so far:

classicrocker883 commented 9 months ago

MPC and PID are two different methods for tuning, it might make more sense that what may be causing the fluctuations can be something else temperature related. its hard to say exactly what it is because I'm able to achieve steady temperatures, the only time when it wasnt steady was before a PID tune. I know one time a PID tune kept giving me bad results, so I reset the Kp Ki Kd values from the menu (which can also be done in the Config files precompile). you can always try Zero values and do a few cycles for tuning.

looking at your Octoprint graph again, the Line does not seem right at all. I mean besides at Target temp, it looks jagged especially at the beginning and end of the graph.

if anything it could be H32 board/software related rather than Marlin related. otherwise it can always be hardware related, such as the hotend - the 24v 40w heater cartridge or the heater block itself.

technically, a good PID tune can work with any sort of heating issue, as long as the parameters can be tweaked enough.

Ivoz commented 8 months ago

You can try different number of runs on the PID tune. That can get it to arrive at slightly different numbers and one set might work better. You can even try manually lowering the D value by 25% continually to see if that smooths off the response

vica153 commented 8 months ago

Any updates on this smhanov? Did the newer firmware fix it? I have been too busy to test anything. I had assumed it was a bad temp probe, but even after swapping it out again the temperature is still erratic. Though I guess it could be a junk batch of thermocouples. The odd thing is that it the PID tune seems to always able to show stable temps, but when printing the temps seem to be sometimes stable and sometimes getting incorrect readings. Running at 210C it will suddenly show 250C for 5-10seconds and then instantly drop to 180C as if its back to actual temps and flip flop between those. Other times it seems to be able to hold 210 +- 2C without issue.

github-actions[bot] commented 6 months ago

This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days.

github-actions[bot] commented 1 month ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.