Sampling control method and device, energy storage device, storage medium and program product

CN123029406APending Publication Date: 2026-11-03CONTEMPORARY AMPEREX RUNZHI SOFTWARE TECH LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing technologies, the sampling control methods for energy storage devices have poor control flexibility and are difficult to be compatible with various types of sampling circuits.

Method used

By identifying the data status of the sampling channel in the energy storage device, the type of sampling circuit is determined, and an appropriate target sampling strategy is selected based on the type to drive the sampling circuit to perform electrical data sampling, thus adapting to various types of sampling circuits.

Benefits of technology

It improves the flexibility and reliability of sampling control and enables efficient adaptation to different types of sampling circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123029406A_ABST
    Figure CN123029406A_ABST
Patent Text Reader

Abstract

The application relates to a sampling control method and device, an energy storage device, a storage medium and a program product. The method comprises the following steps: for any sampling channel in the energy storage device, in the case that the sampling channel is empty, determining the data state of the sampling channel as the data state corresponding to the empty sampling channel; in the case that there is voltage data in the sampling channel, determining the data state of the sampling channel as negative channel data or positive channel data according to the size relationship between the voltage data and a preset voltage threshold; determining the type of the sampling circuit according to the data state of each sampling channel, determining a target sampling strategy from a plurality of preset sampling strategies according to the type of the sampling circuit, and driving the sampling circuit according to the target sampling strategy to sample the electrical data of the battery cluster in the energy storage device; the sampling channel is connected with the sampling circuit, and the sampling circuit is connected with each battery cluster in the energy storage device; the above method can be adapted to a plurality of types of sampling circuits, and the flexibility of the sampling control is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention patent application is a divisional application of Chinese invention patent application filed on March 13, 2026, with application number 202610305626.6 and title "Sampling control method, apparatus, energy storage device, storage medium and program product". Technical Field

[0002] This application relates to the field of energy storage technology, and in particular to a sampling control method, apparatus, energy storage device, storage medium and program product. Background Technology

[0003] Energy storage devices have a variety of energy loops (also known as "high-voltage architectures"), and different energy loops require adaptively designed sampling circuits to sample the voltage of the battery clusters in the energy storage device.

[0004] In related technologies, a corresponding sampling program is usually configured for the sampling circuit in the energy storage device, and the voltage sampling of the battery cluster in the energy storage device is achieved by the fixed matching between the sampling program and the sampling circuit.

[0005] However, the sampling control methods for battery clusters in energy storage devices in related technologies suffer from poor control flexibility. Summary of the Invention

[0006] Therefore, it is necessary to provide a sampling control method, device, energy storage device, storage medium, and program product to address the aforementioned technical problems.

[0007] In a first aspect, embodiments of this application provide a sampling control method applied to a controller in an energy storage device, the method comprising:

[0008] For any sampling channel in the energy storage device, when the sampling channel is unloaded, the data state of the sampling channel is determined to be the corresponding unloaded data state; when voltage data exists in the sampling channel, the data state of the sampling channel is determined to be negative channel data or positive channel data based on the relationship between the voltage data and a preset voltage threshold; the sampling channel is connected to the sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device; the data state is used to characterize the state type of the sampled data on the sampling channel.

[0009] The type of sampling circuit is determined based on the data status of each sampling channel;

[0010] The target sampling strategy is determined from a variety of pre-configured sampling strategies based on the type of sampling circuit.

[0011] The sampling circuit is driven according to the target sampling strategy to sample the electrical data of the battery clusters in the energy storage device.

[0012] In this embodiment, the type of sampling circuit is identified based on the data status of each sampling channel, and the sampling circuit is driven to sample the battery cluster using a target sampling strategy corresponding to the type of sampling circuit. This method is adaptable to various types of sampling circuits and is not limited to a fixed type of sampling circuit, thereby improving the flexibility of sampling.

[0013] In one embodiment, determining the type of sampling circuit based on the data status of each sampling channel includes:

[0014] The data state of each sampling channel is used as a data state set, and the data state set is matched with a reference data state set corresponding to at least one preset type of sampling circuit;

[0015] Obtain the preset type corresponding to the reference data state set that successfully matches the data state set, and determine it as the type of the sampling circuit.

[0016] In this embodiment, the data state of each sampling channel is used as a data state set, and the type of sampling circuit in the energy storage device is determined by matching the data state set. This simplifies the identification of the sampling circuit type, making the identification of the sampling circuit type accurate and efficient, and eliminating the need for additional detection.

[0017] In one embodiment, the energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a first circuit type, which represents a sampling circuit that connects independent sampling points in the first battery cluster and the second battery cluster;

[0018] The reference data state set corresponding to the first circuit type includes:

[0019] Of the six sampling channels, four are positive channel data and two are negative channel data.

[0020] In one embodiment, the sampling circuit of the first circuit type includes a first branch, a second branch, a third branch, and a fourth branch; when the target sampling strategy is the sampling strategy corresponding to the sampling circuit of the first circuit type, driving the sampling circuit according to the target sampling strategy includes:

[0021] The first branch and the third branch are used to obtain the external voltage of the first battery cluster and the external voltage of the second battery cluster, respectively; the first branch connects the external voltage sampling point and the negative electrode sampling point of the first battery cluster; the third branch connects the external voltage sampling point and the negative electrode sampling point of the second battery cluster.

[0022] The second branch and the fourth branch are used to obtain the internal voltage of the first battery cluster and the internal voltage of the second battery cluster, respectively; the second branch connects the internal voltage sampling point and the negative electrode sampling point of the first battery cluster; the fourth branch connects the internal voltage sampling point and the negative electrode sampling point of the second battery cluster.

[0023] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the first circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the first circuit type, the sampling strategy of the first circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the sampling circuit of the first circuit type and correspondingly improving the sampling reliability.

[0024] In one embodiment, the energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a second circuit type, which represents a sampling circuit that connects the shared external voltage sampling point, the independent internal voltage sampling point, and the shared negative electrode sampling point in the first battery cluster and the second battery cluster.

[0025] The reference data state set corresponding to the second circuit type includes:

[0026] Of the six sampling channels, four are in the positive channel data state, one is in the negative channel data state, and one is in the no-load data state of the corresponding sampling channel.

[0027] In one embodiment, the sampling circuit of the second circuit type includes a fifth branch, a sixth branch, a seventh branch, and an eighth branch; when the target sampling strategy is the sampling strategy corresponding to the sampling circuit of the second circuit type, driving the sampling circuit according to the target sampling strategy includes:

[0028] Close the fifth branch to obtain the external voltage of the first battery cluster; the fifth branch connects the external voltage sampling point of the first battery cluster and the common negative terminal sampling point.

[0029] Close the sixth branch to obtain the internal voltage of the first battery cluster; the sixth branch connects the internal voltage sampling point of the first battery cluster and the common negative electrode sampling point.

[0030] Close the seventh branch to obtain the external voltage of the second battery cluster; the seventh branch connects the external voltage sampling point of the second battery cluster and the common negative terminal sampling point;

[0031] Close the eighth branch to obtain the internal voltage of the second battery cluster; the eighth branch connects the internal voltage sampling point of the second battery cluster and the common negative electrode sampling point.

[0032] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the second circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the second circuit type, the sampling strategy of the second circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the sampling circuit of the second circuit type and correspondingly improving the sampling reliability.

[0033] In one embodiment, the energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a third circuit type, which represents a sampling circuit that connects the shared external voltage sampling point, the independent internal voltage sampling point, and the shared negative electrode sampling point in the first battery cluster and the second battery cluster and shares the external voltage sampling branch.

[0034] The reference data state set corresponding to the third circuit type includes:

[0035] Of the six sampling channels, three sampling channels are in the positive channel data state, one sampling channel is in the negative channel data state, and two sampling channels are in the corresponding unloaded data state.

[0036] In one embodiment, the sampling circuit of the third circuit type includes a ninth branch, a tenth branch, and an eleventh branch; when the target sampling strategy is the sampling strategy corresponding to the sampling circuit of the third circuit type, driving the sampling circuit according to the target sampling strategy includes:

[0037] Close the ninth branch to obtain the external voltage of the first battery cluster and the second battery cluster; the ninth branch is a common external voltage sampling branch, connecting the common external voltage sampling point and the common negative terminal sampling point of the first battery cluster and the second battery cluster.

[0038] Close the tenth branch to obtain the internal voltage of the first battery cluster; the tenth branch connects the internal voltage sampling point of the first battery cluster and the common negative electrode sampling point.

[0039] Close the eleventh branch to obtain the internal voltage of the second battery cluster; the eleventh branch connects the internal voltage sampling point of the second battery cluster and the common negative electrode sampling point.

[0040] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the third circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the third circuit type, the sampling strategy of the third circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the sampling circuit of the third circuit type and correspondingly improving the sampling reliability.

[0041] In one embodiment, the energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a fourth circuit type, which represents a sampling circuit that connects the shared external voltage sampling point, the shared internal voltage sampling point, and the independent negative electrode sampling point of the first battery cluster and the second battery cluster.

[0042] The reference data state set corresponding to the fourth circuit type includes:

[0043] Of the six sampling channels, two sampling channels are in the positive channel data state, two sampling channels are in the negative channel data state, and two sampling channels are in the corresponding unloaded data state.

[0044] In one embodiment, the sampling circuit of the fourth circuit type includes a twelfth branch and a thirteenth branch; when the target sampling strategy is the sampling strategy corresponding to the sampling circuit of the fourth circuit type, driving the sampling circuit according to the target sampling strategy includes:

[0045] Close the twelfth branch to obtain the external voltage of the first battery cluster and the second battery cluster; the twelfth branch connects the common external voltage sampling point of the first battery cluster and the second battery cluster, as well as the negative terminal sampling point of the first battery cluster.

[0046] Close the thirteenth branch to obtain the internal voltage of the first and second battery clusters; the thirteenth branch connects the common internal voltage sampling point of the first and second battery clusters, as well as the negative terminal sampling point of the second battery cluster.

[0047] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the fourth circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the fourth circuit type, the sampling strategy of the fourth circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the sampling circuit of the fourth circuit type and correspondingly improving the sampling reliability.

[0048] Secondly, embodiments of this application also provide a sampling control device, which includes:

[0049] The status acquisition module is used to determine the data status of any sampling channel in the energy storage device when the sampling channel is unloaded; when voltage data exists in the sampling channel, it determines whether the data status of the sampling channel is negative channel data or positive channel data based on the relationship between the voltage data and a preset voltage threshold. The sampling channel is connected to the sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device. The data status is used to characterize the status type of the sampled data on the sampling channel.

[0050] The type determination module is used to determine the type of the sampling circuit based on the data status of each sampling channel.

[0051] The strategy determination module is used to determine the target sampling strategy from a variety of pre-configured sampling strategies based on the type of sampling circuit;

[0052] The data sampling module is used to drive the sampling circuit according to the target sampling strategy to sample the electrical data of the battery clusters in the energy storage device.

[0053] Thirdly, embodiments of this application also provide an energy storage device, which includes a controller, a sampling chip, a sampling circuit, and at least two battery clusters. The controller is connected to the sampling chip, the sampling chip is connected to the sampling circuit through a sampling channel, and the sampling circuit is connected to each battery cluster. The controller is used to implement the steps in the sampling control method provided in any of the above embodiments.

[0054] Fourthly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the sampling control method provided in any of the embodiments of the first aspect above.

[0055] Fifthly, embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the steps in the sampling control method provided in any of the embodiments of the first aspect described above.

[0056] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0057] Figure 1 This is a diagram illustrating the application environment of the sampling control method in one embodiment;

[0058] Figure 2 This is a flowchart illustrating a sampling control method in one embodiment;

[0059] Figure 3 This is a flowchart illustrating the process of determining data status in one embodiment;

[0060] Figure 4 This is a flowchart illustrating the process of determining the type of sampling circuit in one embodiment;

[0061] Figure 5 This is a schematic diagram showing the connection between the battery cluster and the energy circuit in one embodiment;

[0062] Figure 6This is a schematic diagram showing the connection relationship of the sampling circuit of the first circuit type in one embodiment;

[0063] Figure 7 This is a flowchart illustrating the driving sampling circuit in one embodiment;

[0064] Figure 8 This is a schematic diagram of the connection between the battery cluster and the energy circuit in another embodiment;

[0065] Figure 9 This is a schematic diagram of the connection relationship of the sampling circuit of the second circuit type in one embodiment;

[0066] Figure 10 This is a flowchart illustrating the driving sampling circuit in another embodiment;

[0067] Figure 11 This is a schematic diagram of the connection relationship of the sampling circuit of the third circuit type in one embodiment;

[0068] Figure 12 This is a flowchart illustrating the driving sampling circuit in another embodiment;

[0069] Figure 13 This is a schematic diagram of the connection between the battery cluster and the energy circuit in another embodiment;

[0070] Figure 14 This is a schematic diagram of the connection relationship of the sampling circuit of the fourth circuit type in one embodiment;

[0071] Figure 15 This is a flowchart illustrating the driving sampling circuit in another embodiment;

[0072] Figure 16 This is a flowchart illustrating the sampling control method in another embodiment;

[0073] Figure 17 This is a structural block diagram of a sampling control device in one embodiment. Detailed Implementation

[0074] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0075] 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 pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the term "comprising" and any variations thereof in the specification, claims and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0076] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0077] In the description of the embodiments of this application, the term "and / or" is merely a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), unless otherwise explicitly specified.

[0078] The energy loop of an energy storage device connects the battery clusters to external equipment, such as a power conversion system (PCS), enabling the charging and discharging of the battery clusters within the energy storage device. In practical applications, various types of energy loops are used, and different energy loops require adaptively designed sampling circuits to sample the voltage of the battery clusters in the energy storage device.

[0079] In related technologies, a corresponding sampling program is usually configured for a given sampling circuit in the energy storage device, and the voltage sampling of the battery clusters in the energy storage device is achieved through a fixed match between the sampling program and the sampling circuit.

[0080] However, due to the binding of the sampling program and the sampling circuit, the sampling control method in the related technology can only be limited to the established sampling circuit and is difficult to be compatible with other sampling circuits. This results in poor control flexibility in the sampling control method for battery clusters in energy storage devices.

[0081] Based on this, this application provides a sampling control method that identifies the type of sampling circuit in the energy storage device and uses a target sampling strategy corresponding to the type of sampling circuit to drive the sampling circuit for electrical data sampling. This method is adaptable to various types of sampling circuits and is not limited to a given sampling circuit, thereby improving the flexibility of sampling control.

[0082] The sampling control method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, the energy storage device 100 includes a controller 110, a sampling chip 120, a sampling circuit 130, and at least two battery clusters 140. The controller 110 is connected to the sampling chip 120, which is connected to the sampling circuit 130 via a sampling channel. The sampling circuit 130 is connected to each battery cluster 140. The controller 110 can drive the sampling chip 120 to enable the sampling circuit 130, thereby activating the sampling branch in the sampling circuit 130 and enabling the sampling of electrical data from the battery clusters 140.

[0083] For example, the controller 110 communicates with the sampling chip 120 via a serial port. The controller 110 is a controller in the battery management system (BMS) of the energy storage device 100, such as a microcontroller unit (MCU).

[0084] Those skilled in the art will understand that Figure 1 The structures shown are merely block diagrams of some structures related to the embodiments of this application and do not constitute a limitation on the computer devices on which the embodiments of this application are applied. Specific computer devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.

[0085] In one embodiment, this application provides a sampling control method, which is applied to... Figure 1 Taking the controller in the example, such as Figure 2 As shown, the method includes the following steps:

[0086] S210. For any sampling channel in the energy storage device, when the sampling channel is unloaded, determine the data state of the sampling channel as the corresponding unloaded data state; when voltage data exists in the sampling channel, determine the data state of the sampling channel as negative channel data or positive channel data based on the relationship between the voltage data and the preset voltage threshold; the sampling channel is connected to the sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device; the data state is used to characterize the state type of the sampled data on the sampling channel.

[0087] One end of the sampling channel is connected to the sampling chip, and the other end is connected to the sampling circuit. The sampling circuit is connected to the sampling point of the battery cluster through the energy circuit connected to the battery cluster.

[0088] Optionally, the controller can acquire sampling data from each sampling channel on the sampling chip to determine the data status of the sampling channel based on the electrical data of each sampling channel. The electrical data of the sampling channel is the electrical data at the corresponding location in the sampling circuit to which the sampling channel is connected; this electrical data can be voltage data or current data.

[0089] Among them, the negative channel data represents the electrical data at the position near the negative terminal of the battery cluster in the sampling circuit, and the positive channel data represents the electrical data at the position near the positive terminal of the battery cluster in the sampling circuit.

[0090] For example, for any sampling channel on the sampling chip, the controller can collect voltage data at the corresponding location in the sampling circuit connected to that sampling channel. If no voltage data is collected for the corresponding sampling channel, the controller determines that the sampling channel is unloaded and accordingly determines the data state of the sampling channel as the unloaded data state. If voltage data is collected for the corresponding sampling channel, that is, if voltage data exists in the sampling channel, the controller compares the voltage data with a preset voltage threshold to determine whether the data state of the sampling circuit is negative channel data or positive channel data based on the comparison result.

[0091] S220. Determine the type of sampling circuit based on the data status of each sampling channel.

[0092] The sampling chip is connected to the sampling circuit via sampling channels. Different types of sampling circuits have different internal connections, and the data states of each sampling channel on the corresponding sampling chip are different. The type of sampling circuit is adapted to the connected energy loop.

[0093] Optionally, the controller can input the data status of each sampling channel into a pre-trained recognition model to obtain the type of sampling circuit in the energy storage device output by the recognition model.

[0094] S230. Determine the target sampling strategy from a variety of pre-configured sampling strategies based on the type of sampling circuit.

[0095] Here, the sampling strategy represents the control strategy for the sampling circuit. Different types of sampling circuits correspond to different sampling strategies. The pre-configured multiple sampling strategies are sampling strategies corresponding to multiple types of sampling circuits, with one sampling strategy corresponding to one type of sampling circuit.

[0096] Optionally, after obtaining the type of sampling circuit in the energy storage device, the controller can determine the sampling strategy for that type of sampling circuit from a variety of pre-configured sampling strategies, and use it as the target sampling strategy.

[0097] S240. Drive the sampling circuit according to the target sampling strategy to sample the electrical data of the battery clusters in the energy storage device.

[0098] The controller can drive the sampling branch in the sampling circuit to form a sampling loop, thereby sampling electrical data of the battery cluster. For example, the electrical data can be current data or voltage data.

[0099] Optionally, after obtaining the target sampling strategy, the controller can control the conduction state of the sampling branch in the sampling circuit according to the target sampling strategy to form a sampling loop, and then sample the electrical data of the battery cluster in the energy storage device.

[0100] In this embodiment, by acquiring the data status of each sampling channel in the energy storage device, determining the type of sampling circuit based on the data status of each sampling channel, and determining the target sampling strategy from a variety of pre-configured sampling strategies based on the type of sampling circuit, the sampling circuit is driven according to the target sampling strategy to sample the electrical data of the battery clusters in the energy storage device. The sampling channel is connected to the sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device. The data status is used to characterize the state type of the sampled data on the sampling channel. In the above method, the type of sampling circuit is identified based on the data status of each sampling channel, and the sampling circuit is driven to sample the battery clusters using the target sampling strategy corresponding to the type of sampling circuit. This method can be adapted to various types of sampling circuits and is not limited to a predetermined sampling circuit, thereby improving the flexibility of sampling control.

[0101] In one embodiment, for cases where voltage data exists in the sampling channel, such as Figure 3 As shown, in S210 above, determining the data state of the sampling channel as negative channel data or positive channel data based on the relationship between the voltage data and the preset voltage threshold includes:

[0102] S310. When the voltage data is less than or equal to the preset voltage threshold, determine the data status of the sampling channel as negative channel data.

[0103] S320. When the voltage data is greater than the preset voltage threshold, determine the data status of the sampling channel as positive channel data.

[0104] Optionally, for any sampling channel, when the controller acquires the voltage data of the corresponding sampling channel, it compares the voltage data with a preset voltage threshold. If the voltage data is less than or equal to the preset voltage threshold, the data state of the sampling channel is determined to be negative channel data; if the voltage data is greater than the preset voltage threshold, the data state of the sampling channel is determined to be positive channel data.

[0105] For example, the data status of the sampling channel can be represented by status values. For example, status values ​​include 0, 1, and 2, where 0 represents the data status of the corresponding sampling channel being unloaded, 1 represents the negative channel data, and 2 represents the positive channel data.

[0106] In this embodiment, when voltage data exists in the sampling channel, if the voltage data is less than or equal to a preset voltage threshold, the data state of the sampling channel is determined to be negative channel data; if the voltage data is greater than the preset voltage threshold, the data state of the sampling channel is determined to be positive channel data. In the above method, based on the relationship between the voltage data and the preset voltage threshold, the method determines the data state of the sampling channel as negative channel data when the voltage data is less than or equal to the preset voltage threshold, and as positive channel data when the voltage data is greater than the preset voltage threshold. This achieves a finer-grained division of the data state when voltage data exists in the sampling channel, which helps improve the accuracy and reliability of the sampling circuit type determined based on the data state of the sampling channel, thereby improving the effectiveness of sampling control.

[0107] To determine the type of sampling circuit, in one embodiment, such as Figure 4 As shown, S220 above, determining the type of sampling circuit based on the data status of each sampling channel, includes:

[0108] S410. Take the data state of each sampling channel as a data state set, and match the data state set with the reference data state set corresponding to at least one preset type of sampling circuit.

[0109] The data state set includes the data states of each sampling channel on the sampling chip. Different types of sampling circuits correspond to different data state sets. The reference data state set represents the data state set of a sampling circuit of a preset type.

[0110] Optionally, after obtaining the data status of each sampling channel on the sampling chip, the controller can summarize the data status of each sampling channel on the sampling chip as a data status set.

[0111] S420. Obtain the preset type corresponding to the reference data state set that successfully matches the data state set, and determine it as the type of the sampling circuit.

[0112] Optionally, after obtaining the data state set, the controller can read the reference data state set corresponding to at least one preset type of sampling circuit, and match the obtained data state set with the reference data state set corresponding to each preset type of sampling circuit, so as to obtain the reference data state set that successfully matches the data state set from the reference data state set corresponding to each preset type of sampling circuit, and determine the preset type corresponding to the successfully matched reference data state set as the type of sampling circuit in the energy storage device.

[0113] For example, taking a sampling chip that includes 6 sampling channels S1-S6, a reference data state set corresponding to a sampling circuit of preset type A {S1=2, S2=2, S3=2, S4=2, S5=1, S6=1}, and a reference data state set corresponding to a sampling circuit of preset type B {S1=2, S2=2, S3=2, S4=2, S5=1, S6=0} as an example, when the data state set of the sampling chip is {S1=2, S2=2, S3=2, S4=2, S5=1, S6=0}, the controller determines that preset type B is the type of sampling circuit in the energy storage device.

[0114] In this embodiment, the data state of each sampling channel is used as a data state set, and the data state set is matched with a reference data state set corresponding to at least one preset type of sampling circuit to obtain the preset type corresponding to the reference data state set that successfully matches the data state set, and is determined as the type of sampling circuit. In the above method, the data state of each sampling channel is used as the data state set of the sampling chip, and the type of sampling circuit in the energy storage device is determined by matching the data state set, which simplifies the identification of the sampling circuit type, makes the identification of the sampling circuit type accurate and efficient, and does not require additional detection.

[0115] For application scenarios where the energy storage device includes two battery clusters (the first battery cluster and the second battery cluster), the corresponding sampling chip is configured with six sampling channels.

[0116] In one embodiment, at least one preset type of the sampling circuit includes a first circuit type, which represents a sampling circuit connecting independent sampling points in the first and second battery clusters. The reference data state set corresponding to the first circuit type includes:

[0117] Of the six sampling channels, four are positive channel data and two are negative channel data.

[0118] Optionally, for application scenarios where the energy storage device includes two battery clusters, the controller can read the voltage data of six sampling channels on the sampling chip to determine the data status of the six sampling channels. If it is determined that the data status of four sampling channels is positive channel data and the data status of two sampling channels is negative channel data, the type of sampling circuit in the energy storage device is determined to be the first circuit type.

[0119] like Figure 5 As shown, in the energy circuit connecting the first and second battery clusters, independent switching branches are configured for each battery cluster. The first battery cluster is connected to the pre-charge branch (including a relay K connected in series). 预1 and R预1 ), positive switch branch (including relay K) 主1 ) and negative switch branch (including relay K) 负1 The second battery cluster is connected to the precharge branch (including the relay K connected in series). 预2 and R 预2 ), positive switch branch (including relay K) 主2 ) and negative switch branch (including relay K) 负2 Accordingly, the first battery cluster and the second battery cluster are each configured with independent sampling points. The first battery cluster includes an external voltage sampling point A1, an internal voltage sampling point B1, and a negative electrode sampling point C1; the second battery cluster includes an external voltage sampling point A2, an internal voltage sampling point B2, and a negative electrode sampling point C2.

[0120] like Figure 6 As shown, the sampling circuit of the first circuit type includes a first branch L1, a second branch L2, a third branch L3, and a fourth branch L4. Specifically, L1 connects to A1 and C1 of the first battery cluster, L2 connects to B1 and C1, L3 connects to A2 and C2, and L4 connects to B2 and C2.

[0121] When the target sampling strategy is the sampling strategy of the sampling circuit corresponding to the first circuit type, such as Figure 7 As shown, the sampling circuit driven according to the target sampling strategy in S240 above includes:

[0122] S710, Close the first branch and the third branch to obtain the external voltage of the first battery cluster and the external voltage of the second battery cluster respectively; the first branch connects the external voltage sampling point and the negative electrode sampling point of the first battery cluster; the third branch connects the external voltage sampling point and the negative electrode sampling point of the second battery cluster.

[0123] Optionally, the controller can enable the first branch and the third branch in the sampling circuit of the first circuit type to close the first branch and the third branch, acquire the voltage data collected by the sampling channel connected to the first branch, calculate the external voltage of the first battery cluster, acquire the voltage data collected by the sampling channel connected to the third branch, and calculate the external voltage of the second battery cluster.

[0124] For example, the sampling chip includes six sampling channels, S1-S6, such as... Figure 6 As shown, S1 connects to position point a1 in L1, S2 connects to position point b1 in L2, S3 connects to position point a2 in L3, S4 connects to position point b2 in L4, S5 connects to position point c1 in both L1 and L2, and S6 connects to position point c2 in both L3 and L4. The MCU can enable relays Q1 and Q3 via pins En1 and En3 respectively to close L1 and L3 and acquire the voltage data U of S1 and S3. a1c1 and Ua2c2 According to U a1c1 The external voltage U of the first battery cluster was calculated. A1C1 , and according to U a2c2 The external voltage U of the second battery cluster was calculated. A2C2 .

[0125] S720, close the second branch and the fourth branch to obtain the internal voltage of the first battery cluster and the internal voltage of the second battery cluster respectively; the second branch connects the internal voltage sampling point and the negative electrode sampling point of the first battery cluster; the third branch connects the internal voltage sampling point and the negative electrode sampling point of the second battery cluster.

[0126] Optionally, the controller can enable the second and fourth branches in the sampling circuit of the first circuit type to close the second and fourth branches, acquire the voltage data collected by the sampling channel connected to the second branch, calculate the internal voltage of the first battery cluster, acquire the voltage data collected by the sampling channel connected to the fourth branch, and calculate the internal voltage of the second battery cluster.

[0127] For example, see [link to relevant documentation] Figure 6 The MCU can enable relays Q2 and Q4 via pins En2 and En4 respectively, thereby closing L2 and L4 and acquiring the voltage data U of S2 and S4. b1c1 and U b2c2 According to U b1c1 The internal voltage U of the first battery cluster was calculated. B1C1 , and according to U b2c2 The internal voltage U of the second battery cluster was calculated. B2C2 .

[0128] It should be noted that the first / third branch and the second / fourth branch must be closed alternately. That is, when the first / third branch is closed, the second / fourth branch remains open; when the second / fourth branch is closed, the first / third branch remains open.

[0129] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the first circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the first circuit type, the sampling strategy of the first circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the sampling circuit of the first circuit type and correspondingly improving the sampling reliability.

[0130] In one embodiment, at least one preset type of the sampling circuit includes a second circuit type, which represents a sampling circuit connecting a shared external voltage sampling point, an independent internal voltage sampling point, and a shared negative electrode sampling point in the first and second battery clusters. The reference data state set corresponding to the second circuit type includes:

[0131] Of the six sampling channels, four are in the positive channel data state, one is in the negative channel data state, and one is in the no-load data state of the corresponding sampling channel.

[0132] Optionally, for application scenarios where the energy storage device includes two battery clusters, the controller can read the voltage data of six sampling channels on the sampling chip to determine the data status of the six sampling channels. If it is determined that the data status of four sampling channels is positive channel data, the data status of one sampling channel is negative channel data, and the data status of one sampling channel is the data status of the corresponding sampling channel being unloaded, the type of sampling circuit in the energy storage device is determined to be the second circuit type.

[0133] like Figure 8 As shown, in the energy circuit connecting the first and second battery clusters, the first and second battery clusters share a pre-charge branch and a negative switch branch. Correspondingly, the external voltage sampling points A1 and A2 of the first and second battery clusters are independent of each other, the internal voltage sampling points B1 and B2 of the first and second battery clusters are independent of each other, and the negative electrode sampling points C1 and C2 of the first and second battery clusters can be shared, denoted as the shared negative electrode sampling point Ccom.

[0134] like Figure 9 As shown, the sampling circuit of the second circuit type includes a fifth branch L5, a sixth branch L6, a seventh branch L7, and an eighth branch L8. Specifically, L5 connects A1 and Ccom, L6 connects B1 and Ccom, L7 connects A2 and Ccom, and L8 connects B2 and Ccom.

[0135] When the target sampling strategy is the sampling strategy of the sampling circuit corresponding to the second circuit type, such as Figure 10 As shown, the sampling circuit driven according to the target sampling strategy in S240 above includes:

[0136] S1010: Close the fifth branch to obtain the external voltage of the first battery cluster; the fifth branch connects the external voltage sampling point of the first battery cluster and the common negative electrode sampling point.

[0137] Optionally, the controller can enable the fifth branch in the sampling circuit of the second circuit type to close the fifth branch, acquire the voltage data collected by the sampling channel connected to the fifth branch, and calculate the external voltage of the first battery cluster.

[0138] For example, the sampling chip includes six sampling channels, S1-S6, such as... Figure 9 As shown, S1 is connected to position point a1 in L5, S2 is connected to position point b1 in L6, S3 is connected to position point a2 in L7, S4 is connected to position point b2 in L8, S5 is connected to position points c1 / c2, and S6 is left unused. The MCU enables relay Q1 through pin En1 to close L5 and acquire the voltage data U of S1. a1c1 According to U a1c1 The external voltage U of the first battery cluster was calculated. A1C1 .

[0139] S1020. Close the sixth branch to obtain the internal voltage of the first battery cluster; the sixth branch connects the internal voltage sampling point of the first battery cluster and the common negative electrode sampling point.

[0140] Optionally, the controller can enable the sixth branch in the sampling circuit of the second circuit type to close the sixth branch, acquire the voltage data collected by the sampling channel connected to the sixth branch, and calculate the internal voltage of the first battery cluster.

[0141] For example, see [link to relevant documentation] Figure 9 The MCU enables relay Q2 via pin En2 to close L6 and acquire voltage data U from S2. b1c1 According to U b1c1 The internal voltage U of the first battery cluster was calculated. B1C1 .

[0142] S1030, close the seventh branch to obtain the external voltage of the second battery cluster; the seventh branch connects the external voltage sampling point of the second battery cluster and the common negative electrode sampling point.

[0143] Optionally, the controller can enable the seventh branch in the sampling circuit of the second circuit type to close the seventh branch, acquire the voltage data collected by the sampling channel connected to the seventh branch, and calculate the external voltage of the second battery cluster.

[0144] For example, see [link to relevant documentation] Figure 9 The MCU enables relay Q3 via pin En3 to close L7 and acquire voltage data U from S3. a2c2 According to U a2c2 The external voltage U of the second battery cluster was calculated. A2C2 .

[0145] S1040, close the eighth branch to obtain the internal voltage of the second battery cluster; the eighth branch connects the internal voltage sampling point of the second battery cluster and the common negative electrode sampling point.

[0146] Optionally, the controller can enable the seventh branch in the sampling circuit of the second circuit type to close the eighth branch, acquire the voltage data collected by the sampling channel connected to the eighth branch, and calculate the internal voltage of the second battery cluster.

[0147] For example, see [link to relevant documentation] Figure 9 The MCU enables relay Q4 via pin En4 to close L8 and acquire voltage data U from S4. b2c2 According to U b2c2 The internal voltage U of the second battery cluster was calculated. B2C2 .

[0148] It should be noted that the fifth, sixth, seventh, and eighth branches must be closed alternately. That is, when the fifth branch is closed, the sixth, seventh, and eighth branches remain open; when the sixth branch is closed, the fifth, seventh, and eighth branches remain open; when the seventh branch is closed, the fifth, sixth, and eighth branches remain open; and when the eighth branch is closed, the fifth, sixth, and seventh branches remain open.

