CN108808770B - Battery protection circuit, device with built-in battery and battery on-off control method thereof - Google Patents

Battery protection circuit, device with built-in battery and battery on-off control method thereof Download PDF

Info

Publication number
CN108808770B
CN108808770B CN201810558562.6A CN201810558562A CN108808770B CN 108808770 B CN108808770 B CN 108808770B CN 201810558562 A CN201810558562 A CN 201810558562A CN 108808770 B CN108808770 B CN 108808770B
Authority
CN
China
Prior art keywords
voltage
module
battery
switch module
time programmable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810558562.6A
Other languages
Chinese (zh)
Other versions
CN108808770A (en
Inventor
夏栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201810558562.6A priority Critical patent/CN108808770B/en
Publication of CN108808770A publication Critical patent/CN108808770A/en
Application granted granted Critical
Publication of CN108808770B publication Critical patent/CN108808770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00306Overdischarge protection

Abstract

The application discloses a battery protection circuit, a device with a built-in battery and a battery on-off control method thereof, which are used for preventing the battery from being over-discharged and ensuring the transportation safety of a product with the built-in battery. The embodiment of the application provides a battery protection circuit, this circuit includes: a switch module and a control module; the control module is connected with the voltage input end, and the control module is used for: when the voltage input end inputs a first voltage, the switch module is controlled to be closed; when a second voltage is input into the voltage input end, the switch module is controlled to be opened; the first voltage is not equal to the second voltage; the switch module is connected with the battery and the main circuit board, and when the switch module is turned on, the battery supplies power to the main circuit board.

Description

Battery protection circuit, device with built-in battery and battery on-off control method thereof
Technical Field
The application relates to the technical field of batteries, in particular to a battery protection circuit, a device with a built-in battery and a battery on-off control method thereof.
Background
In the prior art, as shown in fig. 1, a lithium battery 1 is directly connected to a power management chip 3 of a main circuit board 2 of a device, that is, as long as the lithium battery 1 is powered on, part of circuits inside the power management chip 2 are powered on and then work, for the device with the built-in lithium battery, a power key 4 is connected to the power management chip 2, and the device is generally started or awakened by long pressing the power key 4. In the transportation process of the equipment, the startup key is triggered mistakenly to start the equipment due to vibration, so that the equipment is heated or generates radio frequency signals when working, for example, the transportation safety is affected in the process of air transportation after the equipment leaves a factory. In addition, the direct connection of the lithium battery and the power management chip can cause the over-discharge of the lithium battery and influence the performance of the battery.
In conclusion, the connection mode of the lithium battery and the power management chip in the prior art easily affects the transportation safety and the battery performance.
Disclosure of Invention
The embodiment of the application provides a battery protection circuit, a device with a built-in battery and a battery on-off control method thereof, which are used for preventing the battery from being over-discharged and ensuring the transportation safety of a product with the built-in battery.
The embodiment of the application provides a battery protection circuit, this circuit includes: a switch module and a control module; the control module is connected with the voltage input end;
the control module is used for: when the voltage input end inputs a first voltage, the switch module is controlled to be closed; when a second voltage is input into the voltage input end, the switch module is controlled to be opened; the first voltage is not equal to the second voltage;
the switch module is connected with the battery and the main circuit board, and when the switch module is turned on, the battery supplies power to the main circuit board.
According to the battery protection circuit provided by the embodiment of the application, the control module can control the switch module to be opened or closed according to different input voltages, and the battery protection circuit provided by the embodiment of the application is arranged between the battery and the main circuit board, so that the switch module can be controlled to be opened or closed through artificially inputting different voltages, and the on-off between the battery and the main circuit board is further controlled. Therefore, when the main circuit board does not need to work, the control module in the battery protection circuit can control the switch module to be closed by inputting the first voltage, so that the battery cannot supply power to the main circuit board, the electric quantity of the battery cannot be over-discharged, and the performance of the battery is ensured; and when the battery protection circuit that this application embodiment provided is applied to the device of built-in battery, before the device leaves the factory and arrives the user, as long as input first voltage before the transportation, close switch module, because there is no voltage input, even if take place vibration spurious triggering switch-on key, switch module also can not open, the battery can not give main circuit board power supply promptly, the device also can not start, thereby can prevent the battery from putting excessively, avoid the work that battery and main circuit board are connected and are caused to generate heat or produce radio frequency signal, thereby can guarantee product transportation safety.
Optionally, the control module comprises: the controller is connected with a voltage input end, and the programmable module is connected with the controller and the switch module;
the controller is configured to: when the first voltage is input into the voltage input end, programming the programmable module to control the switch module to be closed; and when the voltage input end inputs a second voltage, programming the programmable module and controlling the switch module to be switched on.
Optionally, the programmable module comprises: the first one-time programmable device and the second one-time programmable device are connected with the controller, and the XOR operation module is connected with the controller;
the first input end of the XOR operation module is connected with the first one-time programmable device; the second input end of the XOR operation module is connected with the second one-time programmable device; the output end of the XOR operation module is connected with the switch module;
the XOR operation module is used for: and outputting a first voltage signal for controlling the switch module to be switched on when the XOR operation result is 0, and outputting a second voltage signal for switching off the switch module when the XOR operation result is 1.
Optionally, the controller is specifically configured to: when the first voltage is input into the voltage input end for the first time, programming the first one-time programmable device to enable the first one-time programmable device to output 1; the controller is further configured to: after the first one-time programmable device is programmed, when the second voltage is input to the voltage input end for the first time, the second one-time programmable device is programmed, and the second one-time programmable device outputs 1.
Optionally, the switching module comprises a metal oxide semiconductor field effect transistor.
Optionally, the metal oxide semiconductor field effect transistor is a P-type metal oxide semiconductor field effect transistor, a gate of the P-type metal oxide semiconductor field effect transistor is connected with the control module, a source of the P-type metal oxide semiconductor field effect transistor is connected with the battery, and a drain of the P-type metal oxide semiconductor field effect transistor is connected with the main circuit board; the first voltage is greater than the second voltage.
Optionally, the circuit further comprises a voltage conversion module between the voltage input terminal and the controller for converting the input voltage into a voltage of the controller operating range.
Optionally, the controller comprises one or a combination of: single chip microcomputer, field programmable gate array.
The device with the built-in battery provided by the embodiment of the application comprises the battery protection circuit, the battery and the main circuit board provided by the embodiment of the application.
Optionally, the battery is a lithium battery.
The method for controlling the on-off of the battery in the device comprises the following steps:
the first voltage is input from the voltage input end, and the control module controls the switch module to be closed;
the second voltage is input from the voltage input end, and the control module controls the switch module to be opened.
Optionally, when the control module includes a controller, a first one-time programmable device, a second one-time programmable device, and an xor operation module, and when neither the first one-time programmable device nor the second one-time programmable device is programmed, the first voltage is input from the voltage input terminal, and the controlling the switch module to be turned off by the control module specifically includes:
the first voltage is input from the voltage input end, the controller programs the first one-time programmable device, the operation result of the exclusive-or operation module is enabled to be 1, a second voltage signal is output, and the switch module is controlled to be closed.
Optionally, the controller programs the first otp device, so that the xor operation module outputs a second voltage signal when the operation result is 1, and controls the switch module to be turned off, and then inputs the second voltage from the voltage input terminal, where the control module controls the switch module to be turned on specifically includes:
and the controller programs the second one-time programmable device, so that the operation result of the exclusive-or operation module is 0, a first voltage signal is output, and the switch module is controlled to be switched on.
Optionally, when the control module includes a controller, a first one-time programmable device, a second one-time programmable device, and an xor operation module, and when neither the first one-time programmable device nor the second one-time programmable device is programmed, the second voltage is input from the voltage input terminal, and the controlling the switch module to be turned on by the control module specifically includes:
the second voltage is input from the voltage input end, the controller controls the first one-time programmable device and the second one-time programmable device to keep an unprogrammed state, so that the operation result of the exclusive-or operation module is 0, and the control module outputs a first voltage signal to control the switch module to be switched on.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a prior art lithium battery connected to a power management chip;
fig. 2 is a schematic diagram of a battery protection circuit connected to a battery and a main circuit board according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another battery protection circuit connected to a battery and a main circuit board according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another battery protection circuit connected to a battery and a main circuit board according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another battery protection circuit connected to a battery and a main circuit board according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of another battery protection circuit connected to a battery and a main circuit board according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of a method for controlling on/off of a battery in a device with a built-in battery according to an embodiment of the present application.
Detailed Description
An embodiment of the present application provides a battery protection circuit provided in an embodiment of the present application, and as shown in fig. 2, the battery protection circuit a includes: a switch module 7 and a control module 8; the control module 8 and the voltage input end VinConnecting;
the control module 8 is configured to: when the voltage input terminal VinWhen a first voltage is input, the switch module 7 is controlled to be closed; when the voltage input terminal VinWhen a second voltage is input, the switch module 7 is controlled to be opened; the first voltage is not equal to the second voltage;
in fig. 2, a battery protection circuit a is disposed between the battery 5 and the main circuit board 6 and connected to the battery 5 and the main circuit board 6, wherein the switch module 7 is connected to the battery 5 and the main circuit board 6, and when the switch module 7 is turned on, the battery 5 supplies power to the main circuit board 6.
According to the battery protection circuit provided by the embodiment of the application, the control module can control the switch module to be opened or closed according to different input voltages, and the battery protection circuit provided by the embodiment of the application is arranged between the battery and the main circuit board, so that the switch module can be controlled to be opened or closed through artificially inputting different voltages, and the on-off between the battery and the main circuit board is further controlled. Therefore, when the main circuit board does not need to work, the control module in the battery protection circuit can control the switch module to be closed by inputting the first voltage, so that the battery cannot supply power to the main circuit board, the electric quantity of the battery cannot be over-discharged, and the performance of the battery is ensured; and when the battery protection circuit that this application embodiment provided is applied to the device of built-in battery, before the device leaves the factory and arrives the user, as long as input first voltage before the transportation, control module closes the switch module, in the transportation, because there is not voltage input, even if take place vibration spurious triggering switch-on key, the switch module can not open yet, battery protection circuit keeps the switch module to close promptly and makes the battery can not supply power for main circuit board, the device of built-in battery including the battery protection circuit that this application embodiment provided can not start yet, thereby can prevent the battery from overdischarging simultaneously, avoid the work that battery and main circuit board are connected and are caused to generate heat or produce radio frequency signal, thereby can guarantee product transportation safety.
It should be noted that the first voltage and the second voltage may be set according to an actual situation, when the second voltage is input, the control module controls the switch to be turned on so that the battery supplies power to the main circuit board, and when the first voltage is input, the control module controls the switch to be turned off, and the battery and the main circuit board do not work, the second voltage may be a voltage which enables the battery and the main circuit board to work normally, and the first voltage may be a voltage different from a voltage at which the battery and the main circuit board work normally; the first voltage may be greater than the second voltage, and the first voltage may also be less than the second voltage.
Optionally, as shown in fig. 3, in the battery protection circuit a provided in the embodiment of the present application, the control module 8 includes: and the voltage input terminal VinA controller 9 connected to the switch module 7 and a programmable module 10 connected to the controller 9 and the switch module 7;
the controller 9 is configured to: when the voltage input terminal VinWhen the first voltage is input, programming the programmable module 10 to control the switch module 7 to be closed; when the voltage input terminal VinWhen the second voltage is input, the programmable module 10 is programmed to control the switch module 7 to be opened.
It should be noted that the Programmable module may include, for example, a Programmable device, and the Programmable device is divided into a One Time Programmable (OTP) device capable of being programmed many times, and the OTP device capable of being programmed many times performs erasing, programming, verifying, and after programming, the chip performs a new programmed code logic program; the one-time programmable device can be programmed only once, and after one-time programming, the internal device of the chip is damaged and cannot be recovered and reprogrammed.
Optionally, as shown in fig. 4, the programmable module 10 includes: a first OTP device 11 and a second OTP device 12 connected with the controller 9, and an XOR operation module 13;
a first input end of the exclusive or operation module 13 is connected to the first OTP device 11; a second input end of the exclusive or operation module 13 is connected to the second OTP device 12; the output end of the exclusive or operation module 13 is connected with the switch module 7;
the exclusive or operation module 13 is configured to: a first voltage signal for controlling the switch module 7 to be turned on is output when an exclusive OR (XOR) operation result is 0, and a second voltage signal for turning off the switch module 7 is output when the XOR operation result is 1.
It should be noted that the XOR operation at least includes two inputs, where the two inputs are the same and false, and the two inputs are different and true, and when the two inputs are the same, the XOR operation output is 0, and when the two inputs are different, the XOR operation output is 1. The xor operation module may include an xor gate circuit, for example, so that the first voltage signal is a low level signal and the second voltage signal is a high level signal, that is, the first voltage is greater than the second voltage, for example, the first voltage is 9 volts and the second voltage is 5 volts. The exclusive-or operation module may further include a triode for implementing level conversion.
Optionally, the controller is specifically configured to: when the first voltage is input by the voltage input end for the first time, programming the first OTP device to enable the first OTP device to output 1; the controller is further configured to: after the first one-time programmable device is programmed, when the second voltage is input to the voltage input end for the first time, the second OTP device is programmed, and the second OTP device outputs 1.
Optionally, the switch module includes a Metal-Oxide-Semiconductor Field-Effect Transistor (MOS Transistor).
Optionally, as shown in fig. 5, the MOS transistor included in the switch module is a P-MOS transistor 14, a gate G of the P-MOS transistor 14 is connected to the exclusive or operation module 13 in the control module, a source S of the P-MOS transistor 14 is connected to the battery 5, and a drain D of the P-MOS transistor is connected to the main circuit board 6. When the grid electrode of the P-MOS tube is input with low level (namely, when the voltage Vgs between the grid electrode and the source electrode is smaller than the critical voltage Vt), the P-MOS tube is conducted, and when the grid electrode of the P-MOS tube is input with high level, the P-MOS tube is disconnected.
Next, the operation principle of the battery protection circuit provided in the embodiment of the present application is described by taking the battery protection circuit shown in fig. 5 as an example, where the first voltage is 9 volts and the second voltage is 5 volts.
Specifically, when the first OTP device and the second OTP device are not programmed, the XOR operation result is 0, the XOR operation module outputs a first voltage signal, the Vgs of the P-MOS transistor meets the conduction condition, the P-MOS transistor is turned on, and the battery supplies power to the main circuit board. At this time, the power supply test may be performed on the circuit, for example, a manufacturer may test the device before the device with the built-in battery leaves the factory. When the main circuit board does not need to work after the test is finished, for example, the equipment comprising the battery protection circuit provided by the embodiment of the application needs to be transported, a first voltage is input, for example, the voltage input end is connected with a standard 9-volt charger, the controller programs the first OTP device, the second OTP device is not programmed yet, the XOR operation result is 1, a second voltage signal is output, the voltage (Vgs) between the grid electrode and the source electrode of the P-MOS transistor does not meet the conduction condition, the P-MOS transistor is turned off, the battery and the main circuit board are not conducted, and the main circuit board does not work. When a user obtains equipment and needs to use the equipment, a second voltage is input, for example, a voltage input end is connected with a standard 5-volt charger, the controller programs the second OTP device to enable the second OTP device to output 1, the first OTP device and the second OTP device are both programmed and output 1, the XOR operation result is 0, a first voltage signal is output, the voltage (Vgs) between the grid electrode and the source electrode of the P-MOS transistor meets the conduction condition, the P-MOS transistor is turned on, the battery supplies power to the main circuit board, and the user can normally use the equipment.
Optionally, the controller comprises one or a combination of: a single chip microcomputer and a Field Programmable Gate Array (FPGA).
It should be noted that, the controller provided in this embodiment of the present application needs to convert an input voltage into a voltage in the controller operating range, and optionally, the circuit further includes a voltage conversion module between the voltage input terminal and the controller, and configured to convert the input voltage into a voltage in the controller operating range. As shown in fig. 6, the voltage conversion module may include, for example: a first resistor 15, a second resistor 16, and an Analog-to-Digital Converter (ADC) 17. The first end of the first resistor 15 is connected to the voltage input terminal, the second end of the first resistor 15 is connected to the first end of the second resistor 16 and the input terminal of the ADC 17, the first end of the second resistor 16 is further connected to the ADC 17, the second end of the second resistor 16 is grounded, and the output terminal of the ADC is connected to the input terminal of the controller 9.
The device with the built-in battery provided by the embodiment of the application comprises the battery protection circuit, the battery and the main circuit board provided by the embodiment of the application.
Optionally, the battery is a lithium battery.
Optionally, the main circuit board comprises a power management chip.
The device with the built-in battery provided by the embodiment of the application can be a mobile phone, a tablet personal computer and the like.
Based on the same concept, an embodiment of the present application further provides a method for controlling on/off of a battery in the above apparatus, as shown in fig. 7, the method includes:
s701, inputting the first voltage from the voltage input end, and controlling the switch module to be closed by the control module;
and S702, inputting the second voltage from the voltage input end, and controlling the switch module to be opened by the control module.
Optionally, when the control module includes a controller, a first one-time programmable device, a second one-time programmable device, and an xor operation module, and when neither the first one-time programmable device nor the second one-time programmable device is programmed, the first voltage is input from the voltage input terminal, and the controlling the switch module to be turned off by the control module specifically includes:
the first voltage is input from the voltage input end, the controller programs the first one-time programmable device, the operation result of the exclusive-or operation module is enabled to be 1, a second voltage signal is output, and the switch module is controlled to be closed.
Optionally, the controller programs the first otp device, so that the xor operation module outputs a second voltage signal when the operation result is 1, and controls the switch module to be turned off, and then inputs the second voltage from the voltage input terminal, where the control module controls the switch module to be turned on specifically includes:
and the controller programs the second one-time programmable device, so that the operation result of the exclusive-or operation module is 0, a first voltage signal is output, and the switch module is controlled to be switched on.
Optionally, when the control module includes a controller, a first one-time programmable device, a second one-time programmable device, and an xor operation module, and when neither the first one-time programmable device nor the second one-time programmable device is programmed, the second voltage is input from the voltage input terminal, and the controlling the switch module to be turned on by the control module specifically includes:
the second voltage is input from the voltage input end, the controller controls the first one-time programmable device and the second one-time programmable device to keep an unprogrammed state, so that the operation result of the exclusive-or operation module is 0, and the control module outputs a first voltage signal to control the switch module to be switched on.
To sum up, according to the battery protection circuit, the device with the built-in battery and the method for controlling on/off of the battery in the device with the built-in lithium battery provided by the embodiment of the present application, the control module can control the switch module to be turned on or turned off according to different input voltages, and when the battery protection circuit provided by the embodiment of the present application is arranged between the battery and the main circuit board and the switch module is connected with the battery and the main circuit board, the switch module can be controlled to be turned on or turned off by artificially inputting different voltages, so that on/off of the battery and the main circuit board can be controlled. Therefore, when the main circuit board in the battery protection circuit does not need to work, the control module in the battery protection circuit can control the switch module to be closed by inputting the first voltage, so that the battery cannot supply power to the main circuit board, the electric quantity of the battery cannot be over-discharged, and the performance of the battery is ensured; and when the device of built-in battery includes the battery protection circuit, when the condition that needs the transportation after the device leaves the factory, as long as input first voltage before the product transportation, close switch module, in the device transportation, because there is not voltage input, even if take place vibration spurious triggering switch-on key, switch module can not open yet, namely the battery can not give main circuit board power supply of main circuit board, the device of built-in battery can not start yet, thereby can prevent the battery from overdischarging while, avoid the work that battery and main circuit board are connected and cause to generate heat or produce the radio frequency signal, thereby can guarantee product transportation safety.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (12)

1. A battery protection circuit, the circuit comprising: a switch module and a control module; the control module is connected with the voltage input end;
the control module is used for: when the voltage input end inputs a first voltage, the switch module is controlled to be closed; when a second voltage is input into the voltage input end, the switch module is controlled to be opened; the first voltage is not equal to the second voltage;
the switch module is connected with the battery and the main circuit board, and when the switch module is turned on, the battery supplies power to the main circuit board;
the input end of the battery is connected with the voltage input end;
the control module includes: the controller is connected with the voltage input end, and the programmable module is connected with the controller and the switch module;
the controller is configured to: when the first voltage is input into the voltage input end, programming the programmable module to control the switch module to be closed; when a second voltage is input to the voltage input end, programming the programmable module to control the switch module to be switched on;
the programmable module includes: the first one-time programmable device and the second one-time programmable device are connected with the controller, and the XOR operation module is connected with the controller;
the first input end of the XOR operation module is connected with the first one-time programmable device, the second input end of the XOR operation module is connected with the second one-time programmable device, and the output end of the XOR operation module is connected with the switch module;
the XOR operation module is used for: and outputting a first voltage signal for controlling the switch module to be switched on when the XOR operation result is 0, and outputting a second voltage signal for switching off the switch module when the XOR operation result is 1.
2. The circuit of claim 1, wherein the controller is specifically configured to: when the first voltage is input into the voltage input end for the first time, programming the first one-time programmable device to enable the first one-time programmable device to output 1; the controller is further configured to: after the first one-time programmable device is programmed, when the second voltage is input to the voltage input end for the first time, the second one-time programmable device is programmed, and the second one-time programmable device outputs 1.
3. The circuit of claim 1, wherein the switching module comprises a metal oxide semiconductor field effect transistor.
4. The circuit of claim 3, wherein the MOSFET is a P-type MOSFET, a gate of the P-type MOSFET is connected to the control module, a source of the P-type MOSFET is connected to the battery, and a drain of the P-type MOSFET is connected to the main circuit board; the first voltage is greater than the second voltage.
5. The circuit of claim 1, further comprising a voltage conversion module between the voltage input and the controller for converting the input voltage to a voltage in the controller operating range.
6. The circuit of claim 1, wherein the controller comprises one or a combination of: single chip microcomputer, field programmable gate array.
7. A battery-embedded device comprising the battery protection circuit according to any one of claims 1 to 6, a battery, and a main circuit board.
8. The device of claim 7, wherein the battery is a lithium battery.
9. A method for controlling the on/off of a battery in a device according to claim 7 or 8, the method comprising:
the first voltage is input from the voltage input end, and the control module controls the switch module to be closed;
the second voltage is input from the voltage input end, and the control module controls the switch module to be opened.
10. The method of claim 9, wherein when the control module comprises a controller, a first one-time programmable device, a second one-time programmable device, and an exclusive or operation module, and when neither the first one-time programmable device nor the second one-time programmable device is programmed, the first voltage is input from the voltage input terminal, and the controlling module controls the switch module to be turned off specifically comprises:
the first voltage is input from the voltage input end, the controller programs the first one-time programmable device, the operation result of the exclusive-or operation module is enabled to be 1, a second voltage signal is output, and the switch module is controlled to be closed.
11. The method of claim 10, wherein the controller programs the first otp device such that the xor module outputs a second voltage signal with an operation result of 1, and controls the switch module to turn on after the switch module is turned off and the second voltage is input from the voltage input terminal, and the control module specifically controls the switch module to turn on:
and the controller programs the second one-time programmable device, so that the operation result of the exclusive-or operation module is 0, a first voltage signal is output, and the switch module is controlled to be switched on.
12. The method of claim 9, wherein when the control module comprises a controller, a first one-time programmable device, a second one-time programmable device, and an exclusive or operation module, and when neither the first one-time programmable device nor the second one-time programmable device is programmed, the second voltage is input from the voltage input terminal, and the control module controls the switch module to open specifically comprises:
the second voltage is input from the voltage input end, the controller controls the first one-time programmable device and the second one-time programmable device to keep an unprogrammed state, so that the operation result of the exclusive-or operation module is 0, and the control module outputs a first voltage signal to control the switch module to be switched on.
CN201810558562.6A 2018-06-01 2018-06-01 Battery protection circuit, device with built-in battery and battery on-off control method thereof Active CN108808770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810558562.6A CN108808770B (en) 2018-06-01 2018-06-01 Battery protection circuit, device with built-in battery and battery on-off control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810558562.6A CN108808770B (en) 2018-06-01 2018-06-01 Battery protection circuit, device with built-in battery and battery on-off control method thereof

Publications (2)

Publication Number Publication Date
CN108808770A CN108808770A (en) 2018-11-13
CN108808770B true CN108808770B (en) 2021-04-16

Family

ID=64090316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810558562.6A Active CN108808770B (en) 2018-06-01 2018-06-01 Battery protection circuit, device with built-in battery and battery on-off control method thereof

Country Status (1)

Country Link
CN (1) CN108808770B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143854A (en) * 2013-05-10 2014-11-12 光宝电子(广州)有限公司 Direct-current uninterruptible power system and abnormal voltage detection method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023134B (en) * 2012-12-26 2015-01-14 深圳市伊爱高新技术开发有限公司 Switching and protection circuit for standby battery of vehicle-mounted GPS (global positioning system) terminal
CN106410892A (en) * 2016-09-14 2017-02-15 东软集团股份有限公司 Battery protection method, device and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143854A (en) * 2013-05-10 2014-11-12 光宝电子(广州)有限公司 Direct-current uninterruptible power system and abnormal voltage detection method thereof

Also Published As

Publication number Publication date
CN108808770A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
US7640447B2 (en) Power supply system having standby power
JP4415131B2 (en) Battery protection device and battery protection circuit
US9152215B2 (en) Power control circuit and electronic device
US20080048629A1 (en) Voltage regulator
US20130311795A1 (en) Power supply management system and method for server
US20120319654A1 (en) Individual cell voltage detection circuit for charge and discharge control in a battery pack
CN102870162A (en) Circuit for verifying the write enable of a one time programmable memory
US9407264B1 (en) System for isolating integrated circuit power domains
US8242637B2 (en) Power source switching circuit
CN105743157A (en) Secondary battery protection circuit, secondary battery protection device, battery pack and method of writing data
US20140125273A1 (en) Control system and method for battery
KR20160067511A (en) Method and apparatus for cutting off dark current in battery management system
CN108808770B (en) Battery protection circuit, device with built-in battery and battery on-off control method thereof
JP3899109B2 (en) Charge / discharge protection circuit
US11628803B2 (en) Device and method for controlling vehicle
TW201348945A (en) Power source controlling system and method
JP2001333542A (en) Charging device
KR101989492B1 (en) Appratus and method for wake-up sleep mode mcu
US9075588B2 (en) Voltage regulator and control circuit for supplying voltage to a plurality of subcircuits via a chain of switches
CN114347863B (en) Vehicle cold start method and device, readable storage medium, electronic equipment and vehicle
JP5880105B2 (en) Charging circuit
KR101628606B1 (en) A charge control circuit and method of over-discharge battery
CN109873472B (en) Method and device for discharging storage battery, storage medium and equipment thereof
US20170155275A1 (en) Backup circuitry for providing power
CN108258757B (en) Control method and control equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant