Page 2 of 3

Re: Galvo Lasers and Photos in General.

Posted: Wed Mar 21, 2018 7:19 pm
by ArtF
Tweaky:

I should probably have written something about power and photos before. There is a
relationship between speed and power to be considered in doing any photo. Auggie
can only change power for each waypoint, which in a Pokeys is 1ms. So we have
only 1000 chances per second to change power level. If a laser were to do a 500
ms sweep across a raster line, we have a resolution of only 500 pixels really.
  So sweep speed is really a tradeoff of resolution and speed. Worse, we have only
100 power levels in a Pokeys in waypoint changes. Thats 95 with tickle levels taken
out. If you slide requested power to 50%, thats only really 45 differing levels. Tonal
scale will then suffer if not using as high as possible a power, but that means to not burn
one has to go faster, and that limits the resolution. Its all quite a fine balancing act to
get good tonal balance.
  I see only two ways to fix this to get the most realistic photo possible in an
engraving. First we need more levels of power. Say.. 1000 to choose from. The new
mode stops at each point and uses time, so making 1000 levels isnt hard if one
considers both power and time that power is applied in ms. This means if one uses
50% power, then you still have 500 levels of that 50% so the tonal variation would
still be maximized ( the photo only has 255 levels itself..without using supersampling
of the image data... more on that later if everything else works out. ).

  Energy accumulation is another way, multiple scans using different power per pixel
on each scan to create an accumulated power that achives a higher tonal range per pixel
datum. This is almost the same as stopping at each pixel, but a bit harder to calculate
the end energy effect, though the calculation of each pass for energy is trivial as a
calculated sum.

  Im finding in my testing that too much laser power is an issue, you go too slow
and you burn, too fast and you lose resolution due to the 1ms limit. If I limit
to 6% power to get a good grey scale, thats only 6 levels in reality, I need
100% power to get 100 levels of grey..but then Id burn. This is all a system of
tradeoffs. Im thinking to maximize performance, a multipass energy summing
calculation for total energy per pixel over X passes would make the most sense for the
highest tonal range in a photo. Or at least thats what the math and testing is telling
me. Testing continues. :)

Art

 

 


Re: Galvo Lasers

Posted: Thu Mar 22, 2018 10:49 am
by tweakie
Hi Art,

I don?t know if this is relevant to your thinking but?

I have hardware control over my maximum laser output power.
With the DC excited laser Auggie has full software control over ~5%  to 100% of the power which I have set. I can adjust this hardware maximum power setting on-the-fly and this enables me to easily set the maximum burn for any selected axis speed (my currently available maximum is 6,000 mm/min.).
My RF laser uses my equivalent of the Synrad UC2000 to control it?s maximum output power. I have not yet tried it with Auggie image reproduction as I suspect that PWM frequency conflicts may be difficult to overcome without synchronisation but that is something I will investigate further as time permits.

If only there were more hours in a day.  ;)

Tweakie.

Re: Galvo Lasers

Posted: Thu Mar 22, 2018 11:49 am
by ArtF
Tweaky:

>>With the DC excited laser Auggie has full software control over ~5%  to 100% of the power which I have set. I can adjust this hardware maximum power setting on-the-fly and this enables me to easily set the maximum burn for any selected axis speed (my currently available maximum is 6,000 mm/min.).

Ahh, that may explain your very nice results. No matter your power level max, you always have
100 slices of that power. With the RF laser only being PWM controlled, it lowers very much
my # of slices. Ill work to overcome that with multipass which is the only way I can see to
do that.

  Youd still be affected by the speed though, time across in ms being equal to the end resolution.
To do a 4k image using all its data, woudl take a 4 second sweep time really.. Thats one
long raster. :)

Art

Re: Galvo Lasers

Posted: Thu Mar 22, 2018 1:28 pm
by ArtF
Tweaky:

    In dwelling on your comments it occures to me I probably
should just add an Arduino that does nothing other than
control the PWM incoming pulses as a % of max. I think
Ill do that and have a "Power Scaling " hardware pot on the
engraver end. I could let Auggie run at 100% then and get full
scale on any power as a function of % scaling desired.

  Arduinos are cheap. :)

Art

Re: Galvo Lasers

Posted: Thu Mar 22, 2018 3:37 pm
by tweakie
Hi Art,

To me, that sounds like the way to go.

Tweakie.

Re: Galvo Lasers

Posted: Thu Mar 22, 2018 5:44 pm
by ArtF
  Downside to that I guess is it would add a 200us delay in the laser power stream...

Ill Dwell on it... :)

Art

Re: Galvo Lasers

Posted: Fri Mar 23, 2018 6:55 am
by tweakie
Hi Art,

That is the way of life - "nothing is ever simple and there is always a catch".

More electronics but could you perhaps introduce an equal delay in the axis movement ?

Tweakie.

Re: Galvo Lasers

Posted: Fri Mar 23, 2018 11:43 am
by ArtF
Ill have to give it more thought. Ironically I put in a laser
delay in Auggie for servos that are slow to react, but I hadnt
considered the inverse.

Art

Re: Galvo Lasers

Posted: Tue Mar 27, 2018 1:28 am
by ArtF
First try at a single pass 3d , 1.5" round. Took less than a minute.
  Not great detail, but its small on pine..

Art


Re: Galvo Lasers

Posted: Tue Mar 27, 2018 5:44 am
by tweakie
Looking good.

Tweakie.