The content of the invention
In view of the shortcomings of the prior art, the purpose of the present invention is intended to provide a kind of power supply for solving above-mentioned technical problem
ATE.
To achieve the above object, the present invention is adopted the following technical scheme that:
A kind of power supply automatic detecting equipment, it includes controller and test result cue circuit;
The controller is used for when the power detection signal of a power supply to be tested is detected, output test signal a to electronics
Load, is tested, and detecting electronics with causing that the electronic load starts corresponding test pattern according to the test signal
The test result cue circuit is driven to send cue during the test result signal of load;The controller includes at least two tests
Output pin, for being sequentially output test signal;The electronic load is used for according to when the test signal of previous test output pin
Start corresponding test pattern to be tested, and export corresponding test result signal;It is different in current test result signal
Chang Shi, the controller stops output test signal, and drives test result cue circuit to send the prompting underproof prompting of product
Signal;When current test result signal is normal, next test output pin of the controller exports another test signal,
The electronic load starts corresponding test pattern according to another test signal to be tested, and exports another test result letter
Number;When another test result signal is for exception, the controller stops output test signal, and drives test result cue circuit
Send the prompting underproof cue of product;When another test result signal is normal, the controller drives test result
Cue circuit sends the qualified cue of prompting product.
Preferably, the power detection signal input pin of controller is electrically connected with the signal end of power supply to be tested, controller
The test result electrical electronic load of signal input pin output end, controller first test output pin to the 5th test
Output pin is electrically connected with first mode end to the 5th pattern end of electronic load;The driving pin connection of the controller should
Test result cue circuit.
Preferably, this power supply automatic detecting equipment also includes the first optocoupler to the 6th optocoupler, and the input of the first optocoupler connects
The output end of the electronic load is connect, the output end of the first optocoupler connects the test result signal input pin of controller;Second light
Coupling to the input of the 6th optocoupler connects the first of the controller and tests output pin to the 5th test output pin, second respectively
Optocoupler to the output end of the 6th optocoupler connects first mode end to the 5th pattern end of the electronic load respectively.
Preferably, this power supply automatic detecting equipment also includes first resistor to the 6th resistance, and first resistor is connected to electronics
Between the output end of load and first optocoupler;The second resistance to one end of the 6th resistance connects second optocoupler to respectively
The input of six optocouplers, the resistance of electricity second to the other end of the 6th resistance connects the first test output pin of the controller extremely respectively
5th test output pin.
Preferably, the test result cue circuit includes the first light emitting diode, the second light emitting diode, triode, honeybee
Ring device, the 7th resistance to the 11st resistance;
The negative pole of the first light emitting diode connects the first driving pin of the controller, and the positive pole of the first light emitting diode leads to
Cross the 7th resistance and connect a dc source;Second driving pin of the negative pole connection controller of the second light emitting diode, the second hair
The positive pole of optical diode connects the dc source by the 8th resistance;The base stage of triode connects controller by the 9th resistance
3rd drives pin, and also by the tenth resistance eutral grounding, the grounded emitter of triode, the colelctor electrode of triode passes sequentially through the honeybee
Ring device and the 11st resistance connect the dc source, the wherein color of first light emitting diode and the second light emitting diode not
It is identical.
Beneficial effects of the present invention at least include:
Operating personnel without selecting the test pattern of electronic load one by one manually in the present invention, but exported by controller and surveyed
Trial signal, to cause that electronic load starts corresponding test pattern according to the test signal, and points out automatically by test result
Circuit points out product acceptance or rejection, and whole test process is participated in without people, objective and accurate, and testing efficiency is high and tests effect
It is good.
Specific embodiment
Below in conjunction with accompanying drawing and specific embodiment, the present invention is described further:
Refer to Fig. 1, the present invention relates to a kind of power supply automatic detecting equipment, its better embodiment include controller U1 and
Test result cue circuit 10.
Controller U1 is used for when the power detection signal of a power supply (not shown) to be tested is detected, output test letter
Number to an electronic load U9, tested with causing that electronic load U9 starts corresponding test pattern according to the test signal, and
The test result cue circuit 10 is driven to send cue when the test result signal of electronic load U9 is detected, the prompting
Whether signal can be the mode of light or/and sound, to point out product qualified.
In this way, operating personnel need not one by one select the test pattern of electronic load U9 manually in the present invention, but by controlling
Device U2 exports test signal, to cause electronic load U9 according to the test signal corresponding test pattern of startup, and automatically by
Test result cue circuit 10 points out product acceptance or rejection, and whole test process is participated in without people, objective and accurate, test effect
Rate is high and good test effect.
Preferably, the controller includes at least two test output pins;For being sequentially output test signal, the electronic load
U9 is used to be tested according to when the test signal of previous test output pin starts corresponding test pattern, and exports corresponding
Test result signal;When current test result signal is for exception, the controller stops output test signal, and drives test
As a result cue circuit 10 sends the prompting underproof cue of product;When current test result signal is normal, the control
Next test output pin of device processed exports another test signal, and electronic load U9 starts corresponding according to another test signal
Test pattern tested, and export another test result signal;When another test result signal is for exception, the controller
Stop output test signal, and drive test result cue circuit 10 to send the prompting underproof cue of product;Another
When test result signal is normal, the controller drives test result cue circuit 10 to send the qualified prompting letter of prompting product
Number.
Automatically sequentially control electronic load U9 starts different test patterns to the controller of foregoing invention, and is tested currently
Just enter next test pattern when result is normal, otherwise, terminate test, point out product unqualified, so as to improve testing efficiency.
A kind of test pattern of above-mentioned each test output pin correspondence control electronic load U9, the test output pin
Quantity is not limited, and can be 2 or multiple, depending on being needed according to actual test.
In the present embodiment, the power detection signal input pin P0.4 of controller U1 is electrically connected with the power supply to be tested
The output end NG of the electrical electronic load U9 of the test result signal input pin P2.0 of signal end IN, controller U1, the control
The first test tests of output pin P2.1 to the 5th output pin P2.5 of device U1 processed is electrically connected with the of electronic load U9
The one pattern end MODE5 of pattern end MODE1 to the 5th.The driving pin of controller U1 connects the test result cue circuit 10.
Preferably, this power supply automatic detecting equipment also includes the first optocoupler U7 of optocoupler U2 to the 6th, first optocoupler U2's
Input connects the output end NG of electronic load U9, the test result letter of the output end connection controller U1 of first optocoupler U2
Number input pin P2.0;The input of the optocoupler U7 of the second optocoupler U3 to the 6th connects the first test output of the controller respectively
Pin P2.1 to the 5th tests output pin P2.5, and the output end of the optocoupler U7 of the second optocoupler U3 to the 6th connects the electronics respectively
Load the pattern end MODE5 of first mode end MODE1 to the 5th of U9.
The above-mentioned optocoupler U7 of first optocoupler U2 to the 6th are conducive to improving the antijamming capability of this power supply automatic detecting equipment.
This power supply automatic detecting equipment also includes that resistance R1 and resistance R11 to resistance R15, resistance R1 are connected to electronic load
Output end NG and first optocoupler U2 between.Resistance R11 connects the second optocoupler U3 to one end of resistance R15 respectively
The input of six optocoupler U7, the other end of resistance R11 to resistance R15 connects the first test output pin of the controller respectively
The test output pins of P2.1 to the 5th P2.5.
In the present embodiment, the test result cue circuit 10 include the first light emitting diode D1, the second light emitting diode D2,
Triode Q1, buzzer SP, resistance R2 are to resistance R6.
The negative pole of first light emitting diode D1 connects the first driving pin P0.6 of the controller, first light-emitting diodes
The positive pole of pipe D1 connects a dc source VCC by resistance R6;The negative pole of the second light emitting diode D2 connects the of the controller
Two drive pin P0.7, the positive pole of second light emitting diode D2 to connect dc source VCC by resistance R5;Triode Q1's
Base stage connects the 3rd driving pin P2.6 of the controller by resistance R2, is also grounded by resistance R3, the hair of triode Q1
Emitter grounding, the colelctor electrode of triode Q1 passes sequentially through buzzer SP and resistance R4 connects dc source VCC, wherein
The color of the first light emitting diode D1 and the second light emitting diode D2 is differed, for example, the first light emitting diode D1 and second
The color of light emitting diode D2 is respectively green and red.
Illustrate below and the operation principle of the present embodiment is described:
When the power detection signal input pin P0.4 of controller U1 detect one more than 3.0V voltage signal it is (i.e. above-mentioned
Power detection signal) when, the first test output pin P2.1 outputs of controller U1 continue the arteries and veins of 50 milliseconds of 5.0V voltages
Signal (i.e. above-mentioned test signal) is rushed, to cause that electronic load U9 enters the first test pattern, if the test knot of controller U1
Fruit signal input pin P2.0 detects low level signal (i.e. normal test result signal), then next survey of controller U1
Examination output pin output pulse signal, to carry out next pattern test, until all patterns have been detected, if all patterns are detected
Normally, the controller drives first light emitting diode D1 to light, to point out product qualified;If the test result of controller U1
Signal input pin P2.0 detects high level signal (i.e. abnormal test result signal), then controller U1 stops output survey
Trial signal, and drive second light emitting diode D2 to light, while drive buzzer SP to send sound, to point out product not conform to
Lattice.
For a person skilled in the art, technical scheme that can be as described above and design, make other each
Plant corresponding change and deform, and all these changes and deforms the protection model that should all belong to the claims in the present invention
Within enclosing.