JP5713450B2 - Data processing apparatus, data processing system, and watt-hour meter - Google Patents

Data processing apparatus, data processing system, and watt-hour meter Download PDF

Info

Publication number
JP5713450B2
JP5713450B2 JP2011181260A JP2011181260A JP5713450B2 JP 5713450 B2 JP5713450 B2 JP 5713450B2 JP 2011181260 A JP2011181260 A JP 2011181260A JP 2011181260 A JP2011181260 A JP 2011181260A JP 5713450 B2 JP5713450 B2 JP 5713450B2
Authority
JP
Japan
Prior art keywords
gain
circuit
conversion
data
calibration
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.)
Expired - Fee Related
Application number
JP2011181260A
Other languages
Japanese (ja)
Other versions
JP2013046129A (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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2011181260A priority Critical patent/JP5713450B2/en
Publication of JP2013046129A publication Critical patent/JP2013046129A/en
Application granted granted Critical
Publication of JP5713450B2 publication Critical patent/JP5713450B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

本発明は、AD(Analog to Digital)変換機能を有するデータ処理装置に関し、特にAD変換レンジに対する小信号の変換ビット精度(分解能)を高くするためにAD変換の前段でアナログ信号を増幅するAD変換技術の改良に関し、例えば電力量計に適用して有効な技術に関する。   The present invention relates to a data processing apparatus having an AD (Analog to Digital) conversion function, and in particular, AD conversion for amplifying an analog signal before AD conversion in order to increase the conversion bit accuracy (resolution) of a small signal with respect to the AD conversion range. For example, the present invention relates to a technique that is effective when applied to a watt hour meter.

AD変換の被測定電圧が小レベルのときに増幅回路を使って入力信号を増幅してからAD変換を行ってビット拡張することにより高い変換精度を得ようとすることができる。例えば本出願人による先行出願である特許文献1では、増幅回路の目的ゲインに対して実際のゲインに誤差があると、増幅回路で増幅してAD変換したときと増幅回路を用いずにダイレクトにAD変換したときとの間で変換結果にデータの連続性を確保することができないので、これを解消するために、増幅回路のゲインを実測し、増幅回路で増幅した被計測アナログ信号のAD変換結果に対してその実測ゲインを用いて目的ゲインとの誤差を相殺する技術を開示する。即ち、校正信号を増幅回路で増幅してAD変換したデータと増幅しないでAD変換したデータとに基づいて増幅回路のゲインを実測し、実際の被計測アナログ信号を前記増幅回路で増幅してAD変換回路で変換した結果にたいして、オフセットがあるときはこれを減算した後に、前記実測したゲインに対する前記目的ゲインの比率を乗算してゲインの誤差を相殺し、必要なビット拡張を行った変換データを取得するものである。   When the voltage to be measured for AD conversion is at a low level, it is possible to obtain high conversion accuracy by amplifying an input signal using an amplifier circuit and then performing AD conversion to extend the bit. For example, in Patent Document 1, which is a prior application filed by the present applicant, if there is an error in the actual gain with respect to the target gain of the amplifier circuit, it is directly amplified without using the amplifier circuit when the amplifier circuit performs amplification and AD conversion. Since the continuity of data cannot be ensured in the conversion result with the time of AD conversion, in order to solve this, the gain of the amplifier circuit is measured, and the AD conversion of the analog signal to be measured amplified by the amplifier circuit A technique for canceling an error from the target gain using the actually measured gain with respect to the result is disclosed. That is, the gain of the amplifier circuit is actually measured based on the data obtained by amplifying the calibration signal by the amplifier circuit and AD-converted and the data not AD-converted by AD, and the actual analog signal to be measured is amplified by the amplifier circuit. If there is an offset to the result of conversion by the conversion circuit, this is subtracted, and then the gain error is canceled by multiplying the ratio of the target gain to the measured gain, and the converted bit data with the necessary bit expansion is obtained. To get.

特開2010−259035号公報JP 2010-259035 A

本発明者は、増幅回路で増幅した被計測アナログ信号のAD変換結果に対してその実測ゲインを用いて目的ゲインとの誤差を相殺する技術において、増幅回路のゲインを実測するときの測定精度について更に検討した。例えば電力量計が必要とするAD変換回路のダイナミックレンジについて着目する。一例として、0.2%精度の電力量計として、電流測定範囲が2Aから200Aのように広く(100倍:7ビット相当)、かつ全ての測定レンジで0.2%即ち9ビットの実質精度を必要とするものとすると、実質16ビット精度のダイナミックレンジが必要となる。一般には2乃至3ビットのマージンを採るので18乃至19ビットのAD変換回路が要求とされる。このようなAD変換回路は、特許文献1の技術を適用することにより、例えばゲイン32倍の増幅回路(5ビット相当)と14ビット精度のAD変換回路を用いることによって実現する事ができる。   The present inventor is concerned with the measurement accuracy when actually measuring the gain of the amplifier circuit in the technique of canceling an error from the target gain using the actually measured gain for the AD conversion result of the analog signal to be measured amplified by the amplifier circuit. Further investigation was made. For example, attention is paid to the dynamic range of the AD conversion circuit required by the watt-hour meter. As an example, as a watt-hour meter with 0.2% accuracy, the current measurement range is as wide as 2A to 200A (100 times: equivalent to 7 bits), and 0.2%, that is, 9 bits of actual accuracy in all measurement ranges As a result, a dynamic range with an accuracy of 16 bits is required. In general, since a margin of 2 to 3 bits is taken, an 18 to 19 bit AD conversion circuit is required. Such an AD conversion circuit can be realized by using the technique of Patent Document 1, for example, by using an amplification circuit (corresponding to 5 bits) having a gain of 32 times and an AD conversion circuit having a 14-bit precision.

しかしながら、増幅回路の目的ゲインが大きいと、校正信号のAD変換におけるダイナミックレンジが低下して、実際のゲインを正確に取得できないことが明らかになった。すなわち、AD変換による分解能(ビット精度)をより大きくしようとすると増幅回路のゲインをより大きくする必要がある。このため、増幅回路のゲインを校正するとき増幅回路を通さずにAD変換回路に入力される校正信号の振幅がAD変換回路のダイナミックレンジに対して極めて小さくなり、その測定精度を低下させてしまう。結果としてゲインの校正精度を劣化させてしまうという問題を生ずる。   However, it has been clarified that when the target gain of the amplifier circuit is large, the dynamic range in the AD conversion of the calibration signal is lowered and the actual gain cannot be obtained accurately. That is, in order to increase the resolution (bit accuracy) by AD conversion, it is necessary to increase the gain of the amplifier circuit. For this reason, when the gain of the amplifier circuit is calibrated, the amplitude of the calibration signal input to the AD converter circuit without passing through the amplifier circuit becomes extremely small with respect to the dynamic range of the AD converter circuit, and the measurement accuracy is lowered. . As a result, there arises a problem that the calibration accuracy of the gain is deteriorated.

本発明の目的は、増幅回路を用いてAD変換の分解能を拡大するAD変換技術において増幅回路のゲインに対する校正精度を向上させることにある。   An object of the present invention is to improve the calibration accuracy with respect to the gain of an amplifier circuit in an AD conversion technique that expands the resolution of AD conversion using the amplifier circuit.

本発明の前記並びにその他の目的と新規な特徴は本明細書の記述及び添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち代表的なものの概要を簡単に説明すれば下記の通りである。   The following is a brief description of an outline of typical inventions disclosed in the present application.

すなわち、目的ゲイン2(nは正の整数)に対する前記増幅回路の実際のゲインを実測ゲインとして計測するゲインキャリブレーション処理を行い、アナログ信号を増幅回路で増幅してからAD変換回路で変換してビット拡張された変換データを取得する拡張AD変換処理において、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに前記実測ゲインに対する前記目的ゲイン2の比に応じた操作を施すことによってゲインに起因する誤差を相殺する。前記ゲインキャリブレーション処理では、デジタル的に既知の校正データに応ずる校正信号を目的ゲイン2倍した信号のAD変換結果に対して、上記校正データをN倍した信号を増幅せずにAD変換して当該変換結果の1/Nの値を用いて、前記実測ゲインを求める。 That is, gain calibration processing is performed to measure the actual gain of the amplifier circuit as a measured gain for the target gain 2 n (n is a positive integer), and the analog signal is amplified by the amplifier circuit and then converted by the AD converter circuit. In the extended AD conversion process for acquiring the bit-extended conversion data, the data obtained by the amplification by the amplification circuit and then the conversion by the AD conversion circuit corresponds to the ratio of the target gain 2 n to the actual gain The error caused by the gain is canceled by performing the operation. In the gain calibration process, the AD conversion result of a signal obtained by multiplying a calibration signal corresponding to digitally known calibration data by a target gain of 2n is AD-converted without amplifying a signal obtained by multiplying the calibration data by N times. Thus, the actual gain is obtained using a value of 1 / N of the conversion result.

これによれば、実測ゲインを求めるとき、増幅回路を用いず校正信号をAD変換する場合にもAD変換回路のダイナミックレンジに対して入力が極端に小さくなって変換精度が低下することはない。   According to this, even when the calibration signal is AD-converted without using the amplifier circuit when obtaining the actually measured gain, the input does not become extremely small with respect to the dynamic range of the AD-converter circuit, and the conversion accuracy does not decrease.

本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記のとおりである。   The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.

すなわち、増幅回路を用いてAD変換の分解能を拡大するAD変換技術において増幅回路のゲインに対する校正精度を向上させることができる。   That is, it is possible to improve the calibration accuracy with respect to the gain of the amplifier circuit in the AD conversion technique in which the resolution of AD conversion is increased using the amplifier circuit.

図1は本発明に係るデータ処理装置の一実施の形態であるマイクロコンピュータを例示するブロック図である。FIG. 1 is a block diagram illustrating a microcomputer, which is an embodiment of a data processing apparatus according to the present invention. 図2は電力量計に代表されるようにダイナミックレンジの広いAD変換に適用される場合に要求されるAD変換のダイナミックレンジについて示した説明図である。FIG. 2 is an explanatory diagram showing the dynamic range of AD conversion required when applied to AD conversion with a wide dynamic range as represented by a watt-hour meter. 図3はゲインキャリブレーション処理におけるアナログ信号波形を例示する波形図である。FIG. 3 is a waveform diagram illustrating an analog signal waveform in the gain calibration process. 図4はゲインキャリブレーション処理において第1のデータを取得するときの信号波形を例示する波形図である。FIG. 4 is a waveform diagram illustrating a signal waveform when the first data is acquired in the gain calibration process. 図5はゲインキャリブレーション処理の詳細な一例を示すフローチャートである。FIG. 5 is a flowchart showing a detailed example of the gain calibration process. 図6は本発明に係るデータ処理装置を適用した電力量計の一例を示すブロック図である。FIG. 6 is a block diagram showing an example of a watt-hour meter to which the data processing apparatus according to the present invention is applied.

1.実施の形態の概要
先ず、本願において開示される発明の代表的な実施の形態について概要を説明する。代表的な実施の形態についての概要説明で括弧を付して参照する図面中の参照符号はそれが付された構成要素の概念に含まれるものを例示するに過ぎない。
1. First, an outline of a typical embodiment of the invention disclosed in the present application will be described. Reference numerals in the drawings referred to in parentheses in the outline description of the representative embodiments merely exemplify what are included in the concept of the components to which the reference numerals are attached.

〔1〕<アンプを用いたビット拡張AD変換の高精度ゲインキャリブレーション>
本発明の代表的な実施の形態に係るデータ処理装置(1,1A)は、DA変換回路(4)、増幅回路(5,5A,5B)、AD変換回路(3,3A,3B)及び制御回路(2,9)を有する。前記制御回路は目的ゲイン2(nは正の整数)に対する前記増幅回路の実際のゲインを実測ゲインとして計測するゲインキャリブレーション処理と、アナログ信号を前記増幅回路で増幅してから前記AD変換回路で変換してビット拡張された変換データを取得する拡張AD変換処理とを制御する。前記拡張AD変換処理において、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータ(オフセットの減算が必要な場合にはオフセットが減算されたデータ)に前記実測ゲインに対する前記目的ゲイン2の比に応じた操作を施すことによってゲインに起因する誤差を相殺する。前記ゲインキャリブレーション処理において、前記制御回路が校正データをN(Nは正の整数)倍して前記DA変換回路で変換した第1の校正信号を前記増幅回路で増幅せずに前記AD変換回路で変換し、その変換データを1/N倍にした第1のデータと、前記校正データを前記DA変換回路で変換した第2の校正信号を前記増幅回路により前記目的ゲイン2倍で増幅してから前記AD変換回路で変換した第2のデータと、の比に基づいて前記増幅回路の実測ゲインを求める。
[1] <High-precision gain calibration for bit-extended AD conversion using an amplifier>
A data processing apparatus (1, 1A) according to a typical embodiment of the present invention includes a DA converter circuit (4), an amplifier circuit (5, 5A, 5B), an AD converter circuit (3, 3A, 3B), and a control. It has a circuit (2, 9). The control circuit performs gain calibration processing for measuring an actual gain of the amplifier circuit as a measured gain with respect to a target gain 2 n (n is a positive integer), and amplifies an analog signal by the amplifier circuit, and then the AD converter circuit. And an extended AD conversion process for acquiring conversion data that has been bit-extended by conversion. In the extended AD conversion process, the object for the actually measured gain is obtained by data (a data obtained by subtracting an offset when offset subtraction is required) obtained by performing amplification by the amplification circuit and then converting by the AD conversion circuit. By performing an operation according to the ratio of the gain 2n , an error caused by the gain is canceled. In the gain calibration process, the control circuit multiplies the calibration data by N (N is a positive integer) and converts the first calibration signal converted by the DA converter circuit without amplifying the first calibration signal by the amplifier circuit. The first data obtained by converting the converted data by 1 / N times and the second calibration signal obtained by converting the calibration data by the DA converter circuit are amplified by the amplification circuit by the target gain of 2n times. Then, an actual gain of the amplifier circuit is obtained based on the ratio of the second data converted by the AD converter circuit.

これによれば、実測ゲインを求めるとき、デジタル的に既知の校正データをN倍したデータに応ずる校正信号に対してAD変換を行うから、ADC3のダイナミックレンジに対して入力が極端に小さくなって変換精度が低下することはない。そのようにしてAD変換されたデータを1/Nにすれば、精度よく前記校正データに対するAD変換値を得ることができる。したがって、増幅回路を用いてAD変換の分解能を拡大するAD変換技術において増幅回路のゲインに対する校正精度を向上させることができる。   According to this, when the actual gain is obtained, AD conversion is performed on a calibration signal corresponding to data obtained by multiplying digitally known calibration data by N, so that the input becomes extremely small with respect to the dynamic range of the ADC 3. Conversion accuracy is not reduced. If the AD-converted data is set to 1 / N, an AD conversion value for the calibration data can be obtained with high accuracy. Therefore, it is possible to improve the calibration accuracy with respect to the gain of the amplifier circuit in the AD conversion technique in which the resolution of AD conversion is increased using the amplifier circuit.

〔2〕<N=2
項1のデータ処理装置において、前記Nは2に等しい値である。
[2] <N = 2 n >
In the data processing device according to item 1, the N is a value equal to 2 n .

これによれば、増幅回路で増幅しない校正信号(第1校正信号)に対して、増幅回路で増幅した校正信号(第2校正信号)をAD変換する場合と同じAD変換精度で変換結果を得ることができ、増幅回路の目的ゲインが極端に大きくなっても高い校正精度を維持することができる。   According to this, with respect to a calibration signal (first calibration signal) that is not amplified by the amplifier circuit, a conversion result is obtained with the same AD conversion accuracy as in the case of AD conversion of the calibration signal (second calibration signal) amplified by the amplifier circuit. Therefore, even if the target gain of the amplifier circuit becomes extremely large, high calibration accuracy can be maintained.

〔3〕<前記実測ゲインに対する前記目的ゲイン2の比を用いた操作>
項1又は2のデータ処理装置において、前記操作は、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに対する、前記目的ゲイン2倍の乗算と、前記実測ゲインによる除算とである。
[3] <Operation using the ratio of the target gain 2 n to the measured gain>
In the data processing device according to item 1 or 2, the operation includes multiplying the data obtained by amplifying by the amplifier circuit and then converting by the AD converter circuit by multiplying the target gain by 2 n times and dividing by the actually measured gain. It is.

これにより、ゲインに起因するAD変換の誤差を確実に相殺することができる。   Thereby, the error of AD conversion resulting from a gain can be canceled reliably.

〔4〕<シフト演算による乗算>
項3のデータ処理装置において、前記2倍の乗算は下位側にnビット分のゼロ拡張を行うシフト演算である。
[4] <Multiplication by shift operation>
In the data processing device according to item 3, the 2 n times multiplication is a shift operation that performs zero extension of n bits on the lower side.

これによれば、シフト演算によって容易に乗算結果を得ることができる。   According to this, the multiplication result can be easily obtained by the shift operation.

〔5〕<シフト演算後に除算を行う>
項4のデータ処置装置において、前記制御回路は前記シフト演算を行った結果に対して前記実測ゲインによる除算を行う。
[5] <Division after shift operation>
In the data processing device according to item 4, the control circuit divides the result of the shift operation by the actually measured gain.

これによれば、演算順序が逆の場合に比べて誤差の相殺が良好になる。   According to this, error cancellation is better than when the calculation order is reversed.

〔6〕<増幅回路:プログラマブルゲインアンプ>
項1乃至5のいずれかのデータ処理装置において、前記増幅回路は前記制御回路によってゲインが可変に設定されるプログラマブルゲインアンプである。
[6] <Amplifier circuit: Programmable gain amplifier>
In the data processing device according to any one of Items 1 to 5, the amplifier circuit is a programmable gain amplifier whose gain is variably set by the control circuit.

これによれば、ゲインの設定に応じてAD変換のビット精度を可変にすることができる。   According to this, the bit precision of AD conversion can be made variable according to the gain setting.

〔7〕<制御回路:CPUとプログラムメモリ>
項1乃至5のいずれかのデータ処理装置において、前記制御回路はCPUと前記CPUが実行するプログラムを格納したメモリとを有する。
[7] <Control circuit: CPU and program memory>
In the data processing device according to any one of Items 1 to 5, the control circuit includes a CPU and a memory storing a program executed by the CPU.

これによれば、AD変換回路の分解能に比べてビット精度を拡張したAD変換機能をプログラム制御を用いて容易に実現できる。   According to this, it is possible to easily realize an AD conversion function in which the bit accuracy is expanded as compared with the resolution of the AD conversion circuit using program control.

〔8〕<1チップマイクロコンピュータ>
項7のデータ処理装置は、1個の半導体基板上に形成された1チップマイクロコンピュータである。
[8] <One-chip microcomputer>
The data processing apparatus according to item 7 is a one-chip microcomputer formed on one semiconductor substrate.

プログラム制御機能とAD変換機能を備えたマイクロコンピュータにおけるAD変換機能のビット精度の拡張が容易であることからマイクロコンピュータにオンチップされたAD変換機能の用途が広がる。   Since it is easy to extend the bit precision of the AD conversion function in a microcomputer having a program control function and an AD conversion function, the use of the AD conversion function on-chip in the microcomputer is expanded.

〔9〕<高精度ゲインキャリブレーションを適用したデータ処理システム>
本発明の別の実施の形態に係るデータ処理システムは、マイクロコンピュータ(1,1A)と、前記マイクロコンピュータにアナログ信号を出力するアナログ回路(30,31)と、前記マイクロコンピュータの出力に基づいて制御されるデジタル回路(32)とを有する。前記マイクロコンピュータは、DA変換回路、増幅回路、AD変換回路及び制御回路を有する。前記制御回路は目的ゲイン2(nは正の整数)に対する前記増幅回路の実際のゲインを実測ゲインとして計測するゲインキャリブレーション処理と、アナログ信号を前記増幅回路で増幅してから前記AD変換回路で変換してビット拡張された変換データを取得する拡張AD変換処理とを制御する。前記拡張AD変換処理において、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに前記実測ゲインに対する前記目的ゲイン2の比に応じた操作を施すことによってゲインに起因する誤差を相殺する。前記ゲインキャリブレーション処理において、前記制御回路が校正データをN(Nは正の整数)倍して前記DA変換回路で変換した第1の校正信号を前記増幅回路で増幅せずに前記AD変換回路で変換し、その変換データを1/N倍にした第1のデータと、前記校正データを前記DA変換回路で変換した第2の校正信号を前記増幅回路により前記目的ゲイン2倍で増幅してから前記AD変換回路で変換した第2のデータと、の比に基づいて前記増幅回路の実測ゲインを求める。
[9] <Data processing system applying high-precision gain calibration>
A data processing system according to another embodiment of the present invention is based on a microcomputer (1, 1A), an analog circuit (30, 31) for outputting an analog signal to the microcomputer, and an output of the microcomputer. And a digital circuit (32) to be controlled. The microcomputer includes a DA conversion circuit, an amplification circuit, an AD conversion circuit, and a control circuit. The control circuit performs gain calibration processing for measuring an actual gain of the amplifier circuit as a measured gain with respect to a target gain 2 n (n is a positive integer), and amplifies an analog signal by the amplifier circuit, and then the AD converter circuit. And an extended AD conversion process for acquiring conversion data that has been bit-extended by conversion. In the extended AD conversion process, the data obtained by the amplification by the amplification circuit and then the conversion by the AD conversion circuit is caused by the gain by performing an operation according to the ratio of the target gain 2 n to the actual gain. Offset the error. In the gain calibration process, the control circuit multiplies the calibration data by N (N is a positive integer) and converts the first calibration signal converted by the DA converter circuit without amplifying the first calibration signal by the amplifier circuit. The first data obtained by converting the converted data by 1 / N times and the second calibration signal obtained by converting the calibration data by the DA converter circuit are amplified by the amplification circuit by the target gain of 2n times. Then, an actual gain of the amplifier circuit is obtained based on the ratio of the second data converted by the AD converter circuit.

これによれば、データ処理システムに含まれるマイクロコンピュータにおけるAD変換の分解能を拡大するAD変換技術について項1と同様の作用効果を奏する。したがって、アナログ回路の出力に基づいてデジタル回路を制御するマイクロコンピュータのAD変換機能を用途に応じて容易に拡張可能になる。   According to this, the same effect as the item 1 can be achieved with respect to the AD conversion technique for expanding the resolution of AD conversion in the microcomputer included in the data processing system. Therefore, the AD conversion function of the microcomputer that controls the digital circuit based on the output of the analog circuit can be easily expanded according to the application.

〔10〕<N=2
項9のデータ処理システムにおいて、前記Nは2に等しい値である。
[10] <N = 2 n >
In the data processing system according to item 9, the N is a value equal to 2 n .

これによれば、増幅回路で増幅しない校正信号(第1校正信号)に対して、増幅回路で増幅した校正信号(第2校正信号)をAD変換する場合と同じAD変換精度で変換結果を得ることができ、増幅回路の目的ゲインが極端に大きくなっても高い校正精度を維持することができる。   According to this, with respect to a calibration signal (first calibration signal) that is not amplified by the amplifier circuit, a conversion result is obtained with the same AD conversion accuracy as in the case of AD conversion of the calibration signal (second calibration signal) amplified by the amplifier circuit. Therefore, even if the target gain of the amplifier circuit becomes extremely large, high calibration accuracy can be maintained.

〔11〕<前記実測ゲインに対する前記目的ゲイン2の比を用いた操作>
項9又は10のデータ処理システムにおいて、前記操作は、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに対する、前記目的ゲイン2倍の乗算と、前記実測ゲインによる除算とである。
[11] <Operation using the ratio of the target gain 2 n to the measured gain>
In the data processing system according to Item 9 or 10, the operation includes multiplying the data obtained by amplification by the amplification circuit and then conversion by the AD conversion circuit by multiplying the target gain by 2 n times and dividing by the actual gain. It is.

これにより、ゲインに起因するAD変換の誤差を確実に相殺することができる。   Thereby, the error of AD conversion resulting from a gain can be canceled reliably.

〔12〕<シフト演算による乗算>
項11のデータ処理システムにおいて、前記2倍の乗算は下位側にnビット分のゼロ拡張を行うシフト演算である。
[12] <Multiplication by shift operation>
In the data processing system according to item 11, the 2 n times multiplication is a shift operation that performs zero extension of n bits on the lower side.

これによれば、シフト演算によって容易に乗算結果を得ることができる。   According to this, the multiplication result can be easily obtained by the shift operation.

〔13〕<シフト演算後に除算を行う>
項12のデータ処理システムにおいて、前記制御回路は前記シフト演算を行った結果に対して前記実測ゲインによる除算を行う。
[13] <Division after shift operation>
In the data processing system according to item 12, the control circuit divides the result of the shift operation by the actually measured gain.

これによれば、演算順序が逆の場合に比べて誤差の相殺が良好になる。   According to this, error cancellation is better than when the calculation order is reversed.

〔14〕<増幅回路:プログラマブルゲインアンプ>
項9乃至13のいずれかのデータ処理システムにおいて、前記増幅回路は前記制御回路によってゲインが可変に設定されるプログラマブルゲインアンプである。
[14] <Amplification circuit: Programmable gain amplifier>
Item 14. The data processing system according to any one of Items 9 to 13, wherein the amplifier circuit is a programmable gain amplifier whose gain is variably set by the control circuit.

これによれば、ゲインの設定に応じてAD変換のビット精度を可変にすることができる。   According to this, the bit precision of AD conversion can be made variable according to the gain setting.

〔15〕<制御回路:CPUとプログラムメモリ>
項14のデータ処理システムにおいて、前記制御回路はCPUと前記CPUが実行するプログラムを格納したメモリとを有する。
AD変換回路の分解能に比べてビット精度を拡張したAD変換機能をプログラム制御を用いて容易に実現できる。
[15] <Control circuit: CPU and program memory>
In the data processing system according to item 14, the control circuit includes a CPU and a memory storing a program executed by the CPU.
It is possible to easily realize an AD conversion function in which the bit precision is expanded as compared with the resolution of the AD conversion circuit by using program control.

〔16〕<電力量計、アンプを用いたビット拡張AD変換の高精度ゲインキャリブレーション>
本発明の更に別の実施の形態に係る電力量計は、負荷電圧を入力して低い電圧に変換する電圧変換部(30)と、負荷電流を入力して小さな電流に変換する電流変換部(31)と、前記電圧変換部の出力電圧と前記電流変換部の出力電流とに基づいて負荷の電力量の演算制御を行う電力演算制御部(1A)と、前記電力演算制御部で演算された電力量を表示する表示部(32)とを有する。前記電力演算制御部は、DA変換回路、増幅回路、前記電流変換部の出力電流に応ずるアナログ信号を入力するAD変換回路及び制御回路を有する。前記制御回路は目的ゲイン2(nは正の整数)に対する前記増幅回路の実際のゲインを実測ゲインとして計測するゲインキャリブレーション処理と、アナログ信号を前記増幅回路で増幅してから前記AD変換回路で変換してビット拡張された変換データを取得する拡張AD変換処理とを制御する。前記拡張AD変換処理において、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに前記実測ゲインに対する前記目的ゲイン2の比に応じた操作を施すことによってゲインに起因する誤差を相殺する。前記ゲインキャリブレーション処理において、前記制御回路が校正データをN(Nは正の整数)倍して前記DA変換回路で変換した第1の校正信号を前記増幅回路で増幅せずに前記AD変換回路で変換し、その変換データを1/N倍にした第1のデータと、前記校正データを前記DA変換回路で変換した第2の校正信号を前記増幅回路により前記目的ゲイン2倍で増幅してから前記AD変換回路で変換した第2のデータと、の比に基づいて前記増幅回路の実測ゲインを求める。
[16] <High-accuracy gain calibration of bit extension AD conversion using watt-hour meter and amplifier>
A watt-hour meter according to still another embodiment of the present invention includes a voltage conversion unit (30) that inputs a load voltage and converts the load voltage into a low voltage, and a current conversion unit (inputs a load current that is converted into a small current) ( 31), a power calculation control unit (1A) that performs calculation control of the power amount of the load based on the output voltage of the voltage conversion unit and the output current of the current conversion unit, and the power calculation control unit And a display unit (32) for displaying the amount of electric power. The power calculation control unit includes a DA conversion circuit, an amplifier circuit, an AD conversion circuit that inputs an analog signal corresponding to the output current of the current conversion unit, and a control circuit. The control circuit performs gain calibration processing for measuring an actual gain of the amplifier circuit as a measured gain with respect to a target gain 2 n (n is a positive integer), and amplifies an analog signal by the amplifier circuit, and then the AD converter circuit. And an extended AD conversion process for acquiring conversion data that has been bit-extended by conversion. In the extended AD conversion process, the data obtained by the amplification by the amplification circuit and then the conversion by the AD conversion circuit is caused by the gain by performing an operation according to the ratio of the target gain 2 n to the actual gain. Offset the error. In the gain calibration process, the control circuit multiplies the calibration data by N (N is a positive integer) and converts the first calibration signal converted by the DA converter circuit without amplifying the first calibration signal by the amplifier circuit. The first data obtained by converting the converted data by 1 / N times and the second calibration signal obtained by converting the calibration data by the DA converter circuit are amplified by the amplification circuit by the target gain of 2n times. Then, an actual gain of the amplifier circuit is obtained based on the ratio of the second data converted by the AD converter circuit.

これによれば、データ処理システムに含まれるマイクロコンピュータにおけるAD変換の分解能を拡大するAD変換技術について項1と同様の作用効果を奏する。したがって、計測のダイナミックレンジが広く且つ各レンジで高い計測精度が要求される電力量計用途の高分解能のAD変換機能を低コストで実現することができる。   According to this, the same effect as the item 1 can be achieved with respect to the AD conversion technique for expanding the resolution of AD conversion in the microcomputer included in the data processing system. Therefore, a high-resolution AD conversion function for a watt-hour meter that requires a wide measurement dynamic range and high measurement accuracy in each range can be realized at low cost.

2.実施の形態の詳細
実施の形態について更に詳述する。
2. Details of Embodiments Embodiments will be further described in detail.

図1には本発明のデータ処理装置の一実施の形態であるマイクロコンピュータが示される。同図に示されるマイクロコンピュータ(MCU)1はAD変換機能を搭載する。マイクロコンピュータ1は、特に制限されないが、相補型MOS集積回路製造技術などにより単結晶シリコンなどの1個の半導体基板に形成される。このマイクロコンピュータ1は、プログラムを実行する中央処理装置(CPU)2、電気的に書き換え可能にプログラムやデータを格納するフラッシュメモリなどの不揮発性メモリ(FLASH)9、CPU2のワーク領域などに利用されるRAM8、アナログ信号をデジタル信号に変換するAD変換回路(ADC)3、デジタル信号をアナログ信号に変換するDA変換回路(DAC)4、デジタル入出力ポート12、アナログ入力ポート11、及びタイマカウンタやシリアルインタフェースなどの他の周辺回路モジュール(PRPH)10を備える。このマイクロコンピュータ1は更に、被測定電圧を増幅してAD変換することにより変換ビット精度を可変可能にするために、増幅回路として、特に制限されないが、ゲイン設定が可変可能なプログラマブルゲインアンプ(PGA)5を備える。更に、セレクタ(SW1)6及びセレクタ(SWS2)7を備え、AD変換に際してそれらと共に前記ADC3及びDAC4を用いてCPU2が変換動作をプログラム制御するようになっている。以下、変換ビット精度を可変可能とするAD変換機能について詳述する。   FIG. 1 shows a microcomputer as an embodiment of a data processing apparatus of the present invention. A microcomputer (MCU) 1 shown in the figure has an AD conversion function. The microcomputer 1 is not particularly limited, but is formed on one semiconductor substrate such as single crystal silicon by a complementary MOS integrated circuit manufacturing technique or the like. The microcomputer 1 is used for a central processing unit (CPU) 2 that executes programs, a non-volatile memory (FLASH) 9 such as a flash memory that stores programs and data in an electrically rewritable manner, a work area of the CPU 2, and the like. RAM 8, AD conversion circuit (ADC) 3 that converts analog signals into digital signals, DA conversion circuit (DAC) 4 that converts digital signals into analog signals, digital input / output port 12, analog input port 11, timer counter, Another peripheral circuit module (PRPH) 10 such as a serial interface is provided. The microcomputer 1 further amplifies the voltage to be measured and AD-converts it so that the conversion bit accuracy can be varied. However, the microcomputer 1 is not particularly limited as an amplification circuit, but a programmable gain amplifier (PGA) with variable gain setting. ) 5 is provided. Furthermore, a selector (SW1) 6 and a selector (SWS2) 7 are provided, and during AD conversion, the CPU 2 performs program control of the conversion operation using the ADC 3 and the DAC 4 together with them. Hereinafter, the AD conversion function that makes the conversion bit precision variable will be described in detail.

