CN107091956A - A kind of method and circuit for measuring network phase shift parameters - Google Patents

A kind of method and circuit for measuring network phase shift parameters Download PDF

Info

Publication number
CN107091956A
CN107091956A CN201710464003.4A CN201710464003A CN107091956A CN 107091956 A CN107091956 A CN 107091956A CN 201710464003 A CN201710464003 A CN 201710464003A CN 107091956 A CN107091956 A CN 107091956A
Authority
CN
China
Prior art keywords
zero
phase
output
input
crossing comparator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201710464003.4A
Other languages
Chinese (zh)
Inventor
司朝良
张广渊
吴昌平
潘为刚
饶中洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Jiaotong University
Original Assignee
Shandong Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Jiaotong University filed Critical Shandong Jiaotong University
Priority to CN201710464003.4A priority Critical patent/CN107091956A/en
Publication of CN107091956A publication Critical patent/CN107091956A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/28Measuring attenuation, gain, phase shift or derived characteristics of electric four pole networks, i.e. two-port networks; Measuring transient response

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Phase Differences (AREA)

Abstract

The invention belongs to electronic measuring technology field, and in particular to the method and circuit of a kind of measurement network phase shift parameters.The present invention using function signal generator export can setpoint frequency reference sinusoidal signal, the output signal of input reference signal and tested network is transformed to pulse signal respectively by two zero-crossing comparators, phase demodulation is carried out to two pulse signals by integrated phase detection discriminator again, under DSP controls and computing, the accurate phase shift parameters for obtaining tested network send to display.High speed phase discriminating technology and DSP rapid computations and processing are comprehensively utilized, the accurate measurement to being tested network phase shift parameters is realized.

Description

A kind of method and circuit for measuring network phase shift parameters
Technical field
The present invention relates to the network phase shift measurement technique of electronic measuring technology field, and in particular to one kind measurement network phase shift The method and circuit of parameter.
Background technology
In fields such as communication, instrument and meters, in order to realize specific purpose, it is often necessary to using a circuit network to passing Defeated signal carries out certain phase delay, this usual abbreviation phase shift of phase delay.And can the size of this phase shift accurate Reach that setting value often influences whether the quality of communication or the precision of instrument, so accurately the number of phase-shift values of measurement network very must Will.Influence sometimes for one network of assessment to signal transmission quality, it is also desirable to measure the phase that the network handles transmit signal Shifting degree.
Traditional network phase shift parameters measuring method and means are a lot, have Network Analyzer mensuration, oscilloscope measurement method, Voltage measurement method based on XOR gate etc., but all have the shortcomings that different.Network Analyzer measurement accuracy is high, but instrument is expensive; It is relatively low that oscilloscope measurement method is limited measurement accuracy by human factor;Voltage measurement method circuit based on XOR gate is complicated, can survey Frequency is low, and precision is not also high.
The content of the invention
In order to overcome the shortcoming of above-mentioned technical problem, the invention provides a kind of circuit it is simple, measure accurate network phase Shifting parameter measuring method.
The method of the measurement network phase shift parameters of the present invention, it is particular in that, comprises the following steps:A. one is chosen Integrated phase detection discriminator, if two pulse input end is respectively R, V, phase demodulation output end is U;B. a function signal hair is chosen Raw device, the baseline sinusoidal wave signal of the setpoint frequency output it is divided into two-way, all the way by partiting dc capacitor C1It was connected to The in-phase input end of zero comparator 1, another road is connected to the input of network under test, and the output of network under test is by stopping direct current electricity Hold C2The in-phase input end of zero-crossing comparator 2 is connected to afterwards;C. by zero-crossing comparator 1 and the inverting input of zero-crossing comparator 2 All it is grounded;D. the output of zero-crossing comparator 1 is connected to the input R of integrated phase detection discriminator, the output of zero-crossing comparator 2 connects It is connected to the input V of integrated phase detection discriminator;E. a digital signal processor DSP is chosen, for integrated phase detection discriminator Output U phase discriminating pulse signal is calculated, and the phase shift parameters result of measuring and calculating is output into display shown.
The method of the measurement network phase shift parameters of the present invention, it is characterised in that:In the step b, function signal generator The reference sinusoidal signal frequency of output can be changed according to condition of work.
The effect of zero-crossing comparator is shaping, and output before and after edge all very precipitous pulse signals are, it is necessary to using at a high speed Device.The reference sinusoidal signal of function signal generator output phase after tested network can shift, and waveform may also Change.By the output signal after partiting dc capacitor, the signal shaping is transformed to rectangle by high speed zero-crossing comparator 2 Pulse.Meanwhile, baseline sinusoidal wave is also transformed to by rectangular pulse using identical high speed zero-crossing comparator 1.So, benchmark The phase relation between phase relation and the two rectangular pulses between sinusoidal signal and the signal of network under test output is complete It is identical.Phase detection discriminator can distinguish advanced between two rectangular pulses with lagged relationship, and export a phase demodulation arteries and veins Signal is rushed, this phase discriminating pulse signal accurately reflects the phase relation between two input rectangular pulses.Two partiting dc capacitors Effect be eliminate tested network may caused by DC potential skew, so as to ensure that the pulse after waveform conversion accurately reflects ripple Phase relation before fractal transform.
Correspondingly, in order to overcome the shortcoming of above-mentioned technical problem, the invention provides a kind of circuit is simple, measurement is accurate Measure the circuit of network phase shift parameters.
The circuit of the measurement network phase shift parameters of the present invention, including function signal generator, two partiting dc capacitors, two Zero-crossing comparator, integrated phase detection discriminator, DSP and display, it is characterised in that:Function signal generator output setpoint frequency Baseline sinusoidal wave signal is divided into two-way, all the way by partiting dc capacitor C1The in-phase input end of zero-crossing comparator 1 is connected to, it is another Road is connected to the input of network under test;Partiting dc capacitor C is passed through in the output of network under test2Zero-crossing comparator 2 is connected to afterwards In-phase input end;The output of the zero-crossing comparator 1 is connected to the input R of integrated phase detection discriminator, zero-crossing comparator 2 it is defeated Go out to be connected to the input V of integrated phase detection discriminator;The inverting input of the zero-crossing comparator 1 and zero-crossing comparator 2 all connects Ground;The output end U of the integrated phase detection discriminator is connected to a DSP GPIO pin;Input pulses of the DSP to GPIO Measure and calculate, the phase shift parameters that calculating is obtained are sent to display and shown.
DSP measures the phase discriminating pulse of GPIO inputs using timer, rises on the incoming pulses along then, timer is beaten Open;Pulse falling edge followed by then reads and preserve the value t of timer1;Come in next pulse rising edge When Off Timer, read and preserve the value t of timer2, the t2Value is exactly the cycle of input pulse.The then phase shift of network under test Radian number is shown in formula (1):
To ensure measurement accuracy, measurement process can be carried out n times, and final result takes the average value of n measurement.
The beneficial effects of the invention are as follows:By means of function signal generator can setpoint frequency reference sinusoidal signal, utilize The phase demodulation effect of the shaping of high-speed comparator and integrated phase detection discriminator, under DSP controls and computing, obtains the standard of tested network True phase shift parameters, circuit is simple, measurement is accurate, and operating frequency range is wide, while extending the application neck of integrated phase detection discriminator Domain.
Brief description of the drawings
Fig. 1 is theory diagram of the invention;Fig. 2 is the partial circuit diagram of the present invention, C containing partiting dc capacitor1, stopping direct current electricity Hold C2, two zero-crossing comparator, phase detection discriminator MC12040;Accompanying drawing 3 is phase detection discriminator working waveform figure of the invention.
In Fig. 2:The zero-crossing comparator 2 of 1 zero-crossing comparator 1,2.
Embodiment
With reference to accompanying drawing, the method for measuring network phase shift parameters of the invention is followed the steps below:
A. an integrated phase detection discriminator MC12040 is chosen, two pulse input end is respectively R, V, phase demodulation output end For U.
B. a function signal generator is chosen, the baseline sinusoidal wave signal of the setpoint frequency output it is divided into two-way, Pass through partiting dc capacitor C all the way1The in-phase input end of the zero-crossing comparator 1 of ADPCM600 compositions is connected to, another road is connected to Partiting dc capacitor C is passed through in the input of network under test, the output of network under test2The Zero-cross comparator of ADPCM600 compositions is connected to afterwards The in-phase input end of device 2.
C. two zero-crossing comparator ADPCM600 inverting input is all grounded.
D. the output of zero-crossing comparator 1 is connected to the input R of integrated phase detection discriminator, the output of zero-crossing comparator 2 It is connected to the input V. of integrated phase detection discriminator
E. a digital signal processor TMS320F2811 is chosen, for exporting U to integrated phase detection discriminator MC12040 Phase discriminating pulse signal calculated, and the phase shift parameters result of calculating be output to display shown.
As shown in drawings, the circuit of the measurement network phase shift parameters of the present invention is given, it includes partiting dc capacitor C1, every DC capacitor C2, it is zero-crossing comparator 1 (1), zero-crossing comparator 2 (2), phase detection discriminator MC12040, DSP TMS320F2811, aobvious Show device and necessary+5V working powers.
Two high-speed comparator circuit structures are identical, and ADCMP600 end of oppisite phase is grounded, and constitute homophase input formula Zero-crossing comparator form.ADCMP600 output, directly can be connected with phase detection discriminator MC12040 inputs.
According to the working frequency of tested network set function signal generator output reference sinusoidal signal frequency, and by its It is divided into two-way, all the way by partiting dc capacitor C1Square wave is transformed to by zero-crossing comparator 1 afterwards;Another road after tested network, Pass through partiting dc capacitor C again2Output is transformed into square wave output to zero-crossing comparator 2.Two-way pulse after shaping is converted Signal is separately input to integrated phase detection discriminator MC12040 two inputs R, V.MC12040 is only to two input pulses Forward position carries out phase demodulation, the phase between the two not transformed waveforms of phase discriminating pulse energy accurate response exported from MC12040 U ends Position relation, work wave is as shown in Figure 3.
The GPIO that the phase discriminating pulse of MC12040 U pin output is connected to digital signal processor TMS320F2811 any draws The GPIO pin that U ends with MC12040 are connected is configured to input pin by pin, TMS320F2811, is completed using timer function Measuring and calculating to inputting phase discriminating pulse.When the GPIO phase discriminating pulse rising edges inputted then, timer is opened;Followed by Pulse falling edge then to read and store the value t of timer1;Carry out then Off Timer in next rising edge, read And store the value t of timer2.The course of work is as shown in Figure 3.Then the phase shift radian number of network under test is shown in formula (1).For Ensure measurement accuracy, measurement process can be carried out n times, and final result takes the average value of n times.So, network is tested in work frequency Phase shift parameters under rate are just determined accurately, and measurement result is intuitively shown by display.
For improve circuit can working frequency, DSP selects TMS320F2811, the highest master of TMS320F281x series DSPs Frequency is 150MHz, so, and the upper operational frequency limit of whole measuring circuit is dependent on phase detection discriminator MC12040 work frequency Rate, reaches as high as 80MHz.And comparator ADCMP600 is CMOS/TTL compatible devices, working frequency is very high, and offset voltage is only 3mV, the influence to measurement accuracy is very little.
In the present embodiment, the frequency of function signal generator output reference sine wave can be according to the real work of tested network Frequency is set, and highest frequency can be set to 80MHz.Change the output sine wave freuqency value of function signal generator, it is possible to Measure phase shift parameters value of the tested network under different operating frequency.
The measuring circuit of the present invention, the reference sinusoidal signal for the setpoint frequency sent out using function signal generator, by height Fast comparator carries out shaping respectively to reference signal and the output signal of tested network, and the two paths of signals after shaping is again by integrated mirror Phase frequency discriminator is than phase, under DSP controls and computing, and the phase shift for obtaining accurately tested network is mutually exported from the ratio of phase detection discriminator Parameter.Circuit is simple, measurement is accurate, operating frequency range is wide, also extends the application field of integrated phase detection discriminator.

Claims (3)

1. a kind of method for measuring network phase shift parameters, it is particular in that, comprises the following steps:A. an integrated mirror is chosen Phase frequency discriminator, if two pulse input end is respectively R, V, phase demodulation output end is U;B. a function signal generator is chosen, The baseline sinusoidal wave signal of the setpoint frequency output it is divided into two-way, all the way by partiting dc capacitor C1It is connected to Zero-cross comparator The in-phase input end of device 1, another road is connected to the input of network under test, and partiting dc capacitor C is passed through in the output of network under test2Afterwards It is connected to the in-phase input end of zero-crossing comparator 2;C. the inverting input of zero-crossing comparator 1 and zero-crossing comparator 2 is all grounded; D. the output of zero-crossing comparator 1 is connected to the input R of integrated phase detection discriminator, the output of zero-crossing comparator 2 is connected to collection Into the input V of phase detection discriminator;E. a digital signal processor DSP is chosen, for exporting U's to integrated phase detection discriminator Phase discriminating pulse signal is calculated, and the phase shift parameters result of measuring and calculating is output into display shown.
2. the method for measurement network phase shift parameters according to claim 1, it is characterised in that:In the step b, function letter The reference sinusoidal signal frequency of number generator output can be changed according to condition of work.
3. the circuit of network phase shift parameters is measured, including function signal generator, two partiting dc capacitors, two Zero-cross comparators Device, integrated phase detection discriminator, DSP and display, it is characterised in that:Function signal generator exports the reference sinusoidal of setpoint frequency Ripple signal is divided into two-way, all the way by partiting dc capacitor C1The in-phase input end of zero-crossing comparator 1 is connected to, another road is connected to The input of network under test;Partiting dc capacitor C is passed through in the output of network under test2The homophase input of zero-crossing comparator 2 is connected to afterwards End;The output of the zero-crossing comparator 1 is connected to the input R of integrated phase detection discriminator, and the output of zero-crossing comparator 2 is connected to The input V of integrated phase detection discriminator;The inverting input of the zero-crossing comparator 1 and zero-crossing comparator 2 is all grounded;The collection Output end U into phase detection discriminator is connected to a DSP GPIO pin;The DSP is measured to GPIO input pulse With calculating, the phase shift parameters that calculating is obtained are sent to display and shown.
CN201710464003.4A 2017-06-19 2017-06-19 A kind of method and circuit for measuring network phase shift parameters Withdrawn CN107091956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710464003.4A CN107091956A (en) 2017-06-19 2017-06-19 A kind of method and circuit for measuring network phase shift parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710464003.4A CN107091956A (en) 2017-06-19 2017-06-19 A kind of method and circuit for measuring network phase shift parameters

Publications (1)

Publication Number Publication Date
CN107091956A true CN107091956A (en) 2017-08-25

Family

ID=59639574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710464003.4A Withdrawn CN107091956A (en) 2017-06-19 2017-06-19 A kind of method and circuit for measuring network phase shift parameters

Country Status (1)

Country Link
CN (1) CN107091956A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109100928A (en) * 2018-09-05 2018-12-28 山东交通学院 A kind of high-precision pulse time interval measurement method and circuit
CN109116111A (en) * 2018-09-05 2019-01-01 山东交通学院 A kind of high-precision phase position difference measurements method and circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808056A (en) * 2015-04-19 2015-07-29 华南理工大学 Frequency characteristic testing method and device based on comparator conversion
CN207081775U (en) * 2017-06-19 2018-03-09 山东交通学院 A kind of circuit for measuring network phase shift parameters

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808056A (en) * 2015-04-19 2015-07-29 华南理工大学 Frequency characteristic testing method and device based on comparator conversion
CN207081775U (en) * 2017-06-19 2018-03-09 山东交通学院 A kind of circuit for measuring network phase shift parameters

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109100928A (en) * 2018-09-05 2018-12-28 山东交通学院 A kind of high-precision pulse time interval measurement method and circuit
CN109116111A (en) * 2018-09-05 2019-01-01 山东交通学院 A kind of high-precision phase position difference measurements method and circuit

Similar Documents

Publication Publication Date Title
CN100480706C (en) Method and circuit for measuring same-frequency signal phase difference using fixed phase shift
CN109633262A (en) Three phase harmonic electric energy gauging method, device based on composite window multiline FFT
CN101806832A (en) Measuring method for frequencies of low-frequency signals
CN104808056B (en) A kind of frequency characteristic test method and apparatus based on comparator conversion
CN205427032U (en) Weak signal detection device based on phase-locked loop
CN105203983B (en) Flexible alterating and direct current minor mutual-inductor calibration device based on mixing sampling
CN105676008B (en) Digital electric field sensor
CN102116798A (en) Power grid frequency measurement method and device
CN102288821B (en) Measuring method, measuring device, measuring procedure and carrier for phase difference of three-phase circuit
CN103217578B (en) Based on digital phasemeter and the method thereof of phase differential between PHASE-LOCKED LOOP PLL TECHNIQUE measuring-signal
CN106153177B (en) A kind of vibration measurement with laser calibrates the quantization measurement method of big trigger delay
CN102749505B (en) Method and device for voltage proportion measurement
CN204595094U (en) Binary channels phase Difference Measuring System
CN109116111B (en) High-precision phase difference measuring method and circuit
CN108318852A (en) A kind of intelligent electric energy meter square wave influence test method
CN102809687B (en) Digital measurement method for alternating-current frequency
CN105182069B (en) A kind of high-resolution group's quantization Phase Processing method under alien frequencies framework
CN110967658B (en) Analog input merging unit calibrator tracing method based on digital differential method
CN102495250A (en) Quasi-synchronous wideband reactive energy meter based on Hilbert algorithm and sampling method thereof
CN103983849A (en) Real-time high-accuracy power harmonic analysis method
CN107091956A (en) A kind of method and circuit for measuring network phase shift parameters
CN108414838A (en) A kind of inverter parallel system line impedance measurement method
CN103116079B (en) Impedance spectrum tester and impedance spectrum testing method
CN109164342B (en) Method and device for diagnosing open-circuit fault of three-phase inverter and electronic equipment
CN105548711B (en) A kind of multifrequency information filter recursive demodulation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170825