JP6255312B2 - Voltage measurement circuit - Google Patents

Voltage measurement circuit Download PDF

Info

Publication number
JP6255312B2
JP6255312B2 JP2014134605A JP2014134605A JP6255312B2 JP 6255312 B2 JP6255312 B2 JP 6255312B2 JP 2014134605 A JP2014134605 A JP 2014134605A JP 2014134605 A JP2014134605 A JP 2014134605A JP 6255312 B2 JP6255312 B2 JP 6255312B2
Authority
JP
Japan
Prior art keywords
voltage
value
circuit
voltage value
control unit
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
JP2014134605A
Other languages
Japanese (ja)
Other versions
JP2016011922A (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.)
Shindengen Electric Manufacturing Co Ltd
Original Assignee
Shindengen Electric Manufacturing Co 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 Shindengen Electric Manufacturing Co Ltd filed Critical Shindengen Electric Manufacturing Co Ltd
Priority to JP2014134605A priority Critical patent/JP6255312B2/en
Publication of JP2016011922A publication Critical patent/JP2016011922A/en
Application granted granted Critical
Publication of JP6255312B2 publication Critical patent/JP6255312B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Description

本発明は、電圧測定回路に関する。   The present invention relates to a voltage measurement circuit.

商用電源やバッテリを入力とするスイッチング電源装置では、安全上の理由から、トランスの1次側と2次側とが絶縁されている。2次側の出力電圧や出力電流を制御部が制御する場合、制御部は、2次側の出力電圧や出力電流を検出して、1次側にフィードバックさせて1次側のスイッチング回路を制御する。このフィードバック回路においても1次側と2次側間が絶縁される(例えば、特許文献1参照)。
近年、基準電圧の異なる2つの回路が絶縁された上述のスイッチング電源装置において、2次側の出力電圧や出力電流を高速かつ精度良く測定することが求められている。
In a switching power supply device using a commercial power supply or a battery as an input, the primary side and the secondary side of the transformer are insulated for safety reasons. When the control unit controls the output voltage or output current on the secondary side, the control unit detects the output voltage or output current on the secondary side and feeds it back to the primary side to control the switching circuit on the primary side. To do. Also in this feedback circuit, the primary side and the secondary side are insulated (for example, refer to Patent Document 1).
In recent years, in the above-described switching power supply device in which two circuits having different reference voltages are insulated, it is required to measure the output voltage and output current on the secondary side with high speed and high accuracy.

特開2011−188632号公報JP 2011-188632 A

しかしながら、特許文献1に記載の技術では、制御部が、絶縁回路であるアイソレーション回路及び出力検出回路等を介して出力側の電圧値を測定するため、測定結果が絶縁回路や出力検出回路等が有する公差の影響を受け、精度の良い測定ができないという課題があった。   However, in the technique described in Patent Document 1, since the control unit measures the voltage value on the output side via an isolation circuit, an output detection circuit, and the like, which are insulation circuits, the measurement result is an insulation circuit, an output detection circuit, or the like. There is a problem that accurate measurement cannot be performed under the influence of tolerances.

本発明は、電気的に絶縁される測定対象物の電圧値を、高速かつ精度良く測定することができる電圧測定回路を提供することを目的とする。   An object of this invention is to provide the voltage measurement circuit which can measure the voltage value of the measurement object electrically insulated rapidly and accurately.

上記目的を達成するため、本発明の一態様に係る電圧測定回路は、測定対象の電圧を分圧した電圧を出力する1つの分圧回路と、前記1つの分圧回路によって分圧された前記電圧を検出し、前記1つの分圧回路により分圧された前記電圧を第1電圧検出結果および第2電圧検出結果として出力する電圧検出部と、前記第1電圧検出結果に対応する第1電圧値を第1間隔で取得し、前記第2電圧検出結果に対応する第2電圧値を前記第1間隔より短い第2間隔で取得し、前記第1電圧値と前記第2電圧値とに基づいて前記測定対象の電圧値を測定する制御部と、前記電圧検出部と前記制御部との間に設けられ、前記電圧検出部と前記制御部との間を電気的に絶縁し、前記第1電圧検出結果を前記第1電圧値として出力する第1アイソレーション回路と、前記第1アイソレーション回路とは異なる系統であり、前記電圧検出部と前記制御部との間に設けられ、前記電圧検出部と前記制御部との間を電気的に絶縁し、前記第2電圧検出結果を前記第2電圧値として出力する第2アイソレーション回路と、前記電圧検出部と、前記第1アイソレーション回路との間に設けられ、前記第1電圧検出結果をデジタル化して、前記第1アイソレーション回路に直接出力するアナログ−デジタル変換部と、を備える。 In order to achieve the above object, a voltage measurement circuit according to an aspect of the present invention includes a voltage dividing circuit that outputs a voltage obtained by dividing a voltage to be measured, and the voltage divided by the one voltage dividing circuit. A voltage detection unit that detects a voltage and outputs the voltage divided by the one voltage dividing circuit as a first voltage detection result and a second voltage detection result; and a first voltage corresponding to the first voltage detection result A value is acquired at a first interval, a second voltage value corresponding to the second voltage detection result is acquired at a second interval shorter than the first interval, and based on the first voltage value and the second voltage value A control unit that measures the voltage value of the measurement object, and is provided between the voltage detection unit and the control unit, and electrically insulates between the voltage detection unit and the control unit, First isolation for outputting a voltage detection result as the first voltage value A path and a system different from the first isolation circuit, provided between the voltage detection unit and the control unit, electrically insulating between the voltage detection unit and the control unit, Provided between a second isolation circuit that outputs a second voltage detection result as the second voltage value, the voltage detection unit, and the first isolation circuit, and digitizes the first voltage detection result. And an analog-to-digital converter that directly outputs to the first isolation circuit .

本発明によれば、電気的に絶縁される測定対象物の電圧値を、高速かつ精度良く測定することができる。   According to the present invention, the voltage value of a measurement object that is electrically insulated can be measured at high speed and with high accuracy.

第1実施形態に係る電圧測定回路の構成例を示す図である。It is a figure which shows the structural example of the voltage measurement circuit which concerns on 1st Embodiment. 第1実施形態に係る制御部によって取得される第1電圧値及び第2電圧値の変化の一例を説明する図である。It is a figure explaining an example of the change of the 1st voltage value acquired by the control part concerning a 1st embodiment, and the 2nd voltage value. 第1実施形態に係る電圧測定回路に備えられた制御部の処理手順の一例を示すフローチャートであり、(A)は、測定値を取得するための測定値取得処理の一例を示し、(B)は、第2電圧値を補正するための補正値算出処理の一例を示すフローチャートである。第1実施形態に係る制御部の処理手順のフローチャートである。It is a flowchart which shows an example of the process sequence of the control part with which the voltage measurement circuit which concerns on 1st Embodiment was equipped, (A) shows an example of the measured value acquisition process for acquiring a measured value, (B) These are flowcharts which show an example of the correction value calculation process for correct | amending a 2nd voltage value. It is a flowchart of the process sequence of the control part which concerns on 1st Embodiment. 第2実施形態に係る電圧測定回路の構成例を示す図である。It is a figure which shows the structural example of the voltage measurement circuit which concerns on 2nd Embodiment. 第3実施形態に係る電圧測定回路の構成例を示す図である。It is a figure which shows the structural example of the voltage measurement circuit which concerns on 3rd Embodiment. 第3実施形態に係る制御部の処理手順のフローチャートである。It is a flowchart of the process sequence of the control part which concerns on 3rd Embodiment.

以下、図面を用いて本発明の実施形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<第1実施形態>
図1は、第1実施形態に係る電圧測定回路1の構成例を示す図である。図1に示すように、電圧測定回路1は、電圧検出部10、ADC(アナログ信号−デジタル信号変換器)11、第1アイソレーション回路12、第2アイソレーション回路13、バッファ増幅回路14、及び制御部15を備える。また、電圧検出部10は、第1分圧回路101及び第2分圧回路102を備える。制御部15は、記憶部151を備える。
<First Embodiment>
FIG. 1 is a diagram illustrating a configuration example of a voltage measurement circuit 1 according to the first embodiment. As shown in FIG. 1, the voltage measurement circuit 1 includes a voltage detection unit 10, an ADC (analog signal-digital signal converter) 11, a first isolation circuit 12, a second isolation circuit 13, a buffer amplifier circuit 14, and A control unit 15 is provided. The voltage detection unit 10 includes a first voltage dividing circuit 101 and a second voltage dividing circuit 102. The control unit 15 includes a storage unit 151.

制御部15は、2系統の回路を介して、測定対象の電圧(高電圧)を発生させるスイッチング電源装置の出力部と接続されている。第1系統21は、第1分圧回路101、ADC11、第1アイソレーション回路12を含む。第2系統22は、第2分圧回路102、第2アイソレーション回路13、バッファ増幅回路14を含む。電圧測定回路1の構成要素のうち、第1系統21において、測定対象側(第1アイソレーション回路12よりも上流側)に配置される高電圧側回路の要素(第1分圧回路101、ADC11)は、第1アイソレーション回路12により第1アイソレーション回路12よりも下流側である低電圧側回路の要素(制御部15)と電気的に絶縁されている。また、第2系統22において、測定対象側(第2アイソレーション回路13よりも上流側)に配置される高電圧側回路の要素(第2分圧回路102)は、第2アイソレーション回路13により第2アイソレーション回路13よりも下流側である低電圧側の回路要素(バッファ増幅回路14、制御部15)と電気的に絶縁されている。   The control unit 15 is connected to an output unit of a switching power supply device that generates a voltage to be measured (high voltage) through two systems of circuits. The first system 21 includes a first voltage dividing circuit 101, an ADC 11, and a first isolation circuit 12. The second system 22 includes a second voltage dividing circuit 102, a second isolation circuit 13, and a buffer amplifier circuit 14. Among the components of the voltage measurement circuit 1, in the first system 21, elements of the high voltage side circuit (the first voltage dividing circuit 101, the ADC 11) arranged on the measurement target side (upstream side of the first isolation circuit 12). ) Is electrically insulated from the element (control unit 15) of the low voltage side circuit which is downstream of the first isolation circuit 12 by the first isolation circuit 12. Further, in the second system 22, elements of the high voltage side circuit (second voltage dividing circuit 102) arranged on the measurement target side (upstream side of the second isolation circuit 13) are transmitted by the second isolation circuit 13. It is electrically insulated from the low-voltage circuit elements (buffer amplifier circuit 14 and control unit 15) on the downstream side of the second isolation circuit 13.

