Double-battery charging and discharging management method and system and storage medium
The dual battery management system for portable devices addresses the short working time issue by dynamically managing battery states to optimize power distribution, thereby extending their continuous operation.
Patent Information
- Application Number
- CN202411574104.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-03-21
AI Technical Summary
Portable electronic devices, such as tablets, have short continuous working times and require frequent recharging, especially in outdoor applications, limiting their usability.
A dual battery charging and discharging management system with a modular design, where a control module and interchangeable circuits manage the state of two batteries to optimize power distribution, allowing one battery to charge the other when depleted, extending the device's working time.
The system effectively manages battery states to prolong the continuous working time of portable electronic devices by dynamically adjusting power distribution between batteries, enhancing their charging and discharging efficiency and reliability.
Smart Images

Figure CN119675210A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery management technology, and in particular to a dual-battery charge and discharge management method and system, and a storage medium. Background Art
[0002] A portable electronic device is a portable, miniaturized electronic device that can be used with or without an external power source. For example, portable electronic devices include mobile phones and tablet computers. The tablet computer can specifically be a car-mounted tablet computer. The car-mounted tablet computer can be connected to the vehicle power supply and used in the vehicle, or it can be used alone outside the vehicle. Current portable electronic devices consume power quickly and have a short continuous working time, making it difficult to use them alone for a long time without being connected to a power source. For example, in the application scenario of field work (such as data collection and analysis in the field), the continuous working time of a car-mounted tablet computer used alone outside the vehicle generally does not exceed 2-3 hours. The user may need to interrupt the work to return to the vehicle to charge the car-mounted tablet computer, which affects the user experience.
[0003] Therefore, how to extend the continuous working time of portable electronic devices has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to provide a dual-battery charge and discharge management method and system, and a storage medium, aiming to extend the continuous working time of a portable electronic device.
[0005] To achieve the above objectives, a first aspect of an embodiment of the present application proposes a dual-battery charge and discharge management system, the system comprising:
[0006] A portable electronic device, comprising a controller, a first charge and discharge circuit and a first battery; the controller is electrically connected to the first charge and discharge circuit and the first battery, and the first charge and discharge circuit is electrically connected to the first battery;
[0007] An electronic adapter, the electronic adapter comprising a control and detection circuit, a second charge and discharge circuit and a second battery; the control and detection circuit is electrically connected to the second charge and discharge circuit and the second battery, and the second charge and discharge circuit is electrically connected to the second battery;
[0008] Wherein, the controller is detachably electrically connected to the control and detection circuit, and the first charge and discharge circuit is detachably electrically connected to the second charge and discharge circuit;
[0009] The control and detection circuit is used to determine the battery state of the second battery according to the battery state of the first battery; the second battery is used to supply power to the controller through the second charge and discharge circuit and the first charge and discharge circuit when the battery state of the second battery is a discharge state.
[0010] In some embodiments, the first charging and discharging circuit is detachably electrically connected to the vehicle power supply;
[0011] The vehicle-mounted power supply is used to power the controller; the controller is also used to determine that the battery state of the first battery is a charging state in response to the first charging and discharging circuit being electrically connected to the vehicle-mounted power supply; the control and detection circuit is also used to determine the on-off state of the second charging and discharging circuit as a disconnected state in response to the battery state of the first battery being a charging state, so as to disconnect the second battery from the vehicle-mounted power supply.
[0012] In some embodiments, the controller includes: a first control chip and a first voltage detection circuit;
[0013] The first control chip is electrically connected to the first voltage detection circuit, the first battery and the first charge and discharge circuit;
[0014] The first control chip is used to detect the battery status of the first battery and control the on-off state of the first charge and discharge circuit to update the battery status of the first battery; the first voltage detection circuit is used to detect the voltage of the first battery.
[0015] In some embodiments, the control and detection circuit includes: a second control chip and a second voltage detection circuit;
[0016] The second control chip is electrically connected to the second voltage detection circuit, the second battery and the second charge and discharge circuit;
[0017] Wherein, the second control chip is detachably electrically connected to the first control chip;
[0018] The second control chip is used to obtain the battery status of the first battery from the first control chip, and control the second charge and discharge circuit to determine the battery status of the second battery according to the battery status of the first battery; the second voltage detection circuit is used to detect the voltage of the second battery.
[0019] In some embodiments, the first charge and discharge circuit includes a first charge and discharge control chip, and the second charge and discharge circuit includes a second charge and discharge control chip;
[0020] Wherein, the first charge and discharge control chip is detachably electrically connected to the vehicle power supply;
[0021] The first charge and discharge control chip is used to respond to being electrically connected to the vehicle power supply, perform input overvoltage protection according to the input voltage of the vehicle power supply, and perform input overcurrent protection according to the input current of the vehicle power supply;
[0022] The second charge and discharge control chip is used to perform battery overvoltage protection according to the voltage of the second battery, and to perform battery overcurrent protection according to the current of the second battery.
[0023] In some embodiments, the portable electronic device further comprises: a first serial port communication module; the electronic adapter further comprises: a second serial port communication module;
[0024] The first serial port communication module is electrically connected to the controller, and the second serial port communication module is electrically connected to the control and detection circuit;
[0025] Wherein, the first serial port communication module and the second serial port communication module are detachably electrically connected.
[0026] To achieve the above object, a second aspect of an embodiment of the present application proposes a dual-battery charge and discharge management method, which is applied to the dual-battery charge and discharge management system described in the first aspect above, and the method includes:
[0027] obtaining a battery status of a first battery;
[0028] determining a battery state of a second battery according to the battery state of the first battery;
[0029] When the battery state of the second battery is discharging, the second battery is controlled to supply power to the controller through the second charging and discharging circuit and the first charging and discharging circuit.
[0030] In some embodiments, the first charge and discharge circuit is detachably electrically connected to the vehicle power supply, and the second charge and discharge circuit is detachably electrically connected to the vehicle power supply;
[0031] Controlling the vehicle-mounted power supply to charge the first battery or the second battery, and controlling the vehicle-mounted power supply to supply power to the controller;
[0032] When the first battery is not in a charging state and the second battery is not in a charging state, controlling the second battery to supply power to the controller;
[0033] When the first battery is not in a charging state and the second battery is not in a charging state, and when the voltage of the second battery is less than a preset voltage threshold, the first battery is controlled to supply power to the controller.
[0034] In some embodiments, the first charging and discharging circuit is electrically connected to a vehicle-mounted power supply; and controlling the vehicle-mounted power supply to charge the first battery or the second battery includes:
[0035] Controlling the on-off state of the first charge-discharge circuit to be updated to an on state;
[0036] If the preset multi-battery charging priority indicates that the charging priority of the first battery is greater than the charging priority of the second battery, controlling the on-off state of the second charging and discharging circuit to be updated to an off state, so as to control the on-board power supply to charge the first battery, so that the battery state of the first battery is updated to a saturated charging state;
[0037] When the battery state of the first battery is a fully charged state, the on-off state of the second charge and discharge circuit is controlled to be updated to an on state, so as to control the vehicle-mounted power supply to charge the second battery.
[0038] To achieve the above-mentioned purpose, the third aspect of the embodiments of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the second aspect is implemented.
[0039] The dual-battery charge and discharge management method and system and storage medium proposed in the present application include a portable electronic device and an electronic adapter with detachable electrical connection, specifically, the controller and the control and detection circuit are detachably electrically connected, and the first charge and discharge circuit and the second charge and discharge circuit are detachably electrically connected. The control and detection circuit is used to determine the battery state of the second battery according to the battery state of the first battery, and the second battery is used to supply power to the controller through the second charge and discharge circuit and the first charge and discharge circuit when the battery state of the second battery is in the discharge state, so that the battery state of the second battery can be adjusted based on the battery state of the first battery, realizing the charge and discharge management of the dual batteries, and extending the continuous working time of the portable electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a module block diagram of a dual-battery charge and discharge management system provided in an embodiment of the present application;
[0041] Figure 2 is a module block diagram of a dual-battery charge and discharge management system provided by another embodiment of the present application;
[0042] Figure 3 is a module block diagram of a dual-battery charge and discharge management system provided by another embodiment of the present application;
[0043] Figure 4 It is a schematic diagram of a specific implementation of a dual-battery charge and discharge management system provided in an embodiment of the present application;
[0044] Figure 5 It is a schematic diagram of the connection relationship of the dual-battery charge and discharge management system provided in an embodiment of the present application;
[0045] Figure 6 is a circuit schematic diagram of a first charge-discharge circuit and / or a second charge-discharge circuit provided in an embodiment of the present application;
[0046] Figure 7 is a flow chart of a dual-battery charge and discharge management method provided in an embodiment of the present application;
[0047] Figure 8 is a flow chart of a dual-battery charge and discharge management method provided by another embodiment of the present application;
[0048] Fig. 9 yes Figure 8 Flow chart of step 201 in;
[0049] Fig.10 It is a flowchart of an application example of the dual-battery charge and discharge management method provided in an embodiment of the present application.
[0050] Figure numerals: 100, portable electronic device; 110, controller; 111, first control chip; 112, first voltage detection circuit; 120, first charge and discharge circuit; 130, first battery; 140, first diode; 200, electronic adapter; 210, control and detection circuit; 211, second control chip; 212, second voltage detection circuit; 220, second charge and discharge circuit; 230, second battery; 240, second diode; 300, vehicle power supply. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0054] First, some nouns involved in this application are analyzed:
[0055] Mobile terminal: also called mobile communication terminal or portable electronic device, refers to a portable, miniaturized computer device that can be used on the move, usually for mobile office, entertainment, communication, etc. Mobile terminals can include mobile phones, notebooks, tablet computers, POS machines or car computers.
[0056] Tablet computer: a mobile terminal. Tablet computers have a wide range of application scenarios, including command, dispatch and support for emergency activities such as first aid, disaster relief, firefighting, flood control, data collection and analysis, training and simulation, and material management and maintenance.
[0057] The dual-battery charge and discharge management method, system, and storage medium provided in the embodiments of the present application are specifically described through the following embodiments. First, the dual-battery charge and discharge management method in the embodiments of the present application is described.
[0058] Figure 1 This is an optional module block diagram of the dual battery charge and discharge management system provided in the embodiment of the present application. The dual battery charge and discharge management system includes:
[0059] The portable electronic device 100 includes a controller 110, a first charge and discharge circuit 120 and a first battery 130; the controller 110 is electrically connected to the first charge and discharge circuit 120 and the first battery 130, and the first charge and discharge circuit 120 is electrically connected to the first battery 130;
[0060] The electronic adapter 200 includes a control and detection circuit 210, a second charge and discharge circuit 220 and a second battery 230; the control and detection circuit 210 is electrically connected to the second charge and discharge circuit 220 and the second battery 230, and the second charge and discharge circuit 220 is electrically connected to the second battery 230;
[0061] The controller 110 and the control and detection circuit 210 are detachably electrically connected, and the first charge and discharge circuit 120 and the second charge and discharge circuit 220 are detachably electrically connected;
[0062] The control and detection circuit 210 is used to determine the battery state of the second battery 230 according to the battery state of the first battery 130; the second battery 230 is used to supply power to the controller 110 through the second charge and discharge circuit 220 and the first charge and discharge circuit 120 when the battery state of the second battery 230 is in a discharge state.
[0063] The beneficial effects of the embodiments of the present application include but are not limited to: the dual-battery charge and discharge management system includes a portable electronic device 100 and an electronic adapter 200 that are detachably electrically connected, specifically, the controller 110 and the control and detection circuit 210 are detachably electrically connected, and the first charge and discharge circuit 120 and the second charge and discharge circuit 220 are detachably electrically connected. The control and detection circuit 210 is used to determine the battery state of the second battery 230 according to the battery state of the first battery 130, and the second battery 230 is used to supply power to the controller 110 through the second charge and discharge circuit 220 and the first charge and discharge circuit 120 when the battery state of the second battery 230 is in a discharge state, so that the battery state of the second battery 230 can be adjusted based on the battery state of the first battery 130, so as to realize the charge and discharge management of the dual batteries and extend the continuous working time of the portable electronic device 100.
[0064] It should be noted that the portable electronic device 100 may include a tablet computer, such as a car-mounted tablet computer. The portable electronic device 100 may also include electronic devices such as mobile phones and notebooks, which are not limited in the embodiments of the present application. The electronic adapter 200 is an electronic device compatible with the portable electronic device 100, and the electronic adapter 200 can supply power to the portable electronic device 100. For example, the electronic adapter 200 may be the base of a tablet computer.
[0065] In some embodiments, the portable electronic device 100 is a vehicle-mounted tablet computer, and the electronic adapter 200 is a base. In another embodiment, the base may also include functional modules such as a keyboard and a touch screen. In another embodiment, the dual-battery charge and discharge management system may also include multiple bases, thereby increasing the battery life of the vehicle-mounted tablet computer by increasing the number of bases.
[0066] In some embodiments, the second battery 230 is also used to charge the first battery 130 through the second charge and discharge circuit 220 and the first charge and discharge circuit 120 when the battery state of the second battery 230 is in a discharge state. It should be noted that the current portable electronic device 100 cannot use an external battery to power the main system of the tablet and charge the battery of the tablet at the same time, resulting in poor battery life of the portable electronic device 100. In view of the above problems, the embodiment of the present application uses the second battery 230 to power the main system of the tablet (that is, the controller 110), and can also charge the first battery 130 at the same time, thereby improving the battery life of the portable electronic device 100.
[0067] It should be noted that the current charge and discharge management system may need to wait until one battery is exhausted before discharging with another battery, and this discharge strategy is not flexible enough. Considering the above problems, the embodiment of the present application can switch the charge and discharge path in real time, so that the first battery 130 and the second battery 230 are charged and discharged according to the preset charge and discharge priority. For example, the charging order of the above batteries can be adjusted through charging path management.
[0068] In some embodiments, specifically, the vehicle-mounted tablet computer and the base can form a two-in-one smart tablet, that is, the above-mentioned dual-battery charge and discharge management system can be a two-in-one smart tablet. The two-in-one smart tablet is a portable, miniaturized terminal device that can meet both the vehicle-mounted use environment and the stand-alone use environment, has a certain AI (artificial intelligence) processing capability, meets the requirements of equipment vibration resistance, electromagnetic compatibility, environmental adaptability and long-term use, and has high reliability.
[0069] It should be noted that the first battery 130 may be a main battery, and the second battery 230 may be a secondary battery; the first battery 130 and / or the second battery 230 may be a lithium battery. The battery state may include a charging state and a discharging state. The battery state may also include a fully charged state, a low power state, a storage state, and the like, which are not limited in the embodiments of the present application.
[0070] It is understandable that the detachable electrical connection may refer to a plug-in connection or a cable connection, and the present application embodiment does not specifically limit this. Specifically, the detachable electrical connection includes but is not limited to antenna connection, USB interface connection, network communication connection, electrical connection, serial port connection, cable connection, etc.
[0071] See also Figure 2 , in some embodiments, the first charging and discharging circuit 120 is detachably electrically connected to the vehicle power supply 300;
[0072] The vehicle power supply 300 is used to supply power to the controller 110; the controller 110 is also used to determine that the battery state of the first battery 130 is a charging state in response to the first charging and discharging circuit 120 being electrically connected to the vehicle power supply 300; the control and detection circuit 210 is also used to determine that the on-off state of the second charging and discharging circuit 220 is a disconnected state in response to the battery state of the first battery 130 being a charging state, so as to disconnect the second battery 230 from the vehicle power supply 300.
[0073] The advantage of this embodiment is that the first charging and discharging circuit 120 can be connected to the vehicle power supply 300 to charge the first battery 130, and when charging the first battery 130, the second charging and discharging circuit 220 is controlled to be disconnected so as not to charge the second battery 230, thereby realizing charging priority control of the first battery 130 and the second battery 230.
[0074] It should be noted that, in some embodiments, Figure 2 As shown, the second charge and discharge circuit 220 is detachably electrically connected to the vehicle power supply 300. In some embodiments, specifically, the output voltage of the vehicle power supply 300 may be 12V (volts), and the power supply power may be 66W (watts). Alternatively, the vehicle power supply 300 may also be a 24V power supply.
[0075] See also Figure 3 , in some embodiments, the controller 110 includes: a first control chip 111 and a first voltage detection circuit 112;
[0076] The first control chip 111 is electrically connected to the first voltage detection circuit 112, the first battery 130 and the first charge and discharge circuit 120;
[0077] The first control chip 111 is used to detect the battery status of the first battery 130 and control the on / off status of the first charge and discharge circuit 120 to update the battery status of the first battery 130 ; the first voltage detection circuit 112 is used to detect the voltage of the first battery 130 .
[0078] The advantage of this embodiment is that the battery status of the first battery 130 is detected by the first control chip 111, and the on-off state of the first charge and discharge circuit 120 is controlled to update the battery status of the first battery 130, and the voltage of the first battery 130 is detected by the first voltage detection circuit 112, so that the charge and discharge management of the first battery 130 can be realized, and the voltage of the first battery 130 can be detected to obtain the battery status in time, thereby improving the reliability of the dual-battery charge and discharge management system.
[0079] See also Figure 3 , in some embodiments, the control and detection circuit 210 includes: a second control chip 211 and a second voltage detection circuit 212;
[0080] The second control chip 211 is electrically connected to the second voltage detection circuit 212, the second battery 230 and the second charge and discharge circuit 220;
[0081] The second control chip 211 is detachably electrically connected to the first control chip 111;
[0082] The second control chip 211 is used to obtain the battery status of the first battery 130 from the first control chip 111, and control the second charge and discharge circuit 220 to determine the battery status of the second battery 230 according to the battery status of the first battery 130; the second voltage detection circuit 212 is used to detect the voltage of the second battery 230.
[0083] The advantage of this embodiment is that the battery status of the first battery 130 is obtained from the first control chip 111 through the second control chip 211, and the second charge and discharge circuit 220 is controlled according to the battery status of the first battery 130 to determine the battery status of the second battery 230, so that the battery status of the second battery 230 can be adjusted according to the battery status of the first battery 130, thereby realizing the charge and discharge management of the dual batteries.
[0084] See also Figure 4 In some embodiments, the portable electronic device 100 further includes a first diode 140, and the electronic adapter 200 further includes a second diode 240; the first diode 140 is electrically connected to the first charge and discharge circuit 120, and the first diode 140 is detachably electrically connected to the vehicle power supply 300; the second diode 240 is electrically connected to the second charge and discharge circuit 220, and the second diode 240 is detachably electrically connected to the vehicle power supply 300. Figure 4 In the embodiment, the portable electronic device 100 is a tablet, such as a vehicle-mounted tablet computer; the electronic adapter 200 is a base. BAT1 represents the first battery 130, and BAT2 represents the second battery 230. In some embodiments, the controller 110 may be a PAD system (i.e., a tablet control system) of a vehicle-mounted tablet computer. In another embodiment, the bus I2C_1, the bus I2C_2, the bus I2C_3, and the bus I2C_4 are all serial communication buses, and the controller 110 and the control and detection circuit 210 may communicate via a universal serial bus (USB).
[0085] It should be noted that Figure 4 The red lines in the graph represent the paths used for charging and discharging, and the blue lines represent the paths used for transmitting control signals.
[0086] See also Figure 5 In some embodiments, the specific structure of the dual battery charge and discharge management system is as follows: Figure 5 As shown. The portable electronic device 100 has a POGO interface 1, the electronic adapter 200 has a POGO interface 2, and the POGO interface 1 and the POGO interface 2 are detachably electrically connected. Specifically, the POGO interface 1 is a socket, and the POGO interface 2 is a plug. It can be understood that the POGO interface refers to a probe interface. In another embodiment, the POGO interface 1 can be an interface of the first serial port communication module, and the POGO interface 2 can be an interface of the second serial port communication module. In another embodiment, the first control chip 111 is a CPU, and the second control chip 211 is an MCU.
[0087] See also Figure 5In one application example, the base and the tablet can be connected to each other through the POGO interface 1 and the POGO interface 2. The base reads the voltage of the controller 110 through the second voltage detection circuit 212 to know whether the base is connected to the tablet. The tablet reads a default level through the first voltage detection circuit 112. When the tablet and the base are connected, the default level is a low level; when the tablet and the base are not connected, the default level is a high level. The second control chip 211 of the base controls the second charge and discharge circuit 220 through the bus I 2C_1, and communicates with the second battery 230 through the bus I 2C_2 to read the battery status of the second battery 230. The first control chip 111 of the tablet controls the first charge and discharge circuit 120 through the bus I 2C_3, and communicates with the first battery 130 through the bus I 2C_4 to read the battery status of the first battery 130. When the first battery 130 is in a saturated state, the first charge and discharge circuit 120 will feed back a charging completion signal to the second control chip 211.
[0088] In some embodiments, the first charge and discharge circuit 120 includes a first charge and discharge control chip (not shown in the figure), and the second charge and discharge circuit 220 includes a second charge and discharge control chip (not shown in the figure);
[0089] The first charge and discharge control chip is detachably electrically connected to the vehicle power supply 300;
[0090] The first charge and discharge control chip is used for performing input overvoltage protection according to the input voltage of the vehicle power supply 300 and performing input overcurrent protection according to the input current of the vehicle power supply 300 in response to being electrically connected to the vehicle power supply 300;
[0091] The second charge and discharge control chip is used to perform battery overvoltage protection according to the voltage of the second battery 230 , and to perform battery overcurrent protection according to the current of the second battery 230 .
[0092] The advantage of this embodiment is that the first charge and discharge control chip performs input overvoltage protection according to the input voltage of the vehicle power supply 300, and performs input overcurrent protection according to the input current of the vehicle power supply 300; and the second charge and discharge control chip performs battery overvoltage protection according to the voltage of the second battery 230, and performs battery overcurrent protection according to the current of the second battery 230, thereby improving the safety and reliability of the dual-battery charge and discharge management system.
[0093] In some embodiments, both the first charge and discharge control chip and the second charge and discharge control chip have protection functions. For example, both the first charge and discharge control chip and the second charge and discharge control chip have 14 protection functions, including: input over- and under-voltage protection, input over-current protection, output over-voltage protection, output over-current protection, output short-circuit protection, battery over-voltage protection, battery discharge over-current protection, cycle over-current protection, chip overheat protection, etc. The embodiment of the present application can effectively reduce the risk of circuit damage caused by misoperation of the dual-battery charge and discharge management system during application, improve the stability of the first charge and discharge control chip and the second charge and discharge control chip, thereby improving the safety and reliability of the system.
[0094] Specifically, the first charge and discharge control chip and / or the second charge and discharge control chip may be a SC8886 chip.
[0095] See also Figure 6 In some embodiments, the first charge and discharge control chip and the second charge and discharge control chip are both SC8886 chips, and the circuit diagram of the first charge and discharge circuit 120 (or the second charge and discharge circuit 220) is as shown in FIG. Figure 6 Among them, interface P1, interface P2, interface P3, interface P4, interface P5, and interface P6 can be interfaces set according to requirements, and the embodiment of the present application does not limit this.
[0096] It should be noted that the SC8886 chip is a Buck-Boost (boost and buck) charging control chip with the function of NVDC (narrow voltage DC charging, Narrow Voltage DC, referred to as NVDC) path management. For example, the BATFET module of the SC8886 chip can manage the PAD system power supply of the tablet separately from the charging and discharging of the battery, and can manage the charging and discharging of 1 to 4 batteries. It can be understood that BATFET is a circuit element used to isolate the system voltage and the battery voltage. The functions of the SC8886 chip include but are not limited to: no need to wait for the battery to be activated when the battery voltage is low, and plug and play can be achieved; it can reduce the number of battery charge and discharge cycles and effectively improve the battery life of the battery; realize dynamic power management and give priority to ensuring the output power of the tablet system; it has a two-level peak current limiting protection function; it has a system minimum operating voltage active protection (Vmin Active Protection, VAP) function, which can monitor the system voltage of the tablet in real time, and provide power in time when the system voltage is too low to avoid problems such as black screen; it has the above-mentioned 14 protection functions; it reduces the loss of the Buck-Boost converter path and improves the battery charging efficiency, etc. It can be seen that the SC8886 chip has a wide range of applications and improves the reliability of the first charge and discharge circuit 120 and the second charge and discharge circuit 220 .
[0097] In some embodiments, the portable electronic device 100 further includes: a first serial port communication module (not shown in the figure); the electronic adapter 200 further includes: a second serial port communication module (not shown in the figure);
[0098] The first serial port communication module is electrically connected to the controller 110, and the second serial port communication module is electrically connected to the control and detection circuit 210;
[0099] Wherein, the first serial port communication module and the second serial port communication module are detachably electrically connected.
[0100] The advantage of this embodiment is that a detachable electrical connection between the portable electronic device 100 and the electronic adapter 200 is achieved through the first serial port communication module and the second serial port communication module, thereby improving the diversity of connection methods of the dual-battery charge and discharge management system and being able to implement dual-battery charge and discharge management when the portable electronic device 100 and the electronic adapter 200 are connected.
[0101] See also Figure 7 , Figure 7 is an optional flow chart of the dual battery charge and discharge management method provided in the embodiment of the present application. Figure 7 The method may include but is not limited to steps 101 to 103.
[0102] Step 101, obtaining a battery status of a first battery;
[0103] Step 102, determining a battery state of a second battery according to a battery state of a first battery;
[0104] Step 103, when the battery state of the second battery is a discharge state, control the second battery to supply power to the controller through the second charge and discharge circuit and the first charge and discharge circuit.
[0105] The beneficial effects of the embodiments of the present application include but are not limited to: obtaining the battery status of the first battery, determining the battery status of the second battery according to the battery status of the first battery, and when the battery status of the second battery is in a discharging state, controlling the second battery to supply power to the controller through the second charging and discharging circuit and the first charging and discharging circuit, thereby being able to adjust the battery status of the second battery based on the battery status of the first battery, realizing dual battery charging and discharging management, and extending the continuous working time of the portable electronic device.
[0106] In step 101 of some embodiments, the controller of the portable electronic device may detect the state of the first battery to obtain the battery state (such as charging state or discharging state) of the first battery. The battery state of the first battery may also be obtained in other ways, not limited thereto.
[0107] In step 102 of some embodiments, the battery state of the second battery is determined according to the battery state of the first battery, which may specifically include: if the first battery is in a charging state, the battery state of the second battery is updated to a battery state other than the charging state, so that the first battery is charged first. If the first battery is in a saturated state, it means that the first battery is fully charged, and the battery state of the second battery can be updated to a charging state. The embodiment of the present application can manage the charging priority of dual batteries (first battery and second battery). It can be understood that the charging priority can be set and updated according to demand, such as setting it to give priority to charging the second battery, which is not limited in the embodiment of the present application.
[0108] In step 103 of some embodiments, when the second battery is in a discharging state, the current output by the second battery flows to the first charging and discharging circuit through the second charging and discharging circuit, and then flows to the controller, thereby powering the controller with the second battery, thereby achieving discharge path management of the second battery.
[0109] See also Figure 8 In some embodiments, the first charging and discharging circuit is detachably electrically connected to the vehicle power supply, and the second charging and discharging circuit is detachably electrically connected to the vehicle power supply; after step 102, the dual battery charging and discharging management method may also include but is not limited to steps 201 to 203:
[0110] Step 201, controlling the vehicle power supply to charge the first battery or the second battery, and controlling the vehicle power supply to supply power to the controller;
[0111] Step 202, when the first battery is not in a charging state and the second battery is not in a charging state, controlling the second battery to supply power to the controller;
[0112] Step 203, when the first battery is not in a charging state and the second battery is not in a charging state, and the voltage of the second battery is less than a preset voltage threshold, control the first battery to supply power to the controller.
[0113] The advantage of this embodiment is that when the first charging and discharging circuit or the second charging and discharging circuit is connected to the vehicle power supply, the vehicle power supply is controlled to supply power to the controller, and the vehicle power supply is controlled to charge the first battery or the second battery. When the first battery is not in a charging state and the second battery is not in a charging state, the second battery is preferentially controlled to supply power to the controller, and if the voltage of the second battery is less than a preset voltage threshold, the first battery is controlled to supply power to the controller.
[0114] In step 201 of some embodiments, the vehicle power supply supplies power to the controller, and when the vehicle power supply has excess power, the first battery or the second battery can be charged according to the charging priority. The charging priority can be to charge the first battery first, or to charge the second battery first. The charging priority can be set and adjusted according to demand, or can be set by other means, without limitation.
[0115] In step 202 of some embodiments, it should be noted that the first battery is not in a charging state and the second battery is not in a charging state, which may specifically include the case where the vehicle power supply is not connected to the first charging and discharging circuit, or the vehicle power supply is not connected to the second charging and discharging circuit. For example, the first charging and discharging circuit of the portable electronic device is electrically disconnected from the vehicle power supply. For another example, when the portable electronic device is connected to an electronic adapter, the second charging and discharging circuit of the electronic adapter is electrically disconnected from the vehicle power supply.
[0116] In step 203 of some embodiments, it should be noted that if the voltage of the second battery is less than the preset voltage threshold, it means that the voltage of the second battery is too low to supply power to the controller alone. In this case, the first battery is updated to a discharge state, and the first battery is controlled to supply power to the controller. In one embodiment, the first battery and the second battery can be controlled to supply power to the controller at the same time.
[0117] See also Fig. 9 In some embodiments, the first charging and discharging circuit is electrically connected to the vehicle power supply; step 201 of controlling the vehicle power supply to charge the first battery or the second battery may include but is not limited to steps 301 to 303:
[0118] Step 301, controlling the on-off state of the first charge-discharge circuit to be updated to the on state;
[0119] Step 302, if the preset multi-battery charging priority indicates that the charging priority of the first battery is greater than the charging priority of the second battery, the on-off state of the second charging and discharging circuit is controlled to be updated to the off state, so as to control the vehicle power supply to charge the first battery, so that the battery state of the first battery is updated to the saturated charging state;
[0120] Step 303, when the battery state of the first battery is in a saturated charge state, the on-off state of the second charge and discharge circuit is controlled to be updated to an on state, so as to control the vehicle power supply to charge the second battery.
[0121] The advantage of this embodiment is that the vehicle power supply is controlled to charge the first battery or the second battery according to the charging priority of multiple batteries, and the charging sequence of the first battery and the second battery can be flexibly adjusted according to the charging priority of multiple batteries, thereby realizing the charging path management of the first battery or the second battery.
[0122] In step 301 of some embodiments, the on / off state of the first charge and discharge circuit may be any one of an on state and an off state.
[0123] In step 302 of some embodiments, the multi-battery charging priority can be set or updated according to demand, which is not limited in the embodiments of the present application.
[0124] In step 303 of some embodiments, the battery state is a fully charged state, which may mean that the power of the first battery (or the second battery) is greater than or equal to a preset battery power threshold. It should be noted that the battery power threshold may be adjusted dynamically, or different battery power thresholds may be set for the first battery and the second battery, respectively, so as to achieve charging priority setting for the first battery and the second battery.
[0125] In some embodiments, the first charge and discharge circuit includes a first charge and discharge control chip, the second charge and discharge circuit includes a second charge and discharge control chip, and the first charge and discharge control chip and the second charge and discharge control chip are both SC8886 chips. The SC8886 chip can run NVDC (Narrow Voltage DC Charging, Narrow Voltage DC, referred to as NVDC) software to perform initialization. The specific method of initialization includes but is not limited to: (1) After configuring the number of battery cells and inductance data, the power bus interface (VBUS) of the SC8886 chip is powered on, and all of the above configuration data is read from the register; (2) configuring the watchdog monitoring program; (3) configuring the input voltage limiting data; wherein the input voltage limiting data can represent the maximum or minimum value of the input voltage that the chip can withstand; (4) configuring the input current limiting data; wherein the input current limiting data can represent the maximum or minimum value of the input current that the chip can withstand; (5) configuring the charging voltage; (6) configuring the system minimum operating voltage; (7) configuring the charging current.
[0126] See also Figure 4 and Fig.10 In one application example, the tablet and the base are first initialized. If the tablet or the base is connected to a vehicle power supply, that is, in a vehicle environment, if the vehicle power supply is connected to the tablet, the vehicle power supply can be used to pass through the first diode (such as Figure 4 ) and the first charge and discharge circuit directly supply power to the PAD system (tablet system) in the controller; the input voltage is detected by the PAD system, and the voltage of the first battery is detected at the same time to determine the battery status of the first battery. If the first battery is not in a fully charged state, the charging procedure of the first battery is started. If the vehicle power supply is connected to the base, and the base is spliced with the tablet, the power socket of the tablet is turned off. The vehicle power supply passes through the second diode (as shown in FIG. Figure 4The first charging and discharging circuit and the second charging and discharging circuit are powered (as shown). The voltage of the vehicle power supply and the voltage of the second battery are detected through the control and detection circuit of the base, and the working state of the first charging and discharging circuit of the tablet is queried at the same time to obtain the battery state of the first battery. If the first battery needs to be charged, the second charging and discharging circuit is controlled to be disconnected, and the vehicle power supply first supplies power to the PAD system through the second diode and the first charging and discharging circuit. The excess power of the vehicle power supply is used to charge the first battery first, so that the charging of the first battery is completed. When the first battery is in a saturated state, the second charging and discharging circuit will automatically charge the second battery of the base, so that the charging of the second battery is completed. When the second battery is in a saturated state, the second charging and discharging circuit sends a charging completion signal to the control and detection circuit.
[0127] In addition, when neither the tablet nor the base is connected to the vehicle power supply, that is, in a stand-alone use environment, it is determined whether the tablet is connected to the base. When the tablet is not connected to the base, the first battery can be discharged through the first charge and discharge circuit to power the PAD system. When the tablet is connected to the base, the second battery is discharged to the first charge and discharge circuit through the second charge and discharge circuit and the cathode of the second diode. The first charge and discharge circuit uses the discharge voltage of the second charge and discharge circuit as the input voltage. The first charge and discharge circuit powers the PAD system, and the excess power of the second battery charges the first battery. If the power of the second battery is insufficient to power the PAD system, the first battery will stop charging and start discharging. At this time, the first battery and the second battery are discharged together to power the PAD system. As the discharge of the second battery is completed, the first battery will continue to power the PAD system until the voltage provided by the first battery drops to the minimum voltage required by the PAD system, and the PAD system of the tablet is shut down.
[0128] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the dual-battery charge and discharge management method described above is implemented.
[0129] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0130] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0131] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0132] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0133] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0134] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0135] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0136] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0137] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0138] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0139] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0140] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A dual battery charge and discharge management system, characterized in that: The system comprises: A portable electronic device, comprising a controller, a first charge and discharge circuit and a first battery; the controller is electrically connected to the first charge and discharge circuit and the first battery, and the first charge and discharge circuit is electrically connected to the first battery; An electronic adapter, the electronic adapter comprising a control and detection circuit, a second charge and discharge circuit and a second battery; the control and detection circuit is electrically connected to the second charge and discharge circuit and the second battery, and the second charge and discharge circuit is electrically connected to the second battery; Wherein, the controller is detachably electrically connected to the control and detection circuit, and the first charge and discharge circuit is detachably electrically connected to the second charge and discharge circuit; The control and detection circuit is used to determine the battery state of the second battery according to the battery state of the first battery; the second battery is used to supply power to the controller through the second charge and discharge circuit and the first charge and discharge circuit when the battery state of the second battery is a discharge state.
2. The dual battery charge and discharge management system according to claim 1, characterized in that: The first charging and discharging circuit is detachably electrically connected to the vehicle power supply; The vehicle-mounted power supply is used to power the controller; the controller is also used to determine that the battery state of the first battery is a charging state in response to the first charging and discharging circuit being electrically connected to the vehicle-mounted power supply; the control and detection circuit is also used to determine the on-off state of the second charging and discharging circuit as a disconnected state in response to the battery state of the first battery being a charging state, so as to disconnect the second battery from the vehicle-mounted power supply.
3. The dual battery charge and discharge management system according to claim 1, characterized in that: The controller comprises: a first control chip and a first voltage detection circuit; The first control chip is electrically connected to the first voltage detection circuit, the first battery and the first charge and discharge circuit; The first control chip is used to detect the battery status of the first battery and control the on-off state of the first charge and discharge circuit to update the battery status of the first battery; the first voltage detection circuit is used to detect the voltage of the first battery.
4. The dual battery charge and discharge management system according to claim 3, characterized in that: The control and detection circuit includes: a second control chip and a second voltage detection circuit; The second control chip is electrically connected to the second voltage detection circuit, the second battery and the second charge and discharge circuit; Wherein, the second control chip is detachably electrically connected to the first control chip; The second control chip is used to obtain the battery status of the first battery from the first control chip, and control the second charge and discharge circuit to determine the battery status of the second battery according to the battery status of the first battery; the second voltage detection circuit is used to detect the voltage of the second battery.
5. The dual battery charge and discharge management system according to claim 1, characterized in that: The first charge and discharge circuit includes a first charge and discharge control chip, and the second charge and discharge circuit includes a second charge and discharge control chip; Wherein, the first charge and discharge control chip is detachably electrically connected to the vehicle power supply; The first charge and discharge control chip is used to respond to being electrically connected to the vehicle power supply, perform input overvoltage protection according to the input voltage of the vehicle power supply, and perform input overcurrent protection according to the input current of the vehicle power supply; The second charge and discharge control chip is used to perform battery overvoltage protection according to the voltage of the second battery, and to perform battery overcurrent protection according to the current of the second battery.
6. The dual battery charge and discharge management system according to claim 1, characterized in that: The portable electronic device further comprises: a first serial port communication module; the electronic adapter further comprises: a second serial port communication module; The first serial port communication module is electrically connected to the controller, and the second serial port communication module is electrically connected to the control and detection circuit; Wherein, the first serial port communication module and the second serial port communication module are detachably electrically connected.
7. A dual battery charge and discharge management method, characterized in that: The method is applied to the dual-battery charge and discharge management system according to any one of claims 1 to 6, and the method comprises: obtaining a battery status of a first battery; determining a battery state of a second battery according to the battery state of the first battery; When the battery state of the second battery is a discharge state, the second battery is controlled to supply power to the controller through the second charge and discharge circuit and the first charge and discharge circuit.
8. The dual battery charge and discharge management method according to claim 7, characterized in that: The first charging and discharging circuit is detachably electrically connected to the vehicle power supply, and the second charging and discharging circuit is detachably electrically connected to the vehicle power supply; After determining the battery state of the second battery according to the battery state of the first battery, the method further includes: Controlling the vehicle-mounted power supply to charge the first battery or the second battery, and controlling the vehicle-mounted power supply to supply power to the controller; When the first battery is not in a charging state and the second battery is not in a charging state, controlling the second battery to supply power to the controller; When the first battery is not in a charging state and the second battery is not in a charging state, and when the voltage of the second battery is less than a preset voltage threshold, the first battery is controlled to supply power to the controller.
9. The dual battery charge and discharge management method according to claim 8, characterized in that: The first charging and discharging circuit is electrically connected to the vehicle power supply; and controlling the vehicle power supply to charge the first battery or the second battery includes: Controlling the on-off state of the first charge-discharge circuit to be updated to an on state; If the preset multi-battery charging priority indicates that the charging priority of the first battery is greater than the charging priority of the second battery, controlling the on-off state of the second charging and discharging circuit to be updated to an off state, so as to control the on-board power supply to charge the first battery, so that the battery state of the first battery is updated to a saturated charging state; When the battery state of the first battery is a fully charged state, the on-off state of the second charge and discharge circuit is controlled to be updated to an on state, so as to control the vehicle-mounted power supply to charge the second battery.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the dual-battery charge and discharge management method according to any one of claims 7 to 9 is implemented.