AXBB-E analog output only from 1.2-10V instead 0-10V

If you have a question about the software please ask it here.

AXBB-E analog output only from 1.2-10V instead 0-10V

Postby mr_cg » Wed Jun 24, 2020 6:49 pm

Hello!

I have connected my spindle to analog output from AXBB-E controller.
Speed control in general is working properly but due to the fact that lowest possible analog output voltage is 1.2V the speed can only be controlled starting from about 3000 RPM up to 24000 RPM.

The analog ouput voltage range is not from 0V up to 10V as it should ... because the lowest possible value i could measure is starting from 1.2V.
Is there anything i can do in the UCCNC settings or some external electrical circuit?
The output voltage was measured directly on the controller and therefore i think it could be also design issue ... hopefully i am wrong.

Br
Chris
Attachments
iosetup.JPG
I/O SETUP 1
spindle.JPG
SPINDLE SETTINGS
mr_cg
 
Posts: 48
Joined: Thu Mar 14, 2019 8:40 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby mr_cg » Wed Jun 24, 2020 7:47 pm

Something to add for solution finding.
The inverter allows to setup the lower limit of the voltage which corresponds to e.g. 0%.
But how to configure in UCCNC that e.g. S1 starts from 1.2V up to S24000 (10V)?
This would be potential solution but i do not know if and how this could be setup in UCCNC.
If this is not possible than this would be my feature request.
mr_cg
 
Posts: 48
Joined: Thu Mar 14, 2019 8:40 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby Robertspark » Wed Jun 24, 2020 10:01 pm

??

24000 / 10v X 1.2v

spindle speed min = 2880 rpm
spindle speed max = 24000 rpm


10v = pwm at 100%.... so that is your max own setting
therefore 1.2v set the min pwm at 12....

that should then ramp from 1.2 v 12% pwm to 100% pwm signal and from 2880rpm to 24000rpm..... just check that the min spindle speed can go so low..... as some of them start at 6000rpm as the torque
drops to not a lot
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby cncdrive » Wed Jun 24, 2020 10:43 pm

Did you measure it with the analog output not connected to anything?
If not then what is connected to it might pull too high current pulling the Voltage up.

No, it cannot be a design error. Furthermore our automatic tester circuit measures 256 Voltage points from 0 to 10V on the analog output of every boards.
The tester throws an error on 2% error at any point.
So, it is not possible that it gives 1.2V when it should output 0Volts, that would fail on the tests.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby Robertspark » Thu Jun 25, 2020 6:43 am

CNCdrive, is there a pwm frequency that works best for CNCdrive motion controllers to provide the best linearity.

the OP's screenshot has the pwm frequency set at 100hz in his screenshots, would this not be a bit course for the analogue output channel of the axbbe motion controller? should it be set higher?
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby cncdrive » Thu Jun 25, 2020 9:23 am

Hi Rob,

The PWM frequency has no effect on the analog output. The PWM frequency effects only PWM outputs.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby Robertspark » Thu Jun 25, 2020 9:46 am

cncdrive wrote:Hi Rob,

The PWM frequency has no effect on the analog output. The PWM frequency effects only PWM outputs.


thanks,
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby mr_cg » Sun Jun 28, 2020 12:34 pm

The issue was clearly caused by wrong design on my side. ;-)
Everythning ok on AXBB-E side.

Wrong wiring at the beginning (as it was shown in one YouTube video):
Code: Select all
INVERTER
#############################################
#     10V+     #     Sig     #     10V0     #
#############################################
        |             |              |
        |             |              |
       ###            |              |
       # #            |              |
       #R#            |              |
       # #            |              |
       ###            |              |
        |             |              |
        |_____________|              |
            |                        |
AXBB        |                        |
#############################################
#          AO1        #         5V0         #
#############################################

R=1.5kohm


Correct wiring (now analog spindle control works without issues):
Code: Select all
INVERTER
#############################################
#     10V+     #     Sig     #     10V0     #
#############################################
        |             |              |
        |             |              |
       ###            |              |
       # #            |              |
       #R#            |              |
       # #            |              |
       ###            |              |
        |             |     #####    |
        |_____________|_____# R #____|
            |               #####    |
AXBB        |                        |
#############################################
#          AO1        #         5V0         #
#############################################

R=1.5kohm


Thanks from my side for your help!
mr_cg
 
Posts: 48
Joined: Thu Mar 14, 2019 8:40 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby cncdrive » Sun Jun 28, 2020 3:56 pm

OK, good to hear that you found and fixed the problem.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: AXBB-E analog output only from 1.2-10V instead 0-10V

Postby wattstar » Wed Mar 16, 2022 1:20 am

Just wondering where did you read to add a resistor? I couldn’t find anything about it in the instructions and I’m wondering if this is the reason my speeds are so far out (over 1000 rpm sometimes).
wattstar
 
Posts: 3
Joined: Wed Mar 16, 2022 1:17 am

Next

Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 53 guests