Battery pack pre-charging loop control method and device, electronic equipment and storage medium

By detecting the electrical characteristics of the battery pack in real time, the system enables intelligent switching between the pre-charging mode and the normal charging mode, solving the problems of untimely response and poor adaptability of traditional battery pack pre-charging control methods, and improving the real-time performance and adaptability of the battery pack pre-charging loop control.

CN121529923APending Publication Date: 2026-02-13CAMEL GRP XIANGYANG BATTERY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511689408.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-18
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

Traditional battery pack precharge control methods are slow to respond and have poor adaptability. They cannot track current changes in real time, resulting in delayed protection actions and an inability to dynamically adjust control strategies according to actual conditions.

Method used

By real-time detection of the first electrical characteristic physical quantity of the battery pack in normal charging mode, if it is greater than the first threshold, the battery enters the pre-charging mode. In real-time detection of the second electrical characteristic physical quantity in pre-charging mode, if it is less than the second threshold, the battery returns to normal charging mode, thus realizing intelligent mode switching.

Benefits of technology

It improves the real-time performance and adaptability of the battery pack precharge circuit control, ensures precise control of the precharge circuit, and avoids the inability of fixed-time control to adapt to the needs of different operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121529923A_ABST
    Figure CN121529923A_ABST
Patent Text Reader

Abstract

The invention provides a battery pack pre-charging loop control method and device, electronic equipment and a storage medium, and the method comprises the steps: controlling a battery pack to enter a normal charging mode in response to a high-voltage power-on instruction, and in the normal charging mode, switching on a main charging loop of the battery pack, and switching off a pre-charging loop; a first electrical characteristic physical quantity of the battery pack in a normal charging mode is detected in real time, the battery pack is controlled to enter a pre-charging mode when it is detected that the first electrical characteristic physical quantity is larger than a first threshold value, and in the pre-charging mode, the main charging loop is disconnected, and the pre-charging loop is closed; and detecting a second electrical characteristic physical quantity of the battery pack in the pre-charging mode in real time, and controlling the battery pack to enter a normal charging mode when detecting that the second electrical characteristic physical quantity is smaller than a second threshold value. According to the invention, intelligent switching between the normal charging mode and the pre-charging mode can be realized in the working process of the battery pack, and the real-time performance, the accuracy and the adaptability of the pre-charging loop control of the battery pack are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of pre-charging technology, and in particular to a method, apparatus, electronic device and storage medium for controlling a battery pack pre-charging circuit. Background Technology

[0002] In high-power battery pack applications such as electric vehicles and energy storage systems, the pre-charge circuit is a critical protection circuit to prevent instantaneous current surges upon power-on. Traditional pre-charge control is usually based on simple voltage comparison or timing control, which has the following technical problems: 1. Untimely response: Traditional methods cannot track current changes in real time, which may lead to delayed protection actions; 2. Poor adaptability: Fixed-time control cannot adapt to the pre-charge requirements under different operating conditions; 3. Low level of intelligence: It is impossible to dynamically adjust the control strategy according to the actual operating status.

[0003] Therefore, a new battery pack precharge circuit control method is urgently needed to solve the above problems. Summary of the Invention

[0004] In view of this, this application provides a battery pack precharge circuit control method, device, electronic device and storage medium, which can realize intelligent switching between normal charging mode and precharge mode during battery pack operation, and ensure the real-time performance, accuracy and adaptability of battery pack precharge circuit control.

[0005] A first aspect of this application provides a battery pack pre-charge circuit control method, comprising: responding to a high-voltage power-on command to control the battery pack to enter a normal charging mode, wherein in the normal charging mode, the main charging circuit of the battery pack is closed and the pre-charge circuit is open; real-time detection of a first electrical characteristic physical quantity of the battery pack in the normal charging mode, and when the first electrical characteristic physical quantity is detected to be greater than a first threshold, controlling the battery pack to enter a pre-charge mode, wherein in the pre-charge mode, the main charging circuit is open and the pre-charge circuit is closed; real-time detection of a second electrical characteristic physical quantity of the battery pack in the pre-charge mode, and when the second electrical characteristic physical quantity is detected to be less than a second threshold, controlling the battery pack to enter the normal charging mode.

[0006] In one possible implementation, the first electrical characteristic physical quantity includes a first current value of the main charging circuit, and the first threshold includes a first current threshold; the step of controlling the battery pack to enter the pre-charging mode when the first electrical characteristic physical quantity is detected to be greater than the first threshold includes: controlling the battery pack to enter the pre-charging mode when the first current value is detected to be greater than the first current threshold.

[0007] In one possible implementation, the first electrical characteristic physical quantity further includes the first current change rate of the main charging circuit, and the first threshold further includes a first current change rate threshold; the step of controlling the battery pack to enter the pre-charging mode when the first electrical characteristic physical quantity is detected to be greater than the first threshold includes: controlling the battery pack to enter the pre-charging mode when the first current value is detected to be greater than the first current threshold, or the first current change rate is detected to be greater than the first current change rate threshold.

[0008] In one possible implementation, the determination of the first current threshold includes: calculating the first current threshold according to the following formula: first current threshold = (battery pack voltage - load voltage) / (pre-charge resistor rating × safety factor), wherein the load voltage is the voltage of the battery pack being charged, the pre-charge resistor rating is the rated value of the resistor in the pre-charge circuit, and the safety factor is between 1.2 and 1.5.

[0009] In one possible implementation, the second electrical characteristic physical quantity includes a second current value of the pre-charge circuit, and the second threshold includes a second current threshold; the step of controlling the battery pack to enter the normal charging mode when the second electrical characteristic physical quantity is detected to be less than the second threshold includes: controlling the battery pack to enter the normal charging mode when the second current value is detected to be less than the second current threshold.

[0010] In one possible implementation, controlling the battery pack to enter the normal charging mode when the second current value is detected to be less than the second current threshold includes: when the second current value is detected to be less than the second current threshold, detecting whether the duration for which the second current value is less than the second current threshold is greater than a preset duration; and if the duration is greater than the preset duration, controlling the battery pack to enter the normal charging mode.

[0011] In one possible implementation, the second electrical characteristic physical quantity further includes a second voltage value of the battery pack, and the second threshold includes a voltage ratio threshold; the method further includes: during the real-time detection of the second electrical characteristic physical quantity, acquiring the load voltage value of the battery pack charging object in real time, and calculating the ratio of the load voltage value to the second voltage value; the step of controlling the battery pack to enter the normal charging mode when the second electrical characteristic physical quantity is detected to be less than the second threshold includes: controlling the battery pack to enter the normal charging mode when the second current value is detected to be less than the second current threshold, and / or the ratio is greater than the voltage ratio threshold.

[0012] Secondly, embodiments of this application also provide a battery pack pre-charge circuit control device, comprising: a first control module, a first detection module, a second control module, and a second detection module; the first control module is used to respond to a high-voltage power-on command and control the battery pack to enter a normal charging mode, wherein in the normal charging mode, the main charging circuit of the battery pack is closed and the pre-charge circuit is open; the first detection module is used to detect a first electrical characteristic physical quantity of the battery pack in the normal charging mode in real time; the second control module is used to control the battery pack to enter a pre-charge mode when the first detection module detects that the first electrical characteristic physical quantity is greater than a first threshold, wherein in the pre-charge mode, the main charging circuit is open and the pre-charge circuit is closed; the second detection module is used to detect a second electrical characteristic physical quantity of the battery pack in the pre-charge mode in real time; the first control module is also used to control the battery pack to enter the normal charging mode when the second detection module detects that the second electrical characteristic physical quantity is less than a second threshold.

[0013] Thirdly, embodiments of this application also provide an electronic device, the electronic device including a processor and a memory, the memory being used to store instructions, and the processor being used to call the instructions in the memory, causing the electronic device to execute the battery pack precharge circuit control method as described in the first aspect.

[0014] Fourthly, embodiments of this application also provide a computer-readable storage medium storing computer instructions that, when executed on an electronic device, cause the electronic device to perform the battery pack precharge circuit control method as described in the first aspect.

[0015] Compared with related technologies, the embodiments of this application have at least the following advantages: By detecting the first electrical characteristic physical quantity of the battery pack in real time after the battery pack enters the normal charging mode, it is possible to determine whether the main charging circuit of the battery pack is normal based on the first electrical characteristic physical quantity. When the first electrical characteristic physical quantity is greater than a first threshold, it indicates that the instantaneous charging current of the main charging circuit is large. By directly controlling the battery pack to enter the pre-charging mode, the real-time control of the pre-charging circuit is ensured. In addition, the second electrical characteristic physical quantity is detected in real time while the battery pack is in the pre-charging mode, that is, whether the pre-charging is completed is detected when the battery pack is pre-charging. When the second electrical characteristic physical quantity is detected to be less than a second threshold, the battery pack is controlled to enter the normal charging mode. On the one hand, precise control of the pre-charging circuit is achieved. On the other hand, through intelligent switching between the normal charging mode and the pre-charging mode, the inability of "fixed-time control of the pre-charging circuit to adapt to the pre-charging requirements under different operating conditions" is avoided, and the adaptability of the battery pack pre-charging circuit control is improved.

[0016] The technical effects achieved by the second, third, and fourth aspects mentioned above are similar to those achieved by the corresponding technical means in the first aspect, and will not be repeated here. Attached Figure Description

[0017] Figure 1 A flowchart illustrating the steps of a battery pack precharge circuit control method provided in an embodiment of this application; Figure 2 A flowchart illustrating another step of the battery pack precharge circuit control method provided in an embodiment of this application; Figure 3 A flowchart illustrating another step of the battery pack precharge circuit control method provided in an embodiment of this application; Figure 4 A functional block diagram of a battery pack precharge circuit control device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0018] To better understand the above-mentioned objectives, features, and advantages of this application, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0019] The following description sets forth many specific details to provide a full understanding of this application. The described embodiments are only some, not all, of the embodiments of this application.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application.

[0021] It should be further noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0022] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and drawings of this application are used to distinguish similar objects, not to describe a specific order or sequence.

[0023] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0024] For ease of understanding, some concepts related to the embodiments of this application are illustrated and explained by way of example for reference.

[0025] Pre-charge circuit: It is a key protection device in electronic equipment (especially high-voltage systems of new energy vehicles). Its main function is to limit the sudden increase of current and prevent the large current generated by capacitor charging during circuit startup from damaging sensitive components.

[0026] Battery pack: A complete energy storage device consisting of multiple battery cells connected in series and parallel, and integrating components such as a battery management system (BMS), a thermal management system, and structural components.

[0027] MCU (Microcontroller Unit): A highly integrated electronic component that integrates a processor core, memory, input / output interfaces, etc., onto a single chip, and is widely used in various electronic devices. Its core functions include storage, control, timing, computation, power management, and data transmission and reception. In the new energy field, the MCU acts as a motor controller, responsible for converting the battery's DC power to AC power and adjusting the motor speed in real time, while also working in conjunction with the vehicle control unit (VCU) and battery management system (BMS). Please refer to Figure 1 , Figure 1 This is a flowchart illustrating the steps of an embodiment of the battery pack precharge circuit control method provided in this application. Depending on different requirements, the order of the steps in this flowchart can be changed, and some steps can be omitted.

[0028] It should be noted that the battery pack precharge circuit control method of this application embodiment can be applied to high-voltage power-on scenarios of battery packs. The executing entity can be a battery pack precharge circuit control device. For example, during the high-voltage power-on process of the battery pack, the precharge circuit can be controlled by the battery pack precharge circuit control device. Of course, the battery pack precharge circuit control method of this application embodiment can also be applied to other scenarios requiring battery pack precharge circuit control, and this application does not specifically limit its application in this regard.

[0029] The specific process of this embodiment is as follows: Figure 1 As shown, it includes the following steps: S101 responds to the high-voltage power-on command and controls the battery pack to enter normal charging mode.

[0030] Specifically, in normal charging mode, the main charging circuit of the battery pack is closed, and the pre-charge circuit is disconnected.

[0031] In some embodiments, after receiving a high-voltage power-on command, the MCU controls the main charging circuit of the battery pack to close and the pre-charge circuit to open.

[0032] S102, Real-time detection of the first electrical characteristic physical quantity of the battery pack in normal charging mode, and control of the battery pack to enter pre-charging mode when the detected first electrical characteristic physical quantity is greater than the first threshold.

[0033] Specifically, in pre-charge mode, the main charging circuit is disconnected and the pre-charge circuit is closed.

[0034] In some embodiments, the first electrical characteristic physical quantity includes a first current value of the main charging circuit, and the first threshold includes a first current threshold; when the first electrical characteristic physical quantity is detected to be greater than the first threshold, controlling the battery pack to enter the pre-charging mode includes: when the first current value is detected to be greater than the first current threshold, controlling the battery pack to enter the pre-charging mode.

[0035] For example, with a first current threshold of 200A, when the MCU detects that the first current value of the main charging circuit is greater than 200A, it controls the battery pack to enter the pre-charging mode.

[0036] In some embodiments, the first current value of the main charging circuit can be obtained by a current sensor.

[0037] In some embodiments, the size of the first current threshold is not specifically limited, but can be set according to actual needs, for example, 190A, 200A, 210A, etc.

[0038] In some embodiments, the first current threshold can also be calculated according to the following formula: First current threshold = (Battery pack voltage - Load voltage) / (Pre-charge resistor rating × Safety factor), where the load voltage is the voltage of the battery pack being charged, the pre-charge resistor rating is the rated value of the resistor in the pre-charge circuit, and the safety factor is between 1.2 and 1.5. This method ensures that the first current threshold matches the actual voltage difference and hardware capabilities, thereby further improving the accuracy of the battery pack pre-charge circuit control method.

[0039] In some embodiments, a temperature sensor is provided for detecting the temperature of the battery pack. When the temperature sensor detects that the temperature of the battery pack is high, the MCU reduces a first current threshold to achieve derating protection.

[0040] In some embodiments, the BMS detects the SOC value of the battery pack in real time. When the SOC value of the battery pack is low, the battery discharge capacity is limited, and the MCU lowers the first current threshold.

[0041] S103: Real-time detection of the second electrical characteristic physical quantity of the battery pack in the pre-charging mode; if the detected second electrical characteristic physical quantity is less than the second threshold, control the battery pack to enter the normal charging mode.

[0042] In some embodiments, the second electrical characteristic physical quantity includes a second current value of the pre-charge circuit, and the second threshold includes a second current threshold; when the second electrical characteristic physical quantity is detected to be less than the second threshold, controlling the battery pack to enter the normal charging mode includes: when the second current value is detected to be less than the second current threshold, controlling the battery pack to enter the normal charging mode.

[0043] In some embodiments, a second current value of the precharge circuit can be obtained by a current sensor.

[0044] In some embodiments, the size of the second current threshold is not specifically limited, but can be set according to actual needs, for example, 40A, 50A, 60A, etc.

[0045] For example, with a second current threshold of 50A, when the MCU detects that the second current value of the pre-charge circuit is less than 50A, it controls the battery pack to enter the normal charging mode.

[0046] In some embodiments, the second current threshold can be a fixed percentage of the first current threshold, for example, the second current threshold can be set to 10% of the first current threshold.

[0047] In some embodiments, a hysteresis interval can be set to prevent frequent switching between normal charging mode and pre-charging mode. Specifically, taking a first current threshold of 200A and a second current threshold of 50A as an example, a hysteresis interval of 195A can be formed, thereby effectively preventing oscillation.

[0048] In some embodiments, when a second current value is detected to be less than a second current threshold, controlling the battery pack to enter a normal charging mode includes: when the second current value is detected to be less than the second current threshold, detecting whether the duration for which the second current value is less than the second current threshold is greater than a preset duration; and if the duration is greater than the preset duration, controlling the battery pack to enter a normal charging mode. This method can avoid malfunctions caused by instantaneous current fluctuations.

[0049] It is understood that this embodiment does not specifically limit the size of the preset duration, which can be set according to actual needs. For example, the preset duration can be set to 90ms, 100ms, 110ms, etc.

[0050] In some embodiments, during the charging process of the battery pack, the MCU performs real-time fault detection on the battery pack. For example, it detects whether the current operating voltage of the battery pack is greater than the maximum operating voltage or less than the minimum operating voltage. If the MCU detects that the current operating voltage is greater than the maximum operating voltage or less than the minimum operating voltage, the MCU disconnects the main charging circuit and the pre-charge circuit to ensure the charging safety of the battery pack.

[0051] In some embodiments, a "start-up pre-charge" state of the battery pack can be added, that is, when the load device is initially powered on, regardless of the current, it first enters the pre-charge mode to charge the load capacitor.

[0052] In some embodiments, a "standby" or "hibernation" state of the battery pack can be added: when the system has no output requirements, all circuits are shut down to reduce power consumption.

[0053] In some embodiments, a "recovering" state for the battery pack can be added: after the battery pack fault is resolved, it does not directly enter the normal charging mode, but first enters the pre-charging mode.

[0054] It is worth noting that, in addition to the abnormal battery pack voltage described above, the faults in this embodiment can also include overheating, communication interruption, and relay sticking detection failure. This embodiment does not specifically limit the types of faults.

[0055] Compared with related technologies, the embodiments of this application have at least the following advantages: By detecting the first electrical characteristic physical quantity of the battery pack in real time after the battery pack enters the normal charging mode, it is possible to determine whether the main charging circuit of the battery pack is normal based on the first electrical characteristic physical quantity. When the first electrical characteristic physical quantity is greater than a first threshold, it indicates that the instantaneous charging current of the main charging circuit is large. By directly controlling the battery pack to enter the pre-charging mode, the real-time control of the pre-charging circuit is ensured. In addition, the second electrical characteristic physical quantity is detected in real time while the battery pack is in the pre-charging mode, that is, whether the pre-charging is completed is detected when the battery pack is pre-charging. When the second electrical characteristic physical quantity is detected to be less than a second threshold, the battery pack is controlled to enter the normal charging mode. On the one hand, precise control of the pre-charging circuit is achieved. On the other hand, through intelligent switching between the normal charging mode and the pre-charging mode, the inability of "fixed-time control of the pre-charging circuit to adapt to the pre-charging requirements under different operating conditions" is avoided, and the adaptability of the battery pack pre-charging circuit control is improved.

[0056] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating the steps of an embodiment of the battery pack precharge circuit control method of this application. Depending on different requirements, the order of the steps in this flowchart can be changed, and some steps can be omitted. This data query method can be applied to the aforementioned battery pack precharge circuit control device, but is not limited thereto, and this application embodiment does not limit it in this regard.

[0057] This embodiment is a further improvement on the aforementioned embodiment. Specifically, the improvement lies in that the first electrical characteristic physical quantity in this embodiment also includes the first current change rate of the main charging circuit, and the battery pack needs to enter the pre-charging mode based on the first current change rate. This approach further improves the accuracy and real-time performance of the battery pack pre-charging circuit control.

[0058] The specific process of this embodiment is as follows: Figure 2 As shown, it includes the following steps: S201 responds to the high-voltage power-on command and controls the battery pack to enter normal charging mode.

[0059] S202, real-time detection of the first current value and first current change rate of the main charging circuit of the battery pack in normal charging mode.

[0060] S203, if the first current value is detected to be greater than the first current threshold, or the first current change rate is greater than the first current change rate threshold, the battery pack is controlled to enter the pre-charge mode.

[0061] In other words, if a sudden surge in current is detected (such as a short circuit), pre-charge protection will be triggered immediately even if the first current value has not reached the first current threshold.

[0062] In some embodiments, the first electrical characteristic physical quantity may further include the power of the battery pack, and the first threshold may further include a power threshold. When the MCU detects that the power of the battery pack is greater than the power threshold, it controls the battery pack to enter a pre-charge mode.

[0063] S204: Real-time detection of the second current value of the pre-charge circuit of the battery pack in pre-charge mode. If the detected second current value is less than the second current threshold, control the battery pack to enter the normal charging mode.

[0064] Compared with related technologies, the embodiments of this application have at least the following advantages: By detecting the first electrical characteristic physical quantity of the battery pack in real time after the battery pack enters the normal charging mode, it is possible to determine whether the main charging circuit of the battery pack is normal based on the first electrical characteristic physical quantity. When the first electrical characteristic physical quantity is greater than a first threshold, it indicates that the instantaneous charging current of the main charging circuit is large. By directly controlling the battery pack to enter the pre-charging mode, the real-time control of the pre-charging circuit is ensured. In addition, the second electrical characteristic physical quantity is detected in real time while the battery pack is in the pre-charging mode, that is, whether the pre-charging is completed is detected when the battery pack is pre-charging. When the second electrical characteristic physical quantity is detected to be less than a second threshold, the battery pack is controlled to enter the normal charging mode. On the one hand, precise control of the pre-charging circuit is achieved. On the other hand, through intelligent switching between the normal charging mode and the pre-charging mode, the inability of "fixed-time control of the pre-charging circuit to adapt to the pre-charging requirements under different operating conditions" is avoided, and the adaptability of the battery pack pre-charging circuit control is improved.

[0065] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating the steps of an embodiment of the battery pack precharge circuit control method of this application. Depending on different requirements, the order of the steps in this flowchart can be changed, and some steps can be omitted. This data query method can be applied to the aforementioned battery pack precharge circuit control device, but is not limited thereto, and this application embodiment does not limit it in this regard.

[0066] This embodiment is a further improvement on the aforementioned embodiment. Specifically, the improvement lies in that: in this embodiment, the second electrical characteristic physical quantity also includes the second voltage value of the battery pack, and the ratio of the second voltage value to the load voltage value of the battery pack's charging object is used to determine whether the battery pack needs to switch from the pre-charging mode to the normal charging mode. This approach further improves the accuracy and real-time performance of the battery pack pre-charging circuit control.

[0067] The specific process of this embodiment is as follows: Figure 3 As shown, it includes the following steps: S301 responds to the high-voltage power-on command and controls the battery pack to enter normal charging mode.

[0068] S302, real-time detection of the first current value and first current change rate of the main charging circuit of the battery pack in normal charging mode.

[0069] S303: If the first current value is detected to be greater than the first current threshold, or the first current change rate is greater than the first current change rate threshold, the battery pack is controlled to enter the pre-charge mode.

[0070] S304, in real time, detects the second current value of the pre-charge circuit and the second voltage value of the battery pack in the pre-charge mode, and obtains the load voltage value of the battery pack charging object in real time.

[0071] S305, calculate the ratio of the load voltage value to the second voltage value.

[0072] S306, if the second current value is detected to be less than the second current threshold and / or the ratio is greater than the voltage ratio threshold, the battery pack is controlled to enter the normal charging mode.

[0073] For ease of understanding, the following example uses a second current threshold of 5A and a voltage ratio threshold of 95% to explain in detail the circumstances under which the battery pack switches to normal charging mode in the pre-charging mode: In the first scenario, when the second current value is less than 5A, or the ratio of the load voltage value to the second current value is greater than 95%, the MCU controls the battery pack to enter normal charging mode. This method enables rapid switching of the battery pack's charging mode.

[0074] The second scenario: When the second current value is less than 5A and the ratio of the load voltage value to the second current value is greater than 95%, the MCU controls the battery pack to enter normal charging mode. This method improves the reliability of the battery pack switching to normal charging mode.

[0075] In some embodiments, the precharge circuit includes a precharge relay, and the closing and opening of the precharge circuit are controlled by controlling the closing and opening of the precharge relay. If the load-side voltage does not rise within the expected time after the precharge relay is closed, it is determined that the precharge resistor is open or the precharge relay has failed.

[0076] In some embodiments, the main charging circuit includes a main charging relay, and the closing and opening of the main charging circuit are controlled by controlling the closing and opening of the main charging relay. When the battery pack is in pre-charging mode, if the load-side voltage rapidly rises to the battery pack voltage, it may be determined that the main charging relay is stuck.

[0077] In some embodiments, high-power MOSFETs or IGBTs can be used instead of mechanical relays. This enables faster switching (microseconds) and arc-free switching. The control logic can be more complex, for example, using PWM (Pulse Width Modulation) to smoothly control the precharge current.

[0078] In some embodiments, a hybrid switch (semiconductor switch + mechanical relay) can be used in the precharge circuit. Specifically, when the precharge circuit needs to be closed, the semiconductor switch first withstands the current surge during connection. After the current stabilizes, the mechanical relay is closed (achieving zero voltage difference and zero current switching), and finally the semiconductor switch is turned off.

[0079] Compared with related technologies, the embodiments of this application have at least the following advantages: By detecting the first electrical characteristic physical quantity of the battery pack in real time after the battery pack enters the normal charging mode, it is possible to determine whether the main charging circuit of the battery pack is normal based on the first electrical characteristic physical quantity. When the first electrical characteristic physical quantity is greater than a first threshold, it indicates that the instantaneous charging current of the main charging circuit is large. By directly controlling the battery pack to enter the pre-charging mode, the real-time control of the pre-charging circuit is ensured. In addition, the second electrical characteristic physical quantity is detected in real time while the battery pack is in the pre-charging mode, that is, whether the pre-charging is completed is detected when the battery pack is pre-charging. When the second electrical characteristic physical quantity is detected to be less than a second threshold, the battery pack is controlled to enter the normal charging mode. On the one hand, precise control of the pre-charging circuit is achieved. On the other hand, through intelligent switching between the normal charging mode and the pre-charging mode, the inability of "fixed-time control of the pre-charging circuit to adapt to the pre-charging requirements under different operating conditions" is avoided, and the adaptability of the battery pack pre-charging circuit control is improved.

[0080] Based on the same concept as the battery pack precharge circuit control method in the above embodiments, this application also provides a battery pack precharge circuit control device, which can be used to execute the above-described battery pack precharge circuit control method. For ease of explanation, the structural schematic diagram of the battery pack precharge circuit control device embodiment only shows the parts related to the embodiments of this application. Those skilled in the art will understand that the illustrated structure does not constitute a limitation on the device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0081] like Figure 4As shown, the battery pack precharge circuit control device 40 includes a first control module 401, a first detection module 402, a second control module 403, and a second detection module 404. In some embodiments, the above modules can be programmable software instructions stored in a memory and executable by a processor. It is understood that in other embodiments, the above modules can also be program instructions or firmware embedded in a processor.

[0082] The first control module 401 is used to respond to the high voltage power-on command and control the battery pack to enter the normal charging mode. In the normal charging mode, the main charging circuit of the battery pack is closed and the pre-charge circuit is disconnected. The first detection module 402 is used to detect the first electrical characteristic physical quantity of the battery pack in the normal charging mode in real time. The second control module 403 is used to control the battery pack to enter a pre-charge mode when the first detection module 402 detects that the first electrical characteristic physical quantity is greater than the first threshold. In the pre-charge mode, the main charging circuit is disconnected and the pre-charge circuit is closed. The second detection module 404 is used to detect the second electrical characteristic physical quantity of the battery pack in the pre-charging mode in real time. The first control module 401 is also used to control the battery pack to enter the normal charging mode when the second detection module 404 detects that the second electrical characteristic physical quantity is less than the second threshold.

[0083] The battery pack precharge circuit control device 40 provided in the above embodiments can realize the technical solutions described in the above battery pack precharge circuit control method embodiments. The specific implementation principles of each module or unit can be found in the corresponding content in the above battery pack precharge circuit control method embodiments, and will not be repeated here.

[0084] Please refer to Figure 5 , Figure 5 This is a schematic diagram of an embodiment of the electronic device of this application. In this embodiment of the invention, the electronic device 500 includes a processor 501, a memory 502, and a display 503. Figure 5 Only some components of the electronic device 500 are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.

[0085] In some embodiments, processor 501 may be a central processing unit (CPU), microprocessor, or other data processing chip, used to run program code stored in memory 502 or process data, such as the battery pack precharge circuit control method of the present invention.

[0086] In some embodiments, processor 501 may be a single server or a group of servers. The server group may be centralized or distributed. In some embodiments, processor 501 may be local or remote. In some embodiments, processor 501 may be implemented on a cloud platform. In one embodiment, the cloud platform may include a private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, intranet, multi-cloud, etc., or any combination thereof.

[0087] In some embodiments, memory 502 may be an internal storage unit of electronic device 500, such as a hard disk or memory of electronic device 500. In other embodiments, memory 502 may also be an external storage device of electronic device 500, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. equipped on electronic device 500.

[0088] Furthermore, the memory 502 may include both internal storage units of the electronic device 500 and external storage devices. The memory 502 is used to store application software and various types of data installed on the electronic device 500.

[0089] In some embodiments, display 503 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 503 is used to display information from electronic device 500 and to display visual user applications. Components 501-503 of electronic device 500 communicate with each other via a system bus.

[0090] In one embodiment, when processor 501 executes the battery pack precharge circuit control program in memory 502, the following steps can be implemented: In response to a high-voltage power-on command, the battery pack is controlled to enter a normal charging mode, wherein, in the normal charging mode, the main charging circuit of the battery pack is closed and the pre-charge circuit is disconnected. The first electrical characteristic physical quantity of the battery pack in the normal charging mode is detected in real time. When the first electrical characteristic physical quantity is detected to be greater than a first threshold, the battery pack is controlled to enter the pre-charging mode. In the pre-charging mode, the main charging circuit is disconnected and the pre-charging circuit is closed. The second electrical characteristic physical quantity of the battery pack in the pre-charging mode is detected in real time. When the second electrical characteristic physical quantity is detected to be less than the second threshold, the battery pack is controlled to enter the normal charging mode.

[0091] It should be understood that when the processor 501 executes the battery pack precharge circuit control program in the memory 502, in addition to the functions mentioned above, it can also perform other functions, as can be found in the description of the corresponding method embodiments above.

[0092] Furthermore, this embodiment of the invention does not specifically limit the type of electronic device 500 mentioned. Electronic device 500 can be a mobile phone, tablet computer, personal digital assistant (PDA), wearable device, laptop computer, or other portable electronic device. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices running iOS, Android, Microsoft, or other operating systems. The aforementioned portable electronic device can also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the invention, electronic device 500 may not be a portable electronic device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0093] Accordingly, this application also provides a computer-readable storage medium for storing computer-readable programs or instructions. When the programs or instructions are executed by a processor, they can implement the steps or functions of the battery pack precharge circuit control method provided in the above-described method embodiments.

[0094] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware (such as a processor, controller, etc.), and the computer program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.

[0095] The battery pack precharge circuit control method, device, electronic device, and computer-readable storage medium provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for controlling a battery pack precharge circuit, characterized in that, include: In response to a high-voltage power-on command, the battery pack is controlled to enter a normal charging mode, wherein, in the normal charging mode, the main charging circuit of the battery pack is closed and the pre-charge circuit is disconnected. The first electrical characteristic physical quantity of the battery pack in the normal charging mode is detected in real time. When the first electrical characteristic physical quantity is detected to be greater than a first threshold, the battery pack is controlled to enter the pre-charging mode. In the pre-charging mode, the main charging circuit is disconnected and the pre-charging circuit is closed. The second electrical characteristic physical quantity of the battery pack in the pre-charging mode is detected in real time. When the second electrical characteristic physical quantity is detected to be less than the second threshold, the battery pack is controlled to enter the normal charging mode.

2. The battery pack pre-charge circuit control method according to claim 1, characterized in that, The first electrical characteristic physical quantity includes the first current value of the main charging circuit, and the first threshold includes a first current threshold. The step of controlling the battery pack to enter a pre-charge mode when the detected first electrical characteristic physical quantity is greater than a first threshold includes: If the first current value is detected to be greater than the first current threshold, the battery pack is controlled to enter the pre-charge mode.

3. The battery pack precharge circuit control method according to claim 2, characterized in that, The first electrical characteristic physical quantity also includes the first current change rate of the main charging circuit, and the first threshold also includes the first current change rate threshold. The step of controlling the battery pack to enter a pre-charge mode when the detected first electrical characteristic physical quantity is greater than a first threshold includes: If the first current value is detected to be greater than the first current threshold, or the first current change rate is detected to be greater than the first current change rate threshold, the battery pack is controlled to enter the pre-charge mode.

4. The battery pack pre-charge circuit control method according to claim 2 or 3, characterized in that, The method for determining the first current threshold includes: The first current threshold is calculated using the following formula: First current threshold = (battery pack voltage - load voltage) / (pre-charge resistor rating × safety factor), where the load voltage is the voltage of the battery pack being charged, the pre-charge resistor rating is the rated value of the resistor in the pre-charge circuit, and the safety factor is between 1.2 and 1.

5.

5. The battery pack precharge circuit control method according to claim 1, characterized in that, The second electrical characteristic physical quantity includes the second current value of the pre-charge circuit, and the second threshold includes a second current threshold. The step of controlling the battery pack to enter the normal charging mode when the detected second electrical characteristic physical quantity is less than the second threshold includes: If the second current value is detected to be less than the second current threshold, the battery pack is controlled to enter the normal charging mode.

6. The battery pack pre-charge circuit control method according to claim 5, characterized in that, The step of controlling the battery pack to enter the normal charging mode when the second current value is detected to be less than the second current threshold includes: If the second current value is detected to be less than the second current threshold, it is detected whether the duration for which the second current value is less than the second current threshold is greater than a preset duration. If the duration exceeds the preset duration, the battery pack is controlled to enter the normal charging mode.

7. The battery pack precharge circuit control method according to claim 5, characterized in that, The second electrical characteristic physical quantity also includes the second voltage value of the battery pack, and the second threshold includes a voltage ratio threshold; The method further includes: During the real-time detection of the second electrical characteristic physical quantity, the load voltage value of the battery pack charging object is acquired in real time, and the ratio of the load voltage value to the second voltage value is calculated. The step of controlling the battery pack to enter the normal charging mode when the detected second electrical characteristic physical quantity is less than the second threshold includes: If the second current value is detected to be less than the second current threshold, and / or the ratio is greater than the voltage ratio threshold, the battery pack is controlled to enter the normal charging mode.

8. A battery pack precharge circuit control device, characterized in that, include: A first control module, a first detection module, a second control module, and a second detection module; The first control module is used to respond to the high voltage power-on command and control the battery pack to enter the normal charging mode. In the normal charging mode, the main charging circuit of the battery pack is closed and the pre-charge circuit is disconnected. The first detection module is used to detect the first electrical characteristic physical quantity of the battery pack in the normal charging mode in real time; The second control module is used to control the battery pack to enter a pre-charge mode when the first detection module detects that the first electrical characteristic physical quantity is greater than the first threshold. In the pre-charge mode, the main charging circuit is disconnected and the pre-charge circuit is closed. The second detection module is used to detect the second electrical characteristic physical quantity of the battery pack in the pre-charge mode in real time; The first control module is also configured to control the battery pack to enter the normal charging mode when the second detection module detects that the second electrical characteristic physical quantity is less than the second threshold.

9. An electronic device, the electronic device comprising a processor and a memory, characterized in that, The memory is used to store instructions, and the processor is used to call the instructions in the memory to cause the electronic device to execute the battery pack precharge circuit control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on an electronic device, cause the electronic device to perform the battery pack precharge circuit control method as described in any one of claims 1 to 7.