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! > MetalWorking Machines > Bridgeport and Hardinge Mills


Bridgeport and Hardinge Mills Discuss Bridgeport and Hardinge Mills here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-04-2010, 02:39 PM
 
Join Date: Nov 2005
Location: USA
Posts: 71
Lasershop is on a distinguished road
When is PID too high??

dspMC / Mach3 conversion on a V2XT. Tuning the axis motors (servo) and the machine wouldnt do the same thing twice. Started out at "P" 4000 and "D" an times 25 factor which is 100000. Motors run very smooth but going back to zero is all over the place. All ways and screws are in very good condition. Lube pump is working. I have the P now at 25000 and the D times 25. Seems alot more accurate within 2 or 3 counts. Scale has always been 100. What do I do, just keep going? Or am I way out of typical range as it is. Stock SEM motors and 250 encoders. Anything less than 2500 P wont move the motors. Your thoughts??
RonO

Also, motors have a tach but I have the amps in torque mode right now. Still learning
Reply With Quote

  #2   Ban this user!
Old 01-04-2010, 03:30 PM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi,
I don't have any experience with the DSPMC or your particular setup but you don't say anything about the I-term... If you end up short or slightly overshooting targetposition (and not getting back) you probably need to increase I for it too move that last bit.
Reply With Quote

  #3   Ban this user!
Old 01-04-2010, 04:07 PM
 
Join Date: Nov 2005
Location: USA
Posts: 71
Lasershop is on a distinguished road

The "I" has been at 0. What do you suggest? Increase "I" one at a time or more?
Thanks, RonO
Reply With Quote

  #4   Ban this user!
Old 01-04-2010, 04:28 PM
 
Join Date: Nov 2005
Location: USA
Posts: 71
Lasershop is on a distinguished road

That was just weird.. with the "I" at only 1 the motor would go like 20 counts very slowly after a stop.
Reply With Quote

  #5   Ban this user!
Old 01-04-2010, 04:51 PM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Are you saying it stopped at "target" and then moved 20 counts "away"? If so, that sounds strange. If it stopped "short" and then moved 20 counts "towards" the target it's working just as planned but you need to increase it further.

The I-term looks at the error over time, if a discrepancy between target position and actual position exists the I-term keeps adding more and more "effort" (torque command in your case) untill there no longer is an error. Too much I can cause large overshoots or even oscillations so be carefull, you might also need to increase the D further to dampen it when you're "getting close".
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-04-2010, 04:58 PM
 
Join Date: Nov 2005
Location: USA
Posts: 71
Lasershop is on a distinguished road

Originally Posted by H.O View Post
Are you saying it stopped at "target" and then moved 20 counts "away"? If so, that sounds strange. If it stopped "short" and then moved 20 counts "towards" the target it's working just as planned but you need to increase it further.

The I-term looks at the error over time, if a discrepancy between target position and actual position exists the I-term keeps adding more and more "effort" (torque command in your case) untill there no longer is an error. Too much I can cause large overshoots or even oscillations so be carefull, you might also need to increase the D further to dampen it when you're "getting close".
Came to a near stop and "continued" very slowly 20 or so counts.
Reply With Quote

  #7   Ban this user!
Old 01-04-2010, 05:13 PM
 
Join Date: Aug 2009
Location: USA Michigan
Posts: 134
electric2u is on a distinguished road

can someone tell me if the moters on this web page good or bad? http://www.probotix.com/index.php?vi...&product_id=33

i'm looking at using them on a x 36" y 80" z 6" made out of MDF i well be working on doors and other things i think of to do with it.

or what size do you think they may work on?


thank you
Reply With Quote

  #8   Ban this user!
Old 01-04-2010, 10:33 PM
 
Join Date: Dec 2004
Location: usa
Posts: 1,665
TOTALLYRC is on a distinguished road

Originally Posted by Lasershop View Post
dspMC / Mach3 conversion on a V2XT. Tuning the axis motors (servo) and the machine wouldnt do the same thing twice. Started out at "P" 4000 and "D" an times 25 factor which is 100000. Motors run very smooth but going back to zero is all over the place. All ways and screws are in very good condition. Lube pump is working. I have the P now at 25000 and the D times 25. Seems alot more accurate within 2 or 3 counts. Scale has always been 100. What do I do, just keep going? Or am I way out of typical range as it is. Stock SEM motors and 250 encoders. Anything less than 2500 P wont move the motors. Your thoughts??
RonO

Also, motors have a tach but I have the amps in torque mode right now. Still learning
Use of the tach in velocity mode is supposed to give better low speed response.

You say that returning to zero is all over the place, what does that mean exactly and what are you using for a deadband? I typically use 3 or 4 but that is me.