セレクタ6はアナログ入力ポート11から入力される被計測アナログ信号ALG1又はDAC4から出力されるアナログ信号ALG2をCPU2の制御によって選択する。PGA5はセレクタ6の出力を増幅して出力し、そのゲインはCPU2によって制御される。セレクタ7はセレクタ6の出力又はPGA5の出力をCPU2の制御によって選択する。ADC3はセレクタ7の出力を入力してAD変換する。ADC2によるAD変換結果に対する演算とAD変換制御、及びDAC4によるDA変換用のデータ生成とDA変換制御はCPU2のプログラム制御によって行われる。   The selector 6 selects the analog signal ALG1 to be measured input from the analog input port 11 or the analog signal ALG2 output from the DAC 4 under the control of the CPU 2. The PGA 5 amplifies and outputs the output of the selector 6, and the gain is controlled by the CPU 2. The selector 7 selects the output of the selector 6 or the output of the PGA 5 under control of the CPU 2. The ADC 3 inputs the output of the selector 7 and performs AD conversion. The calculation and AD conversion control for the AD conversion result by the ADC 2 and the DA conversion data generation and DA conversion control by the DAC 4 are performed by program control of the CPU 2.

CPU2はAD変換のための制御として、PGA5のゲインキャリブレーション処理の制御と拡張AD変換処理の制御を行う。ゲインキャリブレーション処理は、目的ゲイン2(nは正の整数)、この例ではCPU2がPGA5に設定するゲインの期待値としての目的ゲイン、に対する前記PGA5の実際のゲインを実測ゲインとして計測する処理である。拡張AD変換処理は、アナログ信号を前記PGA2で増幅してから前記ADC3で変換してビット拡張された変換データを取得する処理である。この拡張AD変換処理には例えば前記特許文献1などに記載の技術を適用することができ、このときPGA5のゲインを校正するゲインキャリブレーション処理に新規な特徴がある。 The CPU 2 controls the gain calibration processing of the PGA 5 and the extended AD conversion processing as control for AD conversion. The gain calibration process is a process of measuring the actual gain of the PGA 5 with respect to the target gain 2 n (n is a positive integer), in this example, the target gain as an expected gain set by the CPU 2 to the PGA 5 as an actual gain. It is. The extended AD conversion process is a process in which an analog signal is amplified by the PGA 2 and then converted by the ADC 3 to obtain bit-extended conversion data. For example, the technique described in Patent Document 1 can be applied to the extended AD conversion process. At this time, the gain calibration process for calibrating the gain of the PGA 5 has a novel feature.

先ず、拡張AD変換処理について簡単に説明する。ここでは、電力量計に代表されるようにダイナミックレンジの広いAD変換に適用される場合を一例とする。例えば、図2に例示されるように、0.2%精度の電力量計として、電流測定範囲が2Aから200Aのように広く(100倍:7ビット相当)、かつ全ての測定レンジで0.2%即ち9ビットの実質精度を必要とするものとすると、実質16ビット精度のダイナミックレンジが必要となる。3ビットのマージンを採れば19ビットのAD変換回路が要求とされる。このような用途において、14ビット精度のADC3を用いても、PGA5のゲインを32倍(2倍、5ビット相当)とすることによって、分解能19ビット相当のAD変換機能を実現することができる。具体的には、CPU2によってPGA5に目的ゲインとして32倍を設定し、アナログポート11から入力される被計測アナログ信号ALG1に対してPGA5で増幅した信号をADC3でAD変換する。このときスイッチ6が端子b側が選択さて、スイッチ7は端子c側が選択される。CPU2はそのAD変換結果からPGA5のオフセットを減算し、減算結果を目的ゲイン倍し、目的ゲイン倍した値を実測ゲインで除算して、PGA5のオフセットとゲインの誤差を相殺したAD変換結果を取得する。上記目的ゲイン倍(2倍)の演算処理は例えば被乗数の下位側にnビット分のゼロ拡張を行うシフト演算によって簡単に実現することができる。このように、ADC3のAD変換によって得られたデータに対して”目的ゲイン/実測ゲイン”の比を乗算することによって、最終的に得られるAD変換結果においてPGA5における目的ゲインと実際のゲインとの誤差の影響を小さくすることができる。 First, the extended AD conversion process will be briefly described. Here, as an example, a case where the present invention is applied to AD conversion with a wide dynamic range as typified by a watt-hour meter. For example, as illustrated in FIG. 2, as a 0.2% accuracy watt-hour meter, the current measurement range is as wide as 2A to 200A (100 times: equivalent to 7 bits), and 0. 0 in all measurement ranges. Assuming that 2% or 9 bits of actual accuracy is required, a dynamic range of substantially 16 bits of accuracy is required. If a 3-bit margin is taken, a 19-bit AD converter circuit is required. In such an application, even if the ADC 3 with 14-bit precision is used, an AD conversion function corresponding to a resolution of 19 bits can be realized by increasing the gain of the PGA 5 by 32 times ( 25 times, corresponding to 5 bits). . Specifically, the CPU 2 sets a target gain of 32 times in the PGA 5 and AD-converts the signal amplified by the PGA 5 with respect to the measured analog signal ALG 1 input from the analog port 11 by the ADC 3. At this time, the switch 6 is selected on the terminal b side, and the switch 7 is selected on the terminal c side. The CPU 2 subtracts the offset of the PGA 5 from the AD conversion result, multiplies the subtraction result by the target gain, and divides the value obtained by multiplying the target gain by the actually measured gain to obtain the AD conversion result that offsets the PGA 5 offset and the gain error. To do. The calculation processing of the target gain multiplication ( 2n times) can be easily realized by, for example, a shift operation that performs zero extension of n bits on the lower side of the multiplicand. Thus, by multiplying the data obtained by the AD conversion of the ADC 3 by the ratio of “target gain / actual gain”, the target gain in the PGA 5 and the actual gain in the finally obtained AD conversion result are obtained. The influence of error can be reduced.

前記オフセットは例えば以下の処理によって求めることができる。例えば、PGA5に目的ゲインを設定し、所定のデジタル値(校正データ)を前記DAC4でアナログ信号ALG2に変換し、これをPGA5で増幅して、その出力を前記ADC3で変換し、変換されたデジタル値と最初の校正データとの差によって求める事ができる。例えばAD変換の分解能に対してLSB幾つ分の誤差があるかを求めることができる。   The offset can be obtained by the following process, for example. For example, a target gain is set in the PGA 5, a predetermined digital value (calibration data) is converted into the analog signal ALG 2 by the DAC 4, this is amplified by the PGA 5, the output is converted by the ADC 3, and the converted digital It can be obtained by the difference between the value and the first calibration data. For example, it is possible to determine the number of LSB errors with respect to the AD conversion resolution.

前記実測ゲインはゲインキャリブレーション処理によって求める。例えば、CPU2が校正データをN倍して前記DAC4に与えて第1の校正信号を生成し、この第1の構成信号をPGA5で増幅せずにADC3で変換し、その変換データをCPU2が1/N倍にした第1のデータを取得する。さらに前記校正データを前記DAC4に与えて第2の校正信号を生成し、今度はこの第2の構成信号をPGA5で目的ゲイン2倍で増幅してから前記ADC3で変換した第2のデータを取得する。取得した第1のデータと第2のデータとの比に基づいて、目的ゲインを設定したPGA5の実際のゲインである実測ゲインを求める。 The actual gain is obtained by gain calibration processing. For example, the CPU 2 multiplies the calibration data by N and supplies it to the DAC 4 to generate a first calibration signal. The first configuration signal is converted by the ADC 3 without being amplified by the PGA 5. First data obtained by multiplying / N times is acquired. Further, the calibration data is supplied to the DAC 4 to generate a second calibration signal. This second configuration signal is amplified by the target gain 2 n times by the PGA 5 and then converted by the ADC 3 to obtain the second data. get. Based on the ratio between the acquired first data and second data, an actual gain that is an actual gain of the PGA 5 for which the target gain is set is obtained.

図3には上記ゲインキャリブレーション処理におけるアナログ信号波形が例示される。第2のデータを取得するときにスイッチ6の端子aには信号Aが与えられ、スイッチ7の端子cには信号AをPGA5でG倍(目的ゲイン倍)した信号が与えられる。第1のデータを取得するときはスイッチ6の端子aにはデジタル的にN倍された信号A×Nが与えられ、スイッチ7の端子dにはその信号A×Nがそのまま出力される。   FIG. 3 illustrates an analog signal waveform in the gain calibration process. When the second data is acquired, the signal A is given to the terminal a of the switch 6, and the signal A obtained by multiplying the signal A by GGA (target gain multiplication) by the PGA 5 is given to the terminal c of the switch 7. When acquiring the first data, the signal A × N digitally multiplied by N is given to the terminal a of the switch 6, and the signal A × N is outputted to the terminal d of the switch 7 as it is.

図4には上記ゲインキャリブレーション処理において第1のデータを取得するときの信号波形が例示される。ここではグランドGNDと電源電圧VCCとの間のパルス信号の信号振幅を一例として考える。”VCC/2)±REFVpp”に相当する小振幅の校正データをデジタル的にN倍した、”(VCC/2)±N×REFVpp”に相当するデータを生成してDAC4でDA変換する。DA変換された校正信号はADC3でAD変換され、AD変換されたデータは1/N倍される。1/N倍された検出データと校正データとの比に基づいて目的ゲインに対する実ゲインをもとめることができる。   FIG. 4 illustrates a signal waveform when the first data is acquired in the gain calibration process. Here, the signal amplitude of the pulse signal between the ground GND and the power supply voltage VCC is considered as an example. Calibration data with a small amplitude corresponding to “VCC / 2) ± REFVpp” is digitally multiplied by N, and data corresponding to “(VCC / 2) ± N × REFVpp” is generated and DA-converted by the DAC 4. The DA-converted calibration signal is AD-converted by the ADC 3, and the AD-converted data is multiplied by 1 / N. Based on the ratio between the detection data multiplied by 1 / N and the calibration data, the actual gain with respect to the target gain can be obtained.

ここで、PGA5に対するゲイン校正値の許容誤差について説明する。理論的には拡張AD変換処理によるAD変換結果がAD変換回路の量子化誤差以内であればよい。これは下記式
Vpp×(1−G/Gi)≦Verr…(1)
を満足すればよい。式(1)において左辺はゲイン誤差を含む拡張AD変換処理結果、右辺はADCの量子化誤差、GはPGA5の実際のゲイン(実測ゲイン)、GiはPGA5の目的ゲイン(2)、VppはPGA5の入力電圧範囲、VerrはADC3の量子化誤差の電圧(LSB/2)である。
Here, the allowable error of the gain calibration value for the PGA 5 will be described. Theoretically, it suffices if the AD conversion result by the extended AD conversion processing is within the quantization error of the AD conversion circuit. This is the following formula Vpp × (1−G / Gi) ≦ Verr (1)
Should be satisfied. In Expression (1), the left side is the result of the extended AD conversion process including the gain error, the right side is the quantization error of the ADC, G is the actual gain (measured gain) of PGA5, Gi is the target gain (2 n ) of PGA5, and Vpp is An input voltage range of PGA 5, Verr is a voltage (LSB / 2) of quantization error of ADC 3.

式(1)において、
Gerr=(1−G/Gi)、
Vpp=Vref/Gi、
Verr=(1/2)×(Vref/ADFS)、
とすると、式(1)から下記式
Gerr≦(1/2)×(Gi/ADFS)…(2)
を導くことができる。VrefはADC3の入力電圧範囲、ADFSはADC3のフルスケール値である。
In equation (1),
Gerr = (1−G / Gi),
Vpp = Vref / Gi,
Verr = (1/2) × (Vref / ADFS),
Then, from the equation (1), the following equation Gerr ≦ (1/2) × (Gi / ADFS) (2)
Can guide you. Vref is the input voltage range of ADC3, and ADFS is the full-scale value of ADC3.

式(2)によれば、最終的に許容されるゲインエラーGerrはPGA5の目的ゲインGiとADC3のフルスケール値で決まることになる。例えばADC3を16ビット、PGA5の目的ゲインを32倍(2)にして5ビット拡張を行う場合、式(2)より、
Gerr=(1/2)×(32/65536)=0.0244%
とされる。したがって、PGA5の目的ゲインが32倍のとき、実測ゲインが31.9922〜32.0078ならば、AD変換結果をADC3の量子化誤差範囲内に抑えることができる。要するに、AD変換結果をADC3の量子化誤差範囲内に抑えるには(さらにはPGA5を用いた拡張AD変換による変換結果とPGA5を用いないAD変換結果との間の変換値の連続性を保証するには)PGA5の実測ゲインの測定に高精度が必用になる。
According to Equation (2), the finally allowed gain error Gerr is determined by the target gain Gi of PGA5 and the full scale value of ADC3. For example, when the 5-bit extension is performed by setting the ADC3 to 16 bits and the target gain of the PGA5 to 32 times (2 5 ), the equation (2):
Gerr = (1/2) × (32/65536) = 0.0244%
It is said. Therefore, when the target gain of PGA 5 is 32 times, if the measured gain is 31.9922 to 32.0078, the AD conversion result can be suppressed within the quantization error range of ADC 3. In short, in order to keep the AD conversion result within the quantization error range of ADC 3 (and to guarantee the continuity of the conversion value between the conversion result by the extended AD conversion using PGA 5 and the AD conversion result not using PGA 5. Therefore, high accuracy is required for the measurement of the actual gain of PGA5.

以上の説明から明らかなように、実測ゲインを求めるとき、デジタル的に既知の校正データをN倍したデータに応ずる校正信号に対してAD変換を行うから、ADC3のダイナミックレンジに対して入力が極端に小さくなって変換精度が低下することはない。そのようにしてAD変換されたデータを1/Nにすれば、精度よく前記校正データに対するAD変換値を得ることができる。したがって、増幅回路を用いてAD変換の分解能を拡大するAD変換技術において増幅回路のゲインに対する校正精度を向上させることができる。   As is apparent from the above description, when the actual gain is obtained, AD conversion is performed on the calibration signal corresponding to the data obtained by multiplying the digitally known calibration data by N, so that the input is extremely large with respect to the dynamic range of the ADC 3. However, the conversion accuracy is not lowered. If the AD-converted data is set to 1 / N, an AD conversion value for the calibration data can be obtained with high accuracy. Therefore, it is possible to improve the calibration accuracy with respect to the gain of the amplifier circuit in the AD conversion technique in which the resolution of AD conversion is increased using the amplifier circuit.

特に、図4に例示されるように、前記Nの値をPGA5の目的ゲイン(2)に等しい値にすれば、PGA5で増幅しない校正信号(第1校正信号)に対して、PGA5で増幅した校正信号(第2校正信号)をAD変換する場合と同じAD変換精度で変換結果を得ることができ、PGA5の目的ゲインが極端に大きくいなっても高い校正精度を維持することができる。 In particular, as illustrated in FIG. 4, if the value of N is equal to the target gain (2 n ) of PGA 5, a calibration signal that is not amplified by PGA 5 (first calibration signal) is amplified by PGA 5. The conversion result can be obtained with the same AD conversion accuracy as when AD conversion is performed on the calibration signal (second calibration signal), and high calibration accuracy can be maintained even if the target gain of the PGA 5 becomes extremely large.

図5にはゲインキャリブレーション処理の詳細なフローチャーチが例示される。ゲインキャリブレーション処理が指示されると、CPU2はスイッチ6に端子aを選択し、スイッチ7に端子dを選択する(S1)。CPU2は”(VCC/2)±REFVpp”に相当する校正データをN倍した、”(VCC/2)±N×REFVpp”に相当するデータをDAVC4に与えてアナログ信号に変換する(S2)。DAC4から出力されるアナログ信号はADC3でデジタル信号に変換され(S3)、変換結果は増幅無しの振幅データNVPP_1としてRAM8に保管され(S4)。CPU2は保管されたデータNVPP_1をNで除算し、除算されたデータVPP_1をRAM8に保持する(S5)。データVPP_1はゲイン1倍としたときの校正信号の振幅に相当する。   FIG. 5 illustrates a detailed flow church of the gain calibration process. When the gain calibration process is instructed, the CPU 2 selects the terminal a for the switch 6 and selects the terminal d for the switch 7 (S1). The CPU 2 multiplies the calibration data corresponding to “(VCC / 2) ± REFVpp” by N, and supplies the data corresponding to “(VCC / 2) ± N × REFVpp” to the DAVC 4 to convert it into an analog signal (S2). The analog signal output from the DAC 4 is converted into a digital signal by the ADC 3 (S3), and the conversion result is stored in the RAM 8 as amplitude data NVPP_1 without amplification (S4). The CPU 2 divides the stored data NVPP_1 by N, and holds the divided data VPP_1 in the RAM 8 (S5). The data VPP_1 corresponds to the amplitude of the calibration signal when the gain is 1.

次に、CPU2はスイッチ6に端子aを選択し、スイッチ7に端子cを選択する(S6)。CPU2は”(VCC/2)±REFVpp”に相当する校正データをDAVC4に与えてアナログ信号に変換する(S7)。DAC4から出力されるアナログ信号をPGA5で目的ゲインG倍に増幅する(S8)。増幅されたアナログ信号は、”(VCC/2)±G×REFVpp”に相当し、ADC3でデジタル信号に変換される(S9)。変換結果は増幅有りの振幅データVPP_GとしてRAM8に保管され(S10)。データVPP_GはゲインG倍としたときの校正信号の振幅に相当する。CPU2は保管されたデータVPP_Gと前記データVPP_1との比に基づいて目的ゲインGに対する実測ゲインGcを算出し(S11)、算出した実測ゲインGcをフラッシュメモリ9の所定にエリアに記憶する(S12)。   Next, the CPU 2 selects the terminal a for the switch 6 and selects the terminal c for the switch 7 (S6). The CPU 2 applies calibration data corresponding to “(VCC / 2) ± REFVpp” to the DAVC 4 and converts it into an analog signal (S7). The analog signal output from the DAC 4 is amplified by the target gain G times by the PGA 5 (S8). The amplified analog signal corresponds to “(VCC / 2) ± G × REFVpp” and is converted into a digital signal by the ADC 3 (S9). The conversion result is stored in the RAM 8 as amplitude data VPP_G with amplification (S10). Data VPP_G corresponds to the amplitude of the calibration signal when the gain is G times. The CPU 2 calculates the actual gain Gc for the target gain G based on the ratio between the stored data VPP_G and the data VPP_1 (S11), and stores the calculated actual gain Gc in a predetermined area of the flash memory 9 (S12). .

図6にはマイクロコンピュータ1を適用した電力量計の一例が示される。電力量計は、負荷電圧を入力して低い電圧に変換する電圧変換部30と、負荷電流を入力して小さな電流に変換する電流変換部31と、前記電圧変換部30の出力電圧と前記電流変換部31の出力電流とに基づいて負荷の電力量の演算制御を行う電力演算制御部1Aと、前記電力演算制御部で演算された電力量を表示する表示部32とを有する。表示部32は例えば液晶ディスプレイパネルによって構成される。前記電力演算制御部は例えばマイクロコンピュータ1Aによって構成され、DAC4、PGA5A,5B、ADC3A,3B、CPU2、RAM8を有し、更に、ROM20、BGR(バンドギャップリファレンス回路)21、ディジタル入出力ポート(DIOP)22、アナログIOポート(AIOP)23を備える。PGA5A,5Bのそれぞれは前記PGA5に相当する回路で構成され、ADC3A、3Bのそれぞれは前記ADC3に相当する回路で構成される。BGR21は例えばADC,3A,3Bが逐次比較型で構成される場合の比較基準電圧を生成する。DIOPはデジタル入出力ポートの機能を備える。アナログ入出力ポート23はアナログ入力ポート11及びスイッチ6,7などの機能を備える。PGA5AはDAC4の出力又は電圧変換部30の出力を受けて増幅動作を行う。PGA5BはDAC4の出力又は電流変換部31の出力を受けて増幅動作を行う。ADC3AはDAC4又はPGA5Aの出力を受けて増幅動作を行う。ADC3BはDAC4又はPGA5Aの出力を受けて増幅動作を行う。   FIG. 6 shows an example of a watt-hour meter to which the microcomputer 1 is applied. The watt-hour meter includes a voltage converter 30 that inputs a load voltage and converts it to a low voltage, a current converter 31 that inputs a load current and converts it to a small current, an output voltage of the voltage converter 30 and the current 1 A of power calculation control parts which perform calculation control of the electric energy of load based on the output current of the conversion part 31, and the display part 32 which displays the electric energy calculated by the said electric power calculation control part. The display unit 32 is configured by a liquid crystal display panel, for example. The power calculation control unit is composed of, for example, a microcomputer 1A, and includes a DAC 4, PGA 5A, 5B, ADC 3A, 3B, CPU 2, RAM 8, ROM 20, BGR (band gap reference circuit) 21, digital input / output port (DIOP) ) 22 and an analog IO port (AIOP) 23. Each of the PGAs 5A and 5B includes a circuit corresponding to the PGA 5, and each of the ADCs 3A and 3B includes a circuit corresponding to the ADC 3. For example, the BGR 21 generates a comparison reference voltage when the ADCs 3A and 3B are configured in a successive approximation type. DIOP has a digital input / output port function. The analog input / output port 23 has functions such as the analog input port 11 and switches 6 and 7. The PGA 5A performs an amplification operation in response to the output of the DAC 4 or the output of the voltage conversion unit 30. The PGA 5B receives the output of the DAC 4 or the output of the current converter 31 and performs an amplification operation. The ADC 3A receives the output of the DAC 4 or PGA 5A and performs an amplification operation. The ADC 3B receives the output of the DAC 4 or PGA 5A and performs an amplification operation.

マイクロコンピュータ1Aは、電流変換部31から出力される電流信号に対してPGA5Bの増幅動作を用いてビット精度を拡張した拡張AD変換処理を行い、また、PGA5Bのゲインに関する誤差を低減するためのゲインキャリブレーション処理を行う。電圧変換部30から出力される電圧信号に対してPGA5Aの増幅動作を用いた拡張AD変換処理、PGA5Aのゲインに関するゲインキャリブレーション処理を行ってもよい。   The microcomputer 1A performs an extended AD conversion process with the bit precision extended on the current signal output from the current conversion unit 31 by using the amplification operation of the PGA 5B, and a gain for reducing an error related to the gain of the PGA 5B. Perform calibration processing. An extended AD conversion process using the amplification operation of the PGA 5A and a gain calibration process related to the gain of the PGA 5A may be performed on the voltage signal output from the voltage conversion unit 30.

電力量計に前記拡張AD変換処理と前記ゲインキャリブレーション処理をサポートするマイクロコンピュータ1Aを作用することにより、マイクロコンピュータ1Aが備えるAD変換の分解能を拡大するAD変換技術についてマイクロコンピュータ1を用いた場合と同様の作用効果を奏する。したがって、計測のダイナミックレンジが広く且つ各レンジで高い計測精度が要求される電力量計用途の高分解能のAD変換機能を低コストで実現することができる。   When the microcomputer 1 is used for an AD conversion technique for expanding the resolution of AD conversion included in the microcomputer 1A by operating the microcomputer 1A supporting the extended AD conversion process and the gain calibration process on the watt-hour meter Has the same effect as. Therefore, a high-resolution AD conversion function for a watt-hour meter that requires a wide measurement dynamic range and high measurement accuracy in each range can be realized at low cost.

