Intricate cuts shift gradually, but simple shapes are perfectly accurate

Hi everyone,

I’m struggling with a strange alignment issue on my CO₂ laser with Ruida controller and LightBurn.

Problem:
On intricate layered mandalas / decorative cuts, each layer ends up slightly offset (typically around 1–2 mm). The strange part is that the offset often appears in roughly the same direction and distance, almost like it is systematic.

What I have tested so far:

  • Simple shapes (triangles/rectangles) cut perfectly, even at high speed

  • Step calibration is spot on in both X and Y

  • Belt tension checked

  • Pulley screws tightened and checked for slipping

  • Machine diagonals checked

  • Same issue happens with SVG and DXF

  • Same issue when running directly from Ruida memory (.rd file via USB)

  • Lowering acceleration from 10000 to 1500 did not solve it

  • Small sections of the mandala cut almost perfectly

  • Larger/more complex sections increase the offset gradually

  • Multiple passes of the same intricate design do not perfectly overlap

  • The issue has happened on several unrelated projects over time (lamp project, mandalas, Christmas stars etc.)

Optimization settings in LightBurn were also tested with most automatic optimizations disabled.

What confuses me:
The machine behaves perfectly on simple geometry, but complex fragmented designs seem to “drift” gradually. It almost feels like accumulated positional error or motion planner behavior rather than pure mechanical misalignment.

Has anyone experienced something similar with Ruida / LightBurn?

Any ideas are greatly appreciated :slightly_smiling_face:

I wasnt shure to post it under Lightburn or hardware, so i used this cathegory..

I am not much help, other than a full RuiDa memory makes really wierd things happen.

  1. You said simple shapes okay, but you did not say if the same using multiple layers of the same shape.
  2. Can you provide an example of a “complex fragmented” design? Simple we understand.
  3. Do you have a kerf setting active?
  4. Are you using Absolute Coords? Incremental coordinate positioning can multiply an error over distance.
  5. Finally, can you post an image of what is happening on your material?

Thanks for the suggestions :slightly_smiling_face:

I tested multiple passes of the same simple shape (triangle) at both low and high speed, and they overlap perfectly every time.

The problem mainly appears on intricate layered mandalas / decorative patterns with lots of small curves and fragmented/open paths. The more complex the design becomes, the larger the positional drift seems to get.

I also tested:

  • SVG and DXF versions

  • Running directly from Ruida memory (.rd file via USB)

  • Lower acceleration values

  • Tightening/checking pulleys and belts

  • Step calibration (spot on in X and Y)

Kerf offset is disabled during testing.

I am using Absolute Coords.

One interesting observation:
Small sections of the mandala cut almost perfectly, but larger sections gradually drift more and more. The drift also tends to happen in roughly the same direction each time.

As you see in the picure, this is run 3 different times. When i tried 4-5 pieses, no problem, all 3 times, perfectly on top of eachother.

Can you run those layers or passes separately? If so, try re-Homing the machine between them.

I am still suspicious backlash is present. Also, is it possible it is jumping a belt tooth in the Yaxis travel (where you have a lot of sudden direction changes)?

This is probably a case of the PWM Rising Edge Valid misconfiguration, which is generally made more obvious in complex shapes.

The relevant doc:

More background in an earlier discussion:

There may also be a mechanical backlash problem, but that will be secondary to correcting the STEP polarity.

2 Likes

I feel like filler material until the guys that actually know something show up! :rofl:

2 Likes

Protip: think of this forum as a daily puzzle with bonus points for remembering really obscure stuff.

Way more challenging than Sudoku or Boggle or Wordle or … uh … what’s the other one? :grin:

2 Likes

SOLVED (apparently :grinning_face_with_smiling_eyes:)

After a huge amount of testing, the issue appears to have been caused by different PWM Rising Edge settings between the axes in Ruida machine settings.

X-axis had:
PWM Rising Edge Valid = Enabled

Y-axis had:
PWM Rising Edge Valid = Disabled

After enabling PWM Rising Edge on BOTH axes, the positional drift disappeared completely — even on larger and highly fragmented/vector-heavy designs at higher speed.

Three-pass overlap tests are now perfectly aligned.

Huge thanks thanks to Ednisley for pointing me toward the PWM Rising Edge topic :slightly_smiling_face:

2 Likes

Memory Enhancer?

It enhanced something

1 Like

Hooray! :partying_face:

The usual configuration has those switches set False, because the controller output is low-active and the signal should happen on the leading = downward transition. However, I haven’t dug into the electronics with an oscilloscope to figure out exactly how the STEP and DIR signals line up.

If it works, don’t mess with it. Keep in mind the switches may be backward should another weird misalignment appears (much) later on the calendar.