NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum General General LinuxCNC Questions I've seen the light (I think...)

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: I've seen the light (I think...)

I've seen the light (I think...) 14 Auo 2012 08:39 #23170

  • dangercraft
  • dangercraft's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 82
  • Karma: 3
My apologies to Andy Pugh: I think I understand what you were trying to tell me about the "linuxcnc way" before.

I've been working on the planning for the retrofit of the Tree VMC I recieved a few days ago, and after going through the linuxcnc documentation I think I understand now why Andy was telling me to use Velocity control as opposed to step pulse+direction mode. Maybe someone can correct me if I am wrong in my assesment: In step+dir linuxcnc runs the control in open-loop, even if you have an external positional feedback, such as a glass scale attached to the table and fed back to linux. This is why its prefereable to use a velocity control with the encoder feed back (say a rotary incremental encoder on the screw and another as a glass scale on the table joint, both fed back to linux cnc to "close the loop" so to speak. If this is the case, could one drive the the screw with a VFD and an AC motor and get the same results as using a servo and drive in velocity mode?

Here is the link to my Tree VMC thread:

http://www.linuxcnc.org/index.php/english/component/kunena/?func=view&catid=30&id=23113&limit=6

Frank
Last Edit: 14 Auo 2012 09:18 by dangercraft.
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 09:59 #23173

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4141
  • Thank you received: 141
  • Karma: 130
dangercraft wrote:
If this is the case, could one drive the the screw with a VFD and an AC motor and get the same results as using a servo and drive in velocity mode?

In theory it ought to work, but in practice AC motors are just too inefficient at low rpms.
Most big servos are 3-phase motors, and are often called "AC servos". The difference is that they use permanent magnets in the rotor rather than eddy currents in the squirrel-cage to create the necessary rotor magnetic field.
Whether you could drive the VFD at high speed/high slip to get the required torque is a question I have just thought to ask in respect of my lathe spindle drive. I ought to try putting that in closed-loop control to see if I see an improvement at large diameters.
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 10:03 #23174

  • mcenter
  • mcenter's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
A VFD with an encoder is a vector drive like the Baldor 18H that I have. These can be controlled with an analog demand loop, but the inertia of the AC induction coil motor (electrical and mechanical) is a couple orders of magnitude higher than a servo motor. Like the difference in controlling an aircraft carrier versus a surfboard.

Mark
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 10:12 #23176

  • dangercraft
  • dangercraft's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 82
  • Karma: 3
Ahh, ok that makes sense. So I do need the servo motor and driver.

Would this be the same concept as a BLDC motor?

So, do I understand correctly the part of the velocity drive mode versus the step dir mode in terms of linux cnc running step dir as open look regardless of external encoder feedback?

Frank
Last Edit: 14 Auo 2012 10:18 by dangercraft.
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 10:13 #23178

  • mcenter
  • mcenter's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Andy,

It might be just a case of semantics, but what I consider AC Servos, http://www.baldor.com/products/servomotors/c_series/bsm_cseries.asp is different from what you are describing, www.baldor.com/products/accontrols/vs_vector.asp

Mark
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 10:22 #23179

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1671
  • Thank you received: 88
  • Karma: 116
You can run step/dir drives closed loop by feeding the encoder data back to LinuxCNC and running the step generator in velocity mode. I suspect its a little harder to get the best performance this way as now you have 2 position PID loops in series
(linuxCNCs PID loop and the drives PID loop)
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 10:22 #23180

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4964
  • Thank you received: 88
  • Karma: 134
dangercraft wrote:
Ahh, ok that makes sense. So I do need the servo motor and driver.

So, do I understand correctly the part of the velocity drive mode versus the step dir mode in terms of linux cnc running step dir as open look regardless of external encoder feedback?

Frank

Some servo drives will take step and direction input but if possible you want to use a velocity input with encoder feedback to the controller. I think the problem is something like you can only make steps so fast but you can easily tell a velocity drive "go faster" or "go slower" to get the feedback position in sync with the commanded position. or something along those lines... or something like you missed a step now take two steps to get back in position.

John
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 10:23 #23181

  • dangercraft
  • dangercraft's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 82
  • Karma: 3
Ok so for the position control I'll be using regular 3p ac servos and drives in velocity mode, makes perfect sense now. :)

Thanks!

Frank
Last Edit: 14 Auo 2012 10:44 by dangercraft. Reason: Moving the second part of this reply to the Tree VMC build thread.
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 10:44 #23186

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4141
  • Thank you received: 141
  • Karma: 130
mcenter wrote:
It might be just a case of semantics, but what I consider AC Servos, http://www.baldor.com/products/servomotors/c_series/bsm_cseries.asp is different from what you are describing, www.baldor.com/products/accontrols/vs_vector.asp

I was very much describing the former, but in the sense of how they differ from an induction motor. They are still a three-phase machine, but synchronous rather than asynchronous.
There used to be asynchronous AC servos too: en.wikipedia.org/wiki/AC_motor#Two-phase_AC_servo_motors
The administrator has disabled public write access.

Re:I've seen the light (I think...) 14 Auo 2012 11:56 #23202

  • VNR
  • VNR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 59
  • Thank you received: 2
  • Karma: 5
You can run step/dir drives closed loop by feeding the encoder data back to LinuxCNC and running the step generator in velocity mode. I suspect its a little harder to get the best performance this way as now you have 2 position PID loops in series
(linuxCNCs PID loop and the drives PID loop)
I have this kind of drives and are working OK
First you have to autotune the drive without mechanics connection
Then you have to adjust the PID loop in LinuxCNC (first without mechanics conection and then with mechanics conection)
New (low cost) digital drives usually have step+direction and +-10V command input, high end usually have fieldbus control like thercat or profibus, but in my case i decided to use a low cost digital drive with step+dir instead of +-10V
The conection is: LinuxCNC (step) => (step) PID (Velocity) => Mesa card (In velocity mode) => Pulses (at velocity speed) => (Step+dir or quadrature) Drive => Motor
Encoder (motor) => Drive (quadrature) => Mesa card => PID (Velocity ) and LinuxCNC (position)
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 1.248 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.