CN112595984B - Lithium battery voltage detection method and device, electrical equipment and storage medium - Google Patents

Lithium battery voltage detection method and device, electrical equipment and storage medium Download PDF

Info

Publication number
CN112595984B
CN112595984B CN202011474385.7A CN202011474385A CN112595984B CN 112595984 B CN112595984 B CN 112595984B CN 202011474385 A CN202011474385 A CN 202011474385A CN 112595984 B CN112595984 B CN 112595984B
Authority
CN
China
Prior art keywords
voltage
lithium battery
pulse signal
pulse width
determining
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.)
Active
Application number
CN202011474385.7A
Other languages
Chinese (zh)
Other versions
CN112595984A (en
Inventor
李硕勇
龚辉平
陈定武
朱永哲
张迎香
冯晓琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011474385.7A priority Critical patent/CN112595984B/en
Publication of CN112595984A publication Critical patent/CN112595984A/en
Application granted granted Critical
Publication of CN112595984B publication Critical patent/CN112595984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/386Arrangements for measuring battery or accumulator variables using test-loads
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0084Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring voltage only

Abstract

The invention discloses a method and a device for detecting the voltage of a lithium battery, electrical equipment and a storage medium, wherein the method for detecting the voltage of the lithium battery comprises the following steps: when the load is controlled by the pulse signal, acquiring the state information of the pulse signal at the current moment; determining whether the pulse signal is an effective pulse width according to the state information; and when the pulse signal is in an effective pulse width, determining a voltage sampling moment, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage. Therefore, the minimum voltage of the lithium battery can be accurately detected, timely protection is facilitated, and the service life of the lithium battery is prolonged.

Description

Lithium battery voltage detection method and device, electrical equipment and storage medium
Technical Field
The invention relates to the technical field of electrical equipment, in particular to a method and a device for detecting voltage of a lithium battery, the electrical equipment and a storage medium.
Background
At present, more and more use of lithium cell is on domestic product, including hand-held type juice extraction cup, hand-held type dental floss machine, hand-held type fan etc.. The product generally controls the load of the direct current motor to work, and different gears are adjusted by outputting different duty ratio pulse widths through PWM, so that the use requirement of a user is met.
Lithium batteries have a minimum discharge voltage requirement below which damage to the lithium battery may result, requiring accurate detection of the battery voltage for timely protection. Because the motor load works during the PWM effective pulse width, the battery voltage can be pulled down, the motor load does not work during the PWM ineffective pulse width, and the battery voltage is recovered. If the detection time of the battery voltage is not right, the lowest battery voltage may not be detected, so that the operation cannot be stopped in time, which is not beneficial to the protection of the lithium battery.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for detecting a voltage of a lithium battery, an electrical device, and a storage medium, so as to improve detection accuracy of a minimum voltage of the lithium battery during operation.
According to a first aspect, an embodiment of the present invention provides a method for detecting a voltage of a lithium battery, including:
when the load is controlled by the pulse signal, acquiring the state information of the pulse signal at the current moment;
determining whether the pulse signal is an effective pulse width according to the state information;
and when the pulse signal is in an effective pulse width, determining a voltage sampling moment, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage.
According to the method for detecting the voltage of the lithium battery, provided by the embodiment of the invention, when a load is controlled by a pulse signal, state information of the pulse signal at the current moment is acquired; determining whether the pulse signal is an effective pulse width according to the state information; and when the pulse signal is in an effective pulse width, determining a voltage sampling moment, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage. Therefore, the minimum voltage of the lithium battery can be accurately detected, timely protection is facilitated, and the service life of the lithium battery is prolonged.
With reference to the first aspect, in a first implementation manner of the first aspect, the determining the voltage sampling time when the pulse signal is an effective pulse width includes:
and taking the current moment as the voltage sampling moment.
With reference to the first aspect, in a second implementation manner of the first aspect, the determining the voltage sampling time when the pulse signal is an effective pulse width includes:
acquiring a preset delay time;
and determining the voltage sampling time by using the current time and the delay time.
With reference to the first aspect, in a third implementation manner of the first aspect, the determination rule of the delay time duration is: and the sum of the sampling time length of the lithium battery voltage and the delay time length is less than or equal to the period of the effective pulse width.
With reference to the first aspect, in a fourth implementation manner of the first aspect, the control manner of the pulse signal includes PWM control and duty ratio control.
With reference to the first aspect, in a fifth embodiment of the first aspect, the method for detecting a voltage of a lithium battery further includes: when the pulse signal is an invalid pulse, detecting the voltage of the lithium battery to obtain no-load voltage;
and calculating the difference value between the no-load voltage and the loaded voltage, and determining the working state of the lithium battery according to the difference value.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the determining the operating state of the lithium battery according to the difference includes:
when the difference value is smaller than a preset first threshold value, judging that the lithium battery works normally;
and when the difference value is larger than a preset second threshold value, judging that the lithium battery works in an overload mode.
According to a second aspect, an embodiment of the present invention provides a device for detecting a voltage of a lithium battery, including:
the acquisition module is used for acquiring the state information of the pulse signal at the current moment when the load is controlled by the pulse signal;
the processing module is used for determining whether the pulse signal is an effective pulse width according to the state information;
and the sampling module is used for determining the voltage sampling moment when the pulse signal is the effective pulse width, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage.
According to a third aspect, an embodiment of the present invention provides an electrical device, including a lithium battery, a memory, and a processor, where the lithium battery, the memory, and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions, so as to perform the method for detecting a voltage of the lithium battery described in the first aspect or any one of the embodiments of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to cause a computer to execute the method for detecting a voltage of a lithium battery according to the first aspect or any one of the implementation manners of the first aspect.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
fig. 1 is a schematic flow chart of a lithium battery voltage detection method in embodiment 1 of the present invention;
fig. 2 is a schematic flow chart illustrating an example of a method for detecting a voltage of a lithium battery in embodiment 1 of the present invention;
fig. 3 is a schematic structural diagram of a lithium battery voltage detection device in embodiment 2 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
The embodiment 1 of the invention provides a method for detecting the voltage of a lithium battery. Fig. 1 is a schematic flow chart of a lithium battery voltage detection method in embodiment 1 of the present invention. As shown in fig. 1, the method for detecting a voltage of a lithium battery according to embodiment 1 of the present invention includes the following steps:
s101: and when the load is controlled by the pulse signal, acquiring the state information of the pulse signal at the current moment.
In embodiment 1 of the present invention, the control method of the pulse signal includes PWM control and duty control. The PWM control refers to pulse width modulation and belongs to short-period signals, and the period time is generally within millisecond units; duty cycle control refers to a long period signal, with the period time typically being in seconds. For example, the state information of the pulse signal may be understood as whether the pulse signal is at a high level or a low level.
S102: and determining whether the pulse signal is an effective pulse width according to the state information.
In the embodiment of the invention, the effective pulse width is the level when the effective pulse is loaded by the lithium battery. For example, if the load operates at a high level and stops operating at a low level, when the current time is at the high level, the pulse signal has an effective pulse width; when the current time is low level, the pulse signal is invalid pulse width.
S103: and when the pulse signal is in an effective pulse width, determining a voltage sampling moment, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage.
In embodiment 1 of the present invention, the on-load voltage is the lowest voltage of the lithium battery during operation.
As specific embodiments, the following two schemes may be adopted for determining the voltage sampling time.
The first scheme is as follows: and taking the current moment as the voltage sampling moment.
Scheme II: acquiring a preset delay time; and determining the voltage sampling time by using the current time and the delay time. That is, sampling is performed after the current time for an extended period of time. Therefore, interference signals when the load is started and the influence of the IC circuit on the signal filtering effect can be filtered, so that the sampling voltage is more accurate.
As a specific implementation, the determination principle of the delay time duration is as follows: and the sum of the sampling time length of the lithium battery voltage and the delay time length is less than or equal to the period of the effective pulse width.
As a further scheme, the method for detecting the voltage of the lithium battery further comprises the following steps: when the pulse signal is an invalid pulse, detecting the voltage of the lithium battery to obtain no-load voltage; and calculating the difference value between the no-load voltage and the loaded voltage, and determining the working state of the lithium battery according to the difference value.
Specifically, the determining the working state of the lithium battery according to the difference includes: when the difference value is smaller than a preset first threshold value, judging that the lithium battery works normally; and when the difference value is larger than a preset second threshold value, judging that the lithium battery works in an overload mode. The first threshold value and the second threshold value can be determined by the voltage value of the normal work of the lithium battery, wherein the first threshold value is far smaller than the normal voltage value, and the second threshold value is far larger than the normal voltage value. That is, if the difference is far smaller than the normal value, it can be determined that the load does not work or the load works lightly; if the difference value is far larger than the normal value, the load is judged to be stuck or the overload work is judged.
According to the method for detecting the voltage of the lithium battery provided by the embodiment 1 of the invention, when a load is controlled by a pulse signal, state information of the pulse signal at the current moment is acquired; determining whether the pulse signal is an effective pulse width according to the state information; and when the pulse signal is in an effective pulse width, determining a voltage sampling moment, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage. Therefore, the minimum voltage of the lithium battery during working can be accurately detected, timely protection is facilitated, and the service life of the lithium battery is prolonged.
To more accurately describe the method for detecting the voltage of the lithium battery in embodiment 1 of the present invention, a specific example is given, and as shown in fig. 2, the method for detecting the voltage of the lithium battery includes the following steps:
when the load module works, whether the control is carried out through the PWM pulse width at the moment is judged.
If the PWM pulse width control is not carried out, the load is indicated to be always working, the voltage at the moment is the low voltage after the load is carried, and the voltage detection is carried out according to the original sampling method, namely, the accurate detection time is not required.
If the PWM pulse width control is carried out, the load works under the PWM effective pulse width, the load stops working under the invalid pulse width, and the voltage at the moment is circulated between the loaded voltage and the no-load voltage. If the voltage sampling time is not accurate, the voltage is sampled at the high point of the no-load voltage with a high probability, so that the real low point of the loaded voltage cannot be sampled, and the battery condition cannot be judged in time and cannot be protected in time. Therefore, the current working state of the load is judged by detecting the output of the effective PWM pulse width, and the voltage detection is started after the time t is delayed, so that the low voltage after the load is sampled, and the timely processing and protection are facilitated.
In particular, the sum of the delay time t and the sampling time must be within the period of the PWM effective pulse width, i.e., to ensure that the detection is initiated and completed within the period of the PWM effective pulse width.
Example 2
Corresponding to embodiment 1 of the present invention, embodiment 2 of the present invention provides a device for detecting a voltage of a lithium battery. Fig. 3 is a schematic structural diagram of a lithium battery voltage detection device in embodiment 2 of the present invention. As shown in fig. 3, the lithium battery voltage detection apparatus according to embodiment 2 of the present invention includes an obtaining module 20, a processing module 22, and a sampling module 24.
Specifically, the obtaining module 20 is configured to obtain the state information of the pulse signal at the current time when the load is controlled by the pulse signal.
The processing module 22 is configured to determine whether the pulse signal is an effective pulse width according to the state information.
And the sampling module 24 is used for determining a voltage sampling moment when the pulse signal is in an effective pulse width, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage.
The specific details of the above-mentioned lithium battery voltage detection device can be understood by referring to the corresponding related descriptions and effects in the embodiments shown in fig. 1 to fig. 2, which are not described herein again.
Example 3
The embodiment of the invention also provides electric equipment which can comprise a lithium battery, a processor and a memory, wherein the processor and the memory can be connected through a bus or other modes.
Specifically, the electrical equipment comprises a lithium battery power supply module, a load module, a PWM output control module, a PWM signal detection module, a battery voltage detection module, and the like.
The processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or a combination thereof.
The memory, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules (e.g., the acquisition module 20, the processing module 22, and the sampling module 24 shown in fig. 3) corresponding to the lithium battery voltage detection method in the embodiment of the present invention. The processor executes various functional applications and data processing of the processor by running the non-transitory software program, instructions and modules stored in the memory, that is, the lithium battery voltage detection method in the above method embodiment is implemented.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory and, when executed by the processor, perform the lithium battery voltage detection method of the embodiment shown in fig. 1-2.
The details of the electrical apparatus may be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 1 to fig. 3, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A method for detecting the voltage of a lithium battery is characterized by comprising the following steps:
when the load is controlled by the pulse signal, acquiring the state information of the pulse signal at the current moment;
determining whether the pulse signal is an effective pulse width according to the state information, wherein the effective pulse width is a level when the effective pulse is loaded by a lithium battery;
and when the pulse signal is in an effective pulse width, determining a voltage sampling moment, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage.
2. The method of claim 1, wherein determining a voltage sampling instant when the pulse signal is an active pulse width comprises:
and taking the current moment as the voltage sampling moment.
3. The method of claim 1, wherein determining a voltage sampling instant when the pulse signal is an active pulse width comprises:
acquiring a preset delay time;
and determining the voltage sampling time by using the current time and the delay time.
4. The method of claim 3, wherein the delay duration is determined by: and the sum of the sampling time length of the lithium battery voltage and the delay time length is less than or equal to the period of the effective pulse width.
5. The method according to claim 1, wherein the pulse signal is controlled in a manner including PWM control and duty control.
6. The method of claim 1, further comprising:
when the pulse signal is an invalid pulse, detecting the voltage of the lithium battery to obtain no-load voltage;
and calculating the difference value between the no-load voltage and the loaded voltage, and determining the working state of the lithium battery according to the difference value.
7. The method of claim 6, wherein determining the operating state of the lithium battery based on the difference comprises:
when the difference value is smaller than a preset first threshold value, judging that the lithium battery works normally;
and when the difference value is larger than a preset second threshold value, judging that the lithium battery works in an overload mode.
8. A detection device for lithium battery voltage is characterized by comprising:
the acquisition module is used for acquiring the state information of the pulse signal at the current moment when the load is controlled by the pulse signal;
the processing module is used for determining whether the pulse signal is an effective pulse width according to the state information, wherein the effective pulse width is a level when the effective pulse is carried, and the effective pulse is a pulse when the lithium battery is loaded;
and the sampling module is used for determining the voltage sampling moment when the pulse signal is the effective pulse width, and detecting the voltage of the lithium battery when the voltage sampling moment is reached to obtain the on-load voltage.
9. An electrical device, comprising:
the lithium battery, the memory and the processor are connected with each other in a communication mode, the memory stores computer instructions, and the processor executes the computer instructions to execute the lithium battery voltage detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing computer instructions for causing a computer to execute the method for detecting a voltage of a lithium battery according to any one of claims 1 to 7.
CN202011474385.7A 2020-12-14 2020-12-14 Lithium battery voltage detection method and device, electrical equipment and storage medium Active CN112595984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011474385.7A CN112595984B (en) 2020-12-14 2020-12-14 Lithium battery voltage detection method and device, electrical equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011474385.7A CN112595984B (en) 2020-12-14 2020-12-14 Lithium battery voltage detection method and device, electrical equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112595984A CN112595984A (en) 2021-04-02
CN112595984B true CN112595984B (en) 2021-12-14

Family

ID=75195419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011474385.7A Active CN112595984B (en) 2020-12-14 2020-12-14 Lithium battery voltage detection method and device, electrical equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112595984B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844603A (en) * 2022-04-26 2022-08-02 长鑫存储技术有限公司 Signal detection method and device and memory

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917502B2 (en) * 2002-03-28 2005-07-12 Delphi Technologies, Inc. Power supply circuit and method for a motor vehicle electrical accessory load
TWI239710B (en) * 2004-03-08 2005-09-11 Asia Vital Components Co Ltd Converter for converting pulse width modulation (PWM) to direct-current (DC) voltage
US20060103350A1 (en) * 2004-11-12 2006-05-18 Akku Power Electronic Co., Ltd. [an equalizing-charge charger]
CN201594132U (en) * 2009-06-22 2010-09-29 河南新天科技股份有限公司 Lithium battery detecting tooling
CN103138761A (en) * 2011-11-25 2013-06-05 海洋王照明科技股份有限公司 Analog-digital conversion circuit and battery voltage detection circuit
KR102167428B1 (en) * 2016-10-21 2020-10-20 주식회사 엘지화학 Effective battery cell-balancing method and system through the duty control
CN107894526B (en) * 2017-11-10 2020-02-14 北京深思数盾科技股份有限公司 Battery voltage detection device and method and information safety equipment
CN210136288U (en) * 2019-04-02 2020-03-10 德龙动能科技(深圳)有限公司 Electronic equipment, battery state information transmission device and transmission circuit thereof

Also Published As

Publication number Publication date
CN112595984A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN110021792B (en) Charging control method and device, terminal equipment and computer storage medium
WO2015196641A1 (en) Battery charging method and device, and computer storage medium
CN112595984B (en) Lithium battery voltage detection method and device, electrical equipment and storage medium
CN111276940A (en) Motor locked-rotor protection detection method, device and equipment
CN110962677A (en) Monitoring method and system for vehicle standing
CN204101643U (en) Three-phase electricity condition detection apparatus and electric system
CN110797968B (en) Power-off prevention method and system for uninterruptible power supply and terminal equipment
CN111245367A (en) IV curve acquisition method and device and related components
CN111836347A (en) Electric quantity display method, device and equipment and readable storage medium
CN110888518A (en) Control system and method of standby power system
CN115622184A (en) Finished automobile quiescent current detection method, battery management system, equipment and medium
CN113375321B (en) Operation control method and system of air conditioner compressor and storage medium
CN111301222B (en) Vehicle battery cell voltage drop early warning method, electronic equipment and storage medium
CN112737023B (en) Power receiving equipment control method and device in quick charging mode and power receiving equipment
CN112688280B (en) Power supply protection method and device for high-voltage generator and X-ray imaging system
CN114966414A (en) Battery pack abnormity detection method and device and electronic equipment
CN111277173A (en) Motor starting control method and device, electrical equipment and storage medium
CN114400618A (en) Method, device and medium for determining overload protection point of motor
CN104977479A (en) Three-phase power state detection device and method and motor system
EP3100337B1 (en) Charge algorithm for battery propelled elevator
CN115347628A (en) Overcurrent detection method, battery management unit and battery management system
CN111970164A (en) System, method, device, terminal and storage medium for detecting state of communication module
WO2023221775A1 (en) Battery early warning method and apparatus, and vehicle and storage medium
JP6631172B2 (en) Internal resistance calculation device, computer program, and internal resistance calculation method
CN112213584B (en) Inverter power-limited operation diagnosis method, device and monitoring equipment

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
GR01 Patent grant
GR01 Patent grant