Current detection method and device, electronic equipment and storage medium

Through multi-sensor detection and confidence analysis, the fusion current value is calculated, and the accuracy problem of a single sensor in abnormal situations is solved, achieving higher data accuracy and system reliability.

CN119165222APending Publication Date: 2024-12-20CHINA FAW CO LTD

Patent Information

Application Number
CN202411130774.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the existing current sensing technology, a single current sensor cannot detect errors in an abnormal situation. In the main and backup sensor mode, the backup sensor is only enabled when the main sensor fails, resulting in the data accuracy being unable to be guaranteed.

Method used

Multiple current sensors are used for detection, and by analyzing the confidence of each sensor, the target fusion coefficient is calculated to obtain the fusion current value, and the advantages and disadvantages of each sensor are complementary to improve the accuracy of the data.

Benefits of technology

Through the complementary advantages of multiple sensors, more accurate fusion current values ​​can be obtained, ensuring data accuracy and reliability, and avoiding errors when single sensor failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119165222A_ABST
    Figure CN119165222A_ABST
Patent Text Reader

Abstract

The invention provides a current detection method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining a plurality of current values detected when a plurality of current sensors act on a to-be-detected device; for the purpose of advantage complementation, analyzing the plurality of current sensors, and determining a target fusion coefficient of the confidence of the plurality of current sensors; and according to the plurality of current values and the target fusion coefficient, calculating to obtain a fusion current of the to-be-detected device. The multiple current sensors are used for detecting the to-be-detected equipment, advantages and disadvantages of different current sensors are taken into consideration, advantage complementation is carried out, more accurate fusion current can be obtained, and the data accuracy is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of current detection, and in particular to a method, device, electronic device and storage medium for current detection. Background Art

[0002] Current is an important parameter for evaluating the battery status and is an information that the BMS needs to focus on during operation. In the prior art, current detection mostly uses a current sensor for real-time detection, and some use a main sensor and a backup sensor for detection.

[0003] For the solution of using only one current sensor, there is no other data as a reference. When the current sensor is abnormal, the current value obtained is inaccurate, but the user cannot find it in time, which is easy to cause work errors. For the method of using main and standby sensors, the standby sensor only plays the role of "substitute", that is, when the main sensor is normal, the standby sensor does not work. When the main sensor is abnormal or repaired, the standby sensor will be enabled to work. In essence, only one current sensor is used for current collection, and the data accuracy cannot be guaranteed. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a current detection method, device, electronic device and storage medium to overcome the problems in the prior art.

[0005] In a first aspect, an embodiment of the present application provides a current detection method, which acts on a device to be detected, wherein the device to be detected includes a plurality of current sensors, and the method includes:

[0006] Acquiring multiple current values ​​detected when the multiple current sensors act on the device to be detected;

[0007] For the purpose of complementing each other's advantages, the multiple current sensors are analyzed to determine a target fusion coefficient of the confidence of the multiple current sensors;

[0008] The fusion current of the device to be detected is calculated according to the multiple current values ​​and the target fusion coefficient.

[0009] In some technical solutions of the present application, the plurality of current sensors include a first current sensor and a second current sensor;

[0010] The method of analyzing the multiple current sensors for the purpose of complementing each other's advantages and determining a target fusion coefficient of the confidence of the multiple current sensors includes:

[0011] Analyze the first current sensor and the second current sensor based on device properties to obtain a first total confidence of the first current sensor and a second total confidence of the second current sensor;

[0012] A target fusion coefficient of the first current sensor and the second current sensor is determined according to the first total confidence and the second total confidence.

[0013] In some technical solutions of the present application, the first current sensor and the second current sensor are analyzed based on device properties to obtain a first total confidence of the first current sensor and a second total confidence of the second current sensor, including:

[0014] Based on device properties in different dimensions, by analyzing the first current sensor and the second current sensor, a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions are obtained;

[0015] Calculating a first overall confidence level of the first current sensor according to the first sub-confidence level;

[0016] A second overall confidence level of the second current sensor is calculated based on the second sub-confidence level.

[0017] In some technical solutions of the present application, the first current sensor comprises a shunt current sensor, and the second current sensor comprises a Hall current sensor;

[0018] The obtaining, based on the device properties in different dimensions, of a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions by analyzing the first current sensor and the second current sensor, includes:

[0019] Based on the operating temperature dimension, the shunt current sensor and the Hall current sensor are analyzed to obtain a first temperature confidence of the shunt current sensor and a second temperature confidence of the Hall current sensor;

[0020] Based on the dimension of the collected current size, the shunt current sensor and the Hall current sensor are analyzed to obtain a first collected current size confidence of the shunt current sensor and a second collected current size confidence of the Hall current sensor;

[0021] Based on the transient steady-state current dimension, the shunt current sensor and the Hall current sensor are analyzed to obtain a first transient steady-state confidence of the shunt current sensor and a second transient steady-state confidence of the Hall current sensor.

[0022] In some technical solutions of the present application, the first total confidence of the first current sensor is calculated based on the first sub-confidence; and the second total confidence of the second current sensor is calculated based on the second sub-confidence, including:

[0023] Calculate a first total confidence of the first current sensor according to the first temperature confidence, the first collected current magnitude confidence and the first transient steady-state confidence;

[0024] A second total confidence of the second current sensor is calculated according to the second temperature confidence, the second collected current magnitude confidence and the second transient steady-state confidence.

[0025] In some technical solutions of the present application, determining the target fusion coefficient of the first current sensor and the second current sensor according to the first total confidence and the second total confidence includes:

[0026] taking the ratio of the first total confidence to the second total confidence as an original fusion coefficient;

[0027] The target fusion coefficient is obtained according to the original fusion coefficient and the preset basic fusion coefficient.

[0028] In some technical solutions of the present application, the device properties in different dimensions are analyzed to obtain a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions, including:

[0029] The first sub-confidence and the second sub-confidence are obtained by constructing a confidence equation or looking up a table.

[0030] In a second aspect, an embodiment of the present application provides a current detection device, which acts on a device to be detected, wherein the device to be detected includes a plurality of current sensors, and the device includes:

[0031] An acquisition module, used for acquiring a plurality of current values ​​detected when the plurality of current sensors act on the device to be detected;

[0032] An analysis module, used for analyzing the multiple current sensors for the purpose of complementary advantages, and determining a target fusion coefficient of the confidence of the multiple current sensors;

[0033] A calculation module is used to calculate the fusion current of the device to be detected according to the multiple current values ​​and the target fusion coefficient.

[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned current detection method when executing the computer program.

[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned current detection method are executed.

[0036] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0037] The method of the present application includes obtaining multiple current values ​​detected by the multiple current sensors when acting on the device to be detected; analyzing the multiple current sensors for the purpose of complementary advantages to determine a target fusion coefficient of the confidence of the multiple current sensors; and calculating the fusion current of the device to be detected based on the multiple current values ​​and the target fusion coefficient.

[0038] The present application uses multiple current sensors to detect the device to be detected, while taking into account the advantages and disadvantages of different current sensors, and complementing each other's advantages, so as to obtain a more accurate fusion current and ensure the accuracy of the data.

[0039] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A schematic diagram showing a flow chart of a current detection method provided in an embodiment of the present application is shown;

[0042] Figure 2 A schematic diagram of a confidence equation of an operating temperature dimension of a shunt current sensor provided in an embodiment of the present application is shown;

[0043] Figure 3 A schematic diagram showing the relationship between transient and steady-state dimensions of a shunt current sensor provided in an embodiment of the present application is shown;

[0044] Figure 4A schematic diagram of a confidence equation for a Hall-type current sensor transient and steady-state dimension provided in an embodiment of the present application is shown;

[0045] Figure 5 A schematic diagram of a current detection device provided in an embodiment of the present application is shown;

[0046] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0048] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0049] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0050] Current is an important parameter for evaluating the battery status and is an information that the BMS needs to focus on during operation. In the prior art, current detection mostly uses a current sensor for real-time detection, and some use a main sensor and a backup sensor for detection.

[0051] For the solution of using only one current sensor, there is no other data as a reference. When the current sensor is abnormal, the current value obtained is inaccurate, but the user cannot find it in time, which is easy to cause work errors. For the method of using main and standby sensors, the standby sensor only plays the role of "substitute", that is, when the main sensor is normal, the standby sensor does not work. When the main sensor is abnormal or repaired, the standby sensor will be enabled to work. In essence, only one current sensor is used for current collection, and the data accuracy cannot be guaranteed.

[0052] Based on this, the embodiments of the present application provide a method, device, electronic device and storage medium for current detection, which are described below through embodiments. Some implementation methods of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0053] Embodiment 1

[0054] Figure 1 A flow chart of a current detection method provided in an embodiment of the present application is shown, wherein the method acts on a device to be detected, the device to be detected includes a plurality of current sensors, and the method includes steps S101-S103; specifically:

[0055] S101, obtaining multiple current values ​​detected when the multiple current sensors act on the device to be detected;

[0056] S102, analyzing the multiple current sensors for the purpose of complementing each other's advantages, and determining a target fusion coefficient of the confidence of the multiple current sensors;

[0057] S103: Calculate the fusion current of the device to be detected according to the multiple current values ​​and the target fusion coefficient.

[0058] The present application uses multiple current sensors to detect the device to be detected, while taking into account the advantages and disadvantages of different current sensors, and complementing each other's advantages, so as to obtain a more accurate fusion current and ensure the accuracy of the data.

[0059] Embodiment 2

[0060] For the device to be detected, the multiple current sensors provided in the embodiment of the present application include two first current sensors and a second current sensor. Similarly, the multiple current sensors here may also include three, four, etc. The embodiment of the present application is introduced by taking two current sensors as an example.

[0061] For all current sensors contained in the device to be detected, the advantages and disadvantages of each current sensor are determined by analyzing the device properties. According to the advantages and disadvantages of each current sensor, the total confidence of the current sensor is determined. In the specific implementation, the confidence is higher for the advantages of the current sensor, and lower for the disadvantages of the current sensor. By performing a fusion analysis on the total confidence of each current sensor, the target fusion coefficient of the confidence between each current sensor in the device to be detected is obtained. The fusion current of the device to be detected is determined by the target fusion coefficient and the current values ​​collected by each current sensor. In this way, the fusion current is determined by the target fusion coefficient and each current value, which can complement each other, reduce the impact of the disadvantageous collection current, and improve the accuracy of data collection.

[0062] When the device to be detected includes two current sensors (for example, a first current sensor and a second current sensor), the advantages and disadvantages of the first current sensor and the second current sensor are analyzed, and the confidence of the advantages is high and the confidence of the disadvantages is low, so as to obtain the first total confidence of the first current sensor and the second total confidence of the second current sensor. Then, according to the first total confidence and the second total confidence, the target fusion coefficient of the first current sensor and the second current sensor is determined. After obtaining the target fusion coefficient of the first current sensor and the second current sensor, the first current value collected by the first current sensor and the second current value collected by the second current sensor are calculated (allocated proportion) according to the target fusion coefficient, and the fusion current of the device to be detected can be obtained. Compared with using only one current sensor for current collection, the collected data is more accurate.

[0063] Furthermore, when performing device property analysis on the first current sensor and the second current sensor, in order to improve the accuracy of obtaining the total confidence, the embodiment of the present application adopts multi-dimensional analysis. By analyzing the first current sensor and the second current sensor in different dimensions, the first sub-confidence of the first current sensor and the second sub-confidence of the second current sensor in each dimension are obtained. After obtaining each sub-confidence, by integrating each sub-confidence, the first total confidence of the first current sensor and the second total confidence of the second current sensor can be obtained.

[0064] Embodiment 3

[0065] Generally, the power battery system has both shunt current sensors and Hall current sensors. In the prior art, the shunt current sensor is used as the main current sampling, while the Hall current sensor is usually used as a backup for current sampling, and as a reference when the shunt sensor fails. This backup current sensor sampling method is obviously not the optimal solution for the system. On the one hand, relying only on a single current sensor will result in production consistency errors, errors caused by reduced performance under specific working conditions, and sampling errors. On the other hand, the dual current sensor backup sampling is itself a redundancy and waste of resources when there is no failed sensor.

[0066] For multiple current sensors in the device to be detected, in specific implementation, separate current sensors and Hall current sensors are generally used, that is, the first current sensor in the embodiment of the present application includes a shunt current sensor, and the second current sensor includes a Hall current sensor.

[0067] The principle of the shunt current sensor is to measure the actual voltage drop of the shunt resistor. According to Ohm's law, the current passes through a current detection resistor with a known resistance, and the current value is accurately calculated by measuring the voltage of the current detection resistor. The principle of the Hall current sensor is that a magnetic field will be generated around the current-carrying wire. The Hall current sensor can detect the magnetic field to know the magnitude of the current, thereby realizing indirect measurement.

[0068] Constrained by the working principle, the sampling quality of the two sensors in the following dimensions is shown in the following table:

[0069]

[0070] Therefore, the two current sensors have their own advantages in different dimensions in the entire working range. If the advantages of the two are complementary, a high-quality current sampling signal will be obtained.

[0071] After determining the advantages and disadvantages of the shunt current sensor and the Hall current sensor in different dimensions in the above manner, select the dimension with greater influence from these dimensions, that is, the dimension to be analyzed in the embodiment of the present application. Specifically, it includes: based on the operating temperature dimension, analyzing the shunt current sensor and the Hall current sensor to obtain the first temperature confidence of the shunt current sensor and the second temperature confidence of the Hall current sensor; based on the acquisition current size dimension, analyzing the shunt current sensor and the Hall current sensor to obtain the first acquisition current size confidence of the shunt current sensor and the second acquisition current size confidence of the Hall current sensor; based on the transient steady-state current dimension, analyzing the shunt current sensor and the Hall current sensor to obtain the first transient steady-state confidence of the shunt current sensor and the second transient steady-state confidence of the Hall current sensor. A first total confidence of the first current sensor is calculated based on the first temperature confidence, the first collected current magnitude confidence and the first transient steady-state confidence; a second total confidence of the second current sensor is calculated based on the second temperature confidence, the second collected current magnitude confidence and the second transient steady-state confidence.

[0072] Furthermore, in order to improve the accuracy of the target fusion coefficient, the embodiment of the present application refers to the confidence obtained according to each sub-confidence as the original fusion coefficient. At the same time, the embodiment of the present application also pre-sets a basic fusion coefficient, and then obtains the target fusion coefficient according to the original fusion coefficient and the basic fusion coefficient. The basic fusion coefficient here is obtained by artificial experience or experimental analysis of each current sensor.

[0073] Embodiment 4

[0074] When analyzing the first current sensor and the second current sensor in different dimensions to obtain each sub-confidence, the embodiment of the present application may adopt a method of constructing a confidence equation or a method of looking up a table.

[0075] Specifically, the confidence equation (or confidence curve) of the sensor operating temperature dimension is created: According to the resistance-temperature conversion formula, the rate of change of the shunt resistance at different temperatures is calculated.

[0076] R=R_Ref[1+α(T–T_Ref)]

[0077] Where: T is the reference temperature of the shunt resistor, T_Ref is the reference temperature, R_Ref is the reference resistance value, R is the converted resistance value, and α is the resistance temperature coefficient.

[0078] Because the sampling quality of the sensor is directly affected by the resistance value of the shunt resistor, the embodiment of the present application considers that the confidence and the resistance change rate are linearly related. First, a linear equation is used to linearize the scale, and then the sigmoid function is aligned and normalized to obtain the confidence equation of the temperature dimension of the shunt current sensor as follows:

[0079] C_Shunt_Temp=1 / (1+EXP(-λ(1+α|T–T_ref|)+Q)

[0080] Where: C_Shunt_Temp——Confidence of the temperature dimension of the shunt current sensor, λ——First-order coefficient, Q——Constant term coefficient.

[0081] Since the Hall current sensor is almost unaffected by temperature, the confidence of the temperature dimension of the Hall current sensor is given a constant value; C_Hall_Temp=1.

[0082] Creation of the confidence equation for the sampling current size dimension: The steady-state sampling quality of the shunt current sensor is almost unaffected by the current size, so the confidence of the steady-state dimension of the shunt current sensor is given a constant value: C_Shunt_Steady=1.

[0083] The sampling quality of the Hall current sensor improves with the increase of the steady-state current. Its confidence equation can be simply mapped into a linear equation:

[0084] C_Hall_Steady_Raw=A*I_Raw+B

[0085] Where: C_Hall_Steady_Raw = the original confidence value of the steady-state Hall current sensor, A - the coefficient of the first-order term. B - the coefficient of the constant term, I_Raw - the basic fusion current.

[0086] The original confidence value is normalized by the Sigmoid function as follows:

[0087] C_Hall_Steady=1 / (1+EXP(-|C_Hall_Steady_Raw|))

[0088] Where: C_Hall_Steady = Steady-state Hall current sensor confidence.

[0089] Creation of confidence equation for transient / steady-state dimension of sampling current: From the time constant τ=RC, it can be seen that the transient response of shunt current sensor is slower than that of Hall current sensor. Since its confidence equation cannot be accurately obtained, its confidence equation is simply mapped into a linear equation.

[0090] The confidence equation for the shunt current sensor is as follows:

[0091] C_Shunt_Transient_Raw=C*|I_delt|+D

[0092] Where: C_Shunt_Transient = confidence of transient shunt current sensor, C - first-order term coefficient, D - constant term coefficient, I_delt - the difference between the current calculated by the basic fusion coefficient and the current after fusion in the previous step.

[0093] The original confidence value is mapped to [0 1] through the Sigmoid function as follows:

[0094] C_Shunt_Transient=1 / (1+EXP(-C_Shunt_Transient_Raw))

[0095] Where: C_Shunt_Transient = transient shunt current sensor confidence.

[0096] The confidence equation of the Hall current sensor is as follows:

[0097] C_Hall_Transient_Raw=E*|I_delt|+F

[0098] Among them: C_Hall_Transient_Raw——the original confidence value of the Hall current sensor, E——the first-order term coefficient, F——the constant term coefficient, I_delt——the difference between the current calculated by the basic fusion coefficient and the current after fusion in the previous step.

[0099] The original confidence value is mapped to [0 1] through the Sigmoid function as follows:

[0100] C_Hall_Transient=1 / (1+EXP(-C_Hall_Transient_Raw))

[0101] Where: C_Hall_Transient = transient shunt current sensor confidence.

[0102] The confidence equations of the above dimensions can also be implemented by table lookup, and the effect consistent with the constructed equation can be achieved by adjusting the table lookup values.

[0103] After obtaining each sub-confidence, the total confidence of the shunt current sensor is:

[0104] C_Shunt=C_Shunt_Temp*C_Shunt_Steady*C_Shunt_Transient

[0105] Where: C_Shunt – total confidence of the shunt current sensor.

[0106] The total confidence of the Hall current sensor is:

[0107] C_Hall=C_Hall_Temp*C_Hall_Steady*C_Shunt_Transient

[0108] Where: C_Hall – total confidence of Hall current sensor.

[0109] Calculate the fusion coefficient based on the total confidence of the two sensors:

[0110] F_c=C_Shunt:C_Hall

[0111] Where: F_c——Confidence-based fusion coefficient.

[0112] According to the overall sampling quality of the two sensors, the basic fusion coefficient is evaluated and estimated, and the basic fusion current is calculated based on the basic fusion coefficient, as follows. The steady-state current magnitude and the transient condition sensor confidence are calculated based on the basic fusion current.

[0113] I_Raw=I_Shunt*F_Base+I_Hall*(1–F_Base)

[0114] Among them: I_Raw——basic fusion current, F_Base——basic fusion coefficient.

[0115] The final fusion current based on the dual sensor sampling current is calculated as follows:

[0116] F=F_c*F_Base

[0117] I=I_Shunt*F+I_Hall*(1–F)

[0118] Where: F——target fusion coefficient, F_Base——basic fusion coefficient, I——final fusion current.

[0119] Embodiment 5

[0120] In the specific implementation, the confidence equation (or confidence curve) of the sensor operating temperature dimension is created:

[0121] According to the specification of the shunt current sensor, the temperature coefficient of the shunt resistor is confirmed to be α = 0.01, the normalization adjustment coefficient is set to: λ = -2.2, the constant term coefficient is Q = 6, and the reference temperature T_ref = 25degC, so the confidence equation is as follows:

[0122] C_Shunt_Temp=1 / (1+EXP(2.2(1+0.01|T–25|-6))

[0123] Since the Hall current sensor is hardly affected by temperature, the confidence of the temperature dimension of the Hall current sensor is given a constant value: C_Hall_Temp=1.

[0124] Creation of the confidence equation (or confidence curve) of the steady-state current dimension of the sensor:

[0125] The steady-state sampling quality of the shunt current sensor is almost unaffected by the current size, so the confidence of the steady-state dimension of the shunt current sensor is given a constant value:

[0126] C_Shunt_Steady=1

[0127] The sampling quality of the Hall current sensor improves as the steady-state current increases, such as Figure 2 As shown, the confidence equation can be simply mapped to a linear equation with one variable, where the coefficient of the linear term is set to 0.01, the coefficient of the constant term is set to 1.1, and it is normalized as follows:

[0128] C_Hall_Steady=1 / (1+EXP(-0.005*I_Raw–1.1))

[0129] For the overall sampling quality of the two sensors, the basic fusion coefficient is estimated to be 0.7, and the basic fusion current I_Raw is calculated based on the basic fusion coefficient as follows:

[0130] I_Raw=I_Shunt*0.7+I_Hall*(1–0.7)

[0131] Creation of confidence equation (or confidence curve) of sensor working transient steady-state dimension:

[0132] like Figure 3 As shown, the first-order coefficient of the transient and steady-state dimension confidence equation of the shunt current sensor is set to 0.01, the constant term coefficient is set to 1.1, and it is normalized as follows:

[0133] C_Shunt_Transient=1 / (1+EXP(-0.01*|I_delt|+1.1))

[0134] like Figure 4 As shown, the first-order coefficient of the Hall current sensor transient steady-state dimension confidence equation is set to -0.01, the constant term coefficient is set to 3.5, and it is normalized as follows:

[0135] C_Shunt_Transient=1 / (1+EXP(-0.01*|I_delt|+3.5))

[0136] By using the basic fusion current and the fusion current difference, I_delt is obtained as follows:

[0137] I_Delt=I_Shunt*0.7+I_Hall*(1–0.7)

[0138] Calculation of multi-dimensional confidence fusion coefficient:

[0139] The calculated sub-confidence coefficients are used to perform multi-dimensional confidence fusion calculation, and the total confidence of the shunt current sensor is:

[0140] C_Shunt=C_Shunt_Temp*C_Shunt_Steady*C_Shunt_Transient

[0141] The total confidence of the Hall current sensor is:

[0142] C_Hall=C_Hall_Temp*C_Hall_Steady*C_Shunt_Transient

[0143] Calculate the raw fusion coefficient based on the total confidence of the two sensors:

[0144] F_c=C_Shunt:C_Hall

[0145] Dual current sensor sampling current fusion method:

[0146] Using the original fusion coefficient F_c and the basic fusion coefficient F_base, calculate the target fusion coefficient F:

[0147] F=F_c*F_Base

[0148] The fusion current is calculated by the final fusion coefficient as follows:

[0149] I=I_Shunt*F+I_Hall*(1–F)

[0150] Figure 5 A schematic diagram of the structure of a current detection device provided in an embodiment of the present application is shown, the device comprising:

[0151] Acting on a device to be detected, the device to be detected includes a plurality of current sensors, and the device includes:

[0152] An acquisition module, used for acquiring a plurality of current values ​​detected when the plurality of current sensors act on the device to be detected;

[0153] An analysis module, used for analyzing the multiple current sensors for the purpose of complementary advantages, and determining a target fusion coefficient of the confidence of the multiple current sensors;

[0154] A calculation module is used to calculate the fusion current of the device to be detected according to the multiple current values ​​and the target fusion coefficient.

[0155] The plurality of current sensors include a first current sensor and a second current sensor;

[0156] The method of analyzing the multiple current sensors for the purpose of complementing each other's advantages and determining a target fusion coefficient of the confidence of the multiple current sensors includes:

[0157] Analyze the first current sensor and the second current sensor based on device properties to obtain a first total confidence of the first current sensor and a second total confidence of the second current sensor;

[0158] A target fusion coefficient of the first current sensor and the second current sensor is determined according to the first total confidence and the second total confidence.

[0159] The analyzing the first current sensor and the second current sensor based on the device attribute to obtain a first total confidence of the first current sensor and a second total confidence of the second current sensor includes:

[0160] Based on device properties in different dimensions, by analyzing the first current sensor and the second current sensor, a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions are obtained;

[0161] Calculating a first overall confidence level of the first current sensor according to the first sub-confidence level;

[0162] A second overall confidence level of the second current sensor is calculated based on the second sub-confidence level.

[0163] The first current sensor comprises a shunt current sensor, and the second current sensor comprises a Hall current sensor;

[0164] The obtaining, based on the device properties in different dimensions, of a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions by analyzing the first current sensor and the second current sensor, includes:

[0165] Based on the operating temperature dimension, the shunt current sensor and the Hall current sensor are analyzed to obtain a first temperature confidence of the shunt current sensor and a second temperature confidence of the Hall current sensor;

[0166] Based on the dimension of the collected current size, the shunt current sensor and the Hall current sensor are analyzed to obtain a first collected current size confidence of the shunt current sensor and a second collected current size confidence of the Hall current sensor;

[0167] Based on the transient steady-state current dimension, the shunt current sensor and the Hall current sensor are analyzed to obtain a first transient steady-state confidence of the shunt current sensor and a second transient steady-state confidence of the Hall current sensor.

[0168] The step of calculating a first total confidence of the first current sensor according to the first sub-confidence; and calculating a second total confidence of the second current sensor according to the second sub-confidence includes:

[0169] Calculate a first total confidence of the first current sensor according to the first temperature confidence, the first collected current magnitude confidence and the first transient steady-state confidence;

[0170] A second total confidence of the second current sensor is calculated according to the second temperature confidence, the second collected current magnitude confidence and the second transient steady-state confidence.

[0171] The determining, according to the first total confidence and the second total confidence, a target fusion coefficient of the first current sensor and the second current sensor includes:

[0172] taking the ratio of the first total confidence to the second total confidence as an original fusion coefficient;

[0173] The target fusion coefficient is obtained according to the original fusion coefficient and the preset basic fusion coefficient.

[0174] The obtaining, based on the device properties in different dimensions, of a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions by analyzing the first current sensor and the second current sensor, includes:

[0175] The first sub-confidence and the second sub-confidence are obtained by constructing a confidence equation or looking up a table.

[0176] like Figure 6As shown, an embodiment of the present application provides an electronic device for executing the current detection method in the present application, the device includes a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the current detection method when executing the computer program.

[0177] Specifically, the above-mentioned memory and processor may be general-purpose memory and processor, which are not specifically limited here. When the processor runs the computer program stored in the memory, the above-mentioned current detection method can be executed.

[0178] Corresponding to the current detection method in the present application, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned current detection method are executed.

[0179] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is executed, the above-mentioned current detection method can be executed.

[0180] In the embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0181] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0182] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0183] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0184] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0185] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for current detection, It is characterized in that Acting on a device to be detected, the device to be detected includes a plurality of current sensors, and the method includes: Acquiring multiple current values ​​detected when the multiple current sensors act on the device to be detected; For the purpose of complementing each other's advantages, the multiple current sensors are analyzed to determine a target fusion coefficient of the confidence of the multiple current sensors; The fusion current of the device to be detected is calculated according to the multiple current values ​​and the target fusion coefficient.

2. The method according to claim 1, It is characterized in that The plurality of current sensors include a first current sensor and a second current sensor; The method of analyzing the multiple current sensors for the purpose of complementing each other's advantages and determining a target fusion coefficient of the confidence of the multiple current sensors includes: Analyze the first current sensor and the second current sensor based on device properties to obtain a first total confidence of the first current sensor and a second total confidence of the second current sensor; A target fusion coefficient of the first current sensor and the second current sensor is determined according to the first total confidence and the second total confidence.

3. The method according to claim 2, It is characterized in that The analyzing the first current sensor and the second current sensor based on the device attribute to obtain a first total confidence of the first current sensor and a second total confidence of the second current sensor includes: Based on device properties in different dimensions, by analyzing the first current sensor and the second current sensor, a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions are obtained; Calculating a first overall confidence level of the first current sensor according to the first sub-confidence level; A second overall confidence level of the second current sensor is calculated based on the second sub-confidence level.

4. The method according to claim 3, It is characterized in that The first current sensor comprises a shunt current sensor, and the second current sensor comprises a Hall current sensor; The obtaining, based on the device properties in different dimensions, of a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions by analyzing the first current sensor and the second current sensor, includes: Based on the operating temperature dimension, the shunt current sensor and the Hall current sensor are analyzed to obtain a first temperature confidence of the shunt current sensor and a second temperature confidence of the Hall current sensor; Based on the dimension of the collected current size, the shunt current sensor and the Hall current sensor are analyzed to obtain a first collected current size confidence of the shunt current sensor and a second collected current size confidence of the Hall current sensor; Based on the transient steady-state current dimension, the shunt current sensor and the Hall current sensor are analyzed to obtain a first transient steady-state confidence of the shunt current sensor and a second transient steady-state confidence of the Hall current sensor.

