Disclosure of Invention
The utility model aims to provide a battery control circuit and a robot, which can solve the problem that a commercial distribution robot cannot be continuously charged even if being connected with a charger when the commercial distribution robot is nearly full of electricity, improve the charging experience of a user and improve the reliability of products.
To achieve the above object, an embodiment of the present utility model provides a battery control circuit, including a charger detection module and an MCU control module connected to each other, where the MCU control module is connected to a battery pack, the charger detection module is used to connect to a charger, the charger detection module is used to detect a charger access signal and output a detection signal after receiving the charger access signal, and the MCU control module is used to receive the detection signal and control to open the battery pack so that the battery pack is connected to the charger for charging.
In one or more embodiments of the present utility model, the charger detection module includes a driving circuit, a switching tube, a bias circuit, and an output circuit, where the driving circuit is connected to a control end of the switching tube, the driving circuit is connected to the charger to receive a charger access signal and output the charger access signal to the control end of the switching tube, the bias circuit is connected to a first end of the switching tube, a second end of the switching tube is connected to ground, and the output circuit is connected to the first end of the switching tube to output a detection signal when the switching tube is turned on.
In one or more embodiments of the present utility model, the battery pack includes a battery management system, a discharge control module, a charge control module, and a battery pack, wherein the discharge control module and the charge control module are connected and simultaneously connected in series between a positive terminal of the battery pack and a positive input interface of a charger, a negative terminal of the battery pack is connected with a negative input interface of the charger, the battery management system is connected with the MCU control module, and the battery management system is used for controlling the discharge control module and the charge control module to be opened to communicate the battery pack and the charger for charging when the battery pack is opened.
In one or more embodiments of the present utility model, the battery control circuit further includes a charging switch module, the charging switch module is connected to the positive input interface of the charger and the positive terminal of the battery pack, the charging switch module is controlled by the MCU control module, and the charging switch module is turned on while the battery pack is turned on so that the positive input interface of the charger is in communication with the positive terminal of the battery pack.
In one or more embodiments of the present utility model, the driving circuit includes a first resistor, a first end of the first resistor is used for receiving a charger access signal, and a second end of the first resistor is connected to a control end of the switching tube.
In one or more embodiments of the present utility model, the driving circuit further includes a diode, an anode of the diode is configured to receive a charger access signal, and a cathode of the diode is connected to a first end of the first resistor.
In one or more embodiments of the present utility model, the driving circuit further includes a regulator tube, a second resistor, and a first capacitor, wherein a cathode of the regulator tube is connected to a second end of the first resistor, first ends of the second resistor and the first capacitor are connected to a second end of the first resistor, and second ends of the second resistor and the first capacitor are connected to ground.
In one or more embodiments of the present utility model, the bias circuit includes a third resistor, a first terminal of the third resistor is connected to the power supply voltage, and a second terminal of the third resistor is connected to the first terminal of the switching tube.
In one or more embodiments of the present utility model, the output circuit includes a fourth resistor and a second capacitor, wherein a first end of the fourth resistor is connected to a first end of the switching tube, a second end of the fourth resistor is connected to a first end of the second capacitor and is used for outputting the detection signal, and a second end of the second capacitor is connected to ground.
The utility model also discloses a robot, which comprises the battery control circuit.
Compared with the prior art, according to the battery control circuit and the robot, the charger access signal is detected through the charger detection module, the detection signal is output after the charger access signal is received, the MCU control module receives the detection signal and controls the battery pack to be opened so that the battery pack is communicated with the charger for charging, so that charging can be realized as long as the output voltage of the charger is greater than the voltage of the battery pack, the charging experience of a user is improved, and the reliability of a product is improved.
Detailed Description
Specific embodiments of the utility model will be described in detail below with reference to the drawings, but it should be understood that the scope of the utility model is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the term "comprise" or variations thereof such as "comprises" or "comprising", etc. will be understood to include the stated element or component without excluding other elements or components.
It should be appreciated that in the following description, a "circuit" may include a single or multiple combined hardware circuits, programmable circuits, state machine circuits, and/or elements capable of storing instructions for execution by the programmable circuits. When an element or circuit is referred to as being "connected to" or "connected to" another element, or being "connected between" two nodes, it can be directly coupled or connected to the other element or intervening elements may be present, and the connection between the elements may be physical, logical, or a combination thereof. In contrast, when an element is referred to as being "directly coupled to" or "directly connected to" another element, it means that there are no intervening elements present between the two.
The utility model will be further described with reference to the drawings and examples.
As shown in fig. 1, a battery control circuit includes a charger detection module 10, an MCU control module 20, and a charge switch module 30 connected.
The charger detection module 10 is configured to be connected to a charger input interface, specifically, an input control end of the charger detection module 10 is connected to the charger input interface, an output control end of the charger detection module 10 is connected to the MCU control module 20, and the charger detection module 10 is configured to detect a charger access signal and output a detection signal after receiving the charger access signal. The MCU control module 20 is simultaneously connected to the battery pack 40, and the MCU control module 20 is configured to control to open the battery pack 40 after receiving the detection signal, so that the battery pack 40 is connected to the charger for charging. In this embodiment, the battery pack 40 is controlled to be opened for charging as long as the detection signal is received, so that the limitation that the output voltage of the charger is larger than the voltage of the battery pack by 0.5V is avoided, the charging is more convenient, and the user experience is better.
The battery pack 40 includes a battery management system BMS, a discharge control module 41, a charge control module 42, and a battery pack 43. The discharging control module 41 and the charging control module 42 are connected in series between the positive terminal of the battery pack 43 and the positive input interface p+ of the charger. The negative pole end of the battery pack 43 is connected with the negative pole input interface P-of the charger, and the battery management system BMS is connected with the MCU control module 20, the discharge control module 41 and the charge control module 42 and is used for controlling to open the discharge control module 41 and the charge control module 42 when the battery pack 40 is opened so as to enable the battery pack 43 to be communicated with the charger for smooth charging, and the intelligent charging is realized.
When the charger is connected, the MCU control module 20 receives the detection signal, and the MCU control module 20 outputs a switching signal to control the opening of the battery pack 40. At this time, the battery management system BMS controls the discharge control module 41 to be turned on and controls the charge control module 42 to be turned on upon receiving the switching signal, thereby charging the battery pack 43. By opening the discharge control module 41 and the charge control module 42, the battery pack 43 can be charged at any time as long as the output voltage of the charger input interface is greater than the voltage of the battery pack.
In the present embodiment, the charging switch module 30 is connected to the positive input interface p+ of the charger and the positive terminal of the battery pack 40. The charging switch module 30 is controlled by the MCU control module 20, and the charging switch module 30 is turned on while the MCU control module 20 turns on the battery pack 40 so that the positive input interface p+ of the charger is communicated with the positive terminal vbat+ of the battery pack 40.
As shown in fig. 2, the charger detection module 10 includes a drive circuit 11, a switching tube Q1, a bias circuit 12, and an output circuit 13. The driving circuit 11 is connected to the control end G of the switching tube Q1, the driving circuit 11 is connected to the charger input interface to receive the charger access signal charge_v_check and output the charger access signal charge_v_check to the control end G of the switching tube Q1, the bias circuit 12 is connected to the first end D of the switching tube Q1, the second end S of the switching tube Q1 is connected to the ground GND, and the output circuit 13 is connected to the first end of the switching tube Q1 to output the detection signal charge_det when the switching tube Q1 is turned on. The driving circuit 11 is matched with the biasing circuit 12 to provide proper voltages on the grid electrode and the drain electrode of the switching tube Q1, so that when the charger access signal charge_V_check signal is received, the switching tube Q1 can be smoothly conducted to correspondingly output the detection signal charge_DET.
In this embodiment, the switching tube Q1 is an N-communication MOS tube, the control end G of the switching tube Q1 is a gate, the first end D of the switching tube Q1 is a drain, and the second end S of the switching tube Q1 is a source. In other embodiments, the switching transistor Q1 may be a P-channel MOS transistor, an NPN transistor, or a PNP transistor.
The driving circuit 11 includes a diode D, a first resistor R1, a regulator DZ, a second resistor R2, and a first capacitor C1.
Specifically, an anode of the diode D is configured to receive the charger_v_check signal, and a cathode of the diode D is connected to a first end of the first resistor R1. The second terminal of the first resistor R1 is connected to the control terminal G of the switching tube Q1. The diode D is used for rectifying and unidirectional protecting the charger access signal charge_v_check, and the first resistor R1 is used for providing a proper voltage for the gate of the switching tube Q1, so as to ensure that the switching tube Q1 can be smoothly turned on.
The cathode of the voltage stabilizing tube DZ is connected with the second end of the first resistor R1, the anode of the voltage stabilizing tube DZ is connected with the ground GND, and the voltage stabilizing tube DZ is used for stabilizing the voltage of the charger access signal charge_V_CHECK and ensuring the stability of the voltage of the charger access signal charge_V_CHECK. The first ends of the second resistor R2 and the first capacitor C1 are connected with the second end of the first resistor R1, and the second ends of the second resistor R2 and the first capacitor C1 are connected with the ground GND. The second resistor R2 and the first capacitor C1 are used for filtering the charger access signal charge_v_check, so that the charger access signal charge_v_check is smoother and more stable.
The bias circuit 12 includes a third resistor R3. The first end of the third resistor R3 is connected to the power supply voltage VDD, and the second end of the third resistor R3 is connected to the first end D of the switching tube Q1. The third resistor R3 is used for providing a proper voltage for the drain electrode of the switching tube Q1, so as to ensure that the switching tube Q1 can be smoothly turned on.
The output circuit 13 includes a fourth resistor R4 and a second capacitor C2. The first end of the fourth resistor R4 is connected to the first end of the switching tube Q1, the second end of the fourth resistor R4 is connected to the first end of the second capacitor C2 and is used for outputting the detection signal charge_det, and the second end of the second capacitor C2 is connected to the ground GND. The fourth resistor R4 and the second capacitor C2 are used for filtering the detection signal charge_det, so that the detection signal charge_det is smoother and more stable.
In this embodiment, a control voltage is provided at the control terminal G of the switching tube Q1 by the charger access signal charge_v_check, and a bias voltage is provided at the first terminal D of the switching tube Q1 by the bias circuit 12, and the second terminal S of the switching tube Q1 is simultaneously connected to the ground GND, so that the switching tube Q1 is turned on, and the output circuit 13 outputs the low-level detection signal charge_det. When the MCU control module 20 receives the low level detection signal charge_det, it controls the CHARGE switch module 30 to be turned on, and at the same time outputs a switch signal to turn on the battery pack 40. The battery management system BMS controls the discharge control module 41 and the charge control module 42 to be turned on when receiving the switching signal, thereby charging the battery pack 43.
The utility model also discloses a robot comprising the battery control circuit.
The foregoing descriptions of specific exemplary embodiments of the present utility model are presented for purposes of illustration and description. It is not intended to limit the utility model to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain the specific principles of the utility model and its practical application to thereby enable one skilled in the art to make and utilize the utility model in various exemplary embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the utility model be defined by the claims and their equivalents.