Quadrature Encoder speed measurement

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Quadrature Encoder speed measurement

ソリューションへジャンプ
1,916件の閲覧回数
dh1
Contributor II

Hello

In the reference manual of the IMXRT1060X, there is a chapter 56.3.5 Speed Measurement Method, which explains how to measure the speed of a quadrature encoder signal.

Is there a code example available, which implements this algorithm?

Thanks and regards,
Daniel

0 件の賞賛
返信
1 解決策
1,888件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

For the Quadrature Decoder (QDC) module, only the SDK examples enc_basic and enc_index_interrupt are available, which only compute position. No examples are available for the Speed Measurement Method.

Sorry for the inconvenience.

Have a nice day!

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,889件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

For the Quadrature Decoder (QDC) module, only the SDK examples enc_basic and enc_index_interrupt are available, which only compute position. No examples are available for the Speed Measurement Method.

Sorry for the inconvenience.

Have a nice day!

0 件の賞賛
返信
1,840件の閲覧回数
dh1
Contributor II

Hi,

Looking at it again, it seems the "Speed Measurement Method" topic is misleading. It refers to the register POSDPER. But this controller (imx RT106x) does not even have this register?

Or am I overseeing something?

Regards,
Daniel

0 件の賞賛
返信
1,818件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Apologies. That's correct, the IMXRT1060 does not support this register. It is an typo that I will report to the corresponding department.

In such a case, you will need to create an algorithm using a general purpose timer as the time base connected to the TRIGGER and take a snapshot of the POSD register in order to calculate speed.

On the other hand, you can use IMXRT1160/70 where it is supported.

Wish it helps you.

0 件の賞賛
返信
1,860件の閲覧回数
dh1
Contributor II

Hi,

Thank you for your answer. That is strange, because the description seems so detailed that somebody must have tested this somehow.

Best regards,
Daniel

0 件の賞賛
返信