Skip to content
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

[BUG] UBL grid points visible in prints caused by LA pressure release #17050

Closed
rado79 opened this issue Mar 2, 2020 · 11 comments
Closed

[BUG] UBL grid points visible in prints caused by LA pressure release #17050

rado79 opened this issue Mar 2, 2020 · 11 comments

Comments

@rado79
Copy link
Contributor

rado79 commented Mar 2, 2020

Bug Description

Printing with UBL and LA enabled shows visible artifacts on meshpoints. If nozzle travels over a meshpoint while priming, LA does a pressure-release-move on extruder. I noticed it a few weeks ago while doing some bed calibration prints with one layer. Yesterday i started to print some kind of curved lithophanes with translucent filament. They cover two or more of the meshpoints. I can see where the meshpoints are through the whole hight of the print.
If you put any object placed on a meshpoint with outer walls , you can see vertical artifact on skin.

My Configurations

Configuration.zip
Configuration_adv.zip

Steps to Reproduce

  1. activate UBL and LA
  2. place object to cover meshpoints
  3. start print
  4. watch extrudermoves while crossing meshpoints

Expected behavior: print as expected

Actual behavior: artifacts on meshpoints

Additional Information

9x9 grid, meshinset 30.
I tried various slicers and changing the position of the object in x and y direction. Artifacts are always on same coordinates.
First time i noticed is about 5 weeks ago, i download new bugfix once a week.
#10171 (comment)
#16910 (comment)

@AnHardt
Copy link
Member

AnHardt commented Mar 2, 2020

Most likely you are not seeing the Artefakts at the mesh-points, but at the mesh-borders - the lines connecting the mesh-points.
And you don't see them at all of them, but only on those where z-speed crosses zero - z-direction changes.
Because all axes are synchronized, all axes including E have to be slow there. That needs speeding down to the border and speeding up thereafter.
LAs job is to react on speed changes, dos it and lowers/ups the pressure accordingly.
These artifacts a unavoidable when all systems are doing their job.
But with tuning the values for JD, E-jerk and LA they can be more or less visible.

Where lithophanes could be the use-case the problem is best visible.

Since lithophanes have a large contact area to the bed and therefor should stick well, i'd try to print them without or with linear BL. If that does not work - try a less bad bed.

@rado79
Copy link
Contributor Author

rado79 commented Mar 2, 2020

@AnHardt First thank you for the good explanation.
Yes you are right - seems to be mesh-borders not points. One thing i do not understand. I thought after passing fade height G29 F 10.0 there is no z-move (layer change excluded ). I do my lithophanes vertical, and the artifacts are still visible at 120mm hight. Shouldn´t the artifacts disappear over fade hight?

I work with bed leveling because of observing babystep issues #16617, otherwise my bed is good enough to work without UBL.

@Roxy-3D
Copy link
Member

Roxy-3D commented Mar 3, 2020

I can add some light to this discussion...

When UBL was written, doing mesh based leveling added a lot of floating point math to every line segment printed. And the line segments needed to be cut off at each mesh cell boundary. UBL's Z-Height corrections fall on mesh cell boundaries. All of the different cases for crossing those boundaries are broken out in UBL's motion generation code and highly optimized to eleminate unneeded floating point operations.

It may be time to jettison that code and just use the normal Planner:: code. I think what happened is the Linear Advance people hooked in to the Planner:: and Stepper:: code and never bothered to update the UBL code to be compatible with Linear Advance.

@rado79 rado79 changed the title [BUG] UBL grid points visible in prints caused by LA pressure release [BUG] UBL grid besh boundaries visible in prints caused by LA pressure release Mar 4, 2020
@rado79 rado79 changed the title [BUG] UBL grid besh boundaries visible in prints caused by LA pressure release [BUG] UBL grid mesh boundaries visible in prints caused by LA pressure release Mar 4, 2020
@rado79
Copy link
Contributor Author

rado79 commented Mar 4, 2020

Any idea why artifacts are still visible above fade hight? There is no Z move or direction change except layer change, or am i wrong?

@Roxy-3D
Copy link
Member

Roxy-3D commented Mar 5, 2020

I don't think what you are seeing is a 'bed leveling' problem per se. The problem is all line segments are broken into more line segments at mesh cell boundaries. And if the nozzle is below the fade height, some amount of Z correction is added (or subtracted) at that point.

The problem is Linear Advance is doing some thing extra at the mesh cell boundaries. It may think a sharp turn is being taken (when it is not) or something else. I don't know.

But we have two options... We can hook UBL into the Stepper:: and Planner:: code and remove the optimized motion algorithms. Or we can figure out what the incompatibility is and add what is needed to the UBL motion code.

And actually... There is a third option. We can move the optimized motion code for plotting paths across cell boundaries into the Planner:: and Stepper:: code. That way, all of the mesh based bed leveling schemes would have the more efficient code. But that still requires we figure out what is currently missing from it with respect to Linear Advance.

@rado79 rado79 changed the title [BUG] UBL grid mesh boundaries visible in prints caused by LA pressure release [BUG] UBL grid points visible in prints caused by LA pressure release Mar 6, 2020
@rado79
Copy link
Contributor Author

rado79 commented Mar 6, 2020

Most likely you are not seeing the Artefakts at the mesh-points, but at the mesh-borders - the lines connecting the mesh-points.

In my case definitely emerging at the mesh vertices
meshpoint
thank you @halninekilo for sharing picture

not like in this video: #10171 (comment)

@rado79
Copy link
Contributor Author

rado79 commented Mar 28, 2020

Today i noticed a strange behavior. Because of bigger prints (about 320x320mm) i activated UBL.
If printhead crosses the meshpoints, Z axis jumps up an down fast (a few 1/10mm, or in other words z-axis rotation about 10 degrees on TR8x8) building these artifacts. At the same time LA does pressure release (extruder back and forth).

Increasing line width (0.48mm) and height (0.3mm) makes this behavior more visible. Normally i print with 0.15-0.20mm height. Latest bugfix installed once a week.
IMG_20200328_212701_resized_20200328_093700652
IMG_20200328_212643_resized_20200328_093700034

@jbaribeault
Copy link

I'm definitely seeing it too; first time I've noticed but I've only recently turned on LA and was doing a larger functional print at .28 layer height with .48 line width. Very visible in this particular filament.

20200607_191908

@boelle
Copy link
Contributor

boelle commented Jun 21, 2020

@rado79 still an issue?

@rado79
Copy link
Contributor Author

rado79 commented Jun 21, 2020

@boelle nice that you're back!

Today i tested again with latest bugfix, UBL 10x10 and LA enabled. This issue seems to be gone.
IMG_20200621_204349_resized_20200621_084444817

@rado79 rado79 closed this as completed Jun 21, 2020
@github-actions
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants