PHASE METER--Project 133 (ETI/TEST GEAR, 1977)

Home







By Dr. P.C. Bury, Physics Dept., Victorian College of Pharmacy

This instrument measures phase angles of voltage, current or power from sub audio frequencies to 100 kHz or beyond. Readout may be either digital or analog.

THE POWER being dissipated in an ac circuit is one of the more difficult quantities to measure with normal laboratory equipment - unless the circuit is purely resistive. This is because the power dissipated is given by the expression P = IV cos0 where I is current, V is voltage and 0 is the phase angle between them. Theta (0) varies from 90° for an ideal inductance, through 0° for a resistance, to -90° for a capacitance. Since cos - ± 90 = 0, both inductance and capacitance dissipate no power at all. They store it during one half-cycle and release it to the source again during the following half-cycle.

Therefore, in order to measure power, one either needs a wattmeter - an expensive instrument if any great accuracy is desired - or a knowledge of 0, the phase angle. While 0 can be estimated from a dual trace oscilloscope, this article describes a simple and accurate way of measuring it directly.

In addition to power measurements, measurement of the phase difference between two voltages is useful when working on filters, feedback loops and phase-shifting networks: it can be used to measure the Q of an inductor, and hence check for shorted turns, or the loss factor in a capacitor. A further application of growing importance in the audio field is the phase of the sound from individual drive units in a loudspeaker enclosure, or members of an array of loudspeakers.

The phase relationship between two voltages is conventionally measured by detecting when each crosses zero voltage ( see Fig. 1) in one direction, and arranging for one voltage to turn a flipflop ON and the other to turn it OFF. The percentage of time that the flipflop is on, and hence the average value of the flipflop output, is proportional to the phase difference between the two voltages. This method has three inherent disadvantages -

(i) Voltages with little or no phase difference can give readings of 0° and 360°, or a reading which varies randomly between these limits.

(ii) Any noise on either signal can cause false triggering and jittery readings.

(iii) Any harmonic distortion can pro duce a shift in the zero crossing point and hence an error of 0.6° for each 1.0% of distortion.

The method used in the circuit described here is to form the exclusive- OR of the square waves produced by zero crossing detectors from the two voltages.

For those who have not encountered the exclusive - OR ( XOR) function be fore, this is a logic function ( in the same way that AND, and, OR are logic functions) that gives an output ( logic 1) if its two inputs are different, but not if they are the same. Thus two square waves which are in phase will produce no output: two which are exactly out of phase will produce a maximum continuous output; and intermediate phases will produce an output proportional to the phase difference ( see Fig. 1). This system has the advantage of being almost immune from noise problems since no triggering or latching circuits are involved.

Because the circuit response is symmetrical about 0° and 180°, there are no output discontinuities or ambiguities of reading. However an additional flip-flop is required to sense which voltage is ahead of the other and indicate it. The circuit is implemented with CMOS gates which have the advantage of being able to be used in either linear or digital mode.



Fig. 1. Comparison of the conventional 'flip-flop' method and the exclusive- OR method used in this project.


Fig. 2.

NOTES: POWER RAILS NOT SHOWN IC1, 74C04, PIN 14 +5.6V PIN 7 OV IC2, 4030, PIN 14 +5.6V PIN 7 OV IC3, 4013, PIN 14 +5.6V PIN 7 0V 01, BC548 D1, 1N914

*SEE TEXT

CONSTRUCTION

We assume that only the more experienced constructor will build a some what specialised instrument of this type, and that they will be capable of assembling, handling the CMOS, with due care, boxing it without step by step instructions. The pc board can be copied from the diagram ( Fig. 3), or hopefully will be available through commercial channels. The layout of the components is shown in Fig. 4.

============

HOW IT WORKS

The two inputs are first squared. For example the reference input is amplified by gates IC1/2, IC1/4 and IC1/6 (see Fig. 2) and then applied to IV2/2, one of the spare EX.OR gates whose other input is grounded. This conveniently behaves as a Schmitt trigger type of bistable circuit. The average of the output of this gate is formed by R8 and C4, and this is inserted via R6 as the dc level at gate IC1/2.

This produces two important con sequences. Firstly it forces the output of IC2/2 tci a symmetrical 180°on/180°off condition which is maintained stably by almost complete dc feedback. And secondly, because we now have a true squaring circuit rather than a zero-crossing detector, all errors due to even-order harmonic distortion are cancelled. R4 and RV2 are used to adjust for input offset and set the exact 1800 condition.

IC gates IC1/1, IC1/3, ICl/5 and 1C2/1 process the signal from the other channel in an identical manner, and the two squared outputs are fed to gate IC2/3 which is the gate that forms the EX.OR of them. Its output is filtered by R11 and C6 and a voltage proportional to the phase difference of the inputs may be taken from across C6. RV3 is used to set this to a convenient value -- for instance it may be set to 180 mV for a 180° phase difference and read it on a digital multimeter. Alternatively up to 50 µA can be drawn to give a reading on any suitable meter or multimeter. The use of an external meter is of course a much more economical proposition.

In order to detect which of the inputs is leading the other, the two voltages from the squaring circuits are also fed to the D type flip-flop IC3/2. One voltage is used for the clock input and the other as a data input. This type of flip-flop is really a data-latch, and whatever voltage is present at the D input at the moment when the clock voltage changes from low to high is held until the next clock pulse. Thus if the D input stays low until after the clock input goes high, the output Q will always remain low showing that the D input lags the clock input. The complementary output Q will be high and this is used to turn on the transistor and LED indicating this lag condition. Since any noise arriving at the clock input can cause spurious re setting of the flip-flop, it is preferable to use a clean voltage to drive it. This is why this channel has been designated the reference. Noise on the other channel is almost completely ignored.

These then are the basic EX.OR functional parts of the phase-meter, and this would leave one flip-flop unused. In fact it turns out that there are two functions that these gates can usefully perform. First, for setting up the input squaring circuits: if the flip-flop is slaved to the squaring circuit, the exact 180° condition can be set when the complementary outputs Q and Q have equal average values. Secondly these gates can be arranged to turn the flip-flop on and off to give a conventional phase meter circuit output. While this does not give as accurate a reading, it does give one which is of opposite polarity for leading and lagging voltages and which can therefore be recorded graphically and unambiguously on an instrument such as a chart recorder. This is therefore designated the recorder output.

In operation one input of the EX.OR gate IC2/4 is connected through C5 to the output of one of the squaring circuits.

Its other input is tied to the positive rail so that it functions as an inverter with respect to the other input ( the EX.OR is a flexible beastie isn't it?). With C5 connected to the output of IC2/2 ( the CAL position), when IC3/2 goes negative C5 and R9 differentiate this, and IC2/4 gives a short ( 1 / 2 µsec) positive spike, which is used to set IC3/1. Since the data input of this flip-flop is always low, the clock pulse will always reset it again. Thus the flip- flop is slaved to the reference input as it is set when IC2/2 goes low and reset when IC2/2 goes high, and this enables the 180° duty cycle to be set (see below). When C5 is connected to IC2/1 ( the USE position) the flip-flop will have equal outputs at Q and Q if the two inputs are exactly in phase. It produces a positive value of Q relative to Q when the input leads the reference voltage and a negative value when it lags, the average voltage between them being proportional to the phase difference. R12, R13, C7, C9 and RV4 are used to filter this output and set it to some convenient value.

Of the other components, R10 is used to delay the voltage to the clock inputs slightly to compensate for the set-up time at the data inputs, and the LM309 regulator and associated components holds the supply voltage constant at just under 6 volts. This is important as the full-scale readings from the outputs is proportional to the supply voltage. The circuit can be run from a 9 V battery and draws about 20 mA with the LED off and 40 mA with it on. Alternatively any power supply that produces between 9 and 30 volts may be used, but it should be a floating supply to simplify the measurement of the phases of currents, and R16 and the voltage rating of C10 should be increased if more than 15 volts are used.

========


Fig. 3.


Fig. 4.


Fig. 5. Details of the shield between IC1 and IC2.

---------------

PARTS LIST

ETI 133

Resistors all 1 / 2W 5%

R1 22 k R2 1 M R3 22 k R4- R6 1 M R7,8 220 k R9 4k7 R10 3k3 R11 68 k R12,13 39 k R14,15 10 k R16 R17 R18 470 1 k 68

Potentiometers

RV1,2 100 k Trim RV3 10 k " RV4 4k7 "

Capacitors C1,2 C3,4 C5 C6,7 C8 C9 C10,11 C12 330 n polyester 221116 V electro 100 µceramic 1011 16 V electro 4µ7 16 V 104 16 V loop 25 V 220 n polyester

Semiconductors IC1 74C04 (CMOS) IC2 IC3 IC4 01

01 LEO 4030 " 4013 " LM309k BC548 1N914

Miscellaneous PCB ETI 133

Case to suit Terminals and sockets to suit

-------------------------

Some care is needed to keep the input leads as short as possible as the gain of the input stage is extremely high and oscillation can occur if they become coupled to the later stages. To help isolation, small metal sheets, about 3 4" x 1 1/2" should be soldered above and below the board between IC1 and IC2. These can conveniently be attached to the link between points A and B in the circuit as shown in Fig. 5. For the same reason, the CAL and USE points should not be taken to a panel-mounted switch but the connection changed on the board itself. We have used two molex pins at these points, marked X in Fig. 4, which work quite satisfactorily.

When the board is assembled, it can be mounted behind the front panel, supported directly by stout wires to the two inputs and the recorder out put. Connect a power supply and check that the voltage across C11 is six volts or just under. Calibration and testing are simplified if the leads of C11 and the positive lead of C3 and C4 are left long enough to be able to clip a lead thereon.

CALIBRATION

To calibrate the instrument, first connect capacitor C5 to the CAL position, the meter to be used to the recorder output and a signal of about 100 mV at about 1 kHz to the reference input. Adjust RV1 to give a null reading on the meter. Disconnect C5, leaving the end free, and adjust RV4 to give a convenient reading on the meter to correspond to 180° (eg 180 mV or 45 pA). If this is hard to set exactly, connect a fixed resistance in parallel with RV4 to give better control for any individual meter.

Next connect jumper leads from the positive sides of C3 and C4 to either side of C7 ( i.e. one to V+, the other to V-, it doesn't matter which), connect the meter to the main output and adjust RV3 to give a 180° reading (with parallel resistance if needed as in the previous paragraph). Finally, remove the two jumper leads and connect one between the two inputs, connect C5 to the USE position and adjust RV2 slowly and carefully until the LED is just on the point of turning on and off. The meter should now be reading less than half a degree: if not, repeat the calibration procedure.

As a check of proper operation, you should now be able to vary the communal input from millivolts to volts and from sub-audio to over 100 kHz without the phase difference showing more than about one degree. Another excellent test is to connect different signal generators of different frequencies to the two inputs. The output should read exactly 90°, as the signals will be in phase exactly as often as they are out of phase. Our prototype failed this test, reading 92°, and it was only after considerable trouble that we traced this to non-linearity in our trusted ( and expensive) multimeter. We guess the moral is to use a digital meter if accuracy is really important. Note that the recorder output is undefined under these conditions.

The high-frequency accuracy is limited by the rise and fall times of the CMOS outputs, by any mismatch in R1 and R3 and their stray capacitances, and by propagation delay differences between the two input and squaring circuits. These, on the two units tested, have been about 50 nsec. This would be equivalent to 1° phase error for every 25 kHz of signal frequency. Thus the meter is usable, but certainly not accurate, up to about one megahertz.

Input protection is provided by resistors R1 and R3 and the internal diodes in the 74C04. We have tested this system to inputs of 80 . Vrms before any degradation of the gates occurred, but a value of say 25 Vrms ( 70 V pip) should be regarded as a fairly safe working maximum. If IC1 is mounted in a socket, it can be simply changed if accidently overloaded. Under no circumstances can 240 V be applied directly to the inputs! When using the instrument for measuring phase in 240 V mains circuits, common sense precautions should be observed to ensure no damage occurs to the instrument or the operator! First use a mains testing screw driver to identify the active lead: secondly always switch off the power when connecting or making any alterations to the circuit under test: thirdly make sure that the resistor R makes reliable contact and cannot accidentally become disconnected, otherwise the reference input can get the full mains voltage through the load. Finally use a voltage divider or an oscilloscope X10 probe to reduce the voltage to a safe level.

The circuit shown in Fig. 6 can be set up on an insulating board with a socket for the load to be plugged into.

Resistor R is chosen to give a voltage of 1 volt or less when the load current flows through it and must be rated to dissipate a few watts if large currents are to be handled. A value of 0.22 SZ, 5 W is suitable for most situations. And remember that, when set up like this, the instrument reads the phase of the voltage relative to the current.


Fig. 6. How to use the meter to show the relative phase of mains voltage to mains current.

------------

ETI (AD)

HOW TO ORDER

ETI Circuits No 1, the Electronics Its Easy series, and Top Projects Vol 3 are available now from most newsagents or directly from ETI. Top Projects Volume 4 will be available in mid - June 1977.

The Transducer and the Synthesizer books are available only from us and a number of kitset suppliers, they are not sold via newsagents.

Send orders to Electronics Today International 15 Boundary St, Rushcutters Bay NSW 2011

ELECTRONICS IT'S EASY Vol 1/2/3.

Volumes 1 & 2 now reprinted as a second edition! Vol 1. The first 12 parts of this very successful series produced as a 100 page book.

This volume takes the reader from an introduction to electronics through to operational amplifiers.

Vol 2. The 'middle-third' of the series introduces the reader to more sophisticated techniques, and includes power supplies, waveforms, filters and logic systems.

Vol 3. The final volume covers digital displays and systems, computers, transmission systems, instrumentation and the control of power.

53.00 per volume plus 40 cents per volume post and packing 160 cents post and packing total if two or three volumes ordered at the same time.)

$12-50. International 3600 and 4600 Synthesizers 1401 a MODERN MAGAZINES publication ETI CIRCUITS NO 1 Just published! Available from your newsagent or directly from us. This is a new concept in specials. ETI Circuits No 1 contains over 200 circuits largely based on the Tech Tips and data sheet sections of ETI. Great care has been taken to index each circuit carefully to enable the reader rapidly to locate the item sought. This publication is likely to be regarded as a 'bible' by the experimenter for not only does it contain complete circuits but also ideas and circuit sub-assemblies.

$2.50 plus 40 cents postage and packing.

INTERNATIONAL 3600 AND 4600 SYNTHESIZERS

A totally revised and updated reprint of ETI's phenomenally successful music synthesizer book.

This book has been beautifully printed on heavy art paper and has a sturdy cover varnished for protection.

Available only from ETI and some kit set suppliers $ 12.50 including postage and packing.

Transducers in measurement and control

This book is an unusual reprint from the pages of ETI. It is a compilation of a series of articles completed about two years ago - which was so highly thought of by the University of New England that they republished the series splendidly for use as a standard textbook.

Written by Peter Sydenham ME., Ph.D., F. Inst. M.C., F.I.I.C.A., this publication covers practically every type of transducer and measuring technique and deals with equipment and methods not covered in any other book.

Enquiries from educational authorities, universities and colleges for bulk ordering are welcomed.

$4.50 plus 50 cents postage and packing. Available only from Electronics Today International directly.

$2.50 TOP PROJECTS Vol 3

Available from newsagents or directly from Electronics Today International.

Published in October 1976.

Contains FM Tuner, 25 Watt Amplifier, Active Crossover, Crossover Amplifier, Booster Amplifier, 50 Watt Power Module, 400 Speaker System, Audio Noise Generator, Cross hatch/Dot Generator, ETI Utiliboard, Linear IC Tester, Dual Beam Adaptor, Impedance Meter, Tone Burst Generator, Digital Display, Digital Voltmeter, Frequency Counter, Logic Probe, Logic Pulser, Switching Regulator Supply, Nickel Cadmium Battery Charger, Radar Intruder Alarm, Intruder Alarm, COLOR Organ, Car Alarm, Transistor Connections.

$2.50 plus 40 cents postage and packing.

We regret that due to heavy demand, Top Projects Vol’s 1 and 2 are no longer available.

------------

Top of Page

Prev |   NEXT |   More articles | HOME