![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Servo Motors and Drives Discuss servo motors, drivers and other related topics here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
I'm just learning about servos, and I think I've got some of the basic concepts of servo tuning. I understand that what's usually done is to command a move and compare the commanded position to the actual position reported by the encoder, and that this is typically done with the motor installed and connected to it's intended load, so that the inertia and resonance of the whole system can be tuned. What's puzzling me is how one goes about tuning a pair of servos that need to work in tandem, which is what I've got on the Multicam router I recently bought. I'm getting an "excessive following error" fault occasionally on one of the drives, so I'm wondering if they need tuning. Thanks for any help. -Jim Hart |
|
#2
| ||||
| ||||
| The tuned loop for servo systems is referred to as the PID loop, a search will bring you much info if you want to get more info on it, also a valuable resource is the instructional videos on the Galil Motion site if you want to learn about servo tuning. Generally for two servo's to be used on the same axis requires the gearing feature of the controller, one axis (slave) is geared off the primary axis (master) encoder, Multicam mention they use a stand alone RISC/DSP controller which may imply they use closed loop gearing function in order to synchronize the dual axis. Excess following error could well mean tuning, or alternatively a binding on the slave side, if this error is on the dual axis Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#3
| ||||
| ||||
| Thanks for the quick reply, Al! It sounds like you're saying that the synchronization of the 2 motors takes place in the machine controller, and the general term for this is "gearing". Unfortunately, the controller for this machine (made by Extratech) is kind of a Black Box, they're an OEM vendor who won't talk at all to an end user. Getting support from Multicam has been kind of an arduous process, where you leave a message and a tech gets back to you in several hours, or maybe not at all. My Kingdom for a set of ladder diagrams! At least I have a copy of Ultramaster, so I can get detailed fault descriptions. There may be some mechanical binding, not sure how to check and adjust the pinions. Anyway, in the dual motor setups you've worked on, is tuning done on the motors individually or simultaneously? Would you use a looping g-code program to command a long sequence of plus and minus moves, then tune one drive at a time? thanks, -Jim Hart |
|
#4
| ||||
| ||||
| In a typical CNC machine, the servo loop and tuning is invisible to the part programming. In a synchronized geared situation, both drives should be tuned for optimum, often the software is either capable of self tuning through a soft ware program, or a series of moves are performed whilst the PID is tuned for optimum performance to achieve as low as possible following error on each axis. I would expect anyone designing a machine of this nature to have a maintenance or diagnostic tuning feature available. If you have an axis that is difficult to achieve a reasonable result, then I would look at mechanical problems for the solution. Although rare, I have run across proprietary designs in the past that have been averse to offering anything in the way of technical detail. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#5
| ||||
| ||||
| Ultramaster has an autotune option, although the help file recommends using the autotune as a jumping off point for manual tuning (at least that's the way I read it). I've sucessfully used the manual tune option to set up a continuous oscillation on the y-axis. The software has a built-in o-scope, and I've been able to compare commanded speed and position with what the encoder says. Haven't been bold enough to change any PID or K-values, but I'm starting to get a bit of a grip on it conceptually. Still can't grasp how one is supposed to tune the pair of x-axis motors. I can look at the scope while a program is running and compare commanded and encoder values, but then the program has to be stopped and the drive disabled to adjust the PID and K's. Interestingly, the problem only happens during an extended slew move at full rapid, such as when parking the gantry high or low. Short slew moves, all normal cutting speeds, and rapid jog (about 75% of full rapid) all work just fine. |
| Sponsored Links |
|
#6
| ||||
| ||||
| It could be that on extended moves the following error gradually increases and this could cause the slave side to skew or yaw and this will aggravate the problem due to friction. On the cards I use (Galil) they have an option to look at the following error as during a move and the ability to change the PID in between moves. Record the PID and experiment, you could always plug the original back in. If you look at one of the Galil manuals, near the front of each manual is tuning the PID loop, the general sequence applies to other systems also, not just to Galil. Al. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#7
| ||||
| ||||
It looks like I'm getting some overshoot on the X axis, an shown by the ripples in the corner. Kd is set at zero. I'm wondering if setting a positive value for Kd would increase damping and reduce overshoot. The screen shot is from Ultramaster. -Jim Hart
__________________ My main machine: Multicam MG series (MG101) with original Extratech H971 controller, Minarik servo motors, Electro-Craft BRU-series drives, 4KW Colombo. Let's talk Multicam! |
|
#8
| ||||
| ||||
I wrote a little g-code program which moves the X-axis back and forth over a 3 inch span, then looked at the built in oscilloscope in Ultramaster and saw this rather weird waveform. Things would be so much easier if I could just send the same square wave to both motors. -Jim Hart
__________________ My main machine: Multicam MG series (MG101) with original Extratech H971 controller, Minarik servo motors, Electro-Craft BRU-series drives, 4KW Colombo. Let's talk Multicam! |
|
#10
| |||
| |||
Jim, I thing you guys might be over thinking this: Have you looked at all of the mechanics of the servo assemblies 1. Pinions do they look like mountain peaks or devils tower. I should look like Devils Tower. 2. How does your rack look. It should have the same look 3. If you drop your servo and spin the pinion by hand, back and forth are you feeling any backlash. 4. If you feel backlash, pull apart the motor from the transmission, I think you have a small pinion is connected to the servo shaft, but then again Multicam had various versions, check that little pinion it could be worn out. 5. If you still haven't found anything: 1.Move to the front of the table and set a home point and drop one of the motors. 2. Press Enter to get into the Menu and move cursor until you get to Move, Enter 3. Put a X value of say 36" and don't work about Y or Z. 4. Measure from the front of the rail to say the front of the bearing car and repeat the same process for the other side. Check those measurements. 5. At that point switch the motors side, XA for XB and XB for XA. If one side is short and once your switch side, that shortness shows up on the other side, then it is something with the motor or gearbox. If you get the same measurement, have you squared the gantry. Try this and let me know... Chris.. |
| Sponsored Links |
|
#11
| ||||
| ||||
| MCP, yes I've been through the mechanicals. The pinions and couplings are tight, gearboxes are like new, and the rack doesn't look anything like that machine in South Africa that's been used to run composites all day! The X-axis overshoot is quite observable while cutting, it's consistent, and it happens in both directions. Spoiledbrat, the other option is the position loop. The servo tunung docs at Kollmorgen say to tune the fastest loops first, which is why I'm starting with the velocity loop. I've now completed a full set of screenshots of all the original settings, so now I'm set to start tweaking things. I agree, it's odd that D is greyed out. Evidently the velocity loop is PI, but the position loop is PID. Here's a shot of the position tuning screen, I haven't changed Kd, it was set at zero. I've been following your struggle with your Galil controller. -Jim Hart -Jim Hart
__________________ My main machine: Multicam MG series (MG101) with original Extratech H971 controller, Minarik servo motors, Electro-Craft BRU-series drives, 4KW Colombo. Let's talk Multicam! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advice on Dual Plasma Router Table | Mini-MillX2 | CNC Plasma and Waterjet Machines | 2 | 01-27-2007 05:04 AM |
| servos to control dual axis solar tracker | BullCreek | Servo Motors and Drives | 17 | 08-15-2006 08:04 AM |
| Tuning Servos with out an O-scope? | Bird_E | Gecko Drives | 2 | 02-23-2005 12:16 PM |
| Servos on Cad-Cut Router | CAM_MAN | Servo Motors and Drives | 3 | 02-10-2005 07:44 PM |
| dual purpose cnc router | junkmail | DIY-CNC Router Table Machines | 2 | 03-10-2004 12:01 PM |