JPS6366471A - Level measuring apparatus - Google Patents

Level measuring apparatus

Info

Publication number
JPS6366471A
JPS6366471A JP21194586A JP21194586A JPS6366471A JP S6366471 A JPS6366471 A JP S6366471A JP 21194586 A JP21194586 A JP 21194586A JP 21194586 A JP21194586 A JP 21194586A JP S6366471 A JPS6366471 A JP S6366471A
Authority
JP
Japan
Prior art keywords
range
circuit
amplifier
output
data
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.)
Pending
Application number
JP21194586A
Other languages
Japanese (ja)
Inventor
Yoshiharu Unami
宇波 義春
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.)
Fujikura Ltd
Original Assignee
Fujikura 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 Fujikura Ltd filed Critical Fujikura Ltd
Priority to JP21194586A priority Critical patent/JPS6366471A/en
Publication of JPS6366471A publication Critical patent/JPS6366471A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

PURPOSE:To enable the measuring of a level without reinputting of data when an out-of-range is encountered, by providing a second amplifier with a range switching behind a sample holding circuit. CONSTITUTION:An auxiliary range switching circuit 11 is provided between a sample holding circuit 6 and an A/D converter 7. The circuit 11 is made up of a resistance 12, a second operational amplifier 13, resistances 14-1-14-3 for determining an amplification factor thereof 13 and switches 15-1-15-3 to be ON/OFF controlled with a microcomputer 8. At this point, a voltage Vi to be measured is held in the circuit 6 by a sampling pulse SP from the computer 8. Thus, when an out-of-range is encountered, the range of the circuit 11 is switched and the level of the voltage held is measured thereby eliminating the need for reinputting of data.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、光パワーメータやディジタルマルチメータ
等の分野において用いられる、レンジ切換が設けられた
レベル測定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention relates to a level measuring device equipped with range switching, used in the field of optical power meters, digital multimeters, and the like.

「従来の技術」 従来のこの種のレベル測定装置の構成例を第2図に示す
。この図において、Iは被測定電圧Viが印加される入
力端子、2は入力抵抗、3は演算増幅器、4−1.=1
−2.・・・・・・4− Nは各々演算増幅器3の増幅
率を決める抵抗、5−1.5−2’、・・・・・・5−
Nは各々、マイクロコンピュータ8によってオン/オフ
制御されるスイッチである。6は演算増幅器3の出力を
マイクロコンピュータ8から供給されるサンプリングパ
ルスSpのタイミングでホールドするサンプルホールド
回路、7はサンプルホールド回路6の出力をディジタル
データに変換するA/D(アナログ/ディジタル)変換
器であり、このA/D変換器7の出力データがマイクロ
コンピュータ8へ供給される。
"Prior Art" An example of the configuration of a conventional level measuring device of this type is shown in FIG. In this figure, I is an input terminal to which a voltage to be measured Vi is applied, 2 is an input resistor, 3 is an operational amplifier, 4-1. =1
-2. ......4- N is a resistance that determines the amplification factor of the operational amplifier 3, 5-1.5-2', ...5-
Each of N is a switch controlled on/off by the microcomputer 8. 6 is a sample hold circuit that holds the output of the operational amplifier 3 at the timing of the sampling pulse Sp supplied from the microcomputer 8, and 7 is an A/D (analog/digital) conversion that converts the output of the sample hold circuit 6 into digital data. The output data of this A/D converter 7 is supplied to the microcomputer 8.

