10-27-2006 01:43 PM
I am trying to measure speed or frequecy of an DC electric motor using Labview express vi (daq assistant). We are taking the reading from one of the hall
sensors on the motor (fires 15 times per revolution). I have a strong square wave with an ampiltude of roughly 7 VDC when viewed by an oscilliscope (see
attached file). The problem is that the tops of these square waves have some noise in them. The noise amplitude appears to be nearly 1/2 a volt. This
1/2 volt noise is triggering a frequency count that is ficticious. Is there a way to change the amplitude required to trigger a count so that only the large voltage peaks are counted?
Thanks,
Patrick
10-31-2006 02:54 PM
10-31-2006 03:17 PM
Thanks for the reply Travis.
I'm definitely classified as a new comer to Labview and data acquisition in general.
The device I'm using Is the DAQPAD 6015 with mass termination and a SC2345 carrier. I'm attempting to read the frequency via one of the on board general purpose counter timers. I've recently been informed that this might not be the best method for doing this because apparently there is no way of filtering signals when using this method.
The counter actually works fine until I place the motor under load and it gets a little bit of noise in the signal. Even then it sometimes reads correctly, but sporadically jumps to a much higher frequency (counts the small spikes in the noise).
It has been recommended that I try to use one of the AI channels instead. If I have to do this I will, but will have to purchase more hardware to do so.
Patrick
10-31-2006 04:06 PM
11-01-2006 07:31 AM
Yes,
The hall sensors are powered from the same supply as the motor, but they are integrated into the motor circuit board so I am unable to separate the power sources.
This motor is a very different configuration. All windings, hall sensors, etc are printed on a circuit board. Instead of the motor windings turning, the magnets turn.
Patrick
11-01-2006 06:42 PM
11-02-2006 10:35 AM
Could it be that 7 volts is above the specification for TTl logic levels??? This may cause unexpected glitches in counting.
Personally I would limit the counter input to 5 volts- ideally you could use an optoisolator to lower the value to 5V AND to isolate the voltage going into the counter from the noisy power running the motor.
01-12-2008 08:34 AM
01-14-2008 11:47 AM - edited 01-14-2008 11:47 AM
Hi,
I would like to advise you to start a new thread for your question, since you have a new issue, it helps us keep track of customer problems. Also there is more information needed to help you measure frequency, for example: What board do you have? What is the range in frequency that you might be expecting? Is your signal TTL or differential?
Some resource in frequency measurements are: Making Accurate Frequency Measurements and Period Measurement with a Counter.
Don't hesitate in posting your questions in a new thread.
I hope it helps