On Wed, 14 Jul 2010 10:29:20 +0100, you wrote:
>I have a lowpass filter (In HAL) between the spindle velocity and the >Pyvcp meter, but the motion pins are wired directly and it works fine >for threading. You will probably find that the noise in the velocity >signal is not especially important as long as it counts revolutions >accurately. Hi Andy - what's the filter you have in place? My Pyvcp meter has always jumped about like crazy, it's +/-100 rpm of true speed. Since the changes made since 2.3 my threading passes sound much better, but the steppers still sound slightly rough at times. It's as if it's too sensitive to perceived changes in velocity which are not really happening. Here's the parts of the hal that apply, can you see anything that could be changed. loadrt encoder num_chan=1 loadrt abs count=2 loadrt scale count=1 loadrt pwmgen output_type=0 addf parport.0.read base-thread addf stepgen.make-pulses base-thread addf encoder.update-counters base-thread addf pwmgen.make-pulses base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf stepgen.capture-position servo-thread addf encoder.capture-position servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf stepgen.update-freq servo-thread addf pwmgen.update servo-thread addf abs.0 servo-thread addf abs.1 servo-thread addf scale.0 servo-thread net spindle-cmd <= motion.spindle-speed-out => abs.1.in net spindle-abs-cmd <= abs.1.out => pwmgen.0.value net spindle-enable <= motion.spindle-on => pwmgen.0.enable net spindle-pwm <= pwmgen.0.pwm setp pwmgen.0.pwm-freq 0.0 setp pwmgen.0.scale 27403.8461538 setp pwmgen.0.offset 0.000456140350877 setp pwmgen.0.dither-pwm true net spindle-cw <= motion.spindle-forward net spindle-ccw <= motion.spindle-reverse setp encoder.0.position-scale 360.000000 net spindle-position encoder.0.position => motion.spindle-revs net spindle-velocity encoder.0.velocity => motion.spindle-speed-in net spindle-index-enable encoder.0.index-enable <=> motion.spindle-index-enable net spindle-phase-a encoder.0.phase-A net spindle-phase-b encoder.0.phase-B net spindle-index encoder.0.phase-Z Steve Blackmore -- ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
