JPH02176473A - Voltage determination circuit - Google Patents

Voltage determination circuit

Info

Publication number
JPH02176473A
JPH02176473A JP33376388A JP33376388A JPH02176473A JP H02176473 A JPH02176473 A JP H02176473A JP 33376388 A JP33376388 A JP 33376388A JP 33376388 A JP33376388 A JP 33376388A JP H02176473 A JPH02176473 A JP H02176473A
Authority
JP
Japan
Prior art keywords
input
voltage
comparator
circuit
output
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.)
Granted
Application number
JP33376388A
Other languages
Japanese (ja)
Other versions
JPH079445B2 (en
Inventor
Akihiro Shiratori
白取 昭宏
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP33376388A priority Critical patent/JPH079445B2/en
Publication of JPH02176473A publication Critical patent/JPH02176473A/en
Publication of JPH079445B2 publication Critical patent/JPH079445B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To determine successively a peak value of a periodic waveform and a voltage such as a DC voltage and to facilitate the determination of appropriateness by latching outputs of first and second comparators. CONSTITUTION:An input signal from a signal input terminal 1 being taken as a positive-side input, it is compared with a reference voltage as a negative- side input from a reference voltage input terminal 2 by a first comparator 4 of a voltage determination circuit, and the input signal form the terminal 1 taken as the negative-side input and a reference voltage as the positive-side input from a reference voltage input terminal 3 are compared with each other by a second comparator 5. An output of the result of comparison by the first comparator 4 is latched in first D-FF 8 by a clock DK1 from a clock input terminal 10, and the logic of an output of the FF 8 and an output of the comparator 5 is computed in an AND circuit 6. An output of this circuit 6 is latched in second D-FF 9 by a clock from a clock input terminal 11 and the result VO of determination is outputted from a signal output terminal 7.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は電圧判定回路に関し、特に、アナログ電圧が規
格範囲内か否かを離散的に判定する電圧判定回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a voltage determination circuit, and particularly to a voltage determination circuit that discretely determines whether an analog voltage is within a standard range.

し従来の技術] 従来、アナログ電圧のレベルが規格範囲内か否かを判定
する電圧判定回路として第5図に示す回路が知られてい
る。この回路において、信号入力端子1には入力信号■
1が入力され、第1の基準電圧入力端子2には第1の基
準電圧■11が入力され、第2の基準電圧入力端子3に
は第2の基準電圧Vr2が入力される。
BACKGROUND ART Conventionally, a circuit shown in FIG. 5 is known as a voltage determination circuit that determines whether the level of an analog voltage is within a standard range. In this circuit, the input signal ■
1 is input, the first reference voltage 11 is input to the first reference voltage input terminal 2, and the second reference voltage Vr2 is input to the second reference voltage input terminal 3.

入力信号Vlは、比較器4の正側入力と比較器5の負側
入力に入力されている。基準電圧VB−1は比較器4の
負側入力に入力され、基準電圧■、2は比較器5の正側
入力に入力されている。比較器4及び5の出力はAND
回路6へ入力され、ここで論理積されて判定出力■oと
して信号出力端子7から出力される。
The input signal Vl is input to the positive input of the comparator 4 and the negative input of the comparator 5. The reference voltage VB-1 is input to the negative side input of the comparator 4, and the reference voltages 2 and 2 are input to the positive side input of the comparator 5. The outputs of comparators 4 and 5 are AND
The signal is inputted to the circuit 6, where it is ANDed and outputted from the signal output terminal 7 as a judgment output (i).

第5図において基準電圧■rlには入力電圧範囲の下限
電圧を与え、基準電圧Vr2には入力電圧範囲の上限電
圧を与える。
In FIG. 5, the lower limit voltage of the input voltage range is given to the reference voltage ■rl, and the upper limit voltage of the input voltage range is given to the reference voltage Vr2.

