CN112152301A - Portable power supply - Google Patents

Portable power supply Download PDF

Info

Publication number
CN112152301A
CN112152301A CN202011123726.6A CN202011123726A CN112152301A CN 112152301 A CN112152301 A CN 112152301A CN 202011123726 A CN202011123726 A CN 202011123726A CN 112152301 A CN112152301 A CN 112152301A
Authority
CN
China
Prior art keywords
controller
electrically connected
rechargeable battery
charging
resistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011123726.6A
Other languages
Chinese (zh)
Inventor
马慧娇
刘雄江
司修利
朱嵩华
严海龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neovoltaic Energy Nantong Co ltd
Original Assignee
Neovoltaic Energy Nantong 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 Neovoltaic Energy Nantong Co ltd filed Critical Neovoltaic Energy Nantong Co ltd
Priority to CN202011123726.6A priority Critical patent/CN112152301A/en
Publication of CN112152301A publication Critical patent/CN112152301A/en
Pending legal-status Critical Current

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/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • 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/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect 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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention provides a portable power supply comprising: the charging and discharging device comprises a rechargeable battery, a charging and discharging circuit, a first controller, a second controller and an interface, wherein two ends of the charging and discharging circuit are respectively and electrically connected to the rechargeable battery and the interface; the first controller sends a clock signal to the second controller every other first preset time; the second controller sends a disconnection instruction to the charge and discharge circuit when not receiving the clock signal within a second preset time, wherein the second preset time is more than or equal to the first preset time; and when the charging and discharging circuit receives the disconnection instruction, the charging and discharging circuit disconnects the electric connection between the rechargeable battery and the interface. Thereby having high reliability.

Description

Portable power supply
Technical Field
The invention relates to the technical field of power supplies, in particular to a portable power supply.
Background
The portable power supply is a common charging and discharging device and can provide electric energy for electrical appliances in places where the electrical network cannot be accessed. Fig. 1 is a schematic diagram of a structure of the portable power supply, generally including: the charging and discharging device comprises a rechargeable battery 11, a charging and discharging circuit 12, an interface 13 and a controller 14, wherein the rechargeable battery 11 can store electric energy and output electric energy, two ends of the charging and discharging circuit 12 are respectively and electrically connected to the rechargeable battery 11 and the interface 13, the charging and discharging circuit 12 is used for disconnecting and connecting the electric connection between the rechargeable battery 11 and the interface 13 and can also perform operations such as voltage transformation, rectification and the like, and the interface 13 is used for connecting an electric appliance. In the charging and discharging process, the controller 14 may monitor the operating state of the rechargeable battery 11 in real time, and when it is determined that the rechargeable battery 11 is abnormal (for example, overvoltage, undervoltage, overcurrent, overtemperature, low temperature, and the like), the charging and discharging circuit 12 may be controlled to cut off the electrical connection between the rechargeable battery 11 and the interface 13, so as to protect the rechargeable battery 11 and prevent dangers, and it can be understood that if the controller 14 has a fault (for example, a severe environment, a program bug, a chip self fault, a control circuit fault, or an overcurrent, and the like), a judgment cannot be made in time, and the charging and discharging circuit 12 is cut off in time.
Disclosure of Invention
The invention aims to provide a portable power supply.
In order to achieve one of the above objects of the invention, an embodiment of the present invention provides a portable power supply including: the charging and discharging device comprises a rechargeable battery, a charging and discharging circuit, a first controller, a second controller and an interface, wherein two ends of the charging and discharging circuit are respectively and electrically connected to the rechargeable battery and the interface; the first controller sends a clock signal to the second controller every other first preset time; the second controller sends a disconnection instruction to the charge and discharge circuit when not receiving the clock signal within a second preset time, wherein the second preset time is more than or equal to the first preset time; and when the charging and discharging circuit receives a disconnection instruction, the charging and discharging circuit disconnects the electric connection between the rechargeable battery and the interface.
As a further improvement of an embodiment of the present invention, the second preset time is 3 × the first preset time.
As a further improvement of the embodiment of the present invention, a clock signal bus is disposed between the first controller and the second controller, and a first timer is disposed in the first controller, and the first timer generates an interrupt every fourth preset time; the "sending the clock signal to the second controller" specifically includes: when the first timer generates interruption, setting the level in the clock signal bus to be low level, continuing for a third preset time, and then setting the level of the clock signal bus to be high level; and the second controller receives the clock signal when detecting that the clock signal bus changes from high level to low level.
As a further improvement of the embodiment of the present invention, a second timer is provided in the second controller, and the timeout time of the second timer is a second preset time; the second controller resets the second timer when receiving a clock signal; when the second timer is overtime, the second controller determines that the clock signal is not received within a second preset time.
As a further improvement of the embodiment of the present invention, an enable signal bus is provided between the first controller and the second controller; the first controller reads the state information of the rechargeable battery, then sends a sampling enabling signal to the second controller through the enabling signal bus, and the second controller reads the state information of the rechargeable battery when receiving the sampling enabling signal.
As a further improvement of an embodiment of the present invention, the present invention further includes: the battery state detector can read the state information of the rechargeable battery and can latch the state information; the "reading of the state information of the rechargeable battery by the first controller" specifically includes: the first controller sends a first reading instruction to the battery state detector; when receiving a first reading instruction, the battery state detector reads the state information of the rechargeable battery, latches the state information and sends the state information to the first controller; the "reading, by the second controller, the state information of the rechargeable battery when receiving the sampling enable signal" specifically includes: the second controller sends a second reading instruction to the battery state detector when receiving the sampling enabling signal; and the battery state detector sends the latched state information to the second controller when receiving a second reading instruction.
As a further improvement of the embodiment of the present invention, a communication line is provided between the first controller and the second controller, any one of the first controller and the second controller can send first data to the other controller through the communication line, and the other controller sends out second data when successfully receiving the first data; and when any controller does not receive the second data, sending a disconnection instruction to the charging and discharging circuit.
As a further improvement of an embodiment of the present invention, the rechargeable battery is a dc power supply, the charging and discharging circuit includes a charging control module and a discharging control module, one end of the charging control module is electrically connected to a negative electrode of the rechargeable battery, the other end of the charging control module is electrically connected to one end of the discharging control module, and the other end of the discharging control module is electrically connected to the interface; the charging control module includes: a resistor R42, a diode D461, a resistor R156, a MOS transistor Q15 and a diode D462; a first end of the resistor R42 is electrically connected to the control input terminal IN221, and a second end is electrically connected to the cathode of the diode D461, the first end of the resistor R156, and the gate of the MOS transistor Q15; the anode of the diode D461 and the second end of the resistor R156 are both electrically connected to the output terminal OUT 221; the source electrode of the MOS tube Q15 is electrically connected with the negative electrode of the rechargeable battery, and the drain electrode is electrically connected with the output end OUT 221; the cathode of the diode D462 is electrically connected to the source electrode of the MOS transistor Q15, and the anode is electrically connected to the drain electrode of the MOS transistor Q15; the discharge control module includes: the resistor R66, the diode D671, the resistor R116, the MOS transistor Q33 and the diode D672; a first end of the resistor R66 is electrically connected to the control input terminal IN222, and a second end is electrically connected to the cathode of the diode D671, the first end of the resistor R116 and the gate of the MOS transistor Q33; the anode of the diode D671 and the second terminal of the resistor R116 are both electrically connected to the output terminal OUT 221; the source electrode of the MOS tube Q33 is electrically connected with the interface, and the drain electrode is electrically connected with the output end OUT 221; the cathode of the diode D672 is electrically connected to the source of the MOS transistor Q33, and the anode is electrically connected to the drain of the MOS transistor Q33; the input terminal IN221 and the input terminal IN222 both receive control of the first and second controllers.
As a further improvement of the embodiment of the present invention, a first switch module is provided between the positive electrode of the rechargeable battery and the interface, and a second switch module is provided between the discharge control module and the interface; the step of disconnecting the electrical connection between the rechargeable battery and the interface when the charging and discharging circuit receives the disconnection instruction specifically includes: and when the charging and discharging circuit receives a disconnection instruction, the first switch module and the second switch module are disconnected.
As a further improvement of an embodiment of the present invention, the first and second switch modules constitute one air switch.
The portable power supply provided by the embodiment of the invention has the following advantages: an embodiment of the present invention provides a portable power supply, including: the charging and discharging device comprises a rechargeable battery, a charging and discharging circuit, a first controller, a second controller and an interface, wherein two ends of the charging and discharging circuit are respectively and electrically connected to the rechargeable battery and the interface; the first controller sends a clock signal to the second controller every other first preset time; the second controller sends a disconnection instruction to the charge and discharge circuit when not receiving the clock signal within a second preset time, wherein the second preset time is more than or equal to the first preset time; and when the charging and discharging circuit receives the disconnection instruction, the charging and discharging circuit disconnects the electric connection between the rechargeable battery and the interface. Thereby having high reliability.
Drawings
FIG. 1 is a block diagram of a prior art portable power supply;
FIG. 2 is a block diagram of a portable power supply in an embodiment of the invention;
fig. 3A and 3B are circuit diagrams in the portable power supply in the embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
An embodiment of the present invention provides a portable power supply, as shown in fig. 2, including:
the charging and discharging control circuit comprises a rechargeable battery 21, a charging and discharging circuit 22, a first controller 241, a second controller 242 and an interface 23, wherein two ends of the charging and discharging circuit 22 are respectively and electrically connected to the rechargeable battery 21 and the interface 23; here, the rechargeable battery 21 may be: the first Controller and the second Controller may be an MCU (Micro Controller Unit), the interface 23 may be a USB (Universal Serial Bus) interface, and the interface 23 may output a Direct Current (DC) or an Alternating Current (AC).
The first controller 241 sends a clock signal to the second controller 242 every first preset time; here, the Clock Signal (Clock Signal) is the basis of sequential logic, which determines when the state in the logic cell is updated, and is a semaphore with a fixed period and which is independent of operation
The second controller 242 sends a disconnection instruction to the charge and discharge circuit 22 when the clock signal is not received within a second preset time, wherein the second preset time is greater than or equal to the first preset time; the charging and discharging circuit 22 disconnects the electrical connection between the rechargeable battery 21 and the interface 23 when receiving the disconnection command. Here, when the electrical connection between the rechargeable battery 21 and the interface 23 is disconnected, neither the charging operation nor the discharging operation is performed on the rechargeable battery 21.
Here, when the first controller 241 is normal, a clock signal is sent to the second controller 242 every a first preset time; on the other hand, when the first controller 241 malfunctions, the clock signal cannot be transmitted to the second controller 241. Since the second preset time is greater than or equal to the first preset time, the second controller 242 should be able to receive the clock signal within the second preset time, and thus, if the second controller 242 receives the clock signal, it can be determined that the first controller 241 is not malfunctioning at this time. If the second controller 242 does not receive the clock signal within the second preset time, it may be determined that the first controller 241 has failed, and the electrical connection between the rechargeable battery 21 and the interface 23 may be disconnected in order to protect the rechargeable battery 11 and prevent a danger.
Optionally, the first controller and the second controller are provided with an independent crystal oscillator, a reset circuit, a power supply and the like, so that independent and stable operation of the two controllers can be guaranteed, and the reliability of the portable power supply is greatly improved.
In this embodiment, the second preset time is 3 × the first preset time. I.e. the duration of the second preset time is three times the duration of the first preset time.
In this embodiment, a clock signal bus is disposed between the first controller 241 and the second controller 242, a first timer is disposed in the first controller 241, and the first timer generates an interrupt every fourth preset time; the "sending the clock signal to the second controller 242" specifically includes: when the first timer generates interruption, setting the level in the clock signal bus to be low level, continuing for a third preset time, and then setting the level of the clock signal bus to be high level; the second controller 242 receives the clock signal when it detects that the clock signal bus changes from high level to low level. Here, when the second controller detects a falling edge, the clock signal is received.
In this embodiment, a second timer is disposed in the second controller 242, and the timeout time of the second timer is a second preset time; the second controller 242 resets the second timer upon receiving the clock signal; when the second timer times out, the second controller 242 determines that the clock signal is not received within a second preset time. Here, after the second timer is reset, the second timer may be timed out after a second preset time elapses, and thus, when the second timer is timed out, it may be determined that the second controller 242 does not receive the clock signal after the second preset time elapses.
In this embodiment, an enable signal bus is provided between the first controller 241 and the second controller 242; the first controller 241 reads the state information of the rechargeable battery 21 and then sends a sampling enable signal to the second controller 242 through the enable signal bus, and the second controller 242 reads the state information of the rechargeable battery 21 when receiving the sampling enable signal. Here, if both the first and second controllers can control the charge/discharge circuit 22, both the first and second controllers need to acquire the state information of the rechargeable battery 21, and in the portable power supply, after the first controller 241 finishes reading the state information, the second controller 242 transmits an enable signal to enable the second controller 242 to read the state information of the rechargeable battery 21.
Alternatively, the first controller 241 may succeed or fail in reading the status information of the rechargeable battery 21, and may wait for a preset time if the status information is failed to be read, and then continue to try to read the status information, but when the number of consecutive read failures is greater than or equal to a threshold value, it may be determined that the rechargeable battery 21 has a fault, and in order to prevent a hazard, the first controller 241 may control the charging and discharging circuit 22 to disconnect the electrical connection between the rechargeable battery 21 and the interface 23. In addition, in the portable power supply, a display may be further provided, on which the malfunction can be shown, and when the rechargeable battery 21 is normal, the amount of charge of the rechargeable battery 21 can be displayed.
Alternatively, the rechargeable battery 21 may provide power to the charging and discharging circuit 22, the interface 23, the first controller 241 and the second controller 242. The portable power supply may be further provided with a button switch, and when the button switch is closed, the rechargeable battery 21 starts to supply power to the charge and discharge circuit 22, the interface 23, the first controller 241, and the second controller 242. In the portable power supply, voltages required by different components are usually different, and therefore, a dc chopper may be provided in the portable power supply to supply dc power with different voltages to the different components, for example, when the first and second controllers are an MCU, dc power of 5V needs to be supplied to the MCU, and when a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) is provided in the portable power supply, dc power of 13.25V needs to be supplied to the MOSFET.
Optionally, the programs executed by the first and second controllers may be different, for example, the second controller may be a supplement to the first controller, the first and second controllers may perform different functions, and a firmware upgrade module may be provided in the portable power supply. For example, a USB interface may be provided on an outer surface of the portable power supply, so that a storage device storing firmware can be inserted into the USB interface, and thus the firmware in the first and second controllers can be upgraded; the portable power supply may be provided with a communication interface through which it is possible to connect to the internet, on which a server storing firmware is provided, so that firmware upgrade can be performed through the communication interface.
In this embodiment, the method further includes: a battery state detector 25, wherein the battery state detector 25 can read the state information of the rechargeable battery 21 and can latch the state information; the "reading of the state information of the rechargeable battery 21 by the first controller 241" specifically includes: the first controller 241 sends a first reading instruction to the battery status detector 25; when receiving a first reading instruction, the battery state detector 25 reads the state information of the rechargeable battery 21, latches the state information, and sends the state information to the first controller 241; the "reading, by the second controller 242, the state information of the rechargeable battery 21 when receiving the sampling enable signal" specifically includes: the second controller 242 issues a second read instruction to the battery state detector 25 when receiving the sampling enable signal; the battery state detector 25 transmits the latched state information to the second controller 242 upon receiving the second read instruction. Here, the battery state detector 25 can latch the state information, so that the first and second controllers can read the same state information.
Alternatively, the battery status detector 25 may obtain the status information of the rechargeable battery 21 in real time, but does not latch the status information, and when receiving the first read command, the battery status detector may latch the obtained status information.
Optionally, the rechargeable battery 21 usually includes a plurality of status information, each status information corresponds to a status type (for example, the status type corresponding to the temperature value is a temperature), and therefore, the process of reading the status information by the first controller and the second controller may be: the first controller 241 sends a read command to the battery status detector 25, and the battery status detector 25 acquires all the pieces of status information and latches the pieces of status information.
Then, the first controller 241 sends a status type to the battery status detector 25, and when the battery status detector 25 receives the status type (which may be sent by an SPI protocol, Serial Peripheral Interface), the status information corresponding to the status type is sent to the first controller 241; then sends a sampling enable signal to the second controller 242 through the enable signal bus, and the second controller 242 reads the state information corresponding to the state type from the battery state detector 25 when receiving the sampling enable signal; after that, the first and second controllers 241 continue to read the state information corresponding to the next state type according to the above method, and after the state information corresponding to the last state type is completely read by the first and second controllers, the battery state detector 25 may be controlled to delete the latched state information.
Alternatively, the state information latched by the battery state detector 25 may be Analog quantity, and the first controller and the second controller also need to perform AD (Analog to Digital Converter) conversion.
In this embodiment, a communication line is provided between the first controller 241 and the second controller 242, any one of the first controller and the second controller can send first data to the other controller through the communication line, and the other controller sends second data when successfully receiving the first data; when any of the controllers does not receive the second data, a disconnection instruction is sent to the charge and discharge circuit 22. Here, the first controller 241 can transmit the first data to the second controller 242 through the communication line, and when the second controller 242 receives the first data, the second controller 242 transmits the second data to the first controller 241, so that the first controller 241 can receive the second data, and when the second controller 242 fails (especially when software has a bug), the first controller 241 cannot receive the second data. Similarly, the second controller 242 can transmit the first data to the first controller 241 through the communication line, and the first controller 241 transmits the second data to the second controller 242 when receiving the first data, so that the second controller 242 can receive the second data, and when the first controller 241 has a fault (especially when software has a bug), the second controller 242 cannot receive the second data. It will be appreciated that this is effective to prevent the other controller from running away and thereby issuing a false control signal.
Here, the communication line may use a UART (Universal Asynchronous Receiver/Transmitter) protocol and use a CRC (Cyclic Redundancy Check) Check.
Optionally, the "when any controller does not receive the second data, the sending of the disconnection instruction to the charge and discharge circuit 22" may specifically be: when the second data is not received within a preset time period (for example, 3 clock cycles), either controller sends an off instruction to the charge and discharge circuit 22.
Optionally, the first data may include: the switch status, since the second controller 242 is not directly external, the external switch status (system power on, power off, forced closing) needs to be transmitted through the first controller 241. Analog quantity calibration, because the second controller 242 needs to collect analog quantity, it needs to calibrate the reference value of the analog quantity to ensure that the sampling of the two is comparable. When configuring the protection parameters, only the first controller 241 may be upgraded, the program in the second controller 242 is semi-cured, and the first controller 241 upgrades the parameters of the second controller 242. While the slave second controller 242 may be functionally dormant or awake through parameter configuration.
Alternatively, the first controller 241 may issue a disconnection instruction to the charge and discharge circuit 22 when it is determined that the rechargeable battery 21 is in an abnormal state based on the read state information; the second controller 242 reads the state information of the rechargeable battery 21 when receiving the clock signal; and issues a disconnection instruction to the charge and discharge circuit 22 when it is determined that the rechargeable battery 21 is in an abnormal state based on the read state information.
Optionally, the first controller 241 sends a first connection instruction to the charging and discharging circuit 22 when determining that the rechargeable battery 21 is in a normal state based on the read state information; the second controller 242 sends a second connection instruction to the charge and discharge circuit 22 when determining that the rechargeable battery 21 is in a normal state based on the read state information; the charging and discharging circuit 22 maintains the electrical connection between the rechargeable battery 21 and the interface 23 when receiving the first connection command and the second connection command within a preset time.
In this embodiment, as shown in fig. 3A, the rechargeable battery 21 is a dc power supply, the charging and discharging circuit 22 includes a charging control module 221 and a discharging control module 222, one end of the charging control module 221 is electrically connected to a negative electrode of the rechargeable battery 21, the other end of the charging control module is electrically connected to one end of the discharging control module 222, and the other end of the discharging control module 222 is electrically connected to the interface 23; the charging control module 221 includes: a resistor R42, a diode D461, a resistor R156, a MOS transistor Q15 and a diode D462; a first end of the resistor R42 is electrically connected to the control input terminal IN221, and a second end is electrically connected to the cathode of the diode D461, the first end of the resistor R156, and the gate of the MOS transistor Q15; the anode of the diode D461 and the second end of the resistor R156 are both electrically connected to the output terminal OUT 221; the source electrode of the MOS transistor Q15 is electrically connected to the negative electrode of the rechargeable battery 21, and the drain electrode is electrically connected to the output end OUT 221; the cathode of the diode D462 is electrically connected to the source electrode of the MOS transistor Q15, and the anode is electrically connected to the drain electrode of the MOS transistor Q15; the discharge control module 222 includes: the resistor R66, the diode D671, the resistor R116, the MOS transistor Q33 and the diode D672; a first end of the resistor R66 is electrically connected to the control input terminal IN222, and a second end is electrically connected to the cathode of the diode D671, the first end of the resistor R116 and the gate of the MOS transistor Q33; the anode of the diode D671 and the second terminal of the resistor R116 are both electrically connected to the output terminal OUT 221; the source electrode of the MOS transistor Q33 is electrically connected with the interface 23, and the drain electrode is electrically connected with the output end OUT 221; the cathode of the diode D672 is electrically connected to the source of the MOS transistor Q33, and the anode is electrically connected to the drain of the MOS transistor Q33; the input terminal IN221 and the input terminal IN222 both receive control of the first and second controllers.
Here, as shown IN fig. 3A, when the input terminal IN221 inputs a high level, the source and the drain of the MOS transistor Q15 are turned on, and a current is allowed to flow from the negative electrode of the rechargeable battery to the output terminal OUT221, and also allowed to flow from the output terminal OUT221 to the negative electrode of the rechargeable battery; when the input terminal IN221 inputs a low level, the source and the drain of the MOS transistor Q15 are disconnected, and only a current is allowed to flow from the output terminal OUT221 to the negative electrode of the rechargeable battery.
Here, as shown IN fig. 3B, when the input terminal IN222 inputs a high level, the source and the drain of the MOS transistor Q33 are turned on, and a current is allowed to flow from the second switch module 224 to the output terminal OUT221, and also allowed to flow from the output terminal OUT221 to the second switch module 224; when the input terminal IN221 inputs a low level, the source and the drain of the MOS transistor Q33 are disconnected, and only a current is allowed to flow from the output terminal OUT221 to the second switching module 224.
In this embodiment, a first switch module 223 is disposed between the positive electrode of the rechargeable battery 21 and the interface 23, and a second switch module 224 is disposed between the discharge control module 222 and the interface 23; the step of disconnecting the electrical connection between the rechargeable battery 21 and the interface 23 when the charging and discharging circuit 22 receives the disconnection instruction specifically includes: when the charging and discharging circuit 22 receives the disconnection instruction, the first and second switch modules are disconnected.
In this embodiment, the first and second switch modules constitute an air switch. Here, when the air switch is turned off, both the first and second switch modules are turned off.
Here, as shown in fig. 2 and 3B, the charge and discharge circuit 22 further includes a first processing module 225 and a second processing module 226.
The first processing module 225 includes: a resistor R21, a first end of the resistor R21 being electrically connected to the second controller 242; a resistor R271, a first end of the resistor R271 being electrically connected to the first controller 241; a resistor R54, a resistor R2, a transistor Q40, a MOS transistor Q64 and a resistor R272, wherein a first terminal of the resistor R54 is electrically connected to a power supply (for example, a direct current of 13.25V is provided by a direct current chopper), a second terminal is electrically connected to a first terminal of the resistor R2, a second terminal of the resistor R2 is electrically connected to a source of the transistor Q40, a gate of the transistor Q40 is electrically connected to a second terminal of the resistor R21, a drain of the transistor Q40 is electrically connected to a drain of the MOS transistor Q64, a gate of the MOS transistor Q64 is electrically connected to a second terminal of the resistor R271, a source of the MOS transistor Q64 is connected to an analog ground, a first terminal of the resistor R272 is electrically connected to a gate of the MOS transistor Q64, and a second; a transistor Q27, a transistor Q37, a transistor Q57, a resistor R40, a resistor R120, and a capacitor C110, a source of the transistor Q27 being electrically connected to the power supply, a gate of the transistor Q27 being electrically connected to a second end of the resistor R54, a drain of the transistor Q27 being electrically connected to a first end of the resistor R40, a second end of the resistor R40 being electrically connected to drive ground, a source of the transistor Q37 being electrically connected to the power supply, a gate of the transistor Q37 being electrically connected to a drain of the transistor Q27, a drain of the transistor Q37 being electrically connected to a source of the transistor Q57, a gate of the transistor Q57 being electrically connected to a drain of the transistor Q27, a drain of the transistor Q57 being electrically connected to drive ground, a first end of the resistor R120 being electrically connected to a drain of the transistor Q37, another end being electrically connected to the input terminal IN221, a first end of the capacitor C110 being electrically connected to.
The second processing module 226 includes: a resistor R58, a first end of the resistor R58 being electrically connected to the second controller 242; a resistor R273, a first end of the resistor R273 being electrically connected to the first controller 241; a resistor R59, a resistor R39, a transistor Q26, a MOS transistor Q59 and a resistor R328, wherein a first terminal of the resistor R59 is electrically connected to a power supply (e.g., a direct current of 13.25V is provided by a direct current chopper), a second terminal is electrically connected to a first terminal of the resistor R39, a second terminal of the resistor R39 is electrically connected to a source of the transistor Q26, a gate of the transistor Q26 is electrically connected to a second terminal of the resistor R58, a drain of the transistor Q26 is electrically connected to a drain of the MOS transistor Q59, a gate of the MOS transistor Q59 is electrically connected to a second terminal of the resistor R273, a source of the MOS transistor Q59 is connected to an analog ground, a first terminal of the resistor R328 is electrically connected to a gate of the MOS transistor Q59, and a; a transistor Q25, a transistor Q56, a transistor Q58, a resistor R41, a resistor R166, and a capacitor C108, wherein a source of the transistor Q25 is electrically connected to the power supply, a gate of the transistor Q25 is electrically connected to a second end of the resistor R59, a drain of the transistor Q25 is electrically connected to a first end of the resistor R41, a source of the transistor Q56 is electrically connected to the power supply, a gate of the transistor Q56 is electrically connected to a drain of the transistor Q25, a drain of the transistor Q56 is electrically connected to a source of the transistor Q58, a gate of the transistor Q58 is electrically connected to a drain of the transistor Q25, a drain of the transistor Q58 is electrically connected to a second end of the resistor R41, a first end of the resistor R166 is electrically connected to a drain of the transistor Q56, another end is electrically connected to the input terminal IN222, and a first end of the capacitor C108 is electrically connected to.
Wherein the analog ground and the driving ground do not interfere with each other.
As shown in fig. 3B, a capacitor C95 may be further disposed between the power supply and the output terminal OUT221, a first terminal of the capacitor C95 is electrically connected to the power supply, a second terminal of the capacitor C95 is electrically connected to the output terminal OUT221, a capacitor C33 is disposed between the second terminal of the capacitor C95 and the source of the transistor Q56, and a capacitor C32 is disposed between the second terminal of the capacitor C95 and the source of the transistor Q37.
Here, the protection levels of the first and second controllers may be different, and for the same fault, the threshold value for protection of the second controller 242 is strict and has a short time delay with respect to the first controller 241, the protection of the first controller 241 is divided into 2 levels, the 1 st level only limits the charge and discharge power, the 2 nd level disconnects the charge and discharge circuit 22, the protection of the second controller 241 is divided into the 3 rd level, and the charge and discharge circuit 22 is redundantly disconnected while the air switch is disconnected. Normally, the first controller 241 can disconnect the charging and discharging circuit 22, and if the charging and discharging circuit fails, including that the charging and discharging circuit 22 is not judged, the disconnection instruction is not sent, or the MOS transistor is adhered to the charging and discharging circuit, the charging and discharging circuit 22 is quickly disconnected as a supplement from the second controller 242, and the shunt opening air switch is driven. Even if the second controller and the second controller are both invalid, the air switch can still automatically cut off the power circuit when overcurrent occurs.
It should be understood that although the present description refers to embodiments, not every embodiment contains only a single technical solution, and such description is for clarity only, and those skilled in the art should make the description as a whole, and the technical solutions in the embodiments can also be combined appropriately to form other embodiments understood by those skilled in the art.
The above-listed detailed description is only a specific description of a possible embodiment of the present invention, and they are not intended to limit the scope of the present invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the scope of the present invention.

Claims (10)

1. A portable power supply, comprising:
the charging and discharging control system comprises a rechargeable battery (21), a charging and discharging circuit (22), a first controller (241), a second controller (242) and an interface (23), wherein two ends of the charging and discharging circuit (22) are respectively and electrically connected to the rechargeable battery (21) and the interface (23);
the first controller (241) sends a clock signal to the second controller (242) every first preset time;
the second controller (242) sends a disconnection instruction to the charge and discharge circuit (22) when the clock signal is not received within a second preset time, wherein the second preset time is more than or equal to the first preset time;
and the charging and discharging circuit (22) disconnects the electric connection between the rechargeable battery (21) and the interface (23) when receiving the disconnection instruction.
2. The portable power supply of claim 1, wherein:
the second preset time is 3 × the first preset time.
3. The portable power supply of claim 1, wherein:
a clock signal bus is arranged between the first controller (241) and the second controller (242), a first timer is arranged in the first controller (241), and the first timer can generate an interrupt every fourth preset time;
the sending the clock signal to the second controller (242) specifically includes: when the first timer generates interruption, setting the level in the clock signal bus to be low level, continuing for a third preset time, and then setting the level of the clock signal bus to be high level;
the second controller (242) receives the clock signal when it detects that the clock signal bus changes from high level to low level.
4. The portable power supply of claim 1, wherein:
a second timer is arranged in the second controller (242), and the timeout time of the second timer is a second preset time;
a second controller (242) resets the second timer upon receiving a clock signal;
when the second timer times out, the second controller (242) determines that the clock signal is not received within a second preset time.
5. The portable power supply of claim 1, wherein:
an enabling signal bus is arranged between the first controller (241) and the second controller (242);
the first controller (241) reads the state information of the rechargeable battery (21), then sends a sampling enabling signal to the second controller (242) through the enabling signal bus, and the second controller (242) reads the state information of the rechargeable battery (21) when receiving the sampling enabling signal.
6. The portable power supply of claim 5, further comprising:
a battery state detector (25), the battery state detector (25) being capable of reading state information of the rechargeable battery (21) and latching the state information;
the "reading of the state information of the rechargeable battery (21) by the first controller (241)" specifically includes: the first controller (241) sends a first reading instruction to the battery state detector (25); when receiving a first reading instruction, the battery state detector (25) reads the state information of the rechargeable battery (21), latches the state information and sends the state information to the first controller (241);
the step of reading the state information of the rechargeable battery (21) by the second controller (242) when receiving the sampling enabling signal specifically comprises the following steps: the second controller (242) sends a second reading instruction to the battery state detector (25) when receiving the sampling enabling signal; the battery state detector (25) sends the latched state information to the second controller (242) upon receiving a second read instruction.
7. The portable power supply of claim 1, wherein:
a communication line is arranged between the first controller (241) and the second controller (242), any one of the first controller and the second controller can send first data to the other controller through the communication line, and the other controller can send second data when successfully receiving the first data; and when any controller does not receive the second data, a disconnection instruction is sent to the charging and discharging circuit (22).
8. The portable power supply of claim 1, wherein:
the rechargeable battery (21) is a direct-current power supply, the charging and discharging circuit (22) comprises a charging control module (221) and a discharging control module (222), one end of the charging control module (221) is electrically connected to the negative electrode of the rechargeable battery (21), the other end of the charging control module is electrically connected to one end of the discharging control module (222), and the other end of the discharging control module (222) is electrically connected to the interface (23);
the charging control module (221) comprises: a resistor R42, a diode D461, a resistor R156, a MOS transistor Q15 and a diode D462; a first end of the resistor R42 is electrically connected to the control input terminal IN221, and a second end is electrically connected to the cathode of the diode D461, the first end of the resistor R156, and the gate of the MOS transistor Q15; the anode of the diode D461 and the second end of the resistor R156 are both electrically connected to the output terminal OUT 221; the source electrode of the MOS tube Q15 is electrically connected with the negative electrode of the rechargeable battery (21), and the drain electrode is electrically connected with the output end OUT 221; the cathode of the diode D462 is electrically connected to the source electrode of the MOS transistor Q15, and the anode is electrically connected to the drain electrode of the MOS transistor Q15;
the discharge control module (222) includes: the resistor R66, the diode D671, the resistor R116, the MOS transistor Q33 and the diode D672; a first end of the resistor R66 is electrically connected to the control input terminal IN222, and a second end is electrically connected to the cathode of the diode D671, the first end of the resistor R116 and the gate of the MOS transistor Q33; the anode of the diode D671 and the second terminal of the resistor R116 are both electrically connected to the output terminal OUT 221; the source electrode of the MOS tube Q33 is electrically connected with the interface (23), and the drain electrode is electrically connected with the output end OUT 221; the cathode of the diode D672 is electrically connected to the source of the MOS transistor Q33, and the anode is electrically connected to the drain of the MOS transistor Q33;
the input terminal IN221 and the input terminal IN222 both receive control of the first and second controllers.
9. The portable power supply of claim 8, wherein:
a first switch module (223) is arranged between the positive electrode of the rechargeable battery (21) and the interface (23), and a second switch module (224) is arranged between the discharge control module (222) and the interface (23);
the step of disconnecting the electrical connection between the rechargeable battery (21) and the interface (23) when the charging and discharging circuit (22) receives the disconnection instruction specifically includes: and the charging and discharging circuit (22) disconnects the first switch module and the second switch module when receiving a disconnection instruction.
10. The portable power supply of claim 9, wherein:
the first and second switch modules constitute an air switch.
CN202011123726.6A 2020-10-20 2020-10-20 Portable power supply Pending CN112152301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011123726.6A CN112152301A (en) 2020-10-20 2020-10-20 Portable power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011123726.6A CN112152301A (en) 2020-10-20 2020-10-20 Portable power supply

