Based on voltage Power Line Carrier Channel attenuation test system and the method thereof of orthogonal signalling
Technical field
The present invention relates to test macro and the method thereof of field of power communication, be specifically related to a kind of voltage Power Line Carrier Channel attenuation test system based on orthogonal signalling and method thereof.
Background technology
At present, in the method and apparatus of existing voltage Power Line Carrier Channel decay, if when signal receiving end noise is larger or when measurement circuit is longer, the signal received almost is submerged in noise, testing apparatus is difficult to noise to be separated with signal, noise can be mistakened as into signal sometimes to test, the decay testing the voltage Power Line Carrier Channel arrived like this will be inaccurate.
Existing method of testing has following deficiency:
1) be difficult to distinguish noise and signal.
2) signal to noise ratio can not be tested.
Summary of the invention
For the deficiencies in the prior art, the object of this invention is to provide a kind of voltage Power Line Carrier Channel attenuation test system based on orthogonal signalling, another object is to provide a kind of voltage Power Line Carrier Channel decay testing method based on orthogonal signalling, the present invention utilize have orthogonality relation cosine (Cos) and sine (Sin) signal transmit in arrowband output channel and Broadband emission passage respectively simultaneously, the signal with orthogonality relation just can be obtained at output, separate with noise frequently and signaling zone easily, prevent noise on the impact of attenuation test.
The object of the invention is to adopt following technical proposals to realize:
The invention provides a kind of voltage Power Line Carrier Channel attenuation test system based on orthogonal signalling, described system comprises and is connected to carrier signal transmitting terminal on power line and signal receiving end; Its improvements are, described signal sending end comprise be in turn connected into closed-loop structure orthogonal signalling output system, send coupling circuit, data collecting card and controller; Described signal receiving end comprises the reception coupling circuit, data collecting card and the controller that connect successively; Decay Δ=the U of signal sending end and signal receiving end
r-U
s.
Further, described orthogonal signalling output system comprises orthogonal signalling generation module;
Described orthogonal signalling generation module has two-way carrier channel, and the signal orthogonality relation each other exported, wherein a road carrier channel exports cosine signal, and another road carrier channel exports sinusoidal signal; Two paths of signals exports power line to respectively by the filter connected successively in orthogonal signalling output system, signal amplifier, power amplifier and coupler.
Further, the controller of signal sending end sends instruction to orthogonal signalling output system, sends the Quadrature double path carrier signal of single frequency; Be coupled on power line by sending coupling circuit; Described transmission coupling circuit by the signal coupling on power line, and utilizes the time-domain signal on data collecting card collection power line, and be finally transferred to controller, the data of test are carried out Storage and Processing by described controller, obtain the signal level U of carrier signal transmitting terminal
s;
The controller of signal sending end sends instruction to orthogonal signalling output system, sends the Quadrature double path carrier signal of single frequency, is coupled on power line by sending coupling circuit; The reception coupling circuit of signal receiving end is by the signal coupling on power line, and utilize the time-domain signal on data collecting card collection power line, finally be transferred to controller, the data of test are carried out Storage and Processing by described controller, obtain the signal level U of carrier signal receiving terminal
r.
Further, described transmission coupling circuit comprises piezo-resistance, safety electric capacity, discharge resistance, step-down transformer, transmission filter circuit and bidirectional diode;
Described piezo-resistance, step-down transformer and bidirectional diode are in parallel; 2 described safety electric capacity symmetries are connected between piezo-resistance and step-down transformer; The two ends of each safety electric capacity are all connected with discharge resistance; Sending filter circuit described in 2 groups is connected between step-down transformer and bidirectional diode; The output of described bidirectional diode D1 is connected with signal receiving end; Described transmission filter circuit is made up of the electric capacity of connecting and inductance;
Wherein piezo-resistance is for the protection of transmission coupling circuit, prevents thunderbolt and high-voltage pulse to the infringement sending coupling circuit; Safety electric capacity is used for couples high frequency signals, and the power frequency electric of 50Hz and test macro is isolated; The electric energy that discharge resistance is used for always storing safety electric capacity in the event of a power failure discharges (being arrived by the electric charge electricity in electric capacity when preventing tester from encountering calibrating terminal) by mistake; Step-down transformer is the impedance relationship for regulating input and output, makes the output of signal energy maximum power; Bidirectional diode is used for clamp voltage (preventing too high voltage from burning out tester);
Described data collecting card needs the sampling rate of more than 10MS/s, and the power that bears of input port is more than 10dBm;
Described controller adopts PC or notebook computer.
Further, described reception coupling circuit comprises piezo-resistance, safety electric capacity, discharge resistance, step-down transformer, wave reception filtering circuit and automatic gain control unit;
Described piezo-resistance, step-down transformer and bidirectional diode are in parallel; 2 described safety electric capacity symmetries are connected between piezo-resistance and step-down transformer; The two ends of each safety electric capacity are all connected with discharge resistance; Described in 2 groups, wave reception filtering circuit is connected between step-down transformer and automatic gain control unit; The output of described automatic gain control unit is connected with signal sending end; Described wave reception filtering circuit is made up of the capacitor of connecting and inductance, and is parallel with electric capacity at the two ends of described inductance; Described automatic gain control unit adopts AGC controller.
The present invention is based on a kind of voltage Power Line Carrier Channel decay testing method based on orthogonal signalling that another object provides, its improvements are, the system of described method is voltage Power Line Carrier Channel attenuation test system, and described method comprises the steps:
The signal level U of A, acquisition carrier signal transmitting terminal
s;
The signal level U of B, acquisition carrier signal receiving terminal
r;
C, determine test macro decay, test macro transmitting terminal signal to noise ratio snr
swith test macro receiving terminal signal to noise ratio snr
r.
Further, in described steps A, the controller of signal sending end sends instruction to orthogonal signalling output system, sends the Quadrature double path carrier signal of single frequency; Be coupled on power line by sending coupling circuit; Described transmission coupling circuit by the signal coupling on power line, and utilizes the time-domain signal on data collecting card collection power line, and be finally transferred to controller, the data of test are carried out Storage and Processing by described controller, obtain the signal level U of carrier signal transmitting terminal
s;
The signal level U of carrier signal transmitting terminal
sobtained by Fourier transform by time-domain signal, expression formula is as follows:
Wherein: f (t) is the time domain voltage signal gathered with signal data card, and t represents the time, and ω represents the frequency of signal testing signal.
Further, in described step B, the controller of signal sending end sends instruction to orthogonal signalling output system, sends the Quadrature double path carrier signal of single frequency, is coupled on power line by sending coupling circuit; The reception coupling circuit of signal receiving end is by the signal coupling on power line, and utilize the time-domain signal on data collecting card collection power line, finally be transferred to controller, the data of test are carried out Storage and Processing by described controller, obtain the signal level U of carrier signal receiving terminal
r;
Further, the signal level U of signal receiving end
robtained by Fourier transform by time-domain signal, expression formula is as follows:
Wherein: f (t) is the time domain voltage signal gathered with signal data card, and t represents the time, and ω represents the frequency of signal testing signal.
Further, the orthogonal signalling generation module of described orthogonal signalling output system has two-way carrier channel, and wherein a road carrier channel exports cosine signal, and another road carrier channel exports sinusoidal signal; Two paths of signals exports power line to respectively by the filter connected successively in orthogonal signalling output system, signal amplifier, power amplifier and coupler;
Described sinusoidal signal and cosine signal are orthogonality relation, and namely phase difference keeps 90 °, and the amplitude of two-way carrier signal synchronously changes along with the change of voltage Power Line Carrier Channel.
Further, in described step C, the decay Δ=U of signal sending end and signal receiving end
r-U
s.
Further, in described step C, test macro transmitting terminal signal to noise ratio snr
ssignal level for transmitting terminal deducts the noise level of transmitting terminal, that is: SNR
s=(Send Signal)-(Send Noise)=U
s-(Send Noise);
Data collecting card directly tests out the magnitude of voltage that signal converts in time, and wherein the noise level of transmitting terminal is the voltage signal gathered with data collecting card, and then obtain with through Fourier transform, expression formula is such as formula (1).
Further, in described step C, test macro receiving terminal signal to noise ratio snr
rsignal level for receiving terminal deducts the noise level of receiving terminal, that is: SNR
r=(Receive Signal)-(Receive Noise)=U
r-(Receive Noise);
Data signal acquisition card directly tests out the magnitude of voltage that signal converts in time, and wherein the noise level of receiving terminal is the voltage signal gathered with data collecting card, and then obtain with through Fourier transform, expression formula is such as formula (1).
Compared with the prior art, the invention has the beneficial effects as follows:
1) the method utilize have orthogonality relation cosine (Cos) and sine (Sin) signal transmit on both channels respectively simultaneously, the present invention decays in the signal launched in test voltage Power Line Carrier Channel, export cosine and the sinusoidal signal with orthogonality relation simultaneously, this signal with orthogonality relation keeps the phase place of 90 ° in phase place always, this is just equivalent to mark to signal, so can easily noise and signaling zone be separated, prevent noise on the impact of attenuation test, so just can test decay more accurately.。
2) the present invention utilizes in the process of the signal testing decay with orthogonality relation, can very accurately by the noise of same frequency and Signal separator out, and test out the level value of noise and signal respectively, thus utilize signal level to deduct noise level, and then obtain signal to noise ratio.
3) the present invention can test out signal strength signal intensity and noise intensity at the transmitting terminal of signal, thus determines the signal to noise ratio of transmitting terminal, can also test out signal strength signal intensity and the noise intensity of receiving terminal by receiving terminal again, thus determine the signal to noise ratio of receiving terminal.。
Accompanying drawing explanation
Fig. 1 is attenuation test system principle diagram provided by the invention; Wherein: 1-orthogonal signalling output system; 2-sends coupling circuit; 3-receives coupling circuit; 4-data collecting card; 5-controller;
Fig. 2 is signal sending end orthogonal signalling output system block diagram provided by the invention;
Fig. 3 is sine and the cosine signal oscillogram of orthogonal signalling generation module provided by the invention output;
Fig. 4 is Received signal strength provided by the invention change curve in time;
Fig. 5 is sending/receiving signal provided by the invention change curve in time;
Fig. 6 is the topology diagram of transmission coupling circuit provided by the invention;
Fig. 7 is the topology diagram of reception coupling circuit provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
Attenuation test system principle diagram provided by the invention as shown in Figure 1, comprises and is connected to carrier signal transmitting terminal on power line and signal receiving end; Described signal sending end comprise be in turn connected into closed-loop structure orthogonal signalling output system 1, send coupling circuit 2, data collecting card 4 and controller 5; Described signal receiving end comprises the reception coupling circuit 3, data collecting card 4 and the controller 5 that connect successively.
Orthogonal signalling output system comprises orthogonal signalling generation module; Described orthogonal signalling generation module has two-way carrier channel, and the signal orthogonality relation each other exported, wherein a road carrier channel exports cosine signal, and another road carrier channel exports sinusoidal signal; Two paths of signals exports power line to respectively by the filter connected successively in orthogonal signalling output system, signal amplifier, power amplifier and coupler.
Send coupling circuit and comprise piezo-resistance V21, safety electric capacity, discharge resistance, step-down transformer T, filter circuit and bidirectional diode D1; Piezo-resistance V21, step-down transformer T and bidirectional diode D1 are in parallel; 2 described safety electric capacity C21 and C22 symmetry are connected between piezo-resistance V21 and step-down transformer T; The two ends of safety electric capacity C21 are connected with discharge resistance R21; The two ends of safety electric capacity C21 are connected with discharge resistance R22; Filter circuit C41-L1 and C42-L2 described in 2 groups is connected between step-down transformer and bidirectional diode D1; The output of described bidirectional diode D1 is connected with signal receiving end; Protective resistance R4 is parallel with, R4 ground connection at the two ends of described bidirectional diode D1.
Described filter circuit C41-L1 is made up of the electric capacity C41 connected and inductance L 1; Described filter circuit C42-L2 is made up of the electric capacity C42 connected and inductance L 2; Its topology diagram as shown in Figure 6.
Wherein piezo-resistance V21 is for the protection of circuit, prevents thunderbolt and high-voltage pulse to the infringement of circuit; Safety electric capacity is used for couples high frequency signals, and the power frequency electric of 50Hz and test macro is isolated; Discharge resistance is used for discharging to the electric energy that safety electric capacity always stores in the event of a power failure, is arrived when preventing tester from encountering calibrating terminal by the electric charge electricity in electric capacity by mistake; Step-down transformer T is the impedance relationship for regulating input and output, makes the output of signal energy maximum power; Bidirectional diode D1 is used for clamp voltage, prevents too high voltage from burning out tester.
Receive coupling circuit and comprise piezo-resistance, safety electric capacity, discharge resistance, step-down transformer, wave reception filtering circuit and automatic gain control unit; Described piezo-resistance V21, step-down transformer T and automatic gain control unit are in parallel; 2 described safety electric capacity C21 and C22 symmetry are connected between piezo-resistance V21 and step-down transformer T; The two ends of safety electric capacity C21 are connected with discharge resistance R21; The two ends of safety electric capacity C21 are connected with discharge resistance R22; Described in 2 groups, wave reception filtering circuit C41-L1 and C42-L2 is connected between step-down transformer and automatic gain control unit;
Described filter circuit C41-L1 is made up of the electric capacity C41 connected and inductance L 1; Described filter circuit C42-L2 is made up of the electric capacity C42 connected and inductance L 2; And be parallel with electric capacity C44 at the two ends of inductance L 1, be parallel with automatic gain control unit described in electric capacity C45. at the two ends of inductance L 2 and adopt AGC controller, its structural topology figure is as shown in Figure 7.
Described data collecting card needs the sampling rate of more than 10MS/s, and the power that bears of input port is more than 10dBm; Described controller adopts PC or notebook computer.
The present invention also provides a kind of voltage Power Line Carrier Channel decay testing method based on orthogonal signalling, with test macro described above, comprises the steps:
The signal level U of A, acquisition carrier signal transmitting terminal
s: the controller of signal sending end sends instruction to orthogonal signalling output system, sends the Quadrature double path carrier signal of single frequency; Be coupled on power line by sending coupling circuit; Described transmission coupling circuit by the signal coupling on power line, and utilizes the time-domain signal on data collecting card collection power line, and be finally transferred to controller, the data of test are carried out Storage and Processing by described controller, obtain the signal level U of carrier signal transmitting terminal
s;
The signal level U of B, acquisition carrier signal receiving terminal
r: the controller of signal sending end sends instruction to orthogonal signalling output system, sends the Quadrature double path carrier signal of single frequency, is coupled on power line by sending coupling circuit; The reception coupling circuit of signal receiving end is by the signal coupling on power line, and utilize the time-domain signal on data collecting card collection power line, finally be transferred to controller, the data of test are carried out Storage and Processing by described controller, obtain the signal level U of carrier signal receiving terminal
r.
The signal level U of carrier signal transmitting terminal
swith the signal level U of carrier signal receiving terminal
rall obtained by Fourier transform by time-domain signal, expression formula is as follows:
Wherein: f (t) is the time domain voltage signal gathered with signal data card, and t represents the time, and ω represents the frequency of signal testing signal.
Power line attenuation test system involved in the present invention utilizes doubleway output to have the sinusoidal signal of orthogonality relation (phase 90 °) and cosine signal carries out voltage Power Line Carrier Channel attenuation test.As shown in Figure 2, cosine signal (Y
1=A*Cos (ω t)) exported by I passage, sinusoidal signal (Y
2=A*Sin (ω t)) exported by Q passage.This phase difference with the signal of orthogonality relation, along with the change of channel, can not remain orthogonal, namely phase difference remains 90 °, but the amplitude of this two-way carrier signal synchronously can change along with the change of voltage Power Line Carrier Channel.Therefore, by transmitting terminal and receiving terminal simultaneously collection signal just can obtain the level magnitude of the signal at two ends.
C, determine test macro decay, test macro transmitting terminal signal to noise ratio snr
swith test macro receiving terminal signal to noise ratio snr
r.
The first step: first transmitting terminal sends the signal of a certain single-frequency point;
Second step: the time-domain signal simultaneously passing through data collecting card collection signal at a high speed at transmitting terminal and receiving terminal;
3rd step: the time-domain signal of collection is carried out fast Fourier transform, calculates the level value of the signal in this moment;
4th step: shutdown signal, by the method for above-mentioned second step and the 3rd step, calculates the level value of noise;
5th step: change next frequency, repeats the signal of above-mentioned second step to the 4th step.
Carry out the test of all frequencies successively.
Like this, transmitting terminal and receiving terminal place noise and signal can just be tested out successively.
The data of the data and receiving terminal test that send the test of letter end are placed in the same coordinate system, calculate decay and signal to noise ratio.
As shown in Figure 5, shown in label 1 in figure is transmitting terminal signal level (Send Signal), shown in label 3 is the level (Receive Signal) of receiving end signal, and so the signal level decaying to receiving terminal of transmitting terminal and receiving terminal deducts the signal level of transmitting terminal: i.e. Attention=(Receive Signal)-(Send Signal) or Δ=U
r-U
s.
As shown in Figure 5, shown in label 1 in figure is transmitting terminal signal level (Send Signal), shown in label 2 is the level (Send Noise) of transmitting terminal noise, and so the signal to noise ratio of transmitting terminal is the noise level that the signal level of transmitting terminal deducts transmitting terminal, that is:
SNR
S=(Send Signal)-(Send Noise)=U
S-(Send Noise)。
Data collecting card directly tests out the magnitude of voltage that signal converts in time, and wherein the noise level of transmitting terminal is the voltage signal gathered with data collecting card, and then obtain with through Fourier transform, expression formula is such as formula (1).
As shown in Figure 5, shown in label 3 in figure is receiving end signal level (Receive Signal), shown in label 4 is the level (Receive Noise) of receiving terminal noise, and so the signal to noise ratio of receiving terminal is the noise level that the signal level of receiving terminal deducts receiving terminal, that is:
SNR
R=(Receive Signal)-(Receive Noise)U
R-(Receive Noise)。
Data signal acquisition card directly tests out the magnitude of voltage that signal converts in time, and wherein the noise level of receiving terminal is the voltage signal gathered with data collecting card, and then obtain with through Fourier transform, expression formula is such as formula (1).
Test macro provided by the invention and method of testing thereof, utilize doubleway output to have test macro and method that the sinusoidal signal of orthogonality relation (phase 90 °) and cosine signal carry out voltage Power Line Carrier Channel decay.As shown in Figure 2, cosine signal (Y
1=A*Cos (ω t)) exported by I passage, sinusoidal signal (Y
2=A*Sin (ω t)) exported by Q passage.This phase difference with the signal of orthogonality relation, along with the change of channel, can not remain orthogonal, namely phase difference remains 90 ° (as shown in Figure 3), but the amplitude of this two-way carrier signal synchronously can change along with the change of voltage Power Line Carrier Channel.Therefore the amplitude attenuation of voltage Power Line Carrier Channel can sharp be measured in this way.
This two-way has strict orthogonal relation carrier signal, is equivalent to mark to signal, therefore can distinguish with the noise of other same frequency.Therefore, utilize the method just can measure the level of signal and noise very accurately, test out the signal to noise ratio (snr) of power line carrier signal more accurately.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although with reference to above-described embodiment to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or equivalent replacement, and not departing from any amendment of spirit and scope of the invention or equivalent replacement, it all should be encompassed in the middle of right of the present invention.