. .
Page 4 of 7 FirstFirst ... 23456 ... LastLast
  1. #31
    Nick's Avatar
    Lives in East Yorkshire, United Kingdom. Last Activity: 06-01-2021 Has been a member for 6-7 years. Has a total post count of 26. Received thanks 2 times, giving thanks to others 0 times.
    I'll take some pictures for you to see how they are made up.
    That would be great. I've put some rubber sheeting in for the moment.


    Do you have any experience of Linux CNC.? If not then get ready for a massive learning curve because with servos and closed-loop it's a different ballgame to Steppers. I'm very experienced with lots of controllers and I'm struggling big time with Linux CNC. Luckily I've got a Linux Guru in my camp working on it, hey Clive S . .
    Nope, It's been a massive learning cure. Very slow progress, hours of scanning the Linux CNC forum. You get stuck on silly things like setting up the home switches for what seems like hours. I gave up with stepconf and pcnconf wizard and just played around with the "hal" and "ini" files. I have however got Linux CNC working with steppers via a computer parallel port.

    Click image for larger version. 

Name:	20200215_193335.jpg 
Views:	197 
Size:	190.5 KB 
ID:	27447

    I have made my first chips and broken my first end mill on the servo mount for the X-axis. There were lots of issues milling this the X-axis pulley keep slipping. It looks a bit rough, I left 0.5mm of axial so I had to file it down, no finish pass but I think it will be functional. Waiting for a new belt to try it out.

    Click image for larger version. 

Name:	20200225_174825.jpg 
Views:	209 
Size:	285.9 KB 
ID:	27446

    5mm 2 flute end mill: RPM: 8000-10000 WOC 1mm, DOC 4mm, chip load per tooth around 0.04mm, feed 600mm/min
    8mm 2 flute: RPM 8000-10000, WOC 1.6mm, DOC 8mm, chip load 0.05?, feed around 1m/min

    I have got the china servo motors (analog) working with Linux CNC on the desk, closing the loop in control, it wasn't too painful to figure out. The mesa 7i77 card is really nicely made, nice manual, lots of IO.

    If anyone is interested I will write a tutorial on getting the china servos working with Linux CNC, it might help with small things like I got stuck for a a good few hours before I realised I needed to set Pn146 to 0 on the servo.

    Very brief video of first'ish chips

    https://www.youtube.com/watch?v=WzXHVFuu-qo

  2. #32
    Quote Originally Posted by Nick View Post

    I have got the china servo motors (analog) working with Linux CNC on the desk, closing the loop in control, it wasn't too painful to figure out. The mesa 7i77 card is really nicely made, nice manual, lots of IO.

    If anyone is interested I will write a tutorial on getting the china servos working with Linux CNC, it might help with small things like I got stuck for a a good few hours before I realised I needed to set Pn146 to 0 on the servo.

    Very brief video of first'ish chips
    Bloody hell not joking when said video was brief I blinked and was done. . .


    Regards Linux and Servo's how's the following error, have you checked it in hal scope.? . . . We are struggling (well not me but my guru) with the Step/dir to get full speed without throwing a following error.

  3. #33
    Hi Nick,

    Here's those way covers I was talking about, pictures didn't do it justice so a little video shows it better. Hope it helps


  4. #34
    Nick's Avatar
    Lives in East Yorkshire, United Kingdom. Last Activity: 06-01-2021 Has been a member for 6-7 years. Has a total post count of 26. Received thanks 2 times, giving thanks to others 0 times.
    Quote Originally Posted by JAZZCNC View Post
    Hi Nick,

    Here's those way covers I was talking about, pictures didn't do it justice so a little video shows it better. Hope it helps

    Ah thank you very much, I see what you mean now, those look great, really simple design, just sheet metal and a few welds. I will give making some a go.

    Following error wise. What speed are you aiming for? How have you found tuning the internal PI loops? I'm struggling to tune the servos. I'm just about at less than 10 microns f-error now on the X and Y, I am cheating slightly acceleration dropped a bit, speed reduced to 1500mm/m. I think my main issue is the servo speed and torque loops aren't tuned. The error got a lot better when I put in the inertia load into Pn257 after I ran the Fn018 mode to get the inertia ratio. I'm using gain adjustment mode 1 (Pn258) and then adjusting the "rigid grade selection" until I get oscillations / vibration. I found the linuxCNC tune very sensitive to FF1

    I haven't worked out how to properly tune the internal PI's because I can't work out how to bring linuxCNC into open loop and then command a specific speed in LinuxCNC. I am thinking about using the internal speed command function and toggling this with push buttons. Say set it to 250, -250rpm and then I will be able to jog it back and fourth while looking at the HAL scope.

    Click image for larger version. 

