JP6959052B2 - Shunt resistance type current sensor and shunt resistance type current sensor correction method - Google Patents

Shunt resistance type current sensor and shunt resistance type current sensor correction method Download PDF

Info

Publication number
JP6959052B2
JP6959052B2 JP2017131288A JP2017131288A JP6959052B2 JP 6959052 B2 JP6959052 B2 JP 6959052B2 JP 2017131288 A JP2017131288 A JP 2017131288A JP 2017131288 A JP2017131288 A JP 2017131288A JP 6959052 B2 JP6959052 B2 JP 6959052B2
Authority
JP
Japan
Prior art keywords
temperature
unit
shunt resistance
correction
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017131288A
Other languages
Japanese (ja)
Other versions
JP2019015538A (en
Inventor
久保田 和弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yazaki Corp
Original Assignee
Yazaki Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yazaki Corp filed Critical Yazaki Corp
Priority to JP2017131288A priority Critical patent/JP6959052B2/en
Publication of JP2019015538A publication Critical patent/JP2019015538A/en
Application granted granted Critical
Publication of JP6959052B2 publication Critical patent/JP6959052B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)

Description

本発明は、シャント抵抗式電流センサ、及びシャント抵抗式電流センサの補正方法に関し、詳しくはバスバの一部をシャント抵抗部として使用し、このシャント抵抗部の温度を検知してその抵抗値を補正し、この補正に基づきバスバに流れる電流値を算出するシャント抵抗式電流センサ、及びシャント抵抗式電流センサの補正方法に関する。 The present invention relates to a shunt resistance type current sensor and a correction method for the shunt resistance type current sensor. Specifically, a part of the bus bar is used as a shunt resistance part, and the temperature of the shunt resistance part is detected to correct the resistance value. The present invention relates to a shunt resistance type current sensor that calculates the value of the current flowing through the bus based on this correction, and a correction method for the shunt resistance type current sensor.

近年、シャント抵抗式電流センサが自動車に広く搭載されている。シャント抵抗式電流センサは、自動車のバッテリ端子に接続されるバスバの一部をシャント抵抗部として使用して、そのバスバに流れる電流を検知するものである。この電流の検知に基づき、自動車のバッテリが効率的に制御され、自動車の省エネが実現されることになる。 In recent years, shunt resistance type current sensors have been widely installed in automobiles. The shunt resistance type current sensor uses a part of the bus bar connected to the battery terminal of the automobile as a shunt resistance section to detect the current flowing through the bus bar. Based on the detection of this current, the battery of the automobile is efficiently controlled, and the energy saving of the automobile is realized.

この種のシャント抵抗式電流センサでは、バスバのシャント抵抗部は温度特性(温度−抵抗値特性)を有することが知られている。このため、シャント抵抗式電流センサでは、バスバのシャント抵抗部の温度を検知してこの温度特性を解消するように補正する方法が取られる。すなわち、この種のシャント抵抗式電流センサでは、シャント抵抗部の温度の検知精度そのものがセンサ全体の検知精度に直接影響を与えてしまう。 In this type of shunt resistance type current sensor, it is known that the shunt resistance portion of the bus bar has a temperature characteristic (temperature-resistance value characteristic). Therefore, in the shunt resistance type current sensor, a method of detecting the temperature of the shunt resistance portion of the bus bar and correcting it so as to eliminate this temperature characteristic is adopted. That is, in this type of shunt resistance type current sensor, the temperature detection accuracy of the shunt resistance portion itself directly affects the detection accuracy of the entire sensor.

このシャント抵抗部の温度−抵抗値特性を踏まえ検知精度を向上させようとするものとしては、バスバでの電圧降下を増幅回路に入力して所定の増幅率で増幅し、その一方でバスバ温度検出回路(温度センサ)が電圧降下検出時のバスバの温度を検知してマイコンに入力するものが知られる(特許文献1参照)。また、特許文献1のマイコンは入力された検出温度に対する増幅率の補正値を算出して増幅回路に送信し、増幅回路はこの補正値を基に増幅率を補正可能としている。 An attempt to improve the detection accuracy based on the temperature-resistance value characteristics of the shunt resistor is to input the voltage drop in the bus bar to the amplifier circuit and amplify it at a predetermined amplification factor, while detecting the bus bar temperature. It is known that a circuit (temperature sensor) detects the temperature of a bus bar when a voltage drop is detected and inputs it to a microcomputer (see Patent Document 1). Further, the microcomputer of Patent Document 1 calculates a correction value of the amplification factor with respect to the input detection temperature and transmits it to the amplifier circuit, and the amplifier circuit can correct the amplification factor based on this correction value.

また、シャント抵抗式電流センサが温度センサを有し、この温度センサが、シャント抵抗部の中央部と位置的に対応して配置されるものも知られる(特許文献2参照)。この配置により、特許文献2はシャント抵抗部における温度分布内の偏重した温度を避けて、シャント抵抗部の略平均温度を検出可能としている。 It is also known that the shunt resistance type current sensor has a temperature sensor, and the temperature sensor is arranged so as to correspond to the central portion of the shunt resistance portion (see Patent Document 2). With this arrangement, Patent Document 2 makes it possible to detect a substantially average temperature of the shunt resistance portion while avoiding an unbalanced temperature in the temperature distribution of the shunt resistance portion.

特開2012−78327号公報Japanese Unexamined Patent Publication No. 2012-78327 特開2013−124859号公報Japanese Unexamined Patent Publication No. 2013-124859

しかしながら、上記特許文献1、2では温度センサは電子部品として基板に搭載されるため、バスバの温度以外にも基板に同様に搭載される電子部品(例えば、制御用マイコンや電圧検知ICなど)の発熱分も含んだ温度を検知している。すなわち、上記特許文献1、2では、温度センサはバスバのシャント抵抗部の温度だけを純粋に検知している訳ではない。これら電子部品の発熱に伴う温度が、温度センサの検知結果に対し検知誤差として含まれてしまっていた。この温度の検知誤差がシャント抵抗部の温度補正の誤差を招来し、結果的に電流の検知誤差に繋がっていた。 However, in Patent Documents 1 and 2, since the temperature sensor is mounted on the substrate as an electronic component, the electronic component (for example, a control microcomputer, a voltage detection IC, etc.) similarly mounted on the substrate other than the temperature of the bus bar is used. The temperature including the heat generation is detected. That is, in the above-mentioned Patent Documents 1 and 2, the temperature sensor does not purely detect only the temperature of the shunt resistance portion of the bass bar. The temperature associated with the heat generation of these electronic components is included as a detection error in the detection result of the temperature sensor. This temperature detection error causes an error in the temperature correction of the shunt resistor, and as a result, it leads to a current detection error.

ここで、この検知誤差について詳細に説明する。シャント抵抗式電流センサの電源を入れると、基板に搭載される制御用マイコンなどの電子部品が動作し電流が消費されることで発熱する。その発熱の影響により温度センサで検知される温度も上昇する。そして、所定時間の経過後、温度センサで検知される温度は飽和する。このとき、電源を入れる前の温度T1と、電源を入れた後に飽和した温度T2と、の差分ΔT(=T2−T1)が、電子部品の発熱による温度センサの検知誤差に相当する。上記特許文献1、2では、このΔTがシャント抵抗部の温度補正の誤差となり、結果的に電流の検知誤差となっていた。 Here, this detection error will be described in detail. When the power of the shunt resistance type current sensor is turned on, electronic components such as a control microcomputer mounted on the board operate and generate heat due to current consumption. The temperature detected by the temperature sensor also rises due to the influence of the heat generation. Then, after a lapse of a predetermined time, the temperature detected by the temperature sensor is saturated. At this time, the difference ΔT (= T2-T1) between the temperature T1 before the power is turned on and the temperature T2 saturated after the power is turned on corresponds to the detection error of the temperature sensor due to the heat generation of the electronic component. In Patent Documents 1 and 2, this ΔT becomes an error in temperature correction of the shunt resistance portion, resulting in a current detection error.

本発明は、上述した事情に鑑みてなされたものであり、その目的は、基板に搭載される電子部品の発熱による温度検知部の検知誤差を除去するように温度検知部の検知結果を補正することができるシャント抵抗式電流センサ、及びシャント抵抗式電流センサの補正方法を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to correct the detection result of the temperature detection unit so as to eliminate the detection error of the temperature detection unit due to the heat generation of the electronic component mounted on the substrate. It is an object of the present invention to provide a shunt resistance type current sensor capable of providing a correction method for a shunt resistance type current sensor.

