Measure Phase Angle: No Oscilloscope Needed

In summary, you can measure the phase angle between two signals of the same frequency without an oscilloscope by computing the FFTs of the signals and measuring the time difference between the zero crossings.
  • #1
EE4life
63
2
How can I measure the phase angle between two signals of the same frequency without an oscilloscope?

Thanks in advance
 
Engineering news on Phys.org
  • #2
Try this circuit.
There are many alternatives if you google "Phase detector circuit"
The general principle for doing this in analogue is to square the two inputs and use an RS flip flop. Integrate this output (RC) and it will stay up or down, more or less, according to the time between the incoming edge to the R and the incoming edge to the S input. It's a pulse width measurement, effectively. When the inputs are in in anti phase, the output of the integrator will be half way between the upper and lower limit.
The range between upper and lower limits will depend on the integrator time constant and the test signal frequency and you could calibrate this by hand, to suit the operating frequency.

There are digital realisations of this, for instance, using a gated high frequency clock, to provide the time difference between the two rising edges and a count of the clock over a full cycle to give the full period. The ratio of these two will give the phase as a fraction of a complete cycle. If your operating frequency is not high then you could use a cheap processor to do this. It would be easy to give yourself a digital readout, doing it this way.

The solution you choose, depends upon your level of expertise and what you actually require as an output - there's no limit to how accurate and complex you can get. It wouldn't be hard to get more accurate than reading off an oscilloscope screen, though.
 
  • Like
Likes 1 person
  • #3
Thank you for your reply. I kept searching "phase measurement" in google instead of phase detector, so I was force to post.

Since the signals will have frequencies less than 1 Mhz, I think the digital solution is the easiest for me. However, I was kind of hoping that there would be a off the shelf phase detector for this frequency range (1kHz-1MHz), converting phase to dc voltage signal.

I am currently using a agilent MSO oscilloscope for this measurement. Certainly easy, but expensive. Thank for your comments
 
  • #5
meBigGuy said:
Here is a $15 part. You can buy a PC board for it also

http://www.minicircuits.com/pdfs/SYPD-1.pdf
http://www.minicircuits.com/pcb/WTB-12_P02.pdf
http://www.minicircuits.com/MCLStore/ModelPriceDisplay#

I'm not sure that's much more than a ring modulator, which is handy for some things (as part of a Phase Mod demodulator in a receiver) but it's hardly a measuring device. It needs a fair amount of support circuitry for it and some serious calibration before it will give a voltage value that's directly related to phase.

@EE4life: if you are after measuring equipment then it's a rather different world. I immediately thought of the Hewlet Packard Vector Voltmeter, which would do the job fine. I think the lowest frequency might fit your requirements (1MHZ to 1GHz, iirc). They are a bit ancient but available on eBay for a few hundred $ - I had a trip down memory lane, to the 80s when there were two in my lab and used every day.

It's a big jump from a ring modulator to a box that gives you a 'number' for a result and I couldn't find anything in between. You may be lucky with a deeper search using the term Vector voltage measurement etc but it may be necessary to build something yourself.

A 4 quadrant analogue multiplier would be another possible way through. Cheap as chips to buy and there will be many available circuit designs, I'm sure. But circuit building isn't everyone's cup of tea - when you just want a result . . . . .
 
Last edited by a moderator:
  • #6
Digitise the two signals with a PC sound card or cheap USB dual channel oscilloscope.
Then compute the FFTs of the two channels to get the phases.

If the signal has a complex waveform then there are many ways to process or correlate using FFTs that can determine the precise phase difference.
 
  • #7
The off the shelf parts have a low limit of 1MHz.

I am not really a circuit building guy at all. I would rather an arduino do the signal processing for me. Generally, what would the code look like? The signals are sinusoidal. However, an even the new arduino's have a theoretical sampling frequency of 1MHz, which is too small for my application, and who knows about the resolution. A fast DAQ would do it, by at that price, I might as well use a usb oscilloscope

I think I will loop the reading of two analog inputs and note the difference in time between the zero crossings? I would then send an analog output proportional to the time difference. I know the frequency (from func gen) so I can then calculate the phase angle.
 
  • #8
Baluncore said:
Digitise the two signals with a PC sound card or cheap USB dual channel oscilloscope.
Then compute the FFTs of the two channels to get the phases.

If the signal has a complex waveform then there are many ways to process or correlate using FFTs that can determine the precise phase difference.


That's a good idea. If the signals were clean, you could get away with under sampling and altering the nyquist filter on the adc inputs.
 
  • #9
IIRC the HP Vector Voltmeter used an RF local oscillator to synchronously convert the two channels down to 1 kHz. It then locked it's reference LO using the 1 kHz reference signal and made the phase comparison at 1 kHz.
 
  • Like
Likes 1 person
  • #10
Baluncore said:
IIRC the HP Vector Voltmeter used an RF local oscillator to synchronously convert the two channels down to 1 kHz. It then locked it's reference LO using the 1 kHz reference signal and made the phase comparison at 1 kHz.

I seem to remember being hit by the minimum frequency limit on occasions but our interest was largely at IF frequencies of 10.7Mhz or much higher UHF frequencies. As I remember, it was cleverer than just a LO and was based on sampling. It didn't require a wide sweeping LO - just a lot of HP cleverness as to how it locked its sample pulse train (Frequency Comb) in order to get a sensible LF signal to analyse. It was very clever at locking in under all sorts of different circumstances.

The only problem I can see with the FT approach would be if you needed a constant readout of the phase. But it's a great solution as all the hard stuff is soluble with software.
 
  • #11
Hmm, so I guess there is not cheap and/or easy solution. I guess I will need to sample the signals quickly and determine the phase digitally. I wish there were a plug and play phase angle to DC converter on the market.

Thank you for your comments and suggestions
 
  • #12
EE4life said:
Hmm, so I guess there is not cheap and/or easy solution. I guess I will need to sample the signals quickly and determine the phase digitally. I wish there were a plug and play phase angle to DC converter on the market.

Thank you for your comments and suggestions

If you filter it right, you can under sample and still get the right answer. This is a bit 'advanced' but is the basis of some sampling scopes. If you are embarrassed for sampling rate then you could look into that possibility. (It is quite 'legit')
 
  • Like
Likes 1 person
  • #13
EE4life said:
Hmm, so I guess there is not cheap and/or easy solution. I guess I will need to sample the signals quickly and determine the phase digitally. I wish there were a plug and play phase angle to DC converter on the market.
Come on, with a name like EE4Life surely you shouldn't be averse to learning a bit of analog design. ;)

You haven't told us a lot of detail about the nature of the waveforms you're dealing with, noise levels, frequency stability etc. If however your waveforms are reasonably amenable to "squaring up" (not meaning mathematically squaring, but rather converting to square waves via comparator or schmitt trigger) then a simple XOR the two resulting waveforms will give you (when filtered to extract DC) the absolute value of the phase displacement. You can then use a simple D-flipflop (one wave to the D input and the other to the Clk input) to determine the sign of this phase.
 
Last edited:
  • Like
Likes 1 person

1. What is phase angle?

Phase angle is a measurement of the relationship between two sinusoidal signals. It represents the delay or lead of one signal in relation to the other, and is typically expressed in degrees or radians.

2. How is phase angle measured?

Phase angle can be measured using an oscilloscope or through mathematical calculations. With an oscilloscope, the two signals are displayed on the screen and the phase angle can be read directly. Without an oscilloscope, the phase angle can be calculated by measuring the time delay between the two signals and converting it to degrees or radians.

3. Can phase angle be measured without an oscilloscope?

Yes, phase angle can be measured without an oscilloscope. This can be done through mathematical calculations using the time delay between the two signals. Additionally, there are also online tools and software programs available that can calculate phase angle.

4. Why might someone need to measure phase angle?

Phase angle is an important measurement in many fields such as engineering, physics, and electronics. It can be used to analyze the behavior of signals, determine the stability of a system, and troubleshoot issues in electronic circuits.

5. What are some applications of measuring phase angle?

Phase angle measurements are used in a variety of applications such as power systems, audio and video signal processing, control systems, and telecommunications. It is also commonly used in medical imaging techniques such as MRI and ultrasound.

Similar threads

  • Electrical Engineering
Replies
10
Views
4K
  • Electrical Engineering
2
Replies
54
Views
5K
  • Electrical Engineering
3
Replies
78
Views
3K
  • Electrical Engineering
3
Replies
77
Views
5K
  • Electrical Engineering
Replies
9
Views
1K
  • Electrical Engineering
Replies
8
Views
721
  • Electrical Engineering
Replies
12
Views
1K
  • Electrical Engineering
Replies
6
Views
666
  • Electrical Engineering
Replies
2
Views
588
  • Electrical Engineering
Replies
1
Views
801
Back
Top