PIC Open source Servo Driver Schematics development? - Page 4

Page 4 of 5 FirstFirst 12345 LastLast
Results 61 to 80 of 91

Thread: PIC Open source Servo Driver Schematics development?

  1. #61
    Registered slp_prlzys's Avatar
    Join Date
    Mar 2004
    Location
    Canada
    Posts
    222
    Downloads
    0
    Uploads
    0

    Default Trajectory generator?

    Hi,
    first of all I know little
    of electronics and programming,
    but highly motivated

    I'm trying to recreate microchip an696a
    appnote using CCS C and PIC18f452.
    It took me a while to figure out data types
    between compilers are not the same.
    I've got some of the things setup, PWM
    is working fine, using 40Mhz crystal @ slightly
    over 20Khz PWM, Timer2 setup to 4 division
    and period of 120.(I'm using it as locked antiphased
    as it was called) So my PWM range is arround 0-239 negative
    direction 241-480 for positive direction.

    My problem lies in trajectory generation,
    being a newbie, I'm confused. I'm not doing it
    exactly as it was done in the appnote, I can't
    understand (yet) the shifting and rotating they did
    on that. (As I understand, it was done because
    there was no 32bit support on the earlier compilers).
    I want to make it simpler so as to understand
    what is going on and since CCS support int32.

    Now, what I need is a sample code in C
    (I was gonna say preferrably in C but that's
    all I know for now) for trajectory generation
    or motion profile, I'm confused between
    velocity profile and position profile are they
    both used at the same time? My googling
    hits, mention something to calculate time
    during acceleration to maximum acceleration to
    decceleration, to get a trapezoidal profile. I'm
    not quite sure how to implement that. So any
    help would be greatly appreciated. BTW the
    PID I'm using comes from here:
    http://www.lewisw.worldonline.co.uk/cservo.htm
    It's basically the same thing as in appnote(I think)
    but no use of union that confused me with shift and rotate thingy.

    Basically I'm going to use this to give new life to
    a dead epson1270 that I found and convert it to
    cut vinyl stickers(if successful), it has 2 servos
    one with rotary the other with linear encoders.
    not sure of the count yet, it seems so many.
    the pic18f452 is already setup for 2 PWM output,
    with one encoder input is using external interrupt,
    the other is using timers as in appnote an696a.
    Actually I set it up like Timer0 and External Interrupt for
    encoder one, Timer1 and External Interrupt1 for
    encoder two. The counting seems to be working.

    Thanks.

    mhel
    "This is intentionally left blank."


  2. #62
    Member
    Join Date
    Mar 2005
    Location
    canada
    Posts
    523
    Downloads
    0
    Uploads
    0

    Default

    tachus42
    can u convert your schematic files to orcad or pdf or bmp please as i don't use eagle
    thank you



  3. #63
    Member
    Join Date
    Mar 2005
    Location
    canada
    Posts
    523
    Downloads
    0
    Uploads
    0

    Default

    spl
    the trapeziod must be able to fit into your total movement distance or it will be a ramp up ramp down with no plateau (which is ok )
    the rise ramp and de-ramp or at least the falling ramp must be subtracted from the total # of turns.
    also tool up down should be considered.
    i tried to figure this all out, at one time .
    i think i tried to fly before i could crawl.
    i have notice most plotters move slow then take off
    i think they are calculating the ramps.
    maybe just divide the target location by 2 and ramp till u get there, with a ramp max limit and or test a bit for max acceleration reached and de-acceleration start.
    well u know it is a visious circle, just thinking about it makes my head spin.
    best of luck



  4. #64
    Registered
    Join Date
    Oct 2004
    Location
    Mexico
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    do you have any documentacion about this hardware?
    and what is the software can i use with this hardware?



  5. #65
    Registered
    Join Date
    Apr 2005
    Location
    south africa
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default

    Hi to everybody,
    I picked up a controller on a auction a wile ago, with a lot of searching i found someone that has a cnc router that uses the same boards. Now what ai want to do is make the other 2 boards i short for making my own machine. I have verry little electronics experiance, but have built a stepper controler and have driven it with kcam. I am wondering if annybody out ther would be willing to help me draw the 2 boards i need. i live in south africa finding help here is not easy.



  6. #66
    Member
    Join Date
    Mar 2005
    Location
    canada
    Posts
    523
    Downloads
    0
    Uploads
    0

    Default

    show me the schematic ro a pic of what u want.



  7. #67
    Registered
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by tachus42 View Post
    I have a half finished design I'm willing to contribute. Has been tested and works but needs more testing, a few rough edges smoothed over and documentation.

    Features: Avr microcontroller - much more power than a pic (1 controler can cope with 3 axises) and only a few dollars more.
    LCD and Key pad to enter PID values and jog without controller connected.
    Seperate driver board with 3 18200 hbridge driver chips giving 3 amps at 36 volts.

    Attached are Eagle PCB files for the Controller and motor driver boards. If there is any interest I'll rustle up the source code to go with them.
    Hi

    Yes, I woud be interested in the source code for attemt at further develpment of your driver. Thanks



  8. #68
    Registered
    Join Date
    Mar 2004
    Location
    United States
    Posts
    47
    Downloads
    0
    Uploads
    0
    Robert Setree 502-452-9851


  9. #69
    Registered venomx999's Avatar
    Join Date
    Nov 2005
    Location
    USA
    Posts
    105
    Downloads
    0
    Uploads
    0

    Default

    I have these DC servo motors with encoders. Will let someone have it for $100 even, free s/h within the US.

    Made by Shinano Kenshi, Japan. Rated at 30Volts, 1.8amps.



    They are really nice motors, brand new.

    Live life like you never see another day


  10. #70
    Registered
    Join Date
    Mar 2005
    Location
    Romania
    Posts
    339
    Downloads
    8
    Uploads
    0

    Default

    It is $100 each? Are you shipping to Romania? How I can pay you? Do you accept card or wire transfer? I have other way mean.

    Thank you.

    Zoltan



  11. #71
    Member
    Join Date
    Oct 2007
    Location
    Bulgaria
    Posts
    30
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by zoltan View Post
    It is $100 each? Are you shipping to Romania? How I can pay you? Do you accept card or wire transfer? I have other way mean.

    Thank you.

    Zoltan
    Hi,
    I think I have easy solution for you.
    I live in Bulgaria. I constructed
    a CNC plasma cutting machine, using Bulgarian Servo Motors with encoders.

    Motor: 56V , 12A , 3000 rpm
    Encoder: 2000 pulses/ rotation

    These are extremely stable devices, produced under FANUC-FUNJITSU license
    years ago in Bulgaria.

    I think I can find some at the price:

    Motors - 50 EUR
    Encoders - 150 EUR

    :-)



  12. #72
    Registered
    Join Date
    Feb 2007
    Location
    Thailand
    Posts
    1
    Downloads
    0
    Uploads
    0

    Smile Very Good post for knowledge

    Thank for all,
    which share information.
    Regards
    Pongthep



  13. #73
    Member
    Join Date
    Apr 2006
    Location
    TURKEY
    Posts
    54
    Downloads
    0
    Uploads
    0

    Default

    I made a single side PCB for Linistepper driver (Roman Black's) and add:
    Over current circuit,
    multiturn current trimpots for different type of motors,
    Opto coupler for protecting pc's i/o,



  14. #74
    Registered James Newton's Avatar
    Join Date
    May 2005
    Location
    USA
    Posts
    1397
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by agelkom View Post
    I made a single side PCB for Linistepper driver (Roman Black's) and add:
    Over current circuit,
    multiturn current trimpots for different type of motors,
    Opto coupler for protecting pc's i/o,
    Are you willing to share that design? Either here or at the Linistepper homepage for user modifications:
    http://www.piclist.com/techref/io/st...istep/mods.htm



  15. #75
    Member
    Join Date
    Apr 2006
    Location
    TURKEY
    Posts
    54
    Downloads
    0
    Uploads
    0

    Default Linistepper PCB

    Of course, I will post it in a few days
    Argun Gucdemir



  16. #76
    Member
    Join Date
    Apr 2006
    Location
    TURKEY
    Posts
    54
    Downloads
    0
    Uploads
    0

    Default Linistepper Lini8 PCB

    Linistepper (Lini8) board and schematic files attached.
    Please note that power transitor mounted bottom of pcb due to thermal runaway on large heathsink.

    Attached Images Attached Images
    Attached Files Attached Files


  17. #77
    Member
    Join Date
    Apr 2006
    Location
    TURKEY
    Posts
    54
    Downloads
    0
    Uploads
    0

    Default

    Hi,
    Here is the PCB copper and layout pdf files for Linitepper Lini8. I can post if gerber files required.
    Argun

    Attached Files Attached Files


  18. #78
    Registered
    Join Date
    Jan 2008
    Location
    Slovenia
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default

    tachus42 coud you please post the XEH files of your desing?
    i'm not good in compiling codes



  19. #79
    Registered
    Join Date
    Oct 2005
    Location
    Lithuania
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    Hi Argun,
    It's very interesting design. Coud you post the component list?
    Romas



  20. #80
    Member
    Join Date
    Apr 2006
    Location
    TURKEY
    Posts
    54
    Downloads
    0
    Uploads
    0

    Default Linistepper New Board

    Hi Romas
    The component list and schematic files for my Lini8 are attached.
    A few important notes:
    1. Darlinton Power transistor has protection diode however it is not as fast as schotky so that I add diodes.
    2. R11A and R12A for optional
    3. I also add D12 C7 J4 and R11 for current control when the "step" pulses are exist.
    4. Power transistor mounted buttom of PCB
    5. S1-2 Step , S1-3 Dir S1-4 Current control inputs S1-5 Over currunt output,
    S1-1 input GND
    Regards
    Argun

    Attached Files Attached Files


Page 4 of 5 FirstFirst 12345 LastLast

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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

PIC Open source Servo Driver Schematics development?

PIC Open source Servo Driver Schematics development?