前述した目的を達成するために、本発明に係るシャント抵抗式電流センサ、及びシャント抵抗式電流センサの補正方法は、下記(1)〜(6)を特徴としている。
(1)
バスバの一部であるシャント抵抗部の上面の両端部にそれぞれ接続された一対の接続端子を介して前記バスバの上方に設置され且つ前記一対の接続端子を介して前記シャント抵抗部に電気的に接続された基板と、
前記基板に搭載される電子部品と、を備えるシャント抵抗式電流センサであって、
前記電子部品は、
前記シャント抵抗部の前記両端部間の電圧を検知する電圧検知部と、
前記シャント抵抗部の温度を検知する温度検知部と、
制御用マイコンと、を含み、
前記制御用マイコンは、
前記バスバに電流が流れているか否かを判定し、前記バスバに電流が流れていないと判定したときは、事前準備として、温度記録部、及び、補正値算出部を実行し、前記事前準備の実行後に前記バスバに電流が流れていると判定したとき、実駆動として、温度補正部、抵抗値補正部、及び、電流算出部を実行し、
前記温度記録部は、前記バスバに電流が流れていない状態にて前記電子部品を駆動させて、前記温度検知部の検知結果を所定時間の間記録し、
前記補正値算出部は、前記温度記録部の記録結果に基づき、前記電子部品の前記事前準備としての駆動開始時点からの経過時間に対する、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇分の推移を算出し、
前記温度補正部は、前記バスバに電流が流れている状態にて、前記温度検知部により検知された温度から、前記実駆動の開始時点からの経過時間に対応する前記温度上昇分を減じて、前記電子部品の発熱の影響がないときの前記シャント抵抗部の温度を推定し、
前記抵抗値補正部は、前記推定された前記シャント抵抗部の温度と、予め定められた温度及び抵抗値間の特性と、に基づいて、前記シャント抵抗部の抵抗値を算出し、
前記電流算出部は、前記算出された前記シャント抵抗部の抵抗値と、前記電圧検知部の検知結果と、に基づいて、前記バスバに流れている電流を算出する
ことを特徴とするシャント抵抗式電流センサ。
(2)
前記補正値算出部は、前記温度記録部の記録結果に基づいて、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇がなくなるまでの前記駆動開始時点からの経過時間である温度飽和時間を検知し、前記温度飽和時間前後で異なる時間関数を用いて、前記温度上昇分の推移を近似して算出する
ことを特徴とする上記(1)に記載のシャント抵抗式電流センサ。
(3)
前記補正値算出部は、前記実駆動の開始時点から前記温度飽和時間までは、前記時間関数として自然対数関数を用いて前記温度上昇分を近似して算出し、前記温度飽和時間以降は、前記時間関数として1次関数を用いて前記温度上昇分を近似して算出する
ことを特徴とする上記(2)に記載のシャント抵抗式電流センサ。
(4)
請求項1に記載のシャント抵抗式電流センサを用いたシャント抵抗式電流センサの補正方法であって、
前記温度記録部は、前記バスバに電流が流れていない状態にて前記電子部品を駆動させて、前記温度検知部の検知結果を所定時間の間記録するステップを実行し、
前記補正値算出部は、前記温度記録部の記録結果に基づき、前記電子部品の前記事前準備としての駆動開始時点からの経過時間に対する、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇分の推移を算出するステップを実行し、
前記温度補正部は、前記バスバに電流が流れている状態にて、前記温度検知部により検知された温度から、前記実駆動の開始時点からの経過時間に対応する前記温度上昇分を減じて、前記電子部品の発熱の影響がないときの前記シャント抵抗部の温度を推定するステップを実行し、
前記抵抗値補正部は、前記推定された前記シャント抵抗部の温度と、予め定められた温度及び抵抗値間の特性と、に基づいて、前記シャント抵抗部の抵抗値を算出するステップを実行し、
前記電流算出部は、前記算出された前記シャント抵抗部の抵抗値と、前記電圧検知部の検知結果と、に基づいて、前記バスバに流れている電流を算出するステップを実行する
ことを特徴とするシャント抵抗式電流センサの補正方法。
(5)
前記補正値算出部は、前記温度記録部の記録結果に基づいて、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇がなくなるまでの前記駆動開始時点からの経過時間である温度飽和時間を検知し、前記温度飽和時間の前後で異なる時間関数を用いて、前記温度上昇分の推移を近似して算出するステップを実行する
ことを特徴とする上記(4)に記載のシャント抵抗式電流センサの補正方法。
(6)
前記補正値算出部は、前記実駆動の開始時点から前記温度飽和時間までは、前記時間関数として自然対数関数を用いて前記温度上昇分を近似して算出し、前記温度飽和時間以降は、前記時間関数として1次関数を用いて前記温度上昇分を近似して算出するステップを実行する
ことを特徴とする上記(5)に記載のシャント抵抗式電流センサの補正方法。
In order to achieve the above-mentioned object, the shunt resistance type current sensor and the correction method of the shunt resistance type current sensor according to the present invention are characterized by the following (1) to (6).
(1)
It is installed above the bus bar via a pair of connection terminals connected to both ends of the upper surface of the shunt resistor portion that is a part of the bus bar, and is electrically connected to the shunt resistor section via the pair of connection terminals. With the connected board
A shunt resistance type current sensor including electronic components mounted on the substrate.
The electronic component is
A voltage detection unit that detects the voltage between both ends of the shunt resistance unit, and
A temperature detection unit that detects the temperature of the shunt resistance unit and
Including the control microcomputer
The control microcomputer is
When it is determined whether or not a current is flowing through the bus bar and it is determined that no current is flowing through the bus bar, the temperature recording unit and the correction value calculation unit are executed as advance preparations, and the advance preparations are performed. When it is determined that a current is flowing through the bus bar after the execution of, the temperature correction unit, the resistance value correction unit, and the current calculation unit are executed as actual driving.
The temperature recording unit drives the electronic component in a state where no current is flowing through the bus bar, and records the detection result of the temperature detection unit for a predetermined time.
Based on the recording result of the temperature recording unit, the correction value calculation unit determines the temperature of the shunt resistance unit due to the influence of heat generation of the electronic component with respect to the elapsed time from the start time of driving the electronic component as a preliminary preparation. Calculate the transition of the increase,
The temperature compensating unit subtracts the temperature rise corresponding to the elapsed time from the start time of the actual driving from the temperature detected by the temperature detecting unit in a state where the current is flowing through the shunt. Estimate the temperature of the shunt resistor when there is no influence of heat generation of the electronic component,
The resistance value correction unit calculates the resistance value of the shunt resistance unit based on the estimated temperature of the shunt resistance unit and the characteristics between the predetermined temperature and the resistance value.
The current calculation unit calculates the current flowing through the bus bar based on the calculated resistance value of the shunt resistance unit and the detection result of the voltage detection unit. Current sensor.
(2)
Based on the recording result of the temperature recording unit, the correction value calculation unit is a temperature saturation time which is an elapsed time from the drive start time until the temperature rise of the shunt resistance unit due to the influence of heat generation of the electronic component disappears. detects, using different time function before and after the temperature saturation time, the shunt resistance type current sensor according to the above (1), characterized in that calculated by approximating the transition of the temperature rise.
(3)
From the start time of the actual drive to the temperature saturation time, the correction value calculation unit approximates the temperature rise using a natural logarithm function as the time function, and after the temperature saturation time , the correction value calculation unit calculates the temperature rise. The shunt resistance type current sensor according to (2) above, wherein the temperature rise is approximated and calculated by using a linear function as a time function.
(4)
A method for correcting a shunt resistance type current sensor using the shunt resistance type current sensor according to claim 1.
The temperature recording unit drives the electronic component in a state where no current is flowing through the bus bar, and executes a step of recording the detection result of the temperature detection unit for a predetermined time.
Based on the recording result of the temperature recording unit, the correction value calculation unit determines the temperature of the shunt resistance unit due to the influence of heat generation of the electronic component with respect to the elapsed time from the start time of driving the electronic component as a preliminary preparation. Perform the steps to calculate the transition of the increase,
The temperature compensating unit subtracts the temperature rise corresponding to the elapsed time from the start time of the actual driving from the temperature detected by the temperature detecting unit in a state where the current is flowing through the shunt. A step of estimating the temperature of the shunt resistor when there is no influence of heat generation of the electronic component is executed.
The resistance value correction unit executes a step of calculating the resistance value of the shunt resistance unit based on the estimated temperature of the shunt resistance unit and the characteristics between the predetermined temperature and the resistance value. ,
The current calculation unit is characterized by executing a step of calculating the current flowing through the bus bar based on the calculated resistance value of the shunt resistance unit and the detection result of the voltage detection unit. How to correct the shunt resistance type current sensor.
(5)
Based on the recording result of the temperature recording unit, the correction value calculation unit is a temperature saturation time which is an elapsed time from the drive start time until the temperature rise of the shunt resistance unit due to the influence of heat generation of the electronic component disappears. The shunt resistance type current according to (4) above , wherein the step is executed by approximating the transition of the temperature rise using different time functions before and after the temperature saturation time. Sensor correction method.
(6)
From the start time of the actual drive to the temperature saturation time, the correction value calculation unit approximates the temperature rise using a natural logarithmic function as the time function, and after the temperature saturation time, the correction value calculation unit calculates the temperature rise. The correction method for a shunt resistance type current sensor according to (5) above, wherein a step of approximating and calculating the temperature rise is executed using a linear function as a time function.

上記(1)のシャント抵抗式電流センサの構成によれば、基板に搭載される電子部品の発熱による温度検知部の検知誤差を除去するように温度検知部の検知結果を補正することができる。これにより、バスバのシャント抵抗部の実温度(本来の温度)を精度良く検知して、結果的に電流検知の精度を向上させることができる。
上記(2)のシャント抵抗式電流センサの構成によれば、電子部品の発熱による温度検知部の検知誤差を、バッテリに電源が入ってバスバに電流が流れ出した直後から捕捉して除去することができる。これにより、バスバのシャント抵抗部の実温度を一層精度良く検知することができる。
上記(3)のシャント抵抗式電流センサの構成によれば、バスバに電流が流れ出した直後の、電子部品の発熱による温度検知部の検知誤差を、実装が簡便でありながらも誤差も少なく捕捉して除去することができる。
上記(4)のシャント抵抗式電流センサの補正方法の構成によれば、基板に搭載される電子部品の発熱による温度検知部の検知誤差を除去するように温度検知部の検知結果を補正することができる。これにより、バスバのシャント抵抗部の実温度(本来の温度)を精度良く検知して、結果的に電流検知の精度を向上させることができる。
上記(5)のシャント抵抗式電流センサの補正方法の構成によれば、電子部品の発熱による温度検知部の検知誤差を、バッテリに電源が入ってバスバに電流が流れ出した直後から捕捉して除去することができる。これにより、バスバのシャント抵抗部の実温度を一層精度良く検知することができる。
上記(6)のシャント抵抗式電流センサの補正方法の構成によれば、バスバに電流が流れ出した直後の、電子部品の発熱による温度検知部の検知誤差を、実装が簡便でありながらも誤差も少なく捕捉して除去することができる。
According to the configuration of the shunt resistance type current sensor of (1) above, the detection result of the temperature detection unit can be corrected so as to eliminate the detection error of the temperature detection unit due to the heat generation of the electronic component mounted on the substrate. As a result, the actual temperature (original temperature) of the shunt resistance portion of the bus bar can be detected with high accuracy, and as a result, the accuracy of current detection can be improved.
According to the configuration of the shunt resistance type current sensor in (2) above, the detection error of the temperature detector due to the heat generation of the electronic component can be captured and removed immediately after the power is turned on to the battery and the current flows out to the bus bar. can. As a result, the actual temperature of the shunt resistance portion of the bass bar can be detected more accurately.
According to the configuration of the shunt resistance type current sensor in (3) above, the detection error of the temperature detector due to the heat generation of the electronic component immediately after the current flows out to the bus bar is captured with a small error while being easy to mount. Can be removed.
According to the configuration of the correction method of the shunt resistance type current sensor in (4) above, the detection result of the temperature detection unit is corrected so as to eliminate the detection error of the temperature detection unit due to the heat generation of the electronic component mounted on the substrate. Can be done. As a result, the actual temperature (original temperature) of the shunt resistance portion of the bus bar can be detected with high accuracy, and as a result, the accuracy of current detection can be improved.
According to the configuration of the correction method of the shunt resistance type current sensor in (5) above, the detection error of the temperature detector due to the heat generation of the electronic component is captured and removed immediately after the power is turned on to the battery and the current flows out to the bus bar. can do. As a result, the actual temperature of the shunt resistance portion of the bass bar can be detected more accurately.
According to the configuration of the correction method of the shunt resistance type current sensor in (6) above, the detection error of the temperature detector due to the heat generation of the electronic component immediately after the current flows out to the bus bar can be detected while being easy to mount. It can be captured and removed less.

本発明のシャント抵抗式電流センサによれば、基板に搭載される電子部品の発熱による温度検知部の検知誤差を除去するように温度検知部の検知結果を補正することができる。これにより、バスバのシャント抵抗部の実温度(本来の温度)を精度良く検知して、結果的に電流検知の精度を向上させることができる。 According to the shunt resistance type current sensor of the present invention, the detection result of the temperature detection unit can be corrected so as to eliminate the detection error of the temperature detection unit due to the heat generation of the electronic component mounted on the substrate. As a result, the actual temperature (original temperature) of the shunt resistance portion of the bus bar can be detected with high accuracy, and as a result, the accuracy of current detection can be improved.

本発明のシャント抵抗式電流センサの補正方法によれば、基板に搭載される電子部品の発熱による温度検知部の検知誤差を除去するように温度検知部の検知結果を補正することができる。これにより、バスバのシャント抵抗部の実温度(本来の温度)を精度良く検知して、結果的に電流検知の精度を向上させることができる。 According to the correction method of the shunt resistance type current sensor of the present invention, the detection result of the temperature detection unit can be corrected so as to eliminate the detection error of the temperature detection unit due to the heat generation of the electronic component mounted on the substrate. As a result, the actual temperature (original temperature) of the shunt resistance portion of the bus bar can be detected with high accuracy, and as a result, the accuracy of current detection can be improved.

以上、本発明について簡潔に説明した。さらに、以下に説明される発明を実施するための形態(以下、「実施形態」という。)を添付の図面を参照して通読することにより、本発明の詳細はさらに明確化されるだろう。 The present invention has been briefly described above. Further, the details of the present invention will be further clarified by reading through the embodiments described below (hereinafter referred to as "embodiments") with reference to the accompanying drawings.

図1は、本発明に係る実施形態のシャント抵抗式電流センサを模式的に説明する側面図である。FIG. 1 is a side view schematically illustrating a shunt resistance type current sensor according to an embodiment of the present invention. 図2は、図1に示すシャント抵抗式電流センサを拡大して説明する要部拡大図である。FIG. 2 is an enlarged view of a main part for explaining the shunt resistance type current sensor shown in FIG. 1 in an enlarged manner. 図3は、図2に示す制御用マイコンの構成を機能的に説明するブロック図である。FIG. 3 is a block diagram functionally explaining the configuration of the control microcomputer shown in FIG. 図4は、本発明に係る実施形態のシャント抵抗式電流センサの補正方法の手順を説明するフローチャートである。FIG. 4 is a flowchart illustrating a procedure of a correction method of the shunt resistance type current sensor according to the embodiment of the present invention. 図5は、図4に示す事前準備サブルーチンを説明するフローチャートである。FIG. 5 is a flowchart illustrating the preparation subroutine shown in FIG. 図6は、本発明に係る実施形態の変形例を説明する機能ブロック図である。FIG. 6 is a functional block diagram illustrating a modified example of the embodiment according to the present invention. 図7は、バスバに電流が流れていないときの温度センサが検知する温度を説明する実測値の温度グラフである。FIG. 7 is a temperature graph of measured values for explaining the temperature detected by the temperature sensor when no current is flowing through the bus bar.

本発明のシャント抵抗式電流センサ、及びシャント抵抗式電流センサの補正方法に関する具体的な実施形態について、各図を参照しながら以下に説明する。 A specific embodiment of the shunt resistance type current sensor and the correction method of the shunt resistance type current sensor of the present invention will be described below with reference to each figure.

なお、本実施形態で言う「部」とは単にハードウェアによって実現される物理的構成に限定されず、その構成が有する機能をプログラムなどのソフトウェアによって実現されるものも含む。また、1つの構成が有する機能が2つ以上の物理的構成によって実現されても、または2つ以上の構成の機能が例えば1つの物理的構成によって実現されていても構わない。 The "part" referred to in the present embodiment is not limited to a physical configuration realized by hardware, but also includes a function realized by software such as a program. Further, the function of one configuration may be realized by two or more physical configurations, or the function of two or more configurations may be realized by, for example, one physical configuration.

<<シャント抵抗式電流センサの構成>>
まず図1及び図2を参照して、シャント抵抗式電流センサの構成について説明する。図1は、本実施形態のシャント抵抗式電流センサを模式的に説明する側面図である。図2は、図1に示すシャント抵抗式電流センサを拡大して説明する要部拡大図である。
<< Configuration of shunt resistance type current sensor >>
First, the configuration of the shunt resistance type current sensor will be described with reference to FIGS. 1 and 2. FIG. 1 is a side view schematically illustrating the shunt resistance type current sensor of the present embodiment. FIG. 2 is an enlarged view of a main part for explaining the shunt resistance type current sensor shown in FIG. 1 in an enlarged manner.

図1及び図2に示すように、本実施形態に係るシャント抵抗式電流センサ10は、バスバ50に取り付けられる電流検知装置であり、一対の接続端子15,15と、基板20と、電子部品30と、を有する。 As shown in FIGS. 1 and 2, the shunt resistance type current sensor 10 according to the present embodiment is a current detection device attached to the bus bar 50, and is a pair of connection terminals 15 and 15, a substrate 20, and an electronic component 30. And have.

<バスバ50の構成>
バスバ50は、導電性金属により平面視で略長方形に形成され、図示しないバッテリポストに取り付けられる。また、バスバ50は、略平板状のシャント抵抗部51を含み、このシャント抵抗部51を中央に挟んで両側部に一体形成される上流部52及び下流部55を有する。
<Structure of bus bar 50>
The bus bar 50 is formed of a conductive metal in a substantially rectangular shape in a plan view, and is attached to a battery post (not shown). Further, the bus bar 50 includes a substantially flat plate-shaped shunt resistance portion 51, and has an upstream portion 52 and a downstream portion 55 integrally formed on both side portions with the shunt resistance portion 51 sandwiched in the center.

バスバ50の上流部52は、シャント抵抗部51に電流が流れる方向の上流部に相当する端部から延設されるバッテリ端子53を有する。このバッテリ端子53には、図1中上下方向で貫通する不図示の嵌合穴が形成される。また、その先端部には、互いに対向して平行に延びる一対のボルト挿通部54が設けられる。このボルト挿通部54には、ボルトBが挿通される穴が形成される。この穴にボルトBが挿通され、不図示のナットで締め付けられる。バッテリ端子53の嵌合穴には、不図示のバッテリ負極側のバッテリポストが挿入され、ボルトBがナットで締め付けられることによりバッテリ端子53がバッテリポストに締結される。 The upstream portion 52 of the bus bar 50 has a battery terminal 53 extending from an end corresponding to the upstream portion in the direction in which current flows in the shunt resistance portion 51. The battery terminal 53 is formed with a fitting hole (not shown) that penetrates in the vertical direction in FIG. Further, a pair of bolt insertion portions 54 extending in parallel facing each other are provided at the tip portion thereof. A hole through which the bolt B is inserted is formed in the bolt insertion portion 54. A bolt B is inserted into this hole and tightened with a nut (not shown). A battery post on the negative electrode side of the battery (not shown) is inserted into the fitting hole of the battery terminal 53, and the battery terminal 53 is fastened to the battery post by tightening the bolt B with a nut.

バスバ50の下流部55は、シャント抵抗部51に電流が流れる方向の下流部に相当する端部から延設されるスタッド立設部56を有する。このスタッド立設部56には、スタッドボルトSが立設される。スタッドボルトSには、不図示のワイヤーハーネスの端子が接続され、不図示のナットで締結される。 The downstream portion 55 of the bus bar 50 has a stud standing portion 56 extending from an end corresponding to the downstream portion in the direction in which the current flows to the shunt resistance portion 51. A stud bolt S is erected on the stud standing portion 56. A terminal of a wire harness (not shown) is connected to the stud bolt S and fastened with a nut (not shown).

バッテリからの電流は、電気的負荷を介してバッテリの負極端子に戻る。このとき、バスバ50のシャント抵抗部51は、この電流経路の途中に配置されており、そして負荷のマイナス側のワイヤーハーネスにはスタッドボルトSに接続され、バッテリの負極側のバッテリポストにはバッテリ端子53に接続される。この電気的接続により、電流は、ワイヤーハーネス、スタッドボルトS、及びシャント抵抗部51を経由してバッテリ端子53、負極側のバッテリポストへと流れる。 The current from the battery returns to the negative electrode terminal of the battery via an electrical load. At this time, the shunt resistance portion 51 of the bus bar 50 is arranged in the middle of this current path, and is connected to the stud bolt S on the wire harness on the negative side of the load, and the battery is connected to the battery post on the negative electrode side of the battery. It is connected to the terminal 53. By this electrical connection, the current flows to the battery terminal 53 and the battery post on the negative electrode side via the wire harness, the stud bolt S, and the shunt resistor portion 51.

<一対の接続端子15,15の構成>
図2に示すように、シャント抵抗式電流センサ10の一対の接続端子15,15は、バスバ50のシャント抵抗部51の両端部分に電気的に接続して設けられる。接続端子15は、シャント抵抗部51に設けられた端子であり、その端子が基板20に半田付けされることによって、基板20の回路パターンに電気的に接続される。または、接続端子15は、プレスフィット端子であって、基板20に設けられたホールに圧入されることによって、基板20の回路パターンに電気的に接続される。
<Structure of a pair of connection terminals 15 and 15>
As shown in FIG. 2, the pair of connection terminals 15 and 15 of the shunt resistance type current sensor 10 are electrically connected to both ends of the shunt resistance portion 51 of the bus bar 50. The connection terminal 15 is a terminal provided on the shunt resistor portion 51, and the terminal is soldered to the substrate 20 to be electrically connected to the circuit pattern of the substrate 20. Alternatively, the connection terminal 15 is a press-fit terminal and is electrically connected to the circuit pattern of the substrate 20 by being press-fitted into a hole provided in the substrate 20.

<基板20の構成>
基板20は、略平板状に形成され、バスバ50のシャント抵抗部51の上方に設置される。また、基板20には回路パターンが形成されており、この回路パターンの端部に一対の接続端子15,15が電気的にそれぞれ接続される。この電気的接続により、基板20は、一対の接続端子15,15を介してバスバ50のシャント抵抗部51に電気的に接続する。
<Structure of substrate 20>
The substrate 20 is formed in a substantially flat plate shape and is installed above the shunt resistance portion 51 of the bus bar 50. A circuit pattern is formed on the substrate 20, and a pair of connection terminals 15 and 15 are electrically connected to the ends of the circuit pattern, respectively. Through this electrical connection, the substrate 20 is electrically connected to the shunt resistor portion 51 of the bus bar 50 via the pair of connection terminals 15 and 15.

<電子部品30の構成>
電子部品30は、電圧検知IC(電圧検知部)31と、温度センサ(温度検知部)32と、制御用マイコン(マイクロコンピュータ)40と、を少なくとも有して、基板20上に搭載される。
<Structure of electronic component 30>
The electronic component 30 has at least a voltage detection IC (voltage detection unit) 31, a temperature sensor (temperature detection unit) 32, and a control microcomputer (microcomputer) 40, and is mounted on the substrate 20.

電圧検知IC31は、ハードウェアとして増幅回路を含むIC(Integrated Circuit)などで構成され、基板20の表側に設置される。電圧検知IC31は、基板20の回路パターンの他端部と電気的に接続しており、一対の接続端子15,15を介してバスバ50のシャント抵抗部51に印加される電圧(電圧降下)を検知して、その検知結果を制御用マイコン40に報知する。 The voltage detection IC 31 is composed of an IC (Integrated Circuit) or the like including an amplifier circuit as hardware, and is installed on the front side of the substrate 20. The voltage detection IC 31 is electrically connected to the other end of the circuit pattern of the substrate 20, and receives a voltage (voltage drop) applied to the shunt resistance portion 51 of the bus bar 50 via the pair of connection terminals 15 and 15. It detects it and notifies the control microcomputer 40 of the detection result.

温度センサ32は、同様にハードウェアとして検知素子を含むICなどで構成され、基板20の裏側にバスバ50のシャント抵抗部51と対向して設置される。温度センサ32は、バスバ50のシャント抵抗部51の近傍の温度を検知し、その検知結果を制御用マイコン40に報知する。 Similarly, the temperature sensor 32 is composed of an IC or the like including a detection element as hardware, and is installed on the back side of the substrate 20 so as to face the shunt resistance portion 51 of the bus bar 50. The temperature sensor 32 detects the temperature in the vicinity of the shunt resistance portion 51 of the bus bar 50, and notifies the control microcomputer 40 of the detection result.

制御用マイコン40は、ハードウェアとして演算回路、インタフェース回路及びメモリ回路などを含むミニコンピュータシステムで構成され、シャント抵抗式電流センサ10の制御部として機能する。制御用マイコン40は、基板20の表側に電圧検知IC31と物理的に干渉しないように設置される。 The control microcomputer 40 is composed of a minicomputer system including an arithmetic circuit, an interface circuit, a memory circuit, and the like as hardware, and functions as a control unit of the shunt resistance type current sensor 10. The control microcomputer 40 is installed on the front side of the substrate 20 so as not to physically interfere with the voltage detection IC 31.

<制御用マイコン40の構成>
次に図3を参照して、制御用マイコンの機能について説明する。図3は、図2に示す制御用マイコンの構成を機能的に説明するブロック図である。
<Configuration of control microcomputer 40>
Next, the function of the control microcomputer will be described with reference to FIG. FIG. 3 is a block diagram functionally explaining the configuration of the control microcomputer shown in FIG.

図3に示すように、制御用マイコン40は、温度記録部41と、補正値算出部42と、温度補正部43と、抵抗値補正部44と、電流算出部45と、を少なくとも有する。
なお、本実施形態では、温度記録部41、補正値算出部42、温度補正部43、抵抗値補正部44、及び電流算出部45は、プログラムとして制御用マイコン40のメモリ回路にそれぞれ格納されており、制御用マイコン40の演算回路に適宜読み出されて実行される。また、制御用マイコン40は、これら部分41,42,43,44,45以外にも、全体を制御管理する不図示の中央制御部や、データを記録保持するデータ記録部などを適宜有する。
As shown in FIG. 3, the control microcomputer 40 has at least a temperature recording unit 41, a correction value calculation unit 42, a temperature correction unit 43, a resistance value correction unit 44, and a current calculation unit 45.
In the present embodiment, the temperature recording unit 41, the correction value calculation unit 42, the temperature correction unit 43, the resistance value correction unit 44, and the current calculation unit 45 are stored as programs in the memory circuit of the control microcomputer 40, respectively. Therefore, it is appropriately read by the arithmetic circuit of the control microcomputer 40 and executed. In addition to these parts 41, 42, 43, 44, 45, the control microcomputer 40 appropriately includes a central control unit (not shown) that controls and manages the entire unit, a data recording unit that records and holds data, and the like.

温度記録部41は、バスバ50に電流が流れていない状態で、電子部品30全部が駆動したときの、温度センサ32の検知結果を所定時間の間、経時的に記録してデータ保持する。そして、温度記録部41は、その記録結果を補正値算出部42に報知する。 The temperature recording unit 41 records the detection result of the temperature sensor 32 over time for a predetermined time and holds the data when all the electronic components 30 are driven in a state where no current is flowing through the bus bar 50. Then, the temperature recording unit 41 notifies the correction value calculation unit 42 of the recording result.

補正値算出部42は、温度記録部41の記録結果に基づき、温度センサ32の検知結果に対する温度補正値CV1,CV2を算出して、その温度補正値CV1,CV2を温度補正部43に報知する。
なお、詳細は後述するが、補正値算出部42は、温度記録部41の記録結果における温度飽和時間Tsを検知し、その温度飽和時間Ts前後で第1及び第2の温度補正値CV1,CV2を切り替えてそれぞれ算出する。
The correction value calculation unit 42 calculates the temperature correction values CV1 and CV2 for the detection result of the temperature sensor 32 based on the recording result of the temperature recording unit 41, and notifies the temperature correction units CV1 and CV2 of the temperature correction values CV1 and CV2. ..
Although the details will be described later, the correction value calculation unit 42 detects the temperature saturation time Ts in the recording result of the temperature recording unit 41, and the first and second temperature correction values CV1 and CV2 are around the temperature saturation time Ts. To switch and calculate each.

温度補正部43は、温度センサ32の検知結果を第1及び第2の温度補正値CV1,CV2で補正する。すなわち、温度補正部43は、シャント抵抗式電流センサ10の実駆動時において、温度センサ32の検知結果に対して基板20の電子部品30の発熱による検知誤差を除去するように補正する。この補正により、温度補正部43は、バスバ50のシャント抵抗部51の実温度(本来の温度)を推定して、抵抗値補正部44に報知する。 The temperature correction unit 43 corrects the detection result of the temperature sensor 32 with the first and second temperature correction values CV1 and CV2. That is, the temperature correction unit 43 corrects the detection result of the temperature sensor 32 so as to remove the detection error due to the heat generation of the electronic component 30 of the substrate 20 when the shunt resistance type current sensor 10 is actually driven. By this correction, the temperature correction unit 43 estimates the actual temperature (original temperature) of the shunt resistance unit 51 of the bus bar 50 and notifies the resistance value correction unit 44.

抵抗値補正部44は、バスバ50のシャント抵抗部51の温度−抵抗値特性を解消するように、温度補正部43の補正結果に応じてシャント抵抗部51の抵抗値を補正する。すなわち、バスバ50に電流が流れるとシャント抵抗部が発熱して抵抗値が上昇するが、抵抗値補正部44はその上昇分を温度−抵抗値特性に基づいて推定して補正する。 The resistance value correction unit 44 corrects the resistance value of the shunt resistance unit 51 according to the correction result of the temperature correction unit 43 so as to eliminate the temperature-resistance value characteristic of the shunt resistance unit 51 of the bus bar 50. That is, when a current flows through the bus bar 50, the shunt resistance portion generates heat and the resistance value rises, but the resistance value correction section 44 estimates and corrects the rise based on the temperature-resistance value characteristic.

電流算出部45は、抵抗値補正部44の補正結果、及び電圧検知IC31の検知結果に基づき、バスバ50に流れている電流を算出して、自動車の中央制御装置などの上流装置に報知する。 The current calculation unit 45 calculates the current flowing through the bus bar 50 based on the correction result of the resistance value correction unit 44 and the detection result of the voltage detection IC 31, and notifies the upstream device such as the central control device of the automobile.

このように構成される制御用マイコン40は、シャント抵抗式電流センサ10が実駆動する前において、バスバ50に電流が流れている状態か否かを判断する。制御用マイコン40は、バスバ50に電流が流れていないと判断するときに、電子部品30全部を駆動して温度記録部41及び補正値算出部42を実行する。その一方で、制御用マイコン40は、バスバ50に電流が流れていると判断するときには、温度記録部41及び補正値算出部42を実行しない。その代わりに、制御用マイコン40は、それ以外の温度補正部43、抵抗値補正部44と、及び電流算出部を実行する。この実行により、シャント抵抗式電流センサ10が実駆動することになる。 The control microcomputer 40 configured in this way determines whether or not a current is flowing through the bus bar 50 before the shunt resistance type current sensor 10 is actually driven. When the control microcomputer 40 determines that no current is flowing through the bus bar 50, it drives all the electronic components 30 to execute the temperature recording unit 41 and the correction value calculation unit 42. On the other hand, the control microcomputer 40 does not execute the temperature recording unit 41 and the correction value calculation unit 42 when it is determined that a current is flowing through the bus bar 50. Instead, the control microcomputer 40 executes the other temperature correction unit 43, the resistance value correction unit 44, and the current calculation unit. By this execution, the shunt resistance type current sensor 10 is actually driven.

<<シャント抵抗式電流センサの補正方法>>
次に図4及び図5を参照して、本実施形態に係るシャント抵抗式電流センサの動作、特にその補正方法の手順について詳細に説明する。図4は、本実施形態のシャント抵抗式電流センサの補正方法の手順を説明するフローチャートである。図5は、図4に示す事前準備サブルーチンを説明するフローチャートである。
<< Correction method for shunt resistance type current sensor >>
Next, with reference to FIGS. 4 and 5, the operation of the shunt resistance type current sensor according to the present embodiment, particularly the procedure of the correction method thereof will be described in detail. FIG. 4 is a flowchart illustrating a procedure of a correction method of the shunt resistance type current sensor of the present embodiment. FIG. 5 is a flowchart illustrating the preparation subroutine shown in FIG.

図4に示すように、シャント抵抗式電流センサ10が実駆動する前に、事前準備サブルーチンSR20が実行される。
なお、事前準備サブルーチンSR20は、事前に設定される頻度で実行しても良いし、又はシャント抵抗式電流センサ10をバッテリに実装する前に1回実行しても良い。
As shown in FIG. 4, the preparatory subroutine SR20 is executed before the shunt resistance type current sensor 10 is actually driven.
The pre-preparation subroutine SR20 may be executed at a preset frequency, or may be executed once before mounting the shunt resistance type current sensor 10 on the battery.

図5に示すように、事前準備サブルーチンSR20では、最初のステップであるステップS21において、制御用マイコン40がバスバ50に電流が流れるか否かを判断する。制御用マイコン40が、バスバ50に電流が流れていると判断した場合(S21のYES)には、ステップが前に戻り、電流が流れていない状態になるまで、それ以降のステップには進まない。その一方で、制御用マイコン40が、バスバ50に電流が流れていないと判断した場合(S21のNO)には、ステップS22に進む。 As shown in FIG. 5, in the preparatory subroutine SR20, in step S21, which is the first step, the control microcomputer 40 determines whether or not a current flows through the bus bar 50. When the control microcomputer 40 determines that a current is flowing through the bus bar 50 (YES in S21), the step returns to the front and does not proceed to the subsequent steps until the current is not flowing. .. On the other hand, when the control microcomputer 40 determines that no current is flowing through the bus bar 50 (NO in S21), the process proceeds to step S22.

ステップS22において、制御用マイコン40は電子部品30全部を駆動する。その駆動後、ステップS23において温度記録部41は、電子部品30が駆動した瞬間からの温度センサ32の検知結果を、所定時間の間記録してデータ保持する。このとき、温度記録部41が記録する温度は、バスバ50に電流が流れていない状態でのシャント抵抗部51近傍の温度である。すなわち、ステップS23においては、バスバ50に電流が流れていないためシャント抵抗部51は発熱しておらず、温度記録部41は基板20の電子部品30の発熱の影響による温度のみを記録することになる。 In step S22, the control microcomputer 40 drives all the electronic components 30. After the drive, in step S23, the temperature recording unit 41 records the detection result of the temperature sensor 32 from the moment when the electronic component 30 is driven and holds the data for a predetermined time. At this time, the temperature recorded by the temperature recording unit 41 is the temperature in the vicinity of the shunt resistance unit 51 in a state where no current is flowing through the bus bar 50. That is, in step S23, since no current is flowing through the bus bar 50, the shunt resistor section 51 does not generate heat, and the temperature recording section 41 records only the temperature due to the influence of the heat generation of the electronic component 30 of the substrate 20. Become.

ここで、基板20の電子部品30の発熱による温度は、時間が経過すると緩やかに飽和して定常状態となる。このため、ステップS24において、補正値算出部42は、温度記録部41の記録結果における温度飽和時間Tsを検知する。この検知後、補正値算出部42は、温度飽和時間Ts前後で温度補正値を切り替えて第1及び第2の補正値CV1,CV2算出するため、ステップS25及びステップS26を並行して実行する。
なお、温度飽和時間Tsの検知については、補正値算出部42は、温度記録部41の記録結果を初期時間から逐次時間微分し、この微分値が所定範囲以内となった瞬間を温度飽和時間Tsと決定する。
Here, the temperature due to the heat generated by the electronic component 30 of the substrate 20 gradually saturates over time and becomes a steady state. Therefore, in step S24, the correction value calculation unit 42 detects the temperature saturation time Ts in the recording result of the temperature recording unit 41. After this detection, the correction value calculation unit 42 executes steps S25 and S26 in parallel in order to switch the temperature correction values around the temperature saturation time Ts and calculate the first and second correction values CV1 and CV2.
Regarding the detection of the temperature saturation time Ts, the correction value calculation unit 42 sequentially differentiates the recording result of the temperature recording unit 41 from the initial time, and the moment when this differential value is within a predetermined range is the temperature saturation time Ts. To decide.

ステップS25において、補正値算出部42は、次の数式(1)に示すように、温度飽和時間Ts前の温度記録部41の記録結果に対して自然対数関数で近似する。また、このとき補正値算出部42は、近似式の決定係数Rも算出する。この近似式の算出により、補正値算出部42は電子部品30の駆動開始(電源ON後)から温度飽和時間Tsまでの温度補正値、すなわち第1の温度補正値CV1を算出して、その算出結果を温度補正部43に報知する。なお、第1の温度補正値CV1は時間関数で規定される。 In step S25, the correction value calculation unit 42 approximates the recording result of the temperature recording unit 41 before the temperature saturation time Ts by a natural logarithm function, as shown in the following mathematical formula (1). The correction value calculation unit 42 at this time, the coefficient of determination of the approximate formula R 2 is also calculated. By calculating this approximate expression, the correction value calculation unit 42 calculates the temperature correction value from the start of driving of the electronic component 30 (after the power is turned on) to the temperature saturation time Ts, that is, the first temperature correction value CV1 and calculates the temperature. The result is notified to the temperature correction unit 43. The first temperature correction value CV1 is defined by a time function.

CV1(t)=A・In(t)+B (t<Ts) ・・・(1)
なお、tは時間変数を示し、A,Bは近似して同定される係数を示す。
CV1 (t) = A · In (t) + B (t <Ts) ・ ・ ・ (1)
Note that t indicates a time variable, and A and B indicate coefficients that are approximately identified.

その一方で、ステップS26において、補正値算出部42は、次の数式(2)に示すように、温度飽和時間Ts以後の温度記録部41の記録結果に対して1次関数、より具体的には傾きが0(ゼロ)の1次関数(定常値)で近似する。この近似式の算出により、補正値算出部42は、温度飽和時間Tsからの温度補正値、すなわち第2の温度補正値CV2を算出して、その算出結果を温度補正部43に報知する。このように、ステップS25,S26が実行されることで、電子部品30の発熱に応じた第1及び第2の温度補正値CV1,CV2が算出され、事前準備サブルーチンSR20が終了する。なお、第2の温度補正値Cv2も同様に時間関数で規定される。 On the other hand, in step S26, the correction value calculation unit 42 is a linear function, more specifically, with respect to the recording result of the temperature recording unit 41 after the temperature saturation time Ts, as shown in the following mathematical formula (2). Is approximated by a linear function (steady value) with a slope of 0 (zero). By calculating this approximate expression, the correction value calculation unit 42 calculates the temperature correction value from the temperature saturation time Ts, that is, the second temperature correction value CV2, and notifies the temperature correction unit 43 of the calculation result. By executing steps S25 and S26 in this way, the first and second temperature correction values CV1 and CV2 corresponding to the heat generated by the electronic component 30 are calculated, and the advance preparation subroutine SR20 ends. The second temperature correction value Cv2 is also defined by the time function in the same manner.

CV2(t)=C (t≧Ts) ・・・(2)
なお、tは時間変数を示し、Cは近似して同定される係数を示す。
CV2 (t) = C (t ≧ Ts) ・ ・ ・ (2)
Note that t indicates a time variable, and C indicates a coefficient that is approximately identified.

図4に戻って、事前準備サブルーチンSR終了後の手順について説明する。
図4に示すように、ステップS11において、事前準備サブルーチンSR20が終了後、制御用マイコン40がバスバ50に電流が流れていると判断してシャント抵抗式電流センサ10が実駆動しているか否かを判断する。
Returning to FIG. 4, the procedure after the completion of the preparatory subroutine SR will be described.
As shown in FIG. 4, in step S11, after the advance preparation subroutine SR20 is completed, whether or not the control microcomputer 40 determines that a current is flowing through the bus bar 50 and the shunt resistance type current sensor 10 is actually driven. To judge.

制御用マイコン40が、電流が流れていないと判断した場合(S11のNO)には、ステップが前に戻る。すなわち、制御用マイコン40は、バスバ50に電流が流れてシャント抵抗式電流センサ10が実駆動する状態になるまで、それ以降のステップに進まない。制御用マイコン40が、バスバ50に電流が流れていると判断した場合(S11のYES)には、ステップS12,S13にそれぞれ進む。
なお、本実施形態では、ステップS12,S13は並行して実行されるが、これに限定されない。例えば制御用マイコン40の処理能力が低い場合には、ステップS12,S13は所定のサンプリングタイムで交互に実行されるように構成しても良い。
When the control microcomputer 40 determines that no current is flowing (NO in S11), the step returns to the previous step. That is, the control microcomputer 40 does not proceed to the subsequent steps until a current flows through the bus bar 50 and the shunt resistance type current sensor 10 is actually driven. When the control microcomputer 40 determines that a current is flowing through the bus bar 50 (YES in S11), the process proceeds to steps S12 and S13, respectively.
In this embodiment, steps S12 and S13 are executed in parallel, but the present invention is not limited to this. For example, when the processing capacity of the control microcomputer 40 is low, steps S12 and S13 may be configured to be executed alternately at predetermined sampling times.

ステップS12において、電圧検知IC31は、一対の接続端子15,15を介してバスバ50のシャント抵抗部51に印加される電圧(電圧降下)を検知して、その検知結果を電流算出部45に報知する。 In step S12, the voltage detection IC 31 detects the voltage (voltage drop) applied to the shunt resistance unit 51 of the bus bar 50 via the pair of connection terminals 15 and 15, and notifies the current calculation unit 45 of the detection result. do.

ステップS13において、温度センサ32は、シャント抵抗式電流センサ10の実駆動時でのバスバ50のシャント抵抗部51近傍の温度を検知し、その検知結果を温度補正部43に報知する。 In step S13, the temperature sensor 32 detects the temperature in the vicinity of the shunt resistance portion 51 of the bus bar 50 when the shunt resistance type current sensor 10 is actually driven, and notifies the temperature correction unit 43 of the detection result.

ステップS14において、温度補正部43は、基板20の電子部品30の発熱による検知誤差を除去するように、温度センサ32の検知結果を第1及び第2の温度補正値CV1,CV2で補正して、バスバ50に電流が流れている状態でのシャント抵抗部51の実温度を推定する。このとき、温度補正部43は、事前準備サブルーチンSR20(図4参照)で補正値算出部42が検知した温度飽和時間Tsに基づき、シャント抵抗式電流センサ10が実駆動した瞬間(電源ON後)から温度飽和時間Tsまでは第1の温度補正値CV1で補正し、温度飽和時間Ts以後は第2の温度補正値CV2で補正する。これにより、温度補正部43は、電源ONの瞬間から精度よくバスバ50のシャント抵抗部51の実温度を推定することができる。温度補正部43は、その補正結果を抵抗値補正部44に報知する。 In step S14, the temperature correction unit 43 corrects the detection result of the temperature sensor 32 with the first and second temperature correction values CV1 and CV2 so as to remove the detection error due to the heat generation of the electronic component 30 of the substrate 20. , The actual temperature of the shunt resistor portion 51 in a state where a current is flowing through the bus bar 50 is estimated. At this time, the temperature correction unit 43 actually drives the shunt resistance type current sensor 10 based on the temperature saturation time Ts detected by the correction value calculation unit 42 in the advance preparation subroutine SR20 (see FIG. 4) (after the power is turned on). To the temperature saturation time Ts is corrected by the first temperature correction value CV1, and after the temperature saturation time Ts, the temperature is corrected by the second temperature correction value CV2. As a result, the temperature correction unit 43 can accurately estimate the actual temperature of the shunt resistance unit 51 of the bus bar 50 from the moment the power is turned on. The temperature correction unit 43 notifies the resistance value correction unit 44 of the correction result.

ステップS15において、抵抗値補正部44は、温度補正部43の補正結果をシャント抵抗部51の実温度をしてみなし、シャント抵抗部51の温度−抵抗値特性を示すマップ(以下、温度特性マップと言う。)から、この実温度に対応した抵抗値の補正値を算出し、シャント抵抗部51の実抵抗値を推定して、その推定結果を電流算出部45に報知する。これにより、抵抗値補正部44は、基板20の電子部品30の発熱による検知誤差を考慮してシャント抵抗部51の抵抗値を精度よく推定することができる。
なお、シャント抵抗部51の温度特性マップは、抵抗値補正部44、又は不図示の制御用マイコン40のデータ記録部などに事前に設定され記録保持され、適宜読み出される。
In step S15, the resistance value correction unit 44 regards the correction result of the temperature correction unit 43 as the actual temperature of the shunt resistance unit 51, and a map showing the temperature-resistance value characteristics of the shunt resistance unit 51 (hereinafter, temperature characteristic map). The correction value of the resistance value corresponding to the actual temperature is calculated, the actual resistance value of the shunt resistance unit 51 is estimated, and the estimation result is notified to the current calculation unit 45. As a result, the resistance value correction unit 44 can accurately estimate the resistance value of the shunt resistance unit 51 in consideration of the detection error due to the heat generation of the electronic component 30 of the substrate 20.
The temperature characteristic map of the shunt resistance unit 51 is set in advance in the resistance value correction unit 44, the data recording unit of the control microcomputer 40 (not shown), or the like, and is recorded and held, and is appropriately read out.

ステップS16において、電流算出部45は、オームの法則に従って、電圧検知IC31で検知したバスバ50のシャント抵抗部51に生じる電圧降下に対し、抵抗値補正部44で補正されたシャント抵抗部51の抵抗値で除算する。この算出により、電流算出部45は、バスバ50に流れる電流の大きさを算出する。電流算出部45は、その算出結果をバスバ50に流れる電流値として上流装置に報知する。 In step S16, the current calculation unit 45 determines the resistance of the shunt resistance unit 51 corrected by the resistance value correction unit 44 against the voltage drop that occurs in the shunt resistance unit 51 of the bus bar 50 detected by the voltage detection IC 31 according to Ohm's law. Divide by value. Based on this calculation, the current calculation unit 45 calculates the magnitude of the current flowing through the bus bar 50. The current calculation unit 45 notifies the upstream device of the calculation result as a current value flowing through the bus bar 50.

シャント抵抗式電流センサ10の実駆動中は、ステップS11からステップS16までの一連のステップが所定のサンプリングタイムでループして実行されて、バスバ50に流れる電流値が常時算出され、上流装置に報知される。 During the actual drive of the shunt resistance type current sensor 10, a series of steps from step S11 to step S16 are executed in a loop at a predetermined sampling time, and the current value flowing through the bus bar 50 is constantly calculated and notified to the upstream device. Will be done.

[シャント抵抗式電流センサ10、及びその補正方法の利点]
以上説明したように、本実施形態に係るシャント抵抗式電流センサ10、及びシャント抵抗式電流センサ10の補正方法によれば、温度記録部41がバスバ50に電流が流れていない状態で、基板20に搭載される電子部品30を駆動して、温度センサ(温度検知部)32の検知結果を所定時間の間記録し(S21,S22,S23)、補正値算出部42が温度記録部41での記録結果に基づき、温度センサ32の検知結果に対する温度補正値CV1,CV2を算出し(S24,S25,S26)、シャント抵抗式電流センサ10の実駆動時で、温度補正部43が温度センサ32の検知結果を温度補正値CV1,CV2で補正する(S14)。このため、基板20に搭載される電子部品30の発熱による温度センサ32の検知誤差を除去するように温度センサ32の検知結果を補正することができる。これにより、バスバ50のシャント抵抗部51の実温度(本来の温度)を精度良く検知して、結果的に電流検知の精度を向上させることができる。
[Advantages of shunt resistance type current sensor 10 and its correction method]
As described above, according to the shunt resistance type current sensor 10 and the correction method of the shunt resistance type current sensor 10 according to the present embodiment, the substrate 20 is in a state where the temperature recording unit 41 does not have a current flowing through the bus bar 50. The electronic component 30 mounted on the vehicle is driven to record the detection result of the temperature sensor (temperature detection unit) 32 for a predetermined time (S21, S22, S23), and the correction value calculation unit 42 is used in the temperature recording unit 41. Based on the recording result, the temperature correction values CV1 and CV2 for the detection result of the temperature sensor 32 are calculated (S24, S25, S26), and when the shunt resistance type current sensor 10 is actually driven, the temperature correction unit 43 of the temperature sensor 32 The detection result is corrected by the temperature correction values CV1 and CV2 (S14). Therefore, the detection result of the temperature sensor 32 can be corrected so as to eliminate the detection error of the temperature sensor 32 due to the heat generated by the electronic component 30 mounted on the substrate 20. As a result, the actual temperature (original temperature) of the shunt resistance portion 51 of the bus bar 50 can be detected with high accuracy, and as a result, the accuracy of current detection can be improved.

また、本実施形態に係るシャント抵抗式電流センサ10、及びシャント抵抗式電流センサ10の補正方法によれば、補正値算出部42が、温度記録部41の記録結果において温度飽和時間Tsを検知し(S24)、温度飽和時間Ts前後で温度補正値CV1,CV2を切り替えてそれぞれ算出する(S25,S26)。このため、電子部品30の発熱による温度センサ32の検知誤差を、バッテリに電源が入ってバスバ50に電流が流れ出した直後から捕捉して除去することができる。これにより、バスバ50のシャント抵抗部51の実温度を一層精度良く検知することができる。 Further, according to the correction method of the shunt resistance type current sensor 10 and the shunt resistance type current sensor 10 according to the present embodiment, the correction value calculation unit 42 detects the temperature saturation time Ts in the recording result of the temperature recording unit 41. (S24), the temperature correction values CV1 and CV2 are switched and calculated at around the temperature saturation time Ts (S25 and S26). Therefore, the detection error of the temperature sensor 32 due to the heat generated by the electronic component 30 can be captured and removed immediately after the battery is turned on and the current flows out to the bus bar 50. As a result, the actual temperature of the shunt resistance portion 51 of the bus bar 50 can be detected with higher accuracy.

また、本実施形態に係るシャント抵抗式電流センサ10、及びシャント抵抗式電流センサ10の補正方法によれば、補正値算出部42が、温度飽和時間Ts前の温度記録部41の記録結果に対して対数関数で近似して温度飽和時間Ts前の温度補正値(第1の温度補正値)CV1を算出し(S25)、温度飽和時間Ts以後の温度記録部41の記録結果に対して1次関数で近似して温度飽和時間Ts以後の温度補正値(第2の温度補正値)CV2を算出する(S26)。このため、バスバ50に電流が流れ出した直後の、電子部品30の発熱による温度センサ32の検知誤差を、実装が簡便でありながらも誤差も少なく捕捉して除去することができる。 Further, according to the correction method of the shunt resistance type current sensor 10 and the shunt resistance type current sensor 10 according to the present embodiment, the correction value calculation unit 42 relates to the recording result of the temperature recording unit 41 before the temperature saturation time Ts. The temperature correction value (first temperature correction value) CV1 before the temperature saturation time Ts is calculated by approximating with a logarithmic function (S25), and is first-order with respect to the recording result of the temperature recording unit 41 after the temperature saturation time Ts. The temperature correction value (second temperature correction value) CV2 after the temperature saturation time Ts is calculated by approximating with a function (S26). Therefore, the detection error of the temperature sensor 32 due to the heat generated by the electronic component 30 immediately after the current flows into the bus bar 50 can be captured and removed with less error while being easy to mount.

[シャント抵抗式電流センサの変形例]
図6を参照して、本実施形態に係る変形例について説明する。図6は、本実施形態の変形例を説明する機能ブロック図である。
[Modification example of shunt resistance type current sensor]
A modified example according to the present embodiment will be described with reference to FIG. FIG. 6 is a functional block diagram illustrating a modified example of the present embodiment.

図6に示すように、本変形例では、シャント抵抗式電流センサ10とは別体の制御装置60が設けられる。制御装置60は、中央演算回路、記憶回路などを有するコンピュータシステムで構成され、温度記録部41及び補正値算出部42が実装される。 As shown in FIG. 6, in this modification, a control device 60 separate from the shunt resistance type current sensor 10 is provided. The control device 60 is composed of a computer system having a central calculation circuit, a storage circuit, and the like, and is equipped with a temperature recording unit 41 and a correction value calculation unit 42.

制御装置60は、制御用マイコン40とは互いのインタフェース回路を介して通信可能に構成される。このため、制御装置60は、事前準備サブルーチンSR20の手順(図5参照)のときだけ制御用マイコン40に接続し、制御用マイコン40の代わりに温度記録部41及び補正値算出部42を実行する。
なお、本変形例では、制御用マイコン40は、温度記録部41及び補正値算出部42を有していない。
The control device 60 is configured to be able to communicate with the control microcomputer 40 via an interface circuit with each other. Therefore, the control device 60 is connected to the control microcomputer 40 only during the procedure of the advance preparation subroutine SR20 (see FIG. 5), and executes the temperature recording unit 41 and the correction value calculation unit 42 instead of the control microcomputer 40. ..
In this modification, the control microcomputer 40 does not have the temperature recording unit 41 and the correction value calculation unit 42.

本変形例によれば、別体の制御装置60が、シャント抵抗式電流センサ10に搭載される制御用マイコン40の代わりに温度記録部41及び補正値算出部42を実行する。このため、複数のシャント抵抗式電流センサ10それぞれに対して温度記録部41及び補正値算出部42を共通で使用したり、又はその処理結果を共通に搭載したりすることができる。これにより、本実施形態に係るシャント抵抗式電流センサ10の補正方法を例えばバッチ処理などを用いて効率よく実装することができる。また、制御用マイコン40の演算や記録容量などの負荷を低減することができるので、安価な制御用マイコン40を採用することができる。 According to this modification, a separate control device 60 executes the temperature recording unit 41 and the correction value calculation unit 42 in place of the control microcomputer 40 mounted on the shunt resistance type current sensor 10. Therefore, the temperature recording unit 41 and the correction value calculation unit 42 can be used in common for each of the plurality of shunt resistance type current sensors 10, or the processing results thereof can be mounted in common. Thereby, the correction method of the shunt resistance type current sensor 10 according to the present embodiment can be efficiently implemented by using, for example, batch processing. Further, since the load such as the calculation and recording capacity of the control microcomputer 40 can be reduced, an inexpensive control microcomputer 40 can be adopted.

[実施例]
さらに図7を参照して、本実施形態に係る実施例を説明する。図7は、バスバに電流が流れていないときの温度センサが検知する温度を説明する実測値の温度グラフである。
[Example]
Further, an embodiment according to the present embodiment will be described with reference to FIG. 7. FIG. 7 is a temperature graph of measured values for explaining the temperature detected by the temperature sensor when no current is flowing through the bus bar.

制御用マイコン40は、バスバ50に電流が流れていない状態で電子部品30を駆動する。本実施例では、温度記録部41は電子部品30が駆動した瞬間から1400秒間、温度センサ32の検知結果を記録する(図5参照)。図7は、そのときに記録された温度グラフである。 The control microcomputer 40 drives the electronic component 30 in a state where no current is flowing through the bus bar 50. In this embodiment, the temperature recording unit 41 records the detection result of the temperature sensor 32 for 1400 seconds from the moment when the electronic component 30 is driven (see FIG. 5). FIG. 7 is a temperature graph recorded at that time.

そして、補正値算出部42は、温度記録部41の記録結果、すなわち温度グラフに対して0秒から1400秒の間で時間微分する。補正値算出部42は、この微分値が所定の範囲以内となった瞬間、本実施例では1000秒を温度飽和時間Tsと決定する。 Then, the correction value calculation unit 42 time-differentiates the recording result of the temperature recording unit 41, that is, the temperature graph from 0 seconds to 1400 seconds. The correction value calculation unit 42 determines 1000 seconds as the temperature saturation time Ts in this embodiment at the moment when the differential value falls within a predetermined range.

次に補正値算出部42は、温度飽和時間Tsである1000秒前の温度グラフに対して自然関数で近似して次の数式(3)を得て、第1の温度補正値CV1を算出する。
なお、本実施例では近似式の決定係数Rは、0.9558である。
Next, the correction value calculation unit 42 calculates the first temperature correction value CV1 by approximating the temperature graph 1000 seconds before the temperature saturation time Ts with a natural function to obtain the following mathematical formula (3). ..
Incidentally, the coefficient of determination R 2 of the approximate expression in this example is 0.9558.

CV1(t)=0.6306・In(t)+28.775 (t<1000[秒])
・・・(3)
なお、tは時間変数を示す。
CV1 (t) = 0.6306 · In (t) +28.775 (t <1000 [seconds])
... (3)
Note that t indicates a time variable.

その一方で、補正値算出部42は、1000秒以降の温度グラフに対して傾きが0(ゼロ)の1次関数で近似して次の数式(4)を得て、第2の温度補正値CV2を算出する。 On the other hand, the correction value calculation unit 42 approximates the temperature graph after 1000 seconds with a linear function having a slope of 0 (zero) to obtain the following mathematical formula (4), and obtains the second temperature correction value. Calculate CV2.

CV2(t)=3.5 (t≧1000[秒]) ・・・(4)
なお、tは時間変数を示す。
CV2 (t) = 3.5 (t ≧ 1000 [seconds]) ・ ・ ・ (4)
Note that t indicates a time variable.

補正値算出部42は、第1及び第2の温度補正値CV1,CV2を温度補正部43に報知する。これ以降の手順は図4に示した通りである。 The correction value calculation unit 42 notifies the temperature correction unit 43 of the first and second temperature correction values CV1 and CV2. The procedure after that is as shown in FIG.

以上で具体的実施形態の説明を終えるが、本発明の態様はこれら実施形態に限定されるものではなく、適宜、変形、改良などが可能である。 Although the description of the specific embodiment is completed above, the embodiment of the present invention is not limited to these embodiments, and modifications and improvements can be made as appropriate.

ここで、上述した本発明に係るシャント抵抗式電流センサ、及びシャント抵抗式電流センサの補正方法の実施形態の特徴をそれぞれ以下[1]〜[6]に簡潔に纏めて列記する。
[1]
シャント抵抗部(51)を含むバスバ(50)上に設置される基板(20)と、
前記シャント抵抗部(51)の両端部間の電圧を検知する電圧検知部(電圧検知IC、31)と、前記シャント抵抗部(51)の温度を検知する温度検知部(温度センサ、32)と、前記バスバ(50)に電流が流れていない状態で、電子部品(30)が駆動したときの、前記温度検知部(温度センサ、32)の検知結果を所定時間の間記録する温度記録部(41)と、前記温度記録部(41)の記録結果に基づき、前記温度検知部(温度センサ、32)の検知結果に対する温度補正値(CV1,CV2)を算出する補正値算出部(42)と、前記バスバ(50)に電流が流れている状態で、前記温度検知部(温度センサ、32)の検知結果を前記温度補正値(CV1,CV2)で補正する温度補正部(43)と、前記温度補正部(43)の補正結果に応じて、前記シャント抵抗部(51)の抵抗値を補正する抵抗値補正部(44)と、前記抵抗値補正部(44)の補正結果、及び前記電圧検知部(電圧検知IC、31)の検知結果に基づき、前記バスバ(50)に流れている電流を算出する電流算出部(45)と、を含む、前記基板(20)に搭載される電子部品(30)と、
を備えることを特徴とするシャント抵抗式電流センサ(10)。
[2]
前記補正値算出部(42)は、前記温度記録部(41)の記録結果における温度飽和時間(Ts)を検知し、前記温度飽和時間(Ts)前後で前記温度補正値(CV1,CV2)を切り替えてそれぞれ算出する
ことを特徴とする上記[1]に記載のシャント抵抗式電流センサ(10)。
[3]
前記補正値算出部(42)は、前記温度飽和時間(Ts)前の前記温度記録部(41)の記録結果に対して関数で近似して前記温度飽和時間(Ts)前の前記温度補正値(第1の温度補正値、CV1)を算出し、前記温度飽和時間(Ts)以後の前記温度記録部(41)の記録結果に対して1次関数で近似して前記温度飽和時間(Ts)以後の前記温度補正値(第2の温度補正値、CV2)を算出する
ことを特徴とする上記[2]に記載のシャント抵抗式電流センサ(10)。
[4]
シャント抵抗部(51)を含むバスバ(50)に電流が流れていない状態で、前記バスバ(50)上に設置される基板(20)に搭載される電子部品(30)を駆動した上で、前記電子部品(30)に含まれ、前記シャント抵抗部(51)の温度を検知する温度検知部(温度センサ、32)の検知結果を所定時間の間記録する温度記録ステップ(S21,S22,S23)と、
前記温度記録ステップ(S21,S22,S23)での記録結果に基づき、前記温度検知部(温度センサ、32)の検知結果に対する温度補正値(CV1,CV2)を算出する補正値算出ステップ(S24,S25,S26)と、
前記バスバ(50)に電流が流れている状態で、前記温度検知部(温度センサ、32)で前記シャント抵抗部(51)の温度を検知する温度検知ステップ(S13)と、
前記温度検知ステップ(S13)での検知結果を、前記補正値算出ステップ(S24,S25,S26)で算出した前記温度補正値(CV1,CV2)で補正する温度補正ステップ(S14)と、
前記温度補正ステップ(S14)での補正結果に応じて、前記シャント抵抗部(51)の抵抗値を補正する抵抗値補正ステップ(S15)と、
前記抵抗値補正ステップ(S15)で補正された前記シャント抵抗部(51)の抵抗値、及び前記シャント抵抗部(51)の両端部間で検知された電圧に基づき(S12)、前記バスバ(50)に流れている電流を算出する電流算出ステップ(S16)と、
を含むことを特徴とするシャント抵抗式電流センサ(10)の補正方法。
[5]
前記補正値算出ステップ(S24,S25,S26)において、前記温度記録ステップ(S21,S22,S23)での記録結果における温度飽和時間(Ts)を検知し(S24)、前記温度飽和時間(Ts)前後で前記温度補正値(CV1,CV2)を切り替えてそれぞれ算出する(S25,S26)
ことを特徴とする上記[4]に記載のシャント抵抗式電流センサ(10)の補正方法。
[6]
前記温度飽和時間(Ts)前の前記温度記録ステップ(S21,S22,S23)での記録結果に対して関数で近似して前記温度飽和時間(Ts)前の前記温度補正値(第1の温度補正値、CV1)を算出し(S25)、前記温度飽和時間(Ts)以後の前記温度記録ステップ(S21,S22,S23)での記録結果に対して1次関数で近似して前記温度飽和時間(Ts)以後の前記温度補正値(第2の温度補正値、CV2)を算出する(S26)
ことを特徴とする上記[5]に記載のシャント抵抗式電流センサ(10)の補正方法。
Here, the features of the above-described shunt resistance type current sensor and the shunt resistance type current sensor correction method embodiments according to the present invention are briefly summarized and listed below in [1] to [6], respectively.
[1]
A substrate (20) installed on a bus bar (50) including a shunt resistor (51), and a substrate (20).
A voltage detection unit (voltage detection IC, 31) that detects the voltage between both ends of the shunt resistance unit (51), and a temperature detection unit (temperature sensor, 32) that detects the temperature of the shunt resistance unit (51). A temperature recording unit (30) that records the detection result of the temperature detecting unit (temperature sensor, 32) when the electronic component (30) is driven in a state where no current is flowing through the bus bar (50) for a predetermined time. 41) and a correction value calculation unit (42) that calculates temperature correction values (CV1, CV2) for the detection result of the temperature detection unit (temperature sensor, 32) based on the recording result of the temperature recording unit (41). A temperature correction unit (43) that corrects the detection result of the temperature detection unit (temperature sensor, 32) with the temperature correction values (CV1, CV2) while a current is flowing through the bus bar (50). The resistance value correction unit (44) that corrects the resistance value of the shunt resistance unit (51) according to the correction result of the temperature correction unit (43), the correction result of the resistance value correction unit (44), and the voltage. Electronic components mounted on the substrate (20), including a current calculation unit (45) that calculates the current flowing through the bus bar (50) based on the detection result of the detection unit (voltage detection IC, 31). (30) and
A shunt resistance type current sensor (10).
[2]
The correction value calculation unit (42) detects the temperature saturation time (Ts) in the recording result of the temperature recording unit (41), and sets the temperature correction values (CV1, CV2) before and after the temperature saturation time (Ts). The shunt resistance type current sensor (10) according to the above [1], which is characterized by switching and calculating each.
[3]
The correction value calculation unit (42) approximates the recording result of the temperature recording unit (41) before the temperature saturation time (Ts) with a function and approximates the temperature correction value before the temperature saturation time (Ts). (First temperature correction value, CV1) is calculated, and the temperature saturation time (Ts) is approximated by a linear function with respect to the recording result of the temperature recording unit (41) after the temperature saturation time (Ts). The shunt resistance type current sensor (10) according to the above [2], wherein the subsequent temperature correction value (second temperature correction value, CV2) is calculated.
[4]
In a state where no current is flowing through the bus bar (50) including the shunt resistor portion (51), the electronic component (30) mounted on the substrate (20) installed on the bus bar (50) is driven, and then the electronic component (30) is driven. Temperature recording steps (S21, S22, S23) included in the electronic component (30) and recording the detection result of the temperature detection unit (temperature sensor, 32) that detects the temperature of the shunt resistance unit (51) for a predetermined time. )When,
Correction value calculation step (S24, CV2) for calculating the temperature correction value (CV1, CV2) for the detection result of the temperature detection unit (temperature sensor, 32) based on the recording result in the temperature recording step (S21, S22, S23). S25, S26) and
A temperature detection step (S13) in which the temperature detection unit (temperature sensor, 32) detects the temperature of the shunt resistance unit (51) while a current is flowing through the bus bar (50).
A temperature correction step (S14) for correcting the detection result in the temperature detection step (S13) with the temperature correction values (CV1, CV2) calculated in the correction value calculation steps (S24, S25, S26).
A resistance value correction step (S15) for correcting the resistance value of the shunt resistance unit (51) according to the correction result in the temperature correction step (S14).
Based on the resistance value of the shunt resistance portion (51) corrected in the resistance value correction step (S15) and the voltage detected between both ends of the shunt resistance portion (51) (S12), the bus bar (50). In the current calculation step (S16) for calculating the current flowing in),
A method for correcting a shunt resistance type current sensor (10), which comprises.
[5]
In the correction value calculation step (S24, S25, S26), the temperature saturation time (Ts) in the recording result in the temperature recording step (S21, S22, S23) is detected (S24), and the temperature saturation time (Ts) is detected. The temperature correction values (CV1, CV2) are switched before and after and calculated respectively (S25, S26).
The correction method for the shunt resistance type current sensor (10) according to the above [4].
[6]
The temperature correction value (first temperature) before the temperature saturation time (Ts) is approximated by a function with respect to the recording result in the temperature recording step (S21, S22, S23) before the temperature saturation time (Ts). The correction value (CV1) is calculated (S25), and the temperature saturation time is approximated by a linear function with respect to the recording result in the temperature recording steps (S21, S22, S23) after the temperature saturation time (Ts). The temperature correction value (second temperature correction value, CV2) after (Ts) is calculated (S26).
The correction method for the shunt resistance type current sensor (10) according to the above [5].

10 シャント抵抗式電流センサ
15 一対の接続端子
20 基板
30 電子部品
31 電圧検知IC(電圧検知部)
32 温度センサ(温度検知部)
40 制御用マイコン
41 温度記録部
42 補正値算出部
43 温度補正部
44 抵抗値補正部
45 電流算出部
50 バスバ
51 シャント抵抗部
52 上流部
53 バッテリ端子
54 ボルト挿通部
55 下流部
56 スタッド立設部
60 制御装置
B ボルト
S スタッドボルト
CV1 第1の補正値
CV2 第2の補正値
Ts 温度飽和時間
10 Shunt resistance type current sensor 15 Pair of connection terminals 20 Board 30 Electronic components 31 Voltage detection IC (voltage detection unit)
32 Temperature sensor (Temperature detector)
40 Control microcomputer 41 Temperature recording unit 42 Correction value calculation unit 43 Temperature correction unit 44 Resistance value correction unit 45 Current calculation unit 50 Bus bar 51 Shunt resistance unit 52 Upstream part 53 Battery terminal 54 Bolt insertion part 55 Downstream part 56 Stud standing part 60 Control device B Bolt S Stud bolt CV1 First correction value CV2 Second correction value Ts Temperature saturation time

Claims (6)

