Hello Guest it is November 10, 2024, 02:58:21 PM

Author Topic: Galil plugin compatibility  (Read 31475 times)

0 Members and 3 Guests are viewing this topic.

Galil plugin compatibility
« on: July 19, 2019, 02:39:04 PM »
I've had an email exchange with Galil about what motion controller they could supply to allow me to use my Linear Scales on my 4-axis mill. Currently the system uses a SmoothStepper and backlash compensation driving AC Servos.

They suggest using their DMC 41x3 motion controller but they don't know if this is compatible with a Mach4 plugin.

So the question is whether there is a Mach4 plugin that will work with this unit? If there isn't, would someone be willing to update the Mach4 plugin so this could be made to work?

I've done a fair bit of research, and I can't find any motion control product that close the loop with linear encoders and Mach4. Maybe someone knows different? My current setup with AC servos closes the loop with the leadscrew, but that's only half an answer. What's needed is a proper solution to this more tricky but much more satisfactory solution to dealing with backlash.
« Last Edit: July 19, 2019, 02:40:44 PM by striplar »

Offline smurph

*
  • *
  •  1,550 1,550
  • "That there... that's an RV."
Re: Galil plugin compatibility
« Reply #1 on: December 29, 2019, 03:47:03 PM »
The Galil plugin works with the DMC41x3 and DMC40x0 controllers.  Basically, the new Ethernet controllers.  And the RIOs for additional I/O if needed.  The older Ethernet controllers are not supported, including any PCI or ISA bus controllers.  These older controllers will never be supported. 

Steve
Re: Galil plugin compatibility
« Reply #2 on: December 29, 2019, 05:11:25 PM »
Thanks for the reply, I'd forgotten about this I posted the question so long ago. In the end I decided that since I couldn't confirm that it would work, I abandoned the idea. It's an expensive solution if you need 4-axes and spindle speed control because you can't use a 4-axis unit. That's because their system uses an axis for the spindle control, and I want to be able to have a 4th axis at some point.

Do you happen to know if there's a more cost effective controller that uses linear scales I could use instead?
« Last Edit: December 29, 2019, 05:20:54 PM by striplar »

Offline smurph

*
  • *
  •  1,550 1,550
  • "That there... that's an RV."
Re: Galil plugin compatibility
« Reply #3 on: December 29, 2019, 07:09:54 PM »
If you are using step/dir to drive your AC servos, then what are the linear scales for?  The control loop should be closed in the servo drive and not need any scale feedback for a traditional PID control loop. 

If you are wanting backlash compensation with dual feedback, then you really can't do that with digital (step/dir) control on the servo drive, even on a Galil.  It would need to be analog control with the control loop closed on the controller.  The Galil can close the loop with dual position feedback using analog control, but it may require special firmware. 

Some servo drives allow for dual feedback but I do not remember any model or brands right off the bat.  Just that they do exist.  If your servo drives will not allow this, then we are talking about getting new servo drives instead of a new motion controller. 

Steve
Re: Galil plugin compatibility
« Reply #4 on: December 29, 2019, 07:30:50 PM »
Hi,
controllers that close a feedback loop with linear encoders are a fairly rare breed and going the way of the dinosuar.

There are three such controllers that have a Mach4 plugin, Gallil, Hicon Integra by Vital Systems, and CSMIO/A by CSLabs.
CSLabs had an excellent reputation for build quality and support with Mach3 but their Mach4 support is patchy/lacking. Given the
price I find it hard to recommend.

The reason feedback capable controllers are fading away is that servos/servodrives are ever smarter and the servodrive alone closes
the loop.

If you argue that an AC servo cannot enclose a linear scale in a feedback loop only its own encoder....you might have been right a while ago.
Current AC servos from all the leading manfacturers have 'load sensing' in addition to the normal rotary encoder.

For example the Delta A2 series servos. The servos are fitted with 20 bit incremental encoders but can in addition be fed from an external
position sensor, eg a linear scale attached to the load (axis). The previous Delta model, the B2 series has a 17 bit incremental encoder and
did not have load sensing, I bought 3 750W B2 series servos recently....they are fantastic. I did not realise at the time that I could have had
the additional load sensing capability for an extra $50 each. The 750W B2's cost me $500USD each whereas the A2 series would cost about $550USD
each.

If you want to include linear scales in your feedback loop consider load sensing servos. You would use the ESS as you do now but the servo would close
not only on the rotary encoder but the linear scale as well....the best of all possible worlds!

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Galil plugin compatibility
« Reply #5 on: December 29, 2019, 07:37:00 PM »
Hi,
an example:

https://www.ebay.com/itm/ECMA-C10807RS-ASD-A2-0721-L-DELTA-A2-750w-3000rpm-AC-servo-motor-driver-kit/172283162086?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m1438.l2649

$508USD excluding shipping, I got my B2's for $500 including 3 day DHL to New Zealand. The more I see the more I rue not doing my homework
and getting the A2's from the get go. Not that I've got, or really need linear scales.....but I so like the 'latest and greatest!'

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Galil plugin compatibility
« Reply #6 on: January 04, 2020, 06:27:03 PM »
If you are using step/dir to drive your AC servos, then what are the linear scales for?  The control loop should be closed in the servo drive and not need any scale feedback for a traditional PID control loop. 

If you are wanting backlash compensation with dual feedback, then you really can't do that with digital (step/dir) control on the servo drive, even on a Galil.  It would need to be analog control with the control loop closed on the controller.  The Galil can close the loop with dual position feedback using analog control, but it may require special firmware. 

Some servo drives allow for dual feedback but I do not remember any model or brands right off the bat.  Just that they do exist.  If your servo drives will not allow this, then we are talking about getting new servo drives instead of a new motion controller. 

Steve

The machine was originally going to use the CNCBrain but that project stalled before the linear encoder part was completed.
My SureServo AC Servo system can use analogue inputs, so the Galil system ought to work. However, it's very expensive and frankly they didn't seem that keen to help. There didn't seem to be anyone with experience of the system so it was too risky to follow up on.
I'm using closed loop on the leadscrew using step/direction at present with backlash compensation, but it's nowhere near are good as a linear scale would be.
Re: Galil plugin compatibility
« Reply #7 on: January 04, 2020, 06:44:58 PM »
Hi,
controllers that close a feedback loop with linear encoders are a fairly rare breed and going the way of the dinosuar.

There are three such controllers that have a Mach4 plugin, Gallil, Hicon Integra by Vital Systems, and CSMIO/A by CSLabs.
CSLabs had an excellent reputation for build quality and support with Mach3 but their Mach4 support is patchy/lacking. Given the
price I find it hard to recommend.

The reason feedback capable controllers are fading away is that servos/servodrives are ever smarter and the servodrive alone closes
the loop.

If you argue that an AC servo cannot enclose a linear scale in a feedback loop only its own encoder....you might have been right a while ago.
Current AC servos from all the leading manfacturers have 'load sensing' in addition to the normal rotary encoder.

For example the Delta A2 series servos. The servos are fitted with 20 bit incremental encoders but can in addition be fed from an external
position sensor, eg a linear scale attached to the load (axis). The previous Delta model, the B2 series has a 17 bit incremental encoder and
did not have load sensing, I bought 3 750W B2 series servos recently....they are fantastic. I did not realise at the time that I could have had
the additional load sensing capability for an extra $50 each. The 750W B2's cost me $500USD each whereas the A2 series would cost about $550USD
each.

If you want to include linear scales in your feedback loop consider load sensing servos. You would use the ESS as you do now but the servo would close
not only on the rotary encoder but the linear scale as well....the best of all possible worlds!

Craig

In PCB drilling, you simply can't get the required accelleration and precision with ball screws, so they exclusively use linear motors and linear scales. Unfortunately these controls are bespoke.

There's a need for linear scale support on Mach4 because there are serious limitations to the accuracy that can be achieved using leadscrews even with ground precision types like I have and backlash compensation. Most users seem to be happy with 10-20microns backlash, but that's hardly precision engineering. I've got linear scales on my machine, so I'd like to find a system that takes advantage of them.

I'll take a look at the others you mention. I've already got SureServo AC Servos, so it's not economic to change those.
Re: Galil plugin compatibility
« Reply #8 on: January 05, 2020, 02:07:42 AM »
Hi,
Mach4 is and cannot be a feedback controller, the PC on which Mach runs IS NOT NOR CAN EVER BE REALTIME.
Its not because no one can be bothered or lack of imagination or anything else, but a limitation of PC hardware
or rather Windows operating software.

If you demand a feedback controller there is LinuxCNC.

If you want to stick with Mach4 and use linear scales then you must either use a feedback capable motion
controller, that is Gallil, Hicon Integra or maybe CSMIO/A......OR use load sensing servos like the Delta's.

Even the cheapest feedback motion controller (CSMIO/A) is 600 Euro....so they are not cheap. The CSMIO/A
must operate analogue servos, it cant mix and match step/direction and analogue, its one or the other.
Who wants to spend money on old school analogue servos? They are so last century, even the cheapest crappiest
Chinese AC servo BLOWS all that old analogue stuff into the weeds!

I personally think that load sensing AC servos are the better option, the servo/servodrive manufacturer builds all the
smarts into their products....you don't need to be a feedback control engineer just to get them to work. Note also that
load sensing could be a linear scale, an LDVT or an interferometer cell.

Quote
because there are serious limitations to the accuracy that can be achieved using leadscrews even with ground precision types like I have

I don't know what you are using but my existing C5 20mm dia. 5mm pitch ballscrews suffer NO backlash whatever.
The ballscrews I have bought for my new build, also C5, suffer from no backlash whatever. They are guaranteed within 18um
per 300mm and more importantly less than 0.8um cyclic, that is within one rotation. When I say I don't need linear scales its
because my ballscrews, support bearings and linear rails are sufficiently good that I can rely on sub micron accuracy
by knowing the angular position of the servo alone.

Quote
I've already got SureServo AC Servos, so it's not economic to change those

How many axes require linear scales? If you have two axes then two load sensing AC servos like the A2 series Delta cost
$500 each. A Galil controller will cost over $2000, and a Hicon Integra with servo activations $1200.
By my calculation it may be cheaper to sell your existing servos, which no doubt would attract significant buyer interest
and use those funds toward two of the A2 Delta's.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Galil plugin compatibility
« Reply #9 on: January 05, 2020, 07:37:17 AM »
Hi,
Mach4 is and cannot be a feedback controller, the PC on which Mach runs IS NOT NOR CAN EVER BE REALTIME.
Its not because no one can be bothered or lack of imagination or anything else, but a limitation of PC hardware
or rather Windows operating software. - I never said that is did...

If you want to stick with Mach4 and use linear scales then you must either use a feedback capable motion
controller, that is Gallil, Hicon Integra or maybe CSMIO/A......OR use load sensing servos like the Delta's.

Even the cheapest feedback motion controller (CSMIO/A) is 600 Euro....so they are not cheap. The CSMIO/A - 600 Euro is fine if it works.
must operate analogue servos, it cant mix and match step/direction and analogue, its one or the other.
Who wants to spend money on old school analogue servos? They are so last century, even the cheapest crappiest - nobody, I have AC servos...


Quote
because there are serious limitations to the accuracy that can be achieved using leadscrews even with ground precision types like I have

I don't know what you are using but my existing C5 20mm dia. 5mm pitch ballscrews suffer NO backlash whatever.
The ballscrews I have bought for my new build, also C5, suffer from no backlash whatever. They are guaranteed within 18um - My friend, your claims about sub-micron accuracy are utter nonsense. I've worked with high precision CNC machines for years, and it's near to impossible to get that sort of accuracy even if you spend hundreds of thousands on machines!
EVERY system ever created has lost motion, and 18microns is NOT 'no backlash whatsoever'! Don't imagine that you get the same amount of lost motion each time you reverse the direction either. It depends on the rate of the reversal and the stiction and load at the time. You simply can't say that you have 18microns of lost motion and then dial in 18microns of backlash compensation and claim sub-micron accuracy. You simply don't know what you're talking about.
If I put my Ball Bar measuring system on your machine, you'd see what you've really got, and it isn't sub-micron!

Quote
I've already got SureServo AC Servos, so it's not economic to change those

How many axes require linear scales? If you have two axes then two load sensing AC servos like the A2 series Delta cost I have three axes that have linear scales, I want to use them in X,Y & Z. I plan to build a 4-th axis, so I need a four axes system even though the 4th axis won't have have one.
$500 each. A Galil controller will cost over $2000, and a Hicon Integra with servo activations $1200.
By my calculation it may be cheaper to sell your existing servos, which no doubt would attract significant buyer interest
and use those funds toward two of the A2 Delta's.

Craig