585,759 active members*
4,238 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 12 12311
Results 1 to 20 of 259

Hybrid View

  1. #1
    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
    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
    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
    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
    Join Date
    Feb 2007
    Posts
    4553

    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
    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
    Join Date
    Mar 2011
    Posts
    0

    space vector pwm

    Quote Originally Posted by MaX-MoD View Post
    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.
    sir,
    you have made a wonderful creation for all the DIYs who want to make their own CNC at an affordable price. But the thing is that servo amplifiers are expensive and the DIGIFAS amplifier costs about a 1000 USD. This actually limits the use of the YAPSC:10V TO be used on a commercial basis. so just to find an alternative for the amplifier i did a lot of search for finding a device that outputs A SPACE VECTOR PWM TO DRIVE SERVO MOTORS. :wave:
    i've seen a motion control IC - IRMCK203 by international rectifier. this motion control IC is specifically designed to control 3 PHASE AC MOTORS by providing space vector pwm. can this IC be interfaced with your servo controller YAPSC:10V. Cause it has a analog input for speed reference. and after viewing the full datasheet i found that it was purely made for controlling AC servo motors for cnc applications. it has a 3 phase pwm output to control gate drives for IGBTs. this means that it could be used as a power stage for AC servo motors.:wave:. SO IS IT POSSIBLE. HERE IS THE DATASHEET --- http://www.irf.ru/pdf/irmck203.pdf . Another IC which is similar to IRMCK203 is IRMCK201. and there is a post about this here:- http://www.cnczone.com/forums/servo_...rmck201-8.html

  8. #8
    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

  9. #9
    Join Date
    Sep 2007
    Posts
    22
    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

  10. #10
    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

  11. #11
    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.

  12. #12
    Join Date
    Jan 2005
    Posts
    15362
    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

  13. #13
    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 [email protected] please.
    Thanks,
    Kenny

  14. #14
    Join Date
    Jan 2007
    Posts
    93

    Question

    What signals does PIC output? PWM & direction ,PWM UP & PWM DOWN or Antiphase PWM? Could i controll H-bridge ( ir2110 and ir2184 mosfet drivers ) ?

  15. #15
    Join Date
    Jan 2009
    Posts
    334
    Quote Originally Posted by visky View Post
    What signals does PIC output? PWM & direction ,PWM UP & PWM DOWN or Antiphase PWM? Could i controll H-bridge ( ir2110 and ir2184 mosfet drivers ) ?
    I believe that it is PWM & direction. Go to MAX's site and start there. I have not looked at the specs of the ir2184 & ir2110. Start by comparing these to YAPSCV1, which uses the irl640 I believe.

    Hope this helps,


    Iron-Man

  16. #16
    Join Date
    Oct 2010
    Posts
    0

    CNC Servo Machine

    :wave:Hello max-mod and all engineers ,
    im in a 5Axis CNC Machine Building prossess, i want use Ac or Brushless dc Motors. i find YAPSC:10V , first tell me can this board drive AC servos ?
    i saw this picture from the : Your page title goes here



    here there are servo motors , servoAmp board , YAPSC:V10 board , Breakout board and at the last , the Computer.

    i have YAPCS:V10 Board ,(i will create this from YAPSC:10V)
    but i dont know what is the servoAmp Board ! is a open Source of this here ?

    im waiting for your companionship in my project.
    thanks

  17. #17
    Join Date
    Jan 2007
    Posts
    93

    Question communication problem-please help

    If i send hex code from Glaister ,with this sheme serial com. works ! But with hex code from MaxMod version V1 it doesn't (: . I have tried diferent baud rates , 9800 and 57600 , but no luck. Where is a problem?
    Attached Files Attached Files

  18. #18
    Join Date
    Mar 2006
    Posts
    3
    Hello,
    well I think when you connect pin 11 and 12 to a max232 -> pc it should work.
    The baud-rate is 57600. And use 5V as supply voltage.

    Bye
    Malte

  19. #19
    Join Date
    Jan 2007
    Posts
    93
    I have problems with transfering hex file to dspic . Bootloader doesn't detect MCU. I have transfer bootloader hex file to MCU!

    Any simple scheme ? Just for programming....

  20. #20
    Join Date
    Oct 2006
    Posts
    32
    Viski,
    ubaci hex bez bootloadera. Mene je to mučilo nekoliko dana i onda sam našao nekakav programčić na netu koji to fino i jednostavno šutne u dcPIC tako da ti taj bootloader i Ingenia ne trebaju.
    Pozdrav!

Page 1 of 12 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 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
  •