JPH05196703A - Integrated circuit - Google Patents

Integrated circuit

Info

Publication number
JPH05196703A
JPH05196703A JP4008867A JP886792A JPH05196703A JP H05196703 A JPH05196703 A JP H05196703A JP 4008867 A JP4008867 A JP 4008867A JP 886792 A JP886792 A JP 886792A JP H05196703 A JPH05196703 A JP H05196703A
Authority
JP
Japan
Prior art keywords
circuit
signal
power supply
supply voltage
bld
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
JP4008867A
Other languages
Japanese (ja)
Inventor
Kazuya Masako
和也 真子
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems Co 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP4008867A priority Critical patent/JPH05196703A/en
Publication of JPH05196703A publication Critical patent/JPH05196703A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To display the voltage value detected with a BLD circuit or the remaining life of a battery and the like in an integrated circuit housing the BLD circuit. CONSTITUTION:A BLD circuit 1, wherein a power supply voltage to be detected is changed with decoded signal 12, is provided. The decoded signal 12 is sent into the BLD circuit 1 with a detected power-supply voltage signal 5 from the BLD circuit 1 and a clock signal 3. At the same time, the detected voltage is converted into a digital signal 13. A detected-voltage converting circuit 4 is provided. An operating circuit 2, which operates the digital signal of the detected-voltage converting circuit 4 is provided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は集積回路に関し、特に電
源電圧検出回路(以下BLD回路と称す)と、この検出
出力を演算する回路とを内蔵した集積回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an integrated circuit, and more particularly to an integrated circuit having a power supply voltage detection circuit (hereinafter referred to as a BLD circuit) and a circuit for calculating the detection output.

【0002】[0002]

【従来の技術】従来では、図2に示す様に、高電位(V
DD)端子20と低電位(VSS)端子21との間に電
源電圧を検出するBLD回路7と、このBLD回路7の
電源電圧検出信号6を演算する演算回路8とを有してい
る。
2. Description of the Related Art Conventionally, as shown in FIG. 2, a high potential (V
A BLD circuit 7 for detecting a power supply voltage is provided between a DD) terminal 20 and a low potential (VSS) terminal 21, and an operation circuit 8 for calculating a power supply voltage detection signal 6 of the BLD circuit 7.

【0003】図4は従来のBLD回路(図2中)を示す
回路図である。
FIG. 4 is a circuit diagram showing a conventional BLD circuit (in FIG. 2).

【0004】図4において、高電位(VDD)と低電位
(VSS=0V)との間に、抵抗RD,RSの直列体を
設け、この共通接続点をコンパレータ10の正相(+)
入力としている。コンパレータ10の逆相(−)入力に
は、基準電圧(Vref)が印加されている。
In FIG. 4, a series body of resistors RD and RS is provided between a high potential (VDD) and a low potential (VSS = 0V), and this common connection point is connected to the positive phase (+) of the comparator 10.
I am trying to input. A reference voltage (Vref) is applied to the negative phase (−) input of the comparator 10.

【0005】次に動作について説明する。図4におい
て、電源電圧が高い(基準電圧(以下Vrefと称す)
<RS・VDD/(RS+RD))の場合、コンパレー
タ10の出力(電源電圧検出信号6)は、高電位(以下
Hレベルと称す)となる。電源電圧が低い(Vref>
RS・VDD/(RS+RD))場合は、コンパレータ
10の出力(電源電圧検出信号6)は低電位(以下Lレ
ベルと称す)となる。
Next, the operation will be described. In FIG. 4, the power supply voltage is high (reference voltage (hereinafter referred to as Vref))
In the case of <RS · VDD / (RS + RD)), the output of the comparator 10 (power supply voltage detection signal 6) has a high potential (hereinafter referred to as H level). Low power supply voltage (Vref>
In the case of RS · VDD / (RS + RD)), the output of the comparator 10 (power supply voltage detection signal 6) has a low potential (hereinafter referred to as L level).

【0006】図2の演算回路8は、BLD回路7の電源
電圧検出信号6を受けとり、演算する。ここで演算した
結果を、表示回路等に結果を送り、電源電圧が高いか低
いかを表示していた。
The arithmetic circuit 8 of FIG. 2 receives the power supply voltage detection signal 6 of the BLD circuit 7 and performs arithmetic operation. The result calculated here is sent to a display circuit or the like to display whether the power supply voltage is high or low.

【0007】[0007]

【発明が解決しようとする課題】このような従来の回路
では、電源電圧がある電圧より高いか低いかしか検出で
きない為、電池を電源として場合は、電池の残り寿命
や、電池の電圧等を表示することができないという問題
点があった。
In such a conventional circuit, since it is possible to detect whether the power supply voltage is higher or lower than a certain voltage, when the battery is used as the power supply, the remaining life of the battery, the voltage of the battery, and the like are detected. There was a problem that it could not be displayed.

【0008】本発明の目的は、前記問題点を解決し、電
池の残り寿命や電池の電圧等を表示できるようにした集
積回路を提供することにある。
An object of the present invention is to solve the above problems and provide an integrated circuit capable of displaying the remaining life of the battery, the voltage of the battery and the like.

【0009】[0009]

【課題を解決するための手段】本発明の集積回路の構成
は、検出した電源電圧がデコード信号の入力により変わ
る電源電圧検出回路と、前記電源電圧検出回路の電源電
圧検出信号とクロック信号とにより前記電源電圧検出回
路に前記デコード信号を送ると共に前記検出した電源電
圧をディジタル信号に変換する検出電圧変換回路と、前
記検出電圧変換回路の前記ディジタル信号を演算する演
算回路と備えていることを特徴とする。
The structure of an integrated circuit according to the present invention comprises a power supply voltage detection circuit in which a detected power supply voltage is changed by the input of a decode signal, and a power supply voltage detection signal and a clock signal of the power supply voltage detection circuit. A detection voltage conversion circuit for transmitting the decode signal to the power supply voltage detection circuit and converting the detected power supply voltage into a digital signal; and an operation circuit for operating the digital signal of the detection voltage conversion circuit. And

【0010】[0010]

【実施例】図1は本発明の一実施例の集積回路のブロッ
ク図、図3は図1内のBLD回路の一例を示す回路図、
図5は図1の検出電圧変換回路の一例を示す回路図、図
6は図5のタイミング図である。
1 is a block diagram of an integrated circuit according to an embodiment of the present invention, FIG. 3 is a circuit diagram showing an example of the BLD circuit in FIG.
5 is a circuit diagram showing an example of the detection voltage conversion circuit of FIG. 1, and FIG. 6 is a timing diagram of FIG.

【0011】図1において、本実施例の集積回路は、高
電位(VDD)端子30と低電位(VSS)端子31と
の間に、検出電圧変換回路4と、電源電圧検出回路(B
LD回路)1と、演算回路2とを備え、検出電圧変換回
路4はクロック信号端子33からのクロック信号を受
け、デコード信号12を出力し、電源電圧検出回路1
は、この出力を受けて、検出電圧変換回路4に入力さ
れ、この変換回路4は、ディジタル信号13を演算回路
2に出力する。
In FIG. 1, the integrated circuit of this embodiment has a detection voltage conversion circuit 4 and a power supply voltage detection circuit (B) between a high potential (VDD) terminal 30 and a low potential (VSS) terminal 31.
The detection voltage conversion circuit 4 receives the clock signal from the clock signal terminal 33, outputs the decode signal 12, and supplies the power supply voltage detection circuit 1
Receives this output and is input to the detection voltage conversion circuit 4, and the conversion circuit 4 outputs the digital signal 13 to the arithmetic circuit 2.

【0012】図3において、図1の電源電圧検出回路1
は、高電位(VDD)と低電位(VSS=0V)との間
に、抵抗RD0,Rn,Rn−1,Rn−2,…,R
1,R0の直列体を設け、デコード信号A0,…,An
がそれぞれゲート入力される電界効果トランジスタから
なるスイッチ素子T0〜Tnと、コンパレータ9とを設
ける。コンパレータ9の逆相(−)入力には基準電圧
(Vref)が入力され、電源電圧検出信号5を出力す
る。
Referring to FIG. 3, the power supply voltage detection circuit 1 of FIG.
Are resistors RD0, Rn, Rn-1, Rn-2, ..., R between a high potential (VDD) and a low potential (VSS = 0V).
, R0 are provided in series, and the decoded signals A0, ..., An are provided.
Are provided with switch elements T0 to Tn, each of which is a field effect transistor to which a gate input is made, and a comparator 9. The reference voltage (Vref) is input to the negative phase (-) input of the comparator 9, and the power supply voltage detection signal 5 is output.

【0013】図5において、図1の検出電圧変換回路4
は、(n+1)個のデータフリップフロップ40と、A
NDゲート41とを備えている。クロック信号入力端子
33のクロック信号3と電源電圧検出信号5とのAND
出力が、各データフリップフロップ40のクロック入力
(C)に入力され、AC信号も各フリップフロップ40
のリセット入力、セット入力に入力され、各フリップフ
ロップ40間は、Q出力とD入力とが接続され、最終段
のQ出力は初段のD入力に接続されている。各フリップ
フロップ40のQ出力は、各々デコード信号A0,…,
Anとなる。
5, the detection voltage conversion circuit 4 of FIG.
Is (n + 1) data flip-flops 40 and A
And an ND gate 41. AND of the clock signal 3 at the clock signal input terminal 33 and the power supply voltage detection signal 5
The output is input to the clock input (C) of each data flip-flop 40, and the AC signal is also input to each flip-flop 40.
Is input to the reset input and the set input, the Q output and the D input are connected between the flip-flops 40, and the Q output of the final stage is connected to the D input of the first stage. The Q output of each flip-flop 40 is decoded signal A0, ...,
An.

【0014】図6において、図5のAC信号、クロック
信号3,ANDゲート41の出力信号,デコード信号A
0〜A10,電源電圧検出信号5の各波形が示されてい
る。図6中の矢印は、信号の送受関係を示す。
In FIG. 6, the AC signal, the clock signal 3, the output signal of the AND gate 41, and the decode signal A shown in FIG.
Each waveform of 0 to A10 and the power supply voltage detection signal 5 is shown. Arrows in FIG. 6 indicate a signal transmission / reception relationship.

【0015】図5の検出電圧変換回路は、AC信号を入
力すると、各データフリップフロップ40はセット又は
リセットされ、デコード信号A0はHレベル,デコード
信号A1〜An=Lレベルとなる。デコード信号A0〜
Anは、図3に示すBLD回路に入力される為、スイッ
チ素子T0は導通状態(以下ONと称す)、スイッチ素
子T1〜Tnは非導通状態(以下OFF状態と称す)と
なり、コンパレータ9の第1の入力端(+側)に入力さ
れる電圧はR0・VDD/(RD0+R0+R1+…+
Rn)となる。
In the detection voltage conversion circuit of FIG. 5, when an AC signal is input, each data flip-flop 40 is set or reset, the decode signal A0 becomes H level, and the decode signals A1 to An = L level. Decode signal A0
Since An is input to the BLD circuit shown in FIG. 3, the switch element T0 is in a conductive state (hereinafter referred to as ON), and the switch elements T1 to Tn are in a non-conductive state (hereinafter referred to as OFF state), so that the comparator 9 The voltage input to the input terminal (+ side) of 1 is R0 · VDD / (RD0 + R0 + R1 + ... +
Rn).

【0016】コンパレータ9の第2の入力端(−側)は
基準電圧Vrefであり、第1の入力端(+側)の電圧
が第2の入力端(−側)の電圧より低い場合、Vref
>R0・VDD/(RD0+R0+R1+…+Rn)と
なり、コンパレータ9の出力(電源電圧検出信号5)は
Hレベルとなり、図5の検出電圧変換回路のANDゲー
ト41を通って、各フリップフロップ40にクロック信
号が入力される。
The second input terminal (-side) of the comparator 9 is the reference voltage Vref, and when the voltage of the first input terminal (+ side) is lower than the voltage of the second input terminal (-side), Vref.
> R0.VDD / (RD0 + R0 + R1 + ... + Rn), the output of the comparator 9 (power supply voltage detection signal 5) becomes H level, and the clock signal is sent to each flip-flop 40 through the AND gate 41 of the detection voltage conversion circuit of FIG. Is entered.

【0017】クロックが入力されると、デコード信号A
0〜Anは図6に示す様に、順次Hレベルを出力し、図
3のスイッチ素子T0〜Tnも順次ON状態となり、コ
ンパレータ9の第1の入力端(+側)の電圧は、次のよ
うに変化する。
When the clock is input, the decode signal A
0 to An sequentially output the H level as shown in FIG. 6, the switch elements T0 to Tn in FIG. 3 are also sequentially turned on, and the voltage of the first input terminal (+ side) of the comparator 9 becomes To change.

【0018】R0・VDD/(RD0+R0+R1+…
+Rn)→(R0+R1)・VDD/(RD0+R0+
R1+…+Rn)→……→(R0+R1+…+Rn)V
DD/(RD0+R0+R1+…+Rn) コンパレータ9の第1の入力端(+側)の電位が、Vr
ef(コンパレータ9の第2の入力端(−側)よりも小
さい時は、コンパレータ9の出力はHレベルとなり、大
きい時はLレベルを出力する。
R0 · VDD / (RD0 + R0 + R1 + ...
+ Rn) → (R0 + R1) · VDD / (RD0 + R0 +
R1 + ... + Rn) → …… → (R0 + R1 + ... + Rn) V
DD / (RD0 + R0 + R1 + ... + Rn) The potential of the first input terminal (+ side) of the comparator 9 is Vr.
ef (when it is smaller than the second input terminal (− side) of the comparator 9), the output of the comparator 9 is H level, and when it is larger, L level is output.

【0019】コンパレータ9の出力がLレベルになる
と、図5のANDゲート41の出力はLレベルとなり、
各フリップフロップ40にはクロックが入力されない
為、デコード信号A0〜Anは変化しない。
When the output of the comparator 9 becomes L level, the output of the AND gate 41 in FIG. 5 becomes L level,
Since no clock is input to each flip-flop 40, the decode signals A0-An do not change.

【0020】図6のタイミング図では、デコード信号A
10が“H”レベル時に、コンパレータ9の出力が
“L”レベルとなり、デコード信号A0〜Anは固定さ
れる。又、デジタル信号D0〜Dnの信号(本実施例で
はデコード信号A0〜Anとデジタル信号D0〜Dnを
同じ信号としている)は、図1の演算回路2に入力され
る。すなわち、電源電圧がデジタル信号に変換された信
号が、演算回路2に入力される。入力されたデジタル信
号は演算回路2で演算され、表示回路に転送される。
In the timing diagram of FIG. 6, the decode signal A
When 10 is at "H" level, the output of the comparator 9 becomes "L" level and the decode signals A0-An are fixed. Further, the digital signals D0 to Dn (in this embodiment, the decode signals A0 to An and the digital signals D0 to Dn are the same signals) are input to the arithmetic circuit 2 of FIG. That is, a signal obtained by converting the power supply voltage into a digital signal is input to the arithmetic circuit 2. The input digital signal is calculated by the calculation circuit 2 and transferred to the display circuit.

【0021】[0021]

【発明の効果】以上説明したように、本発明は、BLD
回路が検出した電圧値をデジタル信号に変換することに
より、電池の残り寿命や、電池の電圧等を表示すること
ができる効果がある。
As described above, according to the present invention, the BLD
By converting the voltage value detected by the circuit into a digital signal, it is possible to display the remaining life of the battery, the voltage of the battery, and the like.

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

【図1】本発明の一実施例の集積回路のブロック図であ
る。
FIG. 1 is a block diagram of an integrated circuit according to an embodiment of the present invention.

【図2】従来の集積回路の一例を示すブロック図であ
る。
FIG. 2 is a block diagram showing an example of a conventional integrated circuit.

【図3】図1に示した電源電圧回路の回路図である。3 is a circuit diagram of the power supply voltage circuit shown in FIG.

【図4】図2に示した電源電圧回路の回路図である。FIG. 4 is a circuit diagram of the power supply voltage circuit shown in FIG.

【図5】図1に示した検出電圧変換回路の回路図であ
る。
5 is a circuit diagram of the detection voltage conversion circuit shown in FIG.

【図6】図5に示した検出電圧変換回路のタイミング図
である。
6 is a timing diagram of the detection voltage conversion circuit shown in FIG.

【符号の説明】[Explanation of symbols]

1,7 電源電圧検出回路(BLD回路) 2,8 演算回路 3 クロック信号 4 検出電圧変換回路 5,6 電源電圧検出信号 9,10 コンパレータ RD0,R0〜Rn,Rd,Rs 抵抗 T0〜Tn スイッチ素子 12,A0〜An デコード信号 13,D0〜Dn デジタル信号 20,30 高電位端 21,31 低電位端 33 クロック信号端子 40 データフリップフロップ 41 ANDゲート 1,7 Power supply voltage detection circuit (BLD circuit) 2,8 Operation circuit 3 Clock signal 4 Detection voltage conversion circuit 5,6 Power supply voltage detection signal 9,10 Comparator RD0, R0 to Rn, Rd, Rs Resistance T0 to Tn Switch element 12, A0 to An decode signal 13, D0 to Dn digital signal 20,30 high potential end 21,31 low potential end 33 clock signal terminal 40 data flip-flop 41 AND gate

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 検出した電源電圧がデコード信号の入力
により変わる電源電圧検出回路と、前記電源電圧検出回
路の電源電圧検出信号とクロック信号とにより前記電源
電圧検出回路に前記デコード信号を送ると共に前記検出
した電源電圧をディジタル信号に変換する検出電圧変換
回路と、前記検出電圧変換回路の前記ディジタル信号を
演算する演算回路と備えることを特徴とする集積回路。
1. A power supply voltage detection circuit in which a detected power supply voltage changes according to the input of a decode signal, and the decode signal is sent to the power supply voltage detection circuit by the power supply voltage detection signal and the clock signal of the power supply voltage detection circuit, and An integrated circuit comprising: a detection voltage conversion circuit for converting the detected power supply voltage into a digital signal; and an arithmetic circuit for calculating the digital signal of the detection voltage conversion circuit.
JP4008867A 1992-01-22 1992-01-22 Integrated circuit Pending JPH05196703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4008867A JPH05196703A (en) 1992-01-22 1992-01-22 Integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4008867A JPH05196703A (en) 1992-01-22 1992-01-22 Integrated circuit

Publications (1)

Publication Number Publication Date
JPH05196703A true JPH05196703A (en) 1993-08-06

Family

ID=11704645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4008867A Pending JPH05196703A (en) 1992-01-22 1992-01-22 Integrated circuit

Country Status (1)

Country Link
JP (1) JPH05196703A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147067A (en) * 2018-11-06 2020-05-12 崛智科技有限公司 Integrated circuit system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5010543A (en) * 1973-05-25 1975-02-03
JPS6363819U (en) * 1986-10-14 1988-04-27

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5010543A (en) * 1973-05-25 1975-02-03
JPS6363819U (en) * 1986-10-14 1988-04-27

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147067A (en) * 2018-11-06 2020-05-12 崛智科技有限公司 Integrated circuit system
CN111147067B (en) * 2018-11-06 2023-06-30 崛智科技有限公司 Integrated circuit system

Similar Documents

Publication Publication Date Title
CN111061358B (en) Clock-free chip wake-up circuit, wake-up method and chip
GB2023891A (en) Magnetic field detection arrangement for a motor e.g. in an electronic timepiece
JPH05196703A (en) Integrated circuit
US8294487B2 (en) Configuration setting device of integrated circuit and the configuration setting method thereof
CN111158291A (en) High-precision PWM signal generation and detection system based on edge control
JPH0753313Y2 (en) A / D conversion circuit
JPH11266148A (en) Voltage detection circuit
CN110095197A (en) Temperature measuring device
JP2705085B2 (en) Decoder test circuit
JP2001165783A (en) Temperature detection circuit
JPH10242810A (en) Latch circuit
US7183869B2 (en) Circuit and method for temperature compensation
KR19980073027A (en) Internal voltage generation circuit
JPS6035902Y2 (en) Unadjusted battery life detection circuit
JP2603355B2 (en) Integrated circuit device
JP2712411B2 (en) Test circuit
JP3284333B2 (en) Position detection device and clock
JPH09259080A (en) Semiconductor device
JP2003114242A (en) Integrated circuit
US20100149014A1 (en) Semiconductor integrated circuit
TW571183B (en) Address decoding device
JPH01189223A (en) Clock signal detecting circuit and through current preventing circuit for dynamic shift register utilizing same
JPH03250815A (en) A/d converter
JPS55104749A (en) Humidity detecting circuit
JPH04270969A (en) Input impedance measuring circuit of ic circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990721