586,389 active members*
3,074 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 13 of 15 31112131415
Results 241 to 260 of 284
  1. #241
    Join Date
    Oct 2006
    Posts
    32

    ATMega8

    Test is finish !
    Video-link:
    https://rapidshare.com/files/1953238131/26082012047.mp4
    Attached Thumbnails Attached Thumbnails Slika978.jpg   Slika979.jpg  

  2. #242
    Join Date
    Jan 2006
    Posts
    19
    @ krazatchu
    I do not sell these boards accept that I had to make more as required, so only sell the to much boards.
    But i didnt get any requests so.
    i still have them so if someone is interested in it !!
    they work great.

    If anyone is interested in parts and or pcb production contact me.
    I live in China and have good sources for this.

    Atmel / Roel

  3. #243
    Join Date
    Sep 2006
    Posts
    7

    Lightbulb

    Can anybody put here one archive with all documentation needed to run this servocontroller? Thanx much!

  4. #244
    Join Date
    Mar 2007
    Posts
    215
    Here it is: archive

  5. #245
    Join Date
    Sep 2006
    Posts
    7
    In the another way...
    http://n0m1.com/2011/11/19/nomi-locus-dc-servo-kit/
    Is there any PCB file, schematic and BOM?

    If not, because it's still not ready... - I have "previous version" documentation... means Eagle files with date 30.04.2009 and firmware V16 - only hex (I think that for ATMega8).
    Is it still "the best"?

  6. #246
    Join Date
    Oct 2006
    Posts
    32

  7. #247
    Join Date
    Sep 2006
    Posts
    7
    File not found! :stickpoke

  8. #248
    Join Date
    Oct 2006
    Posts
    32
    Sorry,
    I will upload again at next day.
    :-)

    New link:
    https://rapidshare.com/files/1585458746/26082012047.mp4
    (size: 48,90Mb)

  9. #249
    Join Date
    Jan 2013
    Posts
    0
    Quote Originally Posted by arisov77 View Post
    Continue Subjects Russian UHU by Hudognik - CNCzone.com-The Largest Machinist Community on the net! here, as this open project and i hope that who be else joined to modernizations Elm Chan servocontroller.
    Present new variant scheme and code.
    Change:
    - Moved converter RS-232/UART from PCB into DataCable. USB/UART on FT232 - works, but bad. Better use RS232/UART.
    - Added limit move Limit_L & Limit_R. Questioning of their condition through 20ms (for eliminating noise). If Limit are not used, that detail their chain possible not to install. Internal pull-ups resistors to all input are installed software in AtMega.
    - Select type contact (Normally closed or normally open)
    - Input EMERGENCY STOP (E-Stop) - it is actuated one temporarily enable Limit_L & Limit_R to condition “ServoError”.
    - Output “ServoError”. Moves over to condition “ServoError” with simultaneous indication of this condition. Disable thereof conditions through Off-On power, unset on Reset or in ServoTuning push “Stop” or change the mode.
    - Two steps of protection from unbalance of the positions. 1st. - at excess 20 000 steps immediately transition in condition “ServoError” . 2st. - on time - at excess 3 steps are included timer and if in current 15 seconds unbalance will not become less 3 steps, that transition in condition “ServoError”. If for 15 sec. unbalance will become less 3 steps, that timer reset.
    - Sensing the condition encoder possible (as variant) on interruptions from internal comparator. On him and external entities VD2,VD3, R23-R25, R29 is made analog exclusive or (EOR). The differences in work I have not noticed (no high-resolution encoder), but theoretically she better (fast), than with questioning encoder on interruption from Timer0 (12mks).
    - It is actuated WatchDog (period 38ms)
    - Increased reliability of keeping data in EEPROM. For this: record of each parameter from ServoTuning is produced in 3 bytes located in miscellaneous area EEPROM. At power-up are read these 3 bytes, are then compared and if one of them is not others, that is produced rerecording the bad cell. This is repeated for all importances in EEPROM. When loading parameter from EEPROM in ServoTuning are read given only from one area (without checking for equality). After conservation and loading parameter address EEPROM is changed on address not containing data. After these change - I reset EEPROM did not observe.

    I have done 4 variant Source Code: Servo_AtMega_TimerInt - for AtMega8, on Timer, Servo_AtMega_CompInt – for AtMega8, on comparator and such for AtMega88 - Servo_AtMega88_TimerInt and Servo_AtMega88_CompInt. The Code trims with interruptions from Timer0 possible to use as with scheme, which I shown earlier, so and new variant. With interruptions from comparator, only with new variant of the scheme. The Code trim with interruptions from compator I have checked only with AtMega88, with AtMega8 only partly, but guarantee on 95% that she will work.

    When adjusting in ServoTuning importances for Your motor save in zero bank, as started with it.

    Possible ways of the further improvement:
    - Installing the quartz on 24МГц and change the program
    - Use the hardware multiplying (only on AtMega)
    - Change of time of the servo cycle with 1ms on more low importance
    - Development PCB. Since I all change did on PCB, which shown earlier + with additional element with outboard montage.

    Commentary in Source Code in russian language, but if it is necessary can translate one of the SourceCodes (for example).

    arisov77 : Sorry, how does Tr1 value?

  10. #250
    Join Date
    Sep 2006
    Posts
    7
    @krazatchu: Few questions to your design:
    LFuse Value = 0xD7 ?
    HFuse Value = 0xD4 ?

    Is there any EEPROM File to V16 MEC-S3 or which EEPROM I could find here is working fine?

    ServoTuning didn't connect but in terminal i've got '˙ERVO V3.2 Mg88' ('˙' instead of 'S'). What's wrong?

    Edit: OK, I know now that I need to have an EEPROM to have 'S'
    I used 'Servo_Mg48_16Mhz_v3_4.eep' with 'Servo MEC-S3 v16.hex' and now Servo-Controller Setup (exe) works

  11. #251
    Join Date
    May 2013
    Posts
    0
    Where can I download this program?

  12. #252
    Join Date
    Sep 2006
    Posts
    7

  13. #253
    Join Date
    Mar 2007
    Posts
    215
    @szopler
    I don't have any MEga88s to test this with but I think the fuses should be:
    Extended 0xFE
    High 0xF5
    Low 0xFF
    Good to hear you have it running. I'd advise some bulk capacitance close to the power input.

    @brian5dg
    It's somewhere in this thread.

  14. #254
    Join Date
    Sep 2006
    Posts
    7
    @krazatchu:
    With High fuse = 0xF5 I will turn off SPI programming so better don't doing this now


    Any better translation of Servo-Controller Setup (English Release by Ozan Durmus) ?
    Because after connection and a few clicks I have:
    Click image for larger version. 

