Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RTW target supported software

19 views
Skip to first unread message

Eralia Tiniou

unread,
Apr 16, 2010, 8:29:22 AM4/16/10
to
I'm a university student doing my diploma thesis on the control of a dc brushed motor. Since I have to obtain the direction and the speed of the motor, I need both signals of Channel A and B of the encoder I'm using. So, I assume that I have to connect the two signals to 2 counters so as for them to measure the pulses. Finally.according to the phase I will be able to know the direction of the movement. Now, I use a PCI-1710 DAQ card from Advantech but the specific one has only 1 counter input usable for users' applications. So, I intend to buy a new one with 2 counter inputs available. I've found the PCI-1712 by Advantech but it is not mentioned as a supported hardware for RTW target. Please inform me on that possibility!!

Tiniou

dan schott

unread,
Apr 16, 2010, 12:13:07 PM4/16/10
to
"Eralia Tiniou" <Eral...@hotmail.com> wrote in message <hq9l72$iim$1...@fred.mathworks.com>...

> I'm a university student doing my diploma thesis on the control of a dc brushed motor. Since I have to obtain the direction and the speed of the motor, I need both signals of Channel A and B of the encoder I'm using. So, I assume that I have to connect the two signals to 2 counters so as for them to measure the pulses. Finally.according to the phase I will be able to know the direction of the movement. Now, I use a PCI-1710 DAQ card from Advantech but the specific one has only 1 counter input usable for users' applications. So, I intend to buy a new one with 2 counter inputs available. I've found the PCI-1712 by Advantech but it is not mentioned as a supported hardware for RTW target. Please inform me on that possibility!!
>
> Tiniou

Hi Tiniou,

Please check out http://zeltom.com/hilink.aspx and http://zeltom.com/rapcon.aspx

Dan

Jan Houska

unread,
Apr 18, 2010, 1:44:08 AM4/18/10
to
Hi Eralia,

encoder inputs are somewhat different from counter inputs. It will be
difficult to measure pulses in software and then compute phase, speed
and direction. This would be possible only if the motor rotation is very
slow and you are able to acquire several samples per encoder pulse. And
you would have to use digital input for that, because counters give you
no information about phase.

So the above method is not a good solution. It would be best to use a
board that has encoder inputs and does the speed and direction decoding
in hardware. Real-Time Windows Target supports encoder inputs on the
Humusoft MF624 board, http://www.humusoft.cz/produkty/datacq/mf624 .
Also, the National Instruments PCI-622x series of boards is supported.

Jan


--
Jan Houska HUMUSOFT s.r.o.
hou...@humusoft.com Pobrezni 20
http://www.humusoft.com 186 00 Praha 8
tel: ++ 420 284 011 730 Czech Republic
fax: ++ 420 284 011 740

Eralia Tiniou

unread,
Apr 18, 2010, 10:37:03 AM4/18/10
to
Thank you very much Jan. I would also like to know whether it is possible to use PCL-833 from Advantech which is an ISA card, in combination with the card we already use PCI-1710, as a cheaper solution. So could I connect both of them to my computer and use each of them for different type of data in my model using Real Time Windows Target? For example use the PCI for analog input-output etc and the PCL-833 for the encoder and counter at the same time in my model?Is this possible and does RTW target support PCL-833? Thank you in advance.

Eralia

Jan Houska <hou...@humusoft.com> wrote in message <hqe678$2095$1...@ns.felk.cvut.cz>...

Jan Houska

unread,
Apr 18, 2010, 1:29:25 PM4/18/10
to
Hi Eralia,

Eralia Tiniou wrote:
> Thank you very much Jan. I would also like to know whether it is
> possible to use PCL-833 from Advantech which is an ISA card, in
> combination with the card we already use PCI-1710, as a cheaper
> solution. So could I connect both of them to my computer and use each of
> them for different type of data in my model using Real Time Windows
> Target? For example use the PCI for analog input-output etc and the
> PCL-833 for the encoder and counter at the same time in my model?Is this
> possible and does RTW target support PCL-833? Thank you in advance.

in general it would be possible, but I'm afraid that PCL-833 is not
supported. You can see the list of all supported boards here:

http://www.mathworks.com/products/rtwt/RTWIN_Target_Interactive_Guide.html

Jan

0 new messages