Machsupport Forum

Mach Discussion => Mach4 General Discussion => Mach4 Plugins => Topic started by: striplar on July 19, 2019, 02:39:04 PM

Title: Galil plugin compatibility
Post by: striplar 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.
Title: Re: Galil plugin compatibility
Post by: smurph 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
Title: Re: Galil plugin compatibility
Post by: striplar 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?
Title: Re: Galil plugin compatibility
Post by: smurph 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
Title: Re: Galil plugin compatibility
Post by: joeaverage 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
Title: Re: Galil plugin compatibility
Post by: joeaverage 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 (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
Title: Re: Galil plugin compatibility
Post by: striplar 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.
Title: Re: Galil plugin compatibility
Post by: striplar 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.
Title: Re: Galil plugin compatibility
Post by: joeaverage 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
Title: Re: Galil plugin compatibility
Post by: striplar 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

Title: Re: Galil plugin compatibility
Post by: joeaverage on January 05, 2020, 01:14:11 PM
Hi,

Quote
EVERY system ever created has lost motion, and 18microns is NOT 'no backlash whatsoever'

18 microns is the potential inaccuracy, not backlash. I have the original manufacturers test certificates and all my ballscrews
had less than 12um error in 300mm and less than 0.6umm cyclic. You are right I do have backlash, the planetrary gearboxes
I use on my current mill have 2 arc min lash or 0.7um linear. There is even a larger source of lost motion,
the torsional flex of the coupler. The two combined is 4um. This is my current machines effective
resolution and repeat accuracy. Further this is my measured result over a range of reversals an load conditions.
The faster the reversal and heavier the load the lost motion is up to about 4um, under less challenging conditions its
somewhat less, I struggle to make any sensible measurements of such small amounts.

I do not have ball bar but I cut an interpolated circle in aluminum just before Christmas and could not measure
any out of roundness with a 0.01mm reading 75-100mm micrometer. This is consistent with my assertion of
4um repeat accuracy.

My new build will not have reduction boxes and therefore no backlash and I am thinking of bellows couplers
so it will have GENUINE sub micron backlash/lost motion.

I had an email from the Ebay supplier from whom I bought the Delta servos, and they have been able to secure an even
better deal from Delta. They offered me 750W B2 series (17 bit incremental) for $379USD and 750W A2 series (20 bit
and load sensing) for $439USD. I presume that does not include shipping but for genuine quality servo and drives, quality
to which I can personally attest, these are very sharp prices.

Craig
Title: Re: Galil plugin compatibility
Post by: striplar on January 05, 2020, 02:57:56 PM
I don't doubt you have a good system, but I guarantee it's not as good as you claim it to be. Ask Renishaw for a demo of their Ball Bar system and you'll see the gulf between what you think you have and what you actually have. It will show you out of squareness as well as an absolute dimensional circular plot in both directions. Run that a few times at different speeds and then you will really know what you have.

What's the resolution of your system? Mine is 1micron steps in X & Y
I have 1 micron scales that I'd like to use.
Title: Re: Galil plugin compatibility
Post by: joeaverage on January 05, 2020, 09:39:12 PM
Hi,

Quote
Ask Renishaw for a demo of their Ball Bar system and you'll see the gulf between what you think you have and what you actually have. It will show you out of squareness as well as an absolute dimensional circular plot in both directions. Run that a few times at different speeds and then you will really know what you have.

I would dearly love to do just exactly that but Renishaw measuring equipment is beyond my means. Of all the inaccuracies that I know of and probably those that I don't
know of out-of-square is one of the more difficult for me to measure. I have an AA granite square (only 150mm x 150mm x100mm) and using that I have identified
an out-of-square between X and Y of 8um per 100mm, between Y and Z of 6um and between X and Z of 11um per 100mm. Measuring such small quantities is a challenge,
they could easily be double my measurement but could be less too. All I can really say is that these are my best measurements but my 'confidence interval' is wider
than the absolute measurement.

A ball-bar measurement would probably be more conclusive and informative. To this end I have made an LDVT with a resolution of 10um, and with successive deign and
build revisions I hope to get to 2um. Amongst the things that I wanted to do with it was a ball-bar device.

My current mini-mill has a resolution of 1um. Note that does not rely on microstepping either. One full-step of a 5 phase Vexta stepper is 0.72 degrees and through
the low lash (2 arc min) 10:1 planetaries that is 0.072 degrees or 4.32 arc min per fullstep. Given the predicted lash of 2 arc min I thought it fruitless to go for even finer resolution.
In the event the lost motion due to the torsional flex of the couplers dominates the lash. As it transpires on the two occasions that I crashed badly the wee aluminum
coupler sheared off rather than even worse damage, the mechanical force when you crash, even on such a small machine are still in the tens of kN range. The couplers
act a bit like a mechanical 'fuse', and I have retained them because of it. This was not 'by design' but a consequence of buying el-cheapo couplers and funnily enough they
have an advantage I had never considered and will tolerate 3-4um lost motion they cause.

My new build has a 160,000 line encoder so I could have resolution as fine as I like within the signalling capability of the ESS/BoB/servodrive. My intention is however to
retain 1um resolution, if I can contain lost motion, out-of-square, ballscrew inaccuracy, linear rail inaccuracy to better than 5um I would be delighted. Finer resolution
is not required. I am trying to achieve a linear rigidity between the Z axis and the vice of 10um per 1kN. To obtain that sort of rigidity even in a small machine requires
thick sections of cast iron, and getting stuff cast is not a cheap undertaking.

Ballscrew inaccuracy, linear rail inaccuracy and flexure of both is beyond my control, all I can do is buy the best quality I can find, in my budget. The squareness and rigidity
of the beds/frame into which those components are placed are my province however.

Regrettably the gear needed to 'qualify' my machine could be as much as the machine itself. At this stage I have a 36 x 24 B grade granite surface plate, the granite square
I've already mentioned, micron reading Mitutoyo dial and test indicators. A set of matched parallels is still required.Still looking for a good height gauge I can afford.
I can borrow an A grade set of gauge blocks. I'd really like an auto-collimator but even second hand they seem to be in the $2000-$4000 range.

If my machine is inaccurate it will not be for the lack of me trying to achieve it.

Craig
Title: Re: Galil plugin compatibility
Post by: striplar on January 06, 2020, 03:59:35 AM
I'm surprised that since you're clearly interested in making an accurate machine that you aren't using linear scales. Directly measuring the position of the table rather than indirectly doing that would certainly lead to a more accurate machine, and you wouldn't need the super-precision leadscrews either to acheive that. You can go to ever finer resolution on the drive system, but it won't help with reducing the lost motion in the ball screws, leadscrew thrust bearings and in the stretching and compressing of the leadscrew. All of these things vary with load and stiction,  and all of them are taken out of the equation by linear scales.

I don't know how you can claim sub-micron accuracy on a system that uses 1micron  resolution though, that's simply impossible. Checking it with a system that has less than 1micron resolution seems odd too. LDVT probes are available in much higher resolutions, that's what Renishaw used to use.

My system is as good as I can get it with precision components, but it's still a long way from where it could be if I could use the scales. I'm happy to spend another chunk of money on it, but I need to know that it will work.  I'm surprised that there isn't a motion controller that can take step and direction pulses from Mach4, interface linear encoders and output the required movements in step and direction pulses to the servos. A purely digital solution ought to be fairly easy to create, and that's how I'll do it if there isn't a commercial solution available.
Title: Re: Galil plugin compatibility
Post by: joeaverage on January 06, 2020, 06:55:21 AM
Hi,

Quote
You can go to ever finer resolution on the drive system, but it won't help with reducing the lost motion in the ball screws, leadscrew thrust bearings and in the stretching and compressing of the leadscrew

The measured and published stiffness of my ballscrews is 1110N/um. It is for this reason that I am trying to aim for a stiffness
overall of 10um @ 1kN force.

Quote
Directly measuring the position of the table rather than indirectly doing that would certainly lead to a more accurate machine,

Without good and costly linear scales I rather think that angular position of the ballscrew is at least as accurate.

Quote
LDVT probes are available in much higher resolutions, that's what Renishaw used to use.

An LVDT's resolution is inversely proportional to its stroke, so yes sub micron resolution can be had but at strokes of mm's
at best. Longer strokes, +-50mm resolution of 10um is more realistic. My own design has a stroke of +-5mm and the best
available commercial units has resolutions quoted around 1 um. If I could achieve 2um resolution I would be well satisfied.
Resolution is probably a poor concept with an analogue device like an LVDT, resolution in fact infinite but there comes a point
where the uncertainty in measurement outstrips it accuracy.

Quote
I'm surprised that there isn't a motion controller that can take step and direction pulses from Mach4, interface linear encoders and output the required movements in step and direction pulses to the servos.

After a fashion....there is. You may have noted that feedback controllers like Gallil are getting fewer and fewer as manufacturers
fade away. This trend has been happening for twenty plus years as servo drives become ever smarter. With Ethercat,
Profibus, CANOpen and similar network strategies each servodrive becomes its own motion controller in a distributed motion
control solution. Who needs expensive feedback controllers with all the programming and tuning drama when you can buy
an off the shelf servo an drive which exceeds any feedback motion controller out there?.  Given that you have AC servos
you can only be aware how much more flexible they are compared to brushed DC servos of earlier years. Already the latest generation
servo drives, including such features as load sensing, are rendering the servos like yours and mine (Delta B2's) if not
obsolete certainly outdated. A load sensing servo and servo drive do just exactly what you want, that is take step direction
pulses from Mach4 and enclose a linear scale within its feedback loop.

Where an AC servo differs from a DC servo of years past is that an AC servo MUST have superbly accurate angular information
on the position of the armature to enact field oriented control. In absence of a rotary encoder the servo drive can only
estimate its angular position with the lost motion now corresponding to loss of certainty about angular position.
That would in turn reduce the current feedback loop bandwidth from kHz to hundreds of Hz and therefore the velocity and position
loops would be even worse affected, reducing position bandwidth to a few or perhaps tens of Hz, too low to be of any use for CNC.
A loads sensing servo must still have a direct coupled encoder to maintain its bandwidth but can also close its position
on a linear scale....is that not what you want?

Craig
Title: Re: Galil plugin compatibility
Post by: striplar on January 06, 2020, 11:37:12 AM
No amount of stiffness is going to give you a result as good as measuring the position of what you're actually interested in with Linear Encoders. I got mine from Newall and they weren't excessively expensive. You can offset some of that cost by less expensive leadscrews if you don't need to indirectly measure the position. I don't know why you're so wed to the idea of indirectly measuring the position when you can directly measure it. That's clearly a more accurate option.

There may be fewer independent suppliers of add on motion controllers, but the trend in precision machine tool design is towards linear encoders supported by their own bespoke controllers. The improvement in accuracy and dynamic performance is significant, and you can also use linear motors for the drives if you want. Sure, if you don't need high accuracy there's a lot to choose from, and many machines are sold such as Tormach that don't even have backlash compensation. The hobby market probably doesn't need Linear encoders for most applications, but some of us still want to get the most from our machines, and Linear encoders is the ultimate way to achieve that.

You only need a very small travel on LVDTs when you're using a Ball Bar system.
Title: Re: Galil plugin compatibility
Post by: joeaverage on January 06, 2020, 12:43:16 PM
Hi,

Quote
I don't know why you're so wed to the idea of indirectly measuring the position when you can directly measure it. That's clearly a more accurate option.

Rubbish!!! Zero backlash, high accuracy, high stiffness results in ACCURATE linear position from angular angular input.
Why do you suppose there is a market for high quality ballscrews? OEMs would use cheaper ballscrews if they could....
but they can't.

If you want to close the loop on a linear scale....go to it!!...there is a cost effective solution if you'll 'un-wed' yourself
from the idea of a feedback motion controller.

Craig
Title: Re: Galil plugin compatibility
Post by: striplar on January 07, 2020, 07:34:46 AM
The market for precision ball screws is huge because on a lot of machines you don't need ultra high accuracy. However, when you do, measuring what you actually want to know the position of is obviously going to produce better accuracy than even the best indirect method. That's a statement of fact, not opinion. You have already agreed that every system has backlash and lost motion, so your argument simply doesn't make sense. Backlash and lost motion are NOT consistent and repeatable, they are dependant on load and stiction. Linear scales compensate for this.
Title: Re: Galil plugin compatibility
Post by: joeaverage on January 07, 2020, 03:53:34 PM
Hi,

Quote
Backlash and lost motion are NOT consistent and repeatable, they are dependant on load and stiction. Linear scales compensate for this.

I agree 100%, if you are chasing the last micron then linear position sensing is required.

My contention is that with top quality ballscrews, rails/cars and a rigid bed/frame that micron level accuracy is obtainable, if not sub micron
without the complication of including a linear scale in the position loop. Having said that the latest generation of AC servos with load sensing
in addition to the regular rotary encoder have made including a linear scale within the position loop a very much easier and cheaper proposition
than it has been.

As you are probably aware the semiconductor industry have a great demand for ultra precision stages, they chase nanometers. They use interferometric
methods, an ultra precision version of more common linear scales. The position loop is closed by the servodrive and the servodrive itself handles its
own motion control as part of a distributed motion control system. A semiconductor production line could have tens if not hundreds of such stages, a
centralized feedback motion controller is totally impractical for such a large system.

Servo manufacturers are busy making network capable (Ethercat, Profibus, CANOpen etc) servodrives which are smart enough the conduct their own motion
control and closed loop control of the servo including load sensing.

My suggestion is to take advantage of that trend and use the hardware that is coming forward as a result RATHER than a feedback controller like Galill.

Craig

Title: Re: Galil plugin compatibility
Post by: striplar on January 08, 2020, 03:18:36 AM
You can see the same trend in PCB drilling machines, but they also use Air Bearing slides and linear motors as well as integrated linear scales to achieve astonishing performance and accuracy. At that level of performance, you can't afford the inertia of a leadscrew, it limits the accelleration too much.

I doubt very much if it's feasible to break the 1 micron barrier without measuring the table position. There will always be stiction and the stiffness of the leadscrew is different when the ball nut is at the extremes of travel. When you get a leadscrew, you get a chart that shows the errors. If you're not putting that data into the control system, the table will track those errors. In metal machining, you're using Climb milling wherever possible, and the less stiction you have, the more the table will tend to be pulled in the direction of the backlash. The bottom line is that you can control the angular position of the leadscrew as accurately as you like, but you don't know the actual table position unless you measure it. It's essentially open loop on that last vital part of the control system.

I already have 1 micron linear scales fitted to my machine, so it makes sense to use them.
Title: Re: Galil plugin compatibility
Post by: joeaverage on January 08, 2020, 05:05:36 AM
Hi,

Quote
I already have 1 micron linear scales fitted to my machine, so it makes sense to use them.

Agreed. As far as I am aware there are two choices to proceed, a feedback controller or load sensing servos.

If it were my choice and I chose a feedback controller I'd go with Galil, I know its expensive but you can bet it would work.
The other two would 'probably work'....but do you want to spend that sort of money on a 'probably'?, I wouldn't.
I think the CSMIO Mach4 plugin is dodgy and CSLabs don't seem to care. I hate it when Chinese companies do that
rubbish.....so why should I spare a Polish company? That leaves the Hicon, I'd want to do a deal more research
before I spent $1200USD.  Given that you've already got AC servos it seems to me like a backward step to use
them as analogue servos and use the Hicon to close the loop.

May I suggest do a bit of research on the Delta A2 series servos.

The company I bought mine from email me with offers. The latest email (deleted alas) explained that due to the volume of sales
that Delta was going to increase their discount and the company wanted to pass some of those savings on. It looked
roughly that I would save about $80USD on a 750W B2 series like I've already got OR I could have 750W A2 series
for the same as I paid for B2 series as short as a few months ago. That would put an A2 series servo/drive/cables about
$430USD excluding shipping.

http://www.ebaystores.com/fasttobuy2012 (http://www.ebaystores.com/fasttobuy2012)

I have scanned through their listings and don't see any that match the offer they emailed me with....I would be emailing them
to get details. Just as a note Delta have a range of models that have either CANOpen OR Ethercat or some other network
combination. The network capable drives are approx. another $100USD or so. You require just the standard step/direction
units which are cheaper. That is the ASDA-A2-L drives.

https://www.deltaww.com/Products/CategoryListT1.aspx?CID=060201&PID=23&hl=en-US&Name=ASDA-A2+Series (https://www.deltaww.com/Products/CategoryListT1.aspx?CID=060201&PID=23&hl=en-US&Name=ASDA-A2+Series)
https://www.deltaww.com/services/DownloadCenter2.aspx?secID=8&pid=2&tid=0&CID=06&itemID=060201&typeID=1&downloadID=A2+Series&title=A2+Series&dataType=3;&check=1&hl=en-US (https://www.deltaww.com/services/DownloadCenter2.aspx?secID=8&pid=2&tid=0&CID=06&itemID=060201&typeID=1&downloadID=A2+Series&title=A2+Series&dataType=3;&check=1&hl=en-US)

If, after reading the user manual for the A2's, and you think it may work, would you consider buying one servo and drive to see if
you can make it work to your satisfaction?

Craig
Title: Re: Galil plugin compatibility
Post by: smurph on January 13, 2020, 10:42:00 PM
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.

Galil support probably won't spend much time with you until you buy a controller.  But their pre-sales should be able to answer any questions you may have on what is needed to accomplish what you want.  I have NEVER gotten someone from Galil that wasn't able to answer a question or be able to put me in contact with someone who could.  And I have been working with them for nearly 30 years now.  If you need to talk to an applications engineer, Vincent Nagel is one of the app engineers that I use and he's on the ball, for sure.   

Is it expensive?  That is relative.  On a typical CNC machine, say like if my Matsuura MC500 were a new production machine, the Galil controller would be about 5% (or less!) of the total cost of the machine.  A DMC4153 ($1695.00) is a good controller for a VMC.  That allows for XYZA, and analog spindle control.  For an industrial motion controller, that's a steal!!!  Have you ever priced a Delta Tau?  Again, expensive is relative and the Galil might be more controller than your machine needs.  But if you are taking about dual feedback, and let's be honest, you are no longer playing in the hobby realm of motion controllers. 

Also, Galil has a plethora of information on their website like application notes and white papers.  Here is the whitepaper describing dual velocity loops:  http://www.galilmc.com/download/whitepapers/wp_advanced_control_techniques_for_real_world_drivetrains.pdf (http://www.galilmc.com/download/whitepapers/wp_advanced_control_techniques_for_real_world_drivetrains.pdf)

Standard dual loop is included with the controller, I believe.  Check with Galil to be sure.  If you want the advanced dual loop stuff, then there will be an NRE (one time engineering fee) for special firmware. 

Steve