CN107121656A - A kind of power supply automatic calibrating method and device - Google Patents
A kind of power supply automatic calibrating method and device Download PDFInfo
- Publication number
- CN107121656A CN107121656A CN201710292881.2A CN201710292881A CN107121656A CN 107121656 A CN107121656 A CN 107121656A CN 201710292881 A CN201710292881 A CN 201710292881A CN 107121656 A CN107121656 A CN 107121656A
- Authority
- CN
- China
- Prior art keywords
- power supply
- voltage
- parameter
- current value
- calibration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/005—Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Voltage And Current In General (AREA)
Abstract
The embodiment of the invention discloses a kind of power supply automatic calibrating method and device, wherein methods described includes:Obtain the detection magnitude of voltage, detection current value and actual voltage value, actual current value of power supply;The calibration parameter of the power supply is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value;The voltage x current of the power supply is calibrated automatically according to the calibration parameter.The present invention can be realized by calibration parameter and the voltage x current detected in power supply is calibrated automatically, reduced the cost of power supply product, improved the usage experience of user, and further protect power circuit and the product-laden being connected on power circuit.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of power supply automatic calibrating method and device.
Background technology
At present, in Power Supply Monitoring intermediate item, it is often necessary to which the output voltage and output current of power supply are detected, but
It is due to the generally existing of power supply hardware self character and component otherness, inevitably occurs coming out power detecting
Output voltage and output current and actual value there is the phenomenon of relatively large deviation;In actual applications, if without such a deviation
Calibration, the cost of power supply product will be caused to improve, and be unfavorable for the use of user, can further damaged using this kind
The power circuit of power supply and the product-laden being connected on power circuit.
The content of the invention
The embodiment of the present invention provides a kind of power supply automatic calibrating method and device, by determining that the calibration parameter of power supply can be with
Realize and the voltage x current detected in power supply is calibrated automatically, reduce the cost of power supply product, improve making for user
With experience, and further protect power circuit and the product-laden being connected on power circuit.
On the one hand, the embodiments of the invention provide a kind of power supply automatic calibrating method, this method includes:
Obtain the detection magnitude of voltage, detection current value and actual voltage value, actual current value of power supply;
The calibration of the power supply is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
Parameter;
The voltage x current of the power supply is calibrated automatically according to the calibration parameter.
Further, the calibration parameter includes voltage calibration parameter and correcting current parameter, described according to detection voltage
Value, detection current value and actual voltage value, actual current value determine the calibration parameter of the power supply, including:
The voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value;Or
The correcting current parameter of the power supply is calculated according to the detection current value and actual current value.
Further, the voltage of the power supply is calibrated automatically according to the calibration parameter, including:
If the calibration parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage values.
Further, the electric current of the power supply is calibrated automatically according to the calibration parameter, including:
If the calibration parameter is different from preset standard parameter, by the correcting current of the power supply to target current value.
Further, the electricity is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
After the step of calibration parameter in source, in addition to:
Judge whether the power supply is in power-up state;
If the power supply is in power-up state, identified calibration parameter is sent into the single-chip microcomputer of the power supply and protected
Deposit.
On the other hand, the embodiments of the invention provide a kind of power supply self-checking device, the device includes:
Acquisition module, detection voltage x current value and virtual voltage current value for obtaining power supply;
Determining module, the calibration for determining the power supply according to the detection voltage x current value and virtual voltage current value
Parameter;
Automatic calibration module, for being calibrated automatically to the voltage x current of the power supply according to the calibration parameter.
Further, the determining module, specifically for:
The voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value;Or according to institute
State detection current value and actual current value calculates the correcting current parameter of the power supply.
Further, the automatic calibration module, specifically for:
If the calibration parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage values.
Further, the automatic calibration module, specifically for:
If the calibration parameter is different from preset standard parameter, by the correcting current of the power supply to target current value.
Further, the power supply self-checking device also includes:
Judge module, for judging whether the power supply is in power-up state;
Sending module, if being in power-up state for the power supply, identified calibration parameter is sent to the power supply
Single-chip microcomputer in and preserve.
In summary, the invention has the advantages that:The embodiment of the present invention by obtain power supply detection magnitude of voltage,
Detect current value and actual voltage value, actual current value, according to detection magnitude of voltage, detection current value and actual voltage value,
Actual current value determines the calibration parameter of the power supply, the voltage x current of the power supply is carried out according to the calibration parameter automatic
Calibration, it is possible to achieve calibrated automatically to the voltage x current detected in power supply, reduces the cost of power supply product, improves
The usage experience of user, and further protect power circuit and the product-laden being connected on power circuit.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram for power supply automatic calibrating method that one embodiment of the invention is provided.
Fig. 2 is a kind of schematic flow diagram for power supply automatic calibrating method that another embodiment of the present invention is provided.
Fig. 3 is a kind of schematic block diagram of power supply self-checking device provided in an embodiment of the present invention.
Fig. 4 is a kind of another schematic block diagram of power supply self-checking device provided in an embodiment of the present invention.
Fig. 5 is a kind of structure composition schematic diagram of power supply autoalign unit provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated
Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram of power supply automatic calibrating method provided in an embodiment of the present invention.Should
Method includes step S101~S103.
S101, obtains the detection magnitude of voltage, detection current value and actual voltage value, actual current value of power supply.
In embodiments of the present invention, the detection magnitude of voltage refers to the magnitude of voltage that power supply is detected in itself, the inspection
Survey current value and refer to the current value that power supply is detected in itself, wherein, the detection also refers to the AD detections of power supply, also
It is to say that the detection magnitude of voltage can refer to the magnitude of voltage that power supply carries out AD detections, the detection current value can refer to power supply and carry out AD
The current value of detection;The actual voltage value refers to that the output end of power supply is connected after load, shown power supply in load
Output voltage, the actual current value refers to that the output end of power supply is connected after load, the output of shown power supply in load
Electric current, wherein, the load can be electronic load, and electronic load includes DC Electronic Loads and alternating current electronic load, institute
It can also be the electronic component for being connected to both ends of power to state load, and electronic component includes the electrical appliances such as electric light, electric bell.
It should be noted that in the embodiment of the present invention, if the output end of power supply connects electronic load, being communicated by RS232
Interface connects electronic load and default display system, the electricity for being read electronic load using the communication of electronic load in itself
The actual voltage value in source, actual current value transmit to default display system and to user show corresponding actual voltage value with
And actual current value.
S102, the power supply is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
Calibration parameter.
In embodiments of the present invention, the calibration parameter includes voltage calibration parameter and correcting current parameter, if the school
Quasi- parameter is voltage calibration parameter, is joined according to the voltage calibration that the detection magnitude of voltage and actual voltage value calculate the power supply
Number, specifically, the voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value, can be according to
Equation below one carries out the calculating of the voltage calibration parameter, and formula one is:((V1-V2)/V2*500)+100=λ 1, wherein V1
For the actual voltage value, V2 is the detection magnitude of voltage, and λ 1 is the voltage calibration parameter;Such as described actual voltage value V1
=210V, the detection magnitude of voltage V2=200V, then calibration parameter λ 1 is then ((210-200)/200*500)+100=125;
If the calibration parameter is correcting current parameter, the electricity of the power supply is calculated according to the detection current value and actual current value
Calibration parameter is flowed, specifically, the correcting current parameter of the power supply is calculated according to the detection current value and actual current value,
The calculating of the correcting current parameter can be carried out according to equation below two, formula two is:((I1-I2)/I1*500)+100=λ
2, wherein I1 are the actual current value, and I2 is the detection current value, and λ 2 is the correcting current parameter;Such as described reality
Current value I1=1.1A, the detection current value I2=1A, then the correcting current parameter lambda 2 is then ((1.1-1)/1*500)
+ 100=150.
It should be noted that, it is necessary to connect what is be calibrated by universal meter in the existing method calibrated to power supply
Power switch, the magnitude of voltage/current value and power supply for then measuring power supply according still further to certain step shows magnitude of voltage/electric current in itself
Value, and magnitude of voltage/current value that universal meter measurement is obtained is as standard value, the magnitude of voltage that power supply is shown/current value in itself is made
For measured value, the difference of standard value and measured value is finally calculated again as the absolute error of the power supply, then according to the absolute error
Carry out corresponding voltage calibration/correcting current;In the method that the embodiment of the present invention is calibrated to power supply, calibration is computed as above
Shown in the formula of parameter, by determining detection magnitude of voltage/detection current value, actual voltage value/actual current value, further according to formula
Calibration parameter is calculated, power supply is calibrated using calibration parameter, power supply is measured using the mode of universal meter so as to avoid
The process of magnitude of voltage/current value because selection universal meter can produce following reason and cause error to produce, such as gauge outfit sensitivity compared with
Low, if universal meter direct current is not if internal resistance reaches 10000 ohm/volt, measurement is that error just occurs, and the shelves used
The lower error in position will be bigger;Current divider in universal meter must be calculated accurately, if occurring being difficult to behind error here
Calculate;Alternating voltage shelves due to rectifying tube be nonlinear elements, so AC low-tension when may not with exchange 100V simultaneously
Using same scale, error is otherwise also had;Furthermore, the automatic calibration of power supply can be realized by calibration parameter, to ensure
The normal of power supply is used.
S103, is calibrated automatically according to the calibration parameter to the voltage x current of the power supply.
In embodiments of the present invention, can all there are the preset standard parameter of acquiescence, the pre- bidding in the inside of the power supply
Quasi- parameter is configured when power supply dispatches from the factory, and the preset standard parameter can include on the preset standard parameter of voltage or pass
In the preset standard parameter of electric current;By the relatively calibration parameter and preset standard parameter may determine that power supply whether need into
Row calibration, wherein, if the calibration parameter is identical with default calibration parameter, judge that power supply need not be calibrated, if the school
Quasi- parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage, if or the calibration parameter with
Preset standard parameter is different, by the correcting current of the power supply to target current;Specifically, if the voltage calibration parameter with it is pre-
If canonical parameter is different, by the voltage calibration of the power supply to target voltage, if or the correcting current parameter and pre- bidding
Quasi- parameter is different, by the correcting current of the power supply to target current.For example, setting preset standard parameter to be 100, when the school
When quasi- parameter is more than 100, detection magnitude of voltage forward direction is adjusted, when the calibration parameter is less than 100, will detect that magnitude of voltage is reverse
Adjustment, more specifically, the calibration of the target voltage can be carried out according to equation below three, formula three is:V3=V2+V2/ ((λ
1-100)/500), wherein, V2 is detection magnitude of voltage, and V3 is the target voltage after being calibrated, and λ 1 is voltage calibration parameter,
We can set calibration accuracy in the embodiment of the present invention, be 1/500 in the alignment precision of this formula three, when voltage calibration parameter
For 125 when, according to formula three calibrate after target voltage V3 be 204V.
As seen from the above, the embodiment of the present invention is electric by the detection magnitude of voltage, detection current value and reality for obtaining power supply
Pressure value, actual current value, the electricity is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
The calibration parameter in source, is calibrated, it is possible to achieve to power supply automatically according to the calibration parameter to the voltage x current of the power supply
In the voltage x current that detects calibrated automatically, reduce the cost of power supply product, improve the usage experience of user, go forward side by side
Protect power circuit and the product-laden being connected on power circuit to one step.
Referring to Fig. 2, Fig. 2 is a kind of exemplary flow for power supply automatic calibrating method that another embodiment of the present invention is provided
Figure.The method comprising the steps of S201~S205.
S201, obtains the detection magnitude of voltage, detection current value and actual voltage value, actual current value of power supply.
In embodiments of the present invention, the detection magnitude of voltage refers to the magnitude of voltage that power supply is detected in itself, the inspection
Survey current value and refer to the current value that power supply is detected in itself, wherein, the detection also refers to the AD detections of power supply, also
It is to say that the detection magnitude of voltage can refer to the magnitude of voltage that power supply carries out AD detections, the detection current value can refer to power supply and carry out AD
The current value of detection;The actual voltage value refers to that the output end of power supply is connected after load, shown power supply in load
Output voltage, the actual current value refers to that the output end of power supply is connected after load, the output of shown power supply in load
Electric current, wherein, the load can be electronic load, and electronic load includes DC Electronic Loads and alternating current electronic load, institute
It can also be the electronic component for being connected to both ends of power to state load, and electronic component includes the electrical appliances such as electric light, electric bell.
It should be noted that in the embodiment of the present invention, if the output end of power supply connects electronic load, being communicated by RS232
Interface connects electronic load and default display system, the electricity for being read electronic load using the communication of electronic load in itself
The actual voltage value in source, actual current value transmit to default display system and to user show corresponding actual voltage value with
And actual current value.
S202, the power supply is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
Calibration parameter.
In embodiments of the present invention, the calibration parameter includes voltage calibration parameter and correcting current parameter, if the school
Quasi- parameter is voltage calibration parameter, is joined according to the voltage calibration that the detection magnitude of voltage and actual voltage value calculate the power supply
Number, specifically, the voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value, can be according to
Equation below one carries out the calculating of the voltage calibration parameter, and formula one is:((V1-V2)/V2*500)+100=λ 1, wherein V1
For the actual voltage value, V2 is the detection magnitude of voltage, and λ 1 is the voltage calibration parameter;Such as described actual voltage value V1
=210V, the detection magnitude of voltage V2=200V, then calibration parameter λ 1 is then ((210-200)/200*500)+100=125;
If the calibration parameter is correcting current parameter, the electricity of the power supply is calculated according to the detection current value and actual current value
Calibration parameter is flowed, specifically, the correcting current parameter of the power supply is calculated according to the detection current value and actual current value,
The calculating of the correcting current parameter can be carried out according to equation below two, formula two is:((I1-I2)/I1*500)+100=λ
2, wherein I1 are the actual current value, and I2 is the detection current value, and λ 2 is the correcting current parameter;Such as described reality
Current value I1=1.1A, the detection current value I2=1A, then the correcting current parameter lambda 2 is then ((1.1-1)/1*500)
+ 100=150.
S203, judges whether the power supply is in power-up state.
S204, if the power supply is in power-up state, identified calibration parameter is sent to the single-chip microcomputer of the power supply
In and preserve.
Power source internal detecting system is connected there is provided man-machine communication interface in embodiments of the present invention, and reads power supply and is protected
The preset standard parameter for the acquiescence deposited, the calibration parameter inputted in interface is transmitted to the single-chip microcomputer of power supply, and be stored in electricity
Inside the single-chip microcomputer in source, during so that power supply being started shooting every time, the single-chip microcomputer in power supply all reads out calibration parameter, each time
When being detected to voltage or electric current, all calibrated with the calibration parameter preserved, with regard to can more accurately be detected
Magnitude of voltage or detection current value.
It should be noted that power supply is after new calibration parameter is received, replace original silent with newest calibration parameter
The preset standard parameter recognized is calibrated, and this newest calibration parameter is stored in inside single-chip microcomputer, is covered originally
Preset standard parameter.
S205, is calibrated automatically according to the calibration parameter to the voltage x current of the power supply.
In embodiments of the present invention, can all there are the preset standard parameter of acquiescence, the pre- bidding in the inside of the power supply
Quasi- parameter is configured when power supply dispatches from the factory, and the preset standard parameter can include on the preset standard parameter of voltage or pass
In the preset standard parameter of electric current;By the relatively calibration parameter and preset standard parameter may determine that power supply whether need into
Row calibration, wherein, if the calibration parameter is identical with default calibration parameter, judge that power supply need not be calibrated, if the school
Quasi- parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage, if or the calibration parameter with
Preset standard parameter is different, by the correcting current of the power supply to target current;Specifically, if the voltage calibration parameter with it is pre-
If canonical parameter is different, by the voltage calibration of the power supply to target voltage, if or the correcting current parameter and pre- bidding
Quasi- parameter is different, by the correcting current of the power supply to target current.For example, setting preset standard parameter to be 100, when the school
When quasi- parameter is more than 100, detection magnitude of voltage forward direction is adjusted, when the calibration parameter is less than 100, will detect that magnitude of voltage is reverse
Adjustment, more specifically, the calibration of the target voltage can be carried out according to equation below three, formula three is:V3=V2+V2/ ((λ
1-100)/500), wherein, V2 is detection magnitude of voltage, and V3 is the target voltage after being calibrated, and λ 1 is voltage calibration parameter,
We can set calibration accuracy in the embodiment of the present invention, be 1/500 in the alignment precision of this formula three, when voltage calibration parameter
For 125 when, according to formula three calibrate after target voltage V3 be 204V.
As seen from the above, the embodiment of the present invention connects power source internal detecting system by providing man-machine communication interface, by institute
The calibration parameter of determination sends into the single-chip microcomputer of the power supply and preserved, it is ensured that upper electricity all uses preserved calibration to power supply every time
Parameter carries out the calibration of detection voltage/current, more accurately to be detected magnitude of voltage or detection current value.
Referring to Fig. 3, a kind of above-mentioned power supply automatic calibrating method of correspondence, the embodiment of the present invention also proposes that a kind of power supply is automatic
Calibrating installation, the device 300 includes:Acquisition module 301, determining module 302, automatic calibration module 303.
Wherein, the acquisition module, detection voltage x current value and virtual voltage current value for obtaining power supply.In this hair
In bright embodiment, the detection magnitude of voltage refers to the magnitude of voltage that power supply is detected in itself, and the detection current value is referred to
The current value that power supply is detected in itself, wherein, the detection also refers to the AD detections of power supply, that is to say, that the detection electricity
Pressure value can refer to the magnitude of voltage that power supply carries out AD detections, and the detection current value can refer to the current value that power supply carries out AD detections;
The actual voltage value refers to that the output end of power supply is connected after load, and the output voltage of shown power supply, described in load
Actual current value refers to that the output end of power supply is connected after load, the output current of shown power supply in load, wherein, it is described
Load can be electronic load, and electronic load includes DC Electronic Loads and alternating current electronic load, and the load can also be
The electronic component of both ends of power is connected to, electronic component includes the electrical appliances such as electric light, electric bell.
It should be noted that in the embodiment of the present invention, if the output end of power supply connects electronic load, being communicated by RS232
Interface connects electronic load and default display system, the electricity for being read electronic load using the communication of electronic load in itself
The actual voltage value in source, actual current value transmit to default display system and to user show corresponding actual voltage value with
And actual current value.
The determining module, for determining the power supply according to the detection voltage x current value and virtual voltage current value
Calibration parameter, specifically for:The voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value;
Or the correcting current parameter of the power supply is calculated according to the detection current value and actual current value.In the embodiment of the present invention
In, the calibration parameter includes voltage calibration parameter and correcting current parameter, if the calibration parameter is voltage calibration parameter, root
The voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value, specifically, according to the detection
Magnitude of voltage and actual voltage value calculate the voltage calibration parameter of the power supply, can carry out the voltage according to equation below one
The calculating of calibration parameter, formula one is:((V1-V2)/V2*500)+100=λ 1, wherein V1 are the actual voltage value, and V2 is
The detection magnitude of voltage, λ 1 is the voltage calibration parameter;Such as described actual voltage value V1=210V, the detection magnitude of voltage
V2=200V, then calibration parameter λ 1 is then ((210-200)/200*500)+100=125;The determining module is also specific to use
In:If the calibration parameter is correcting current parameter, the power supply is calculated according to the detection current value and actual current value
Correcting current parameter, specifically, the correcting current of the power supply is calculated according to the detection current value and actual current value
Parameter, can carry out the calculating of the correcting current parameter according to equation below two, and formula two is:((I1–I2)/I1*500)+
100=λ 2, wherein I1 are the actual current value, and I2 is the detection current value, and λ 2 is the correcting current parameter;Such as institute
State actual current value I1=1.1A, the detection current value I2=1A, then the correcting current parameter lambda 2 then for ((1.1-1)/
1*500)+100=150.
It should be noted that, it is necessary to connect what is be calibrated by universal meter in the existing method calibrated to power supply
Power switch, the magnitude of voltage/current value and power supply for then measuring power supply according still further to certain step shows magnitude of voltage/electric current in itself
Value, and magnitude of voltage/current value that universal meter measurement is obtained is as standard value, the magnitude of voltage that power supply is shown/current value in itself is made
For measured value, the difference of standard value and measured value is finally calculated again as the absolute error of the power supply, then according to the absolute error
Carry out corresponding voltage calibration/correcting current;In the method that the embodiment of the present invention is calibrated to power supply, calibration is computed as above
Shown in the formula of parameter, by determining detection magnitude of voltage/detection current value, actual voltage value/actual current value, further according to formula
Calibration parameter is calculated, power supply is calibrated using calibration parameter, power supply is measured using the mode of universal meter so as to avoid
The process of magnitude of voltage/current value because selection universal meter can produce following reason and cause error to produce, such as gauge outfit sensitivity compared with
Low, if universal meter direct current is not if internal resistance reaches 10000 ohm/volt, measurement is that error just occurs, and the shelves used
The lower error in position will be bigger;Current divider in universal meter must be calculated accurately, if occurring being difficult to behind error here
Calculate;Alternating voltage shelves due to rectifying tube be nonlinear elements, so AC low-tension when may not with exchange 100V simultaneously
Using same scale, error is otherwise also had;Furthermore, the automatic calibration of power supply can be realized by calibration parameter, to ensure
The normal of power supply is used.
The automatic calibration module, for carrying out automatic school to the voltage x current of the power supply according to the calibration parameter
Standard, specifically for:If the calibration parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage
Value, is specifically additionally operable to:If the calibration parameter is different from preset standard parameter, by the correcting current of the power supply to target current
Value.In embodiments of the present invention, can all there are the preset standard parameter of acquiescence, the preset standard parameter in the inside of the power supply
It is configured when power supply dispatches from the factory, the preset standard parameter can include on the preset standard parameter of voltage or on electric current
Preset standard parameter;It may determine that whether power supply needs to carry out school by relatively more described calibration parameter and preset standard parameter
Standard, wherein, if the calibration parameter is identical with default calibration parameter, judge that power supply need not be calibrated, if the calibration ginseng
Number it is different from preset standard parameter, by the voltage calibration of the power supply to target voltage, if or the calibration parameter and preset
Canonical parameter is different, by the correcting current of the power supply to target current;Specifically, if the voltage calibration parameter and pre- bidding
Quasi- parameter is different, by the voltage calibration of the power supply to target voltage, if or the correcting current parameter and preset standard ginseng
Number is different, by the correcting current of the power supply to target current.For example, setting preset standard parameter to be 100, when the calibration ginseng
When number is more than 100, detection magnitude of voltage forward direction is adjusted, when the calibration parameter is less than 100, detection magnitude of voltage reversely adjusted
Whole, more specifically, the calibration of the target voltage can be carried out according to equation below three, formula three is:V3=V2+V2/ ((λ 1-
100)/500), wherein, V2 is detection magnitude of voltage, and V3 is the target voltage after being calibrated, and λ 1 is voltage calibration parameter, at this
We can set calibration accuracy in inventive embodiments, be 1/500 in the alignment precision of this formula three, when voltage calibration parameter is
When 125, the target voltage V3 after being calibrated according to formula three is 204V.
As seen from the above, the embodiment of the present invention is electric by the detection magnitude of voltage, detection current value and reality for obtaining power supply
Pressure value, actual current value, the electricity is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
The calibration parameter in source, is calibrated, it is possible to achieve to power supply automatically according to the calibration parameter to the voltage x current of the power supply
In the voltage x current that detects calibrated automatically, reduce the cost of power supply product, improve the usage experience of user, go forward side by side
Protect power circuit and the product-laden being connected on power circuit to one step.
Referring to Fig. 4, a kind of above-mentioned power supply automatic calibrating method of correspondence, the embodiment of the present invention also proposes that a kind of power supply is automatic
Calibrating installation, the device 400 includes:Acquisition module 401, determining module 402, judge module 403, sending module 404, automatic school
Quasi-mode block 405.
Wherein, the acquisition module 401, detection voltage x current value and virtual voltage current value for obtaining power supply.
In the embodiment of the present invention, the detection magnitude of voltage refers to the magnitude of voltage that power supply is detected in itself, and the detection current value refers to
Be current value that power supply is detected in itself, wherein, the detection also refers to the AD detections of power supply, that is to say, that the inspection
The magnitude of voltage that power supply carries out AD detections can be referred to by surveying magnitude of voltage, and the detection current value can refer to the electric current that power supply carries out AD detections
Value;The actual voltage value refers to that the output end of power supply is connected after load, the output voltage of shown power supply, institute in load
State actual current value and refer to that the output end of power supply is connected after load, the output current of shown power supply in load, wherein, institute
It can be electronic load to state load, and electronic load includes DC Electronic Loads and alternating current electronic load, and the load can also
It is the electronic component for being connected to both ends of power, electronic component includes the electrical appliances such as electric light, electric bell.
It should be noted that in the embodiment of the present invention, if the output end of power supply connects electronic load, being communicated by RS232
Interface connects electronic load and default display system, the electricity for being read electronic load using the communication of electronic load in itself
The actual voltage value in source, actual current value transmit to default display system and to user show corresponding actual voltage value with
And actual current value.
The determining module 402, for determining the electricity according to the detection voltage x current value and virtual voltage current value
The calibration parameter in source.In embodiments of the present invention, the calibration parameter includes voltage calibration parameter and correcting current parameter, if institute
Calibration parameter is stated for voltage calibration parameter, the voltage school of the power supply is calculated according to the detection magnitude of voltage and actual voltage value
Quasi- parameter, specifically, the voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value, can be with
The calculating of the voltage calibration parameter is carried out according to equation below one, formula one is:((V1-V2)/V2*500)+100=λ 1, its
Middle V1 is the actual voltage value, and V2 is the detection magnitude of voltage, and λ 1 is the voltage calibration parameter;Such as described virtual voltage
Value V1=210V, the detection magnitude of voltage V2=200V, then calibration parameter λ 1 is then ((210-200)/200*500)+100=
125;If the calibration parameter is correcting current parameter, the power supply is calculated according to the detection current value and actual current value
Correcting current parameter, specifically, the correcting current of the power supply is calculated according to the detection current value and actual current value
Parameter, can carry out the calculating of the correcting current parameter according to equation below two, and formula two is:((I1–I2)/I1*500)+
100=λ 2, wherein I1 are the actual current value, and I2 is the detection current value, and λ 2 is the correcting current parameter;Such as institute
State actual current value I1=1.1A, the detection current value I2=1A, then the correcting current parameter lambda 2 then for ((1.1-1)/
1*500)+100=150.
The judge module 403, for judging whether the power supply is in power-up state.
The sending module 404, if being in power-up state for the power supply, identified calibration parameter is sent to institute
State in the single-chip microcomputer of power supply and preserve.Power source internal detecting system is connected there is provided man-machine communication interface in embodiments of the present invention,
And the preset standard parameter for the acquiescence that power supply is preserved is read, the calibration parameter inputted in interface is transmitted to the monolithic of power supply
Machine, and be stored in inside the single-chip microcomputer of power supply, during so that power supply being started shooting every time, the single-chip microcomputer in power supply all reads calibration parameter
Out, when being detected each time to voltage or electric current, all calibrated with the calibration parameter preserved, with regard to that can be compared
Accurate detection magnitude of voltage or detection current value.
It should be noted that power supply is after new calibration parameter is received, replace original silent with newest calibration parameter
The preset standard parameter recognized is calibrated, and this newest calibration parameter is stored in inside single-chip microcomputer, is covered originally
Preset standard parameter.
The automatic calibration module 405, it is automatic for being carried out according to the calibration parameter to the voltage x current of the power supply
Calibration.In embodiments of the present invention, can all there are the preset standard parameter of acquiescence, preset standard ginseng in the inside of the power supply
Number is configured when power supply dispatches from the factory, and the preset standard parameter can include on the preset standard parameter of voltage or on electricity
The preset standard parameter of stream;It may determine that whether power supply needs to carry out school by relatively more described calibration parameter and preset standard parameter
Standard, wherein, if the calibration parameter is identical with default calibration parameter, judge that power supply need not be calibrated, if the calibration ginseng
Number it is different from preset standard parameter, by the voltage calibration of the power supply to target voltage, if or the calibration parameter and preset
Canonical parameter is different, by the correcting current of the power supply to target current;Specifically, if the voltage calibration parameter and pre- bidding
Quasi- parameter is different, by the voltage calibration of the power supply to target voltage, if or the correcting current parameter and preset standard ginseng
Number is different, by the correcting current of the power supply to target current.For example, setting preset standard parameter to be 100, when the calibration ginseng
When number is more than 100, detection magnitude of voltage forward direction is adjusted, when the calibration parameter is less than 100, detection magnitude of voltage reversely adjusted
Whole, more specifically, the calibration of the target voltage can be carried out according to equation below three, formula three is:V3=V2+V2/ ((λ 1-
100)/500), wherein, V2 is detection magnitude of voltage, and V3 is the target voltage after being calibrated, and λ 1 is voltage calibration parameter, at this
We can set calibration accuracy in inventive embodiments, be 1/500 in the alignment precision of this formula three, when voltage calibration parameter is
When 125, the target voltage V3 after being calibrated according to formula three is 204V.
As seen from the above, the embodiment of the present invention connects power source internal detecting system by providing man-machine communication interface, by institute
The calibration parameter of determination sends into the single-chip microcomputer of the power supply and preserved, it is ensured that upper electricity all uses preserved calibration to power supply every time
Parameter carries out the calibration of detection voltage/current, more accurately to be detected magnitude of voltage or detection current value.
Fig. 5 is a kind of structure composition schematic diagram of power supply autoalign unit of the invention.As shown in figure 5, the equipment 500 can
Including:Input unit 501, output device 502, R-T unit 503, memory 504 and processor 505, wherein:
The input unit 501, the input data for receiving outside access control device.In the specific implementation, of the invention
Input unit 501 described in embodiment may include keyboard, mouse, photoelectricity input unit, acoustic input dephonoprojectoscope, touch input dress
Put, scanner etc..
The output device 502, the output data for external output access control device.In the specific implementation, of the invention
Output device 502 described in embodiment may include display, loudspeaker, printer etc..
The R-T unit 503, for sending data to other equipment by communication link or being received from other equipment
Data.In the specific implementation, the R-T unit 503 of the embodiment of the present invention may include the transceiving devices such as radio-frequency antenna.
The memory 504, the program that power supply is calibrated automatically is realized for storing.In the specific implementation, the embodiment of the present invention
Memory 304 can be system storage, such as, and volatile (such as RAM), non-volatile (such as ROM, flash memory
Deng), or both combination.In the specific implementation, the memory 504 of the embodiment of the present invention can also be that the outside outside system is deposited
Reservoir, such as, and disk, CD, tape etc..
The processor 505, for running the program 5 stored in the memory 504, and performs following operation:
Obtain the detection magnitude of voltage, detection current value and actual voltage value, actual current value of power supply;
The calibration of the power supply is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
Parameter;
The voltage x current of the power supply is calibrated automatically according to the calibration parameter.
Further, the calibration parameter includes voltage calibration parameter and correcting current parameter, described according to detection voltage
Value, detection current value and actual voltage value, actual current value determine the calibration parameter of the power supply, including:
The voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value;Or
The correcting current parameter of the power supply is calculated according to the detection current value and actual current value.
Further, the voltage of the power supply is calibrated automatically according to the calibration parameter, including:
If the calibration parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage values.
Further, the electric current of the power supply is calibrated automatically according to the calibration parameter, including:
If the calibration parameter is different from preset standard parameter, by the correcting current of the power supply to target current value.
Further, the electricity is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
After the step of calibration parameter in source, in addition to:
Judge whether the power supply is in power-up state;
If the power supply is in power-up state, identified calibration parameter is sent into the single-chip microcomputer of the power supply and protected
Deposit.
It will be understood by those skilled in the art that the embodiment of the power supply autoalign unit shown in Fig. 5 is not constituted pair
The restriction that power supply autoalign unit is specifically constituted, in other embodiments, power supply autoalign unit can be included than diagram
More or less parts, either combine some parts or different parts arrangement.For example, in certain embodiments, power supply
Autoalign unit can only include memory and processor, in such embodiments, the structure of memory and processor and
Function is consistent with embodiment illustrated in fig. 5, will not be repeated here.
Module in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, application specific integrated circuit) realize.
Step in power supply automatic calibrating method of the embodiment of the present invention can the adjustment of carry out order, merging according to actual needs
With delete.
Module in power supply self-checking device of the embodiment of the present invention can according to actual needs be merged, divides and deleted
Subtract.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of power supply automatic calibrating method, it is characterised in that methods described includes:
Obtain the detection magnitude of voltage, detection current value and actual voltage value, actual current value of power supply;
The calibration parameter of the power supply is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value;
The voltage x current of the power supply is calibrated automatically according to the calibration parameter.
2. the method as described in claim 1, it is characterised in that the calibration parameter includes voltage calibration parameter and correcting current
Parameter, the calibration that the power supply is determined according to detection magnitude of voltage, detection current value and actual voltage value, actual current value
Parameter, including:
The voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value;Or
The correcting current parameter of the power supply is calculated according to the detection current value and actual current value.
3. the method as described in claim 1, it is characterised in that carried out certainly to the voltage of the power supply according to the calibration parameter
Dynamic calibration, including:
If the calibration parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage values.
4. the method as described in claim 1, it is characterised in that carried out certainly to the electric current of the power supply according to the calibration parameter
Dynamic calibration, including:
If the calibration parameter is different from preset standard parameter, by the correcting current of the power supply to target current value.
5. the method as described in claim 1, it is characterised in that according to detection magnitude of voltage, detection current value and virtual voltage
After the step of value, actual current value determine the calibration parameter of the power supply, in addition to:
Judge whether the power supply is in power-up state;
If the power supply is in power-up state, identified calibration parameter is sent into the single-chip microcomputer of the power supply and preserved.
6. a kind of power supply self-checking device, it is characterised in that described device includes:
Acquisition module, detection voltage x current value and virtual voltage current value for obtaining power supply;
Determining module, for determining that the calibration of the power supply is joined according to the detection voltage x current value and virtual voltage current value
Number;
Automatic calibration module, for being calibrated automatically to the voltage x current of the power supply according to the calibration parameter.
7. power supply self-checking device as claimed in claim 6, it is characterised in that the determining module, specifically for:
The voltage calibration parameter of the power supply is calculated according to the detection magnitude of voltage and actual voltage value;Or according to the inspection
Survey current value and actual current value calculates the correcting current parameter of the power supply.
8. power supply self-checking device as claimed in claim 6, it is characterised in that the automatic calibration module, specifically for:
If the calibration parameter is different from preset standard parameter, by the voltage calibration of the power supply to target voltage values.
9. power supply self-checking device as claimed in claim 6, it is characterised in that the automatic calibration module, specifically for:
If the calibration parameter is different from preset standard parameter, by the correcting current of the power supply to target current value.
10. power supply self-checking device as claimed in claim 6, it is characterised in that the power supply self-checking device is also wrapped
Include:
Judge module, for judging whether the power supply is in power-up state;
Sending module, if being in power-up state for the power supply, identified calibration parameter is sent to the list of the power supply
In piece machine and preserve.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710292881.2A CN107121656A (en) | 2017-04-28 | 2017-04-28 | A kind of power supply automatic calibrating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710292881.2A CN107121656A (en) | 2017-04-28 | 2017-04-28 | A kind of power supply automatic calibrating method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107121656A true CN107121656A (en) | 2017-09-01 |
Family
ID=59726546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710292881.2A Pending CN107121656A (en) | 2017-04-28 | 2017-04-28 | A kind of power supply automatic calibrating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107121656A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108170193A (en) * | 2017-12-01 | 2018-06-15 | 苏州华兴源创电子科技有限公司 | A kind of output adjusting method and system of the power supply board of display device |
CN109004904A (en) * | 2018-06-27 | 2018-12-14 | 汉能移动能源控股集团有限公司 | Calibration parameter setting method, device, system, equipment and medium |
CN109194123A (en) * | 2018-11-19 | 2019-01-11 | 晶晨半导体(上海)股份有限公司 | A kind of PWM voltage regulator circuit |
CN110261792A (en) * | 2019-06-18 | 2019-09-20 | 深圳市嘉兆鸿电子有限公司 | DC power supply detection method, device, test terminal and readable storage medium storing program for executing |
CN110646658A (en) * | 2018-06-27 | 2020-01-03 | 联合汽车电子有限公司 | DC-DC power supply module output current calibration system and calibration method |
CN113094230A (en) * | 2021-03-31 | 2021-07-09 | 宁畅信息产业(北京)有限公司 | Power consumption monitoring method and power consumption monitoring mainboard |
CN114126151A (en) * | 2021-12-15 | 2022-03-01 | 苏州欧普照明有限公司 | Electric parameter calibration method and device of LED power supply, storage medium and LED lamp |
CN114636962A (en) * | 2022-05-20 | 2022-06-17 | 苏州联讯仪器有限公司 | Automatic calibration equipment, method, device and medium for driving power panel |
CN115144806A (en) * | 2022-09-06 | 2022-10-04 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Calibration method, device, equipment and system for calibration source |
CN117713279A (en) * | 2023-11-10 | 2024-03-15 | 深圳市极测科技有限公司 | Power supply system formed in series, power supply system control method, equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57183296A (en) * | 1981-05-07 | 1982-11-11 | Chiizuburoo Ponzu Japan Ltd | Self-calibration power factor controller for ac induction motor |
DE3442417A1 (en) * | 1983-12-02 | 1985-06-13 | Elin-Union Aktiengesellschaft für elektrische Industrie, Wien | Control device for a directly heated furnace |
CN1291724A (en) * | 1999-10-07 | 2001-04-18 | 广州擎天实业有限公司电工分公司 | Automatic sampling correction method for voltage of battery |
CN104459390A (en) * | 2014-11-28 | 2015-03-25 | 深圳市盛弘电气有限公司 | Method and system for calibrating voltage and current of battery management device |
CN105446409A (en) * | 2015-10-27 | 2016-03-30 | 中国电子科技集团公司第四十一研究所 | Method for calibrating power supply and tuning power supply unit |
CN106226702A (en) * | 2016-07-25 | 2016-12-14 | 深圳天珑无线科技有限公司 | A kind of battery capacity detection circuit, battery capacity check method and device |
-
2017
- 2017-04-28 CN CN201710292881.2A patent/CN107121656A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57183296A (en) * | 1981-05-07 | 1982-11-11 | Chiizuburoo Ponzu Japan Ltd | Self-calibration power factor controller for ac induction motor |
DE3442417A1 (en) * | 1983-12-02 | 1985-06-13 | Elin-Union Aktiengesellschaft für elektrische Industrie, Wien | Control device for a directly heated furnace |
CN1291724A (en) * | 1999-10-07 | 2001-04-18 | 广州擎天实业有限公司电工分公司 | Automatic sampling correction method for voltage of battery |
CN104459390A (en) * | 2014-11-28 | 2015-03-25 | 深圳市盛弘电气有限公司 | Method and system for calibrating voltage and current of battery management device |
CN105446409A (en) * | 2015-10-27 | 2016-03-30 | 中国电子科技集团公司第四十一研究所 | Method for calibrating power supply and tuning power supply unit |
CN106226702A (en) * | 2016-07-25 | 2016-12-14 | 深圳天珑无线科技有限公司 | A kind of battery capacity detection circuit, battery capacity check method and device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108170193A (en) * | 2017-12-01 | 2018-06-15 | 苏州华兴源创电子科技有限公司 | A kind of output adjusting method and system of the power supply board of display device |
CN108170193B (en) * | 2017-12-01 | 2020-08-25 | 苏州华兴源创科技股份有限公司 | Output adjusting method and system of power supply substrate of display device |
CN110646658B (en) * | 2018-06-27 | 2022-07-01 | 联合汽车电子有限公司 | DC-DC power supply module output current calibration system and calibration method |
CN109004904A (en) * | 2018-06-27 | 2018-12-14 | 汉能移动能源控股集团有限公司 | Calibration parameter setting method, device, system, equipment and medium |
CN110646658A (en) * | 2018-06-27 | 2020-01-03 | 联合汽车电子有限公司 | DC-DC power supply module output current calibration system and calibration method |
CN109194123A (en) * | 2018-11-19 | 2019-01-11 | 晶晨半导体(上海)股份有限公司 | A kind of PWM voltage regulator circuit |
CN110261792A (en) * | 2019-06-18 | 2019-09-20 | 深圳市嘉兆鸿电子有限公司 | DC power supply detection method, device, test terminal and readable storage medium storing program for executing |
CN113094230A (en) * | 2021-03-31 | 2021-07-09 | 宁畅信息产业(北京)有限公司 | Power consumption monitoring method and power consumption monitoring mainboard |
CN113094230B (en) * | 2021-03-31 | 2024-03-12 | 宁畅信息产业(北京)有限公司 | Power consumption monitoring method and power consumption monitoring main board |
CN114126151A (en) * | 2021-12-15 | 2022-03-01 | 苏州欧普照明有限公司 | Electric parameter calibration method and device of LED power supply, storage medium and LED lamp |
CN114636962A (en) * | 2022-05-20 | 2022-06-17 | 苏州联讯仪器有限公司 | Automatic calibration equipment, method, device and medium for driving power panel |
CN115144806A (en) * | 2022-09-06 | 2022-10-04 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Calibration method, device, equipment and system for calibration source |
CN117713279A (en) * | 2023-11-10 | 2024-03-15 | 深圳市极测科技有限公司 | Power supply system formed in series, power supply system control method, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107121656A (en) | A kind of power supply automatic calibrating method and device | |
US9851382B2 (en) | Power meter with current and phase sensor | |
CN108700618B (en) | Crosstalk calibration for multi-channel systems | |
CA2913904C (en) | Flow meter and a method of calibration | |
CN107181300B (en) | Charge protector, the method and apparatus for calibrating charging equipment | |
AU2022203050B2 (en) | System for measuring the voltage of a busbar | |
CN210863662U (en) | Formaldehyde concentration detection device and air purifier | |
CN103513195A (en) | Hall sensor measurement system and temperature compensation method | |
US9977058B2 (en) | Device and method for measuring the power consumption, contactless device and method for measuring power supply status | |
CN107170147A (en) | Modification method and device, the electronic equipment and storage medium of photoelectric sensor | |
CN105429096B (en) | A kind of ammeter over-current protection method and current foldback circuit | |
KR100950434B1 (en) | Test apparatus for watt-hour meter | |
CN114509599A (en) | Current measurement method, device, equipment and computer readable storage medium | |
CN101206252A (en) | System and method for measuring digital multimeter | |
CN106291034A (en) | Can self-calibrating resistance potentiometer | |
KR102015499B1 (en) | System for correcting error | |
US8907658B2 (en) | System and method of measuring power produced by a power source | |
US6753678B2 (en) | Voltage detector with improved accuracy | |
EP3129794A1 (en) | Voltage sensing using ungrounded power line sensors | |
US20160370408A1 (en) | Weather resistant ungrounded power line sensor | |
KR20180075734A (en) | Binary multiple resistance using the increased resistance and measurement devices and measurement calibration device and resistance using the calibration methods | |
WO2020198041A1 (en) | Validating fundamental-only energy measurement | |
TWI546542B (en) | Device and method for measuring the power consumption, device and method for contactless measuring power supply status | |
Schäck | Underestimated impact of measuring cables on high-precision carrier frequency amplifier results and compensation methods there for | |
JP6421012B2 (en) | Method for determining wiring cable length in circuit element measuring apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170901 |
|
RJ01 | Rejection of invention patent application after publication |