[0149] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the second circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the second circuit type, the sampling strategy of the second circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the sampling circuit of the second circuit type and correspondingly improving the sampling reliability.

[0150] In one embodiment, at least one preset type of the sampling circuit includes a third circuit type, which represents a sampling circuit that connects a shared external voltage sampling point, an independent internal voltage sampling point, and a shared negative electrode sampling point in the first and second battery clusters, and shares an external voltage sampling branch. The reference data state set corresponding to the third circuit type includes:

[0151] Of the six sampling channels, three sampling channels are in the positive channel data state, one sampling channel is in the negative channel data state, and two sampling channels are in the corresponding unloaded data state.

[0152] Optionally, for application scenarios where the energy storage device includes two battery clusters, the controller can read the voltage data of six sampling channels on the sampling chip to determine the data status of the six sampling channels. If it is determined that the data status of three sampling channels is positive channel data, the data status of one sampling channel is negative channel data, and the data status of two sampling channels is the data status of the corresponding sampling channel being unloaded, the type of sampling circuit in the energy storage device is determined to be the third circuit type.

[0153] like Figure 8 As shown, the external voltage sampling points A1 and A2 of the first and second battery clusters can be shared, denoted as the shared external voltage sampling point Acom. The internal voltage sampling points B1 and B2 of the first and second battery clusters are independent of each other. The negative electrode sampling points C1 and C2 of the first and second battery clusters can be shared, denoted as the shared negative electrode sampling point Ccom.

[0154] like Figure 11 As shown, the sampling circuit of the second circuit type includes a ninth branch L9, a tenth branch L10, and an eleventh branch L11. Among them, L9 connects Acom and Ccom, L10 connects B1 and Ccom, and L11 connects B2 and Ccom.

[0155] When the target sampling strategy is the sampling strategy of the sampling circuit corresponding to the third circuit type, such as Figure 12 As shown, the sampling circuit driven according to the target sampling strategy in S240 above includes:

[0156] S1210. Close the ninth branch to obtain the external voltage of the first battery cluster and the second battery cluster; the ninth branch is a common external voltage sampling branch, connecting the common external voltage sampling point and the common negative electrode sampling point of the first battery cluster and the second battery cluster.

[0157] Optionally, the controller can enable the ninth branch in the sampling circuit of the third circuit type to close the ninth branch, acquire the voltage data collected by the sampling channel connected to the ninth branch, and calculate the external voltage of the first battery cluster and the second battery cluster.

[0158] For example, the sampling chip includes six sampling channels, S1-S6, such as... Figure 11 As shown, S1 connects to position points a1 / a2 in L9, S2 connects to position point b1 in L10, S3 connects to position point b2 in L11, S4 connects to position points c1 / c2, and S5 and S6 are left unused. The MCU enables relay Q1 through pin En1 to close L9 and acquire the voltage data U of S1. a1c1 / U a2c2 According to U a1c1 / U a2c2 The external voltage U of the first battery cluster was calculated.A1C1 and the external voltage U of the first battery cluster A2C2 U A1C1 =U A2C2 .

[0159] S1220. Close the tenth branch to obtain the internal voltage of the first battery cluster; the tenth branch connects the internal voltage sampling point of the first battery cluster and the common negative electrode sampling point.

[0160] Optionally, the controller can enable the tenth branch in the sampling circuit of the third circuit type to close the tenth branch, acquire the voltage data collected by the sampling channel connected to the tenth branch, and calculate the internal voltage of the first battery cluster.

[0161] For example, see [link to relevant documentation] Figure 11 The MCU enables relay Q2 via pin En2 to close L10 and acquire the voltage data U of S2. b1c1 According to U b1c1 The internal voltage U of the first battery cluster was calculated. B1C1 .

[0162] S1230, close the eleventh branch to obtain the internal voltage of the second battery cluster; the eleventh branch connects the internal voltage sampling point of the second battery cluster and the common negative electrode sampling point.

[0163] Optionally, the controller can enable the eleventh branch in the sampling circuit of the third circuit type to close the eleventh branch, acquire the voltage data collected by the sampling channel connected to the eleventh branch, and calculate the internal voltage of the second battery cluster.

[0164] For example, see [link to relevant documentation] Figure 11 The MCU enables relay Q3 via pin En3 to close L11 and acquire voltage data U from S3. b2c2 According to U b2c2 The internal voltage U of the second battery cluster was calculated. B2C2 .

[0165] It should be noted that the ninth, tenth, and eleventh branches must be closed alternately. That is, when the ninth branch is closed, the tenth and eleventh branches remain open; when the tenth branch is closed, the ninth and eleventh branches remain open; and when the eleventh branch is closed, the ninth and tenth branches remain open.

[0166] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the third circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the third circuit type, the sampling strategy of the third circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the sampling circuit of the third circuit type and correspondingly improving the sampling reliability.

[0167] In one embodiment, at least one preset type of the sampling circuit includes a fourth circuit type, which represents a sampling circuit connecting a shared external voltage sampling point, a shared internal voltage sampling point, and an independent negative electrode sampling point of the first and second battery clusters. The reference data state set corresponding to the fourth circuit type includes:

[0168] Of the six sampling channels, two sampling channels are in the positive channel data state, two sampling channels are in the negative channel data state, and two sampling channels are in the corresponding no-load data state.

[0169] Optionally, for application scenarios where the energy storage device includes two battery clusters, the controller can read the voltage data of six sampling channels on the sampling chip to determine the data status of the six sampling channels. If it is determined that the data status of two sampling channels is positive channel data, the data status of two sampling channels is negative channel data, and the data status of two sampling channels is the data status of the corresponding sampling channel being unloaded, the type of sampling circuit in the energy storage device is determined to be the fourth circuit type.

[0170] For applications involving two battery clusters in energy storage devices, the correspondence between the data states of the six sampling channels S1-S6 on the sampling chip and the sampling circuit type is shown in the table below.

[0171]

[0172] like Figure 13 As shown, in the energy circuit connecting the first and second battery clusters, the first and second battery clusters share a pre-charge branch and a positive switch branch. Correspondingly, the external voltage sampling points A1 and A2 of the first and second battery clusters can be shared, denoted as the shared external voltage sampling point Acom; the internal voltage sampling points B1 and B2 of the first and second battery clusters can be shared, denoted as the shared negative sampling point Bcom; and the negative sampling points C1 and C2 of the first and second battery clusters are independent of each other.

[0173] like Figure 14 As shown, the sampling circuit of the fourth circuit type includes a twelfth branch L12 and a thirteenth branch L13. Among them, L12 is connected to Acom and C1, and L13 is connected to Bcom and C2.

[0174] When the target sampling strategy is the sampling strategy of the sampling circuit corresponding to the fourth circuit type, such as Figure 15 As shown, the sampling circuit driven according to the target sampling strategy in S240 above includes:

[0175] S1510. Close the twelfth branch to obtain the external voltage of the first battery cluster and the second battery cluster; the twelfth branch connects the common external voltage sampling point of the first battery cluster and the second battery cluster, as well as the negative terminal sampling point of the first battery cluster.

[0176] Optionally, the controller can enable the twelfth branch in the sampling circuit of the fourth circuit type to close the twelfth branch, acquire the voltage data collected by the sampling channel connected to the twelfth branch, and calculate the external voltage of the first battery cluster and the second battery cluster.

[0177] For example, the sampling chip includes six sampling channels, S1-S6, such as... Figure 14 As shown, S1 connects to position points a1 / a2 in L12, S2 connects to position points b1 / b2 in L13, S3 connects to position point c1, S4 connects to position point c2, and S5 and S6 are left unused. The MCU enables relays Q1 and Q3 through pins En1 and En3 to close L12 and acquire the voltage data U of S1. a1c1 / U a2c2 According to U a1c1 / U a2c2 The external voltage U of the first battery cluster was calculated. A1C1 The external voltage U of the second battery cluster A2C2 U A1C1 =U A2C2 .

[0178] S1520. Close the thirteenth branch to obtain the internal voltage of the first battery cluster and the second battery cluster; the thirteenth branch connects the common internal voltage sampling point of the first battery cluster and the second battery cluster, as well as the negative electrode sampling point of the second battery cluster.

[0179] Optionally, the controller can enable the thirteenth branch in the sampling circuit of the fourth circuit type to close the thirteenth branch, acquire the voltage data collected by the sampling channel connected to the thirteenth branch, and calculate the internal voltage of the first battery cluster and the second battery cluster.

[0180] For example, continuing to refer to 14, the MCU enables relays Q2 and Q4 via pins En2 and En4 to close L13 and acquire the voltage data U of S2. b1c1 / U b2c2 According to U b1c1 / U b2c2 The internal voltage U of the first battery cluster was calculated. B1C1The internal voltage U of the second battery cluster B2C2 U B1C1 =U B2C2 .

[0181] It should be noted that the twelfth and thirteenth branches must be closed alternately. That is, when the twelfth branch is closed, the thirteenth branch remains open; when the thirteenth branch is closed, the twelfth branch remains open.

[0182] In this embodiment, a corresponding sampling strategy is configured for the sampling circuit of the fourth circuit type, so that when it is determined that the sampling circuit in the energy storage device is of the fourth circuit type, the sampling strategy of the fourth circuit type is used as the target strategy to sample the electrical data of the battery cluster, thereby improving the compatibility between the sampling strategy and the fourth type of sampling circuit and improving the sampling reliability accordingly.

[0183] To facilitate understanding by those skilled in the art, the sampling control method provided in this application is described in detail below, such as... Figure 16 As shown, the method may include:

[0184] S1601. Collect voltage data from each sampling channel in the energy storage device; the sampling channel is connected to the sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device.

[0185] S1602. For any sampling channel, when the sampling channel is unloaded, determine the data state of the sampling channel as the data state of the corresponding unloaded sampling channel.

[0186] S1603. If voltage data exists in the sampling channel and the voltage data is less than or equal to a preset voltage threshold, determine that the data state of the sampling channel is negative channel data.

[0187] S1604. If voltage data exists in the sampling channel and the voltage data is greater than the preset voltage threshold, determine that the data status of the sampling channel is positive channel data.

[0188] S1605. Take the data status of each sampling channel as a data status set, and match the data status set with a reference data status set corresponding to at least one preset type of sampling circuit;

[0189] S1606. Obtain the preset type corresponding to the reference data state set that successfully matches the data state set, and determine it as the type of the sampling circuit;

[0190] S1607. Determine the target sampling strategy from a variety of pre-configured sampling strategies based on the type of sampling circuit;

[0191] S1608. Drive the sampling circuit according to the target sampling strategy to sample the electrical data of the battery clusters in the energy storage device.

[0192] It should be noted that the descriptions in S1601-S1608 above can be found in the relevant descriptions in the above embodiments, and their effects are similar, so they will not be repeated here.

[0193] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0194] Based on the same inventive concept, this application also provides a sampling control device for implementing the sampling control method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more sampling control device embodiments provided below can be found in the limitations of the sampling control method described above, and will not be repeated here.

[0195] In one embodiment, such as Figure 17 As shown, a sampling control device is provided, including: a state acquisition module 1701, a type determination module 1702, a strategy determination module 1703, and a data sampling module 1704; wherein:

[0196] The status acquisition module 1701 is used to determine the data status of any sampling channel in the energy storage device as the corresponding no-load data status when the sampling channel is unloaded; when voltage data exists in the sampling channel, it determines whether the data status of the sampling channel is negative channel data or positive channel data based on the relationship between the voltage data and a preset voltage threshold; the sampling channel is connected to the sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device; the data status is used to characterize the status type of the sampled data on the sampling channel;

[0197] The type determination module 1702 is used to determine the type of sampling circuit based on the data status of each sampling channel;

[0198] The strategy determination module 1703 is used to determine a target sampling strategy from a variety of pre-configured sampling strategies based on the type of sampling circuit;

[0199] The data sampling module 1704 is used to drive the sampling circuit according to the target sampling strategy to sample the electrical data of the battery clusters in the energy storage device.

[0200] Each module in the aforementioned sampling control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0201] In one embodiment, an energy storage device is provided, such as Figure 1 As shown, it includes a controller 110, a sampling chip 120, a sampling circuit 130, and at least two battery clusters 140; the controller 110 is connected to the sampling chip 120, the sampling chip 120 is connected to the sampling circuit 130 through a sampling channel, and the sampling circuit 130 is connected to each battery cluster 140; the controller 110 is used to implement the steps of any of the above sampling control methods.

[0202] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above sampling control methods.

[0203] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of any of the above sampling control methods.

[0204] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0205] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0206] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A sampling control method, characterized in that, The method, applied to a controller in an energy storage device, includes: For any sampling channel in the energy storage device, when the sampling channel is unloaded, the data state of the sampling channel is determined to be the corresponding unloaded data state; when voltage data exists in the sampling channel, the data state of the sampling channel is determined to be either negative channel data or positive channel data based on the relationship between the voltage data and a preset voltage threshold; the sampling channel is connected to a sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device; the data state is used to characterize the state type of the sampled data on the sampling channel; the type of the sampling circuit is determined based on the data state of each sampling channel; The target sampling strategy is determined from a variety of pre-configured sampling strategies based on the type of the sampling circuit. The sampling circuit is driven according to the target sampling strategy to sample electrical data of the battery clusters in the energy storage device.

