508,526 active members
2,773 visitors online
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Open Source Controller Boards > YAPSC:10V : The glue between Step/dir and +/-10V servo amp
Page 1 of 22 12311
Results 1 to 12 of 255
  1. #1
    Registered
    Join Date
    May 2007
    Posts
    106

    YAPSC:10V : The glue between Step/dir and +/-10V servo amp

    Hello everybody,

    Got a nice industrial servo amp taking analog command, and want to use it with MACH3 ou EMC2 with STEP/DIR? You are at the right place!


    Yesterday I successfully tested my first proto of YAPSC:10V. Whereas it still lack some documentation it is ready for production, I am getting pro made PCBs and components order soon.
    This board is based on a dsPIC30F4012, and uses a modified code from Lawrence Glaister's dspicservo.

    On top of that, it is Open Source (GPL) so you can modify it to your needs!

    FEATURES :
    • Takes position feedback from quadrature encoder on the servo (resolvers cannot be used directly but some amps can output quadrature signals from the resolver feedback)
    • Compatible with both torque and speed controlled amps
    • Takes STEP/DIR command from PC
    • ENABLE signal from PC can disable the amp
    • Output amplitude can be selected from +/-0V to +/-10V, to feed +/-10V or +/-5V amps
    • Jumper selected TTL or differential quadrature encoder input
    • FAULT input from the servo amp
    • Reset/ENABLE output to the servo amp
    • One additional input for future use
    • Programmable max error limit : 0 (disabled) to 32768
    • PID tuning program for linux, windows (and probably Mac OS) : YTT (under development)
    • STEP/DIR input multiplier (allows faster speed)
    • 1MHz max step and encoder rate!
    • etc.


    NOTE: There is NO power stage on this controller! It is specially designed to control those industrial speed or torque drivers.


    CODE, SCHEMATICS AND PCB :
    here (3.6MB file)

    PICTURES :
    3D view from KICAD
    PCB
    first proto in test

    VIDEO :
    This is a sneak preview to show how fast and accurate it actually is. The servo is a 0.5KW (~3/4hp) 3 phases servo from Seidel driven by a Digifas 7200 and YAPSC:10V. It's quite impressive knowing it goes from 0 to 2000 rpm in less than 0.3 seconds!
    STEP/DIR input is from EMC
    [ame="http://youtube.com/watch?v=x_aorBS_nAY"]http://youtube.com/watch?v=x_aorBS_nAY[/ame]

    NOTE (legal part):
    You can compile the dsPIC's firmware with the free student version of MPLAB C30 compiler. In that case, any other use than research/study is strictly forbidden (limitation due the compiler's student licence).
    Yet zip contains the project compiled with a full licence of MPLAC C30 compiler so the only limitations is from the GPL licence (read included gpl-3.0-standalone.html for more infos)
    I will take no responsability in case of personal injuries or material damages! This project comes without any warranty and support! ...altough I will be pleased to answer you questions



    That's all folks!

  2. #2
    Gold Member
    Join Date
    Jan 2006
    Posts
    2985
    MaX-MoD

    Looks great. Please let us know when you have the chance to get an english manual written, my French isn't quite up to the task.

    Thanks
    Matt

  3. #3
    Registered
    Join Date
    Oct 2008
    Posts
    32

    Power Stage

    What about the power stage of this controller ? if some one is not having a nice industrial servo amp.

  4. #4
    Registered
    Join Date
    May 2007
    Posts
    106
    I am translating the manual to English in my free times, so it cannot go very fast...


    A.A, this board has no power stage, it is specially designed to control those analog input industrial drivers.
    But I have another project, YAPSC:V2, wich will include power stage.

  5. #5
    Gold Member
    Join Date
    Feb 2007
    Posts
    4556

    Question

    MaX,

    I have some brand new Sanyo Denki BL Super PV 30 amp drives.

    Model PV1A030SGDNP50

    http://www.motiononline.com/PDF%20Fi...COS_Manual.pdf

    I beleive it is a either Devicenet "CAN" or Sercos Interface.

    Do you think you could adapt your interface so these drives would be able to take Step and Direction commands?

    Jeff...
    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.

  6. #6
    Registered
    Join Date
    May 2007
    Posts
    106
    Jeff, I fear SERCOS interface is a lot more complicated that analog output. I should be able to do it but the problem is that it will take me so much time I cannot afford...
    I don't know if regular PC's UART (com port) are physically adapted for SERCOS link, but maybe the easier thing to do is to write a HAL driver for EMC that would output SERCOS commands on the serial port (or maybe on a fiber optic Ethernet card), because it seems that SERCOS takes directly velocity&position commands.

    Or maybe the IDN80 "torque command value" is enough to control the amp...
    In that case, maybe a simple fiber optic transmitter linked to YAPSC:10V and a some modification to the code could be enough?
    But SERCOS technical description isn't free nor easy... good luck


    Regards,
    Max

  7. #7
    Gold Member
    Join Date
    Jan 2006
    Posts
    2985
    Max

    I ran your french manual through google page translator and it does a decent job. Maybe that would save you some time on getting the english version done. It may be more trouble than its worth as there is a lot of literal translation which is not correct. There is a lot of talk about food for the MOSFETs.

    Keep up the good work
    Matt

  8. #8
    Registered
    Join Date
    Sep 2007
    Posts
    21
    hello max ...

    are boards available? i would like to get a few to test.

    i also would like to build a step/direction servo power amp.

    please contact me at tecfacet@yahoo. com

    take care.

    roger

  9. #9
    Registered
    Join Date
    Dec 2008
    Posts
    51
    Dir Max

    about jumper P7, P8, P9 . when it need conect to 2,5V?
    your encoder interface can direct connect to ac servomotor encoder? (replace for 26ls32 chip?)

    thanks

    regards

  10. #10
    Registered
    Join Date
    May 2007
    Posts
    106
    P7-9 should be placed for single-ended TTL encoders; otherwise the input is similar to 26ls32 chips : Differential line

    More infos in the upcoming manuel.

  11. #11

    Join Date
    Jan 2005
    Posts
    10446
    Hi MaX-MoD

    A much needed Glue as you put it Step/Dir to Analog good job

    Get it all finished MaX before doing any changes for anybody or it will never get done I have seen many come & go because the requests for change over take the main unit to get done

    So guys let him get it out Here in the market place before you request change for your needs
    Mactec54

  12. #12
    Registered
    Join Date
    Mar 2008
    Posts
    2

    Some missing files

    Hi,
    I downloaded the zip file and tried to open the schematic. There is a message that says that the following files can't be found. They are missing from the zip.
    optocoupler-2.lib
    linear4.lib
    cap-vishay-153clv.lib
    ref-packages.lib
    HD15_B.lib
    connect.lib
    Can You add them to the zip or send them to me at kcrouch@comcast.net please.
    Thanks,
    Kenny

Page 1 of 22 12311

Similar Threads

  1. Gecko PID step motor servo
    By Mariss Freimanis in forum Gecko Drives
    Replies: 116
    Last Post: 03-26-2015, 08:54 AM
  2. step motor or servo
    By dcutler35 in forum Uncategorised MetalWorking Machines
    Replies: 2
    Last Post: 06-09-2012, 06:18 PM
  3. Servo step multiplier
    By JerryFlyGuy in forum Servo Motors / Drives
    Replies: 8
    Last Post: 05-15-2007, 08:20 PM
  4. Units Per Step For Servo
    By bgolash in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 02-14-2006, 08:46 PM
  5. Servo and Step motors
    By Dre361224 in forum General CNC Machine Related Electronics
    Replies: 2
    Last Post: 06-09-2005, 02:33 AM

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
  •