Utility model content
The technical matters that the utility model mainly solves is to provide a kind of power testing system, can detect exactly battery electric quantity, has good versatility, stability and higher accuracy.
For solving the problems of the technologies described above, the technical scheme that the utility model adopts is: a kind of power testing system is provided, and for detection of the electric weight of battery, this power testing system comprises: charging current detection module, the charging current while charging for detection of battery; Discharge current detection module, the discharge current during for detection of battery discharge; Control module, be electrically connected to charging current detection module and discharge current detection module respectively, control module is for calculating charge capacity according to charging current and duration of charging, and according to discharge current with calculate discharge electricity amount discharge time, further according to charge capacity or discharge electricity amount and before charging or before electric discharge the dump energy of pre-stored battery obtain the current electric quantity of battery; Output module, for exporting the current electric quantity of battery.
Wherein, control module further utilizes current electric quantity to upgrade dump energy.
Wherein, control module is obtained the specification information of battery in advance, and specification information comprises that the specified electric quantity of battery and the electric weight of battery are with the variation relation of voltage.
Wherein, control module is further calculated the ratio of current electric quantity and specified electric quantity, to obtain dump energy number percent, and by output module output dump energy number percent.
Wherein, power testing system also comprises voltage detection module, and for detection of the voltage of battery, control module is further demarcated dump energy number percent according to voltage.
Wherein, control module, when voltage is more than or equal to the first default voltage threshold, is demarcated as 100% by dump energy number percent, and when voltage is less than or equal to default second voltage threshold value, dump energy number percent is demarcated as to 0%.
Wherein, power testing system also comprises supply module, and supply module connects battery, and charging current detection module, discharge current detection module, control module, output module and voltage detection module are powered.
Wherein, output module comprises instrument, LED lamp string, PC, touch-screen or industrial computer.
The beneficial effects of the utility model are: the situation that is different from prior art, charging current when power testing system of the present utility model detects battery charging by charging current detection module, discharge current when discharge current detection module detects battery discharge, by control module, according to charging current and duration of charging, calculate charge capacity again, and according to discharge current with calculate discharge electricity amount discharge time, further according to charge capacity or discharge electricity amount and before charging or before electric discharge the dump energy of pre-stored battery obtain the current electric quantity of battery, finally by output module, exported the current electric quantity of battery.By the way, power testing system of the present utility model obtains the electric weight of battery by the electric current of direct-detection battery charging and discharging, do not need to obtain in advance the specification information of battery, therefore, electric weight applicable to the battery of different manufacturers and different size detects, and has higher versatility.Moreover, the electric current of the utility model direct-detection battery charging and discharging obtains the electric weight of battery, can solve when battery charging and discharging because load current produces the voltage generation nonlinearities change that transition makes battery, thereby can not only by detecting voltage, accurately detect the problem of the electric weight of battery, the accuracy therefore, with better stability and Geng Gao.
Embodiment
Refer to Fig. 1, battery system 10 of the present utility model comprises battery 11, charger 12, load 13, K switch 1 and K switch 2.Wherein, when K switch 1 is closed, charger 12 is to battery 11 chargings.When K switch 2 is closed, battery 11 provides electric weight to load 13, so that load 13 can work.Wherein, the electric weight of battery 11 is the pacing itemss that guarantee that battery 11 can normal power supply, therefore, must detect in real time the electric weight of battery 11.
In the present embodiment, battery system 10 also comprises power testing system 14, for detection of the electric weight of battery 11.Power testing system 14 comprises charging current detection module 141, discharge current detection module 142, control module 143 and output module 144.Charging current when wherein, charging current detection module 141 is for detection of battery 11 charging.Discharge current when discharge current detection module 142 discharges for detection of battery 11.Control module 143 calculates charge capacity according to charging current and duration of charging, and according to discharge current with calculate discharge electricity amount discharge time, further according to charge capacity or discharge electricity amount and before charging or before electric discharge the dump energy of pre-stored battery 11 obtain the current electric quantity of battery 11.Output module 144 is for exporting the current electric quantity of battery 11.
Particularly, when charger 12 charges to battery 11, control module 143 is obtained the charging current that charging current detection module 141 detects, then according to " ampere-hour method ", charging current and duration of charging are multiplied by mutually and obtain charge capacity, and further charge capacity and the dump energy of the front pre-stored battery 11 of charging are added to obtain the current electric quantity of battery 11.In like manner, when battery 11 provides electric weight to load 13, control module 143 is obtained the discharge current that discharge current detection module 142 detects, then according to " ampere-hour method ", by being multiplied by mutually discharge current and discharge time, obtain discharge electricity amount, and further by the dump energy of battery 11 pre-stored before electric discharge and the current electric quantity that discharge electricity amount subtracts each other to obtain battery 11.
In the present embodiment, control module 143 is also obtained the specification information of battery 11 in advance, and wherein, specification information comprises that the specified electric quantity of battery 11 and the electric weight of battery 11 are with variation relation of voltage etc.When charging or electric discharge, control module 143 also further utilizes current electric quantity to upgrade dump energy, and calculates the ratio of current electric quantity and specified electric quantity, to obtain the number percent of dump energy, and by output module 144 output dump energy number percents.
In the present embodiment, charging current detection module 141 can be set to detect the charging current of positive pole or the negative pole of battery 11.In like manner, discharge current detection module 142 also can be set to detect the positive pole of battery 11 or the discharge current of negative pole.
Therefore, electric current during by detection battery 11 charging and discharging obtains the electric weight of battery 11, solved when battery charging and discharging because load current produces the voltage generation nonlinearities change that transition makes battery 11, thereby can not only by detecting voltage, accurately detect the problem of battery electric quantity, therefore, power testing system 14 of the present utility model has good stability and higher accuracy.
In the present embodiment, power testing system 14, except detecting the electric current of battery 11 charging and dischargings, also further detects the voltage of battery 11.Particularly, power testing system 14 also comprises voltage detection module 145, and it is for detection of the voltage of battery 11, and the voltage that control module 143 detects according to voltage detection module 145 is demarcated dump energy number percent.Specifically, control module 143 is default the first voltage threshold of variation relation and the second voltage threshold value with voltage according to the electric weight obtaining in advance, and wherein, the first voltage threshold is greater than second voltage threshold value.The voltage that control module 143 detects voltage detection module 145 and the first voltage threshold and the comparison of second voltage threshold value preset, and when this voltage is more than or equal to the first voltage threshold, dump energy number percent is demarcated as to 100%, and when voltage is less than or equal to second voltage threshold value, dump energy number percent is demarcated as to 0%.And by output module 144 output calibration results.By detecting the voltage of battery 11, the electric weight of battery 11 is demarcated, made the testing result of power testing system 14 of the present utility model more accurate.
In the present embodiment, output module 144 comprises instrument 1441, LED lamp string 1442 and HMI(Human Machine Interface, man-machine interface) module 1443.Wherein, HMI module 1443 can connect PC(Personal Computer, personal computer) machine, touch-screen or industrial computer etc.
In the present embodiment, between instrument 1441 and control module 143, also comprise D/A(Digital-Analog digital-to-analog conversion) module 1444 and DC/DC(Direct Current-Direct Current DC-dc conversion) module 1445.Wherein, D/A module 1444 and control module 143 set up and communicated by letter, and with the dump energy of the battery 11 that obtains according to control module 143, carries out digital-to-analog conversion.The input end of DC/DC module 1445 connects battery 11, by battery 11, it is powered, and control end connects D/A module 1444, and output terminal connects instrument 1441.Wherein, DC/DC module 1445 is adjusted voltage ratio according to the output of D/A module 1444, and exports this voltage ratio to instrument 1441, with the pointer rotation of control instrument 1441.In the present embodiment, the quantity of LED and the dump energy of battery 11 that LED lamp string 1442 shows are directly proportional.PC, touch-screen or industrial computer that HMI module 1443 connects can pass through the dump energy that figure, numeral or word show battery 11.Therefore, the electric weight that battery testing system 14 of the present utility model is applicable to the battery 11 of different manufacturers and different size detects, and has good versatility.
In the present embodiment, power testing system 14 also comprises supply module 146, supply module 146 connects battery 11, and charging current detection module 141, discharge current detection module 142, control module 143, output module 144 and voltage detection module 145 are powered.
Refer to Fig. 2, Fig. 2 is the process flow diagram of the detection method of quantity of electricity of the utility model the second embodiment, and this detection method of quantity of electricity is for detection of the electric weight of battery.As shown in Figure 2, this detection method of quantity of electricity comprises the following steps:
Step S21: the charging current while detecting battery charging.
Step S22: calculate charge capacity according to charging current and duration of charging.
In step S22, be specially, according to " ampere-hour method ", charging current and duration of charging are multiplied each other and obtain charge capacity.
Step S23: according to charge capacity and before charging the dump energy of pre-stored battery obtain the current electric quantity of battery.
Before step S23, obtain in advance the specification information of battery, wherein, specification information comprises that the specified electric quantity of battery and the electric weight of battery are with variation relation of voltage etc.
In step S23, be specially, charge capacity and the dump energy of the front pre-stored battery of charging are added, to obtain the current electric quantity of battery.And the current electric quantity of further utilizing battery upgrades the dump energy of battery, and calculate the ratio of current electric quantity and specified electric quantity, to obtain the number percent of dump energy.
Step S24: the current electric quantity of output battery.
In step S24, be specially the number percent of output battery dump energy, can export by instrument, LED lamp string, PC, touch-screen or industrial computer etc.
Refer to Fig. 3, Fig. 3 is the process flow diagram of the detection method of quantity of electricity of the utility model the 3rd embodiment, and this detection method of quantity of electricity is for detection of the electric weight of battery.As shown in Figure 3, this detection method of quantity of electricity comprises the following steps:
Step S31: the discharge current while detecting battery discharge.
Step S32: according to discharge current with calculate discharge electricity amount discharge time.
In step S32, be specially, according to " ampere-hour method " by discharge current and multiply each other discharge time and obtain discharge electricity amount.
Step S33: according to discharge electricity amount and before electric discharge the dump energy of pre-stored battery obtain the current electric quantity of battery.
Before step S33, obtain in advance the specification information of battery, wherein, specification information comprises that the specified electric quantity of battery and the electric weight of battery are with variation relation of voltage etc.
In step S33, be specially, discharge electricity amount and the dump energy of pre-stored battery before electric discharge are added, to obtain the current electric quantity of battery.And the current electric quantity of further utilizing battery upgrades the dump energy of battery, and calculate the ratio of current electric quantity and specified electric quantity, to obtain the number percent of dump energy.
Step S34: the current electric quantity of output battery.
In step S34, be specially the number percent of output battery dump energy, can export by instrument, LED lamp string, PC, touch-screen or industrial computer etc.
In sum, charging current when power testing system of the present utility model detects battery charging by charging current detection module, discharge electricity amount when discharge current detection module detects battery discharge, by control module, according to charging current and duration of charging, calculate charge capacity again, and according to discharge current with calculate discharge electricity amount discharge time, further according to charge capacity or discharge electricity amount and before charging or before electric discharge the dump energy of pre-stored battery obtain the current electric quantity of battery, finally by the current electric quantity of output module output battery.By the way, power testing system of the present utility model detects applicable to the electric weight of the battery of different manufacturers and different size, there is better versatility, and the electric current that power testing system of the present utility model is charged, discharged by detection obtains the electric weight of battery, solved when battery charging and discharging because load current produces the voltage generation nonlinearities change that transition makes battery, thereby can not only by detecting voltage, accurately detect the problem of the electric weight of battery, the accuracy therefore, with better stability and Geng Gao.
The foregoing is only the embodiment of this system utility model; not thereby limit the scope of the claims of the present utility model; every equivalent structure or conversion of equivalent flow process that utilizes the utility model instructions and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present utility model.