Hall Effect Sensor on DC motor case vs EMF -> Tachometer?
squidx
Posts: 33
I'm interested in using a Hall Effect sensor, (I've ordered the Melexis from Parallax for a start), to get the speed of a DC motor. Usually, I think you'd glue a magnet or something on the shaft, but that would off-balance my small motor, and I'd rather go for something a bit more subtle.
Does anyone know if these sensors are sensitive enough to be triggered by the magnets of the motor passing by as it runs? Would gluing it to the case of the motor be close enough to sense the mag field? Or maybe carefully cutting a hole in the case would do it? (Obviously, I'm thinking of a motor with moving magnets, not moving coils).
Alternatively, has anyone measured back EMF on a DC motor? I've hooked up a transistor between the negative wire and ground on mine and running the output through a speaker I have around, I am getting some interesting clicking noises, but I don't have an o-scope to confirm the validity. Also, I'm getting a steady hum, so I probably need to put some resistance on the transistor trigger.
Any thoughts on this would be helpful.
Alex
Does anyone know if these sensors are sensitive enough to be triggered by the magnets of the motor passing by as it runs? Would gluing it to the case of the motor be close enough to sense the mag field? Or maybe carefully cutting a hole in the case would do it? (Obviously, I'm thinking of a motor with moving magnets, not moving coils).
Alternatively, has anyone measured back EMF on a DC motor? I've hooked up a transistor between the negative wire and ground on mine and running the output through a speaker I have around, I am getting some interesting clicking noises, but I don't have an o-scope to confirm the validity. Also, I'm getting a steady hum, so I probably need to put some resistance on the transistor trigger.
Any thoughts on this would be helpful.
Alex
Comments
http://www.melexis.com/prodmain.aspx?sPN=MLX90217
Here is a schematic for a back-emf motor control PCB.
As for back EMF, this idea has been explored by some. www.acroname.com/robotics/info/articles/back-emf/back-emf.html. I think it can be done several ways, one involving a quick ADC measurement of the back EMF voltage to determine angular velocity (this method could be prone to "drift" from integrating the angular position approximations over extended periods of time), and another that somehow "counts" the passing of the brushes over the gaps in the commutator (try googling for exact details, I can't remember). However, the first method could be dependant upon temperature (is it?) and the contact of the brushes on the commutator, which degrades over time, and I haven't seen much about the second method. I think it's because of those factors that could cause inconsistency in the readings that back EMF techniques haven't been widely used.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm new to the propeller!
I have doubts that you could easily use the magnetic field within the motor to measure RPM.· Sure, you have a rotating magnetic field, but it is adjacent to a strong and opposing stationary field.
Optical sensors are easily available and multiple holes can balance the weight. The only drawback is that they may require a cleaner environment.
If you want to use your computer as an inexpensive O-scope, their is free software availabe that works from the sound card.· While you are roughly limited to audio frequency range, that is certainly enough for RS-232 work and motor rotation. I've build a little two channel opto-isolated input to my computer.· If I really connect something wrong, the isolators take the damage, not the computer.
I've considered measuring back-Emf by supplying a PWM drive to the motor and reading the back-emf inbetween on pulses with an ADC.· From what I understand, back-emf is the opposite polarity as the voltage that is driving the motor, so blocking diodes might help limit the input to the ADC when the motor is operating in a driven forward mode.· I've know idea it this could be worked out with an h-bridge in place.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Post Edited (Kramer) : 3/26/2008 9:14:30 AM GMT