Different encoder counts will affect how the pid reacts. When I was setting up a new encoder to replace a bad one I had it set for 48 counts and with the existing pid settings the axis would bounce all over the place when jogging. When I say bounce, I mean bounce to the tune of a half inch or so. Real freaky to watch.

I currently have 500 on the x and z and 1024 on the Y. Since the dspmc will handle much higher than that I am planing on turning the encoders all the way to their max of 2048 (8192 in quad) and retuning. This will give ~81920 steps per inch on my machine.

Originally Posted by Lasershop View Post
The "I" has been at 0. What do you suggest? Increase "I" one at a time or more?
Thanks, RonO
Remember the scale factor of 100 which means that your I term of 1 is actually 100.

Originally Posted by Lasershop View Post
That was just weird.. with the "I" at only 1 the motor would go like 20 counts very slowly after a stop.
Same thing I found when setting mine up. The I term seems to slow the settling time of the servo loop.

Originally Posted by Lasershop View Post
Came to a near stop and "continued" very slowly 20 or so counts.
I have not yet tried it but you could try using an I term of .5 and see how that works.

I have spoken with other people who are using pid terms much higher than yours.

I would say that as long as it works there is no right or wrong. I provided the numbers in the manual because like you I found that very low numbers result in no axis movement at all. The provided numbers give a place to start that will provide movement and get you on your way to tuning the motors.

Using your numbers, how does it look in axis works?

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Reply With Quote

  #9   Ban this user!
Old 01-05-2010, 02:52 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Came to a near stop and "continued" very slowly 20 or so counts.
And after moving those 20 or so counts it was closer to the target position than after the the initial near stop, yes? If so, give it some more I and see if it get's there faster.

If the tuning software provides a way to plot the response, which I believe it does, please post a screenshot.
Reply With Quote

  #10   Ban this user!
Old 01-05-2010, 09:44 AM
 
Join Date: Nov 2005
Location: USA
Posts: 71
Lasershop is on a distinguished road

I bench tuned the Servo Dynamics amps per the manual and double checked before I installed them. Same amps that were in the machine when it ran under the stock Bridgeport motion. I made my PID adjustments using Axis Works and can get the motors to run smooth and kept adjusting until I could move forward and back 6 inches (100 ipm) and always land at 0. That took a couple days. Machine is rated at 250ipm.

Under Mach 3 I can jog just fine but "return to zero" is random at best. Different velocities, different accelerations. "All over the place" means it never lands at zero and doesn't do the same thing twice. I'm getting closer with the high P and D numbers. I can now keep the return to zero within 3 or 4 counts. Is that as good as I can expect? I just don't know if there is a ceiling on PID numbers to where there is no longer any affect. I started as per the dspmc manual with P at 4000 and D at 100000. I at 0.

I'm now (on my X axis) P at 25000 and D at 625000. Scale always 100. Its much better than before retuning to zero within 1 to 2 counts. Going to recheck all my grounds this morning and make sure they are all done right. I haven't got my post software set up yet but I worry about a program with hundreds of moves and all the accumulative error.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-05-2010, 09:45 AM
 
Join Date: Nov 2005
Location: USA
Posts: 71
Lasershop is on a distinguished road

Originally Posted by H.O View Post
And after moving those 20 or so counts it was closer to the target position than after the the initial near stop, yes? If so, give it some more I and see if it get's there faster.

If the tuning software provides a way to plot the response, which I believe it does, please post a screenshot.
Ill get you that screen shot this morning sometime.
Thanks, RonO
Reply With Quote

  #12   Ban this user!
Old 01-05-2010, 09:51 AM
 
Join Date: Nov 2005
Location: USA
Posts: 71
Lasershop is on a distinguished road

Originally Posted by TOTALLYRC View Post

I currently have 500 on the x and z and 1024 on the Y. Since the dspmc will handle much higher than that I am planing on turning the encoders all the way to their max of 2048 (8192 in quad) and retuning. This will give ~81920 steps per inch on my machine.

Mike
What do you mean "turning the encoders all the way to their max of 2048"?
and "500 on the x and z and 1024 on the Y"? Are those PID settings? Thats almost my original question whether there is a max setting.
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
Just IN- High Precision, High Speed Bearings mikeyg Product Announcements & Manufacturer News 0 09-07-2009 07:06 PM
High voltage & high power servo drive design Xerxes Granite Devices 32 08-22-2008 09:24 PM
High Torque , High Bandwidth Motor or Servo mastabib Benchtop Machines 0 09-26-2007 02:09 AM
High speed spindle... how high? jonesja2 General Metal Working Machines 0 06-04-2007 07:18 PM




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