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 05-19-2006, 12:12 PM
 
Join Date: May 2006
Location: UK
Posts: 17
novacustard is on a distinguished road
CNC Servo Help Needed

Hi.
I have built a nice DIY CNC router with much help from ebay.

However, I have run into trouble with the servo tuning stage, to the
point at which I have just ripped a metal flexicoupling in half

While tuning the X axis, I have seen the commanded move of approx 50mm
take place ok, then the servo threw itself into reverse at max speed
for a seemingly random distance. This ultimately saw it charge through
the limit switches and rip the coupling in half.

The Y axis seems unable to move at all, each time flagging 'Position
Error Exceeded'.

The only axis that is behaving is the Z axis.

Sorry if this is a bit long, but any suggestions would be gratefully
received.

Many thanks,

Richard

email me at novacustard@here

where h e r e can be replaced by yahooDOTcoD O Tuk



Servos, drives, controller and software are all Parker/Compumotor,
Controller is a Parker 6K4, all connecttions are by ribbon cable or
power cable where necesary. (Not shielded).

X axis is an SE230AE with 10:1 gearhead and OEM770T drive with 75vdc
p/s and THK44 Linear Actuator with 1 rev to 20mm leadscrew and 500mm
travel.

Y axis is an SE230AE with 10:1 gearhead and OEM770T drive with 75vdc
p/s and THK33 Linear Actuator with 1 rev to 10mm leadscrew and 200mm
travel.

Z axis is an SE232BE direct coupled to unknown Linear Actuator with 10
rev to 25.4mm leadscrew and 200mm travel. OEM770T drive with 24vdc supply.
Reply With Quote

  #2   Ban this user!
Old 05-19-2006, 07:24 PM
 
Join Date: Mar 2005
Location: USA
Posts: 20
jingham is on a distinguished road

I dont't know anything about the Parker stuff, but it seems like you have an error in the limit switch or home switch circuits.
I had a similar (non-distructive) occurance with a Gecko control system and EMC. Stuff wouldn't happen until I got the wiring to the switches right.
Reply With Quote

  #3   Ban this user!
Old 05-19-2006, 08:20 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Edited to answer my own questions:
Are those brushless motors? Yes
http://www.parkermotion.com/products...80_567_29.html


Actually, I think those part numbers are brushless, but it may not matter. If they are brushed, you probably have the power windings backwards. If they are brushless, you may have the encoder backwards, don't think they will run if you have the windings swapped.

Do you have links to the motor and control manuals?
Drive manual here:
http://www.parkermotion.com/manuals/...ls.htm#OEM770T

Last edited by unterhaus; 05-19-2006 at 08:40 PM.
Reply With Quote

  #4   Ban this user!
Old 05-19-2006, 08:42 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

The OEM770T is an analog control version of the amplifier. Do you actually have the OEM770SD? If you are supplying an analog control voltage, it's possible you have that control voltage backwards, that will cause a runaway. What software are you using to control this system? On Edit: now I see that you have a compumotor control and software.

It's always possible that the encoders are reading noise. You might want to consider new wiring.

You need to uncouple the x and y motors from the leadscrews until you get this straightened out.

Did you do your own wiring, or did it come complete with the system? Was the system working before you bought it?

Last edited by unterhaus; 05-19-2006 at 09:30 PM.
Reply With Quote

  #5   Ban this user!
Old 05-20-2006, 03:10 AM
 
Join Date: May 2006
Location: UK
Posts: 17
novacustard is on a distinguished road
servo troubles

I have had the X & Y axis running, at which point the X axis was powered by the 24vdc supply and the Y axis had a SE232BE motor. The Z axis was not built so I rigged up a simple gantry with a pen and produced a proof of principle drawing.
At this point I was feeling pretty pleased - all the motor connections are wired the same, so are interchangeable. I then moved the router from one room to another and decided to chnage the Y axis to the same motor/gearbox as the X axis and upgrading the X & Y axes to 75vdc. This meant changing some of the resistors inside the drive, but should be a no brainer.
One thing I did do is swap the X axis from one drive to another (identical) drive.
I guess what I have is a wiring issue, although i have carefully checked the wiring and it looks ok - I'll have to get a multimeter onto it.
Another possibility is that I have a faulty connection somewhere.
It certainly sounds like there is an encoder issue.

All wiring has been done by me, and I have not used shielded cables, but even separating the power and signal cables by several feet made no difference.

The drives are definately OEM770T's.

Best disconnect the Y drive (seeing as the X drive disconnected itself!).

