7i97+8i20 error function not found

More
3 years 10 months ago #259393 by andypugh
With the latest drivers you should be able to setp the nvmaxcurrent in the HAL file.

Once it has run and been updated it is probably a good idea to comment the line out, or it will write to the eeprom every startup, which isn't ideal.

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #259394 by andypugh
For commutation, the gray-code option has the advantage that the motor can make full torque from startup without needing to do an alignment step.

I think it would be a good idea to just get a motor turning first. One way to do this would be to use pure "f" mode, so that the quadrature encoder is ignored and the motor should run block-commutated.

If you can't jog in pure "f" mode then you need to look at your PID tuning.

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #259849 by saquzi

What are the motor ratings?

I suspect

setp bldc.0.initvalue .5

(0.5A) is not anywhere enough current to align the motor

Tried to put that to 10, no difference

With the latest drivers you should be able to setp the nvmaxcurrent in the HAL file.

Once it has run and been updated it is probably a good idea to comment the line out, or it will write to the eeprom every startup, which isn't ideal.

Currently in halshow nvmaxcurrent is 750

For commutation, the gray-code option has the advantage that the motor can make full torque from startup without needing to do an alignment step.

I think it would be a good idea to just get a motor turning first. One way to do this would be to use pure "f" mode, so that the quadrature encoder is ignored and the motor should run block-commutated.

If you can't jog in pure "f" mode then you need to look at your PID tuning.

I tried to use only "f" mode and commented all "q" out, still can not make anything to move or resist :( I tried to alter all the PID values from "known to propably work" to anything else, but no difference image missing /media/kunena/emoticons/ermm.png
Last edit: 3 years 10 months ago by saquzi.

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #259851 by saquzi
This is the current servo i am copying with..

 

And current wiring if something seems off here... 8i20 from left to right: servo GND, UZ, VZ, WZ, battery - (55vdc), battery +, and additional groung to the servo, then enable 5vdc + - on the  smaller tb6 connector..

   
Last edit: 3 years 10 months ago by saquzi.

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #259853 by PCW
what does:

halcmd show all hm2

report?

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #259854 by PCW
Also my guess is that the stall current listed on the motor nameplate
is the continuous stall current, not the peak current. So its likely
that you would need to set the 8I20s peak current to 20 or 30 A
(2000 or 3000) to get the full potential torque from the motor

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.147 seconds
Powered by Kunena Forum