Klipper - PID Tune - Dial In Your Printer - Chris's Basement - 2022
Вставка
- Опубліковано 25 сер 2024
- We'll get on Mainsail and tune in our PID numbers.
These are affiliate links and take you to Amazon.
------------------------------------------------------
SanDisk 16GB SD Card on Amazon:
geni.us/liCm
Creality Ender 3 V2 3D Printer on Amazon:
geni.us/V5Hr
------------------------------------------------------
Helpful Links:
🔗🔗🔗🔗🔗🔗🔗
Link to Mainsail:
docs.mainsail....
Klipper Installation Documentation:
www.klipper3d....
Klipper Reference
www.klipper3d....
SUPPORT THE CHANNEL BY CLICKING THESE LINKS!
OpenBuilds - Great CNC and 3D Printer Parts (aff)
openbuildspart...
Slice Engineering - Mosquito Hotends (aff)
www.sliceengin...
Wham Bam Systems Flexible Beds (aff)
bit.ly/2HoS1cV
Amazon (aff) [US DE GB CA IT ES FR JP]:
www.amazon.com...
Banggood(aff) ban.ggood.vip/...
Aliexpress(aff) s.click.aliexpr...
Buy me a coffee to keep me going!
buymeacoff.ee/...
You can support my work on Patreon
/ brotherchris
One Time Tips, You Can PayPal Me:
www.paypal.me/...
----------------------------------------------
Find Me Over On Twitter!
----------------------------------------------
Twitter : / chrisriley3d
FTC Disclaimer: A percentage of sales is made through Affiliate links
As an Amazon Associate I earn from qualifying purchases.
I am currently trying out Klipper thanks to you and your video's. I am impressed with Input Shaping, and the speeds I can print at with it properly tuned. And I can not say enough about how easy and fast it is to make changes. I am able to experiment and learn much easier with Klipper and mainsail over marlin and Octoprint. Just saying this to say thanks for turning me onto Klipper, I am pleased with it.
I'm glad Klipper has been so successful for you. Good luck with your projects!
you are literally sensei. I couldn't tell you how many projects i've tried and you've provided the answer for for 90% of my needs. Thank-you. you're a hero to the 3D print community.
Thank you so much!
This series is incredibly helpful. Thank you. I'd love to see a video on calculating rotation (esteps). Hope we get that in the future.
Great suggestion! Thank you
I am so grateful for the format, the quality, and the down to earth presentation. LOVE your Work Chris!
I appreciate that!
Great vid! Just replaced my stock hotend on my V3 SE & knew I needed to adjust something. Every online tutorial I could find uses fluidd with a built in macro so having this command saved me :)
I also just recently got a humidity sensor hooked up to home assistant & can see my average room temp delta is only around 2C, which should hopefully make everything that bit better :)
Happy to help! Thank you for watching
Perfect. Exactly what I needed for my V1E MP3DP v4 Repeat you signed at RMRRF 2023. Thanks Chris!
Cool, thanks for watching!
Thanks for sharing. I was looking for PID tuning for K1 and YT just gave me your video that worked really fine as its rooted and with fluidd installed. Thanks !
Glad it helped! Thanks for watching
Thanks for the video! I am having an issue however with the hotend over/under shooting by 0.3 degrees repeatedly. For example, I set to 220, then it goes between 219.7 - 220.3 over and over.
- I have checked the config file has been updated
- I have tried adjusting with the marlin overshoot formula (divide numbers by 3).
- I have cooled all elements to room temp, then PID auto tuned the bed followed by the hot end
- I have positioned the hot end in the centre approx 5cm from build plate
- I have tried PID auto tune to 3 diff temps (PLA @ 220, ABS @ 260, In between @ 240) with the same problem always occuring.
- I have tried PID auto tune with fan on 100%, and with fan off, same problem.
I have an ender 3 v3 KE. The stock tune for the bed is spot on so I haven't even needed to touch the PID for it, but the hotend is struggling. I am at a loss what to do. :(
That's a strange issue. First thing I would look at is filament consistency. If it's always this consistently off, it could be an extruder gear.
YAS ! more Klipper, thanks man. Still tryin to dial in my Ender 3 with some Klipper goodness :) this will be tonights task lol
Good luck with your projects!
Good luck- what is your main board?
Thank you very much for your explanation
You made the tutorial very simple and smooth and anyone with any knowledge of this operating system can set it up. You are very generous.
Thank you
Thank you for watching!
Hey Chris! I love your videos. Your work has brought me success which has given me enjoyment/growth. Thank you so much!
🙂
That's great! Thanks for watching!
Thank you! I did this using Fluidd and Klipper and it went great!
Glad it helped!
Love your stuff! Though I would like to have seen the temperature graph when using the old and new PID values. Would be nice to see that it made a difference. Of course maybe it was already tuned and there would be nothing to see. Keep up the great work...always clear and concise.
Thank you!
Here are the values that are in the stock config
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
Here are my auto tuned values
pid_Kp=27.908
pid_Ki=1.577
pid_Kd=123.493
Hope this helps
Ender 3 Pro, BTT E3 V3 board, MS all metal hot end
@@als4817 It would appear that the auto-tune made a BIG difference. Of course, seeing big numeric differences AND knowing the effects are two different things. Thanks for sharing your data!
Cool. PID for the bed is way more quicker than RepRap.
Super useful viedo as always.
Thanks for watching!
Nice video, next video macro's?
We can do that. :)
Do you have specific ones in mind?
@@woodwaker1 not specific, but always looking for beter ones then i have now
Chris, good video. I think Kllpper is easier than Marlin to do a PID and store the values. I have a word document that has the two lines in it and copy them and paste into the console - makes it easy and quick to do both.
Thanks Dave, now we are getting into some of the parts of Klipper that it makes much easier.
Well maybe that’s why I’m having temp issues. Need to cold tune them. Never considered that would throw off results.
Give it a go, hopefully it helps.
Same, that was an interesting point to note.
Did a test:
Extruder heated before test, ( 210 ° )
pid_Kp=27.908 pid_Ki=1.577 pid_Kd=123.493
Extruder at room temp
pid_Kp=27.211 pid_Ki=1.564 pid_Kd=118.368
great and easy video!
Glad you liked it!
Thank You!
Thanks for watching
Supper helpful keep the good job going brother god bless
Thanks, you too!
Help me a lot!
That's great! Thanks for watching!
One question is what filtering is there on the value displayed in Marlin vs Klipper? How accurately we can judge the PID depends on how we measure it.
That I don't know, I would have to do a deep dive on how this is done.
Weird thing to note for anyone having thermal errors, make sure your fan duct is not blowing on the thermistor! It caused mine to THINK it cooled down a lot!
Ah Ha! Thanks for the tip!
Hi Chris, is there a video in the future for use the g 34 dual z and the tmc2008 hybryde in klipper. I use skr 1.3board
nice video's as always.
Thanks! I don't have one yet, but it's something I've been meaning to look into.
out of curiosity wouldn't bed temps need to be elevated due to bed radiating heat upwards towards the extruder which would help heat the extruder even though it would be minimal or 10-15%?
It's probably not a bad idea, but it probably won't be enough to change the numbers either way.
Thanks for the video.
I don't understand one thing though. After the save_config, doesn't the green color means that this is a comment?
Don't we need to replace the values with those down below? Or #*# isn't a commented area?
Thanks again!
Yes, that is confusing to me as well. #*# seems to mean is was a value set by the configuration and it is in use.
Could you do a guide on how to setup a palette 2 on klipper? There's no one here on UA-cam that has a video on it.
I'll look into it, thanks
Amazing, just installed Mainsail and after I saw it was lacking a bit I switched to Fluidd and been having a blast. Would you consider making a video on the setup required to use a MicroSwiss DD NG on either Fluidd or Mainsail? I've been having such a hard time getting the right rotation distance for my ender 3 v2 and it has really brought me down because I couldn't get a real good print on it.
I'll look into it, thanks.
Hi, I’m a bit confused why- for example i set my target as 230, once it reached that value it only cools down to 225 instead of 220. Its abit worrying if i changed anything without noticing.
Not exactly sure how it tracks what the lower temp gets set to when it takes the measurement.
hola, podrias ayudarme, intento hacer la calibración pero a la mitad salta el siguiente error
"Heater extruder not heating at expected rate
See the 'verify_heater' section in docs/Config_Reference.md
for the parameters that control this check.
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown"
Make sure the heater is set to 1, some times it will be set to something like 0.5. Also make sure you have the correct thermistor in your config.
Hey Chris, I have a friend who has the Creality Sonic Pad, and he is having some issues with updating edited values in his config file from Mainsail. He was editing the probe offsets in the config, and then save and restart firmware/jprinter from Mainsail, but the changed values never actually get updated in the printer settings. Any idea why that is or how he can use that config in mainsail to update his printer? He has an Ender 5 Plus with a Sprite Pro extruder and Sonic Pad.
Sounds like maybe a permissions issue. Maybe the file got changed somehow. You could try updating the permissions of the printer.cfg file with a chmod command. Something like chmod 755 printer.cfg this would be from command line of course.
@@ChrisRiley Thanks for the info, I will look into this for him and have him check. I was going to tell him to use the SAVE_CONFIG to '/home/pi/klipper_config/printer.cfg' but I dont know if the file location is the same for sonic pad as it is for PI. Do you know if there is a way to get info on where files are stored? Maybe some kind of directory command?
should we need to switch on the part cooling fan while doing this pid tune?
It kind of depends on the design. It really shouldn't be pushing air over the heatblock, but if it is you might need to run the PID with the fan on.
how do we know which bed_mesh profile is active?
You should be loading it at the start of every print. You can see what is loaded in the status tab of the UI.
Hi Chris, when i enter save_config and send i get this error message ( SAVE_CONFIG section 'extruder' option 'control' conflicts with included value) any idee thx.
I would guess you have two control statements in there, in printer.cfg or mainsail.cfg.
I know I can get and enter the PID values with octoprint via the terminal window and Marlin can this be done with Klipper too?
In Klipper you would just run it from the octoprint terminal then enter SAVE_CONFIG, but no I don't think you can change it on the fly like you can with an M301.
Here's an interesting challenge: install a LIS3DSH accelerometer on a RRF delta printer. 😅
👍🙂
What is the difference between watermark and pid ?
It's just a different method to do the same thing. Check this out. www.researchgate.net/profile/Dimitris-Tseles/publication/323994242_Methodology_of_PID_Control_-_A_Case_Study_for_Stepper_Motors/links/5b2cb02da6fdcc8506bcaa3a/Methodology-of-PID-Control-A-Case-Study-for-Stepper-Motors.pdf
I did this for the extruder and the bed but I am seeing more variance on the hotend temperature than I did on Marlin. Marlin was always consistently 200.0 without much variance but I see anywhere from 199. through to 200.2 with Klipper. Its not a lot of variance but its still less consistent than what Marlin used to produce. Is the other mechanism produce more consistent?
All I can think of is maybe try the other algorithm, maybe it will do a better job.
Maybe you are getting better measurements from Klipper. I think 200.2 to 199 is great and won't be a problem
Perhaps the refresh frecuency of klipper is higher and your getting more realistic mesurements now like David Wilson said
@@retroluminico refresh rate is the same, it's still octiprint polling. It's not showing up as a quality issue just ad oddity where before it was more consistent. Everytime I run the tune I get a different result, something is off.
@@PaulRKeeble I see. Did you modify something on the hardware side besides klipper? I’ve change the ender 3 to a phaetus bms while I was using Marlin and started to have troubles with temps like yours. It was te glass broken on the thermistor
should you just leave em be, or comment them out?
You would need to comment them or delete them.
can klipper tune a 1000w heated bed correctly?
I've never tried it, but I don't see why it would be any different.