Modernization of the Elm Dc Servo Controller (Russian UHU by Hudognik) - Page 4

Page 4 of 15 FirstFirst 123456714 ... LastLast
Results 61 to 80 of 288

Thread: Modernization of the Elm Dc Servo Controller (Russian UHU by Hudognik)

  1. #61
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    Hi arisov77,

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

    Tanks,



  5. #65
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    #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
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    А 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
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    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 Images Attached Images


  9. #69
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Nov 2008
    Location
    Pakistan
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default 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
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    arisov

    I finish my PCB and all is OK.

    Tank you very much for you patience.

    Moraru.



  13. #73
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by moraru View Post
    I finish my PCB and all is OK.
    Congratulations! >>>



  14. #74
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    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.)

    Last edited by moraru; 04-25-2009 at 04:35 AM.


  15. #75
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Apr 2006
    Location
    Romania
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Jun 2008
    Location
    Russia
    Posts
    66
    Downloads
    0
    Uploads
    0

    Default

    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.

    Last edited by arisov77; 04-25-2009 at 08:39 AM.


  18. #78
    Registered
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    215
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Feb 2008
    Location
    Slovakia
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Krazatchu . Congratulations. But 20V VDSS IRF3704S are few.

    Last edited by jozefp; 04-26-2009 at 08:56 AM.


  20. #80
    Registered
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    215
    Downloads
    0
    Uploads
    0

    Default

    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 FirstFirst 123456714 ... 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

Modernization of the Elm Dc Servo Controller (Russian UHU by Hudognik)

Modernization of the Elm Dc Servo Controller (Russian UHU by Hudognik)