以上の構成において、被測定電圧Viは、増幅器3にお
いてその時オンとなっているスイッチ5−1〜5−Nに
対応する増幅率で増幅され、この増幅された電圧がサン
プルホールド回路6へ印加される。そして、マイクロコ
ンピュータ8がサンプリングパルスSpを出力すると、
増幅器3の出力がサンプルホールド回路6によってホー
ルドされ、A/D変換器7においてディジタルデータに
変換され、マイクロコンピュータ8へ供給される。
In the above configuration, the voltage to be measured Vi is amplified by the amplification factor corresponding to the switches 5-1 to 5-N that are turned on at that time in the amplifier 3, and this amplified voltage is applied to the sample and hold circuit 6. Ru. Then, when the microcomputer 8 outputs the sampling pulse Sp,
The output of the amplifier 3 is held by a sample and hold circuit 6, converted into digital data by an A/D converter 7, and supplied to a microcomputer 8.

マイクロコンピュータ8はA/D変換器7の出力をチェ
ックし、その値が現在オンとなっているスイッチ5−1
〜5−Hに対応する測定範囲内(インレンジ)であった
場合は、A/D変換器7の出力データをレベル測定結果
として内部のメモリに書き込む。一方、A/D変換器7
の出力データが測定範囲外(アウトレンジ)であった場
合は、マイクロコンピュータ8がスイッチ5−1〜5−
Hの切換(レンジ切換)を行い、次いでサンプリングパ
ルスspを出力して再び増幅器3の出力のホールドを行
う。
The microcomputer 8 checks the output of the A/D converter 7, and the value indicates whether the switch 5-1 is currently on.
If it is within the measurement range (in-range) corresponding to 5-H, the output data of the A/D converter 7 is written into the internal memory as the level measurement result. On the other hand, A/D converter 7
If the output data of is outside the measurement range (out range), the microcomputer 8 switches switches 5-1 to 5-5.
H switching (range switching) is performed, then the sampling pulse sp is output, and the output of the amplifier 3 is held again.

「発明が解決しようとする問題点」 上述したように、従来のレベル測定装置にあっては、ア
ウトレンジであった場合に、レンジ切換を行った後再度
データ取り込みを行わなければならず、先に取り込んだ
データが単にレンジ切換のためだけに使用されることに
なり、無駄が多かった。また、各レンジ相互間には、第
3図に示すように、ある程度のマージンMgが設定され
ているが、被測定電圧Viが、例えば第3図に示すよう
にマージンMgを越えて高速に変動した場合、図のO印
の点でサンプリングを行うと、全くデータを取り込めな
くなってしまう状態が発生する。そして、このようにデ
ータ取り込みを行えない場合はソフトウェアによる平均
化も行い得ない。
"Problems to be Solved by the Invention" As mentioned above, with conventional level measuring devices, if the range is out of range, data must be captured again after changing the range. The data imported into the system was used only for changing the range, resulting in a lot of waste. Furthermore, as shown in Fig. 3, a certain margin Mg is set between each range, but the voltage to be measured Vi changes rapidly, exceeding the margin Mg, as shown in Fig. 3. In this case, if sampling is performed at the point marked O in the figure, a situation will occur in which no data can be captured at all. If data cannot be captured in this way, averaging by software cannot be performed.

なお、被測定電圧Viの変動を抑えるため、時定数の大
きな回路を入力側に設けることも考えられるが、この場
合、その時定数の時間だけ測定を待たなければならず、
測定時間が長くなってしまう欠点がある。
Note that in order to suppress fluctuations in the voltage to be measured Vi, it is possible to install a circuit with a large time constant on the input side, but in this case, the measurement must wait for the time of that time constant.
The disadvantage is that the measurement time becomes long.

この発明は上述した事情に鑑みてなされたもので、その
目的は、アウトレンジであった場合においても、データ
の再取り込みを行うことなくレベル測定を行うことがで
きるレベル測定装置を提供することにある。
This invention was made in view of the above-mentioned circumstances, and its purpose is to provide a level measuring device that can measure the level without re-capturing data even when the data is out of range. be.

