Battery management system, power consumption device and insulation detection method
Through multi-stage voltage acquisition of the sampling circuit in the battery management system, flexible detection and rapid update of the insulation resistance value of the battery pack is achieved, solving the problem of slow insulation resistance value update in the prior art and improving safety.
Patent Information
- Application Number
- CN202411196248.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-08-29
AI Technical Summary
In the prior art, the insulation resistance value of the battery pack is updated slowly, resulting in the insulating performance of the battery pack being unable to be detected in time, which poses safety hazards.
By performing multiple sampling cycles in the battery management system, including the first stage and the second stage, different voltages of the battery pack are collected to calculate the insulation resistance values of the first insulation resistance and the second insulation resistance, and select any one The first stage and any second stage act as an insulation detection cycle, breaking the conventional thinking, and the update of the insulation detection cycle is no longer limited to the update of the sampling cycle.
It realizes flexible detection of insulation resistance value, improves the calculation frequency of insulation resistance value, shortens the update time of insulation resistance value, and can quickly detect the insulation of battery resistance, ensuring driving safety.
Smart Images

Figure CN118731756B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of insulation detection, and in particular to a battery management system, an electrical device and an insulation detection method. Background Art
[0002] With the rapid development of new energy vehicles, people are paying more and more attention to the safety issues of new energy vehicles. The biggest difference between new energy vehicles and traditional vehicles is that new energy vehicles use battery resistors to provide power for the car with high voltage and high current, so the insulation safety of battery resistors cannot be ignored in the design of new energy vehicles.
[0003] Therefore, how to detect the insulation condition of the battery resistor is a problem to be studied by those skilled in the art. Summary of the invention
[0004] The embodiments of the present application provide a battery management system, an electrical device, and an insulation detection method, which can realize flexible detection of insulation resistance.
[0005] In a first aspect, an embodiment of the present application provides a battery management system, comprising: a sampling circuit, configured to execute multiple sampling cycles in sequence, the sampling cycle comprising a first stage and a second stage, wherein a first group of voltages corresponding to the battery pack is collected in the first stage, and a second group of voltages corresponding to the battery pack is collected in the second stage, the positive electrode of the battery pack is electrically connected to a reference ground through a first insulation resistor, and the negative electrode of the battery pack is electrically connected to the reference ground through a second insulation resistor, the sampling circuit comprises multiple branches, some of the branches are connected to the positive electrode and the reference ground of the battery pack, and another part of the branches are connected to the negative electrode and the reference ground of the battery pack, the multiple branches comprise two sampling points, the first group of voltages comprises the voltage of at least one of the two sampling points in the first stage, and the second group of voltages comprises the voltage of at least one of the two sampling points in the second stage; a controller, configured to select the voltages collected in any one of the first stage and any one of the second stage, and determine the insulation resistance values of the first insulation resistor and the second insulation resistor, wherein the selected first stage and second stage at least comprise the following situations: the selected first stage and second stage belong to different sampling cycles.
[0006] The battery management system provided in the embodiment of the present application selects any first stage and any second stage as an insulation detection cycle, which breaks the conventional thinking. The update of the insulation detection cycle is no longer limited to the update of the sampling cycle, that is, the update of the insulation resistance value is no longer limited to one sampling cycle. In this way, flexible detection of the insulation resistance value can be achieved, and it helps to increase the calculation frequency of the insulation resistance value and shorten the update time of the insulation resistance value, thereby helping to quickly detect the insulation condition of the battery resistance.
[0007] In some embodiments of the first aspect, the selected first stage and the selected second stage also include the following situation: the selected first stage and the selected second stage belong to the same sampling period.
[0008] In some embodiments of the first aspect, the selected first stage and the second stage include at least the following situation: the selected first stage and the second stage belonging to different sampling periods are adjacent.
[0009] In some embodiments of the first aspect, if the sampling circuit performs the jth second stage before the ith first stage, and the interval between the jth second stage and the ith first stage is less than or equal to a preset threshold, the controller is configured to: after the end of the ith first stage, determine the insulation resistance values of the first insulation resistor and the second insulation resistor according to the voltages collected in the ith first stage and the jth second stage;
[0010] If the sampling circuit has not executed the jth second stage before the ith first stage, or the sampling circuit has executed the jth second stage before the ith first stage, and the interval time between the jth second stage and the ith first stage is greater than a preset threshold, the sampling circuit is configured to execute the mth second stage after the ith first stage ends, and the controller is configured to determine the insulation resistance values of the first insulation resistor and the second insulation resistor based on the voltages collected in the ith first stage and the mth second stage.
[0011] In some embodiments of the first aspect, the sampling circuit is configured to:
[0012] In the first stage, the sampling circuit switches to the first state and after a first preset time has passed, a first group of voltages corresponding to the battery pack is collected;
[0013] And / or, in the second stage, the sampling circuit switches to the second state and after a second preset time has passed, a second group of voltages corresponding to the battery pack is collected.
[0014] In some embodiments of the first aspect, the positive electrode and the negative electrode of the battery pack are electrically connected to the target capacitor, and the first preset time length and / or the second preset time length are related to the capacitance value of the target capacitor.
[0015] In some embodiments of the first aspect, the first preset time length is related to a first resistance value of the sampling circuit in the first stage, and / or the second preset time length is related to a second resistance value of the sampling circuit in the second stage;
[0016] The first resistance value includes: a resistance value corresponding to a branch that electrically connects the positive electrode of the battery pack and the reference ground in the first stage; or a resistance value corresponding to a branch that electrically connects the negative electrode of the battery pack and the reference ground in the first stage;
[0017] The second resistance value includes: a resistance value corresponding to a branch electrically connecting the positive electrode of the battery pack and the reference ground in the second stage, or a resistance value corresponding to a branch electrically connecting the negative electrode of the battery pack and the reference ground in the second stage.
[0018] In some embodiments of the first aspect, the positive electrode and the negative electrode of the battery pack are electrically connected to the target capacitor, the resistance value of the sampling circuit in the first stage is a first resistance value, the resistance value of the sampling circuit in the second stage is a second resistance value, the product of the capacitance value of the target capacitor and the first resistance value is a first product, and the product of the capacitance value of the target capacitor and the second resistance value is a second product;
[0019] The first preset duration is positively correlated with the first product, and / or the second preset duration is positively correlated with the second product;
[0020] The first resistance value includes: a resistance value corresponding to a branch that electrically connects the positive electrode of the battery pack and the reference ground in the first stage; or a resistance value corresponding to a branch that electrically connects the negative electrode of the battery pack and the reference ground in the first stage;
[0021] The second resistance value includes: a resistance value corresponding to a branch electrically connecting the positive electrode of the battery pack and the reference ground in the second stage, or a resistance value corresponding to a branch electrically connecting the negative electrode of the battery pack and the reference ground in the second stage.
[0022] In some embodiments of the first aspect, the first preset time lengths corresponding to different first stages are the same, and / or the second preset time lengths corresponding to different second stages are the same.
[0023] In some embodiments of the first aspect, the plurality of branches include a first branch, a second branch, a third branch, and a fourth branch, the first branch and the second branch are connected in parallel between the first pole of the battery pack and a reference ground, and the third branch and the fourth branch are connected in parallel between the second pole of the battery pack and the reference ground;
[0024] The first branch includes a first resistor, a second resistor and a first switch connected in series, and the connection point between the first resistor and the second resistor is a first sampling point;
[0025] The third branch includes a third resistor, a fourth resistor and a second switch connected in series, and the connection point between the third resistor and the fourth resistor is the second sampling point;
[0026] The second branch includes a fifth resistor and a third switch connected in series;
[0027] The fourth branch includes a sixth resistor and a fourth switch connected in series;
[0028] The sampling circuit is configured as:
[0029] In the first stage, the first switch and the second switch are closed, the third switch and the fourth switch are opened, and the voltage of the first sampling point and the voltage of the second sampling point are collected;
[0030] In the second stage, the first switch, the second switch and the third switch are closed, the fourth switch is opened, and the voltage at the second sampling point is collected; or, in the second stage, the first switch, the second switch and the fourth switch are closed, the third switch is opened, and the voltage at the second sampling point is collected.
[0031] In some embodiments of the first aspect, the plurality of branches include a fifth branch, a sixth branch, and a seventh branch, the fifth branch is connected between the first pole of the battery pack and the first node, the sixth branch is connected between the second pole of the battery pack and the first node, and the seventh branch is connected between the first node and a reference ground;
[0032] The fifth branch includes a seventh resistor and a fifth switch connected in series;
[0033] The sixth branch includes an eighth resistor, a ninth resistor and a sixth switch connected in series, and a connection point between the eighth resistor and the ninth resistor is a third sampling point;
[0034] The seventh branch includes a tenth resistor, an eleventh resistor and a seventh switch connected in series, the tenth resistor and the seventh switch are connected in series, and a connection point between the tenth resistor and the seventh switch is a fourth sampling point, and a connection point between the tenth resistor and the seventh switch is connected to the first voltage through the eleventh resistor;
[0035] The sampling circuit is configured as:
[0036] In the first stage, the fifth switch and the seventh switch are closed, the sixth switch is opened, and the voltage of the fourth sampling point is collected;
[0037] In the second stage, the sixth switch and the seventh switch are closed, the fifth switch is opened, and the voltage at the third sampling point and the voltage at the fourth sampling point are collected.
[0038] In a second aspect, an embodiment of the present application provides an electrical device, comprising: a battery pack and a battery management system as described in any embodiment of the first aspect.
[0039] In a third aspect, an embodiment of the present application provides an insulation detection method, comprising:
[0040] The sampling circuit is controlled to sequentially execute a plurality of sampling cycles, the sampling cycles comprising a first stage and a second stage, wherein a first group of voltages corresponding to the battery pack is collected in the first stage, and a second group of voltages corresponding to the battery pack is collected in the second stage, the positive electrode of the battery pack is electrically connected to the reference ground through a first insulation resistor, and the negative electrode of the battery pack is electrically connected to the reference ground through a second insulation resistor, the sampling circuit comprises a plurality of branches, part of the branches are connected to the positive electrode of the battery pack and the reference ground, and another part of the branches are connected to the negative electrode of the battery pack and the reference ground, the plurality of branches comprise two sampling points, the first group of voltages comprises the voltage of at least one of the two sampling points in the first stage, and the second group of voltages comprises the voltage of at least one of the two sampling points in the second stage;
[0041] The voltage collected in any first stage and any second stage is selected to determine the insulation resistance values of the first insulation resistor and the second insulation resistor, wherein the selected first stage and the second stage at least include the following situations: the selected first stage and the second stage belong to different sampling periods.
[0042] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features and the accompanying drawings are not drawn to scale.
[0044] Figure 1 A schematic diagram of the structure of a battery management system provided in an embodiment of the present application is shown;
[0045] Figure 2 Another detection cycle schematic diagram provided in an embodiment of the present application is shown;
[0046] Figure 3 A schematic diagram of a detection cycle provided in an embodiment of the present application is shown;
[0047] Figure 4 A schematic diagram of a detection cycle of a comparative example is shown;
[0048] Figure 5 Another detection cycle schematic diagram provided in an embodiment of the present application is shown;
[0049] Figure 6 Another detection cycle schematic diagram provided in an embodiment of the present application is shown;
[0050] Figure 7A schematic diagram showing a structure of a sampling circuit provided in an embodiment of the present application is shown;
[0051] Figure 8 Another structural schematic diagram of a sampling circuit provided in an embodiment of the present application is shown;
[0052] Fig. 9 A schematic diagram showing a flow chart of an insulation detection method provided in an embodiment of the present application is shown;
[0053] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0054] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0056] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0057] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0058] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0059] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0060] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0061] Battery packs can provide power for electric vehicles. If the insulation performance of the battery pack does not meet the requirements, it will cause safety risks. For example, if the insulation performance is damaged, it is easy to introduce high voltage directly into the passenger compartment, which is dangerous. Therefore, it is necessary to test the insulation performance of the battery pack.
[0062] However, the detection of the insulation performance of the battery pack in the related art has the problem of slow updating of the insulation resistance value, resulting in the inability to detect the insulation performance in time.
[0063] In order to solve the above technical problems, the embodiments of the present application provide a battery management system, an insulation detection method and an electrical device, which will be described below in conjunction with the accompanying drawings.
[0064] The following first introduces the battery management system provided in the embodiment of the present application.
[0065] like Figure 1 As shown, the battery management system includes a sampling circuit 20 and a controller 30 , and the battery management system is used to manage the battery pack 10 .
[0066] The battery pack 10 includes a positive electrode and a negative electrode. The positive electrode of the battery pack 10 is electrically connected to the reference ground GND through a first insulation resistor Rp, and the negative electrode of the battery pack 10 is electrically connected to the reference ground GND through a second insulation resistor Rn. It is usually necessary to detect the insulation resistance of the positive electrode of the battery pack relative to the insulation resistance of the reference ground, and the insulation resistance of the negative electrode of the battery pack relative to the insulation resistance of the reference ground, that is, it is necessary to detect the insulation resistance of the first insulation resistor Rp and the second insulation resistor Rn. Exemplarily, the voltage corresponding to the battery pack can be collected to calculate the insulation resistance of the positive and negative electrodes of the battery pack relative to the reference ground. It is understandable that since there are two unknowns (i.e., the insulation resistance of the positive and negative electrodes of the battery pack relative to the reference ground), two sets of voltage values need to be used for calculation, so two sampling stages are required, which are used to collect the two sets of voltages corresponding to the battery pack.
[0067] like Figure 1 As shown, the voltage corresponding to the battery pack 10 is collected by the sampling circuit 20. For ease of explanation, the sampling circuit 20 is connected to the positive and negative electrodes and the reference ground of the battery pack 10. As an example, the sampling circuit 20 includes multiple branches, some of which are connected to the positive electrode of the battery pack 10 and the reference ground GND, and the other branches are connected to the negative electrode of the battery pack 10 and the reference ground GND. The multiple branches include two sampling points P1 and P2.
[0068] For example, Figure 1 The dashed line between the sampling circuit 20 and the controller 30 is used to indicate that the sampling circuit 20 can be controlled by the controller 30 .
[0069] The sampling circuit 20 is configured to sequentially execute a plurality of sampling cycles, wherein the sampling cycle includes a first stage and a second stage, wherein a first group of voltages corresponding to the battery pack is collected in the first stage, and a second group of voltages corresponding to the battery pack is collected in the second stage. The first group of voltages includes the voltage of at least one of the two sampling points in the first stage, and the second group of voltages includes the voltage of at least one of the two sampling points in the second stage.
[0070] like Figure 2 As shown, three sampling periods are shown, and each sampling period includes a first stage and a second stage. The voltages collected in the first stage are a first group of voltages, and the voltages collected in the second stage are a second group of voltages.
[0071] The first stage and the second stage are two sampling stages. The branch of the sampling circuit 20 includes a switch. By controlling the state of the switch in the sampling circuit 20 at different stages, the voltage of at least one of the sampling point P1 and the sampling point P2 can be collected to calculate the resistance values of the insulation resistances Rp and Rn.
[0072] In any sampling stage, the voltage Ubat of the battery pack 10 can also be obtained, and combined with the voltage at the sampling point P1, it can be used to calculate the voltage Up of the positive electrode of the battery pack 10 relative to the reference ground, or, combined with the voltage at the sampling point P2, it can be used to calculate the voltage Un of the negative electrode of the battery pack 10 relative to the reference ground, thereby calculating the resistance values of the insulation resistances Rp and Rn.
[0073] Exemplarily, the voltage Ubat of the battery pack 10 may be collected by other sampling circuits.
[0074] The controller 30 is configured to: select the voltage collected in any first stage and any second stage, and determine the insulation resistance of the first insulation resistor Rp and the second insulation resistor Rn, wherein the selected first stage and second stage at least include the following situations: the selected first stage and second stage belong to different sampling periods.
[0075] like Figure 2 As shown, the process of combining a first stage and a second stage to determine the insulation resistance is called an insulation detection cycle. For example, in one insulation detection cycle, the voltage collected in the second stage of the first sampling cycle and the first stage of the second sampling cycle are selected to calculate the insulation resistance of the positive electrode of the battery pack relative to the reference ground and the insulation resistance of the negative electrode of the battery pack relative to the reference ground; in another insulation detection cycle, the voltage collected in the second stage of the second sampling cycle and the first stage of the third sampling cycle are selected to calculate the insulation resistance of the positive electrode of the battery pack relative to the reference ground and the insulation resistance of the negative electrode of the battery pack relative to the reference ground.
[0076] It is understandable that the selection of the first and second stages of the insulation detection cycle is not limited to Figure 2 In the example shown, for example, in other examples, the selection of the first phase and the second phase of the insulation detection cycle can be as follows Figure 3 shown.
[0077] Figure 3 and Figure 2 The differences are: Figure 2 The first and second stages selected in each insulation detection cycle belong to two sampling cycles and are adjacent to each other. Figure 3 The first stage and the second stage selected in at least one insulation detection cycle belong to two sampling cycles and are two non-adjacent stages. For example, in a certain insulation detection cycle, the second stage of the first sampling cycle and the first stage of the third sampling cycle are selected to calculate the insulation resistance of the positive electrode of the battery pack relative to the reference ground and the insulation resistance of the negative electrode of the battery pack relative to the reference ground.
[0078] In order to better illustrate the technical effect of the embodiment of the present application, as a comparison, Figure 4As shown, in the related art, each insulation detection cycle selects the first stage and the second stage within the same sampling cycle, and there is only one insulation detection cycle in each sampling cycle, resulting in a long update cycle of the insulation resistance value.
[0079] The battery management system provided in the embodiment of the present application selects any first stage and any second stage as an insulation detection cycle, which breaks the conventional thinking. The update of the insulation detection cycle is no longer limited to the update of the sampling cycle, that is, the update of the insulation resistance value is no longer limited to one sampling cycle. In this way, flexible detection of the insulation resistance value can be achieved, and it helps to increase the calculation frequency of the insulation resistance value and shorten the update time of the insulation resistance value, thereby helping to quickly detect the insulation condition of the battery resistance.
[0080] In some embodiments, the selected first stage and the selected second stage also include the following situation: the selected first stage and the selected second stage belong to the same sampling period.
[0081] like Figure 2 As shown, the first stage and the second stage of the same sampling cycle are selected as an insulation detection cycle.
[0082] As an example, Figure 2 As shown, in the first insulation detection cycle, the first stage of the first sampling cycle and the second stage of the first sampling cycle are selected; in the second insulation detection cycle, the second stage of the first sampling cycle and the first stage of the second sampling cycle are selected; in the third insulation detection cycle, the first stage of the second sampling cycle and the second stage of the second sampling cycle are selected; in the fourth insulation detection cycle, the second stage of the second sampling cycle and the first stage of the third sampling cycle are selected; in the fifth insulation detection cycle, the first stage of the third sampling cycle and the second stage of the third sampling cycle are selected. In this way, 5 insulation detection cycles can be updated within 3 sampling cycles, thereby increasing the frequency of insulation resistance value update and shortening the insulation resistance value update time. For the working condition of low insulation resistance of the battery system, insulation fault can be reported quickly to ensure the safety of the driver.
[0083] In some embodiments, the selected first stage and the second stage also include the following situation: the selected first stage and the second stage belonging to different sampling periods are adjacent.
[0084] For example, Figure 2 As shown, in the second insulation detection cycle, the second stage of the first sampling cycle and the first stage of the second sampling cycle are selected, and the selected first stage and the second stage are adjacent; in the fourth insulation detection cycle, the second stage of the second sampling cycle and the first stage of the third sampling cycle are selected, and the selected first stage and the second stage are adjacent.
[0085] Herein, the first stage and the second stage being “adjacent” means: the second stage is performed immediately after the first stage, or the first stage is performed immediately after the second stage, and the interval between the adjacent first stage and the second stage is 0 or relatively small, for example, the interval between the adjacent first stage and the second stage is not long enough to perform the first stage or the second stage.
[0086] As time goes by, the voltage of the battery pack and the insulation resistance of the battery pack relative to the reference ground will change, so the collected voltage will change. In the insulation detection cycle, the voltage collected in the adjacent first and second stages is selected to determine the insulation resistance. The credibility of the selected voltage is relatively high, so the insulation resistance can be determined more accurately.
[0087] In some examples, if the sampling circuit executes the jth second stage before the i-th first stage, and the interval between the j-th second stage and the i-th first stage is less than or equal to a preset threshold, the controller is configured to: after the end of the i-th first stage, determine the insulation resistance of the first insulation resistor and the second insulation resistor based on the voltages collected in the i-th first stage and the j-th second stage.
[0088] i can be any value, that is, after any first stage ends or is executed, it is determined whether the insulation detection is terminated or interrupted before the first stage. Figure 5 As shown, if the jth second stage is executed before the i-th first stage, and the interval between the j-th second stage and the i-th first stage is less than or equal to the preset threshold, it can be considered that the insulation detection is continuously performed, or it can be considered that the i-th first stage is performed immediately after the j-th second stage, then the voltage collected by the j-th second stage is credible, so the insulation resistance can be determined in combination with the i-th first stage and the j-th second stage.
[0089] If the sampling circuit has not executed the jth second stage before the ith first stage, or the sampling circuit has executed the jth second stage before the ith first stage, and the interval time between the jth second stage and the ith first stage is greater than a preset threshold, the sampling circuit is configured to: execute the mth second stage after the ith first stage ends; and the controller is configured to: determine the insulation resistance values of the first insulation resistor and the second insulation resistor based on the voltages collected in the ith first stage and the mth second stage.
[0090] For example, if the jth second stage is not executed before the i-th first stage, it can be considered that the insulation termination occurs before the i-th first stage. Figure 6As shown in the figure, if the jth second stage is executed before the ith first stage, but the interval between the jth second stage and the ith first stage is too long, it can be considered that the insulation detection is interrupted. Since the interval is too long, the credibility of the voltage collected in the jth second stage will not be high. Then, the mth second stage is executed after the ith first stage, and the voltage collected in the mth second stage is credible. In this way, the insulation resistance can be determined in combination with the ith first stage and the mth second stage.
[0091] Therefore, in the embodiment of the present application, different stage combination measures are taken according to the execution status of the insulation detection before the i-th first stage, which can ensure that the selected second stage is reliable, thereby improving the accuracy of the obtained insulation resistance value.
[0092] In the above example, the preset threshold may be equal to 0, or the duration corresponding to the preset threshold may be less than the duration required to execute the second stage, or the preset threshold may be set according to demand.
[0093] Some examples include Figure 1 As shown, the sampling circuit 20 is configured to: in a first stage, the sampling circuit is switched to a first state and after a first preset time has passed, collect a first group of voltages corresponding to the battery pack; and / or, the sampling circuit is configured to: in a second stage, the sampling circuit is switched to a second state and after a second preset time has passed, collect a second group of voltages corresponding to the battery pack.
[0094] In the field of new energy vehicles, the battery pack is connected to the Y capacitor of the whole vehicle. The inventor has found that after the state of the sampling circuit is switched, the Y capacitor of the whole vehicle needs to be charged, and the voltage can only be stabilized after a certain period of time. If the voltage is collected immediately after the sampling circuit switches the state, the collected voltage is not accurate enough. In the embodiment of the present application, after the sampling circuit switches the state and a certain period of time has passed, the corresponding voltage is collected, which can improve the accuracy of the collected voltage, and thus improve the accuracy of insulation detection.
[0095] Exemplarily, the first preset time length may be the time length required for the voltage at the sampling point of the sampling circuit to stabilize after the sampling circuit switches to the first state. The second preset time length may be the time length required for the voltage at the sampling point of the sampling circuit to stabilize after the sampling circuit switches to the second state.
[0096] Exemplarily, the first preset time length and the second preset time length may be set based on experience, or the time length required for the actual product to stabilize the voltage may be tested and the first preset time length and the second preset time length may be set based on the test structure.
[0097] In some examples, the positive electrode and the negative electrode of the battery pack are electrically connected to a target capacitor, and the first preset time length and / or the second preset time length are related to a target capacitance value of the capacitor.
[0098] The target capacitor is, for example, a vehicle Y capacitor. The larger the capacitance value of the target capacitor, the longer the time to charge the target capacitor, and the longer the time required for the voltage at the sampling point in the sampling circuit to stabilize. Therefore, the first preset time and / or the second preset time are set to be related to the target capacitance value of the capacitor. For the case where the capacitance value of the target capacitor is low, the first preset time and / or the second preset time can be shortened, thereby shortening the duration of the first stage and the second stage, and then shortening the insulation detection cycle, so that different products can be flexibly matched.
[0099] In some examples, the first preset time duration is related to a first resistance value of the sampling circuit in the first stage, and / or the second preset time duration is related to a second resistance value of the sampling circuit in the second stage.
[0100] The first resistance value includes: the resistance value corresponding to the branch that electrically connects the positive electrode of the battery pack and the reference ground in the first stage; or the resistance value corresponding to the branch that electrically connects the negative electrode of the battery pack and the reference ground in the first stage. The second resistance value includes: the resistance value corresponding to the branch that electrically connects the positive electrode of the battery pack and the reference ground in the second stage, or the resistance value corresponding to the branch that electrically connects the negative electrode of the battery pack and the reference ground in the second stage.
[0101] Below Figure 7 The sampling circuit shown illustrates the first resistance value and the second resistance value. It should be noted that the determination method of the first resistance value and the second resistance value in other circuit structures is the same, and this application will not list other sampling circuit structures one by one.
[0102] For example, the specific structure of the sampling circuit 20 is as follows: Figure 7 As shown, it includes resistors 21 to 26 and switches K1 to K4, wherein the marks R1, R2, R3, and R4 in brackets in the figure represent the resistance values of the resistors. For example, the resistance values of resistors 21 and 23 are both R2, and the resistance values of resistors 25 and 26 are both R1. Figure 7 As shown, the upper and lower sampling modules of the reference ground GND are basically symmetrical, so the first resistance value and the second resistance value of the sampling circuit can be calculated according to one of the upper and lower sampling modules of the reference ground GND. The following takes the sampling module connected to the positive electrode of the battery pack 10 as an example to illustrate the resistance value of the sampling circuit.
[0103] For example, in the first stage, Figure 7 The switches K1 and K2 are closed, the switches K3 and K4 are opened, and the resistors 21 and 22 are connected in series and in parallel with the insulation resistor Rp. The first resistance value of the sampling circuit in the first stage is recorded as R(total 1), then R(total 1)=Rp / / (R2+R3), because Rp is unknown, the limit case is that Rp is infinite, therefore, R(total 2)≈R2+R3.
[0104] If in the second stage, Figure 7 The switches K1, K2, and K3 are closed, and the switch K4 is opened. The resistors 21 and 22 are connected in series and then connected in parallel with the resistor 25, and then connected in parallel with the insulation resistor Rp. The second resistance value of the sampling circuit in the second stage is recorded as R(total 2), then R(total 2)=Rp / / R1 / / (R2+R3). Since Rp is unknown, the limit case is that Rp is infinite, so R(total 1)≈R1 / / (R2+R3).
[0105] If in the second stage, Figure 7 The switches K1, K2, and K4 are closed, and the switch K3 is opened. The resistors 21 and 22 are connected in series and in parallel with the insulation resistor Rp. The second resistance value of the sampling circuit in the second stage is recorded as R(total 2), then R(total 2)=Rp / / (R2+R3). Since Rp is unknown, the limit case is that Rp is infinite, so R(total 2)≈R2+R3.
[0106] The smaller the first resistance value and the second resistance value of the sampling circuit are, the shorter the time to charge the target capacitor is, and the shorter the time required for the voltage at the sampling point in the sampling circuit to stabilize is. Therefore, the first preset time length and / or the second preset time length are set to be related to the resistance value of the acquisition circuit. For the case of low resistance value, the first preset time length and / or the second preset time length can be shortened, thereby shortening the duration of the first stage and the second stage, and then shortening the insulation detection cycle, so that different products can be flexibly matched.
[0107] In some examples, the positive and negative electrodes of the battery pack are electrically connected to the target capacitor, the resistance value of the sampling circuit in the first stage is the first resistance value, the resistance value of the sampling circuit in the second stage is the second resistance value, the product of the capacitance value of the capacitor and the first resistance value is the first product, and the product of the capacitance value of the capacitor and the second resistance value is the second product; the first preset time length is positively correlated with the first product, and / or the second preset time length is positively correlated with the second product. Wherein, the first resistance value includes: the resistance value corresponding to the branch electrically connected to the positive electrode of the battery pack and the reference ground in the first stage; or, the resistance value corresponding to the branch electrically connected to the negative electrode of the battery pack and the reference ground in the first stage. The second resistance value includes: the resistance value corresponding to the branch electrically connected to the positive electrode of the battery pack and the reference ground in the second stage, or, the resistance value corresponding to the branch electrically connected to the negative electrode of the battery pack and the reference ground in the second stage.
[0108] In this embodiment, the first resistance value and the second resistance value are the same as those in the above embodiment, and are not described again here.
[0109] For example, Figure 7As shown, the target capacitors of the battery pack 10 include capacitor Cy1 and capacitor Cy2, capacitor Cy1 and insulation resistor Rp are connected in parallel, and capacitor Cy2 and insulation resistor Rn are connected in parallel. Figure 3 Taking the sampling module connected to the positive electrode of the battery pack 10 as an example, the first product = Cy1* R(total 1), the second product = Cy1* R(total 2), R(total 1) and R(total 2) refer to the above description and will not be repeated here.
[0110] Exemplarily, the first preset time length is substantially equal to 5*Cy1*R(total 1), and the second preset time length is substantially equal to 5*Cy1*R(total 2).
[0111] It is understandable that the first preset time length and the second preset time length may be the same or different.
[0112] In some examples, the first preset durations corresponding to different first stages are the same, and / or the second preset durations corresponding to different second stages are the same.
[0113] For example, Figure 2 As shown, the first preset duration corresponding to the first stage in each sampling period is the same, and the second preset duration corresponding to the second stage in each sampling period is the same.
[0114] As an example, Figure 7 As shown, the sampling circuit 20 includes a first sampling module and a second sampling module, wherein the first sampling module includes a first branch 201 and a second branch 202, and the second sampling module includes a third branch 203 and a fourth branch 204. The first branch 201 and the second branch 202 are connected in parallel between the first pole of the battery pack 10 and the reference ground GND, and the third branch 203 and the fourth branch 204 are connected in parallel between the second pole of the battery pack 10 and the reference ground GND.
[0115] The first branch 201 includes a first resistor 21, a second resistor 22 and a first switch K1 connected in series, and the connection point between the first resistor 21 and the second resistor 22 is a first sampling point N1.
[0116] The third branch 203 includes a third resistor 23, a fourth resistor 24 and a second switch K2 connected in series, and the connection point between the third resistor 23 and the fourth resistor 24 is the second sampling point N2.
[0117] The second branch 202 includes a fifth resistor 25 and a third switch K3 connected in series.
[0118] The fourth branch 204 includes a sixth resistor 26 and a fourth switch K4 connected in series.
[0119] It should be noted that Figure 7In the figure, the first pole of the battery pack 10 is a positive pole and the second pole of the battery pack 10 is a negative pole. It can be understood that in other examples, the first pole of the battery pack 10 can be a negative pole and the second pole of the battery pack 10 can be a positive pole. Figure 7 Where Up represents the voltage of the first pole of the battery pack 10 relative to the reference ground, Un represents the voltage of the second pole of the battery pack 10 relative to the reference ground, Ump represents the voltage of the first sampling point N1, and Umn represents the voltage of the second sampling point N2.
[0120] The sampling circuit is configured as:
[0121] In the first stage, the first switch K1 and the second switch K2 are closed, and the third switch K3 and the fourth switch K4 are opened, and the voltage Ump of the first sampling point N1 and the voltage Umn1 of the second sampling point N2 are collected. In addition, in the first stage, the voltage Ubat1 of the two poles of the battery pack 10 is also collected. It is understandable that in this case, the first group of voltages includes: the voltage Ump1 of the first sampling point N1, the voltage Umn1 of the second sampling point N2, and the voltage Ubat1 of the two poles of the battery pack 10. Exemplarily, the voltages of the two poles of the battery pack 10 can be collected using other sampling circuits, or obtained according to other methods, which are not limited here.
[0122] In the first stage, the following relationship exists:
[0123]
[0124] The sampling circuit is also configured as:
[0125] If Up1≥Un1 in the first stage, in the second stage, the first switch K1, the second switch K2 and the third switch K3 are closed, and the fourth switch K4 is opened to collect the voltage Umn2 of the second sampling point N2. In addition, in the second stage, the voltage Ubat2 of the two electrodes of the battery pack 10 is also collected.
[0126] Here, in the second stage, the following relationship exists:
[0127]
[0128] Then, by combining equations (1.1) and (1.2), we can get the insulation resistance value. The insulation resistance value equation is as follows:
[0129]
[0130] If Up1<Un1 in the first stage, in the second stage, the first switch K1, the second switch K2 and the fourth switch K4 are closed, the third switch K3 is opened, and the voltage Umn2 of the second sampling point is collected. In addition, in the second stage, the voltage Ubat2 of the two electrodes of the battery pack 10 is also collected.
[0131] Here, in the second stage, the following relationship exists:
[0132]
[0133] Then, by combining equations (1.1) and (1.3), we can get the insulation resistance value. The insulation resistance value equation is as follows:
[0134]
[0135] It is understandable that the voltage Up in each stage can be determined according to the voltage Ump, and the voltage Un can be determined according to the voltage Umn.
[0136] based on Figure 7 The sampling circuit shown can calculate the insulation resistance once after the first stage and the second stage of the first sampling cycle are completed, and then the first stage of the second sampling cycle is carried out. Then, the voltage collected in the first stage of the second sampling cycle and the second stage of the first sampling cycle can be combined to calculate the insulation resistance again, and so on. The insulation resistance value can be updated once in each subsequent first stage, and the insulation resistance value can be updated once in each second stage, thereby increasing the updating frequency of the insulation resistance value.
[0137] As another example, Figure 8 As shown, the sampling circuit includes a fifth branch 205, a sixth branch 206 and a seventh branch 207, the fifth branch 205 is connected between the first pole of the battery pack 10 and the first node D1, the sixth branch 206 is connected between the second pole of the battery pack 10 and the first node D1, and the seventh branch 207 is connected between the first node D1 and the reference ground GND.
[0138] The fifth branch 205 includes a seventh resistor 27 and a fifth switch K5 connected in series. It should be noted that the fifth branch 205 includes at least one seventh resistor 27. In other examples, the fifth branch 205 may include a plurality of seventh resistors connected in series. Figure 8 Two seventh resistors with different resistance values are used as an example.
[0139] The sixth branch includes an eighth resistor 28, a ninth resistor 29 and a sixth switch K6 connected in series, and a connection point between the eighth resistor 28 and the ninth resistor 29 is a third sampling point N3.
[0140] The seventh branch 207 includes a tenth resistor 301, an eleventh resistor 31 and a seventh switch K7 connected in series, the tenth resistor 301 and the seventh switch K7 are connected in series, and the connection point between the tenth resistor 301 and the seventh switch K7 is the fourth sampling point N4, and the connection point between the tenth resistor 301 and the seventh switch K7 is connected to the first voltage through the eleventh resistor 31. The first voltage is, for example, 5V.
[0141] It should be noted that Figure 8 In the example, the first electrode of the battery pack 10 is a positive electrode and the second electrode of the battery pack 10 is a negative electrode. It is understandable that in other examples, the first electrode of the battery pack 10 may be a negative electrode and the second electrode of the battery pack 10 may be a positive electrode. In addition, Figure 8 R5, R6, and R7 represent the resistance values of each resistor respectively. Figure 8 Where Up represents the voltage of the first pole of the battery pack 10 relative to the reference ground, Un represents the voltage of the second pole of the battery pack 10 relative to the reference ground, Umc represents the voltage of the third sampling point N3, and Umi represents the voltage of the fourth sampling point N4.
[0142] The sampling circuit is configured as:
[0143] In the first stage, the fifth switch K5 and the seventh switch K7 are closed, and the sixth switch K6 is opened, and the voltage Umi1 of the fourth sampling point N4 is collected. In addition, in the first stage, the voltage Ubat1 of the two poles of the battery pack 10 is also collected. It can be understood that in this case, the first group of voltages includes: the voltage Umi1 of the fourth sampling point N4 and the voltage Ubat1 of the two poles of the battery pack 10.
[0144] In the first stage, the following relationship exists:
[0145]
[0146] The sampling circuit is also configured as:
[0147] In the second stage, the sixth switch K6 and the seventh switch K7 are closed, the fifth switch K5 is opened, and the voltage Umc2 of the third sampling point N3 and the voltage Umi2 of the fourth sampling point N4 are collected. In addition, in the second stage, the voltage Ubat2 of the two electrodes of the battery pack 10 is also collected.
[0148] Here, in the second stage, the following relationship exists:
[0149]
[0150] Then, by combining equations (2.1) and (2.2), we can get the insulation resistance value. The insulation resistance value equation is as follows:
[0151]
[0152] It is understandable that the voltages Up and Un at each stage can be determined according to the voltages Umc and Umi.
[0153] based on Figure 8 The sampling circuit shown can calculate the insulation resistance once after the first stage and the second stage of the first sampling cycle are completed, and then the first stage of the second sampling cycle is carried out. Then, the voltage collected in the first stage of the second sampling cycle and the second stage of the first sampling cycle can be combined to calculate the insulation resistance again, and so on. The insulation resistance value can be updated once in each subsequent first stage, and the insulation resistance value can be updated once in each second stage, thereby increasing the updating frequency of the insulation resistance value.
[0154] It should be noted that, although the embodiments of the present application only provide two exemplary circuit structures of the sampling circuit, the insulation detection cycle update scheme provided in the embodiments of the present application can also be applied to sampling circuits of other structures, which are not listed one by one here.
[0155] It should also be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0156] Based on the same inventive concept, the present application embodiment also provides an insulation detection method. Fig. 9 As shown, the insulation detection method provided in the embodiment of the present application includes S1 and S2.
[0157] S1, control the sampling circuit to sequentially execute multiple sampling cycles, the sampling cycle includes a first stage and a second stage, wherein the first group of voltages corresponding to the battery pack is collected in the first stage, and the second group of voltages corresponding to the battery pack is collected in the second stage. The positive electrode of the battery pack is electrically connected to the reference ground through a first insulation resistor, and the negative electrode of the battery pack is electrically connected to the reference ground through a second insulation resistor. The sampling circuit includes multiple branches, some of which are connected to the positive electrode of the battery pack and the reference ground, and the other part of the branches are connected to the negative electrode of the battery pack and the reference ground. The multiple branches include two sampling points, the first group of voltages includes the voltage of at least one of the two sampling points in the first stage, and the second group of voltages includes the voltage of at least one of the two sampling points in the second stage.
[0158] S2, selecting any voltage collected in the first stage and any voltage collected in the second stage, and determining the insulation resistance values of the first insulation resistor and the second insulation resistor, wherein the selected first stage and the selected second stage at least include the following situations: the selected first stage and the selected second stage belong to different sampling periods.
[0159] The insulation detection method provided in the embodiment of the present application selects any first stage and any second stage as an insulation detection cycle, which breaks the conventional thinking. The update of the insulation detection cycle is no longer limited to the update of the sampling cycle. That is to say, the update of the insulation resistance value is no longer limited to one sampling cycle. In this way, flexible detection of the insulation resistance value can be achieved, and it helps to increase the calculation frequency of the insulation resistance value and shorten the update time of the insulation resistance value, thereby helping to quickly detect the insulation condition of the battery resistance.
[0160] In some embodiments, the selected first stage and the selected second stage also include the following situation: the selected first stage and the selected second stage belong to the same sampling period.
[0161] In some embodiments, the selected first stage and the second stage include at least the following situation: the selected first stage and the second stage belonging to different sampling periods are adjacent.
[0162] In some embodiments, the method further includes: if the sampling circuit performs the jth second stage before the ith first stage, and the interval between the jth second stage and the ith first stage is less than or equal to a preset threshold, then after the ith first stage ends, the insulation resistance values of the first insulation resistor and the second insulation resistor are determined according to the voltages collected in the ith first stage and the jth second stage;
[0163] In some embodiments, if the sampling circuit does not execute the jth second stage before the ith first stage, or the sampling circuit executes the jth second stage before the ith first stage, and the interval between the jth second stage and the ith first stage is greater than a preset threshold, then after the ith first stage ends, the mth second stage is executed, and the resistance determination module 102 is further used to: determine the insulation resistance of the first insulation resistor and the second insulation resistor based on the voltages collected in the ith first stage and the mth second stage.
[0164] In some embodiments, collecting a first group of voltages corresponding to the battery pack in the first stage includes:
[0165] In the first stage, the sampling circuit switches to the first state and after a first preset time has passed, a first group of voltages corresponding to the battery pack is collected;
[0166] And / or, collecting a second group of voltages corresponding to the battery pack in the second stage, including:
[0167] In the second stage, the sampling circuit switches to the second state and after a second preset time has passed, a second group of voltages corresponding to the battery pack is collected.
[0168] In some embodiments, the positive and negative electrodes of the battery pack are electrically connected to a target capacitor, and the first preset time length and / or the second preset time length are related to the capacitance value of the target capacitor.
[0169] In some embodiments, the first preset time length is related to the first resistance value of the sampling circuit in the first stage, and / or the second preset time length is related to the second resistance value of the sampling circuit in the second stage; the first resistance value includes: the resistance value corresponding to the branch electrically connected to the positive pole of the battery pack and the reference ground in the first stage; or, the resistance value corresponding to the branch electrically connected to the negative pole of the battery pack and the reference ground in the first stage; the second resistance value includes: the resistance value corresponding to the branch electrically connected to the positive pole of the battery pack and the reference ground in the second stage, or, the resistance value corresponding to the branch electrically connected to the negative pole of the battery pack and the reference ground in the second stage.
[0170] In some embodiments, the resistance value of the target capacitance sampling circuit electrically connected to the positive and negative electrodes of the battery pack in the first stage is a first resistance value, the resistance value of the sampling circuit in the second stage is a second resistance value, the product of the capacitance value of the target capacitance and the first resistance value is a first product, and the product of the capacitance value of the target capacitance and the second resistance value is a second product;
[0171] The first preset time length is positively correlated with the first product, and / or the second preset time length is positively correlated with the second product; the first resistance value includes: the resistance value corresponding to the branch electrically connected to the positive pole of the battery pack and the reference ground in the first stage; or, the resistance value corresponding to the branch electrically connected to the negative pole of the battery pack and the reference ground in the first stage; the second resistance value includes: the resistance value corresponding to the branch electrically connected to the positive pole of the battery pack and the reference ground in the second stage, or, the resistance value corresponding to the branch electrically connected to the negative pole of the battery pack and the reference ground in the second stage.
[0172] In some embodiments, the first preset durations corresponding to different first stages are the same, and / or the second preset durations corresponding to different second stages are the same.
[0173] In some embodiments, the battery pack is connected to a sampling circuit, the sampling circuit includes a first branch, a second branch, a third branch and a fourth branch, the first branch and the second branch are connected in parallel between the first pole of the battery pack and a reference ground, and the third branch and the fourth branch are connected in parallel between the second pole of the battery pack and the reference ground;
[0174] The first branch includes a first resistor, a second resistor and a first switch connected in series, and the connection point between the first resistor and the second resistor is a first sampling point;
[0175] The third branch includes a third resistor, a fourth resistor and a second switch connected in series, and the connection point between the third resistor and the fourth resistor is the second sampling point;
[0176] The second branch includes a fifth resistor and a third switch connected in series;
[0177] The fourth branch includes a sixth resistor and a fourth switch connected in series;
[0178] In the first stage, the first group of voltages corresponding to the battery pack is collected, including:
[0179] In the first stage, the first switch and the second switch are closed, the third switch and the fourth switch are opened, and the voltage of the first sampling point and the voltage of the second sampling point are collected;
[0180] In the second stage, the second group of voltages corresponding to the battery pack is collected, including:
[0181] In the second stage, the first switch, the second switch and the third switch are closed, the fourth switch is opened, and the voltage at the second sampling point is collected; or, in the second stage, the first switch, the second switch and the fourth switch are closed, the third switch is opened, and the voltage at the second sampling point is collected.
[0182] In some examples, the battery pack is connected to a sampling circuit, the sampling circuit includes a fifth branch, a sixth branch, and a seventh branch, the fifth branch is connected between the first pole of the battery pack and the first node, the sixth branch is connected between the second pole of the battery pack and the first node, and the seventh branch is connected between the first node and the reference ground;
[0183] The fifth branch includes a seventh resistor and a fifth switch connected in series;
[0184] The sixth branch includes an eighth resistor, a ninth resistor and a sixth switch connected in series, and a connection point between the eighth resistor and the ninth resistor is a third sampling point;
[0185] The seventh branch includes a tenth resistor, an eleventh resistor and a seventh switch connected in series, the tenth resistor and the seventh switch are connected in series, and a connection point between the tenth resistor and the seventh switch is a fourth sampling point, and a connection point between the tenth resistor and the seventh switch is connected to the first voltage through the eleventh resistor;
[0186] In the first stage, the first group of voltages corresponding to the battery pack is collected, including:
[0187] In the first stage, the fifth switch and the seventh switch are closed, the second switch is opened, and the voltage at the fourth sampling point is collected;
[0188] In the second stage, the second group of voltages corresponding to the battery pack is collected, including:
[0189] In the second stage, the sixth switch and the seventh switch are closed, the fifth switch is opened, and the voltage at the third sampling point and the voltage at the fourth sampling point are collected.
[0190] Based on the same inventive concept, an embodiment of the present application further provides an electrical device, including a battery pack and the insulation detection system as described in the above embodiment.
[0191] Based on the same inventive concept, an embodiment of the present application also provides an electronic device. Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0192] The electronic device 1200 may include a processor 1201 and a memory 1202 storing computer program instructions.
[0193] Specifically, the processor 1201 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.
[0194] The memory 1202 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1202 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 1202 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 1202 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1202 is a non-volatile solid-state memory.
[0195] In certain embodiments, the memory 1202 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these. Exemplarily, the memory may include a non-volatile transient memory.
[0196] The processor 1201 implements any one of the insulation detection methods in the above embodiments by reading and executing computer program instructions stored in the memory 1202 .
[0197] In one example, the electronic device 1200 may further include a communication interface 1203 and a bus 1210. Fig.10 As shown, the processor 1201, the memory 1202, and the communication interface 1203 are connected via a bus 1210 and communicate with each other.
[0198] The communication interface 1203 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiment of the present invention.
[0199] Bus 1210 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-side bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a microchannel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable bus or a combination of two or more of these. Where appropriate, bus 1210 may include one or more buses. Although the embodiments of the present invention describe and illustrate a specific bus, the present invention contemplates any suitable bus or interconnect.
[0200] Exemplarily, the electronic device 1200 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).
[0201] The electronic device can execute the insulation detection method in the embodiment of the present application, thereby realizing the combination Fig. 9 Describes the insulation testing method.
[0202] Based on the same inventive concept, the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the collision handling method in the above embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the above-mentioned computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc., which is not limited here.
[0203] An embodiment of the present application further provides a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the insulation detection method in the above embodiment is implemented.
[0204] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0205] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier. "Computer-readable medium" may include any medium capable of storing or transmitting information. Examples of computer-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0206] According to an embodiment of the present application, the computer-readable storage medium may be a non-transitory computer-readable storage medium.
[0207] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0208] The above describes various aspects of the present application with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0209] According to the embodiments described above in the present application, these embodiments do not describe all the details in detail, nor do they limit the present application to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can make good use of the present application and the modifications based on the present application. The present application is limited only by the claims and their full scope and equivalents.
Claims
1. A battery management system, characterized in that: include: A sampling circuit, configured to sequentially execute a plurality of sampling cycles, the sampling cycles comprising a first stage and a second stage, wherein a first group of voltages corresponding to a battery pack is collected in the first stage, and a second group of voltages corresponding to the battery pack is collected in the second stage, the positive electrode of the battery pack is electrically connected to a reference ground via a first insulation resistor, and the negative electrode of the battery pack is electrically connected to the reference ground via a second insulation resistor, the sampling circuit comprises a plurality of branches, part of the branches are connected to the positive electrode of the battery pack and the reference ground, and another part of the branches are connected to the negative electrode of the battery pack and the reference ground, the plurality of branches comprise two sampling points, the first group of voltages comprises a voltage of at least one of the two sampling points in the first stage, and the second group of voltages comprises a voltage of at least one of the two sampling points in the second stage; The controller is configured to select the voltages collected in any one of the first stage and any one of the second stage to determine the insulation resistance values of the first insulation resistor and the second insulation resistor, wherein the selected first stage and the second stage at least include the following situations: the selected first stage and the second stage belong to different sampling periods.
2. The battery management system according to claim 1, characterized in that: The selected first stage and the selected second stage also include the following situation: the selected first stage and the selected second stage belong to the same sampling period.
3. The battery management system according to claim 1, characterized in that: The selected first stage and the selected second stage include at least the following situation: the selected first stage and the selected second stage belonging to different sampling periods are adjacent.
4. The battery management system according to claim 1, characterized in that: If the sampling circuit performs the jth second stage before the ith first stage, and the interval between the jth second stage and the ith first stage is less than or equal to a preset threshold, the controller is configured to: after the ith first stage ends, determine the insulation resistance values of the first insulation resistor and the second insulation resistor according to the voltages collected in the ith first stage and the jth second stage; If the sampling circuit has not executed the jth second stage before the ith first stage, or the sampling circuit has executed the jth second stage before the ith first stage, and the interval time between the jth second stage and the ith first stage is greater than the preset threshold, the sampling circuit is configured to execute the mth second stage after the ith first stage ends, and the controller is configured to determine the insulation resistance values of the first insulation resistor and the second insulation resistor according to the voltages collected in the ith first stage and the mth second stage.
5. The battery management system according to claim 1, characterized in that: The sampling circuit is configured as follows: In the first stage, the sampling circuit switches to the first state and after a first preset time has passed, a first group of voltages corresponding to the battery pack is collected; And / or, in the second stage, the sampling circuit switches to the second state and after a second preset time has passed, a second group of voltages corresponding to the battery pack is collected.
6. The battery management system according to claim 5, characterized in that: The positive electrode and the negative electrode of the battery pack are electrically connected to a target capacitor, and the first preset time length and / or the second preset time length are related to a capacitance value of the target capacitor.
7. The battery management system according to claim 5, characterized in that: The first preset time duration is related to a first resistance value of the sampling circuit in the first stage, and / or the second preset time duration is related to a second resistance value of the sampling circuit in the second stage; The first resistance value includes: a resistance value corresponding to the branch that electrically connects the positive electrode of the battery pack and the reference ground in the first stage; or a resistance value corresponding to the branch that electrically connects the negative electrode of the battery pack and the reference ground in the first stage; The second resistance value includes: the resistance value corresponding to the branch electrically connecting the positive pole of the battery pack and the reference ground in the second stage, or the resistance value corresponding to the branch electrically connecting the negative pole of the battery pack and the reference ground in the second stage.
8. The battery management system according to claim 5, characterized in that: The positive electrode and the negative electrode of the battery pack are electrically connected to the target capacitor, the resistance value of the sampling circuit in the first stage is a first resistance value, the resistance value of the sampling circuit in the second stage is a second resistance value, the product of the capacitance value of the target capacitor and the first resistance value is a first product, and the product of the capacitance value of the target capacitor and the second resistance value is a second product; The first preset duration is positively correlated with the first product, and / or the second preset duration is positively correlated with the second product; The first resistance value includes: a resistance value corresponding to the branch that electrically connects the positive electrode of the battery pack and the reference ground in the first stage; or a resistance value corresponding to the branch that electrically connects the negative electrode of the battery pack and the reference ground in the first stage; The second resistance value includes: the resistance value corresponding to the branch electrically connecting the positive pole of the battery pack and the reference ground in the second stage, or the resistance value corresponding to the branch electrically connecting the negative pole of the battery pack and the reference ground in the second stage.
9. The battery management system according to claim 5, characterized in that: The first preset durations corresponding to different first stages are the same, and / or the second preset durations corresponding to different second stages are the same.
10. The battery management system according to claim 1, characterized in that: The multiple branches include a first branch, a second branch, a third branch and a fourth branch, the first branch and the second branch are connected in parallel between the first pole of the battery pack and a reference ground, and the third branch and the fourth branch are connected in parallel between the second pole of the battery pack and the reference ground; The first branch includes a first resistor, a second resistor and a first switch connected in series, and a connection point between the first resistor and the second resistor is a first sampling point; The third branch includes a third resistor, a fourth resistor and a second switch connected in series, and a connection point between the third resistor and the fourth resistor is a second sampling point; The second branch includes a fifth resistor and a third switch connected in series; The fourth branch includes a sixth resistor and a fourth switch connected in series; The sampling circuit is configured as follows: In the first stage, the first switch and the second switch are closed, the third switch and the fourth switch are opened, and the voltage of the first sampling point and the voltage of the second sampling point are collected; In the second stage, the first switch, the second switch, and the third switch are closed, the fourth switch is opened, and the voltage at the second sampling point is collected; or, in the second stage, the first switch, the second switch, and the fourth switch are closed, the third switch is opened, and the voltage at the second sampling point is collected.
11. The battery management system according to claim 1, characterized in that: The plurality of branches include a fifth branch, a sixth branch and a seventh branch, the fifth branch is connected between the first pole of the battery pack and the first node, the sixth branch is connected between the second pole of the battery pack and the first node, and the seventh branch is connected between the first node and a reference ground; The fifth branch includes a seventh resistor and a fifth switch connected in series; The sixth branch includes an eighth resistor, a ninth resistor and a sixth switch connected in series, and a connection point between the eighth resistor and the ninth resistor is a third sampling point; The seventh branch includes a tenth resistor, an eleventh resistor and a seventh switch connected in series, the tenth resistor and the seventh switch are connected in series, and a connection point between the tenth resistor and the seventh switch is a fourth sampling point, and a connection point between the tenth resistor and the seventh switch is connected to a first voltage through the eleventh resistor; The sampling circuit is configured as follows: In the first stage, the fifth switch and the seventh switch are closed, the sixth switch is opened, and the voltage at the fourth sampling point is collected; In the second stage, the sixth switch and the seventh switch are closed, the fifth switch is opened, and the voltage at the third sampling point and the voltage at the fourth sampling point are collected.
12. An electrical device, characterized in that: include: A battery pack and a battery management system as claimed in any one of claims 1 to 11.
13. An insulation detection method, characterized in that: include: The sampling circuit is controlled to sequentially execute a plurality of sampling cycles, wherein the sampling cycle includes a first stage and a second stage, wherein a first group of voltages corresponding to the battery pack is collected in the first stage, and a second group of voltages corresponding to the battery pack is collected in the second stage, the positive electrode of the battery pack is electrically connected to a reference ground via a first insulation resistor, and the negative electrode of the battery pack is electrically connected to the reference ground via a second insulation resistor, the sampling circuit includes a plurality of branches, part of the branches are connected to the positive electrode of the battery pack and the reference ground, and another part of the branches are connected to the negative electrode of the battery pack and the reference ground, the plurality of branches include two sampling points, the first group of voltages includes the voltage of at least one of the two sampling points in the first stage, and the second group of voltages includes the voltage of at least one of the two sampling points in the second stage; Select any voltage collected in the first stage and any voltage collected in the second stage to determine the insulation resistance values of the first insulation resistor and the second insulation resistor, wherein the selected first stage and the selected second stage include at least the following situation: the selected first stage and the selected second stage belong to different sampling periods.
Citation Information
Patent Citations
Insulation resistance detection circuit and method, battery pack, battery management system and vehicle
CN118294723A
Insulation sampling circuit, battery management system and electric device
CN219997260U