Results 1 to 8 of 8

Thread: modify MPG to differential encoder

  1. #1
    Registered Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel,MN,USA
    Posts
    1,361
    Downloads
    0
    Uploads
    0

    modify MPG to differential encoder

    For my next project I'll be making a Jog Pendant with a very long cable.

    I'll have a handwheel, or MPG, on this pendant. All the ones I've used are just a single end encoder with A+ and B+ channels. I just went through painful episode where the trouble was traced to single end encoder on my lathe X axis. Don't want to take a chance on this issue here.

    Anyway, I noted going from single ended to differential on USdigital encoders involved adding a samll IC board right at the encoder. Cand the same thing be done for a MPG? How?

    Karl


  2. #2
    Registered
    Join Date
    Dec 2004
    Location
    usa
    Posts
    1,719
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Karl_T View Post
    For my next project I'll be making a Jog Pendant with a very long cable.

    I'll have a handwheel, or MPG, on this pendant. All the ones I've used are just a single end encoder with A+ and B+ channels. I just went through painful episode where the trouble was traced to single end encoder on my lathe X axis. Don't want to take a chance on this issue here.

    Anyway, I noted going from single ended to differential on USdigital encoders involved adding a samll IC board right at the encoder. Cand the same thing be done for a MPG? How?

    Karl
    Since an mpg is just basically an encoder whith a hand wheel attached, it is done the same way. You will also need a differential to single ended converter at the other end to make full use of the differential signals benifits.
    Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.


  3. #3
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,952
    Downloads
    0
    Uploads
    0
    26LS31 Differential line driver.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  4. #4
    Registered Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel,MN,USA
    Posts
    1,361
    Downloads
    0
    Uploads
    0
    Would you double check my wiring?

    http://www.national.com/ds/DS/DS26LS31C.pdf

    pin16 +5volt
    pin8 ground
    pin1 mpg input A
    pin7 mpg input B

    pin2 A+
    pin3 A-
    pin5 B+
    pin6 B-

    The last four pins go on to a Galil 1900 ICM

    Karl

    P.S. edit, I must need to power the enable pins?


  • #5
    Registered
    Join Date
    Dec 2004
    Location
    usa
    Posts
    1,719
    Downloads
    0
    Uploads
    0
    Looks good to me Carl.
    Since you are going to a differential input device, you will not need the decoder chip at the galil end.

    Depending on the encoder that you are using, you may need a capcitor or 2 right at the chip to smooth out the power going to the encoder. I have 2 different sizes on mine, I can find out exactly what they are if you need me to.

    As the encoder switches on and off it can cause large enough swings in the power going to the chip to cause it to go crazy, the caps will stop this.

    Mike
    Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.


  • #6
    Registered Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel,MN,USA
    Posts
    1,361
    Downloads
    0
    Uploads
    0
    Yes, would you let me know what size caps, please?

    Did you pick up my edit? asking about the enable pins?

    Karl


  • #7
    Registered
    Join Date
    Dec 2004
    Location
    usa
    Posts
    1,719
    Downloads
    0
    Uploads
    0

    Timing is everything.

    Quote Originally Posted by Karl_T View Post
    Yes, would you let me know what size caps, please?

    Did you pick up my edit? asking about the enable pins?

    Karl
    Sorry Karl, missed the edit. I don't believe that you need to use the enable pin but you may need to depending on wether it enables or disables the chip when it is not connected
    I will have to go outside and look to see what I used and verify the enable pin usage.

    Mike
    Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.


  • #8
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,952
    Downloads
    0
    Uploads
    0
    You should tie pin 4 high (5v) and pin 12 (com).
    ~10µf should suffice.
    See post #5 here Inconsistent (?) instructions for wiring encoders
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • Similar Threads

    1. differential vs. single-ended quadrature encoder?
      By postvmvs in forum General Electronics Discussion
      Replies: 3
      Last Post: 04-26-2008, 07:28 PM
    2. Differential Encoder Signals
      By eloid in forum DIY CNC Router Table Machines
      Replies: 8
      Last Post: 01-29-2008, 09:05 PM
    3. differential encoder signal form
      By Karl_T in forum General Electronics Discussion
      Replies: 1
      Last Post: 03-19-2007, 10:28 AM
    4. Synchro Differential Gen ??
      By Wannabe in forum General Electronics Discussion
      Replies: 3
      Last Post: 03-23-2004, 07:36 PM
    5. Optical Encoder Differential Line Driver
      By azsigns in forum General Electronics Discussion
      Replies: 1
      Last Post: 03-04-2004, 04:41 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.