Update on closed-loop to the computer with Gecko 320
Posted by
Jon Elson
on 2003-10-28 23:01:10 UTC
Since several people were interested in this, I thought I should
send an update. The problem is that the Gecko 320 (and 340)
are closed-loop servo drives, but the standard connection doesn't
allow the CNC computer to see the encoder position. There are
several advantages to getting the position info back to the CNC
computer. One is to have more flexible following error limits,
such as a sliding scale proportional to velocity. Another is
to be able to make plots of commanded vs actual position during
various moves, to verify the accuracy of the servo movements.
Another advantage is that you can switch between manual and
CNC operation while maintaining the coordinate system, and
using EMC as a DRO when in manual mode.
I have verified that this works, and that EMC can control the servo
motor with very stable loop response. This was a concern in that
it adds several more layers of control loops to the existing servo
loops in the Gecko drive. I believe that I have actually gotten much
better servo response with this system, too. Since the I and D terms
are adjustable, and velocity and acceleration feed-forward are
also available, it is more flexible. I have made a sample plot
of a stop from moderate speed, using an Ametek servo motor and
a 36 V power supply.
http://jelinux.pico-systems.com/images/servo.png
The encoder was powered from my USC board, and I tried a
magnetically-coupled isolator to convey a copy of the encoder
signals to the Gecko drive. That did not work, as the encoder's
rise and fall times were apparently too slow for that isolator.
I will try it with a fast opto-isolator shortly.
But, the big news is that the entire scheme works, and the servo
response is stable, and the tuning is only slightly harder than usual.
(The more knobs, the harder anything is to set up. The Gecko 320
has 3 pots on it that interact with the software-set variables.)
Jon
send an update. The problem is that the Gecko 320 (and 340)
are closed-loop servo drives, but the standard connection doesn't
allow the CNC computer to see the encoder position. There are
several advantages to getting the position info back to the CNC
computer. One is to have more flexible following error limits,
such as a sliding scale proportional to velocity. Another is
to be able to make plots of commanded vs actual position during
various moves, to verify the accuracy of the servo movements.
Another advantage is that you can switch between manual and
CNC operation while maintaining the coordinate system, and
using EMC as a DRO when in manual mode.
I have verified that this works, and that EMC can control the servo
motor with very stable loop response. This was a concern in that
it adds several more layers of control loops to the existing servo
loops in the Gecko drive. I believe that I have actually gotten much
better servo response with this system, too. Since the I and D terms
are adjustable, and velocity and acceleration feed-forward are
also available, it is more flexible. I have made a sample plot
of a stop from moderate speed, using an Ametek servo motor and
a 36 V power supply.
http://jelinux.pico-systems.com/images/servo.png
The encoder was powered from my USC board, and I tried a
magnetically-coupled isolator to convey a copy of the encoder
signals to the Gecko drive. That did not work, as the encoder's
rise and fall times were apparently too slow for that isolator.
I will try it with a fast opto-isolator shortly.
But, the big news is that the entire scheme works, and the servo
response is stable, and the tuning is only slightly harder than usual.
(The more knobs, the harder anything is to set up. The Gecko 320
has 3 pots on it that interact with the software-set variables.)
Jon
Discussion Thread
Jon Elson
2003-10-28 23:01:10 UTC
Update on closed-loop to the computer with Gecko 320
Mariss Freimanis
2003-10-29 06:01:37 UTC
Re: Update on closed-loop to the computer with Gecko 320
Linc Reed-Nickerson
2003-10-29 07:29:08 UTC
Tapered Threads?
Jon Elson
2003-10-29 10:25:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Update on closed-loop to the computer with Gecko 320
Alan Rothenbush
2003-10-29 10:39:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: Update on closed-loop to the computer with Gecko 320
Mariss Freimanis
2003-10-29 11:20:50 UTC
Re: Update on closed-loop to the computer with Gecko 320
Maddock Machine
2003-10-29 11:44:04 UTC
Re: [CAD_CAM_EDM_DRO] Tapered Threads?
doug98105
2003-10-29 17:13:14 UTC
Re: Tapered Threads?
vavaroutsos
2003-10-29 20:02:10 UTC
Re: Update on closed-loop to the computer with Gecko 320
Jon Elson
2003-10-29 23:10:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: Update on closed-loop to the computer with Gecko 320
Kim Lux
2003-10-29 23:21:58 UTC
Re: [CAD_CAM_EDM_DRO] Tapered Threads?
rotarysmp
2003-10-30 03:53:55 UTC
Re: Tapered Threads? Kim's TurboCNC codes
Miroslav Pejic
2003-10-30 05:01:23 UTC
RE: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
Raymond Heckert
2003-10-30 21:12:46 UTC
Re: [CAD_CAM_EDM_DRO] Tapered Threads?
rotarysmp
2003-10-31 02:24:58 UTC
Re: Tapered Threads? TurboCNC encoder setups.
Kim Lux
2003-10-31 07:46:37 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
rotarysmp
2003-11-01 13:13:04 UTC
Re: Tapered Threads? Kim's TurboCNC codes
Paul
2003-11-01 16:10:11 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
Jon Elson
2003-11-01 22:48:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
rotarysmp
2003-11-03 01:56:52 UTC
Re: Tapered Threads? Kim's TurboCNC codes
jmkasunich
2003-11-03 06:30:18 UTC
Re: Tapered Threads? Kim's TurboCNC codes
Kim Lux
2003-11-03 07:48:06 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
Kim Lux
2003-11-03 07:48:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
Jon Elson
2003-11-03 10:00:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
Kim Lux
2003-11-03 10:19:26 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
Tony Jeffree
2003-11-03 10:40:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes
Kim Lux
2003-11-03 11:51:14 UTC
Re: [CAD_CAM_EDM_DRO] Re: Tapered Threads? Kim's TurboCNC codes