Actuator with optical encoder
Posted: Fri Dec 16, 2022 5:46 pm
Hello,
I was wondering if somebody could help me setup an Optical Feedback Actuator with my Phidgets.
I purchased a Firgelli Optical Feedback Actuator for a test rig (#FA-OS-400-12-9 to be precise), and I am trying to connect it to a DC1000 motor controller.
I have been able to easily connect and control the motor side of the actuator to the DC1000. I can move it up and down with the Phidget Control Panel, everything works well.
Now, I would like to read its position with the integrated optical encoder. This encoder has 3 wires - blue (5V), yellow (GND), green (Output). Based on what's available on Firgelli's website, it is required to add a 10-15kOhm resistor between the encoder Output and the reading device (the DC1000 here). I added a 15kOhm resistor.
I tried connecting the 3 wires to the Encoder input of DC1000. 5V into 5V - Gnd into G - Output into B, A, or I. I tried changing the IO Mode like it is suggested in the DC1000 User Guide. It is not working. It would make sense since I think that the main issue here is that this integrated Optical Encoder is probably not a Quadrature Encoder.
I then tried to connect it to the Analog In input of the DC1000 thinking that I could read the Voltage Ratio instead. I do get a reading (~0.050V/v), but the value does not really change, no matter what position the actuator is in. It slightly fluctuates when the actuator moves (+/-0.005) but then it goes back to a somewhat similar value once it stops.
See graph attached: the first part shows the readings for a full extension until it stops, then a full retraction until it stops, then another extension that stops halfway. As you can see, the readings are not stable enough, especially when the actuator is moving.
Is there anything that I missed or that I am not doing properly?
Am I missing a piece of hardware? If so, which one?
Or is this type of encoder just not compatible with Phidgets?
I need to be able to record the actuator's position while it moves.
Any help will be greatly appreciated.
Thank you!
Alex
I was wondering if somebody could help me setup an Optical Feedback Actuator with my Phidgets.
I purchased a Firgelli Optical Feedback Actuator for a test rig (#FA-OS-400-12-9 to be precise), and I am trying to connect it to a DC1000 motor controller.
I have been able to easily connect and control the motor side of the actuator to the DC1000. I can move it up and down with the Phidget Control Panel, everything works well.
Now, I would like to read its position with the integrated optical encoder. This encoder has 3 wires - blue (5V), yellow (GND), green (Output). Based on what's available on Firgelli's website, it is required to add a 10-15kOhm resistor between the encoder Output and the reading device (the DC1000 here). I added a 15kOhm resistor.
I tried connecting the 3 wires to the Encoder input of DC1000. 5V into 5V - Gnd into G - Output into B, A, or I. I tried changing the IO Mode like it is suggested in the DC1000 User Guide. It is not working. It would make sense since I think that the main issue here is that this integrated Optical Encoder is probably not a Quadrature Encoder.
I then tried to connect it to the Analog In input of the DC1000 thinking that I could read the Voltage Ratio instead. I do get a reading (~0.050V/v), but the value does not really change, no matter what position the actuator is in. It slightly fluctuates when the actuator moves (+/-0.005) but then it goes back to a somewhat similar value once it stops.
See graph attached: the first part shows the readings for a full extension until it stops, then a full retraction until it stops, then another extension that stops halfway. As you can see, the readings are not stable enough, especially when the actuator is moving.
Is there anything that I missed or that I am not doing properly?
Am I missing a piece of hardware? If so, which one?
Or is this type of encoder just not compatible with Phidgets?
I need to be able to record the actuator's position while it moves.
Any help will be greatly appreciated.
Thank you!
Alex