JP2009282050A - Current detection device - Google Patents

Current detection device Download PDF

Info

Publication number
JP2009282050A
JP2009282050A JP2009203240A JP2009203240A JP2009282050A JP 2009282050 A JP2009282050 A JP 2009282050A JP 2009203240 A JP2009203240 A JP 2009203240A JP 2009203240 A JP2009203240 A JP 2009203240A JP 2009282050 A JP2009282050 A JP 2009282050A
Authority
JP
Japan
Prior art keywords
voltage
differential amplifier
level
input terminals
control signal
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.)
Granted
Application number
JP2009203240A
Other languages
Japanese (ja)
Other versions
JP4977741B2 (en
Inventor
Masahisa Kobayashi
正久 小林
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.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica Ltd
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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2009203240A priority Critical patent/JP4977741B2/en
Publication of JP2009282050A publication Critical patent/JP2009282050A/en
Application granted granted Critical
Publication of JP4977741B2 publication Critical patent/JP4977741B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a current detection device having a constitution can remove an influence of an offset voltage at any time. <P>SOLUTION: A voltage divider 3 is connected between a switch part 6 and two input terminals of a differential amplifier 4, and divides both end voltages of a shunt resistor 2 respectively. The differential amplifier 4 includes the two input terminals for inputting both end voltages of the shunt resistor 2 through the voltage divider 3 respectively. The switch part 6 short circuits temporarily the two input terminals of the voltage divider 3. A sample hold circuit 7 and a clock generator 8 obtain an offset output value of the differential amplifier 4 at each fixed time by short circuiting the two input terminals of the voltage divider 3 through the switch part 6, subtract the offset output value from an output value of the differential amplifier 4 when both end voltages of the shunt resistor 2 are divided by the voltage divider 3 and input by the two input terminals of the differential amplifier 4, and output the result from an output terminal 5. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、シャント抵抗器を用いて電流を測定する電流検出装置に関する。   The present invention relates to a current detection device that measures current using a shunt resistor.

配線中にシャント抵抗器を繋いで、このシャント抵抗器の両端電圧を測定することにより、配線に流れる電流を測定する技術が、一般的に用いられている。この技術では、シャント抵抗器の両端電圧が極めて低いので、この両端電圧を測定する増幅器のオフセット電圧が測定精度に大きく影響する。これに対して、増幅器の入力端子にシャント抵抗器の両端を接続したときの測定値から、増幅器の入力端子を短絡したときの測定値を差し引くことにより、オフセット電圧の影響を除去する技術(以下「従来技術」という。)が、特許文献1に開示されている。   A technique is generally used in which a shunt resistor is connected in the wiring and the current flowing through the wiring is measured by measuring the voltage across the shunt resistor. In this technique, since the voltage across the shunt resistor is extremely low, the offset voltage of the amplifier that measures the voltage across the shunt resistor greatly affects the measurement accuracy. On the other hand, a technique that removes the influence of the offset voltage by subtracting the measured value when the amplifier input terminal is short-circuited from the measured value when both ends of the shunt resistor are connected to the input terminal of the amplifier (hereinafter referred to as the following). "Prior art" is disclosed in Patent Document 1.

図8は、特許文献1に開示された二次電池の容量表示装置を示す回路図である。以下、この図面に基づき説明する。   FIG. 8 is a circuit diagram showing a secondary battery capacity display device disclosed in Patent Document 1. As shown in FIG. Hereinafter, description will be given based on this drawing.

この容量表示装置は、二次電池201に流れる電流を検出するシャント抵抗器202と、シャント抵抗器202の両端電圧を増幅する増幅器204と、増幅器204の二つの入力端子を短絡して入力電圧を一時的に零にするためのスイッチ203と、増幅器204の出力をディジタル値に変換するA/D変換器207と、A/D変換器207から出力されたディジタル値に基づき二次電池201の残容量を演算によって求める残容量演算回路209と、求めた残容量を表示する表示回路206とを有する。残容量演算回路209は、シャント抵抗器202の両端電圧を入力とするときの増幅器204の出力に対応したディジタル値から、スイッチ203により入力電圧を零にしたときの増幅器204の出力に対応したディジタル値を減じた値を、電池201の充放電電流に対応した値として、この値を用いて電池201の残容量を演算によって求める。この従来技術によれば、煩雑な調整を必要とせず、またオフセット電圧の小さい増幅器を使用することなく、オフセット電圧による誤差を小さくできる。   This capacity display device includes a shunt resistor 202 that detects a current flowing through the secondary battery 201, an amplifier 204 that amplifies the voltage across the shunt resistor 202, and two input terminals of the amplifier 204 that are short-circuited. A switch 203 for temporarily setting to zero, an A / D converter 207 for converting the output of the amplifier 204 into a digital value, and the remaining amount of the secondary battery 201 based on the digital value output from the A / D converter 207 It has a remaining capacity calculation circuit 209 that calculates the capacity by calculation, and a display circuit 206 that displays the calculated remaining capacity. The remaining capacity calculation circuit 209 is a digital value corresponding to the output of the amplifier 204 when the input voltage is made zero by the switch 203 from the digital value corresponding to the output of the amplifier 204 when the voltage across the shunt resistor 202 is input. The value obtained by subtracting the value is set as a value corresponding to the charging / discharging current of the battery 201, and the remaining capacity of the battery 201 is obtained by calculation using this value. According to this prior art, an error due to an offset voltage can be reduced without requiring complicated adjustment and without using an amplifier having a small offset voltage.

特開平7−191110号公報JP-A-7-191110

一般の増幅器等は、安定した動作をするまでに、すなわち一定のオフセット電圧に落ち着くまでに、電源投入後からある程度の時間(一般に「ウォーミングアップ時間」と呼ばれる。)を要する。また、例えウォーミングアップ時間以降であっても、電源電圧や周囲温度の変動に伴い、オフセット電圧も変動することがある。しかしながら、従来技術では、電源投入時にオフセット電圧の影響を排除することが記載されているものの、その後にオフセット電圧の影響を排除することについての具体的な構成が開示されていない。   A general amplifier or the like requires a certain amount of time (generally referred to as “warming up time”) after the power is turned on until stable operation, that is, a certain offset voltage is settled. Further, even after the warm-up time, the offset voltage may also fluctuate with fluctuations in the power supply voltage and ambient temperature. However, although the prior art describes that the influence of the offset voltage is eliminated when the power is turned on, a specific configuration for eliminating the influence of the offset voltage after that is not disclosed.

そこで、本発明の目的は、いかなる時にもオフセット電圧の影響を排除できる具体的な構成を有する電流検出装置を提供することにある。   Accordingly, an object of the present invention is to provide a current detection device having a specific configuration capable of eliminating the influence of the offset voltage at any time.

請求項1の電流検出装置は、配線中にシャント抵抗器を繋いで、シャント抵抗器の両端の電圧差を測定することにより、配線に流れる電流を測定するものであり、差動増幅器、スイッチ部及びサンプルホールド部を備えている。差動増幅器は、シャント抵抗器の両端の電圧をそれぞれ入力する二つの入力端子を有する。スイッチ部は、差動増幅器の二つの入力端子を一時的に短絡させる。サンプルホールド部は、シャント抵抗器の両端の電圧を差動増幅器の二つの入力端子によって入力したときの差動増幅器の出力値を得て、その直前又は直後にスイッチ部を介して差動増幅器の二つの入力端子を短絡させることにより差動増幅器のオフセット出力値を得て、前記出力値から前記オフセット出力値を差し引いて出力する。本発明によれば、シャント抵抗器の両端の電圧を測定する直前又は直後に、差動増幅器の二つの入力端子を短絡させることにより、常に最新のオフセット出力値が得られるので、いかなる測定時にもオフセット電圧の影響を排除できる。しかも、サンプルホールド部は、第一及び第二のコンデンサ、第一及び第二のスイッチ、第一及び第二の電圧ホロワ、並びにクロック発生器を有する。第一のコンデンサは、一端が差動増幅器の出力端子に接続され他端が第一の電圧ホロワの入力端子に接続される。第一のスイッチは、一端が第一のコンデンサの他端と第一の電圧ホロワの入力端子との間に接続され、他端が規定電圧(例えばグランド、以下同じ。)に接続される。第二のスイッチは、一端が第一の電圧ホロワの出力端子に接続され、他端が第二の電圧ホロワの入力端子に接続される。第二のコンデンサは、一端が第二のスイッチの他端と第二の電圧ホロワの入力端子との間に接続され、他端がグランドに接続される。クロック発生器は、第一の制御信号をスイッチ部へ出力し、第二の制御信号を第一のスイッチへ出力し、第三の制御信号を第二のスイッチへ出力する。第一の制御信号は、差動増幅器の二つの入力端子を短絡する第一のレベルと、差動増幅器の二つの入力端子をシャント抵抗器の両端にそれぞれ接続する第二のレベルと、からなる。第二の制御信号は、第一のコンデンサの他端を規定電圧に接続しない第一のレベルと、第一のコンデンサの他端を規定電圧に接続する第二のレベルと、からなる。第三の制御信号は、第一の電圧ホロワの出力端子と第二のコンデンサの一端とを接続しない第一のレベルと、第一の電圧ホロワの出力端子と第二のコンデンサの一端とを接続する第二のレベルと、からなる。また、クロック発生器は、第一乃至第三の制御信号を第一のレベルと第二のレベルとに交互に繰り返し、第一の制御信号が第一のレベルのときに第二の制御信号を第二のレベルにし、第一の制御信号が第二のレベルのときに第三の制御信号を第二のレベルにする。   The current detection device according to claim 1 is a device for measuring a current flowing through a wiring by connecting a shunt resistor in the wiring and measuring a voltage difference between both ends of the shunt resistor. And a sample hold unit. The differential amplifier has two input terminals for inputting voltages across the shunt resistor, respectively. The switch unit temporarily shorts the two input terminals of the differential amplifier. The sample-and-hold unit obtains the output value of the differential amplifier when the voltage across the shunt resistor is input through the two input terminals of the differential amplifier, and immediately before or after that, through the switch unit, An offset output value of the differential amplifier is obtained by short-circuiting the two input terminals, and the offset output value is subtracted from the output value for output. According to the present invention, the latest offset output value can always be obtained by short-circuiting the two input terminals of the differential amplifier immediately before or after measuring the voltage across the shunt resistor. The influence of the offset voltage can be eliminated. In addition, the sample hold unit includes first and second capacitors, first and second switches, first and second voltage followers, and a clock generator. The first capacitor has one end connected to the output terminal of the differential amplifier and the other end connected to the input terminal of the first voltage follower. One end of the first switch is connected between the other end of the first capacitor and the input terminal of the first voltage follower, and the other end is connected to a specified voltage (eg, ground, the same applies hereinafter). One end of the second switch is connected to the output terminal of the first voltage follower, and the other end is connected to the input terminal of the second voltage follower. One end of the second capacitor is connected between the other end of the second switch and the input terminal of the second voltage follower, and the other end is connected to the ground. The clock generator outputs a first control signal to the switch unit, outputs a second control signal to the first switch, and outputs a third control signal to the second switch. The first control signal includes a first level for short-circuiting the two input terminals of the differential amplifier, and a second level for connecting the two input terminals of the differential amplifier to both ends of the shunt resistor, respectively. . The second control signal includes a first level in which the other end of the first capacitor is not connected to the specified voltage, and a second level in which the other end of the first capacitor is connected to the specified voltage. The third control signal connects the first level that does not connect the output terminal of the first voltage follower and one end of the second capacitor, and connects the output terminal of the first voltage follower and one end of the second capacitor. With a second level to be. The clock generator repeats the first to third control signals alternately at the first level and the second level, and outputs the second control signal when the first control signal is at the first level. The second level is set, and the third control signal is set to the second level when the first control signal is at the second level.

請求項2の電流検出装置は、配線中にシャント抵抗器を繋いで、シャント抵抗器の両端の電圧差を測定することにより、配線に流れる電流を測定するものであり、差動増幅器、スイッチ部及びサンプルホールド部を備えている。差動増幅器は、シャント抵抗器の両端の電圧をそれぞれ入力する二つの入力端子を有する。スイッチ部は、差動増幅器の二つの入力端子を一時的に短絡させる。サンプルホールド部は、シャント抵抗器の両端の電圧を差動増幅器の二つの入力端子によって入力したときの差動増幅器の出力値を得て、その直前又は直後にスイッチ部を介して差動増幅器の二つの入力端子を短絡させることにより差動増幅器のオフセット出力値を得て、前記出力値から前記オフセット出力値を差し引いて出力する。本発明によれば、シャント抵抗器の両端の電圧を測定する直前又は直後に、差動増幅器の二つの入力端子を短絡させることにより、常に最新のオフセット出力値が得られるので、いかなる測定時にもオフセット電圧の影響を排除できる。しかも、サンプルホールド部は、アナログ−ディジタル変換器(以下「A/D変換器」という。)及びCPUを有する。CPUは、シャント抵抗器の両端の電圧を差動増幅器の二つの入力端子によって入力したときの差動増幅器の出力値をA/D変換器を介して入力し、その直前又は直後にスイッチ部を介して差動増幅器の二つの入力端子を短絡させることにより差動増幅器のオフセット出力値をA/D変換器を介して入力し、前記出力値から前記オフセット出力値を差し引く。   The current detection device according to claim 2 is a device for measuring a current flowing through a wiring by connecting a shunt resistor in the wiring and measuring a voltage difference between both ends of the shunt resistor. And a sample hold unit. The differential amplifier has two input terminals for inputting voltages across the shunt resistor, respectively. The switch unit temporarily shorts the two input terminals of the differential amplifier. The sample-and-hold unit obtains the output value of the differential amplifier when the voltage across the shunt resistor is input through the two input terminals of the differential amplifier, and immediately before or after that, through the switch unit, An offset output value of the differential amplifier is obtained by short-circuiting the two input terminals, and the offset output value is subtracted from the output value for output. According to the present invention, the latest offset output value can always be obtained by short-circuiting the two input terminals of the differential amplifier immediately before or after measuring the voltage across the shunt resistor. The influence of the offset voltage can be eliminated. Moreover, the sample hold unit includes an analog-digital converter (hereinafter referred to as “A / D converter”) and a CPU. The CPU inputs the output value of the differential amplifier when the voltage across the shunt resistor is input through the two input terminals of the differential amplifier via the A / D converter, and the switch unit is set immediately before or immediately after that. The offset output value of the differential amplifier is input via the A / D converter by short-circuiting the two input terminals of the differential amplifier, and the offset output value is subtracted from the output value.

本発明によれば、配線中にシャント抵抗器を繋いで、このシャント抵抗器の両端の電圧差を測定することにより、配線に流れる電流を測定する電流検出装置において、シャント抵抗器の両端の電圧差を入力する直前又は直後に差動増幅器の二つの入力端子を短絡させることにより、常に最新のオフセット出力値を用いて測定値を補正できるので、測定精度を向上できる。また、スイッチ部と差動増幅器との間に分圧器を接続した場合は、短絡された閉回路に分圧器も含められるので、分圧器の特性変動に起因してオフセット電圧が変動しても、その影響を排除できる。   According to the present invention, in the current detection device that measures the current flowing through the wiring by connecting the shunt resistor in the wiring and measuring the voltage difference between both ends of the shunt resistor, the voltage across the shunt resistor is measured. By short-circuiting the two input terminals of the differential amplifier immediately before or after inputting the difference, the measurement value can always be corrected using the latest offset output value, so that the measurement accuracy can be improved. In addition, when a voltage divider is connected between the switch unit and the differential amplifier, since the voltage divider is also included in the short-circuited closed circuit, even if the offset voltage fluctuates due to the characteristic fluctuation of the voltage divider, The effect can be eliminated.

換言すると、分圧器の入力間をショートした状態とシャント抵抗器に接続した状態とをスイッチ部によって構成し、それぞれの状態を分圧及び増幅し、分圧器の入力間をショートした状態のときの差動増幅器出力のオフセット電圧を保持し、シャント抵抗器に接続した状態のときの電圧からオフセット保持電圧を減算した電圧を保持し出力電圧とすることによって、分圧器及び差動増幅器の種々の変動要因を相殺し、高電圧が印加されたシャント抵抗器に流れる電流を正確に検出することができる。   In other words, a state where the input of the voltage divider is short-circuited and a state where it is connected to the shunt resistor are configured by the switch unit, and each state is divided and amplified, and when the input of the voltage divider is short-circuited. By holding the offset voltage of the differential amplifier output and subtracting the offset holding voltage from the voltage when it is connected to the shunt resistor, the voltage is held and used as the output voltage. The factors can be offset and the current flowing through the shunt resistor to which a high voltage is applied can be accurately detected.

本発明に係る電流検出装置の第一実施形態を示すブロック図である。1 is a block diagram showing a first embodiment of a current detection device according to the present invention. 図1における分圧器及び差動増幅器を示す回路図である。It is a circuit diagram which shows the voltage divider and differential amplifier in FIG. 図1におけるサンプルホールド回路を示す回路図である。It is a circuit diagram which shows the sample hold circuit in FIG. 図1の電流検出装置の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the electric current detection apparatus of FIG. 本発明に係る電流検出装置の第一参考形態を示す回路図である。It is a circuit diagram which shows the 1st reference form of the current detection apparatus which concerns on this invention. 本発明に係る電流検出装置の第二実施形態を示す回路図である。It is a circuit diagram which shows 2nd embodiment of the electric current detection apparatus which concerns on this invention. 本発明に係る電流検出装置の第二参考形態を示す回路図である。It is a circuit diagram which shows the 2nd reference form of the electric current detection apparatus which concerns on this invention. 従来技術を示す回路図である。It is a circuit diagram which shows a prior art.

図1は、本発明に係る電流検出装置の第一実施形態を示すブロック図である。以下、この図面に基づき説明する。   FIG. 1 is a block diagram showing a first embodiment of a current detection device according to the present invention. Hereinafter, description will be given based on this drawing.

本実施形態の電流検出装置は、配線1中にシャント抵抗器2を繋いで、シャント抵抗器2の両端の電圧差を測定することにより、配線1に流れる電流Iを測定するものであり、スイッチ部6、分圧器3、差動増幅器4、サンプルホールド回路7及びクロック発生器8を備えている。サンプルホールド回路7及びクロック発生器8が特許請求の範囲における「サンプルホールド部」に相当する。分圧器3は、スイッチ部6と差動増幅器4の二つの入力端子との間に接続され、シャント抵抗器2の両端の電圧をそれぞれ分圧する。差動増幅器4は、シャント抵抗器2の両端の電圧をそれぞれ分圧器3を介して入力する二つの入力端子を有する。スイッチ部6は、分圧器3の二つの入力端子を一時的に短絡させる。サンプルホールド回路7及びクロック発生器8は、スイッチ部6を介して分圧器3の二つの入力端子を短絡させることにより差動増幅器4のオフセット出力値を一定時間ごとに得て、シャント抵抗器2の両端の電圧を差動増幅器4の二つの入力端子によって入力したときの差動増幅器4の出力値からオフセット出力値を差し引いて、出力端子5から出力する。   The current detection device of this embodiment measures the current I flowing through the wiring 1 by connecting the shunt resistor 2 in the wiring 1 and measuring the voltage difference between both ends of the shunt resistor 2. A section 6, a voltage divider 3, a differential amplifier 4, a sample hold circuit 7 and a clock generator 8 are provided. The sample hold circuit 7 and the clock generator 8 correspond to the “sample hold unit” in the claims. The voltage divider 3 is connected between the switch unit 6 and the two input terminals of the differential amplifier 4, and divides the voltage across the shunt resistor 2. The differential amplifier 4 has two input terminals for inputting voltages across the shunt resistor 2 via the voltage divider 3 respectively. The switch unit 6 temporarily shorts the two input terminals of the voltage divider 3. The sample and hold circuit 7 and the clock generator 8 obtain the offset output value of the differential amplifier 4 at regular intervals by short-circuiting the two input terminals of the voltage divider 3 via the switch unit 6, and the shunt resistor 2. The offset output value is subtracted from the output value of the differential amplifier 4 when the voltages at both ends are input through the two input terminals of the differential amplifier 4 and output from the output terminal 5.

スイッチ部6は、分圧器3の入力側のライン2aに接続された接点6aと、分圧器3の入力側のライン2bに接続された接点6bと、分圧器3の入力側のライン2b'に接続されクロック発生器8からの制御信号8aによって接点6a,6bのどちらか一方と接する接点6cとを有し、例えばフォトMOSリレー等の半導体スイッチからなる。ライン2bは接点6bからシャント抵抗器2までのラインであり、ライン2b'は接点6cから分圧器3までのラインである。   The switch unit 6 is connected to a contact 6 a connected to the input side line 2 a of the voltage divider 3, a contact 6 b connected to the input side line 2 b of the voltage divider 3, and an input side line 2 b ′ of the voltage divider 3. The contact 6c is connected to one of the contacts 6a and 6b by a control signal 8a from the clock generator 8, and is formed of a semiconductor switch such as a photo MOS relay. Line 2 b is a line from contact 6 b to shunt resistor 2, and line 2 b ′ is a line from contact 6 c to voltage divider 3.

シャント抵抗器2とグランドとの間に印加される電圧が高い場合は、分圧器3が必要になる。このとき、スイッチ部6と差動増幅器4との間に分圧器3が接続されていることにより、短絡された閉回路に分圧器3も含められるので、分圧器3を構成する抵抗器31〜34(図2)の抵抗値の変動に起因してオフセット電圧が変動しても、その影響を排除できる。本実施形態によれば、分圧器3の二つの入力端子を一定時間ごとに短絡させることにより、常に最新のオフセット出力値が得られるので、いかなる時にもオフセット電圧の影響を排除できる。   When the voltage applied between the shunt resistor 2 and the ground is high, the voltage divider 3 is necessary. At this time, since the voltage divider 3 is connected between the switch unit 6 and the differential amplifier 4, the voltage divider 3 is also included in the short-circuited closed circuit, and thus the resistors 31 to 31 constituting the voltage divider 3 are included. Even if the offset voltage fluctuates due to the fluctuation of the resistance value 34 (FIG. 2), the influence can be eliminated. According to this embodiment, since the latest offset output value is always obtained by short-circuiting the two input terminals of the voltage divider 3 at regular intervals, the influence of the offset voltage can be eliminated at any time.

換言すると、本実施形態の電流検出装置は、次のようなものである。分圧器3の入力側の一方のライン2aを、シャント抵抗器2に接続する、分圧器3の入力側の他方のライン2b,2b'間に、スイッチ部6を設ける。スイッチ部6は、第一の接続と第二の接続とを切り替えるものである。第一の接続は、ライン2a,2b'をショートすることにより分圧器3の入力間電圧を0Vにする接続である。第二の接続は、ライン2a,2b'を切り離してライン2b,2b'を接続することにより、分圧器3の入力間にシャント抵抗器2の端子間の電圧差を印加する接続である。そして、分圧器3をシャント抵抗器2に接続したときの差動増幅器4による測定値から、分圧器3の入力間をショートしたときの差動増幅器4による測定値を減算することによって、分圧器3及び差動増幅器4で発生するオフセット電圧の影響を受けることなく、シャント抵抗器2中に流れる電流Iを精度良く検出する。   In other words, the current detection device of the present embodiment is as follows. A switch section 6 is provided between the other lines 2b and 2b 'on the input side of the voltage divider 3 that connects one line 2a on the input side of the voltage divider 3 to the shunt resistor 2. The switch unit 6 switches between the first connection and the second connection. The first connection is a connection for setting the voltage between the inputs of the voltage divider 3 to 0 V by short-circuiting the lines 2a and 2b ′. The second connection is a connection in which the voltage difference between the terminals of the shunt resistor 2 is applied between the inputs of the voltage divider 3 by disconnecting the lines 2a and 2b ′ and connecting the lines 2b and 2b ′. The voltage divider 3 is subtracted from the value measured by the differential amplifier 4 when the voltage divider 3 is connected to the shunt resistor 2, by subtracting the value measured by the differential amplifier 4 when the input of the voltage divider 3 is short-circuited. 3 and the current I flowing in the shunt resistor 2 is accurately detected without being affected by the offset voltage generated in the differential amplifier 4.

図2は、図1における分圧器及び差動増幅器を示す回路図である。以下、図1及び図2に基づき説明する。   FIG. 2 is a circuit diagram showing the voltage divider and the differential amplifier in FIG. Hereinafter, a description will be given based on FIG. 1 and FIG.

分圧器3は抵抗器31〜34からなり、差動増幅器4はオペアンプ45,46及び抵抗器41〜44からなる。配線1に流れる電流Iは、シャント抵抗器2の両端の電圧差を測定することにより間接的に測定することができる。シャント抵抗器2の両端に現れる検出すべき電圧差は通常0.1V程度と小さく、シャント抵抗器2にはグランドに対して例えば100V程度の高電圧が印加されている。このような場合、差動増幅器4の入力電圧が差動増幅器4の電源電圧以内に入るようにするため、分圧器3内の抵抗器31,33と抵抗器32,34とを同じ抵抗値にし、抵抗器31〜34によってライン2a,2bの双方の電圧を1/10程度に分圧する。そして、分圧されたライン3a,3bの信号を差動増幅器4によって必要なレベルまで増幅する。オペアンプ46の反転入力端子に入力される信号のライン2aからライン4aまでのゲインI、及びオペアンプ46の非反転入力端子に入力される信号のライン2b'からライン4aまでのゲインNは、抵抗器31〜34の抵抗値をr31〜r34とし、抵抗器41〜44の抵抗値をr41〜r44とすると、次式で示される。   The voltage divider 3 includes resistors 31 to 34, and the differential amplifier 4 includes operational amplifiers 45 and 46 and resistors 41 to 44. The current I flowing through the wiring 1 can be indirectly measured by measuring the voltage difference between both ends of the shunt resistor 2. The voltage difference to be detected appearing at both ends of the shunt resistor 2 is usually as small as about 0.1 V, and a high voltage of about 100 V, for example, is applied to the shunt resistor 2 with respect to the ground. In such a case, the resistors 31 and 33 and the resistors 32 and 34 in the voltage divider 3 are set to have the same resistance value so that the input voltage of the differential amplifier 4 falls within the power supply voltage of the differential amplifier 4. The resistors 31 to 34 divide both the voltages of the lines 2a and 2b to about 1/10. Then, the divided signals on the lines 3a and 3b are amplified by the differential amplifier 4 to a required level. The gain I from the line 2a to the line 4a of the signal input to the inverting input terminal of the operational amplifier 46 and the gain N from the line 2b 'to the line 4a of the signal input to the non-inverting input terminal of the operational amplifier 46 are resistors. Assuming that the resistance values of 31 to 34 are r31 to r34, and the resistance values of the resistors 41 to 44 are r41 to r44, the following equation is obtained.

ゲインI=−{r32/(r31+r32)}×{(r41+r42)/r41}×(r44/r43)
ゲインN={r34/(r33+r34)}×{(r43+r44)/r43}
Gain I = − {r32 / (r31 + r32)} × {(r41 + r42) / r41} × (r44 / r43)
Gain N = {r34 / (r33 + r34)} × {(r43 + r44) / r43}

ここで、r32/(r31+r32)=r34/(r33+r34)であるとき、ゲインI=ゲインNとなるように抵抗器41,42の値を決定すると、シャント抵抗器2とグランドとの間に印加されている同相電圧は差動増幅器4によりキャンセルされるので、差動増幅器4からはシャント抵抗器2の両端の電圧のみが出力される。   Here, when r32 / (r31 + r32) = r34 / (r33 + r34), when the values of the resistors 41 and 42 are determined so that the gain I = gain N, it is applied between the shunt resistor 2 and the ground. Since the common-mode voltage is canceled by the differential amplifier 4, only the voltage across the shunt resistor 2 is output from the differential amplifier 4.

しかしながら、実際には、抵抗器31〜34,41〜44の抵抗値の精度、並びにオペアンプ45,46の同相電圧除去比及び電源電圧除去比等の影響を受けることにより、検出精度が悪化する。例えば、抵抗器31〜34のいずれか一つの抵抗値が0.1%ずれた場合、分圧器3の出力間には、測定すべき電圧が10mVであるときに、約9mVのオフセット電圧を生じる。スイッチ部6の無い従来の電流検出装置では、シャント抵抗器2とグランドとの間に高電圧が印加されている場合、種々の要因によってオフセット電圧が増大することにより、精度良く電流Iを検出することができないという問題があった。   However, in actuality, the detection accuracy deteriorates due to the influence of the accuracy of the resistance values of the resistors 31 to 34 and 41 to 44 and the common-mode voltage removal ratio and the power supply voltage removal ratio of the operational amplifiers 45 and 46. For example, when the resistance value of any one of the resistors 31 to 34 is shifted by 0.1%, an offset voltage of about 9 mV is generated between the outputs of the voltage divider 3 when the voltage to be measured is 10 mV. . In the conventional current detection device without the switch unit 6, when a high voltage is applied between the shunt resistor 2 and the ground, the offset voltage increases due to various factors, thereby accurately detecting the current I. There was a problem that I could not.

図3は、図1におけるサンプルホールド回路を示す回路図である。以下、図1乃至図3に基づき説明する。   FIG. 3 is a circuit diagram showing the sample and hold circuit in FIG. Hereinafter, description will be given with reference to FIGS.

サンプルホールド回路7は、コンデンサ71,75、スイッチ72,74及び電圧ホロワ73,76を有する。コンデンサ71は、一端が差動増幅器4の出力側のライン4aに接続され他端が電圧ホロワ73の入力端子に接続される。スイッチ72は、一端がコンデンサ71の他端と電圧ホロワ73の入力端子との間に接続され、他端がグランドに接続される。スイッチ74は、一端が電圧ホロワ73の出力端子に接続され、他端が電圧ホロワ76の入力端子に接続される。コンデンサ75は、一端がスイッチ74の他端と電圧ホロワ76の入力端子との間に接続され、他端がグランドに接続される。スイッチ72,74は、例えばフォトMOSリレー等の半導体スイッチである。電圧ホロワ73,76は、例えばオペアンプからなる一般的なものであり、コンデンサ72,74に充電された電荷の放電を防止する。   The sample and hold circuit 7 includes capacitors 71 and 75, switches 72 and 74, and voltage followers 73 and 76. The capacitor 71 has one end connected to the output side line 4 a of the differential amplifier 4 and the other end connected to the input terminal of the voltage follower 73. The switch 72 has one end connected between the other end of the capacitor 71 and the input terminal of the voltage follower 73, and the other end connected to the ground. The switch 74 has one end connected to the output terminal of the voltage follower 73 and the other end connected to the input terminal of the voltage follower 76. One end of the capacitor 75 is connected between the other end of the switch 74 and the input terminal of the voltage follower 76, and the other end is connected to the ground. The switches 72 and 74 are semiconductor switches such as photo MOS relays. The voltage followers 73 and 76 are general ones made of operational amplifiers, for example, and prevent discharge of electric charges charged in the capacitors 72 and 74.

図4は、図1の電流検出装置の動作を示すタイミングチャートである。以下、図1乃至図4に基づき、本実施形態の電流検出装置の動作を説明する。   FIG. 4 is a timing chart showing the operation of the current detection device of FIG. Hereinafter, the operation of the current detection device of this embodiment will be described with reference to FIGS. 1 to 4.

クロック発生器8は、例えば発振器、分周器等からなる一般的な構成を有し、次のように動作する。すなわち、クロック発生器8は、制御信号8aをスイッチ部6へ出力し、制御信号8bをスイッチ72へ出力し、制御信号8cをスイッチ74へ出力する。制御信号8aは、分圧器3の二つの入力端子を短絡するLレベルと、分圧器3の二つの入力端子をシャント抵抗器2の両端にそれぞれ接続するHレベルとからなる。制御信号8bは、コンデンサ71の他端をグランドに接続しないLレベルと、コンデンサ71の他端をグランドに接続するHレベルとからなる。制御信号8cは、電圧ホロワ73の出力端子とコンデンサ75の一端とを接続しないLレベルと、電圧ホロワ73の出力端子とコンデンサ75の一端とを接続するHレベルとからなる。また、クロック発生器8は、制御信号8a,8b,8cをLレベルとHレベルとに交互に繰り返し、制御信号8aがLレベルのときに制御信号8bをHレベルにし、制御信号8aがHレベルのときに制御信号8cをHレベルにする。   The clock generator 8 has a general configuration including, for example, an oscillator and a frequency divider, and operates as follows. That is, the clock generator 8 outputs the control signal 8 a to the switch unit 6, outputs the control signal 8 b to the switch 72, and outputs the control signal 8 c to the switch 74. The control signal 8 a includes an L level that short-circuits two input terminals of the voltage divider 3 and an H level that connects the two input terminals of the voltage divider 3 to both ends of the shunt resistor 2. The control signal 8b includes an L level where the other end of the capacitor 71 is not connected to the ground, and an H level where the other end of the capacitor 71 is connected to the ground. The control signal 8 c includes an L level that does not connect the output terminal of the voltage follower 73 and one end of the capacitor 75, and an H level that connects the output terminal of the voltage follower 73 and one end of the capacitor 75. The clock generator 8 alternately repeats the control signals 8a, 8b, and 8c at the L level and the H level. When the control signal 8a is at the L level, the control signal 8b is set at the H level, and the control signal 8a is at the H level. At this time, the control signal 8c is set to the H level.

ここで、図4において、差動増幅器4の出力信号を104、電圧ホロワ73の出力信号を105、サンプルホールド回路7の出力信号を106とし、更に詳しく説明する。   Here, in FIG. 4, the output signal of the differential amplifier 4 is 104, the output signal of the voltage follower 73 is 105, and the output signal of the sample hold circuit 7 is 106, which will be described in more detail.

制御信号8aがLレベルのとき、スイッチ部6の接点6a,6c間がショートすることにより、分圧器3の入力間の電圧が0Vの状態となる。一方、制御信号8aがHレベルのとき、接点6b,6c間がショートすることにより、シャント抵抗器2の両端の電圧が分圧器3の入力間に印加される。これらの各状態における電圧が、分圧器3によって分圧され、差動増幅器4によって増幅され、必要な値まで増幅された出力信号104が得られる。   When the control signal 8a is at the L level, the contacts 6a and 6c of the switch unit 6 are short-circuited, so that the voltage between the inputs of the voltage divider 3 becomes 0V. On the other hand, when the control signal 8a is at the H level, the voltage at both ends of the shunt resistor 2 is applied between the inputs of the voltage divider 3 by short-circuiting between the contacts 6b and 6c. The voltage in each of these states is divided by the voltage divider 3, amplified by the differential amplifier 4, and an output signal 104 amplified to a required value is obtained.

クロック発生器8は、制御信号8aに同期して、スイッチ部6が応答するまでの時間を待って制御信号8b,8cを出力する。制御信号8bがHレベルのとき、スイッチ72はショートする。まず始めに時間T11のタイミングでスイッチ72がショートすると、差動増幅器4のオフセット出力電圧V1がコンデンサ71に充電される。続いて、制御信号8bのLレベル区間で、コンデンサ71に充電された電荷が保持される。その結果、分圧器3の入力間をショートしたときの出力信号104の電圧V1とコンデンサ71に充電された電圧V1とが相殺されることにより、制御信号8aのLレベル区間において出力信号105が0Vにクランプされる。   The clock generator 8 outputs the control signals 8b and 8c in synchronization with the control signal 8a after waiting for a time until the switch unit 6 responds. When the control signal 8b is at H level, the switch 72 is short-circuited. First, when the switch 72 is short-circuited at the timing of time T11, the offset output voltage V1 of the differential amplifier 4 is charged in the capacitor 71. Subsequently, the electric charge charged in the capacitor 71 is held in the L level section of the control signal 8b. As a result, the voltage V1 of the output signal 104 when the inputs of the voltage divider 3 are short-circuited and the voltage V1 charged in the capacitor 71 cancel each other, so that the output signal 105 becomes 0 V in the L level section of the control signal 8a. To be clamped.

制御信号8cがHレベルのとき、スイッチ74はショートする。時間T21のタイミングでスイッチ74がショートすることにより、電圧ホロワ73の出力信号105の電圧V2がコンデンサ75に充電される。続いて、制御信号8cのLレベル区間で、コンデンサ75に充電された電荷が保持されることにより、出力信号106を得る。以下、時間T12、時間T22、・・・の順にこの動作を繰り返し、分圧器3の入力間をショートしたときの出力電圧を0Vにクランプし、シャント抵抗器2間の電圧を必要なレベルまで増幅した出力信号106を得る。   When the control signal 8c is at H level, the switch 74 is short-circuited. When the switch 74 is short-circuited at the time T21, the voltage V2 of the output signal 105 of the voltage follower 73 is charged in the capacitor 75. Subsequently, the charge signal stored in the capacitor 75 is held in the L level section of the control signal 8c, whereby the output signal 106 is obtained. Thereafter, this operation is repeated in the order of time T12, time T22,..., The output voltage when the input of the voltage divider 3 is short-circuited is clamped to 0 V, and the voltage between the shunt resistors 2 is amplified to a necessary level. Output signal 106 is obtained.

図5は、本発明に係る電流検出装置の第一参考形態を示すブロック図である。以下、この図面に基づき説明する。ただし、図1乃至図3と同じ部分は同じ符号を付すことにより説明を省略する。   FIG. 5 is a block diagram showing a first reference embodiment of the current detection device according to the present invention. Hereinafter, description will be given based on this drawing. However, the same parts as those in FIG. 1 to FIG.

本参考形態では、差動増幅器4'及びサンプルホールド回路7'が第一実施形態と異なる。差動増幅器4'は、オフセット出力値を外部から調整可能な機能を有する。サンプルホールド回路7'及びクロック発生器8は、スイッチ部6を介して分圧器3の二つの入力端子を短絡させることにより差動増幅器4'のオフセット出力値を一定時間ごとに得て、オフセット出力値が零になるように差動増幅器4'のバイアスを調整し、シャント抵抗器2の両端の電圧を分圧器3の二つの入力端子によって入力したときの差動増幅器4'の出力値をそのまま出力する。本参考形態によれば、分圧器3の二つの入力端子を一定時間ごとに短絡させることにより、常に最新のオフセット出力値が得られるので、いかなる時にもオフセット電圧の影響を排除できる。   In the present embodiment, a differential amplifier 4 ′ and a sample and hold circuit 7 ′ are different from the first embodiment. The differential amplifier 4 ′ has a function capable of adjusting the offset output value from the outside. The sample-and-hold circuit 7 ′ and the clock generator 8 obtain the offset output value of the differential amplifier 4 ′ at regular intervals by short-circuiting the two input terminals of the voltage divider 3 via the switch unit 6 to obtain the offset output. The bias of the differential amplifier 4 ′ is adjusted so that the value becomes zero, and the output value of the differential amplifier 4 ′ when the voltage across the shunt resistor 2 is input through the two input terminals of the voltage divider 3 is used as it is. Output. According to the present embodiment, the latest offset output value can always be obtained by short-circuiting the two input terminals of the voltage divider 3 at regular intervals, so that the influence of the offset voltage can be eliminated at any time.

更に詳しく説明する。差動増幅器4'は、オペアンプ45,46を有する。サンプルホールド回路7'は、比較器77、コンデンサ71',75、スイッチ72',74、電圧ホロワ73',76を有する。オペアンプ45,46の非反転入力端子はそれぞれ差動増幅器4'の二つの入力端子である。オペアンプ45は、出力端子がオペアンプ46の反転入力端子に接続され、反転入力端子が電圧ホロワ73'の出力端子に接続される。比較器77は、反転入力端子がオペアンプ46の出力端子に接続され、非反転入力端子がグランドに接続される。スイッチ72'は、一端が比較器77の出力端子に接続され、他端が電圧ホロワ73'の入力端子に接続される。コンデンサ71'は、一端がスイッチ72'の他端と電圧ホロワ73'の入力端子との間に接続され、他端がグランドに接続される。スイッチ74は、一端がオペアンプ46の出力端子に接続され、他端が電圧ホロワ76の入力端子に接続される。コンデンサ75は、一端がスイッチ74の他端と電圧ホロワ76の入力端子との間に接続され、他端がグランドに接続される。   This will be described in more detail. The differential amplifier 4 ′ has operational amplifiers 45 and 46. The sample and hold circuit 7 'includes a comparator 77, capacitors 71' and 75, switches 72 'and 74, and voltage followers 73' and 76. The non-inverting input terminals of the operational amplifiers 45 and 46 are two input terminals of the differential amplifier 4 ′, respectively. The operational amplifier 45 has an output terminal connected to the inverting input terminal of the operational amplifier 46, and an inverting input terminal connected to the output terminal of the voltage follower 73 ′. The comparator 77 has an inverting input terminal connected to the output terminal of the operational amplifier 46 and a non-inverting input terminal connected to the ground. The switch 72 ′ has one end connected to the output terminal of the comparator 77 and the other end connected to the input terminal of the voltage follower 73 ′. One end of the capacitor 71 ′ is connected between the other end of the switch 72 ′ and the input terminal of the voltage follower 73 ′, and the other end is connected to the ground. The switch 74 has one end connected to the output terminal of the operational amplifier 46 and the other end connected to the input terminal of the voltage follower 76. One end of the capacitor 75 is connected between the other end of the switch 74 and the input terminal of the voltage follower 76, and the other end is connected to the ground.

クロック発生器8は、制御信号8aをスイッチ部6へ出力し、制御信号8bをスイッチ72'へ出力し、制御信号8cをスイッチ74へ出力する。制御信号8aは、分圧器3の二つの入力端子を短絡するLレベルと、分圧器3の二つの入力端子をシャント抵抗器2の両端にそれぞれ接続するHレベルとからなる。制御信号8bは、比較器77の出力端子とコンデンサ71'の一端とを接続しないLレベルと、比較器77の出力端子とコンデンサ71'の一端とを接続するHレベルとからなる。制御信号8cは、オペアンプ46の出力端子とコンデンサ75の一端とを接続しないLレベルと、オペアンプ46の出力端子とコンデンサ75の一端とを接続するHレベルとからなる。また、クロック発生器8は、制御信号8a,8b,8cをLレベルとHレベルとに交互に繰り返し、制御信号8aがLレベルのときに制御信号8bをHレベルにし、制御信号8aがHレベルのときに制御信号8cをHレベルにする。   The clock generator 8 outputs the control signal 8 a to the switch unit 6, outputs the control signal 8 b to the switch 72 ′, and outputs the control signal 8 c to the switch 74. The control signal 8 a includes an L level that short-circuits two input terminals of the voltage divider 3 and an H level that connects the two input terminals of the voltage divider 3 to both ends of the shunt resistor 2. The control signal 8b consists of an L level that does not connect the output terminal of the comparator 77 and one end of the capacitor 71 ′, and an H level that connects the output terminal of the comparator 77 and one end of the capacitor 71 ′. The control signal 8 c includes an L level that does not connect the output terminal of the operational amplifier 46 and one end of the capacitor 75, and an H level that connects the output terminal of the operational amplifier 46 and one end of the capacitor 75. The clock generator 8 alternately repeats the control signals 8a, 8b, and 8c at the L level and the H level. When the control signal 8a is at the L level, the control signal 8b is set at the H level, and the control signal 8a is at the H level. At this time, the control signal 8c is set to the H level.

ここで、図4において「電圧ホロワ73の出力信号105」とある部分を「差動増幅器4'の出力信号105」と置き換えて、図4及び図5に基づき更に詳しく説明する。   Here, a part described as “output signal 105 of voltage follower 73” in FIG. 4 is replaced with “output signal 105 of differential amplifier 4 ′”, and a more detailed description will be given based on FIGS.

差動増幅器4'は、外部よりバイアス電圧を印加しオフセット電圧を調整できる点で、差動増幅器4(図2)と相違している。サンプルホールド回路7'は、クランプ回路がサンプルホールド回路7(図3)と相違しており、比較器77及び抵抗器78が追加されている。   The differential amplifier 4 ′ is different from the differential amplifier 4 (FIG. 2) in that an offset voltage can be adjusted by applying a bias voltage from the outside. The sample and hold circuit 7 ′ is different from the sample and hold circuit 7 (FIG. 3) in the clamp circuit, and a comparator 77 and a resistor 78 are added.

図4における時間T11のタイミングにおいてスイッチ72'がショートすることにより、抵抗器78を通してコンデンサ71'に電荷が充電され、コンパレータ77の反転入力電圧がコンパレータ77の非反転入力電圧(図5では0V)に等しくなるように、電圧ホロワ73'を通して差動増幅器4'のバイアス電圧が調整される。なお、抵抗器78は、コンデンサ71'の充放電の速度を制限することにより、フィードバックループで発振が起こらないようにするためのものである。   When the switch 72 ′ is short-circuited at the timing of time T11 in FIG. 4, the capacitor 71 ′ is charged through the resistor 78, and the inverted input voltage of the comparator 77 is the non-inverted input voltage of the comparator 77 (0 V in FIG. 5). So that the bias voltage of the differential amplifier 4 ′ is adjusted through the voltage follower 73 ′. The resistor 78 is used to prevent oscillation in the feedback loop by limiting the charge / discharge speed of the capacitor 71 ′.

この結果、分圧器3の入力をショートしたとき、差動増幅器4'の出力側のライン4a'に現れていたオフセット電圧が調整され、制御信号8aのLレベル区間において電圧が0Vに調整された差動増幅器4'の出力信号105を得る。時間T21のタイミングでは、図3の場合と同様、スイッチ74がショートすることにより、差動増幅器4'の出力信号105の電圧V2がコンデンサ75に充電される。そして、制御信号8cのLレベル区間で、コンデンサ75に充電された電荷が保持されることにより、出力信号106が得られる。以下、時間T12、時間T22、・・・の順にこの動作を繰り返す。   As a result, when the input of the voltage divider 3 is short-circuited, the offset voltage appearing on the line 4a ′ on the output side of the differential amplifier 4 ′ is adjusted, and the voltage is adjusted to 0 V in the L level section of the control signal 8a. An output signal 105 of the differential amplifier 4 ′ is obtained. At the timing of time T21, as in the case of FIG. 3, the capacitor 74 is charged with the voltage V2 of the output signal 105 of the differential amplifier 4 ′ by short-circuiting the switch 74. Then, the charge charged in the capacitor 75 is held in the L level section of the control signal 8c, whereby the output signal 106 is obtained. Thereafter, this operation is repeated in the order of time T12, time T22,.

本参考形態における第一実施形態との機能上の相違点は、分圧器3及び差動増幅器4'の精度を必要としない点である。第一実施形態は、種々の変動要因によりオフセット電圧が増大し差動増幅器4が飽和するような状態での使用には適さない。これに対し、本参考形態では、常に差動増幅器4'の出力のオフセット電圧が0Vになるようにバイアス電圧を調整するため、オフセット電圧の影響を受けないという利点がある。   The functional difference between the present embodiment and the first embodiment is that the accuracy of the voltage divider 3 and the differential amplifier 4 ′ is not required. The first embodiment is not suitable for use in a state where the offset voltage increases due to various fluctuation factors and the differential amplifier 4 is saturated. On the other hand, in this embodiment, the bias voltage is adjusted so that the offset voltage of the output of the differential amplifier 4 ′ is always 0V, so that there is an advantage that it is not affected by the offset voltage.

図6は、本発明に係る電流検出装置の第二実施形態を示す回路図である。以下、この図面に基づき説明する。ただし、図1及び図2と同じ部分は同じ符号を付すことにより説明を省略する。   FIG. 6 is a circuit diagram showing a second embodiment of the current detection device according to the present invention. Hereinafter, description will be given based on this drawing. However, the same parts as those in FIG. 1 and FIG.

本実施形態では、第一実施形態におけるサンプルホールド回路7及びクロック発生器8の代わりに、A/D変換器9及びCPU10を用いている。CPU10は、シャント抵抗器2の両端の電圧を分圧器3によって分圧して差動増幅器4の二つの入力端子によって入力したときの差動増幅器4の出力値をA/D変換器9を介して入力し、その直前又は直後にスイッチ部6を介して分圧器3の二つの入力端子を短絡させることにより差動増幅器4のオフセット出力値をA/D変換器9を介して入力し、前記出力値から前記オフセット出力値を差し引く。   In the present embodiment, an A / D converter 9 and a CPU 10 are used instead of the sample hold circuit 7 and the clock generator 8 in the first embodiment. The CPU 10 divides the voltage across the shunt resistor 2 with the voltage divider 3 and inputs the output value of the differential amplifier 4 via the A / D converter 9 when the voltage is input through the two input terminals of the differential amplifier 4. The offset output value of the differential amplifier 4 is input via the A / D converter 9 by short-circuiting the two input terminals of the voltage divider 3 via the switch unit 6 immediately before or after the input, and the output The offset output value is subtracted from the value.

スイッチ部6に対する制御信号8a'は、CPU10で作成される。CPU10は、制御信号8a'がLレベル区間のとき、制御信号8dによりA/D変換器9を制御し、差動増幅器4の出力信号をA/D変換し、その結果を読み取る。次いで、CPU10は、制御信号8a'をHレベルにし、制御信号8dによりA/D変換器9を制御し、差動増幅器4の出力信号をA/D変換し、その結果を読み取る。そして、CPU10は、制御信号8a'がHレベルのときに読み込んだ値から、制御信号8a'がLレベルのときに読み込んだ値を減算して電流値を求める。制御信号8a'は,図4における制御信号8aのように繰り返してもよく、また、測定時にLレベルとHレベルとを切り替えてそれぞれの値を読み取ってもよい。このようなCPU10の動作は、プログラムによって実現されている。   The control signal 8a ′ for the switch unit 6 is created by the CPU 10. When the control signal 8a ′ is in the L level section, the CPU 10 controls the A / D converter 9 with the control signal 8d, A / D converts the output signal of the differential amplifier 4, and reads the result. Next, the CPU 10 sets the control signal 8a ′ to the H level, controls the A / D converter 9 with the control signal 8d, A / D converts the output signal of the differential amplifier 4, and reads the result. Then, the CPU 10 obtains a current value by subtracting the value read when the control signal 8a ′ is L level from the value read when the control signal 8a ′ is H level. The control signal 8a ′ may be repeated like the control signal 8a in FIG. 4, or each value may be read by switching between the L level and the H level during measurement. Such an operation of the CPU 10 is realized by a program.

図7は、本発明に係る電流検出装置の第二参考形態を示す回路図である。以下、この図面に基づき説明する。ただし、図5と同じ部分は同じ符号を付すことにより説明を省略する。   FIG. 7 is a circuit diagram showing a second reference embodiment of the current detection device according to the present invention. Hereinafter, description will be given based on this drawing. However, the same parts as those in FIG.

本参考形態は、第一参考形態と同様に差動増幅器4'のバイアス電圧を調整するものであり、第一参考形態におけるサンプルホールド7'及びクロック発生器8に代えて、A/D変換器9、CPU10及びD/A変換器11を使用する。   This reference embodiment adjusts the bias voltage of the differential amplifier 4 ′ in the same manner as the first reference embodiment. Instead of the sample hold 7 ′ and the clock generator 8 in the first reference embodiment, an A / D converter is used. 9, CPU 10 and D / A converter 11 are used.

オペアンプ45の反転入力端子は、D/A変換器11の出力端子に接続される。オペアンプ46の出力端子は、A/D変換器9の入力端子に接続される。CPU10は、スイッチ部6を介して分圧器3の二つの入力端子を短絡させることにより差動増幅器4'のオフセット出力値をA/D変換器9を介して入力し、オフセット出力値が規定電圧になるようにD/A変換器11を介して差動増幅器4'のバイアスを調整し、その直後にシャント抵抗器2の両端の電圧を分圧器3によって分圧して差動増幅器4'の二つの入力端子によって入力したときの差動増幅器4'の出力値をA/D変換器9を介して入力する。   The inverting input terminal of the operational amplifier 45 is connected to the output terminal of the D / A converter 11. The output terminal of the operational amplifier 46 is connected to the input terminal of the A / D converter 9. The CPU 10 inputs the offset output value of the differential amplifier 4 ′ via the A / D converter 9 by short-circuiting the two input terminals of the voltage divider 3 via the switch unit 6, and the offset output value is the specified voltage. The bias of the differential amplifier 4 ′ is adjusted via the D / A converter 11 so that the voltage at both ends of the shunt resistor 2 is divided by the voltage divider 3 immediately after that. The output value of the differential amplifier 4 ′ when inputted through the two input terminals is inputted via the A / D converter 9.

スイッチ部6に対する制御信号8a'は、第二実施形態と同様に、CPU10で作成される。CPU10は、制御信号8a'がLレベル区間のときに、制御信号8d'によりA/D変換器9を制御し、差動増幅器4'の出力信号をA/D変換し、その値を読み取る。次いで、CPU10は、このときに読み取った値に基づき、制御信号8eによりD/A変換器11を制御し、補正すべき値をD/A変換器11にセットして差動増幅器4'のオフセット電圧をキャンセルする。これにより、制御信号8a'がLレベル区間のときに、差動増幅器4'の出力電圧が規定電圧(例えば0V)内に入るように調整する。オフセット電圧を十分にキャンセルできない場合には、これを繰り返して制御信号8a'がLレベル区間のときに差動増幅器4'の出力電圧が規定電圧内に入るように調整してもよい。次いで、CPU10は、制御信号8a'をHレベルにし、制御信号8d'によりA/D変換器9を制御し、差動増幅器4'の出力信号をA/D変換し、その値を読み取って電流値を求める。制御信号8a'は、図4における制御信号8aのようにしてもよく、また、測定時にLレベルとHレベルとを切り替え、それぞれの値を読み取ってもよい。このようなCPU10の動作は、プログラムによって実現されている。   The control signal 8a ′ for the switch unit 6 is created by the CPU 10 as in the second embodiment. When the control signal 8a ′ is in the L level section, the CPU 10 controls the A / D converter 9 by the control signal 8d ′, A / D converts the output signal of the differential amplifier 4 ′, and reads the value. Next, the CPU 10 controls the D / A converter 11 by the control signal 8e based on the value read at this time, sets the value to be corrected in the D / A converter 11, and sets the offset of the differential amplifier 4 ′. Cancel the voltage. Thereby, when the control signal 8a ′ is in the L level section, the output voltage of the differential amplifier 4 ′ is adjusted so as to fall within a specified voltage (for example, 0 V). If the offset voltage cannot be canceled sufficiently, this may be repeated to adjust the output voltage of the differential amplifier 4 ′ to fall within the specified voltage when the control signal 8a ′ is in the L level section. Next, the CPU 10 sets the control signal 8a ′ to the H level, controls the A / D converter 9 by the control signal 8d ′, A / D converts the output signal of the differential amplifier 4 ′, reads the value, and reads the current. Find the value. The control signal 8a ′ may be the same as the control signal 8a in FIG. 4 or may be switched between L level and H level at the time of measurement to read each value. Such an operation of the CPU 10 is realized by a program.

なお、本発明は、言うまでも無いことであるが、上記実施形態に限定されることなく、本発明の要旨の範囲内で幾多の変更ができる。例えば、本発明には、分圧器の無いものも含まれる。その場合は、前述の分圧器の二つの入力端子を短絡するという箇所を、差動増幅器の二つの入力端子を短絡すると置き換えるものとする。   Needless to say, the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the gist of the present invention. For example, the present invention includes those without a voltage divider. In that case, the place where the two input terminals of the voltage divider are short-circuited is replaced by short-circuiting the two input terminals of the differential amplifier.

1 配線
2 シャント抵抗器
2a,2b,2b',3a,3b,4a ライン
3 分圧器
4,4' 差動増幅器
5 出力端子
6 スイッチ部
6a,6b,6c 接点
7,7' サンプルホールド回路(サンプルホールド部)
8 クロック発生器(サンプルホールド部)
8a,8a',8b,8c,8d,8d',8e 制御信号
9 A/D変換器(サンプルホールド部)
10 CPU(サンプルホールド部)
11 D/A変換器(サンプルホールド部)
I 電流
1 wiring 2 shunt resistor 2a, 2b, 2b ', 3a, 3b, 4a line 3 voltage divider 4, 4' differential amplifier 5 output terminal 6 switch part 6a, 6b, 6c contact 7, 7 'sample hold circuit (sample Hold section)
8 Clock generator (sample hold unit)
8a, 8a ', 8b, 8c, 8d, 8d', 8e Control signal 9 A / D converter (sample hold unit)
10 CPU (sample hold unit)
11 D / A converter (sample hold unit)
I current

Claims (2)

配線中にシャント抵抗器を繋いで、このシャント抵抗器の両端の電圧差を測定することにより、前記配線に流れる電流を測定する電流検出装置において、
前記シャント抵抗器の両端の電圧をそれぞれ入力する二つの入力端子を有する差動増幅器と、
前記二つの入力端子を一時的に短絡させるスイッチ部と、
前記両端の電圧を前記二つの入力端子によって入力したときの前記差動増幅器の出力値を得て、その直前又は直後に前記スイッチ部を介して前記二つの入力端子を短絡させることにより前記差動増幅器のオフセット出力値を得て、前記出力値から前記オフセット出力値を差し引いて出力するサンプルホールド部とを備え、
前記サンプルホールド部は、第一及び第二のコンデンサ、第一及び第二のスイッチ、第一及び第二の電圧ホロワ、並びにクロック発生器を有し、
前記第一のコンデンサは、一端が前記差動増幅器の出力端子に接続され他端が前記第一の電圧ホロワの入力端子に接続され、
前記第一のスイッチは、一端が前記第一のコンデンサの他端と前記第一の電圧ホロワの入力端子との間に接続され、他端が規定電圧に接続され、
前記第二のスイッチは、一端が前記第一の電圧ホロワの出力端子に接続され、他端が前記第二の電圧ホロワの入力端子に接続され、
前記第二のコンデンサは、一端が前記第二のスイッチの他端と前記第二の電圧ホロワの入力端子との間に接続され、他端がグランドに接続され、
前記クロック発生器は、
前記二つの入力端子を短絡する第一のレベルと前記二つの入力端子を前記両端にそれぞれ接続する第二のレベルとからなる第一の制御信号を前記スイッチ部へ出力し、前記第一のコンデンサの他端を規定電圧に接続しない第一のレベルと前記第一のコンデンサの他端を規定電圧に接続する第二のレベルとからなる第二の制御信号を前記第一のスイッチへ出力し、前記第一の電圧ホロワの出力端子と前記第二のコンデンサの一端とを接続しない第一のレベルと前記第一の電圧ホロワの出力端子と前記第二のコンデンサの一端とを接続する第二のレベルとからなる第三の制御信号を前記第二のスイッチへ出力するとともに、
前記第一乃至第三の制御信号を前記第一のレベルと前記第二のレベルとに交互に繰り返し、前記第一の制御信号が前記第一のレベルのときに前記第二の制御信号を前記第二のレベルにし、前記第一の制御信号が前記第二のレベルのときに前記第三の制御信号を前記第二のレベルにする、
ことを特徴とする電流検出装置。
In the current detection device for measuring the current flowing through the wiring by connecting a shunt resistor in the wiring and measuring the voltage difference between both ends of the shunt resistor,
A differential amplifier having two input terminals for respectively inputting voltages across the shunt resistor;
A switch section for temporarily shorting the two input terminals;
Obtaining an output value of the differential amplifier when the voltage across the two terminals is input through the two input terminals, and shorting the two input terminals via the switch unit immediately before or after the differential amplifier, A sample hold unit that obtains an offset output value of an amplifier and subtracts the offset output value from the output value and outputs it;
The sample and hold unit includes first and second capacitors, first and second switches, first and second voltage followers, and a clock generator,
The first capacitor has one end connected to the output terminal of the differential amplifier and the other end connected to the input terminal of the first voltage follower.
The first switch has one end connected between the other end of the first capacitor and the input terminal of the first voltage follower, and the other end connected to a specified voltage.
The second switch has one end connected to the output terminal of the first voltage follower and the other end connected to the input terminal of the second voltage follower.
The second capacitor has one end connected between the other end of the second switch and the input terminal of the second voltage follower, and the other end connected to the ground,
The clock generator is
A first control signal comprising a first level for short-circuiting the two input terminals and a second level for connecting the two input terminals to the both ends, respectively, is output to the switch unit, and the first capacitor A second control signal consisting of a first level that does not connect the other end of the first capacitor to the specified voltage and a second level that connects the other end of the first capacitor to the specified voltage is output to the first switch, A first level that does not connect the output terminal of the first voltage follower and one end of the second capacitor, and a second level that connects the output terminal of the first voltage follower and one end of the second capacitor. Output a third control signal comprising a level to the second switch;
The first to third control signals are alternately repeated at the first level and the second level, and when the first control signal is at the first level, the second control signal is A second level, and when the first control signal is at the second level, the third control signal is at the second level,
A current detection device characterized by that.
配線中にシャント抵抗器を繋いで、このシャント抵抗器の両端の電圧差を測定することにより、前記配線に流れる電流を測定する電流検出装置において、
前記シャント抵抗器の両端の電圧をそれぞれ入力する二つの入力端子を有する差動増幅器と、
前記二つの入力端子を一時的に短絡させるスイッチ部と、
前記両端の電圧を前記二つの入力端子によって入力したときの前記差動増幅器の出力値を得て、その直前又は直後に前記スイッチ部を介して前記二つの入力端子を短絡させることにより前記差動増幅器のオフセット出力値を得て、前記出力値から前記オフセット出力値を差し引いて出力するサンプルホールド部とを備え、
前記サンプルホールド部は、アナログ−ディジタル変換器及びCPUを有し、
このCPUは、前記両端の電圧を前記二つの入力端子によって入力したときの前記差動増幅器の出力値を前記アナログ−ディジタル変換器を介して入力し、その直前又は直後に前記スイッチ部を介して前記二つの入力端子を短絡させることにより前記差動増幅器のオフセット出力値を前記アナログ−ディジタル変換器を介して入力し、前記出力値から前記オフセット出力値を差し引く、
ことを特徴とする電流検出装置。
In the current detection device for measuring the current flowing through the wiring by connecting a shunt resistor in the wiring and measuring the voltage difference between both ends of the shunt resistor,
A differential amplifier having two input terminals for respectively inputting voltages across the shunt resistor;
A switch section for temporarily shorting the two input terminals;
Obtaining an output value of the differential amplifier when the voltage across the two terminals is input through the two input terminals, and shorting the two input terminals via the switch unit immediately before or after the differential amplifier, A sample hold unit that obtains an offset output value of an amplifier and subtracts the offset output value from the output value and outputs it;
The sample and hold unit includes an analog-digital converter and a CPU,
The CPU inputs the output value of the differential amplifier when the voltage at both ends is input through the two input terminals via the analog-digital converter, and immediately before or immediately after that via the switch unit. By inputting the offset output value of the differential amplifier via the analog-digital converter by short-circuiting the two input terminals, the offset output value is subtracted from the output value.
A current detection device characterized by that.
JP2009203240A 2009-09-03 2009-09-03 Current detector Expired - Fee Related JP4977741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009203240A JP4977741B2 (en) 2009-09-03 2009-09-03 Current detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009203240A JP4977741B2 (en) 2009-09-03 2009-09-03 Current detector

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004249901A Division JP4642413B2 (en) 2004-08-30 2004-08-30 Current detector

Publications (2)

Publication Number Publication Date
JP2009282050A true JP2009282050A (en) 2009-12-03
JP4977741B2 JP4977741B2 (en) 2012-07-18

Family

ID=41452606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009203240A Expired - Fee Related JP4977741B2 (en) 2009-09-03 2009-09-03 Current detector

Country Status (1)

Country Link
JP (1) JP4977741B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101255965B1 (en) * 2012-01-25 2013-04-23 숭실대학교산학협력단 Power saving current sensing apparatus and converter using the apparatus
JP2014143537A (en) * 2013-01-23 2014-08-07 Yamaha Corp Load current detection circuit
CN105659326A (en) * 2013-07-16 2016-06-08 海拉企业中心(美国)公司 Current sense circuit with offset calibration
EP3471255A1 (en) * 2017-10-13 2019-04-17 Infineon Technologies Austria AG Sensing network mismatch compensation for switching voltage regulator with input voltage and current sensing
JP2021505999A (en) * 2017-12-07 2021-02-18 ウェイハイ ホアリン オプト−エレクトロニクス シーオー.,エルティーディー. Magnetic image sensor
WO2021124551A1 (en) * 2019-12-20 2021-06-24 株式会社Gsユアサ Current measurement device and power storage device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH029878U (en) * 1988-07-04 1990-01-22
JPH0685669A (en) * 1991-11-12 1994-03-25 Yokogawa Electric Corp Auto zero correction circuit
JPH06112779A (en) * 1992-09-29 1994-04-22 Nec Corp Voltage comparing circuit
JPH10283794A (en) * 1997-04-02 1998-10-23 Denso Corp Sample and hold circuit
JP2002084670A (en) * 2000-09-07 2002-03-22 Matsushita Electric Ind Co Ltd Charging-current detecting device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH029878U (en) * 1988-07-04 1990-01-22
JPH0685669A (en) * 1991-11-12 1994-03-25 Yokogawa Electric Corp Auto zero correction circuit
JPH06112779A (en) * 1992-09-29 1994-04-22 Nec Corp Voltage comparing circuit
JPH10283794A (en) * 1997-04-02 1998-10-23 Denso Corp Sample and hold circuit
JP2002084670A (en) * 2000-09-07 2002-03-22 Matsushita Electric Ind Co Ltd Charging-current detecting device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101255965B1 (en) * 2012-01-25 2013-04-23 숭실대학교산학협력단 Power saving current sensing apparatus and converter using the apparatus
WO2013111954A1 (en) * 2012-01-25 2013-08-01 숭실대학교산학협력단 Power saving current measuring apparatus and power converter using same
JP2014143537A (en) * 2013-01-23 2014-08-07 Yamaha Corp Load current detection circuit
CN105659326A (en) * 2013-07-16 2016-06-08 海拉企业中心(美国)公司 Current sense circuit with offset calibration
EP3022737A4 (en) * 2013-07-16 2017-03-22 Hella Corporate Center USA, Inc. Current sense circuit with offset calibration
US9696352B2 (en) 2013-07-16 2017-07-04 Hella Corporate Center Usa, Inc. Current sense circuit with offset calibration
EP3471255A1 (en) * 2017-10-13 2019-04-17 Infineon Technologies Austria AG Sensing network mismatch compensation for switching voltage regulator with input voltage and current sensing
JP2021505999A (en) * 2017-12-07 2021-02-18 ウェイハイ ホアリン オプト−エレクトロニクス シーオー.,エルティーディー. Magnetic image sensor
WO2021124551A1 (en) * 2019-12-20 2021-06-24 株式会社Gsユアサ Current measurement device and power storage device
JPWO2021124551A1 (en) * 2019-12-20 2021-06-24
JP7400831B2 (en) 2019-12-20 2023-12-19 株式会社Gsユアサ Current measuring device, power storage device

Also Published As

Publication number Publication date
JP4977741B2 (en) 2012-07-18

Similar Documents

Publication Publication Date Title
JP4977741B2 (en) Current detector
JP4642413B2 (en) Current detector
US8604809B2 (en) Current sensor capacity measuring system
TWI427311B (en) Magnetic sensor circuit
KR20080001637A (en) Current detecting circuit
JPS63165769A (en) Processor for output signal from resistance bridge
JP2011091642A (en) Overcurrent detection circuit and signal amplifier
JP2015115654A (en) Single-phase-to-differential conversion circuit and analog front end circuit
JP4719972B2 (en) Charge / discharge current measuring device
JP2015184208A5 (en)
JP4977013B2 (en) Power application circuit and test apparatus
US10756745B2 (en) Electrical circuit for biasing or measuring current from a sensor
JP4344667B2 (en) Non-contact voltage measuring device
JP5320929B2 (en) Current measuring device
JP3204091B2 (en) Charge / discharge current measuring device
JP3584803B2 (en) Pressure sensor circuit
JP2014010028A (en) Battery impedance measuring device and method
JP3720623B2 (en) Peak measuring device
JP4064303B2 (en) Sense comparator circuit and offset compensation method thereof
JP6662033B2 (en) Method and apparatus for measuring resistance of storage element
JP2010190768A (en) Semiconductor testing device
JP2002084670A (en) Charging-current detecting device
JP6315273B2 (en) Insulation state measuring device
JP5558251B2 (en) Integration circuit and voltage detection device
JPWO2004093311A1 (en) Differential voltage amplifier circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110524

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110623

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: 20120403

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120416

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150420

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees