quadrature/rotary encoder .mdl file

hi, do anyone of you posses quadrature decoder/ rotary encoder simulink file?
i need to transform Phase A and Phase B signals from rotary encoder into angle, velocity, acceleration values.
thanks.

1 件のコメント

Antonella
Antonella 2014 年 4 月 24 日
Hi, I have the same problem. Did you solve it?
Thanks

サインインしてコメントする。

回答 (5 件)

Arnaud Miege
Arnaud Miege 2011 年 3 月 7 日

2 投票

Are you using SimElectronics? If so, there is an Incremental Shaft Encoder block provided. Have a look at the demo model elec_linact_implementation.mdl, which uses that block in the "Hall Effect Sensor" subsystem.

2 件のコメント

MURALI
MURALI 2014 年 5 月 20 日
i am using 2013b i have sim electronics but i cant open this file can u share related link
Manikandan
Manikandan 2014 年 7 月 15 日
編集済み: Manikandan 2014 年 7 月 15 日
Thank you sir, As per Above demo the working of encoder will understand good. by open the file use full comment bellow
showdemo elec_linact_implementation

サインインしてコメントする。

Guy Rouleau
Guy Rouleau 2011 年 3 月 9 日

1 投票

To transform quadrature signals A and B into angle, you only need a few basic blocks like logical operator, memory, sum, gain.
Start by placing 2 Pulse Generator source blocks in your model and configure them to generate the 2 quadrature signals. Then play with basic blocks to implement the simple algorithm to transform the 2 pulse into an angle. You should be able to find the algorithm for this in any mechatronics class book.
jack
jack 2011 年 3 月 7 日

0 投票

i'm using matlab version R2006a, doesn't seems to have SimElectronics embedded

1 件のコメント

Arnaud Miege
Arnaud Miege 2011 年 3 月 8 日
SimElectronics is a separate product, which was first released in R2008b. It requires Simscape, which is an add-on product to Simulink, providing a foundation library of building blocks across multiple physical domains as well as an authoring language for creating custom components.

サインインしてコメントする。

Luke
Luke 2011 年 11 月 19 日

0 投票

Hello! I have the same problem! I am using DC Motor model, and I have position on the output in this model. Now I would like to convert it to impulses of encoder. How can I do it? Thanks.
poonam bhor
poonam bhor 2012 年 10 月 21 日

0 投票

hey i want the simulink for hall sensor...which works in binary system..plz anyone can provide ma

カテゴリ

製品

質問済み:

2011 年 3 月 7 日

編集済み:

2014 年 7 月 15 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by