Portable Power

By designing the clock signal interaction mechanism between the first and second controllers in a portable power supply, the charging and discharging circuit is timely disconnected when the controller fails, solving the problem of inability to protect the rechargeable battery in the prior art and improving the reliability of the equipment.

CN112152301BActive Publication Date: 2025-04-11ALPHA ESS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011123726.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-20
Publication Date
2025-04-11
Estimated Expiration
2040-10-20

AI Technical Summary

Technical Problem

The existing portable power supply cannot disconnect the charging and discharging circuit in time when the controller fails, resulting in the rechargeable battery being unable to protect and may cause danger.

Method used

A portable power supply is designed, including a first controller and a second controller. The first controller sends a clock signal to the second controller every first preset time. When the second controller does not receive the clock signal within the second preset time, it issues a disconnection command to the charging and discharging circuit to ensure that the electrical connection can be disconnected in time when the controller fails.

Benefits of technology

Through this design, the reliability of the portable power supply is improved, ensuring that the rechargeable battery can be protected in a timely manner in the event of a controller failure and preventing dangers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112152301B_ABST
    Figure CN112152301B_ABST
Patent Text Reader

Abstract

The present invention provides a portable power source, comprising: a rechargeable battery, a charge and discharge circuit, a first controller, a second controller and an interface, wherein two ends of the charge and discharge circuit are electrically connected to the rechargeable battery and the interface respectively; the first controller sends a clock signal to the second controller at a first preset time interval; when the second controller does not receive the clock signal within the second preset time, it sends a disconnection instruction to the charge and discharge circuit, wherein the second preset time is greater than or equal to the first preset time; when the charge and discharge circuit receives the disconnection instruction, it disconnects the electrical connection between the rechargeable battery and the interface. Thus, the power source has high reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply, and in particular to a portable power supply. Background Art

[0002] A portable power source is a commonly used charging and discharging device that can provide electrical energy to electrical appliances in places where there is no access to the power grid. Figure 1 The portable power supply is a schematic diagram of a structure, which generally includes: a rechargeable battery 11, a charge and discharge circuit 12, an interface 13 and a controller 14, wherein the rechargeable battery 11 can store and output electric energy, and the two ends of the charge and discharge circuit 12 are electrically connected to the rechargeable battery 11 and the interface 13 respectively, and the charge and discharge circuit 12 disconnects and connects the electrical connection between the rechargeable battery 11 and the interface 13, and can also perform operations such as voltage transformation and rectification, and the interface 13 is used to connect electrical appliances. During the charging and discharging process, the controller 14 will monitor the working 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 and low temperature, etc.), it will control the charge and discharge circuit 12 to cut off the electrical connection between the rechargeable battery 11 and the interface 13, so that the rechargeable battery 11 can be protected and the occurrence of danger can be prevented. It can be understood that if the controller 14 has a fault (for example, a harsh environment, a program bug, a chip fault or a control circuit fault or an overcurrent, etc.), it will not be able to make a judgment in time and cut off the charge and discharge circuit 12 in time. Summary of the invention

[0003] The object of the present invention is to provide a portable power source.

[0004] In order to achieve one of the above-mentioned purposes of the invention, one embodiment of the present invention provides a portable power supply, including: a rechargeable battery, a charge and discharge circuit, a first controller, a second controller and an interface, wherein two ends of the charge and discharge circuit are electrically connected to the rechargeable battery and the interface respectively; the first controller sends a clock signal to the second controller every first preset time; when the second controller does not receive the clock signal within a second preset time, the second controller sends a disconnection instruction to the charge and discharge circuit, wherein the second preset time ≥ the first preset time; when the charge and discharge circuit receives the disconnection instruction, the electrical connection between the rechargeable battery and the interface is disconnected.

[0005] As a further improvement of an implementation manner of the present invention, the second preset time=3*first preset time.

[0006] As a further improvement of one embodiment of the present invention, a clock signal bus is arranged between the first controller and the second controller, a first timer is arranged in the first controller, and the first timer generates an interrupt once every fourth preset time; the "sending a clock signal to the second controller" specifically includes: when the first timer generates an interrupt, the level in the clock signal bus is set to a low level, and lasts for a third preset time, and then the level of the clock signal bus is set to a high level; when the second controller detects that the clock signal bus changes from a high level to a low level, it receives the clock signal.

[0007] As a further improvement of one embodiment of the present invention, a second timer is provided in the second controller, and the timeout period of the second timer is a second preset time; when the second controller receives a clock signal, the second timer is reset; when the second timer times out, the second controller determines that no clock signal is received within the second preset time.

[0008] As a further improvement of one embodiment of the present invention, an enable signal bus is set between the first controller and the second controller; the first controller reads the status information of the rechargeable battery, and then sends a sampling enable signal to the second controller through the enable signal bus, and the second controller reads the status information of the rechargeable battery when receiving the sampling enable signal.

[0009] As a further improvement of an embodiment of the present invention, it also includes: a battery status detector, which can read the status information of the rechargeable battery and can latch the status information; the "first controller reads the status information of the rechargeable battery" specifically includes: the first controller sends a first read instruction to the battery status detector; when the battery status detector receives the first read instruction, it reads the status information of the rechargeable battery, latches the status information, and sends the status information to the first controller; the "the second controller reads the status information of the rechargeable battery when receiving a sampling enable signal" specifically includes: when the second controller receives the sampling enable signal, it sends a second read instruction to the battery status detector; when the battery status detector receives the second read instruction, it sends the latched status information to the second controller.

[0010] As a further improvement of one embodiment of the present invention, a communication line is set between the first controller and the second controller. Either the first or second controller can send first data to the other controller through the communication line. When the other controller successfully receives the first data, it will send second data. When either controller fails to receive the second data, it sends a disconnection instruction to the charging and discharging circuit.

[0011] As a further improvement of an embodiment of the present invention, the rechargeable battery is a DC power supply, and the charge and discharge circuit includes a charge control module and a discharge control module, one end of the charge control module is electrically connected to the negative electrode of the rechargeable battery, and the other end is electrically connected to one end of the discharge control module, and the other end of the discharge control module is electrically connected to the interface; the charge control module includes: a resistor R42, a diode D461, a resistor R156, a MOS tube Q15 and a diode D462; the first end of the resistor R42 is electrically connected to the control input terminal IN221, and the second end is electrically connected to the negative electrode of the diode D461, the first end of the resistor R156 and the gate of the MOS tube Q15; the positive electrode of the diode D461 and the second end of the resistor R156 are both electrically connected to the output terminal OUT221; the source of the MOS tube Q15 is electrically connected to the negative electrode of the rechargeable battery, and the drain is electrically connected to the output terminal OUT221; the diode The cathode of the tube D462 is electrically connected to the source of the MOS tube Q15, and the anode is electrically connected to the drain of the MOS tube Q15; the discharge control module includes: a resistor R66, a diode D671, a resistor R116, a MOS tube Q33 and a diode D672; the first end of the resistor R66 is electrically connected to the control input terminal IN222, and the 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 tube Q33; the anode of the diode D671 and the second end of the resistor R116 are both electrically connected to the output terminal OUT221; the source of the MOS tube Q33 is electrically connected to the interface, and the drain is electrically connected to the output terminal OUT221; the cathode of the diode D672 is electrically connected to the source of the MOS tube Q33, and the anode is electrically connected to the drain of the MOS tube Q33; the input terminal IN221 and the input terminal IN222 are both controlled by the first and second controllers.

[0012] As a further improvement of one embodiment of the present invention, a first switch module is arranged between the positive electrode of the rechargeable battery and the interface, and a second switch module is arranged between the discharge control module and the interface; the "the charging and discharging circuit disconnects the electrical connection between the rechargeable battery and the interface upon receiving a disconnection instruction" specifically includes: the charging and discharging circuit disconnects the first and second switch modules upon receiving a disconnection instruction.

[0013] As a further improvement of an embodiment of the present invention, the first and second switch modules constitute an air switch.

[0014] The portable power supply provided by the embodiment of the present invention has the following advantages: The embodiment of the present invention provides a portable power supply, comprising: a rechargeable battery, a charge and discharge circuit, a first controller, a second controller and an interface, wherein the two ends of the charge and discharge circuit are electrically connected to the rechargeable battery and the interface respectively; the first controller sends a clock signal to the second controller every first preset time; when the second controller does not receive the clock signal within the second preset time, it sends a disconnection instruction to the charge and discharge circuit, wherein the second preset time is ≥ the first preset time; when the charge and discharge circuit receives the disconnection instruction, it disconnects the electrical connection between the rechargeable battery and the interface. Thus, it has high reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a structural diagram of a portable power supply in the prior art;

[0016] Figure 2 is a structural diagram of a portable power supply in an embodiment of the present invention;

[0017] Figure 3A and Figure 3B is a circuit diagram of a portable power supply in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The present invention will be described in detail below in conjunction with the various embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.

[0019] The embodiment of the present invention provides a portable power supply, such as Figure 2 As shown, including:

[0020] A rechargeable battery 21, a charge and discharge circuit 22, a first controller 241, a second controller 242 and an interface 23, wherein two ends of the charge and discharge circuit 22 are electrically connected to the rechargeable battery 21 and the interface 23, respectively; here, the rechargeable battery 21 may be a nickel-cadmium battery, a nickel-metal hydride battery, a lithium-ion battery, a lead-acid battery or an iron-lithium battery, etc., the first and second controllers may be MCUs (MicroController Units), the interface 23 may be a USB (Universal Serial Bus) interface, etc., and the interface 23 may output direct current (DC) or alternating current (AC).

[0021] The first controller 241 sends a clock signal to the second controller 242 at a first preset time interval. Here, the clock signal is the basis of sequential logic and is used to determine when the state in the logic unit is updated. It is a signal quantity with a fixed period and is independent of operation.

[0022] When the second controller 242 does not receive the clock signal within the second preset time, it sends a disconnection instruction to the charge and discharge circuit 22, wherein the second preset time is greater than or equal to the first preset time; when the charge and discharge circuit 22 receives the disconnection instruction, it disconnects the electrical connection between the rechargeable battery 21 and the interface 23. Here, when the electrical connection between the rechargeable battery 21 and the interface 23 is disconnected, the rechargeable battery 21 cannot be charged or discharged.

[0023] Here, when the first controller 241 is normal, it will send a clock signal to the second controller 242 every first preset time; conversely, when the first controller 241 fails, it cannot send a clock signal to the second controller 241. Since the second preset time ≥ the first preset time, the second controller 242 should be able to receive the clock signal within the second preset time. Therefore, if the second controller 242 receives the clock signal, it can be determined that the first controller 241 is not faulty at this time. If the second controller 242 does not receive the clock signal within the second preset time, it can be determined that the first controller 241 has failed. In order to protect the rechargeable battery 11 and prevent the occurrence of danger, the electrical connection between the rechargeable battery 21 and the interface 23 can be disconnected.

[0024] Optionally, the first and second controllers are provided with independent crystal oscillators, reset circuits, power supplies, etc., so as to ensure independent and stable operation of the two controllers, thereby greatly improving the reliability of the portable power supply.

[0025] In this embodiment, the second preset time=3*the first preset time, that is, the second preset time is three times the first preset time.

[0026] In this embodiment, a clock signal bus is provided between the first controller 241 and the second controller 242, and a first timer is provided in the first controller 241, and the first timer generates an interrupt once every fourth preset time; the "sending a clock signal to the second controller 242" specifically includes: when the first timer generates an interrupt, the level in the clock signal bus is set to a low level, and it lasts for a third preset time, and then the level of the clock signal bus is set to a high level; when the second controller 242 detects that the clock signal bus changes from a high level to a low level, the clock signal is received. Here, when the second controller detects a falling edge, the clock signal is received.

[0027] In this embodiment, a second timer is provided 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 when receiving a clock signal; when the second timer times out, the second controller 242 determines that the clock signal has not been received within the second preset time. Here, after the second timer is reset, the second timer will time out after the second preset time has passed, so when the second timer times out, it can be determined that the second controller 242 has not received the clock signal after the second preset time has passed.

[0028] 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 status 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 status information of the rechargeable battery 21 when receiving the sampling enable signal. Here, both the first and second controllers can control the charge and discharge circuit 22, so both the first and second controllers need to obtain the status information of the rechargeable battery 21. In this portable power supply, after the first controller 241 has finished reading the status information, it will send an enable signal to the second controller 242, so that the second controller 242 can also read the status information of the rechargeable battery 21.

[0029] Optionally, the first controller 241 may succeed or fail when reading the status information of the rechargeable battery 21. If the reading of the status information fails, it can wait for a preset time and then continue to try to read the status information. However, when the number of consecutive reading failures is greater than or equal to a threshold, it can be considered that the rechargeable battery 21 has a fault. In order to prevent the occurrence of danger, the first controller 241 can control the charge and discharge circuit 22 to disconnect the electrical connection between the rechargeable battery 21 and the interface 23. In addition, a display can also be provided in the portable power supply, on which the fault can be displayed, and when the rechargeable battery 21 is normal, the power level of the rechargeable battery 21 can be displayed.

[0030] Optionally, the rechargeable battery 21 can provide power for the charge and discharge circuit 22, the interface 23, the first controller 241 and the second controller 242. The portable power supply can also be provided with a button switch. When the button switch is closed, the rechargeable battery 21 starts to provide power for the charge and discharge circuit 22, the interface 23, the first controller 241 and the second controller 242. In the portable power supply, the voltages required by different components are usually different. Therefore, a DC chopper can be provided in the portable power supply to provide DC power of different voltages for different components. For example, when the first and second controllers are MCUs, 5V DC power needs to be provided for the MCU. When a MOSFET (Metal-Oxide-SemiconductorField-Effect Transistor) is provided in the portable power supply, 13.25V DC power needs to be provided for the MOSFET.

[0031] Optionally, the programs executed by the first and second controllers may be different. For example, the second controller may be used as a supplement to the first controller. The first and second controllers may perform different functions. A firmware upgrade module may be provided in the portable power supply. For example, a USB interface may be provided on the outer surface of the portable power supply, so that a storage device storing firmware may be inserted into the USB interface, so that the firmware in the first and second controllers may be upgraded; the portable power supply may be provided with a communication interface, through which it may be connected to the Internet. A server storing firmware is provided on the Internet, so that the firmware upgrade may be performed through the communication interface.

[0032] In this embodiment, it also includes: a battery status detector 25, which can read the status information of the rechargeable battery 21 and latch the status information; the "first controller 241 reads the status information of the rechargeable battery 21" specifically includes: the first controller 241 sends a first read instruction to the battery status detector 25; when the battery status detector 25 receives the first read instruction, it reads the status information of the rechargeable battery 21, latches the status information, and sends the status information to the first controller 241; the "second controller 242 reads the status information of the rechargeable battery 21 when receiving the sampling enable signal" specifically includes: when the second controller 242 receives the sampling enable signal, it sends a second read instruction to the battery status detector 25; when the battery status detector 25 receives the second read instruction, it sends the latched status information to the second controller 242. Here, the battery status detector 25 can latch the status information, so that the first and second controllers can read the same status information.

[0033] Optionally, the battery status detector 25 acquires the status information of the rechargeable battery 21 in real time, but does not latch it. After receiving the first read instruction, the acquired status information is latched.

[0034] Optionally, the rechargeable battery 21 usually includes multiple status information, each status information corresponds to a status type (for example, the status type corresponding to the temperature value is temperature). Therefore, the process of the first and second controllers reading the status information can be: the first controller 241 sends a read instruction to the battery status detector 25, and the battery status detector 25 will obtain all the multiple status information and latch the multiple status information.

[0035] Then, the first controller 241 sends the status type to the battery status detector 25. When the battery status detector 25 receives the status type (which can be sent through the SPI protocol, Serial Peripheral Interface), it sends the status information corresponding to the status type to the first controller 241; then, a sampling enable signal is sent to the second controller 242 through the enable signal bus. When the second controller 242 receives the sampling enable signal, it reads the status information corresponding to the status type from the battery status detector 25; then, the first and second controllers 241 continue to read the status information corresponding to the next status type according to the above method. When the status information corresponding to the last status type has been read by the first and second controllers, the battery status detector 25 can be controlled to delete its latched status information.

[0036] Optionally, the status information latched by the battery status detector 25 may be an analog quantity, and the first and second controllers also need to perform AD (Analog to Digital Converter) conversion.

[0037] In this embodiment, a communication line is provided between the first controller 241 and the second controller 242, and either of the first and second controllers can send the first data to the other controller through the communication line, and the other controller will send the second data when successfully receiving the first data; when either controller does not receive the second data, a disconnection instruction is sent to the charge and discharge circuit 22. Here, the first controller 241 can send the first data to the second controller 242 through the communication line, and the second controller 242 will send the second data to the first controller 241 when receiving the first data, so that the first controller 241 can receive the second data. When the second controller 242 fails (especially when there is a bug in the software), the first controller 241 cannot receive the second data. Similarly, the second controller 242 can send the first data to the first controller 241 through the communication line. When the first controller 241 receives the first data, it will send the second data to the second controller 242, so that the second controller 242 can receive the second data. When the first controller 241 fails (especially when there is a bug in the software), the second controller 242 cannot receive the second data. It can be understood that this can effectively prevent the other controller from running away and thus sending out an erroneous control signal.

[0038] Here, the communication line may adopt a UART (Universal Asynchronous Receiver / Transmitter) protocol and a CRC (Cyclic Redundancy Check) check.

[0039] Optionally, “when any of the controllers does not receive the second data, issuing a disconnection instruction to the charge and discharge circuit 22” may be specifically: when any of the controllers does not receive the second data within a preset time period (for example, 3 clock cycles), issuing a disconnection instruction to the charge and discharge circuit 22.

[0040] Optionally, the first data may include: switch status, because the second controller 242 is not directly external, the external switch status (system power on, power off, forced closure) needs to be transmitted through the first controller 241. Analog quantity calibration, because the second controller 242 needs to collect analog quantities, the reference value of the analog quantity needs to be calibrated to ensure that the sampling of the two is comparable. When configuring protection parameters, only the first controller 241 can be upgraded, and the program in the second controller 242 is semi-solidified, and the first controller 241 upgrades the parameters of the second controller 242. At the same time, the second controller 242 can be functionally dormant or awakened through parameter configuration.

[0041] Optionally, when the first controller 241 determines that the rechargeable battery 21 is in an abnormal state based on the read status information, it issues a disconnection instruction to the charge and discharge circuit 22; when the second controller 242 receives the clock signal, it reads the status information of the rechargeable battery 21; and when it determines that the rechargeable battery 21 is in an abnormal state based on the read status information, it issues a disconnection instruction to the charge and discharge circuit 22.

[0042] Optionally, when the first controller 241 determines that the rechargeable battery 21 is in a normal state based on the read status information, the first controller 241 sends a first connection instruction to the charge and discharge circuit 22; when the second controller 242 determines that the rechargeable battery 21 is in a normal state based on the read status information, the second controller 242 sends a second connection instruction to the charge and discharge circuit 22; when the charge and discharge circuit 22 receives the first connection instruction and the second connection instruction within a preset time, the charge and discharge circuit 22 maintains the electrical connection between the rechargeable battery 21 and the interface 23.

[0043] In this embodiment, Figure 3AAs shown, the rechargeable battery 21 is a DC power supply, and the charge and discharge circuit 22 includes a charge control module 221 and a discharge control module 222. One end of the charge control module 221 is electrically connected to the negative electrode of the rechargeable battery 21, and the other end is electrically connected to one end of the discharge control module 222. The other end of the discharge control module 222 is electrically connected to the interface 23; the charge control module 221 includes: a resistor R42, a diode D461, a resistor R156, a MOS transistor Q15 and a diode D462; the first end of the resistor R42 is electrically connected to the control input terminal IN221, and the second end is electrically connected to the negative electrode of the diode D461, the first end of the resistor R156 and the gate of the MOS transistor Q15; the positive electrode of the diode D461 and the second end of the resistor R156 are both electrically connected to the output terminal OUT221; the source of the MOS transistor Q15 is electrically connected to the negative electrode of the rechargeable battery 21, and the drain is electrically connected to the output terminal OUT221 ; The cathode of the diode D462 is electrically connected to the source of the MOS transistor Q15, and the anode is electrically connected to the drain of the MOS transistor Q15; the discharge control module 222 includes: a resistor R66, a diode D671, a resistor R116, a MOS transistor Q33 and a diode D672; the first end of the resistor R66 is electrically connected to the control input terminal IN222, and the 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 end of the resistor R116 are both electrically connected to the output terminal OUT221; the source of the MOS transistor Q33 is electrically connected to the interface 23, and the drain is electrically connected to the output terminal OUT221; 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 are both controlled by the first and second controllers.

[0044] Here, if Figure 3A As shown, when the input terminal IN221 inputs a high level, the source and drain of the MOS tube Q15 are turned on, allowing current to flow from the negative electrode of the rechargeable battery to the output terminal OUT221, and also allowing current 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 drain of the MOS tube Q15 are disconnected, and only current is allowed to flow from the output terminal OUT221 to the negative electrode of the rechargeable battery.

[0045] Here, if Figure 3BAs shown, when the input terminal IN222 inputs a high level, the source and drain of the MOS tube Q33 are turned on, allowing current to flow from the second switch module 224 to the output terminal OUT221, and also allowing current 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 drain of the MOS tube Q33 are turned off, and only current is allowed to flow from the output terminal OUT221 to the second switch module 224.

[0046] In this embodiment, a first switch module 223 is provided between the positive pole of the rechargeable battery 21 and the interface 23, and a second switch module 224 is provided between the discharge control module 222 and the interface 23; the “the charge and discharge circuit 22 disconnects the electrical connection between the rechargeable battery 21 and the interface 23 upon receiving the disconnection instruction” specifically includes: the charge and discharge circuit 22 disconnects the first and second switch modules upon receiving the disconnection instruction.

[0047] In this embodiment, the first and second switch modules form an air switch. When the air switch is disconnected, the first and second switch modules are also disconnected.

[0048] Here, if Figure 2 and Figure 3B As shown, the charge and discharge circuit 22 further includes a first processing module 225 and a second processing module 226 .

[0049] The first processing module 225 includes: a resistor R21, a first end of the resistor R21 is electrically connected to the second controller 242; a resistor R271, a first end of the resistor R271 is electrically connected to the first controller 241; a resistor R54, a resistor R2, a transistor Q40, a MOS transistor Q64 and a resistor R272, a first end of the resistor R54 is electrically connected to a power supply (for example, a DC power of 13.25V is provided by a DC chopper), a second end is electrically connected to a first end of the resistor R2, a second end 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 end 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 end of the resistor R271, a source of the MOS transistor Q64 is connected to an analog ground, a first end of the resistor R272 is electrically connected to a gate of the MOS transistor Q64, and a second end is electrically connected to an analog ground; Transistor Q27, transistor Q37, transistor Q57, resistor R40, resistor R120 and capacitor C110, the source of transistor Q27 is electrically connected to the power supply, the gate of transistor Q27 is electrically connected to the second end of resistor R54, the drain of transistor Q27 is electrically connected to the first end of resistor R40, the second end of resistor R40 is electrically connected to the driving ground, the source of transistor Q37 is electrically connected to the power supply, the gate of transistor Q37 is electrically connected to the transistor The drain of the transistor Q27, the drain of the transistor Q37 is electrically connected to the source of the transistor Q57, the gate of the transistor Q57 is electrically connected to the drain of the transistor Q27, the drain of the transistor Q57 is electrically connected to the driving ground, the first end of the resistor R120 is electrically connected to the drain of the transistor Q37, and the other end is electrically connected to the input terminal IN221, the first end of the capacitor C110 is electrically connected to the first end of the resistor R120, and the second end is electrically connected to the second end of the resistor R120.

[0050] The second processing module 226 includes: a resistor R58, a first end of the resistor R58 is electrically connected to the second controller 242; a resistor R273, a first end of the resistor R273 is electrically connected to the first controller 241; a resistor R59, a resistor R39, a transistor Q26, a MOS transistor Q59 and a resistor R328, a first end of the resistor R59 is electrically connected to a power supply (for example, a DC power of 13.25V is provided by a DC chopper), a second end is electrically connected to a first end of the resistor R39, a second end 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 end 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 end of the resistor R273, a source of the MOS transistor Q59 is connected to an analog ground, a first end of the resistor R328 is electrically connected to a gate of the MOS transistor Q59, a second end is electrically connected to a drain of the MOS transistor Q59, a gate of the MOS transistor Q59 ... connected to the analog ground; transistor Q25, transistor Q56, transistor Q58, resistor R41, resistor R166 and capacitor C108, the source of the transistor Q25 is electrically connected to the power supply, the gate of the transistor Q25 is electrically connected to the second end of the resistor R59, the drain of the transistor Q25 is electrically connected to the first end of the resistor R41, the source of the transistor Q56 is electrically connected to the power supply, the gate of the transistor Q56 is electrically connected to the drain of the transistor Q25, the drain of the transistor Q56 is electrically connected to the source of the transistor Q58, the gate of the transistor Q58 is electrically connected to the drain of the transistor Q25, the drain of the transistor Q58 is electrically connected to the second end of the resistor R41, the first end of the resistor R166 is electrically connected to the drain of the transistor Q56, and the other end is electrically connected to the input terminal IN222, the first end of the capacitor C108 is electrically connected to the first end of the resistor R166, and the second end is electrically connected to the second end of the resistor R166.

[0051] Among them, the analog ground and the driving ground do not interfere with each other.

[0052] like Figure 3B As shown, a capacitor C95 can also be arranged between the power supply and the output terminal OUT221, a first end of the capacitor C95 is electrically connected to the power supply, a second end is electrically connected to the output terminal OUT221, a capacitor C33 is arranged between the second end of the capacitor C95 and the source of the transistor Q56, and a capacitor C32 is arranged between the second end of the capacitor C95 and the source of the transistor Q37.

[0053] Here, the protection levels of the first and second controllers can be different. For the same fault, the protection threshold of the second controller 242 is stricter and has a shorter delay than that of the first controller 241. The protection of the first controller 241 is divided into 2 levels. The first level only limits the charging and discharging power, and the second level disconnects the charging and discharging circuit 22. The protection of the second controller 241 is the third level, which redundantly disconnects the charging and discharging circuit 22 and disconnects the air switch at the same time. Under normal circumstances, the first controller 241 can disconnect the charging and discharging circuit 22. If it fails, including failure to judge, failure to issue a disconnection instruction, or the MOS tube itself is stuck and cannot be disconnected, the second controller 242 will quickly disconnect the charging and discharging circuit 22 as a supplement, and drive the shunt to disconnect the air switch at the same time. Even if both the second and third controllers fail, the air switch can still automatically disconnect the power circuit when overcurrent occurs.

[0054] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

[0055] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

Claims

