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 > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-14-2010, 11:48 AM
 
Join Date: Aug 2008
Location: USA
Posts: 5
Aeroshade is on a distinguished road
Problems tuning servos DMC-2162 Galil

Hello all!!! This is my very first post on CNCZone!!

OK, I am having a problem tuning my servos on a Republic Lagun 4824VMC CNC machine. This is a vertical 4axis machine (X, Y, Z and A is a rotary). It had a Vickers A2100 controller originally, and we have purchased the Camsoft Pro software along with the Galil DMC-2162 motion card with ICM 2900's.

The servo amps were made by Glentek, which we changed to AMC (Advanced Motion Control) cards (Part# 30A20AC).

The servo motors for X,Y and Z are made by SEM (Part# MT40W4-68) all had tach's on the drives. X and Y axis have Heidenhain glass scales (linear scales) and Z axis has a rotary encoder.

We have had this machine since 1998 and it has served us very well, but a few months before the retrofit it started having problems with the controller.

Since we started the retrofit we have ran into many problems. The main problem was that the original servo amp cards were set for velocity mode, which Galil wants the amp cards set for current mode. This is the reason we purchased the AMC cards.

We have purchased the Galil tools program and have ran X and Y axis through this software multi. times. The main problem is with X axis. When tuning the X axis I set the step command to 500counts. Then I start moving the KD and KP in 1/10 increments until I see a good reading on the scope (25-35% overshot). I then have a program I run in the Galil tools that runs the X axis +.5in then back -.5in. It's in this test that I see that when the X axis is moving in the - direction that there is oscillation. I can't hear it, unless I turn the KD and KP up, but I can see it in my command volts. I have attached a few SS (screen shots) of my plots so you can see what I mean.

We have tried everything to get this noise out of the system. We have cleaned the glass scales, had the ball screws reground and we have installed new bearings for the ball screws. I have swapped X and Y motors. I have even hooked up the rotary encoder from Z axis to eliminate that the glass scales might be the problem.




Here is a SS with low PID's. And a 500count step command. Notice the encoder, pretty sloppy.



This is the .5in+ and - move I make, notice the blue command volt line, nice in both directions.



A little higher PID's, good over shot but it's a little slow (I think).



OK starting to see some abnormal spikes in the command volts line on the return (negative direction). This gets a lot worse the higher I move the PID's.



I talked to a tech at Galil and he suggested me to change the FV (Velocity Feedfoward) to 45, but I just noticed that I didn't put FVA=45... I will try that when I get done here.



In this SS I adjusted the accel and decel, it didn't help but you can see the command volts a little better here.



Lowered the accel and decel even more.



Here is a step command with the PID's D=157, P=16 and I=0. Better looking step, but look at the next SS for the .5in -/+ longer move.



The PID's were D=157, P=16 and I=0. Notice the command volts line now... WOW!! And this makes the machine really vibrate in the negative direction.




If anyone might have an idea why this is happening I would appreciate the help!! This machine has been down a good 7 months, and we would like to see it running again, sooner rather than later :P.

If you need any more INFO please let me know.


THANKS!!!
Aero
Reply With Quote

  #2  
Old 12-14-2010, 12:23 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,532
Al_The_Man is on a distinguished road
Buy me a Beer?

Did you watch the tuning tutorials on the Galil site?
They include one for dual feedback system tuning the PID for Glass scale and encoder.
I usually run the auto tune and then adjust as necessary to get optimum results, they very rarely run off the auto tune without some manual adjustment.
What is it like with just the motor encoder and no scale?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 12-14-2010, 12:36 PM
 
Join Date: Aug 2008
Location: USA
Posts: 5
Aeroshade is on a distinguished road

Originally Posted by Al_The_Man View Post
Did you watch the tuning tutorials on the Galil site?
They include one for dual feedback system tuning the PID for Glass scale and encoder.
I usually run the auto tune and then adjust as necessary to get optimum results, they very rarely run off the auto tune without some manual adjustment.
What is it like with just the motor encoder and no scale?
Al.
I have talked to the techs about the dual feedback system at Galil and that is something they suggested until he saw the plot and that they are not even in both directions. It is still on the table to try, but I was hoping that since it work before it might be something silly that might be easy to fix.

When I used the rotary encoder on the X axis I got the exact same results with the scope.

Everything is pointing to the dual feedback system, but the only thing that is strange is that Y axis doesn't seem to have the same problem. I am having issues tuning it, but not like the X axis.

I have watched most of the videos on Galil's site for tuning, but I have also talked to them about what I have been doing and have sent them all these plots. Everybody seems to be at a loss. I have talked to Camsoft, Galil and AMC many times trying to figure all this out, everybody is stumped and can't come up with a true fix.


Thanks for the response!!
Aero

Last edited by Aeroshade; 12-14-2010 at 01:00 PM.
Reply With Quote

  #4   Ban this user!
Old 12-14-2010, 01:14 PM
 
Join Date: Aug 2008
Location: USA
Posts: 5
Aeroshade is on a distinguished road

I just ran Autotune a couple times, and every time I run it it comes up with different numbers for the PID. Does Autotune run pretty fast? it seemed to only do one or two step moves then it's done.
Reply With Quote

  #5  
Old 12-14-2010, 02:36 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,532
Al_The_Man is on a distinguished road
Buy me a Beer?

I have an older version of the tuning program, you have a few more features, but I usually find the auto tune usually takes a while, while it plugs in different frequency values.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-14-2010, 05:23 PM
 
Join Date: Aug 2008
Location: USA
Posts: 5
Aeroshade is on a distinguished road

When I ran the Autotune it took about 3sec then stopped, but every time I used it it came up with new PID's.
Reply With Quote

  #7   Ban this user!
Old 12-14-2010, 07:52 PM
 
Join Date: Jan 2007
Location: USA
Age: 51
Posts: 156
Farmers Machine is on a distinguished road

I used a ratio for P I D of 10 / 1 / 100 starting at 50. My gantry was a little coarse and jerky. kept changing until it leveled out at 35 / 3.5/ 350 . I never hooked it up to the galil servo tuning software, it was more like blind hog finding an ear of corn. The ratio was suggested by the cam soft tech dept.
Good Luck
The Farmer
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
tuning dual servos on CNC router Boltz Servo Motors and Drives 16 01-31-2011 08:21 AM
Motor tuning problems rodzilla Benchtop Machines 17 02-26-2008 07:16 AM
PID Tuning Problems ltoy Servo Motors and Drives 13 11-16-2007 11:43 AM
Lots of Problems after reinstalling Galil card 69owb CamSoft Products 10 05-06-2007 09:09 PM
Tuning Servos with out an O-scope? Bird_E Gecko Drives 2 02-23-2005 12:16 PM




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