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! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #13   Ban this user!
Old 10-10-2007, 08:21 AM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

SG3625 was a Silicon General/Linfinity number. LM3526 was National and LT3526 is a Linear Technology number.

The 3524 verion is pretty much the stripped down, universal use fits-all model. It has the smallest pin count and the bare minimum to create a PWM power supply (error amp, shutdown, O/C drivers, that's about it).

The 3526 adds pulse by pulse current limit, another op amp and more robust, direct drive capable totem pole drivers.

There are several variations of tech manuals available for the IC"s and some are easier to read/understand than the others, especially for the neophyte electronics tinkerer.

The nice part about the 3526 is that you can run it on 10vdc and drive logic level fets directly from it. Yes, you should use a fet driver but, for low to moderate current (3-5 amps/fet to a single IRLZ44 per pole), they seem to become enhanced adequately using the totem poles themselves. We used the 3526 in some pretty abusive hobby applications and NEVER lost an IC although we fried all sorts of support surrounding IC's from abuse.

All things consdered, creating a PWM from discretes is complexity in search of a need once you learn how to use the PWM IC's mentioned.
Reply With Quote

  #14   Ban this user!
Old 10-18-2007, 03:11 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Well I have opted for a 8038CCPD - Precision Waveform Generator

As purchasing electroinics can be a little painful here I searched through a supplier I use often and found the above chip, it also generates sine and sawtooth waveforms so it should be a handy little chip for testing, and for five bucks I can live with the cost

Russell.
Reply With Quote

  #15   Ban this user!
Old 10-18-2007, 08:01 AM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

You can do the same as as a/the wave form generator much cheaper albeit with a few more parts - mostly resistors and capacitors.

Take a cheap LM324 and use a stage to create an multivibrator/oscillator circuit - this stage also establishes your pulse frequency.

Feed than signal into another stage of the 324 and turn it into a triangle wave.

Feed that into a third stage of 324 which acts as a comparator. Using a simple divider circuit on one input and the triange on the other, you now affect duty cycle.

The fourth stage can be used to sense current and shut down any signal deemed appropriate to limit current.

The oscillator only needs a couple of resistors and diodes and the circuit for the oscillator/comparator/triangle generator is easily found in the National Semiconductor application notes library - the method for calcing the resitors/caps to set frequency are there as well.

A PWM for MUCH MUCH less than $5.

We used this simple scheme to make PWM train throttles and numerious other PWM circuits until we learned about the dedicated PWM's mentioned earlier. The PWM take way less parts albeit are/may be a bit more expensive.
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 10-18-2007, 11:24 AM
 
Join Date: Jul 2007
Location: UK
Posts: 14
Mickster is on a distinguished road

Don't know if this is any help to you Russell, but have a mooch around here:

http://www.cpemma.co.uk/pwm.html

Regards,

Mick.
Reply With Quote

  #17   Ban this user!
Old 10-18-2007, 01:36 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

you can actually use emc2 HAL (hardware abstraction layar) to do some cool stuff like that. It has a fregen module which does sin/cos/square and such. this can be run into the pwmgen module to create pwm/pdm ouput. Or you could set the input to the pwmgen manually say 1 is 100% pwm and 0 is 0%pwm.

If you look at emc's Hal manual - it gives some good examples.

sam
Reply With Quote

  #18   Ban this user!
Old 10-18-2007, 02:11 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

Thanks to the MICKSTER - the word picture PWM outlined in post #15 is linked and "how to build it" in his post - the selection of the ancillary resistors and caps around the 324 set the pulse frequency easily and cheaply.

Model trains and other DC motors work nicely at 3Khx as do most DC circuits that will accept PWM'd current.

Get too high a pulse frequency and too low a pole count on the motor and funny things start to happen with the motor (buzzing, cogging and other bizarre issues).
Reply With Quote

  #19   Ban this user!
Old 10-18-2007, 03:16 PM
 
Join Date: Jul 2007
Location: UK
Posts: 14
Mickster is on a distinguished road

Thanks NC,

I actually had to build one of these circuits, to convince a previous boss that what we recorded on the 'scope, on a trouble-shooting exercise, was NOT what we should have seen.

Once he had seen what he SHOULD have seen, the part was changed and the vehicle went out the doors with happy faces all round. Sadly, due to many management and employee differences in regard to trouble-shooting methods, I ended up severing ties with that particular company.

I am now looking at a career change and am quite happily learning all things CNC and woodworking in general.

"If you love doing 'It', do 'It' until the B@stards wear you down, then find a new 'It'... Ad Infinitum.
Reply With Quote

  #20   Ban this user!
Old 10-18-2007, 05:09 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

It is simply amazing how dense some so-called intelligent people can be/get - especially when you can show current flow on a scope wave form. If something in the way of an errant wave form is or is not doing what it's supposed to, the damn thing typically won't work right.

And yet, people will argue "that can't be" when Helen Keller can clearly see that a circuit ISN"T acting RIGHT. DUH.

When you do find a "home" where you can do your thing and get the respect you deserve, you've reached a special platteau - nirvannah to some respect.

IF you find yourself continually fighting with people who are ignorant and/or poorly educated or worse yet, stupid (ignorance is fixable, stupidity is engrained), you just might as well move on if stupidity is rampant - life is too short to live with that much un-needed frustration.

You might not make as much elsewheres, but, as I'm learning from rowing my own boat, it is just much more satisfying doing things to satisfy yourself and to make your clients happy/satisfied with the work you do complete successfully for them.

All in all, the LM 324 pwm is pretty cheap and easy but the LM352x series PWM's take up much less board space and offer a bit more in the way of SMPS prortection that you have to conjure up separately when you go the discrete route. All in all, the PWM IC's are pretty handy to know about and implement all things considered and relatively cheap considering what they offer.
Reply With Quote

Sponsored Links
  #21   Ban this user!
Old 10-19-2007, 08:30 PM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Thanks for the input guys, the 324 circuit looks like a winner, makes me wish I didn't order the waveform generator now, ah well for five bucks I think I can wear the cost, though in the week or two it takes to get the chip, I can fab a small board and I found some 324's in the junk pile at work so I may have a crack at it while I wait.

Sam, my PC with EMC on is now dead but the HAL stuff is definately worth a shot, I really like the built in scope and meter objects, will come in handy if I ever ressurect the electronics

Russell.
Reply With Quote

  #22   Ban this user!
Old 10-19-2007, 09:30 PM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

The only thing needed is to convert the 12volt waveform to a 5volt logic level, I am thinking of using a simple resistor divider network, is this good enough or should I also add a zener to "clamp" the 5v level ?

Russell.
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EMC with what g-code generator? randyf1965 LinuxCNC (formerly EMC2) 10 09-18-2011 10:00 AM
NC Code Generator vijaychd General CNC (Mill and Lathe) Control Software (NC) 0 03-26-2007 01:39 PM
post generator dxxx SprutCAM 1 11-06-2006 01:28 AM
Simple Question Simple Answer ? p3t3rv Stepper Motors and Drives 6 02-16-2006 09:00 AM




All times are GMT -5. The time now is 09:03 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