Re: EMC2 Servo Loop
Posted by
samcoinc2001
on 2010-12-17 11:24:38 UTC
couple things off the top of my head
-Emc knows where you are at - no re-homing after an estop (as I said in an earlier post)
-Tuning and following error can be done in the control.
emc has a really cool program called halscope which can be used to veiw any signal within hal. Here I am looking at the following error of my x axis. It is at .00017 peak at the moment ;) http://www.electronicsam.com/images/KandT/conversion/testing/tuning.png
-external hardware to run industry standard +/-10 servos drives with emc2 are pretty inexpensive. Look at pico or mesa for their hardware solutions. for starters you could get a 6 axis analog + 24 i/o for under $200. (the same hardware would run steppers also (or a combo of))
I am converting a large hmc. I am going to have about about $566 in interface hardware + some cheap ebay opto22 boards. That gives me 10 axis analog (10 +/-10v and 10 high speed encoder counters) + 96 i/o. (and believe you me - I need it all - I might have to use the printer port also ;) - oh and I can use the printer port if I wanted to :))
emc2 makes me smile everytime I use it.
sam
-Emc knows where you are at - no re-homing after an estop (as I said in an earlier post)
-Tuning and following error can be done in the control.
emc has a really cool program called halscope which can be used to veiw any signal within hal. Here I am looking at the following error of my x axis. It is at .00017 peak at the moment ;) http://www.electronicsam.com/images/KandT/conversion/testing/tuning.png
-external hardware to run industry standard +/-10 servos drives with emc2 are pretty inexpensive. Look at pico or mesa for their hardware solutions. for starters you could get a 6 axis analog + 24 i/o for under $200. (the same hardware would run steppers also (or a combo of))
I am converting a large hmc. I am going to have about about $566 in interface hardware + some cheap ebay opto22 boards. That gives me 10 axis analog (10 +/-10v and 10 high speed encoder counters) + 96 i/o. (and believe you me - I need it all - I might have to use the printer port also ;) - oh and I can use the printer port if I wanted to :))
emc2 makes me smile everytime I use it.
sam
--- In CAD_CAM_EDM_DRO@yahoogroups.com, "Phil@..." <yahoo@...> wrote:
>
> Yes, I get the idea. I just wonder what the main advantage is of having the
> servo loop run through the PC if not to reduce the external hardware. If you
> have to add external encoder counters it doesn't seem the cost would be much
> different from having a self-contained servo controller that simply takes
> step-direction commands and reports errors, etc. Cheap microcontrollers can
> easily handle that computing load.
>
> --Phil M.
>
> ----- Original Message -----
> From: "Jon Elson" <elson@...>
> To: <CAD_CAM_EDM_DRO@yahoogroups.com>
> Sent: Thursday, December 16, 2010 8:40 PM
> Subject: Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
>
>
> > Phil@Yahoo wrote:
> >> This is a question mainly for Jon Elson, being the EMC2 guru-
> >>
> >> You mentioned in a recent post that EMC2 can run the servo loop in the
> >> PC,
> >> which I presume means the PC is reading the encoder outputs. My question
> >> is:
> >> how can the PC read the encoder fast enough? I know there are some fairly
> >> significant delays in the parallel port speed, at least on output. Maybe
> >> that's not an issue on input? Also, where do you get enough inputs?
> >>
> > Maybe I should expand on my previous message....
> > The idea here is that the attached hardware counts the encoder pulses
> > and converts them to
> > position. In the case of my boards, that is a 24-bit signed binary
> > count. This is then extended
> > by the device driver to give 32-bits of signed precision, which nobody
> > so far has found
> > insufficient. So, the computer only needs to sample the count
> > periodically and compute a
> > new velocity to minimize following error.
> >
> > Jon
> >
> >
> > ------------------------------------
> >
> > Addresses:
> > FAQ: http://www.ktmarketing.com/faq.html
> > FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
> > Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
> >
> > Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> > Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> > List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...,
> > timg@...
> > Moderator: pentam@... indigo_red@... davemucha@...
> > [Moderators]
> > URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> >
> > OFF Topic POSTS: General Machining
> > If you wish to post on unlimited OT subjects goto:
> > aol://5863:126/rec.crafts.metalworking or go thru Google.com to reach it
> > if you have trouble.
> > http://www.metalworking.com/news_servers.html
> >
> > http://groups.yahoo.com/group/jobshophomeshop I consider this to be a
> > sister site to the CCED group, as many of the same members are there, for
> > OT subjects, that are not allowed on the CCED list.
> >
> > NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY POSTING THEM.
> > DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........
> > bill
> > List Mom
> > List Owner
> >
> > Yahoo! Groups Links
> >
> >
> >
>
Discussion Thread
Phil@Y...
2010-12-16 17:04:37 UTC
EMC2 Servo Loop
Stephen Wille Padnos
2010-12-16 19:11:24 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-16 19:38:54 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-16 19:41:18 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Phil@Y...
2010-12-17 10:09:25 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Stephen Wille Padnos
2010-12-17 11:23:18 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
samcoinc2001
2010-12-17 11:24:38 UTC
Re: EMC2 Servo Loop
Jon Elson
2010-12-17 19:53:36 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Phil@Y...
2010-12-18 10:46:27 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Michael Fagan
2010-12-18 11:23:15 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-18 14:20:09 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-18 14:22:11 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
timgoldstein
2010-12-22 05:56:24 UTC
Servo hardware Was: EMC2 Servo Loop
Jon Elson
2010-12-22 08:38:25 UTC
Re: [CAD_CAM_EDM_DRO] Servo hardware Was: EMC2 Servo Loop
Jim Register
2010-12-22 11:13:44 UTC
Re: [CAD_CAM_EDM_DRO] Servo hardware Was: EMC2 Servo Loop
Jon Elson
2010-12-22 19:23:17 UTC
Re: [CAD_CAM_EDM_DRO] Servo hardware Was: EMC2 Servo Loop
timgoldstein
2010-12-28 09:46:56 UTC
Re: Servo hardware
Jon Elson
2010-12-28 10:27:22 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
danmauch
2010-12-28 11:29:39 UTC
Re: Servo hardware
grd750
2010-12-28 12:52:28 UTC
Re: Servo hardware
Dan Mauch
2010-12-28 14:11:20 UTC
RE: [CAD_CAM_EDM_DRO] Re: Servo hardware
danmauch
2010-12-28 14:12:11 UTC
Re: Servo hardware
caudlet
2010-12-28 15:15:31 UTC
Re: Servo hardware
Jon Elson
2010-12-28 20:46:03 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
timgoldstein
2010-12-28 21:20:21 UTC
Re: Servo hardware
Steve Blackmore
2010-12-28 23:24:17 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
Jeffrey T. Birt
2010-12-29 07:34:20 UTC
RE: [CAD_CAM_EDM_DRO] Re: Servo hardware
Jon Elson
2010-12-29 09:09:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
imserv1
2010-12-29 13:14:17 UTC
Re: Servo hardware
grd750
2010-12-29 14:12:33 UTC
Re: Servo hardware
Peter Homann
2010-12-29 15:52:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
imserv1
2010-12-29 17:51:40 UTC
Re: Servo hardware
grd750
2010-12-29 18:27:59 UTC
Re: Servo hardware
grd750
2010-12-29 19:36:44 UTC
Re: Servo hardware
timgoldstein
2010-12-30 06:36:28 UTC
Re: Servo hardware