This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

q-value(24)



hi;

I am using;

tms320f28027f, c2000 launchpad with a maxon bldc motor and drv8301 motor drive.

What is a Q-Value(24),

and how do I use it in the code I have written I code composer studios?

basically, I have logged the speed variable from the estimator into an array.

Using this array, I take the average of the values.

Using this single averaged value, I would like to make make some decisions.

However the values stored in the array do not appear as I would expect in the expressions window, while debugging- they seeming appeear to fluctuate between a fixed range of values, regardless of the acual motor speed.

Only when I change this value to Q-Value(24) do the values stored correspond to the speed being measured.

How do I convert the measured speed to Q-value(24) by default?

Or, is their about use this information in order to make decisions?

Thanks