JPH01232807A - Current comparison circuit - Google Patents

Current comparison circuit

Info

Publication number
JPH01232807A
JPH01232807A JP63059653A JP5965388A JPH01232807A JP H01232807 A JPH01232807 A JP H01232807A JP 63059653 A JP63059653 A JP 63059653A JP 5965388 A JP5965388 A JP 5965388A JP H01232807 A JPH01232807 A JP H01232807A
Authority
JP
Japan
Prior art keywords
current
transistor
iin
collector
flows
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
JP63059653A
Other languages
Japanese (ja)
Other versions
JP2683015B2 (en
Inventor
Rikitarou Mita
三田 力太朗
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63059653A priority Critical patent/JP2683015B2/en
Priority to EP88106675A priority patent/EP0288977A1/en
Publication of JPH01232807A publication Critical patent/JPH01232807A/en
Application granted granted Critical
Publication of JP2683015B2 publication Critical patent/JP2683015B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Amplifiers (AREA)

Abstract

PURPOSE:To set a reference current freely with high accuracy in response to the application and to attain the comparison with high accuracy by using a constant current circuit whose current is set optionally by a resistor as the reference current source. CONSTITUTION:With a power voltage applied to a power terminal 1 in a current comparator circuit, a current expressed in equation flows to a collector of a transistor(TR) Q1, where V1 is a constant voltage of a constant voltage source 5'. Since TRs Q2, Q3 constitute a current mirror, a collector current of the TR Q3 is nearly equal to a current I1 and the current I1 is the reference current. When a current IIN flows from the input terminal in case of IIN<I1, the current corresponding to (I1-IIN) flows to the emitter of a TR Q5. Thus, a TR Q6 is conductive and an output 4 reaches a low level. On the other hand, in case of IIN>=I1, the TR Q6 is nonconductive and the output 4 goes to a high level. Thus, the quantity of the current IIN with respect to the current I1 is compared by the circuit comprising the TRs Q4, Q6 and the result is discriminated by the turn-on/turn-off of the TR Q6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電流比較回路、特に回路に入力する流入又は流
出電流値の、ある値に対する大小を判別する電流比較回
路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a current comparison circuit, and particularly to a current comparison circuit that determines whether an inflow or outflow current value input to the circuit is large or small relative to a certain value.

〔従来の技術〕[Conventional technology]

上記型式の電流比較回路として本出願人は特願昭62−
107009号にて第2図に示される電流比較回路を提
案している。
As a current comparison circuit of the above type, the present applicant has filed a patent application filed in 1983-
No. 107009 proposes a current comparison circuit shown in FIG.

第2図において、1は電源端子、2は入力端子、4は出
力端子、5は定電圧源、6は定電流源、Q4とQ6はN
PN トランジスタ、QsはPNP トランジスタ、R
2とR3は抵抗である。
In Figure 2, 1 is a power supply terminal, 2 is an input terminal, 4 is an output terminal, 5 is a constant voltage source, 6 is a constant current source, Q4 and Q6 are N
PN transistor, Qs is PNP transistor, R
2 and R3 are resistors.

第2図において、入力端子2からある値の電流■、が流
出する時、11が定電流源6の出力電流■2より小さい
場合、その差(I211)の電流は、トランジスタQ6
が導通しトランジスタQ4が非導通となることによりト
ランジスタQ5のエミッタへ流れこむ。これにてトラン
ジスタQ5のコレクタ電流と抵抗R2による電圧降下に
よりトランジスタQ6のベース電位がトランジスタの順
方向電圧以上になり、トランジスタQ6は導通して出力
4はローレベルとなる。
In FIG. 2, when a certain value of current ■ flows out from input terminal 2, if 11 is smaller than the output current ■2 of constant current source 6, the current of the difference (I211) is
becomes conductive and transistor Q4 becomes non-conductive, so that it flows into the emitter of transistor Q5. As a result, the base potential of the transistor Q6 becomes higher than the forward voltage of the transistor due to the collector current of the transistor Q5 and the voltage drop caused by the resistor R2, so that the transistor Q6 becomes conductive and the output 4 becomes a low level.

一方電流11がI2に等しいか、I2より大きい場合は
、トランジスタQ、は非導通となり、トランジスタQs
のコレクタ電流は0となる。よってトランジスタQ6の
ベース電圧は接地レベルでトランジスタQ、は非導通と
なり出力4はハイレベルとなる。このとき、1l=I2
ではトランジスタQ4も非導通であるが、I、>I2で
は差分(11−I2分)の電流は、トランジスタQ4が
導通してそのエミッタより供給される。
On the other hand, if current 11 is equal to or greater than I2, transistor Q is non-conducting and transistor Qs
The collector current of becomes 0. Therefore, the base voltage of transistor Q6 is at ground level, transistor Q is non-conductive, and output 4 is at high level. At this time, 1l=I2
In this case, the transistor Q4 is also non-conductive, but when I>I2, the current of the difference (11-I2) is supplied from the emitter of the transistor Q4.

上記の如く、第2図の回路にあっては入力電流■1のI
2に対する大小比較がトランジスタQ 4 +Q、構成
にて行なわれ、トランジスタQ6のオン・オフ結果とし
て判定される。
As mentioned above, in the circuit of Fig. 2, the input current ■I of 1
2 is compared with the transistor Q 4 +Q, and the result is determined as an on/off result of the transistor Q6.

〔発明が解決しようとしている問題点〕本発明は上記第
2図に示した電流比較回路の改良に関するものであり、
上記比較対象となる定電流値を任意に設定可能ならしめ
IC化に好適な回路を提供せんとするものである。
[Problems to be solved by the invention] The present invention relates to an improvement of the current comparison circuit shown in FIG. 2 above,
It is an object of the present invention to provide a circuit suitable for implementation in an IC, which can arbitrarily set the constant current value to be compared.

〔実施例〕 第1図は本発明に係る電流比較回路の一実施例を示す回
路図で、第2図と同一構成部には同一記号を附しである
。図において3は基準電流値を決定する抵抗を接続する
端子、5′ は定電圧源を示し、Q+はNPN トラン
ジスタ、Q2.Q3はカレントミラー構成のPNPトラ
ンジスタ、R1は上記端子3に接続される抵抗である。
[Embodiment] FIG. 1 is a circuit diagram showing an embodiment of a current comparison circuit according to the present invention, and the same components as in FIG. 2 are given the same symbols. In the figure, 3 is a terminal to which a resistor for determining the reference current value is connected, 5' is a constant voltage source, Q+ is an NPN transistor, Q2. Q3 is a PNP transistor having a current mirror configuration, and R1 is a resistor connected to the terminal 3.

尚、該第1図において抵抗R1以外の構成はIC化され
、抵抗R1は外付けされているものとする。
In FIG. 1, it is assumed that the components other than the resistor R1 are integrated circuits, and the resistor R1 is externally attached.

該第1図構成において、1に電源電圧が印加されかつ5
′ の定電圧値をvlとすると、トランジスタQ1のコ
レクタには l の電流が流れる。トランジスタQ2とQ3はカレントミ
ラーを構成しているので、ベース電流分を無視すると、
トランジスタQ3のコレクタ電流はI。
In the configuration shown in FIG. 1, a power supply voltage is applied to 1 and 5
If the constant voltage value of ' is vl, a current of l flows through the collector of the transistor Q1. Transistors Q2 and Q3 form a current mirror, so if you ignore the base current,
The collector current of transistor Q3 is I.

にほぼ等しい。したがって、11が本電流比較回路の基
準電流値となる。ここで、入力端子からI、Hの電流が
流出する時、I、N<I、の場合、(1,−1,N)の
分の電流は、トランジスタQ、が導通しQ4が非導通と
なることにより、トランジスタQIsのエミッタへ流れ
こむ。これにてトランジスタQ、のコレクタ電流とR2
による電圧降下によりトランジスタQ6のベース電位が
Q6の順方向電圧に達し、トランジスタQ6は導通して
出力4はローレベルとなる。
approximately equal to. Therefore, 11 becomes the reference current value of this current comparison circuit. Here, when currents I and H flow out from the input terminal, if I and N<I, the current for (1, -1, N) causes transistor Q to conduct and Q4 to non-conduct. As a result, the current flows into the emitter of the transistor QIs. With this, the collector current of transistor Q and R2
Due to the voltage drop caused by this, the base potential of the transistor Q6 reaches the forward voltage of the transistor Q6, the transistor Q6 becomes conductive, and the output 4 becomes a low level.

一方、11N≧11の場合は、トランジスタQ、は非導
通となり、トランジスタQ6のコレクタ電流は0となる
。よってトランジスタQ6のベース電圧は接地レベルで
トランジスタQ6は非導通となり出力4はハイレベルと
なる。このときI、N=1.ではトランジスタQ4も非
導通であるが、11N>  1.では(IIN  It
 )分の電流はトランジスタQ4が導通してそのエミッ
タより供給される。
On the other hand, when 11N≧11, the transistor Q becomes non-conductive and the collector current of the transistor Q6 becomes zero. Therefore, the base voltage of transistor Q6 is at ground level, transistor Q6 is non-conductive, and output 4 is at high level. At this time, I, N=1. In this case, transistor Q4 is also non-conducting, but 11N>1. Well then (IIN It
) is supplied from the emitter of transistor Q4 when it becomes conductive.

上記の如(、該実施例にあっては、抵抗R8によって基
準電流11が決定され、流出する入力電流I、Nの1.
に対する大小比較がトランジスタQ41Qlsの構成に
より行なわれ、トランジスタQ6のオン・オフ結果とし
て判定される。
As described above (in this embodiment, the reference current 11 is determined by the resistor R8, and the 1.
A comparison is made between the transistors Q41 and Qls based on the configuration of the transistor Q41Qls, and the result is determined as an on/off result of the transistor Q6.

尚、抵抗R8としては可変抵抗を開いても良い。Note that a variable resistor may be used as the resistor R8.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、電流値を抵抗により任意に設定で
きる構造の定電流回路を基準電流源として用いることに
より、基準電流を用途に応じて自由にかつ精度良く設定
できる電流比較回路が実現でき、特に本回路をIC化し
た場合に、電流設定抵抗を外付けとすることにより、そ
の利点が太き(発揮され得るものである。又、上記の如
く本発明の電流比較回路では電流値の大小比較のみで大
小判定を行なっているので、従来の電圧変換比較方式の
ものに比して高精度の比較を行なうことが出来る。
As explained above, by using a constant current circuit with a structure in which the current value can be arbitrarily set using a resistor as a reference current source, a current comparison circuit that can freely and accurately set the reference current according to the application can be realized. In particular, when this circuit is integrated into an IC, the advantages of externally connecting the current setting resistor can be greatly improved.Also, as mentioned above, the current comparison circuit of the present invention can be used to adjust the magnitude of the current value. Since the magnitude is determined only by comparison, it is possible to perform comparison with higher precision than in the conventional voltage conversion comparison method.

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

第1図は本発明に係る電流比較回路の一実施例を示す回
路図、 第2図は先願に係る電流比較回路を示す回路図である。 lは電源端子、2は入力端子、3は電流設定抵抗接続端
子、4は出力端子、5及び5′ は定電圧源、6は定電
流源であり、Q、〜Q6はトランジスタ、R0〜R3は
抵抗である。
FIG. 1 is a circuit diagram showing an embodiment of a current comparison circuit according to the present invention, and FIG. 2 is a circuit diagram showing a current comparison circuit according to a prior application. l is a power supply terminal, 2 is an input terminal, 3 is a current setting resistor connection terminal, 4 is an output terminal, 5 and 5' are constant voltage sources, 6 is a constant current source, Q, ~Q6 are transistors, R0 ~ R3 is resistance.

Claims (1)

【特許請求の範囲】[Claims] 第1のNPNトランジスタのベースを定電圧源に接続し
、該第1のNPNトランジスタのエミッタとGND間に
抵抗を接続し、該第1のNPNトランジスタのコレクタ
に第1のPNPトランジスタのコレクタ及びベースと、
第2のPNPトランジスタのベースを接続し、更に該第
1及び第2のPNPトランジスタのエミッタを電源に接
続して該第2のPNPトランジスタのコレクタを出力と
する構造の定電流回路を基準電流源として、前記抵抗値
を可変とすることにより、基準電流値を任意に設定する
ことが可能であることを特徴とする電流比較回路。
The base of the first NPN transistor is connected to a constant voltage source, a resistor is connected between the emitter of the first NPN transistor and GND, and the collector and base of the first PNP transistor are connected to the collector of the first NPN transistor. and,
A constant current circuit having a structure in which the base of a second PNP transistor is connected, the emitters of the first and second PNP transistors are connected to a power supply, and the collector of the second PNP transistor is an output is used as a reference current source. A current comparison circuit characterized in that the reference current value can be arbitrarily set by making the resistance value variable.
JP63059653A 1987-04-28 1988-03-14 Current comparison circuit Expired - Lifetime JP2683015B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63059653A JP2683015B2 (en) 1988-03-14 1988-03-14 Current comparison circuit
EP88106675A EP0288977A1 (en) 1987-04-28 1988-04-26 Current comparison circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63059653A JP2683015B2 (en) 1988-03-14 1988-03-14 Current comparison circuit

Publications (2)

Publication Number Publication Date
JPH01232807A true JPH01232807A (en) 1989-09-18
JP2683015B2 JP2683015B2 (en) 1997-11-26

Family

ID=13119376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63059653A Expired - Lifetime JP2683015B2 (en) 1987-04-28 1988-03-14 Current comparison circuit

Country Status (1)

Country Link
JP (1) JP2683015B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61176293A (en) * 1985-01-31 1986-08-07 Toshiba Audio Video Eng Corp Circuit for reproducing synchronizing signal
JPS62162972A (en) * 1986-01-10 1987-07-18 Mitsubishi Electric Corp Current comparing circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61176293A (en) * 1985-01-31 1986-08-07 Toshiba Audio Video Eng Corp Circuit for reproducing synchronizing signal
JPS62162972A (en) * 1986-01-10 1987-07-18 Mitsubishi Electric Corp Current comparing circuit

Also Published As

Publication number Publication date
JP2683015B2 (en) 1997-11-26

Similar Documents

Publication Publication Date Title
JPS6229216A (en) Schmit circuit
JPH07104372B2 (en) Voltage comparison circuit
JP2845654B2 (en) Current detection circuit
JPH042295A (en) Asymmetry signal generating circuit
JPH01232807A (en) Current comparison circuit
JP2622142B2 (en) Current comparison circuit
JPS62113460A (en) Heat protective circuit
JPH0535351A (en) Constant current circuit
JP2961909B2 (en) Buffer amplifier
JPH02139608A (en) Constant current circuit starting device
KR930004584Y1 (en) Schmit trigger circuit
JPH02199517A (en) Constant voltage circuit
JPH0222703Y2 (en)
JPH09243671A (en) Hysteresis comparator
EP0072815A4 (en) Comparator.
JPH08204521A (en) Comparator circuit
EP0288977A1 (en) Current comparison circuit
JPH03220913A (en) Electronic comparator device
JPH0422214A (en) Comparator circuit
JPH04357510A (en) Constant current circuit
JPH0548540U (en) Current limiting transistor circuit
JPH0798614A (en) Reference voltage generation circuit
JPH0677783A (en) Hysteresis amplifier
JPH04332208A (en) Current mirror circuit
JPH09116393A (en) Comparator circuit

Legal Events

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

Free format text: PAYMENT UNTIL: 20070808

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080808

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080808

Year of fee payment: 11