第1分圧回路101は、スイッチング電源装置の出力部から出力された電圧を分圧し、分圧して得られる第1電圧を第1電圧検出結果(アナログ値)としてADC11に出力する。第1分圧回路101は、例えば抵抗によって構成された分圧回路である。   The first voltage dividing circuit 101 divides the voltage output from the output unit of the switching power supply device, and outputs the first voltage obtained by dividing the voltage to the ADC 11 as a first voltage detection result (analog value). The first voltage dividing circuit 101 is a voltage dividing circuit configured by a resistor, for example.

ADC11は、第1分圧回路101から入力された第1電圧検出結果をアナログ値からデジタル値に変換し、変換したデジタル値を第1電圧値として第1アイソレーション回路12に出力する。また、ADC11は、デジタル値に変換するときに用いる基準電圧として、誤差の少ない基準電圧を用いた場合には、精度の良い測定値を得ることができる。   The ADC 11 converts the first voltage detection result input from the first voltage dividing circuit 101 from an analog value to a digital value, and outputs the converted digital value to the first isolation circuit 12 as a first voltage value. Further, the ADC 11 can obtain a highly accurate measurement value when a reference voltage with a small error is used as a reference voltage used when converting to a digital value.

第1アイソレーション回路12は、ADC11から入力された第1電圧値を高電圧側回路と低電圧側回路とが絶縁された状態で、制御部15に出力する。第1アイソレーション回路12は、例えばフォトカプラを含んで構成される。例えば、第1アイソレーション回路12は、フォトカプラによる絶縁機能を有するデジタルアイソレータである。   The first isolation circuit 12 outputs the first voltage value input from the ADC 11 to the control unit 15 in a state where the high voltage side circuit and the low voltage side circuit are insulated. The first isolation circuit 12 includes, for example, a photocoupler. For example, the first isolation circuit 12 is a digital isolator having an insulating function using a photocoupler.

第2分圧回路102は、スイッチング電源装置の出力部から出力された電圧を分圧し、分圧して得られる第2電圧を第2電圧検出結果として第2アイソレーション回路13に出力する。第2分圧回路102は、例えば抵抗によって構成された分圧回路である。第2分圧回路102の分圧比は、第1分圧回路101の分圧比と同じであってもよく、異なっていてもよい。   The second voltage dividing circuit 102 divides the voltage output from the output unit of the switching power supply device, and outputs the second voltage obtained by dividing the voltage to the second isolation circuit 13 as a second voltage detection result. The second voltage dividing circuit 102 is a voltage dividing circuit configured by a resistor, for example. The voltage dividing ratio of the second voltage dividing circuit 102 may be the same as or different from the voltage dividing ratio of the first voltage dividing circuit 101.

第2アイソレーション回路13は、第2分圧回路102から入力された第2電圧検出結果を高電圧側回路と低電圧側回路とが絶縁された状態で、バッファ増幅回路14に出力する。第2アイソレーション回路13は、例えばフォトカプラを含んで構成される。例えば、第2アイソレーション回路13は、フォトカプラによる絶縁機能を有するアイソレーションアンプである。ただし、この例に限定されず、第2アイソレーション回路13として例えばトランス結合方向のアイソレーションアンプを用いることもでき、絶縁機能と増幅機能を備えたことを限度として、第2アイソレーション回路13の構成は任意である。   The second isolation circuit 13 outputs the second voltage detection result input from the second voltage dividing circuit 102 to the buffer amplifier circuit 14 in a state where the high voltage side circuit and the low voltage side circuit are insulated. The second isolation circuit 13 includes a photocoupler, for example. For example, the second isolation circuit 13 is an isolation amplifier having an insulating function using a photocoupler. However, the present invention is not limited to this example. For example, an isolation amplifier in the transformer coupling direction can be used as the second isolation circuit 13, and the second isolation circuit 13 can be used as long as the isolation function and the amplification function are provided. The configuration is arbitrary.

バッファ増幅回路14は、第2アイソレーション回路13から入力された第2電圧検出結果を予め定められている電圧増幅率で増幅するバッファ回路である。なお、電圧増幅率は1であってもよい。また、バッファ増幅回路14は、第2アイソレーション回路13の出力特性が制御部15の入力特性と整合しない場合、第2アイソレーション回路13の出力電圧を制御部15の入力特性に適合する電圧に変換するためのものである。バッファ増幅回路14は、入力された第2電圧検出結果、または基準レベルを変換した第2電圧検出結果を制御部15に出力する。   The buffer amplifier circuit 14 is a buffer circuit that amplifies the second voltage detection result input from the second isolation circuit 13 with a predetermined voltage amplification factor. The voltage amplification factor may be 1. Further, when the output characteristic of the second isolation circuit 13 does not match the input characteristic of the control unit 15, the buffer amplifier circuit 14 sets the output voltage of the second isolation circuit 13 to a voltage that matches the input characteristic of the control unit 15. It is for conversion. The buffer amplifier circuit 14 outputs the input second voltage detection result or the second voltage detection result obtained by converting the reference level to the control unit 15.

制御部15は、第1アイソレーション回路12から入力された第1電圧値を第1時間間隔(以下、第1間隔と称す。)のタイミングで取得する。制御部15は、バッファ増幅回路14から入力された第2電圧検出結果を第1間隔より短い第2時間間隔(以下、第2間隔と称す。)のタイミングで取得する。第1実施形態では、第1間隔のタイミングとは、第1間隔を一周期として発生するタイミングを意味し、第2間隔のタイミングとは、第2間隔を一周期として発生するタイミングを意味する。このようなタイミングは、制御部15をマイコン等で構成した場合、マイコンの内部クロック等を用いて発生されるタイミングである。   The control unit 15 acquires the first voltage value input from the first isolation circuit 12 at the timing of the first time interval (hereinafter referred to as the first interval). The control unit 15 acquires the second voltage detection result input from the buffer amplifier circuit 14 at a timing of a second time interval (hereinafter referred to as a second interval) shorter than the first interval. In the first embodiment, the timing of the first interval means the timing that occurs with the first interval as one cycle, and the timing of the second interval means the timing that occurs with the second interval as one cycle. Such a timing is a timing generated using an internal clock or the like of the microcomputer when the control unit 15 is configured by a microcomputer or the like.

このように、第1実施形態の電圧測定回路1が備える測定系は、二重化されている。制御部15は、不図示のADCを有し、取得したアナログ値の第2電圧検出結果をデジタル値の第2電圧値に変換する。すなわち、制御部15は、第1間隔で第1系統21によって測定された第1電圧値を取得し、第2間隔で第2系統22によって測定された第2電圧値を取得する。また、制御部15は、第2電圧値と第1電圧値に基づいて補正値を算出し、算出した補正値を用いて第2電圧値を補正する。また、制御部15は、第1電圧値または補正された第2電圧値を測定値として取得する。なお、補正値の算出処理と測定値の取得処理については後述する。   Thus, the measurement system provided in the voltage measurement circuit 1 of the first embodiment is duplicated. The control unit 15 includes an ADC (not illustrated), and converts the acquired second voltage detection result of the analog value into a second voltage value of the digital value. That is, the control unit 15 acquires the first voltage value measured by the first system 21 at the first interval, and acquires the second voltage value measured by the second system 22 at the second interval. In addition, the control unit 15 calculates a correction value based on the second voltage value and the first voltage value, and corrects the second voltage value using the calculated correction value. Further, the control unit 15 acquires the first voltage value or the corrected second voltage value as a measurement value. The correction value calculation process and the measurement value acquisition process will be described later.

ここで、第1系統21によって測定された第1電圧値と、第2系統22によって測定された第2電圧値について、さらに説明する。
上述したように、第1系統21によって測定された第1電圧値は、高電圧側回路に配置されるADC11を介して測定された値である。第1分圧回路101の出力である第1電圧検出結果を高電圧側回路に配置されているADC11でデジタル値に変換しているため、第2系統22が制御部15で取り込むまでに経由する回路より、デジタル値に変換されるまでの回路数が少ない。このように、第1系統21では、測定に用いる回路が少ないため回路の公差も少ないので、少ない誤差で高精度に測定できる。しかしながら、ADC11による計測間隔は、内部の回路構成等の差や信号の伝送形態の違いによって第2アイソレーション回路13による計測間隔より長い。
Here, the first voltage value measured by the first system 21 and the second voltage value measured by the second system 22 will be further described.
As described above, the first voltage value measured by the first system 21 is a value measured via the ADC 11 arranged in the high voltage side circuit. Since the first voltage detection result, which is the output of the first voltage dividing circuit 101, is converted into a digital value by the ADC 11 arranged in the high voltage side circuit, the second system 22 passes through until the control unit 15 takes it in. The number of circuits until converted to a digital value is smaller than that of a circuit. As described above, in the first system 21, since the number of circuits used for measurement is small and the tolerance of the circuit is small, it is possible to measure with high accuracy with few errors. However, the measurement interval by the ADC 11 is longer than the measurement interval by the second isolation circuit 13 due to differences in internal circuit configuration and the like and differences in signal transmission form.

一方、第2電圧検出結果が制御部15に入力される間隔は、第2アイソレーション回路13が高速応答のアイソレーション回路であるため、ADC11より短い間隔である。しかしながら、第2系統22では、第2分圧回路102で分圧された第2電圧検出結果が、アナログ信号のまま第2アイソレーション回路13、バッファ増幅回路14を経て制御部15に入力される。そして、第2系統22では、測定に用いる回路が第1系統21より多く各回路の公差が加算されるため、誤差が第1系統21より多くなる。   On the other hand, the interval at which the second voltage detection result is input to the control unit 15 is shorter than the ADC 11 because the second isolation circuit 13 is a high-speed response isolation circuit. However, in the second system 22, the second voltage detection result divided by the second voltage dividing circuit 102 is input to the control unit 15 via the second isolation circuit 13 and the buffer amplifier circuit 14 as an analog signal. . In the second system 22, more circuits are used for measurement than in the first system 21, and the tolerance of each circuit is added.

図2は、第1実施形態に係る制御部15によって取得される第1電圧値及び第2電圧値の変化の一例を説明する図である。図2において、横軸はサンプリング時刻を表し、時刻t1〜t9はADC11におけるサンプリングタイミングを表す。縦軸は取得される電圧値を表す。また、波形g201は、第1間隔で取得された第1電圧値の変化を示す波形であり、波形g202は、第2間隔で取得された第2電圧値の変化を示す波形である。   FIG. 2 is a diagram illustrating an example of changes in the first voltage value and the second voltage value acquired by the control unit 15 according to the first embodiment. In FIG. 2, the horizontal axis represents the sampling time, and times t1 to t9 represent the sampling timing in the ADC 11. The vertical axis represents the acquired voltage value. The waveform g201 is a waveform indicating a change in the first voltage value acquired at the first interval, and the waveform g202 is a waveform indicating a change in the second voltage value acquired at the second interval.

制御部15は、第1系統からの第1電圧値を時刻t1〜t9のタイミング(第1間隔)で取得し、第2系統からの第2電圧値をADC11におけるサンプリングタイミングより短いタイミング(第2間隔)で取得する。制御部15は、第1間隔で取得した第1電圧値と、第2間隔で取得した第2電圧値とのうち少なくとも一方の値を用いて測定対象電圧の電圧値を測定する。例えば、制御部15は、第1電圧値が得られた場合に第1電圧値を測定結果として用い、第1電圧値が得られない期間及び第1間隔よりも早い計測間隔が必要な場合においては第2電圧値を測定結果として用いる。   The control unit 15 acquires the first voltage value from the first system at the timing (first interval) from time t1 to t9, and acquires the second voltage value from the second system at a timing (second timing) shorter than the sampling timing in the ADC 11. (Interval). The control unit 15 measures the voltage value of the measurement target voltage using at least one of the first voltage value acquired at the first interval and the second voltage value acquired at the second interval. For example, when the first voltage value is obtained, the control unit 15 uses the first voltage value as a measurement result, and when the first voltage value is not obtained and when a measurement interval faster than the first interval is required. Uses the second voltage value as the measurement result.

これにより、第1実施形態では、第1系統21の測定結果である第1電圧値が得られない期間においては、第2系統22から得られた測定結果である第2電圧値を用いることで高速に測定ができる。また、第1実施形態では、第1系統で得られた測定結果を用いることで第2系統単独よりも精度の良い測定結果が得られる。この結果、第1実施形態では、電気的に絶縁される測定対象物の電圧値を、高速かつ精度良く測定することができる。   Thereby, in 1st Embodiment, in the period when the 1st voltage value which is a measurement result of the 1st system 21 is not obtained, by using the 2nd voltage value which is the measurement result obtained from the 2nd system 22, High-speed measurement is possible. In the first embodiment, a measurement result with higher accuracy than that of the second system alone can be obtained by using the measurement result obtained by the first system. As a result, in the first embodiment, the voltage value of the measurement object to be electrically insulated can be measured at high speed and with high accuracy.

次に、電圧測定回路1の動作として、電圧測定回路1に備えられた制御部15の処理手順を説明する。ここでは、第1の動作例として、第1電圧値が得られた場合に第1電圧値を測定結果として用い、第1電圧値が得られない期間においては補正された第2電圧値を測定結果として用いる場合の処理手順を説明し、第2の動作例として、第1電圧値を補正値の算出にのみ使用し、補正値を用いて補正された第2電圧値を測定結果として用いる場合の処理手順を説明する。   Next, as an operation of the voltage measurement circuit 1, a processing procedure of the control unit 15 provided in the voltage measurement circuit 1 will be described. Here, as a first operation example, when the first voltage value is obtained, the first voltage value is used as a measurement result, and the corrected second voltage value is measured during a period in which the first voltage value is not obtained. A processing procedure when used as a result will be described, and as a second operation example, the first voltage value is used only for calculating a correction value, and the second voltage value corrected using the correction value is used as a measurement result The processing procedure of will be described.

(第1の動作例)
図3は、第1実施形態に係る電圧測定回路1に備えられた制御部15の処理手順の一例(第1の動作例)を示すフローチャートである。ここで、図3(A)は、測定値を取得するための測定値取得処理の一例を示し、図3(B)は、第2電圧値を補正するための補正値ΔVを算出するための補正値算出処理の一例を示すフローチャートである。
(First operation example)
FIG. 3 is a flowchart illustrating an example of a processing procedure (first operation example) of the control unit 15 provided in the voltage measurement circuit 1 according to the first embodiment. Here, FIG. 3A illustrates an example of a measurement value acquisition process for acquiring a measurement value, and FIG. 3B illustrates a correction value ΔV for correcting the second voltage value. It is a flowchart which shows an example of a correction value calculation process.

初期状態では(例えば、出荷時)、第2電圧値を補正するための補正値ΔVは初期値に設定されている。補正値ΔVの初期値は、例えば、上述の第1系統21と第2系統22の各構成要素の公差を考慮して算出された設計上の第1電圧値と第2電圧値との差分から決定され、記憶部151に格納されている。ただし、この例に限定されず、補正値ΔVの初期値は、この初期値による補正後の第2電圧値が第1電圧と著しく相違しないことを限度として任意に設定し得る。   In the initial state (for example, at the time of shipment), the correction value ΔV for correcting the second voltage value is set to an initial value. The initial value of the correction value ΔV is, for example, from the difference between the design first voltage value and the second voltage value calculated in consideration of the tolerances of the components of the first system 21 and the second system 22 described above. It is determined and stored in the storage unit 151. However, the present invention is not limited to this example, and the initial value of the correction value ΔV can be arbitrarily set as long as the second voltage value corrected by the initial value is not significantly different from the first voltage.

次に説明するように、第1の動作例では、制御部15は、図3(A)に示す測定値取得処理を定常的に実施することにより第1電圧値および第2電圧値を取得し、これらの電圧値から測定値を得る。制御部15は、上記の測定値取得処理を実施する過程で、図3(B)に示す補正値算出処理を割り込み処理として一定周期で実施する。   As will be described next, in the first operation example, the control unit 15 acquires the first voltage value and the second voltage value by regularly performing the measurement value acquisition process shown in FIG. The measurement value is obtained from these voltage values. In the course of performing the measurement value acquisition process, the control unit 15 performs the correction value calculation process shown in FIG.

ただし、この例に限定されず、測定値取得処理で取得される第2電圧値を補正することができることを限度として、補正値算出処理は任意のタイミングで実施し得る。例えば、制御部15は、測定対象となる電圧を発生させる装置(例えば電源装置)の起動時に補正値算出処理を実施してもよい。また、後述する第3実施形態で説明するように、制御部15は、電圧測定精度に影響を与える温度変化量が一定値を超えたときに補正値算出処理を実施してもよい。   However, the present invention is not limited to this example, and the correction value calculation process can be performed at an arbitrary timing as long as the second voltage value acquired in the measurement value acquisition process can be corrected. For example, the control unit 15 may perform a correction value calculation process when starting a device (for example, a power supply device) that generates a voltage to be measured. Further, as described in a third embodiment to be described later, the control unit 15 may perform the correction value calculation process when the temperature change amount that affects the voltage measurement accuracy exceeds a certain value.

まず、図3(A)を参照して測定値取得処理を説明する。
(ステップS111)制御部15は、最初に到来する第1間隔のタイミングで第1電圧値を取得する。
(ステップS112)制御部15は、取得した第1電圧値を測定値とする。即ち、この時点で、測定値は第1電圧値とされる。
(ステップS113)制御部15は、第1間隔のタイミングに続いて到来する第2間隔のタイミングで第2電圧値を取得する。
First, the measurement value acquisition process will be described with reference to FIG.
(Step S111) The control unit 15 acquires the first voltage value at the timing of the first interval that comes first.
(Step S112) The control unit 15 uses the acquired first voltage value as a measured value. That is, at this time, the measured value is the first voltage value.
(Step S113) The control unit 15 acquires the second voltage value at the timing of the second interval that comes after the timing of the first interval.

(ステップS114)制御部15は、取得した第2電圧値を補正値ΔVで補正する。この場合、後述の補正値算出処理が実施されていないので、制御部15は、補正値ΔVの初期値で第2電圧値を補正する。そして、制御部15は、補正値ΔVで補正された第2電圧値を測定値とする。即ち、この時点で、測定値は、補正値ΔVで補正された第2電圧とされる。 (Step S114) The controller 15 corrects the acquired second voltage value with the correction value ΔV. In this case, since the correction value calculation process described later is not performed, the control unit 15 corrects the second voltage value with the initial value of the correction value ΔV. Then, the control unit 15 sets the second voltage value corrected with the correction value ΔV as a measurement value. That is, at this time, the measured value is the second voltage corrected with the correction value ΔV.

ここで、補正値ΔVによる第2電圧値の補正は、例えば、制御部15が第2系統22の測定結果から第2間隔で第2電圧値を取得するときに用いるマップ(ルックアップテーブル)を書き替えることにより実施することができる。例えば、第2系統の測定結果に対応する第2電圧値として0〜4095のデジタル値を設定した場合、第2系統の測定結果と0〜4095のデジタル値との対応関係がマップに規定されている。この場合、補正値ΔVに相当する値だけ第2電圧値を示すデジタル値が増加または減少するようにマップを書き替えることにより、第2電圧値を補正値ΔVで補正することができる。   Here, the correction of the second voltage value by the correction value ΔV is, for example, a map (lookup table) used when the control unit 15 acquires the second voltage value at the second interval from the measurement result of the second system 22. It can be implemented by rewriting. For example, when a digital value of 0 to 4095 is set as the second voltage value corresponding to the measurement result of the second system, the correspondence relationship between the measurement result of the second system and the digital value of 0 to 4095 is defined in the map. Yes. In this case, the second voltage value can be corrected with the correction value ΔV by rewriting the map so that the digital value indicating the second voltage value increases or decreases by a value corresponding to the correction value ΔV.

(ステップS115)制御部15は、次の第1間隔のタイミングが到来したか否かを判定する。制御部15は、次の第1間隔のタイミングが到来していないと判定した場合(ステップS115;NO)、ステップS113に処理を戻し、次の第2間隔のタイミングで、前回と同様に、第2電圧値を取得し(ステップS113)、この第2電圧値を補正値ΔVで補正して測定値とする(ステップS114)。 (Step S115) The control unit 15 determines whether or not the timing of the next first interval has arrived. When it is determined that the timing of the next first interval has not arrived (step S115; NO), the control unit 15 returns the process to step S113, and at the timing of the next second interval, as in the previous time. Two voltage values are acquired (step S113), and the second voltage value is corrected with the correction value ΔV to obtain a measured value (step S114).

制御部15は、次の第1間隔のタイミングが到来するまで、第2間隔のタイミングで第2電圧値を繰り返し取得し、この第2電圧値を補正して得られる電圧値を測定値とする。制御部15は、次の第1間隔のタイミングが到来したと判定した場合(ステップS115;YES)、ステップS111に処理を戻し、上述したステップS111〜S115;YESを繰り返す。   The control unit 15 repeatedly acquires the second voltage value at the second interval timing until the next first interval timing arrives, and uses the voltage value obtained by correcting the second voltage value as the measurement value. . When it is determined that the timing of the next first interval has arrived (step S115; YES), the control unit 15 returns the process to step S111 and repeats the above-described steps S111 to S115; YES.