バスバの一部であるシャント抵抗部の上面の両端部にそれぞれ接続された一対の接続端子を介して前記バスバの上方に設置され且つ前記一対の接続端子を介して前記シャント抵抗部に電気的に接続された基板と、
前記基板に搭載される電子部品と、を備えるシャント抵抗式電流センサであって、
前記電子部品は、
前記シャント抵抗部の前記両端部間の電圧を検知する電圧検知部と、
前記シャント抵抗部の温度を検知する温度検知部と、
制御用マイコンと、を含み、
前記制御用マイコンは、
前記バスバに電流が流れているか否かを判定し、前記バスバに電流が流れていないと判定したときは、事前準備として、温度記録部、及び、補正値算出部を実行し、前記事前準備の実行後に前記バスバに電流が流れていると判定したとき、実駆動として、温度補正部、抵抗値補正部、及び、電流算出部を実行し、
前記温度記録部は、前記バスバに電流が流れていない状態にて前記電子部品を駆動させて、前記温度検知部の検知結果を所定時間の間記録し、
前記補正値算出部は、前記温度記録部の記録結果に基づき、前記電子部品の前記事前準備としての駆動開始時点からの経過時間に対する、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇分の推移を算出し、
前記温度補正部は、前記バスバに電流が流れている状態にて、前記温度検知部により検知された温度から、前記実駆動の開始時点からの経過時間に対応する前記温度上昇分を減じて、前記電子部品の発熱の影響がないときの前記シャント抵抗部の温度を推定し、
前記抵抗値補正部は、前記推定された前記シャント抵抗部の温度と、予め定められた温度及び抵抗値間の特性と、に基づいて、前記シャント抵抗部の抵抗値を算出し、
前記電流算出部は、前記算出された前記シャント抵抗部の抵抗値と、前記電圧検知部の検知結果と、に基づいて、前記バスバに流れている電流を算出する
ことを特徴とするシャント抵抗式電流センサ。
It is installed above the bus bar via a pair of connection terminals connected to both ends of the upper surface of the shunt resistor portion that is a part of the bus bar, and is electrically connected to the shunt resistor section via the pair of connection terminals. With the connected board
A shunt resistance type current sensor including electronic components mounted on the substrate.
The electronic component is
A voltage detection unit that detects the voltage between both ends of the shunt resistance unit, and
A temperature detection unit that detects the temperature of the shunt resistance unit and
Including the control microcomputer
The control microcomputer is
When it is determined whether or not a current is flowing through the bus bar and it is determined that no current is flowing through the bus bar, the temperature recording unit and the correction value calculation unit are executed as advance preparations, and the advance preparations are performed. When it is determined that a current is flowing through the bus bar after the execution of, the temperature correction unit, the resistance value correction unit, and the current calculation unit are executed as actual driving.
The temperature recording unit drives the electronic component in a state where no current is flowing through the bus bar, and records the detection result of the temperature detection unit for a predetermined time.
Based on the recording result of the temperature recording unit, the correction value calculation unit determines the temperature of the shunt resistance unit due to the influence of heat generation of the electronic component with respect to the elapsed time from the start time of driving the electronic component as a preliminary preparation. Calculate the transition of the increase,
The temperature compensating unit subtracts the temperature rise corresponding to the elapsed time from the start time of the actual driving from the temperature detected by the temperature detecting unit in a state where the current is flowing through the shunt. Estimate the temperature of the shunt resistor when there is no influence of heat generation of the electronic component,
The resistance value correction unit calculates the resistance value of the shunt resistance unit based on the estimated temperature of the shunt resistance unit and the characteristics between the predetermined temperature and the resistance value.
The current calculation unit calculates the current flowing through the bus bar based on the calculated resistance value of the shunt resistance unit and the detection result of the voltage detection unit. Current sensor.
前記補正値算出部は、前記温度記録部の記録結果に基づいて、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇がなくなるまでの前記駆動開始時点からの経過時間である温度飽和時間を検知し、前記温度飽和時間前後で異なる時間関数を用いて、前記温度上昇分の推移を近似して算出する
ことを特徴とする請求項1に記載のシャント抵抗式電流センサ。
Based on the recording result of the temperature recording unit, the correction value calculation unit is a temperature saturation time which is an elapsed time from the drive start time until the temperature rise of the shunt resistance unit due to the influence of heat generation of the electronic component disappears. detects, using different time function before and after the temperature saturation time, the shunt resistance type current sensor according to claim 1, characterized in that calculated by approximating the transition of the temperature rise.
前記補正値算出部は、前記実駆動の開始時点から前記温度飽和時間までは、前記時間関数として自然対数関数を用いて前記温度上昇分を近似して算出し、前記温度飽和時間以降は、前記時間関数として1次関数を用いて前記温度上昇分を近似して算出する
ことを特徴とする請求項2に記載のシャント抵抗式電流センサ。
From the start time of the actual drive to the temperature saturation time, the correction value calculation unit approximates the temperature rise using a natural logarithm function as the time function, and after the temperature saturation time , the correction value calculation unit calculates the temperature rise. The shunt resistance type current sensor according to claim 2, wherein the temperature rise is approximated and calculated by using a linear function as a time function.
請求項1に記載のシャント抵抗式電流センサを用いたシャント抵抗式電流センサの補正方法であって、
前記温度記録部は、前記バスバに電流が流れていない状態にて前記電子部品を駆動させて、前記温度検知部の検知結果を所定時間の間記録するステップを実行し、
前記補正値算出部は、前記温度記録部の記録結果に基づき、前記電子部品の前記事前準備としての駆動開始時点からの経過時間に対する、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇分の推移を算出するステップを実行し、
前記温度補正部は、前記バスバに電流が流れている状態にて、前記温度検知部により検知された温度から、前記実駆動の開始時点からの経過時間に対応する前記温度上昇分を減じて、前記電子部品の発熱の影響がないときの前記シャント抵抗部の温度を推定するステップを実行し、
前記抵抗値補正部は、前記推定された前記シャント抵抗部の温度と、予め定められた温度及び抵抗値間の特性と、に基づいて、前記シャント抵抗部の抵抗値を算出するステップを実行し、
前記電流算出部は、前記算出された前記シャント抵抗部の抵抗値と、前記電圧検知部の検知結果と、に基づいて、前記バスバに流れている電流を算出するステップを実行する
ことを特徴とするシャント抵抗式電流センサの補正方法。
A method for correcting a shunt resistance type current sensor using the shunt resistance type current sensor according to claim 1.
The temperature recording unit drives the electronic component in a state where no current is flowing through the bus bar, and executes a step of recording the detection result of the temperature detection unit for a predetermined time.
Based on the recording result of the temperature recording unit, the correction value calculation unit determines the temperature of the shunt resistance unit due to the influence of heat generation of the electronic component with respect to the elapsed time from the start time of driving the electronic component as a preliminary preparation. Perform the steps to calculate the transition of the increase,
The temperature compensating unit subtracts the temperature rise corresponding to the elapsed time from the start time of the actual driving from the temperature detected by the temperature detecting unit in a state where the current is flowing through the shunt. A step of estimating the temperature of the shunt resistor when there is no influence of heat generation of the electronic component is executed.
The resistance value correction unit executes a step of calculating the resistance value of the shunt resistance unit based on the estimated temperature of the shunt resistance unit and the characteristics between the predetermined temperature and the resistance value. ,
The current calculation unit is characterized by executing a step of calculating the current flowing through the bus bar based on the calculated resistance value of the shunt resistance unit and the detection result of the voltage detection unit. How to correct the shunt resistance type current sensor.
前記補正値算出部は、前記温度記録部の記録結果に基づいて、前記電子部品の発熱の影響による前記シャント抵抗部の温度上昇がなくなるまでの前記駆動開始時点からの経過時間である温度飽和時間を検知し、前記温度飽和時間の前後で異なる時間関数を用いて、前記温度上昇分の推移を近似して算出するステップを実行する
ことを特徴とする請求項4に記載のシャント抵抗式電流センサの補正方法。
Based on the recording result of the temperature recording unit, the correction value calculation unit is a temperature saturation time which is an elapsed time from the drive start time until the temperature rise of the shunt resistance unit due to the influence of heat generation of the electronic component disappears. The shunt resistance type current sensor according to claim 4, wherein the shunt resistance type current sensor is characterized in that the step of approximating the transition of the temperature rise is executed by using different time functions before and after the temperature saturation time. Correction method.
前記補正値算出部は、前記実駆動の開始時点から前記温度飽和時間までは、前記時間関数として自然対数関数を用いて前記温度上昇分を近似して算出し、前記温度飽和時間以降は、前記時間関数として1次関数を用いて前記温度上昇分を近似して算出するステップを実行する
ことを特徴とする請求項5に記載のシャント抵抗式電流センサの補正方法。
From the start time of the actual drive to the temperature saturation time, the correction value calculation unit approximates the temperature rise using a natural logarithmic function as the time function, and after the temperature saturation time, the correction value calculation unit calculates the temperature rise. The correction method for a shunt resistance type current sensor according to claim 5, wherein a step of approximating and calculating the temperature rise using a linear function as a time function is executed.
JP2017131288A 2017-07-04 2017-07-04 Shunt resistance type current sensor and shunt resistance type current sensor correction method Active JP6959052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017131288A JP6959052B2 (en) 2017-07-04 2017-07-04 Shunt resistance type current sensor and shunt resistance type current sensor correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017131288A JP6959052B2 (en) 2017-07-04 2017-07-04 Shunt resistance type current sensor and shunt resistance type current sensor correction method

Publications (2)

Publication Number Publication Date
JP2019015538A JP2019015538A (en) 2019-01-31
JP6959052B2 true JP6959052B2 (en) 2021-11-02

Family

ID=65357592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017131288A Active JP6959052B2 (en) 2017-07-04 2017-07-04 Shunt resistance type current sensor and shunt resistance type current sensor correction method

Country Status (1)

Country Link
JP (1) JP6959052B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3751296A1 (en) * 2019-06-12 2020-12-16 LEM International SA Dc meter for electrical vehicle charging station
KR102555653B1 (en) * 2022-11-10 2023-07-17 스마트전자 주식회사 Battery monitoring method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013174555A (en) * 2012-02-27 2013-09-05 Furukawa Electric Co Ltd:The Battery status detection apparatus
JP2014016297A (en) * 2012-07-11 2014-01-30 Yazaki Corp Shunt resistance type current sensor
JP2017049229A (en) * 2015-08-31 2017-03-09 住友電気工業株式会社 Battery state detector and computer program
US9772356B2 (en) * 2015-09-01 2017-09-26 Astronics Advanced Electronic Systems Corp. Circuitry and shunt arrangements for temperature-compensated measurements of current
JP2017096694A (en) * 2015-11-20 2017-06-01 株式会社オートネットワーク技術研究所 Current value calculation device and on-vehicle system

Also Published As

Publication number Publication date
JP2019015538A (en) 2019-01-31

Similar Documents

Publication Publication Date Title
JP6490096B2 (en) Shunt current measurement with temperature compensation
US9528419B2 (en) Particulate matter controller for an internal combustion engine
JP6959052B2 (en) Shunt resistance type current sensor and shunt resistance type current sensor correction method
EP2042879B1 (en) Battery current sensor for a motor vehicle
JP5873626B2 (en) Current detector that can accurately measure busbar temperature
US10901039B2 (en) Open circuit voltage estimation device, condition estimation device, and method of estimating open circuit voltage
JP2010203854A (en) Device of estimating internal state of secondary battery
JP5553115B2 (en) Control device for internal combustion engine
JP2006292492A (en) Full charge capacity estimation system for secondary battery
JP4383596B2 (en) Battery internal temperature detection device
JP2016125960A (en) Abnormality detection unit and abnormality detection method of vehicular motor temperature sensor
CN117452276A (en) Switch power supply performance test method and device and switch power supply
JP2012078327A (en) Current detection method and current detector by using bus bar as detection body
JP6045984B2 (en) Secondary battery status detector
JP3691364B2 (en) Current detection device and battery device including current detection device
JP2017096694A (en) Current value calculation device and on-vehicle system
US11656284B2 (en) Method for operating a battery sensor, and battery sensor
JP7495846B2 (en) Control device and control method
JP2004056935A (en) Electric circuit and control method
CN112714873A (en) Battery sensor for measuring current independently of temperature using a shunt
JP2020053271A (en) Battery ambient temperature estimation device
JP2018155626A (en) Current sensor
US11519931B2 (en) Apparatus and method for estimating motor RPM in electronic brake system
JP4518261B2 (en) Vehicle battery current detection device
JP2009159538A (en) Protection processor of element

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210607

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211005

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211007

R150 Certificate of patent or registration of utility model

Ref document number: 6959052

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350