-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with bltouch bed level compensation calculation? #1805
Comments
Also, this might be helpful as well:
|
Hi @urish, It did not look like there was a Klipper log file attached to this ticket. The log file has been engineered to answer common questions the Klipper developers have about the software and its environment (software version, hardware type, configuration, event timing, and hundreds of other questions). Unfortunately, too many people have opened tickets without providing the log. That consumes developer time; time that would be better spent enhancing the software. If this ticket references an event that has occurred while running the software then the Klipper log must be attached to this ticket. Otherwise, this ticket will be automatically closed in a few days. For information on obtaining the Klipper log file see: https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md The log can still be attached to this ticket - just add a comment and attach the log to that comment. Best regards, PS: I'm just an automated script, not a human being. |
Adding the log again, to make the bot happy :-) |
Given you were impacted by #1804, I'd recheck with the latest version of the software. -Kevin |
Sure, I just redid the test - and it seems like the issue is still happening. Basically, the calculated difference in the Z height between two points is only about half of the measured difference according to the bed mesh:
The Z-difference between (45, 225) and (225, 255) in mesh in 0.3925, while the stepper_Z difference is only 0.1875. Also, here is a recent klippy.log, if that's helpful in any way: |
Update: I started looking into this myself, and created a script that initializes a
The Z-difference between the transformed moves is 0.1875, just as I got with the real printer. I'm going to keep investigating... |
Update: After experimenting with the code, this seems to do with the probe's |
The z adjustment is smaller because you have fade enabled. According to your configuration z adjustment starts fading out at gcode Z=1, and adjustment completely fades out by gcode Z=5. |
Thank for the input @Arksine! Where can I read more about the rationale behind Z-fading and how it affects the print quality? |
I don't know if there is any specific literature for it, I do know that it was introduced by Marlin a couple of years ago. The rationale is that small adjustments in Z should have a negative impact on print quality, so we can gradually fade out adjustment between fade_start and fade_end. Whether or not the Z adjustment is noticeable likely depends on the the shape of your bed. If nothing else, enabling fade should result in a flat surface at the top of the print, rather than a surface that matches the shape of your bed. |
Well, that makes sense! Anyway, seems like I better understand the numbers I'm getting so I will close this issue and move-on |
There seems to be some discrepancy I can't figure out between the bltouch calibration values and the actual compensated z-values.
When I send a
BED_MESH_CALIBRATE
command, it prints out:You can see that the Z difference between (X=45,Y=225) and (X=225,Y=225) should be 0.44mm
However, when I tell the printer to go to these corners and observe the difference in the Z offsets, it is smaller:
As you can see, the difference between the
stepper_z
in these two offsets is only 0.22mm, which is just half of the expected difference (0.44mm). So either I am missing something, or is there some kind of bug in the calculation?I'd love to take a look at the code if you could point me out at the right direction. Also, here is my configuration (I also attached a recent log in #1804, would be happy to attach another one here if it would be helpful in any way).
printer.cfg.txt
And thanks again for Klipper!
The text was updated successfully, but these errors were encountered: