Encoder output question - Cytron SPG30 series motor

Hi,

Further to my previous post here, I now have my motor, a RB-Cyt-84.

What I am trying to do with it is a proof of concept for something, and in this application I’m using a linear motion to rotate the motor and generate a current. See the image of the mechanical setup. Basically, I have about 7mm of movement causing my crank arrangement to rotate by 10 degrees (+/-1, measured roughly).

This is 0.0277 turns of the gearbox output shaft (10/360) and with a 120:1 ratio, should equal 3.33 turns of the actual motor (0.0277 * 120), correct?

The manual says - “Resolution: 3 pluses per rear shaft revolution, single channel output”, so I would expect to see about 10 pluses, right?

I put a scope on the encoder outputs and I’m seeing two things, a lot more than 10 pulses, and, the motor seems to reverse direction (my setup just does a single linear action in one direction and then requires a manual reset).

The two scope screen grabs show both channels (Red is Channel A, Yellow B), the first one showing all of the captured output at 20ms per division, and the second waveform at 10ms showing the bit before it reversed in more detail. I count about 23 pluses in the “forward” direction (clockwise as viewed from my posted image).

I can see two possible reasons for me not seeing the expected output:

  1. I’m not understanding the output correctly

  2. Given that there is a fairly violent action, moving the gearbox/motor from rest to stop in about 0.1 seconds, could there be some overrun/slack in the gearbox that allow the motor to continue turning after my 7mm/10 deg pull, and then some sort of backlash then runs the motor in the opposite direction?

Any thoughts please?

The link to the motor is incorrect and can’t edit OP so here is is again:

12V, 38RPM 120:1 Gear Motor w / Encoder - RobotShop

Hello @zoso ,

Thank you for your reply.

It’s best to consult the manufacturer directly to assist you with this issue:
support@cytron.io
forum.cytron.io

Let us know if you need further assistance.

Sincerely,

1 Like

Thanks, I just did that.

1 Like

In case anyone else has a similar issue, got this from Cytron:

For your information, the latest batch of this motor has some changes to the number of pulses per revolution (PPR).

If you noticed that from the product page, the encoder resolution is 7 PPR instead of 3. So your calculation is correct and aligned with what you get.

1 Like