585,670 active members*
4,795 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2014
    Posts
    2

    Single ended encoder and Kanalog

    Hi!
    I have a singles ended encoder (A and B channel on Glass Scale). I read the manual and learned that they are connected to the input JP7. But JP7 connected to Kanalog. What should I do?

  2. #2
    Join Date
    May 2006
    Posts
    4045

    Re: Single ended encoder and Kanalog

    Hi Sancta,

    There are several methods to connect single ended encoders to KFLOP with Kanalog.

    One is to disconnect KFLOP's JP5 connector from Kanalog and feed in single ended encoder signals to KFLOP there. Everthing on Kanalog will still function except differential inputs on Kanalog JP2. KFLOP's JP5 inputs are 5V Tolerant with no termination resistance.

    A second Option is to multiplex the Encoder inputs to KFLOP JP4 and/or JP6 by setting a multiplex option in KFLOP's FPGA. This method is usually preferred because KFLOP's JP4 and JP6 have 150 Ohm Termination resistance (to reduce cable ringing) and also because these connectors have +5 and GND connections available. However the inputs on KFLOP JP4 and JP5 are not 5V tolerant and will be damaged if hard driven above 3.85V. This is usually not a problem as most +5V TTL outputs do not drive above 3.85V. They are only guaranteed to go above 2.8V. You can check your encoder signals with a voltmeter under a 150 ohm load. Or add a series 50 ohm resistor.

    Here is the description taken from KMotionDef.h:
    Code:
    // addr to r/w encoder noise rejection filter value (0..255), 
    // Bit8 switches Encoders Ch4-7 from JP5 to JP6, 
    // Bit9 switches Encoders Ch0-3 from JP7 to JP4
    #define ENC_NOISE_FILTER_ADD  0x05   
    #define ENC_0_3_JP4 0x200
    #define ENC_4_7_JP6 0x100
    #define ENC_NOISE_FILTER_DEFAULT_VAL 7 // noise rejection filter default value (100MHz/3/7/2 = 2MHz)

    Also see the MuxEncoders.c Example
    Code:
    #include "KMotionDef.h"
    
    main()
    {
    	// Mux encoder inputs from KFLOP JP7 & JP5 to JP4 aand JP6
    	FPGAW(ENC_NOISE_FILTER_ADD) = ENC_0_3_JP4 + ENC_4_7_JP6 + ENC_NOISE_FILTER_DEFAULT_VAL; 
    }
    HTH
    Regards
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Feb 2014
    Posts
    2

    Re: Single ended encoder and Kanalog

    Hi! I found a great chip - SN74LVC4245A. Please tell - whether resistors with this connection?
    Click image for larger version. 

Name:	shema1.jpg 
Views:	0 
Size:	251.3 KB 
ID:	232316

  4. #4
    Join Date
    Jun 2013
    Posts
    1041

    Re: Single ended encoder and Kanalog

    Cnc4pc sells single to differential converter boards for 5 dollars.

    Ben

Similar Threads

  1. differential vs. single-ended quadrature encoder?
    By postvmvs in forum CNC Machine Related Electronics
    Replies: 9
    Last Post: 02-19-2014, 11:14 AM
  2. Open ended belt.
    By NGMH in forum Momus Design CNC plans
    Replies: 3
    Last Post: 09-04-2013, 07:55 PM
  3. Linear Glass Scale encoder with Kflop/Kanalog
    By PeterMouse in forum Dynomotion/Kflop/Kanalog
    Replies: 3
    Last Post: 03-24-2013, 05:14 AM
  4. Single Ended Encoder mod
    By Larken in forum Viper Servo drives
    Replies: 0
    Last Post: 04-29-2009, 04:11 PM
  5. R2210 single ended TTL encoder interface ???
    By Splint in forum Servo Drives
    Replies: 9
    Last Post: 07-27-2005, 02:50 PM

Tags for this Thread

Posting Permissions

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