Arithmetic device, product-sum arithmetic system and setting method

By designing multiple sum-of-product arithmetic devices in the analog circuit and setting the duration of the input period, the problems of low accuracy and high power consumption in the sum-of-product arithmetic of analog circuits in the prior art are solved, achieving a more efficient detection of arithmetic results and lower power consumption.

CN113474782BActive Publication Date: 2024-09-10SONY GROUP CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202080011337.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-02-04
Filing Date
2020-01-17
Publication Date
2024-09-10
Estimated Expiration
2040-01-17

AI Technical Summary

Technical Problem

It is difficult for existing analog circuits to accurately detect the arithmetic results when performing sum-of-products arithmetic, resulting in high power consumption and low accuracy in applications such as neural networks.

Method used

An arithmetic device is designed, which uses multiple product-sum arithmetic devices. Each device includes a product unit and an output unit. The product unit generates a product charge that is multiplied by the input value multiplied by the weight value, and accumulates the charge through the output unit to output a product accumulation signal. , setting the duration of the input period based on the distribution of positive weight ratios to improve the level of the multiply-accumulate signal and reduce power consumption.

Benefits of technology

The ability to accurately detect arithmetic results in analog circuits is achieved, while power consumption is reduced and the accuracy of product-sum arithmetic is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113474782B_ABST
    Figure CN113474782B_ABST
Patent Text Reader

Abstract

The present arithmetic device is provided with a plurality of input lines and a plurality of product-sum arithmetic devices. The electrical signals according to the input values ​​are respectively input into the plurality of input lines in a predetermined input period. The product unit of each product-sum arithmetic device is configured to include a positive weight product unit and / or a negative weight product unit, the positive weight product unit generates a positive weight charge corresponding to the product value obtained by multiplying the input value by the positive weight value, respectively, and the negative weight product unit generates a negative weight charge corresponding to the product value obtained by multiplying the input value by the negative weight value, respectively, so that the positive weight ratio is any ratio within the range of 0-100%, and the positive weight ratio is the ratio of the sum of the positive weight values ​​to the sum of the absolute values ​​of the weight values. The output unit of each product-sum arithmetic device outputs a product-sum signal by accumulating the positive weight charge generated by the positive weight product unit and / or accumulating the negative weight charge generated by the negative weight product unit. The length of the input period is set based on the distribution of the positive weight ratios of the plurality of product-sum arithmetic devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present technology relates to an arithmetic device, a product-sum arithmetic system, and a setting method, which can be applied to product-sum arithmetic using an analog method. Background Art

[0002] Conventionally, a technique for performing product-sum arithmetic has been developed. Product-sum arithmetic is arithmetic that multiplies each of a plurality of input values ​​by a weight and adds the multiplication results to each other, and is used, for example, for recognition processing of images, sounds, etc. by a neural network or the like.

[0003] For example, Patent Document 1 describes an analog circuit in which multiplication-accumulation arithmetic processing is performed in an analog manner. In this analog circuit, a weight corresponding to each of a plurality of electrical signals is set. In addition, charges depending on the corresponding electrical signals and weights are output respectively, and the output charges are appropriately accumulated in a capacitor. A value to be calculated representing the result of the multiplication-accumulation is calculated based on the voltage of the capacitor of the accumulated charge. Therefore, unlike, for example, digital processing (paragraphs

[0003] ,

[0049] to

[0053] , and

[0062] , Figure 3 Compared with other methods (such as FPGA, FPGA, etc.), the power consumption required for product-sum arithmetic can be reduced.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: WO 2018 / 034163 Summary of the invention

[0007] Technical Problems to be Solved by the Invention

[0008] The use of such analog type circuits is expected to result in low power consumption in neural networks and the like, and it is desirable to provide a technology capable of accurately detecting arithmetic results.

[0009] In view of the above circumstances, an object of the present technology is to provide an arithmetic device, a product-sum arithmetic system, and a setting method, by which an arithmetic result can be accurately detected in an analog type circuit that performs product-sum arithmetic.

[0010] Solution to the problem

[0011] In order to achieve the above-mentioned object, an arithmetic apparatus according to an embodiment of the present technology includes a plurality of input lines and a plurality of product-sum arithmetic devices.

[0012] An electric signal corresponding to an input value is input to each of the plurality of input lines within a predetermined input period.

[0013] Each of the plurality of product-sum arithmetic devices includes a plurality of product units and an output unit.

[0014] Each of the plurality of product units generates electric charge corresponding to a product value obtained by multiplying an input value by a weight value based on an electric signal input into each of the plurality of input lines.

[0015] The output unit accumulates the electric charge corresponding to the product value generated by each of the plurality of product units, and outputs a product-added signal indicating the sum of the product values ​​based on the accumulated electric charge.

[0016] In addition, the plurality of product units include at least one of a positive weight product unit that generates a positive weight charge corresponding to a product value obtained by multiplying an input value by a positive weight value and a negative weight product unit that generates a negative weight charge corresponding to a product value obtained by multiplying an input value by a negative weight value, and the plurality of product units are configured so that a positive weight ratio, which is a ratio of a sum of the positive weight values ​​to a sum of the absolute values ​​of the weight values, is any ratio from 0% to 100%.

[0017] Furthermore, the output unit accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, thereby outputting a product accumulation signal.

[0018] Furthermore, the duration of the input period is set based on the distribution of the positive weight ratios of the plurality of product-sum arithmetic devices.

[0019] In the arithmetic device, the duration of the input period of the electrical signal corresponding to the input value is set based on the distribution of the positive weight ratio of the plurality of product-sum arithmetic devices. Therefore, the level of the product-sum arithmetic signal output from each product-sum arithmetic device can be increased while reducing power consumption. Therefore, the arithmetic result can be accurately detected.

[0020] The electrical signal corresponding to the input value is a pulse signal, the duration of the on-time of the pulse signal relative to the input period corresponds to the input value.

[0021] The duration of the input period may be set based on at least one of a mean value and a variance of the positive weight ratios.

[0022] As the positive weight ratio is closer to the 50% distribution, the duration of the input period can be set longer.

[0023] As the average value of the positive weight ratio is closer to 50%, the duration of the input period can be set longer.

[0024] In a case where the average value of the positive weight ratio is close to 50%, as the variance of the positive weight ratio is smaller, the duration of the input period can be set longer.

[0025] The duration of the input period may be set based on the number of product-sum arithmetic devices among the plurality of product-sum arithmetic devices having a high probability that the product-addition signal output from the output unit is below the noise level.

[0026] The arithmetic apparatus may further include a determination circuit for determining the number of product-sum arithmetic devices having a high possibility that a product-sum-signal output from the output unit is lower than a noise level among the plurality of product-sum arithmetic devices.

[0027] The determination circuit may include: a plurality of determination product units, each determination product unit generating a positive weight charge and a negative weight charge based on an electrical signal input into each of a plurality of input lines, the positive weight charge corresponding to a product value obtained by multiplying an input value by a positive weight value, the negative weight charge corresponding to a product value obtained by multiplying an input value by a negative weight value, the absolute value of the negative weight value being equal to the positive weight value; a determination output unit outputting a determination signal based on a charge corresponding to a difference between a total amount of positive weight charges respectively generated by a plurality of determination product units and a total amount of negative weight charges respectively generated by a plurality of determination product units; and a determination unit for determining the number of multiplication accumulation signals that are less than the determination signal among a plurality of multiplication accumulation signals output from a plurality of arithmetic devices.

[0028] When electrical signals corresponding to the same input value are input to a plurality of input lines, the number of product-sum arithmetic devices each having a high probability of outputting a product-addition signal from an output unit below a noise level can be determined based on the number determined by the determination unit.

[0029] The output unit may include an accumulation unit that accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, and performs threshold determination on the voltage maintained by the accumulation unit using a predetermined threshold, thereby outputting a product accumulation signal representing the sum of the product values.

[0030] The accumulation unit may include: a positive charge accumulation unit capable of accumulating the positive weight charge generated by the positive weight product unit; and a negative charge accumulation unit capable of accumulating the negative weight charge generated by the negative weight product unit. In this case, the output unit may perform threshold determination on each of the positive charge accumulation unit and the negative charge accumulation unit at a predetermined threshold value, thereby outputting a product accumulation signal.

[0031] The predetermined threshold may be set based on the duration of the input period.

[0032] The positive weight value and the absolute value of the negative weight value may be fixed to the same value. In this case, the positive weight ratio may be the ratio of the number of positive weight product units to the number of product units.

[0033] Each of the multiple product-sum arithmetic devices may include a positive charge output line and a negative charge output line. In this case, multiple product units may be arranged to be associated with multiple input lines. Moreover, the positive weight product unit may include a resistor connected between an associated input line in the multiple input lines and the positive charge output line, defining a positive weight value, having a nonlinear characteristic, and outputting a positive weight charge corresponding to the product value to the positive charge output line. Moreover, the negative weight product unit may include a resistor connected between an associated input line in the multiple input lines and the negative charge output line, defining a negative weight value, having a nonlinear characteristic, and outputting a negative weight charge corresponding to the product value to the negative charge output line.

[0034] The resistors of the positive weight product unit and the resistors of the negative weight product unit may have the same resistance value. In this case, the positive weight ratio may be a ratio of the number of resistors of the positive weight product unit to the total number of resistors.

[0035] The determination circuit may include a positive charge output line and a negative charge output line. In this case, a plurality of determination product units may be provided in association with a plurality of input lines. Moreover, each of the plurality of determination product units includes a common resistor connected to each of a portion between an associated input line and the positive charge output line among the plurality of input lines and a portion between an associated input line and the negative charge output line among the plurality of input lines, and having a nonlinear characteristic.

[0036] A product-sum arithmetic system according to an embodiment of the present technology includes a plurality of input lines, a plurality of analog circuits, and a network circuit.

[0037] Each of the plurality of analog circuits includes a plurality of product units and an output unit.

[0038] A network circuit is configured by connecting multiple analog circuits.

[0039] Furthermore, the duration of the input period is set based on the distribution of the positive weight ratios of the plurality of product-sum arithmetic devices.

[0040] According to a setting method of an embodiment of the present technology, the setting method includes setting an input period for inputting an electrical signal into each of a plurality of input lines based on distribution of positive weight ratios of a plurality of product-sum arithmetic devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a schematic diagram illustrating a configuration example of an arithmetic device according to an embodiment of the present technology.

[0042] Figure 2 is a schematic diagram showing an example of an electrical signal to be input into an analog circuit.

[0043] Figure 3 is a schematic diagram showing a specific configuration example of an arithmetic device.

[0044] Figure 4 is a schematic diagram showing a configuration example of a neuron circuit.

[0045] Figure 5 is a schematic circuit diagram showing an example of an analog circuit of a PWM method.

[0046] Figure 6 Is used to describe Figure 5 The analog circuit shown is a diagram of an example of calculation of a product-and-accumulate signal.

[0047] Figure 7 is a schematic diagram showing a calculation example of a multiply-accumulate signal, which shows the entire multiply-accumulate result.

[0048] Figure 8 is a schematic circuit diagram showing another example of an analog circuit of a PWM method.

[0049] Fig. 9 Is used to describe Figure 8 The analog circuit shown is a diagram of an example of calculation of a product-and-accumulate signal.

[0050] Fig.10 is a schematic circuit diagram showing an example of a simulation circuit of the TACT method.

[0051] Fig.11 is a schematic diagram for describing the potential of each output line during the input period.

[0052] Fig.12 : is a schematic diagram showing a configuration example of an arithmetic device for describing a simulation related to time-axis analog product-sum arithmetic.

[0053] Fig.13 is a schematic diagram showing a configuration example of a noise burying determination circuit.

[0054] Fig.14 is a schematic diagram showing an example of a test signal.

[0055] Fig.15 is a schematic diagram showing a configuration example of a neural network. DETAILED DESCRIPTION

[0056] Hereinafter, embodiments according to the present technology will be described with reference to the drawings.

[0057] [Arithmetic Device Configuration]

[0058] Figure 11 is a schematic diagram showing a configuration example of an arithmetic device according to an embodiment of the present technology. The arithmetic device 100 is an analog arithmetic device that performs predetermined arithmetic processing including product-sum arithmetic. For example, by using the arithmetic device 100, arithmetic processing can be performed according to a mathematical model such as a neural network.

[0059] The arithmetic device 100 includes a plurality of signal lines 1, a plurality of input units 2, and a plurality of analog circuits 3. Each signal line 1 is a line that transmits a predetermined type of electrical signal. For example, an analog signal that represents a signal value by using analog quantities such as pulse timing and pulse width is used as the electrical signal. Figure 1 The direction of electrical signal transmission is schematically shown by arrows in FIG.

[0060] For example, a plurality of signal lines 1 are connected to one analog circuit 3. The signal line 1 that transmits an electric signal to the analog circuit 3 is an input signal line for the analog circuit 3 to which the signal line 1 is connected, and the electric signal is input to the analog circuit 3. In addition, the signal line 1 that transmits an electric signal output from the analog circuit 3 is an output signal line for the analog circuit 3 to which the signal line 1 is connected, and the electric signal is output from the output signal line. In this embodiment, the input signal line pair corresponds to the input line.

[0061] Each of the plurality of input units 2 generates a plurality of electrical signals corresponding to input data 4. The input data 4 is, for example, data to be processed using a neural network or the like implemented by the arithmetic device 100. Therefore, it can also be said that the respective signal values ​​of the plurality of electrical signals corresponding to the input data 4 are input values ​​of the arithmetic device 100.

[0062] For example, arbitrary data such as image data, audio data, and statistical data to be processed by the arithmetic device 100 is used as the input data 4. For example, in the case where image data is used as the input data 4, an electric signal is generated using the pixel value (RGB value, brightness value, etc.) of each pixel of the image data as a signal value. In addition, an electric signal corresponding to the input data 4 can be appropriately generated according to the type of the input data 4 and the content of the processing performed by the arithmetic device 100.

[0063] The analog circuit 3 is an analog circuit that performs product-sum arithmetic based on the input electrical signal. Product-sum arithmetic is, for example, arithmetic that adds a plurality of product values ​​obtained by multiplying a plurality of input values ​​by weight values ​​corresponding to the input values. Therefore, it can also be said that product-sum arithmetic is a process of calculating the sum of product values ​​(hereinafter referred to as product-sum result).

[0064] like Figure 1As shown, a plurality of input signal lines are connected to one analog circuit 3, and a plurality of electrical signals are supplied to the analog circuit 3. The plurality of input signal lines and the analog circuit constitute the product-sum arithmetic circuit according to the present embodiment. In addition, a plurality of electrical signals are input from each input signal line, and thus the product-sum arithmetic method according to the present embodiment is executed by the product-sum arithmetic circuit (analog circuit 3).

[0065] Hereinafter, it is assumed that the total number of electrical signals input into one analog circuit 3 is N. It should be noted that the number N of electrical signals to be input into each analog circuit 3 is appropriately set for each circuit according to, for example, a model of arithmetic processing, accuracy, etc.

[0066] In the simulation circuit 3, for example, w is calculated i *x i , the w i *x i is the signal value x represented by the electrical signal input from the i-th input signal line i The signal value x i The weight value w i Here, i represents a natural number equal to or less than N (i=1, 2, ..., N). Arithmetic of the product value is performed on each electrical signal (input signal line), and N product values ​​are calculated. The value obtained by adding the N product values ​​is calculated as the product accumulation result (the sum of the N product values). Therefore, the product accumulation result calculated by one analog circuit 3 is expressed by the following formula.

[0067] [Formula 1]

[0068]

[0069] The weight value w i For example, set -α≤w i ≤+α. Here, α represents an arbitrary real value. Therefore, the weight value w i can include positive weight values ​​w i , negative weight value w i , zero weight value w i As mentioned above, by setting the weight value w i By setting it within a predetermined range, it is possible to avoid divergence of the multiplication and accumulation results.

[0070] In addition, for example, the weight value w i In this case, the weight value w i Set to -1≤w i ≤ 1. Therefore, for example, the maximum value, the minimum value, etc. of the product-addition result can be adjusted, and product-sum arithmetic can be performed with desired accuracy.

[0071] In neural networks, etc., a method called binary concatenation can be used, which converts the weight value w i Set to +α or -α. Binary connections are used in various fields such as image recognition using deep neural networks (multi-layer neural networks). The use of binary connections can simplify the weight value w i The setting of the positive weight value and the negative weight value is fixed to the same value in the binary connection.

[0072] As mentioned above, in binary connections, the weight value w i is binarized into binary values ​​(±α). Therefore, for example, the weight value w i Change to positive or negative to easily set the desired weight value w i Alternatively, the binary weight value w i Normalized, and the weight value w can be i Set to ±1. In addition, for example, the weight value w i The setting range, setting value, etc. of are not limited and can be appropriately set so as to achieve the desired processing accuracy.

[0073] Signal value x i For example, the electric signal output from the input unit 2 and the product-accumulation result output from the analog circuit 3. In this way, it can also be said that the input unit 2 and the analog circuit 3 serve as a signal for outputting the signal value x. i signal source.

[0074] exist Figure 1 In the example shown, a single electrical signal (single signal value x) is output from a signal source (input unit 2, analog circuit 3). i ). Therefore, the same electric signal is input to each of the plurality of signal lines 1 connected to the output side of one signal source. In addition, one signal source and the analog circuit 3 to which the electric signal output from the signal source is input are connected to each other through a single input signal line.

[0075] So, for example, in Figure 1 In the arithmetic device 100 shown, M input signal lines are connected to the analog circuit 3, and the input signal lines are connected to M signal sources. In this case, the total number N of electrical signals input to the analog circuit 3 is N=M. It should be noted that a pair of electrical signals (a pair of signal values ​​x 1 and x 2 ) corresponding to positive and negative values ​​are output from one signal source. i + , x i - ) configuration is possible.

[0076] like Figure 1As shown, the arithmetic device 100 has a hierarchical structure in which a plurality of analog circuits 3 are provided in each of the multiple layers. For example, by configuring the layer structure of the analog circuits 3, a multilayer perceptron type neural network or the like is constructed. For example, the number of analog circuits provided in each layer, the number of layers, etc. are appropriately designed so that desired processing can be performed. In the following, the number of analog circuits 3 provided in the jth layer is sometimes referred to as N. j .

[0077] For example, N electrical signals generated by N input units 2 are input to each analog circuit 3 provided in the first-level layer (lowest layer). The analog circuit 3 of the first level calculates the signal value x corresponding to the input data. i The relevant product-accumulation results are calculated, and the calculated product-accumulation results are output to the analog circuit 3 provided in the next layer (second stage) after the nonlinear conversion process.

[0078] N1 electrical signals representing the respective product-addition results calculated in the first stage are input to the respective analog circuits 3 provided in the second layer (upper layer). Therefore, as observed from the analog circuits 3 of the second stage, the nonlinear conversion processing results of the respective product-addition results calculated in the first stage are signal values ​​x of the electrical signals. i The analog circuit 3 of the second stage calculates the signal value x output from the first stage i The calculated multiplication and accumulation result is output to the analog circuit 3 of the upper layer.

[0079] In this way, in the arithmetic device 100, the product-addition result of the analog circuit 3 in the upper layer is calculated based on the product-addition result calculated by the analog circuit 3 in the lower layer. This processing is performed multiple times, and from the top layer ( Figure 1 The analog circuit 3 in the third-level layer in the image processing unit 1 outputs the processing result. Therefore, for example, based on the image data (input data 4) obtained by imaging a cat, processing such as image recognition that determines that the object is a cat can be performed.

[0080] As described above, a desired network circuit can be configured by appropriately connecting a plurality of analog circuits 3. The network circuit serves as a data stream processing system that performs arithmetic processing, for example, by passing a signal through the data stream processing system. In the network circuit, various processing functions can be realized by appropriately setting, for example, a weight value (synaptic connection). Using such a network circuit, a product-sum arithmetic system according to the present embodiment is constructed.

[0081] It should be noted that the method of connecting the analog circuits 3 to each other is not limited, and, for example, a plurality of analog circuits 3 can be appropriately connected to each other so that desired processing can be performed. For example, even in the case where the analog circuits 3 are connected to each other so as to configure another structure different from the hierarchical structure, the present technology can be applied.

[0082] In the above description, a configuration has been described in which the multiplication-addition result calculated in the lower layer is input as it is into the upper layer. The present technology is not limited to this, and, for example, conversion processing or the like may be performed on the multiplication-addition result. For example, in a neural network model, such processing is performed as follows: for example, a nonlinear conversion is performed on the multiplication-addition result of each analog circuit 3 by using an activation function and the conversion result is input to the upper layer.

[0083] In the arithmetic device 100, a function circuit 5 that performs nonlinear conversion on an electric signal using an activation function is used, etc. The function circuit 5 is, for example, a circuit that is provided between a lower layer and an upper layer and appropriately converts a signal value of an input electric signal and outputs an electric signal according to the conversion result. For example, a function circuit 5 is provided for each signal line 1. The number of function circuits 5, the arrangement of the function circuits 5, etc. are appropriately set, for example, according to a mathematical model implemented in the arithmetic device 100.

[0084] For example, a ReLU function (ramp function) or the like is used as an activation function. The ReLU function is, for example, i If the value is 0 or greater, the signal value x is output as is. i , otherwise 0 is output. For example, a function circuit 5 that implements the ReLU function is appropriately connected to each signal line 1. Thus, the processing of the arithmetic device 100 can be implemented.

[0085] Figure 2 3 is a schematic diagram showing an example of an electrical signal input to the analog circuit 3. Figure 2 A and Figure 2 In each of B, a graph showing waveforms of a plurality of electrical signals is schematically shown. The horizontal axis of the graph represents the time axis, and the vertical axis represents the voltage of the electrical signal.

[0086] exist Figure 2 An exemplary waveform of an electrical signal according to a pulse width modulation (PWM) method is shown in A. For example, the PWM method is to use a pulse width τ of a pulse waveform. i To represent the signal value x i That is, in the PWM method, the pulse width τ of the electrical signal i The length depends on the signal value x i .

[0087] Usually, the pulse width τ i The longer the signal value xi The higher.

[0088] In addition, the electric signal is input into the analog circuit 3 within a predetermined input period T. More specifically, each electric signal is input into the analog circuit 3 so that the pulse waveform of the electric signal falls within the input period T. Therefore, the maximum value of the pulse width of the electric signal is similar to the input period T. It should be noted that the timing of inputting each pulse waveform (electric signal) and the like are not limited as long as the pulse waveform falls within the input period T.

[0089] For example, in the PWM method, the pulse width τ can be used i The duty cycle R of the input period T i (=τ i / T) to normalize the signal value x i That is, the standard signal value x i Represented as signal value x i= R i It should be noted that the signal value x i With pulse width τ i The method of association is not limited, and, for example, the value representing the signal value x may be appropriately set. i The pulse width τ i , so that calculation processing and the like can be performed with desired accuracy.

[0090] In the case of using an electric signal according to the PWM method, time-axis analog product-sum arithmetic can be performed according to the PWM method using the analog circuit 3 .

[0091] exist Figure 2 In FIG. 1B, an exemplary waveform of an electrical signal of a peak moment method (hereinafter referred to as a TACT method) is shown. For example, the TACT method is to express a signal value x by using the rising moment of a pulse. i For example, by using a predetermined time as a reference to input a pulse at a time corresponding to an input value.

[0092] The electrical signal is input into the analog circuit 3 within a predetermined input period T. The signal value x i It is represented by the input time of the pulse within the input period T. For example, the maximum signal value x i It is represented by a pulse inputted at the same time when the input period T starts. The minimum signal value xi is represented by a pulse inputted at the same time when the input period T ends.

[0093] In other words, the signal value x i It is represented by the duration from the input time to the end time of the pulse input period T. For example, the maximum signal value x iIt is represented by a pulse whose duration from the input time to the end time of the input period T is equal to the input period T. The minimum signal value x i This is represented by a pulse whose duration from the input time point to the end time point of the input period T is 0.

[0094] It should be noted that Figure 2 In B, a continuous pulse signal is used as an electrical signal according to the TACT method, which rises to a time corresponding to an input value and maintains a conduction level until a product accumulation result is obtained. The present technology is not limited to this, and according to the TACT method, a rectangular pulse with a predetermined pulse width or the like can be used as an electrical signal.

[0095] In the case of using an electric signal according to the TACT method, time-axis analog product-sum arithmetic can be performed using the analog circuit 3 according to the TACT method.

[0096] like Figure 2 A and Figure 2 As shown in FIG. 1B, a pulse signal can be used as an electrical signal corresponding to the input value, and the duration of the on-time of the pulse signal relative to the input period T corresponds to the input value. It should be noted that in the following, it will be assumed that the signal value x represented by each electrical signal i Describes a variable that is greater than or equal to 0 and less than or equal to 1.

[0097] Figure 3 is a schematic diagram showing a specific configuration example of the arithmetic device 100 . Figure 3 It is used to implement, for example Figure 1 1 is an example of an arrangement of a circuit of the arithmetic device 100 , and schematically shows a plurality of analog circuits 3 provided in one layer of the arithmetic device 100 .

[0098] Each analog circuit 3 includes a pair of output lines 7, a plurality of synapse circuits 8 and a neuron circuit 9. Figure 3 As shown, an analog circuit 3 is configured to Figure 3 A plurality of analog circuits 3 extending in the vertical direction are arranged side by side in the horizontal direction to form a layer. Figure 3 The leftmost analog circuit 3 is a first analog circuit 3. In addition, the direction in which the analog circuit 3 extends is sometimes referred to as an extending direction.

[0099] The pair of output lines 7 are spaced apart from each other along the extending direction. The pair of output lines 7 include a positive charge output line 7a and a negative charge output line 7b. The positive charge output line 7a and the negative charge output line 7b are each connected to a neuron circuit 9 via a plurality of synapse circuits 8.

[0100] The synaptic circuit 8 calculates the signal value x represented by the electrical signal i With weight value w i The product value (w i *x i ). Specifically, the charge (current) corresponding to the product value is output to the positive charge output line 7a or the negative charge output line 7b.

[0101] As will be described later, a positive weight value w i + Or negative weight value w i - is set to the synaptic circuit 8. For example, with a positive weight value w i + The positive weight charge corresponding to the product value of is output to the positive charge output line 7a. i - The negative weighted charge corresponding to the product value is output to the negative charge output line 7b.

[0102] It should be noted that in the synaptic circuit 8, charges with the same sign (eg, positive charges) are output as charges corresponding to the product value, and charges corresponding to the weight value w i It does not matter whether it is positive or negative. That is, positive weight charge and negative weight charge become charges with the same sign.

[0103] In this way, each synaptic circuit 8 is configured according to the weight value w i The sign of the synapse circuit 8 outputs the charge corresponding to the product result to the different output line 7a or 7b. The specific configuration of the synapse circuit 8 will be described in detail later. In this embodiment, the plurality of synapse circuits 8 serve as a plurality of product units, each of which generates a charge corresponding to a product value obtained by multiplying an input value by a weight value based on an electrical signal input to each of the plurality of input lines.

[0104] In this embodiment, a single input signal line 6 and a pair of output lines 7 are connected to a single synaptic circuit 8. That is, a single electrical signal is input to the single synaptic circuit 8, and a charge corresponding to a product value calculated based on the input electrical signal is output to the output line 7a or 7b. Therefore, the synaptic circuit 8 is a single-input dual-output circuit connected to a single input signal line 6 and a pair of output lines 7 (a positive charge output line 7a and a negative charge output line 7b).

[0105] In one analog circuit 3, a plurality of synapse circuits 8 are arranged along a pair of output lines 7. Each synapse circuit 8 is connected in parallel to a positive charge output line 7a (a negative charge output line 7b). In the following, it is assumed that the synapse circuit 8 provided on the most downstream side (the side connected to the neuron circuit 9) is the first synapse circuit.

[0106] like Figure 3 As shown, a plurality of input signal lines 6 are wired in such a manner as to intersect with a pair of output lines 7 of each of a plurality of analog circuits 3. Typically, the input signal lines 6 are arranged to be orthogonal to each output line 7. That is, the arithmetic device 100 has a cross configuration in which the input signal lines 6 and the output lines 7 cross each other. With the cross configuration, the analog circuits 3 and the like can be integrated at a high density, for example.

[0107] Furthermore, in the arithmetic device 100, the j-th synapse circuit 8 included in each analog circuit 3 is connected in parallel to the j-th input signal line 6. Therefore, similar electric signals are input to the synapse circuits 8 connected to the same input signal line 6. Therefore, a configuration in which one signal source included in the lower layer is connected to a plurality of analog circuits 3 included in the upper layer can be realized.

[0108] It should be noted that Figure 3 In the illustrated example, the analog circuit 3 (front neuron) included in the lower layer is schematically shown as a signal source that inputs an electric signal into each input signal line 6. The present technology is not limited to this, and, for example, in the case where the input unit 2 is used as a signal source, a crossbar configuration may also be used.

[0109] As described above, in the arithmetic device 100, a plurality of analog circuits 3 are connected in parallel to each of the plurality of input signal lines 6. Therefore, for example, an electrical signal can be input in parallel to each analog circuit 3 (each synapse circuit 8) and high-speed arithmetic processing can be achieved. As a result, excellent arithmetic performance can be exhibited.

[0110] The neuron circuit 9 calculates the product-addition result shown in the expression (Formula 1) based on the product value calculated by the synapse circuit 8. Specifically, the neuron circuit 9 outputs an electrical signal (product-addition signal) indicating the product-addition result based on the charge input via the pair of output lines 7.

[0111] Figure 4 is a schematic diagram showing a configuration example of the neuron circuit 9. The neuron circuit 9 includes an accumulation unit 11 and a signal output unit 12. Figure 4 There is shown a dual input single output neuron circuit 9 connected to a pair of output lines 7 and a single output signal line 10. It should be noted that a dual input dual output circuit or the like may be used as the neuron circuit 9 in some cases.

[0112] The accumulation unit 11 accumulates the charges outputted to the pair of output lines 7 by the plurality of synaptic circuits 8. The accumulation unit 11 includes two capacitors 13a and 13b. The capacitor 13a is connected between the positive charge output line 7a and GND. In addition, the capacitor 13b is connected between the negative charge output line 7b and GND. Therefore, the charges flowing in from the positive charge output line 7a and the negative charge output line 7b are accumulated in the capacitor 13a and the capacitor 13b, respectively.

[0113] For example, when the input period T of the electric signal has passed, the charges accumulated in the capacitor 13a are each equal to the positive weight value w i + The product value corresponds to the sum of positive weighted charges σ + In addition, the charge accumulated in capacitor 13b is equal to the negative weight value w i - The product value corresponds to the sum of negative weight charges σ - .

[0114] For example, when positive weight charges are accumulated in capacitor 13a, the potential of positive charge output line 7a relative to GND increases. Therefore, the potential of positive charge output line 7a depends on the positive weight value w. i + The product value corresponds to the sum of the charges σ + It should be noted that the potential of the positive charge output line 7a corresponds to the voltage held by the capacitor 13a.

[0115] Similarly, when negative weighted charges are accumulated in capacitor 13b, the potential of negative charge output line 7b relative to GND increases. Therefore, the potential of negative charge output line 7b depends on the respective negative weight values ​​w i - The product value corresponds to the sum of the charges σ - It should be noted that the potential of the negative charge output line 7b corresponds to the voltage held by the capacitor 13b.

[0116] The signal output unit 12 outputs a signal representing a product value (w i + *x i ). The product-accumulation signal is, for example, a signal indicating the total product-accumulation result, where the total product-accumulation result is all positive and negative weight values ​​w i With the signal value x i For example, the product accumulation result represented by the expression (Formula 1) can be written as follows.

[0117] [Formula 2]

[0118]

[0119] Here, N + and N - They are positive weight values ​​w i + The total number and negative weight value w i - As shown in the expression (Formula 2), the total multiplication and accumulation result can be calculated as the difference between the multiplication and accumulation result of the positive weight charge and the multiplication and accumulation result of the negative weight charge, and the multiplication and accumulation result of the positive weight charge is the positive weight value w i + The product value (w i + *x i ), the product of the negative weight charge is the negative weight value w i - The product value (|w i - |*x i )

[0120] exist Figure 4 In the example shown, the signal output unit 12 generates a signal representing the total multiplication-accumulation result, for example, as a multiplication-accumulation signal. Specifically, by appropriately referring to the charges accumulated in the accumulation unit 11 (capacitor 13a and capacitor 13b), the positive multiplication-accumulation result and the negative multiplication-accumulation result are calculated, and the total multiplication-accumulation result is calculated based on the difference between them. Moreover, for example, two signals, a positive multiplication-accumulation signal and a negative multiplication-accumulation signal, which respectively represent the positive multiplication-accumulation result and the negative multiplication-accumulation result, can be generated as the multiplication-accumulation signal.

[0121] There is no limitation on the method of accumulating charges in the accumulating unit 11. As an example, a method of detecting the accumulated charges in a capacitor 13 will be described. Figure 2 In the case of the electric signal of the PWM method shown in A, each charge corresponding to the product value is accumulated in the capacitor 13 within the input period T. That is, the accumulation of each charge corresponding to the product value does not occur before and after the input period T.

[0122] For example, after the input period T ends, the capacitor 13 is charged at a predetermined charging speed. At this time, a comparator or the like is used to detect the moment when the potential of the output line connected to the capacitor 13 reaches a predetermined threshold potential. For example, since more charge is accumulated at the beginning of charging, the moment when the potential reaches the threshold potential becomes earlier. Therefore, the charge accumulated within the input period T (the multiplication accumulation result) can be expressed based on the moment. It should be noted that the charging speed can be expressed by, for example, the amount of charge per unit time, and can also be referred to as a charging rate.

[0123] It should be noted that such threshold determination corresponds to increasing the voltage held by the capacitor 13 by charging and detecting the timing at which the threshold voltage is reached.

[0124] In use according to Figure 2 In the case of the electrical signal of the TACT method shown in B, since the conduction level is maintained even after the end of the input period T, the charge is accumulated in the capacitor 13. For this charge accumulation, the moment when the potential of the output line connected to the capacitor 13 reaches a predetermined threshold potential is detected by using a comparator or the like. For example, since more charge is accumulated at the end of the input period T, the moment when the potential reaches the threshold potential becomes earlier. Therefore, the charge accumulated within the input period T (the multiplication accumulation result) can be expressed based on the moment.

[0125] It should be noted that such threshold determination corresponds to detecting the timing at which the voltage held by the capacitor 13 reaches the threshold voltage.

[0126] For example, by performing such threshold determination, the moment representing the multiplication and accumulation result is detected. Based on the detection result, a multiplication and accumulation signal of positive weight charge, a multiplication and accumulation signal of negative weight charge, or a total multiplication and accumulation signal is appropriately generated. In addition, for example, each multiplication and accumulation result can be calculated by directly reading the potential of the capacitor 13 at the end of the input period T.

[0127] It should be noted that both the voltage depending on the accumulated positive weight charge and the voltage depending on the accumulated negative weight charge can be amplified to generate a multiplication-accumulation signal. In addition, the multiplication-accumulation signal can be generated by amplifying the differential voltage between the voltage depending on the accumulated positive weight charge and the voltage depending on the accumulated negative weight charge. For example, a differential amplifier or the like having an arbitrary configuration can be provided in the neuron circuit 9.

[0128] In this embodiment, the neuron circuit 9 is used as an output unit, which accumulates the charges corresponding to the product values ​​generated by the plurality of product units and outputs a product accumulation signal representing the sum of the product values ​​based on the accumulated charges. In addition, the capacitor 13a and the capacitor 13b are used as a positive charge accumulation unit and a negative charge accumulation unit. The neuron circuit 9 accumulates at least one of the positive weighted charges generated by the positive weighted product unit and the negative weighted charges generated by the negative weighted product unit, thereby outputting the product accumulation signal.

[0129] [Analog circuit based on PWM method]

[0130] Figure 5 is a schematic circuit diagram showing an example of an analog circuit according to this embodiment. Figure 5, an example of an analog circuit 3 according to the PWM method is shown. The analog circuit 3 is arranged to extend in a direction orthogonal to the plurality of input signal lines 6. That is, Figure 5 In the example shown, a crossover configuration is used.

[0131] The analog circuit 3 includes a pair of output lines (a positive charge output line 7a and a negative charge output line 7b), a plurality of synaptic circuits (a plurality of product units) 8, and a neuron circuit 9. Figure 5 In the example shown, the neuron circuit 9 includes an accumulation unit 11 , a charging unit 15 , a signal output unit 12 , and switches 16 a to 16 d .

[0132] Each has the same signal value x i Pulse signals (PWM signals) of corresponding pulse widths are input to the plurality of input signal lines 6 as input signals in1 to in6. Figure 5 In the example shown, six input signal lines 6 are shown, but the number of input signal lines 6 is not limited. Input signals in1 to in6 are input within an input period T having a predetermined duration (see Figure 6 ).

[0133] The positive charge output line 7a outputs the signal value x i Multiply by the positive weight w i + The obtained product value (w i + *x i ) corresponding to the positive weight charge. The negative charge output line 7b outputs the positive weight charge corresponding to the signal value x i Multiply by the negative weight w i - The obtained product value (|w i - |*x i ) corresponding to the negative weighted charges. In this embodiment, a pair of output lines 7 corresponds to one or more output lines.

[0134] A plurality of synapse circuits 8 are provided to be associated with a plurality of input signal lines 6, respectively. In this embodiment, one synapse circuit 8 is provided in one input signal line 6. Each of the plurality of synapse circuits 8 includes a resistor 17 connected between a corresponding input signal line 6 among the plurality of input signal lines 6 and any one of the positive charge output line 7a and the negative charge output line 7b. The resistor 17 may have nonlinear characteristics and may have a function of preventing current from flowing back. The product value (w i + *x i )(or(|w i - |*xi )) The charge corresponding to the positive charge output line 7a (or the negative charge output line 7b) connected to the resistor 17 is output.

[0135] For example, in order to make the signal value x i Multiply by the positive weight w i + , the resistor 17 is connected between the input signal line 6 and the positive charge output line 7a, and causes the positive charge output line 7a to output positive weighted charges. Figure 5 In the example shown, the synapse circuit 8 to which the input signals in1, in3 and in6 are input is a synapse circuit 8a configured as a positive weight product unit generating positive weight charges. It can also be said that the synapse circuit 8a is a product unit in which positive weights are set.

[0136] In order to convert the signal value x into i Multiply by the negative weight w i - , the resistor 17 is connected between the input signal line 6 and the negative charge output line 7b, and causes the negative charge output line 7b to output negative weighted charges. Figure 5 In the example shown, the synapse circuit 8 to which the input signals in2, in4 and in5 are input is a synapse circuit 8b configured as a negative weight product unit that generates negative weight charges. It can also be said that the synapse circuit 8b is a product unit in which negative weights are set.

[0137] It should be noted that the weight value w to be set i A resistor of a corresponding resistance value is used as the resistor 17. That is, the resistor 17 is used as a resistor for defining the weight value w at the analog circuit 3 in the arithmetic device 100 that performs product-sum arithmetic. i components.

[0138] For example, a fixed resistor element, a variable resistor element, a MOS transistor operating in a subthreshold region, or the like is used as the resistor 17. For example, power consumption can be reduced by using a MOS transistor operating in a subthreshold region as the resistor 17. Of course, another arbitrary resistor may be used.

[0139] The accumulating unit 11 accumulates the product values ​​(w i *x i In this embodiment, two capacitors 13a and 13b are provided as the accumulating unit 11.

[0140] Capacitor 13a is connected to positive charge output line 7a via switch 16b to accumulate positive weight charge generated by synaptic circuit 8a. Capacitor 13b is connected to negative charge output line 7b via switch 16c to accumulate negative weight charge generated by synaptic circuit 8b.

[0141] The charging unit 15 charges the accumulating unit 11 at a predetermined charging speed, and the summing and multiplication value (w i *x i ) is the sum of the charges corresponding to . In this embodiment, two current sources 18a and 18b are provided as the charging unit 15. It should be noted that charging is performed after the input period T ends.

[0142] The current source 18a is connected to the side of the capacitor 13a connected to the positive charge output line 7a (the side opposite to GND) via the switch 16a. The current source 18b is connected to the side of the capacitor 13b connected to the negative charge output line 7b (the side opposite to GND) via the switch 16d.

[0143] In this embodiment, the current source 18a and the current source 18b charge the capacitor 13a and the capacitor 13b at the same charging speed. Therefore, the potential V of the positive charge output line 7a is + (voltage held by capacitor 13a) and the potential V of negative charge output line 7b - (The voltage held by the capacitor 13b) increases. The specific configuration of the current source 18 is not limited and can be arbitrarily designed.

[0144] After the charging unit 15 starts charging, the signal output unit 12 performs threshold determination on the voltage held by the accumulating unit 11 based on a predetermined threshold, thereby outputting a value indicating the product value (w i *x i In this embodiment, two comparators 20a and 20b and a signal generating unit 21 are provided as the signal output unit 12.

[0145] Comparator 20a detects the moment when the voltage held by capacitor 13a exceeds a predetermined threshold value θ1. It should be noted that the magnitude of the voltage held by capacitor 13a is determined by the total amount of positive weighted charges accumulated in capacitor 13a and the charge amount (charging speed×time).

[0146] Comparator 20b detects the moment when the voltage held by capacitor 13b exceeds a predetermined threshold value θ2. It should be noted that the magnitude of the voltage held by capacitor 13b is determined by the total amount of negative weight charges accumulated in capacitor 13b and the charge amount (charging speed×time).

[0147] It should be noted that in the present embodiment, the product-added signal is output by performing threshold determination on each of the capacitor 13a and the capacitor 13b having the same threshold value. That is, the threshold value θ1 = the threshold value θ2 is set.

[0148] The signal generating unit 21 outputs a signal indicating the product value (w i *x i In other words, the signal generating unit 21 outputs a product-added signal based on the timing when the voltage held by the capacitor 13a reaches the threshold value θ1 and the timing when the voltage held by the capacitor 13b reaches the threshold value θ2 (=θ1).

[0149] In the present embodiment, the PMW signal is a pulse signal whose pulse width has been modulated, and the PMW signal is output as a product-accumulation signal. The specific circuit configuration and the like of the signal generating unit 21 are not limited and can be arbitrarily designed.

[0150] Figure 6 and Figure 7 Is used to describe Figure 5 1 is a diagram showing an example of calculation of a multiplication-addition signal performed by the analog circuit 3 shown. In this embodiment, based on the multiplication-addition result of the positive weighted charges accumulated in the capacitor 13a and the multiplication-addition result of the negative weighted charges accumulated in the capacitor 13b, a signal representing the total multiplication-addition result including positive and negative values ​​is calculated.

[0151] The calculation of the product-accumulation result of the positive weighted charge and the product-accumulation result of the negative weighted charge are the same process. Figure 6 A method of calculating a product-addition result based on the electric charge accumulated in the capacitor 13 (a sum-of-products arithmetic method) without distinguishing between positive and negative values ​​is described.

[0152] Will describe Figure 6 Parameters described in. "t" represents time. "T" represents each of the input period and the output period. "t n " represents the end time of the input period T, and "t m " indicates the end time of the output period T.

[0153] In this embodiment, the duration of the input period T and the duration of the output period T are set equal to each other. In addition, the output period T starts from the end time t of the input period T. n Therefore, the end time t of the input period T is n Corresponds to the start time of the output period T.

[0154] “θ” represents a threshold value used for threshold value determination performed by the signal output unit 12 (comparator 20 ).

[0155] “S i (t)" represents the input signal (PWM signal) input to the i-th input signal line 6. "τ i ” indicates the input signal S i (t) is the pulse width. i (t)" table Figure 5 The amount of change in the internal state (potential) in each synaptic circuit 8 is shown. i " represents the weight value, and is represented by Figure 5 The resistance value of the resistor 17 is shown as defined.

[0156] “V n (t)” means “P i (t)” and corresponds to the total amount of charge accumulated in capacitor 13. n (t)” represents a multiplication-accumulation signal (PWM signal) representing the multiplication-accumulation result. n ” represents the pulse width of the product-accumulation signal to be output. Specifically, “τ n " represents the period from the time when the voltage held by the capacitor 13 exceeds the threshold value θ in the output period T to the end time t of the output period T m The value corresponding to the duration.

[0157] In this example, the switch 16 b and the switch 16 c are provided, and specifically, power consumption can be reduced and charging accuracy can be improved by disconnecting the output line via the switch.

[0158] Here, as shown in the following expression, the input value (signal value) x i By the input signal S i (t) is the pulse width τ i The duty cycle R of the input period T i (=τ / T) is given.

[0159] [Formula 3]

[0160]

[0161] Figure 5 The synaptic circuit 8 shown generates the signal value x by i Multiply by the weight w i Specifically, the resistance of resistor 17 is constant at a slope w i Increase the internal state (potential).

[0162] At the end time t of the input period T nAt the point where the change in the internal potential of each synaptic circuit 8 is i (t n ) is given by the following expression. It should be noted that the input signal S i The high level value of (t) is set to 1.

[0163] [Formula 4]

[0164] P i (t n )=w i R i T=w i x i T

[0165] The total amount of charge accumulated in capacitor 13 is V n (t n ) is P i (t n ) and is therefore given by the following expression.

[0166] [Formula 5]

[0167]

[0168] At the end time t of the input period T n , Figure 5 The switches 16a and 16d are shown as being turned on, and the switches 16b and 16c are turned off. n , the charging unit 15 (current source 18) starts to charge. Therefore, in this embodiment, the output period T starts at the start time of charging by the charging unit 15. That is, at the end time t of the input period T n , the charging and output periods start at the same time.

[0169] The current source 18 starts at the end time t of the input period T. n The internal potential of each synaptic circuit 8 is increased with a slope (charging speed) α. A pulse with a width τ is generated. n The multiplication and accumulation signal (PWM signal) has a pulse width τ n The period from when the voltage held by the capacitor 13 exceeds the threshold value θ in the output period T to the end time t of the output period T is m corresponding to the duration.

[0170] Assume that the pulse width τ of the product-accumulate signal n The duty cycle of the output period T is R n (=τ n / T), then R n It is given by the following expression. It should be noted that the threshold value θ is equal to or greater than the total amount of charge V n(t n ).

[0171] [Formula 6]

[0172]

[0173] Therefore, by multiplying each product value (w i *x i The product accumulation result obtained by adding the signal value x is given by the following expression. i Multiply by the weight w i And obtain.

[0174] [Formula 7]

[0175]

[0176] That is, the product-accumulation result is obtained by n =α·(τ n / T) minus a constant defined by the charging speed α, the threshold θ, and the output period T. In this way, a multiplication-accumulation signal indicating a multiplication-accumulation result can be output based on the moment when the voltage held by the accumulating unit 11 having a predetermined duration exceeds the threshold θ in the output period T having a predetermined duration.

[0177] Figure 7 is a schematic diagram showing an example of calculation of a multiply-add signal representing a total multiply-add result based on the multiply-add results of both positive weighted charges and negative weighted charges. Figure 7 In the example, the product-accumulation signal representing the product-accumulation result of the positive weighted charge is denoted by “S n + (t)”, and its pulse width is represented by “τ n + In addition, the product-accumulation signal representing the product-accumulation result of the negative weight charge is represented by “S n - (t)”, and its pulse width is represented by “τ n - In addition, the product-accumulation signal indicating the total product-accumulation result is represented by "S n (t)”, and its pulse width is represented by “τ n "express.

[0178] At the end time t of the input period T n The total amount of positive weighted charge V accumulated in capacitor 13a n + (t n ) is given by the following expression. It should be noted that w i+ Indicates a positive weight value.

[0179] [Formula 8]

[0180]

[0181] At the end time t of the input period T n The total amount of negative weighted charge V accumulated in capacitor 13b n - (t n ) is represented by the following expression. It should be noted that w i - Represents a negative weight value.

[0182] [Formula 9]

[0183]

[0184] Assume that the positive multiplication and accumulation signal S n + The duty cycle of (t) is R n + (=τ n + / T), then by multiplying the product value (w i + *x i ) is given by the following expression, where the product value is obtained by adding the signal value x i Multiply by the positive weight w i + It should be noted that assuming the threshold θ is equal to or greater than the total amount of positive weight charge V n + (t n ).

[0185] [Formula 10]

[0186]

[0187] In the negative multiplication accumulation signal S n - The duty cycle of (t) is R n - (=τ n - / T) by multiplying the product value (|w i - |*x i ) is given by the following expression, where the product value is obtained by dividing the input value x by i Multiply by the negative weight w i -It should be noted that the charging speed α and the threshold value θ are equal to the values ​​used in the expression (Formula 10). In addition, it is assumed that the threshold value θ is equal to or greater than the total amount V of the negative weight charge. n - (t n ).

[0188] [Formula 11]

[0189]

[0190] Therefore, using the above expression (Formula 2), the total product accumulation result is given by the following expression.

[0191] [Formula 12]

[0192]

[0193] That is, the charge velocity α, the multiplication and accumulation signal S n + (t) is the pulse width τ i + , product-accumulate signal S n - (t) is the pulse width τ i - , and the total multiplication-addition result is obtained by outputting the period T. That is, the multiplication-addition result can be easily calculated based on the time detected by the comparator 20 a and the time detected by the comparator 20 b.

[0194] like Figure 7 As shown, it is easy to output a pulse with a width of "τ n The product accumulation signal "S n (t)” as a product-accumulation signal representing the total product-accumulation result. It should be noted that the product-accumulation signal S can be determined n + (t) is the pulse width τ n + Sum product accumulation signal S n - (t) is the pulse width τ n - Which of the two is larger? Pulse width τ n + The product-accumulation signal "S n (t)” can be output as a positive multiplication and accumulation signal, and the pulse width τ n - The product-accumulation signal "S n(t)" can also be output as a negative product accumulation signal. The pulse width τ can be converted to a negative product accumulation signal by appropriately using an AND circuit, a NOT circuit, etc. n + With pulse width τ n - Circuits for comparison.

[0195] It is also possible to set the following so that when using the ReLU function (ramp function) or the like, for example, when a positive multiplication-accumulation signal "S n (t)”, the signal is output as is, and when a negative product accumulation signal “S n (t)”, the output is 0.

[0196] As the setting of the charging speed α and the threshold value θ, α=θ / T is set for the output period T. Therefore, the constant determined by the charging speed α, the threshold value θ and the output period T included in the expressions (Formula 6), (Formula 7), (Formula 10) and (Formula 11) can be set to zero, and the processing can be simplified. That is, by setting the threshold value θ based on the duration of the input period T, a beneficial effect can be exhibited.

[0197] Figure 8 is a schematic circuit diagram showing another example of the analog circuit 3 according to the PWM method. Fig. 9 Is used to describe Figure 8 FIG. 2 is a diagram showing an example of calculation of a product-and-accumulate signal calculated by the analog circuit 3 shown.

[0198] exist Figure 8 In the analog circuit 3 shown in FIG. 1 , the differential amplifier circuit 23 outputs a charge (V + -V - ), and the capacitor 13 included in the accumulation unit 11 accumulates the charge (V + -V - ). The specific configuration of the differential amplifier circuit 23 is not limited and can be arbitrarily designed.

[0199] At the start time of the input period T, the switches 16a, 16b, and 16c are turned on, and the switch 16b is turned off. The input signal is input during the input period T. The charge (V + -V - ) is accumulated in capacitor 13. It should be noted that Fig. 9 The charge accumulation state in the input period T is omitted.

[0200] At the end time t of the input period T n , switch 16c is turned off, and switch 16d is turned on. Fig. 9As shown, the charging performed by the charging unit 15 (current source 18) is completed at the end time t of the input time period T. n start.

[0201] Furthermore, the comparator 20 of the signal output unit 12 detects the time when the voltage held by the capacitor 13 exceeds the threshold value θ. Based on the detected time, the signal generation unit 21 calculates the product-addition signal (PWM signal) “S n (t)”.

[0202] Therefore, by calculating the charge corresponding to the difference between the total amount of positive weighted charge and the total amount of negative weighted charge (V + -V - ) performs threshold determination and can output a product-accumulation signal "S n (t)”.

[0203] It should be noted that in the description of the product-sum arithmetic performed by the analog circuit 3 according to the above-mentioned PWM method, the change of the internal state (potential) in each synapse circuit 8 or the increase of the voltage of the capacitor 13 due to charging is approximated as a linear change. Of course, it is not difficult at all to perform the product-sum arithmetic without such an approximation, and on the contrary, the accuracy of the product-sum arithmetic can be improved by taking into account the parasitic capacitance of the synapse circuit 8 and the like.

[0204] In any case, in the analog circuit 3 (product-sum arithmetic device) according to the present technology, it is possible to output the potential V of the positive charge output line 7a (the voltage held by the capacitor 13b) based on the potential V of the positive charge output line 7a. + and the potential of the negative charge output line 7b (the voltage held by the capacitor 13b) V - Get the multiply-accumulate result.

[0205] [Simulation circuit based on TACT method]

[0206] Fig.10 3 is a schematic circuit diagram showing an example of an analog circuit 3 according to the TACT method. The pulse signal (TACT signal) is i The corresponding time points are input to the plurality of input signal lines 6 as input signals in1 to in6.

[0207] Here, a continuous pulse signal is input, such as Figure 2 As shown in B, the continuous pulse signal rises to the moment corresponding to the input value and maintains the conduction level. Regarding the pulse signal, the duration of the conduction time relative to the input period T corresponds to the input value in the input period T. In the following, in some cases, the duration of the conduction time in the input period T will be referred to as the pulse width in the input period T.

[0208] At the moment when the input period T has passed, the charges accumulated in the capacitor 13a are each equal to the positive weight value w i + The product value corresponds to the sum of positive weighted charges σ + Moreover, the accumulated charges in capacitor 13b are each with a positive weight value w i - The product value corresponds to the sum of negative weight charges σ - .

[0209] Since the conduction level of the electric signal is maintained even after the input period T ends, charges are accumulated in capacitors 13a and 13b. Based on the timing when the voltage held by capacitor 13a exceeds threshold θ, a multiplication-accumulation signal (PWM signal) representing the multiplication-accumulation result of the positive weighted charges is generated.

[0210] In addition, based on the time when the voltage held by capacitor 13b exceeds threshold value θ, a multiplication-addition signal (PWM signal) representing the multiplication-addition result of negative weighted charges is generated. A multiplication-addition signal representing the total multiplication-addition result can be generated based on these positive multiplication-addition signals and negative multiplication-addition signals.

[0211] Here, the inventors studied the time constants of the positive charge output line 7a and the negative charge output line 7b as the potential V of the positive charge output line 7a. + and the potential V of the negative charge output line 7b - That is, the inventors studied the time constant of the output line 7. Therefore, as described below, the inventors found a configuration that makes the time constant of the output line 7 constant regardless of the number of resistors 17 provided between the output line 7 and the plurality of input signal lines 6.

[0212] First, it is assumed that the capacitor 13a and the capacitor 13b functionally include parasitic capacitance (not shown) generated in the positive charge output line 7a and the negative charge output line 7b. In this case, the minimum value of capacitance that the capacitor 13a and the capacitor 13b can adopt is the parasitic capacitance generated in the output line 7. For example, even in the case where the capacitor 13 is not provided, the charge is accumulated based on the parasitic capacitance generated in the positive charge output line 7a and the negative charge output line 7b, and the product accumulation signal can be generated based on the threshold determination. The same applies to the case where the multiplication accumulation signal is generated based on the threshold determination signal. Figure 8 The analog circuit of the PWM method shown in 3.

[0213] The time constant of the output line 7 changes sequentially according to the number of input signals sequentially input over time and the number of resistors 17 (on-resistance) in a state where the signal can be transmitted to the output line 7. Here, attention is placed on the time constant at the end of the input period T. In the analog circuit 3 according to the TACT method according to the present embodiment, the signal is input to all the input signal lines 6 at the end of the input period T. Therefore, the number of input signals at the end of the input period T takes a maximum value and a constant value. Therefore, the time constant at the end of the input period T changes sequentially according to the number of on-resistances.

[0214] Here, the resistance value of the resistor 17 is set to the same resistance value R. In other words, a binary connection configuration is adopted. In addition, the parasitic capacitance of each synapse circuit 8 is designed to be a constant capacitance C. Since the resistor 17 is connected to one output line 7 in parallel, in the case where N resistors 17 are connected, the combined resistance is R / N (the number of on-resistances is N). On the other hand, since the number of synapse circuits 8 is N, which is equal to the number of resistors 17, the combined capacitance is NC.

[0215] For example, in the case where the capacitor 13 is not provided, a product-added signal is generated based on the parasitic capacitance of each synaptic circuit 8. In this case, the value of the combined resistance×combined capacitance is RC regardless of the number of resistors 17 (the number of on-resistances). Therefore, the time constant of the output line 7 at the end of the input period T is also RC regardless of the number of resistors 17.

[0216] In the case where the capacitor 13 is mounted, the capacitance of the capacitor 13 is set to a value obtained by multiplying a predetermined constant C0 by the number of resistors 17 (the number of on-resistances) (the number of resistors 17×C0). Therefore, the time constant is R / N×(NC+NC0)=R×(C+C0), and is a constant regardless of the number of resistors 17. Therefore, the time constant can be made constant regardless of the number of resistors 17.

[0217] Therefore, the potential V of each output line 7 at the end of the input period T can be approximated by the following expression.

[0218] [Formula 13]

[0219]

[0220] Fig.11 is a schematic diagram for describing the potential V of each output line 7 at the end of the input period T. Referring to the expression (Formula 13) and Fig.11 To describe the potential V of each output line 7 at the end of the input period T. It should be noted that Fig.11 The curve in the figure is the curve corresponding to the expression (Formula 13).

[0221] "Vc" represents a constant, and is a value corresponding to a convergence value of the potential after a time equal to or greater than the time constant has passed. "t ave ” represents the average value of the pulse width of the pulse signal input to the input signal line 6 within the input period T.

[0222] like Fig.11 As shown, the input period T and the threshold θ are determined based on the curve corresponding to the expression (Formula 13). That is, the input period T is substituted for "t ave " is set as the threshold value θ. Therefore, when the maximum pulse (whose pulse width in the input period T is the largest) is input to all the input signal lines 6, at the end time of the input period T (the beginning time of the output period T), the potential of the output line 7 exceeds the threshold value.

[0223] On the other hand, in the case where a pulse having a pulse width of 0 in the input period T is input to all the input signal lines 6, the potential of the output line 7 exceeds the threshold value at the end time of the output period T. As a result, a product-accumulation signal with high resolution within the output period T can be accurately calculated. That is, by setting the threshold value θ based on the duration of the input period T, a beneficial effect can be exhibited.

[0224] like Fig.11 As shown, threshold determination is performed on each of capacitor 13a and capacitor 13b based on threshold θ. ave " can accurately generate and output the product-accumulation signal "S n (t)”, the “t ave " is the average value of the pulse width of each pulse signal in the input period T. It should be noted that the charge of each output line 7 is not always in accordance with Fig.11 It has been found that at the end of the input period T, at least the potential V of each output line 7 and the product accumulation signal "S n The pulse width “τ (t)” n ” can be approximated by the expression (Formula 13).

[0225] Regardless of how the number of resistors 17 for connecting the input signal line 6 and the positive charge output line 7a (i.e., the number of positive weighted product units) and the number of resistors 17 for connecting the input signal line 6 and the negative charge output line 7b (i.e., the number of negative weighted product units) are combined in each analog circuit 3, the potential V + and the potential V of the negative charge output line 7b - All can be achieved Fig.11 The product-sum arithmetic described in .

[0226] Therefore, if Figure 7 As shown, the signal S can be accumulated based on the product n + (t) is the pulse width τ n + And the product-accumulate signal S n - (t) is the pulse width τ n - To calculate the product-accumulate signal "S n (t)”.

[0227] Of course, other configurations and other product-sum arithmetic can be performed as the analog circuit 3 according to the TACT method. In any case, the potential V of the positive charge output line 7a (the voltage held by the capacitor 13a) can be used. + and the potential of the negative charge output line 7b (the voltage held by the capacitor 13b) V - to obtain the result of product-sum arithmetic.

[0228] In the analog circuit 3 according to the PWM method and the analog circuit 3 according to the TACT method, each neuron circuit 9 includes an accumulation unit 11, which accumulates at least one of the positive weighted charges generated by the positive weighted product unit and the negative weighted charges generated by the negative weighted product unit, and can output a product accumulation signal representing the sum of the product values ​​by performing threshold determination on the voltage maintained by the accumulation unit 11 with a predetermined threshold.

[0229] In addition, the accumulation unit 11 includes a positive charge accumulation unit capable of accumulating the positive weight charge generated by the positive weight product unit and a negative charge accumulation unit capable of accumulating the negative weight charge generated by the negative weight product unit. The neuron circuit 9 can output a product accumulation signal by performing threshold determination on each of the positive charge accumulation unit and the negative charge accumulation unit at a predetermined threshold. It should be noted that the predetermined threshold can be set based on the duration of the input period.

[0230] Here, the inventors studied the product-sum signal "S n (t)" and the relationship between noise caused by heat, etc. (hereinafter, simply referred to as thermal noise). In the time axis analog product-sum arithmetic according to the PWM method and the time axis analog product-sum arithmetic according to the TACT method, as a reference, the input value is normalized by using the input period T as time information.

[0231] For example, in the PWM method, the pulse width τ is used i The duty cycle R of the input period T iNormalize the input values. In the TACT method, the input values ​​are normalized at predetermined times in the input period. For example, when using Figure 2 In the case of the pulse signal shown in B, the input value is normalized by using the pulse width in the input period T.

[0232] In addition, the potential V of the output line 7 corresponding to the result of the product-sum arithmetic is normalized by using the threshold value θ as a reference. That is, regardless of the amount of input information, the result of the product-sum arithmetic is normalized to a constant charge amount equal to or less than the threshold value. Therefore, since the result of the product-sum arithmetic decreases regardless of the amount of input information, there is still room for consideration regarding the arithmetic accuracy and detection accuracy of the arithmetic result.

[0233] For example, to detect Figure 7 The total multiply-accumulate result is shown as a multiply-accumulate signal "S n (t)", the noise level of thermal noise limits the detection. That is, outputs equal to or less than the thermal noise level are automatically rejected as noise burying, and the accuracy of product-sum arithmetic may be reduced. However, it is currently difficult to quantitatively predict how much of the minimum value of the product-sum arithmetic values ​​output from the multiple analog circuits 3 included in the arithmetic device 100 will be buried in the thermal noise.

[0234] The inventors focus on controlling the input time T of the time axis analog product sum arithmetic according to the PWM method and the time axis analog product sum arithmetic according to the TACT method. Figures 5 to 9 In the time axis analog product-sum arithmetic of the described PWM method, the input time T is extended. For the sake of clarity, it is assumed, for example, that the input time T is extended by a factor of 1.2.

[0235] Regarding the pulse signal according to the PWM method input to the input signal line 6, since the input value is different from the pulse width τ i and the duty cycle R of the input period T i Correspondingly, the pulse width τ i The potential of the positive charge output line 7a (the voltage held by the capacitor 13a) V + and the potential of the negative charge output line 7b (the voltage held by the capacitor 13b) V - Also increased.

[0236] therefore, Figure 7 The multiplication and accumulation signal "S" of the multiplication and accumulation result of the positive weighted charge is shown. n + The pulse width “τ (t)” n + ” and a product-accumulation signal “S n- The pulse width “τ (t)” n - ” is also expanded by 1.2 times. As a result, the multiplication-accumulation signal “S n The pulse width “τ (t)” n " is also expanded by 1.2 times. It should be noted that the threshold value θ is set so that, for example, α=θ / T holds.

[0237] In addition, according to the reference Fig.10 and Fig.11 In the time axis analog product-sum arithmetic of the TACT method described above, it is assumed that the input time is extended by, for example, 1.2 times. With respect to the pulse signal according to the TACT method to be input to the input signal line 6, the pulse width in the input period T is extended by 1.2 times. Therefore, the potential V of the positive charge output line 7a (the voltage held by the capacitor 13a) + and the potential of the negative charge output line 7b (the voltage held by the capacitor 13b) V - Also increased.

[0238] Therefore, as in the input period T Fig.11 The average value of the pulse width of the pulse signal is shown as "t ave ” is expanded by 1.2 times. Therefore, the multiplication-accumulation signal “S n + The pulse width “τ (t)” n + ” and a product-accumulation signal “S n - The pulse width “τ (t)” n - ” is also expanded by 1.2 times. As a result, the multiplication-accumulation signal “S n The pulse width “τ (t)” n " is also expanded by 1.2 times. It should be noted that the threshold value θ is determined according to the input period T based on a curve corresponding to the expression (Formula 13), for example.

[0239] Therefore, in the time axis analog product-sum arithmetic according to the PWM method and the time axis analog product-sum arithmetic according to the TACT method, the duration of the input period T is extended, and the duration of the on time of the pulse signal corresponding to the input value is also extended accordingly. In addition, the threshold θ is appropriately set based on the duration of the input period T.

[0240] Therefore, the potential V of the positive charge output line 7a is + (voltage held by capacitor 13a) and the potential V of negative charge output line 7b -(the voltage held by capacitor 13b) can be increased. As a result, the product-accumulation signal "S" representing the total product-accumulation result is n (t)” value (pulse width “τ n ”) can be expanded. Therefore, the amount of buried noise can be reduced and the product-sum arithmetic result can be accurately detected.

[0241] On the other hand, increasing the input period T leads to an increase in power consumption and processing time. The inventors conducted further studies to improve the detection accuracy of the result of product-sum arithmetic while reducing power consumption and processing time, and newly designed a technique to be described below.

[0242] Fig.12 is a schematic diagram showing an example of the configuration of an arithmetic device for describing a simulation related to time axis analog product-sum arithmetic. Fig.10 The arithmetic device 100 of the plurality of simulation circuits 3 according to the TACT method shown performs simulation under the following conditions.

[0243] Enter the quantity...500

[0244] The values ​​of the input signal ... are defined by a normal distribution (with fixed variance) using the median as mean.

[0245] The input signal arrangement is set by a random number for each test.

[0246] Weights... positive and negative, binary values

[0247] Positive weight ratios ... use a normal distribution with 50% as mean (with fixed variance).

[0248] The weights are arranged... by random numbers for each test

[0249] The product and the arithmetic value ... are calculated as absolute values

[0250] These conditions will be described. The value of the input signal is defined by a normal distribution that averages the pulses (median) input at the time of the input period T / 2 (the variance is a predetermined fixed value). That is, a pulse signal corresponding to the input value according to this distribution is input to 500 input signal lines 6.

[0251] To which input signal line 6 each pulse signal corresponding to 500 input values ​​according to normal distribution is input is set by a random number for each test.

[0252] As weights, in each analog circuit 3, resistors 17 having the same resistance value are connected to the positive side (between the input signal line 6 and the positive charge output line 7a) and the negative side (between the input signal line 6 and the negative charge output line 7b).

[0253] In the case where the resistor 17 is connected to the positive side, the synapse circuit 8a used as a positive weight product unit is configured. In the case where the resistor 17 is connected to the negative side, the synapse circuit 8b used as a negative weight product unit is configured. Hereinafter, the synapse circuit 8a and the synapse circuit 8b will be referred to as the positive weight product unit 8a and the negative weight product unit 8b in some cases.

[0254] The positive weight ratio is the ratio of the sum of the positive weight values ​​in each simulation circuit 3 to the sum of the absolute values ​​of the weight values. In this simulation, a binary connection configuration is adopted. Therefore, the positive weight ratio is the ratio of the number of resistors 17 connected to the positive side to the total number (500) of resistors 17. It can also be said that the positive weight ratio is the ratio of the number of positive weight product units 8a to the number of synapse circuits 8.

[0255] For example, when the resistor 17 is connected between all the input signal lines 6 and the positive charge output line 7a, that is, when all the product units 8 are used as positive weight product units 8a, the positive weight ratio is 100%. When the resistor 17 is connected between all the input signal lines 6 and the negative charge output line 7b, that is, when all the product units 8 are used as negative weight product units 8b, the positive weight ratio is 0%.

[0256] When the number of resistors 17 connected between the input signal line 6 and the positive charge output line 7a and the number of resistors 17 connected between the input signal line 6 and the negative charge output line 7b are equal, the positive weight ratio is 50%. That is, when the number of positive weight product units 8a and the number of negative weight product units 8b are equal, the positive weight ratio is 50%.

[0257] That is, in the arithmetic device 100, the plurality of product units 8 include at least one of the positive weight product unit 8a and the negative weight product unit 8b, and are configured so that the positive weight ratio (the ratio of the sum of the positive weight values ​​to the sum of the absolute values ​​of the weight values) is any ratio from 0% to 100%. In addition, the neuron circuit 9 accumulates at least one of the positive weight charge generated by the positive weight product unit 8a and the negative weight charge generated by the negative weight product unit 8b, thereby outputting a product accumulation signal.

[0258] In this simulation, the distribution of the positive weight ratios of the plurality of analog circuits 3 is defined by a normal distribution using 50% as an average value (the variance is a predetermined fixed value). That is, the number of analog circuits 3 providing a positive weight ratio of 50% is the largest.

[0259] It should be noted that in each analog circuit 3, the ratio of the sum of the negative weight values ​​to the sum of the absolute values ​​of the weight values ​​is the negative weight ratio. In addition, in each analog circuit 3, the ratio of the sum of the positive weight values ​​to the sum of the negative weight values ​​is the positive-negative weight ratio. In the present disclosure, the positive weight ratio, the negative weight ratio, and the positive-negative weight ratio can be regarded as parameters equivalent to each other.

[0260] In the simulation circuit 3 with a positive weight ratio determined, the position where the resistor 17 is set is set by a random number for each test. For convenience, it is assumed that Fig.12 The number of inputs of the arithmetic device 100 shown in is 8. The positive weight ratio of the analog circuit 3 shown in the middle is 50%. That is, four resistors 17 are connected to each of the positive side and four resistors 17 are connected to each of the negative side. The positions of the four resistors 17 on the positive side and the positions of the four resistors 17 on the negative side are set by random numbers for each test. This corresponds to that the position of the positive weight product unit 8a and the position of the negative weight product unit 8b are set by random numbers.

[0261] The product and arithmetic value are calculated as absolute values ​​and are, for example, Figure 7 The total multiply-accumulate result is shown as a multiply-accumulate signal "S n The pulse width “τ (t)” n "Corresponding.

[0262] The simulation was performed many times under this condition. Therefore, it was found that the average value, median value and maximum value of the product-sum arithmetic value tended to fall within a certain range. That is, a predictable range of the average value, median value and maximum value of the product-sum arithmetic value can be found. On the other hand, regarding the minimum value of the product-sum arithmetic value, changes were observed in each test and were difficult to predict.

[0263] Here, the inventors focus on the distribution of positive weight ratios of multiple simulation circuits 3. Regarding the positive weight ratio as one of the simulation conditions, the average value of the normal distribution is fixed to 50%, and the simulation is performed multiple times by changing the variance. As a result, it is newly discovered that there is a dependency relationship between the distribution of the positive weight ratio and the minimum value of the product-sum arithmetic value.

[0264] Specifically, it was found that as the variance of the normal distribution of the positive weight ratio becomes smaller, the minimum value of the product-sum arithmetic value tends to become smaller. Conversely, it was found that as the normal distribution of the positive weight ratio becomes larger, the minimum value of the product-sum arithmetic value tends to become larger. In addition, it was found that as the average value of the normal distribution of the positive weight ratio becomes closer to 50%, the minimum value of the product-sum arithmetic value tends to become smaller.

[0265] For example, assuming that the positive weight ratio is 50%, and the sum of the positive weights (the number of resistors) is equal to the sum of the negative weights (the number of resistors). In this case, the difference between the average value of the pulse width of the pulse signal input to the positive weight multiplication unit 8a within the input period T and the average value of the pulse width of the pulse signal input to the negative weight multiplication unit 8b within the input period T is a parameter associated with the minimum value of the product-sum arithmetic value.

[0266] It may be considered that, in the case where pulse signals are randomly input into the input signal lines 6 equal in number to each other (every 250 in this simulation), the average values ​​of the pulse widths in the input period T approach each other. Therefore, it can be considered that as the average value of the normal distribution of the positive weight ratio approaches 50%, the minimum value of the product-sum arithmetic value tends to become smaller. Of course, this idea is an inference of the newly discovered trend.

[0267] In addition, it is considered that this tendency also occurs when multi-valued weights different from the weights of binary connections are set. It is considered that the product sum arithmetic value is small because the sum of positive weights and the sum of negative weights are close to each other.

[0268] Based on this trend, the minimum value of the product-sum arithmetic value can be roughly predicted by the positive weight ratio. The amount of buried thermal noise can be effectively reduced while reducing power consumption.

[0269] Specifically, as more positive weight ratios of the plurality of analog circuits 3 are distributed close to 50%, the input period T is set longer. Therefore, the amount of buried noise can be reduced, and the product-sum arithmetic result can be accurately detected. In addition, the input period T can be prevented from becoming longer than necessary. That is, the input period T can be appropriately adjusted, and the level of the product-sum signal can be increased while reducing power consumption and processing time.

[0270] For example, in the case of constructing a neural network, etc., parameters such as the number of inputs, the number of outputs, weight values, and weight ratios are generally determined by understanding the processing of a computer such as a server device. By appropriately designing the analog circuit 3 based on the determined parameters, an arithmetic device 100 capable of performing desired product-sum arithmetic is realized.

[0271] For example, during the design of the analog circuit 3, the input time T is set based on the distribution of the positive weight ratios of the plurality of analog circuits 3 according to the determined parameters. For example, the input period T is set based on at least one of the average value and the variance of the positive weight ratios of the plurality of analog circuits 3.

[0272] Specifically, as more positive weight ratios of multiple analog circuits 3 are distributed close to 50%, the input time T is set longer. For example, as the average value of the positive weight ratios of multiple analog circuits 3 becomes closer to 50%, the input time T is set longer. In addition, in the case where the average value of the positive weight ratios of multiple analog circuits 3 is close to 50%, as the variance of the positive weight ratio is smaller, the input period T is set longer. By performing such a setting method, the level of the product accumulation signal output from each analog circuit 3 can be increased while reducing power consumption. Therefore, the arithmetic result can be accurately detected.

[0273] [Noise burying determination circuit]

[0274] Fig.13 1 is a schematic diagram showing a configuration example of a noise burying determination circuit. For example, a noise burying determination circuit 40 for determining the number of analog circuits 3 each having a high probability that a multiplication-addition signal output from a neuron circuit 9 is lower than a noise level is provided in the arithmetic device 100. The input period T can be set based on the number of analog circuits 3 having a high probability that a multiplication-addition signal output from a neuron circuit 9 is lower than a noise level among a plurality of analog circuits 3.

[0275] Here, using Figure 8 The analog circuit 3 is configured before the differential amplifier circuit 23 shown in the figure. That is, assuming Fig.13 Each neuron circuit 9 shown includes Figure 8 The switches 16a and 16b, the capacitors 13a and 13b, and the differential amplifier circuit 23 shown in the figure output a charge (V + -V - ) as the product-accumulation signal.

[0276] That is, in the present technology, the product accumulation signal representing the sum of the product values ​​includes not only Figure 7 The product-accumulate signal "S n (t)" (pulse signal), and includes a charge (V + -V - )’s charge signal (voltage signal).

[0277] In addition, it is assumed that a binary connection configuration is adopted. That is, resistors having the same resistance value are used as the resistor 17.

[0278] like Fig.13 As shown, the noise burying determination circuit 40 includes a positive charge output line 41 a , a negative charge output line 41 b , a plurality of synapse circuits 42 , a neuron circuit 43 , and a plurality of comparators 44 .

[0279] As in the plurality of analog circuits 3 , the positive charge output line 41 a and the negative charge output line 41 b are disposed so as to be orthogonal to the plurality of input signal lines 6 . Fig.13 It is shown that the same test signal is input to the plurality of analog circuits 3 and the noise burying determination circuit 40. As an actual configuration, the plurality of analog circuits 3 and the noise burying determination circuit 40 (parts other than the plurality of comparators 44) are configured in parallel with each other with respect to the common input signal line 6. The present technology is not limited thereto, and the noise burying determination circuit 40 may be configured not to be connected to the plurality of analog circuits 3.

[0280] A plurality of synapse circuits 42 are provided to be associated with the plurality of input signal lines 6, respectively. Each of the plurality of synapse circuits 42 includes a shared resistor 45 connected between a corresponding input signal line 6 among the plurality of input signal lines 6 and the positive charge output line 41a and between a corresponding input signal line 6 among the plurality of input signal lines 6 and the negative charge output line 41b. Such a resistor 45 may have nonlinear characteristics and may have a function of preventing current from flowing back. The resistance value of the resistor 45 is the same as the resistance value of the resistor 17 provided in the analog circuit 3.

[0281] Therefore, each synaptic circuit 42 generates and outputs the product value (w i + *x i ). In addition, each synaptic circuit 42 generates and outputs a charge corresponding to the product value (|w i - |*x i That is, in the noise embedding determination circuit 40, the charge corresponding to the product value (w i + *x i ) and the product value (|w i - |*x i ) are all outputted from each synaptic circuit 42. In this embodiment, a plurality of synaptic circuits 42 are used as a plurality of determination product units.

[0282] The neuron circuit 43 has a configuration similar to that of the neuron circuit 9 of the analog circuit 3. That is, the neuron circuit 43 includes Figure 8 The switches 16a and 16b, the capacitors 13a and 13b, and the differential amplifier circuit 23 shown in FIG. 1 , and the charge (V + -V - ) is used as a confirmation signal.

[0283] A plurality of comparators 44 are provided so as to be respectively associated with a plurality of analog circuits 3. One terminal of the comparator 44 is connected to the output of the corresponding analog circuit 3. The output of the noise burying determination circuit 40 is connected to the other terminal of the comparator 44.

[0284] In this embodiment, the comparator 44 outputs a signal when the potential as the product-accumulation signal output from each analog circuit 3 exceeds the potential as the determination signal output from the noise burying determination circuit 40. Of course, the present technology is not limited to this, and the comparator 44 may also output a signal when the potential as the determination signal output from the noise burying determination circuit 40 exceeds the potential as the product-accumulation signal output from each analog circuit 3.

[0285] In this embodiment, a plurality of comparators 44 are used as a determination unit for determining the number of multiplication-accumulation signals that are smaller than a determination signal among a plurality of multiplication-accumulation signals output from a plurality of analog circuits 3. In this embodiment, the number obtained by subtracting the number of comparators 44 having output signals from the total number of analog circuits 3 is the number of multiplication-accumulation signals that are smaller than the determination signal.

[0286] Fig.14 An example of a test signal is schematically shown. When determining the buried noise amount, electrical signals corresponding to the same input value are input to a plurality of input signal lines 6. Fig.14 In the example shown, a PWM signal having a pulse width of T / 2 is used as a test signal. The present technology is not limited thereto, and any electrical signal corresponding to the same input value may be used.

[0287] When the test signal is input to the plurality of input signal lines 6, the charge (V + -V - ) is output from each analog circuit 3 as a product-accumulation signal. (V + -V - ) is output from the noise burying determination circuit 40 as a determination signal.

[0288] like Fig.13 As shown, in the noise burying determination circuit 40, the same resistor 45 is connected to the positive side and the negative side in each synaptic circuit 42. The charge (V + -V - ) can be regarded as the noise component. Therefore, determining the size of the signal can be regarded as the noise level.

[0289] The plurality of comparators 44 determine the number of analog circuits 3 in which the product-addition signal is below the noise level. Based on the number determined by the plurality of comparators 44 when the test signal is input to the plurality of input signal lines 6, the number of analog circuits 3 having a high possibility that the product-addition signal output from the neuron circuit 9 is below the noise level among the plurality of analog circuits 3 can be determined.

[0290] It can also be said that the noise burying determination circuit 40 is a circuit capable of detecting the number of outputs "Mx" of the outputs of the respective analog circuits 3 being equal to or lower than the detection limit. The duration of the input period T is controlled based on the ratio of the number of outputs "Mx" to the total number "M" of the analog circuits 3. For example, in the case where the ratio of the number of outputs "Mx" to the total number "M" is greater than a predetermined threshold, the input period T is set longer. Therefore, the amount of buried noise can be reduced, and the product-sum arithmetic result can be accurately detected.

[0291] It should be noted that a circuit may be configured that can automatically set the input period T and the threshold θ based on outputs from the plurality of comparators 44. Alternatively, an operator or the like may set the input period T and the threshold θ during design of the arithmetic device 100.

[0292] When the general Figure 7 When the pulse signal shown is output as a multiplication-accumulation signal, the noise burying determination circuit 40 can also be implemented. The pulse width of the pulse signal output as the multiplication-accumulation signal from each analog circuit 3 is compared with the pulse width of the pulse signal output as the determination signal by the noise burying determination circuit 40. Therefore, the number of analog circuits 3 having a high possibility that the multiplication-accumulation signal output from the neuron circuit 9 is lower than the noise level can be determined among the plurality of analog circuits 3.

[0293] In addition, the noise burying determination circuit 40 can also be realized without adopting a binary connection configuration. For example, both positive weights and negative weights having the same value are configured in the determination product unit of the noise burying determination circuit 40. Therefore, the noise burying determination circuit 40 capable of outputting a determination signal corresponding to the noise component can be realized. .

[0294] Fig.15 is a schematic diagram showing an example of a configuration of a neural network. Fig.15 As shown, the neural network is implemented by performing multiple product-sum arithmetic, multiple normalization processes, and multiple pooling processes.

[0295] Here, the product-sum arithmetic corresponds to the output of a plurality of product-addition results of the arithmetic device 100 including a plurality of analog circuits 3. Normalization processing is processing for normalizing input signals so as to input the product-sum arithmetic at the next stage. Merging processing is processing for reducing the number of input signals according to the number of inputs of the product-sum arithmetic at the next stage. By normalization processing and merging processing, processing can be simplified and processing time can be shortened.

[0296] like Fig.12 As shown, when each product-sum arithmetic is performed, the input period T and the threshold value θ can be optimized based on the distribution of the positive weight ratios of the plurality of analog circuits 3 and the determination result of the buried noise amount. As a result, the product-sum arithmetic result can be detected with very high accuracy.

[0297] It should be noted that Fig.12 , a case where the arithmetic device 100 for performing each of the product-sum arithmetic 1 to the product-sum arithmetic 8 is composed of a plurality of analog circuits 3 designed with a common time constant is shown. Therefore, the input period T and the threshold value θ are set in each arithmetic device 100 based on the common time constant of the curve. Fig.12 , the input period T is set to be different in each arithmetic device 100. The present technology is not limited thereto, and a common input period T and a common threshold value θ may be employed.

[0298] Of course, the arithmetic device 100 is composed of analog circuits 3 each having another configuration, and can perform product-sum arithmetic. In this case as well, based on the distribution of the positive weight ratios of the plurality of analog circuits 3 and the determination result of the buried noise amount, by appropriately setting the input period T and the threshold θ, the arithmetic result can be accurately detected.

[0299] In the above, in the arithmetic device 100 according to the present embodiment, the duration of the input period of the electric signal corresponding to the input value is set based on the distribution of the positive weight ratio of the plurality of analog circuits 3. Therefore, the level of the product-addition signal output from each analog circuit 3 can be increased while reducing the power consumption. As a result, the arithmetic result can be accurately detected.

[0300] <Other embodiments>

[0301] The present technology is not limited to the above-described embodiments, and various other embodiments can be implemented.

[0302] In the above description, the case where a multiplication accumulation signal is output based on the moment when the voltage maintained by the accumulation unit increases to above the threshold value has been illustrated. However, a configuration in which a multiplication accumulation signal is output based on the moment when the voltage maintained by the accumulation unit decreases to below the threshold voltage can be adopted. For example, charging is performed in advance until the voltage of the capacitor used as the accumulation unit reaches a predetermined preset value. After accumulating the sum of the charges corresponding to the product values ​​of the signal value and the weight value, the capacitor is discharged at a predetermined rate. In this case, the multiplication accumulation signal can be output based on the moment when the voltage maintained by the capacitor decreases to below the threshold value. Of course, the present technology is not limited to this configuration. It should be noted that in the present disclosure, discharging a capacitor is included in charging the capacitor with a negative charge.

[0303] In the above description, the case of using a pair of output lines has been described. The present technology is not limited to this, and three or more output lines can be set. That is, the present technology described above can also be applied to the case of using one or more arbitrary numbers of output lines. For example, the product unit includes a resistor, which is connected between the associated input line and any one of the one or more output lines and defines a weight value, and the product unit outputs a charge corresponding to the product value to the output line to which the resistor is connected. Of course, the present technology is not limited to this.

[0304] The configurations of the arithmetic device, product-sum arithmetic device, analog circuit, synaptic circuit, neuron circuit, etc. described above with reference to the drawings, the method of generating the product-sum signal, etc. are only embodiments and can be arbitrarily modified without departing from the gist of the present technology. That is, any other configuration, method, etc. for executing the present technology can be adopted.

[0305] In the present disclosure, “same”, “equal”, “orthogonal”, etc. are concepts including “substantially the same”, “substantially equal”, “substantially orthogonal”, etc. For example, a state in which reference is made to “completely the same”, “completely equal”, “completely orthogonal”, etc., is included within a predetermined range (e.g., a range of ±10%).

[0306] At least two of the features of the present technology described above may also be combined. In other words, the various features described in the various embodiments may be arbitrarily combined regardless of the embodiments. In addition, the various effects described above are not restrictive, but merely illustrative, and other effects may be provided.

[0307] It should be noted that the present technology can also adopt the following configurations.

[0308] (1) An arithmetic device comprising:

[0309] a plurality of input lines, an electrical signal corresponding to an input value being input to each of the plurality of input lines within a predetermined input period; and

[0310] A plurality of sum-of-product arithmetic devices, each sum-of-product arithmetic device comprising:

[0311] a plurality of product units each of which generates a charge corresponding to a product value obtained by multiplying an input value by a weight value based on an electrical signal input into each of the plurality of input lines, and

[0312] an output unit that accumulates the charges corresponding to the product values ​​generated by each of the plurality of product units and outputs a product-accumulation signal representing the sum of the product values ​​based on the accumulated charges, in each of the product-sum arithmetic devices,

[0313] The plurality of product units include at least one of a positive weight product unit that generates a positive weight charge corresponding to a product value obtained by multiplying an input value by a positive weight value and a negative weight product unit that generates a negative weight charge corresponding to a product value obtained by multiplying an input value by a negative weight value, and the plurality of product units are configured so that a positive weight ratio, which is a ratio of a sum of the positive weight values ​​to a sum of the absolute values ​​of the weight values, is any ratio of 0% to 100%, and

[0314] The output unit accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, thereby outputting a product accumulation signal, wherein,

[0315] The duration of the input period is set based on the distribution of positive weight ratios of the plurality of product-sum arithmetic devices.

[0316] (2) An arithmetic device according to (1), wherein

[0317] The electrical signal corresponding to the input value is a pulse signal, the duration of the on-time of the pulse signal relative to the input period corresponds to the input value.

[0318] (3) An arithmetic device according to (1) or (2), wherein:

[0319] The duration of the input period is set based on at least one of a mean value and a variance of the positive weight ratios.

[0320] (4) An arithmetic device according to any one of (1) to (3), wherein:

[0321] As the positive weight ratio is closer to the 50% distribution, the duration of the input period is set longer.

[0322] (5) An arithmetic device according to any one of (1) to (4), wherein:

[0323] As the average value of the positive weight ratios is closer to 50%, the duration of the input period is set longer.

[0324] (6) An arithmetic device according to any one of (1) to (5), wherein:

[0325] As the average value of the positive weight ratios is closer to 50%, the duration of the input period is set longer.

[0326] (7) An arithmetic device according to any one of (1) to (6), wherein:

[0327] The duration of the input period is set based on the number of product-sum arithmetic devices having a high probability that a product-addition signal output from the output unit is lower than a noise level among the plurality of product-sum arithmetic devices.

[0328] A determination circuit is configured to determine the number of product-sum arithmetic devices having a high probability that a product-sum accumulation signal output from an output unit is lower than a noise level among a plurality of product-sum arithmetic devices.

[0329] (9) An arithmetic device according to (8), wherein

[0330] Determine the circuit includes:

[0331] a plurality of determination product units, each determination product unit generating a positive weight charge corresponding to a product value obtained by multiplying the input value by the positive weight value and a negative weight charge corresponding to a product value obtained by multiplying the input value by the negative weight value, the absolute value of the negative weight value being equal to the positive weight value, based on an electrical signal input into each of the plurality of input lines;

[0332] a determination output unit that outputs a determination signal based on charges corresponding to a difference between a total amount of positive weight charges respectively generated by a plurality of determination product units and a total amount of negative weight charges respectively generated by a plurality of determination product units; and

[0333] A determination unit is configured to determine the number of product-addition signals smaller than a determination signal among a plurality of product-addition signals output from a plurality of arithmetic devices.

[0334] (10) An arithmetic device according to (9), wherein

[0335] The number of multiplication-addition arithmetic devices having a high probability of having a product-accumulation signal below a noise level output from an output unit is determined based on the number of multiplication-accumulation devices having a product-accumulation signal below a noise level output from the output unit determined by a determination unit when electrical signals corresponding to the same input value are input into a plurality of input lines.

[0336] (11) An arithmetic device according to any one of (1) to (10), wherein:

[0337] The output unit includes an accumulation unit, which accumulates at least one of the positive weight charges generated by the positive weight product unit and the negative weight charges generated by the negative weight product unit, and the output unit performs threshold determination on the voltage maintained by the accumulation unit with a predetermined threshold, thereby outputting a product accumulation signal representing the sum of the product values.

[0338] (12) An arithmetic device according to (11), wherein

[0339] The accumulation unit includes: a positive charge accumulation unit capable of accumulating positive weighted charges generated by the positive weighted product unit; a negative charge accumulation unit capable of accumulating negative weighted charges generated by the negative weighted product unit; and

[0340] The output unit performs threshold determination on each of the positive charge accumulation unit and the negative charge accumulation unit using a predetermined threshold value, thereby outputting a product-accumulation signal.

[0341] (13) An arithmetic device according to (11) or (12), wherein

[0342] The predetermined threshold is set based on the duration of the input period.

[0343] (14) An arithmetic device according to any one of (1) to (13), wherein:

[0344] The absolute values ​​of positive weights and negative weights are fixed to the same value, and

[0345] The positive weight ratio is the ratio of the number of positive weight product units to the number of product units.

[0346] (15) An arithmetic device according to any one of (1) to (14), wherein:

[0347] Each of the plurality of product-sum arithmetic devices includes a positive charge output line and a negative charge output line,

[0348] A plurality of product units are arranged to be associated with a plurality of input lines,

[0349] The positive weight product unit includes a resistor connected between an associated input line among the plurality of input lines and a positive charge output line, defines a positive weight value, has a nonlinear characteristic, and outputs a positive weight charge corresponding to the product value to the positive charge output line, and

[0350] The negative weight product unit includes a resistor connected between an associated input line among the plurality of input lines and a negative charge output line, defines a negative weight value, has a nonlinear characteristic, and outputs a negative weight charge corresponding to the product value to the negative charge output line.

[0351] (16) An arithmetic device according to (15), wherein

[0352] The resistor of the positive weight product unit and the resistor of the negative weight product unit have the same resistance value, and

[0353] The positive weight ratio is a ratio of the number of resistors of the positive weight product unit to the total number of resistors.

[0354] (17) An arithmetic device according to any one of (8) to (10), wherein:

[0355] Determine that the circuit includes a positive charge output line and a negative charge output line,

[0356] A plurality of deterministic product units are arranged to be associated with a plurality of input lines, and

[0357] Each of the plurality of product determination units includes a common resistor connected to each of a portion between an associated input line among the plurality of input lines and a positive charge output line and a portion between an associated input line among the plurality of input lines and a negative charge output line, and the common resistor has a nonlinear characteristic.

[0358] (18) A product-sum arithmetic device according to any one of (15) to (17), wherein:

[0359] The resistor is a fixed resistance element, a variable resistance element, or a MOS transistor operating in a subthreshold region.

[0360] (19) A product-sum arithmetic system comprising:

[0361] a plurality of input lines, an electrical signal corresponding to an input value is input to each of the plurality of input lines within a predetermined input period,

[0362] Multiple analog circuits, each analog circuit comprising:

[0363] a plurality of product units, each of which generates a charge corresponding to a product value obtained by multiplying an input value by a weight value based on an electrical signal input into each of the plurality of input lines,

[0364] an output unit that accumulates the charges corresponding to the product values ​​generated by each of the plurality of product units and outputs a product-accumulated signal indicating the sum of the product values ​​based on the accumulated charges, in each analog circuit,

[0365] The plurality of product units include at least one of a positive weight product unit that generates a positive weight charge corresponding to a product value obtained by multiplying an input value by a positive weight value and a negative weight product unit that generates a negative weight charge corresponding to a product value obtained by multiplying an input value by a negative weight value, and the plurality of product units are configured so that a positive weight ratio, which is a ratio of a sum of the positive weight values ​​to a sum of the absolute values ​​of the weight values, is any ratio of 0% to 100%, and

[0366] The output unit accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, thereby outputting a product accumulation signal; and

[0367] A network circuit is configured by connecting a plurality of analog circuits, wherein:

[0368] The duration of the input period is set based on the distribution of the positive weight ratios of the plurality of analog circuits.

[0369] (20) A setting method comprising:

[0370] An input period for inputting an electrical signal into a plurality of input lines is set based on distribution of positive weight ratios of a plurality of product-sum arithmetic devices, each of the product-sum arithmetic devices comprising:

[0371] a plurality of product units, each of which generates a charge corresponding to a product value obtained by multiplying the input value by a weight value based on an electric signal corresponding to the input value input to each of the plurality of input lines,

[0372] an output unit that accumulates the charges corresponding to the product values ​​generated by each of the plurality of product units and outputs a product-accumulation signal representing the sum of the product values ​​based on the accumulated charges, in each of the product-sum arithmetic devices,

[0373] The plurality of product units include at least one of a positive weight product unit that generates a positive weight charge corresponding to a product value obtained by multiplying an input value by a positive weight value and a negative weight product unit that generates a negative weight charge corresponding to a product value obtained by multiplying an input value by a negative weight value, and the plurality of product units are configured so that a positive weight ratio, which is a ratio of a sum of the positive weight values ​​to a sum of the absolute values ​​of the weight values, is any ratio of 0% to 100%, and

[0374] The output unit accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, thereby outputting a product accumulation signal.

[0375] Reference Numbers List

[0376] T Input period

[0377] θ threshold

[0378] 1 Signal line

[0379] 3 Analog Circuit

[0380] 6 Input signal line

[0381] 7 A pair of output wires

[0382] 7a Positive charge output line

[0383] 7b Negative charge output line

[0384] 8 Synaptic circuit (product unit)

[0385] 8a Synaptic circuit (positive weight product unit)

[0386] 8b Synaptic Circuit (Negative Weight Product Unit)

[0387] 9 Neuronal Circuits

[0388] 10 Output signal line

[0389] 11 Accumulation Unit

[0390] 12 Signal output unit

[0391] 13. Capacitor

[0392] 17 Resistors

[0393] 20 Comparator

[0394] 21 Signal generation unit

[0395] 23 Differential amplifier circuit

[0396] 40 Noise Buried Determination Circuit

[0397] 41a Noise burying the positive charge output line of the determination circuit

[0398] 41b Noise burying the negative charge output line of the determination circuit

[0399] 42 Noise burying the synaptic circuit of the determination circuit

[0400] 43 Noise burying circuits determining neuronal circuits

[0401] 44 Comparator of noise burying determination circuit

[0402] 45 Noise burying resistors in determination circuits

[0403] 100 Arithmetic Devices.

Claims

1. An arithmetic device comprising: a plurality of input lines, an electrical signal corresponding to an input value being input into each of the plurality of input lines within a predetermined input period; as well as A plurality of sum-of-product arithmetic devices, each sum-of-product arithmetic device comprising: a plurality of product units, each of which generates a charge corresponding to a product value obtained by multiplying the input value by a weight value based on the electrical signal input into each of the plurality of input lines, and an output unit that accumulates the charges corresponding to the product values ​​generated by each of the plurality of product units and outputs a product-accumulation signal representing the sum of the product values ​​based on the accumulated charges, wherein in each of the product-sum arithmetic devices, The plurality of product units include at least one of a positive weight product unit and a negative weight product unit, the positive weight product unit generating a positive weight charge corresponding to a product value obtained by multiplying the input value by the positive weight value, and the negative weight product unit generating a negative weight charge corresponding to a product value obtained by multiplying the input value by the negative weight value, and the plurality of product units are configured so that a positive weight ratio is any ratio between 0% and 100%, the positive weight ratio being a ratio of a sum of the positive weight values ​​to a sum of absolute values ​​of the weight values, and The output unit accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, thereby outputting the product accumulation signal, wherein, The duration of the input period is set based on the distribution of the positive weight ratios of the plurality of product-sum arithmetic devices.

2. The arithmetic device according to claim 1, wherein: The electrical signal corresponding to the input value is a pulse signal, and the duration of the on-time of the pulse signal relative to the input period corresponds to the input value.

3. The arithmetic device according to claim 1, wherein: The duration of the input period is set based on at least one of a mean value and a variance of the positive weight ratios.

4. The arithmetic device according to claim 1, wherein: As the positive weight ratio is closer to a 50% distribution, the duration of the input period is set longer.

5. The arithmetic device according to claim 1, wherein: As the average value of the positive weight ratios is closer to 50%, the duration of the input period is set longer.

6. The arithmetic device according to claim 1, wherein: In a case where the average value of the positive weight ratio is close to 50%, as the variance of the positive weight ratio is smaller, the duration of the input period is set longer.

7. The arithmetic device according to claim 1, wherein: The duration of the input period is set based on the number of product-sum arithmetic devices among the plurality of product-sum arithmetic devices for which there is a high probability that the product-addition signal output from the output unit is below a noise level.

8. The arithmetic device according to claim 7, further comprising: A determination circuit is configured to determine the number of the product-sum arithmetic devices having a high probability that the product-sum signal output from the output unit is lower than the noise level among the plurality of product-sum arithmetic devices.

9. The arithmetic device according to claim 8, wherein: The determining circuit comprises: a plurality of product determination units, each product determination unit generating a positive weight charge and a negative weight charge based on the electrical signal input into each of the plurality of input lines, the positive weight charge corresponding to a product value obtained by multiplying the input value by a positive weight value, the negative weight charge corresponding to a product value obtained by multiplying the input value by a negative weight value, the absolute value of the negative weight value being equal to the positive weight value; a determination output unit that outputs a determination signal based on charges corresponding to a difference between a total amount of the positive weight charges respectively generated by the plurality of determination product units and a total amount of the negative weight charges respectively generated by the plurality of determination product units; and A determination unit for determining the number of product-addition signals smaller than the determination signal among the plurality of product-addition signals output from the plurality of product-sum arithmetic devices.

10. The arithmetic device according to claim 9, wherein The number of the multiplication-accumulation arithmetic devices having a high probability that the product-accumulation signal output from the output unit is lower than the noise level is determined based on the number of the multiplication-accumulation devices having a probability that the product-accumulation signal output from the output unit is lower than the noise level, which is determined by the determination unit when electrical signals corresponding to the same input value are input into the plurality of input lines.

11. The arithmetic device according to claim 1, wherein: The output unit includes an accumulation unit, which accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, and the output unit performs threshold determination on the voltage maintained by the accumulation unit with a predetermined threshold value, thereby outputting the product accumulation signal representing the sum of the product values.

12. The arithmetic device according to claim 11, wherein The accumulation unit includes: a positive charge accumulation unit capable of accumulating the positive weighted charge generated by the positive weighted product unit; a negative charge accumulation unit capable of accumulating the negative weighted charge generated by the negative weighted product unit; and The output unit performs the threshold determination on each of the positive charge accumulation unit and the negative charge accumulation unit using the predetermined threshold value, thereby outputting the product-added signal.

13. The arithmetic device according to claim 11, wherein The predetermined threshold is set based on the duration of the input period.

14. The arithmetic device according to claim 1, wherein The positive weight value and the absolute value of the negative weight value are fixed to the same value, and The positive weight ratio is the ratio of the number of the positive weight product units to the number of product units.

15. The arithmetic device according to claim 1, wherein Each of the plurality of product-sum arithmetic devices includes a positive charge output line and a negative charge output line, The plurality of product units are arranged to be associated with the plurality of input lines, The positive weight product unit includes a resistor connected between an associated input line among the plurality of input lines and the positive charge output line, defining the positive weight value, having a nonlinear characteristic, and outputting the positive weight charge corresponding to the product value to the positive charge output line, and The negative weight product unit includes a resistor connected between an associated input line among the plurality of input lines and the negative charge output line, defining the negative weight value, and having a nonlinear characteristic, and outputs the negative weight charge corresponding to the product value to the negative charge output line.

16. The arithmetic device according to claim 15, wherein The resistor of the positive weight product unit and the resistor of the negative weight product unit have the same resistance value, and The positive weight ratio is a ratio of the number of the resistors of the positive weight product unit to the total number of resistors.

17. The arithmetic device according to claim 8, wherein: The determination circuit includes a positive charge output line and a negative charge output line, A plurality of determined product units are arranged to be associated with the plurality of input lines, and Each of the plurality of product determination units includes a common resistor connected to each of a portion between an associated input line among the plurality of input lines and the positive charge output line, and a portion between an associated input line among the plurality of input lines and the negative charge output line, and the common resistor has a nonlinear characteristic.

18. The arithmetic device according to claim 15, wherein: The resistor is a fixed resistance element, a variable resistance element, or a MOS transistor operating in a subthreshold region.

19. A product-sum arithmetic system comprising: a plurality of input lines, an electrical signal corresponding to an input value is input to each of the plurality of input lines within a predetermined input period, Multiple analog circuits, each analog circuit comprising: a plurality of product units, each of which generates a charge corresponding to a product value obtained by multiplying the input value by a weight value based on the electrical signal input into each of the plurality of input lines, an output unit that accumulates the charges corresponding to the product values ​​generated by each of the plurality of product units and outputs a product-accumulated signal representing the sum of the product values ​​based on the accumulated charges, wherein in each of the analog circuits, The plurality of product units include at least one of a positive weight product unit and a negative weight product unit, the positive weight product unit generating a positive weight charge corresponding to a product value obtained by multiplying the input value by the positive weight value, and the negative weight product unit generating a negative weight charge corresponding to a product value obtained by multiplying the input value by the negative weight value, and the plurality of product units are configured so that a positive weight ratio is any ratio between 0% and 100%, the positive weight ratio being a ratio of a sum of the positive weight values ​​to a sum of absolute values ​​of the weight values, and The output unit accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, thereby outputting the product accumulation signal; and A network circuit is configured by connecting the plurality of analog circuits, wherein: The duration of the input period is set based on the distribution of the positive weight ratios of the plurality of analog circuits.

20. A setting method, comprising: An input period for inputting an electrical signal into a plurality of input lines is set based on distribution of positive weight ratios of a plurality of product-sum arithmetic devices, each of the product-sum arithmetic devices comprising: a plurality of product units, each of which generates, based on an electrical signal corresponding to an input value input to each of the plurality of input lines, a charge corresponding to a product value obtained by multiplying the input value by a weight value, an output unit that accumulates the charges corresponding to the product values ​​generated by each of the plurality of product units and outputs a product-accumulation signal representing the sum of the product values ​​based on the accumulated charges, wherein in each of the product-sum arithmetic devices, The plurality of product units include at least one of a positive weight product unit and a negative weight product unit, the positive weight product unit generates a positive weight charge corresponding to a product value obtained by multiplying the input value by the positive weight value, and the negative weight product unit generates a negative weight charge corresponding to a product value obtained by multiplying the input value by the negative weight value, and the plurality of product units are configured so that the positive weight ratio is any ratio between 0% and 100%, the positive weight ratio being a ratio of a sum of the positive weight values ​​to a sum of absolute values ​​of the weight values, and The output unit accumulates at least one of the positive weight charge generated by the positive weight product unit and the negative weight charge generated by the negative weight product unit, thereby outputting the product accumulation signal.

Citation Information

Patent Citations

  • Multiplier-accumulator

    WO2018034163A1

  • Operation circuit and operation control method thereof

    CN1867888A

  • Product-sum operation circuit and method

    CN1998012A

  • Operation circuit and operation control method thereof

    US20050122238A1