JP2857892B2 - Comparison input circuit - Google Patents

Comparison input circuit

Info

Publication number
JP2857892B2
JP2857892B2 JP1259478A JP25947889A JP2857892B2 JP 2857892 B2 JP2857892 B2 JP 2857892B2 JP 1259478 A JP1259478 A JP 1259478A JP 25947889 A JP25947889 A JP 25947889A JP 2857892 B2 JP2857892 B2 JP 2857892B2
Authority
JP
Japan
Prior art keywords
input
power supply
reference voltage
signal voltage
comparison
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
JP1259478A
Other languages
Japanese (ja)
Other versions
JPH03121611A (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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP1259478A priority Critical patent/JP2857892B2/en
Publication of JPH03121611A publication Critical patent/JPH03121611A/en
Application granted granted Critical
Publication of JP2857892B2 publication Critical patent/JP2857892B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は入力スイッチの出力レベルを判定してその作
動を確認する等の用途に使用する比較入力回路に関し、
特に回路電源の脈動による誤作動を生じない比較入力回
路に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a comparison input circuit used for purposes such as determining the output level of an input switch and confirming its operation, and the like.
In particular, the present invention relates to a comparison input circuit which does not cause malfunction due to pulsation of a circuit power supply.

[従来の技術] 上記比較入力回路の一例を第4図に示す。図におい
て、スイッチ2は一端をアースされ、他端は抵抗R2を介
して電源(Vcc)ラインに接続されるとともに、入力抵
抗R1を経てICパッケージP内に格納されたコンパレータ
1へ入力している。上記入力抵抗R1の後段にはアースと
の間にノイズ吸収用のコンデンサC2が設けてある。
[Prior Art] An example of the comparison input circuit is shown in FIG. In the figure, one end of a switch 2 is grounded, the other end is connected to a power supply (Vcc) line via a resistor R2, and is input to a comparator 1 stored in an IC package P via an input resistor R1. . A capacitor C2 for absorbing noise is provided between the input resistor R1 and the ground.

上記入力抵抗R1を経て至ったスイッチ信号電圧Vinは
上記コンパレータ1の非反転入力端子に入力している。
コンパレータ1の反転入力端子には参照電圧Vrefが入力
し、この参照電圧Vrefは上記電源Vccの電圧を分圧抵抗
RA、RBにより分圧して得られる。コンパレータ1の非
反転入力端子と出力端子を接続する抵抗RHはヒステリ
シスを与えるものである。
The switch signal voltage Vin reached via the input resistor R1 is input to the non-inverting input terminal of the comparator 1.
The reference voltage Vref is input to the inverting input terminal of the comparator 1, and the reference voltage Vref is obtained by dividing the voltage of the power supply Vcc by the voltage dividing resistors RA and RB. The resistor RH connecting the non-inverting input terminal and the output terminal of the comparator 1 provides hysteresis.

[発明が解決しようとする課題] 上記構成の比較入力回路を車両に搭載して使用する場
合、その電源は充電発電機の三相交流出力を整流したも
のであり、通常かかる電源には数百〜数kHzのリップル
が重畳している。したがって、電源電圧Vccを分圧した
参照電圧Vrefに上記リップルが現れ、これによって誤作
動を生じる。
[Problem to be Solved by the Invention] When the comparison input circuit having the above configuration is mounted on a vehicle and used, the power source is a rectified three-phase AC output of a charging generator. A ripple of up to several kHz is superimposed. Therefore, the ripple appears in the reference voltage Vref obtained by dividing the power supply voltage Vcc, thereby causing a malfunction.

これを第5図で説明すると、参照電圧Vrefにはリップ
ルが重畳して脈動している(図の(1))。スイッチ2
が開くと(図のa点)、スイッチ信号電圧Vin(図の
(2))は抵抗R1、R2とコンデンサC2の時定数で次第に
上昇する。上記信号電圧Vinはb点で参照電圧Vrefを越
え、コンパレータ1の比較出力Voutが一旦は「H」レベ
ルとなるが(図の(3))、c点で参照電圧Vrefが再び
信号電圧Vinを上回って、「L」レベルとなる。しかし
て、信号電圧Vinが完全に参照電圧Vrefを越えるまでは
(図のd点)、比較出力Voutは一時的に「L」レベルに
降下することがあり、スイッチ2の作動状態が誤検出さ
れる。
Explaining this with reference to FIG. 5, ripples are superimposed on the reference voltage Vref and pulsate ((1) in the figure). Switch 2
Is opened (point a in the figure), the switch signal voltage Vin ((2) in the figure) gradually increases due to the time constant of the resistors R1, R2 and the capacitor C2. The signal voltage Vin exceeds the reference voltage Vref at the point b, and the comparison output Vout of the comparator 1 temporarily becomes “H” level ((3) in the figure). However, at the point c, the reference voltage Vref again reduces the signal voltage Vin. Above, it becomes the “L” level. Until the signal voltage Vin completely exceeds the reference voltage Vref (point d in the figure), the comparison output Vout may temporarily drop to the “L” level, and the operation state of the switch 2 is erroneously detected. You.

これを解決するために、特開昭57−150388号公報に
は、参照電圧発生回路にコンデンサを設けて、この回路
の時定数を信号電圧ラインの時定数に一致せしめたもの
が提案されているが、上述の如き予めコンパレータと分
圧抵抗がICパッケージ内に収納されている回路には適用
できない。
In order to solve this, Japanese Patent Application Laid-Open No. 57-150388 proposes a circuit in which a capacitor is provided in a reference voltage generating circuit and the time constant of this circuit is made to match the time constant of the signal voltage line. However, it cannot be applied to a circuit in which a comparator and a voltage dividing resistor are stored in an IC package in advance as described above.

参照電圧Vrefの電源にIC用の安定化電源を使用するこ
とも考えられるが、比較入力回路はスイッチ等の数に応
じて多数設けられることが多く、安定化電源の容量に必
要以上に増大し、また、通常5Vを使用する上記安定化電
源では、比較される信号電圧Vinの電圧レンジに制約を
受けるという問題が生じる。
It is conceivable to use a stabilized power supply for ICs as the power supply for the reference voltage Vref.However, a large number of comparison input circuits are often provided in accordance with the number of switches and the like. In addition, the above-described stabilized power supply that normally uses 5 V has a problem that the voltage range of the compared signal voltage Vin is restricted.

本発明はかかる課題を解決するもので、コンパレータ
と分圧抵抗回路がICパッケージ内に予め収納されている
場合にも適用でき、かつIC回路の安定化電源を使用する
必要もない比較入力回路を提供することを目的とする。
The present invention solves such a problem, and can be applied to a case where a comparator and a voltage dividing resistor circuit are housed in an IC package in advance, and a comparison input circuit that does not need to use a stabilized power supply of the IC circuit. The purpose is to provide.

[課題を解決するための手段] 本発明の構成を説明すると、一方の入力端子に入力す
る信号電圧Vinを他方の入力端子に入力する参照電圧Vre
fと比較して比較出力Voutを発するコンパレータ1を有
するとともに、電源電圧Vccを分圧して上記参照電圧Vre
fを発生する分圧抵抗RA、RBを有する比較入力回路に
おいて、コンパレータ1の上記一方の入力端子には、上
記信号電圧Vinの出力源2との間に入力抵抗R1を設ける
とともに、電源の正極との間およびアースとの間にそれ
ぞれ第1および第2のコンデンサC1、C2を設けたもので
ある。
[Means for Solving the Problems] To explain the configuration of the present invention, a signal voltage Vin input to one input terminal is converted to a reference voltage Vre input to the other input terminal.
and a comparator 1 for generating a comparison output Vout in comparison with the reference voltage Vre.
In a comparison input circuit having voltage-dividing resistors RA and RB generating f, an input resistor R1 is provided between the one input terminal of the comparator 1 and the output source 2 of the signal voltage Vin, and a positive electrode of the power supply is provided. And first and second capacitors C1 and C2 are provided between the first capacitor and the ground, respectively.

[作用] 上記構成において、コンデンサC1を設けたことによ
り、これを経て電源Vccの脈動成分が信号電圧ラインに
重畳され、信号電圧Vinは参照電圧Vrefと同期して脈動
変化せしめられる。この結果、信号電圧Vinが参照電圧V
refを一旦上回った後は、参照電圧Vrefが再び信号電圧V
inを上回るという不具合は生じず、誤った比較出力Vout
が発せられることはない。
[Operation] In the above configuration, by providing the capacitor C1, the pulsating component of the power supply Vcc is superimposed on the signal voltage line via the capacitor C1, and the signal voltage Vin changes in pulsation in synchronization with the reference voltage Vref. As a result, the signal voltage Vin becomes the reference voltage V
ref once exceeds the reference voltage Vref again.
Incorrect comparison output Vout
Will not be emitted.

[実施例] 第1図に本発明の一実施例を示し、以下、従来例との
相違点を中心に説明する。
[Embodiment] Fig. 1 shows an embodiment of the present invention, and the following description will focus on differences from the conventional example.

図において、信号電圧ラインに設けた入力抵抗R1の後
段には、アースとの間にコンデンサC2が接続されるとと
もに、電源ラインとの間にはコンデンサC1が接続してあ
る。信号電圧出力源たるスイッチ2より上記入力抵抗R1
を経て至った信号電圧Vinは、ICパッケージP内に収納
されたコンパレータ1の非反転入力端子に入力してい
る。また、同じくICパッケージ内に収納されて直列接続
された分圧抵抗RA、RBには、両端にそれぞれ電源ライ
ンとアースラインが接続されており、分圧抵抗RA、RB
の接続点は上記コンパレータ1の反転入力端子に接続さ
れて、参照電圧Vrefを与えている。
In the figure, a capacitor C2 is connected between the input resistor R1 provided on the signal voltage line and the ground, and a capacitor C1 is connected between the input voltage and the power supply line. From the switch 2 which is the signal voltage output source, the input resistance R1
Are input to the non-inverting input terminal of the comparator 1 housed in the IC package P. A power supply line and an earth line are connected to both ends of the voltage dividing resistors RA and RB, which are also housed in the IC package and are connected in series.
Is connected to the inverting input terminal of the comparator 1 and supplies the reference voltage Vref.

他の構成は従来例と同一である。 The other configuration is the same as the conventional example.

かかる構成の比較入力回路において、各コンデンサC
1、C2の容量を同一のCとない、電源電圧Vccに振幅Ao、
角周波数ωの正弦波リップルが重畳しているとすると、
信号電圧Vinは式(1)で表わされる。
In the comparison input circuit having such a configuration, each capacitor C
1.Capacity of C2 is not the same as C. Power supply voltage Vcc has amplitude Ao,
Assuming that a sine wave ripple of angular frequency ω is superimposed,
The signal voltage Vin is represented by equation (1).

ここで、Voは電源電圧、Rは抵抗R1、R2の各抵抗値を
加えた抵抗値、θoはt=0における正弦波の位相角で
あり、スイッチが開いた瞬間をt=0とする。
Here, Vo is the power supply voltage, R is the resistance value obtained by adding the resistance values of the resistors R1 and R2, θo is the phase angle of the sine wave at t = 0, and the instant when the switch is opened is t = 0.

また、上記スイッチが閉じた瞬間のt=0とした場合
の信号電圧Vinは式(4)で表される。
Further, the signal voltage Vin when t = 0 at the moment when the switch is closed is represented by the following equation (4).

この場合のA′は(2)式のRをR1で置換えたもので
あり、Θ′は(3)式のRをR1で置換えたもの、θo′
はt=0における正弦波の位相角である。
In this case, A 'is obtained by replacing R in the formula (2) by R1, 1' is obtained by replacing R in the formula (3) by R1, θo '
Is the phase angle of the sine wave at t = 0.

また、参照電圧Vrefは以下の式(5)で示される。 The reference voltage Vref is expressed by the following equation (5).

しかして、(1)式および(4)式のΘ、Θ′を小さ
くし、A/Ao、A′/AoがRB/(RA+RB)に近い値をと
るようにR1、R2の抵抗値およびC1、C2の容量を決定すれ
ば、信号電圧Vinの参照電圧Vrefは変動の位相および振
幅がほぼ一致する。
Thus, the values of 1 and 式 ′ in equations (1) and (4) are reduced, and the resistance values of R1 and R2 and C1 are set so that A / Ao and A ′ / Ao take values close to RB / (RA + RB). , And C2, the reference voltage Vref of the signal voltage Vin has substantially the same phase and amplitude.

この効果を第2図に示す。図のa点でスイッチ2を開
くと、信号電圧Vin(図の(2))は抵抗R1、R2とコン
デンサC1、C2で決まる時定数で次第に上昇するととも
に、参照電圧Vref(図の(1))とほぼ同一位相および
振幅で脈動する。信号電圧Vinはb点で参照電圧Vrefを
越え、この結果、比較出力Vout(図の(3))は「H」
レベルとなる。一旦、参照電圧Vrefを越えると、上記信
号電圧Vinはヒステリシスを与えられてステップ的に増
大し、以後は、参照電圧Vrefと同様に脈動していること
により、二度とこれを下回ることなく上昇する。
This effect is shown in FIG. When the switch 2 is opened at the point a in the figure, the signal voltage Vin ((2) in the figure) gradually increases with a time constant determined by the resistors R1 and R2 and the capacitors C1 and C2, and the reference voltage Vref ((1) in the figure) ) And pulsation with almost the same phase and amplitude. The signal voltage Vin exceeds the reference voltage Vref at point b, and as a result, the comparison output Vout ((3) in the figure) becomes “H”.
Level. Once the signal voltage Vin exceeds the reference voltage Vref, the signal voltage Vin is given a hysteresis and increases in a stepwise manner. Thereafter, since the signal voltage Vin pulsates similarly to the reference voltage Vref, the signal voltage Vin never rises below this value again.

しかして、比較出力Voutは「L」レベルに変動降下す
ることなく「H」レベルを維持し、スイッチ作動状態が
確実に判定できる。
Thus, the comparison output Vout maintains the “H” level without fluctuating and dropping to the “L” level, and the switch operating state can be reliably determined.

上記実施例において、コンデンサC1、C2の容量をC/2
とすれば、応答性を悪化せしめることなく、従来の回路
と同一の時定数とすることができる。
In the above embodiment, the capacitance of the capacitors C1 and C2 is changed to C / 2
Then, the same time constant as that of the conventional circuit can be obtained without deteriorating the response.

なお、上記スイッチ2に代えてサーミスタ3を使用
し、その連続的な信号電圧Vinを入力して参照電圧Vref
と比較する回路としても良い。
Note that a thermistor 3 is used in place of the switch 2, and the continuous signal voltage Vin is input to the reference voltage Vref.
It may be a circuit for comparing with.

また、第3図に示す如く、0Vから電源電圧Vccまでの
レンジで信号電圧Vinを直接出力する素子3の入力回路
として使用することも可能であり、参照電圧Vrefを共通
の電源Vccにより得ているから、IC用の安定化電源を使
用するのと異なって素子3の出力レンジが制限されな
い。この場合、図示する如く、入力抵抗R1およびコンデ
ンサC1、C2を、コンパレータ1や分圧抵抗RA、RBと共
にICパッケージP内に収納することができる。
Further, as shown in FIG. 3, it is also possible to use as an input circuit of the element 3 which directly outputs the signal voltage Vin in a range from 0 V to the power supply voltage Vcc, and the reference voltage Vref is obtained by the common power supply Vcc. Therefore, the output range of the element 3 is not limited unlike using a stabilized power supply for IC. In this case, the input resistor R1 and the capacitors C1 and C2 can be housed in the IC package P together with the comparator 1 and the voltage dividing resistors RA and RB as shown.

[発明の効果] 以上の如く、本発明の比較入力回路によれば、参照電
圧の電源が脈動している場合にも信号電圧のレベル変化
を誤検知することがない。そして、コンパレータと、参
照電圧を得る抵抗分圧回路とがIC化されている場合にも
容易に適用することができ、さらには、広いレンジの信
号電圧に対応することができる等、多くの効果を有す
る。
[Effects of the Invention] As described above, according to the comparison input circuit of the present invention, even when the power supply of the reference voltage is pulsating, the level change of the signal voltage is not erroneously detected. Further, the present invention can be easily applied to the case where the comparator and the resistive voltage dividing circuit for obtaining the reference voltage are integrated into an IC, and further, can cope with a wide range of signal voltages. Having.

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

第1図および第2図は本発明の一実施例を示し、第1図
は比較入力回路の回路図、第2図は信号タイムチャー
ト、第3図は本発明の他の例を示す比較入力回路の回路
図、第4図および第5図は従来例を示し、第4図は比較
入力回路の回路図、第5図は信号タイムチャートであ
る。 1……コンパレータ 2……スイッチ(信号電圧出力源) 3……信号電圧出力素子(信号電圧出力源) C1……第1コンデンサ C2……第2コンデンサ R1……入力抵抗 RA、RB……分圧抵抗 Vcc……電源電圧 Vin……信号電圧 Vref……参照電圧 Vout……比較出力 P……ICパッケージ
1 and 2 show an embodiment of the present invention, FIG. 1 is a circuit diagram of a comparison input circuit, FIG. 2 is a signal time chart, and FIG. 3 is a comparison input showing another example of the present invention. 4 and 5 show a conventional example, FIG. 4 is a circuit diagram of a comparison input circuit, and FIG. 5 is a signal time chart. 1 Comparator 2 Switch (signal voltage output source) 3 Signal voltage output element (signal voltage output source) C1 First capacitor C2 Second capacitor R1 Input resistance RA, RB Piezoresistor Vcc Power supply voltage Vin Signal voltage Vref Reference voltage Vout Comparison output P IC package

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】一方の入力端子に入力する信号電圧を他方
の入力端子に入力する参照電圧と比較して比較出力を発
するコンパレータを有するとともに、電源電圧を分圧し
て上記参照電圧を発生する分圧抵抗を有する比較入力回
路において、コンパレータの上記一方の入力端子には、
上記信号電圧の出力源との間に入力抵抗を設けるととも
に、電源の正極との間およびアースとの間にそれぞれ第
1および第2のコンデンサを設けたことを特徴とする比
較入力回路。
A comparator for comparing a signal voltage input to one input terminal with a reference voltage input to the other input terminal to generate a comparison output, and dividing a power supply voltage to generate the reference voltage; In the comparison input circuit having a voltage resistance, the one input terminal of the comparator includes:
A comparison input circuit comprising: an input resistor provided between the power supply and an output source of the signal voltage; and first and second capacitors provided between the positive electrode of the power supply and the ground.
JP1259478A 1989-10-04 1989-10-04 Comparison input circuit Expired - Fee Related JP2857892B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1259478A JP2857892B2 (en) 1989-10-04 1989-10-04 Comparison input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1259478A JP2857892B2 (en) 1989-10-04 1989-10-04 Comparison input circuit

Publications (2)

Publication Number Publication Date
JPH03121611A JPH03121611A (en) 1991-05-23
JP2857892B2 true JP2857892B2 (en) 1999-02-17

Family

ID=17334640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1259478A Expired - Fee Related JP2857892B2 (en) 1989-10-04 1989-10-04 Comparison input circuit

Country Status (1)

Country Link
JP (1) JP2857892B2 (en)

Also Published As

Publication number Publication date
JPH03121611A (en) 1991-05-23

Similar Documents

Publication Publication Date Title
US6259613B1 (en) Power factor correction (PFC) circuit
US5757196A (en) Capacitive switch actuated by changes in a sensor capacitance
JP2004138434A (en) Grounding detecting apparatus and insulating resistance measuring apparatus
US11742746B2 (en) Switching control circuit and power supply circuit
US4786863A (en) Solid state watthour meter with switched-capacitor integration
JP3565416B2 (en) Power factor improvement circuit
EP0562452A1 (en) An interface circuit for generating an analogue signal to control the speed of rotation of a direct-current electric motor, particularly a brushless motor
JP2857892B2 (en) Comparison input circuit
US7042135B2 (en) Current detection circuit and current detection method
US7639051B2 (en) Circuit arrangement for rectifying the output voltage of a sensor that is fed by an oscillator
TWI587619B (en) Power converter and switch control unit therein
JP2004104942A (en) Dc-dc converter
JPH07194126A (en) Half-wave rectifier
JPH0733590Y2 (en) High voltage power supply
JPS644306Y2 (en)
JPH069545Y2 (en) Protective relay
JPS58200119A (en) Pressure sensor device
JPS5920983B2 (en) Impedance change detection circuit
JPH08115134A (en) Power source circuit
JPH04232401A (en) Evaluation circuit for inductive distance-measuring equipment
JPH04252312A (en) Voltage converter circuit
JPS5932216Y2 (en) DC high voltage generator
JPH0352822B2 (en)
JP2671343B2 (en) Capacity measuring device
JPH0120648Y2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees