Weighting and thresholding circuit for a neural network

Information

  • Patent Grant
  • 5355438
  • Patent Number
    5,355,438
  • Date Filed
    Monday, April 26, 1993
    31 years ago
  • Date Issued
    Tuesday, October 11, 1994
    29 years ago
Abstract
An analog circuit which performs weighting and thresholding for a neural network. Each neuron of the neural network includes an operational amplifier receiving an input signal, the output of which is connected to a transistor. The transistor conducts only when the output exceeds a predetermined value thereby providing a threshold function. The output of the transistor is connected by a variable resistance to other inputs of other neurons. The output of each operational amplifier thereby corresponds to a weighted version of the input signal, which is adjusted for threshold and is also dependent on other neurons of the network.
Description

FIELD OF THE INVENTION
The present invention relates to a data processing system of the neural network type.
PRIOR ART
Since the Macalloch-Pitts moedel, a fundamental model for a neural network has an output of a normalized digital value. A digital circuit for the model can easily be designated from the theoretical point of view. However, a huge size circuit will be necessary for performing all necessary operations by a digital circuit. These necessary operations include comparison, addition and multiplication of a large number of terms, as well as subtraction. ##EQU1## Accordingly, it is difficult to expand the number of neurons up to a practical level in an IC and it is difficult to make such an IC due to a practical limitation in the number of gates that can be used.
Therefore, trials for the contraction of the neural network by analog circuit has been proposed by the U.S. Pat. Nos. 4,660,166; 4,719,591; and 4,731,747.
The neural network disclosed in the above publications has the structure to control each input to an operation amplifier at the condition of total unification by variable resistance, and evaluates the following energy formula: ##EQU2##
The above proposed neural network is effective for the calculation of exceedingly small values or exceedingly great values with respect to the variable given by the equivalent function to the above energy formula, so as to be used as, for example, a key to a solution for the problems of a traveling salesman.
However, the neural network of this type lacks in normalization with respect to each neuron; i.e., the function outputting the digital value according to the comparison result with a threshold, so that the functions: information compression, arrangement and integration; with respect to the neural network of a bionic system cannot be realized. Therefore, it is impossible to obtain the essential effect of the neural network by the neural network of this type that an appropriate output pattern is generated in accordance with the input pattern.
SUMMARY OF THE INVENTION
The present invention is invented so as to solve the above problems of the prior art and has an object to provide a data processing system realizable as an integrated circuit as well as comprising a function for normalization.
A data processing system according to the present invention comprises:
a plurality of operational amplifiers;
a plurality of input leading wires supplying input signals to each operational amplifier, respectively;
a plurality of switching circuits connected with each said operational amplifier outputting signals, respectively, when value of output signals for each operational amplifier exceeds the predetermined value;
an output leading wire connected with the above switching circuits supplying output signals of the above each switching circuit to an input side of said operational amplifiers through variable resistance as well as outputting them to the outside.
When a value of the output signal from each operational amplifier exceeds a predetermined value, a signal is output from the switching circuit connected to the above operational amplifier, then such signal is input to each operational amplifier through a variable resistance. Output signal from each switching circuit is to be input to operational amplifier as well as to be output to the outside of a data processing system.





BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a circuit diagram of an embodiment of a data processing system according to the present invention;
FIG. 2 shows a circuit diagram indicating the status of variable resistance.
10, 20, 30 . . . Operation Amplifier
11, 21, 31 . . . Switching Circuit
12, 22, 32 . . . Input Leading Wire
17, 27, 37 . . . Output Leading Wire
41 to 46 . . . Variable Resistance





