ELECTROPHYSIOLOGICAL SIGNAL PROCESSING METHOD, CORRESPONDING SYSTEM, VEHICLE AND COMPUTER PROGRAM PRODUCT
20210232901 · 2021-07-29
Inventors
- Francesco Rundo (Gravina di Catania, IT)
- Sabrina Conoci (Tremestieri Etneo, IT)
- Concetto Spampinato (Catania, IT)
Cpc classification
G16H50/20
PHYSICS
A61B5/7264
HUMAN NECESSITIES
A61B5/02416
HUMAN NECESSITIES
B62D1/046
PERFORMING OPERATIONS; TRANSPORTING
A61B2503/22
HUMAN NECESSITIES
B60K28/06
PERFORMING OPERATIONS; TRANSPORTING
B60W2540/221
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
An embodiment method includes segmenting at least one electrophysiological signal and producing a set of sampled waveforms, applying artificial neural network processing to the set of sampled waveforms and a set of randomly generated noise samples and producing at least one altered data pattern, the altered data pattern comprising the set of filtered waveforms altered as a function of the randomly generated noise samples, providing calibration data comprising expected waveforms for filtered waveforms in the set of filtered waveforms, applying classifier processing to the produced at least one altered data pattern to detect a degree of resemblance between the produced at least one altered data pattern and the calibration data patterns, the classifier processing producing classification signals having values above or below at least one threshold value as a function of the detected degree of resemblance, and triggering a user circuit as a function of the classification signal.
Claims
1. A method including operations of: segmenting at least one electrophysiological signal to produce a set of sampled waveforms; producing a set of randomly generated noise samples; applying artificial neural network processing to the set of sampled waveforms and to the set of randomly generated noise samples to produce at least one altered data pattern, the altered data pattern comprising the set of sampled waveforms altered as a function of the randomly generated noise samples; providing calibration data comprising expected waveforms for the sampled waveforms in the set of sampled waveforms; applying classifier processing to the produced at least one altered data pattern to detect a degree of resemblance between the produced at least one altered data pattern and the calibration data, the classifier processing producing classification signals having values above or below at least one threshold value as a function of the detected degree of resemblance; and triggering a user circuit as a function of the classification signals.
2. The method of claim 1, wherein the at least one electrophysiological signal comprises at least one photopletysmography (PPG) signal.
3. The method of claim 1, wherein: the at least one electrophysiological signal is collected from a driver of a vehicle; and the user circuit is on board the vehicle.
4. The method of claim 3, wherein the at least one electrophysiological signal is collected from the driver of the vehicle via a PPG sensor placed on board a steering wheel of the vehicle.
5. The method of claim 1, wherein the operation of applying artificial neural network processing comprises: applying a first artificial neural network processing to the set of randomly generated noise samples and providing a first set of generated data patterns; and applying a second artificial neural network processing to the first set of generated data patterns and to the set of sampled waveforms and providing the at least one altered data pattern; the second artificial neural network processing being configured to provide the at least one altered data pattern as a result of altering the set of sampled waveforms as a function of the first set of generated data patterns.
6. The method of claim 5, wherein the operation of applying the second artificial neural network processing comprises using a non-linear cellular neural network (NL-CNN) circuit.
7. The method of claim 5, wherein: the operation of applying classifier processing comprises using convolutional neural network (CNN) processing; and the operation of applying the first artificial neural network processing comprises using an inverse convolutional neural network processing.
8. The method of claim 1, comprising at least one of: using the calibration data and the classification signals to configure the classifier processing to reduce occurrences of the classification signals having values indicative of a detected degree of resemblance; or using the classification signals to configure the artificial neural network processing to increase occurrences of the classification signals having values indicative of the detected degree of resemblance.
9. A system comprising: processing circuitry configured to perform operations of: receiving at least one electrophysiological signal; segmenting the at least one electrophysiological signal to produce a set of sampled waveforms; producing a set of randomly generated noise samples; applying artificial neural network processing to the set of sampled waveforms and to the set of randomly generated noise samples to produce at least one altered data pattern, wherein the altered data pattern comprises the set of sampled waveforms altered as a function of the randomly generated noise samples; providing calibration data comprising expected waveforms for the sampled waveforms in the set of sampled waveforms; applying classifier processing to the produced at least one altered data pattern to detect a degree of resemblance between the produced at least one altered data pattern and the calibration data, wherein the classifier processing produces classification signals having values above or below at least one threshold value as a function of the detected degree of resemblance; and triggering a user circuit as a function of the classification signal.
10. The system of claim 9, wherein the system is a vehicle and further comprises: at least one electrophysiological signal sensor configured to collect the at least one electrophysiological signal from a driver of the vehicle.
11. The system of claim 10, wherein the at least one electrophysiological signal sensor is at least one photopletismography (PPG) sensor, and the at least one electrophysiological signal is at least one PPG signal.
12. The system of claim 11, further comprising at least one driver assistance device configured to be triggered as a function of the classification signals.
13. The system of claim 9, wherein the operation of applying artificial neural network processing comprises: applying a first artificial neural network processing to the set of randomly generated noise samples and providing a first set of generated data patterns; and applying a second artificial neural network processing to the first set of generated data patterns and to the set of sampled waveforms and providing the at least one altered data pattern; wherein the second artificial neural network processing is configured to provide the at least one altered data pattern as a result of altering the set of sampled waveforms as a function of the first set of generated data patterns.
14. The system of claim 13, wherein the operation of applying the second artificial neural network processing comprises using a non-linear cellular neural network (NL-CNN) circuit.
15. The system of claim 13, wherein: the operation of applying classifier processing comprises using convolutional neural network (CNN) processing; and the operation of applying the first artificial neural network processing comprises using an inverse convolutional neural network processing.
16. The system of claim 9, wherein the processing circuitry is configured to perform at least one of: using the calibration data and the classification signals to configure the classifier processing to reduce occurrences of the classification signals having values indicative of a detected degree of resemblance; or using the classification signals to configure the artificial neural network processing to increase occurrences of the classification signals having values indicative of the detected degree of resemblance.
17. A computer program product loadable into a memory of at least one processing circuit, and comprising software code portions for executing, when the product is run on the at least one processing circuit, steps of: segmenting at least one electrophysiological signal to produce a set of sampled waveforms; producing a set of randomly generated noise samples; applying artificial neural network processing to the set of sampled waveforms and to the set of randomly generated noise samples to produce at least one altered data pattern, the altered data pattern comprising the set of sampled waveforms altered as a function of the randomly generated noise samples; providing calibration data comprising expected waveforms for the sampled waveforms in the set of sampled waveforms; applying classifier processing to the produced at least one altered data pattern to detect a degree of resemblance between the produced at least one altered data pattern and the calibration data, wherein the classifier processing produces classification signals having values above or below at least one threshold value as a function of the detected degree of resemblance; and triggering a user circuit as a function of the classification signals.
18. The computer program product of claim 17, wherein the at least one electrophysiological signal comprises at least one photopletysmography (PPG) signal.
19. The computer program product of claim 17, wherein: the at least one electrophysiological signal is collected from a driver of a vehicle; and the user circuit is on board the vehicle.
20. The computer program product of claim 19, wherein the at least one electrophysiological signal is collected from the driver of the vehicle via a PPG sensor placed on board a steering wheel of the vehicle.
21. The computer program product of claim 17, wherein the step of applying artificial neural network processing comprises: applying a first artificial neural network processing to the set of randomly generated noise samples and providing a first set of generated data patterns; and applying a second artificial neural network processing to the first set of generated data patterns and to the set of sampled waveforms and providing the at least one altered data pattern; wherein the second artificial neural network processing is configured to provide the at least one altered data pattern as a result of altering the set of sampled waveforms as a function of the first set of generated data patterns.
22. The computer program product of claim 17, further comprising software code portions for executing, when the product is run on the at least one processing circuit, at least one step of: using the calibration data and the classification signals to configure the classifier processing to reduce occurrences of the classification signals having values indicative of a detected degree of resemblance; or using the classification signals to configure the artificial neural network processing to increase occurrences of the classification signals having values indicative of the detected degree of resemblance.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0047] One or more embodiments will now be described, by way of non-limiting example only, with reference to the annexed Figures, wherein:
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
.sub.GAN(G,D)=
.sub.y˜p|.sub.
G*=argmin.sub.G argmax.sub.D.sub.GAN
.sub.GAN(G,D)=
.sub.x,y˜p|.sub.
.sub.x˜p|.sub.
[0055] wherein
p|x,y and p|z are respective probability values.
[0056] In one or more embodiments, the second generator stage 344 may be implemented using non-linear cellular neural network (briefly, NL-CNN) technology, thus offering high-speed computing speeds. Specifically, one or more embodiments may exploit a NL-CNN computation paradigm as exemplified in
[0057] Non-Linear Cellular Neural Networks, briefly NL-CNNs, comprise arrays of nonlinear and simple computing elements or cells, comprising local interactions between cells. A CNN paradigm is thus well suited to describe locally interconnected simple dynamical systems showing a lattice-like structure.
[0058] Such (NL-)CNNs arrangements suitable for use in one or more embodiments are discussed, for instance, in documents: [0059] L. O. Chua, L. Yang: “Cellular neural networks: theory”, IEEE Transactions on Circuits and Systems 1988 Volume: 35, Issue: 10 Pages: 1257-1272; [0060] L. O. Chua, L. Yang: “Cellular neural networks: applications”, IEEE Transactions on Circuits and Systems 1988 Volume: 35, Issue: 10 Pages: 1273-1290 [0061] A. Zarandy, A. Stoffels, T. Roska, L. O. Chua: “Morphological operators on the CNN Universal Machine”, Fourth IEEE International Workshop on Cellular Neural Networks and their Applications Proceedings (CNNA-96), 1996 Pages: 151-156.
[0062] NL-CNNs may be used for various types of applications such as image and signal processing, bio-inspired system modelling, or high-speed resolution of partial differential equations (PDEs).
[0063] One or more embodiments may adopt an analog implementation of a cell 3440 of the NL-CNN 344 as exemplified in
[0064] The dynamics of a NL-CNNs cell C(i,j) as exemplified in
[0065] The output voltage of single cell “v.sub.yij(t)” is defined by PieceWise Linear (PWL) remapping of the state of the cell C(i,j). A VLSI implementation of NL-CNNs involving so-called State-Controlled CNNs (SC-CNNs), where a C(I,j;k,l) matrix template (or image grid) is added allows high-speed computation of single cell dynamic.
[0066]
[0067] In one or more embodiments as exemplified in
[0069] a) an input layer, configured to receive as input data the set of produced altered dataset(s) Y (and/or calibration data X during training 35) as entries of image grid (or matrix) arranged as grayscale images having pixel values equal to values of the altered dataset Y;
[0070] b) at least one convolutional layer 362, 366 comprising at least one kernel, for instance having a kernel size of 3-by-3, configured to be convoluted with the input data Y; and comprising a number of perceptrons that connect to the same region of the input, wherein such a number of perceptron may define the dimension of the feature maps generated by the CNNs; [0071] at least one nonlinear activation function, coupled to the at least one convolutional layer 362, for instance comprising a rectified linear unit (briefly, ReLU) function; [0072] at least one max pooling layer 364, 368, coupled to the at least one nonlinear activation function, configured to apply down-sampling operation that reduces the spatial size of the feature map and to remove redundant spatial information, facilitating to increase the number of filters in deeper convolutional layers without increasing the required amount of computation per layer, wherein the max pooling layer returns the maximum values of rectangular regions of feature input image coming from previous layer; [0073] a second data processing sub-stage 369, comprising at least one fully Connected Layer, wherein all perceptrons connect to all the perceptrons in the preceding layer, which is configured to combine all the features learned by the previous layers across the image to identify the larger patterns; hence a last fully connected layer combines the features to classify the images.
[0074] In one or more embodiments the at least one fully Connected Layer may comprise a softmax Layer, comprising perceptrons configured to apply a so-called softmax activation function to normalize the output of the fully connected layer. For instance, the output of the softmax layer consists of positive numbers that sum to one, which can then be used as classification probabilities by the classification layer.
[0075] In one or more embodiments, the final layer of the classifier 36 may be a classification layer, wherein probabilities returned by the softmax activation function for each input to assign the input to one of the mutually exclusive classes and compute the loss and performance indexes.
[0076] As repeatedly noted in the foregoing, PPG processing apparatus as discussed herein lends itself to be used in areas other than the medical field, e.g. in the automotive field in order to gain useful information on the behavior and/or the reaction of drivers and passengers in various situations which may occur in a motor vehicle.
[0077] One or more embodiments have been tested using several PPG measurements collected from drivers in known conditions, e.g. for instance data from more than 70 patients with different ages, sex, and so on, under Physiologists directive. Specifically, a training database comprised PPG signals collected with drivers having different ages both in a Drowsy state and with closed eyes and as well as in a Wakeful state with open eyes,
[0078] The performed test has proved that the method has a validation Accuracy of 96-97% as eyes tracker or driver age detector.
[0079] In one or more embodiments, calibration or training 35 may be performed on Intel i9 12 Cores 32 Gbyte-NVIDIA RTX Tit. 2080 GPU processing circuits.
[0080] As exemplified herein, a method (for instance, 30) of processing at least one electrophysiological signal (for instance, S) may include operations of:
[0081] segmenting (for instance, 32) the at least one electrophysiological signal and producing a set of sampled waveforms (for instance, WF) as a result,
[0082] producing a set of randomly generated noise samples (for instance, Z),
[0083] applying artificial neural network processing (for instance, 34) to the set of sampled waveforms and to the set of randomly generated noise samples and producing at least one altered data pattern (for instance, Y) as a result, the altered data pattern comprising the set of filtered waveforms altered as a function of the randomly generated noise samples,
[0084] providing (for instance, 35) calibration data (for instance, X) comprising expected waveforms for filtered waveforms in the set of filtered waveforms,
[0085] applying classifier processing (for instance, 36) to the produced at least one altered data pattern to detect a degree of resemblance between the produced at least one altered data pattern and the calibration data patterns, wherein the classifier processing produces classification signals (for instance, T) having values above or below at least one threshold value as a function of the detected degree of resemblance,
[0086] triggering a user circuit (for instance, A) as a function of the classification signal (for instance, T).
[0087] As exemplified herein, the at least one electrophysiological signal may comprise at least one photopletysmography, PPG, signal.
[0088] As exemplified herein, the at least one electrophysiological signal may be collected from a driver (for instance, D) of a vehicle (for instance, V), and the user circuit triggered as a function of the classification signal may comprise a user circuit on board the vehicle.
[0089] As exemplified herein, the at least one electrophysiological signal is collected from the driver (D) of the vehicle (V) via a PPG sensor (20) placed on board a steering wheel (SW) of the vehicle (V).
[0090] As exemplified herein, the operation of applying artificial neural network processing (34) comprises: [0091] applying a first artificial neural network processing (for instance, 342) to the set of randomly generated noise signals and providing a first set of generated data patterns (for instance, P), [0092] applying a second artificial neural network processing (for instance, 344) to the first set of generated data patterns (for instance, P) and to the set of filtered waveforms (for instance, WF) and providing the at least one altered data pattern (for instance, Y),
[0093] wherein the second artificial neural network (for instance, 344) is configured to provide the at least one altered data pattern as a result of altering the set of filtered waveforms as a function of the first set of generated data patterns.
[0094] As exemplified herein, the operation of applying a second artificial neural network processing comprises using, applying, a non-linear cellular neural network, NL-CNN, circuit.
[0095] As exemplified herein:
[0096] the operation of applying classifier processing (for instance, 36) comprises using convolutional neural network, CNN, processing,
[0097] the operation of applying a first artificial neural network processing (for instance, 342) comprises using an inverse convolutional neural network processing.
[0098] As exemplified herein, the method may comprise at least one of: [0099] using the calibration data (for instance, 35) and the classification signal to configure the classifier processing stage to reduce occurrences of the classification signal having a value indicative of a detected degree of resemblance, [0100] using the classification signal (for instance, T) to configure the artificial neural network processing stage (for instance, 34) to increase occurrences of the classification signal having a value indicative of a detected degree of resemblance.
[0101] As exemplified herein, an electrophysiological signal processing system (for instance, 100) configured to be coupled to at least one electrophysiological signal sensor (for instance, 20) collecting from a human (for instance, D) at least one electrophysiological signal (for instance, S, WF), may comprise processing circuitry configured to receive the electrophysiological signal (for instance, S) and to perform operations of:
[0102] segmenting (for instance, 32) the at least one electrophysiological signal and producing a set of sampled waveforms (for instance, WF) as a result,
[0103] producing a set of randomly generated noise samples (for instance, Z),
[0104] applying artificial neural network processing (for instance, 34) to the set of sampled waveform and to the set of randomly generated noise samples and producing at least one altered data pattern (for instance, Y) as a result, the altered data pattern comprising the set of filtered waveforms altered as a function of the randomly generated noise samples,
[0105] providing (for instance, 35) calibration data (for instance, X) comprising expected waveforms for filtered waveforms in the set of filtered waveforms,
[0106] applying classifier processing (for instance, 36) to the produced at least one altered data pattern to detect a degree of resemblance between the produced at least one altered data pattern and the calibration data patterns, wherein the classifier processing produces classification signals (for instance, T) having values above or below at least one threshold value as a function of the detected degree of resemblance,
[0107] triggering a user circuit (for instance, A) as a function of the classification signal.
[0108] As exemplified herein, a vehicle (for instance, V may be) equipped with the system as exemplified herein in combination with at least one electrophysiological signal sensor (for instance, 20) configured to collect at least one electrophysiological signal (S, WF), preferably a photopletismography, PPG, sensor configured to collect a PPG signal.
[0109] As exemplified herein, the vehicle (V) may comprise at least one driver assistance device (for instance, A) configured to be triggered as a function of the classification signal (for instance, T).
[0110] As exemplified herein, a computer program product may be loadable into the memory of at least one processing circuit (for instance, 100) and comprising software code portions for executing the steps of the method (for instance, 30) as exemplified herein when the product is run on at least one processing circuit.
[0111] It will be otherwise understood that the various individual implementing options exemplified throughout the figures accompanying this description are not necessarily intended to be adopted in the same combinations exemplified in the figures. One or more embodiments may thus adopt these (otherwise non-mandatory) options individually and/or in different combinations with respect to the combination exemplified in the accompanying figures.
[0112] Without prejudice to the underlying principles, the details and embodiments may vary, even significantly, with respect to what has been described by way of example only, without departing from the extent of protection. The extent of protection is defined by the annexed claims.
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0113] In the ensuing description, one or more specific details are illustrated, aimed at providing an in-depth understanding of examples of embodiments of this description. The embodiments may be obtained without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known structures, materials, or operations are not illustrated or described in detail so that certain aspects of embodiments will not be obscured.
[0114] Reference to “an embodiment” or “one embodiment” in the framework of the present description is intended to indicate that a particular configuration, structure, or characteristic described in relation to the embodiment is comprised in at least one embodiment. Hence, phrases such as “in an embodiment” or “in one embodiment” that may be present in one or more points of the present description do not necessarily refer to one and the same embodiment.
[0115] Moreover, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments.
[0116] The references used herein are provided merely for convenience and hence do not define the extent of protection or the scope of the embodiments.
[0117] The drawings are in simplified form and are not to precise scale. For the sake of simplicity, directional (up/down, etc.) or motional (forward/back, etc.) terms may be used with respect to the drawings. The term “couple” and similar terms do not necessarily denote direct and immediate connections, but also include connections through intermediate elements or devices.
[0118] For the sake of simplicity, principles underlying the invention are discussed in the following mainly in relation to the processing of a PhotoPletysmoGraphy (PPG) signal. Such an electrophysiological signal type is purely exemplary, being otherwise understood that other types of electrophysiological signals may be processed in one or more embodiments, e.g. ElectroCardioGram (ECG) signals, ElectroEncephaloGram (EEG) signals, etc.
[0119] In one or more embodiments, a PPG signal may be simpler to employ as electrophysiological to process according to a method as disclosed herein, as it may be easier to sample in an automotive environment with respect to an ECG/EEG signal, due to a reduced invasiveness of the hardware in the limited volume of a vehicle.
[0120]
[0121] As exemplified in
[0125] A width W of the pulse may also be defined at a given value of the PPG value.
[0126] PPG signals can be detected by using PPG sensors/devices (e.g., sensor 20 in
[0127] These SiPMs may have a total area of 4.0×4.5 mm2 and 4871 square microcells with 60 μm pitch (1 μm=1 micron=10.sup.−6 m). These devices 20B have a geometrical fill factor of 67.4% and are packaged in a surface mount housing (SMD) with 5.1×5.1 mm.sup.2 total area (see e.g. M. Mazzillo, et al., cited above or M. Mazzillo, et al.: “Electro-optical performances of p-on-n and n-on-p silicon photomultipliers”, IEEE Trans. Electron Devices, vol. 59, no. 12, pp. 3419-3425, 2012).
[0128] A Pixelteq dichroic bandpass filter with a pass band centered at 542 nm with a Full Width at Half Maximum (FWHM) of 70 nm (1 nm=10.sup.−9 m) and an optical transmission higher than 90% in the pass band range can be glued on the SMD package by using a Loctite® 352™ adhesive. With the dichroic filter at 3V-OV the SiPM has a maximum detection efficiency of about 29.4% at 565 nm and a PDE of about 27.4% at 540 nm (central wavelength in the filter pass band −1 nm=10.sup.−9 m). It was noted that the dichroic filter can reduce in excess of 60% the absorption of environmental light in the linear operation range of the detector operating in Geiger mode above its breakdown voltage (˜27V). OSRAM LT M673 LEDs in SMD package emitting at 529 nm (1 nm=10.sup.−9 m) and based on InGaN technology have been used as optical light sources in exemplary embodiments. These LEDs 20B have an area of 2.3×1.5 mm2, viewing angle of 120°, spectral bandwidth of 33 nm (1 nm=10.sup.−9 m) and typical power emission of a few mW in the standard operation range.
[0129] Use of PPG probes 20 comprising Silicon PhotoMultiplier (SiPM) detectors 20B may provide advantages in terms of single-photon sensitivity and high internal gain for relatively low reverse bias.
[0130] It was observed (see e.g. D. Agrò, et al.: “PPG embedded system for blood pressure monitoring,” in AEIT Annual Conference—From Research to Industry: The Need for a More Effective Technology Transfer (AEIT), Trieste, 2014), that Silicon PhotoMultipliers (SiPMs) can provide advantages in PPG detecting systems 20 in terms of higher AC-to-DC ratio in PPG pulse waveform, high repeatability and immunity to motion artifacts and ambient interferences. One or more embodiments as discussed herein may sense PPG signals by using SiPMs (as available with companies of the ST group) as optical probe sensors, adapted to be used in conjunction with hardware and software components in providing a signal processing pipeline.
[0131]
[0132] Light emitted by the LEDs 20A may be absorbed by the skin (DC component) and the arteries, specifically, by oxygenated (and partly by de-oxygenated) hemoglobin (AC component). Residual propagated/reflected (back-scattered) light may be a function (proportional-differential) of the amount of light absorbed by blood hemoglobin in the various heart phases (systolic, diastolic, dicrotic, etc.). A SiPM photomultiplier 20B may thus detect the presence of photons in the propagated/reflected light by transducing an electrical signal that can be sampled by an e.g. 24-bit ADC thus providing PPG signal as discussed previously.
[0133] Such PPG sensors 20 may be applied on a steering device of a vehicle, in various arrangements as exemplified in
[0136] In one or more embodiments, the PPG detector device 20 may comprise PPG probe circuitry 20A, 20B comprising a PPG probe section and a printed circuit board (PCB) configured for interfacing the probe sections with an acquisition and processing circuit.
[0137] As exemplified in
[0141] As mentioned, the results produced by the system 100 can possibly be presented on a display unit 38 to an operator, e.g. a medical practitioner, with the capability of supporting his activity, e.g. for diagnostic purposes.
[0142] In one or more embodiments, the interface stage 38 of the system 10 may comprise an Advanced Driver Assistance System (ADAS) configured to receive the indicator T and to use it in assisting the car driving operations, for instance providing an alert to the driver D of the vehicle V as a result of the indicator T being below or above a certain threshold and/or taking control over the vehicle in case a drowsy driver state is detected, potentially improving driving safety.
[0143] In one or more embodiments as exemplified in
[0148] In one or more embodiments, the system 100 may comprise a stage of measuring and pre-processing a set of PPG signals from various subjects (for instance, including the car driver D), storing such measured and pre-processed datasets as training or calibration datasets X in one or more databases 35, to be used for preliminary system calibration and/or for real time continuous update of ANN processing, as discussed in the following.
[0149]
[0150] In one more embodiment as exemplified herein, a method as discussed in Italian patent application Nr. 102017000081018 by the same Applicant may be suitable for use in the pre-processing stage 32.
[0151] In one or more embodiments, the pre-processing stage 32 may be implemented in a processing circuit of a SPC58 Chorus microcontroller unit (MCU) fabricated at STMicroelectronics.
[0152] In one or more embodiments, the set of waveforms WF may be segmented as a function of valleys and peaks detected in the PPG signal S.
[0153] For instance, the set of waveforms WF may comprise:
[0154] a segmented PPG waveform WF0, as exemplified in portion a) of
[0155] a first derivative of the segmented PPG waveform WF1, as exemplified in portion b)
[0156] a second derivative of the segmented waveform WF2, as exemplified in portion c) of
[0157] Optionally, pre-processing may comprise normalization of waveform values in the range [0, 1].
[0158] In one or more embodiments, the set of waveforms WF (for instance comprising samples of the PPG waveform WF0, the first derivative WF1 and the second derivative WF2) may be arranged as columns/rows of a matrix which may be processed as a bi-dimensional image having waveforms sample values as pixel values.
[0159] In one or more embodiments, the matrix WF may be treated as if comprising (e.g., grayscale) pixel values, facilitating exploiting image processing techniques to process the PPG signal.
[0160] In one or more embodiments, the classification processing stage 36 may comprise a convolutional neural network, briefly CNN, processing stage, which may be trained using one or more training datasets X stored in a storage area 35 of the processing circuit 30 of the system 100.
[0161] In one or more embodiments as exemplified in
[0162] It is noted that while such stages 34, 36 and sub-stages 240, 342, 344, are discussed as separate stages in the following, in one or more embodiments they may be all incorporated, e.g. in one ANN processing stage performing all the operations of the sub-stages.
[0163] In one or more embodiments, the artificial neural network processing stage 34 may comprise: [0164] a random noise generator stage 340, configured to provide a set of randomly generated or noise values Z, e.g. obtained by drawing a given number of values from a normal or Gaussian distribution; for instance, the a set of random values Z may be arranged as entries (e.g., columns/rows) of a matrix which may be processed as a bi-dimensional cloning template image having randomly generated sample values as pixel, [0165] a first ANN processing stage 342, e.g., a non-linear CNN (briefly NL-CNN) cloning template stage, configured to take in the cloning template matrix comprising generated random noise (pixel) values Z and return a first dataset P, wherein such a first dataset P may comprise, for instance, an matrix of data (e.g., an image), comprising a set of possible patterns of electrophysiological signal waveforms comprising “cloned” or mimicked features which may be found in measured electrophysiological signal waveforms; [0166] a second ANN processing stage 344, e.g., a Bio-Inspired NL-CNNs generator stage, configured to receive the first dataset P from the first ANN processing stage 342 together with the segmented set of waveforms WF and to alter the latter as a function of the first, for instance applying a distortion to the segmented set of electrophysiological waveforms WF as a function of the noise-generated dataset P provided by the first ANN stage 342, producing a second dataset comprising a set of altered electrophysiological signal waveforms F.
[0167] In one or more embodiments, the first ANN stage 342 and the classification stage 36 may resemble a generative adversarial network architecture, briefly GAN, 342, 36 wherein the ANN stage 34 may be viewed as a tailored “generator” network 340, 342, 344 and the classification stage 36 as a tailored “discrimitator” stage of the GAN.
[0168] In such a GAN 342, 36, the ANN stage may be indicated as “generator network” 342 configured to produce random-noise data and produce (new) datasets or data patterns P, Y therefrom, while the classifier stage 36 may be indicated as a “discriminator network” 36 configured to evaluate probability of whether received datasets Y from the generator network 342 matches with expected dataset values X from the calibration or training dataset or not, in a way “grading” the mimicking ability of the generator network 34 to produce datasets which resemble “real” data.
[0169] In one or more embodiments, the first ANN stage 342 may be modeled as a sort of “inverted” convolutional neural network (briefly, CNN): while applying CNN processing may comprise receiving an image and applying down-sampling thereto in order to produce a likelihood probability, the generator stage 340, 342 may take (a vector/matrix or image-grid of) random data and up-sample it. In other words, while CNNs “throws away” data through down-sampling techniques like (max-)pooling, the generator network 342 produces or processes newly drawn data samples.
[0170] In one or more embodiments, the second dataset Y may be fed to the classification or discriminator stage 36, for instance alongside the data X taken from the training datasets 35, representing a “ground-truth” dataset of expected values.
[0171] In one or more embodiments, the discriminator 36 receives “distorted” images Y and returns probabilities, that is a number between “0” and “1”, that the received dataset belongs to the training dataset X or not.
[0172] Such probabilities which represent an estimation by the discriminator, which may not necessarily be correct.
[0173] In one or more embodiments, the discriminator CNN network 36 is a convolutional network that can categorize the datasets Y provided thereto, for instance a binomial classifier labeling images as “real” or “fake”.
[0174] In one or more embodiments, for instance during a calibration or training phase, the classification signal T output by the classification stage 36 may be provided to either one or both of the generator 342 or discriminator 36 stages, forming a feedback loop therebetween, in order to fine tune values of respective ANN parameters, wherein the generator “learns” to improve the number of generated “fake” signals that are labeled as “real”, while the discriminator is “trained” to strive to achieve the opposite result, namely to avoid mislabeling “fake” data.
[0175] In one or more embodiments, the discriminator 36 may be in a feedback loop with the training dataset 35, while the first ANN 342 may be in a feedback loop with the discriminator 36.
[0176] In one or more embodiments, both the first 340, 342 and the second 344 ANN processing stages may be configured to reduce different and opposing objective functions, or loss function, in a way similar to a zero-sum game.
[0177] For the sake of simplicity, in order to provide a mathematical expression of such a relation: [0178] the ANN stage 342 may be modeled as a non-linear function G which, when applied to the input random-noise data Z and to the segmented waveforms WF provides the altered dataset Y as a result, wherein the altered dataset may be expressed as: Y=G(Z), [0179] the classifier stage 36 may be modeled as a non-linear function D to be applied to the input data X, Y, providing the classification signal T as a result, wherein the classification signal T may be expressed as: T=D(X, Y), [0180] the calibration phase may use a function of training the GAN 34, 36 which may be expressed as:
[0181] While this invention has been described with reference to illustrative embodiments, this description is not intended to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention, will be apparent to persons skilled in the art upon reference to the description. It is therefore intended that the appended claims encompass any such modifications or embodiments.