Vibrating wire sensor idea- How would you measure frequency?
Christof Eb.
Posts: 1,191
Hi,
the idea is to build an experimental "vibrating wire force sensor". This is a wire string. Its frequency is proportional to the square root of the applied force. The vibration shall be amplified from a magnetic pickup. Either sigma delta adc or simply digital input to the prop. Sounds easy todo? There will be noise. How would you measure the frequency (somewhere about 200-20000hz?)?
I wonder if it is possible to do something like phase locked loop with the counters?
Resolution 0.01 per cent?
Some ideas welcome!
Christof
the idea is to build an experimental "vibrating wire force sensor". This is a wire string. Its frequency is proportional to the square root of the applied force. The vibration shall be amplified from a magnetic pickup. Either sigma delta adc or simply digital input to the prop. Sounds easy todo? There will be noise. How would you measure the frequency (somewhere about 200-20000hz?)?
I wonder if it is possible to do something like phase locked loop with the counters?
Resolution 0.01 per cent?
Some ideas welcome!
Christof
Comments
-Phil
One could essentially "Pluck" the steel string with a magnetic pulse from a solenoid coil.
Then, immediately measure the frequency during the decay period.
Magnetic reluctance pickups can be directly coupled capacitivly into a prop pin.
Or, a capacitive pickup directly coupled into a prop pin.
I haven't done this with a prop but I have done this with another micro and it worked well.
Duane J
Here you go :
http://www.daqarta.com/dw_freq.htm
A couple of years back, we helped Bob expand the frequency counter feature...
If you are patient, you can get surprising results from a sound card.
Christof
"fast and accurate measurement of a frequency somewhere in a hearable range"
I don't get what the source is for the vibrations in the first place. I think you need to fully define what exactly it is you're trying to do.
See #5
By using a Sound card, or similar 'good ADC' scheme, you can interpolate to get a more precise zero crossing, than the sample-rate indicates. You can add a simple bandpass filter or tone control, to lower noise and get cleaner zero points.
One issue with this approach is that you want each "ping" to die away substantially before the next, but the string may have a long decay time (certainly at the fundamental).
Here is a diagram from the Campbell Scientific manual for their vibrating wire interface, the AVW1:
The interface works by scanning the drive frequency quickly across a range of frequencies, about 1 octave in the 1 to 10 kHz range, and subsequently looking for the ringing at resonance. The Q factor of these things is remarkable. They claim about 300 to 1000 cycles for the amplitude to die down to 1/e. (That number of cycles is equal to the Q factor.) A more recent interface also scans but then does what amounts to an FFT on the data to perform a spectral analysis for greater precision. All this is done over two wires, and two more are for a thermistor for temperature compensation. I see that Geokon now offers a module that self resonates and transmits back a frequency without needing an external excitation.
I had discussions with a customer about building an interface to these using the Propeller, but they did not get the contract so I never got to play with it. :-[ . My crazy idea at the time had been to feed a wide spectrum random noise from the Prop down the line, to excite resonance, like a sea shell.
thank you for your comments!
I have posted now my experiment:
http://forums.parallax.com/showthread.php?138702-A-Physics-Experiment-Measure-a-Force-or-a-Weight-with-the-Propeller
I could use the method to measure time for a certain number of cycles to get the frequency.
Mark- I would like to use your direction of thought, but when I switch the same coil after the pluck back to reading there is a recovery time for the opamp. During this time there is no signal for several cycles.
Christof