Laser always offsetting

Hello,
I have a Sculpfun S30 with Lightburn.
After setting up, calibrating and aligning, I am left with one problem.
Anything I try to frame/burn gets shifted by about 20mm right and 5mm lower.
See photo. Green is what I am drawing, red is what laser frames (and burns).
I have checked and rechecked all I can.
Please help

Have you completed workspace alignment? and what does your preview show?
If you have not manually set an offline and you otherwise (without using a camera) do not have this offset, I would say that your calibration/alignment has an error and needs to be repeated.
If it is a general problem then I think your coordinate system/setup should be checked.


All done here.
Not sure how to check if I have the offset without camera.

Hello!
My version doesn’t go beyond 2.0.05 and I don’t have a camera on this PC.
However, I know that in later versions it’s possible to correct the image position relative to the workspace. Correcting the position through deviations either in relation to the X axis or in relation to the Y axis.
Explore the “Camera” window better (try right-clicking as well) because I know this is possible. How exactly, I don’t know.
It’s not in the settings window you posted. I believe it’s at the top of the window.

It might be useful for anyone who can help to know which version of LB you are using.

LightBurn Core 2.2.00

If I use camera shift, it shifts the overlay off the grid, no good.

Show the device settings window. Did you set a red pointer offset?

No sir.

That’s good. And you are using absolute coordinates as the starting position?
If yes, I’d suggest doing the alignment again. Before starting the alignment, home the laser; that’s important. It sometimes requires a few tries.

Unfortunately, it only shows that you have completed the steps but not the quality of calibration and alignment, and can therefore “cheat” a little.
You have not answered whether your preview matches the result - without using a camera, i.e. draw a square set it up to 0:0 in your home position (BL). Is the result ok or does it have the same offset as you show in the picture when using a camera?

What I tried:

  1. Draw 50mm square, x=y=25 (so lower left corner is exactly on 0,0).
  2. When framing, laser starts right away, no travel, so correct.
  3. Same rectangle, at x=y=125.
  4. When framing, laser frames where it should. Distance from 0,0 is both on screen and measured IRL ~141 (hypothenuse of isosceles square triangle with 100 cathetes).
    Now, if I align the same square with an element in the overlay, the framing is skewed ~32mm to the right and about 5mm lower.
    However, LB shown coordinates are equal to IRL measured ones, on the table.
    Therefore, it’s like the camera is shifted a bit too high (fixable) and a bit too much to the right (also fixable).
    At this point, isn’t it easier to just move the camera arm?

@misken Yes, always using start from absolute coords.

If there is potential to optimize the center position, then I will move the camera precisely to the center of my work area. But in any case, it also requires a new alignment. (always, when there has been a little too hard bump on the laser machine or table…, it is the small details that make it precise)
If you have a fine lens calibration, this process does not need to be repeated, save the setting and you can reuse it.

Absolutely no. It doesn’t matter at all where the camera is fixed. If you did the alignment, the setup is 100% aligned to the EXACT position the camera is NOW. You can’t do an alignment and then move the camera afterward. This is not how this works.
Maybe read this to understand the background: Using a camera with a diode laser - Diode Laser Wiki
Be aware: the calibration is ONLY correct on the same height level of the calibration plane. You may not change the height of the objects. If you calibrated / aligned with a 3mm plywood sheet, you can only use the camera for 3mm thick materials, nothing else.

So, I kind of figured it out.
While redoing the calibration burn in the wizard, I noticed that size was 340x340 AND it was leaving a few centimeters to each side - burn pattern was centered on workspace, not anchored lower left (origin). Most likely these 2 cm to the side explained the offset.
After redoing this, I could reliably burn where I wanted, EXCEPT I now have an offset of 2-3 mm on each axis: framed image is up and to the right as opposed to overlay.
Could this be fixed by adjusting camera height (and obviously redoing calibration, etc)? Or could it be something else?
What height do you set it at from the 320-335mm range?
Thank you all for the help.

offset or mismatch of this size must be corrected with a new alignment, sorry :wink:

What do you mean by that? Can you explain it in another way?

Nope. The alignment pattern can be of any size. The larger the better, but using 100Ă—100 works the same. The size is irrelevant (but, as said, the larger the less distortion error).

So, you need to calibrate again. Until the offset is gone. Though, depending on the camera and setup, you will never reach sub-mm-accuracy. Manual alignment methods are usually much more precise.

No, you still did not understand how it works. It doesn’t matter where or at which height the camera is mounted. This is absolutely irrelevant. Though again, the higher and most centered, the better. The camera alignment just reads image pixel locations and maps them to the positions where the pattern has been lasered. This is using the current picture, no matter how the camera is positioned.

I guess you might have an issue with your mechanics. Measure the actual length of the axes (not the specifications, MEASURE. And check engrave a rectangle or square of 300x300 or so and measure if the size is 100% correct. Otherwise you need to calibrate your axes.