上述の測定値取得処理により、第1間隔のタイミングまたは第2間隔のタイミングが到来するたびに、測定値として、第1電圧値または補正された第2電圧値が得られる。ここで、第1間隔のタイミングで取得される第1電圧値は、測定精度に優れた第1系統の測定結果から取得された値であり、第2電圧値は、後述する補正値算出処理により算出された補正値ΔVを用いて補正された値であるから、測定値の精度を改善することが可能になる。   With the measurement value acquisition process described above, the first voltage value or the corrected second voltage value is obtained as the measurement value each time the first interval timing or the second interval timing arrives. Here, the 1st voltage value acquired at the timing of the 1st interval is a value acquired from the measurement result of the 1st system excellent in measurement accuracy, and the 2nd voltage value is obtained by correction value calculation processing mentioned below. Since the value is corrected using the calculated correction value ΔV, the accuracy of the measured value can be improved.

次に、図3(B)を参照して補正値算出処理を説明する。
(ステップS121)制御部15は、第1間隔のタイミングで、第1電圧値と第2電圧値の両方を取得する。取得した第1電圧値及び第2電圧値を記憶部151に取得した時刻と関連づけて記憶させる。
Next, correction value calculation processing will be described with reference to FIG.
(Step S121) The control unit 15 acquires both the first voltage value and the second voltage value at the timing of the first interval. The acquired first voltage value and second voltage value are stored in the storage unit 151 in association with the acquired time.

(ステップS122)制御部15は、記憶部151に記憶された第1電圧値および第2電圧値を時系列順に読み出し、所定の電圧値範囲内である第1電圧値及び第2電圧値がN(Nは2以上の自然数)回以上連続したか否かを判定する。制御部15は、所定の電圧値範囲内である第1電圧値及び第2電圧値がN回以上連続していないと判定した場合(ステップS112;NO)、ステップS121に処理を戻し、所定の電圧値範囲内である第1電圧値及び第2電圧値がN回以上連続するまで、ステップS121を繰り返す。 (Step S122) The control unit 15 reads the first voltage value and the second voltage value stored in the storage unit 151 in chronological order, and the first voltage value and the second voltage value within a predetermined voltage value range are N. It is determined whether (N is a natural number of 2 or more) times or more. When it is determined that the first voltage value and the second voltage value within the predetermined voltage value range are not consecutive N times or more (step S112; NO), the control unit 15 returns the process to step S121, Step S121 is repeated until the first voltage value and the second voltage value within the voltage value range continue N times or more.

なお、Nは、安定したデータが取得できていることが判定できるような回数を示す任意の値に設定される。即ち、Nは、第1系統21と第2系統22の信号伝達時間の違いが顕在化せず、第1電圧値によって示される測定対象電圧と第2電圧値によって示される測定対象電圧とが同じであることが判定できるような回数を示す値に設定される。   N is set to an arbitrary value indicating the number of times that it can be determined that stable data can be acquired. That is, in N, the difference in signal transmission time between the first system 21 and the second system 22 does not become obvious, and the measurement target voltage indicated by the first voltage value is the same as the measurement target voltage indicated by the second voltage value. Is set to a value indicating the number of times that it can be determined.

一方、制御部15は、所定の電圧値範囲内である第1電圧値及び第2電圧値がN回以上連続したと判定した場合(ステップS122;YES)、ステップS123に処理を進め、補正値ΔVを算出する。具体的には、制御部15は、ステップS121において取得されたN回分の第1電圧値のうち、少なくとも2つの第1電圧値を用いて平均値V1を算出する。また、制御部15は、ステップS121において取得されたN回分の第2電圧値のうち、少なくとも2つの第2電圧値を用いて平均値V2を算出する。そして、制御部15は、算出した平均値V1と平均値V2の差を算出し、算出した差を補正値ΔVとして記憶部151に記憶させる。
以上により、補正値算出処理が実施され、補正値ΔVが算出される。
On the other hand, when it is determined that the first voltage value and the second voltage value within the predetermined voltage value range have continued N times or more (step S122; YES), the control unit 15 advances the process to step S123 and corrects the correction value. ΔV is calculated. Specifically, the control unit 15 calculates the average value V1 using at least two first voltage values among the N first voltage values acquired in step S121. In addition, the control unit 15 calculates an average value V2 using at least two second voltage values among the N second voltage values acquired in step S121. Then, the control unit 15 calculates the difference between the calculated average value V1 and the average value V2, and stores the calculated difference in the storage unit 151 as the correction value ΔV.
As described above, the correction value calculation process is performed, and the correction value ΔV is calculated.

(第2の動作例)
次に、電圧測定回路1の第2の動作として、第1電圧値を補正値の算出にのみ使用し、補正値ΔVを用いて補正された第2電圧値を測定結果として用いる場合の処理手順を説明する。第2の動作例では、上述の図3(A)の測定値取得処理において、ステップS113,S114のみが実施され、他のステップS111,S112,S115は省略される。即ち、第2の動作例では、制御部15は、第2間隔のタイミングで指定される一定周期で第2電圧値を取得し、第2電圧値を補正値ΔVで補正して測定値とする。従って、第2間隔のタイミングが到来するたびに、制御部15は、補正値ΔVで補正された第2電圧値を測定値として得る。その他は第1の動作例と同様であり、補正値算出処理も同様である。
(Second operation example)
Next, as a second operation of the voltage measurement circuit 1, a processing procedure when the first voltage value is used only for calculating the correction value and the second voltage value corrected using the correction value ΔV is used as the measurement result. Will be explained. In the second operation example, in the measurement value acquisition process of FIG. 3A described above, only steps S113 and S114 are performed, and the other steps S111, S112, and S115 are omitted. That is, in the second operation example, the control unit 15 acquires the second voltage value at a constant period designated at the timing of the second interval, and corrects the second voltage value with the correction value ΔV to obtain a measured value. . Therefore, every time the timing of the second interval arrives, the control unit 15 obtains the second voltage value corrected with the correction value ΔV as a measured value. Others are the same as in the first operation example, and the correction value calculation processing is also the same.

次に、制御部15が行う具体的な補正値算出処理の一例について、図2を参照して説明する。第2間隔が、例えば第1間隔に相当する時刻t1から時刻t2までの時間Tを10等分した間隔T/10であるとして、以下の具体例を説明する。
制御部15は、時刻t1、t2、・・の第1間隔のタイミングで第1電圧値及び第2電圧値を取得する。また、制御部15は、時刻t1+T/10、t1+2T/10、・・・、t2+T/10、・・・、t2+9T/10の第2間隔のタイミングで第2電圧値を取得する。
Next, an example of a specific correction value calculation process performed by the control unit 15 will be described with reference to FIG. The following specific example will be described assuming that the second interval is, for example, an interval T / 10 obtained by dividing time T from time t1 to time t2 corresponding to the first interval into ten equal parts.
The control unit 15 acquires the first voltage value and the second voltage value at the timing of the first interval between times t1, t2,. Moreover, the control part 15 acquires a 2nd voltage value at the timing of the 2nd space | interval of time t1 + T / 10, t1 + 2T / 10, ..., t2 + T / 10, ..., t2 + 9T / 10.

そして、制御部15は、第1間隔の時刻t1、t2、及びt3のタイミングで第1電圧値及び第2電圧値を取得したのち、取得した第1電圧値及び第2電圧値それぞれが所定の範囲内であるか否かを判定する。時刻t1、t2、及びt3のタイミングで取得した第1電圧値及び第2電圧値それぞれが所定の範囲内であれば、制御部15は、第1電圧値の平均値V1に対する第2電圧値の平均値V2の差を補正値ΔVとして記憶部151に記憶させる。
時刻t3以後、制御部15は、第1間隔のタイミングで第1電圧値を測定値とし、第1間隔のタイミングと一致する第2間隔のタイミングを除き、第2間隔のタイミングで、第2電圧を補正値ΔVで補正した値を測定値とする。
Then, the control unit 15 acquires the first voltage value and the second voltage value at timings t1, t2, and t3 of the first interval, and then the acquired first voltage value and second voltage value are predetermined. It is determined whether it is within the range. If each of the first voltage value and the second voltage value acquired at the timings t1, t2, and t3 is within a predetermined range, the control unit 15 sets the second voltage value relative to the average value V1 of the first voltage value. The difference of the average value V2 is stored in the storage unit 151 as the correction value ΔV.
After time t3, the control unit 15 takes the first voltage value as a measurement value at the timing of the first interval, and excludes the second voltage at the timing of the second interval except for the timing of the second interval that matches the timing of the first interval. A value obtained by correcting the value with the correction value ΔV is taken as a measured value.

なお、制御部15は、第1間隔のタイミングで取得した電圧値が変化していない回数がN回連続したことを検出するたびに補正値算出処理を実施し、補正値を更新するようにしてもよい。これにより、補正値を更新できるので、第2間隔のときに行う測定値の精度を高精度に保つことができる。
また、制御部15は、上述した第2の動作例のように、補正値を取得した後、第1間隔のとき第1電圧値を取得せず第2電圧値を取得し、取得した第2電圧値を記憶部151に記憶させた補正値で補正した値を測定値とするようにしてもよい。この場合、補正値を算出した後にADC11への電圧の供給を停止することで、電圧測定回路1の消費電力を削減できる効果が得られる。
The controller 15 performs the correction value calculation process every time it detects that the number of times the voltage value acquired at the timing of the first interval has not changed is N times, and updates the correction value. Also good. Thereby, since the correction value can be updated, the accuracy of the measurement value performed at the second interval can be kept high.
Further, as in the second operation example described above, the control unit 15 acquires the correction value, acquires the second voltage value without acquiring the first voltage value at the first interval, and acquires the acquired second voltage value. A value obtained by correcting the voltage value with the correction value stored in the storage unit 151 may be used as the measurement value. In this case, an effect of reducing the power consumption of the voltage measurement circuit 1 can be obtained by stopping the supply of the voltage to the ADC 11 after calculating the correction value.

なお、図2に示した例では、時刻t3になるまで補正値が算出されない。このような場合、制御部15は、電圧測定回路1の起動時、測定結果がまだ得られていないため補正値が算出されていない。このため、制御部15は、過去に電圧値を測定した際に記憶部151に記憶させた補正値を用いて第2電圧値を補正するようにしてもよい。これにより、起動時においても、測定精度を向上させることができる。なお、補正値が記憶部151に記憶されていない場合、制御部15は、出荷時に記憶部151に記憶された初期値を補正値として用い、補正値が算出できたのち、算出した補正値を用いて補正するようにしてもよい。   In the example shown in FIG. 2, the correction value is not calculated until time t3. In such a case, when the voltage measurement circuit 1 is activated, the control unit 15 has not yet obtained a measurement result, and thus no correction value has been calculated. For this reason, the control unit 15 may correct the second voltage value using the correction value stored in the storage unit 151 when the voltage value is measured in the past. Thereby, measurement accuracy can be improved even at the time of starting. When the correction value is not stored in the storage unit 151, the control unit 15 uses the initial value stored in the storage unit 151 at the time of shipment as the correction value, and after calculating the correction value, uses the calculated correction value. You may make it correct | amend using.

次に、制御部15が行う故障検出について説明する。
ここでは、制御部15は、上述した測定値取得処理と補正値算出処理のほか、第1系統21および第2系統22の故障を検出するための処理を実施する。
図1で説明したように、第1実施形態の電圧測定回路1では、第1系統21と第2系統22を有しているため測定系統が二重化されている。これにより、制御部15は、第1間隔のタイミングのとき第1電圧値及び第2電圧値を取得でき、第2間隔のタイミングのとき第2電圧値を取得できる。
Next, failure detection performed by the control unit 15 will be described.
Here, in addition to the above-described measurement value acquisition process and correction value calculation process, the control unit 15 performs a process for detecting a failure in the first system 21 and the second system 22.
As described with reference to FIG. 1, the voltage measurement circuit 1 according to the first embodiment includes the first system 21 and the second system 22, and thus the measurement system is duplicated. Thereby, the control unit 15 can acquire the first voltage value and the second voltage value at the timing of the first interval, and can acquire the second voltage value at the timing of the second interval.

仮に、第1系統21が故障している場合、制御部15は、第1間隔のタイミングのとき第2電圧値のみを取得でき、第1電圧を取得できない。または、例えば回路がショートしている故障の場合、第1電圧値がショートしたときの電圧値となるので、制御部15は、第2電圧値と異なる電圧値を取得することになる。このため、制御部15は、第1間隔で第1電圧値及び第2電圧値が両方とも取得できているか確認し、取得した値同士を比較する。比較した結果、第1電圧値と第2電圧値との電圧差または電圧比が、所定の値以上の場合、制御部15は、電圧検出部10に故障が発生していると判定する。さらに、制御部15は、予め定められた期間、第1電圧値と第2電圧値の変化を監視し、一方の電圧値が変化し、他方が変化していない場合、変化していない系統に故障が発生していると判定する。   If the first system 21 is out of order, the control unit 15 can acquire only the second voltage value at the timing of the first interval, and cannot acquire the first voltage. Alternatively, for example, in the case of a failure in which the circuit is short-circuited, the first voltage value becomes the voltage value when short-circuited, and therefore the control unit 15 acquires a voltage value different from the second voltage value. For this reason, the control part 15 confirms whether both the 1st voltage value and the 2nd voltage value have been acquired at the 1st space | interval, and compares the acquired values. As a result of the comparison, if the voltage difference or voltage ratio between the first voltage value and the second voltage value is equal to or greater than a predetermined value, the control unit 15 determines that a failure has occurred in the voltage detection unit 10. Further, the control unit 15 monitors the change of the first voltage value and the second voltage value for a predetermined period. When one voltage value changes and the other does not change, It is determined that a failure has occurred.

なお、制御部15は、図2で説明した例のように、第1系統21と第2系統22との間の測定値を取得できるまでの時間に遅延が発生する場合、この遅延も考慮して監視を行う。例えば、遅延が図2に示した例のように時刻(t5−t3)の場合、図3(B)で説明したように、N回分の第1電圧値と第2電圧値を監視することで、第1電圧値が変化しておらず、かつ第2電圧値も変化してない電圧が安定している期間であると見なせる。これにより、第1系統21と第2系統22との間に、信号伝達時間(遅延量)の違いがあっても、この信号伝達時間の違いを考慮して補正を行うことができるので、高精度な測定を行うことができる。   Note that, as in the example described with reference to FIG. 2, the control unit 15 takes this delay into account when a delay occurs until the measurement value between the first system 21 and the second system 22 can be acquired. To monitor. For example, when the delay is time (t5-t3) as in the example shown in FIG. 2, as described in FIG. 3B, the first voltage value and the second voltage value for N times are monitored. It can be considered that the voltage during which the first voltage value does not change and the second voltage value does not change is stable. Thereby, even if there is a difference in signal transmission time (delay amount) between the first system 21 and the second system 22, correction can be performed in consideration of the difference in the signal transmission time. Accurate measurement can be performed.

また、制御部15は、予め定められている期間、第1電圧値または第2電圧値のいずれかが取得できない場合、取得できない系統に故障が発生していると判定する。なお、予め定められている期間とは、例えば1秒間である。
制御部15は、故障が発生していると判定した場合、制御部15に接続される不図示の報知部に報知することで、電圧測定回路1の利用者に報知するようにしてもよい。また、制御部15は、一方に故障が生じたことを検知した場合、故障が発生していない系統の電圧値のみを測定して測定値として用いるようにしてもよい。
Moreover, the control part 15 determines with the failure having generate | occur | produced in the system which cannot be acquired, when either a 1st voltage value or a 2nd voltage value cannot be acquired for a predetermined period. The predetermined period is, for example, 1 second.
When it is determined that a failure has occurred, the control unit 15 may notify the user of the voltage measurement circuit 1 by notifying a not-shown notification unit connected to the control unit 15. Further, when detecting that a failure has occurred on one side, the control unit 15 may measure only the voltage value of the system in which no failure has occurred and use it as a measurement value.

以上のように、第1実施形態の電圧測定回路1は、測定対象の電圧を検出し、電圧を第1電圧検出結果および第2電圧検出結果として出力する電圧検出部10と、第1電圧検出結果に対応する第1電圧値を第1間隔で取得し、第2電圧検出結果に対応する第2電圧値を第1間隔より短い第2間隔で取得し、第1電圧値と第2電圧値とに基づいて測定対象の電圧値を測定する制御部15と、電圧検出部と制御部との間に設けられ、電圧検出部と制御部との間を電気的に絶縁し、第1電圧検出結果を第1電圧値として出力する第1アイソレーション回路12と、第1アイソレーション回路とは異なる系統であり、電圧検出部と制御部との間に設けられ、電圧検出部と制御部との間を電気的に絶縁し、第2電圧検出結果を第2電圧値として出力する第2アイソレーション回路13と、を備える。   As described above, the voltage measurement circuit 1 according to the first embodiment detects the voltage to be measured, outputs the voltage as the first voltage detection result and the second voltage detection result, and the first voltage detection. A first voltage value corresponding to the result is obtained at a first interval, a second voltage value corresponding to the second voltage detection result is obtained at a second interval shorter than the first interval, and the first voltage value and the second voltage value are obtained. Is provided between the voltage detection unit and the control unit, and the voltage detection unit and the control unit are electrically insulated from each other, and the first voltage detection is performed. The first isolation circuit 12 that outputs the result as a first voltage value is different from the first isolation circuit, and is provided between the voltage detection unit and the control unit. The second voltage detection result is output as the second voltage value by electrically insulating between the two It comprises two isolation circuit 13, a.

この構成によって、第1実施形態の電圧測定回路1によれば、第1間隔のとき、電気的に絶縁された第1電圧値を測定値とし、第2間隔のとき、電気的に絶縁された第2電圧値を測定値とすることで、電気的に絶縁される測定対象物の電圧値を、高速かつ精度良く測定、すなわち、第2電圧値を得ることで高速に測定することができ、第1電圧値を得ることで精度良く測定することができる。   With this configuration, according to the voltage measurement circuit 1 of the first embodiment, the first voltage value that is electrically insulated at the first interval is the measurement value, and the voltage measurement circuit 1 is electrically insulated at the second interval. By using the second voltage value as the measurement value, the voltage value of the measurement object to be electrically insulated can be measured quickly and accurately, that is, by obtaining the second voltage value, the measurement can be performed at high speed. By obtaining the first voltage value, it is possible to measure with high accuracy.

また、この構成によって、第1実施形態では、第1電圧値の取得できるタイミングが、ADC11の性能等によって第2の間隔より長い場合であっても、第1系統21で測定できない期間、第2系統22を用いて第2電圧値を取得できる。この結果、第1実施形態では、第1の間隔においては第1電圧値を取得でき、第1電圧値を取得できない期間において、第2間隔のときに取得した第2電圧値を取得できるので、精度良く測定することができる。   Further, according to this configuration, in the first embodiment, even when the timing at which the first voltage value can be acquired is longer than the second interval due to the performance of the ADC 11 or the like, The second voltage value can be acquired using the system 22. As a result, in the first embodiment, the first voltage value can be acquired in the first interval, and the second voltage value acquired at the second interval can be acquired in the period in which the first voltage value cannot be acquired. It can measure with high accuracy.

さらに第1実施形態では、第2間隔で取得された第2電圧値を、第1間隔で取得された第1電圧値に基づいて補正することで、測定対象の電圧値を測定する。上述したように、第1電圧値の精度は、第2電圧値より高い。このため、第1系統21に用いる回路(第1分圧回路101、ADC11、及び第1アイソレーション回路12)に温度特性の良い回路及び部品を使用し、第2系統22に用いる回路(第2分圧回路102、第2アイソレーション回路13、及びバッファ増幅回路14)には、第1系統21に用いる回路より温度特性の低いものを用いてもよい。これにより、第2系統22に用いる回路のコストを低減することができ、電圧測定回路1のコストの上昇を抑制することができる。   Furthermore, in 1st Embodiment, the voltage value of a measuring object is measured by correct | amending the 2nd voltage value acquired by the 2nd space | interval based on the 1st voltage value acquired by the 1st space | interval. As described above, the accuracy of the first voltage value is higher than that of the second voltage value. For this reason, circuits and components having good temperature characteristics are used for the circuits used in the first system 21 (the first voltage dividing circuit 101, the ADC 11, and the first isolation circuit 12), and the circuits used in the second system 22 (second circuit). As the voltage dividing circuit 102, the second isolation circuit 13, and the buffer amplifier circuit 14), one having a temperature characteristic lower than that of the circuit used for the first system 21 may be used. Thereby, the cost of the circuit used for the 2nd system | strain 22 can be reduced, and the raise of the cost of the voltage measurement circuit 1 can be suppressed.

また、この構成によって、第1実施形態によれば、第2系統22の回路の公差による誤差が発生する場合であっても、第2電圧値を、精度の良い第1電圧値を用いて算出した補正値によって補正することによって、精度良く測定することができる。   Further, according to this configuration, according to the first embodiment, even if an error due to the tolerance of the circuit of the second system 22 occurs, the second voltage value is calculated using the accurate first voltage value. By correcting with the corrected value, measurement can be performed with high accuracy.

