JPH0646198B2 - Level detection circuit - Google Patents

Level detection circuit

Info

Publication number
JPH0646198B2
JPH0646198B2 JP62063155A JP6315587A JPH0646198B2 JP H0646198 B2 JPH0646198 B2 JP H0646198B2 JP 62063155 A JP62063155 A JP 62063155A JP 6315587 A JP6315587 A JP 6315587A JP H0646198 B2 JPH0646198 B2 JP H0646198B2
Authority
JP
Japan
Prior art keywords
output
terminal
counter
voltage
input
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 - Lifetime
Application number
JP62063155A
Other languages
Japanese (ja)
Other versions
JPS63229376A (en
Inventor
政司 佐藤
Original Assignee
安藤電気株式会社
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 安藤電気株式会社 filed Critical 安藤電気株式会社
Priority to JP62063155A priority Critical patent/JPH0646198B2/en
Publication of JPS63229376A publication Critical patent/JPS63229376A/en
Publication of JPH0646198B2 publication Critical patent/JPH0646198B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 この発明は、入力電圧を基準電圧と等しくなるように調
節する場合に、入力電圧に重畳している波形の影響が少
なくなるようにしたレベル検出回路についたものであ
る。
Description: (a) Technical Field of the Invention The present invention relates to a level in which the influence of a waveform superimposed on an input voltage is reduced when the input voltage is adjusted to be equal to a reference voltage. It is attached to the detection circuit.

(b) 従来技術と問題点 最初に、従来技術によるレベル検出回路を第2図に示
す。
(b) Prior Art and Problems Firstly, FIG. 2 shows a level detection circuit according to the prior art.

第2図の11と12は基準電圧、13と14は比較器、
15はゲート、16は入力端子、17は出力端子であ
る。
In FIG. 2, 11 and 12 are reference voltages, 13 and 14 are comparators,
Reference numeral 15 is a gate, 16 is an input terminal, and 17 is an output terminal.

第2図は、入力端子16に加えられる入力電圧Vが基準
電圧11と基準電圧12の間にあるかどうかを判別する
回路を示す。
FIG. 2 shows a circuit for determining whether the input voltage V applied to the input terminal 16 is between the reference voltage 11 and the reference voltage 12.

基準電圧11の電圧をVo−Δv、基準電圧12の電圧
をVo+Δvとすれば、 (Vo+Δv)>V>(Vo−Δv)のとき、出力端子
17から出力が出て、入力電圧Vが基準電圧Voの範囲
に設定されたことになる。
When the voltage of the reference voltage 11 is Vo−Δv and the voltage of the reference voltage 12 is Vo + Δv, when (Vo + Δv)>V> (Vo−Δv), an output is output from the output terminal 17 and the input voltage V is the reference voltage. This means that the range has been set to Vo.

第2図のVo=2ボルト、Δv= 0.5mV程度の電圧に
入力電圧Vを設定する場合がある。
The input voltage V may be set to a voltage of about Vo = 2 V and Δv = 0.5 mV in FIG.

例えば、演算増幅器を光電力測定器の入力に採用した場
合、光入力がない場合の演算増幅器のオフセット電圧を
設定する。
For example, when the operational amplifier is adopted as the input of the optical power measuring device, the offset voltage of the operational amplifier is set when there is no optical input.

第2図のような回路では、電源に交流電源のリップル電
圧が重畳すると、入力電圧Vを正確に基準電圧11と基
準電圧12の間に設定することができないという問題が
ある。
The circuit as shown in FIG. 2 has a problem that the input voltage V cannot be accurately set between the reference voltage 11 and the reference voltage 12 when the ripple voltage of the AC power supply is superimposed on the power supply.

(c) 発明の目的 この発明は、入力電圧Vに重畳している交流成分の正の
成分と負の成分をカウントする回路を備え、正の成分と
負の成分のカウント数が等しくなるように入力電圧を調
節することにより、入力電圧に重畳している交流成分の
影響を受けずに基準電圧に設定できるレベル検出回路の
提供を目的とする。
(c) Object of the Invention The present invention is provided with a circuit for counting the positive and negative components of the alternating current component superposed on the input voltage V so that the count numbers of the positive and negative components become equal. An object of the present invention is to provide a level detection circuit that can be set to a reference voltage by adjusting the input voltage without being affected by an AC component superimposed on the input voltage.

(d) 発明の実施例 次に、この発明による実施例の構成図を第1図に示す。(d) Embodiment of the Invention Next, FIG. 1 shows a block diagram of an embodiment according to the present invention.

第1図の1は比較器、2は基準電圧、3はフリップフロ
ップ(以下、FFという。)、4はパルス発生器、5a
と5bはカウンタ、6は判定器、7は入力端子、8は出
力端子である。
In FIG. 1, 1 is a comparator, 2 is a reference voltage, 3 is a flip-flop (hereinafter referred to as FF), 4 is a pulse generator, and 5a.
And 5b are counters, 6 is a judging device, 7 is an input terminal, and 8 is an output terminal.

比較器1の一端には入力端子7から、交流成分が重畳さ
れている入力電圧Vを加え、比較器1の他端には基準電
圧2の電圧Voを加える。
An input voltage V on which an AC component is superimposed is applied to one end of the comparator 1 from the input terminal 7, and a voltage Vo of the reference voltage 2 is applied to the other end of the comparator 1.

FF3のD端子には比較器1の出力を加え、FF3のT
端子にはパルス発生器4の出力パルスを加える。
The output of the comparator 1 is added to the D terminal of FF3, and T of FF3 is added.
The output pulse of the pulse generator 4 is applied to the terminal.

パルス発生器4の出力パルスは、FF3のT端子のほ
か、カウンタ5aのT端子とカウンタ5bのT端子にも
加えられる。
The output pulse of the pulse generator 4 is applied not only to the T terminal of the FF3 but also to the T terminal of the counter 5a and the T terminal of the counter 5b.

FF3の「1」端子出力はカウンタ5aのCE端子に入
り、FF3の「0」端子出力はカウンタ5bのCE端子
に入る。
The “1” terminal output of the FF3 enters the CE terminal of the counter 5a, and the “0” terminal output of the FF3 enters the CE terminal of the counter 5b.

判定器6はカウンタ5aを出力とカウンタ5bの出力の
大小を判定し、一致すれば出力端子8に出力する。
The determiner 6 determines the magnitude of the output of the counter 5a and the output of the counter 5b, and outputs the same to the output terminal 8 if they match.

次に、第1図の作用を第3図の波形図を参照して説明す
る。
Next, the operation of FIG. 1 will be described with reference to the waveform chart of FIG.

第3図(ア) は、入力電圧V、基準電圧Vo及び交流電圧
Eの関係説明図である。
FIG. 3A is an explanatory diagram of the relationship between the input voltage V, the reference voltage Vo and the AC voltage E.

交流電圧Eの周期は20msとする。The cycle of the AC voltage E is 20 ms.

交流電圧Eは入力電圧Vに重畳しているが、基準電圧V
oに対しては、時間T1 と時間T2 の間は正、時間T2
と時間T3 の間は負になっている。
The AC voltage E is superimposed on the input voltage V, but the reference voltage V
For o, positive between time T1 and time T2, time T2
Between time and T3 is negative.

第3図(イ) は、パルス発生器4の出力パルス波形図であ
り、パルスの繰返し周期は第3図(ア) の交流電圧Eの周
期に比べ、十分短いものを使用する。第3図(イ) では、
例として、第3図(ア) の交流電圧Eの周期に対し、パル
スの繰返し周期は1msとしている。
FIG. 3 (a) is an output pulse waveform diagram of the pulse generator 4, and the pulse repetition period used is sufficiently shorter than the period of the AC voltage E in FIG. 3 (a). In Fig. 3 (a),
As an example, the pulse repetition period is 1 ms with respect to the period of the AC voltage E shown in FIG.

第3図(ウ) は比較器1の出力波形図であり、第3図(エ)
はFF3の「1」端子出力である。また、第3図(オ) は
カウンタ5aのカウント値である。
FIG. 3 (c) is an output waveform diagram of the comparator 1, and FIG.
Is the "1" terminal output of FF3. Further, FIG. 3 (e) shows the count value of the counter 5a.

第3図(エ) の立上りは第3図(イ) のクロックの立上りと
同期し、第3図(オ) は第3図(イ) のクロックの立下りと
同期する。
The rising edge of FIG. 3 (d) is synchronized with the rising edge of the clock of FIG. 3 (a), and the rising edge of FIG. 3 (e) is synchronized with the falling edge of the clock of FIG. 3 (a).

第3図(カ) はFF3の「0」端子出力であり、第3図
(キ) はカウンタ5bのカウント値である。
Fig. 3 (f) shows the output of the "0" terminal of FF3.
(G) is the count value of the counter 5b.

第3図(ア) の交流電圧Eに対応して、第3図(イ) のパル
スは20個のパルスを出している。
Corresponding to the AC voltage E of FIG. 3 (a), 20 pulses of the pulse of FIG. 3 (a) are emitted.

第3図(オ) のカウンタ5aのカウント値は13であり、
第3図(キ) のカウンタ5bのカウント値は7である。こ
れから、交流電圧Eが基準電圧Voに対しては、アンバ
ランスの状態であることがわかり、入力電圧Vをカウン
タ5aのカウント値とカウント5bのカウント値が等し
くなるまで変化させる。
The count value of the counter 5a in FIG. 3 (e) is 13,
The count value of the counter 5b in FIG. From this, it is understood that the AC voltage E is in an unbalanced state with respect to the reference voltage Vo, and the input voltage V is changed until the count value of the counter 5a becomes equal to the count value of the count 5b.

カウンタ5aのカウント値とカウンタ5bのカウント値
が等しくなれば、入力電圧Vが基準電圧Voに設定され
たことになる。
When the count value of the counter 5a and the count value of the counter 5b become equal, it means that the input voltage V is set to the reference voltage Vo.

(f) 発明の効果 この発明によれば、入力電圧と基準電圧を比較する比較
器と、比較器出力を入力とするFFと、FFの「1」出
力をカウントする第1のカウンタと、FFの「0」出力
をカウントする第2のカウントとを採用し、入力電圧に
重畳している交流電圧の正の成分と負の成分を検出する
ので、正の成分と負の成分が等しくなるように入力電圧
を調節することにより、入力電圧に重畳している交流成
分の影響を受けることなく、入力電圧を正確に基準電圧
に設定することができる。
(f) Effects of the Invention According to the present invention, a comparator that compares an input voltage with a reference voltage, an FF that receives the output of the comparator, a first counter that counts the “1” output of the FF, and an FF. The second component that counts the “0” output is used to detect the positive component and the negative component of the AC voltage superimposed on the input voltage, so that the positive component and the negative component are equal. By adjusting the input voltage, the input voltage can be accurately set to the reference voltage without being affected by the AC component superimposed on the input voltage.

【図面の簡単な説明】[Brief description of drawings]

第1図はこの発明による実施例の構成図、 第2図は従来技術による構成図、 第3図は第1図の波形図。 1……比較器、2……基準電圧、3……フリップフロッ
プ(FF)、4……パルス発生器、5a……カウンタ、
5b……カウンタ、6……判定器、7……入力端子、8
……出力端子、11……基準電圧、12……基準電圧、
13……比較器、14……比較器、15……ゲート、1
6……入力端子、17……出力端子。
FIG. 1 is a configuration diagram of an embodiment according to the present invention, FIG. 2 is a configuration diagram according to a conventional technique, and FIG. 3 is a waveform diagram of FIG. 1 ... comparator, 2 ... reference voltage, 3 ... flip-flop (FF), 4 ... pulse generator, 5a ... counter,
5b ... counter, 6 ... determiner, 7 ... input terminal, 8
...... Output terminal, 11 …… Reference voltage, 12 …… Reference voltage,
13 ... Comparator, 14 ... Comparator, 15 ... Gate, 1
6 ... Input terminal, 17 ... Output terminal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】交流成分が重畳されている入力電圧と基準
電圧を入力とする比較器と、 クロックパルスを供給するパルス発生器と、 前記パルス発生器の出力をT端子に供給し、前記比較器
出力をD端子入力とするフリップフロップと、 前記パルス発生器の出力をT端子に供給し、前記フリッ
プフロップの「1」端子出力をCE入力とし、クロック
パルス数をカウントする第1のカウンタと、 前記パルス発生器の出力をT端子に供給し、前記フリッ
プフロップの「0」端子出力をCE入力とし、クロック
パルス数をカウントする第2のカウンタと、 第1のカウンタ出力と第2のカウンタの出力を入力と
し、大小を判定する判定器とを備え、 前記入力電圧を調節して第1のカウンタ出力と第2のカ
ウンタの出力が同一のときに出力端子8に出力すること
を特徴とするレベル判定回路。
1. A comparator that receives an input voltage and a reference voltage on which an AC component is superimposed, a pulse generator that supplies a clock pulse, and an output of the pulse generator that is supplied to a T terminal to perform the comparison. A flip-flop whose output is the D terminal input, and a first counter which supplies the output of the pulse generator to the T terminal and uses the “1” terminal output of the flip-flop as the CE input to count the number of clock pulses. A second counter that supplies the output of the pulse generator to the T terminal and uses the “0” terminal output of the flip-flop as the CE input, and counts the number of clock pulses; a first counter output and a second counter; And a determination device for determining the magnitude, and outputs the output to the output terminal 8 when the output of the first counter and the output of the second counter are the same by adjusting the input voltage. Level decision circuit according to claim Rukoto.
JP62063155A 1987-03-18 1987-03-18 Level detection circuit Expired - Lifetime JPH0646198B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62063155A JPH0646198B2 (en) 1987-03-18 1987-03-18 Level detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62063155A JPH0646198B2 (en) 1987-03-18 1987-03-18 Level detection circuit

Publications (2)

Publication Number Publication Date
JPS63229376A JPS63229376A (en) 1988-09-26
JPH0646198B2 true JPH0646198B2 (en) 1994-06-15

Family

ID=13221058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62063155A Expired - Lifetime JPH0646198B2 (en) 1987-03-18 1987-03-18 Level detection circuit

Country Status (1)

Country Link
JP (1) JPH0646198B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010500557A (en) * 2006-08-07 2010-01-07 韓國電子通信研究院 Circuit for continuously measuring discontinuous MIT of metal-insulator transition (MIT) element and MIT sensor using the circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5796269A (en) * 1980-12-08 1982-06-15 Nec Home Electronics Ltd Pulse signal measurement device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010500557A (en) * 2006-08-07 2010-01-07 韓國電子通信研究院 Circuit for continuously measuring discontinuous MIT of metal-insulator transition (MIT) element and MIT sensor using the circuit

Also Published As

Publication number Publication date
JPS63229376A (en) 1988-09-26

Similar Documents

Publication Publication Date Title
KR960007071A (en) Discharge state detection device of electric discharge machine
JPH0646198B2 (en) Level detection circuit
JPH11271366A (en) Apparatus for detecting voltage drop
JP2005110366A (en) Drive circuit
JPH01153969A (en) Abnormality detecting device for repetitive waveform
JPH03189569A (en) Voltage measuring device
JP3260533B2 (en) Current detector
RU1795549C (en) Voltage-to-time converter
RU2273087C1 (en) Method for protecting voltage inverter transformer against single-ended saturation
JPS6211818B2 (en)
JPH0418792B2 (en)
SU1668973A1 (en) Ac voltage stabilizer
JPH06269158A (en) Power supply device
JPS618679A (en) Direct current value detecting circuit
SU1411932A1 (en) Generator of symmetrical square pulses
KR920002424B1 (en) Frequency detection circuitry
JPS63261172A (en) Frequency detecting circuit
SU1647875A1 (en) Time-to-voltage converter
JPH0722994Y2 (en) AC energization time detection circuit
SU473114A1 (en) Digital Integrating Voltmeter
JPH01210869A (en) Detecting circuit for electric power failure
JPS5949605B2 (en) Voltage fluctuation correction circuit for AC phase control
JPH03213034A (en) Ringer detector
JPS61207182A (en) Digital controller for output phase of firing pulse
JPS6347672A (en) Average value detector