Current determination method, device, storage medium and system

By constructing temperature distribution data and zero-drift current compensation model, the current zero-drift problem in the current measurement system is solved, the accuracy of current measurement is improved, and the problem of current measurement error is solved.

CN118534186APending Publication Date: 2024-08-23BYD CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410384346.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the current measurement system, the current zero drift phenomenon causes the measurement results to deviate from the initial set value, especially when the current sampling system composed of a controller and a shunt is applied, seriously affecting the accuracy of current measurement.

Method used

By determining the zero-drift current compensation value corresponding to the temperature distribution data based on the temperature distribution data and the preset zero-drift compensation model, a zero-drift compensation model is constructed to correct the current measurement value and improve the accuracy of the current measurement.

Benefits of technology

The current zero-drift compensation is realized based on the temperature distribution data of the power circuit, which significantly improves the accuracy of current measurement and reduces the current measurement error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534186A
    Figure CN118534186A
Patent Text Reader

Abstract

The invention relates to a current determination method, device, storage medium and system, and the method comprises the steps: determining a null drift current compensation value corresponding to temperature distribution data according to the temperature distribution data and a preset null drift compensation model; wherein the temperature distribution data is used for reflecting the temperature distribution condition of a current sensor in an electricity utilization circuit, the temperature distribution data comprises temperature values of the electricity utilization circuit at a plurality of sampling parts, and at least part of the sampling parts are located in the current sensor. The null drift compensation model represents the corresponding relation between the temperature distribution data and the null drift current compensation value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of current measurement technology, and more specifically, to a current determination method, device, storage medium and system. Background Art

[0002] Current zero drift refers to the phenomenon that in the current measurement system, when there is no external signal, the current value at the input end will drift over time, causing the measurement result to deviate from the initial set value. In addition, in actual engineering applications, it is found that when the current sampling system composed of a controller and a shunt is used as a component, the current zero drift phenomenon is more serious, which seriously affects the accuracy of current measurement. Summary of the invention

[0003] One purpose of the embodiments of the present disclosure is to provide a new current determination solution.

[0004] According to a first aspect of the present disclosure, there is provided an embodiment of a current determination method, the method comprising:

[0005] According to the temperature distribution data and a preset zero-drift compensation model, a zero-drift current compensation value corresponding to the temperature distribution data is determined; wherein the temperature distribution data is used to reflect the temperature distribution condition of the current sensor in the power circuit, the temperature distribution data includes the temperature values ​​of the power circuit at multiple sampling locations, at least some of the sampling locations are located at the current sensor, and the zero-drift compensation model characterizes the corresponding relationship between the temperature distribution data and the zero-drift current compensation value.

[0006] Optionally, the multiple sampling locations include a first sampling location located in the middle of the current sensor, and for the current inflow end and the current outflow end of the first sampling location, a second sampling location adjacent to the current inflow end and a third sampling location adjacent to the current outflow end.

[0007] Optionally, the current sensor includes a sampling resistor corresponding to the first sampling position, and the current sensor further includes a first connecting member and a second connecting member, the first connecting member is electrically connected to a current inflow end of the sampling resistor, and the second connecting member is connected to a current outflow end of the sampling resistor;

[0008] The multiple sampling locations include a second sampling location corresponding to the first connecting member, or a second sampling location corresponding to the first electrical component; the multiple sampling locations also include a third sampling location corresponding to the second connecting member, or a third sampling location corresponding to the second electrical component; wherein the first electrical component is an electrical component electrically connected to the first connecting member in the electrical circuit, and the second electrical component is an electrical component electrically connected to the second connecting member in the electrical circuit.

[0009] Optionally, the zero drift compensation model includes a first factor and a second factor for determining a zero drift current compensation value, the first factor is a temperature value of the first sampling location, and the second factor is a first temperature difference between the second sampling location and the third sampling location.

[0010] Optionally, before determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero drift compensation model, the method further includes:

[0011] Acquire multiple groups of test data; wherein one group of test data corresponds to one sampling moment, and the test data includes temperature distribution data reflecting the temperature distribution condition of the current sensor in the power circuit, and the zero-drift current value of the power circuit output by the current sampling device;

[0012] The zero drift compensation model is constructed according to the multiple groups of test data.

[0013] Optionally, the plurality of sampling locations include a first sampling location located in the middle of the current sensor, and for a current inflow end and a current outflow end of the first sampling location, a second sampling location adjacent to the current inflow end and a third sampling location adjacent to the current outflow end; the plurality of groups of test data include a plurality of groups of first test data and a plurality of groups of second test data;

[0014] The multiple groups of first test data include: under the first test condition of keeping the temperature value of the first sampling part unchanged, the second temperature value of the second sampling part corresponding to each first sampling moment, the third temperature value of the third sampling part and the first zero-drift current value output by the current sampling device;

[0015] The multiple groups of second test data include: under the second test condition of keeping the temperature difference between the second sampling position and the third sampling position unchanged, the first temperature value of the first sampling position corresponding to each second sampling moment and the second zero-drift current value output by the current sampling device.

[0016] Optionally, constructing the zero drift compensation model according to the multiple groups of test data includes:

[0017] Constructing a first relational expression according to the plurality of groups of first test data; wherein the first relational expression represents the corresponding relationship between the first temperature difference between the second sampling position and the third sampling position and the zero-drift current value;

[0018] Constructing a second relational expression according to the plurality of sets of second test data; wherein the second relational expression represents the corresponding relationship between the temperature value of the first sampling part and the zero-drift current value;

[0019] The zero drift compensation model is constructed according to the first relationship and the second relationship.

[0020] Optionally, the multiple sampling locations include a second sampling location corresponding to the first electrical component and a third sampling location corresponding to the second electrical component, and before determining the zero-drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero-drift compensation model, the method further includes:

[0021] Under the first test condition, further obtaining a fourth temperature value of the first connection member at each first sampling moment and a fifth temperature value of the second connection member at each first sampling moment;

[0022] The constructing a first relational expression according to the plurality of sets of first test data comprises:

[0023] A third relational expression is constructed according to the fourth temperature value, the fifth temperature value and the first zero-drift current value at each first sampling moment; wherein the third relational expression represents a corresponding relationship between a second temperature difference between the first connector and the second connector and the zero-drift current value;

[0024] constructing a temperature conversion coefficient according to the second temperature difference and the first temperature difference;

[0025] The first relational expression is constructed according to the temperature conversion coefficient and the third relational expression.

[0026] Optionally, before determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero drift compensation model, the method further includes:

[0027] Acquire temperature distribution data reflecting the temperature distribution status of the current sensor in the power circuit;

[0028] After determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and the preset zero drift compensation model, the method further includes:

[0029] The current value of the power circuit is determined according to the zero-drift current compensation value and the actual current value output by the current sensor.

[0030] According to a second aspect of the present disclosure, there is provided an embodiment of a current determination device, the device comprising:

[0031] A determination module is used to determine a zero-drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero-drift compensation model; wherein the temperature distribution data is temperature distribution data used to reflect the temperature distribution condition of a current sensor in an electrical circuit, the temperature distribution data includes temperature values ​​of the electrical circuit at multiple sampling locations, at least some of the sampling locations are located at the current sensor, and the zero-drift compensation model characterizes the corresponding relationship between the temperature distribution data and the zero-drift current compensation value.

[0032] According to a third aspect of the present disclosure, another embodiment of a current determination device is provided, the device comprising: a memory and a processor, the memory storing executable instructions, the instructions being used to control the processor to operate to execute the current determination method according to the first aspect of the present disclosure.

[0033] According to a fourth aspect of the present disclosure, a readable storage medium is provided, storing a computer program, wherein when the computer program is executed by a processor, the current determination method as described in the first aspect is implemented.

[0034] According to a fifth aspect of the present disclosure, an embodiment of a power consumption system is provided, the power consumption system comprising:

[0035] An electric circuit, the electric circuit having a current sensor, the electric circuit having a plurality of sampling locations, at least some of the sampling locations being located at the current sensor;

[0036] A current determination device, wherein the current determination device is the current determination device described in the second aspect or the third aspect;

[0037] There are multiple temperature sensors, one sampling position corresponds to at least one temperature sensor, the temperature sensor collects the temperature value of the corresponding sampling position and inputs the temperature value into the current determination device.

[0038] A beneficial effect of the embodiments of the present disclosure is that, according to the method of the present embodiment, by determining the zero-drift current compensation value corresponding to the temperature distribution data based on the temperature distribution data and a preset zero-drift compensation model, current zero-drift compensation can be performed based on the temperature distribution data of the electrical circuit, thereby improving the accuracy of current measurement.

[0039] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0041] Figure 1 is a flow chart of a current determination method according to an embodiment of the present application;

[0042] Figure 2 is a schematic diagram of the structure of the power circuit according to the present application;

[0043] Figure 3 is a flow chart of a current determination method according to another embodiment of the present application;

[0044] Figure 4 is a structural schematic diagram of a current determination device according to an embodiment of the present application;

[0045] Figure 5 is a structural schematic diagram of a current determination device according to another embodiment of the present application;

[0046] Figure 6 It is a structural schematic diagram of an electricity consumption system according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0048] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0049] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0050] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0051] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0052] The current sampling system usually uses the shunt as a current sensor. In actual engineering applications, it is found that when testing the current zero drift in the current sampling system composed of the controller and the shunt, the current zero drift can float in a relatively small range. However, if the current sampling system composed of the controller and the shunt is used as a component, the current zero drift will be much larger than the current zero drift of the current sampling system tested alone, resulting in poor accuracy of current measurement.

[0053] On this basis, the inventors found through analysis that when the current sampling system is used as a component, the current sampling system will be connected to the power circuit, and some power control devices will be connected on both sides of the current sampling system through conductors such as wires or conductive copper bars to form an electrical circuit. After further testing, it was found that the generation of current zero drift is related to the temperature of the power circuit, and a zero drift compensation model was constructed based on this relationship, so that when measuring the current of the power circuit, the current measurement value is compensated for zero drift through the temperature distribution data of the shunt.

[0054] <Method Example>

[0055] Figure 1 is a flow chart of a current determination method according to an embodiment of the present disclosure.

[0056] like Figure 1 As shown, the current determination method of this embodiment can be specifically executed by a current determination device.

[0057] Specifically, the current determination method of this embodiment may include the following step S1100.

[0058] Step S1100 , determining a zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero drift compensation model.

[0059] In this embodiment, the temperature distribution data is used to reflect the temperature distribution of the current sensor in the power circuit. The power circuit may be a current path such as a battery charging circuit or a battery discharging circuit. It should be understood by those skilled in the art that the power circuit may also be other types of current paths, such as a lamp power path, etc., which are not listed here one by one.

[0060] A current sensor is provided in the power circuit, and the current sensor can output the actual current value in the power circuit. The current sensor can be, for example, a shunt.

[0061] A plurality of sampling locations are also provided in the power circuit, and at least part of the plurality of sampling locations are located at the current sensor to obtain the temperature distribution of the current sensor.

[0062] In one example, the current sensor is a shunt, and three sampling locations are provided in the power circuit. The three sampling locations are all located in the shunt, one of the sampling locations is located at the sampling resistor in the middle of the shunt, and the other two sampling locations are located at the connectors on both sides of the shunt.

[0063] In another example, the current sensor is a shunt, and three sampling locations are provided in the electrical circuit, wherein one sampling location is located at a sampling resistor in the middle of the shunt, and the other two sampling locations are located at electrical components respectively connected to the connectors on both sides of the shunt.

[0064] Those skilled in the art should understand that the number and location of the sampling sites can be flexibly changed according to needs, and they are not listed here one by one.

[0065] In this embodiment, the temperature distribution data may include temperature values ​​of the electrical circuit at multiple sampling locations.

[0066] In one example, the temperature values ​​of the power circuit at multiple sampling locations may be acquired by an NTC temperature sensor.

[0067] In some embodiments, the plurality of sampling sites include a first sampling site located in the middle of the current sensor, and for the current inflow end and the current outflow end of the first sampling site, a second sampling site adjacent to the current inflow end and a third sampling site adjacent to the current outflow end.

[0068] In this embodiment, the second sampling location may be one or more, and the third sampling location may be one or more, which is not limited here.

[0069] In one example, the number of the second sampling site and the number of the third sampling site may be one each, and both the second sampling site and the third sampling site may be located at the current sensor.

[0070] In another example, there may be plural second sampling sites and plural third sampling sites, and the second sampling sites and the third sampling sites may be located at the current sensor, or the second sampling sites and the third sampling sites may be partially located at the current sensor.

[0071] Those skilled in the art should understand that the number and positions of the second sampling sites and the third sampling sites are not specifically limited here.

[0072] In some embodiments, the current sensor includes a sampling resistor corresponding to the first sampling position, and the current sensor also includes a first connector and a second connector, the first connector is electrically connected to the current inflow end of the sampling resistor, and the second connector is connected to the current outflow end of the sampling resistor.

[0073] In one example, if Figure 2 As shown, the current divider 200 includes a sampling resistor 1, a first connector 2, and a second connector 3. The sampling resistor 1 may be made of an alloy material, and the first connector 2 and the second connector 3 may be conductors such as a conductive copper bus or a wire. When current flows through the sampling resistor 1, the sampling resistor 1 has a current input terminal and a current output terminal, wherein the first connector 2 is connected to the current input terminal, and the second connector 3 is connected to the current output terminal.

[0074] In some embodiments, the second sampling site may be located at the first connection member 2, and the third sampling site may be located at the second connection member 3. In this way, the detection accuracy of the temperature distribution of the current sensor may be improved, thereby improving the accuracy of current measurement.

[0075] In other embodiments, the second sampling position may be located at the first electrical component 4, and the third sampling position may be located at the second electrical component 5, wherein the first electrical component 4 is an electrical component electrically connected to the first connector 2 in the power circuit, and the second electrical component 5 is an electrical component electrically connected to the second connector 3 in the power circuit. Electrical components are other components constituting the power circuit. In this way, only the first sampling position is located at the current sensor, which can improve the accuracy of current measurement without adding a sampling position to the current sensor.

[0076] The zero drift compensation model can characterize the corresponding relationship between the temperature distribution data and the zero drift current compensation value. When executing step S1100, the temperature distribution data can be input into the zero drift compensation model, and the zero drift current compensation value corresponding to the temperature distribution data can be output.

[0077] In some embodiments, the zero drift compensation model includes a first factor and a second factor for determining the zero drift current compensation value, the first factor is the temperature value of the first sampling location, and the second factor is the first temperature difference between the second sampling location and the third sampling location.

[0078] In this embodiment, the zero drift compensation model is related to the temperature of the current sensor and the temperature distribution of the current sensor, wherein the temperature of the current sensor can be characterized by the temperature value of the first sampling part, i.e., the first factor, and the temperature distribution of the current sensor can be characterized by the first temperature difference between the second sampling part and the third sampling part, i.e., the second factor. The zero drift current compensation value is determined by the first factor and the second factor.

[0079] In some embodiments, before determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero drift compensation model in step S1100, the method further includes: step S1000.

[0080] Step S1000, obtaining temperature distribution data reflecting the temperature distribution status of the current sensor in the power circuit.

[0081] After determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and the preset zero drift compensation model in step S1100, the method further includes: step S1200.

[0082] Step S1200, determining the current value of the power circuit according to the zero-drift current compensation value and the actual current value output by the current sensor.

[0083] In this embodiment, the current value of the power circuit is determined by the zero-drift current compensation value and the actual current value output by the current sensor.

[0084] In some embodiments, before obtaining temperature distribution data reflecting the temperature distribution status of the current sensor in the power circuit in step S1000, the method further includes: steps S2100 to S2200.

[0085] Step S2100, obtaining multiple groups of test data.

[0086] In this embodiment, a test circuit is constructed. The test circuit includes a current sampling device, multiple sampling locations, and a current sensor. The current sampling accuracy of the current sampling device is higher than the current sampling accuracy of the current sensor. Multiple groups of test data are obtained through the test circuit, each group of test data corresponds to a sampling moment, and the test data includes temperature distribution data reflecting the temperature distribution of the current sensor in the power circuit, and the zero-drift current value of the power circuit output by the current sampling device.

[0087] In some embodiments, the plurality of sampling locations include a first sampling location located in the middle of the current sensor, and for a current inflow end and a current outflow end of the first sampling location, a second sampling location adjacent to the current inflow end and a third sampling location adjacent to the current outflow end. The plurality of groups of test data include a plurality of groups of first test data and a plurality of groups of second test data.

[0088] In this embodiment, the plurality of groups of first test data include: under the first test condition that the temperature value of the first sampling part is kept unchanged, the second temperature value of the second sampling part corresponding to each first sampling moment, the third temperature value of the third sampling part, and the first zero-drift current value output by the current sampling device. The plurality of groups of second test data include: under the second test condition that the temperature difference between the second sampling part and the third sampling part is kept unchanged, the first temperature value of the first sampling part corresponding to each second sampling moment and the second zero-drift current value output by the current sampling device.

[0089] In some examples, the multiple sampling locations of the test circuit can be respectively located at the middle 1 of the current sensor, the first connector 2 of the current sensor, and the second connector 3 of the current sensor. In these examples, the multiple sets of first test data include the second temperature value T2 of the first connector 2, the third temperature value T3 of the second connector 3, and the first zero-drift current value output by the current sampling device corresponding to each first sampling moment.

[0090] Step S2200: constructing a zero drift compensation model according to multiple groups of test data.

[0091] In some embodiments, the zero drift compensation model is constructed according to multiple groups of test data in step S2200, including: steps S3100 to S3300.

[0092] Step S3100: construct a first relationship according to multiple groups of first test data.

[0093] In this embodiment, through multiple sets of first test data, it is found that the larger the first temperature difference between the second sampling part and the third sampling part, the larger the first zero-drift current value. The first relationship can characterize the corresponding relationship between the first temperature difference between the second sampling part and the third sampling part and the zero-drift current value.

[0094] Continuing with the above example, according to the second temperature value being T2, the third temperature value being T3 and the first zero-drift current value, the constructed first relational expression can be expressed as: f(T2-T3).

[0095] Step S3200: construct a second relationship according to multiple sets of second test data.

[0096] In this embodiment, the temperature value of the first sampling part and the second zero-drift current value in the second test data can be curve-fitted to obtain a second relationship expression, which can characterize the corresponding relationship between the temperature value of the first sampling part and the zero-drift current value.

[0097] In some examples, the second relationship may be expressed as f(T1)=A*T1+B.

[0098] Step S3300: construct a zero drift compensation model according to the first relationship and the second relationship.

[0099] In one example, the zero drift compensation model can be expressed as: Iofset=f(T2-T3)*A*T1+B.

[0100] In some embodiments, the multiple sampling locations include a second sampling location corresponding to the first electrical component and a third sampling location corresponding to the second electrical component. Before step S1000 acquires temperature distribution data reflecting the temperature distribution condition of the current sensor in the electrical circuit, the method also includes: step S4100.

[0101] Step S4100: Under the first test condition, a fourth temperature value of the first connection component at each first sampling moment and a fifth temperature value of the second connection component at each first sampling moment are also obtained.

[0102] In this embodiment, the multiple sampling locations of the test circuit include a first sampling location located at the middle portion 1 of the current sensor, a second sampling location located at the first electrical component 4, and a third sampling location located at the second electrical component 5. Correspondingly, the multiple groups of first test data include the second temperature value T2 of the first electrical component 4 corresponding to each first sampling moment, the third temperature value T3 of the second electrical component 5 corresponding to the second zero-drift current value. The first temperature difference is the temperature difference between the second temperature value T2 of the first electrical component 4 and the third temperature value T3 of the second electrical component. In this embodiment, under the first test condition, while acquiring the multiple groups of first test data, the fourth temperature value T4 of the first connector 2 at each first sampling moment and the fifth temperature value T5 of the second connector 3 at each first sampling moment are also acquired.

[0103] In these embodiments, constructing the first relationship according to the multiple sets of first test data in step S3100 includes: steps S5100 to S5300.

[0104] Step S5100: construct a third relationship according to the fourth temperature value, the fifth temperature value and the first zero-drift current value at each first sampling moment.

[0105] In this embodiment, the second temperature difference is the temperature difference between the fourth temperature value of the first connecting member 2 and the fifth temperature value of the second connecting member 3. The third relationship can characterize the corresponding relationship between the second temperature difference between the first connecting member and the second connecting member and the zero-drift current value. The third relationship can be expressed as f(T4-T5).

[0106] Step S5200: construct a temperature conversion coefficient according to the second temperature difference and the first temperature difference.

[0107] In this embodiment, the test circuit can be regarded as a heat conduction model, in which the cross-sectional areas of the sampling resistor, the first connector and the second connector of the current sensor are approximately equal, so the three are equivalent to a heat conductor for analysis here. According to the heat conduction formula, Q = K*A*ΔT / L, where K: thermal conductivity of the material, A: cross-sectional area, L: heat conduction distance, ΔT: temperature difference between the head and tail, it can be seen that the second temperature difference between the first connector 2 and the second connector 3 is linearly related to the first temperature difference between the first electrical component 4 and the second electrical component 5. This linear relationship can be expressed as T4-T5 = k(T2-T3). Wherein, k is the temperature conversion coefficient. Therefore, the temperature conversion coefficient k can be obtained based on the first temperature difference and the second temperature difference.

[0108] Step S5300: construct a first relationship expression according to the temperature conversion coefficient and the third relationship expression.

[0109] In this embodiment, the first relational expression can be expressed as: kf(T2-T3).

[0110] In these examples, the zero drift compensation model can be expressed as: Iofset=kf(T2-T3)*A*T1+B.

[0111] According to an embodiment of the present application, a zero-drift current compensation value corresponding to the temperature distribution data is determined based on the temperature distribution data and a preset zero-drift compensation model, wherein the temperature distribution data is used to reflect the temperature distribution of the current sensor in the power circuit, and the temperature distribution data includes the temperature values ​​of the power circuit at multiple sampling locations, at least some of which are located at the current sensor, and the zero-drift compensation model characterizes the corresponding relationship between the temperature distribution data and the zero-drift current compensation value. Thus, the zero-drift current compensation value can be determined based on the temperature distribution of the current sensor, thereby improving the accuracy of current measurement.

[0112] <Example>

[0113] Figure 3 A current determination method according to another embodiment of the present application is shown, which specifically includes steps S1 to S10.

[0114] Step S1, obtaining, under a first test condition in which the temperature value of the first sampling part is kept unchanged, a second temperature value of the second sampling part, a third temperature value of the third sampling part, a fourth temperature value of the fourth sampling part, and a fifth temperature value of the fifth sampling part corresponding to each first sampling moment, as well as a first zero-drift current value output by a current sampling device.

[0115] In this example, the first sampling position is located at the sampling resistor 1 in the middle of the shunt, the second sampling position is located at the first connection piece 2 of the shunt, and the third sampling position is located at the second connection piece 3 of the shunt. The fourth sampling position is located at the first electrical component 4, and the fifth sampling position is located at the second electrical component 5. The first temperature value is T1, the second temperature value is T2, the third temperature value is T3, the fourth temperature value is T4, and the fifth temperature value is T5.

[0116] Step S2, constructing a third relationship according to the second temperature value, the third temperature value and the first zero-drift current value at each first sampling moment.

[0117] In this example, the third relational expression can represent the corresponding relationship between the second temperature difference between the first connector 2 and the second connector 3 and the zero-drift current value. The third relational expression can be expressed as: f(T2-T3)

[0118] Step S3, constructing a temperature conversion coefficient according to the second temperature difference between the first connection member and the second connection member, and the first temperature difference between the first electrical component and the second electrical component.

[0119] In this example, there is a linear relationship between the second temperature difference and the first temperature difference, and the linear relationship can be expressed as: T2-T3=k(T4-T5), where k is a temperature conversion coefficient.

[0120] Step S4, constructing a first relational expression according to the temperature conversion coefficient and the third relational expression.

[0121] In this example, the first relational expression can be expressed as kf(T4-T5).

[0122] Step S5, obtaining a first temperature value of the first sampling location corresponding to each second sampling moment and a second zero-drift current value output by the current sampling device under a second test condition in which the temperature difference between the second sampling location and the third sampling location is kept unchanged.

[0123] Step S6, constructing a second relationship according to the first temperature value of the first sampling position corresponding to each second sampling moment and the second zero-drift current value output by the current sampling device.

[0124] In this example, the second relational expression represents the corresponding relationship between the temperature value of the first sampling location and the zero-drift current value.

[0125] Step S7: construct a zero drift compensation model according to the first relationship and the second relationship.

[0126] Step S8, obtaining temperature distribution data reflecting the temperature distribution status of the current sensor in the power circuit.

[0127] In this example, the temperature distribution data includes temperature values ​​of the electrical circuit at a plurality of sampling locations, at least some of which are located at the current sensor.

[0128] In some examples, the current sensor includes a sampling resistor corresponding to a first sampling position, the current sensor also includes a first connecting member and a second connecting member, the first connecting member is electrically connected to a current inflow end of the sampling resistor, the second connecting member is connected to a current outflow end of the sampling resistor, the multiple sampling positions include a second sampling position corresponding to the first connecting member, and the multiple sampling positions also include a third sampling position corresponding to the second connecting member.

[0129] In other examples, the second sampling location may correspond to a first electrical component, and the third sampling location may correspond to a second electrical component, wherein the first electrical component is an electrical component electrically connected to the first connector in the electrical circuit, and the second electrical component is an electrical component electrically connected to the second connector in the electrical circuit.

[0130] Step S9, determining a zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero drift compensation model.

[0131] In this example, the zero drift compensation model characterizes the corresponding relationship between the temperature distribution data and the zero drift current compensation value.

[0132] Step S10, determining the current value of the power circuit according to the zero-drift current compensation value and the measured current value output by the current sensor.

[0133] <Device Example>

[0134] In some embodiments, Figure 4 As shown, a current determination device 5000 is also provided. The current determination device 4000 includes a determination module 4100 .

[0135] The determination module 4100 is used to determine the zero-drift current compensation value corresponding to the temperature distribution data based on the temperature distribution data and a preset zero-drift compensation model; wherein the temperature distribution data is used to reflect the temperature distribution condition of the current sensor in the power circuit, and the temperature distribution data includes the temperature values ​​of the power circuit at multiple sampling locations, at least some of the sampling locations are located at the current sensor, and the zero-drift compensation model characterizes the correspondence between the temperature distribution data and the zero-drift current compensation value.

[0136] In some embodiments, the plurality of sampling sites include a first sampling site located in the middle of the current sensor, and for a current inflow end and a current outflow end of the first sampling site, a second sampling site adjacent to the current inflow end and a third sampling site adjacent to the current outflow end.

[0137] In some embodiments, the current sensor includes a sampling resistor corresponding to the first sampling position, and the current sensor also includes a first connector and a second connector, the first connector is electrically connected to the current inflow end of the sampling resistor, and the second connector is connected to the current outflow end of the sampling resistor; the multiple sampling positions include a second sampling position corresponding to the first connector, or a second sampling position corresponding to the first electrical component; the multiple sampling positions also include a third sampling position corresponding to the second connector, or a third sampling position corresponding to the second electrical component; wherein the first electrical component is an electrical component electrically connected to the first connector in the electrical circuit, and the second electrical component is an electrical component electrically connected to the second connector in the electrical circuit.

[0138] In some embodiments, the zero drift compensation model includes a first factor and a second factor for determining a zero drift current compensation value, the first factor being a temperature value of the first sampling location, and the second factor being a first temperature difference between the second sampling location and the third sampling location.

[0139] In some embodiments, the current determination device 4000 further includes a construction module 4200. The construction module 4200 is used to obtain multiple groups of test data; wherein a group of test data corresponds to a sampling moment, and the test data includes temperature distribution data reflecting the temperature distribution condition of the current sensor in the power circuit, and the zero-drift current value of the power circuit output by the current sampling device; and construct the zero-drift compensation model according to the multiple groups of test data.

[0140] In some embodiments, the plurality of sampling locations include a first sampling location located in the middle of the current sensor, and for a current inflow end and a current outflow end of the first sampling location, a second sampling location adjacent to the current inflow end and a third sampling location adjacent to the current outflow end; the plurality of groups of test data include a plurality of groups of first test data and a plurality of groups of second test data;

[0141] The multiple groups of first test data include: under the first test condition of keeping the temperature value of the first sampling part unchanged, the second temperature value of the second sampling part corresponding to each first sampling moment, the third temperature value of the third sampling part and the first zero-drift current value output by the current sampling device;

[0142] The multiple groups of second test data include: under the second test condition of keeping the temperature difference between the second sampling position and the third sampling position unchanged, the first temperature value of the first sampling position corresponding to each second sampling moment and the second zero-drift current value output by the current sampling device.

[0143] In some embodiments, the construction module 4200 is used to construct a first relationship based on the multiple groups of first test data; wherein the first relationship represents the correspondence between the first temperature difference between the second sampling position and the third sampling position and the zero-drift current value; a second relationship is constructed based on the multiple groups of second test data; wherein the second relationship represents the correspondence between the temperature value of the first sampling position and the zero-drift current value; and the zero-drift compensation model is constructed based on the first relationship and the second relationship.

[0144] In some embodiments, the multiple sampling locations include a second sampling location corresponding to the first electrical component and a third sampling location corresponding to the second electrical component, and the construction module 4200 is used to obtain, under the first test condition, a fourth temperature value of the first connector at each first sampling moment and a fifth temperature value of the second connector at each first sampling moment; construct a third relationship based on the fourth temperature value, the fifth temperature value and the first zero-drift current value at each first sampling moment; wherein the third relationship characterizes the correspondence between the second temperature difference between the first connector and the second connector and the zero-drift current value; construct a temperature conversion coefficient based on the second temperature difference and the first temperature difference; and construct the first relationship based on the temperature conversion coefficient and the third relationship.

[0145] In some embodiments, the current determination device 4000 also includes an acquisition module 4300, which is used to obtain temperature distribution data reflecting the temperature distribution condition of the current sensor in the power circuit; the determination module 4100 is used to determine the current value of the power circuit based on the zero-drift current compensation value and the measured current value output by the current sensor.

[0146] In other embodiments, Figure 5 As shown, the current determination device 5000 may include a processor 5100 and a memory 5200, wherein the memory 5200 is used to store executable instructions; the processor 5100 is used to control the electronic device 5000 to execute the above-mentioned Figure 1 or Figure 3 The current determination method of the embodiment.

[0147] <Medium Example>

[0148] An embodiment of the present disclosure provides a readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the current determination method as described in any of the above embodiments is implemented.

[0149] <System Embodiment>

[0150] The present disclosure provides a power system 6000, such as Figure 6 As shown, the system 6000 includes a power-consuming circuit 6100 , a current determining device 6200 , and a plurality of temperature sensors 6300 .

[0151] The power-consuming circuit 6100 has a current sensor 60 , and the power-consuming circuit has a plurality of sampling locations, at least some of which are located at the current sensor 60 .

[0152] In one example, the current sensor is a shunt.

[0153] In another example, the power circuit 6100 further includes a first electrical component and a second electrical component, where the first electrical component and the second electrical component are electrical components connected to the current sensor 60 in the power circuit.

[0154] The current determining device 6200 may be as follows: Figure 4 or Figure 5 The current determining device shown.

[0155] Multiple temperature sensors 6300, one sampling location corresponds to at least one temperature sensor, Figure 6 The dotted line in represents the corresponding relationship of temperature sampling, for example, the temperature sensor 6300 is used to collect the temperature value of the first electrical component. The temperature sensor 6300 collects the temperature value of the corresponding sampling position and inputs the temperature value into the current determination device 6200.

[0156] In some examples, temperature sensor 6300 is an NTC temperature sensor.

[0157] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0158] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0159] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0160] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0161] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0162] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0163] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0164] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0165] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A method for determining current, characterized in that: The method comprises: According to the temperature distribution data and a preset zero-drift compensation model, a zero-drift current compensation value corresponding to the temperature distribution data is determined; wherein the temperature distribution data is used to reflect the temperature distribution condition of the current sensor in the power circuit, the temperature distribution data includes the temperature values ​​of the power circuit at multiple sampling locations, at least some of the sampling locations are located at the current sensor, and the zero-drift compensation model characterizes the corresponding relationship between the temperature distribution data and the zero-drift current compensation value.

2. The method according to claim 1, characterized in that The plurality of sampling sites include a first sampling site located in the middle of the current sensor, and, for a current inflow end and a current outflow end of the first sampling site, a second sampling site adjacent to the current inflow end and a third sampling site adjacent to the current outflow end.

3. The method according to claim 2, characterized in that The current sensor includes a sampling resistor corresponding to the first sampling position, and the current sensor also includes a first connecting member and a second connecting member, the first connecting member is electrically connected to a current inflow end of the sampling resistor, and the second connecting member is connected to a current outflow end of the sampling resistor; The multiple sampling locations include a second sampling location corresponding to the first connecting member, or a second sampling location corresponding to the first electrical component; the multiple sampling locations also include a third sampling location corresponding to the second connecting member, or a third sampling location corresponding to the second electrical component; wherein the first electrical component is an electrical component electrically connected to the first connecting member in the electrical circuit, and the second electrical component is an electrical component electrically connected to the second connecting member in the electrical circuit.

