This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

absolute optical encoder interface

Other Parts Discussed in Thread: TMS320F2812

hi,I need some techinical support for interfacing of absolute encoder to tms320f2812.I read QEP module.I understood that we can interface incremental encoder to tms320f2812 using QEP module.But in the case of absolute encoder how can i interface (module) to tms320f2812.Mine is 19 bit absolute encoder with rs 232 serial data output.Any documents related to this,please post me . 

  • no promises :-) but if you provide a clear link to the datasheet of your encoder then I will try to have an answer for you ...............

  • Hi,

    I think the answer is already in your post.. connect it to the sci, so you can communicate over rs232...
    But as Arfeen mentioned, a datasheet would be very helpful.

    Eggi

  • Thanks.Link is www.codechamp.fr/contenus/fiches/FicheTech-FPCOA23-01-EN.pdf. I am providing some of the optical encoder specifications below.

    Absolute optical encoder:

           19 bit

    resolution:2.5''

    accuracy:+-7''

    output:serial output

    o/p interface:rs422

    power supply:    OV=5+-5%

                                  OV==15+-10%

    operating speed:120rpm

    starting torque:2*10 power(-3).

     

     

    I have already  rs422  to rs 232 converter .Actually I want to design a brushless dc motor controller for two axis direct drive servo .For that we need two brushless

    dc torque motors.I  want to use the optical encoder  feedback & sinusoidal commutation using tms320f2812 .I have some questions

    1.I have to send 1MHz clock input to optical encoder.serial data output from encoder read by tms320f2812.Is it possible to generate  a clock from tms processor and read the data from optical encoder input.What is the interface module then?

    sci interface have only two channels.I have to interface two optical encoders using the same tms proocessor.Reading serial data output from two optical encoders &generate clocks .How can i do?please give me reply

    2.I have niosII fpga board.I have generated clock from that read the encoder output data in rs 232 format.Is there any  chance to interface the fpga to tms processor.How  can I?

  • Thanks.Link is www.codechamp.fr/contenus/fiches/FicheTech-FPCOA23-01-EN.pdf. I am providing some of the optical encoder specifications below.

    Absolute optical encoder:

           19 bit

    resolution:2.5''

    accuracy:+-7''

    output:serial output

    o/p interface:rs422

    power supply:    OV=5+-5%

                                  OV==15+-10%

    operating speed:120rpm

    starting torque:2*10 power(-3).

     

     

    I have already  rs422  to rs 232 converter .Actually I want to design a brushless dc motor controller for two axis direct drive servo .For that we need two brushless

    dc torque motor.I  want to use the optical encoder  feedback & sinusoidal commutation using tms320f2812 .I have some questions

    1.I have to send 1MHz clock input to optical encoder.serial data output from encoder read by tms320f2812.Is it possible to generate  a clock from tms processor and read the data from optical encoder input.Two optical encoders i have to interface to same tms320f2812 processor.What interface module i can use?

  • Hi Sudhakar,

    While I did not look at datasheet of your absolute encoder, I think that you are wrong connecting it to SCI. By my experience almost all absolute encoders that have serial interface they have serial SYNCHRONOUS interface, which you connect either to SPI or McBSP (you have to supply the clock signal and encoder returns data). Two most often used logical protocols (at least in Europe) are EnDat or BiSS. Both of them have timing based synchronization (they don't use frame select output/input). On physical level rs422 is most common, but you can find also 5V TTL, open collector or even more exotic interfaces.

    Regards, Mitja