Andy:

He has a homemade encoder with less than perfect 50/50
duty cycle and less than perfect 90deg phase shift.  So he
gets velocity jitter.  He's trying to make a 4 sample moving
average, since the jitter should cancel out over a full quadrature
cycle.

In theory that will be faster responding than a lowpass filter.
Since the velocity feedback is used in a spindle speed loop,
adding delay (the lowpass) makes tuning harder.

Gene:

If you XOR the two quadrature signals together you'll get one
edge (rising or falling) on every transition.

The HAL oneshot component can be configured to produce
a pulse on both rising and falling edges.



On Sun, Aug 2, 2015, at 05:42 PM, andy pugh wrote:
> On 2 August 2015 at 16:32, Gene Heskett <[email protected]> wrote:
> > I need a net signal to strobe the 4 sample_hold .hold's, how can that be
> > obtained?
> 
> I think we would need more information about what it is you are trying
> to do, and how you are trying to do it.
> What are you trying to do that normal denounce and lowpass won't do?
> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


-- 
  John Kasunich
  [email protected]

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to