When using the laser plugin with my CO2 laser I have full ‘on the fly’ control of my laser’s actual output power (via. current control). However, when using a cheap Chinese diode laser (which does not have any external diode current control) this is not the case. As the plugin only allows my actual diode laser’s burn to be pre-set (via. Min. / Max. & Feedrate settings) at ‘runtime’ an ‘on the fly’ method of output power control was desired. To this end (using a Microchip processor) I have substituted the 3.125 kHz PWM output from the plugin with a 25 kHz PWM, which has fully adjustable ‘on the fly’ pulse width control which, in turn, is synchronised with the plugin’s PWM output.
I have essentially constructed an ‘in-line’ controller between the PWM output of the plugin and the PWM input to the diode laser. It is still ‘work in progress’ but currently I can adjust the diode laser’s output power ‘on the fly’ between 0 and 100% using a ‘pre-set’ pulse repetition rate between 5kHz and 25kHz.
So far, my PWM substitution is linear but from various test results I am thinking that there may be some advantage to having an adjustable inverse log or inverted S curve for this substitution (assuming my mathematical and programming skills are up to the task).
I would be most interested to hear what others think about this.
Tweakie.