特に図示はしないが、高精度ゲインキャリブレーションを制御可能なマイクロコンピュータ1,1Aは電力量計以外のデータ処理システムに広く適用することができる。例えばそのようなデータ処理システムは、1又は1Aで参照されるようなマイクロコンピュータと、前記マイクロコンピュータにアナログ信号を出力するアナログ回路と、前記マイクロコンピュータの出力に基づいて制御されるデジタル回路とを備えて構成することができる。そのようなマイクロコンピュータ1,1Aを用いることによって、アナログ回路の出力に基づいてデジタル回路を制御するマイクロコンピュータのAD変換機能を用途に応じて容易に拡張可能になる。   Although not shown in particular, the microcomputers 1 and 1A capable of controlling high-accuracy gain calibration can be widely applied to data processing systems other than watt-hour meters. For example, such a data processing system includes a microcomputer referred to as 1 or 1A, an analog circuit that outputs an analog signal to the microcomputer, and a digital circuit that is controlled based on the output of the microcomputer. It can be prepared. By using such microcomputers 1 and 1A, the AD conversion function of the microcomputer that controls the digital circuit based on the output of the analog circuit can be easily expanded according to the application.

以上本発明者によってなされた発明を実施形態に基づいて具体的に説明したが、本発明はそれに限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能であることは言うまでもない。   Although the invention made by the present inventor has been specifically described based on the embodiments, it is needless to say that the present invention is not limited thereto and can be variously modified without departing from the gist thereof.

例えば、ADCのオフセットは増幅回路それ自体が備える回路構成を用いてキャンセルしてもよい。この場合にはステップS35に示される“(測定値−Ost)×Gexp/Gin”の演算を、“(測定値)×Gexp/Gin”とすればよい。また、増幅回路はPGAに限定されず、ゲイン固定のアンプであってもよい。   For example, the ADC offset may be canceled by using a circuit configuration included in the amplifier circuit itself. In this case, the calculation of “(measured value−Ost) × Gexp / Gin” shown in step S35 may be “(measured value) × Gexp / Gin”. Further, the amplifier circuit is not limited to PGA, and may be a gain-fixed amplifier.

また、ゲインキャリブレーションで行う演算処理は、予め必要なルックアップテーブルを用意し、必要に応じてそのルックアップテーブルを参照する処理によって実現してもよい。   In addition, the calculation processing performed by gain calibration may be realized by preparing a necessary lookup table in advance and referring to the lookup table as necessary.

減衰器を用いる場合にも当然マルチサンプリングを行うことは可能である。マルチサンプリングはデュアルサンプリングに限定されず、2個以上の増幅回路や減衰器を用いる場合にも適用可能である。   Even when an attenuator is used, it is naturally possible to perform multi-sampling. Multi-sampling is not limited to dual sampling, and can be applied when two or more amplifier circuits and attenuators are used.

また、ゲインキャリブレーション処理で取得した実測ゲインの値などを不揮発性メモリ9に保管することによってゲインキャリブレーション処理をパワーオン毎に行わなくても済むようになる。キャリブレーション処理をマイクロコンピュータのパワーオンリセット処理に際して行ってもよく、更に、その後、定期的にキャリブレーション処理を行ってオフセット及び測定されたゲインの値を更新することにより、温度変化などに追従した最適化された実測ゲインを用いることが可能になる。   Further, by storing the actual gain value acquired by the gain calibration process in the nonvolatile memory 9, it is not necessary to perform the gain calibration process every power-on. The calibration process may be performed during the power-on reset process of the microcomputer. Further, the calibration process is periodically performed to update the offset and the measured gain value, thereby following the temperature change and the like. It is possible to use an optimized actual gain.

1 マイクロコンピュータ(MCU)
2 中央処理装置(CPU)
3 AD変換回路(ADC)
4 DA変換回路(DAC)
5 プログラマブルゲインアンプ(PGA)
6,7 セレクタ(SW1,SWS2)
8 RAM
9 不揮発性メモリ(FLASH)
11 アナログ入力ポート
12 デジタル入出力ポート
30 電圧変換部
31 電流変換部
1A マイクロコンピュータ(電力演算制御部)
32 表示部
1 Microcomputer (MCU)
2 Central processing unit (CPU)
3 AD conversion circuit (ADC)
4 DA conversion circuit (DAC)
5 Programmable gain amplifier (PGA)
6,7 Selector (SW1, SWS2)
8 RAM
9 Nonvolatile memory (FLASH)
DESCRIPTION OF SYMBOLS 11 Analog input port 12 Digital input / output port 30 Voltage conversion part 31 Current conversion part 1A Microcomputer (power calculation control part)
32 Display section

Claims (14)

DA変換回路、増幅回路、AD変換回路及び制御回路を有し、
前記制御回路は目的ゲイン2(nは正の整数)に対する前記増幅回路の実際のゲインを実測ゲインとして計測するゲインキャリブレーション処理と、アナログ信号を前記増幅回路で増幅してから前記AD変換回路で変換してビット拡張された変換データを取得する拡張AD変換処理とを制御し、
前記拡張AD変換処理において、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに前記実測ゲインに対する前記目的ゲイン2の比に応じた操作を施すことによってゲインに起因する誤差を相殺し、
前記ゲインキャリブレーション処理において、前記制御回路が校正データをN(Nは正の整数)倍して前記DA変換回路で変換した第1の校正信号を前記増幅回路で増幅せずに前記AD変換回路で変換し、その変換データを1/N倍にした第1のデータと、前記校正データを前記DA変換回路で変換した第2の校正信号を前記増幅回路により前記目的ゲイン2倍で増幅してから前記AD変換回路で変換した第2のデータと、の比に基づいて前記増幅回路の実測ゲインを求め
前記Nは2 に等しい値である、データ処理装置。
It has a DA converter circuit, an amplifier circuit, an AD converter circuit, and a control circuit,
The control circuit performs gain calibration processing for measuring an actual gain of the amplifier circuit as a measured gain with respect to a target gain 2 n (n is a positive integer), and amplifies an analog signal by the amplifier circuit, and then the AD converter circuit. And an extended AD conversion process for obtaining conversion data that has been bit-extended by conversion with
In the extended AD conversion process, the data obtained by the amplification by the amplification circuit and then the conversion by the AD conversion circuit is caused by the gain by performing an operation according to the ratio of the target gain 2 n to the actual gain. Offset the error,
In the gain calibration process, the control circuit multiplies the calibration data by N (N is a positive integer) and converts the first calibration signal converted by the DA converter circuit without amplifying the first calibration signal by the amplifier circuit. The first data obtained by converting the converted data by 1 / N times and the second calibration signal obtained by converting the calibration data by the DA converter circuit are amplified by the amplification circuit by the target gain of 2n times. obtains the measured gain of the amplifier circuit based on the second data and the ratio of converted by the AD converter from,
The data processing apparatus , wherein N is a value equal to 2 n .
前記操作は、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに対する、前記目的ゲイン2 倍の乗算と、前記実測ゲインによる除算とである、請求項1記載のデータ処理装置。 2. The data according to claim 1, wherein the operation is multiplication of the target gain by 2 n times and division by the actually measured gain on data obtained by amplification by the amplification circuit and then conversion by the AD conversion circuit. Processing equipment. 前記2 倍の乗算は下位側にnビット分のゼロ拡張を行うシフト演算である、請求項2記載のデータ処理装置。 The data processing apparatus according to claim 2, wherein the 2 n times multiplication is a shift operation that performs n-bit zero extension on the lower side . 前記制御回路は前記シフト演算を行った結果に対して前記実測ゲインによる除算を行う、請求項3記載のデータ処理装置。 The data processing apparatus according to claim 3, wherein the control circuit divides the result of the shift calculation by the actually measured gain . 前記増幅回路は前記制御回路によってゲインが可変に設定されるプログラマブルゲインアンプである、請求項1記載のデータ処理装置。 The data processing apparatus according to claim 1, wherein the amplification circuit is a programmable gain amplifier whose gain is variably set by the control circuit . 前記制御回路はCPUと前記CPUが実行するプログラムを格納したメモリとを有する、請求項1記載のデータ処理装置。 The data processing apparatus according to claim 1, wherein the control circuit includes a CPU and a memory storing a program executed by the CPU . 1個の半導体基板上に形成された1チップマイクロコンピュータである、請求項6記載のデータ処理装置。 7. The data processing apparatus according to claim 6, wherein the data processing apparatus is a one-chip microcomputer formed on one semiconductor substrate . マイクロコンピュータと、前記マイクロコンピュータにアナログ信号を出力するアナログ回路と、前記マイクロコンピュータの出力に基づいて制御されるデジタル回路とを有するデータ処理システムであって、  A data processing system comprising a microcomputer, an analog circuit for outputting an analog signal to the microcomputer, and a digital circuit controlled based on the output of the microcomputer,
前記マイクロコンピュータは、DA変換回路、増幅回路、AD変換回路及び制御回路を有し、  The microcomputer has a DA conversion circuit, an amplification circuit, an AD conversion circuit, and a control circuit,
前記制御回路は目的ゲイン2  The control circuit has a target gain of 2 n (nは正の整数)に対する前記増幅回路の実際のゲインを実測ゲインとして計測するゲインキャリブレーション処理と、アナログ信号を前記増幅回路で増幅してから前記AD変換回路で変換してビット拡張された変換データを取得する拡張AD変換処理とを制御し、A gain calibration process for measuring the actual gain of the amplifier circuit as a measured gain with respect to (n is a positive integer), and the analog signal is amplified by the amplifier circuit and then converted by the AD converter circuit to be bit-extended. Controls the extended AD conversion processing for acquiring conversion data,
前記拡張AD変換処理において、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに前記実測ゲインに対する前記目的ゲイン2  In the extended AD conversion processing, the target gain 2 with respect to the actually measured gain is converted into data obtained by performing amplification with the amplifier circuit and then converting with the AD converter circuit. n の比に応じた操作を施すことによってゲインに起因する誤差を相殺し、The error due to the gain is canceled by performing the operation according to the ratio of
前記ゲインキャリブレーション処理において、前記制御回路が校正データをN(Nは正の整数)倍して前記DA変換回路で変換した第1の校正信号を前記増幅回路で増幅せずに前記AD変換回路で変換し、その変換データを1/N倍にした第1のデータと、前記校正データを前記DA変換回路で変換した第2の校正信号を前記増幅回路により前記目的ゲイン2  In the gain calibration process, the control circuit multiplies the calibration data by N (N is a positive integer) and converts the first calibration signal converted by the DA converter circuit without amplifying the first calibration signal by the amplifier circuit. The first gain obtained by converting the converted data by 1 / N times and the second calibration signal obtained by converting the calibration data by the DA converter circuit are converted to the target gain 2 by the amplifier circuit. n 倍で増幅してから前記AD変換回路で変換した第2のデータと、の比に基づいて前記増幅回路の実測ゲインを求め、The measured gain of the amplifier circuit is obtained based on the ratio of the second data amplified by the second time and then converted by the AD converter circuit,
前記Nは2  N is 2 n に等しい値である、データ処理システム。A data processing system that is equal to
前記操作は、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに対する、前記目的ゲイン2 倍の乗算と、前記実測ゲインによる除算とである、請求項8記載のデータ処理システム。 9. The data according to claim 8, wherein the operation is multiplication of the target gain 2 n times and division by the actually measured gain with respect to data obtained by amplification by the amplification circuit and then conversion by the AD conversion circuit. Processing system. 前記2 倍の乗算は下位側にnビット分のゼロ拡張を行うシフト演算である、請求項9記載のデータ処理システム。 The data processing system according to claim 9, wherein the 2 n times multiplication is a shift operation for performing zero extension of n bits on the lower side . 前記制御回路は前記シフト演算を行った結果に対して前記実測ゲインによる除算を行う、請求項10記載のデータ処理システム。 The data processing system according to claim 10, wherein the control circuit divides the result of the shift operation by the actually measured gain . 前記増幅回路は前記制御回路によってゲインが可変に設定されるプログラマブルゲインアンプである、請求項8記載のデータ処理システム。 The data processing system according to claim 8, wherein the amplification circuit is a programmable gain amplifier whose gain is variably set by the control circuit . 前記制御回路はCPUと前記CPUが実行するプログラムを格納したメモリとを有する、請求項12記載のデータ処理システム。 The data processing system according to claim 12, wherein the control circuit includes a CPU and a memory storing a program executed by the CPU . 負荷電圧を入力して低い電圧に変換する電圧変換部と、負荷電流を入力して小さな電流に変換する電流変換部と、前記電圧変換部の出力電圧と前記電流変換部の出力電流とに基づいて負荷の電力量の演算制御を行う電力演算制御部と、前記電力演算制御部で演算された電力量を表示する表示部とを有する電力量計であって、  Based on a voltage converter that inputs a load voltage and converts it to a low voltage, a current converter that inputs a load current and converts it to a small current, an output voltage of the voltage converter, and an output current of the current converter A power meter having a power calculation control unit that performs calculation control of the power amount of the load and a display unit that displays the power amount calculated by the power calculation control unit,
前記電力演算制御部は、DA変換回路、増幅回路、前記電流変換部の出力電流に応ずるアナログ信号を入力するAD変換回路及び制御回路を有し、  The power calculation control unit includes a DA conversion circuit, an amplifier circuit, an AD conversion circuit that inputs an analog signal corresponding to the output current of the current conversion unit, and a control circuit.
前記制御回路は目的ゲイン2  The control circuit has a target gain of 2 n (nは正の整数)に対する前記増幅回路の実際のゲインを実測ゲインとして計測するゲインキャリブレーション処理と、アナログ信号を前記増幅回路で増幅してから前記AD変換回路で変換してビット拡張された変換データを取得する拡張AD変換処理とを制御し、A gain calibration process for measuring the actual gain of the amplifier circuit as a measured gain with respect to (n is a positive integer), and the analog signal is amplified by the amplifier circuit and then converted by the AD converter circuit to be bit-extended. Controls the extended AD conversion processing for acquiring conversion data,
前記拡張AD変換処理において、前記増幅回路で増幅してから前記AD変換回路で変換して得られるデータに前記実測ゲインに対する前記目的ゲイン2  In the extended AD conversion processing, the target gain 2 with respect to the actually measured gain is converted into data obtained by performing amplification with the amplifier circuit and then converting with the AD converter circuit. n の比に応じた操作を施すことによってゲインに起因する誤差を相殺し、The error due to the gain is canceled by performing the operation according to the ratio of
前記ゲインキャリブレーション処理において、前記制御回路が校正データをN(Nは正の整数)倍して前記DA変換回路で変換した第1の校正信号を前記増幅回路で増幅せずに前記AD変換回路で変換し、その変換データを1/N倍にした第1のデータと、前記校正データを前記DA変換回路で変換した第2の校正信号を前記増幅回路により前記目的ゲイン2  In the gain calibration process, the control circuit multiplies the calibration data by N (N is a positive integer) and converts the first calibration signal converted by the DA converter circuit without amplifying the first calibration signal by the amplifier circuit. The first gain obtained by converting the converted data by 1 / N times and the second calibration signal obtained by converting the calibration data by the DA converter circuit are converted to the target gain 2 by the amplifier circuit. n 倍で増幅してから前記AD変換回路で変換した第2のデータと、の比に基づいて前記増幅回路の実測ゲインを求め、The measured gain of the amplifier circuit is obtained based on the ratio of the second data amplified by the second time and then converted by the AD converter circuit,
前記Nは2  N is 2 n に等しい値である、電力量計。A watt hour meter that is equal to.
JP2011181260A 2011-08-23 2011-08-23 Data processing apparatus, data processing system, and watt-hour meter Expired - Fee Related JP5713450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011181260A JP5713450B2 (en) 2011-08-23 2011-08-23 Data processing apparatus, data processing system, and watt-hour meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011181260A JP5713450B2 (en) 2011-08-23 2011-08-23 Data processing apparatus, data processing system, and watt-hour meter

Publications (2)

Publication Number Publication Date
JP2013046129A JP2013046129A (en) 2013-03-04
JP5713450B2 true JP5713450B2 (en) 2015-05-07

Family

ID=48009721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011181260A Expired - Fee Related JP5713450B2 (en) 2011-08-23 2011-08-23 Data processing apparatus, data processing system, and watt-hour meter

Country Status (1)

Country Link
JP (1) JP5713450B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114280360A (en) * 2021-12-24 2022-04-05 紫光展讯通信(惠州)有限公司 Current measurement circuit and current measurement method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61163721A (en) * 1985-01-14 1986-07-24 Fuji Electric Co Ltd Analog input system
JP2007267126A (en) * 2006-03-29 2007-10-11 Daihen Corp Digital output device
JP4854382B2 (en) * 2006-05-11 2012-01-18 中国電力株式会社 Signal processing apparatus, electric energy measuring apparatus, signal processing apparatus gain changing method, and program
JP2010124250A (en) * 2008-11-19 2010-06-03 Kenwood Corp A/d conversion apparatus, d/a conversion apparatus, and signal processing apparatus
JP5465965B2 (en) * 2009-03-31 2014-04-09 ルネサスエレクトロニクス株式会社 Data processing apparatus and data processing system

Also Published As

Publication number Publication date
JP2013046129A (en) 2013-03-04

Similar Documents

Publication Publication Date Title
JP4896150B2 (en) Electronic energy meter
JP5465965B2 (en) Data processing apparatus and data processing system
EP2405578B1 (en) Analog-to-digital conversion apparatus, analog-to-digital conversion method, and electronic device
JP5713450B2 (en) Data processing apparatus, data processing system, and watt-hour meter
US20120139767A1 (en) Charge injection mechanism for analog-to-digital converters
JP5754561B2 (en) Weak current measuring device
US6748344B2 (en) Method and apparatus employing a scaling factor for measuring and displaying an electrical parameter of an electrical system
JP2019161650A (en) Temperature based reference gain correction for analog-to-digital converter
TW201624662A (en) Semiconductor device and AC resistance measuring system including the same
JPH08189974A (en) Apparatus for measuring radiation energy spectrum
US10673450B1 (en) Techniques to improve linearity of R-2R ladder digital-to-analog converters (DACs)
US11119134B2 (en) Detector and method for measuring a resistance of a variable resistance sensor whose resistance varies with respect to a time-varying stimulus
JP2000031823A (en) A/d converter
KR20130062891A (en) Analog-digital convert for correcting error
JP2010096606A (en) Voltage applying current measurement circuit and semiconductor tester using the same
GB2594668A (en) Detector and method for measuring a resistance of a variable resistance sensor while resistance varies with respect to a time-varying stimulus
JP2007074016A (en) A/d converter
JP2019207159A (en) Current detection circuit, ammeter, and control method of current detection circuit
Hariharan et al. A method for ADC error testing and its Compensation in Ratiometric Measurements
WO2004062108A1 (en) Analog/digital converter and electronic circuit
JP2013131838A (en) D/a converter system and testing apparatus using the same
RU2469338C1 (en) Measuring device
JP2812132B2 (en) Multiplication circuit with calibration function
JP5763558B2 (en) Measuring apparatus and measuring method using the same
RU2469339C1 (en) Measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150306

R150 Certificate of patent or registration of utility model

Ref document number: 5713450

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees