Phidget Encoder

For general discussion related FlowStone
Post Reply
GII
Posts: 5
Joined: Tue Dec 21, 2010 2:55 am

Phidget Encoder

Post by GII »

Brought the Phidget Encoder schematic up in FlowStone and connected the Phidget encoder board to the encoder.

Link to the Phidget Encoder schematic:
viewtopic.php?f=11&t=164

I get the position reading but the RPM stays at zero.

Looked deeper into the program but not sure what to change to get RPM calculating correctly?

Anyone have any insight into what to change?

These are the items connected together:
1057 - PhidgetEncoder HighSpeed
http://www.phidgets.com/products.php?product_id=1057

3530 - Optical Rotary Encoder ISC3004
http://www.phidgets.com/products.php?product_id=3530
User avatar
admin
Site Admin
Posts: 231
Joined: Tue May 11, 2010 6:30 pm

Re: Phidget Encoder

Post by admin »

oops, there was an error in the math.

To convert to RPM from RPS it should have been *60

Fixed now in V2:

http://www.dsprobotics.com/support/viewtopic.php?f=11&t=164
GII
Posts: 5
Joined: Tue Dec 21, 2010 2:55 am

Re: Phidget Encoder

Post by GII »

Admin,

Could you take another look at the Phidget Encoder Module program.

I have the 1057 - PhidgetEncoder HighSpeed hooked up to an E6 US Digital Encoder using Version 2 of the FlowStone PhEncoder program.

Using the Phidget test program "Encoder Position" displays 10,000 ticks with 1 revolution.
Using the US Digital Explorer Test Program "Encoder Position" displays 10,000 ticks with 1 revolution.

Using the FlowStone Program it was noticed that it displays inconsistent readouts on the POS "to the current position of selected encoder "
(see attached file Encoder Example 1.png = 7,211 ticks). This should read 10,000 counter position as the Phidgets and US Digital programs do.
As a test, I added another Float to the output of the current position reads 5,055 (see attached file Encoder Example 2.png).
As another test, I added 2 more Floats to the output of the current position reads 3,893 (see attached file Encoder Example 3.png)
These should all read the current position as 10,000

The "Ticks per revolution" is set at 2,500. The resolution is 4X (the way I understand it, the Phidget board is a 4x). So 2,500 x 4 = 10,000 ticks/revolution. I know "ticks/revolution is redundant, so it could better be said 10,000 positions around the shaft.

Please let me know if any additional data is required to fix this program.

Thanks,

GII
Attachments
PhEncoder Module Example 3
PhEncoder Module Example 3
Encoder Example 3.png (189.72 KiB) Viewed 16409 times
PhEncoder Module Example 2
PhEncoder Module Example 2
Encoder Example 2.png (183.97 KiB) Viewed 16409 times
PhEncoder Module Example 1
PhEncoder Module Example 1
Encoder Example 1.png (181 KiB) Viewed 16409 times
Post Reply