PREFERRED EMBODIMENT OF THE PRESENT INVENTION
Hereinafter, an embodiment of the data processing system according to the present invention is described with reference to the attached drawings.
Although only three operational amplifiers are shown in this diagram for simplification, many more operational amplifiers can be provided in practice. According to the present embodiment, processing is performed on three output data I1, I2 and I3, then three data 01, 02 and 03 are output.
The combination of each operational amplifier 10, 20, 30 and switching circuit 11, 21, 31 corresponds to a neuron of the neural network of an organism, respectively. The connection structure among each operational amplifier corresponds to a so-called neural network. The connection structure of such operational amplifiers is basically equivalent to the circuit of Hopfield disclosed by the specification of the U.S. Pat. No. 4,660,166 except switching circuits 11, 21 and 31.
Hereinafter, the peripheral circuitry of operational amplifier 10 is described. An input leading wire 12 which supplies an input signal to operational amplifier 10 is connected to input terminal of the above operational amplifier 10. Resistance 13 and condenser 14 are connected to the input leading wire 12 in which time constant of operational amplifier 10 is set up. On the other hand, the base of transistor comprising switching circuit 11 is connected to output terminal of the operational amplifier 10. Here, diode 15 for the prevention of a back current to the operational amplifier is provided in between the above base and the operational amplifier 10. A collector of transistor composing switching circuit 11 is connected to a power supply V, and its emitter is connected to output leading wire 17 through resistance 16.
Therefore, a volume of electric current as determined by resistance 16 flows between collector and emitter of transistor when a value of the output signal of operational amplifier 11 exceeds the predetermined value determined by the characteristics of transistor of switching circuit 11; that is, when the base voltage exceeds the predetermined value. An electric current signal output from the above switching circuit 11 is input to operational amplifiers 20 and 30 through output leading wire 17. Output leading wire 17 is connected to input terminals of operational amplifiers 20 and 30 through variable resistances 41 and 42, respectively. This output leading wire is also lead to the outside of this data processing system so as to output signal 01 of switching circuit 11 from the above output leading wire 17.
Switching circuit 11 side of resistance 16 is branched at the middle of output leading wire 17 and connected through protection resistance 18, comprising a larger resistance value than that of resistance 16.
Peripheral structures of the operational amplifiers 20 and 30 are the same as that of operational amplifier 10. Output leading wire 27 is connected to switching circuit 21 which is connected to output terminal of operational amplifier 20. Output leading wire 37 is connected to switching circuit 31 which is connected to output terminal of operational amplifier 30. Output leading wire 27 is connected to operational amplifiers 10 and 30 through variable resistances 43 and 44, respectively. Output leading wire 37 is connected to operational amplifiers 10 and 20 through variable resistances 45 and 46, respectively.
It is possible to realize variable resistances 41 to 46 by the structure of, for example, connecting resistances r in parallel through diode d and transistor t, as shown in FIG. 2.
Resistance values of variable resistances 41 to 46 correspond to the weight Wi of the above operation formula (1). An electric current signal supplied to operational amplifiers 10, 20 and 30 through each output leading wire 17, 27, 37 corresponds to input Ai of the formula (1). On the other hand, the characteristics of switching circuits 11, 21 and 31; that is, the basic voltage required for outputting the signal, corresponds to the threshold of the formula (1). Therefore, normalization of neurons, i.e., the function to output signals in accordance with comparison result with threshold is completed.
Accordingly, when input signals I1, I2 and I3 are given, each operational amplifier 10, 20, 30 outputs a voltage signal according to the above input signal. Switching circuit outputs an electric current signal when the above voltage exceeds the predetermined base voltage. An electric signal output from switching circuit is input to another operational amplifier, which is not connected to the base of the original switching circuit, through a variable resistance. According to the above, the output signal is controlled since the input signal with respect to the operational amplifier is charged. Switching circuit connected to the output terminal of the operational amplifier outputs the signal when the value of the above output signal exceed the predetermined value. Output signals 01, 02 and 03 from each switching circuit are output to the outside from this data processing system.
The control system external to this data processing system controls the weights of each neuron, i.e., variable resistances from 41 to 46, according to output signals 01, 02 and 03. As a result, values of signals input to operational amplifiers 10, 20 and 30 are changed and output signals 01, 02 and 03 are changed as action status of switching circuit 11, 21 and 31 are changed. Accordingly, learning control is performed so as to control an output signal to be the predetermined value. Therefore, a circuit comprising a similar ability to perform information processing function of the neural network of an organism is realized by a data processing system according to the present embodiment.
Although switching circuits 11, 21 and 31 consist of transistors, it is not restricted to transistors. It is possible to apply any circuit which comprises the equivalent function as that of transistors.
As mentioned above, it is possible to realize the neural network comprising the normalization function with an analog circuit so as to obtain a data processing system which prepares as many neurons as required at the practical level. Therefore, it is possible to make the neural network into an integrated circuit.
Claims
  • 1. A neural network system receiving a plurality of inputs and producing a plurality of outputs, said system comprising:
  • a plurality of interconnected neuron elements, each element comprising an operational amplifier, for amplifying an input signal to produce an output signal;
  • a threshold switching element, receiving said output signal, said threshold switching element assuming a first predetermined conducting state only when said output signal connected thereto exceeds a threshold, which is greater than zero, of said threshold switching element; and
  • signal summing means, comprising a variable resistor, for summing said output of said threshold switching element with inputs of others of said neuron elements,
  • said input signal of said operational amplifier including a combination of one said input signal and at least two signals from others of said neuron elements, summed together.
  • 2. A system as in claim 1 wherein said variable resistor comprises a plurality of resistor elements in parallel with one another, and a plurality of switching means in series between respective ones of said parallel resistor elements, so that different ones of said switching means can be actuated to connect different resistor elements to provide different equivalent resistance values.
  • 3. A system as in claim 2 wherein said variable resistor comprises:
  • a first resistance having first and second ends, one of said ends being connected to said output of said threshold switching element and another of said ends being connected to an input of an operational amplifier of another one of said plurality of neuron elements;
  • a second resistance element having first and second ends, with said second end of said second resistance element connected to said second end of said first resistance element;
  • a first of said switching means being connected between said first end of said first resistance element and said first end of said second resistance element to thereby provide said first and second resistance elements in parallel when said first switching means is actuated to be on and said first resistance element only when said first switching means is actuated to be off.
  • 4. A system as in claim 1 wherein said threshold switching element is a transistor.
  • 5. A system as in claim 4 further comprising a blocking diode between said output of said operational amplifier and a base of said transistor.
  • 6. A system as in claim 5 further comprising an RC network coupled to an input of said operational amplifier.
  • 7. A system as in claim 4 wherein said output of said threshold switching element so said signal summing means is from an emitter of said transistor.
  • 8. A system as in claim 7 further comprising a resistor at an output of said transistor.
  • 9. A system as in claim 2 wherein said operational amplifier is sensitive to current signals, said output of said threshold switching element is a current limited signal which is a relatively high current in said first predetermined conducting state and a relatively low current when not in said first predetermined conducting state, and currents into said operational amplifier are summed at a node between said signal summing means and said input signals.
  • 10. A system as in claim 1 wherein said operational amplifier is sensitive to current signals, said output of said threshold switching element is a current-limited signal which is a relatively high current in said first predetermined conducting state and a relatively low current when not in said first predetermined conducting state, and currents into said operational amplifier are summed at a node between said signal summing means and said input signals.
  • 11. A neural network element which provides weighting of an input using a thresholding function, comprising:
  • an operational amplifier for amplifying an input signal, said input signal comprising a sum of an input signal for the neuron element and signals from other neuron elements;
  • means, including a variable resistor, for receiving said signals for said other neuron elements and weighting said signals by an adjustable amount and outputting said weighted signals to said operational amplifier; and
  • thresholding means, comprising a p-n junction of a semiconductor element, connected to an output of said operational amplifier, for outputting a signal only when said output of said operational amplifier exceeds a threshold.
  • 12. An element as in claim 11 wherein said variable resistance comprises a plurality of resistor elements in parallel with one another, and a plurality of switching means in series between respective parallel elements, so that different ones of said switching means can be actuated to provide different equivalent resistance values.
  • 13. An element as in claim 11 wherein said thresholding means is a transistor and a threshold thereof is a base-emitter voltage thereof.
  • 14. A neural network system comprising:
  • a plurality of neuron elements, each said neuron element comprising:
  • means for receiving a signal from at least one other neuron element;
  • means for adjusting a weighting of said at least one output signal from said at least one other neuron element, said means including a plurality of resistor elements in parallel with one another, and a plurality of switching means in series between respective ones of said parallel resistor elements, so that different ones of said switching means can be actuated to connect different resistor elements;
  • means for receiving an input signal for said each neuron element, said weighted signal and said input signal being summed at a node therebetween; and
  • means for amplifying a sum of said weighted signal and said input signal to provide an output signal which is coupled to others of said neuron elements.
  • 15. A system as in claim 14 wherein said amplifying means comprises a first amplifier, and a thresholding means connected to an output of said first amplifier which produces an output only when said output of said first amplifier exceeds a predetermined threshold.
  • 16. A system as in claim 15 wherein said thresholding means is a transistor and said first amplifier is an operational amplifier.
Priority Claims (1)
Number Date Country Kind
1-264707 Oct 1989 JPX
Parent Case Info

This is a continuation of application No. 07/596,024, filed on Oct. 11, 1990, which was abandoned upon the filing hereof.

US Referenced Citations (88)
Number Name Date Kind
3097349 Putzrath et al. Jul 1963
3103648 Hartmanis Sep 1963
3158840 Baskin Nov 1964
3165644 Clapper Jan 1965
3209328 Bonner Sep 1965
3218475 Hiltz Nov 1965
3230351 Platt et al. Jan 1966
3238504 Crane Mar 1966
3250918 McGrogan, Jr. May 1966
3273125 Jakowatz Sep 1966
3275986 Dunn et al. Sep 1966
3280257 Orthuber et al. Oct 1966
3283229 Lindahl Nov 1966
3284772 Stewart Nov 1966
3284780 Clapper Nov 1966
3287615 Smyth Nov 1966
3287649 Rosenblatt Nov 1966
3310783 Putzrath Mar 1967
3310784 Hilinski Mar 1967
3311895 Clapper Mar 1967
3317900 Clapper May 1967
3317901 Clapper May 1967
3324457 Ogle et al. Jun 1967
3325787 Angell et al. Jun 1967
3333248 Greenberg et al. Jul 1967
3333249 Clapper Jul 1967
3341821 Kessler Sep 1967
3341823 Connelly Sep 1967
3351783 Harris et al. Nov 1967
3355717 Cote, Jr. Nov 1967
3408627 Kettler et al. Oct 1968
3414735 Harris et al. Dec 1968
3435422 Gerhardt et al. Mar 1969
3440617 Lesti Apr 1969
3496382 Hendrix Feb 1970
3533072 Clapper Oct 1970
3548202 Ide et al. Dec 1970
3568075 Dusbeck et al. Mar 1971
3599009 Parmentier et al. Aug 1971
3601811 Yoshino Aug 1971
3602888 Nishiyama et al. Aug 1971
3638196 Nishiyama et al. Jan 1972
3691400 Askew Sep 1972
3701974 Russell Oct 1972
3950733 Cooper et al. Apr 1976
3979602 Reible Sep 1976
4044243 Cooper et al. Aug 1977
4163983 Cline et al. Aug 1979
4247892 Lawrence Jan 1981
4254474 Cooper et al. Mar 1981
4319331 Elbaum et al. Mar 1982
4326259 Cooper et al. Apr 1982
4450530 Llinas et al. May 1984
4518866 Clymer May 1985
4660166 Hopfield Apr 1987
4694418 Ueno et al. Sep 1987
4716540 Yamakawa Dec 1987
4719591 Hopfield et al. Jun 1988
4730259 Gallant Mar 1988
4731747 Denker Mar 1988
4737929 Denker Apr 1988
4739496 Marom et al. Apr 1988
4748674 Freeman May 1988
4750153 Owechko et al. Jun 1988
4752906 Kleinfeld Jun 1988
4760437 Denker et al. Jul 1988
4760604 Cooper et al. Jul 1988
4762397 Pepper Aug 1988
4766568 McGregor et al. Aug 1988
4773024 Faggin et al. Sep 1988
4774677 Buckley Sep 1988
4792460 Chu et al. Dec 1988
4792915 Adams et al. Dec 1988
4796199 Hammerstrom et al. Jan 1989
4799149 Wolf Jan 1989
4800519 Grinberg et al. Jan 1989
4802103 Faggin et al. Jan 1989
4803736 Grossberg et al. Feb 1989
4805225 Clark Feb 1989
4807168 Moopenn et al. Feb 1989
4809193 Jourjine Feb 1989
4849925 Peckerar et al. Jul 1989
4926064 Tapang May 1990
4988891 Mashiko Jan 1991
4999525 Park et al. Mar 1991
5068662 Guddanti et al. Nov 1991
5103496 Andes et al. Apr 1992
5259038 Sakou et al. Nov 1993
Non-Patent Literature Citations (7)
Entry
"Neural Networks for Switching", Brown et al, 1989 IEEE.
"Neural Networks using Analog Multipliers", Hollis et al, 1988 IEEE, SCAS 88.
Garda et al. "An Analog Chip Set for Multi-Layered Synchronous Boltzmann Machines",INNC 90 Paris Internat. Neural Network Conf., Jul. 9-13 1990, pp. 585-588.
Graf et al. "VLSI Implementation of a Neural Network Model", IEEE Computer, Mar. 1988, pp. 41-49.
Van Den Bout et al. "A Stochastic Architecture for Neural Nets", IEEE Internat. Conference on Neural Networks, Jul. 24-27, 1988, pp. 1-481-488.
Bibyk et al. "Issues in Analog VLSI and MOS Techniques for Neural Computing",Analog VLSI Implementation of Neural Systems, Mead et al, Kluner, May 8, 1989, pp. 103-132.
Verleysen et al., "An Analog VLSI Implementation of Hopfield's Neural Network", IEEE Micro, Dec. 1989, pp. 46-55.
Continuations (1)
Number Date Country
Parent 596024 Oct 1990