piclist 2000\12\21\160355a >
Thread: Challenge! (Everyone loves a...)
www.piclist.com/techref/microchip/devices.htm?key=pic
picon face BY : Drew Vassallo email (remove spam text)



>What I found for a tach functionality for an on-board data logger for my
>model
>boats is to use a fixed period of reporting, and have it just count pulses
>in
>that period.  There was too much variation rotation-to-rotation for the
>other
>method to be as useful as I would have liked.
>
>My operating range was about 600-60000 RPM.

This sounds similar to my operating range.  What did you use for your time
period?  And did you resolve it into RPM?  If so, your multiplier is your
error.  i.e., if you had a time period of 16 bits at 4MHz, you'd have 6
pulses in 0.065535 seconds, resolved to RPM is 5493 RPM.  However, if you
were almost at 7 pulses, which would be 6408 RPM, you'd be off 14%.  Plus,
if you had this on a display, it would vary between these two values
constantly.  This is what I wanted to avoid.  The trick is to get the time
frame as high as possible to lower the multiplier.

Your resolution at a 16-bit time counter is 60/.065535 RPM or 915.  Not good
enough at speeds of 2000 rpm, ~ 50% error and low resolution.

Hmmm..
--Andrew
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email @spam@listservspammitvma.mit.edu with SET PICList DIGEST in the body



seeking: ubicom lib math dsp
<F251Zv7FDwfCrbreLDw00000d5a@hotmail.com>

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Challenge! (Everyone loves a...)

month overview.

new search...