Summary of the invention
Present invention is primarily targeted at a kind of surge test system of offer, it is intended to make the survey of sample
Examination data are preserved, and carry out the data of test statistical analysis and derive form.
To achieve these goals, the present invention provides a kind of surge test system, carries including for test sample
For high pressure and the voltage x current generation circuit of big electric current, control the charging of described voltage x current generation circuit or put
The Programmable Logic Controller of electricity, and described test sample is carried out magnitude of voltage and current value collection and shows
Oscillograph;Also include that processor and memorizer, described processor are connected with Programmable Logic Controller, described place
Reason device is connected with described oscillograph, and described processor is connected with described memorizer;
Described processor sends operational order and receives to described Programmable Logic Controller, described Programmable Logic Controller
Described operational order also sends corresponding instruction extremely described current/voltage generation circuit, and described voltage x current is sent out
Described test sample is tested or interrupt test by raw circuit according to the instruction received, described oscillograph
Current value and magnitude of voltage to described test sample are acquired and show further, and described processor accesses
Described oscillograph, obtains described current value and magnitude of voltage, and stores described current value and magnitude of voltage to institute
State in memorizer.
Preferably, surge test system also includes for connecting described processor and described Programmable Logic Controller
Serial ports controller, described serial ports controller input is connected with described processor, outfan with described can
Programmable controller connects.
Preferably, surge test system also include for by the current value of described voltage x current generation circuit and
Magnitude of voltage feeds back to the D/A converting circuit of described Programmable Logic Controller, the input of described D/A converting circuit
End is connected with described voltage x current generation circuit, and the outfan of described D/A converting circuit is able to programme with described
Controller connects.
Preferably, surge test system also includes relay, and the control end of described relay is compiled with described
Range controller connects, and the outfan of described relay is connected with described voltage x current generation circuit.
Preferably, described processor is connected with described oscillograph by RJ45 interface or USB interface.
Preferably, surge test system also includes for showing magnitude of voltage, the electric current that described processor obtains
Value and the display of abnormal prompt, described display is connected with described processor.
Preferably, surge test system also includes the current value for gathering described test sample and magnitude of voltage
Acquisition Circuit, the voltage and current of described Acquisition Circuit is detected and shows by described oscillograph.
The present invention also provides for the method for testing of a kind of surge test system, and this method of testing comprises the following steps:
A, processor read the voltage parameter of Programmable Logic Controller, by the voltage of described Programmable Logic Controller
Parameter judges whether voltage x current generation circuit exists exception;If existing abnormal, then perform step B, if
There is not exception, then perform step C;
B, described processor prompting abnormality, processes abnormal, then repeats step A;
C, described processor send operational order to described Programmable Logic Controller, described Programmable Logic Controller root
Control described voltage x current generation circuit according to described operational order test sample is tested;
Described test sample is carried out current value for D, described oscillograph and magnitude of voltage is acquired;
E, described processor access oscillograph and obtain described current value and the voltage that described oscillograph collects
Value;
The described current value got and magnitude of voltage are preserved to memorizer by F, described processor.
Preferably, performing to initialize before described step A described oscillograph and described serial ports controller
Parameter.
Preferably, when performing described step C, described D/A converting circuit is by voltage x current generation circuit
Magnitude of voltage and current value feed back to described Programmable Logic Controller, when described processor send operational order extremely
During described Programmable Logic Controller, described magnitude of voltage and current value are stored by described Programmable Logic Controller,
Described processor accesses described Programmable Logic Controller, obtains magnitude of voltage and current value and stores to described storage
In device.
The present invention controls Programmable Logic Controller by processor, and then controls voltage x current generation circuit to test
The test mode of sample.Oscillograph is for gathering and show residual voltage value and the current value of test sample.
Processor is again by accessing oscillograph, and then obtains residual voltage value and the current value of test sample, and will
Residual voltage value and current value store to memorizer.The present invention can permanently store the test of test sample
Data, the convenient user of data of this storage carries out statistical analysis to the test data of test sample.This
Invention overcome surge test equipment of the prior art can not store historical data and to cause user to be difficult to right
The test data of test sample carry out the defect of statistical analysis.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The present invention provides surge test system.
With reference to the module diagram that Fig. 1, Fig. 1 are surge test system one embodiment of the present invention.The present embodiment
, there is electricity including providing the voltage x current of high pressure and big electric current for test sample in the surge test system provided
Road 1, controls the Programmable Logic Controller 2 of voltage x current generation circuit 1 charge or discharge, and to test specimens
Product carry out magnitude of voltage and current value collection the oscillograph 3 shown.Surge test system also includes processor 4
With memorizer 5, processor 4 is connected with Programmable Logic Controller 2, and processor 4 is connected with oscillograph 3, place
Reason device 4 is connected with memorizer 5.Processor 4 sends operational order to Programmable Logic Controller 2, programmable control
Device 2 processed receives operational order and sends corresponding instruction control voltage x current generation circuit 1 charge or discharge,
Test sample is tested or interrupt test by voltage x current generation circuit 1 charge or discharge, oscillograph 3
Test sample carrying out current value and magnitude of voltage is acquired and shows, processor 4 accesses oscillograph 3,
Obtain current value and magnitude of voltage, and current value and magnitude of voltage are stored to memorizer 5.
Surge test is mainly and whether user is produced mortality after analog equipment is struck by lightning and endanger, the most residual
Stay voltage excessive or electric current is excessive.Surge test system produces high pressure and big electric current, and to test sample
Carry out high pressure and high-current test.
In the present embodiment, computer includes processor 4 and memorizer 5.Above-mentioned oscillograph 3 and able to programme
Controller 2 is connected with the processor 4 in computer.First oscillograph 3 and serial ports are controlled by processor 4
Device initializes.And it is whole to read Programmable Logic Controller 2 by modbus agreement at serial ports controller 6
The state of parameter.Mainly read in Programmable Logic Controller 2 and the voltage x current generation circuit 1 of record stores up
The magnitude of voltage of energy electric capacity.If the magnitude of voltage of the storage capacitor read is not zero, and voltage x current generation circuit 1
Do not discharge.Processor 4 will send aberrant commands and will be prompted to electricity to computer display, computer display
Current voltage generation circuit 1 does not discharges.Meanwhile, processor 4 can also carry out suitable abnormality processing.Different
The mode often processed has two kinds: one to be that processor 4 sends abnormality processing order to Programmable Logic Controller 2, can
Control voltage x current generation circuit 1 is discharged by programmable controller 2.Two is manual operation so that voltage electricity
Stream occurs circuit 1 to discharge, and releases abnormal.After abnormal releasing, transmission is started test command by processor 4
To Programmable Logic Controller 2.Test sample is entered by Programmable Logic Controller 2 by control voltage x current generation circuit 1
Row test.After test terminates, oscillograph 3 will obtain residual voltage and the current parameters of test sample, and
Show.Processor 4 is by VISA interface accessing oscillograph 3, and it is residual that acquisition oscillograph 3 collects
Stay the oscillogram of voltage, current parameters and display, and preserve further to memorizer 5.Should say
Bright, memorizer 5 can also is that the data base being arranged in processor 4 or data base's remote service
Device.User can also derive the test data of test sample from data base.Can also be from number in computer
According to storehouse is derived Excel form, thus facilitate user that the test data of test sample are carried out statistical analysis.
The present invention controls Programmable Logic Controller 2 by processor 4, and then controls voltage x current generation circuit 1
Test mode to test sample.Oscillograph 3 for gather and show test sample residual voltage value and
Current value.Processor 4 is again by accessing oscillograph 3, and then obtains residual voltage value and the electricity of test sample
Flow valuve, and residual voltage value and current value are stored to memorizer 5.The present invention can permanently store survey
The test data of test agent, the test data of test sample are carried out by the convenient user of data of this storage
Statistical analysis.Instant invention overcomes surge test equipment of the prior art can not store historical data and lead
Family of applying is difficult to that test sample is tested data and carries out the defect of statistical analysis.
Further, surge test system also includes for connecting processor 4 and Programmable Logic Controller 2
Serial ports controller 6, serial ports controller 6 input is connected with processor 4, outfan and Programmable Logic Controller
2 connect.
In the present embodiment, serial ports controller 6 mainly realizes the double of processor 4 and Programmable Logic Controller 2
To communication.Processor 4 can send a command to Programmable Logic Controller 2 by serial ports controller 6.The opposing party
Face, Programmable Logic Controller 2 also can pass through serial ports controller 6 by data signal transmission to processor 4.Such as,
The parameter signals such as charging interval, discharge time, magnitude of voltage and the current value of voltage x current generation circuit 1
All can be transmitted to processor 4 by serial ports controller 6.The signal received will be deposited by processor 4
Store up and show.
Further, surge test system also includes for by the current value of voltage x current generation circuit and electricity
Pressure value feeds back to the D/A converting circuit 7 of Programmable Logic Controller 2, the input of D/A converting circuit 7 and electricity
Current voltage generation circuit 1 connects, and the outfan of D/A converting circuit 7 is connected with Programmable Logic Controller 2.
In the present embodiment, the charging interval of voltage x current generation circuit, discharge time, magnitude of voltage and
Current value will feed back to Programmable Logic Controller 2 by D/A converting circuit 7.Processor 4 again can by access
Programmable controller 2 obtains the parameter of voltage x current generation circuit 1 and carries out showing and storing.
Further, the control end of relay K M is connected with Programmable Logic Controller 2, relay K M
Outfan is connected with voltage x current generation circuit 1.
In the present embodiment, Programmable Logic Controller 2 controls voltage x current send out by controlling relay K M
The charging and discharging of raw circuit 1.
Further, processor 4 is connected with oscillograph 3 by RJ45 interface or USB interface.
Further, surge test system also includes for showing magnitude of voltage, current value and abnormal prompt
Display 8, display 8 is connected with processor 4.
In this example it is shown that device 8 is connected with processor 4, processor 4 will obtain from oscillograph 3
The magnitude of voltage of the test sample taken and current value transmission show to display 8.It addition, processor 4
The parameter obtaining voltage x current generation circuit 1 from Programmable Logic Controller 2 can also be shown.If
There is abnormal situation in system, also can show abnormal in display 8.
Further, surge test system also includes for the current value of collecting test sample and magnitude of voltage
Acquisition Circuit 9, oscillograph 3 detects the voltage and current of Acquisition Circuit 9 and shows.
In the present embodiment, Acquisition Circuit 9 is connected to the power end of test sample, and sample circuit is to surge
Test sample after test carries out residual voltage collection and current acquisition.Oscillograph 3 is by two probe detections
Acquisition Circuit 9, thus the residual voltage in test sample and electric current are shown in oscillograph 3.
Show in conjunction with the flow process with reference to method of testing one embodiment that Fig. 2, Fig. 2 are surge test system of the present invention
It is intended to.The present invention also provides for the method for testing of a kind of surge test system.The test side that the present embodiment provides
Method comprises the following steps:
S10, processor 4 read the voltage parameter of Programmable Logic Controller 2, by Programmable Logic Controller 2
Voltage parameter judges whether voltage x current generation circuit 1 exists exception;If existing abnormal, then perform step
S20, if there is not exception, then performs step S30;
Abnormality pointed out by S20, processor 4, processes abnormal, then repeats step S10;
S30, processor 4 send operational order to Programmable Logic Controller 2, and Programmable Logic Controller 2 is according to connecing
The operational order received controls voltage x current generation circuit 1 and tests test sample;
Test sample is carried out current value for S40, oscillograph 3 and magnitude of voltage is acquired;
S50, processor 4 access oscillograph 3 and obtain current value and the magnitude of voltage that oscillograph collects;
The current value got and magnitude of voltage are preserved to memorizer 5 by S60, processor 4.
In the present embodiment, computer includes processor 4 and memorizer 5, and oscillograph 3 and programmable control
Device 2 processed is connected with computer.First oscillograph 3 and serial ports controller 6 are initialized by processor 4.
And read the state of the whole parameter of Programmable Logic Controller 2 at serial ports controller 6 by modbus agreement.Main
If reading the magnitude of voltage of storage capacitor in the voltage x current generation circuit 1 recorded in Programmable Logic Controller 2.
If the magnitude of voltage of the storage capacitor read is not zero, and voltage x current generation circuit 1 does not discharges.Processor 4
By transmission aberrant commands to display 8, display 8 will be prompted to voltage x current generation circuit 1 and do not discharges.With
Time, processor 4 can also carry out suitable abnormality processing.The mode of abnormality processing has two kinds: one to be place
Reason device 4 sends abnormality processing order and will control voltage x current to Programmable Logic Controller 2, Programmable Logic Controller 2
Circuit 1 is occurred to discharge.Two is manual operation so that voltage x current generation circuit 1 discharges, and releases abnormal.
After abnormal releasing, transmission is started test command to Programmable Logic Controller 2 by processor 4.Programmable Logic Controller
Test sample is tested by 2 by control voltage x current generation circuit 1.After test terminates, oscillograph 3 will
Obtain residual voltage and the current parameters of test sample, and show.Processor 4 is by VISA interface
Access oscillograph 3, obtain the oscillogram of residual voltage, current parameters and display that oscillograph 3 collects,
And preserve further to memorizer 5.It should be noted that, memorizer 5 can also is that and is arranged on process
Data base in device 4 or data base's far-end server.User can also derive test specimens from data base
The test data of product.Computer can also be derived from data base Excel form, thus facilitate user couple
The test data of test sample carry out statistical analysis.
When test sample is tested by voltage x current generation circuit 1, D/A converting circuit 7 is by voltage
The magnitude of voltage of current occuring circuit 1 and current value feed back to Programmable Logic Controller 2, and Programmable Logic Controller 2 is right
Magnitude of voltage and current value store, and processor 4 accesses Programmable Logic Controller 2, obtain magnitude of voltage and electric current
Value also stores to memorizer 5.On the other hand, the parameter obtained is carried out point by processor 4 the most further
Analysis, if finding there is exception in voltage x current generation circuit 1, and processor 4 will send aberrant commands to display
Device 8.Display 8, by abnormal for display, reminds user to carry out abnormal releasing.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention,
Every equivalent structure transformation utilizing description of the invention and accompanying drawing content to be made, or directly or indirectly use
In the technical field that other are relevant, the most in like manner it is included in the scope of patent protection of the present invention.