CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Other Machines > Laser Engraving & Cutting Machines


Laser Engraving & Cutting Machines Discuss CNC Laser cutting machines here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-26-2011, 06:18 AM
 
Join Date: Jun 2009
Location: uk
Posts: 145
geekinesis is on a distinguished road
pwm control of laser - slightly confused about what it means

I am fitting my laser with a tb6560 board (ebay) and linux emc

At the moment it is set up to switch the laser on and off with the spindle relay and using the spindle on off commands within g code

I dont think I can use this particular board to control the laser with pwm although the laser power supply allows this option.

The laser power supply allows the option to control the laser power either with the existing potentiometer or with pwm. Does this mean the pwm signal just tells the power supply to set the power at a certain level - similar to the pot - or is the laser tube itself being switched on and off rapidly to adjust the power?

Anyway its not a major issue as I can still use the potentiometer as before, it would just be more convenient to set different power levels for different parts of the drawing using g code
__________________
rabbit / ls3040
Reply With Quote

  #2   Ban this user!
Old 01-26-2011, 07:15 AM
Tweakie's Avatar  
Join Date: Nov 2009
Location: UK
Posts: 603
Tweakie is on a distinguished road

Don't know anything about emc because I use Mach3 but I found that the spindle control from GCode was not fast enough to turn the laser off without producing a small dot at the end of each line. Sometimes this was not noticable but it always seemed to show when I didn't want it to.

PWM is Pulse Width Modulation which is essentially variable duty cycle - a 50% PWM is on for 1/2 the time and off for 1/2 the time repeated at a rate of say 5kHz (This represents a 5Khz square wave with 50% duty cycle). On most controllers the frequency (PRF - Pulse Repetition Frequency) is also adjustable from say 500Hz to 20 kHz.

After a lot of experimentation I have found no need to adjust laser power from within a GCode program, so I am happy for manual setting of the PWM.

I am currently working on a (low tech) controller / interface for a Synrad RF laser to be controlled from Mach3 and details of my (slow) progress can be found here *RF Laser

Hope this helps.

Tweakie.

__________________
CNC is only limited by our imagination.
Reply With Quote

  #3   Ban this user!
Old 01-26-2011, 07:28 AM
 
Join Date: Jun 2006
Location: USA
Posts: 41
twehr is on a distinguished road
Mach3 Laser Firing

I don't use/know EMC, but as Tweakie said, the spindle controller will not provide you with what you want of firing the laser.

Over at MachSupport, I wrote a detailed explanation of how to fire the laser cleanly using Mach3. It may give you some ideas on how to approach the same thing in EMC.

As for the PWM, you replace the variable resistor controlled 0-5v power control at your laser power supply with the PWM signal. The internal circuitry on the ps will interpret the PWM signal (actually may just be smoothing) to provide the correct 0-5v level.

tim
Reply With Quote

  #4   Ban this user!
Old 01-26-2011, 07:31 AM
 
Join Date: Jun 2009
Location: uk
Posts: 145
geekinesis is on a distinguished road

Hi thanks for the info. That makes sense.

I will probably stick with the analog control as well for now.

I went with emc because the spindle on off isn't delayed and also because I find the interface is much less cluttered (= less scary)

Plus it is free and can be installed along with ubuntu as a complete package.
__________________
rabbit / ls3040
Reply With Quote

  #5   Ban this user!
Old 01-26-2011, 07:46 AM
 
Join Date: Jun 2009
Location: uk
Posts: 145
geekinesis is on a distinguished road

Ok thanks. It's good to know there is a mach solution as well.
__________________
rabbit / ls3040
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-26-2011, 07:47 AM
 
Join Date: Jun 2006
Location: USA
Posts: 41
twehr is on a distinguished road

Originally Posted by geekinesis
Hi thanks for the info. That makes sense.

I will probably stick with the analog control as well for now.

I went with emc because the spindle on off isn't delayed and also because I find the interface is much less cluttered (= less scary)

Plus it is free and can be installed along with ubuntu as a complete package.
Unless you have a volt meter in your circuit for measuring what you are actually feeding the ps, the pwm will be much more accurate. You will always know that 50% = 2.5v for example. It is more repeatable than setting a vr without the additional v meter.

FYI, 50% (example) does not necessarily mean 50% power but if you know that % gives you the results you want, then it should always give you the same results. If using a vr and ma meter, it is much harder to precisely set the power next time to match previous experiences.
Reply With Quote

  #7   Ban this user!
Old 01-26-2011, 08:15 AM
 
Join Date: Jun 2009
Location: uk
Posts: 145
geekinesis is on a distinguished road

Yes the accuracy is one thing that would prompt me to try pwm

So I just need to work out how to interface my board to the laser pwm input and then work out in emc how to send the pwm signal?

I can send pwm spindle speed signals but the board only has a relay for off on. I imagine I would have to bypass a couple of unused pins on the parallel port to send the pwm signal directly from the pc?

I am not an electrician so don't want to experiment too much.
__________________
rabbit / ls3040
Reply With Quote

  #8   Ban this user!
Old 03-17-2011, 08:05 AM
 
Join Date: Apr 2006
Location: SWEDEN
Posts: 24
methuso is on a distinguished road

Not hijacking or stealing Your thread.. .but....

Im at the exact same stage... being electrically challenged i need to connect my chinese-ebay-psu to my breaktout board too... Also using the EMC2 package.

I've got this answer in another forum:
"what you can do is connect the laser PWM input to the step pin of an unused axis, then set Mach3 to use that as the spindle motor". this answer is from a person using Mach (oviously).

then How about testing?? can one just connect a voltmeter to the 25kVolt output from the PSU without connecting the tube?? or will that too let out some magic smoke ??

Hope its ok to ask here since inte already brought up and if one get an answer in this thread, we all get an answer
/Ulf
Reply With Quote

  #9   Ban this user!
Old 03-17-2011, 08:20 AM
Tweakie's Avatar  
Join Date: Nov 2009
Location: UK
Posts: 603
Tweakie is on a distinguished road

then How about testing?? can one just connect a voltmeter to the 25kVolt output from the PSU without connecting the tube?? or will that too let out some magic smoke ??
Please don't connect anything to the 25kV output of your PSU except the tube. (the current limiting should prevent death but there are dangerous voltage here).

Tweakie.
__________________
CNC is only limited by our imagination.
Reply With Quote

  #10   Ban this user!
Old 03-17-2011, 08:36 AM
 
Join Date: Apr 2006
Location: SWEDEN
Posts: 24
methuso is on a distinguished road

hmm ok. i was thinking of connecting it before plugging in the mains. but i wil not.
any other ways of testing it without connecting the tube first ??

Off to work.. will check back in the morning
/Ulf
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-20-2011, 04:41 PM
 
Join Date: Sep 2008
Location: USA
Posts: 115
DaveDoesIT is on a distinguished road

Hi Tweakie,

A bit of a thread hijack, but I was just looking at your PWM project. What software do you use to generate the GCode for the isolation routing?

Thanks

Dave
Reply With Quote

  #12   Ban this user!
Old 03-21-2011, 02:07 AM
Tweakie's Avatar  
Join Date: Nov 2009
Location: UK
Posts: 603
Tweakie is on a distinguished road

Originally Posted by DaveDoesIT View Post
Hi Tweakie,

A bit of a thread hijack, but I was just looking at your PWM project. What software do you use to generate the GCode for the isolation routing?

Thanks

Dave
Hi Dave,

I usually use Roland vinyl sign cutting software to create the outline then convert the HPGL to GCode. The programs SignGo or FrontDesigner would work just as well.

Tweakie.
__________________
CNC is only limited by our imagination.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slightly OT Lathe Retrofit Question parkerbender General CNC (Mill and Lathe) Control Software (NC) 0 01-22-2011 02:10 PM
Need Help!- Questions for you laser guys - building own laser control Sputnik Laser Engraving & Cutting Machines 2 05-18-2009 08:46 AM
Another Joe 2006 - Slightly Modified mhiggins Joes CNC Model 2006 120 02-03-2009 04:35 PM
Using Flashcut CNC Spindle rotate card control to control laser power pyroplotter FlashCut CNC 0 10-15-2007 09:46 PM
What’s FG servo control means???? patriciooholegu General CNC (Mill and Lathe) Control Software (NC) 0 10-01-2007 11:47 AM




All times are GMT -5. The time now is 04:39 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361