US5394107A - Absolute value circuit - Google Patents

Absolute value circuit Download PDF

Info

Publication number
US5394107A
US5394107A US08/111,870 US11187093A US5394107A US 5394107 A US5394107 A US 5394107A US 11187093 A US11187093 A US 11187093A US 5394107 A US5394107 A US 5394107A
Authority
US
United States
Prior art keywords
circuit
absolute value
source
cmos inverters
value circuit
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
US08/111,870
Inventor
Guoliang Shou
Sunao Takatori
Makoto Yamamoto
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.)
Sharp Corp
Original Assignee
Yozan 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 Yozan Inc filed Critical Yozan Inc
Assigned to YOZAN INC. reassignment YOZAN INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SHOU, GUOLIANG, YAMAMOTO, MAKOTO, TAKATORI, SUNAO
Application granted granted Critical
Publication of US5394107A publication Critical patent/US5394107A/en
Assigned to SHARP CORPORATION reassignment SHARP CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: YOZAN, INC.
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/22Arrangements for measuring currents or voltages or for indicating presence or sign thereof using conversion of ac into dc
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06GANALOGUE COMPUTERS
    • G06G7/00Devices in which the computing operation is performed by varying electric or magnetic quantities
    • G06G7/12Arrangements for performing computing operations, e.g. operational amplifiers
    • G06G7/25Arrangements for performing computing operations, e.g. operational amplifiers for discontinuous functions, e.g. backlash, dead zone, limiting absolute value or peak value

Definitions

  • This invention relates to an analog typed absolute value circuit outputting an absolute value of an input voltage.
  • a majority of computational systems are digital computers. Typically, addition, subtraction, multiplication, division and many other calculations are performed by digital computers. Analog type processing has also recently become important as the result of neural networks and other global information processing. In digital processing, a calculation of absolute value can be realized by inverting a sign bit. However, in analog processing, an electrical value is evaluated and is to be inverted in polarity. There has not been a circuit preferable for absolute value calculation of analog type, as far as the inventors know.
  • the present invention is invented so as to solve the above problems and has an object to provide an analog type circuit for calculating an absolute value.
  • the absolute circuit is a combination of an inverter circuit and maximum value circuit
  • the inverter circuit is an operational amplifier with a gain "1" which consists of CMOS inverters connected in a cascade
  • the maximum circuit consists of a pair of nMOS transistors, the source follower outputs of which are connected to a common output.
  • FIG. 1 is a diagram of a circuit showing an embodiment of the absolute value circuit according to the present invention.
  • FIG. 2 is a partial circuit diagram showing another embodiment of the present invention.
  • an absolute value circuit has an inverter circuit INVC and a maximum value circuit MAXC. An output of the inverter circuit is inputted to the maximum value circuit. An input voltage x is inputted to the circuit INVC and MAXC, and a final output is outputted from MAXC.
  • An inverter circuit INVC consists of CMOS inverters T1, T2 and T3 connected in a cascade. The final output of the final stage CMOS inverter stage T3 is fed back to a gate of the first stage T1.
  • An operational amplifier is constructed by the CMOS inverters from T1 to T3.
  • An input voltage x is connected to a gate of inverter T1 through a capacitance C1, and a capacitance C2 substantially equal to Cl is connected on a feedback line from inverter T3 to inverter T1.
  • a positive power source Vcc is connected to each drain of the pMOS transistor, and a negative power source -Vcc is connected to each source of the nMOS transistors.
  • INVC becomes an inverting operational amplifier with gain 1, and a voltage of -x with inverted sign of an input voltage x is outputted.
  • a gain of INVC is given by a ratio of capacitances C1/C2, and an outputting characteristics of gain ⁇ 1 ⁇ is obtained by setting C1 equal to C2.
  • the gain of INVC is defined by the ratio of the impedance for input voltage and the impedance of feedback voltage.
  • resistors R1 and R2 can be used in place of Cl and C2.
  • the maximum value circuit MAXC includes a pair of nMOS transistors T4 and T5, source follower outputs D4 and D5 of which are connected to a common output D 0 .
  • the input voltage x is inputted to a gate of nMOS transistor T4 and -x from inverter T3 is inputted to a gate of nMOS transistor T5.
  • MOS transistors T4 and T5 were independent, each would output at its source the voltage at its input. However, when the sources of transistors T4 and T5 are connected together, the transistor with the higher input causes the transistor with the lower input to stop conducting, since the source voltage of the transistor with the lower input becomes higher than its gate voltage. As a result, the higher input voltage is to be generated on the common output D 0 .
  • x and -x are inputted to MAXC. If x is larger than 0, then x is outputted. On the other hand, if x is smaller than 0, then -x is outputted. This is the result of an absolute value calculation.
  • the time for obtaining these outputs is equal to the response time of four stage CMOS circuitry, and the calculation speed is much higher than that of digital circuit. It is clear that the size of the circuit is very small.
  • An absolute value circuit combines an analog type inverter circuit and a maximum value circuit.
  • the inventer circuit uses an operational amplifier consisting of CMOS inverters connected in a cascade with a gain of "1".
  • the maximum value circuit consists of a pair of nMOS transistors. The source follower outputs thereof are connected to a common output. The invention is advantageous since cooperation with an analog type calculating circuit is easy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Analogue/Digital Conversion (AREA)
  • Amplifiers (AREA)
  • Networks Using Active Elements (AREA)

Abstract

An absolute value circuit for analog type processing combines an analog inverter circuit and a maximum circuit. The inverter circuit uses an operational amplifier comprised of CMOS inverters which are connected in a cascade with a gain of 1. The maximum circuit includes a pair of nMOS transistors, the source follower outputs of which are connected to a common output.

Description

FIELD OF THE INVENTION
This invention relates to an analog typed absolute value circuit outputting an absolute value of an input voltage.
BACKGROUND OF THE INVENTION
A majority of computational systems are digital computers. Typically, addition, subtraction, multiplication, division and many other calculations are performed by digital computers. Analog type processing has also recently become important as the result of neural networks and other global information processing. In digital processing, a calculation of absolute value can be realized by inverting a sign bit. However, in analog processing, an electrical value is evaluated and is to be inverted in polarity. There has not been a circuit preferable for absolute value calculation of analog type, as far as the inventors know.
SUMMARY OF THE INVENTION
The present invention is invented so as to solve the above problems and has an object to provide an analog type circuit for calculating an absolute value.
According to the present invention, the absolute circuit is a combination of an inverter circuit and maximum value circuit, the inverter circuit is an operational amplifier with a gain "1" which consists of CMOS inverters connected in a cascade, and the maximum circuit consists of a pair of nMOS transistors, the source follower outputs of which are connected to a common output.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram of a circuit showing an embodiment of the absolute value circuit according to the present invention.
FIG. 2 is a partial circuit diagram showing another embodiment of the present invention.
PREFERRED EMBODIMENT OF THE PRESENT INVENTION
Hereinafter an embodiment of an absolute value circuit according to this invention is described with referring to the attached drawings.
In FIG. 1, an absolute value circuit has an inverter circuit INVC and a maximum value circuit MAXC. An output of the inverter circuit is inputted to the maximum value circuit. An input voltage x is inputted to the circuit INVC and MAXC, and a final output is outputted from MAXC.
An inverter circuit INVC consists of CMOS inverters T1, T2 and T3 connected in a cascade. The final output of the final stage CMOS inverter stage T3 is fed back to a gate of the first stage T1. An operational amplifier is constructed by the CMOS inverters from T1 to T3. An input voltage x is connected to a gate of inverter T1 through a capacitance C1, and a capacitance C2 substantially equal to Cl is connected on a feedback line from inverter T3 to inverter T1. In the inverter circuit INVC, a positive power source Vcc is connected to each drain of the pMOS transistor, and a negative power source -Vcc is connected to each source of the nMOS transistors. In such a circuit, INVC becomes an inverting operational amplifier with gain 1, and a voltage of -x with inverted sign of an input voltage x is outputted. Here, a gain of INVC is given by a ratio of capacitances C1/C2, and an outputting characteristics of gain `1` is obtained by setting C1 equal to C2.
The gain of INVC is defined by the ratio of the impedance for input voltage and the impedance of feedback voltage. As shown in FIG. 2, resistors R1 and R2 can be used in place of Cl and C2. The maximum value circuit MAXC includes a pair of nMOS transistors T4 and T5, source follower outputs D4 and D5 of which are connected to a common output D0. The input voltage x is inputted to a gate of nMOS transistor T4 and -x from inverter T3 is inputted to a gate of nMOS transistor T5.
If MOS transistors T4 and T5 were independent, each would output at its source the voltage at its input. However, when the sources of transistors T4 and T5 are connected together, the transistor with the higher input causes the transistor with the lower input to stop conducting, since the source voltage of the transistor with the lower input becomes higher than its gate voltage. As a result, the higher input voltage is to be generated on the common output D0.
x and -x are inputted to MAXC. If x is larger than 0, then x is outputted. On the other hand, if x is smaller than 0, then -x is outputted. This is the result of an absolute value calculation.
It is easy to cooperate with other analog calculating circuits because it can execute an absolute calculation by using an analog input as it is.
The time for obtaining these outputs is equal to the response time of four stage CMOS circuitry, and the calculation speed is much higher than that of digital circuit. It is clear that the size of the circuit is very small.
An absolute value circuit according to this invention combines an analog type inverter circuit and a maximum value circuit. The inventer circuit uses an operational amplifier consisting of CMOS inverters connected in a cascade with a gain of "1". The maximum value circuit consists of a pair of nMOS transistors. The source follower outputs thereof are connected to a common output. The invention is advantageous since cooperation with an analog type calculating circuit is easy.

Claims (4)

What is claimed is:
1. An absolute value circuit comprising:
i) an inverter circuit to which an input voltage is applied;
ii) a first nMOS transistor having a gate to which an output of said inverter circuit is applied, a drain connected to a power supply and a source forming a source follower output;
iii) a second nMOS transistor having a gate to which said input voltage is applied a drain connected to a power supply and a source forming a source follower output; and
iv) a common output to which said source follower outputs of said first and second nMOS transistors are connected.
2. An absolute value circuit as claimed in claim 1 wherein:
i) said inverter circuit comprises a plurality of CMOS inverters connected in a cascade;
ii) each drain of a PMOS transistor in each of said CMOS inverters is connected to a power source of a positive voltage, and each source of a nMOS transistor in each of said CMOS inverters is connected to a source of negative voltage with an absolute value equal to said positive voltage;
iii) an output of a final stage of said CMOS inverters is fed back to a gate of a first stage of said CMOS inverters through a first impedance; and
iv) said input voltage being inputted to said first stage of said CMOS inverters through second impedance substantially equal to said first impedance.
3. An absolute value circuit as claimed in claim 2, wherein said each of impedances is a capacitance.
4. An absolute value circuit as claimed in claim 2, wherein said each of impedances is a resistance.
US08/111,870 1992-08-27 1993-08-26 Absolute value circuit Expired - Fee Related US5394107A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP4252196A JP2969203B2 (en) 1992-08-27 1992-08-27 Absolute value circuit
JP4-252196 1992-08-27

Publications (1)

Publication Number Publication Date
US5394107A true US5394107A (en) 1995-02-28

Family

ID=17233844

Family Applications (1)

Application Number Title Priority Date Filing Date
US08/111,870 Expired - Fee Related US5394107A (en) 1992-08-27 1993-08-26 Absolute value circuit

Country Status (4)

Country Link
US (1) US5394107A (en)
EP (1) EP0584827A1 (en)
JP (1) JP2969203B2 (en)
KR (1) KR940004480A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5703518A (en) * 1994-08-01 1997-12-30 Oki Electric Industry Co., Ltd. Absolute value circuit capable of providing full-wave rectification with less distortion
US5708385A (en) * 1995-06-02 1998-01-13 Yozan, Inc. Weighted addition circuit
US6134569A (en) * 1997-01-30 2000-10-17 Sharp Laboratories Of America, Inc. Polyphase interpolator/decimator using continuous-valued, discrete-time signal processing
US6154511A (en) * 1996-09-13 2000-11-28 Nec Corporation Clock extraction circuit
US6366152B1 (en) * 1999-10-15 2002-04-02 Ngk Insulators, Ltd. Vector-signal processing circuit

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3522457B2 (en) * 1996-08-13 2004-04-26 株式会社鷹山 Vector absolute value calculation circuit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3509372A (en) * 1967-11-22 1970-04-28 Honeywell Inc Operational amplifier controlling opposite-conductivity type switches for providing unipolar output proportional to absolute value of input signal
US3564430A (en) * 1968-10-30 1971-02-16 Collins Radio Co Linear rectifier with polarity detector
US4446444A (en) * 1981-02-05 1984-05-01 Harris Corporation CMOS Amplifier
US4571502A (en) * 1981-12-09 1986-02-18 Nippon Telegraph & Telephone Public Corporation Full wave rectifier having an operational amplifier
US4704545A (en) * 1984-08-28 1987-11-03 Kabushiki Kaisha Toshiba Switched capacitor rectifier circuit
FR2619265A1 (en) * 1987-08-07 1989-02-10 Crouzet Sa Rectifying device
US5012139A (en) * 1989-10-30 1991-04-30 Motorola Inc. Full wave rectifier/averaging circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6150408A (en) * 1984-08-20 1986-03-12 Sanyo Electric Co Ltd Complementary mos transistor circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3509372A (en) * 1967-11-22 1970-04-28 Honeywell Inc Operational amplifier controlling opposite-conductivity type switches for providing unipolar output proportional to absolute value of input signal
US3564430A (en) * 1968-10-30 1971-02-16 Collins Radio Co Linear rectifier with polarity detector
US4446444A (en) * 1981-02-05 1984-05-01 Harris Corporation CMOS Amplifier
US4571502A (en) * 1981-12-09 1986-02-18 Nippon Telegraph & Telephone Public Corporation Full wave rectifier having an operational amplifier
US4704545A (en) * 1984-08-28 1987-11-03 Kabushiki Kaisha Toshiba Switched capacitor rectifier circuit
FR2619265A1 (en) * 1987-08-07 1989-02-10 Crouzet Sa Rectifying device
US5012139A (en) * 1989-10-30 1991-04-30 Motorola Inc. Full wave rectifier/averaging circuit

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Patent Abstracts of Japan, vol. 010, No. 209, Jul. 1986, JP A 61 050 408. *
Patent Abstracts of Japan, vol. 010, No. 209, Jul. 1986, JP-A-61 050 408.
Rikoski et al., "Micropower Complementary-MOS d.c. Amplifier", International Journal of Electronics, vol. 40, No. 3, 1976, pp. 237-240.
Rikoski et al., Micropower Complementary MOS d.c. Amplifier , International Journal of Electronics, vol. 40, No. 3, 1976, pp. 237 240. *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5703518A (en) * 1994-08-01 1997-12-30 Oki Electric Industry Co., Ltd. Absolute value circuit capable of providing full-wave rectification with less distortion
US5708385A (en) * 1995-06-02 1998-01-13 Yozan, Inc. Weighted addition circuit
US6154511A (en) * 1996-09-13 2000-11-28 Nec Corporation Clock extraction circuit
US6134569A (en) * 1997-01-30 2000-10-17 Sharp Laboratories Of America, Inc. Polyphase interpolator/decimator using continuous-valued, discrete-time signal processing
US6366152B1 (en) * 1999-10-15 2002-04-02 Ngk Insulators, Ltd. Vector-signal processing circuit

Also Published As

Publication number Publication date
JPH0676091A (en) 1994-03-18
KR940004480A (en) 1994-03-15
EP0584827A1 (en) 1994-03-02
JP2969203B2 (en) 1999-11-02

Similar Documents

Publication Publication Date Title
US4333020A (en) MOS Latch circuit
US4477737A (en) Voltage generator circuit having compensation for process and temperature variation
KR100491843B1 (en) Semiconductor integrated circuit
EP0085697B1 (en) A high speed cmos comparator circuit
US5331322A (en) Current cell for digital-to-analog converter
US4871933A (en) High-speed static differential sense amplifier
KR960701515A (en) Semiconductor devices
GB2201535A (en) A cmos analog multiplying circuit
US5394107A (en) Absolute value circuit
JP2933112B2 (en) Multiplication circuit
KR19990022761A (en) A circuit for comparing the two electrical values provided by the first neuron MOSF and the reference source
GB2186455A (en) A semiconductor differential amplifier
US7102414B2 (en) Muting circuit for audio amplifier
KR910007232A (en) Inverted amplifier with stabilized amplitude
JP3042567B2 (en) Average circuit
US5471161A (en) Circuit for calculating the minimum value
US20040145389A1 (en) High speed current mode NOR logic circuit
JPH06268456A (en) Differential amplifier
KR930010941B1 (en) Full adder ic
EP0499645A1 (en) Differential amplifying circuit of operational amplifier
KR940000267B1 (en) Serial comparator ic
KR950004049A (en) Analog multiplier circuit
JPH0218499B2 (en)
KR100190104B1 (en) An incrementer and decrementer
JPH03100996A (en) Amplifier circuit

Legal Events

Date Code Title Description
AS Assignment

Owner name: YOZAN INC., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHOU, GUOLIANG;TAKATORI, SUNAO;YAMAMOTO, MAKOTO;REEL/FRAME:006679/0765;SIGNING DATES FROM 19930817 TO 19930819

AS Assignment

Owner name: SHARP CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:YOZAN, INC.;REEL/FRAME:007430/0645

Effective date: 19950403

FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20030228