Thanks for the replies.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-20-2006, 12:10 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Do you have confidence that it was running before you moved it? If so, it makes me wonder if something was damaged. However, encoders cause a lot of people problems, particularly if they are not differential. I was looking at the tuning procedures. It seems possible that you could drive the system unstable by changing the adjustments. You probably want to follow the procedure to return the adjustments to their default settings and start from there.
Reply With Quote

  #7   Ban this user!
Old 05-21-2006, 11:59 AM
 
Join Date: May 2006
Location: UK
Posts: 17
novacustard is on a distinguished road

Hi unterhaus.
Yes, I'm pretty confident that a. the X & Y axes were running ok before I moved and rejigged the control circuits. I will just have to go back to basics and carefully check the encoder wiring (and others). I have disconnected and removed the motors for this next stage as I don't want any more mishaps. Certainly the power and speed from these relatevely small motors coupled to 10:1 gearboxes is most impressive, just need to get them under control.

Thanks for the replies.
Please continue to add any suggestions that you feel may be helpful.

Richard.
Reply With Quote

  #8   Ban this user!
Old 05-21-2006, 02:15 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

when you said you were tuning, what did you change?
Reply With Quote

  #9   Ban this user!
Old 05-22-2006, 03:17 PM
 
Join Date: May 2006
Location: UK
Posts: 17
novacustard is on a distinguished road

Unterhaus,

Using Motion Planner's Servo Tuner, with a trapezoidal move profile, and an Integral value of between 7 and 10, I had been getting smooth, but possibly overdamped moves. (I have tried to attach a jpg showing on the left the ideal command and response, and on the right the cammand and response I am getting).
One strange thing I noticed - you can set the move profile, distance moved, velocity and accelleration/decelleration. Whereas before these had made a difference, now, the X axis would move at what ever speed it wanted - changing the velocity made no difference to the speed. However, if I changed only the Integral value from the default 0.5 to 5 or 10, then the speed of the move increased, even though I had not changed the commanded velocity value.

I am more and more convinced that the problem lies in the encoders or their wiring.

Thanks again,

Richard.
Attached Thumbnails
Click image for larger version

Name:	Gains.jpg‎
Views:	52
Size:	15.4 KB
ID:	18248  
Reply With Quote

  #10   Ban this user!
Old 05-22-2006, 03:48 PM
 
Join Date: May 2006
Location: UK
Posts: 17
novacustard is on a distinguished road

>Andy Purseglove

Andy, I've tried to email you a few times but the messages keep bouncing back.
If you could ask your parker expert some questions I'd be really grateful.
Basically, the instructions for the tuning process are a bit vague - can your guy suggest some data values for the Proportional, Derivative/Velocity, Integral, Integral Limit, Accel Feedforward, Vel Feedforward boxes on the Servo Tuner? I guess that I don't need to complete all the boxes...
My previous post showed the ideal command/response (ont the left) and the command/response I'm getting - which seems so different from the ideal that I wonder if its a problem, or what I could do to get closer to the ideal?
Any help gratefully received.

All the best,
Richard.
PS, I'll take a few photos and post them later this week.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-22-2006, 08:22 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Why doesn't your command ever flatten out? Basically, it looks like your machine was doing what it was supposed to, including smashing into the end blocks -- the poisition is following the command. I think there is a problem with the way the tuning software is set up.

From what you've said, it appears that there are two sets of gains, one on the OEM770's and one in the controller. So you were changing the gains in the controller.

Integral gains will tend to destablize a system. Integral gain is there to eliminate steady state error, you command a position and it ends up there eventually if there is some integral gain. You should be able to set this very low. The integral limit is there to keep the integrator from driving the position away from where it should be just to get rid of the integrated gain. Should be set low. Derivitive gain is wonderful for stability and performance in theory, but in practice it adds noise. Also should be set low at first. The feedforward gains are for tracking accuracy, and at first you should be able to set them very low. So at first, the proportional gain should be much larger than the other gains.
Reply With Quote

  #12   Ban this user!
Old 05-23-2006, 10:29 AM
 
Join Date: May 2006
Location: UK
Posts: 17
novacustard is on a distinguished road

Unterhaus,
I think what i actually did was use a value of 7 to 10 in the Proportional box, not the Integral, but thanks for the tips - this is just what I need.
Yes, I wonder why the command never flattens out - when you compare it to what it should look like it just seems so wrong.
As for there being two sets of gains, one for the drive and one for the controller, I don't think that is the case. The Servo Tuner software operates through the controller, but the gains are set for each drive on each axis, and once set up are applied everytime the Setup program is run (ie on startup of the controller).

Thanks again,
Richard.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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