It sounds like you are very concerned with following error tracking, If I were as concerned as you seem, I would probably use a dual loop feedback with the rotary encoder feeding the servo drive and a linear scale reporting back to the motion controller. I haven't done this myself and probably never will since It isn't at all necessary for my tasks, but who knows. I may get bored and do it for grins someday. It does interest me so I have done much research on it in the past and LinuxCNC is definitely capable of this.
The position control is all done in the motion controller. The analog drives use the +/- 10 V command signal for velocity control (or in some cases torque control). The positioning is done in encoder pulses from the encoder feedback to the motion controller, the motion controller sends the command signal to the drive proportional to requested speed and position error. Overall an extremely accurate system. The encoder can be linear on the load (table) or rotary on the motor or lead screw. So let's say you have a rotary axis, and a 1:1 ratio, if the encoder is 10,000 pulses/revolution, then the resolution is 360/10,000 or 0.0036 degrees/encoder pulse. Typical resolution on a linear axis would be in the range of 0.0001 inch or better.
Above you asked about motion controllers, I use Galil Motion Control products on all of my projects. Full industrial class motion controllers at reasonable prices and easy to program. I am using DMM servos on my lathe, and am very happy with the result. I am just getting ready to order 2 more for my next project.
Jim Dawson
Sandy, Oregon, USA
Thanks Greg and Al, i checked out both of these, they seem to be industrial grade motion controllers.Al, would the kanalog work with Step/dir servo drives or would a converter be needed?
Wonderful explanation Jim, that's an eyeopener regarding the way analog servos work. Also checked ou Galil and DMM servos they are awesome. They seems to be pricey though, but I guess you get what you pay for.
Amazing info 109jb, dual loop feedback is something I didn't know about...
The simple answer is they don't. At the risk of oversimplification the feedback loop is closed by servo's that are controlled digitally and are by their very nature are positional control, they behave much like stepper motors in many ways. Analogue servo's are controlled by the motion controller which closes the loop. Many people refer to type of servo as servo amplifiers because that is basically what they do, ie they amplify the analogue signal from the motion controller to give enough power to drive the motor. In reality they can be much more complicated but in principal it is true. It all boils down to how much money you want to spend, I have Bridgeport miller with brushed DC motors that were almost free. It would be easy to pay a couple of thousand pounds for AC motors and servo's to achieve the same thing. The motors I am using came off a Kondia which is Spanish copy of a Bridgeport Interact, they are 3.8 NM (roughly .75 KW) and drive using a 1 -1 ratio and they are more than powerful enough. Early Bridgeports and some Interacts actually used stepper motors. The reason I mention this is because it is easy to overestimate how much power you actually need. Nearly all servo amplifiers have the ability to overload the motor for short periods of time and this is often exploited to give good acceleration during G0 moves. Just to throw in a curve ball, many industrial servo controls are connected to the motion controller by propriety methods, sometimes Profibus and Sercos to name but a few are used along with others such as fibre optics all of which implies that the CNC control and the servo/motor is actually a complete package. My advice based on hard and painful experience is "Keep it simple and slow". You can add whistles and bells and more power later, and don't underestimate how much power there is in a speeding machine, it may look impressive until something goes wrong and often things break and it may be you.
They are simply amplifiers used in the torque mode, rather than the older velocity mode drives originally used in commercial CNC systems.
I came in to CNC from the other end, so to speak, retrofitting Fanuc and Mitsubishi systems so I was spoilt to some degree, so when I found Galil and Acroloop in the late 80's they were a smooth transition for me.
The drives that Galil mention on their web site and used to sell are the A-M-C versions, in the torque mode these are simple trans-conductance amplifiers where a the current out is directly proportional to the analogue voltage in.
They know nothing of position, just do what they are instructed to do by the controller .
These controllers are as simple as you can get!
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
On the question of the dual loop, there is an instructional video by Dr Jacob Tal on the question of using encoder/scale type dual feedback where with servo's the PID loop has to be split between the encoder and scale particularly where there is any backlash existing between motor and motion.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Thanks for the fabulous info and sharing your experience!
Would that mean that these analog servo drives are simple porportional amps (no I and D) and the output stages (transistors) run in linear mode instead of PWM mode?
So If the Kanalog can work with modern as well as legacy servo drives. The advantage of using legacy drives is that I can get full closed loop at the controller level as well as not much PID tuning need per drive. Am I right with this deduction?
I don't consider Analog 'Legacy' the older Velocity drives that used it, maybe.
The AMC etc run PWM Mosfet outputs for the DC or BLDC motors.
The drives have virtually no tuning involved in them.
The BLDC drives will also run a DC brushed motor by setting the commutation to 120deg.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
For analog - linuxcnc hardware is pretty inexpensive. 6 axis analog, 6 encoder (ttl/diff) 48 i/o and expandable for $279. There is an ethernet solution that would be about the same price.
I have used mesa and am very happy with it.
https://mesaus.com/index.php?route=p...&product_id=79
sam
For step/dir drives you do not need kanalog. K-flop does step/dir without the need for kanalog. Kanalog does not output step/dir signals at all only analog. If you want to use step/dir drives just buy k-flop by itself. If you need more or higher voltage inputs and outputs add a konnect.
Ben
Sent from my E6810 using Tapatalk
I made a misspelling in post #28, it is now corrected for Kmotion info.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
That sounds promising. So does K-flop do encoders too and more importantly can K-flop close the loop?For step/dir drives you do not need kanalog. K-flop does step/dir without the need for kanalog. Kanalog does not output step/dir signals at all only analog. If you want to use step/dir drives just buy k-flop by itself. If you need more or higher voltage inputs and outputs add a konnect.
Ben
Kflop closes the loop, servo's require a PID loop, unlike steppers they require a closed loop either back to the drive or the controller.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
So how does this workout?
If my servo drive has encoder feedback would I just skip that and just connect the encoder to Kflop for it to close the loop. Or do I need to connect the encoder to both the drive and Kflop?
Secondly I have read on this and other forums that analog drives don't need any tuning. So how difficult is it to tune a Digital drive stepper or servo?
This was the first real conversion with linuxcnc. (amc analog drives and toshiba spindle vfd) this is all mesa and all i/o is controlled within linuxcnc (linuxcnc also has integrated ladder logic)
You can hook a encoder up to the spindle to do spindle synced motion (rigid tapping and such) Some have actually done orienting - like for tool changing and such with a vfd. (using a pid loop around the spinde vfd and encoder. The connection would have to be analog to the vfd because modbus isn't realtime enough to do it.
We also converted a mid 80's matsuura reusing the spindle and servo drives
https://www.youtube.com/watch?v=kXLF0u-tdT0
older
https://www.youtube.com/watch?v=81uwBAuR96I