Electronics > Mechanical & Automation Engineering

Hall sensor jitter on dc motors

(1/2) > >>

qpit3a:
Hi,

I have been attempting to use the hall sensors on a robot motor to keep the speeds of two motors in step.  I am using interrupts on a KL25Z to determine the pulses and I have checked that I can measure frequencies way higher than the pulse rate would be.  However my issue is that the signals from the sensors jitters and has high frequency noise (the high frequency noise might be causing my interrupts to trigger incorrectly I guess) . So my questions is if I pay enough money can I expect to be able to get clear motor speed readings, ie should I be able to control the speeds of two motors for a robot using the output of the hall sensors?   Do I perhaps need to process the pules maybe a Schmitt trigger or something?  Is there a recognized good brand of motors with sensors? 

Thanks for any help.

james_s:
I would start by trying a low pass filter on the signal from the hall sensors. A very simple passive filter consisting of a resistor and a capacitor ought to do.

floobydust:
Another issue can be the Hall sensors picking up the motor's PWM from their magnetic field. It will radiate some switching noise. You can try a shield (steel) on the back of the Hall or move it and its magnet somewhere else.
It could also be the wiring to the Hall sensors, that must be kept far away from the motors' wiring. If there is a pullup resistor on the interrupt line, make sure it's not too high value. I would start with a 10-33nF cap to GND on the signal.
It takes some time to figure out the source of the interference.

Doctorandus_P:
Start by using an oscilloscope on your hall sensor signals.
Maybe it's even "mechanical" such as an eccentric magnet disc or differences in the strength of the magnets.

David Hess:
Hall sensor jitter should be insignificant compared to motor speed.  Hall effect sensors are slow, but motors are even slower.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod