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! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Machines running Mach Software


Machines running Mach Software Discuss your set-up and experiences running your machine using Mach software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-28-2008, 04:59 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road
spindle dc servo / encoder, lathe

I'm exploring the possibility of using a dc servo motor for my lathe spindle, I have the dc servo drive and the dc servo motor, as far as i know the motor does not have an encoder although i have the option of adding one to it from the manufacturer.

My question is, if my spindle allready has a 200 hole index pulse plate on the spindle plate currently used for the rpm / speed readout in mach3, why would I need an encoder on the dc servo motor?.

and i'm a little confused as to how mach3 connects and picks up information from the encoder as i thought the dc servo drive and motor was a standalone cell and all mach does is put signals 'out' to the servo drive.... wether they are step & direction or PWM.

The servo drive can also use tachy feedback from the motor, what is this?
Reply With Quote

  #2   Ban this user!
Old 01-29-2008, 12:19 PM
 
Join Date: Jan 2006
Location: USA
Posts: 1,766
keebler303 is on a distinguished road

The only reason you would need an encoder is if the drive required it. Mach will output either PWM or step/dir to the drive. The drive needs some type of feedback from the motor. This needs to be either an encoder or a tachometer. A tachometer is a small generator connected to the servo which outputs a dc voltage proportyional to its speed. From this, the drive can tell how fast it is going and change the voltage output so that it is going at the speed it is commanded by mach.

Matt
Reply With Quote

  #3   Ban this user!
Old 01-29-2008, 05:07 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road

cheers matt, i see. the tach is for self regulating speed with the drive, by referencing mach's commanded speed and the tach simeltaneously. i wont be using this spindle & drive for a stepped 4th axis type application, yet, but a spindle if possible.

what is the maximum speed/rpm at which mach can read a 500 count encoder?

i also think my 200 hole index plate will be useless as the holes are tiny and the manual says the slots need to be kinda 4 at calculated widths with one larger for main index pulse the rest for position etc. if 4 slots is good enough for the goose.

what do you think of using a 130vdc 12A dc motor for a spindle? its got 382 oz in from stall to 3000rpm, 950ozin peak to 1750rpm. its only a tiny lathe but i want to practice on it first then perhaps transfer the spindle assembly over to something with a proper construction / preloaded spindle and not ball race!

Last edited by hutchison; 01-29-2008 at 05:44 PM.
Reply With Quote

  #4   Ban this user!
Old 01-29-2008, 05:30 PM
 
Join Date: Jan 2008
Location: england
Posts: 136
philserveng is on a distinguished road

The reason for a tacho is for closed loop speed control, not "if the drive needs it". Using a dc servo motor for spindle control means you will have a permanent magnet for the field, this will limit the maximum motor speed because the field is fixed. Traditional dc spindle drives have a field winding which can have a variable voltage, this allows the field to be weakened and the spindle can attain higher speeds, with corresponding reduced torque.The addition of a spindle encoder allows the controller to monitor the spindle rpm's and to fix feed per rev or revs per minute. Also, with a marker pulse, will allow for threading and other cutting cycles. If not needed a simple potentiometer can be employed to regulate speed. The encoder is not a tacho and vise versa.
Reply With Quote

  #5   Ban this user!
Old 01-29-2008, 06:10 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road

right so it needs a tacho then!. according to mach i can use a single index pulse to achive feed per rev, so im not seeing the use of encoder anywhere relevant ? thanks for the input phil, copy that the torque graph steeply to 0nm from 3100-3400rpm dead.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-29-2008, 06:33 PM
 
Join Date: Jan 2006
Location: USA
Posts: 1,766
keebler303 is on a distinguished road

If your servo drive needs the tacho, use that. If it needs the encoder, use that. Different drives use different types of feedback.

The 4 pulses per rev, or even one is all you need for mach for threading. A 500 line encoder would output pulses at 1.5 Mhz at 3000 RPM. Not even close to within the range mach can handle.

I think the motor will work just fine for a spindle. You won't need anything more that 3000 rpm for most purposes and it will be plenty strong. The servo drive will automatically increase voltage to the motor to maintain speed so it does not have to be so big as an open loop spindle.


Matt
Reply With Quote

  #7   Ban this user!
Old 01-30-2008, 03:27 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road

o.k im pretty much set on a tachy feedback set-up, the drive functions with either or both. simeltaneously according to the manual, hence the questions, plus i knew nothing about either, now a little more educated, thanks a lot. I now have to find out if the drive takes step and direction or pwm? i just plug it in and then tune it with mac right? heres a shot of the data :









i'll be guessing for a long time! how does mach plug in?


Last edited by hutchison; 01-30-2008 at 04:27 PM.
Reply With Quote

  #8   Ban this user!
Old 02-01-2008, 06:17 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road

