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 > Servo Motors and Drives


Servo Motors and Drives Discuss servo motors, drivers and other related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-08-2011, 09:01 AM
 
Join Date: Apr 2007
Location: New York, NY
Posts: 419
will gilmore is on a distinguished road
pwm vs step/dir

I'm starting on a mill retrofit. I'm hoping to reuse the servos. I've used Gecko steppers on a earlier lathe project and I'm comfortable with how the controller / driver / motor work with step pulses using steppers or servos.

For this new retro I've been considering EMC2 and that led me to Pico (Motion Control Interfaces) who offers PWM servo drives. Is this better / worse / older / newer technology?

Thanks.

--Will
Reply With Quote

  #2   Ban this user!
Old 12-08-2011, 10:39 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,082
samco is on a distinguished road

pwm input drives are similar to +/-10v drives.. The pwm is signal is proportional to velocity, current or voltage going to the servo. This depends on the drive. There are many upsides to using this style of drive system with emc. This is a true closed loop setup. Emc knows the actual position of the machine at all times.

-home once. As long as emc is still running - it knows where it is.
-estop without loosing position.
-move the machine around manually and it will know its position.
-following error is known. mine is .00017" at the moment http://www.electronicsam.com/images/...ing/tuning.png
-I can set the amount of following error before it trips an estop.
-home to encoder index.

sam
Reply With Quote

  #3   Ban this user!
Old 12-09-2011, 09:11 AM
 
Join Date: Apr 2007
Location: New York, NY
Posts: 419
will gilmore is on a distinguished road

are there upsides to step/dir drives?
Reply With Quote

  #4   Ban this user!
Old 12-09-2011, 09:12 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,082
samco is on a distinguished road

easier?

sam
Reply With Quote

  #5   Ban this user!
Old 12-09-2011, 09:16 AM
 
Join Date: Apr 2007
Location: New York, NY
Posts: 419
will gilmore is on a distinguished road

ok fair enough. Assuming I'm willing to spend the time learning and configuring, will PWM give better results?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-09-2011, 10:34 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,342
neilw20 is on a distinguished road

One of the things with PWM is PWM distortion.
You need to use a high speed opto in the MB region so that the on rise time and fall times are identical, for practical purposes.

I use accurate PWM at the VFD generated by step/dir signals.
My step signal drives a monostable, that gives a very accurate controlled pulse width. The faster you hit it the mono the higher the percentage PWM. When pulse rate meets the mono time you are at 100%.
No pulse = 0%. Needs some safety logic, like requiring a minimum pulse width, so noise can't start the VFD when stopped.

That way PWM distortion from the computer end is solved. You can have the best of both worlds this way.

A standard VFD with analogue input, and step/dir signal so it is all digital, where the noise matters.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #7   Ban this user!
Old 12-09-2011, 11:33 AM
 
Join Date: Apr 2007
Location: New York, NY
Posts: 419
will gilmore is on a distinguished road

Originally Posted by neilw20 View Post
One of the things with PWM is PWM distortion.
You need to use a high speed opto in the MB region so that the on rise time and fall times are identical, for practical purposes.

I use accurate PWM at the VFD generated by step/dir signals.
My step signal drives a monostable, that gives a very accurate controlled pulse width. The faster you hit it the mono the higher the percentage PWM. When pulse rate meets the mono time you are at 100%.
No pulse = 0%. Needs some safety logic, like requiring a minimum pulse width, so noise can't start the VFD when stopped.

That way PWM distortion from the computer end is solved. You can have the best of both worlds this way.

A standard VFD with analogue input, and step/dir signal so it is all digital, where the noise matters.
Is it safe to assume that professional PWM amp designers have thought of this? For example this Pico drive: Pico Systems PWM Servo Amplifier
Reply With Quote

  #8   Ban this user!
Old 12-10-2011, 12:33 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,342
neilw20 is on a distinguished road
Cool Hope this helps, and opens a few eyes.

Looking at the specs, it says only 3mA is needed for the opto.
Without knowing what opto is used I can only lead with these comments...

In my experience, so far, suitable optos need to driven at 6mA to minimize PWM distortion and speced in the 10MBd range, like ACPL-M61L typically 6nS error. Well under 0.1%, and it's output is CMOS suitable to drive an integrating circuit, which must be charged AND discharged at the same drive current.

A PWM of between 25 and 100KHz need high speed devices well into the MHz range.

A 4N35 has a time difference 18 off and 9 on, of 9uS. At 100Khz that is 50%!!!
A 6N137 has a time difference, of 35nS. At 100Khz that is under 1%
Problem is caused by the difference in rise and fall time.

The output of the opto coupler needs to drive a very accurate pulse width and height to integrate the PWM signal. This needs to be independant of temperature changes, and that is another story.

Many devices are not up to the task if precision is required, and the output side needs using the PWM has to maintain accuracy.

At mid range, you won't notice much error but at each the low and high ends the error can be easily measured with a tacho.

And all that aside, the perfect PWM signal has to presented to the PICO systems unit. Read back my previous using the set/dir signal so that all the errors are only at the decoding point.

A soon as you take PWM from a PC or similar, errors are inevitable, without special attention to propagation delays all the way to the recovered DC signal.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #9   Ban this user!
Old 12-10-2011, 11:18 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,082
samco is on a distinguished road

I think you are over thinking it..

This is what a motion guru says.
All this accurate PWM stuff is rather silly if theres feedback loop around it
And that is what emc2 can do..

sam
Reply With Quote

  #10   Ban this user!
Old 12-10-2011, 11:40 AM
 
Join Date: Feb 2005
Location: United States
Posts: 20
SWPadnos is on a distinguished road

Originally Posted by will gilmore View Post
are there upsides to step/dir drives?
What's easier with step/dir is that there is no need for feedback to the PC, since step motors only move in "steps". (ie, since each pulse theoretically corresponds to a specific amount of motion, all the computer has to do is output the right number of pulses for whatever distance it wants the motor to move)

A second perceived advantage is that they are generally somewhat less expensive, especially when you take the cost of the feedback components into account.

- Steve
Reply With Quote

Sponsored Links
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Loosing step more and more on X axis only after reducing the accl/velocity step motor Calico DIY-CNC Router Table Machines 3 04-09-2010 07:23 PM
Need Help!- Step/Direction pins should be Step FWD and Step BACK rayscott Mach Software (ArtSoft software) 6 02-09-2010 05:57 PM
Full step and half step hybrid driver? rkremser Stepper Motors and Drives 4 11-20-2008 10:22 AM
Need Help!- How to edit MPFAN post file step by step m_bhui Post Processors for MC 2 10-04-2008 05:42 AM
Step by step cnc plasma with parts list and links. massajamesb CNC Plasma and Waterjet Machines 8 07-08-2007 10:22 PM




All times are GMT -5. The time now is 04:19 AM.





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