2011/9/30 andy pugh <bodge...@gmail.com>:
> On 30 September 2011 19:41, Viesturs Lācis <viesturs.la...@gmail.com> wrote:
>
>> Is there any chance that I have to set something that is not 8? That
>> Keling's spreadsheet says that motor has 8 poles.
>
> With the motor in 0 mode and frequency 0 with low current you should
> be able to turn the motor by hand and feel the poles.
> (Actually, the docs say to use "n" not "0" for dumb-mode., so cfg=n,n,n)
> 4 notches = 8 poles.
>>
>>> Also, there is a 50% chance that the bldc.N.scale needs to be a
>>> negative number.
>>
>> Does not work with or without "-" sign in front of the scale value.
>
> It could still be the wrong Hall pattern then. You say that 4 of them worked?
> It uses which transition it is to infer the angle, if the transition
> sequence isn't quite right, then it won't work.
>
> You could try qhi, it is probable that the encoder index is at motor zero.

Incredible!
I found 2 notches, so decided for 4 poles, added "minus" for scale and
motor now turns smoothly and silently also with cfg=qh,qh,qh

What should be my next step?
Installing motor in machine and trying to tune PID loop?
I tried assigning bldc.2.value to motor.2.pos-cmd and then tried to
jog it - it starts turning and does not stop until I press F2.

Viesturs

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to