kernal frequency issue with combo of servo's and steppers

This Section is for users to discuss hardware

kernal frequency issue with combo of servo's and steppers

Postby mark68 » Sun Dec 17, 2023 4:54 pm

I could do with some advise on this please,
To get the speed from my servo's I need to run the kernel at 400khz otherwise speed is throttled too much, but i have a 4th axis rotary which I mount when required on the machine for turned work this has a nema 23 stepper motor which won't run at 400khz frequency. (took me a while to figure this out as I was convinced the driver/motor or my wiring was the issue.)
Options as I see them but please advise if there is another way as I'm not keen on either.

1-Reduce the kernal to 200khz everytime I use the rotary. (will i need to recalibrate steps per?)
2-Buy a small nema 23 size servo and driver to suit.
mark68
 
Posts: 59
Joined: Tue Oct 22, 2019 10:42 pm
Location: Yorkshire Uk

Re: kernal frequency issue with combo of servo's and stepper

Postby ger21 » Mon Dec 18, 2023 12:26 pm

3) Make two separate profiles, one with the rotary and one without, each with different kernel frequency.
4) Use electronic gearing in the servos.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2675
Joined: Sat Sep 03, 2016 2:17 am

Re: kernal frequency issue with combo of servo's and stepper

Postby mark68 » Mon Dec 18, 2023 9:43 pm

Thanks, I'm new to servo set up.

Gearing page of Servo manual attached, am i correct in thinking I need to double the ratio that is currently set to one. Going from 400khz to 200 khz setting in Uccnc.

So Pr0.09 1st numerator of electronic gear could be set to 4 and Pr0.10 denominator of electronic gear set to 2 = gear ratio of 2. From what i gather the actual numbers don't matter as long as the division result =2.
Attachments
Screenshot 2023-12-18 214232.png
mark68
 
Posts: 59
Joined: Tue Oct 22, 2019 10:42 pm
Location: Yorkshire Uk

Re: kernal frequency issue with combo of servo's and stepper

Postby NeeqOne » Sat Mar 23, 2024 10:10 pm

mark68 wrote:Thanks, I'm new to servo set up.

Gearing page of Servo manual attached, am i correct in thinking I need to double the ratio that is currently set to one. Going from 400khz to 200 khz setting in Uccnc.

So Pr0.09 1st numerator of electronic gear could be set to 4 and Pr0.10 denominator of electronic gear set to 2 = gear ratio of 2. From what i gather the actual numbers don't matter as long as the division result =2.

Did setting the electronic gear ratio to 2 worked for you? Did you have to changed anything? I am using similar servo and experiencing the same issue. Will you mind sharing you parameter list with me? Thanks.
NeeqOne
 
Posts: 6
Joined: Wed Jun 03, 2020 5:32 pm

Re: kernal frequency issue with combo of servo's and stepper

Postby mark68 » Sat Mar 23, 2024 10:32 pm

NeeqOne wrote:

Did setting the electronic gear ratio to 2 worked for you? Did you have to changed anything? I am using similar servo and experiencing the same issue. Will you mind sharing you parameter list with me? Thanks.


I didn't change them in the end as I found a driver for the rotary axis that worked at 400khz. If you do work out the steps then I'd like to know, sorry for not been too helpful.
mark68
 
Posts: 59
Joined: Tue Oct 22, 2019 10:42 pm
Location: Yorkshire Uk

Re: kernal frequency issue with combo of servo's and stepper

Postby NeeqOne » Sun Mar 24, 2024 1:50 pm

Find attached a python code I wrote for computing the numerator and denominator for the ac servo drove.
Attachments
T6_AC_Servo_Gear_Ratio.txt
(814 Bytes) Downloaded 22 times
NeeqOne
 
Posts: 6
Joined: Wed Jun 03, 2020 5:32 pm


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests