CN109861344A - A kind of USB PD electricity accurate calculation and display methods based on power integral method - Google Patents
A kind of USB PD electricity accurate calculation and display methods based on power integral method Download PDFInfo
- Publication number
- CN109861344A CN109861344A CN201910223846.4A CN201910223846A CN109861344A CN 109861344 A CN109861344 A CN 109861344A CN 201910223846 A CN201910223846 A CN 201910223846A CN 109861344 A CN109861344 A CN 109861344A
- Authority
- CN
- China
- Prior art keywords
- electricity
- power
- batcap
- display methods
- usb
- 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.)
- Withdrawn
Links
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present invention relates to mobile power source fields, more particularly, to a kind of USB PD electricity accurate calculation and display methods based on power integral method.A kind of USB PD electricity accurate calculation and display methods based on power integral method, electricity accurate calculation and display methods are made of power integral formula algorithm.The beneficial effect is that: the application is according to power integral method in such a way that multivariable is used while being calculated simultaneously, accurately geo-statistic battery capacity it can absorb and consume, to can realize that stringent charge and discharge tactical management and electricity are shown, a kind of more accurate electricity calculation method is provided and realizes the function of flow display electricity.
Description
Technical field
The present invention relates to mobile power source field, more particularly, to it is a kind of by the USB PD electricity of power integral method precisely based on
Calculation and display methods.
Background technique
In the prior art, PD mobile power source uses USB TYPE-C interface, and majority supports two-way charge and discharge, and is filling
It is required to input or export different power (voltage and current) during electric discharge, voltage and current value is variable
Value, traditional open-circuit voltage and current integration calculating method can not accurately count on battery capacity, and realize smooth electricity
The function of display, so, a kind of more accurate electricity calculation method is provided and realizes that the function of flow display electricity becomes existing
Most urgent demand in technology.
Summary of the invention
The purpose of the present invention is to provide a kind of USB PD electricity accurate calculation and display methods based on power integral method,
The technical solution adopted by the present invention is that: electricity accurate calculation and display methods are made of power integral formula algorithm;
The calculation formula is respectively as follows:
(1) battery power amount calculation formula:
1.1 nominal battery electricity (wh)
A) 100wh (predefined constant)
1.2 battery capacity % (Note: electricity is shown as 1% scale rise/fall)
B) 100wh<--- ->100%, Dead battery<--- ->0%
C) 1wh<--->1% (100wh/100 parts)
1.3 battery side electricity (watt-hour) calculation formula are as follows:
Battery side electricity (watt-hour)=power integral
Power P (t)=u (t) * i (t)
ElectricityDiscrete principle samples calculation formula are as follows:
Electricity
Wherein, Δ t is sample rate;
(2) electricity shows calculation formula are as follows:
2.1 charged state
D) BatCap (n)=BatCap (n-1) ++
2.2 discharge condition
E) BatCap (n)=BatCap (n-1) --
2.3 side trimmings put state
F) charge power >=discharge power
I.BatCap (n)=BatCap (n-1) ++
G) charge power < discharge power;
BatCap (n)=BatCap (n-1)-
Further, software realization mode are as follows:
Specific embodiment
The present invention is further illustrated below.
The technical solution adopted by the present invention is that: electricity accurate calculation and display methods are by power integral formula algorithm structure
At.
Wherein, battery power amount calculation formula are as follows:
Nominal battery electricity (wh)
H) 100wh (predefined constant)
Battery capacity % (Note: electricity is shown as 1% scale rise/fall)
I) 100wh<--- ->100%, Dead battery<--- ->0%
J) 1wh<--->1% (100wh/100 parts)
Battery side electricity (watt-hour) calculation formula are as follows:
Battery side electricity (watt-hour)=power integral
Power P (t)=u (t) * i (t)
Electricity
Discrete principle samples calculation formula are as follows:
Electricity
Wherein, Δ t is sample rate;
Electricity shows calculation formula are as follows:
2.1 charged state
K) BatCap (n)=BatCap (n-1) ++
2.2 discharge condition
L) BatCap (n)=BatCap (n-1) --
2.3 side trimmings put state
M) charge power >=discharge power
I.BatCap (n)=BatCap (n-1) ++
N) charge power < discharge power;
BatCap (n)=BatCap (n-1)-;
Software realization mode are as follows:
The present invention is not limited to the above-described embodiments, anyone should learn make under the inspiration of the present invention with the present invention
With same or similar technical solution, fall within the scope of protection of the present invention.
Technology not described in detail in the present invention, shape, construction portion are well-known technique.
Claims (2)
1. a kind of USB PD electricity accurate calculation and display methods based on power integral method, it is characterised in that:
Electricity accurate calculation and display methods are made of power integral formula algorithm;
The calculation formula is respectively as follows:
(1) battery power amount calculation formula:
1.1 nominal battery electricity (wh)
A) 100wh (predefined constant)
1.2 battery capacity % (Note: electricity is shown as 1% scale rise/fall)
B) 100wh<--- ->100%, Dead battery<--- ->0%
C) 1wh<--->1% (100wh/100 parts)
1.3 battery side electricity (watt-hour) calculation formula are as follows:
Battery side electricity (watt-hour)=power integral
Power P (t)=u (t) * i (t)
Electricity
Discrete principle samples calculation formula are as follows:
Electricity
Wherein, Δ t is sample rate;
(2) electricity shows calculation formula are as follows:
2.1 charged state
D) BatCap (n)=BatCap (n-1) ++
2.2 discharge condition
E) BatCap (n)=BatCap (n-1) --
2.3 side trimmings put state
F) charge power >=discharge power
I.BatCap (n)=BatCap (n-1) ++
G) charge power < discharge power;
BatCap (n)=BatCap (n-1)-
2. a kind of USB PD electricity accurate calculation and display methods based on power integral method according to claim 1,
It is characterized in that: software realization mode are as follows:
。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910223846.4A CN109861344A (en) | 2019-03-22 | 2019-03-22 | A kind of USB PD electricity accurate calculation and display methods based on power integral method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910223846.4A CN109861344A (en) | 2019-03-22 | 2019-03-22 | A kind of USB PD electricity accurate calculation and display methods based on power integral method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109861344A true CN109861344A (en) | 2019-06-07 |
Family
ID=66901660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910223846.4A Withdrawn CN109861344A (en) | 2019-03-22 | 2019-03-22 | A kind of USB PD electricity accurate calculation and display methods based on power integral method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109861344A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013176182A (en) * | 2012-02-23 | 2013-09-05 | Sharp Corp | Power management device for storage battery, power management program, and recording medium |
CN103364735A (en) * | 2013-07-17 | 2013-10-23 | 湖南九天科技股份有限公司 | Method and device for accurately displaying battery electric quantity of portable power source |
CN203350309U (en) * | 2013-08-06 | 2013-12-18 | 东北石油大学 | Power strip with electric energy indication |
CN103701116A (en) * | 2013-12-11 | 2014-04-02 | 云南电力试验研究院(集团)有限公司电力研究院 | Novel intelligent electric quantity balance method adopting power real-time operation |
CN106598125A (en) * | 2016-11-03 | 2017-04-26 | 威海优微科技有限公司 | Method using PWM manner to control USB PD system to output voltage |
CN109164295A (en) * | 2018-09-20 | 2019-01-08 | 广东电网有限责任公司 | A method of power grid electric is calculated using power integral |
-
2019
- 2019-03-22 CN CN201910223846.4A patent/CN109861344A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013176182A (en) * | 2012-02-23 | 2013-09-05 | Sharp Corp | Power management device for storage battery, power management program, and recording medium |
CN103364735A (en) * | 2013-07-17 | 2013-10-23 | 湖南九天科技股份有限公司 | Method and device for accurately displaying battery electric quantity of portable power source |
CN203350309U (en) * | 2013-08-06 | 2013-12-18 | 东北石油大学 | Power strip with electric energy indication |
CN103701116A (en) * | 2013-12-11 | 2014-04-02 | 云南电力试验研究院(集团)有限公司电力研究院 | Novel intelligent electric quantity balance method adopting power real-time operation |
CN106598125A (en) * | 2016-11-03 | 2017-04-26 | 威海优微科技有限公司 | Method using PWM manner to control USB PD system to output voltage |
CN109164295A (en) * | 2018-09-20 | 2019-01-08 | 广东电网有限责任公司 | A method of power grid electric is calculated using power integral |
Non-Patent Citations (1)
Title |
---|
郑尧等: "《电能计量技术手册》", 31 January 2002 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106384853B (en) | A kind of chemical conversion of lithium ion battery substep and conformity classification method | |
CN103501025B (en) | A kind of active equalization system of battery pack | |
CN108023130B (en) | Lithium ion battery charging optimization method | |
CN106450536A (en) | Quick charging method for lithium ion battery | |
CN107039696B (en) | A kind of track traffic vehicle carries the optimization charging method of energy storage lithium ion battery | |
CN106786953B (en) | Batteries in parallel connection group equilibrium system and method | |
CN105048014B (en) | A kind of lithium-ion-power cell fast charge method with temperature-compensating | |
CN206742907U (en) | A kind of complete intelligent lithium titanate battery group management system | |
CN108288872A (en) | A kind of lithium battery quick charge device of current automatic adaptation | |
CN109768595A (en) | A kind of series-connected cell group twin voltage mixed equilibrium control method | |
CN109861344A (en) | A kind of USB PD electricity accurate calculation and display methods based on power integral method | |
CN108832205A (en) | A kind of method for group matching of power lithium iron phosphate battery | |
CN108710085A (en) | A kind of monomer Selection method and system to be equalized of power battery | |
CN201752078U (en) | Charging tube management system of energy transfer way of multi lithium ion battery set | |
CN201138676Y (en) | Balanced control module of protection circuit board of 10 string lithium ion batteries | |
CN204334024U (en) | A kind of novel equalizer circuit being applied to ultracapacitor | |
CN206349778U (en) | A kind of capacitor charging circuit | |
CN103855762A (en) | Lithium ion battery pack energy management system applied to wireless sensor | |
CN204349478U (en) | A kind of novel batteries charge and discharge balancing device topological circuit | |
CN208571636U (en) | A kind of battery constant current equalizing circuit that current adjustment is whole | |
CN102832654A (en) | Active equalizer circuit of cell pack | |
CN102082289B (en) | Water agent soft packaged micro-lithium ion battery and preparation method thereof | |
CN204389103U (en) | A kind of oscillating-type dynamometer Intelligent Calibration device | |
CN105449782A (en) | Switch inductance voltage equalizing controller and control method for energy storage device | |
CN203617759U (en) | Lithium ion battery pack energy management system suitable for wireless sensor |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190607 |
|
WW01 | Invention patent application withdrawn after publication |