im needing a pwm or s&d to 0-10vdc analogue volts convertor, can anyone recommend a good one with opto isolation? its to run this dc servo drive which does not take step or pwm input direct, cheers.
Reply With Quote

  #9   Ban this user!
Old 02-21-2008, 05:31 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road

which is better, a software or loop from mach3 or a hardware loop using the tachy generator for feedback? or are they not similar enough for comparison? mach states:


"Closed loop spindle control, when checked, implements a software servo loop which tries to match the actual spindle speed seen by the index or timing sensor with that demanded by the S word. The exact spindle speed is not likely to be important so you are not likely to need this feature in mach3 turn.

If you do use it then the P, I and D variables should be set in the range 0 to 1. P controls the gain of the loop and an excessive value will make the speed oscillate, or hunt, around the requested value rather than settling on it. The D variable applies damping so stabilising these oscillations by using the derivative (rate of change) of the speed. The I variable takes a long term view of the difference between actual and requested speed and so increases the accuracy in the steady state. Tuning these values is assisted by using the dialog opened by Operator>Calibrate spindle.

Spindle speed averaging, when checked, causes mach3 to average the time between index/timing pulses over several revolutions when it is deriving the actual spindle speed. You might find it useful with a very low inertia spinlde drive or one where the control tends to give sort term variation of speed.
...................................................................................."

where as the tachy generator will feedback upto 100v to the servo drive so it knows what speed its doing.. if the speed drops off from a demanded S word under spindle loading I imagine the servo drive increases power to the motor to compensate?

if i have this type of feedback wit my drive i dont need to use this option in mach right, I just wondered if any or either were better?
Reply With Quote

  #10   Ban this user!
Old 02-21-2008, 06:07 PM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 450
phomann is on a distinguished road

Originally Posted by hutchison View Post
im needing a pwm or s&d to 0-10vdc analogue volts convertor, can anyone recommend a good one with opto isolation? its to run this dc servo drive which does not take step or pwm input direct, cheers.
Hi,

Have a look at the PWM to isolated 0-10Vdc converters I make and sell.

The DigiSpeed-GX is a basic PWM to isolated 0-10V converter.
http://homanndesigns.com/store/index...products_id=21

The DigiSpeed-XL has a number of extra bells and whistles. It allows a manual speed potentiomer to be added to allow for manual speed control as well.
http://homanndesigns.com/store/index...&products_id=2

As to whether to use the Mach3 PID function or a drive with feedback built in, it is probably best to use the latter, as the PID in the drive will be optomised for it.


Cheers,

Peter.
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-22-2008, 05:05 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road

excellent, cheers peter, I have heard of your motor drives through the digital machinist magazine for this type of application so i'll take a look thankyou very much!
Reply With Quote

  #12   Ban this user!
Old 02-28-2008, 04:13 PM
 
Join Date: Jul 2007
Location: UK
Posts: 48
hutchison is on a distinguished road

Originally Posted by phomann View Post
Hi,

Have a look at the PWM to isolated 0-10Vdc converters I make and sell.

The DigiSpeed-GX is a basic PWM to isolated 0-10V converter.
http://homanndesigns.com/store/index...products_id=21

The DigiSpeed-XL has a number of extra bells and whistles. It allows a manual speed potentiomer to be added to allow for manual speed control as well.
http://homanndesigns.com/store/index...&products_id=2

As to whether to use the Mach3 PID function or a drive with feedback built in, it is probably best to use the latter, as the PID in the drive will be optomised for it.


Cheers,

Peter.
any idea how i can get both a positive and negative 0-10vdc to my drive? I can spin both ways without relays if i can incorporate it, I am also chuffed i found about my dc servo drive it takes analogue volts to control it directly / input, and not direct PWm, which is a shame as i could have plugged mach straight in but at least with analogue volts the set-up and monitoring will be easier.

does anyone have an idea which is a better option to use in mach 3 when converting the spindle drive signal to analogue volts, would it better to use PWM or step and direction? i am thinking using mach3's PWM output to volts as perhaps using step and dir would hog the processors resources when processing 35,000 pulses per second , anyone?
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
radiola
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
Lathe Variable Spindle motor options? VFD? Servo? Stepper? DC? whiteriver General Electronics Discussion 21 03-16-2011 07:38 PM
Hard drive servo spindle are any good for home made lathe? patriciooholegu Servo Motors and Drives 5 12-08-2007 09:48 AM
spindle encoder heilcnc LinuxCNC (formerly EMC2) 1 09-10-2007 09:12 AM
servo as spindle motor for manual lathe. thx1138 General Electronics Discussion 6 08-24-2006 02:54 AM
servo verses dc with encoder phil spanner Servo Motors and Drives 8 03-27-2006 06:20 AM




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