On 30 September 2011 19:18, Viesturs Lācis <viesturs.la...@gmail.com> wrote:

> 2) With cfg=h,h,h
> setp bldc.2.pattern 4
> setp bldc.2.value 0.1
>
> Motor turns clockwise, I can hear a sound from motor, it is not loud,
> but it is noticable. Does it mean that pattern is not the right one?

No, that is inherent to trapezoidal commutation.

> 3) With cfg=qh,qh,qh
> setp bldc.2.scale 2048
> setp bldc.2.poles 8
> setp bldc.2.pattern 4
> setp bldc.2.value 0.1
>
> There are 2048 CPR encoders. Should the scale value be in CPR or PPR?
> The thing is that motor is not turning, it is gently jumping around.

The scale needs to be the number by which rawcounts increases with one
full turn of the spindle.
You need to set the number of poles correctly.
Also, there is a 50% chance that the bldc.N.scale needs to be a
negative number.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

------------------------------------------------------------------------------
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