Results 1 to 7 of 7

Thread: Controlling DC servo motor using FPGA

  1. #1

    Default Controlling DC servo motor using FPGA

    Hello friends,

    I am new to robotics field. I am pursuing a PG Diploma course in VLSI/Embedded. I have chosen a robotics project.

    Its Controlling DC servo motor using SPARTAN II, 2s200, DSP protoboard kit.

    I require a level shifter circuitry. The output from the quadrature encoder is sent to the kit. But some of the data coming from the encoder is missed by the kit. May be a level shifter cktry can be useful(to shift logic level from 3.3V to 2.5V.). Pls help me out if any one of u has a solution to the above mentioned case.

  2. #2
    Super Moderator T-1000 docel's Avatar
    Join Date
    Sep 2005
    Location
    BANGALORE
    Posts
    1,441
    Blog Entries
    3

    Default

    Can you provide the details of the quadrature encoder?
    Is the Spartan board configured proprely?
    docel
    ^Anything is possible..
    after YOU prove it!!

    http://bangalorerobotics.tripod.com

  3. #3

    Default

    the rotary encoder is of metronix h40-8-1000vl. with 1000 ppr. output voltage +5V dc.

    The kit is configured to lvttl level logic.

    Normally it should work fine but some of the data is missed when the output of the encoder is connected to the fpga directly.

    Now this means we have to convert the ttl 5v to lvttl 3v logic.......

    Can a simple opamp solve this problem ? If yes then How ?

  4. #4

    Default

    Hi Docel,

    Thanks a lot for taking interest in my query.

    Coming to the point, the rotary encoder is of metronix h40-8-1000vl. with 1000 ppr. output voltage +5V dc.

    The kit is configured to lvttl level logic.

    Normally it should work fine but some of the data is missed when the output of the encoder is connected to the fpga directly.

    Now this means we have to convert the ttl 5v to lvttl 3v logic.......

    Can a simple opamp solve this problem ? If yes then How ?


    Regards.
    Varun

  5. #5
    Super Moderator T-1000 docel's Avatar
    Join Date
    Sep 2005
    Location
    BANGALORE
    Posts
    1,441
    Blog Entries
    3

    Default

    Use MAX3232 as a level translator.

    OR use 74LVX3245 and 74LVX4245

    ..OR


    docel
    ^Anything is possible..
    after YOU prove it!!

    http://bangalorerobotics.tripod.com

  6. #6

    Default

    Dear Docel,
    The ICs which u mentioned are not available at my place. You have also provided a picture. Can u pls explain the working of the cktry along with the component names...............


    Regards,
    Varun

  7. #7
    Super Moderator T-1000 docel's Avatar
    Join Date
    Sep 2005
    Location
    BANGALORE
    Posts
    1,441
    Blog Entries
    3

    Default

    Quote Originally Posted by varungenius2001
    Hi Docel,

    :arrow: The kit is configured to lvttl level logic.

    Normally it should work fine but some of the data is missed when the output of the :arrow: encoder is connected to the fpga directly.

    :arrow: Now this means we have to convert the ttl 5v to lvttl 3v logic.......

    Regards.
    Varun
    To convert....LvTTL to TTL and vice versa. The data sheets for these devices explain everything.
    docel
    ^Anything is possible..
    after YOU prove it!!

    http://bangalorerobotics.tripod.com

Posting Permissions

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