1. A portable power source, characterized in that: include: A rechargeable battery (21), a charge and discharge circuit (22), a first controller (241), a second controller (242) and an interface (23), wherein two ends of the charge and discharge circuit (22) are electrically connected to the rechargeable battery (21) and the interface (23), respectively; 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 no clock signal is 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 a disconnection instruction; An enable signal bus is provided between the first controller (241) and the second controller (242); a battery status detector (25), wherein the battery status detector (25) is capable of reading status information of the rechargeable battery (21) and latching the status information; The first controller (241) sends a first read instruction to the battery status detector (25); when the battery status detector (25) receives the first read instruction, it reads the status information of the rechargeable battery (21), latches the status information, and sends the status information to the first controller (241); thereafter, the first controller (241) sends a sampling enable signal to the second controller (242) via the enable signal bus; when the second controller (242) receives the sampling enable signal, it sends a second read instruction to the battery status detector (25); when the battery status detector (25) receives the second read instruction, it sends the latched status information to the second controller (242).

2. The portable power source according to claim 1, characterized in that: The second preset time=3*the first preset time.

3. The portable power source according to claim 1, characterized in that: A clock signal bus is provided between the first controller (241) and the second controller (242), a first timer is provided in the first controller (241), and the first timer generates an interrupt once every fourth preset time; The “sending a clock signal to the second controller (242)” specifically includes: when the first timer generates an interrupt, setting the level in the clock signal bus to a low level for a third preset time, and then setting the level of the clock signal bus to a high level; When the second controller (242) detects that the clock signal bus changes from a high level to a low level, the clock signal is received.

4. The portable power source according to claim 1, characterized in that: A second timer is provided in the second controller (242), and a timeout period of the second timer is a second preset period; The second controller (242) resets the second timer when receiving the clock signal; When the second timer times out, the second controller (242) determines that no clock signal has been received within a second preset time.

5. The portable power source according to claim 1, characterized in that: A communication line is provided between the first controller (241) and the second controller (242), and either the first controller or the second controller can send first data to the other controller via the communication line. When the other controller successfully receives the first data, it sends second data. When either controller fails to receive the second data, it sends a disconnection instruction to the charge and discharge circuit (22).

6. The portable power source according to claim 1, characterized in that: The rechargeable battery (21) is a direct current power source; the charge and discharge circuit (22) comprises a charge control module (221) and a discharge control module (222); one end of the charge control module (221) is electrically connected to the negative electrode of the rechargeable battery (21) and the other end is electrically connected to one end of the discharge control module (222); the other end of the discharge 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; the first end of the resistor R42 is electrically connected to the control input terminal IN221, and the 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 OUT221; the source of the MOS transistor Q15 is electrically connected to the cathode of the rechargeable battery (21), and the drain is electrically connected to the output terminal OUT221; the cathode of the diode D462 is electrically connected to the source of the MOS transistor Q15, and the anode is electrically connected to the drain of the MOS transistor Q15; The discharge control module (222) comprises: a resistor R66, a diode D671, a resistor R116, a MOS transistor Q33 and a diode D672; the first end of the resistor R66 is electrically connected to the control input terminal IN222, and the 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 end of the resistor R116 are both electrically connected to the output terminal OUT221; the source of the MOS transistor Q33 is electrically connected to the interface (23), and the drain is electrically connected to the output terminal OUT221; 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 are both controlled by the first and second controllers.

7. The portable power source according to claim 6, characterized in that: A first switch module (223) is provided between the positive electrode of the rechargeable battery (21) and the interface (23), and a second switch module (224) is provided between the discharge control module (222) and the interface (23); The "the charging and discharging circuit (22) disconnects the electrical connection between the rechargeable battery (21) and the interface (23) when receiving the disconnection instruction" specifically includes: the charging and discharging circuit (22) disconnects the first and second switch modules when receiving the disconnection instruction.

8. The portable power source according to claim 7, characterized in that: The first and second switch modules form an air switch.

Citation Information

Patent Citations

  • Switch circuit, printed circuit board, chip, terminal and circuit control method

    CN108011417A

  • Safety redundancy control device and method for intelligent battery charger

    CN110829536A

  • Portable power supply

    CN213521336U