# Estimate magnitude/phase on single frequency

## Recommended Posts

Hello

I excite a system with a sine wave at a fixed frequency and I have the signals of excitation and response.

What is the best way to calculate the magnitude and phase of the system at this frequency? (Similarly to a frequency response estimation, but with only one chosen frequency).

##### Share on other sites

I would use a lockin amplifier with some sort of comms interface:-) Failing that you could simply implement the same algorithm - multiply your signal by sine and cosine waveforms at the refetence frequency, low pass filter, calculate the mean and feed into x,y to polar co-ordinate convertor. Altetnatively, up-sample the signal, feed into an FFT, index out the right (complex) element and covert to r,theta.

Edited by gb119

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
• ### Similar Content

• Hi everyone,

I have learnt a lot about LabVIEW programming from this website and this forum. However, this is my first post on the forum.

So I have managed to get a signal, which is in time domain, with the amplitude in volts. It looks like the in the picture attached.
The above signal is the raw signal, and the one below is a cropped section of the part of the above signal I am interested in.
The increase in amplitude seen in the cropped section is an "echo" of the transmitted signal. The cropped signal starts again from time=0, but that can be taken care by simply adding the time, at which this signal was cropped.
The task is to find at what "time" does the echo occur.

Since the "echo" is spread over a considerably large distance over the x axis (time axis). I need to process the signal with some algorithm so that the echo can be measured at one reference point everytime, which represent the position of the echo on x axis.

I am trying to use a peak detector VI and I am getting the value of indexes, where the peak is occurring. However, only peak detection is certainly not reliable. Any inputs on what methods or combination of methods could be used for this task??

Any help would be greatly appreciated!!

Regards

Ishan

×