また、第1実施形態によれば、第2電圧値を、補正値を用いて補正することができるので、温度特性による変化が生じても、電圧測定回路1によって測定値を補正することができる。このように、第1実施形態によれば、例えば電圧測定回路1の製造時に電圧測定回路1の第2系統22に用いる回路の温度特性による誤差等を測定することが不要になる。この結果、第1実施形態によれば、電圧測定回路1の製造時の検査工数等も削減できる効果が得られる。   Further, according to the first embodiment, since the second voltage value can be corrected using the correction value, the voltage measurement circuit 1 can correct the measurement value even if a change due to the temperature characteristic occurs. . As described above, according to the first embodiment, it is not necessary to measure an error or the like due to a temperature characteristic of a circuit used for the second system 22 of the voltage measurement circuit 1 when the voltage measurement circuit 1 is manufactured. As a result, according to the first embodiment, it is possible to reduce the number of inspection steps when the voltage measuring circuit 1 is manufactured.

さらに、第1実施形態によれば、電圧検出部10が第1分圧回路101と第2分圧回路102を備えているので、制御部15は、第1系統21または第2系統22のいずれか一方に故障が生じたことを検知することができる。   Furthermore, according to the first embodiment, since the voltage detection unit 10 includes the first voltage dividing circuit 101 and the second voltage dividing circuit 102, the control unit 15 can select either the first system 21 or the second system 22. It is possible to detect that a failure has occurred on either side.

<第2実施形態>
図4は、第2実施形態に係る電圧測定回路1Aの構成例を示す図である。図4に示すように、電圧測定回路1Aは、電圧検出部10A、ADC11、第1アイソレーション回路12、第2アイソレーション回路13、バッファ増幅回路14、及び制御部15を備える。また、電圧検出部10Aは、第1分圧回路101Aを備える。制御部15は、記憶部151を備える。なお、第1実施形態で説明した電圧測定回路1と同様の機能を有する構成には同じ符号を用いて説明を省略する。
Second Embodiment
FIG. 4 is a diagram illustrating a configuration example of the voltage measurement circuit 1A according to the second embodiment. As illustrated in FIG. 4, the voltage measurement circuit 1A includes a voltage detection unit 10A, an ADC 11, a first isolation circuit 12, a second isolation circuit 13, a buffer amplification circuit 14, and a control unit 15. In addition, the voltage detection unit 10A includes a first voltage dividing circuit 101A. The control unit 15 includes a storage unit 151. In addition, the same code | symbol is used for the structure which has a function similar to the voltage measurement circuit 1 demonstrated in 1st Embodiment, and description is abbreviate | omitted.

制御部15は、2系統の回路を介して、測定対象の電圧(高電圧)を発生させるスイッチング電源装置の出力部と接続されている。第1系統21は、第1分圧回路101A、ADC11、第1アイソレーション回路12を含む。第2系統22Aは、第1分圧回路101A、第2アイソレーション回路13、バッファ増幅回路14を含む。電圧測定回路1Aの構成要素のうち、測定対象側に配置される高電圧側回路の要素(第1分圧回路101A、ADC11)は、第1アイソレーション回路12により低電圧側回路の要素(制御部15)と電気的に絶縁されている。また、測定対象側に配置される高電圧側回路の要素(第1分圧回路101A)は、第2アイソレーション回路13により低電圧側の回路要素(バッファ増幅回路14、制御部15)と電気的に絶縁されている。   The control unit 15 is connected to an output unit of a switching power supply device that generates a voltage to be measured (high voltage) through two systems of circuits. The first system 21 includes a first voltage dividing circuit 101 </ b> A, an ADC 11, and a first isolation circuit 12. The second system 22A includes a first voltage dividing circuit 101A, a second isolation circuit 13, and a buffer amplifier circuit 14. Among the components of the voltage measurement circuit 1A, the elements of the high voltage side circuit (first voltage dividing circuit 101A, ADC11) arranged on the measurement target side are controlled by the first isolation circuit 12 (elements of the low voltage side circuit (control)). Part 15) and electrically insulated. Further, the high-voltage side circuit element (first voltage dividing circuit 101A) arranged on the measurement target side is electrically connected to the low-voltage side circuit elements (buffer amplifier circuit 14, control unit 15) by the second isolation circuit 13. Is electrically insulated.

第1分圧回路101Aは、スイッチング電源装置の出力部から入力された電圧を分圧し、分圧した電圧を第1電圧検出結果としてADC11に出力し、分圧した電圧を第2電圧検出結果として第2アイソレーション回路13に出力する。
第2アイソレーション回路13は、第1分圧回路101Aから入力された第2電圧検出結果を高電圧側回路と低電圧側回路とを絶縁して、バッファ増幅回路14に出力する。
The first voltage dividing circuit 101A divides the voltage input from the output unit of the switching power supply device, outputs the divided voltage to the ADC 11 as the first voltage detection result, and the divided voltage as the second voltage detection result. Output to the second isolation circuit 13.
The second isolation circuit 13 outputs the second voltage detection result input from the first voltage dividing circuit 101 </ b> A to the buffer amplifier circuit 14 while insulating the high voltage side circuit from the low voltage side circuit.

制御部15が行う処理は、第1実施形態と同様であるため、説明を省略する。
第1実施形態で説明した電圧測定回路1と電圧測定回路1Aとの差異は、第1系統21と第2系統22のそれぞれが分圧回路を設けるか、1つの分圧回路を共有するかの点である。ここで、第2実施形態においても、制御部15は、第1系統21、第2系統22Aの第1分圧回路101A以外の回路に故障が生じた場合には、これらの故障が発生したことを検知できる。そして、制御部15は、故障が発生していない系統の電圧値のみを測定して測定値として用いることで、測定を継続することができる。
Since the process performed by the control unit 15 is the same as that of the first embodiment, the description thereof is omitted.
The difference between the voltage measurement circuit 1 and the voltage measurement circuit 1A described in the first embodiment is that each of the first system 21 and the second system 22 is provided with a voltage divider circuit or shares one voltage divider circuit. Is a point. Here, also in the second embodiment, when the control unit 15 fails in a circuit other than the first voltage dividing circuit 101A of the first system 21 and the second system 22A, the failure has occurred. Can be detected. And the control part 15 can continue a measurement by measuring only the voltage value of the system | strain which has not failed and using it as a measured value.

この構成によって、第2実施形態の電圧測定回路1Aによれば、第1間隔のとき、電気的に絶縁された第1電圧値を測定値とし、第2間隔のとき、電気的に絶縁された第2電圧値を測定値とすることで、電気的に絶縁される測定対象物の電圧値を、高速かつ精度良く測定することができる。
また、第2実施形態においても、第1間隔で取得された高精度の測定値を用いて、第2間隔で高速に測定された測定値を補正できる。これにより、第2実施形態によれば、測定対象の電圧値を高精度かつ高速に測定することができる。
With this configuration, according to the voltage measurement circuit 1A of the second embodiment, the first voltage value that is electrically insulated at the first interval is the measured value, and the voltage measurement circuit 1A is electrically insulated at the second interval. By using the second voltage value as the measurement value, the voltage value of the measurement object to be electrically insulated can be measured at high speed and with high accuracy.
Also in the second embodiment, it is possible to correct measurement values measured at high speeds at the second interval using high-precision measurement values acquired at the first interval. Thereby, according to 2nd Embodiment, the voltage value of a measuring object can be measured with high precision and high speed.

<第3実施形態>
図5は、第3実施形態に係る電圧測定回路1Bの構成例を示す図である。図5に示すように、電圧測定回路1Bは、電圧検出部10、ADC11、第1アイソレーション回路12、第2アイソレーション回路13、バッファ増幅回路14、制御部15B、及び温度センサ16を備える。また、電圧検出部10は、第1分圧回路101及び第2分圧回路102を備える。制御部15は、記憶部151を備える。なお、第1実施形態で説明した電圧測定回路1と同様の機能を有する構成には同じ符号を用いて説明を省略する。
<Third Embodiment>
FIG. 5 is a diagram illustrating a configuration example of the voltage measurement circuit 1B according to the third embodiment. As shown in FIG. 5, the voltage measurement circuit 1 </ b> B includes a voltage detection unit 10, an ADC 11, a first isolation circuit 12, a second isolation circuit 13, a buffer amplification circuit 14, a control unit 15 </ b> B, and a temperature sensor 16. The voltage detection unit 10 includes a first voltage dividing circuit 101 and a second voltage dividing circuit 102. The control unit 15 includes a storage unit 151. In addition, the same code | symbol is used for the structure which has a function similar to the voltage measurement circuit 1 demonstrated in 1st Embodiment, and description is abbreviate | omitted.

第1実施形態及び第2実施形態では、所定の範囲内の電圧値が取得できたときに補正値を算出する例を説明した。このような補正値の算出は、所定の範囲内の電圧値が取得できたとき毎に行うことで、より精度の良い測定ができるが、測定に要する消費電力も要する。また、補正値は、温度が変化しない場合、大きく変化しない場合もある。このため、第3実施形態では、温度センサ16によって得られた検出結果に応じて、制御部15Bが補正値を算出する例を説明する。   In the first embodiment and the second embodiment, the example in which the correction value is calculated when the voltage value within the predetermined range can be acquired has been described. Such calculation of the correction value is performed every time a voltage value within a predetermined range can be acquired, so that more accurate measurement can be performed, but power consumption required for the measurement is also required. Further, the correction value may not change greatly when the temperature does not change. For this reason, in the third embodiment, an example will be described in which the control unit 15B calculates the correction value according to the detection result obtained by the temperature sensor 16.

温度センサ16は、電圧測定回路1B内に取り付けられている。温度センサ16は、電圧測定回路1B内の温度を測定し、測定した温度を表す情報を温度情報として制御部15Bに出力する。なお、温度センサ16は、温度によって測定値に誤差が生じやすい回路部の近くに取り付けられていてもよい。   The temperature sensor 16 is attached in the voltage measurement circuit 1B. The temperature sensor 16 measures the temperature in the voltage measurement circuit 1B and outputs information representing the measured temperature to the control unit 15B as temperature information. In addition, the temperature sensor 16 may be attached near the circuit unit in which an error is likely to occur in the measurement value depending on the temperature.

制御部15Bは、温度センサ16から入力された温度情報を取得する。なお、温度情報を取得するタイミングは、第1間隔または第2間隔と同じタイミングであってもよく、異なっていてもよい。また、温度情報を取得するタイミングは、例えば1秒毎、1分毎等の所定の時間間隔であってもよい。また、制御部15Bは、第1電圧値を第1間隔で取得する。制御部15Bは、第1間隔より短い第2間隔で第2電圧検出結果を取得し、取得した第2電圧検出結果(アナログ値)を第2電圧値(デジタル値)に変換する。制御部15Bは、所定の期間において取得した前記温度情報によって表される温度が基準範囲外である場合に、温度が変化したと判定して補正値を算出する。   The control unit 15B acquires the temperature information input from the temperature sensor 16. In addition, the timing which acquires temperature information may be the same timing as a 1st space | interval or a 2nd space | interval, and may differ. Moreover, the timing which acquires temperature information may be predetermined time intervals, such as every 1 second and every 1 minute, for example. Further, the control unit 15B acquires the first voltage value at the first interval. The control unit 15B acquires the second voltage detection result at a second interval shorter than the first interval, and converts the acquired second voltage detection result (analog value) into a second voltage value (digital value). The control unit 15B determines that the temperature has changed and calculates a correction value when the temperature represented by the temperature information acquired in a predetermined period is outside the reference range.

より具体的に、制御部15Bは、予め定められている期間、温度情報を取得し、取得した温度情報の中から最大値と最小値とを抽出する。制御部15Bは、抽出した最大値を最小値との差が所定の値以上である場合に温度が変化したと判定し差が所定の値未満である場合に温度が変化していないと判定する。そして、制御部15Bは、温度が変化していると判定した場合、補正値を算出し直して、算出した補正値を記憶部151に記憶させる。予め定められている期間とは、例えば1分であり、所定の値のとは、例えば10度である。例えば、制御部15Bは、1分間に得られた温度の最大値と最小値との差が10度以上の場合、温度が変化したと判定して補正値を再算出し、1分間に得られた温度の最大値と最小値との差が10度未満の場合、温度が変化していないと判定して補正値を算出しない。 More specifically, the control unit 15B acquires temperature information for a predetermined period, and extracts a maximum value and a minimum value from the acquired temperature information. The control unit 15B determines that the temperature has changed when the difference between the extracted maximum value and the minimum value is greater than or equal to a predetermined value, and determines that the temperature has not changed when the difference is less than the predetermined value. . If the control unit 15B determines that the temperature is changing, the control unit 15B recalculates the correction value and causes the storage unit 151 to store the calculated correction value. The predetermined period is, for example, 1 minute, and the predetermined value is, for example, 10 degrees. For example, when the difference between the maximum value and the minimum value of the temperature obtained in 1 minute is 10 degrees or more, the control unit 15B determines that the temperature has changed, recalculates the correction value, and is obtained in 1 minute. If the difference between the maximum value and the minimum value of the temperature is less than 10 degrees, it is determined that the temperature has not changed, and the correction value is not calculated.

次に、制御部15Bが行う処理の一例について説明する。図6は、第3実施形態に係る制御部15Bの処理手順のフローチャートであり、補正値を算出するための処理フローを示す。図6において、ステップS204による補正値算出処理は、前述の第1実施形態の図3(B)に示すステップS121〜S123による補正値算出処理と同一である。従って、第3実施形態による補正値を算出するための処理は、第1実施形態の補正値算出処理に、図6に示すステップS201、S202、S203を付け加えた処理に相当する。   Next, an example of processing performed by the control unit 15B will be described. FIG. 6 is a flowchart of a processing procedure of the control unit 15B according to the third embodiment, and shows a processing flow for calculating a correction value. In FIG. 6, the correction value calculation process in step S204 is the same as the correction value calculation process in steps S121 to S123 shown in FIG. 3B of the first embodiment described above. Therefore, the process for calculating the correction value according to the third embodiment corresponds to a process in which steps S201, S202, and S203 shown in FIG. 6 are added to the correction value calculation process of the first embodiment.

図6に示すフローを説明する。
(ステップS201)制御部15Bは、温度センサ16から入力された温度情報を取得する。
(ステップS202)制御部15Bは、予め定められている期間が経過したか否かを判定する。制御部15Bは、予め定められている期間が経過したと判定した場合(ステップS202;YES)、ステップS203に処理を進め、予め定められている期間が経過していないと判定した場合(ステップS202;NO)、ステップS201に処理を戻す。
The flow shown in FIG. 6 will be described.
(Step S <b> 201) The control unit 15 </ b> B acquires temperature information input from the temperature sensor 16.
(Step S202) The control unit 15B determines whether or not a predetermined period has elapsed. When it is determined that the predetermined period has elapsed (step S202; YES), the control unit 15B proceeds to step S203, and when it is determined that the predetermined period has not elapsed (step S202). NO), the process returns to step S201.

(ステップS203)制御部15Bは、予め定められている期間に取得した温度情報から最大値と最小値を抽出し、抽出した最大値を最小値との差が所定の範囲以上であるか否かを判定する。制御部15Bは、差が所定の範囲以上である場合、温度が変化したと判定し(ステップS203;YES)、ステップS204に処理を進め、差が所定の範囲未満である場合、温度が変化していないと判定し(ステップS203;NO)、ステップS201に処理を戻す。
(ステップS204)制御部15Bは、前述した第1実施形態と同様に、図3(B)に示すステップS121〜S123を実施し、補正値ΔVを算出する。
(Step S203) The control unit 15B extracts the maximum value and the minimum value from the temperature information acquired during a predetermined period, and whether or not the difference between the extracted maximum value and the minimum value is equal to or greater than a predetermined range. Determine. The controller 15B determines that the temperature has changed when the difference is greater than or equal to the predetermined range (step S203; YES), proceeds to step S204, and if the difference is less than the predetermined range, the temperature changes. It determines with not (step S203; NO) and returns a process to step S201.
(Step S204) As in the first embodiment described above, the control unit 15B performs steps S121 to S123 shown in FIG. 3B to calculate the correction value ΔV.

以上のように、第3実施形態では、測定結果に影響を及ぼす温度変化が発生した場合、第1電圧値及び第2電圧値を取得し、補正値を算出する。一方、第3実施形態では、温度が変化していない場合、記憶部151に記憶されている補正値を用いて、第2電圧値を補正することで測定を行う。これにより、温度が変化した場合に再度補正値を算出し直すので、温度変化が生じた場合でも精度良く測定を行うことができる。また、補正値の算出を、例えば第1間隔の周期で行う場合と比較して、補正値算出処理を行う頻度を低減することができるので、消費電力を低減することができ、また、制御部15の処理の負担を軽減することができる。
なお、第3実施形態では、第1実施形態で説明した電圧測定回路1が温度センサ16を備える例を説明したが、第2実施形態で説明した電圧測定回路1Aが温度センサ16を備えていてもよい。
As described above, in the third embodiment, when a temperature change that affects the measurement result occurs, the first voltage value and the second voltage value are acquired, and the correction value is calculated. On the other hand, in the third embodiment, when the temperature does not change, the measurement is performed by correcting the second voltage value using the correction value stored in the storage unit 151. As a result, the correction value is calculated again when the temperature changes, so that accurate measurement can be performed even when the temperature changes. In addition, since the frequency of performing the correction value calculation process can be reduced as compared with the case where the correction value is calculated at, for example, the period of the first interval, the power consumption can be reduced, and the control unit The burden of 15 processes can be reduced.
In the third embodiment, the voltage measurement circuit 1 described in the first embodiment has been described as including the temperature sensor 16, but the voltage measurement circuit 1A described in the second embodiment includes the temperature sensor 16. Also good.

また、第3実施形態では、温度が変化したと検出されたときに補正値を算出して記憶部151に記憶させる例を説明したが、これに限られない。例えば、制御部15Bは、補正値を第1実施形態と同様のタイミングで算出し、算出した補正値を温度が変化したと検出できた場合に記憶部151に記憶させるようにしてもよい。   In the third embodiment, the correction value is calculated and stored in the storage unit 151 when it is detected that the temperature has changed. However, the present invention is not limited to this. For example, the control unit 15B may calculate the correction value at the same timing as in the first embodiment, and store the calculated correction value in the storage unit 151 when it is detected that the temperature has changed.

なお、第1〜第3実施形態では、電圧測定回路1、1A、1Bの測定対象が、測定対象の電圧(高電圧)を発生させるスイッチング電源装置の出力側である出力部である例を説明したが、これに限られない。例えば、スイッチング電源装置において供給する電力を生成するために電力が入力される側である入力部であってもよく、電源装置の方式もスイッチング方式以外であってもよい。測定対象は、絶縁する必要があるシステムにおける精度良く測定したい電圧値であればよい。例えば、測定対象となる電源装置側にノイズが多い場合、本発明の電圧測定回路1、1A、1Bを用いて測定を行うことで、ノイズの多い測定対象側と、測定を行う側を絶縁できる効果も得られる。   In the first to third embodiments, an example is described in which the measurement target of the voltage measurement circuits 1, 1 </ b> A, and 1 </ b> B is an output unit that is an output side of a switching power supply device that generates a voltage (high voltage) of the measurement target. However, it is not limited to this. For example, it may be an input unit on the side where electric power is input in order to generate electric power to be supplied in the switching power supply device, and the method of the power supply device may be other than the switching method. The object to be measured may be a voltage value to be measured with high accuracy in a system that needs to be insulated. For example, when there is a lot of noise on the power supply device side to be measured, measurement can be performed using the voltage measurement circuit 1, 1A, 1B of the present invention, so that the noisy measurement side can be insulated from the measurement side. An effect is also obtained.

また、第1〜第3実施形態では、第1アイソレーション回路12及び第2アイソレーション回路13の構成例としてフォトカプラを含んで構成される例を説明したが、これに限られない。第1アイソレーション回路12及び第2アイソレーション回路13は、測定対象側に配置される高電圧側回路の要素と、低電圧側回路の要素と電気的に絶縁するものであればよい。   In the first to third embodiments, an example in which a photocoupler is included as a configuration example of the first isolation circuit 12 and the second isolation circuit 13 has been described. However, the configuration is not limited thereto. The first isolation circuit 12 and the second isolation circuit 13 only need to be electrically insulated from the elements of the high voltage side circuit and the elements of the low voltage side circuit arranged on the measurement target side.

なお、第1〜第3実施形態で説明した電圧測定回路1(または1A、1B)において制御部15(または15B)の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。   In the voltage measurement circuit 1 (or 1A, 1B) described in the first to third embodiments, a program for realizing the function of the control unit 15 (or 15B) is recorded on a computer-readable recording medium, Processing of each unit may be performed by causing a computer system to read and execute a program recorded on the recording medium. Here, the “computer system” includes an OS and hardware such as peripheral devices. Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

