603,935 active members*
3,177 visitors online*
Register for free
Login

Thread: encoder

Results 1 to 5 of 5
  1. #1
    Join Date
    May 2003
    Posts
    236

    encoder

    will a 500CPR encoder work for spindle rpm or do i need less cpr for my lathe im building for threading was using 1 cpr with turbocnc but found good price on these thanks

  2. #2
    Join Date
    Jan 2006
    Posts
    58
    Disclaimer: I'm no expert.

    I think 500 cpr should be fine for speed control. The only concern is that you read the encoder fast enough to keep up with all those transitions.

    Let L be the number of lines on the encoder.

    Let R be the speed of the motor in revolutions per minute.

    (4 * L) is the number of quadrature transitions per revolution.

    (R / 60) is the number of revolutions per second.

    (4*L) * (R/60) is the number of quadrature transitions per second.

    F = 2 * (4*L) * (R/60) is the minimum sampling frequency (according to Nyquist, as I understand it).

    That simplifies to F = (0.1333 * R * L).

    So if you have a 500 line encoder spinning at 4K rpm, you need to sample the encoder lines at 266 KHz.

  3. #3
    Join Date
    Jul 2003
    Posts
    1766
    plus - for emc2 to do threading - you need a index pulse. your encoder needs a and b channels + z (index)

  4. #4
    Join Date
    Jan 2006
    Posts
    58
    Why does EMC need an index pulse to align the spindle? It seems like it (EMC) should be able to synthesize the index pulse from the normal A/B counter. It would have to know the cpr of the encoder, but that could be supplied via a parameter.

  5. #5
    Join Date
    Jul 2003
    Posts
    1766
    emc is not setup that way.. Mainly it would work fine for making threads all the same durring one session. but if your making threads that have to be the same degree start lead or maybe you started threads and needed to finish during another session (machine gets turned off and on) you will not be able to make the same threads again without a bit of work.

    sam

Similar Threads

  1. hp encoder
    By mlaws1172 in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 02-28-2006, 12:14 AM
  2. Replies: 0
    Last Post: 07-22-2005, 09:51 AM
  3. encoder help
    By motomitch1 in forum Gecko Drives
    Replies: 8
    Last Post: 10-12-2004, 03:46 AM
  4. What is an Encoder ?
    By ynneb in forum FAQ of DIY CNC Machine Building
    Replies: 0
    Last Post: 08-17-2004, 12:02 PM
  5. Encoder
    By ty1295 in forum Servo Motors / Drives
    Replies: 4
    Last Post: 05-27-2004, 08:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •