585,748 active members*
3,563 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Open Source Controller Boards > Modernization of the Elm Dc Servo Controller (Russian UHU by Hudognik)
Page 4 of 15 2345614
Results 61 to 80 of 284
  1. #61
    Join Date
    Apr 2006
    Posts
    56
    Hi arisov 77,

    I blow up my first atmega88, (I hope to be first and last).
    Now I download Pony Prog2000 and I build other programmer and I try again.
    I read atmega88, is OK but I do not courage to write yet because, for me, is not very clearly how to work with atmega88.

    So step by step I try next:
    first I will write Servo AtMega88 CompInt Modif.hex
    second write Servo AtMega88 CompInt Modif.eep
    and last write fuse bits as in image from post #46???

    Is correct this steps?

    Tank you.

  2. #62
    Join Date
    Jun 2008
    Posts
    66
    Here is video lesson with PonyProg and CodeVision with scheme programmer (LPT) http://www.lancos.com/e2p/avrisp-siprog.gif (STK200+/300).
    Fuse-Bits are programmed only 1 once. Then if you want to change program, that it is necessary only programmers ххх.hex and xxx.eep

    If video lessons are not opened, that download program uvPlayer http://uvsoftium.com/uvPlayer.php
    Attached Files Attached Files

  3. #63
    Join Date
    Apr 2006
    Posts
    56
    arisov 77

    Tank you, a video lesson make 1000 of words, because I understand how to make. Now I will try to set parameters with servotuning. I look for reference about how to set parameters.

    Tanks a lot again.

  4. #64
    Join Date
    Apr 2006
    Posts
    56
    Hi arisov77,

    What is mean #1(Signed), Kf(#2), Kp(#3), Ki(#4), #5(Signed), #6 Parameters from Servo-Controller Setup?

    Tanks,

  5. #65
    Join Date
    Jun 2008
    Posts
    66
    #1 - Velocity limit
    #2 (Kf) - Velocity feedback gain
    #3 (Kp) - Proportional gain
    #4 (Ki) - Integral gain
    #5 - Torque limit
    #6 - Back-EMF compensation gain
    http://elm-chan.org/works/smc/report_e.html

  6. #66
    Join Date
    Apr 2006
    Posts
    56
    arisov,

    About Elm+HbridgeArisov, I receive some data from attiny, but I don't can transmit parameters for configuration. I use Bray's terminal. Other not can link.

    With Jozefp PCB variant I can transmit and receive but no action. Only work with PWM and velocity option, position option don't move motors with ServoTuning.

    In this week I will finish may PCB and I try it and I inform about how work.

    Tanks.

    Moraru.

  7. #67
    Join Date
    Jun 2008
    Posts
    66
    А in "Turning Moment" works?
    If beside You in mode "PWM", "Turning Moment", "Velocity" when change the position of the slider "Management (PWM)" engine changes velocity and direction, then beside You all work.
    Also when striking the button "Zero" in mode "PWM", "Turning Moment" engine changes stop. If in mode "Velocity" engine does not stop, that change the places of the wire from encoder (А and B).

    After obtain stops of the gross of the engine when striking the button "Zero" after change the position of the slider "Management (PWM)" (possible engine don't care will little revolve, but this will much slowly than at miconnections encoder), will Possible go to mode "Position".
    In mode "Position" it is necessary to assign amount a step in window "Position "Purpose"" and press button "Setup". See video http://www.cnczone.com/forums/showpo...00&postcount=2
    Do Not forget after each change the "Parameters" to press the button "Set". And after adjusting to save in memories EEPROM by button "Save".

  8. #68
    Join Date
    Apr 2006
    Posts
    56
    arisov,

    I try all from previous post #67, but in position mode don't work. I download your movie and I watch again and again and ............ I try to make why did you and don't work.

    Perhaps I may miss something. No problem. I make another PCB after scheme from post #1, without power supplies and with Atmega88-20PU.

    This is some PCB that I make.

    I hope to have success with the last PCB.

    Tanks a lot.

    Now back to work I have many drill to make ..... and to rest.

    Moraru.
    Attached Thumbnails Attached Thumbnails jozefp.jpg   Elm+ArisovHbridge.jpg   100%ArisovWithoutPower.jpg  

  9. #69
    Join Date
    Jun 2008
    Posts
    66
    With servocontroller on AtTiny2313 (original Elm Chan) program ServoTuning not work.
    In mode "Positions" engine after task of the positions (key "Setup") revolves or cost on place?
    What PID parameters beside You (Screen Shot ServoTunig)?

  10. #70
    Join Date
    Nov 2008
    Posts
    1

    Can we port this project to mega32?

    Dear Arisov,

    I just build this project and happy to see the results, can this project be ported to Mega32? if so then think about 2-Axis control in it. I tried myself but as i m a novice and assembler is not my field so it just failed.

  11. #71
    Join Date
    Jun 2008
    Posts
    66
    I shall not be able to translate the code on AtMega32, since I have no such MCU in presence and I shall not be able to test.
    With my scheme speed servocontroller for 2 Axis will be small. Also in AtMega32 only one comparer.

    See project here on AtMega32 for 2 axises http://www.mcselec.com/index.php?opt...=211&Itemid=57 .

  12. #72
    Join Date
    Apr 2006
    Posts
    56
    arisov

    I finish my PCB and all is OK.

    Tank you very much for you patience.

    Moraru.

  13. #73
    Join Date
    Jun 2008
    Posts
    66
    Quote Originally Posted by moraru View Post
    I finish my PCB and all is OK.
    Congratulations! :cheers:>>>:banana:

  14. #74
    Join Date
    Apr 2006
    Posts
    56
    arisov,

    I have a problem.

    In servo tuning all works OK, but in step dir. mode motor run only one direction.

    PC send tension both pin (pin 2step, pin 3 dir.)

  15. #75
    Join Date
    Jun 2008
    Posts
    66
    If I it is correct has understood translation then beside You in mode “Position” revolves in one side. If this so then for inverse rotation it is necessary in window "Position "Purpose"" write negative importance, for instance -1000.
    Also necessary to take into account that if You install importance above +/-20 000 steps, that servocontroller will move over to mode “ServoError”.


    Step must "go" on pin4 (for DIP28), Dir on pin 26. Under external (no ServoTuning) management Step/Dir necessary to check change the voltage on these pins.

  16. #76
    Join Date
    Apr 2006
    Posts
    56
    arisov

    In servo tuning all is OK, work with all "PWM, ......... position mode".

    But wen I try to command, ex. with TurboCNC, motor run only left to right, wen I try to change direction motor run as (left to right).

    From lpt PC port receive correct command (step and dir.) but motor run only left to right.

    I use atmega88-20pu and step is link to pin 4 and dir. to pin 26, voltage is change wen PC send command to move or change direction.

  17. #77
    Join Date
    Jun 2008
    Posts
    66
    The Voltage on 26 pin (Dir) under reverse is changed from 0,5V before 4,5V? For instance, under Lrot.=0...0,7V, under R= 4...5V or on the contrary. Measure it is necessary on most pin 26 AtMega88, rather then on LPT port.
    (On the further questions shall be able to answer at monday only or in tuesday).

    Try to enlarge R17, R20 с 1k before 3к. Beside me in new variant servocontroller they are 3kOm.

  18. #78
    Join Date
    Mar 2007
    Posts
    215
    Hi ppl....

    I just finished the layout for a PCB using the ATmega8...
    Most of the parts are SMD, the passives being 3216 size...

    Tomorrow I will make a PCB for testing....
    I omitted the current limit hardware, as I found with the original ELMchan, the software current limit was sufficient....

    Perhaps someone can spot some problems...
    Please take a look... The files are in Eagle format...

    Thanks!
    Michael....
    Attached Files Attached Files

  19. #79
    Join Date
    Feb 2008
    Posts
    5
    Krazatchu . Congratulations. :banana: But 20V VDSS IRF3704S are few.

  20. #80
    Join Date
    Mar 2007
    Posts
    215
    The IRF3704S was used as it was the first D-PAK N-Fet package I found in the eagle library...
    I haven't decided what MOSFETs to use yet, it depends on availability...

    I will take a list of MOSFETs to the electronics market and see what I can find ...
    Often it's hard to find low price mosfets with low RDSon in an SMD package here in Korea...

    I will also prepare a list of Schottky diodes to find...
    I tried to get some SK1010 / SK108 / V10P10 / V8P10 diodes last week but couldn't find any...

    Thanks....
    Michael

Page 4 of 15 2345614

Similar Threads

  1. Russian UHU by Hudognik
    By myown in forum UHU Servo Controllers
    Replies: 25
    Last Post: 12-18-2018, 06:33 AM
  2. New advanced CNC controllers for modernization
    By Jonne in forum News Announcements
    Replies: 8
    Last Post: 02-11-2011, 12:41 AM
  3. modernization Fanuc system 5
    By pardoel piet in forum Fanuc
    Replies: 0
    Last Post: 12-12-2010, 02:43 PM
  4. NC-controller for modernization only 850$!!!
    By Jonne in forum News Announcements
    Replies: 0
    Last Post: 12-15-2009, 11:47 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
  •