System and method for correcting current value of shunt resistor
11293948 · 2022-04-05
Assignee
Inventors
Cpc classification
G01R1/203
PHYSICS
G01R15/144
PHYSICS
G01R35/00
PHYSICS
G01R15/146
PHYSICS
International classification
G01R1/20
PHYSICS
G01R15/14
PHYSICS
Abstract
A system and a method for correcting a current value of a shunt resistor, which calculate a change amount of a resistance value by using a variable temperature value of a shunt resistor and calculate a real-time current value flowing in the corresponding shunt resistor based on the calculated change amount of the resistance value and voltage values of both terminals of the shunt resistor, so that even though the temperature value of the shunt resistor is continuously changed, an accurate current value may be obtained by reflecting all the changes.
Claims
1. A system for correcting a current value of a shunt resistor, the system comprising: a power calculating unit configured to calculate power consumption and a heating value of a shunt resistor included in a circuit based on a current value for the shunt resistor and a first resistance value of the shunt resistor; a temperature sensor configured to measure an ambient temperature value of the shunt resistor; a final temperature value calculating unit configured to calculate (a) a final temperature value for the shunt resistor and (b) a change amount of the final temperature value compared to an initial temperature value before a flow of a current flows through the shunt resistor based on (i) a heating temperature value of the shunt resistor calculated based on the calculated heating value and a thermal resistance coefficient of the shunt resistor and (ii) the ambient temperature value of the shunt resistor; and a resistance calculating unit configured to calculate a second resistance value of the shunt resistor based on the calculated change amount of the final temperature value and a temperature coefficient value of the shunt resistor.
2. The system of claim 1, further comprising: a voltage sensor configured to detect a voltage value of the shunt resistor when a voltage of the shunt resistor drops; and a current calculating unit configured to calculate a current value for the shunt resistor based on the detected voltage value and the first resistance value of the shunt resistor, wherein the current calculating unit is configured to change the first resistance value to the second resistance value provided from the resistance calculating unit.
3. The system of claim 2, wherein the current calculating unit is configured to calculate the current value using:
I=V/R wherein, I is the current value for the shunt resistor, V is the voltage value of the shunt resistor, and R is the first resistance value of the shunt resistor.
4. The system of claim 1, wherein the power calculating unit is configured to calculate the heating value of the shunt resistor using:
E=∫.sub.0.sup.1(I.sup.2*R)dt wherein, E is the heating value of the shunt resistor, I is the current value of the shunt resistor, R is the first resistance value of the shunt resistor, and t is a flowing time value of a current flowing in the shunt resistor.
5. The system of claim 1, wherein the temperature sensor is positioned adjacent to the shunt resistor.
6. The system of claim 1, wherein the final temperature calculating unit is configured to calculate final temperature value, using:
T=(E*a)+T.sub.a-T.sub.i wherein, T is the change amount of the final temperature value, E is the heating value of the shunt resistor, a is the thermal resistance coefficient of the shunt resistor, T.sub.a is the ambient temperature of the shunt resistor, and T.sub.i is the initial temperature value of the shunt resistor.
7. The system of claim 1, wherein the resistance calculating unit is configured to calculate the second resistance value of the shunt resistor using:
R=R.sub.i+(T*b) wherein, R is the second resistance value of the shunt resistor, R.sub.i is the first resistance value of the shunt resistor, T is the change amount of the final temperature value, and b is the temperature coefficient of the shunt resistor.
8. A method for correcting a current value of a shunt resistor, the method comprising: calculating, by a power calculating unit, power consumption and a heating value of a shunt resistor included in a circuit based on a current value for the shunt resistor and a first resistance value of the shunt resistor; measuring, by a temperature sensor, a real-time ambient temperature of the shunt resistor; calculating, by a final temperature value calculating unit, (a) a final temperature value for the shunt resistor and (b) a change amount of the final temperature value compared to an initial temperature value before a flow of a current flows through the shunt resistor based on (i) a heating temperature value of the shunt resistor calculated based on the calculated heating value and a thermal resistance coefficient of the shunt resistor and (ii) the ambient temperature value of the shunt resistor; and calculating, by a resistance calculating unit, a second resistance value of the shunt resistor based on the calculated change amount of the final temperature value and a temperature coefficient value of the shunt resistor.
9. The method of claim 8, wherein calculating the current value of the shunt resistor is based on:
I=V/R wherein, I is the current value for of the shunt resistor, V is the voltage value for of the shunt resistor, and R is the first resistance value of the shunt resistor.
10. The method of claim 9, further comprising changing, by the current calculating unit, the first resistance value to the second resistance value provided from the resistance calculating unit.
11. The method of claim 8, wherein calculating the heating value of the shunt resistor is based on:
E=∫.sub.0.sup.1(I.sup.2*R)dt wherein, E is the heating value of the shunt resistor, I is the current value of the shunt resistor, R is the first resistance value of the shunt resistor, and t is a flowing time value of a current flowing in the shunt resistor.
12. The method of claim 8, wherein calculating amount of the final temperature value is based on:
T=(E*a)+T.sub.a-T.sub.i wherein, T is the final temperature value change amount of the final temperature value, E is the heating value of the shunt resistor, a is the thermal resistance coefficient of the shunt resistor, T.sub.a is the ambient temperature of the shunt resistor, and T.sub.i is the initial temperature value of the shunt resistor.
13. The method of claim 8, wherein calculating the second resistance value of the shunt resistor is based on:
R=R.sub.i+(T*b) wherein, R is the second resistance value of the shunt resistor, R.sub.i is the first resistance value of the shunt resistor, T is the change amount of the final temperature value, and b is the temperature coefficient of the shunt resistor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
DETAILED DESCRIPTION
(3) Hereinafter, an exemplary embodiment is presented for helping understanding of the present invention. However, the exemplary embodiment below is simply provided for easier understanding of the present invention, and the contents of the present invention are not limited by the exemplary embodiment.
(4)
(5) Referring to
(6) First, the voltage measuring unit 101 may be connected with both terminals of the shunt resistor 10 provided in a circuit and detect a voltage value of the shunt resistor 10 when a voltage drops due to a flow of a current in the shunt resistor 10.
(7) Next, the current calculating unit 102 may calculate a current value flowing in the shunt resistor 10 based on the detected voltage value and a first resistance value of the shunt resistor 10, and change the first resistance value to a second resistance value provided from the resistance calculating unit 106 which is to be described below.
(8) Herein, the first resistance value may mean the resistance value of the shunt resistor 10 itself.
(9) Further, the second resistance value is a changed resistance value of the shunt resistor 10, and may mean a value of the shunt resistor 10 calculated from the resistance calculating unit 106 which is to be described below.
(10) Further, the current calculating unit 102 may determine a value calculated by Equation 1 below as a current value flowing in the shunt resistor 10.
I=V/R [Equation 1]
(11) (Herein, I is a current value for the shunt resistor, V is a voltage value for the shunt resistor, and R is the first resistance value of the shunt resistor.)
(12) Herein, the first resistance value is changed to the second resistance value calculated by the resistance calculating unit 106 which is to be described below, so that values of I and V may be changed.
(13) Next, the power calculating unit 103 may calculate power consumption and a heating value for the shunt resistor 10 based on the calculated current value and resistance value.
(14) Herein, the power calculating unit 103 may determine a value calculated by Equation 2 below as a heating value of the shunt resistor.
E=∫.sub.0.sup.1(I.sup.2*R)dt
(15) (Herein, E is a heating value of the shunt resistor, I is a current value for the shunt resistor, R is the first resistance value of the shunt resistor, and t is a flowing time value of a current flowing in the shunt resistor.)
(16) Herein, I.sup.2*R is power consumption of the shunt resistor 10, and when I.sup.2*R (is integrated by a flowing time of a current flowing in the shunt resistor 10, a heating value of the shunt resistor 10 may be calculated.
(17) Next, the temperature measuring unit 104 may measure an ambient temperature value of the shunt resistor 10, and transmit the measured ambient temperature value to the final temperature value calculating unit 105.
(18) Herein, the ambient temperature is a temperature of a medium adjacent to a device, and may mean an atmospheric temperature in a normal case.
(19) Next, the final temperature value calculating unit 105 may calculate a second final temperature value of the shunt resistor 10, and a change amount of the second final temperature value compared to the first final temperature value before the flowing of the current based on the heating temperature value of the shunt resistor 10 calculated based on the calculated heating value and a thermal resistance coefficient of the shunt resistor 10 and the ambient temperature value (transmitted from the temperature measuring unit 104) of the shunt resistor 10, and calculate the second final temperature value and the final temperature value change amount of the shunt resistor and then change the first final temperature value to the second final temperature value.
(20) Herein, the first final temperature value is a temperature value obtained by summing the heating temperature value and the ambient temperature value of the shunt resistor 10, and may mean the final temperature value of the shunt resistor 10 before a current flows in the shunt resistor 10.
(21) Further, the second final temperature value is a temperature value obtained by summing the heating temperature value and the ambient temperature value of the shunt resistor 10, and mean the temperature value of the shunt resistor 10 calculated from the final temperature value calculating unit 105.
(22) Further, the final temperature value calculating unit 105 may determine a value calculated by Equation 3 below as the second final temperature value and the final temperature value change amount of the shunt resistor.
T=(E*a)+T.sub.a-T.sub.i
(23) (Herein, T is the final temperature value change amount of the shunt resistor, E is a heating value of the shunt resistor, a is a thermal resistance coefficient of the shunt resistor, T.sub.a is an ambient temperature of the shunt resistor, and T.sub.i is the first final temperature value of the shunt resistor.)
(24) Herein, E*a is a heating temperature value of the shunt resistor 10, and when the heating temperature value is added to the ambient temperature of the shunt resistor 10, the second final temperature value of the shunt resistor 10 is calculated, and a difference between the second final temperature value and the first final temperature value may mean a final temperature value change amount.
(25) Further, the thermal resistance coefficient of the shunt resistor 10 may refer to a degree of intrinsic property that is intended to interfere with heat transfer to the material constituting the shunt resistor 10.
(26) Next, the resistance calculating unit 106 may calculate the second resistance value of the shunt resistor 10 based on the change amount of the second final temperature value compared to the first final temperature value of the shunt resistor 10 before the flow of the current, and the temperature coefficient value of the shunt resistor 10 changed according to a change in a temperature.
(27) Further, the resistance calculating unit 106 may determine a value calculated by Equation 4 below as a second resistance value of the shunt resistor 10.
R=R.sub.i+(T*b)
(28) (Herein, R is the second resistance value of the shunt resistor, R.sub.i is the first resistance value of the shunt resistor, T is the final temperature value change amount value of the shunt resistor, and b is a temperature coefficient of the shunt resistor.)
(29) Herein, T*b is a resistance value by the change of the shunt resistor 10, and when the value is added to the first resistance value of the shunt resistor 10, the second resistance value of the shunt resistor 10 may be calculated.
(30) Herein, the temperature coefficient of the shunt resistor 10 may refer to the degree of the change of the shunt resistor 10 according to a temperature change.
(31) Next, a process of correcting a current through the system for correcting a current value of a shunt resistor will be described with reference to
(32)
(33) Referring to
(34) Next, the final temperature calculating unit calculates a second final temperature value and a final temperature value change amount for the shunt resistor based on a heating temperature value of the shunt resistor calculated based on the calculated heating value and a thermal resistance coefficient of the shunt resistor and an ambient temperature value of the shunt resistor (S204), and when the final temperature value change amount is calculated, the final temperature calculating unit provides the resistance calculating unit with the final temperature value change amount and then changes the first final temperature value to the second final temperature value.
(35) Next, the resistance calculating unit calculates a second resistance value of the shunt resistor based on the calculated final temperature value change amount and a temperature coefficient of the shunt resistor (S205), and provides the current calculating unit with the calculated second resistance value to change the first resistance value to the second resistance value (S206).
(36) In the forgoing, the present invention has been described with reference to the exemplary embodiment of the present invention, but those skilled in the art may appreciate that the present invention may be variously corrected and changed within the range without departing from the spirit and the area of the present invention described in the appending claims.