Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

Motor noise on encoder ground, is it a problem?


billhinge

Recommended Posts

Hi

I've been modding my CG5 to run with a tracking belt and in doing so I had to reverse the motor polarity and the A & B encoder wires

When determining which were the A & B encoder signals I hooked up to a logic analyser which showed them quite easily

However, there appears to be noise on the encoder ground due to it sharing with the motor. Is this likely to be a problem and should I attempt to mitigate it with shielding and capacitors on the motor etc or is this just wasted effort ?

The encoder ground is the yellow ch4, orange ch 3 is the 5v line 

post-9935-0-95806600-1390906875_thumb.pn

Link to comment
Share on other sites

I did a more detailed measurement today

Yellow ch 4 = encoder ground

green ch 5 and white ch 9 are encoder

ch 6 and ch 7 are motor 

The spikes on the encoder ground are of duration 20 ns, typically the encoder signal is of duration 20 ms or more ( i.e. factor of 1000 )

Also notice the bounce on the motor pwm channels (greatly magnified (ch 6 & ch7)

Everything seems to work so I'll assume the noise is of no consequence 

PS - the gap on the first pic is due to me switching motor direction part the way through the measurement 

post-9935-0-54863700-1390946345_thumb.pn

post-9935-0-65673300-1390946355_thumb.pn

post-9935-0-86054200-1390946365_thumb.pn

post-9935-0-15568200-1390946379_thumb.pn

Link to comment
Share on other sites

On the motor and encoder assembly there are 6 wires - The motor is fed from a good quality 13.8v psu 

2 motor wires

encoder  5v

encoder ground

encoder A & B

attach probe to each wire and measure (checked with logic analyser manufacturer that this is correct process and that the spikes are likely to be noise). As I said, there is a factor 1000 in the duration of spikes to the duration of the encoder pulse

The rationale for using capacitors is found here 

http://www.pololu.com/docs/0J15/9

and at the bottom here

http://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino/faq

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.