5. The method according to claim 4, It is characterized in that calculating, according to the first sub-confidence, a first overall confidence of the first current sensor; Calculating a second total confidence of the second current sensor according to the second sub-confidence includes: Calculate a first total confidence of the first current sensor according to the first temperature confidence, the first collected current magnitude confidence and the first transient steady-state confidence; A second total confidence of the second current sensor is calculated according to the second temperature confidence, the second collected current magnitude confidence and the second transient steady-state confidence.

6. The method according to claim 5, It is characterized in that The determining, according to the first total confidence and the second total confidence, a target fusion coefficient of the first current sensor and the second current sensor includes: taking the ratio of the first total confidence to the second total confidence as an original fusion coefficient; The target fusion coefficient is obtained according to the original fusion coefficient and the preset basic fusion coefficient.

7. The method according to claim 3, It is characterized in that The obtaining, based on the device properties in different dimensions, of a first sub-confidence of the first current sensor in different dimensions and a second sub-confidence of the second current sensor in different dimensions by analyzing the first current sensor and the second current sensor, includes: The first sub-confidence and the second sub-confidence are obtained by constructing a confidence equation or looking up a table.

8. A device for current detection, It is characterized in that Acting on a device to be detected, the device to be detected includes a plurality of current sensors, and the device includes: An acquisition module, used for acquiring a plurality of current values ​​detected when the plurality of current sensors act on the device to be detected; An analysis module, used for analyzing the multiple current sensors for the purpose of complementary advantages, and determining a target fusion coefficient of the confidence of the multiple current sensors; A calculation module is used to calculate the fusion current of the device to be detected according to the multiple current values ​​and the target fusion coefficient.

9. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the current detection method as described in any one of claims 1 to 7 are performed.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the current detection method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Scalable average current sensor system

    CN108351374A

  • Behavior prediction method and device, storage medium and electronic equipment

    CN111797874A

  • Current sensor device and current monitoring system

    CN112180149A

  • Battery state estimation method and device, terminal equipment and storage medium

    CN115186587A

  • Lithium ion battery pack current detection method and system based on strain

    CN116593895A

Cited By

  • Sensor data fusion method and system

    CN120180369A

  • Sensor data fusion method and system

    CN120180369B