この回路によれば、入力電圧が規格電圧範囲より低い場
合は比較器4の出力がL”レベルとなり、また、入力電
圧が規格電圧範囲より高い場合は比較器5の出力が“L
”レベルとなり、夫々AND回路6を通して出力端子7
をL”レベルとし、規格電圧範囲外であることを知らせ
る。
According to this circuit, when the input voltage is lower than the standard voltage range, the output of comparator 4 becomes "L" level, and when the input voltage is higher than the standard voltage range, the output of comparator 5 becomes "L" level.
" level, and the output terminal 7 is output through the AND circuit 6.
is set to L” level to notify that the voltage is outside the standard voltage range.

また、入力電圧が規格電圧範囲内にある場合には、比較
器4及び5の出力は共に“H”レベルとなり、AND回
路6を通して信号出力端子7をH”レベルとして、規格
電圧範囲内であることを知らせる。
Further, when the input voltage is within the standard voltage range, the outputs of comparators 4 and 5 both become "H" level, and the signal output terminal 7 is set to H" level through the AND circuit 6, so that the output voltage is within the standard voltage range. Let me know.

[発明が解決しようとする課題] しかしながら、上述した従来の電圧判定回路では、例え
ば、正弦波のピーク値判定回路のように周期的に変動す
るレベルを判定する場合、判定時刻以外の時刻でも連続
した判定が行われるため、合否の判定が難しいという欠
点がある。
[Problems to be Solved by the Invention] However, in the conventional voltage determination circuit described above, when determining a periodically fluctuating level such as a sine wave peak value determination circuit, for example, the voltage determination circuit continuously performs voltage determination even at times other than the determination time. The disadvantage is that it is difficult to judge pass/fail because the judgment is made based on the following criteria.

本発明はかかる問題点に鑑みてなされたものであって、
周期波形に関しても任意のタイミングで連続した判定を
行うことができる電圧判定回路を提供することを目的と
する。
The present invention has been made in view of such problems, and includes:
It is an object of the present invention to provide a voltage determination circuit that can perform continuous determination at arbitrary timings even regarding periodic waveforms.

[課題を解決するための手段] 本発明に係る電圧判定回路は、入力信号を正側入力とし
第1の基準電圧を負側入力とする第1の比較器と、前記
入力信号を負側入力とし第2の基準電圧を正側入力とす
る第2の比較器と、前記第1の比較器の出力を第1のク
ロック信号でラッチする第1のD−フリップフロップ回
路と、この第1のD−フリップフロップ回路の出力と前
記第2の比較器の出力とを入力としその論理積を出力す
るAND回路と、このAND回路の出力を第2のクロッ
ク信号でラッチする第2のD−フリップフロップ回路と
を具備し、前記第1.第2のクロック信号を所定のタイ
ミングで入力すると共に、前記第2のD−フリップフロ
71回路の出力を判定出力としたことを特徴とする。
[Means for Solving the Problems] A voltage determination circuit according to the present invention includes a first comparator having an input signal as a positive input and a first reference voltage as a negative input, and a first comparator having an input signal as a negative input. a second comparator which receives a second reference voltage as its positive input; a first D-flip-flop circuit which latches the output of the first comparator with a first clock signal; an AND circuit that receives the output of the D-flip-flop circuit and the output of the second comparator and outputs the logical product; and a second D-flip-flop that latches the output of the AND circuit with a second clock signal. the first. It is characterized in that a second clock signal is input at a predetermined timing, and the output of the second D-flip-flow 71 circuit is used as a judgment output.

