CN116565991A - Battery management method, apparatus, system, device, program product, and medium - Google Patents

Battery management method, apparatus, system, device, program product, and medium Download PDF

Info

Publication number
CN116565991A
CN116565991A CN202210113990.4A CN202210113990A CN116565991A CN 116565991 A CN116565991 A CN 116565991A CN 202210113990 A CN202210113990 A CN 202210113990A CN 116565991 A CN116565991 A CN 116565991A
Authority
CN
China
Prior art keywords
battery
voltage
analog
digital converter
charge
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
Application number
CN202210113990.4A
Other languages
Chinese (zh)
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210113990.4A priority Critical patent/CN116565991A/en
Publication of CN116565991A publication Critical patent/CN116565991A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/446Initial charging measures
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00306Overdischarge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the disclosure relates to a battery management method, a device, a system, equipment, a program product and a medium, wherein the battery management method is applied to electronic equipment with long-distance power supply and comprises the following steps: monitoring the charge and discharge states of a battery in the electronic equipment; when the battery is charged, acquiring the battery voltage through a first analog-to-digital converter arranged at the battery end; the battery charge is controlled based on the battery voltage. According to the embodiment of the disclosure, the analog-to-digital converter is added at the battery end, so that the battery charging is controlled according to the actual voltage of the battery, the battery charging time is shortened, and the charging speed of the electronic equipment is improved.

Description

Battery management method, apparatus, system, device, program product, and medium
Technical Field
The present disclosure relates to the field of battery power, and more particularly, to a battery management method, apparatus, system, device, program product, and medium.
Background
With the development of technology, more and more portable electronic devices are appearing in people's lives. In order to ensure the normal operation of electronic devices, corresponding power supply technologies have received a great deal of attention.
Currently, electronic devices are mainly powered by their built-in batteries. The power management integrated circuit is connected with the main board, and can charge the battery and convert the voltage output by the battery into the voltage matched with each power utilization module on the main board so as to supply power for each power utilization module. However, in some electronic devices, the battery and the motherboard need to be designed separately to meet the design requirement, and in this case, the battery needs to be connected to the motherboard through a long power line, resulting in a relatively large voltage drop on the power line. And when the battery is charged, the battery voltage acquired by the main board end is smaller than the actual battery voltage, so that the charging time of the battery is prolonged, and the charging speed of the electronic equipment is reduced.
Disclosure of Invention
In order to solve the above technical problems, the present disclosure provides a battery management method, apparatus, system, device, program product, and medium.
The embodiment of the disclosure provides a battery management method applied to electronic equipment with long-distance power supply, comprising the following steps:
monitoring the charge and discharge states of a battery in the electronic equipment;
when the battery is charged, acquiring the battery voltage through a first analog-to-digital converter arranged at the battery end;
the battery charge is controlled based on the battery voltage.
The embodiment of the disclosure also provides a battery management device configured in an electronic device for long-distance power supply, including:
the charge and discharge state monitoring module is used for monitoring the charge and discharge state of the battery in the electronic equipment;
the battery voltage acquisition module is used for acquiring the battery voltage through a first analog-to-digital converter arranged at the battery end when the battery is charged;
and the charging control module is used for controlling the battery to charge based on the battery voltage.
The embodiment of the disclosure also provides a battery management system configured in an electronic device for long-distance power supply, comprising a controller, a power management integrated circuit and a first analog-to-digital converter;
the first analog-to-digital converter is used for acquiring the battery voltage of the battery end of the electronic equipment and transmitting the battery voltage to the controller;
the controller is used for monitoring the charge and discharge states of the battery, acquiring the battery voltage when the battery is charged, and controlling the battery to be charged based on the battery voltage;
the power management integrated circuit is configured to charge the battery.
The embodiment of the disclosure also provides an electronic device, which comprises: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to implement a battery management method as provided in an embodiment of the disclosure.
The disclosed embodiments also provide a computer program product comprising a computer program/instructions, wherein the computer program/instructions, when executed by a processor, implement a battery management method as provided by the disclosed embodiments.
The present disclosure also provides a computer-readable storage medium storing a computer program for executing the battery management method as provided by the embodiments of the present disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the technical scheme provided by the embodiment of the disclosure, for the electronic equipment powered at a long distance, the battery end of the electronic equipment is provided with the analog-to-digital converter, namely the first analog-to-digital converter, the first analog-to-digital converter is utilized to directly convert the actual analog voltage of the battery into the digital voltage (namely the battery voltage) and transmit the digital voltage to the controller, so that the controller can calculate the current actual electric quantity of the battery based on the battery voltage, and the calculation deviation of the electric quantity of the battery caused by the voltage drop on the power line is avoided, thereby accurately controlling the battery charging, reducing the battery charging time and improving the charging speed of the electronic equipment.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart of a battery management method according to an embodiment of the disclosure;
fig. 2 is a schematic structural diagram of a VR integrated machine according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a battery management device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a battery management system according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
Fig. 1 is a flowchart of a battery management method according to an embodiment of the present disclosure, where the method may be performed by a battery management device, and the device may be implemented in software and/or hardware, and may be generally integrated in an electronic device. The method is applied to electronic equipment with long-distance power supply, wherein in the embodiment of the disclosure, the long-distance power supply means that the length of a power line exceeds a preset length threshold, and voltage drop caused by the power line affects the charging speed of a battery. In some embodiments, referring to fig. 2, the electronic device may be a Virtual Reality (VR) all-in-one machine 10, where the battery 11 is designed in a rear-mounted manner, so that the weight distribution of the VR all-in-one machine 10 is relatively uniform, and the wearing comfort of the user is improved. In this type of VR all-in-one machine 10, the power cord is relatively long, typically more than 30cm, so that there is a relatively large voltage drop on the power cord, which affects the battery charging speed. In view of the technical problem, as shown in fig. 1, a battery management method provided in an embodiment of the present disclosure includes:
and 101, monitoring the charge and discharge states of a battery in the electronic equipment.
Typically, power management integrated circuits, i.e., universal power chips, such as PM8150B, are provided in electronic devices. The power management integrated circuit can charge a battery and also can utilize the electric energy output by the battery to supply power for each power utilization module on the main board. Accordingly, the charge and discharge states of the battery can be determined according to the operation states of the power management integrated circuit. Specifically, when the power management integrated circuit charges the battery, determining the charge and discharge state of the battery as the battery charge; when the power management integrated circuit supplies power to each power utilization module on the main board, the charging and discharging states of the battery are determined to be battery discharging. It should be noted that, in general, the charging speed of the battery is greater than the discharging speed of the battery, and if it is determined that the battery is charged and discharged simultaneously, the charging and discharging state of the battery is determined to be the charging state of the battery.
Additionally, in some embodiments, the charge and discharge state of the battery may be determined from a charge and discharge current on a power line between the power management integrated circuit and the battery. Illustratively, monitoring a charge-discharge current of the battery, and determining that the battery is charged when the charge current is greater than 0; when the discharge current is greater than 0, the battery is determined to be discharged.
Step 102, when the battery is charged, the voltage of the battery is obtained through a first analog-to-digital converter arranged at the battery end.
The first analog-to-digital converter can collect the analog voltage of the battery and convert the analog voltage into digital voltage, so that the battery voltage can be transmitted to a controller (such as a main control chip) on the main board in the form of a digital signal. Because the digital signal cannot change due to the increase of the transmission distance, the battery voltage obtained by the controller is the actual voltage of the battery, and the voltage drop caused by a longer power line is avoided.
Accordingly, in some embodiments, obtaining the battery voltage through a first analog-to-digital converter disposed at the battery terminal includes: converting the analog voltage of the battery terminal into a digital voltage through a first analog-to-digital converter; and receiving the digital voltage output by the first analog-to-digital converter, wherein the digital voltage is the battery voltage. For example, the controller may receive the battery voltage output by the first analog-to-digital converter via an integrated circuit bus (Inter-Integrated Circuit, I2C).
Step 103, controlling battery charging based on the battery voltage.
Currently, the battery charging process is divided into two phases: the battery is charged with constant current by adopting high current, and when the charging is close to tail sound, the battery is charged with constant voltage to avoid overcharge. For the electronic equipment with long-distance power supply, because a longer power line has larger voltage drop, when the controller controls the battery to charge according to the voltage of the main board end, the constant-current charging time is reduced, the constant-voltage charging time is increased, the constant-current charging is high-current quick charging, the charging speed is high, the constant-voltage charging is vortex slow charging, the charging speed is slower, therefore, the whole charging time is increased,
in the embodiment of the disclosure, the battery voltage obtained by the controller is the actual voltage of the battery, so that the influence of voltage drop on the power line is avoided, and therefore, in the process that the controller controls the battery to charge based on the battery voltage, the constant-current charging time can be increased, the constant-voltage charging time can be reduced, the overall charging time is shortened, and the charging efficiency is optimized. In some embodiments, the controller is capable of calculating a battery charge based on the battery voltage, thereby controlling battery charging based on the battery charge. Specifically, the controller battery voltage calculates the battery charge, and then sends a charge control signal to the power management integrated circuit based on the battery charge, and the power management integrated circuit charges the battery based on the charge control signal.
According to the battery management method provided by the embodiment of the disclosure, for the electronic equipment powered at a long distance, the battery end of the electronic equipment is provided with the analog-to-digital converter, namely the first analog-to-digital converter, and the first analog-to-digital converter is utilized to directly convert the actual analog voltage of the battery into the digital voltage (namely the battery voltage) and transmit the digital voltage to the controller, so that the controller can calculate the current actual electric quantity of the battery based on the battery voltage, and the calculation deviation of the electric quantity of the battery caused by the voltage drop on the power line is avoided, thereby accurately controlling the battery charging, reducing the battery charging time and improving the charging speed of the electronic equipment.
In some embodiments, the battery management method further comprises: when the battery discharges, acquiring the voltage of the main board through a second analog-to-digital converter arranged at the main board end; and controlling the electronic equipment to be powered off based on the mainboard voltage.
The main board voltage is the voltage when the battery voltage is transmitted to the main board or the power management integrated circuit through the power line, and the value of the main board voltage is the difference between the battery voltage and the voltage drop on the power line. In the embodiment, the voltage drop on the power line is taken into consideration, and the electronic equipment is controlled to be shut down based on the voltage of the main board, so that the actual voltage of the battery is not 0 or too low when the electronic equipment is shut down, the battery is prevented from overdischarging, the battery is protected, and the service life of the battery is prolonged.
Thus, the embodiment of the disclosure can acquire the voltage acquired by the corresponding analog-to-digital converter based on different charge and discharge states of the battery, so that the charge time can be reduced, and the battery can be prevented from being overcharged.
Fig. 3 is a schematic structural diagram of a battery management device according to an embodiment of the present disclosure; the apparatus may be implemented in software and/or hardware and may be generally integrated in an electronic device. As shown in fig. 3, the device is disposed in an electronic apparatus for long-distance power supply, and includes:
a charge and discharge state monitoring module 201, configured to monitor a charge and discharge state of a battery in the electronic device;
a battery voltage acquisition module 202, configured to acquire a battery voltage through a first analog-to-digital converter disposed at a battery terminal when the battery is charged;
the charging control module 203 is configured to control battery charging based on the battery voltage.
Optionally, the charge-discharge state monitoring module is specifically configured to:
monitoring the charge and discharge current of the battery;
when the charging current is greater than 0, determining that the battery is charged;
when the discharge current is greater than 0, the battery is determined to be discharged.
Optionally, the battery voltage acquisition module is specifically configured to:
converting the analog voltage of the battery terminal into a digital voltage through a first analog-to-digital converter;
and receiving the digital voltage output by the first analog-to-digital converter, wherein the digital voltage is the battery voltage.
Optionally, the apparatus further comprises:
the main board voltage acquisition module is used for acquiring main board voltage through a second analog-to-digital converter arranged at the main board end when the battery discharges;
and the shutdown control module is used for controlling the shutdown of the electronic equipment based on the voltage of the main board.
The battery management device provided by the embodiment of the disclosure can execute the battery management method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
The embodiment of the disclosure also provides a battery management system which is configured in the electronic equipment with long-distance power supply. Fig. 4 is a schematic structural diagram of a battery management system according to an embodiment of the present disclosure. As shown in fig. 4, the battery management system includes a controller 301, a power management integrated circuit 302, and a first analog-to-digital converter 303;
the first analog-to-digital converter 303 is configured to obtain a battery voltage of a battery terminal of the electronic device, and transmit the battery voltage to the controller 301;
the controller 301 is configured to monitor a charge and discharge state of the battery, and when the battery is charged, acquire a battery voltage, and control the battery to be charged based on the battery voltage;
the power management integrated circuit 302 is used to charge the battery.
The controller 301 and the power management integrated circuit 302 are disposed at a motherboard end of the electronic device, the first analog-to-digital converter 303 is disposed at a battery end of the electronic device, an input end of the first analog-to-digital converter 303 is connected with the battery, an output end of the first analog-to-digital converter 303 is connected with a first input end of the controller 301, an output end of the controller 301 is connected with a control end of the power management integrated circuit 302, and an output end of the power management integrated circuit 302 is connected with the battery.
In some embodiments, with continued reference to fig. 4, the power management integrated circuit 302 is also configured to receive power from a battery and to power the motherboard; the battery management system further comprises a second analog-to-digital converter 304, an input end of the second analog-to-digital converter 304 is connected with an output end of the power management integrated circuit 302, and an output end of the second analog-to-digital converter 304 is connected with a second input end of the controller 301;
the second analog-to-digital converter 304 is configured to obtain a motherboard voltage and transmit the motherboard voltage to the controller 301;
the controller 301 is also used to control the electronic device to be powered off based on the motherboard voltage.
According to the battery management system provided by the embodiment of the disclosure, for electronic equipment powered at a long distance, the actual analog voltage of the battery is directly converted into the digital voltage (namely, the battery voltage) through the analog-to-digital converter arranged at the battery end of the electronic equipment, namely, the first analog-to-digital converter, and the digital voltage (namely, the battery voltage) is transmitted to the controller, so that the controller can calculate the current actual electric quantity of the battery based on the battery voltage, the calculation deviation of the electric quantity of the battery caused by voltage drop on a power line is avoided, the battery charging can be accurately controlled, the battery charging time is shortened, and the charging speed of the electronic equipment is improved.
The disclosed embodiments also provide a computer program product comprising a computer program/instructions which, when executed by a processor, implement the battery management method provided by any of the embodiments of the disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now in particular to fig. 5, a schematic diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 400 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as VR integrated machine, mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), in-vehicle terminal (e.g., in-vehicle navigation terminal), etc., and fixed terminals such as digital TV, desktop computer, etc. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
In general, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 400 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communications device 409, or from storage 408, or from ROM 402. When the computer program is executed by the processing device 401, the above-described functions defined in the battery management method of the embodiment of the present disclosure are performed.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: monitoring the charge and discharge states of a battery in the electronic equipment; when the battery is charged, acquiring the voltage of the battery through a first analog-to-digital converter arranged at the battery end; battery charging is controlled based on the battery voltage.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (10)

1. A battery management method applied to an electronic device with long-distance power supply, comprising:
monitoring the charge and discharge states of a battery in the electronic equipment;
when the battery is charged, acquiring the battery voltage through a first analog-to-digital converter arranged at the battery end;
the battery charge is controlled based on the battery voltage.
2. The method of claim 1, wherein the monitoring the charge-discharge state of the battery in the electronic device comprises:
monitoring the charge-discharge current of the battery;
determining that the battery is charged when the charging current is greater than 0;
and when the discharge current is greater than 0, determining that the battery is discharged.
3. The method of claim 1, wherein the obtaining the battery voltage via a first analog-to-digital converter disposed at the battery terminal comprises:
converting the analog voltage of the battery terminal into a digital voltage through the first analog-to-digital converter;
and receiving the digital voltage output by the first analog-to-digital converter, wherein the digital voltage is the battery voltage.
4. The method according to claim 1, wherein the method further comprises:
when the battery discharges, acquiring a main board voltage through a second analog-to-digital converter arranged at the main board end;
and controlling the electronic equipment to be powered off based on the mainboard voltage.
5. A battery management apparatus configured for an electronic device that supplies power over a long distance, comprising:
the charge and discharge state monitoring module is used for monitoring the charge and discharge state of the battery in the electronic equipment;
the battery voltage acquisition module is used for acquiring the battery voltage through a first analog-to-digital converter arranged at the battery end when the battery is charged;
and the charging control module is used for controlling the battery to charge based on the battery voltage.
6. The battery management system is configured on electronic equipment with long-distance power supply and is characterized by comprising a controller, a power management integrated circuit and a first analog-to-digital converter;
the first analog-to-digital converter is used for acquiring the battery voltage of the battery end of the electronic equipment and transmitting the battery voltage to the controller;
the controller is used for monitoring the charge and discharge states of the battery, acquiring the battery voltage when the battery is charged, and controlling the battery to be charged based on the battery voltage;
the power management integrated circuit is configured to charge the battery.
7. The battery management system of claim 6, wherein the power management integrated circuit is further configured to receive power from the battery and to power the motherboard; the battery management system also comprises a second analog-to-digital converter, wherein the input end of the second analog-to-digital converter is connected with the output end of the power management integrated circuit, and the output end of the second analog-to-digital converter is connected with the second input end of the controller;
the second analog-to-digital converter is used for acquiring the main board voltage and transmitting the main board voltage to the controller;
the controller is also used for controlling the electronic equipment to be powered off based on the mainboard voltage.
8. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the battery management method of any of the above claims 1-4.
9. A computer program product comprising computer program/instructions, wherein the computer program/instructions, when executed by a processor, implement the battery management method of any of claims 1-4.
10. A computer readable storage medium, characterized in that the storage medium stores a computer program for executing the battery management method according to any one of the preceding claims 1-4.
CN202210113990.4A 2022-01-30 2022-01-30 Battery management method, apparatus, system, device, program product, and medium Pending CN116565991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210113990.4A CN116565991A (en) 2022-01-30 2022-01-30 Battery management method, apparatus, system, device, program product, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210113990.4A CN116565991A (en) 2022-01-30 2022-01-30 Battery management method, apparatus, system, device, program product, and medium

Publications (1)

Publication Number Publication Date
CN116565991A true CN116565991A (en) 2023-08-08

Family

ID=87502475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210113990.4A Pending CN116565991A (en) 2022-01-30 2022-01-30 Battery management method, apparatus, system, device, program product, and medium

Country Status (1)

Country Link
CN (1) CN116565991A (en)

Similar Documents

Publication Publication Date Title
US10122197B2 (en) Controlling a display based on different modes of operation
CN106415989B (en) Apparatus, system and method for wireless power transfer
EP2736755B1 (en) A system for monitoring a battery charger
WO2013191416A1 (en) Battery charging method and electronic device
CN101221463B (en) Battery module, computer system and power supply method thereof
EP4145669A1 (en) Charging/discharging circuit and electronic device
US9515509B2 (en) Electronic device system and battery pack
CN101657782B (en) Multi-battery charging system and method
US11251645B2 (en) Multimode USB-C power transmission and conversion supporting improved battery charging
CN107980190A (en) Electronic device and on demand charging method
CN114859258A (en) Electricity meter and electronic equipment applied to multiple batteries
WO2024007687A1 (en) Multi-battery power supply, charging/discharging method, and electronic device
CN114844182B (en) Charging circuit, charging method and electronic equipment
CN106340780A (en) Terminal device and control method thereof
CN110460130B (en) Charging method, device, system, terminal and storage medium
KR20140062270A (en) Method and apparatus for controlling charging of secondary battery
CN112698224B (en) Method, device and equipment for estimating residual electric quantity and readable storage medium
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN116565991A (en) Battery management method, apparatus, system, device, program product, and medium
CN104953647B (en) Mobile terminal and its charging method
CN113013935B (en) Control method and system of power supply device, terminal equipment and storage medium
CN113672067B (en) Lightning docking station and configuration device
CN115513545A (en) Electric quantity control method and device, computer readable storage medium and equipment
US11079827B2 (en) Cognitive battery state of charge recalibration
WO2019112257A1 (en) Electronic device for battery calibration and operation method therefor

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