Summary of the invention
The invention provides a kind of method and apparatus detecting capacity of power-sourcing equipment, solve in prior art and cannot know the problem of PSE to PD type detection accuracy.
For solving technical problem of the prior art, the invention provides following technical scheme:
Detect a device for capacity of power-sourcing equipment, comprising:
Voltage regulator module, the test voltage for being exported by power supply unit is adjusted to different magnitudes of voltage;
Power on module, is connected with described voltage regulator module, exports to same power receiving equipment for adopting the different magnitudes of voltage after adjustment;
Acquisition module, is connected with the described module that powers on, for obtain described power supply unit to described power receiving equipment adopt adjustment after different magnitudes of voltage under detect the type obtained;
Determination module, is connected with described acquisition module, for the testing result according to described power supply unit, determines the accuracy in detection of described power supply unit to the type of this power receiving equipment.
Further, described device also has following features: it is that the power consuming device that this locality pre-sets powers on that described voltage regulator module is used for described test voltage, the magnitude of voltage after being adjusted.
Further, described device also has following features: in described voltage regulator module, power consuming device adopts the mode of at least two group parallel circuitss to connect.
Further, described device also has following features: described power consumption components and parts are resistance or crystal diode.
Further, described device also has following features: described device also comprises:
Current adjusting module, comprises multiple current adjustment unit, and wherein the resistance of each current adjustment unit and the load circuit that described power receiving equipment forms is to should the different classification of power receiving equipment, wherein:
The described module that powers on, the multichannel loading circuit also for adopting the different magnitudes of voltage after adjustment to form for same power receiving equipment and different current adjustment unit provides voltage;
Described acquisition module, also detects to each load circuit the rating information obtained under obtaining described power supply unit different magnitudes of voltage after the adjustment;
Described determination module, also for consistent by judging the classification with whether the rating information that gets under the different magnitudes of voltage after adjusting is corresponding with described load circuit, determines the accuracy in detection of described power supply unit to the classification of described power receiving equipment.
Detect a method for capacity of power-sourcing equipment, comprising:
The test voltage that power supply unit exports is adjusted to different magnitudes of voltage;
The different magnitudes of voltage after adjustment are adopted to export to same power receiving equipment;
Obtain described power supply unit to described power receiving equipment adopt adjustment after different magnitudes of voltage under detect the type obtained;
According to the testing result of described power supply unit, determine the accuracy in detection of described power supply unit to the type of this power receiving equipment.
Further, described method also has following features: be that the power consuming device that this locality pre-sets powers on by described test voltage, the magnitude of voltage after being adjusted.
Further, described method also has following features: described power consuming device adopts the mode of at least two group parallel circuitss to connect.。
Further, described method also has following features: described power consumption components and parts are resistance or crystal diode.
Further, described method also has following features: described method also comprises:
Adopt the different magnitudes of voltage after adjustment to provide voltage respectively for the multichannel loading circuit of same power receiving equipment and different current adjustment unit composition, wherein the resistance of each current adjustment unit and the load circuit that described power receiving equipment forms is to should the different classification of power receiving equipment;
Under obtaining described power supply unit different magnitudes of voltage after the adjustment, the rating information obtained is detected to each load circuit;
Whether corresponding with described load circuit the classification by the rating information got under judging different magnitudes of voltage be after the adjustment consistent, determines the accuracy in detection of described power supply unit to the classification of described power receiving equipment.
Technical scheme provided by the invention, by the test voltage of the power supply unit obtained is adjusted to different magnitudes of voltage, obtain the testing result of power supply unit to power receiving equipment under different voltage environment again, again according to the testing result of described power supply unit, determine the accuracy in detection of described power supply unit to the type of this power receiving equipment, reach the object knowing power supply unit detectability.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in Figure 1, the invention provides a kind of method detecting capacity of power-sourcing equipment, comprising:
Step 101, by power supply unit export test voltage be adjusted to different magnitudes of voltage;
Different magnitudes of voltage after step 102, employing adjustment export to same power receiving equipment;
Step 103, obtain described power supply unit to described power receiving equipment adopt adjustment after different magnitudes of voltage under detect the type obtained;
Step 104, testing result according to described power supply unit, determine the accuracy in detection of described power supply unit to the type of this power receiving equipment.
Technical scheme provided by the invention, the test voltage of the power supply unit obtained is adjusted to different magnitudes of voltage, obtain the testing result of power supply unit to power receiving equipment under different voltage environment again, again according to the testing result of described power supply unit, determine the accuracy in detection of described power supply unit to the type of this power receiving equipment, reach the object knowing power supply unit detectability.
Below technical scheme provided by the invention is described further:
Application example one
As shown in Figure 2, the invention provides a kind of method application example detecting capacity of power-sourcing equipment, comprising:
Step 201, the test voltage exported by power supply unit are that different voltage regulator module powers on, the different magnitudes of voltage after being adjusted;
In this step, by being that this test voltage is adjusted to different magnitudes of voltage, such as, by this test voltage being reduced to different magnitudes of voltage after the power consumption components and parts of different power consumption ability by voltage regulator module for adjusting voltage by testing power supply.
Wherein power consuming device can be resistance or crystal diode.
It should be noted that, power consuming device is not limited to this, and those skilled in the art can also adopt the device of other attrition voltages, repeat no longer one by one herein.
When practical application, one or more parallel circuits can be adopted to connect with power receiving equipment realize, if wherein adopt a parallel circuits to build, the every bar circuit then configured in this parallel circuits is a voltage regulator module, can certainly using the new parallel circuits of at least two branch road compositions in this parallel circuits as a voltage regulator module, if adopt the mode of at least two parallel circuit in series to build, then need to select at least one branch road from each parallel circuits, and the branch road of selection is configured to a voltage regulator module.By configuring a switch on every bar branch road, controlling the using state of this branch road, namely closing this switch, namely represent and adopt the circuit element of this switch place branch road to adjust described test voltage.When the voltage needing adjustment is n value, if adopt a parallel circuits, then this parallel circuits comprises n branch road, Voltage Cortrol ability inequality between two in each branch road, such as, if adjusted the branch road of test voltage by power consumption, for resistance, total resistance inequality between two of every bar branch resistance; If adopt m parallel circuits to realize, in each parallel circuits, the number of branch road is followed successively by A1, A2, A3......Am, wherein A1*A2*A3......*Am > n, can draw and adopt multiple parallel circuits mode to realize.As seen from the above, compared with the circuit element needed for employing parallel circuits, when the value number realizing the Voltage Cortrol exported by PSE is identical, adopt the number of the circuit element needed for multiple parallel circuit in series will be less than a parallel circuits and realize lacking, required hardware cost is low.
Preferably, the present invention adopts power consuming device to realize the adjustment of voltage, and the power consuming device of selection is crystal diode.Power consumption ability due to crystal diode is in certain scope, namely between 0.15 ~ 1.7V, thus enables testing staff know current test environment.
Different magnitudes of voltage after step 202, employing adjustment export to same power receiving equipment;
Step 203, obtain described power supply unit to described power receiving equipment adopt adjustment after different magnitudes of voltage under detect the type obtained;
In this step, as shown in table 1, in prior art, the type of PD is divided into 7 classes:
Item |
Parameter |
Symbol |
Unit |
Min |
Max |
1 |
Accept signature resistance |
Rgood |
kΩ |
19.0 |
26.5 |
2 |
Accept signature capacitance |
Cgood |
μF |
-- |
0.150 |
3 |
Signature offset voltage tolerance |
Vos |
V |
0 |
2.00 |
4 |
Signature offset current tolerance |
Ios |
μA |
0 |
12.0 |
5 |
Reject signature resistance |
Rbad |
kΩ |
<15.0 |
>33.0 |
6 |
Reject signature capacitance |
Cbad |
μF |
10.0 |
-- |
7 |
Open circuit resistance |
Ropen |
MΩ |
0.500 |
-- |
The classification of the PD that table 1IEEE802.3at standard specifies
In prior art, the method for the type of power supply unit detection power receiving equipment is all applicable to this invention, repeats no more herein.
Step 204, judge that whether testing result identical in the testing result of this power supply unit meets the number management strategy pre-set.
In this step, this number management strategy is that the percentage that identical testing result accounts for whole testing result is greater than 80%, if be greater than, then determines to meet this number management strategy; Otherwise, determine not meet this number management strategy.
Step 205, according to judged result, determine the accuracy in detection of this power supply unit to the type of this power receiving equipment.
In this step, if determine to meet this number management strategy, then determine that this accuracy in detection is high, represent that this power supply unit normally can detect the power receiving equipment of this type in the future, and make power supply reaction according to detection case; Otherwise, determine that this accuracy in detection is low, represent that this power supply unit can not tested the power receiving equipment of this type in the future, should with use.
It should be noted that, step 201 ~ 205 can detect the accuracy in detection of power supply unit to a certain type, but be not limited thereto, those skilled in the art can adopt the power receiving equipment of step other types to detect, obtain the accuracy in detection of power supply unit to other types, due to method and flow process similar, repeat no more herein.
The technical scheme that application example one of the present invention provides, the test voltage of the power supply unit obtained is adjusted to different magnitudes of voltage, obtain the testing result of power supply unit to power receiving equipment under different voltage environment again, again according to the testing result of described power supply unit, determine the accuracy in detection of described power supply unit to the type of this power receiving equipment, reach the object knowing power supply unit detectability; Adopt the size of power consuming device adjustment test voltage, implementation is simple; Build voltage-regulating circuit by the mode of multi-channel parallel circuit connected in series, hardware cost is low.
Application example two
As shown in Figure 3, the invention provides a kind of method Another Application example detecting capacity of power-sourcing equipment, comprising:
Step 301, by power supply unit export Voltage Cortrol to different magnitudes of voltage, adopt the different magnitudes of voltage after adjustment to provide voltage respectively for the multichannel loading circuit of same power receiving equipment and different current adjustment unit composition, wherein the resistance of each current adjustment unit and the load circuit that described power receiving equipment forms is to should the different classification of power receiving equipment.
In this step, each current adjustment unit is for identifying a classification of this power receiving equipment, the resistance do not waited by resistance is realized, and in each current adjustment unit, the size of resistance is the electric current decision corresponding to the classification of power receiving equipment, as shown in table 2:
Measured Iclass |
Classification |
0mA——5.00mA |
Class0 |
> 5.00mA and < 8.00mA |
May be Class 0or1 |
8.00mA——13.0mA |
Class 1 |
> 13.0mA and < 16.0mA |
EitherClass 1or2 |
16.0mA——21.0mA |
Class2 |
> 5.00mA and < 8.00mA |
Either Class 2or 3 |
8.00mA——13.0mA |
Class 3 |
> 5.00mA and < 8.00mA |
Either Class 3or 4 |
8.00mA——13.0mA |
Class4 |
> 5.00mA and < 8.00mA |
Either Class 4or invalid class |
The PD classification that table 2IEEE802.3zt standard specifies
Such as, Standard resistance range for resistance in the current adjustment unit of Class 0 obtains especially by such as under type: the resistance of (current value of current magnitude of voltage ÷ Class0)-power receiving equipment, with reference to the bound of the On The Current Value of the Class 0 in table 2, the bound of resistance in the current adjustment unit of Class 0 can be obtained.
Wherein this magnitude of voltage can be the test voltage that power supply unit directly exports, and also can be through the voltage after power consuming device.
Wherein the resistance of each classification adopts the mode of parallel circuits to connect, and wherein every bar branch road is configured with an enable switch, by controlling the state of this enable switch, controls classification to be detected.
Under step 302, acquisition different magnitudes of voltage after the adjustment, described power supply unit detects the rating information obtained to each load circuit;
Such as, the different magnitudes of voltage after adjustment are respectively A, B, C, then obtain power supply unit under magnitude of voltage A and each load circuit is detected to the rating information obtained, in like manner B and C.
The classification whether rating information got under step 303, judgement different magnitudes of voltage is after the adjustment corresponding with load circuit is consistent;
In this step, judge that whether power supply unit is correct to whole hierarchical detection of power receiving equipment under certain magnitude of voltage, what such as power supply unit detected load circuit when voltage is A is classified as Class1, if check this load circuit corresponding be classified as Class1, then determine that two rating informations are consistent, represent that power supply unit is accurate to the inspection of this classification at this voltage; Otherwise, determine that two rating informations are inconsistent, represent that power supply unit is inaccurate to the inspection of this classification at this voltage.Adopt as above method can get power supply unit testing result to classification under different voltage.
Step 304, according to judged result, determine the accuracy in detection of power supply unit to the classification of power receiving equipment.
In this step, if it is very accurate to each hierarchical detection under each different adjustment voltage that the result determined in step 303 is power supply unit, then represent that the hierarchical detection accuracy of this power supply unit to power receiving equipment is high, accurately can test the classification of this power receiving equipment in the future; Otherwise, represent that the hierarchical detection accuracy of this power supply unit to power receiving equipment is low, erroneous judgement existed to the hierarchical detection of this power receiving equipment in the future.
It should be noted that, step 301 ~ 304 can detect the accuracy in detection of power supply unit to the classification of a certain power receiving equipment, but be not limited thereto, those skilled in the art can adopt other power receiving equipments of step to detect, obtain the hierarchical detection accuracy of power supply unit to other power receiving equipments, due to method and flow process similar, repeat no more herein.
The technical scheme that application example two of the present invention provides, by different current adjustment units is connected with power receiving equipment, the hierarchical detection object of power supply unit is originally made to become multiple from one, whether the rating information again by getting power supply unit is correct, determines the accuracy in detection of described power supply unit to the classification of power receiving equipment.
Method shown in composition graphs 1 ~ 3, the invention provides a kind of device detecting capacity of power-sourcing equipment, as shown in Figure 4, comprising:
Voltage regulator module 401, the test voltage for being exported by power supply unit is adjusted to different magnitudes of voltage;
Power on module 402, is connected with described voltage regulator module 401, exports to same power receiving equipment for adopting the different magnitudes of voltage after adjustment;
Acquisition module 403, is connected with the described module 402 that powers on, for obtain described power supply unit to described power receiving equipment adopt adjustment after different magnitudes of voltage under detect the type obtained;
Determination module 404, is connected with described acquisition module 403, for the testing result according to described power supply unit, determines the accuracy in detection of described power supply unit to the type of this power receiving equipment.
Further, it is that the power consuming device that this locality pre-sets powers on that described voltage regulator module is used for described test voltage, the magnitude of voltage after being adjusted.
Further, in described voltage regulator module, power consuming device adopts the mode of at least two group parallel circuitss to connect.
Further, described power consumption components and parts are resistance or crystal diode.
Further, described device also comprises:
Current adjusting module, comprises multiple current adjustment unit, and wherein the resistance of each current adjustment unit and the load circuit that described power receiving equipment forms is to should the different classification of power receiving equipment, wherein:
The described module that powers on, the multichannel loading circuit also for adopting the different magnitudes of voltage after adjustment to form for same power receiving equipment and different current adjustment unit provides voltage respectively;
Described acquisition module, also detects for described power supply unit under obtaining different magnitudes of voltage after the adjustment the rating information obtained to each load circuit;
Described determination module, also consistent for the classification whether rating information got under the different magnitudes of voltage by judging after the adjustment is corresponding with described load circuit, determine the accuracy in detection of described power supply unit to the classification of described power receiving equipment.
With reference to foregoing description, the invention provides the system adopting this device with, as shown in Figure 5, wherein:
Data/power supply signal input module, this module is mainly used in Ethernet data signal to be separated with power supply signal;
Rectification module is used for the polarity that compatible different differential pair carries power supply signal;
Voltage regulator module is made up of, for test voltage is adjusted to different magnitudes of voltage different number diode passage;
Current adjusting module is made up of the graded resistance of different size, for the electric current of adjustment System.
Device provided by the invention, the test voltage of the power supply unit obtained is adjusted to different magnitudes of voltage, obtain the testing result of power supply unit to power receiving equipment under different voltage environment again, again according to the testing result of described power supply unit, determine the accuracy in detection of described power supply unit to the type of this power receiving equipment, reach the object knowing power supply unit detectability; Adopt the size of power consuming device adjustment test voltage, implementation is simple; Build voltage-regulating circuit by the mode of multi-channel parallel circuit connected in series, hardware cost is low; By different current adjustment units is connected with power receiving equipment, the hierarchical detection object of power supply unit is originally made to become multiple from one, whether the rating information again by getting power supply unit is correct, determines the accuracy in detection of described power supply unit to the classification of power receiving equipment.
One of ordinary skill in the art will appreciate that all or part of step of above-described embodiment can use computer program flow process to realize, described computer program can be stored in a computer-readable recording medium, described computer program (as system, unit, device etc.) on corresponding hardware platform performs, when performing, step comprising embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment also can use integrated circuit to realize, and these steps can be made into integrated circuit modules one by one respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in above-described embodiment can adopt general calculation element to realize, and they can concentrate on single calculation element, also can be distributed on network that multiple calculation element forms.
Each device/functional module/functional unit in above-described embodiment using the form of software function module realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.The above-mentioned computer read/write memory medium mentioned can be read-only memory, disk or CD etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range described in claim.