Name:	ServoProgramTranslateProblem.png 
Views:	38 
Size:	76.6 KB 
ID:	186202

    And I need a little help to understand ELM-chan parameters...
    I have UGJMEE-02XIB12 Minertia Servo with 900 PPR encoder (3600 CPR). At 34V it has 1625 RPM. So (if that what i had found at ELM-chan site is OK) my max velocity is:
    2 x 52k[sps] / 3600[cpr] x 60 = 1733 rpm

    P0 = 1733 [rpm] x Kf x 900 / 1500
    P1 = Kf
    P2 = Kp
    P3 = Ki
    P4 = CurrentLimit [A] / SupplyVoltage [V] x CoilResistance [ohm]

    P5 = KG [mV/rpm] / 900 / SupplyVoltage [V] * 3840, so:
    P5 = 21 [mV/rpm]* / 900 / 34 [V] x 3840 = 2.635
    * 34V/1625 rpm = ~0.021V/rpm

    P6 = Velocity [rpm] x Encoder resolution [ppr] / 15000, so:
    P6 = 1500 [rpm] x 900 [ppr] / 15000 = 90

    P7 = Acceleration [rpm/s] x Encoder resolution [ppr] x 17

    OK?

  15. #255
    Join Date
    Sep 2005
    Posts
    24

    Mega 48 code on Mega328p?

    I have a Arduino mini pro with Atmega328p 16Mhz and would like to know if the hex file for the "Servo_Mg48_16Mhz_v3_4" would work without modification? I think the only difference is in the memory.
    The Arduino mini pro is only $4.00 from ebay and a L298 board is about $6.00 so this would make for a very affordable servo controller for small machines like mine.
    Thank you.
    PI R ROUND

  16. #256
    Join Date
    May 2011
    Posts
    4
    Hello atmel
    Do you still have those 8 PCB for DC encoder motor driver board?
    If so how much it will cost including P&P to UK?
    Thank you
    TechnoCNC

  17. #257
    Join Date
    Oct 2006
    Posts
    32
    Test....video on link: RapidShare
    Click image for larger version. 

Name:	Slika1538.jpg 
Views:	20 
Size:	130.6 KB 
ID:	201068

    ATMega8-DIP28;
    hex-data: 16MHz_int_v0.2

  18. #258
    Join Date
    Jan 2009
    Posts
    32
    nemoze bosanac bez cakije:cheers:

  19. #259
    Join Date
    Oct 2006
    Posts
    32
    Ništa ovde ne pomaže - ni čakija! Kada testiram sa malim E240 motorom do 24VDC i dve četkice ide nekako ali sa većim motorima kao što je ovaj crni na slici koji je do 180VDC sa 4 četkice nema rezultata: motor se ponaša kao vibrator za beton.
    Rad na ovom kontroleru je čisto gubljenje živaca, vremena i novca pa ću od njega da odustanem.
    Pozdrav za "plastificirani aluminijum" !
    Slavoljub

  20. #260
    Join Date
    Jan 2008
    Posts
    25
    Hello everybody!
    i have a question about the source codes.
    what is the difference between Servo_AtMega_TimerInt and Servo_AtMega_CompInt ? i'm new to programming so i don't know the difference
    i have read the whole thread ( all 22 pages ) and i stil dont know too many different source codes and too many different designs. so i'm lost and don't know where to start

Page 13 of 15 31112131415

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
  •