Name:	Screenshot at 2020-03-02 14-25-37.png 
Views:	129 
Size:	326.3 KB 
ID:	27471

  5. #35
    I haven't worked out how to properly tune the internal PI's because I can't work out how to bring linuxCNC into open loop and then command a specific speed in LinuxCNC. I am thinking about using the internal speed command function and toggling this with push buttons. Say set it to 250, -250rpm and then I will be able to jog it back and fourth while looking at the HAL scope.
    Nick. What mode are you using ie position or torque etc. Have you seen or read this:-

    https://forum.linuxcnc.org/10-advanc...etailed-how-to

    I am in the same boat as you and struggling with a following error when using closed loop. Changing closed to open loop is just one change in the hal file.
    This is also my first time with halscope
    ..Clive
    The more you know, The better you know, How little you know

  6. #36
    Nick's Avatar
    Lives in East Yorkshire, United Kingdom. Last Activity: 06-01-2021 Has been a member for 6-7 years. Has a total post count of 26. Received thanks 2 times, giving thanks to others 0 times.
    Quote Originally Posted by Clive S View Post
    Nick. What mode are you using ie position or torque etc. Have you seen or read this:-

    https://forum.linuxcnc.org/10-advanc...etailed-how-to

    I am in the same boat as you and struggling with a following error when using closed loop. Changing closed to open loop is just one change in the hal file.
    This is also my first time with halscope
    Yeah, that's what i've been following, really useful. I also found the John Thornton guide's. Using speed mode, via a mesa 7i77, so linuxCNC is running the position loop.

    I will try torque at some point I think. I'm sure the issue is with the drive speed and torque PI loops. How have you gotten on with setting the drive PI settings? I'f i put it in open loop I think the axis will drift and I don't think I could command an analog signal? or maybe I could?

  7. #37
    Nick, Clive is using Step & Dir Mesa card not Analog +/-10v using Position mode in the drive. He's using the same AASD Drive as you but 30A with 1.8Kw servo.

  8. #38
    Quote Originally Posted by Nick View Post
    Yeah, that's what i've been following, really useful. I also found the John Thornton guide's. Using speed mode, via a mesa 7i77, so linuxCNC is running the position loop.

    I will try torque at some point I think. I'm sure the issue is with the drive speed and torque PI loops. How have you gotten on with setting the drive PI settings? I'f i put it in open loop I think the axis will drift and I don't think I could command an analog signal? or maybe I could?
    I believe that torque mode is more difficult . I am using step/dir not analogue which should be easier.

    I will be away for a few days but will catch up on my return.
    ..Clive
    The more you know, The better you know, How little you know

  9. #39
    Nick's Avatar
    Lives in East Yorkshire, United Kingdom. Last Activity: 06-01-2021 Has been a member for 6-7 years. Has a total post count of 26. Received thanks 2 times, giving thanks to others 0 times.
    Quick update:

    Control box nearly done, MPG installed one of the cheap aliexpress ones, finally got an E-Stop. Its got space for 5 servos and 1 servo for a spindle, 3 installed. The 7i77 and one cheap parallel breakout board to drive 1 stepper (currently the Z axis, will hopefully rotate the tool changer)

    Click image for larger version. 

Name:	DSC_0924.jpg 
Views:	233 
Size:	184.2 KB 
ID:	27662Click image for larger version. 

Name:	DSC_0929-small.jpg 
Views:	152 
Size:	87.7 KB 
ID:	27661

    I tried to keep AC separated from low voltage, the 7i77 to servo connections are using twisted pairs, I ended up hand soldering these. I have tried to ground everything in one place. Some thoughts:

    Those cheap ebay "crimp tools" are really effective. The "DB25 solderless connectors" on ebay were invaluable for checking the wiring to the AC servos and the MPG. I got a 800x600x210mm box, I wish I had gone for a 250mm depth the door is catching on the AC servo encoder connectors when closed. I will have to swap the cable trunking out for a deeper version I used 40mm, think I will go for 60mm or deeper.

    Z-axis counterweight system next

  10. #40
    Chaz's Avatar
    Lives in Ickenham, West London, United Kingdom. Last Activity: 1 Week Ago Has been a member for 9-10 years. Has a total post count of 1,601. Received thanks 110 times, giving thanks to others 69 times.
    Nice Nick.

    I'm keen to hear your thoughts on those drivers / servos. Been looking them myself for whatever I build next.

Page 4 of 7 FirstFirst ... 23456 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Threads

  1. Where to start? Vertical Mill CNC conversion.
    By Richard in forum Milling Machines, Builds & Conversions
    Replies: 8
    Last Post: 26-09-2021, 03:11 PM
  2. WANTED: Harrison mill Vertical head
    By D-man in forum Items Wanted
    Replies: 0
    Last Post: 18-06-2016, 01:43 PM
  3. Epoxy granite or mineral casting
    By mike mcdermid in forum Gantry/Router Machines & Building
    Replies: 46
    Last Post: 20-02-2014, 06:21 PM
  4. Epoxy Granite Molds?
    By gavztheouch in forum Moulding Machines
    Replies: 8
    Last Post: 18-02-2014, 07:28 PM
  5. BUILD LOG: Vertical fixed gantry. Design & build. (Steel/epoxy)
    By Greeny in forum DIY Router Build Logs
    Replies: 8
    Last Post: 19-08-2013, 08:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •