-
Notifications
You must be signed in to change notification settings - Fork 23
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
Laser head is slowing down during rastering #14
Comments
Yes, it is normal because lots of short movements causes the planner buffer to limit the feed rate. Try with a larger planner buffer. Each entry requires around 40 bytes of RAM. FYI the iMXRT1062 driver, which has a 600MHz processor with FPU and plenty of RAM, can be tuned to feedrates > 50.000 mm/min for laser engraving. |
So i boosted the planner buffer from 36 to 180. I think USB communication is too slow... |
zip and attach a file that shows the symptom to acomment so I can check here.
Which board map are you using? |
SKR 1.4 Turbo board. |
I do not need one, I would rather have a file showing the symptoms so I have something to test with.
Not much I can do about that, it is an old processor with limited RAM. I do not know if the AHB region can be made accessible by tweaking the linker script, you can look into that? And perhaps it is not something that will gain you any speed - there is no FPU (floating point unit) in this processor so too many entries in the buffer may start to slow it down instead. Can you run a program in Check mode and time that? That will give you the raw transfer speed. With a native USB connection (IIRC the SKR 1.4 uses that) the configured speed does not matter, AFAIK the max speed available will be used anyway. At least it is for the iMXRT1062 driver. |
Do you want G code file ?
What boards do you recommend performance/cost wise ? For lasers, cnc mills etc.
How can i run it in Check mode ? |
Yes please.
That is a hard one to answer - the iMXRT1062 (Teensy 4) driver and board is the fastest and most expandable you can get but needs external drivers as there is currently no boards available for Polulu style drivers. A processor with FPU is IMO preferable, but the Pi Pico is interesting due to its PIO peripherals. I have not checked what its limits are though. More info here. BTT SKR Pro 1.1/1.2 boards will hopefully soon be programmable via SD card - I had a breaktrough yesterday with a dev board that brings that closer.
By sending |
Ok thanks, i will test it tomorrow and send the files. |
files are here: gcode foto.zip |
I have tested the largest file (grey scale engraving) with ioSender, aggressive buffering enabled. 150 steps/mm, max speed 25000mm/min, acceleration 1000 mm/sec2 iMXRT1062 (Teensy 4) controller, planner buffer set to 1000:
LPC176x with BTT SKR 1.3 controller, planner buffer set to 150:
There was several pauses during the run, the job restarted by itself after a little while (a little less than 3 minutes). This is likely due to missed stepper interrupts causing the 32 bit timer used to not firing a new until the next wrap around. The timer runs at 24MHz so that matches well with 3 minutes. Most of these were at the end of the job. After increasing the stepper interrupt priority, lowering the USB priority and fixing a bug in the SD card driver code I get these results:
Not bad compared with the iMXRT1062 results. Note that I have performed these tests without motors connected! |
I didnt wait for the resume, so i dont know if it will resume or not. Some times it stops and laser is still firing.
How can i do that ? |
Change priority in this line from 2 to 0. Line 1306 in 929596c
Add this line before line 330: Lines 329 to 330 in 929596c
What is your steps/mm setting for X? Number of microsteps per step? More is not necessarily better as it increases processor load. |
I have 80 steps per mm |
Reading through this thread, with the changes, are raster engravings now viable on the SKR 1.4T? |
To be honest i still didnt try it. I was busy with new version of mechanics. |
I have some troubles with TMC2130 overheating so im not sure if it is working as intended. |
From the manual: When you write "overheating" do you mean thermal shutdown causing the motor(s) to stop moving? I have now run a motor at 500mA for 1hr30 and the motor and the driver heatsink are both warm to the touch, I guess around 50°C. Will try a larger current setting later. |
Hi again, |
So current situation when i try to engrave in black and white threshold mode in Lightburn. gcode in zip file below GrblHAL 1.1f ['$' or '$HELP' for help] |
When i try graysacale image, gcode below.
|
EDIT: videos above are with default BLOCK_BUFFER_SIZE Below i will upload with #define BLOCK_BUFFER_SIZE 150 Memory region Used Size Region Size %age Used
VID20220304192452.mp4 |
I'll take a look at this tomorrow. |
Machine can take 1100mm/s on X Axis. |
When I test with your settings for the x-axis my motor stalls. I have to reduce the acceleration substantially to make it work. At 500 mm/s2 the motor starts to sound ok and I can reach around 7000 mm/min feed rate with planner buffer size set to 150. FYI running with your settings and counting step pulses with my CNC machine simulator no pulses are lost and the pulse train looks ok on my scope - albeit with a bit of jitter. |
I have around 1500mA on motors with 24V. I would be happy for at least black and white (threshold) engraving/dithering to be faster. |
This Is when i have speed set to 1100mm/s, i just wanted to test machine limits... https://user-images.githubusercontent.com/5219063/157903487-96d6b137-623c-46df-87d3-69300f4cb57d.mp4 EDIT: [VER:1.1f.20220131:] |
Any suggestions what should i try to do ? |
$120 is 6000 for the new, the old 2000. Did you try reducing it for the new? |
So i tried cohesion3d smoothie cluster firmware and it seems i can get up to 300mm/s with grayscale engraving. There is a link with changes to standard smoothie firmware https://www.dropbox.com/s/bk44snjpu03dju1/SmooChanges.zip?dl=0 dont know if you can use any ideas from it to GrblHAL. |
An experimental plugin for cluster unpacking has been added to the laser plugins repo. An ongoing related discussion here. |
Hello Terjeio, i already read about it, i catch the info in discussion of development of a new raster protocol. But thank you very much for letting me know. |
Hi,
another "problem" when engraving/rastering with higher speeds the laser head is slowing down considerably, is this normal ?
I thought that laser head should be running with consistent speed and only change the power of the laser.
See video below
https://photos.app.goo.gl/U3dMczxaXWyc69ma8
The text was updated successfully, but these errors were encountered: