Was hoping someone could shed some light on my results… testing out the new Edge branch on my laser and I’ve noticed some things that make it hard for me to do raster engraves with and it deals with changes in acceleration and direction of movement while the laser fires pwm… I have adjusted acceleration settings in my config file along with Pwm period and junction deviation… in the software I have made changes to engraving speed and max output power… even after all the changes made I still notice more power being transfered to the material and burning noticeable lines at the change in acceleration. Please note I have done some very successful rasters with the Master build and don’t notice these issues… can someone please help me figure out what I am doing wrong.attached are the photos of some of the simple grayscale rasters I have completed with the edge branch. Thanks in advance
The main difference between master and edge is that in edge acceleration, happens every step whereas in master it happens every 1ms. However in both branches the laser power is only updated every millisecond. Make sure your speeds are slow enough that 1 millisecond is not a significant movement. you could also try increasing the acceleration. Junction deviation will not make any difference and you should leave that at 0.05.
I am not sure what I am looking at here either can you explain? is it comin gon too strong at the start? what direction is the raster going? (eg from left to right then down).
@Wolfmanjm for some reason my camera glitched out when I took the pictures it’s all suppose to be left to right movement the darker is on the left moving to light on the right. Notice the dark black lines where the gantry is switching directions… they are cut twice as deep as the rest of the engraves in that box it happens durring changes in acceleration… which makes it very difficult to do image engraves with grayscale tones because dark tones reach full power before the laser head moves
Maybe +Peter van der Walt could add something to laserweb that’d make acceleration not important ( no matter the firmware btw ) : one or two millimeters ( configurable ) of “non-engraving” movement left and right of each engraving line. That way it’s always engraving at full speed.
It’s the only place we are not at full speed, in theory.
It’d be great that engraving always happens at full speed, since it’s possible that it could be very difficult to get the accel/laser-power proportional thing smoothie does to work perfectly for very fine engraving.
If we manage to make sure engraving happens at full speed, and there is still a problem, then that’s a problem we can adress on it’s own.
It’s possible we got it right only by accident. Or this is a different problem. Or indeed we used to get it right. We need more data to figure it out, constant-speed will help us get there
+Peter van der Walt It’s possible we got it wrong before, get it more right now ( the code would clearly hint at that ), but there was some kind of setting/tuning that made it work before, that doesn’t work now that it changed. We’ve seen this sort of effect happen already with this sort of code improvement.
@Alex_Krause I still don’t know what i am looking at, can you post the gcode with explanations?
@Alex_Krause have you tried increasing your acceleration? see what happens. The thing is that with the new code the acceleration is adhered to a lot closer than it used to, so potentially every step could be at a different speed as it accelerates. but the PWM will only change every millisecond. What PWM frequency do you use? It could be that I need to increase the frequency that the PWM is changed, however this could produce an overall decrease in performance, but may be worth a try, but it requires a lot of extra coding as I will need to dedicate a timer to that.
Maybe adding an option to disable the proportional Power setting would be interesting to try.
@Wolfmanjm thank-you for all the hard work you have put into this… I will increase acceleration first see if that helps… when you say increase the frequency of pwm are you wanting me to adjust the time in microseconds down to increase the output frequency in Hertz or to increase the overall microseconds ? As I have done both of those things already with varying results… the setting I found to work best with Master was 5khertz/200 microseconds I have tried 50kherts -2k hertz so far
I wasn’t suggesting you increase the PWM frequency I just wanted to know what you had it set to.
Another issue that occurs to me is that the power is adjusted linearly in proportion to the current speed, and maybe in some cases the power should not be linear but maybe logarithmic or some other relationship, This may explain why it is so dark at the start where it is ramping up as the laser actually needs a quarter power there instead say half.
hopefully I’ll have a fix for this today, at least it may improve it a bit. I still think there is an issue with linear proportional power. and the source to this image is darker on the edges.
please try this firmware… it should work better… http://blog.wolfman.com/files/laser-fixed-1.bin
@Wolfmanjm thanks brother will give it a spin
G28 isn’t working correctly for me @Wolfmanjm . And it looks like my pwm power is all the same power output but I will fiddle with my config file a bit to see if I have made a mistake
@Alex_Krause did you read this https://github.com/Smoothieware/Smoothieware/blob/edge/upgrade-notes.md
one quick way to test is set acceleration to 10 (M204 S10) then you can see it getting brighter and dimmer at start and end of lines. I did make a last second change but I don’t think I broke anything… but I
ll check a soon as my wheezy to jessie update is finished
seems to work here ok I see it getting dimmer at the end and ramping up at the start