Author Topic: Magnetic absolute and incremental encoder  (Read 313 times)

0 Members and 1 Guest are viewing this topic.

Offline nForce

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: ee
Magnetic absolute and incremental encoder
« on: January 18, 2019, 08:11:39 pm »
I would like to know how does it work the magnetic absolute encoder and incremental one? Not the optical one.

I have these 2 signals (in attachment) from the incremental magnetic encoder. How would I calculate the speed of the motor?

Thanks.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 5971
  • Country: us
    • Personal site
Re: Magnetic absolute and incremental encoder
« Reply #1 on: January 18, 2019, 09:06:04 pm »
This is the same as optical encoders work.

The speed regardless of the direction (assuming that direction is constant) - just use any channel and measure the frequency (number of edge transitions in a unit of time). The RPMs are proportional to that value. Exact coefficient depends on the overall mechanical design of the system.
Alex
 
The following users thanked this post: nForce

Offline nForce

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: ee
Re: Magnetic absolute and incremental encoder
« Reply #2 on: January 18, 2019, 09:54:07 pm »
Ok, in my case it's:

(12.02 kHz * 60)/1024

From where do we get that 60 and 1024?

Thanks ataradov  :)
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 5971
  • Country: us
    • Personal site
Re: Magnetic absolute and incremental encoder
« Reply #3 on: January 18, 2019, 10:01:12 pm »
1024 looks like the number of edges per revolution. Assuming you are counting only rising or falling edges, that would make your encoder to be 4096 steps/rev, which is pretty standard.

Where does 60 come from, I have no idea. Do you have any sort of gearing between the motor and the encoder?

In your case, if you count N pulses per minute, then RPM = N / 1024, since 1024 pulses constitute the full rotation.
Alex
 
The following users thanked this post: nForce

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 6550
  • Country: us
Re: Magnetic absolute and incremental encoder
« Reply #4 on: January 19, 2019, 04:33:14 am »
kHz is in seconds, RPM is in minutes, 60 shows up in there somewhere.
 
The following users thanked this post: nForce

Online ataradov

  • Super Contributor
  • ***
  • Posts: 5971
  • Country: us
    • Personal site
Re: Magnetic absolute and incremental encoder
« Reply #5 on: January 19, 2019, 04:35:18 am »
Yes, that makes sense :)
Alex
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf