03-24-2010 06:32 PM
Hello, I with 0 experience with DAQ. I am looking for a solution that can capture the electric frequency coming out of the power socket. In the US this should be 60Hz. It needs to be able to interface with a computer where the end result will be an application with a visual meter of the current frequency that will send a alert if the frequency increases/decreases out of a given threshold, say +/- .5Hz from 60Hz. Also the device needs to be completely automated where you plug it in and it will continuously measure the frequency without someone having to continuously adjust knobs or something.
I have no idea what product to look into so any suggestions of what can accomplish this will be greatly appreciated. I know this is the hardware forum but are there any existing apps that can use the data captured and provide this monitoring and alert functionality? If not I'm sure we can code our own.
Thanks
03-24-2010
07:15 PM
- last edited on
02-10-2025
11:52 AM
by
Content Cleaner
Hi,
See this link for current measurement using CTs, NI hardware & LabVIEW: https://www.ni.com/en/shop/data-acquisition/how-to-measure-voltage--current--and-power.html
Once you have the waveform on PC, you can easily calculate the frequency (in LabVIEW or SignalExpress) and set thresholds & alerts.
Does it solve the issue?
03-24-2010 07:34 PM
03-24-2010
07:48 PM
- last edited on
02-10-2025
11:53 AM
by
Content Cleaner
You can use NI 9227 or similar with a USB carrier. You can set it up yourself (or by any electrical technician). The advantage of using this type of instrument is that one can easily add/modify the functions and parameters in LabVIEW using basic functionality and can make use of the carrier for different purposes.
You can also use many devices to different PCs using a LabVIEW application.
03-25-2010 12:01 PM
thanks again, so you are saying I can get a NI 9227 and a USB carrier to connect to a PC? Wouldnt I need some kind of special probe to measure the circuit from the power socket?
03-25-2010 12:23 PM - edited 03-25-2010 12:33 PM
Here is my approach: I used the soundcard mic input to catch line hum and analyses it.
I used a headphone plugged into the mic 😛 and placed it closed to a wall plug transformer (A traditional heavy one, not the switched ones 😉 , somewhere I have one of these old inductive telephone pickups, they should would work better.
The program catch 2 seconds of hum and noise, bandpass filter for the line freq and uses the Extract Single Tone Information VI to get the main frequency.
Things to add and improve:
here you can see that my use-the-headphone-as-magnetic-pickup has a real bad SNR 🙂 red is signal before white after bandpass filter
03-26-2010 03:22 AM
here is the chart I found this morning...
And don't trust the absolute value!! The time references of ordinary soundcards are BAD BAD .
And here a traditional solution:
03-26-2010 01:38 PM
wow so you used your headphones to listen to the AC sound frequency from an ac adapter? very creative!
but I dont understand how the headphones captured the sound, wouldnt you have to use a mic?
03-26-2010 03:04 PM
The headphones have a coil of wire in them, that coil will produce a voltage in the presence of a changing magnetic field.
-AK2DM
03-29-2010 03:13 AM
nwill002 wrote:wow so you used your headphones to listen to the AC sound frequency from an ac adapter? very creative!
but I dont understand how the headphones captured the sound, wouldnt you have to use a mic?
A dynamic loudspeaker is also a dynamic microphone* 😉
As AK2DM already mentioned: Here I (ab)used the coil of the speaker as pickup for the magnetic field.
*: Same is also true for electrostatic speaker/ condensator mic, this is used for high precision calibration. However usual ECM mic have a build in FET - amplifier, so these are really one way.
Yesterday we (a 12a boy and me) light a LED with a DIY battery from copper coins, paper, aluminum foil , salt and vinegar. What a wonderful rainy Sunday project 🙂
The joy of engineering is to do what you want with the things you can get.:D