Battery power management system and battery power supply system
By introducing an electronic switch circuit into the battery power management system to detect the mechanical switch status and disconnect the power supply, the problem of irreversible battery damage in the battery power supply system with Lock on function is solved, and the safety protection of the battery and the effective management of power are achieved.
Patent Information
- Application Number
- CN202010451853.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-05-22
AI Technical Summary
In the existing battery power supply system, the mechanical switch with Lock on function causes the circuit to continue to work when the battery is over-temperature, over-current or under-voltage protection, causing irreversible damage to the battery.
A battery power management system is designed, which includes a mechanical switch, MCU and electronic switch circuit. By detecting the status of the mechanical switch, the power is disconnected after a preset time and only a large resistance resistor is kept on, which significantly reduces current consumption.
It effectively prevents the battery from being drained, extends battery life, ensures battery safety, negligible power consumption, and avoids irreversible damage.
Smart Images

Figure CN111509318B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery power supply circuits, and in particular to a battery power management system and a battery power supply system. Background Art
[0002] Some categories of battery-powered power tools have a mechanical power switch with a Lock on function (after the switch is closed, the switch is locked even if the hand releases it), which can keep the power switch closed during the operation of the tool for easy operation. After the battery over-temperature protection, battery over-current protection or battery under-voltage protection occurs, although the power tool stops working under the intervention of the protection circuit, the Lock on switch structure makes the switch always closed and will not be automatically disconnected. At this time, there are circuits such as DC / DC (direct current / direct current) conversion circuit, MCU (microcontroller unit) program running, battery voltage AD (analog / digital) sampling circuit, etc. in the circuit, with a total current loss of more than 10mA (milliamperes). If the battery still has 500mAh (milliampere-hours) of capacity at this time, the battery will be discharged in 50 hours. If the battery continues to discharge, the battery voltage will drop below the safe voltage of 2.5V, causing irreversible damage to the battery. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the defects in the prior art that the battery may be discharged and cause irreversible damage to the battery, and to provide a battery power management system and a battery power supply system.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] The present invention provides a battery power management system, which is used to control the power supply of a power-consuming terminal powered by a battery. The battery power management system includes a mechanical switch, an MCU and a first battery control module;
[0006] One end of the mechanical switch is electrically connected to the battery, and the other end of the mechanical switch is electrically connected to the power terminal and the first battery control module; when the mechanical switch is closed, the power terminal is started and the battery is electrically connected to the first battery control module;
[0007] The first battery control module is electrically connected to the power pin and the first output pin of the MCU; the MCU is electrically connected to the power terminal, and is used to start the power terminal or perform protection shutdown;
[0008] The first battery control module includes a first electronic switch circuit, a second electronic switch circuit and a first resistor, wherein an input end of the first electronic switch circuit and one end of the first resistor are electrically connected to the other end of the mechanical switch, the other end of the first resistor is grounded, and an output end of the first electronic switch circuit is electrically connected to a power pin of the MCU; the second electronic switch circuit is electrically connected to a first output pin of the MCU, and the second electronic switch circuit is electrically connected to the first electronic switch circuit;
[0009] When the power terminal protection shutdown lasts for a first preset time and the MCU detects that the mechanical switch is still in a closed state, the MCU controls the first output pin to output a valid level to turn on the second electronic switch circuit, and the control end of the second electronic switch circuit outputs a control signal to turn off the first electronic switch circuit, so that only the first resistor of the power management system is turned on.
[0010] Preferably, the first electronic switch circuit comprises a voltage reference chip, a first triode, a second triode, a first diode, a second diode, a first capacitor, a second resistor, a third resistor, a fourth resistor and a fifth resistor;
[0011] The other end of the mechanical switch is electrically connected to the cathode of the first diode, the anode of the second diode and the emitter of the first transistor, the anode of the first diode is electrically connected to the base of the second transistor, the cathode of the second diode is electrically connected to one end of the second resistor, the collector of the first transistor and one end of the fifth resistor are electrically connected to the power pin of the MCU, the base of the first transistor is electrically connected to one end of the fourth resistor, and the other end of the fourth resistor is electrically connected to the cathode of the voltage reference chip;
[0012] The emitter of the second transistor is electrically connected to the other end of the second resistor and the positive electrode of the first capacitor, the collector of the second transistor is electrically connected to the negative electrode of the first capacitor, one end of the third resistor, the other end of the fifth resistor and the reference voltage end of the voltage reference chip, and is electrically connected to the control end of the second switching circuit, and the anode of the voltage reference chip is grounded.
[0013] Preferably, the second electronic switch circuit comprises a third transistor;
[0014] The base of the third transistor is electrically connected to the first output pin of the MCU, the emitter of the third transistor is grounded, and the collector of the third transistor is electrically connected to the first electronic switch circuit as a control end of the second electronic switch circuit.
[0015] Preferably, the power management system of the battery further includes a second battery control module, which is electrically connected to the battery, the first input pin of the MCU, the second output pin of the MCU, the power pin of the MCU, and the power-consuming component in the power-consuming terminal that needs to be shut down with a delay;
[0016] When the mechanical switch is disconnected, the second battery control module continues to supply power to the MCU and the electrical components that need to be delayed in shutting down through the battery, the first input pin outputs a valid level to the MCU, the MCU starts the braking action of the power terminal, and after extending the second preset time, the MCU outputs a valid level to the second output pin, so that the second battery control module stops supplying power.
[0017] Preferably, the second battery control module includes a fourth transistor, a fifth transistor, a sixth transistor, a third diode, a sixth resistor and a seventh resistor;
[0018] The emitter of the fourth triode is electrically connected to the positive electrode of the battery, the base of the fourth triode is electrically connected to one end of the sixth resistor, the other end of the sixth resistor is electrically connected to the collector of the fifth triode, the base of the fifth triode is electrically connected to the second output pin of the MCU, and the emitter of the fifth triode is grounded;
[0019] The collector of the fourth transistor is electrically connected to the cathode of the third diode, and is electrically connected to the power pin of the MCU and the electrical component that needs to be delayed shut down; the anode of the third diode is electrically connected to the base of the sixth transistor, and is electrically connected to the collector of the first transistor in the first battery control module and one end of the third resistor, the collector of the sixth transistor is electrically connected to one end of the seventh resistor, the other end of the seventh resistor is electrically connected to the power supply, and the emitter of the sixth transistor is grounded.
[0020] Preferably, the resistance of the first resistor is 500k ohms to 5M ohms.
[0021] Preferably, the battery power management system also includes a battery voltage detection circuit, a current sampling and amplifying circuit, and a battery temperature acquisition circuit. The MCU is electrically connected to the battery voltage detection circuit, the current sampling and amplifying circuit, and the battery temperature acquisition circuit, respectively, to achieve battery undervoltage protection shutdown, battery overcurrent protection shutdown, and battery overtemperature protection shutdown.
[0022] Preferably, a DC / DC step-down circuit is further provided between the second battery control module and the power pin of the MCU.
[0023] The present invention also provides a battery power supply system, which includes a battery and a power management system of the battery mentioned above, wherein the battery is electrically connected to the power management system and a power terminal, and supplies power to the power terminal under the control of the power management system.
[0024] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present invention.
[0025] The positive progressive effect of the present invention is that: by adding an electronic switch circuit, after a period of time after the battery protection shutdown occurs, when it is detected that the mechanical switch is still not disconnected, the MCU outputs a valid level and shuts off the power of all circuits in the system, so that only a large resistance is turned on in the system, and only uA (microampere) level current is generated, ensuring that the system power consumption is negligible when the mechanical switch is in the closed state, and can ensure that the battery will not be discharged and damaged, thereby effectively protecting the battery safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 This is a schematic diagram of the circuit structure of the power management system according to Embodiment 1 of the present invention.
[0027] Figure 2 This is a schematic diagram of the circuit structure of the first switch circuit of the power management system according to Embodiment 2 of the present invention.
[0028] Figure 3 This is a schematic diagram of the circuit structure of the second switch circuit of the power management system according to Embodiment 2 of the present invention.
[0029] Figure 4 This is a schematic diagram of the circuit structure of the power management system according to Embodiment 3 of the present invention.
[0030] Figure 5 This is a schematic diagram of the circuit structure of the power management system according to Embodiment 4 of the present invention.
[0031] Figure 6 This is a diagram showing voltage changes at the collector and emitter of the first transistor of the power management system of embodiment 4 of the present invention when the switch is turned off.
[0032] Figure 7 This is a schematic diagram of the circuit structure of the power management system according to Embodiment 5 of the present invention.
[0033] Figure 8 This is a schematic diagram of the circuit structure of the battery power supply system of Example 6 of the present invention. DETAILED DESCRIPTION
[0034] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0035] Example 1
[0036] This embodiment provides a battery power management system for controlling the power supply of a battery-powered power terminal. Figure 1 As shown, the power management system of the battery includes a mechanical switch 1, a first battery control module 2 and an MCU 3.
[0037] One end of the mechanical switch 1 is electrically connected to the battery, and the other end of the mechanical switch 1 is electrically connected to the power terminal and the first battery control module 2. When the mechanical switch 1 is closed, the power terminal is activated and the battery is electrically connected to the first battery control module 2.
[0038] The first battery control module 2 is electrically connected to the power pin and the first output pin of the MCU3; the MCU3 is electrically connected to the power terminal, and is used to start the power terminal or protect the power terminal. The battery is generally provided with battery undervoltage protection, battery overcurrent protection and battery overtemperature protection. When the battery is undervoltage, overcurrent or overtemperature, the power terminal needs to stop working to protect the battery.
[0039] The first battery control module 2 includes a first electronic switch circuit 21, a second electronic switch circuit 22 and a first resistor R1, the input end of the first electronic switch circuit 21 and one end of the first resistor R1 are electrically connected to the other end of the mechanical switch 1, the other end of the first resistor R1 is grounded, the output end of the first electronic switch circuit 21 is electrically connected to the power pin of the MCU3; the second electronic switch circuit 22 is electrically connected to the first output pin of the MCU3, and the second electronic switch circuit 22 is electrically connected to the first electronic switch circuit 21 through the control end;
[0040] When the power terminal protection shutdown lasts for a first preset time (such as 15 seconds) and MCU3 detects that the mechanical switch 1 is still in a closed state, MCU3 controls the first output pin to output a valid level to turn on the second electronic switch circuit 22, and the second electronic switch circuit 22 outputs a control signal through the control end to turn off the first electronic switch circuit 21, and at this time the power pin of MCU3 is also powered off, so that MCU3 stops working due to the lack of control power (commonly known as suicide), so that only the first resistor R1 is turned on in the entire power management system.
[0041] The resistance of the first resistor R1 is large enough, generally 500K (kilo) ohms to 5M (mega) ohms. For example, if the value is 3M ohms, then even if the battery is in a fully charged state at 20V, the current consumption is only 6.7uA. Assuming that the battery capacity is 500mAh and the voltage is 18V, the first resistor R1 is calculated according to the discharge current of 6uA (in fact, as the battery voltage decreases, the discharge current of the first resistor R1 will decrease and the discharge time will be longer). It takes 83333 hours (9.5 years) to discharge the battery. Even if the battery has only 100mAh remaining, it takes 1.9 years to discharge it. Therefore, this discharge can be ignored and will not cause damage to the battery.
[0042] In this embodiment, by adding a second electronic switch circuit, when it is detected that the mechanical switch is still not disconnected after a period of time due to battery protection shutdown, the MCU outputs a valid level and cuts off the power supply of all circuits in the system, so that only one large-value resistor is turned on in the system and only uA-level current is generated. This ensures that the power consumption of the system is negligible when the mechanical switch is in a closed state, and the battery will not be discharged and damaged, thereby effectively protecting the battery safety.
[0043] Example 2
[0044] This embodiment implements the first electronic switch circuit 21 and the second electronic switch circuit 22 in detail on the basis of the embodiment 1.
[0045] like Figure 2 As shown, the first electronic switch circuit 21 includes a voltage reference chip Z1, a first transistor Q1, a second transistor Q2, a first diode D1, a second diode D2, a first capacitor C1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a fifth resistor R5.
[0046] The other end of the mechanical switch 1 is electrically connected to the cathode of the first diode D1, the anode of the second diode D2 and the emitter of the first transistor Q1, the anode of the first diode D1 is electrically connected to the base of the second transistor Q2, the cathode of the second diode D2 is electrically connected to one end of the second resistor R2, the collector of the first transistor Q1, one end of the fifth resistor R5 are electrically connected to the power pin of the MCU3, the base of the first transistor Q1 is electrically connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is electrically connected to the cathode of the voltage reference chip Z1. The fourth resistor R4 is a current limiting resistor of the base of the first transistor Q1 to prevent the transistor from being burned out.
[0047] The emitter of the second transistor Q2 is electrically connected to the other end of the second resistor R2 and the positive electrode of the first capacitor C1, the collector of the second transistor Q2 is electrically connected to the negative electrode of the first capacitor C1, one end of the third resistor R3, the other end of the fifth resistor R5 and the reference voltage terminal REF of the voltage reference chip Z1, and is electrically connected to the control end of the second electronic switch circuit 22, and the anode of the voltage reference chip Z1 is grounded.
[0048] When the mechanical switch 1 is closed, the contacts I and II, III and IV of the mechanical switch 1 are closed respectively, the contacts II and IV are connected by wires outside the mechanical switch 1, and the contact III of the mechanical switch 1 is led to the first electronic switch circuit 21 in the first battery control module 2, so that the battery voltage passes through the second diode D2->the second resistor R2->the first capacitor C1->the third resistor R3->GND (ground), and the first capacitor C1 is charged. Since the first capacitor C1 has no charge at the beginning, the charging moment of the first capacitor C1 is equivalent to the short circuit between the first capacitor C1, and the voltage of the reference voltage terminal REF of the voltage reference chip Z1 is zero.
[0049] The prerequisite for the conduction of the first transistor Q1 is that the anode and cathode of the voltage reference chip Z1 must be conducted, and the condition for the conduction of the anode and cathode of the voltage reference chip Z1 is that the voltage of the reference voltage terminal REF of the voltage reference chip Z1 must be greater than or equal to 2.5V. When the voltage of the reference voltage terminal REF is less than 2.5V, the anode and cathode of the voltage reference chip Z1 will be disconnected immediately, and the first transistor Q1 will also be disconnected immediately.
[0050] Assume the battery voltage is V bat , the second resistor R2 = 200K, the third resistor R3 = 100K, then the voltage V of the reference voltage terminal REF of the voltage reference chip Z1 ref The condition for >=2.5V is: (V bat -D2 voltage drop 0.6V)*R3 / (R2+R3)>=2.5V, that is (V bat -0.6V) / 3>=2.5V, that is, V bat >=8.1V, that is, when the battery voltage V bat >=8.1V, the voltage reference chip Z1 will be turned on at the moment the mechanical switch 1 is powered on, so that the first transistor Q1 is turned on. After the first transistor Q1 is turned on, the power pin of the MCU3 connected to the collector of the first transistor Q1 is powered, and the MCU3 starts to work. At this time, the voltage of the reference voltage terminal REF of the voltage reference chip Z1 can be ensured to be stable above 2.5V through the voltage division of the fifth resistor R5 and the third resistor R3, so that the conduction of the first transistor Q1 is locked. In the above process, since the first capacitor C1 is continuously charged, the charging current will drop to zero, and the first capacitor C1 is fully charged at this time.
[0051] like Figure 3 As shown, the second electronic switch circuit 22 includes a third transistor Q3. The base of the third transistor Q3 is electrically connected to the first output pin of the MCU3, the emitter of the third transistor Q3 is grounded, and the collector of the third transistor Q3 is electrically connected to the first electronic switch circuit 21 as the control terminal of the second electronic switch circuit 22.
[0052] When the controller MCU3 detects battery undervoltage, battery overcurrent, battery overtemperature and other protections, MCU3 will brake the motor, which can prevent the battery from discharging with large currents. However, at this time, there are still losses in the DC / DC conversion circuit, current sampling and amplification circuit, battery voltage AD conversion circuit, MCU peripheral circuits and MCU program operation, totaling nearly 10 mA. If the user does not disconnect the switch, this loss will continue to exist. If the battery has 500 mAh of capacity left, the battery will be empty after 50 hours. If the battery continues to discharge, the voltage of the lithium battery cell will drop to a safe voltage below 2.5V, resulting in irreversible damage to the battery.
[0053] In order to avoid such consequences, a second switch circuit including a third transistor Q3 is added. When the protection shutdown occurs and the first preset time (such as 15 seconds) has passed, the MCU3 detects that the mechanical switch 1 has not been disconnected, then the MCU3 sets the first output pin to a high level, the third transistor Q3 is turned on, and the voltage reference electrode REF of the voltage reference chip Z1 is pulled to GND at the moment of the conduction, the voltage reference chip Z1 is disconnected, and thus the first transistor Q1 is disconnected. At this time, although the emitter of the first transistor Q1 is connected to the battery through the mechanical switch 1, the first capacitor C1 is in a fully charged state, which is equivalent to an open circuit state. Therefore, even if the first output pin of the MCU3 is in a low level state or a high impedance state, the voltage reference chip Z1 will not be turned on, and thus the first transistor Q1 will not be turned on, and the first electronic switch circuit 21 is cut off, so that the power pin of the MCU3 connected to the collector of the first transistor Q1 is powered off, so that the MCU3 loses the control power supply and stops working, so that only the first resistor R1 in the power management system is turned on. That is, only the first resistor R1 of the whole system is in the power consumption state. The typical value of the first resistor R1 is 3 megohms. At this time, even if the battery is in the 20V fully charged state, the current consumption is only 6.7uA. Assuming that the battery capacity is 500mAh and the voltage is 18V, the first resistor R1 is calculated according to the discharge current of 6uA (as the battery voltage decreases, the discharge current of the first resistor R1 will also decrease). It takes 83333 hours (9.5 years) to empty the battery. Even if the battery has only 100mAh remaining, it takes 1.9 years to empty it, so this discharge can be ignored. Of course, the resistance of the first resistor R1 cannot be cancelled, nor can it be too large, because it is necessary for the discharge of the first capacitor C1. If the resistance is too large, the second transistor Q2 is in a weak conduction state, and the first capacitor C1 discharges very slowly. If the time interval between the mechanical switch 1 being turned off and on is too short, the voltage reference chip Z1 cannot be turned on again, that is, the first transistor Q1 cannot be powered on smoothly.
[0054] To power on the system again, you need to disconnect the mechanical switch 1 and then close it. After the mechanical switch 1 is disconnected, the positive electrode of the first capacitor C1 -> the emitter of the second transistor Q2 -> the base of the second transistor Q2 -> the first diode D1 -> the first resistor R1 -> GND forms a loop, causing the second transistor Q2 to turn on, thereby short-circuiting the positive and negative electrodes of the first capacitor C1, and the charge of the first capacitor C1 is neutralized and released; when the mechanical switch 1 is turned on again, the first capacitor C1 can be charged again, and the voltage reference chip Z1 is turned on, so that the first transistor Q1 is turned on. Note that the first output pin of MCU3 needs to be in a low level state or a high impedance state at ordinary times.
[0055] In this embodiment, a second electronic switch circuit including a transistor is added. After a period of time has passed since the battery protection shutdown occurs, when it is detected that the mechanical switch is still not disconnected, the MCU outputs a valid level, turns on the transistor in the second electronic switch circuit, and outputs a control signal to turn off the first electronic switch circuit, thereby shutting down the power supply of all circuits in the system, so that only a large-value resistor in the system is turned on and only a uA-level current is generated. This ensures that the power consumption of the system is negligible when the mechanical switch is in a closed state, and the battery will not be discharged and damaged, thereby effectively protecting the battery safety.
[0056] Example 3
[0057] This embodiment is a further improvement on embodiment 2. Figure 4 As shown, the battery power management system of this embodiment also includes a second battery control module 4, which is electrically connected to the battery, the first input pin, the second output pin, the power pin of the MCU3, and the power components in the power terminal that need to be delayed in shutdown.
[0058] The second battery control module 4 is a power-on circuit that does not pass through the mechanical switch 1. The purpose is to ensure that the battery power control system can still supply power for a period of time after the mechanical switch 1 is disconnected. When the mechanical switch 1 is disconnected, the second battery control module 4 continues to supply power to the MCU3 and the power-consuming components in the power-consuming terminal that need to be delayed shut down through the directly connected battery. The power-consuming components that need to be delayed shut down refer to some power tools. After the mechanical switch 1 is disconnected, the motor needs to be able to electronically brake and stop. At this time, the MCU3 needs to continue to have power to run, otherwise the motor will slide, which may cause damage to people or property in an emergency, because the motor-driven working head in these tools may be a dangerous component such as a cutter disc, a grinding wheel, scissors, and a drill bit; some power tools have auxiliary lighting functions, and users hope that the lighting can still stay on for a certain period of time after the mechanical switch is disconnected, so as to facilitate work in dark places; some tools that are frequently switched on and off, such as gun drills, need to keep the control circuit stable Control voltage to avoid the impact caused by the system power-on-power-off-power-on, and increase the reliability of components. Therefore, the power-consuming components that need to be delayed shut down cannot be powered off immediately, and an inertial buffer time is required.
[0059] The second battery control module 4 inputs a valid level to the first input pin of the MCU3, and the MCU3 starts the electronic brake action of the motor of the power terminal, which can effectively improve safety. After the first input pin of the MCU3 inputs a valid level, the second preset time (such as 15 seconds) is extended, and the MCU3 controls the second output pin to output a valid level, so that the second battery control module 4 stops supplying power, so that the MCU3 stops working, and at the same time, the power-consuming components in the power terminal that need to be delayed to close can also be safely closed after the second preset time. All the systems are closed, there are no power-consuming devices, and no damage to the battery is caused.
[0060] By adding a second battery control module, this embodiment can provide an inertia buffer time for electrical components in the power terminal that need to be shut down with a delay, continue to supply power for a period of time after the mechanical switch is disconnected, and cut off the power supply after the inertia buffer time is up, thereby further improving the safety of the system.
[0061] Example 4
[0062] This embodiment implements the second battery control module 4 in detail on the basis of the embodiment 3.
[0063] like Figure 5 As shown, the second battery control module 4 includes a fourth triode Q4, a fifth triode Q5, a sixth triode Q6, a third diode D2, a sixth resistor R6 and a seventh resistor R7. The emitter of the fourth triode Q4 is electrically connected to the positive electrode of the battery, the base of the fourth triode Q4 is electrically connected to one end of the sixth resistor R6, the other end of the sixth resistor R6 is electrically connected to the collector of the fifth triode Q5, the base of the fifth triode Q5 is electrically connected to the second output pin of the MCU3, and the emitter of the fifth triode Q5 is grounded. The collector of the fourth transistor Q4 is electrically connected to the cathode of the third diode D3, and is electrically connected to the power pin of the MCU3 and the electrical components in the power terminal that need to be delayed shut down; the anode of the third diode D3 is electrically connected to the base of the sixth transistor, and is electrically connected to the collector of the first transistor Q1 in the first battery control module and one end of the third resistor R3, the collector of the sixth transistor Q6 is electrically connected to one end of the seventh resistor R7, the other end of the seventh resistor R7 is electrically connected to the power supply, and the emitter of the sixth transistor Q6 is grounded.
[0064] The emitter of the fourth transistor Q4 is directly connected to the positive electrode of the battery. When the mechanical switch 1 is closed, the first electronic switch circuit 21 is turned on, the MCU3 is powered on, the second output pin of the MCU3 is set to a high level, the fifth transistor Q5 is turned on, and thus the fourth transistor Q4 is turned on. At this time, even if the mechanical switch 1 is disconnected and the first transistor Q1 is powered off, the fourth transistor Q4 still provides power from the battery, and the MCU3 continues to operate with power.
[0065] At this time, due to the obstruction of the third diode D3, the first transistor Q1 cannot obtain power from the power pin of MCU3 and maintains the power-off state. At the same time, the base voltage of the sixth transistor Q6 connected to the collector of the first transistor Q1 drops to zero, the sixth transistor Q6 is turned off, the collector of the sixth transistor Q6 is pulled high, and the first input pin of MCU3 is also set high. After MCU3 detects the level change of the first input pin, it determines that the mechanical switch 1 has been disconnected, and immediately starts the braking action of the motor of the power terminal, which can effectively improve safety. After MCU3 delays the second preset time (such as 15 seconds), it finds that the mechanical switch 1 is not closed twice, then sets the second output pin to a low level, so that the fifth transistor Q5 is turned off, so that the fourth transistor Q4 is also turned off, and the second battery control module 4 is disconnected, and then the entire system is completely shut down, and there are no power-consuming devices.
[0066] Figure 6 The curve showing the voltage change of the emitter and collector of the first transistor Q1 after the mechanical switch 1 is disconnected is shown. The voltage at the input terminal (emitter) of the first transistor Q1 will have a descending curve, and the slope of the curve is related to the resistance value of the first resistor R1. The larger the resistance value of the first resistor R1, the slower the decline, that is, the slower the charge of the first capacitor C1 is released. According to measurements, if the resistance value of the first resistor R1 is 3 megohms, when the battery voltage is fully charged at 20V, the first capacitor C1 can basically release all the charge in about 50mS (milliseconds), and the time from disconnection to rapid secondary closure of the angle grinder switch is at least 80mS, so the first capacitor C1 is sufficient to restore to the empty charge state of the secondary power-on condition.
[0067] Figure 6 The collector voltage change curve of the first transistor Q1 in FIG. 1 shows that after the mechanical switch 1 is disconnected, it drops very steeply, so the first input pin of MCU3 will immediately change from a low level to a high level, and MCU3 can immediately take motor braking action based on this, thereby improving safety.
[0068] By adding a second battery control module, this embodiment can provide an inertia buffer time for electrical components in the power terminal that need to be shut down with a delay, continue to supply power for a period of time after the mechanical switch is disconnected, and cut off the power supply after the inertia buffer time is up, thereby further improving the safety of the system.
[0069] Example 5
[0070] This embodiment is obtained by further improving the third and fourth embodiments.
[0071] like Figure 7As shown, the battery power management system also includes a battery voltage detection circuit 5, a current sampling and amplifying circuit 6, and a battery temperature acquisition circuit 7. MCU3 is electrically connected to the battery voltage detection circuit 5, the current sampling and amplifying circuit 6, and the battery temperature acquisition circuit 7, respectively, to collect the battery voltage, current and temperature, and realize the battery undervoltage protection shutdown, battery overcurrent protection shutdown and battery overtemperature protection shutdown.
[0072] A DC / DC step-down circuit 8 is also provided between the second battery control module 4 and the power pin of the MCU3, for providing a suitable power supply voltage to the MCU3.
[0073] The battery voltage detection circuit 5, the current sampling and amplifying circuit 6, the battery temperature acquisition circuit 7 and the DC / DC buck circuit 8 are all mature circuits and will not be described in detail here.
[0074] Example 6
[0075] This embodiment provides a battery powered system, such as Figure 8 As shown, the battery power supply system includes the battery power management system, battery and power terminal described in Examples 1 to 5. The battery is electrically connected to the power management system and the power terminal, and supplies power to the power terminal under the control of the power management system.
[0076] The battery-powered system of this embodiment is suitable for electric equipment with locked mechanical switches, such as battery-powered angle grinders, electric circular saws, pruning machines and other electric tools with locked mechanical switches, but it is not limited to these, and also includes daily lighting equipment such as flashlights. At the same time, electric tools are not only for brushless motor tools, but also for brushed motor tools. Mechanical switches are divided into locked and unlocked ones. When developing electric tools, sometimes for the convenience of testing, the non-locked mechanical switches are tied up with cable ties for discharge testing. Therefore, the battery-powered system of this embodiment can also be applied to electric equipment without locked mechanical switches in the debugging stage.
[0077] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A battery power management system, used to control the power supply of a battery-powered power terminal, characterized in that: The power management system of the battery includes a mechanical switch, an MCU and a first battery control module; One end of the mechanical switch is electrically connected to the battery, and the other end of the mechanical switch is electrically connected to the power terminal and the first battery control module; when the mechanical switch is closed, the power terminal is started and the battery is electrically connected to the first battery control module; The first battery control module is electrically connected to the power pin and the first output pin of the MCU; the MCU is electrically connected to the power terminal, and is used to start the power terminal or perform protection shutdown; The first battery control module includes a first electronic switch circuit, a second electronic switch circuit and a first resistor, wherein an input end of the first electronic switch circuit and one end of the first resistor are electrically connected to the other end of the mechanical switch, the other end of the first resistor is grounded, and an output end of the first electronic switch circuit is electrically connected to a power pin of the MCU; the second electronic switch circuit is electrically connected to a first output pin of the MCU, and the second electronic switch circuit is electrically connected to the first electronic switch circuit; When the power terminal is shut down for protection for a first preset time and the MCU detects that the mechanical switch is still in a closed state, the MCU controls the first output pin to output a valid level to turn on the second electronic switch circuit, and the control end of the second electronic switch circuit outputs a control signal to turn off the first electronic switch circuit, so that only the first resistor of the power management system is turned on; The first electronic switch circuit includes a voltage reference chip, a first triode, a second triode, a first diode, a second diode, a first capacitor, a second resistor, a third resistor, a fourth resistor and a fifth resistor; The other end of the mechanical switch is electrically connected to the cathode of the first diode, the anode of the second diode and the emitter of the first transistor, the anode of the first diode is electrically connected to the base of the second transistor, the cathode of the second diode is electrically connected to one end of the second resistor, the collector of the first transistor and one end of the fifth resistor are electrically connected to the power pin of the MCU, the base of the first transistor is electrically connected to one end of the fourth resistor, and the other end of the fourth resistor is electrically connected to the cathode of the voltage reference chip; The emitter of the second transistor is electrically connected to the other end of the second resistor and the positive electrode of the first capacitor, the collector of the second transistor is electrically connected to the negative electrode of the first capacitor, one end of the third resistor, the other end of the fifth resistor and the reference voltage end of the voltage reference chip, and is electrically connected to the control end of the second switch circuit, and the anode of the voltage reference chip is grounded; The second electronic switch circuit includes a third triode; The base of the third transistor is electrically connected to the first output pin of the MCU, the emitter of the third transistor is grounded, and the collector of the third transistor is electrically connected to the first electronic switch circuit as a control end of the second electronic switch circuit.
2. The battery power management system according to claim 1, characterized in that: The power management system of the battery further includes a second battery control module, which is electrically connected to the battery, the first input pin of the MCU, the second output pin of the MCU, the power pin of the MCU, and the power-consuming component in the power-consuming terminal that needs to be shut down with a delay; When the mechanical switch is disconnected, the second battery control module continues to supply power to the MCU and the electrical components that need to be delayed in shutting down through the battery, the first input pin outputs a valid level to the MCU, the MCU starts the braking action of the power terminal, and after extending the second preset time, the MCU outputs a valid level to the second output pin, so that the second battery control module stops supplying power.
3. The battery power management system according to claim 2, characterized in that: The second battery control module includes a fourth triode, a fifth triode, a sixth triode, a third diode, a sixth resistor and a seventh resistor; The emitter of the fourth triode is electrically connected to the positive electrode of the battery, the base of the fourth triode is electrically connected to one end of the sixth resistor, the other end of the sixth resistor is electrically connected to the collector of the fifth triode, the base of the fifth triode is electrically connected to the second output pin of the MCU, and the emitter of the fifth triode is grounded; The collector of the fourth transistor is electrically connected to the cathode of the third diode, and is electrically connected to the power pin of the MCU and the electrical component that needs to be delayed shut down; the anode of the third diode is electrically connected to the base of the sixth transistor, and is electrically connected to the collector of the first transistor in the first battery control module and one end of the third resistor, the collector of the sixth transistor is electrically connected to one end of the seventh resistor, the other end of the seventh resistor is electrically connected to the power supply, and the emitter of the sixth transistor is grounded.
4. The battery power management system according to claim 1, characterized in that: The resistance of the first resistor is 500k ohms to 5M ohms.
5. The battery power management system according to claim 1, characterized in that: The battery power management system also includes a battery voltage detection circuit, a current sampling and amplifying circuit, and a battery temperature acquisition circuit. The MCU is electrically connected to the battery voltage detection circuit, the current sampling and amplifying circuit, and the battery temperature acquisition circuit, respectively, to achieve battery undervoltage protection shutdown, battery overcurrent protection shutdown, and battery overtemperature protection shutdown.
6. The battery power management system according to claim 2, characterized in that: A DC / DC step-down circuit is also provided between the second battery control module and the power pin of the MCU.
7. A battery powered system, characterized in that: The battery-powered system includes a battery and a battery power management system as described in any one of claims 1 to 6, wherein the battery is electrically connected to the power management system and a power terminal, and supplies power to the power terminal under the control of the power management system.
Citation Information
Patent Citations
Lithium battery protection electronic switch
CN109510284A
Battery power management system and battery power supply system
CN212113936U
Battery management system
US20120293133A1
