The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of power line network product test
System, by simulating noise jamming and the serious situation of decay in powerline network environment, tests different power line network products
Performance in interconnection, so that for the assessment of power line network properties of product provides necessary reference frame.
In order to achieve the above objects and other related objects, the present invention provides a kind of power line network product testing system, bag
Include power line measurement jig, general control system, accompany measurement equipment network, Programmable AC Power Source and flow tester;The master control
System processed, it is described accompany measurement equipment network, the Programmable AC Power Source and the power line communications test equipment with the electricity
Line of force measurement jig is connected, and the general control system accompanies measurement equipment network, the Programmable AC Power Source and described with described again
Flow tester is connected, and the flow tester and the power line communications test equipment and described accompanies measurement equipment network to be connected;
The power line measurement jig is used for as power line communications test equipment and accompanies measurement equipment to provide power supply signal and power line carrier
The platform of signal coupled transfer;It is described to accompany measurement equipment network to accompany measurement equipment for providing multiple different types of power line communications;
The Programmable AC Power Source is used to provide AC power supply for test system;The flow tester is used to perform power line
Communication test set and the throughput performance of measurement equipment is accompanied to measure;The general control system is used to adjust the control power line communication
Decay in tool on power line network and AC power supply, and to accompanying the measurement equipment to carry out selection control.
According to above-mentioned power line network product testing system, wherein:The power line measurement jig includes programmable declining
Subtract device, high_voltage isolation module, signal isolation module and signal coupling network;The signal coupling network be used for power supply signal and
The power line communications apparatus interface delivered on power line after power line carrier signal superposition is transmitted;The high_voltage isolation module
For transmitting power line communication carrier data signal;The signal isolation module is used to suppress the interference of high frequency carrier data;Institute
State programmable attenuator for generate the signal attenuation that is equivalent under different power line environments.
According to above-mentioned power line network product testing system, wherein:The power line measurement jig expands two electricity
Line of force communication device interface, one end is used to connect power line communications apparatus, and the other end is used for connecting accompanying measurement equipment.
According to above-mentioned power line network product testing system, wherein:It is described to accompany measurement equipment network to control square including switch
Battle array, several accompany measurement equipment and Ethernet switch;The switch control matrix accompanies measurement equipment for gating;The Ethernet is handed over
Change planes and accompany measurement equipment and power line communications apparatus for connecting many.
According to above-mentioned power line network product testing system, wherein:The Programmable AC Power Source is in output alternating current
Press benchmark simultaneously, the on-load voltage impulse disturbances in alternating voltage output waveform, for time-varying on analog AC electric power network
Ac supply signal.
According to above-mentioned power line network product testing system, wherein:The flow tester includes multiple ethernet sides
Mouthful, the ethernet port passes through Ethernet switch with power line communications test equipment and accompanies the ethernet port phase of measurement equipment
Even.
According to above-mentioned power line network product testing system, wherein:When two laminar flow amount of Ethernet is tested, institute need to be set
After stating the corresponding MAC Address of flow tester two-port, negotiated speed, the dual-mode of port are set, and during packet sending and receiving
Between.
According to above-mentioned power line network product testing system, wherein:The general control system comprising SCM system and
Control main frame containing multiple RS232 ports;The SCM system is used for the gating for controlling to accompany measurement equipment;Contain multiple
The control main frame of RS232 ports is used to control the power line measurement jig, the Programmable AC Power Source and the flow to survey
Examination instrument.
Further, according to above-mentioned power line network product testing system, wherein:The control main frame passes through RS232
Bus and the traffic tester, the power line measurement jig, the Programmable AC Power Source, the programmable alternating current
Source is connected with the SCM system.
Further, according to above-mentioned power line network product testing system, wherein:The SCM system includes monolithic
Movement piece, serial ports conversion chip, power supply unit, clock circuit and reset circuit.
As described above, power line network product testing system of the invention, has the advantages that:
(1) by simulating noise jamming and the serious situation of decay in powerline network environment, different power line networks are tested
Performance of the network product in interconnection;
(2) for the assessment of power line network properties of product provides necessary reference frame;
(3) using the scheme of pure hardware, the complexity of Software for Design is reduced.
Specific embodiment
Embodiments of the present invention are illustrated below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages of the invention and effect easily.The present invention can also be by specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under spirit of the invention.
It should be noted that the diagram provided in the present embodiment only illustrates basic conception of the invention in a schematic way,
Then component count, shape and size when only display is with relevant component in the present invention rather than according to actual implementation in schema are painted
System, it is actual when the implementing kenel of each component, quantity and ratio can be a kind of random change, and its assembly layout kenel also may be used
Can be increasingly complex.
When power line network product testing system of the invention verifies that distinct device is interconnected by accompanying measurement equipment network
Throughput performance, i.e., accompany measurement equipment to be linked into the survey of power line communication product come control relay unit by optical coupled switch to gate certain
Test system;Voltage pulse interference variations on power line are simulated by controlling ac grid voltage to fluctuate, and the exchange is changed
Voltage is injected into power line test system (Powerline Test System, PTS);Decay and hand over by by power line network
Stream voltage pulsation becomes and is turned to the binary controlled variable of power line communication product testing system and generates substantial amounts of test sample number
According to for the assessment of power line properties of product provides necessary reference frame.
Reference picture 1, power line network product testing system of the invention includes power line measurement jig (PTS tools) 1, accompanies
Measurement equipment network 2, Programmable AC Power Source 3, flow tester 4 and general control system 5.General control system 5, accompany measurement equipment network
2nd, Programmable AC Power Source 3 and power line communications test equipment 6 are connected with PTS tools 1, and general control system 5 sets with survey is accompanied again
Standby network 2, Programmable AC Power Source 3 are connected with flow tester 4, flow tester 4 and power line communications test equipment 6 and accompany
Measurement equipment network 2 is connected.
PTS tools 1 are used for as power line communications test equipment and accompany measurement equipment to provide power supply signal and power line carrier letter
The platform of number coupled transfer.
PTS tools are the nucleus equipments of power line communication performance test.Reference picture 2, PTS tools include programmable decay
Device, high_voltage isolation module, signal isolation module, signal coupling network.Programmable attenuator, high_voltage isolation module and signal isolation
Module is connected with signal coupling network.Signal coupling network is used to be delivered to after power supply signal and power line carrier signal superposition
Power line communications apparatus interface on power line is transmitted;High_voltage isolation module be used for transmit power line communication carrier number it is believed that
Number, it is substantially a high-pass filter, can be isolated out the ac supply signal of low frequency, it is to avoid ac supply signal is in itself
Carrier wave data transmission is interfered;Signal isolation module is substantially a low pass alternating current supply filter, for suppressing high
The interference of frequency carrier data, and allow power supply signal is as glitch-free as possible to be passed through;Programmable attenuator is across signal coupling network
On, for generating the signal attenuation under equivalent different power line environments.General control system be able to can be compiled by RS232 buses to this
The pad value of journey attenuator is configured, to simulate the equivalent attenuation of long range power line network wiring.In present invention design,
10dB, 20dB, 40dB, 50dB, 70dB, 80dB these attenuations are produced by controlling programmable attenuator, test is led
Equipment and the measurement equipment is accompanied to carry out throughput performance test.
Two power line communications apparatus interfaces can be expanded by PTS tools, one end sets for connecting power line communication
Standby, one end can be used to connection and accompany measurement equipment.In the present invention, by the power line communications apparatus interface of PTS tools, can extend
Go out multichannel interface, finally realize that multichannel accompanies being sequentially connected for measurement equipment.
During actual test, decay in PTS tools on power line network and AC power are changed by general control system
Supply, realizes the measurement of throughput performance between power line communications apparatus in the environment of power supply supply and power line attenuation change.
Measurement equipment network 2 is accompanied to accompany measurement equipment for providing multiple different types of power line communications.Measurement equipment is accompanied to be strobed
After will successively be connected into test system.
Specifically, measurement equipment network is accompanied to accompany measurement equipment using multiple to verify power line communications test equipment and different type
Performance when accompanying measurement equipment to interconnect.Traditional method of testing needs to change different measurement equipments of accompanying by hand, of the invention to accompany survey
Disposably measurement equipment can be accompanied to be added in test system all after device network, then opening in controlling switch control matrix
Close to select to accompany measurement equipment accordingly.
As shown in figure 3, accompany measurement equipment network include switch control matrix, several accompany measurement equipment, Ethernet switch.Its
In, switch control matrix includes multiple relay units, and measurement equipment is accompanied to gate.Relay unit includes optocoupler and relay
Device is switched.The I/O port of general control system controls the conducting and cut-off of optocoupler by exporting high and low level, with realize after
The closed and disconnected of electric appliance unit contact.Relay switch is defaulted as off-state.When optocoupler switch conduction, relay
The closing of contact, alternating voltage ability normal supply gives what is be attached thereto to accompany measurement equipment.
The circuit structure of relay unit is as shown in Figure 4.Accompany measurement equipment one end to be connected with relay unit, the other end with
Too network switch is connected.Accompany the number of measurement equipment corresponding with relay unit, ethernet port number, and Ethernet switch
Port number need to be more than and accompany the number of measurement equipment.Ethernet switch accompanies measurement equipment and power line communication to set for connecting many
It is standby.After certain relay unit in general control system gating switch control matrix, what is be connected with the relay unit accompanies survey
Equipment is just linked into Ethernet switch.
In view of the limitation of SCM system I/O port quantity, it is preferable that relay unit number is 4, that is, need to use
IO1~IO4 ports of SCM system, the number for accompanying measurement equipment is also 4.
Programmable AC Power Source 3 is used to provide AC power supply for test system.
Preferably, present invention employs the programmable power supply devices of Chroma 61502 as power line network product test
The voltage supply source of system.General control system is conducted interviews control by RS232 buses to Chroma 61502, is exported in setting
Alternating voltage benchmark simultaneously, the on-load voltage impulse disturbances in alternating voltage output waveform, for analog AC electric power network
The ac supply signal of time-varying.As shown in figure 5, reference voltage value is 50Vac, period of change is 100ms, in 35% change week
The voltage pulse of 100Vac is occurred in that in phase.
In AC network, often occur due to the presence of noise jamming, on normal alternating voltage similar above-mentioned
Impulse disturbances.It is targeted in power line network product testing system of the invention exactly this to be superimposed upon on reference voltage value
Alternating voltage pulses.Therefore, general control system needs the exchange for controlling Chroma 61502 to export pulse (Pulse) change width
Voltage, and the alternating voltage is injected into test system.
In general, the AC voltage range residing for power line network product is 100Vac~240Vac, and frequency is 50/
60Hz, in order to reduce the complexity of technical scheme, the present invention devises the test model under three kinds of reference voltages, i.e. reference voltage
It is the test model of the interference voltage pulse accounting change under 100Vac/50Hz, 220Vac/50Hz, 240Vac/50Hz, represents
The fluctuation situation that ac grid voltage changes from low pressure to high pressure, and by interference voltage pulse accounting control design case 50% with
Interior, within reference voltage range value 120%, disturbing pulse Frequency Synchronization is in alternating current for interference voltage impulse amplitude control design case
Net electric voltage frequency.General control system control AC power Chroma 61502 exports voltage waveform combination as shown in table 1.
Table 1, Programmable AC Power Source generates voltage waveform combination
Reference voltage range value |
Pulse voltage amplitude value |
Pulse voltage accounting (Min) |
Pulse voltage accounting (Max) |
Frequency |
Wave period |
100Vac |
120Vac |
5% |
50% |
50Hz |
100ms |
220Vac |
264Vac |
5% |
50% |
50Hz |
100ms |
240Vac |
288Vac |
5% |
50% |
50Hz |
100ms |
These alternating voltages for being superimposed different duty disturbing pulse will be supplied to PTS system by power line, in electricity
It is aided with decay value changes in powerline networks again, it is serious with decay with noise jamming in being finally reached simulated implementation power line network
Application scenarios.
Flow tester 4 is used to perform power line communications test equipment and accompanies the throughput performance of measurement equipment to measure.
Flow tester is the tester for including multiple ethernet ports, for realize power line communications test equipment and
The throughput performance of measurement equipment is accompanied to measure.Therefore, flow tester is in addition to connecting general control system, in addition it is also necessary to connect power line
Communication power line communication test set and the ethernet port for accompanying measurement equipment.If necessary to the test laminar flow amount of Ethernet two, then
Need to set the corresponding MAC Address of each test port (source address and destination address).Present invention relates generally to two layers of Ethernet
Flow rate test, it is therefore desirable to set test port and set corresponding MAC Address, then starting traffic tester carries out message receipts
Hair test.Preferably, the present invention has used Smartbit as flow tester, and according to Ethernet two layer message test side
Method carries out packet sending and receiving test.Meanwhile, of the invention accompanying has bridged Ethernet switch between measurement equipment and traffic tester,
This is different from traditional flow rate test method.If Fig. 6 (a) is traditional method of testing, Fig. 6 (b) is that the present invention is used
Method of testing.
During test, after the corresponding MAC Address of flow tester two-port is set, the negotiated speed of port, duplexing mould are set
Formula, and packet sending and receiving time, you can carry out corresponding flow rate test, test is fast by checking message number, forwarding after stopping
Rate, confirms flow rate test result.
In the present invention, general control system changes pad value, the alternating current in electric power wired link by RS232 bus marcos
Source voltage output and gate it is corresponding accompany measurement equipment, setting time in control flow tester perform complete power line
Communication test set and accompany the flow rate test between measurement equipment.
Decay and AC power confession that general control system 5 is used in regulation control power line communication tool on power line network
Give, and to accompanying the measurement equipment to carry out selection control.
General control system includes SCM system and the control main frame containing multiple RS232 ports.SCM system is used for
The closed and disconnected of controlling switch matrix module repeat circuit contact, corresponding measurement equipment is accompanied to gate or not gate;Containing many
The control main frame of individual RS232 ports controls the programmable attenuator of PTS tools, programmable alternating current by RS232 serial ports respectively
Source and flow tester.
Reference picture 7, the RS232 buses between control main frame and flow tester be mainly used in flow tester connection and
Control;RS232 buses between control main frame and PTS tools are mainly used in the adjustable attenuation of power line carrier module, that is, pass through
RS232 serial ports writes control command to programmable attenuator, to change current pad value;Control main frame and programmable alternating current
RS232 buses between source are used for the communication and control of instrument, i.e., write to Programmable AC Power Source by RS232 serial ports and controlled
Order and voltage control information, then make Programmable AC Power Source according to the magnitude of voltage controlled output of setting, the voltage of output
Signal includes the parameters such as magnitude of voltage, pulse voltage dutycycle, frequency;RS232 buses between control main frame and SCM system are used
Communication Control between module, i.e., control matrix norm to SCM system transmitting order to lower levels by RS232 serial ports with driving switch
Block.
As shown in figure 8, SCM system of the invention employs singlechip chip AT89C2051 as control core, outward
Enclose auxiliary circuit and include serial ports conversion chip MAX232 (TTL RS 232s level), power supply unit (DC-DC module), clock
(XTAL), reset circuit (RESET) etc..The Transistor-Transistor Logic level signal level for being exported AT89C2051 by serial port control circuit is changed
Into RS232 signal levels, and the RS232 serial ports of control main frame is connected to by RJ45 interfaces, the I/O port of AT89C2051 (IO1~
IOn) output logic level is used for control relay unit.For example, it is necessary to make the closing of contact of certain relay unit, then can
Corresponding control command is write with by RS232 serial ports, then AT89C2051 will control corresponding I/O port to export logically high electricity
Flat, the logic high makes the optical coupled switch of relay unit turn on, relay coil energization, realized under electromagnetic force after
Appliance contact is closed, to reach the purpose for accompanying measurement equipment to be powered.Certain is disconnected if desired and accompanies measurement equipment all the way, then needs pass through
RS232 serial ports write-in control command makes the related I/O port of AT89C2051 export logic low.
Therefore, in power line network product testing system of the invention, general control system is by the programmable exchange of control
The alternating voltage of power supply output superposition interference noise pulse, and the alternating voltage is injected into PTS tools, then pass through
RS232 buses are controlled setting to the programmable attenuator of PTS tools, after gating accompanies measurement equipment accordingly, control flow
Tester carries out throughput performance test.Then gate it is next accompany measurement equipment, continue to complete throughput performance test.According to power line
Attenuation on network is set, and changes with reference to disturbing pulse accounting on alternating voltage, using power line network product of the invention
The throughput test results that test system can be covered under 36 kinds of situations, this test sample data volume exceeds well over traditional test side
Test sample data volume under method.Table 2 and table 3 represent the test specimens produced by the test system of the present invention and prior art respectively
This quantity.
Test sample quantity produced by table 2, test system of the invention
The test sample quantity that table 3, test system of the prior art are produced
Test comparison reference is carried out according to different measurement equipments of accompanying, it will obtain throughput performances more when equipment is interconnected
Test result sample.By these enough test samples, help to research and analyse power line network decay seriously and noise
Throughput performance Changing Pattern under serious interference, for the assessment of power line properties of product provides necessary reference frame.
In sum, noise is done during power line network product testing system of the invention is by simulating powerline network environment
Disturb and decay serious situation, test performance of the different power line network products in interconnection;It is power line network product
Performance Evaluation provides necessary reference frame;Using the scheme of pure hardware, the complexity of Software for Design is reduced.So, this hair
It is bright effectively to overcome various shortcoming of the prior art and have high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
The personage for knowing this technology all can carry out modifications and changes under without prejudice to spirit and scope of the invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete with institute under technological thought without departing from disclosed spirit such as
Into all equivalent modifications or change, should be covered by claim of the invention.