Alignment of lines and fill

Ok, I have a theory. I feel like mechanically the laser is sound now. I’ve redesigned a few components that were making me feel less sure, and solved any mechanics issues that I felt may have been contributing. The problem persists.

I’ve been reading the forums and LightBurns documentation. I came across this:

I did the burn and made the adjustments to no avail.

As I look closer at the burn it becomes more obvious that an over scanning adjustment isn’t what’s needed. The offsets from line to line are inconsistent and minuscule.

The pulley and stepper motor setup that I have leads to a step per mm rate that is not a whole number. 53.33, my impression is that stepper motors aren’t going to do that 1/3 step. So it must be lost or gained somewhere. I think that’s why the burn in my attached image has lines that are inconsistent in length and are inconsistently inconsistent.

If I swap out to a 20 tooth pulley my steps per mm land right on 80.

How many people run with non whole number steps per mm? What do you guys think???

Ok, I have my controller setup to do 1/16 microstepping. Technically if I up that to 32, 64, or 128 I should see improvements if that is the problem.

You should only look at this after all mechanical issues are sorted and you have your speed and acceleration settings optimized. If you have anything configured for the offset you should remove them until you sort out the other issues.

I suppose it’s possible but it seems unlikely this would be the cause of the problem you’re experiencing. The artifacts seems too large.

Questions:

  1. I see wavy lines in your test, do you know what’s causing it?
  2. with the offset on the right side, what does the left side look like for the same line?

Have you tried further reducing speed and acceleration of rapid moves to see if you can eliminate the artifacts? Would be better to first get things to a good working state and then optimizing from there.

Thanks for bringing me back to reality. One question:

How can you sort out mechanical issues without looking at something like this?

I’ve reduced my acceleration to 300mm/sec2. It does appear as though the overscan test is mostly more consistent. The laser is moving way too slow. I could hand burn this thing faster.

  1. The wavy lines are solved, used an old burn for the images. I’ve attached a new one for you to see.
  2. Check new image.

First image is 100mm/s speed with 300mm/sec2 acceleration:

Second image is 200mm/s speed with 300mm/sec2 acceleration:

I don’t mean not to run tests. I mean only not to attempt to apply premature adjustments and then build from there as the fixes may be hiding the root cause.

Interesting. You should clock up the acceleration until artifacts begin to appear. Then clock back or investigate the mechanical weakness.

I guess my acceleration and speed was too high??? 100mm/sec speed is unacceptable to me. Waaaaay too slow. The low acceleration makes it even worse.

Even yet, the lines are still a little wavy, and over long stretches have large waves. I guess aluminum extrusion isn’t straight in multiple different ways??? I don’t know. Pretty upset with what seems to be going on here.

I’d suggest starting at good known base, then start by clocking up acceleration until you get artifacts, then clock back. Repeat this with speed.

Where does that leave you?

Can you take some photos of your setup? There might be some low hanging fruit that can improve things.

Well, with speed it looks like less than 200mm/sec. working on acceleration right now.

Here are just a few pictures of the laser. If you want a picture of a more specific place let me know and I’ll get a close up.


I guess I was wrong not even 100mm/s and 300mm/sec2 are slow enough for this thing.

On the left, 100mm/s and 300mm/sec2 (the unburnt line was my fault, I crossed the laser beam and causing it to miss a few lines)
On the right 200mm/sec and 600mm/sec2

I did the right one earlier today. I just burned the left one excitedly thinking the drastically slowed down machine would perform exceedingly better. Well the cut lines are still way off from where they should be. The cut should be even around the innards.

I just don’t get it. The inner fill looks damn near perfect. I don’t see any skewing or weird deformations. Why is the cut so far off???

If you can eventually get it to align by going slower then that implies missing steps. If you cannot get it to align irrespective of speed then something else.

Can you try engraving a set of concentric squares? This will give you an idea in which direction things are going wrong.

What controller board are you using for this setup?

My first reaction when looking at the pictures is that you’re carrying a lot of mass with the drag chain. You may want to consider finding a way to eliminate it entirely or somehow changing the orientation so the head is not carrying the entirety of the weight of the chain as it moves and not having to drag the chain along the gantry. The mass and friction are going to slow you down and also potentially create motion artifacts.

Looks like you’re using 3D printed parts. What material are those parts made from?

What is your Y-axis setup? Do you have dual motors or some other solution?

Here are some concentric squares:

I don’t see any problems there short of a little over burning in the corners.

The board is from Bart Dring. It’s the 4axis CNC board. I also have the 5v output module from him to control the laser “spindle”.

The parts are made of PLA. Walls are thick, and depending on which part, the amount of infill varies to help with strength. So far I don’t see any parts that are being over stressed. Nothing has broken.

The y-axis has a single stepper motor with dual shafts. Nema17 Stepper Motor 78oz.in 48mm… https://www.amazon.com/dp/B071S7RMSX?ref=ppx_pop_mob_ap_share

Each shaft leads to a 30 tooth pulley and drives a belt that runs the length of the y-axis of the machine. The belts are taught, not tight.


1 Like

This is interesting and makes me think it’s not necessarily something mechanical or even a speed/acceleration setting. I’m wondering if it’s something inherent in the relationship between engraving vs cutting.

There’s a well known issue with Ruida controllers where engravings come out skewed or offset especially with respect to cuts caused by an incorrect setting being used for stepper PWM control (rising vs falling edge).

Wonder if FluidNC might have something similar.

I perused through the configuration wiki and didn’t see anything obvious. Read this but seems to imply this is only for external drivers. Assume you’re not:

Details: Note: external some drivers require an inverted step pulse

One thing I did notice from looking at the board is that the steppers seem to indicate that they should be configured as i2so, not RMT for step enumeration. This may mean that step inversion is also a possibility.

Can you review your setup?

It’s funny you say that. I’m on the FluidNC discord and went down that route with one of their devs.

To answer your question, yes you can change the stepper pulse to look for the rising or falling edge by appending :low or :high(default) to the step pin in the configuration. When I tried that, the problem seemed to worsen. Here is the link to the Ruida issue that you speak of. It does feel very much like that issue, and at one point I was convinced. Oz did a good job explaining the issue and how to fix it.

I do have my stepping engine setup as I2S_STATIC which is recommended for lasers. I originally had it as I2S_STREAM and the output was very wonky. That was the first issue I had with my configuration file.

If not PWM inversion then possibly stepper timing or delay. I’m sure the FluidNC experts will be much more familiar with the nuances of the implementation.

This is still plaguing me. The “virus” has spread to my K40 machine which I use for production and I have 70 orders to fill with no functional machines. I have done so much testing im kinda to the point that I really do think that the new configuration I added to lightburn has somehow screwed up my K40 configuration. I never, and I repeat never, had this issue until I created a second machine configuration. Fairly confident that this is a lightburn issue…

This seems highly unlikely in that one device profile doesn’t affect another and there’s not much in the profile itself that would likely affect this. But easy enough to test.

  1. Take a backup of your prefs folder in case you want to go back to it
  2. Delete contents of prefs
  3. Recreate a single profile for the K40
  4. Test

If the issues are eliminated then issue with profile more likely.

While this is far from authoritative (not a laser cutter builder), reading your configuration and looking at the test jobs you’ve run, I suspect it may be a combination of things troubling you. Awesome project, let’s try and get you running better :slight_smile:

Looking at the speed testing you’ve done, there’s been some experimentation done to try and find usable results. You may want to use the Rep Rap calculator to visualize what reasonable settings for acceleration / peak velocity are for your machine for “order of magnitude” identification, and ballparking it.

Long belts tend to have stretch, and so do shafts; printed parts can even flex quite a bit without visibly breaking. (I printed some parts just the other day where this was an intentional design choice, so it’s fresh in my mind.) Laser cutters with large head-mounted masses often have thicker belts to reduce oddities from high acceleration, but that may not be an option for you given that this is already built. Given that, reducing acceleration (and by extension deceleration) can help.

In addition to that though, the FluidNC configuration lists that your maximum hold current for Y is .5A. Combined with a high acceleration value, it may be causing the slight ringing visible in the bottom portion of this photo. You may want to increase the hold current while decreasing the acceleration:

When looking at prior photos, there does seem to be some motion at edges that calibrating your Scanning Offset Adjust may help, but even the subtle wobble in those photos makes me think that the bearings may also be slightly eccentric or be defective from the manufacturer, even if they roll just fine. Again, some of these concerns can be masked by tweaking other settings, but resolving the root causes is by and far the more sensible choice in my opinion.


As to your configuration troubles though, they might have been mitigated by newer versions of LightBurn (1.1 and after), since we have the option to load a preferences backup in them. That option has personally saved my bacon more than once.

Others asking if there’s a particular reason you’re on an older version isn’t just to try and shovel more money our way, but because older versions tend to not be used as much by our staff or by other users, and that can make it harder to diagnose or figure out the issue at hand. This is especially true for bugfixes and quality of life improvements like mentioned.

All the same, I hope this was useful and gets you closer back to rapidly running laser jobs :slight_smile:

Me too - I’ll go have a look if it’s available to the group. I have a Fluid NC board here but - not installed - no drivers.

Your profile says Arduino / CNC shield in your K40. Also interesting.
If the problem now exists outside the one engraver I’m starting to consider the Pulse Length $0 and Step Idle Delay $1 settings as something that could have transfered between machines that may contribute to stacking-up of small cumulative loss.

While I appreciate the response, not a whole lot has to do with why, after configuring my custom laser, suddenly my K40 started showing similar, if not the exact same issues.

The things you mentioned about my build are all mostly very true. But for the K40, not so much.

  • The K40 does not have long belts
  • The K40 doesn’t have printed parts
  • The K40 head is tiny and has a low mass

So why did the K40 start showing the same symptoms? After reading a link in your post, I’m beginning to wonder if my preferences got reset at some point:


I know when I first got my K40, I did do some initial setup / tweaking with light burn. Potentially, when setting up my new laser, the preferences were loaded and failed, and as such they were reset.

Also you mention that the holding amperage in my Fluid NC config is only .5 amps. I have never seen a “holding” amps spec in a data sheet for a stepper motor. Is there a value you would recommend? Here are my stepper motors:
STEPPERONLINE Nema 17 Stepper Motor Bipolar 2A 59Ncm(84oz.in) 48mm Body 4-lead W/ 1m Cable and Connector compatible with 3D Printer/CNC https://a.co/d/hWUiDIn

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.