1,1A,1B…電圧測定回路、10,10A…電圧検出部、11…ADC、12…第1アイソレーション回路、13…第2アイソレーション回路、14…バッファ増幅回路、15,15B…制御部、101,101A…第1分圧回路、102…第2分圧回路、151…記憶部。   DESCRIPTION OF SYMBOLS 1,1A, 1B ... Voltage measurement circuit 10, 10A ... Voltage detection part, 11 ... ADC, 12 ... 1st isolation circuit, 13 ... 2nd isolation circuit, 14 ... Buffer amplifier circuit, 15, 15B ... Control part 101, 101A, first voltage dividing circuit, 102, second voltage dividing circuit, 151, storage unit.

Claims (8)

測定対象の電圧を分圧した電圧を出力する1つの分圧回路と、
前記1つの分圧回路によって分圧された前記電圧を検出し、前記1つの分圧回路により分圧された前記電圧を第1電圧検出結果および第2電圧検出結果として出力する電圧検出部と、
前記第1電圧検出結果に対応する第1電圧値を第1間隔で取得し、前記第2電圧検出結果に対応する第2電圧値を前記第1間隔より短い第2間隔で取得し、前記第1電圧値と前記第2電圧値とに基づいて前記測定対象の電圧値を測定する制御部と、
前記電圧検出部と前記制御部との間に設けられ、前記電圧検出部と前記制御部との間を電気的に絶縁し、前記第1電圧検出結果を前記第1電圧値として出力する第1アイソレーション回路と、
前記第1アイソレーション回路とは異なる系統であり、前記電圧検出部と前記制御部との間に設けられ、前記電圧検出部と前記制御部との間を電気的に絶縁し、前記第2電圧検出結果を前記第2電圧値として出力する第2アイソレーション回路と、
前記電圧検出部と、前記第1アイソレーション回路との間に設けられ、前記第1電圧検出結果をデジタル化して、前記第1アイソレーション回路に直接出力するアナログ−デジタル変換部と
を備える電圧測定回路。
One voltage dividing circuit that outputs a voltage obtained by dividing the voltage to be measured;
A voltage detection unit that detects the voltage divided by the one voltage dividing circuit and outputs the voltage divided by the one voltage dividing circuit as a first voltage detection result and a second voltage detection result;
Obtaining a first voltage value corresponding to the first voltage detection result at a first interval; obtaining a second voltage value corresponding to the second voltage detection result at a second interval shorter than the first interval; A control unit that measures the voltage value of the measurement object based on one voltage value and the second voltage value;
The first voltage detection unit is provided between the voltage detection unit and the control unit, electrically insulates between the voltage detection unit and the control unit, and outputs the first voltage detection result as the first voltage value. An isolation circuit;
The system is different from the first isolation circuit, is provided between the voltage detection unit and the control unit, electrically insulates between the voltage detection unit and the control unit, and the second voltage A second isolation circuit that outputs a detection result as the second voltage value;
Voltage measurement provided between the voltage detection unit and the first isolation circuit, and comprising an analog-digital conversion unit that digitizes the first voltage detection result and directly outputs the result to the first isolation circuit circuit.
前記制御部は、
前記第1間隔のときに取得した前記第1電圧値に基づいて前記測定対象の電圧値を測定し、前記第1電圧値を取得できない期間において、前記第2間隔のときに取得した前記第2電圧値に基づいて前記測定対象の電圧値を測定する請求項1に記載の電圧測定回路。
The controller is
The voltage value of the measurement target is measured based on the first voltage value acquired at the first interval, and the second acquired at the second interval in a period in which the first voltage value cannot be acquired. The voltage measurement circuit according to claim 1, wherein the voltage value of the measurement target is measured based on a voltage value.
前記第2アイソレーション回路は、前記電圧検出部によって検出された第電圧検出結果を入力する請求項1または請求項2に記載の電圧測定回路。 The voltage measurement circuit according to claim 1, wherein the second isolation circuit inputs a second voltage detection result detected by the voltage detection unit. 前記制御部は、前記第1電圧値と前記第2電圧値との差を算出し、得られた差を用いて前記第2電圧値を補正することで測定結果を得る請求項1から請求項3のいずれか1項に記載の電圧測定回路。   The control unit obtains a measurement result by calculating a difference between the first voltage value and the second voltage value, and correcting the second voltage value using the obtained difference. 4. The voltage measuring circuit according to any one of 3 above. 前記電圧測定回路の温度を計測し、計測した温度を表す情報を温度情報として前記制御部に出力する温度センサ、を備え、
前記制御部は、所定の期間において取得した前記温度情報によって表される温度が基準範囲外である場合に、前記第1電圧値と前記第2電圧値との差を算出し、得られた差を用いて前記第2電圧値を補正することで測定結果を得る請求項4に記載の電圧測定回路。
A temperature sensor that measures the temperature of the voltage measurement circuit and outputs information representing the measured temperature to the control unit as temperature information;
The control unit calculates a difference between the first voltage value and the second voltage value when the temperature represented by the temperature information acquired in a predetermined period is out of a reference range, and the obtained difference The voltage measurement circuit according to claim 4, wherein a measurement result is obtained by correcting the second voltage value by using.
前記制御部は、前記第1電圧値が前記第1間隔もしくは前記制御部にて任意に設定した計測間隔、または、前記第2電圧値が前記第2間隔もしくは前記制御部にて任意に設定した計測間隔を超えて測定されない場合に、いずれかの系統に故障が生じたことを検出する請求項1から請求項のいずれか1項に記載の電圧測定回路。 The control unit is configured such that the first voltage value is arbitrarily set in the first interval or the control unit, or the second voltage value is arbitrarily set in the second interval or the control unit. The voltage measurement circuit according to any one of claims 1 to 5 , which detects that a failure has occurred in any of the systems when measurement is not performed beyond a measurement interval. 第1系統は、前記1つの分圧回路からアナログ−デジタル変換部及び前記第1アイソレーション回路を介して、前記第1電圧検出結果を前記制御部に出力する系統であり、  The first system is a system for outputting the first voltage detection result to the control unit from the one voltage dividing circuit via the analog-digital conversion unit and the first isolation circuit,
第2系統は、前記1つの分圧回路から前記第2アイソレーション回路を介して、前記第2電圧検出結果を前記制御部に出力する系統であり、  The second system is a system for outputting the second voltage detection result from the one voltage dividing circuit to the control unit via the second isolation circuit,
前記第2系統に用いる回路における温度変化に対する特性変化が、前記第1系統に用いる回路よりも大きくなるように定められている請求項1から請求項6のいずれか1項に記載の電圧測定回路。7. The voltage measurement circuit according to claim 1, wherein a characteristic change with respect to a temperature change in a circuit used for the second system is determined to be larger than that of a circuit used for the first system. 8. .
前記第2アイソレーション回路と、前記制御部との間に、前記第2アイソレーション回路から出力される出力結果を増幅して前記制御部に前記第2電圧値として出力する増幅部を備える請求項1から請求項のいずれか1項に記載の電圧測定回路。 The amplifier part which amplifies the output result output from the said 2nd isolation circuit and outputs it as the said 2nd voltage value to the said control part between the said 2nd isolation circuit and the said control part is provided. voltage measurement circuit according to any one of claims 1 to 7.
JP2014134605A 2014-06-30 2014-06-30 Voltage measurement circuit Active JP6255312B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014134605A JP6255312B2 (en) 2014-06-30 2014-06-30 Voltage measurement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014134605A JP6255312B2 (en) 2014-06-30 2014-06-30 Voltage measurement circuit

Publications (2)

Publication Number Publication Date
JP2016011922A JP2016011922A (en) 2016-01-21
JP6255312B2 true JP6255312B2 (en) 2017-12-27

Family

ID=55228714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014134605A Active JP6255312B2 (en) 2014-06-30 2014-06-30 Voltage measurement circuit

Country Status (1)

Country Link
JP (1) JP6255312B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108562786B (en) * 2018-01-17 2021-07-13 广州小鹏汽车科技有限公司 High-voltage sampling system and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10160764A (en) * 1996-11-27 1998-06-19 Yokogawa Electric Corp Input circuit for insulating-voltage measuring apparatus
JP2000241461A (en) * 1999-02-18 2000-09-08 Mitsubishi Electric Corp Measuring device and circuit breaker using the same
JP4410919B2 (en) * 2000-09-18 2010-02-10 日置電機株式会社 Power line voltage measuring instrument
JP5223874B2 (en) * 2010-03-09 2013-06-26 株式会社村田製作所 Isolated switching power supply
EP2555401A4 (en) * 2010-03-31 2017-07-19 Nagasaki University, National University Corporation Power conversion circuit control device
JP2012083216A (en) * 2010-10-12 2012-04-26 Sumitomo Electric Ind Ltd Insulated type voltage measuring apparatus
JP2015049104A (en) * 2013-08-30 2015-03-16 アイシン・エィ・ダブリュ株式会社 Ac apparatus controller

Also Published As

Publication number Publication date
JP2016011922A (en) 2016-01-21

Similar Documents

Publication Publication Date Title
JP7356510B2 (en) Formaldehyde concentration detection method, device and air purifier
KR101681288B1 (en) Method for error calibration of electric power device
US8604809B2 (en) Current sensor capacity measuring system
JP6911006B2 (en) Temperature detection circuit
JP2016161343A (en) Signal processing device for encoder having automatic adjustment function
JP2014140156A (en) System and method for auto-ranging temperature sensor
JP6255312B2 (en) Voltage measurement circuit
CN104539245A (en) Self-zeroing circuit of operational amplifier
JP2015148471A (en) Air-fuel ratio detection device
KR101223953B1 (en) Self Temperature Compensated Precision Event timer using Standard Time reference Frequency
JP2015105928A (en) Impedance measuring device and impedance measuring method
JP2014165804A (en) Control system
JP4294633B2 (en) Gas detector
JP6436164B2 (en) Time reference terminal, measurement terminal, time synchronization system, and time synchronization method
JP2012233738A (en) Instrument transformer
JP2014160939A (en) Analog-digital conversion device and analog-digital conversion system
JP6389161B2 (en) Sensor interface calibration device
KR20160017514A (en) Apparatus For Measuring Temperature
JP5455776B2 (en) Current measuring device
WO2021145428A1 (en) Output device for sensor
US11971434B2 (en) Power source with error detection
JP5914818B2 (en) Power meter
JP5851316B2 (en) Voltage detector
JP5881775B2 (en) Power converter
JP5467526B2 (en) Communication system using signal processing apparatus and field device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170620

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170728

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171204

R150 Certificate of patent or registration of utility model

Ref document number: 6255312

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150