4. The method according to claim 2, characterized in that: The zero drift compensation model includes a first factor and a second factor for determining a zero drift current compensation value, the first factor being a temperature value of the first sampling location, and the second factor being a first temperature difference between the second sampling location and the third sampling location.

5. The method according to any one of claims 1 to 4, characterized in that Before determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and the preset zero drift compensation model, the method further includes: Acquire multiple groups of test data; wherein one group of test data corresponds to one sampling moment, and the test data includes temperature distribution data reflecting the temperature distribution condition of the current sensor in the power circuit, and the zero-drift current value of the power circuit output by the current sampling device; The zero drift compensation model is constructed according to the multiple groups of test data.

6. The method according to claim 5, characterized in that The plurality of sampling locations include a first sampling location located in the middle of the current sensor, and, for a current inflow end and a current outflow end of the first sampling location, a second sampling location adjacent to the current inflow end and a third sampling location adjacent to the current outflow end; The multiple groups of test data include multiple groups of first test data and multiple groups of second test data; The multiple groups of first test data include: under the first test condition of keeping the temperature value of the first sampling part unchanged, the second temperature value of the second sampling part corresponding to each first sampling moment, the third temperature value of the third sampling part and the first zero-drift current value output by the current sampling device; The multiple groups of second test data include: under the second test condition of keeping the temperature difference between the second sampling position and the third sampling position unchanged, the first temperature value of the first sampling position corresponding to each second sampling moment and the second zero-drift current value output by the current sampling device.

7. The method according to claim 6, characterized in that The constructing the zero drift compensation model according to the multiple groups of test data includes: Constructing a first relational expression according to the plurality of groups of first test data; wherein the first relational expression represents the corresponding relationship between the first temperature difference between the second sampling position and the third sampling position and the zero-drift current value; Constructing a second relational expression according to the plurality of sets of second test data; wherein the second relational expression represents the corresponding relationship between the temperature value of the first sampling part and the zero-drift current value; The zero drift compensation model is constructed according to the first relationship and the second relationship.

8. The method according to claim 7, characterized in that The plurality of sampling locations include a second sampling location corresponding to the first electrical component and a third sampling location corresponding to the second electrical component. Before determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and the preset zero drift compensation model, the method further includes: Under the first test condition, further obtaining a fourth temperature value of the first connection member at each first sampling moment and a fifth temperature value of the second connection member at each first sampling moment; The constructing a first relational expression according to the plurality of sets of first test data comprises: A third relational expression is constructed according to the fourth temperature value, the fifth temperature value and the first zero-drift current value at each first sampling moment; wherein the third relational expression represents a corresponding relationship between a second temperature difference between the first connector and the second connector and the zero-drift current value; constructing a temperature conversion coefficient according to the second temperature difference and the first temperature difference; The first relational expression is constructed according to the temperature conversion coefficient and the third relational expression.

9. The method according to claim 1, characterized in that: Before determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and the preset zero drift compensation model, the method further includes: Acquire temperature distribution data reflecting the temperature distribution status of the current sensor in the power circuit; After determining the zero drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and the preset zero drift compensation model, the method further includes: The current value of the power circuit is determined according to the zero-drift current compensation value and the actual current value output by the current sensor.

10. A current determination device, characterized in that: include: A determination module is used to determine a zero-drift current compensation value corresponding to the temperature distribution data according to the temperature distribution data and a preset zero-drift compensation model; wherein the temperature distribution data is used to reflect the temperature distribution condition of the current sensor in the power circuit, the temperature distribution data includes the temperature values ​​of the power circuit at multiple sampling locations, at least some of the sampling locations are located at the current sensor, and the zero-drift compensation model characterizes the corresponding relationship between the temperature distribution data and the zero-drift current compensation value.

11. A current determination device, characterized in that: The method comprises a memory and a processor, wherein the memory stores executable instructions, and the instructions are used to control the processor to operate so as to execute the current determination method according to any one of claims 1 to 9.

12. A readable storage medium, characterized in that: A computer program is stored, which, when executed by a processor, implements the current determination method according to any one of claims 1 to 9.

13. An electricity system, characterized in that: include: An electric circuit, the electric circuit having a current sensor, the electric circuit having a plurality of sampling locations, at least some of the sampling locations being located at the current sensor; A current determining device, wherein the current determining device is the current determining device according to claim 10 or 11; There are multiple temperature sensors, one sampling position corresponds to at least one temperature sensor, the temperature sensor collects the temperature value of the corresponding sampling position and inputs the temperature value into the current determination device.

Citation Information

Cited By

  • Current determination method, current determination apparatus, storage medium and electric system

    WO2025200347A1