Publications (1)

Publication Number Publication Date
CN112152301A true CN112152301A (en) 2020-12-29

Family

ID=73954047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011123726.6A Pending CN112152301A (en) 2020-10-20 2020-10-20 Portable power supply

Country Status (1)

Country Link
CN (1) CN112152301A (en)

Similar Documents

Publication Publication Date Title
US9846472B2 (en) Firmware update method and power system thereof
WO2021170086A1 (en) Wireless earphone and wireless earphone system
EP4250515A1 (en) Smart connection apparatus, startup power supply, and battery clip
US11641124B2 (en) Electronic device and charging method thereof
CN104932653A (en) Computer startup management control system
CN206400353U (en) Unmanned plane break-make electric installation and unmanned plane
CN109358548A (en) A kind of charging method of automotive diagnostic system, vehicle diagnosis and automotive diagnostic unit
US20210191492A1 (en) Method of supplying electric power to a computer system
EP3316383A1 (en) Control circuit, battery provided with control circuit and battery control method
KR20190051341A (en) Battery Pack with locking recognition function
CN213521336U (en) Portable power supply
WO2024041427A1 (en) Battery metering system, electronic device and control method
CN103513742B (en) Terminal device
CN112152301A (en) Portable power supply
CN203520299U (en) Timer-power-on control circuit
CN202394174U (en) System and abnormal power failure protection device thereof
CN103107577B (en) Battery management circuit and terminal
CN108944746A (en) A kind of mobile unit and automobile
CN213368158U (en) Equipment configuration and firmware upgrading equipment based on NFC
CN111400211B (en) PCIe bus-based communication method and system
CN212796765U (en) Vehicle-mounted power consumption control device, vehicle-mounted information entertainment system and vehicle
US20200395634A1 (en) Battery control circuit, power supply control system, and mobile platform
CN208774692U (en) A kind of mobile unit and automobile
CN110417086B (en) Battery overdischarge reset control circuit and mobile terminal
CN220358837U (en) Parallel operation detection circuit of battery pack, battery pack and energy storage system

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 226100 No.888, Jiuhua Road, high tech Zone, Nantong City, Jiangsu Province

Applicant after: Wotai Energy Co.,Ltd.

Address before: 226100 No.888, Jiuhua Road, high tech Zone, Nantong City, Jiangsu Province

Applicant before: NEOVOLTAIC ENERGY NANTONG Co.,Ltd.