2. The method according to claim 1, characterized in that, Determining the type of the sampling circuit based on the data status of each sampling channel includes: The data states of each sampling channel are used as a data state set, and the data state set is matched with a reference data state set corresponding to at least one preset type of sampling circuit. Obtain the preset type corresponding to the reference data state set that successfully matches the data state set, and determine it as the type of the sampling circuit.

3. The method according to claim 2, characterized in that, The energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a first circuit type, which represents a sampling circuit that connects independent sampling points in the first battery cluster and the second battery cluster. The reference data state set corresponding to the first circuit type includes: Of the six sampling channels, four are positive channel data and two are negative channel data.

4. The method according to claim 3, characterized in that, The sampling circuit of the first circuit type includes a first branch, a second branch, a third branch, and a fourth branch; when the target sampling strategy is a sampling strategy corresponding to the sampling circuit of the first circuit type, driving the sampling circuit according to the target sampling strategy includes: The first branch and the third branch are closed to obtain the external voltage of the first battery cluster and the external voltage of the second battery cluster, respectively; the first branch connects the external voltage sampling point and the negative electrode sampling point of the first battery cluster; the third branch connects the external voltage sampling point and the negative electrode sampling point of the second battery cluster. The second branch and the fourth branch are closed to obtain the internal voltage of the first battery cluster and the internal voltage of the second battery cluster, respectively; the second branch connects the internal voltage sampling point and the negative electrode sampling point of the first battery cluster; the fourth branch connects the internal voltage sampling point and the negative electrode sampling point of the second battery cluster.

5. The method according to claim 2, characterized in that, The energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a second circuit type, which represents a sampling circuit that connects the shared external voltage sampling point, the independent internal voltage sampling point, and the shared negative electrode sampling point in the first battery cluster and the second battery cluster. The reference data state set corresponding to the second circuit type includes: Of the six sampling channels, four sampling channels are in the positive channel data state, one sampling channel is in the negative channel data state, and one sampling channel is in the no-load data state of the corresponding sampling channel.

6. The method according to claim 5, characterized in that, The sampling circuit of the second circuit type includes a fifth branch, a sixth branch, a seventh branch, and an eighth branch; when the target sampling strategy is the sampling strategy corresponding to the sampling circuit of the second circuit type, driving the sampling circuit according to the target sampling strategy includes: Close the fifth branch to obtain the external voltage of the first battery cluster; the fifth branch connects the external voltage sampling point of the first battery cluster and the common negative electrode sampling point. Close the sixth branch to obtain the internal voltage of the first battery cluster; the sixth branch connects the internal voltage sampling point of the first battery cluster and the common negative electrode sampling point; Close the seventh branch to obtain the external voltage of the second battery cluster; the seventh branch connects the external voltage sampling point of the second battery cluster and the common negative electrode sampling point. The eighth branch is closed to obtain the internal voltage of the second battery cluster; the eighth branch connects the internal voltage sampling point of the second battery cluster and the common negative electrode sampling point.

7. The method according to claim 2, characterized in that, The energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a third circuit type, which represents a sampling circuit that connects the shared external voltage sampling point, the independent internal voltage sampling point, and the shared negative electrode sampling point in the first battery cluster and the second battery cluster, and shares the external voltage sampling branch. The reference data state set corresponding to the third circuit type includes: Of the six sampling channels, three sampling channels are in the positive channel data state, one sampling channel is in the negative channel data state, and two sampling channels are in the corresponding unloaded data state.

8. The method according to claim 7, characterized in that, The sampling circuit of the third circuit type includes a ninth branch, a tenth branch, and an eleventh branch; when the target sampling strategy is the sampling strategy corresponding to the sampling circuit of the third circuit type, driving the sampling circuit according to the target sampling strategy includes: Close the ninth branch to obtain the external voltage of the first battery cluster and the second battery cluster; the ninth branch is the common external voltage sampling branch, which connects the common external voltage sampling point and the common negative electrode sampling point of the first battery cluster and the second battery cluster. Close the tenth branch to obtain the internal voltage of the first battery cluster; the tenth branch connects the internal voltage sampling point of the first battery cluster and the common negative electrode sampling point; Close the eleventh branch to obtain the internal voltage of the second battery cluster; the eleventh branch connects the internal voltage sampling point of the second battery cluster and the common negative electrode sampling point.

9. The method according to claim 2, characterized in that, The energy storage device includes a first battery cluster and a second battery cluster, and includes six sampling channels; the preset type includes a fourth circuit type, which represents a sampling circuit that connects the shared external voltage sampling point, the shared internal voltage sampling point, and the independent negative electrode sampling point of the first battery cluster and the second battery cluster. The reference data state set corresponding to the fourth circuit type includes: Of the six sampling channels, two sampling channels are in the positive channel data state, two sampling channels are in the negative channel data state, and two sampling channels are in the corresponding unloaded data state.

10. The method according to claim 9, characterized in that, The sampling circuit of the fourth circuit type includes a twelfth branch and a thirteenth branch; when the target sampling strategy is the sampling strategy corresponding to the sampling circuit of the fourth circuit type, driving the sampling circuit according to the target sampling strategy includes: Close the twelfth branch to obtain the external voltage of the first battery cluster and the second battery cluster; the twelfth branch connects the common external voltage sampling point of the first battery cluster and the second battery cluster, as well as the negative terminal sampling point of the first battery cluster; Close the thirteenth branch to obtain the internal voltage of the first battery cluster and the second battery cluster; the thirteenth branch connects the common internal voltage sampling point of the first battery cluster and the second battery cluster, as well as the negative electrode sampling point of the second battery cluster.

11. A sampling control device, characterized in that, The device includes: The status acquisition module is used to determine the data status of any sampling channel in the energy storage device as the corresponding no-load data status when the sampling channel is unloaded; and to determine whether the data status of the sampling channel is negative channel data or positive channel data based on the relationship between the voltage data and a preset voltage threshold when voltage data exists in the sampling channel. The sampling channel is connected to a sampling circuit, and the sampling circuit is connected to each battery cluster in the energy storage device. The data status is used to characterize the status type of the sampled data on the sampling channel. A type determination module is used to determine the type of the sampling circuit based on the data status of each sampling channel; A strategy determination module is used to determine a target sampling strategy from a variety of pre-configured sampling strategies based on the type of the sampling circuit. The data sampling module is used to drive the sampling circuit according to the target sampling strategy to perform electrical data sampling on the battery clusters in the energy storage device.

12. An energy storage device, characterized in that, The energy storage device includes a controller, a sampling chip, a sampling circuit, and at least two battery clusters. The controller is connected to the sampling chip, the sampling chip is connected to the sampling circuit through a sampling channel, and the sampling circuit is connected to each of the battery clusters. The controller is used to implement the steps of the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10.

14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10.