Analog integrated circuit for Bayesian classification of an electrical signal
The Bayesian inference integrated circuit with physical impulse neurons enables low-power, wearable health monitoring by classifying physiological signals efficiently, addressing the limitations of conventional systems.
Patent Information
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- ECOLE POLYTECHNIQUE
- Filing Date
- 2024-10-14
- Publication Date
- 2026-04-17
AI Technical Summary
Conventional health monitoring systems are bulky and require external processing units, leading to high power consumption and limited mobility for patients.
A Bayesian inference integrated circuit with physical impulse neurons and stochastic computing circuits for low-power analysis of physiological signals, enabling classification without external processing units.
The circuit provides advanced processing capabilities with low power consumption, allowing integration into wearable devices for continuous monitoring.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Title of the invention: Analog integrated circuit for Bayesian classification of an electrical signal
[0001] The present invention relates to the technical field of integrated circuits used for Bayesian classification of data resulting from physical measurements and, in a preferred but not exclusive application, to the field of integrated circuits used for the processing and classification of measurements of physiological quantities such as, for example, in the context of electroencephalograms.
[0002] Over the past few decades, the rapid development of electronics, the Internet of Things (IoT), body networks (BAN), cloud computing, biocompatible materials and nanomaterials has led to the development of portable devices for monitoring and / or measuring physiological quantities, the processing and analysis of which is carried out by remote servers, cloud computing.
[0003] Conventional health monitoring systems (e.g., a blood pressure monitor) are generally found in hospitals; they are bulky or fixed, so that it is often difficult or even impossible for the patients whose physiological quantities they measure to have a normal activity or an activity other than that related to therapeutic monitoring.
[0004] To overcome this drawback, new portable and personal physiological monitoring devices are emerging. These devices generally comprise a wearable device or accessory, such as a watch, glasses, or a bracelet, which communicates wirelessly with a computing and processing unit that analyzes the data, usually using artificial intelligence algorithms. While such devices improve patient comfort, they have the disadvantages of, firstly, relatively high power consumption requiring regular recharging and, secondly, dependence on remote and separate physiological data processing and analysis units.
[0005] It has therefore arisen that there is a need for new electronic devices or circuits for analyzing physical and especially physiological quantities which remedy the aforementioned disadvantages and have low or even very low power consumption and are able to carry out the analysis of measured physiological data without the use of external processing units.
[0006] In order to achieve these objectives, the invention relates to a Bayesian inference integrated circuit, referred to as a Bayesian circuit, for determining the probability of a signal to be classified S belonging to one of at least two behavior classes Ci on the based on at least one characteristic Fj of the signal to be classified S, characterized in that the Bayesian circuit comprises: • for each characteristic Fj, at least one input Ej receiving an electrical signal characteristic SFj representative of the characteristic Fj for the signal to be classified S, • for each behavior class Ci: • and for each characteristic Fj, a likelihood circuit receiving as input the characteristic electrical signal SFj and comprising a conversion circuit converting the characteristic signal SFj into another characteristic signal sFj converted on the basis of a distribution law of the characteristic Fj in relation to the behavior class Ci and a physical likelihood impulse neuron receiving the converted characteristic signal sFj and delivering an impulse electrical signal FjCi representative of the likelihood of the characteristic Fj belonging to the behavior class Ci, • a physical impulse neuron with learned probability, one input of which receives an electrical quantity Pi whose value is the result of prior learning, and one output of which delivers an impulse signal PCi representing the probability of the signal to be classified S belonging to the behavior class Ci resulting from prior learning, • a stochastic computing circuit receiving as input the impulse signal PCi and each impulse signal FjCi and delivering as output an electrical signal SCi representative of the probability of the signal S belonging to class Ci, • a comparison circuit receiving each electrical signal SCi and delivering at output an electrical classification signal RCi corresponding to that of the classes Ci for which the signal to be classified S has the greatest probability of belonging.
[0007] The integrated circuit according to the invention has the advantage of being simple in design while possessing advanced processing capabilities that enable analysis performance comparable to that obtained with purely software solutions running on microprocessor systems, and this with a much smaller number of elementary circuits. Thus, the invention allows for implementation in devices that can be incorporated into clothing or worn like clothing, and that have low power consumption. These advantages stem in particular from the implementation of neurons physical artificial neurons, that is to say electronic artificial neurons each made up of a small number of transistors as opposed to artificial neurons emulated by programs running on microprocessor units.
[0008] In the context of the invention, physical impulse neurons deliver impulses according to a pattern whose frequency increases with the intensity of the input signal. This model is the most common neurocomputational characteristic and can be implemented by many known artificial neuron models. Among these, the Axon-Hillock circuit, originally proposed by C. Mead, can be mentioned and is considered one of the simplest and most optimal.
[0009] The invention operates with "simple" electrical signals, current or voltage, without these being digitized, that is to say, converted into binary signals. For the purposes of the invention, an electrical signal is a signal carrying information in the form of voltage and / or current, that is to say, in which at least one of these two physical quantities varies over time. In the context of the invention, the term "voltage" is equivalent to "potential difference," while the term "current" is equivalent to "intensity."
[0010] According to one feature of the invention, each likelihood circuit delivers a signal as a function of the probability of the input signal belonging to the corresponding behavior class, the probability being governed by a normal distribution law whose central value is defined by a normal voltage and a maximum voltage, and comprises a circuit, of the BUMP type, adapted to correlate two input voltages on the basis of a bias voltage of which a first input voltage corresponds to the normal voltage, a second input voltage is the corresponding characteristic signal SFj and a bias voltage is the maximum voltage and which delivers at the output a current constituting the converted characteristic signal sFj supplied to the likelihood impulse neuron.
[0011] According to a variant of this feature, each BUMP-type voltage correlation circuit comprises: • a first voltage input which is connected to a source of normal voltage, • a second voltage input which is connected to the second input terminal, • a first field-effect correlation transistor having first and second principal terminals and a control terminal, • a second field-effect correlation transistor having a first main terminal connected to the second main terminal of the first correlation transistor, a second main terminal connected to a supply voltage source, and a control terminal, • a third field-effect correlation transistor having a first main terminal, a second main terminal connected to the supply voltage source, and a control terminal connected to the control terminal of the first correlation transistor, • a fourth field-effect correlation transistor having a first main terminal, a second main terminal connected to the supply voltage source, and a control terminal connected to the control terminal of the second correlation transistor, • a first field-effect input transistor having a first main terminal connected to the first main terminal and a control terminal of the third correlation transistor, a second main terminal connected to a common node, and a control terminal connected to the first voltage input node, • a second field-effect input transistor having a first main terminal connected to the first main terminal and a control terminal of the fourth correlation transistor, a second main terminal connected to the common node, and a control terminal connected to the second input, • a third input field-effect transistor having a first main terminal connected to the common node, a second main terminal connected to a supply voltage source and a control terminal connected to a source of the bias voltage as a function of the normal current.
[0012] According to the invention, the signal to be classified is not necessarily an electrical signal, in which case it is implemented upstream of the circuit. According to the invention, means for converting the signal to be classified into an electrical signal are used. Such means may, for example, include sensors such as sensors for physiological quantities: heart rate, cerebral electrical activity, blood pressure, etc. In the context of the invention, the term "sensor" refers at a minimum to a transducer but also includes, where applicable, all the elements necessary for the operation of the transducer and for the output of the electrical signal representing the signal to be classified. In the context of the invention, the electrical signal representing the signal to be classified is an electrical signal that can be described as an analog signal, as opposed to a digital signal whose information is coded in binary or other form.At the stage of its supply to the circuit according to the invention, that is to say at its input, the signal is an electrical signal. Thus, in the context of the invention, the expressions "signal to be classified" and "electrical signal to be classified" are equivalent and may be used interchangeably.
[0013] As previously stated, an analog electrical signal is defined by its voltage and / or its current, as well as by the possible variation of one or both of these quantities over time. It is therefore possible to analyze or study an analog signal by studying one or both of these quantities, or their variation over time. In the context of this invention, this involves choosing a characteristic representative of the signal to be classified, knowing that it is possible to choose or identify several characteristics representative of the same signal to be classified.
[0014] Thus, according to a feature of the invention, the signal to be classified is an electrical signal and the integrated circuit according to the invention comprises upstream of an input Ej a feature extraction circuit which is connected to this input and which comprises at least one physical impulse neuron.
[0015] According to a variant of this feature, the circuit according to the invention comprises, for at least one feature Fj, a feature extraction circuit which includes at least one physical impulse neuron whose input receives the signal to be classified S and whose output delivers an impulse signal consisting of a succession of impulses whose frequency and / or amplitude is a function of the signal to be classified, said impulse signal being supplied to an analog integrator circuit which delivers, at the output of the feature extraction circuit, the characteristic electrical signal SFj representative of the feature Fj for the signal to be classified S which is a function of either the amplitude of the impulse signal or the frequency of the impulse signal.
[0016] It should be noted that a pulsed signal delivered by a physical pulsed neuron is considered within the scope of the invention to be an analog signal in that it is not encoded according to a binary or other conversion basis. Within the scope of the invention, the term "neuron" should be understood as meaning "artificial neuron." Similarly, the expression "physical artificial neuron" is equivalent to "electronic artificial neuron," namely an artificial neuron resulting from the assembly of elementary electronic circuits, as opposed to an artificial neuron emulated or simulated digitally by a computer program.
[0017] According to one feature of the invention, each physical impulse neuron comprises: • a current input, • a voltage output, • a first field-effect transistor having first and second main terminals and a control terminal connected to the voltage input, the first main terminal being connected to a supply voltage source, • a second field-effect transistor having a first main terminal connected to the second main terminal of the first transistor, a second main terminal and a control terminal connected to the second main terminal of the first transistor, • a third field-effect transistor having a first main terminal connected to the supply voltage source, a second main terminal, and a control terminal connected to the second main terminal of the first transistor, • a fourth field-effect transistor having a first main terminal connected to the second main terminal of the third transistor, a second main terminal connected to the second main terminal of the second transistor and to a ground terminal, and a control terminal connected to the second main terminal of the third transistor, • a capacitor connected to the control terminal of the first transistor and to the second main terminal of the third transistor, • a field-effect input transistor having a first main terminal connected to the correlation voltage input, a second main terminal connected to ground, and a control terminal connected to the second main terminal of the first transistor • a first field-effect output transistor having a control terminal connected to the first main terminal of the fourth transistor, a first main terminal connected to the supply voltage source, and a second main terminal connected to the voltage output, • a second field-effect output transistor having a first main terminal connected to the voltage output, a second main terminal connected to the common voltage terminal and a control terminal connected to the voltage output.
[0018] According to another feature of the invention, the stochastic calculation circuit comprises at least one analog "AND" gate
[0019] According to yet another feature of the invention, the stochastic calculation circuit comprises at least one MULLER C type circuit
[0020] Of course, the different features, variants and embodiments of the invention can be combined with each other in various ways insofar as they are not incompatible or mutually exclusive.
[0021] Furthermore, various other features of the invention become apparent from the attached description made with reference to the drawings which illustrate non-limiting embodiments of Bayesian inference integrated circuits according to the invention or of constituent elements thereof, and in which: • [Fig. 1] is a schematic representation of a system integrating a Bayesian circuit according to the invention, • [Fig.2] is a schematic representation of an example of the implementation of a Bayesian circuit according to the invention designed to ensure the determination of the class belonging to a signal to be classified that may belong to two classes of behavior on the basis of a single characteristic electrical signal. • [Fig. 3] is a schematic representation of a circuit detail integrated electronic, said conversion, according to the invention and configured to determine the position of a characteristic voltage of a signal to be classified within the framework of a normal distribution law governing the distribution of the value of this voltage for this signal. • [Fig. 4] is a schematic representation of a constituent integrated circuit of a physical impulse neuron according to the invention. • [Fig. 5] is a schematic representation of an example of the implementation of a stochastic computation circuit implemented within the framework of a Bayesian circuit according to the invention.
[0022] It should be noted that in these figures the structural and / or functional elements common to the different variants or forms of embodiment may have the same references.
[0023] The invention relates to a Bayesian inference integrated circuit, referred to as a Bayesian circuit, for determining the probability of a signal to be classified belonging to one of at least two behavioral classes. Such a circuit is based on Bayesian classification, namely a statistical approach based on Bayesian inference, so named after the work of Thomas Bayes and well known to specialists in statistical and probabilistic calculations and their implementation. Within the framework of Bayesian inference and the present invention, probability expresses a degree of belief in class membership based on prior knowledge resulting from prior knowledge and observed data used to make the classification decision.
[0024] In general, the invention is based on a simplified version of Bayes' formula.
[0025] Bayes' rule can be stated mathematically in the form of the following equation:
[0026]
[0027] Where P(H) represents the prior probability of hypothesis H before considering the observations E. P(E / H) is the probability of observing E, given H, and is known as the likelihood. P(H / E) is the object of Bayes' theorem, called posterior probability, namely the probability of a hypothesis given the observed evidence. The term p^p), sometimes called "model proof," is the same for all hypotheses and is often omitted to simplify the calculation. In In this case, the observed evidence consists of a set of features extracted from the original data and the hypothesis of a potential category. If features are available, we can write: Fcmn
[0028] P(c^ r «p(c„)xp(f f .... / Jc,,,)®
[0029] If all features are assumed to be conditionally independent, this method is known as naive Bayesian. The joint likelihood of the features can be simplified to the product of the probabilities of each feature:
[0030] “P^xtL / vM (3)
[0031] The Bayesian circuit BC according to the invention is generally implemented within a system as illustrated in [Fig. 1] and designated as a whole by reference numeral 1, in which the operation of a controller A is controlled according to the class C of a signal S determined by said Bayesian circuit BC. The controller A is capable of performing any type of processing, such as displaying information, triggering the operation of an external system, or modifying the operation of such a system, without this list being exhaustive or limiting. It should be noted that the controller A is not part of the present invention and is mentioned for informational purposes only.
[0032] The signal to be classified S is generally acquired by one or more sensors, according to the illustrated example two sensors 2 and 3, each of which delivers an electrical signal constituting the electrical signal to be classified Se. This electrical signal Se is the image of the signal to be classified S. In the present case the electrical signal Se is multichannel and comprises two channels, it being understood that the electrical signal to be classified may comprise only one channel or even more than two channels.
[0033] In order to classify the electrical signal Se and thus the signal S, it is necessary to determine at least one characteristic Fi of the electrical signal Si on the basis of which the classification is performed. To this end, the system includes a preprocessing block PB whose function is to extract at least one characteristic translated into a characteristic electrical signal SFi, which will be supplied as input to the Bayesian circuit BC and processed by the latter.
[0034] Thus, the preprocessing block PB includes at least one feature extraction circuit Fi, an example of which will be detailed later. Generally speaking, it is already possible to specify that the preprocessing block can include different types of feature extraction circuits Fi capable of delivering a characteristic electrical signal SFj compatible with a Bayesian circuit BC according to the invention.
[0035] For the purposes of this invention, a characteristic of the signal S may be the signal itself when this signal is an electrical signal, the value of one of the physical quantities that characterize it, or the result of analog preprocessing performed on this signal. Thus, among the preprocessing techniques that may be implemented, one can cite filtering using a high-pass or low-pass filter to eliminate noise or artifacts. One can also cite the implementation of a fast Fourier transform or a continuous wavelet transform.
[0036] In a preferred embodiment of the invention, preprocessing is performed by means of a circuit comprising a pulsed artificial neuron that converts the signal to be classified S into a pulsed signal whose pulse nature, frequency and / or value, varies according to the signal to be classified supplied as input to the pulsed artificial neuron. An embodiment of a pulsed neuron according to the invention is detailed later in the description.
[0037] The result of converting the signal to be classified into a pulse train by a pulsed artificial neuron is then stored in a capacitor, and the voltage across this capacitor is used as the characteristic electrical signal SFj supplied to the Bayesian circuit according to the invention. Indeed, the inventors have demonstrated that the nature of the pulse trains and the result of their accumulation in the capacitor are representative of the class to which the signal to be classified belongs, so that the value of the voltage across the capacitor can be used as the characteristic electrical signal SFj, representative of the characteristic Fj of the signal to be classified. Thus, preferably, the characteristic signal SFj is a voltage.
[0038] This characteristic signal SFj is therefore supplied to the Bayesian circuit BC according to the invention. According to the invention, the number of characteristic signals to the Bayesian circuit is at least equal to one, while not being limited in number.
[0039] In order to simplify the description, the example embodiment of the Bayesian circuit BC according to the invention illustrated in [Fig.2] is designed to ensure the processing of a single characteristic electrical signal SFj which may belong to two classes of behavior Ci.
[0040] Thus, the Bayesian circuit BC comprises, for each Class Ci and each characteristic signal SFj, an elementary Bayesian block BBij whose function is to output, for a characteristic signal SFj received at the input Ej, an electrical signal SCi representative of the probability of belonging of the characteristic electrical signal SFj, and therefore of the signal to be classified, to the corresponding membership class Ci. Each signal SCi is then provided to a comparison circuit CC which outputs a electrical signal of classification RCi corresponding to that of the classes, in this case that of the two classes Ci for which the signal to be classified has the greatest probability of belonging.
[0041] According to the invention, each elementary Bayesian block BBij comprises a likelihood circuit LC and a learned probability circuit PC which feed in parallel a stochastic computation circuit SC that calculates and delivers the signal SCi to the comparison circuit CC. In the context of the invention, "learned probability" is synonymous with the English term "prior" in the field of probability.
[0042] According to the invention, each likelihood circuit first includes an LCC conversion circuit which converts the characteristic signal SFj into another converted characteristic signal sFj on the basis of a distribution law of the characteristic Fj in relation to the behavior class Ci.
[0043] In the present case and according to the example illustrated in [Fig.3], the LCC conversion circuit is configured to deliver the converted signal sFj with the assumption that the characteristic signal responds to a normal distribution law also called Gaussian type defined by the position of its central value and the amplitude or height of this central value.
[0044] Thus, according to the illustrated example [Fig. 3], the LCC circuit includes a BUMP-type circuit adapted to correlate an input voltage Vin with a reference voltage V2 based on a bias voltage Vb. Within the framework of the invention, the reference voltage V2 defines the position of the normal value of the Gaussian distribution, and the bias voltage defines the absolute value of the normal distribution. Furthermore, the characteristic signal SFj is here a voltage, and the BUMP circuit outputs the converted signal sFi, which in this case is a current.
[0045] It must therefore be understood that the voltages Vd and V2 are predefined and provided to the Bayesian circuit as fixed extrinsic data allowing it to be parameterized to the application for which it is designed.
[0046] Figure 3 illustrates an example of an integrated circuit with all of its components. enabling the implementation of the aforementioned BUMP circuit. Figure 3 implements the representation standards well known to those skilled in the art, electronics engineers designing integrated circuits. To avoid any confusion, it should be noted that Vdd or VDD and Vss or VSS are supply voltages of the circuit or supply voltage sources and have substantially constant values. These values are supplied to all the circuits and components constituting the Bayesian circuit according to the invention. For the record, in Figure 3, as well as in the other figures corresponding to electronic circuit diagrams, the notation V represents voltages, while the notation L represents currents.
[0047] Figure 3 shows that the LCC conversion circuit comprises: • a first voltage input which is connected to a source of normal voltage V2, • a second voltage input Vin receiving Ej, • a first P3 field-effect correlation transistor having first and second main terminals and a control terminal, the second main terminal delivering the converted characteristic signal sFj • a second field-effect correlation transistor P4 having a first main terminal connected to the second main terminal of the first correlation transistor P3, a second main terminal connected to a supply voltage source VDD, and a control terminal, • a third PI field-effect correlation transistor having a first main terminal, a second main terminal connected to the supply voltage source VDD, and a control terminal connected to the control terminal of the first correlation transistor P3, • a fourth field-effect correlation transistor P2 having a first main terminal, a second main terminal connected to the supply voltage source VDD, and a control terminal connected to the control terminal of the second correlation transistor P4, • a first input field-effect transistor M2 having a first main terminal connected to the first main terminal of the third transistor PI and a control terminal of the first correlation transistor P3, a second main terminal connected to a common node, and a control terminal Vin receiving the characteristic signal SFj and connected to the input Ej, • a second input field-effect transistor M3 having a first main terminal connected to a main terminal of the first P3 and fourth transistor P2 and a control terminal of the fourth correlation transistor P2, a second main terminal connected to the common node, and a control terminal receiving the reference voltage V2, • a third input field-effect transistor Ml having a first main terminal connected to the common node, a second main terminal connected to a supply voltage source VSS and a control terminal connected to a maximum voltage source Vb.
[0048] The LCC conversion circuit delivers the converted characteristic signal sFj to a physical impulse neuron of likelihood LIN, which delivers an impulse signal FjCi representative of the likelihood of the characteristic Fj belonging to the behavior class Ci. Due to its upstream position of the LIN neuron and its linking function between the preprocessing circuit and the neuron Physical impulse likelihood, the LCC conversion circuit can be described as an electronic synapse.
[0049] Within the scope of the invention, a pulse neuron IN generally comprises, as shown in [Fig. 4]: • a 10 current input • a voltage output 11, • a first MPI8 field-effect transistor having first and second main terminals and a control terminal connected to the voltage input, the first main terminal being connected to a supply voltage source, • a second MP 19 field-effect transistor having a first main terminal connected to the second main terminal of the first transistor, a second main terminal and a control terminal connected to the second main terminal of the first transistor, • a third field-effect transistor MP20 having a first main terminal connected to the supply voltage source VDD, a second main terminal, and a control terminal connected to the second main terminal of the first transistor, • a fourth field-effect transistor MP21 having a first main terminal connected to the second main terminal of the third transistor, a second main terminal connected to the second main terminal of the second transistor and to a ground terminal 12, and a control terminal connected to the second terminal of the third transistor MP20, • a CF3 capacitor connected to the control terminal of the first transistor and to the second main terminal of the third transistor, • an MP 17 field-effect input transistor having a first main terminal connected to the correlation voltage input, a second main terminal connected to ground, and a control terminal connected to the second main terminal of the first transistor • a first field-effect output transistor MP22 having a control terminal connected to the first main terminal of the fourth transistor, a first main terminal connected to the supply voltage source VDD and a second main terminal connected to the voltage output 11, • a second field-effect output transistor MP23 having a first main terminal connected to the voltage output 11, a second main terminal connected to another supply voltage source and a control terminal connected to the voltage output 11.
[0050] In the context of the implementation of such an impulse neuron IN to constitute the likelihood impulse neuron LIN, the input 10 receives the sFj and the output 11 delivers the impulse signal FjCi.
[0051] Each elementary Bayesian block BBij comprises, in parallel with the likelihood circuit LC, the learned probability circuit PC, which, according to the invention, consists of a physical impulse neuron as illustrated in [Fig. 4], referred to as a learned probability neuron. Within the learned probability circuit PC, the input 10 of the impulse neuron receives, as an electrical quantity Pi, a current whose intensity is the result of learning or a statistical study on the typology of impulses for signals belonging to the corresponding behavioral class.
[0052] Thus, the quantity Pi is predefined and provided to the Bayesian circuit BC as a fixed extrinsic data point, allowing it to be parameterized for the application for which it is designed, in the same way as the voltages Vd and V2. A Bayesian circuit according to the invention will therefore include as many inputs for the quantities Pi, Vd, and V2 as the number resulting from multiplying the number of classes to which the signal to be classified is likely to belong by the number of features implemented to classify the signal S. In the case of the example in [Fig. 2], whose objective is to classify the signal S, which is likely to belong to two classes, based on a single characteristic signal SFj, the Bayesian circuit therefore includes two inputs or input terminals for two Pi signals, two inputs for the two voltages Vd, and two inputs for the voltages V2.Within the context of the invention, the term "input" is equivalent to the expression "input terminal" and they are used interchangeably.
[0053] Each elementary Bayesian circuit includes, downstream of the physical impulse neuron of learned probability PC and the likelihood circuit, the stochastic calculation circuit SC which receives the impulse signals PCi and FjCi from the PC circuit and the LC circuit respectively.
[0054] According to the invention, the stochastic calculation circuit can be implemented in any suitable manner, such as, for example, in the form of an analog "AND" type circuit supplying a capacitor. The voltage across this capacitor then corresponds to the electrical signal SCi representing the probability of the signal S belonging to the corresponding class Ci.
[0055] According to the example shown in [Fig.5], two transistors in series are implemented as an analog AND gate to multiply two voltage signals PCi and FjCi, converting the result into a current signal (intensity) which is then collected by a capacitor that acts as an analog counter.
[0056] When both inputs are in a high state, i.e., 0V (due to their connection to the PMOS transistors), the analog AND gate generates a current that Charges the capacitor, causing its voltage to rise. In other cases, the capacitor remains virtually uncharged. In contrast, digital binary streams perform bitwise AND operations, producing only two possible outcomes for each bit: 0 or 1. However, when time-coded asynchronous streams perform AND operations, the results involve a variable analog duration for each high state. This can increase stochasticity and improve performance.
[0057] The relationship between the high-state duration of the current flow (or the product value) and the capacitor voltage is monotonic: a higher voltage corresponds to a longer high-state duration and a higher product value. This characteristic is sufficient for classification tasks.
[0058] The Bayesian circuit according to the invention finally comprises a comparison circuit which receives as input all the SCi signals and outputs the one with the highest value. This type of comparison circuit is known in English as a "winner takes all" circuit, a term well understood by those skilled in the art.
[0059] The system i and its various components can be implemented for various applications such as, for example, for a portable device to study the sleep cycle of a user.
[0060] According to the embodiment described above, the likelihood circuit implements a BUMP-type circuit. However, other types of electronic circuits can be used to implement the likelihood circuit and deliver the corresponding electrical signal to the artificial neuron LIN. It is also possible to combine several BUMP-type circuits to implement the likelihood circuit. The advantage of the invention over the prior art is the use of an analog integrated circuit to determine the likelihood and then the probability, whereas digital computing circuits are usually implemented.
[0061] According to the example illustrated in [Fig. 5], the stochastic computing circuit uses two transistors to perform the multiplication of two probability signals. To multiply several probabilities, additional transistors can be connected in series to perform the operation simultaneously. This generally gives smaller results, and as the final result becomes smaller, the time required to obtain a reliable result across the capacitor increases.
[0062] Of course, various modifications can be made to the examples described above within the framework of the annexed claims.
Claims
1. Demands Bayesian inference integrated circuit, called a Bayesian circuit, for determining the probability of a signal to be classified S belonging to one of at least two behavioral classes Ci based on at least one characteristic Fj of the signal to be classified S, characterized in that the Bayesian circuit comprises: • for each characteristic Fj, at least one input Ej receiving an electrical signal characteristic SFj representative of the characteristic Fj for the signal to be classified S, • for each behavior class Ci: • and for each characteristic Fj, a likelihood circuit receiving as input the characteristic electrical signal SFj and comprising a conversion circuit converting the characteristic signal SFj into another characteristic signal sFj converted on the basis of a distribution law of the characteristic Fj in relation to the behavior class Ci and a physical likelihood impulse neuron receiving the converted characteristic signal sFj and delivering an impulse electrical signal FjCi representative of the likelihood of the characteristic Fj belonging to the behavior class Ci, • a physical impulse neuron with learned probability, one input of which receives an electrical quantity Pi whose value is the result of prior learning, and one output of which delivers an impulse signal PCi representing the probability of the signal to be classified S belonging to the behavior class Ci resulting from prior learning, • a stochastic calculation circuit receiving as input the impulse signal PCi and each impulse signal FjCi and delivering as output an electrical signal SCi representing the probability of belonging of the signal S to the class Ci, • a comparison circuit receiving each electrical signal SCi and delivering as output an electrical classification signal RCi corresponding to that of the classes Ci for which the signal to be classified S has the highest probability of belonging.
2. Integrated circuit according to claim 1, characterized in that each likelihood circuit delivers a signal as a function of the probability of the input signal belonging to the corresponding behavior class, the probability being governed by a normal distribution law whose central value is defined by a normal voltage and a maximum voltage, and comprises a BUMP-type circuit adapted to correlate two input voltages on the basis of a bias voltage, of which a first input voltage corresponds to the normal voltage, a second input voltage is the corresponding characteristic signal SFj and the bias voltage corresponds to the maximum voltage and which delivers at the output a current constituting the converted characteristic signal sFj supplied to the likelihood impulse neuron.
3. Integrated circuit according to claim 2, characterized in that each BUMP-type voltage correlation circuit comprises: • a first voltage input which is connected to a normal voltage source, • a second voltage input, • a first field-effect correlation transistor having first and second main terminals and a control terminal, • a second field-effect correlation transistor having a first main terminal connected to the second main terminal of the first correlation transistor, a second main terminal connected to a supply voltage source, and a control terminal.
4. • a third field-effect correlation transistor having a first main terminal, a second main terminal connected to the supply voltage source, and a control terminal connected to the control terminal of the first correlation transistor, • a fourth field-effect correlation transistor having a first main terminal, a second main terminal connected to the supply voltage source, and a control terminal connected to the control terminal of the second correlation transistor, • a first field-effect input transistor having a first main terminal connected to the first main terminal and a control terminal of the third correlation transistor, a second main terminal connected to a common node, and a control terminal connected to the first voltage input node, • a second field-effect input transistor having a first main terminal connected to the first main terminal and a control terminal of the fourth correlation transistor, a second main terminal connected to the common node, and a control terminal connected to the second input, • a third input field-effect transistor having a first main terminal connected to the common node, a second main terminal connected to a supply voltage source and a control terminal connected to a source of the bias voltage as a function of the normal current. An integrated circuit according to any one of the preceding claims, characterized in that the signal to be classified is an electrical signal, and further comprising, for at least one characteristic Fj, a characteristic extraction circuit comprising at least one physical impulse neuron, one input of which receives the signal to be classified S and one output of which delivers an impulse signal consisting of a succession of impulses whose frequency and / or amplitude is a function of the signal to be classified, said impulse signal being supplied to an analog integrator circuit which delivers, at the output of the circuit
5. for characteristic extraction, the characteristic electrical signal SFj is representative of the characteristic Fj for the signal to be classified S, which is a function of either the amplitude of the impulse signal or the frequency of the impulse signal. An integrated circuit according to any one of the preceding claims, characterized in that each physical impulse neuron comprises: a current input, a voltage output, a first field-effect transistor (MP 18) having first and second main terminals and a control terminal connected to the voltage input, the first main terminal being connected to a supply voltage source, a second field-effect transistor (MP 19) having a first main terminal connected to the second main terminal of the first transistor, a second main terminal and a control terminal connected to the second main terminal of the first transistor, a third field-effect transistor (MP20) having a first main terminal connected to the supply voltage source, a second main terminal, and a control terminal connected to the second main terminal of the first transistor, a fourth field-effect transistor (MP21) having a first main terminal connected to the second main terminal of the third transistor, a second main terminal connected to the second main terminal of the second transistor and to a ground terminal, and a control terminal connected to the second terminal of the third transistor, a capacitor (CF3) connected to the control terminal of the first transistor and to the second main terminal of the third transistor, an input field-effect transistor (MP17) having a first main terminal connected to the correlation voltage input, a second main terminal connected to a niasse, and a control terminal connected to the second main terminal of the first transistor • a first field-effect output transistor (MP22) having a control terminal connected to the first main terminal of the fourth transistor, a first main terminal connected to the supply voltage source and a second main terminal connected to the voltage output, • a second field-effect output transistor (MP23) having a first main terminal connected to the voltage output, a second main terminal connected to the common voltage terminal and a control terminal connected to the voltage output.
6. An integrated circuit according to any one of the preceding claims, characterized in that the stochastic calculation circuit comprises at least one analog "AND" gate
7. Integrated circuit according to any one of claims 1 to 6, characterized in that the stochastic calculation circuit comprises at least one MULLER C-type circuit
8. Integrated circuit according to claims 1 to 7, characterized in that it comprises upstream of an input Ej a characteristic extraction circuit which is connected to this input and which comprises at least one physical impulse neuron.