JPH0157308B2 - - Google Patents
Info
- Publication number
- JPH0157308B2 JPH0157308B2 JP55112221A JP11222180A JPH0157308B2 JP H0157308 B2 JPH0157308 B2 JP H0157308B2 JP 55112221 A JP55112221 A JP 55112221A JP 11222180 A JP11222180 A JP 11222180A JP H0157308 B2 JPH0157308 B2 JP H0157308B2
- Authority
- JP
- Japan
- Prior art keywords
- range
- measured value
- value
- measured
- section
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R15/00—Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
- G01R15/08—Circuits for altering the measuring range
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)
- Measurement Of Current Or Voltage (AREA)
Description
【発明の詳細な説明】
本発明は、レンジ切換え時の測定値処理方法に
関するものである。さらに詳しくは、レンジ切換
え時の測定値の不連続性を緩和した測定値処理方
法に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for processing measured values during range switching. More specifically, the present invention relates to a measured value processing method that alleviates discontinuity in measured values when switching ranges.
変化範囲の広い測定値については、レンジを切
換えながら測定をすることが行われる。その場
合、測定回路の誤差がレンジごとに異なるので、
レンジを切換えたとき、その分だけ測定値に不連
続性を生じる。この不連続性による測定値の変化
は、レンジの誤差が互いに反対の極性である場
合、みかけ上許容範囲以上の大きさになることが
ある。測定値に実際の変化がないのに、レンジ切
換えによつてこのような変化が生じるのは不都合
である。 For measured values with a wide variation range, measurements are performed while switching ranges. In that case, the error of the measurement circuit differs depending on the range, so
When changing the range, there will be discontinuity in the measured values. Changes in measured values due to this discontinuity may appear larger than the allowable range if the range errors have opposite polarities. It is inconvenient that range switching causes such a change when there is no actual change in the measured value.
本発明の目的は、レンジ切換え時の測定値の不
連続性を緩和する測定値処理方法を提供すること
にある。 An object of the present invention is to provide a measured value processing method that alleviates the discontinuity of measured values when changing ranges.
本発明は、
被測定信号を増加する可変レンジの増幅部と、
この増幅部の出力信号をデイジタル信号に変換す
るアナログ・デイジタル変換部と、このアナロ
グ・デイジタル変換部の出力信号を処理して測定
値を求めるとともに被測定信号に応じて増幅部の
ゲインを調整する測定値処理部とを有する測定値
処理装置を用い、
前記測定値処理部により、
被測定信号に応じて許容しうる最少のレンジを
増幅部に設定し、そのレンジで測定値がレンジ切
換点付近に設定した基準値を越えたとき、そのレ
ンジでの測定値とすぐ上のレンジでの測定値との
加重平均によつて正規の測定値を求めるととも
に、そのレンジにおける測定値用の加重係数を測
定値の増加につれて漸減し、上のレンジにおける
測定値用の加重係数を測定値の増加につれて漸増
することを特徴とするレンジ切換え時の測定値処
理方法である。 The present invention includes: a variable range amplification section that increases a signal under test;
An analog/digital converter converts the output signal of this amplifier into a digital signal, and an analog/digital converter that processes the output signal of this analog/digital converter to obtain a measured value and adjusts the gain of the amplifier depending on the signal under test. using a measured value processing device having a measured value processing section, the measured value processing section sets the minimum allowable range in the amplifier section according to the signal under test, and in that range, the measured value is near the range switching point. When the standard value set in the range is exceeded, the normal measured value is obtained by the weighted average of the measured value in that range and the measured value in the range immediately above, and the weighting coefficient for the measured value in that range is calculated. This method of processing measured values at the time of range switching is characterized in that the weighting coefficient is gradually decreased as the measured value increases, and the weighting coefficient for the measured value in the upper range is gradually increased as the measured value increases.
以下、図面によつて本発明を詳細に説明する。 Hereinafter, the present invention will be explained in detail with reference to the drawings.
第1図は本発明にかかる方法の実施に用いる装
置の構成例を示した図である。第1図において、
1は可変レンジの増幅部、2はアナログ・デイジ
タル変換部(以下A/D変換部)、3は測定値処
理部、4はレンジ切換部である。 FIG. 1 is a diagram showing an example of the configuration of an apparatus used to implement the method according to the present invention. In Figure 1,
1 is a variable range amplification section, 2 is an analog/digital conversion section (hereinafter referred to as an A/D conversion section), 3 is a measured value processing section, and 4 is a range switching section.
増幅部1は、被測定信号Exを入力とし、これ
をレンジ切換部4によつて定められるレンジにお
いて増幅して、A/D変換部2に与える。増幅部
1は、5%のオーバーレンジまでは入出力の直線
性が保たれるものとする。A/D変換部2は、増
幅信号をデイジタル信号に変換して、測定値処理
部3に与える。測定値処理部3は、このデイジタ
ル信号にレンジに応じた倍率を掛けて、被測定信
号Exの値を表わすデイジタル測定値を求めて、
この測定値を利用する次段の装置(図略)に与え
る。測定値処理部3は、適宜のタイミングでA/
D変換部2に変換動作を指令するとともに、レン
ジ切換部4にレンジ選択指令を与える。測定値処
理部3の機能は、マイクロプロセツサや計算機の
プログラムによつて実現される。 The amplifying section 1 receives the signal under test Ex, amplifies it in a range determined by the range switching section 4, and supplies the amplified signal to the A/D converting section 2. It is assumed that the amplifier section 1 maintains input/output linearity up to a 5% overrange. The A/D converter 2 converts the amplified signal into a digital signal and provides the digital signal to the measured value processor 3 . The measured value processing unit 3 multiplies this digital signal by a magnification according to the range to obtain a digital measured value representing the value of the signal under test Ex.
This measured value is given to the next stage device (not shown) that utilizes it. The measured value processing section 3 performs A/
It instructs the D conversion section 2 to perform a conversion operation, and also gives a range selection command to the range switching section 4. The functions of the measured value processing section 3 are realized by a microprocessor or computer program.
測定値処理部3は、レンジ切換点附近において
は後述のような測定値処理を行い、レンジ切換時
の不連続性を緩和する。第2図にレンジ切換えの
概念図を示す。第2図において、縦軸は被測定信
号Exの真値であり、横軸は測定値処理部3によ
つて得られる測定値である。被測定信号Exとそ
の測定値は本来等しいはずであるが(一点鎖線)、
増幅部1やA/D変換部2に誤差があると等しく
ならない。そしてこの誤差は、レンジによつて異
なるので(実線a,b)、被測定信号Exの値が同
じでも、レンジを切換えたとき測定値に不連続な
変化が生じる(点線)。測定値処理部3はこのレ
ンジ切換わりを太線のように移行させ、測定値の
変化を緩和する。 The measured value processing section 3 performs measured value processing as described below near the range switching point to alleviate discontinuity at the time of range switching. Figure 2 shows a conceptual diagram of range switching. In FIG. 2, the vertical axis is the true value of the signal under measurement Ex, and the horizontal axis is the measured value obtained by the measured value processing section 3. The signal under test Ex and its measured value should originally be equal (dotted chain line),
If there is an error in the amplifier section 1 or the A/D converter section 2, they will not be equal. Since this error differs depending on the range (solid lines a, b), even if the value of the signal under test Ex is the same, when the range is switched, a discontinuous change occurs in the measured value (dotted line). The measured value processing section 3 shifts this range switching as shown by the thick line to alleviate the change in the measured value.
測定値処理部3の動作は次のとおりである。ま
ずレンジを最大にして測定値を求め、この測定値
が105%以内に入る最小のレンジを求めてそれを
増幅部1にセツトし、このレンジでの測定値を求
める。そしてこの測定値は、例えば97、100、103
の各基準値と比較し、比較結果に基づいてそれぞ
れ次のような加重平均をして正規の測定値を求め
る。 The operation of the measured value processing section 3 is as follows. First, set the range to the maximum and obtain the measured value, then find the minimum range within which this measured value falls within 105%, set it in the amplifier 1, and obtain the measured value in this range. And this measurement value is for example 97, 100, 103
are compared with each reference value, and based on the comparison results, the following weighted average is calculated to obtain the normal measurement value.
すなわち、
(1) |測定値|≦97のとき、
上記の最小レンジで4回測定して、得られた
測定値の平均値を正規の測定値とする。 That is, (1) When |measured value|≦97, measure four times in the above minimum range and use the average value of the obtained measured values as the normal measured value.
(2) 97<|測定値|≦100のとき、
上記の最小レンジで3回測定し、そのすぐ上
のレンジで1回測定して、得られた測定値の平
均値を正規の測定値とする。(2) When 97<|Measurement value|≦100, measure three times in the minimum range above and once in the range immediately above it, and take the average value of the obtained measurement values as the normal measurement value. do.
(3) 100<|測定値|≦103のとき、
上記の最小レンジで2回測定し、そのすぐ上
のレンジで2回測定して、得られた測定値の平
均値を正規の測定値とする。(3) When 100<|measured value|≦103, measure twice in the minimum range above, then measure twice in the range immediately above it, and take the average value of the obtained measured values as the normal measured value. do.
(4) 103<|測定値|のとき
上記の最小レンジで1回測定し、そのすぐ上
のレンジで3回測定して、得られた測定値の平
均値を正規の測定値とする。(4) When 103<|Measurement value| Measure once in the above minimum range, measure three times in the range immediately above it, and use the average value of the obtained measurement values as the regular measurement value.
つまり、測定値を許容しうる最小レンジでの測
定値とそのすぐ上のレンジでの測定値を用いて、
加重係数を順次相補的に変化させながら平均値を
求めて正規の測定値とするのである。 In other words, using the measurement value in the minimum range that allows the measurement value and the measurement value in the range immediately above it,
The average value is obtained by changing the weighting coefficients in a complementary manner in order and as a normal measurement value.
このような測定値処理を行つたときの、レンジ
切換点附近の測定値の移行の詳細を第3図に示
す。第3図において、レンジは、aレンジからそ
のすぐ上のbレンジに切換えるものとし、aレン
ジは例えば0〜100mVであつて誤差+0.1%を含
むもの、bレンジは例えば0〜200mVであつて
誤差−0.1%を含むものであるとする。 FIG. 3 shows details of the transition of measured values near the range switching point when such measured value processing is performed. In Figure 3, the range is switched from the a range to the b range immediately above it, where the a range is, for example, 0 to 100 mV and includes an error of +0.1%, and the b range is, for example, 0 to 200 mV. It is assumed that this includes an error of -0.1%.
いま、被測定信号Exの真値が97mVであると
すると、aレンジによる測定値は+0.1%の誤差
のため97.1mVとなる。このため、97<|測定値
|<100であるから、前記(2)の方法が適用され、
aレンジによる3回の測定とbレンジによる1回
の測定の加重平均により正規の測定値が求められ
る。bレンジによる測定値は−0.1%の誤差のた
め96.8mVとなる。なお、bレンジは0〜200m
Vであるから、−0.1%の誤差は−0.2mVである。
このため加重平均による測定値は97.025mVとな
る。すなわち、aレンジで測定すれば97.1mVと
なるはずの測定値が97.025mVに修正される。こ
れにより、第3図における測定値の軌跡は、aレ
ンジの軌跡からそれとは−0.075mVほぼ平行に
ずれた軌跡a′に移行する。aレンジの測定値が97
mVより大きく100mV以下である間は、加重平
均による測定値は軌跡a′上にある。すなわち、加
重平均によれば、aレンジによつて得られるはず
の測定値よりも−0.075mVだけ不連続に変化し
た測定値が得られる。しかし、その変化量はaレ
ンジの0.1%以下であるから問題はない。 Now, assuming that the true value of the signal under test Ex is 97 mV, the measured value by the a range is 97.1 mV due to an error of +0.1%. Therefore, since 97<|measured value|<100, method (2) above is applied,
A normal measurement value is determined by a weighted average of three measurements in the a range and one measurement in the b range. The measurement value from the b range is 96.8mV due to an error of -0.1%. In addition, b range is 0-200m
Since it is V, an error of -0.1% is -0.2 mV.
Therefore, the measured value based on the weighted average is 97.025 mV. That is, the measured value, which should be 97.1 mV if measured in the a range, is corrected to 97.025 mV. As a result, the locus of the measured values in FIG. 3 shifts from the locus of the a range to a locus a' that is approximately parallel to the locus of -0.075 mV. The measured value of the a range is 97
While the value is greater than mV and less than 100 mV, the weighted average measurement value is on the trajectory a'. That is, according to the weighted average, a measured value that is discontinuously changed by -0.075 mV from the measured value that would be obtained by the a range is obtained. However, since the amount of change is less than 0.1% of the a range, there is no problem.
被測定信号Exの真値が100mVになると、aレ
ンジの測定値は100.1mVになるから、前記(3)の
方法による加算平均が行われる。このとき、bレ
ンジの測定値は99.8mVであるから、加重平均値
99.95mVとなる。それまでの加重平均による測
定値は軌跡a′上にあつたので、真値100mVに対
して100.025mVとなるべきであつたが、加重の
係数の変更により−0.075mVだけ変化した値に
なる。すなわち、測定値の軌跡はさらに−0.075
mVほぼ平行にずれた軌跡a″となる。このときの
測定値の変化量もaレンジの0.1%以下であるか
ら問題にならない。 When the true value of the signal under measurement Ex becomes 100 mV, the measured value of the a range becomes 100.1 mV, so the averaging using the method (3) above is performed. At this time, the measured value of the b range is 99.8 mV, so the weighted average value
It becomes 99.95mV. Since the measured value based on the weighted average up to that point was on the trajectory a', it should have been 100.025 mV for the true value of 100 mV, but due to the change in the weighting coefficient, the value changed by -0.075 mV. In other words, the trajectory of the measured value is further −0.075
The locus a'' is shifted approximately parallel to mV.The amount of change in the measured value at this time is also less than 0.1% of the a range, so there is no problem.
以下同様にして、aレンジの測定値が各基準値
を越えるたびに平均計算用の加重の変更が行わ
れ、そのつど−0.075mVずつ測定値は不連続に
変化してやがてbレンジの軌跡に到着し、レンジ
の切換えを終る。すなわち測定値の不連続な変化
を許容範囲内に緩和した形でレンジの切換えが行
われる。比較の基準値の刻みをもつと細かくし、
それに合わせて加重係数の変化のステツプも細か
くすると、不連続点における変化量をさらに小さ
くすることができる。また、aレンジからbレン
ジへの移行の軌跡を適当な関数で設定すると、連
続的なレンジ間移行を行わせることができる。な
お、これは、加重係数を連続的に変化させた場合
に相当する。 Similarly, each time the measured value in the a range exceeds each reference value, the weight for average calculation is changed, and each time the measured value changes discontinuously by -0.075 mV, and eventually reaches the trajectory of the b range. Arrived and finished changing the range. That is, range switching is performed in such a way that discontinuous changes in measured values are alleviated to within a permissible range. If you have a standard value increments for comparison, you can make it finer.
If the steps for changing the weighting coefficient are made smaller accordingly, the amount of change at the discontinuous point can be further reduced. Further, by setting the locus of transition from the a range to the b range using an appropriate function, continuous transition between ranges can be performed. Note that this corresponds to a case where the weighting coefficient is continuously changed.
以上のように、本発明は、レンジ切換点附近に
おいて、あるレンジで測つた測定値とそのすぐ上
のレンジで測つた測定値の加重平均によつて正規
の測定値を求めるようにするとともに、加重係数
を測定値に応じて互いに相補的に変化させるよう
にした。このため、レンジ切換え時の測定時の不
連続性を緩和した測定値処理方法が実現できる。 As described above, the present invention calculates a normal measured value by the weighted average of the measured value measured in a certain range and the measured value measured in the range immediately above it near the range switching point, and The weighting coefficients are changed in a complementary manner depending on the measured value. Therefore, it is possible to realize a measured value processing method that alleviates discontinuity during measurement when switching ranges.
第1図は本発明にかかる方法の実施に用いる装
置の構成例を示した図、第2図および第3図は第
1図の装置の動作説明図である。
1……増幅部、2……A/D変換部、3……測
定値処理部、4……レンジ切換部。
FIG. 1 is a diagram showing an example of the configuration of an apparatus used for carrying out the method according to the present invention, and FIGS. 2 and 3 are diagrams illustrating the operation of the apparatus shown in FIG. 1. 1... Amplification section, 2... A/D conversion section, 3... Measured value processing section, 4... Range switching section.
Claims (1)
と、この増幅部の出力信号をデイジタル信号に変
換するアナログ・デイジタル変換部と、このアナ
ログ・デイジタル変換部の出力信号を処理して測
定値を求めるとともに被測定信号に応じて増幅部
のゲインを調整する測定値処理部とを有する測定
値処理装置を用い、 前記測定値処理部により、 被測定信号に応じて許容しうる最小のレンジを
増幅部に設定し、そのレンジで測定値がレンジ切
換点付近に設定した基準値を越えたとき、そのレ
ンジでの測定値とすぐ上のレンジでの測定値との
加重平均によつて正規の測定値を求めるととも
に、そのレンジにおける測定値用の加重係数を測
定値の増加につれて漸減し、上のレンジにおける
測定値用の加重係数を測定値の増加につれて漸増
することを特徴とするレンジ切換え時の測定値処
理方法。[Claims] 1. A variable range amplification section that increases the signal under test, an analog-to-digital conversion section that converts the output signal of this amplification section into a digital signal, and a process for processing the output signal of this analog-to-digital conversion section. a measured value processing unit that calculates a measured value based on the measured value and adjusts the gain of the amplification unit according to the signal under test; When the minimum range is set in the amplification section and the measured value in that range exceeds the reference value set near the range switching point, the weighted average of the measured value in that range and the measured value in the range immediately above is used. Therefore, a normal measured value is obtained, and the weighting coefficient for the measured value in that range is gradually decreased as the measured value increases, and the weighting coefficient for the measured value in the upper range is gradually increased as the measured value increases. How to process measured values when switching ranges.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11222180A JPS5735761A (en) | 1980-08-14 | 1980-08-14 | Measured value treating system in range changing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11222180A JPS5735761A (en) | 1980-08-14 | 1980-08-14 | Measured value treating system in range changing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5735761A JPS5735761A (en) | 1982-02-26 |
| JPH0157308B2 true JPH0157308B2 (en) | 1989-12-05 |
Family
ID=14581277
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11222180A Granted JPS5735761A (en) | 1980-08-14 | 1980-08-14 | Measured value treating system in range changing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5735761A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006266738A (en) * | 2005-03-22 | 2006-10-05 | Denso Corp | Sensitivity switching sensor circuit and electronic circuit device using sensitivity switching sensor circuit |
| JP5115699B2 (en) * | 2007-07-06 | 2013-01-09 | 株式会社ジェイテクト | Steering control device |
-
1980
- 1980-08-14 JP JP11222180A patent/JPS5735761A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5735761A (en) | 1982-02-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4531089A (en) | Electric power detecting circuit and gain control circuit using the same | |
| JPS5873231A (en) | Analog-to-digital converter | |
| US7382150B2 (en) | Sensitivity switchable detection circuit and method | |
| JPH0157308B2 (en) | ||
| JPS60260230A (en) | Analog-to-digital converter | |
| JPS59104826A (en) | Analog-digital converter | |
| JPS60148228A (en) | Analog-digital converter | |
| JPH0682267A (en) | Sensor with temperature drift compensation function | |
| JPH0734540B2 (en) | A / D converter | |
| JPS62204617A (en) | High resolution analog-digital converter | |
| JP2996280B2 (en) | How to adjust the zero and span of an electronic balance | |
| JP2005214849A (en) | Automatic gain control circuit | |
| CN115361021B (en) | Signal conversion method, device, electronic device and storage medium | |
| KR100417114B1 (en) | Apparatus and method to measure high frequency power | |
| JPH05206769A (en) | Automatic gain control circuit | |
| JPH0915272A (en) | Voltage measuring circuit | |
| JP3761390B2 (en) | Averaging in digital scales | |
| JPS58186841A (en) | Logarithmic converter | |
| JPH03217898A (en) | Envelope follower | |
| KR20170066044A (en) | Offset control apparatus and sensor apparatus using the same | |
| JPH06140872A (en) | Automatic filter adjustment circuit | |
| JPH0447773B2 (en) | ||
| JP3179862B2 (en) | Signal processing circuit of weighing device | |
| JPS5846707A (en) | Control circuit of output level | |
| KR100335136B1 (en) | Apparatus of signal transformation |