11-29-2021 10:09 AM
Hi guys,
I want to acquire data from angular magnetic rotary sensor BROADCOM AEAT - 8800 which generates two increments A and B. Frequency of generation of such signals depend on how fast I rotate a wheel. Problem is, when I tried to read these increments with an oscilloscope everything was okay, but now I would like to read the same data via NI ELVIS and Labview.
So far, I would say that the main problem could be sampling frequency..
I attached my file. If anybody wants to take a look I would appreciate it or if somebody has any advice without looking at my VI.
Solved! Go to Solution.
11-29-2021 12:41 PM
Hi fbara,
@fbara wrote:
So far, I would say that the main problem could be sampling frequency..
I attached my file. If anybody wants to take a look I would appreciate it or if somebody has any advice without looking at my VI.
You forgot to attach "your file"…
Suggestion: when th eNI-Elvis supports counters then you should use them to count your AB encoder signals…
11-29-2021 10:06 PM
Here's a couple resources to get you started
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1riCAA&l=en-US
11-30-2021 03:42 AM
Yes, I forgot. sorry about that. But thanks for advice.
I have moderated my VI and it is measuring something. Now, I will need to figure out what are these numbers..
11-30-2021 03:43 AM
Thank you for information!
12-01-2021 09:52 AM
Hi guys,
I attached my VI and yes, I have a small problem.
I have a wheel and inside that wheel is a BROADCOM AEAT - 8800 angular magnetic rotary sensor. I am trying to figure out how many pulses this sensor generates when I make one circle with the wheel. These are usual increments A and B and I only acquire increment A.
I made this VI to count edges, but the problem is it is also counting something when the wheel is standing still.
Maybe it is some kind of synchronization problem?
12-03-2021 01:01 AM - edited 12-03-2021 01:05 AM
@fbara wrote:
Hi guys,
I attached my VI and yes, I have a small problem.
I have a wheel and inside that wheel is a BROADCOM AEAT - 8800 angular magnetic rotary sensor. I am trying to figure out how many pulses this sensor generates when I make one circle with the wheel. These are usual increments A and B and I only acquire increment A.
I made this VI to count edges, but the problem is it is also counting something when the wheel is standing still.
Maybe it is some kind of synchronization problem?
A quick skim of the BROADCOM AEAT - 8800 data sheet says:
Incremental output resolutions 32 to 4096 CPR (Counts Per Revolution)
What CPR have you configured it for?
Why do you only acquire increment A? I think you are trying to reinvent the wheel:
ABI
The ABI incremental interface is available to provide position data and direction data from the three output pins (A, B, and I).
The index signal marks the absolute angular position and typically occurs once per revolution
This would make is act the same as the optical encoders in the examples I linked to above. You will save yourself a lot of time and effort if you use this device the way it was designed to be used.
12-03-2021 01:23 AM
I counted 1024 pulses when I make one circle with the wheel.
I solved it and thank you for your answer.