From: "PicDude" > Finally got around to implementing/trying some proportional filtering [ > N=N+(N-L)*K ] in one of my pieces of PIC code (which is essentially a > frequency counter). This thing is sweet! I've experimented with K=1/4, 1/2, > and 3/4. For my app, 3/4 works well (but I still have a bit of averaging in > there still, since I'm experimenting with combinations of averaging and > proportional filtering). > Out of curiosity... if you have a PID, wouldn't you have three constants (Kp, Ki, Kd)? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist