# Sapog motor spinup issue

**URL:** <https://forum.zubax.com/t/sapog-motor-spinup-issue/1644>\
**Category:** Electric drives\
**Created:** [September 11, 2020, 8:30pm UTC](https://forum.zubax.com/t/sapog-motor-spinup-issue/1644 "2020-09-11T20:30:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Borowczyk](https://forum.zubax.com/user_avatar/forum.zubax.com/alexandre_borowczyk/32/582_2.png) [@Alexandre\_Borowczyk](https://forum.zubax.com/u/Alexandre_Borowczyk)\
**Post date:** [September 11, 2020, 8:30pm UTC](https://forum.zubax.com/t/sapog-motor-spinup-issue/1644/1 "2020-09-11T20:30:48Z")

</div>

Hi,

The setup I’m current running is the following:

Axis 2814/20 v2  
Holybro Kotlela20 / sapog 2.3.fa0ff46  
on a 3s lipo @ 12.4V

I’m having issues with the motor spinup where the motor will jerk for about 1sec before spinning normally. This appends only at start, the motor as no problem spinning smoothly at low speed.

what would be the procedure to tune the ESC for a smooth spin up?  
Is there any way to debug this with logs?  
Also do you need to restart the node for parameters changes to take effect?

Thanks

---

<div class="post-metadata">

**Author:** ![pavel-kirienko](https://forum.zubax.com/user_avatar/forum.zubax.com/pavel-kirienko/32/180_2.png) [@pavel-kirienko](https://forum.zubax.com/u/pavel-kirienko)\
**Post date:** [September 14, 2020, 8:46pm UTC](https://forum.zubax.com/t/sapog-motor-spinup-issue/1644/2 "2020-09-14T20:46:51Z")

</div>

> [@Alexandre\_Borowczyk](#):
>
> Also do you need to restart the node for parameters changes to take effect?

Yes, this is explained in section **5.3 Configuration parameter index**.

> [@Alexandre\_Borowczyk](#):
>
> I’m having issues with the motor spinup where the motor will jerk for about 1sec before spinning normally.

Have you tried the suggestions given in section **7.2.3 Low-speed operation**? They apply not only to the continuous low-speed operation, but also to the spin-up process.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Borowczyk](https://forum.zubax.com/user_avatar/forum.zubax.com/alexandre_borowczyk/32/582_2.png) [@Alexandre\_Borowczyk](https://forum.zubax.com/u/Alexandre_Borowczyk)\
**Post date:** [September 15, 2020, 8:52pm UTC](https://forum.zubax.com/t/sapog-motor-spinup-issue/1644/3 "2020-09-15T20:52:11Z")

</div>

Thanks for the quick reply,

I’ve set the mot\_v\_spinup to 2,5 and the mot\_spup\_blnk\_pm at 50, and it seems to prevent “false” starts. The start up is still not as smooth as on commercial ESC. I’ve also notice that we the esc tries to play a sound, it’s not very crisp, maybe it’s a indication of some other parameters to be tuned? Do you have any tip on how to tune the esc properly to a motor? Can I use the motor specifications to get a better initiate guess of the correct parameters?

I’ve got a t 840Kv 14 pole motor on a 3s system so I know the max mechanical RMP wont be over 10584 (7758 rad/s electrical) and since I’m on 18650 cell going down to 2.5v the min RMP will be somewhere under 6300 (4618 rad/s electrical). Shoudn’t the lowest RMP give me a idea of the mot\_comm\_per\_max?

Am I doing the mechanical to electrical conversion right? I’ve tried using these value to set the mot\_pwm\_hz parameter but couldn’t get a full duty cycle (power\_rating\_pct = 100) unless I set it to 70000Hz and above which doesn’t match Figure 2.10.

A thought:  
I’ve got the Myxa esc could it be used to identify the motor parameter to be used with the sapog. I would use the Myxa directly but my application use at most 3s batteries.

Thanks

---

<div class="post-metadata">

**Author:** ![pavel-kirienko](https://forum.zubax.com/user_avatar/forum.zubax.com/pavel-kirienko/32/180_2.png) [@pavel-kirienko](https://forum.zubax.com/u/pavel-kirienko)\
**Post date:** [September 21, 2020, 12:51pm UTC](https://forum.zubax.com/t/sapog-motor-spinup-issue/1644/4 "2020-09-21T12:51:15Z")

</div>

At the moment it is not possible to derive optimal configuration from known motor parameters, so the best advice I can provide is to apply systematic trial-and-error to find the configuration that works in your case.