[作用] 本発明によれば、第1の比較器で入力信号と第1の基準
電圧とを比較し、その結果を第1のクロック信号で第1
のD−フリップフロップ回路(以下、D−FFと略記す
る)にラッチし、更に、第2の比較器で入力信号と第2
の基準電圧とを比較し、その結果と前記第1のD−FF
のラッチ出力との論理積結果を第2のクロック信号で第
2のD−FFにラッチするようにしている。従って、第
1、第2のクロック信号を、例えば、周期波形のピーク
タイミングを合わせて交互に与えることにより、周期波
形のピーク値のレベル判定を連続的に行うことができる
[Operation] According to the present invention, the first comparator compares the input signal with the first reference voltage, and the result is transmitted to the first reference voltage using the first clock signal.
The D-flip-flop circuit (hereinafter abbreviated as D-FF) of
and the reference voltage of the first D-FF.
The result of logical product with the latch output of is latched into the second D-FF using the second clock signal. Therefore, by applying the first and second clock signals alternately, for example, by matching the peak timing of the periodic waveform, it is possible to continuously determine the level of the peak value of the periodic waveform.

[実施例] 次に、本発明の実施例について添付の図面を参照して説
明する。
[Example] Next, an example of the present invention will be described with reference to the accompanying drawings.

第1図は本発明の実施例に係る電圧判定回路を示す回路
図である。この回路において信号入力端子1には入力信
号v1が入力され、第1の基準電圧入力端子2には第1
の基準電圧v、、lが入力され、更に、第2の基準電圧
入力端子3には第2の基準電圧■r2が入力される。入
力信号V、は、比較器4の正側入力と比較器5の負側入
力に入力されている。また、基準電圧■r1は比較器4
の負側入力に入力され、基準電圧Vr2は比較器5の正
側入力に入力されている。比較器4の出力はD−FF8
に入力され、D−FF8の出力と比較器5の出力とは、
AND回路6に入力されている。AND回路6の出力は
D−FF9へ入力され、このD−FF9の出力が判定出
力として信号出力端子7から出力されるようになってい
る。D−FF8のクロック信号CK、はクロック入力端
子10を介して与えられ、D−FF9クロック信号CK
2はクロック入力端子11を介して与えられている。
FIG. 1 is a circuit diagram showing a voltage determination circuit according to an embodiment of the present invention. In this circuit, an input signal v1 is input to a signal input terminal 1, and a first reference voltage input terminal 2 receives an input signal v1.
The reference voltages v, , l are input to the second reference voltage input terminal 3, and a second reference voltage r2 is input to the second reference voltage input terminal 3. The input signal V is input to the positive input of the comparator 4 and the negative input of the comparator 5. Also, the reference voltage ■r1 is the comparator 4
The reference voltage Vr2 is input to the positive input of the comparator 5. The output of comparator 4 is D-FF8
and the output of D-FF8 and the output of comparator 5 are:
It is input to the AND circuit 6. The output of the AND circuit 6 is input to the D-FF 9, and the output of the D-FF 9 is output from the signal output terminal 7 as a judgment output. The clock signal CK of the D-FF8 is given via the clock input terminal 10, and the clock signal CK of the D-FF9
2 is applied via the clock input terminal 11.

この回路において、基準電圧vr1には入力電圧範囲の
下限電圧を与え、基準電圧■r2には入力電圧範囲の上
限電圧を与える。
In this circuit, the lower limit voltage of the input voltage range is given to the reference voltage vr1, and the upper limit voltage of the input voltage range is given to the reference voltage r2.

第2図は本実施例の回路の動作時のタイムチャート図で
ある0図中、時刻1.乃至t2では基準電圧V y 1
から下限電圧が印加され、比較器4で比較判定が行われ
る。時刻t3乃至t4では同様に基準電圧Vr2から上
限電圧が印加され、比較器5で比較判定が行われる0時
刻t、でクロック信号CK1がD−FF8に与えられ、
比較器4での判定結果がD−FF8にラッチされる。ま
た、時刻t6でクロック信号CK 2がD−FF9に与
えられ、比較器5の判定結果と時刻t5での判定結果と
のAND結果がD−FF9ヘラツチされる。もし入力電
圧vIが規格電圧範囲であれば、出力端子11からHI
Iレベルが得られる。
FIG. 2 is a time chart during the operation of the circuit of this embodiment. In FIG. 0, time 1. From t2 to t2, the reference voltage V y 1
A lower limit voltage is applied from , and the comparator 4 makes a comparison decision. Similarly, from time t3 to t4, the upper limit voltage is applied from the reference voltage Vr2, and at time 0, when the comparator 5 makes a comparison, the clock signal CK1 is applied to the D-FF8.
The determination result from the comparator 4 is latched into the D-FF8. Further, at time t6, clock signal CK2 is applied to D-FF9, and the AND result of the determination result of comparator 5 and the determination result at time t5 is latched to D-FF9. If the input voltage vI is within the standard voltage range, HI
I level is obtained.

この回路によれば、入力電圧Vlが正弦波等の周期波形
であるときは、クロック信号CK、、CK2をそのピー
クタイミングに合わせて同じ周期で入力することにより
ピーク値等の判定ができる。
According to this circuit, when the input voltage Vl has a periodic waveform such as a sine wave, the peak value etc. can be determined by inputting the clock signals CK, CK2 at the same period in accordance with the peak timing.

第3図は本発明の第2の実施例を示す回路図である。こ
の回路は第1図における基準電圧入力端子2及び3を共
用して一つの基準電圧入力端子12としたものである。
FIG. 3 is a circuit diagram showing a second embodiment of the present invention. In this circuit, reference voltage input terminals 2 and 3 in FIG. 1 are commonly used as one reference voltage input terminal 12.

この実施例では基準電圧入力端子12からの基準電圧は
下限電圧と上限電圧との差を振幅とする矩形波状の基準
電圧vrをクロック信号CKl、CK2に同期させて反
転させることにより、上限判定と下限判定とを交互に繰
返し、その判定結果をD−FF8.9にラッチすること
ができる。
In this embodiment, the reference voltage from the reference voltage input terminal 12 is determined by inverting the rectangular waveform reference voltage vr whose amplitude is the difference between the lower limit voltage and the upper limit voltage in synchronization with the clock signals CKl and CK2. The lower limit determination can be repeated alternately, and the determination result can be latched in the D-FF8.9.

[発明の効果] 以上説明したように、本発明は比較器の出力をラッチす
ることにより、周期波形のピーク値及び直流電圧等の電
圧判定を連続して判定できるという効果がある。
[Effects of the Invention] As described above, the present invention has the advantage that by latching the output of the comparator, it is possible to continuously determine the peak value of a periodic waveform and voltages such as DC voltage.

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

第1図は本発明の実施例に係る電圧判定回路を示す回路
図、第2図は第1図の回路の動作を示すタイムチャート
図、第3図は本発明の他の実施例に係る電圧判定回路を
示す回路図、第4図は第3図の動作を示すタイムチャー
ト図、第5図は従来の電圧判定回路を示す回路図である
。 1;信号入力端子、2,3,12;基準電圧入力端子、
4,5;比較器、6:AND回路、7:信号出力端子、
8.9;D−FF、10,11;クロック入力端子
FIG. 1 is a circuit diagram showing a voltage determination circuit according to an embodiment of the present invention, FIG. 2 is a time chart diagram showing the operation of the circuit of FIG. 1, and FIG. 3 is a voltage determination circuit according to another embodiment of the present invention. FIG. 4 is a circuit diagram showing the determination circuit, FIG. 4 is a time chart showing the operation of FIG. 3, and FIG. 5 is a circuit diagram showing a conventional voltage determination circuit. 1; Signal input terminal, 2, 3, 12; Reference voltage input terminal,
4, 5; Comparator, 6: AND circuit, 7: Signal output terminal,
8.9; D-FF, 10, 11; Clock input terminal

Claims (1)

【特許請求の範囲】[Claims] (1)入力信号を正側入力とし第1の基準電圧を負側入
力とする第1の比較器と、前記入力信号を負側入力とし
第2の基準電圧を正側入力とする第2の比較器と、前記
第1の比較器の出力を第1のクロック信号でラッチする
第1のD−フリップフロップ回路と、この第1のD−フ
リップフロップ回路の出力と前記第2の比較器の出力と
を入力としその論理積を出力するAND回路と、このA
ND回路の出力を第2のクロック信号でラッチする第2
のD−フリップフロップ回路とを具備し、前記第1、第
2のクロック信号を所定のタイミングで入力すると共に
、前記第2のD−フリップフロップ回路の出力を判定出
力としたことを特徴とする電圧判定回路。
(1) A first comparator having an input signal as a positive input and a first reference voltage as a negative input, and a second comparator having the input signal as a negative input and a second reference voltage as a positive input. a comparator; a first D-flip-flop circuit that latches the output of the first comparator with a first clock signal; This A
A second circuit that latches the output of the ND circuit with a second clock signal.
and a D-flip-flop circuit, the first and second clock signals are input at predetermined timings, and the output of the second D-flip-flop circuit is used as a determination output. Voltage judgment circuit.
JP33376388A 1988-12-27 1988-12-27 Voltage judgment circuit Expired - Lifetime JPH079445B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33376388A JPH079445B2 (en) 1988-12-27 1988-12-27 Voltage judgment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33376388A JPH079445B2 (en) 1988-12-27 1988-12-27 Voltage judgment circuit

Publications (2)

Publication Number Publication Date
JPH02176473A true JPH02176473A (en) 1990-07-09
JPH079445B2 JPH079445B2 (en) 1995-02-01

Family

ID=18269684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33376388A Expired - Lifetime JPH079445B2 (en) 1988-12-27 1988-12-27 Voltage judgment circuit

Country Status (1)

Country Link
JP (1) JPH079445B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003075019A1 (en) * 2002-03-06 2003-09-12 Sanken Electric Co., Ltd. Ac signal level detection circuit
JP2015115685A (en) * 2013-12-10 2015-06-22 株式会社メガチップス Input voltage range monitoring circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003075019A1 (en) * 2002-03-06 2003-09-12 Sanken Electric Co., Ltd. Ac signal level detection circuit
CN1323297C (en) * 2002-03-06 2007-06-27 三垦电气株式会社 Ac signal level detection circuit
US7271579B2 (en) 2002-03-06 2007-09-18 Sanken Electric Co., Ltd. AC signal level detection circuit
JP2015115685A (en) * 2013-12-10 2015-06-22 株式会社メガチップス Input voltage range monitoring circuit

Also Published As

Publication number Publication date
JPH079445B2 (en) 1995-02-01

Similar Documents

Publication Publication Date Title
US4573037A (en) Analog-to digital converter and method
JPH02176473A (en) Voltage determination circuit
KR100373466B1 (en) D / A converter
US4117476A (en) Digital-to-analog converter
KR100272119B1 (en) Pulse width modulation circuit apparatus
JPH0653794A (en) Pulse width modulation circuit
JP2712725B2 (en) Latching device for parallel digital signals
JP2553680B2 (en) Digital signal processing circuit
JPH0514150A (en) Variable delay device
SU1185584A1 (en) Signal period duration-to-d.c. voltage level converter
JPH04317213A (en) Waveform shaping device
JP2734360B2 (en) Digital signal repeater
JPS60142613A (en) Waveform shaping circuit
JPS5926688Y2 (en) signal converter
SU840854A1 (en) Walsh function generator
JPS61218372A (en) Dead time forming circuit
JPH03142373A (en) Peak hold circuit
SU1327131A1 (en) Function generator
SU1499247A1 (en) Converter of the square of effective value of a.c. voltage of random form
SU1190497A2 (en) Device for generating rectangular signal
JPS62254072A (en) Multivalued voltage level comparison circuit
JPS6143819A (en) Phase comparator
JPH04253446A (en) B/u conversion circuit
JPS58130675A (en) Binary coding circuit of analog signal
JPH01189219A (en) Transition point detecting circuit for digital signal

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080201

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090201

Year of fee payment: 14

EXPY Cancellation because of completion of term