Battery management device and method for detecting connection state of battery device and external device

By combining signal generation and control circuits, a periodic signal is generated to detect the connection status between the battery device and external devices, solving the problem of low accuracy in battery device in-situ detection and achieving high-precision and safe battery device connection status judgment.

CN121813623APending Publication Date: 2026-04-07XIAMEN AMPACK TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-25
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In the prior art, when the battery device is not connected to the power supply or charging equipment, the terminals P+ and P- may be in a energized state, which may lead to safety hazards. In addition, the existing signal recognition circuit has low detection accuracy and cannot accurately determine whether the battery device has been connected to the external device.

Method used

A signal generation circuit is used to generate a periodic signal. By combining a control circuit and a detection circuit, the connection status between the battery device and external devices is detected. A current limiting and smoothing resistor stabilization circuit is used to reduce external signal interference and achieve high-precision in-situ detection.

Benefits of technology

It improves the detection accuracy of the connection status between battery devices and external devices, ensures that the terminals are in a safe state when no external devices are connected, simplifies the circuit structure, and adapts to different terminal connection methods and capacitor voltage changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121813623A_ABST
    Figure CN121813623A_ABST
Patent Text Reader

Abstract

A battery management apparatus includes: a signal generation circuit configured to generate a periodic signal; the first detection circuit is electrically connected with the signal generation circuit; a first detection terminal electrically connecting the signal generation circuit and the first detection circuit, the first detection terminal being configured to be connected to a second detection terminal, the second detection terminal being configured to be connected to an external device; and the control circuit is connected with the first detection circuit at the first node, and the control circuit is configured to determine the connection state of the battery equipment and the external equipment based on the periodic signal and the electric signal of the first node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of energy storage technology, and in particular to a battery management device, a method for detecting the connection status of the battery device with external devices, a battery device, and an electrical device. Background Technology

[0002] For safety reasons, some battery devices are not allowed to have terminals P+ and P- energized when not connected to any electrical or charging equipment. They use signal recognition circuits to detect whether the battery device is connected to any electrical or charging equipment. Only when the battery device is detected to be connected to any electrical or charging equipment are terminals P+ and P- allowed to be energized to supply power to the electrical equipment or charge the battery device. Summary of the Invention

[0003] This application provides a battery management device, a method for detecting the connection status between the battery device and an external device, a battery device, and an electrical device, which can improve the accuracy of in-situ detection of the external device.

[0004] In a first aspect, this application provides a battery management device, which includes a signal generation circuit, a first detection circuit, a first detection terminal, and a control circuit. The signal generation circuit and the first detection circuit are respectively connected to the first detection terminal. The control circuit is connected to the first detection circuit at a first node. The first detection terminal is used to connect to a second detection terminal, and the second detection terminal is used to connect to an external device. The signal generation circuit generates a periodic signal, and the control circuit determines the connection state between the battery device and the external device based on the periodic signal and the electrical signal at the first node. In some embodiments, the periodic signal includes one of a sine wave, a square wave, and a triangular wave.

[0005] Regardless of the terminal connection method of the external device or the voltage level of the external device's capacitor, this embodiment can accurately detect whether an external device is connected based on the electrical signal and periodic signal of the first node, achieving high detection accuracy. Furthermore, a single detection circuit can perform in-situ detection of external devices with both terminal connection methods, resulting in a simple circuit structure. In some embodiments, the first detection circuit includes a first resistor and a second resistor. The first end of the first resistor is electrically connected to the ground terminal. The second end of the first resistor, the first end of the second resistor, and the control circuit are connected to the first node. The second end of the second resistor, the output terminal of the signal generation circuit, and the first detection terminal are connected to the second node. The first resistor is a current-limiting resistor; since the load-carrying capacity of the periodic signal is limited, current limiting ensures stable circuit operation. The second resistor is a smoothing resistor used to reduce oscillation signals. In some embodiments, the first detection circuit also includes a third resistor. The first end of the third resistor is electrically connected to the signal generation circuit, and the second end is electrically connected to the second node. The third resistor is a filter resistor, especially useful when the first detection terminal is floating, as it reduces interference from external signals to the control circuit.

[0006] In some embodiments, the control circuit includes a microcontroller unit, a signal generation circuit integrated into the microcontroller unit, and the microcontroller unit includes a first pin and a second pin. The first pin is electrically connected to a first node, and the output of the signal generation circuit is electrically connected to the second pin, which is also electrically connected to a second node. In some embodiments, the battery management device further includes a third detection terminal, which is electrically connected to the signal generation circuit and the second detection circuit. The control circuit and the second detection circuit are connected to the third node. The control circuit is configured to determine the connection status between the battery device and an external device based on a periodic signal and an electrical signal from the third node. The external device may include a power-consuming device, and the second detection terminal is used to connect to the power-consuming device. Alternatively, the external device may include a charging device, and the third detection terminal is used to connect to a fourth detection terminal, which is used to connect to the charging device. That is, the first detection terminal and the first detection circuit of the battery management device are used to detect the connection status between the battery device and the power-consuming device, while the third detection terminal and the second detection circuit are used to detect the connection status between the battery device and the charging device. The second detection circuit and the first detection circuit may have the same or different structures. Secondly, embodiments of this application also provide a method for detecting the connection status of a battery device with an external device, applied to the battery management device in any embodiment of the first aspect. The method includes: a signal generation circuit generating a periodic signal, and a control circuit reading the periodic signal; in response to the control circuit acquiring an electrical signal of a first node, the control circuit determining the connection status of the battery device with the external device based on the electrical signal of the first node and the periodic signal. In some embodiments, in response to the control circuit acquiring the electrical signal of the first node, determining the connection status of the battery device with the external device based on the electrical signal of the first node and the periodic signal includes: in response to the control circuit acquiring the electrical signal of the first node having the same waveform and / or the same frequency as the periodic signal, determining that the battery device is not connected to the external device; and / or, in response to the control circuit acquiring the electrical signal of the first node having a different frequency than the periodic signal, determining that the battery device is connected to the external device.

[0007] Thirdly, embodiments of this application also provide a battery device, including a first connector and a communication harness. The first connector is configured to connect to an external device and includes a second detection terminal. The battery device includes a battery management device according to any embodiment of the first aspect. The battery management device includes a second connector, and the second connector includes a first detection terminal. The first detection terminal is connected to the second detection terminal via the communication harness.

[0008] Fourthly, embodiments of this application also provide an electrical device, including a third connector, the third connector including a fifth detection terminal, the electrical device including a battery device according to any embodiment of the third aspect, a first connector connected to the third connector, and a second detection terminal connected to the fifth detection terminal; the electrical device further includes: a fourth resistor and a capacitor, the first end of the fourth resistor, the first end of the capacitor and the fifth detection terminal being connected to a fourth node, and the second end of the fourth resistor and the second end of the capacitor being electrically connected to a ground terminal. Attached Figure Description

[0009] One or more embodiments are illustrated by way of example with reference to the accompanying drawings, which are not intended to limit the embodiments, and elements having the same reference numerals in the drawings are designated as similar elements.

[0010] Figure 1a , Figure 1b This is a schematic diagram of the connection between the battery device and the electrical device in an embodiment of this application; Figure 1c This is a schematic diagram of the connection between the battery device and the charging device in an embodiment of this application; Figure 2a , Figure 2b This is a schematic diagram of the battery device in the embodiments of this application; Figures 3a-3c This is a schematic diagram of the structure of the electrical equipment in the embodiments of this application; Figures 4a-4c This is a schematic diagram of the charging device in the embodiments of this application; Figures 5a-5c This is a schematic diagram of a portion of the circuitry in the battery management device according to an embodiment of this application; Figures 6a-6c This is a schematic diagram of a portion of the circuitry in the battery management device according to an embodiment of this application; Figure 7 This is a flowchart illustrating the method for detecting the connection status between a battery device and an external device according to an embodiment of this application. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be described clearly and in detail below with reference to the examples and accompanying drawings. Obviously, the specific embodiments of this application are only used to explain this application and are not intended to limit this application.

[0012] In this application, terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or order.

[0013] When an element is described as "connected" to another element, it can be directly connected to the other element, or there can be one or more intervening elements.

[0014] Furthermore, the technical features involved in the various examples of this application described below can be combined with each other as long as they do not conflict with each other.

[0015] Battery device 200 is used to store and output electrical energy and can be applied to or installed in electrical appliances. The battery device needs to be connected to an external device for charging or discharging. For example, the battery device can be connected to an electrical appliance to supply power, or it can be connected to a charging device to charge the battery device. Figure 1a and Figure 1b A schematic diagram showing the connection between the battery device 100 and the power-consuming device 1 is shown. Figure 1c A schematic diagram showing the connection between the battery device 100 and the charging device 2 is shown.

[0016] Electrical equipment 1 refers to a device or system that operates using electrical energy. In some examples, please refer to... Figure 1a The electrical device 1 includes a load (not shown) and a battery device 100, which supplies power to the load. Optionally, the electrical device 1 can be an electric vehicle, an aircraft, a power tool, or an energy storage system. Specifically, the electric vehicle can include electric cars, electric two-wheelers, electric tricycles, electric scooters, etc.; the aircraft can include unmanned aerial vehicles, manned aircraft, etc.; the power tools can include electric drills, robotic vacuum cleaners, electric vacuum cleaners, etc.; and the energy storage system can include portable power banks, home energy storage systems, industrial and commercial energy storage systems, uninterruptible power supplies, etc.

[0017] Understandably, in different usage scenarios, the electrical device 1 has different product forms, and the corresponding battery device 100 has different structural forms. For example, in electric two-wheelers, unmanned aerial vehicles, power tools, and portable power banks, the battery device 200 appears in the form of a battery pack, with battery modules and a battery management system located inside the battery pack; in home energy storage systems and industrial and commercial energy storage systems, the battery device 200 has multiple battery modules and a battery management system, with the multiple battery modules connected in series and / or in parallel according to user needs. The battery device 200 in this application broadly refers to both batteries and control devices for controlling battery charging and discharging. This application does not specifically limit the specific structure or usage scenarios of the battery device 200.

[0018] The charging device 2 is an external device that provides electrical energy to the battery device 100 to charge the battery device 100. The charging device 2 can obtain electrical energy from the mains power grid or other DC / AC power sources to charge the battery device 100.

[0019] Figure 2a and Figure 2b The diagram illustrates one structure of a battery device 100, which includes a battery management device 10 and a battery module 20. Depending on the application scenario, the battery module 20 has different structural forms, and there can be one or more battery modules 20. Each battery module 20 includes multiple cells connected in parallel, series, or a combination of both (including series and parallel). The cells are used to store and provide electrical energy. As a component unit of the battery module, the cells include lithium-ion cells, sodium-ion cells, nickel-metal hydride cells, nickel-cadmium cells, lead-acid cells, and cells using solid-state electrolytes, etc.

[0020] The battery management device 10 includes a battery management system (BMS). The BMS (not shown) controls the charging and / or discharging of the battery module 20 and also monitors data such as voltage, current, and cell temperature of the battery device 100 to ensure the charging and discharging safety of the battery device 100.

[0021] The battery device 100 also includes a first connector 30 and a wiring harness, the first connector 30 being used to connect to an external device. Please refer to... Figure 2a and Figure 2b The battery management device 10 includes a second connector 13, and a wiring harness for connecting the first connector 30 and the second connector 13.

[0022] The battery device 100 includes a charging terminal and a discharging terminal, which can be disposed on a first connector 30. The charging terminal is used to connect to a charging device 2 to receive electrical energy provided by the charging device 2. The discharging terminal is used to connect to a device 1 to output the electrical energy stored in the battery device 100 to the device 1. In one implementation, the charging terminal and the discharging terminal can be independently configured as two different terminals to charge or discharge the battery device 100 through different terminals. In another implementation, the charging terminal and the discharging terminal can also be used by the same terminal, with the charging state and the discharging state distinguished by an internal switching circuit, detection circuit, or control logic, thereby reducing the number of interfaces.

[0023] Correspondingly, the battery management device 10 is also provided with charging terminals and discharging terminals, which are connected to the charging terminals and discharging terminals of the battery device 100, respectively. Similarly, the charging terminals and discharging terminals on the battery management device 10 can be set as two separate terminals, or they can be used by the same terminal.

[0024] Figure 2aThis diagram illustrates a structure of a second connector 13 and a first connector 30. The second connector 13 includes a terminal P+, a terminal P-, and a first detection terminal. Terminal P+ is connected to the positive terminal B+ of the battery module 20, terminal P- is connected to the negative terminal B- of the battery module 20, and the first detection terminal corresponds to... Figure 2a The second connector 13 contains terminal DET1. Correspondingly, the first connector 30 includes terminal P+, terminal P-, and a second detection terminal, the second detection terminal corresponding to terminal DET1 in the first connector 30 in Figure 2.

[0025] By connecting the first connector 30 and the second connector 13, the battery management device 10 can be connected to the first connector 30 to connect to an external device. Specifically, the wiring harness includes a power wiring harness and a communication wiring harness. The power wiring harness is used to connect the terminals P+ and P- on the first connector 30 to the terminals P+ and P- on the second connector 13, respectively. The communication wiring harness is used to connect the first detection terminal and the second detection terminal, thereby realizing the connection between the first connector 30 and the second connector 13.

[0026] Optionally or additionally, the second connector 13 also includes a third detection terminal, the third detection terminal corresponding to Figure 2b Terminal DET2 is located within the second connector 13. Correspondingly, the first connector 30 also includes a fourth detection terminal, which corresponds to... Figure 2b Terminal DET2 is located within the first connector 30. When the first connector 30 and the second connector 13 are connected, the third detection terminal is connected to the fourth detection terminal.

[0027] In some optional examples, the first detection terminal of the battery device 100 is used to connect to the electrical device 1, and the third detection terminal is used to connect to the charging device 2. Optionally, the battery device 100 has only a first detection terminal and no third detection terminal; the first detection terminal can be used to connect to the electrical device 1, or the first detection terminal can be used to connect to the charging device 2.

[0028] The first connector 30 and the second connector 13 can adopt structural forms such as pin type, probe type or terminal type, with one of the first connector 30 and the second connector 13 serving as the male end and the other as the female end.

[0029] Please refer to Figure 2a and Figure 2b The BMS also includes a switch 12, which is located in the main circuit and is used to control the connection and disconnection between the battery module 20 and the electrical device 1 or the charging device 2, thereby controlling the discharge or charging of the battery module 20. The switch 12 can be a power MOSFET, relay, contactor, solid-state relay, etc. Figure 2a and Figure 2bAs shown, switch 12 is located near the positive terminal of battery module 20, between B+ and P+. In another implementation, switch 12 can also be located near the negative terminal of battery module 20, between B- and P-.

[0030] For safety reasons, some battery devices are not allowed to have terminals P+ and P- energized when not connected to any electrical or charging equipment. In this case, switch 12 is in the open state. Therefore, it is necessary to perform an in-situ detection to check whether the battery device is connected to any electrical or charging equipment. Only when the battery device is detected to be connected to any electrical or charging equipment is switch 12 allowed to be closed to supply power to the electrical device or charge the battery device.

[0031] For example, in a shared battery used in electric vehicles, the shared battery may be frequently plugged and unplugged into different electric vehicles (referred to as "vehicles"). When the shared battery is not connected to a vehicle, its output voltage is relatively high, and to ensure safety, its output port must be in a de-energized state. At this time, the switch 12 inside the shared battery remains open to prevent voltage output from the output port. Only when the shared battery is detected to be connected to a vehicle is the switch 12 closed, allowing the shared battery to supply power to the vehicle.

[0032] like Figure 2a and Figure 2b As shown, the BMS also includes a signal recognition circuit 11, such as... Figure 2a As shown, the signal recognition circuit 11 is connected to the first detection terminal, such as... Figure 2b As shown, the signal recognition circuit 11 is connected to the first detection terminal and the second detection terminal. The signal recognition circuit 11 is used to detect whether the battery device 100 is connected to an external device.

[0033] Figure 3a and Figure 3b The following diagrams illustrate one structure of electrical device 1. Electrical device 1 includes a third connector 101, which comprises terminals P+, P-, and a fifth detection terminal. The fifth detection terminal corresponds to... Figure 3a and Figure 3b Terminal DET1 is used in the battery device 100. The battery device 100 and the electrical device 1 can be connected by connecting the first connector 30 and the third connector 101. When the battery device 100 is connected to the electrical device 1, the first connector 30 and the third connector 101 are connected, terminals P+ and P+ are connected, terminals P- and P- are connected, and the first detection terminal and the fifth detection terminal are connected.

[0034] Due to differences in model and manufacturer, the terminal connection methods for electrical equipment 1 may vary. Please refer to... Figure 3a Terminal P+ and the fifth detection terminal are interconnected. Please refer to [the relevant documentation]. Figure 3b Terminal P- and the fifth detection terminal are interconnected.

[0035] Please refer to Figure 4a and Figure 4b The charging device 1 includes a fourth connector 201, which includes a terminal P+, a terminal P-, and a sixth detection terminal. The sixth detection terminal corresponds to... Figure 4a and Figure 4b Terminal DET2 is used in the connection. The battery device 100 and the charging device 2 can be connected by connecting the first connector 30 and the fourth connector 201. When the battery device is connected to the charging device 2, the first connector 30 is connected to the fourth connector 201, terminals P+ and P+ are connected, terminals P- and P- are connected, and the third detection terminal and the sixth detection terminal are connected. When the battery device is connected to the charging device 2, the first connector 30 is connected to the fourth connector 201, terminals P+ and P+ are connected, terminals P- and P- are connected, and the first detection terminal and the sixth detection terminal are connected.

[0036] The terminal connection method for charging device 2 varies depending on the model and manufacturer. Please refer to [the relevant documentation]. Figure 4a Terminal P+ and the sixth detection terminal are interconnected. Please refer to [the relevant documentation]. Figure 4b Terminal P- and the sixth detection terminal are interconnected.

[0037] The third connector 101 and the fourth connector 201 can adopt structural forms such as pin type, probe type or terminal type. When the first connector 30 and the third connector 101 are connected, one of them is the male end and the other is the female end. When the first connector 30 and the fourth connector 201 are connected, one of them is the male end and the other is the female end.

[0038] In related technologies, signal recognition circuits for detecting the presence of external devices (electrical devices and charging devices) employ two separate signal recognition circuits for each of the two terminal connection methods mentioned above, resulting in relatively complex circuitry. Furthermore, the detection accuracy of these signal recognition circuits is low. This low accuracy is due to the presence of large-value capacitors on either the electrical device 1 or the charging device 2; the uncertainty of the voltage across these capacitors can affect the accuracy of the identification.

[0039] For details, please refer to Figure 3c and Figure 4c The equivalent circuit structure inside electrical device 1 includes capacitor C1 and fourth resistor R4, and the equivalent circuit structure inside charging device 2 also includes capacitor and resistor. (Applicable) Figure 3a and Figure 4aWhen the terminal connection structure is shown, the connection of an external device is determined by detecting whether the voltage on the detection terminal (e.g., terminal DET1 or terminal DET2) is greater than or equal to a preset threshold. When the voltage on the capacitor is high, since the capacitor does not need to be charged, the voltage at the detection terminal is high, and the connection of the external device can be detected. However, when the voltage on the capacitor is low, since the capacitor needs to be charged, the voltage at the detection terminal will be lowered, resulting in the connection of the external device not being detected.

[0040] As some optional examples in this application, Figure 5a The diagram illustrates a structure of a signal recognition circuit 11, including a signal generation circuit 111, a control circuit 112, and a first detection circuit 113. The signal generation circuit 111 and the first detection circuit 113 are respectively connected to a first detection terminal (corresponding to...). Figure 5a In the DET1), the first detection circuit 113 is also connected to the control circuit 112.

[0041] The control circuit 112 is used to perform logic control functions, including microcontrollers (MCUs), microprocessors (MPUs), central processing units (CPUs), digital signal processors (DSPs), field-programmable gate arrays (FPGAs), complex programmable logic devices (CPLDs), system-on-a-chip (SoCs), etc.

[0042] The signal generation circuit 111 generates a periodic signal. The periodic signal is characterized by a waveform with a fixed frequency, consisting of repeating high and low levels, including sine waves, square waves, and triangle waves. To facilitate processing by the control circuit 112, the values ​​in the periodic signal are greater than or equal to zero. The signal generation circuit 111 can be any circuit capable of generating periodic signals; this is existing technology, and its specific structure will not be described in detail here. The signal generation circuit 111 can also be a device capable of generating periodic signals, such as an MCU or a chip capable of generating periodic signals. Optionally, the signal generation circuit 111 and the control circuit 112 are separate and independent circuits; alternatively, the signal generation circuit 111 can be integrated into the control circuit 112. For example, in the case where the control circuit 111 is an MCU, the signal generation circuit 111 is integrated into the MCU.

[0043] Figure 5c The diagram illustrates a structure of the signal recognition circuit 11 when the signal generation circuit 111 and the control circuit 112 are the same microcontroller unit. The microcontroller unit includes a first pin and a second pin. The first pin is connected to the first detection circuit 113, and the second pin is used to output a periodic signal connected to the first detection terminal.

[0044] The first detection circuit 113 transmits the periodic signal to the control circuit 112. Optionally, the first detection circuit 113 can be a wire. Additionally, the first detection circuit 113 can also be used for current limiting and / or reducing oscillation signals, and transmits the processed periodic signal to the control circuit 112. The control circuit 112 determines the connection status between the battery device and the external device based on the signal and the periodic signal. Specifically, when the signal and the periodic signal have the same waveform and / or the same frequency, it is determined that the battery device is not connected to the external device; when the signal and the periodic signal have different frequencies, it is determined that the battery device is connected to the external device. The control circuit 112 can pre-store the waveform, frequency, and / or amplitude of the periodic signal. The control circuit 112 reads the periodic signal and compares the read periodic signal with the received signal to determine whether the external device is connected.

[0045] like Figure 5a As shown, the signal recognition circuit 11 can only detect whether either the electrical device 1 or the charging device 2 is connected. Optionally, the signal recognition circuit 11 can detect both the electrical device 1 and the charging device 2. Please refer to... Figure 5b The signal recognition circuit 11 includes a first detection circuit 113 and a second detection circuit 114. The first detection circuit 113 is connected to a first detection terminal and is used to detect whether electrical equipment 1 is connected. The second detection circuit 114 is connected to a third detection terminal and is used to detect whether charging equipment 2 is connected. Both the first detection circuit 113 and the second detection circuit 114 are connected to the control circuit 112.

[0046] The second detection circuit 114 transmits the periodic signal to the control circuit 112. Optionally, the second detection circuit 114 can also be used for current limiting and / or eliminating oscillation signals, and transmits the processed periodic signal to the control circuit 112. The first detection circuit 113 and the second detection circuit 114 can have the same structure or different structures. The control circuit 112 determines the connection status between the battery device 100 and the power-consuming device 1 based on the signal output by the first detection circuit 113 and the periodic signal, and determines the connection status between the battery device 100 and the charging device 2 based on the signal output by the second detection circuit 114 and the periodic signal.

[0047] Figure 6a and Figure 6cThe diagram illustrates the structures of a first detection circuit 113 and a second detection circuit 114, each including a first resistor R1 and a second resistor R2. The first end of the first resistor R1 is connected to ground (GND). The second end of the first resistor R1, the first end of the second resistor R2, and the control circuit 112 are connected to a first node N1. The second end of the second resistor R2, the output terminal of the signal generation circuit 111, and the first detection terminal are connected to a second node N2. The first resistor R1 is a current-limiting resistor; since the load-carrying capacity of periodic signals is limited, current limiting ensures stable circuit operation. The second resistor R2 is a smoothing resistor used to reduce oscillation signals.

[0048] Optionally or additionally, Figure 6b Another structure of the first detection circuit 113 and the second detection circuit 114 is shown. The first detection circuit 113 and / or the second detection circuit 114 may also include a third resistor R3. The first end of the third resistor R3 is electrically connected to the signal generation circuit 111, and the second end is electrically connected to the second node N2. The third resistor R3 is a filter resistor, which can reduce the interference of external signals to the control circuit 112, especially when the detection terminal (first detection terminal or second detection terminal) is floating.

[0049] by Figure 6a , Figure 3b and Figure 3c To illustrate the detection principle of this application, we will take the following example: Figure 6a When the first detection terminal (terminal DET1) is left unconnected and not connected to the power device 1 or the charging device 2, the waveform of the periodic signal generated by the signal generation circuit 111 does not change after passing through the smoothing resistor (second resistor R2). Even if the waveform changes, its frequency remains unchanged. The control circuit 112 detects that the signal at the first node N1 has the same waveform and / or the same frequency as the periodic signal, and determines that no external device is connected.

[0050] When battery device 100 is connected Figure 3c When the electrical equipment 1 shown is connected, the first connection terminal is connected to the fifth connection terminal through the second connection terminal. Figure 3c When the voltage across capacitor C1 is low, the periodic signal generated by the signal generating circuit 111 charges capacitor C1 through the first connection terminal, the second connection terminal, and the fifth connection terminal, changing the periodic signal. The control circuit 112 detects that the signal at the first node N1 has a different frequency than the periodic signal and determines that the electrical device 1 is connected. When the voltage across capacitor C1 is high, the voltage at the first detection terminal is also high. The control circuit 112 detects that the signal at the first node N1 is a fixed high level, which has a different frequency than the periodic signal and determines that the electrical device 1 is connected.

[0051] When battery device 100 is connected Figure 3bWhen the electrical device 1 is connected, since the first connection terminal is connected to terminal P- through the second connection terminal and the fifth connection terminal, the first node N1 is at a low level. The control circuit 112 detects that the signal at the first node N1 is at a low level, which has a different frequency from the periodic signal, and determines that the electrical device 1 is connected.

[0052] The above is merely an example illustrating the detection principle of the electrical equipment through the first detection terminal. The detection principles of the charging equipment through the first detection terminal and the charging equipment through the second detection terminal are roughly the same, and will not be repeated here.

[0053] Regardless of the terminal connection method of the external device or the voltage level of the capacitor of the external device, this embodiment can accurately detect whether a power-consuming device or a charging device is connected by comparing the signal at the first node N1 with the periodic signal, achieving high detection accuracy. Moreover, only one detection circuit can complete the on-site detection of external devices with both terminal connection methods, resulting in a simple circuit structure.

[0054] Please refer to Figure 7 This application also provides a method for detecting the connection status between a battery device and an external device, which can be applied to the battery management device in any of the above embodiments. The method includes: 101: The signal generation circuit generates a periodic signal; the control circuit reads the periodic signal.

[0055] 102: In response to: the control circuit acquires the electrical signal of the first node, and the control circuit determines the connection status between the battery device and the external device based on the electrical signal and the periodic signal of the first node.

[0056] A signal generation circuit generates a periodic signal, which is transmitted to the first node via a first detection circuit or a second detection circuit. The periodic signal can be pre-stored in a control circuit. The control circuit reads the periodic signal and, based on the periodic signal and the electrical signal of the first node, determines the connection status between the battery device and the external device. Specifically, in some embodiments, if the electrical signal of the first node and the periodic signal have the same waveform and / or the same frequency, it is determined that the battery device is not connected to the external device; if the electrical signal of the first node and the periodic signal have different frequencies, it is determined that the battery device is connected to the external device.

[0057] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

[0058] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, and the steps can be implemented in any order. Those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A battery management device, characterized in that, The battery management device includes: The signal generation circuit is configured to generate periodic signals; The first detection circuit is electrically connected to the signal generation circuit; A first detection terminal is electrically connected to the signal generating circuit and the first detection circuit. The first detection terminal is configured to connect to a second detection terminal, and the second detection terminal is configured to connect to an external device. A control circuit, connected to the first detection circuit at a first node, is configured to determine the connection status between the battery device and the external device based on the periodic signal and the electrical signal of the first node.

2. The battery management device according to claim 1, characterized in that, The first detection circuit includes: a first resistor and a second resistor; The first end of the first resistor is electrically connected to the ground terminal, and the second end of the first resistor, the first end of the second resistor, and the control circuit are connected to the first node. The second end of the second resistor, the output end of the signal generating circuit, and the first detection terminal are connected to the second node.

3. The battery management device according to claim 2, characterized in that, The first detection circuit includes: a third resistor; The first end of the third resistor is electrically connected to the output terminal of the signal generating circuit, and the second end of the third resistor is electrically connected to the second node.

4. The battery management device according to any one of claims 1-3, characterized in that, The waveform of the periodic signal includes one of the following waveforms: sine wave, square wave, and triangle wave.

5. The battery management device according to any one of claims 2-4, characterized in that, The control circuit includes a microcontroller unit, the signal generation circuit is integrated into the microcontroller unit, and the microcontroller unit includes a first pin and a second pin. The first pin is electrically connected to the first node, the output of the signal generating circuit is electrically connected to the second pin, and the second pin is electrically connected to the second node.

6. The battery management device according to any one of claims 1-5, characterized in that, The battery management device includes: a third detection terminal, which is electrically connected to the signal generation circuit and the second detection circuit; a control circuit is connected to the second detection circuit at a third node; and the control circuit is configured to determine the connection status between the battery device and the external device based on the periodic signal and the electrical signal of the third node. The external device includes an electrical appliance, and the second detection terminal is configured to be connected to the electrical appliance; and / or, The external device includes a charging device, and the third detection terminal is configured to connect to a fourth detection terminal, which is also configured to connect to the charging device.

7. The battery management device according to claim 6, characterized in that, The second detection circuit has the same structure as the first detection circuit.

8. A method for detecting the connection status between a battery device and an external device, characterized in that, Applied to the battery management device according to any one of claims 1-7, The signal generation circuit generates a periodic signal, and the control circuit reads the periodic signal. In response to the control circuit acquiring the electrical signal of the first node, the control circuit determines the connection status between the battery device and the external device based on the electrical signal of the first node and the periodic signal.

9. The detection method according to claim 8, characterized in that, The step of responding to the control circuit acquiring the electrical signal of the first node, and the control circuit determining the connection status of the battery device and the external device based on the electrical signal of the first node and the periodic signal, includes: In response to the control circuit acquiring an electrical signal from the first node that has the same waveform and / or the same frequency as the periodic signal, it is determined that the battery device is not connected to the external device, and / or In response to the control circuit acquiring the electrical signal of the first node, which has a different frequency from the periodic signal, it is determined that the battery device is connected to the external device.

10. A battery device comprising a first connector and a communication harness, the first connector being configured to connect to the external device, the first connector including a second detection terminal, characterized in that, The battery device includes a battery management device as described in any one of claims 1-7, the battery management device including a second connector, the second connector including the first detection terminal, the first detection terminal being connected to the second detection terminal via a communication harness.

11. An electrical device, comprising a third connector, said third connector including a fifth detection terminal, characterized in that, The electrical device includes the battery device as described in claim 10. The first connector is connected to the third connector, and the second detection terminal is connected to the fifth detection terminal; The electrical equipment further includes a fourth resistor and a capacitor, wherein the first end of the fourth resistor, the first end of the capacitor and the fifth detection terminal are connected to the fourth node, and the second end of the fourth resistor and the second end of the capacitor are electrically connected to the ground terminal.