CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder

Posted by Keith Bowers
on 2002-06-29 18:45:54 UTC
Depending on usage, the stamp may be too slow. The fastest version on the
Parallax WEB site appears to execute 12,000 instructions/sec. You are going
to want to trigger two simultaneous A/D conversions, read the results,
perform the necessary arithmetic, and then do something with the results.
This is going to take several instructions.
Assume 10 instructions per conversion (which is probably low) and 2048
conversions per revolution:
(12,000 instructions per sec / 10 instructions per conversion) =>1,200
conversions per second.
1,200 conversions per second / 2048 conversions per revolution => 0.586
rev/sec
0.586 rev/sec * 60 sec/min => ~35 RPM (assuming my arithmetic is correct)


There is an interesting Application Report on the Texas Instruments WEB site
that discusses resolver to digital conversion. The title is "TMS3240F240 DSP
Solution for Obtaining Resolver Angular Position and Speed". It's 23 pages
of useful reading. It doesn't appear that the associated code is available
(at least I haven't found/recognized it yet).


Analog Devices has a resolver to digital chip set that might be interesting.
It outputs position in digital format plus quadrature encoder signals. One
chip provides the reference signal, the other one channel of data. The
reference signal could drive multiple resolvers. Last time I looked IIRC
three chips totaled around $125 US.

----- Original Message -----
From: "wscalione" <wscalione@...>
To: <CAD_CAM_EDM_DRO@yahoogroups.com>
Sent: Saturday, June 29, 2002 6:02 PM
Subject: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder


> Has anyone ever used a Basic Stamp to read quadrature encoders?
> If so, I'd be interested in seeing how you did it
>

Discussion Thread

wscalione 2002-06-29 15:02:17 UTC Basic Stamp + Encoder James Owens 2002-06-29 16:37:00 UTC Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder turbulatordude 2002-06-29 18:28:30 UTC Re: Basic Stamp + Encoder Keith Bowers 2002-06-29 18:45:54 UTC Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder David Micklethwaite 2002-06-30 04:49:45 UTC Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder James Owens 2002-06-30 04:53:40 UTC Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder James Owens 2002-06-30 05:05:04 UTC Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder David Micklethwaite 2002-06-30 16:49:31 UTC Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder James Owens 2002-06-30 17:19:48 UTC Re: [CAD_CAM_EDM_DRO] Basic Stamp + Encoder mayfieldtm 2002-07-01 10:13:37 UTC RE: Basic Stamp + Encoder timgoldstein 2002-07-01 10:15:41 UTC Re: Basic Stamp + Encoder Ian W. Wright 2002-07-01 11:08:06 UTC Re: [CAD_CAM_EDM_DRO] RE: Basic Stamp + Encoder serv4volley 2002-07-01 11:30:38 UTC Re: Basic Stamp + Encoder