Re: [Emc-users] steppers with encoders in closed loop

2017-06-27 Thread Todd Zuercher
- Original Message - > From: "Valerio Bellizzomi" > To: "Enhanced Machine Controller (EMC)" > Sent: Tuesday, June 27, 2017 3:58:34 AM > Subject: Re: [Emc-users] steppers with encoders in closed loop > > I have the P parameter set to 1000 and the mo

Re: [Emc-users] steppers with encoders in closed loop

2017-06-27 Thread Valerio Bellizzomi
> ----- Original Message - > > From: "Tom Easterday" > > To: "Enhanced Machine Controller (EMC)" > > Sent: Monday, June 26, 2017 8:37:47 AM > > Subject: Re: [Emc-users] steppers with encoders in closed loop > > > > Exactly, and any

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
Latest plot (on X axis): http://bgp.nu/~tom/pub/pid-X-ff2.png -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
Thanks Peter, It did help a small bit. Max f-error is now .00014 to .00015 (vs .00018 to .00019). That is a sensitive parameter. I played with FF2 = .001 (bad), .0006 (bad), .00055 ok but ferror was .00016-.00017, so I left it at .0005. -Tom > On Jun 26, 2017, at 7:35 PM, Peter C. Wallace wr

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Peter C. Wallace
On Mon, 26 Jun 2017, tom-...@bgp.nu wrote: Date: Mon, 26 Jun 2017 19:20:14 -0400 From: tom-...@bgp.nu Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] steppers with encoders in closed loop And for those fol

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
And for those following along at home, I got the machine set up in velocity mode and the pid tuned fairly well. The following error is less than .0002 and the machine runs very nicely, and I can now Home to the index pulse on the encoder (which is where this all began)! Yay. Below are links t

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
Easterday" > To: "Enhanced Machine Controller (EMC)" > Sent: Monday, June 26, 2017 8:37:47 AM > Subject: Re: [Emc-users] steppers with encoders in closed loop > > Exactly, and any help in getting my stall detection and position tracking > working using velocity m

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Todd Zuercher
27;s working with the encoder feedback. Then connect the encoders to the PID loops. - Original Message - From: "Tom Easterday" To: "Enhanced Machine Controller (EMC)" Sent: Monday, June 26, 2017 8:37:47 AM Subject: Re: [Emc-users] steppers with encoders in closed loop E

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Tom Easterday
Exactly, and any help in getting my stall detection and position tracking working using velocity mode would be greatly appreciated 😀 -Tom > On Jun 26, 2017, at 6:52 AM, Rene Hopf wrote: > > there is no benefit in using them in linuxcnc, apart from stall detection or > position tracking. >

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Rene Hopf
> On 26. Jun 2017, at 00:12, tom-...@bgp.nu wrote: > > I would like to attempt to get my machine with stepper motors running in > velocity mode with feedback from the encoders. this setup makes absolutely no sense. if the drive does not use the encoder, there is no benefit in using them in lin

Re: [Emc-users] steppers with encoders in closed loop

2017-06-25 Thread Gene Heskett
On Sunday 25 June 2017 22:13:04 Tom Easterday wrote: > Gene, > Thanks for the response. The machine has been running great for years > on those values but in position mode, not in velocity mode. I > wouldn't think that any of the step-gen parameters would need to > change when changing to veloci

Re: [Emc-users] steppers with encoders in closed loop

2017-06-25 Thread Tom Easterday
Gene, Thanks for the response. The machine has been running great for years on those values but in position mode, not in velocity mode. I wouldn't think that any of the step-gen parameters would need to change when changing to velocity mode...? I suspect the PID parameters I am using, DEADBAN

Re: [Emc-users] steppers with encoders in closed loop

2017-06-25 Thread Gene Heskett
On Sunday 25 June 2017 18:12:14 tom-...@bgp.nu wrote: > I would like to attempt to get my machine with stepper motors running > in velocity mode with feedback from the encoders. Below are the > relevant parts of my Hal and Ini files for just the X-Axis. I figured > I would do one axis at a time.

[Emc-users] steppers with encoders in closed loop

2017-06-25 Thread tom-emc
I would like to attempt to get my machine with stepper motors running in velocity mode with feedback from the encoders. Below are the relevant parts of my Hal and Ini files for just the X-Axis. I figured I would do one axis at a time. Currently nothing happens when I try to jog the X axis exc

Re: [Emc-users] Steppers with Encoders

2009-01-06 Thread Peter C. Wallace
On Tue, 6 Jan 2009, Jon Elson wrote: > Date: Tue, 06 Jan 2009 21:30:20 -0600 > From: Jon Elson > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Steppers with Encoders > > St

Re: [Emc-users] Steppers with Encoders

2009-01-06 Thread Andre B.
The biggest problem with stepper motors is they are designed to have a given DC resistance so that some DC voltage can be applied without the current going it infinity when the motor is stopped. That resistance is why they get hot. Unlike that stepper motor every good high performance AC or DC

Re: [Emc-users] Steppers with Encoders

2009-01-06 Thread Jon Elson
Stuart Stevenson wrote: > Gentlemen, >My suggestion was to use a stepper of a type built like an > alternator. If that concept would be useful. Just throwing out ideas. > It may not be feasible but who knows? Definitely not me. :) > Even an 8-pole alternator would only have 32 full steps/rev

Re: [Emc-users] Steppers with Encoders

2009-01-06 Thread Stuart Stevenson
Gentlemen, My suggestion was to use a stepper of a type built like an alternator. If that concept would be useful. Just throwing out ideas. It may not be feasible but who knows? Definitely not me. :) thanks Stuart On Tue, Jan 6, 2009 at 11:23 AM, Jon Elson wrote: > Stuart Stevenson wrote: >> G

Re: [Emc-users] Steppers with Encoders

2009-01-06 Thread Jon Elson
Stuart Stevenson wrote: > Gentlemen, >I have seen (youtube) the conversion of an automotive alternator to > a stepper motor. The fields are pulsed and no motion occurs until the > rotor has dc voltage applied. Would it be possible to use this type of > stepper to overcome some of the speed and

Re: [Emc-users] Steppers with Encoders

2009-01-05 Thread Dave Engvall
On Jan 5, 2009, at 7:51 PM, Stephen Wille Padnos wrote: > Dave Engvall wrote: > >> [snip] >> >> If my memory serves me correctly then there might be an intermediate >> position. >> I think code exist by JMK to use an rotary encoder plus a linear >> scale. >> >> > Yes, we did this on Stuart's G&

Re: [Emc-users] Steppers with Encoders

2009-01-05 Thread Steve Stallings
Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Steppers with Encoders > > Gentlemen, >I have seen (youtube) the conversion of an automotive > alternator to a stepper motor. The fields are pulsed and no > motion occurs until the rotor has dc voltage applied. Would &

Re: [Emc-users] Steppers with Encoders

2009-01-05 Thread Stephen Wille Padnos
Dave Engvall wrote: >[snip] > >If my memory serves me correctly then there might be an intermediate >position. >I think code exist by JMK to use an rotary encoder plus a linear scale. > > Yes, we did this on Stuart's G&L servo machine. >Could this be extended to separate the I from PD in step

Re: [Emc-users] Steppers with Encoders

2009-01-05 Thread Dave Engvall
On Jan 5, 2009, at 7:12 PM, Stephen Wille Padnos wrote: > Greg Bentzinger wrote: > >> [snip] >> I am not proposing using an encoder for coordinated movement feedback >> like a servo would require, that would still be handled by >> counting the >> stepgen output. What I propose would be having a

Re: [Emc-users] Steppers with Encoders

2009-01-05 Thread Stephen Wille Padnos
Greg Bentzinger wrote: >[snip] >I am not proposing using an encoder for coordinated movement feedback >like a servo would require, that would still be handled by counting the >stepgen output. What I propose would be having an aux input for the >encoders and a separate DRO display on the GUI like X

Re: [Emc-users] Steppers with Encoders

2009-01-05 Thread Stuart Stevenson
Gentlemen, I have seen (youtube) the conversion of an automotive alternator to a stepper motor. The fields are pulsed and no motion occurs until the rotor has dc voltage applied. Would it be possible to use this type of stepper to overcome some of the speed and torque limitations of a PM stepper

[Emc-users] Steppers with Encoders

2009-01-05 Thread Greg Bentzinger
and a voice spoke out from the one lurking in the shadows. I may be just blowing smoke here - but there might be a functional compromise. I honestly have not been under the hood of EMC (interp or trajectory planner) so I don't know if what I'm proposing is even possible with the existing code str