「問題点を解決するための手段」 この発明は、入力信号を増幅するレンジ切換付きの第1
の増幅器と、前記第1の増幅器の出力をホールドするサ
ンプルホールド回路と、前記サンプルホールド回路の出
力をディジタル信号に変換するアナログ/ディジタル変
換器とを具備するレベル測定装置において、前記サンプ
ルホールド回路の出力を増幅するレンジ切換付きの第2
の増幅器を設け、該第2の増幅器の出力を前記アナログ
/ディジタル変換回路へ印加するようにしたことを特徴
としている。
"Means for Solving the Problems" This invention provides a first
A level measuring device comprising: an amplifier; a sample-and-hold circuit that holds the output of the first amplifier; and an analog/digital converter that converts the output of the sample-and-hold circuit into a digital signal. 2nd one with range switching to amplify the output
A second amplifier is provided, and the output of the second amplifier is applied to the analog/digital conversion circuit.

「作用」 この発明によれば、サンプルホールド回路の後にレンジ
切換付きの第2の増幅器を設けたので、アウトレンジの
場合にホールドした電圧はそのままで第2の増幅器にお
いてレンジ切換を行ってレベル測定を行うことができる
"Function" According to this invention, the second amplifier with range switching is provided after the sample and hold circuit, so in the case of out-of-range, the held voltage remains unchanged and the range is switched in the second amplifier to measure the level. It can be performed.

「実施例」 以下、図面を参照してこの発明の一実施例について説明
する。第1図はこの発明の一実施例の構成を示す回路図
であり、この図において第2図の各部に対応する部分に
は同一の符号を付し、その説明を省略する。この図に示
す回路が第2図に示す回路と異なる点は、サンプルホー
ルド回路6とA/D変換器7との間に補助レンジ切換回
路!lが設けられている点である。この補助レンジ切換
回路11は、抵抗12と、演算増幅器I3と、この増幅
器13の増幅率を決める抵抗14−1−14−3と、マ
イクロコンピュータ8によってオン/オフ制御されるス
イッチ15−1〜15−3とから構成されている。なお
、抵抗2.増幅器3.抵抗4−1〜4−N、スイッチ5
−1〜5−Nから構成される回路を主レンジ切換回路1
7という。
"Embodiment" Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a circuit diagram showing the configuration of an embodiment of the present invention. In this figure, parts corresponding to those in FIG. 2 are designated by the same reference numerals, and their explanations will be omitted. The difference between the circuit shown in this figure and the circuit shown in FIG. 2 is that there is an auxiliary range switching circuit between the sample hold circuit 6 and the A/D converter 7! This is the point where l is provided. The auxiliary range switching circuit 11 includes a resistor 12, an operational amplifier I3, resistors 14-1-14-3 that determine the amplification factor of the amplifier 13, and switches 15-1 to 15-1 controlled on/off by the microcomputer 8. 15-3. Note that resistance 2. Amplifier 3. Resistor 4-1 to 4-N, switch 5
Main range switching circuit 1 is a circuit consisting of -1 to 5-N.
It's called 7.

次に、第1図に示す回路の動作を説明する。まず、マイ
クロコンピュータ8は、常時はスイッチ15−2をオン
状態、スイッチ15−1.15−3をオフ状態に保つ。
Next, the operation of the circuit shown in FIG. 1 will be explained. First, the microcomputer 8 normally keeps the switch 15-2 on and the switches 15-1 and 15-3 off.

すなわち、補助レンジを第2レンジにセットしておく。That is, the auxiliary range is set to the second range.

そして、この状態において前述した場合と同様にデータ
取り込みが行われる。すなわち、被測定電圧Viが増幅
器3によって増幅され、その増幅された電圧が、マイク
ロコンピュータ8から出力されるサンプリングパルスS
pに基づいてサンプルホールド回路6にホールドされる
。このホールドされた電圧は、増幅器13によってさら
に増幅される。この場合の増幅率は、抵抗12と抵抗1
4−2の値によって決まる。そして、この増幅器13の
出力がA/D変換器7によってディジタルデータに変換
され、マイクロコンピュータ8へ供給される。そして、
そのデータがインレンジであった場合は、レベル測定結
果としてマイクロコンピュータ8内のメモリに書き込ま
れる。一方、A/D変換器7から出力されたデータがア
ウトレンジであった場合は、マイクロコンピュータ8が
、スイッチ15−2をオフとし、また、スイッチ15−
1または!5−3のいずれかをオンとする。すなわち、
補助レンジの切換を行う。これにより、測定レンジが変
更される。マイクロコンピュータ8は再びA/D変換器
7の出力をチェックし、インレンジであった場゛ 合は
内部のメモリに読み込む。そして、次の測定時において
は、マイクロコンピュータ8が、再びスイッチ15−1
.15−3をオフ、スイッチ15−2をオンとし、また
、スイッチ5−1〜5−N(主レンジ切換スイッチ)を
予想されるレンジに設定する。
In this state, data is captured in the same manner as in the case described above. That is, the voltage to be measured Vi is amplified by the amplifier 3, and the amplified voltage is used as the sampling pulse S output from the microcomputer 8.
It is held in the sample hold circuit 6 based on p. This held voltage is further amplified by the amplifier 13. In this case, the amplification factor is 12 resistors and 1 resistor.
Determined by the value of 4-2. The output of the amplifier 13 is then converted into digital data by the A/D converter 7 and supplied to the microcomputer 8. and,
If the data is in-range, it is written to the memory within the microcomputer 8 as a level measurement result. On the other hand, if the data output from the A/D converter 7 is out of range, the microcomputer 8 turns off the switch 15-2, and also turns off the switch 15-2.
1 or! 5-3 is turned on. That is,
Switches the auxiliary range. This changes the measurement range. The microcomputer 8 checks the output of the A/D converter 7 again, and if it is in range, reads it into the internal memory. Then, at the time of the next measurement, the microcomputer 8 again switches the switch 15-1 to
.. 15-3 is turned off, switch 15-2 is turned on, and switches 5-1 to 5-N (main range changeover switches) are set to the expected range.

しかして、上記実施例によればレンジM−1〜M+1の
範囲を1回のサンプリングで測定することができる。ま
た、アンプのリニアリティが理想的なものであれば、補
助レンジ切換回路11の段数を主レンジ切換回路17の
段数と同じN段とすることで、全レンジをカバーするこ
とができる。
According to the above embodiment, the range M-1 to M+1 can be measured in one sampling. Further, if the linearity of the amplifier is ideal, the entire range can be covered by setting the number of stages of the auxiliary range switching circuit 11 to N, which is the same as the number of stages of the main range switching circuit 17.

また、ソフトウェアによる平均化も全レンジに亙って行
うことができるので、平均化の回数を大きくするだけで
変動を押さえられる。また、レベル変動に応じて平均化
の回数を調整することが可能である。
Further, since averaging can be performed over the entire range by software, fluctuations can be suppressed simply by increasing the number of times of averaging. Furthermore, it is possible to adjust the number of times of averaging according to level fluctuations.

「発明の効果」 以上説明したように、この発明によれば、サンプルホー
ルド回路の出力を増幅するレンジ切換付きの第2の増幅
器を設けたので、レンジ切換のためサンプルしたデータ
が無駄になるということがない。また、この発明によれ
ば、必ずデータを取り込むことができるので、ソフトウ
ェアによる平均化の回数を大きくすることで、全レンジ
に亙り精度の良い測定を行うことができる。
"Effects of the Invention" As explained above, according to the present invention, since the second amplifier with range switching is provided to amplify the output of the sample and hold circuit, sampled data is wasted due to range switching. Never. Further, according to the present invention, since data can always be captured, by increasing the number of times of averaging by software, highly accurate measurements can be performed over the entire range.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の構成を示す回路図、第2
図は従来のレベル測定装置の構成例を示す回路図、第3
図は第2図に示すレベル測定装置の問題点を説明するた
めの波形図である。 3・・・・・・演算増幅器(第1の増幅器)、6・・・
・・・サンプルホールド回路、7・・・・・・A/D変
換器、13・・・・・・演算増幅器(第2の増幅器)。
FIG. 1 is a circuit diagram showing the configuration of an embodiment of the present invention, and FIG.
The figure is a circuit diagram showing an example of the configuration of a conventional level measuring device.
This figure is a waveform diagram for explaining the problems of the level measuring device shown in FIG. 2. 3... operational amplifier (first amplifier), 6...
. . . Sample hold circuit, 7 . . . A/D converter, 13 . . . Operational amplifier (second amplifier).

Claims (1)

【特許請求の範囲】[Claims] 入力信号を増幅するレンジ切換付きの第1の増幅器と、
前記第1の増幅器の出力をホールドするサンプルホール
ド回路と、前記サンプルホールド回路の出力をディジタ
ル信号に変換するアナログ/ディジタル変換器とを具備
するレベル測定装置において、前記サンプルホールド回
路の出力を増幅するレンジ切換付きの第2の増幅器を設
け、該第2の増幅器の出力を前記アナログ/ディジタル
変換回路へ印加するようにしたことを特徴とするレベル
測定装置。
a first amplifier with range switching that amplifies the input signal;
In a level measuring device comprising a sample and hold circuit that holds the output of the first amplifier and an analog/digital converter that converts the output of the sample and hold circuit into a digital signal, the output of the sample and hold circuit is amplified. A level measuring device characterized in that a second amplifier with range switching is provided, and the output of the second amplifier is applied to the analog/digital conversion circuit.
JP21194586A 1986-09-09 1986-09-09 Level measuring apparatus Pending JPS6366471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21194586A JPS6366471A (en) 1986-09-09 1986-09-09 Level measuring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21194586A JPS6366471A (en) 1986-09-09 1986-09-09 Level measuring apparatus

Publications (1)

Publication Number Publication Date
JPS6366471A true JPS6366471A (en) 1988-03-25

Family

ID=16614295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21194586A Pending JPS6366471A (en) 1986-09-09 1986-09-09 Level measuring apparatus

Country Status (1)

Country Link
JP (1) JPS6366471A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02176899A (en) * 1988-08-23 1990-07-10 Furuno Electric Co Ltd Data display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02176899A (en) * 1988-08-23 1990-07-10 Furuno Electric Co Ltd Data display device

Similar Documents

Publication Publication Date Title
US4082998A (en) Dual slope integration circuit
JP2814362B2 (en) High precision voltage measuring device
JPH04155267A (en) Device for detecting maximum value and minimum value of input signal
JPH06313718A (en) Position detecting circuit
JPS6366471A (en) Level measuring apparatus
JPH0197019A (en) A/d converter
JPS6319917A (en) A/d converter
JPH0526741A (en) Thermistor temperature detection device using a/d converter
JP3152726B2 (en) Temperature detector
KR910007691B1 (en) Coil inductance measure meter using computer
JPH0712852A (en) Waveform measuring equipment having waveform generating function
JPH05196667A (en) Circuit for temperature measuring resistance
JPH0337200Y2 (en)
JPH0537248Y2 (en)
KR100335136B1 (en) Apparatus of signal transformation
KR960012841B1 (en) Position-adjusting apparatus for detector
JPH0743624Y2 (en) Temperature measuring device
JP2595858B2 (en) Temperature measurement circuit
JP2827233B2 (en) Semiconductor test equipment
JP2541472B2 (en) Micro voltage change detection circuit
JP3238867B2 (en) Battery voltage measuring method and device
JP2578857B2 (en) Integral type A / D converter
JPH05288567A (en) Analog input device
JPS62135775A (en) Difference voltage measuring circuit
JP2000227448A (en) Dc measuring device